diff --git a/apps/campus/src/bus/Bus.tsx b/apps/campus/src/bus/Bus.tsx index e498f9b01..54d943ccf 100644 --- a/apps/campus/src/bus/Bus.tsx +++ b/apps/campus/src/bus/Bus.tsx @@ -321,10 +321,10 @@ const Bus = (): JSX.Element => { const { t, i18n } = useTranslation() useEffect(() => { - i18n.changeLanguage(localStorage.getItem("wasedatime-lng")) + // i18n.changeLanguage(localStorage.getItem("wasedatime-lng")) }, []) - const lng = i18n.language + const lng = i18n.language || "en" const { wasedaStatus, nishiStatus } = getBusStatuses(date, lng, t) const wasedaStatusComponent = createStatusComponent(wasedaStatus, t) const nishiStatusComponent = createStatusComponent(nishiStatus, t) diff --git a/apps/campus/src/root.component.tsx b/apps/campus/src/root.component.tsx index eccd2e532..9ead446da 100644 --- a/apps/campus/src/root.component.tsx +++ b/apps/campus/src/root.component.tsx @@ -1,22 +1,12 @@ import React, { Suspense, useContext, useEffect } from "react" -import { Lang, LoadingSpinner, i18nConfig } from "wasedatime-ui" -import i18next from "i18next" +import { LoadingSpinner } from "wasedatime-ui" import { useTranslation } from "react-i18next" import { BrowserRouter, Routes, Route } from "react-router-dom" import App from "@app/App" -import translationEN from "@app/constants/locales/en/translation.json" -import translationJA from "@app/constants/locales/ja/translation.json" +import "@app/utils/i18n" import { ThemeContext, ThemeProvider } from "@app/utils/theme-context" -i18nConfig({ - i18n: i18next, - customTranslations: { - [Lang.EN]: translationEN, - [Lang.JA]: translationJA, - }, -}) - const LoadingSpinnerContainer = () => { const { theme } = useContext(ThemeContext) diff --git a/apps/campus/src/utils/i18n.ts b/apps/campus/src/utils/i18n.ts new file mode 100644 index 000000000..8041681b6 --- /dev/null +++ b/apps/campus/src/utils/i18n.ts @@ -0,0 +1,40 @@ +import { initReactI18next } from "react-i18next" +import i18next from "i18next" +import { getCoreTranslation, getI18nLanguageDetector, getI18nHttpBackend, Lang } from "wasedatime-ui" +import translationEN from "@app/constants/locales/en/translation.json" +import translationJA from "@app/constants/locales/ja/translation.json" + +const resources = { + [Lang.EN]: { + translation: { ...getCoreTranslation(Lang.EN), ...translationEN }, + }, + [Lang.JA]: { + translation: { ...getCoreTranslation(Lang.JA), ...translationJA }, + }, +} + +const detectorOptions = { + order: ["localStorage"], + lookupLocalStorage: "wasedatime-lng", + caches: ["localStorage"], +} + +i18next + .use(getI18nHttpBackend()) + .use(getI18nLanguageDetector()) + .use(initReactI18next) // passes i18n down to react-i18next + .init({ + resources, + fallbackLng: Lang.EN, + keySeparator: ".", + interpolation: { + // react already safes from xss + escapeValue: false, + }, + // Configure the withNamespaces / NamespacesConsumer to + // not render the content until needed namespaces are loaded. + // react: { + // wait: true, + // }, + detection: detectorOptions, + }) diff --git a/apps/campus/src/wasedatime-campus.ts b/apps/campus/src/wasedatime-campus.ts index 9a85869a9..e4d9b7081 100644 --- a/apps/campus/src/wasedatime-campus.ts +++ b/apps/campus/src/wasedatime-campus.ts @@ -1,22 +1,8 @@ import React from "react" - -import { Lang, i18nConfig } from "wasedatime-ui" -import i18next from "i18next" import ReactDOM from "react-dom" import singleSpaReact from "single-spa-react" - -import translationEN from "@app/constants/locales/en/translation.json" -import translationJA from "@app/constants/locales/ja/translation.json" import Root from "@app/root.component" -i18nConfig({ - i18n: i18next, - customTranslations: { - [Lang.EN]: translationEN, - [Lang.JA]: translationJA, - }, -}) - const lifecycles = singleSpaReact({ React, ReactDOM, diff --git a/apps/feeds/components/FeedLink.tsx b/apps/feeds/components/FeedLink.tsx index d9979cbdb..ed75fe792 100644 --- a/apps/feeds/components/FeedLink.tsx +++ b/apps/feeds/components/FeedLink.tsx @@ -113,7 +113,7 @@ const FeedLink = ({ name, feed, locale }: Props) => {

- + {/* */} { image={cover} title="Feed Cover Image" /> - + {/* */} diff --git a/apps/feeds/pages copy/_app.tsx b/apps/feeds/pages copy/_app.tsx index 589eb0048..460eb67e9 100644 --- a/apps/feeds/pages copy/_app.tsx +++ b/apps/feeds/pages copy/_app.tsx @@ -2,16 +2,17 @@ import "../styles/globals.css" import "../styles/feed.css" import type { AppProps } from "next/app" import { useEffect } from "react" +import type { NextComponentType } from "next"; -function MyApp({ Component, pageProps }: AppProps) { - useEffect(() => { - // Remove the server-side injected CSS. - const jssStyles = document.querySelector("#jss-server-side") - if (jssStyles) { - jssStyles.parentElement?.removeChild(jssStyles) - } - }, []) +// function MyApp({ Component, pageProps }: AppProps) { +// useEffect(() => { +// // Remove the server-side injected CSS. +// const jssStyles = document.querySelector("#jss-server-side") +// if (jssStyles) { +// jssStyles.parentElement?.removeChild(jssStyles) +// } +// }, []) - return -} -export default MyApp +// return +// } +// export default MyApp diff --git a/apps/feeds/pages copy/_document.tsx b/apps/feeds/pages copy/_document.tsx index 1598ae547..6848559df 100644 --- a/apps/feeds/pages copy/_document.tsx +++ b/apps/feeds/pages copy/_document.tsx @@ -14,10 +14,10 @@ export default class CustomDocument extends Document { const sheets = new ServerStyleSheets() const originalRenderPage = ctx.renderPage - ctx.renderPage = () => - originalRenderPage({ - enhanceApp: (App) => (props) => sheets.collect(), - }) + // ctx.renderPage = () => + // originalRenderPage({ + // enhanceApp: (App) => (props) => sheets.collect(), + // }) const initialProps = await Document.getInitialProps(ctx) return { diff --git a/apps/root/package.json b/apps/root/package.json index 4f9028421..0f22c64be 100644 --- a/apps/root/package.json +++ b/apps/root/package.json @@ -15,7 +15,7 @@ "lint": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", "local": "concurrently --kill-others \"pnpm start\" \"cd ../syllabus && pnpm start\" \"cd ../campus && pnpm start\" \"cd ../career && pnpm start\" \"cd ../blog && pnpm start\"", - "tailwind:build": "pnpx tailwind build -i ./src/styles/styles.css -o ./src/styles/tailwind-build-output.css" + "tailwind:build": "pnpx tailwindcss build -i ./src/styles/styles.css -o ./src/styles/tailwind-build-output.css" }, "devDependencies": { "@babel/core": "7.18.2", @@ -35,9 +35,9 @@ "concurrently": "7.2.1", "cssnano": "5.1.11", "dotenv": "16.0.1", + "esbuild": "^0.18.6", "eslint": "8.17.0", "eslint-config-custom": "workspace:*", - "i18next": "21.8.9", "postcss": "8.4.14", "prettier": "2.6.2", "prettier-plugin-tailwindcss": "^0.2.8", @@ -72,7 +72,7 @@ "@types/styled-components": "5.1.25", "daisyui": "2.15.2", "history": "5.3.0", - "i18next": "21.8.9", + "i18next": "23.2.3", "localforage": "1.10.0", "lodash": "4.17.21", "react": "17.0.2", @@ -80,7 +80,7 @@ "react-error-boundary": "3.1.4", "react-ga": "3.3.0", "react-helmet": "6.1.0", - "react-i18next": "11.17.0", + "react-i18next": "13.0.1", "react-responsive": "9.0.0-beta.10", "react-router-dom": "6.3.0", "react-vertical-timeline-component": "3.5.2", diff --git a/apps/root/pnpm-lock.yaml b/apps/root/pnpm-lock.yaml index 996fa4028..1f73b74d6 100644 --- a/apps/root/pnpm-lock.yaml +++ b/apps/root/pnpm-lock.yaml @@ -53,8 +53,8 @@ dependencies: specifier: 5.3.0 version: 5.3.0 i18next: - specifier: 21.8.9 - version: 21.8.9 + specifier: 23.2.3 + version: 23.2.3 localforage: specifier: 1.10.0 version: 1.10.0 @@ -77,8 +77,8 @@ dependencies: specifier: 6.1.0 version: 6.1.0(react@17.0.2) react-i18next: - specifier: 11.17.0 - version: 11.17.0(i18next@21.8.9)(react-dom@17.0.2)(react-native@0.68.2)(react@17.0.2) + specifier: 13.0.1 + version: 13.0.1(i18next@23.2.3)(react-dom@17.0.2)(react-native@0.68.2)(react@17.0.2) react-responsive: specifier: 9.0.0-beta.10 version: 9.0.0-beta.10(react@17.0.2) @@ -171,6 +171,9 @@ devDependencies: dotenv: specifier: 16.0.1 version: 16.0.1 + esbuild: + specifier: ^0.18.6 + version: 0.18.6 eslint: specifier: 8.17.0 version: 8.17.0 @@ -2033,8 +2036,8 @@ packages: dependencies: regenerator-runtime: 0.13.11 - /@babel/runtime@7.21.5: - resolution: {integrity: sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==} + /@babel/runtime@7.22.5: + resolution: {integrity: sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.11 @@ -2194,6 +2197,402 @@ packages: resolution: {integrity: sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==} dev: false + /@esbuild/android-arm64@0.17.19: + resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm64@0.18.6: + resolution: {integrity: sha512-pL0Ci8P9q1sWbtPx8CXbc8JvPvvYdJJQ+LO09PLFsbz3aYNdFBGWJjiHU+CaObO4Ames+GOFpXRAJZS2L3ZK/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.17.19: + resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.18.6: + resolution: {integrity: sha512-J3lwhDSXBBppSzm/LC1uZ8yKSIpExc+5T8MxrYD9KNVZG81FOAu2VF2gXi/6A/LwDDQQ+b6DpQbYlo3VwxFepQ==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.17.19: + resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.18.6: + resolution: {integrity: sha512-hE2vZxOlJ05aY28lUpB0y0RokngtZtcUB+TVl9vnLEnY0z/8BicSvrkThg5/iI1rbf8TwXrbr2heEjl9fLf+EA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.17.19: + resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.18.6: + resolution: {integrity: sha512-/tuyl4R+QhhoROQtuQj9E/yfJtZNdv2HKaHwYhhHGQDN1Teziem2Kh7BWQMumfiY7Lu9g5rO7scWdGE4OsQ6MQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.17.19: + resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.18.6: + resolution: {integrity: sha512-L7IQga2pDT+14Ti8HZwsVfbCjuKP4U213T3tuPggOzyK/p4KaUJxQFXJgfUFHKzU0zOXx8QcYRYZf0hSQtppkw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.17.19: + resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.18.6: + resolution: {integrity: sha512-bq10jFv42V20Kk77NvmO+WEZaLHBKuXcvEowixnBOMkaBgS7kQaqTc77ZJDbsUpXU3KKNLQFZctfaeINmeTsZA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.17.19: + resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.18.6: + resolution: {integrity: sha512-HbDLlkDZqUMBQaiday0pJzB6/8Xx/10dI3xRebJBReOEeDSeS+7GzTtW9h8ZnfB7/wBCqvtAjGtWQLTNPbR2+g==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.17.19: + resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.18.6: + resolution: {integrity: sha512-NMY9yg/88MskEZH2s4i6biz/3av+M8xY5ua4HE7CCz5DBz542cr7REe317+v7oKjnYBCijHpkzo5vU85bkXQmQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.17.19: + resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.18.6: + resolution: {integrity: sha512-C+5kb6rgsGMmvIdUI7v1PPgC98A6BMv233e97aXZ5AE03iMdlILFD/20HlHrOi0x2CzbspXn9HOnlE4/Ijn5Kw==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.17.19: + resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.18.6: + resolution: {integrity: sha512-AXazA0ljvQEp7cA9jscABNXsjodKbEcqPcAE3rDzKN82Vb3lYOq6INd+HOCA7hk8IegEyHW4T72Z7QGIhyCQEA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.17.19: + resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.18.6: + resolution: {integrity: sha512-JjBf7TwY7ldcPgHYt9UcrjZB03+WZqg/jSwMAfzOzM5ZG+tu5umUqzy5ugH/crGI4eoDIhSOTDp1NL3Uo/05Fw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.17.19: + resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.18.6: + resolution: {integrity: sha512-kATNsslryVxcH1sO3KP2nnyUWtZZVkgyhAUnyTVVa0OQQ9pmDRjTpHaE+2EQHoCM5wt/uav2edrAUqbwn3tkKQ==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.17.19: + resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.18.6: + resolution: {integrity: sha512-B+wTKz+8pi7mcWXFQV0LA79dJ+qhiut5uK9q0omoKnq8yRIwQJwfg3/vclXoqqcX89Ri5Y5538V0Se2v5qlcLA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.17.19: + resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.18.6: + resolution: {integrity: sha512-h44RBLVXFUSjvhOfseE+5UxQ/r9LVeqK2S8JziJKOm9W7SePYRPDyn7MhzhNCCFPkcjIy+soCxfhlJXHXXCR0A==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.17.19: + resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.18.6: + resolution: {integrity: sha512-FlYpyr2Xc2AUePoAbc84NRV+mj7xpsISeQ36HGf9etrY5rTBEA+IU9HzWVmw5mDFtC62EQxzkLRj8h5Hq85yOQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.17.19: + resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.18.6: + resolution: {integrity: sha512-Mc4EUSYwzLci77u0Kao6ajB2WbTe5fNc7+lHwS3a+vJISC/oprwURezUYu1SdWAYoczbsyOvKAJwuNftoAdjjg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.17.19: + resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.18.6: + resolution: {integrity: sha512-3hgZlp7NqIM5lNG3fpdhBI5rUnPmdahraSmwAi+YX/bp7iZ7mpTv2NkypGs/XngdMtpzljICxnUG3uPfqLFd3w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.17.19: + resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.18.6: + resolution: {integrity: sha512-aEWTdZQHtSRROlDYn7ygB8yAqtnall/UnmoVIJVqccKitkAWVVSYocQUWrBOxLEFk8XdlRouVrLZe6WXszyviA==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.17.19: + resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.18.6: + resolution: {integrity: sha512-uxk/5yAGpjKZUHOECtI9W+9IcLjKj+2m0qf+RG7f7eRBHr8wP6wsr3XbNbgtOD1qSpPapd6R2ZfSeXTkCcAo5g==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.17.19: + resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.18.6: + resolution: {integrity: sha512-oXlXGS9zvNCGoAT/tLHAsFKrIKye1JaIIP0anCdpaI+Dc10ftaNZcqfLzEwyhdzFAYInXYH4V7kEdH4hPyo9GA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.17.19: + resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.18.6: + resolution: {integrity: sha512-qh7IcAHUvvmMBmoIG+V+BbE9ZWSR0ohF51e5g8JZvU08kZF58uDFL5tHs0eoYz31H6Finv17te3W3QB042GqVA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.17.19: + resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.18.6: + resolution: {integrity: sha512-9UDwkz7Wlm4N9jnv+4NL7F8vxLhSZfEkRArz2gD33HesAFfMLGIGNVXRoIHtWNw8feKsnGly9Hq1EUuRkWl0zA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc@1.4.1: resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2420,7 +2819,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@mui/utils': 5.12.3(react@17.0.2) '@types/react': 18.0.12 prop-types: 15.8.1 @@ -2440,7 +2839,7 @@ packages: '@emotion/styled': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@emotion/cache': 11.10.8 '@emotion/react': 11.9.0(@babel/core@7.18.2)(@types/react@18.0.12)(react@17.0.2) '@emotion/styled': 11.8.1(@babel/core@7.18.2)(@emotion/react@11.9.0)(@types/react@18.0.12)(react@17.0.2) @@ -2465,7 +2864,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@emotion/react': 11.9.0(@babel/core@7.18.2)(@types/react@18.0.12)(react@17.0.2) '@emotion/styled': 11.8.1(@babel/core@7.18.2)(@emotion/react@11.9.0)(@types/react@18.0.12)(react@17.0.2) '@mui/private-theming': 5.12.3(@types/react@18.0.12)(react@17.0.2) @@ -2496,7 +2895,7 @@ packages: peerDependencies: react: ^17.0.0 || ^18.0.0 dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@types/prop-types': 15.7.5 '@types/react-is': 17.0.4 prop-types: 15.8.1 @@ -3943,7 +4342,7 @@ packages: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 dev: true /dayjs@1.11.7: @@ -4247,212 +4646,64 @@ packages: is-symbol: 1.0.4 dev: true - /esbuild-android-64@0.14.43: - resolution: {integrity: sha512-kqFXAS72K6cNrB6RiM7YJ5lNvmWRDSlpi7ZuRZ1hu1S3w0zlwcoCxWAyM23LQUyZSs1PbjHgdbbfYAN8IGh6xg==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-android-arm64@0.14.43: - resolution: {integrity: sha512-bKS2BBFh+7XZY9rpjiHGRNA7LvWYbZWP87pLehggTG7tTaCDvj8qQGOU/OZSjCSKDYbgY7Q+oDw8RlYQ2Jt2BA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-64@0.14.43: - resolution: {integrity: sha512-/3PSilx011ttoieRGkSZ0XV8zjBf2C9enV4ScMMbCT4dpx0mFhMOpFnCHkOK0pWGB8LklykFyHrWk2z6DENVUg==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-arm64@0.14.43: - resolution: {integrity: sha512-1HyFUKs8DMCBOvw1Qxpr5Vv/ThNcVIFb5xgXWK3pyT40WPvgYIiRTwJCvNs4l8i5qWF8/CK5bQxJVDjQvtv0Yw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-64@0.14.43: - resolution: {integrity: sha512-FNWc05TPHYgaXjbPZO5/rJKSBslfG6BeMSs8GhwnqAKP56eEhvmzwnIz1QcC9cRVyO+IKqWNfmHFkCa1WJTULA==} + /esbuild@0.17.19: + resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-arm64@0.14.43: - resolution: {integrity: sha512-amrYopclz3VohqisOPR6hA3GOWA3LZC1WDLnp21RhNmoERmJ/vLnOpnrG2P/Zao+/erKTCUqmrCIPVtj58DRoA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-32@0.14.43: - resolution: {integrity: sha512-KoxoEra+9O3AKVvgDFvDkiuddCds6q71owSQEYwjtqRV7RwbPzKxJa6+uyzUulHcyGVq0g15K0oKG5CFBcvYDw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-64@0.14.43: - resolution: {integrity: sha512-EwINwGMyiJMgBby5/SbMqKcUhS5AYAZ2CpEBzSowsJPNBJEdhkCTtEjk757TN/wxgbu3QklqDM6KghY660QCUw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-arm64@0.14.43: - resolution: {integrity: sha512-UlSpjMWllAc70zYbHxWuDS3FJytyuR/gHJYBr8BICcTNb/TSOYVBg6U7b3jZ3mILTrgzwJUHwhEwK18FZDouUQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-arm@0.14.43: - resolution: {integrity: sha512-e6YzQUoDxxtyamuF12eVzzRC7bbEFSZohJ6igQB9tBqnNmIQY3fI6Cns3z2wxtbZ3f2o6idkD2fQnlvs2902Dg==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-mips64le@0.14.43: - resolution: {integrity: sha512-f+v8cInPEL1/SDP//CfSYzcDNgE4CY3xgDV81DWm3KAPWzhvxARrKxB1Pstf5mB56yAslJDxu7ryBUPX207EZA==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-ppc64le@0.14.43: - resolution: {integrity: sha512-5wZYMDGAL/K2pqkdIsW+I4IR41kyfHr/QshJcNpUfK3RjB3VQcPWOaZmc+74rm4ZjVirYrtz+jWw0SgxtxRanA==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-riscv64@0.14.43: - resolution: {integrity: sha512-lYcAOUxp85hC7lSjycJUVSmj4/9oEfSyXjb/ua9bNl8afonaduuqtw7hvKMoKuYnVwOCDw4RSfKpcnIRDWq+Bw==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-s390x@0.14.43: - resolution: {integrity: sha512-27e43ZhHvhFE4nM7HqtUbMRu37I/4eNSUbb8FGZWszV+uLzMIsHDwLoBiJmw7G9N+hrehNPeQ4F5Ujad0DrUKQ==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-netbsd-64@0.14.43: - resolution: {integrity: sha512-2mH4QF6hHBn5zzAfxEI/2eBC0mspVsZ6UVo821LpAJKMvLJPBk3XJO5xwg7paDqSqpl7p6IRrAenW999AEfJhQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-openbsd-64@0.14.43: - resolution: {integrity: sha512-ZhQpiZjvqCqO8jKdGp9+8k9E/EHSA+zIWOg+grwZasI9RoblqJ1QiZqqi7jfd6ZrrG1UFBNGe4m0NFxCFbMVbg==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-sunos-64@0.14.43: - resolution: {integrity: sha512-DgxSi9DaHReL9gYuul2rrQCAapgnCJkh3LSHPKsY26zytYppG0HgkgVF80zjIlvEsUbGBP/GHQzBtrezj/Zq1Q==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-32@0.14.43: - resolution: {integrity: sha512-Ih3+2O5oExiqm0mY6YYE5dR0o8+AspccQ3vIAtRodwFvhuyGLjb0Hbmzun/F3Lw19nuhPMu3sW2fqIJ5xBxByw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-64@0.14.43: - resolution: {integrity: sha512-8NsuNfI8xwFuJbrCuI+aBqNTYkrWErejFO5aYM+yHqyHuL8mmepLS9EPzAzk8rvfaJrhN0+RvKWAcymViHOKEw==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-arm64@0.14.43: - resolution: {integrity: sha512-7ZlD7bo++kVRblJEoG+cepljkfP8bfuTPz5fIXzptwnPaFwGS6ahvfoYzY7WCf5v/1nX2X02HDraVItTgbHnKw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] + hasBin: true requiresBuild: true - dev: true - optional: true - - /esbuild@0.14.43: - resolution: {integrity: sha512-Uf94+kQmy/5jsFwKWiQB4hfo/RkM9Dh7b79p8yqd1tshULdr25G2szLz631NoH3s2ujnKEKVD16RmOxvCNKRFA==} + optionalDependencies: + '@esbuild/android-arm': 0.17.19 + '@esbuild/android-arm64': 0.17.19 + '@esbuild/android-x64': 0.17.19 + '@esbuild/darwin-arm64': 0.17.19 + '@esbuild/darwin-x64': 0.17.19 + '@esbuild/freebsd-arm64': 0.17.19 + '@esbuild/freebsd-x64': 0.17.19 + '@esbuild/linux-arm': 0.17.19 + '@esbuild/linux-arm64': 0.17.19 + '@esbuild/linux-ia32': 0.17.19 + '@esbuild/linux-loong64': 0.17.19 + '@esbuild/linux-mips64el': 0.17.19 + '@esbuild/linux-ppc64': 0.17.19 + '@esbuild/linux-riscv64': 0.17.19 + '@esbuild/linux-s390x': 0.17.19 + '@esbuild/linux-x64': 0.17.19 + '@esbuild/netbsd-x64': 0.17.19 + '@esbuild/openbsd-x64': 0.17.19 + '@esbuild/sunos-x64': 0.17.19 + '@esbuild/win32-arm64': 0.17.19 + '@esbuild/win32-ia32': 0.17.19 + '@esbuild/win32-x64': 0.17.19 + dev: true + + /esbuild@0.18.6: + resolution: {integrity: sha512-5QgxWaAhU/tPBpvkxUmnFv2YINHuZzjbk0LeUUnC2i3aJHjfi5yR49lgKgF7cb98bclOp/kans8M5TGbGFfJlQ==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - esbuild-android-64: 0.14.43 - esbuild-android-arm64: 0.14.43 - esbuild-darwin-64: 0.14.43 - esbuild-darwin-arm64: 0.14.43 - esbuild-freebsd-64: 0.14.43 - esbuild-freebsd-arm64: 0.14.43 - esbuild-linux-32: 0.14.43 - esbuild-linux-64: 0.14.43 - esbuild-linux-arm: 0.14.43 - esbuild-linux-arm64: 0.14.43 - esbuild-linux-mips64le: 0.14.43 - esbuild-linux-ppc64le: 0.14.43 - esbuild-linux-riscv64: 0.14.43 - esbuild-linux-s390x: 0.14.43 - esbuild-netbsd-64: 0.14.43 - esbuild-openbsd-64: 0.14.43 - esbuild-sunos-64: 0.14.43 - esbuild-windows-32: 0.14.43 - esbuild-windows-64: 0.14.43 - esbuild-windows-arm64: 0.14.43 + '@esbuild/android-arm': 0.18.6 + '@esbuild/android-arm64': 0.18.6 + '@esbuild/android-x64': 0.18.6 + '@esbuild/darwin-arm64': 0.18.6 + '@esbuild/darwin-x64': 0.18.6 + '@esbuild/freebsd-arm64': 0.18.6 + '@esbuild/freebsd-x64': 0.18.6 + '@esbuild/linux-arm': 0.18.6 + '@esbuild/linux-arm64': 0.18.6 + '@esbuild/linux-ia32': 0.18.6 + '@esbuild/linux-loong64': 0.18.6 + '@esbuild/linux-mips64el': 0.18.6 + '@esbuild/linux-ppc64': 0.18.6 + '@esbuild/linux-riscv64': 0.18.6 + '@esbuild/linux-s390x': 0.18.6 + '@esbuild/linux-x64': 0.18.6 + '@esbuild/netbsd-x64': 0.18.6 + '@esbuild/openbsd-x64': 0.18.6 + '@esbuild/sunos-x64': 0.18.6 + '@esbuild/win32-arm64': 0.18.6 + '@esbuild/win32-ia32': 0.18.6 + '@esbuild/win32-x64': 0.18.6 dev: true /escalade@3.1.1: @@ -5053,10 +5304,6 @@ packages: dependencies: react-is: 16.13.1 - /html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - dev: false - /html-minifier-terser@6.1.0: resolution: {integrity: sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==} engines: {node: '>=12'} @@ -5091,11 +5338,10 @@ packages: resolution: {integrity: sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==} dev: false - /i18next@21.8.9: - resolution: {integrity: sha512-PY9a/8ADVmnju1tETeglbbVQi+nM5pcJQWm9kvKMTE3GPgHHtpDsHy5HQ/hccz2/xtW7j3vuso23JdQSH0EttA==} + /i18next@23.2.3: + resolution: {integrity: sha512-5spO7L0rNmW0jFuNhz+gfirlFt1anle4mTy4+gFkgsH0+T3R5++4oncBrzeKa7v8pweRyGBoGmOpboqlxovg6A==} dependencies: - '@babel/runtime': 7.18.3 - dev: false + '@babel/runtime': 7.22.5 /iconv-lite@0.6.3: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} @@ -7146,10 +7392,10 @@ packages: react-side-effect: 2.1.2(react@17.0.2) dev: false - /react-i18next@11.17.0(i18next@21.8.9)(react-dom@17.0.2)(react-native@0.68.2)(react@17.0.2): - resolution: {integrity: sha512-ewq2S4bVUTRqOMAdM/XvzCn9xUPIryzeBQRghmJ8lC6VI/8Kp7z1GwoLyt8j7GB2ywhN2SjPk7LU4sHzVeu7aw==} + /react-i18next@13.0.1(i18next@23.2.3)(react-dom@17.0.2)(react-native@0.68.2)(react@17.0.2): + resolution: {integrity: sha512-gMO6N2GfSfuH7xlHSsZ/mZf+Py9bLm/+EDKIn5fNTuDTjcCcwmMU5UEuGCDk5mdfivbo7ySyYXBN7B9tbGUxiA==} peerDependencies: - i18next: '>= 19.0.0' + i18next: '>= 23.2.3' react: '>= 16.8.0' react-dom: '*' react-native: '*' @@ -7159,10 +7405,9 @@ packages: react-native: optional: true dependencies: - '@babel/runtime': 7.18.3 - html-escaper: 2.0.2 + '@babel/runtime': 7.22.5 html-parse-stringify: 3.0.1 - i18next: 21.8.9 + i18next: 23.2.3 react: 17.0.2 react-dom: 17.0.2(react@17.0.2) react-native: 0.68.2(@babel/core@7.18.2)(@babel/preset-env@7.18.2)(react@17.0.2) @@ -8524,7 +8769,7 @@ packages: optional: true dependencies: '@types/node': 17.0.41 - esbuild: 0.14.43 + esbuild: 0.17.19 postcss: 8.4.23 rollup: 3.21.5 optionalDependencies: @@ -8535,7 +8780,7 @@ packages: resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==} /void-elements@3.1.0: - resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} + resolution: {integrity: sha1-YU9/v42AHwu18GYfWy9XhXUOTwk=} engines: {node: '>=0.10.0'} dev: false diff --git a/apps/root/src/components/frame/Nav.tsx b/apps/root/src/components/frame/Nav.tsx index d83a671c5..7d3132d05 100644 --- a/apps/root/src/components/frame/Nav.tsx +++ b/apps/root/src/components/frame/Nav.tsx @@ -113,6 +113,7 @@ const Nav = () => { setSignInModalOpen(false)} + t={t} /> diff --git a/apps/root/src/utils/i18n.ts b/apps/root/src/utils/i18n.ts new file mode 100644 index 000000000..c8391e21f --- /dev/null +++ b/apps/root/src/utils/i18n.ts @@ -0,0 +1,40 @@ +import { initReactI18next } from "react-i18next" +import i18next from "i18next" +import { getCoreTranslation, getI18nLanguageDetector, getI18nHttpBackend, Lang } from "wasedatime-ui" +import translationEN from "@app/constants/locales/en/translation.json" +import translationJA from "@app/constants/locales/jp/translation.json" + +const resources = { + [Lang.EN]: { + translation: { ...getCoreTranslation(Lang.EN), ...translationEN }, + }, + [Lang.JA]: { + translation: { ...getCoreTranslation(Lang.JA), ...translationJA }, + }, +} + +const detectorOptions = { + order: ["localStorage"], + lookupLocalStorage: "wasedatime-lng", + caches: ["localStorage"], +} + +i18next + .use(getI18nHttpBackend()) + .use(getI18nLanguageDetector()) + .use(initReactI18next) // passes i18n down to react-i18next + .init({ + resources, + fallbackLng: Lang.EN, + keySeparator: ".", + interpolation: { + // react already safes from xss + escapeValue: false, + }, + // Configure the withNamespaces / NamespacesConsumer to + // not render the content until needed namespaces are loaded. + // react: { + // wait: true, + // }, + detection: detectorOptions, + }) diff --git a/apps/root/src/wasedatime-root-config.ts b/apps/root/src/wasedatime-root-config.ts index cf763694d..1edf7c6fe 100644 --- a/apps/root/src/wasedatime-root-config.ts +++ b/apps/root/src/wasedatime-root-config.ts @@ -1,7 +1,6 @@ import React from "react" -import { Lang, i18nConfig, configAuth } from "wasedatime-ui" -import i18next from "i18next" +import { configAuth } from "wasedatime-ui" import ReactDOM from "react-dom" import ReactGA from "react-ga" import { navigateToUrl, registerApplication, start } from "single-spa" @@ -12,9 +11,8 @@ import { } from "single-spa-layout" import "@app/styles/styles.css" +import "@app/utils/i18n" import Nav from "@app/components/frame/Nav" -import translationEN from "@app/constants/locales/en/translation.json" -import translationJA from "@app/constants/locales/jp/translation.json" import { registerSW } from "virtual:pwa-register" @@ -40,14 +38,6 @@ start() configAuth() -i18nConfig({ - i18n: i18next, - customTranslations: { - [Lang.EN]: translationEN, - [Lang.JA]: translationJA, - }, -}) - ReactGA.initialize(import.meta.env.VITE_GA_ID, { debug: false, titleCase: false, diff --git a/apps/syllabus/package.json b/apps/syllabus/package.json index e4c98fd75..7c7ab5f1e 100644 --- a/apps/syllabus/package.json +++ b/apps/syllabus/package.json @@ -56,7 +56,7 @@ "@fortawesome/free-brands-svg-icons": "6.1.1", "@fortawesome/free-solid-svg-icons": "6.1.1", "@fortawesome/react-fontawesome": "0.1.18", - "@material-ui/core": "4.12.4", + "@mui/material": "5.0.0", "@sentry/react": "7.1.1", "@types/react": "18.0.12", "@types/react-dom": "18.0.5", diff --git a/apps/syllabus/pnpm-lock.yaml b/apps/syllabus/pnpm-lock.yaml index 5c7436d03..c01704ae2 100644 --- a/apps/syllabus/pnpm-lock.yaml +++ b/apps/syllabus/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: '@aws-amplify/api': specifier: 4.0.42 @@ -22,9 +26,9 @@ dependencies: '@fortawesome/react-fontawesome': specifier: 0.1.18 version: 0.1.18(@fortawesome/fontawesome-svg-core@6.1.1)(react@17.0.2) - '@material-ui/core': - specifier: 4.12.4 - version: 4.12.4(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2) + '@mui/material': + specifier: 5.0.0 + version: 5.0.0(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2) '@sentry/react': specifier: 7.1.1 version: 7.1.1(react@17.0.2) @@ -2676,6 +2680,13 @@ packages: regenerator-runtime: 0.13.11 dev: true + /@babel/runtime@7.22.11: + resolution: {integrity: sha512-ee7jVNlWN09+KftVOu9n7S8gQzD/Z6hN/I8VBRXW4P1+Xe7kJGXMwu8vds4aGIMHZnNbdpSWCfZZtinytpcAvA==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.14.0 + dev: false + /@babel/template@7.20.7: resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} engines: {node: '>=6.9.0'} @@ -2709,8 +2720,14 @@ packages: '@babel/helper-validator-identifier': 7.19.1 to-fast-properties: 2.0.0 - /@emotion/hash@0.8.0: - resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==} + /@emotion/cache@11.11.0: + resolution: {integrity: sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==} + dependencies: + '@emotion/memoize': 0.8.1 + '@emotion/sheet': 1.2.2 + '@emotion/utils': 1.2.1 + '@emotion/weak-memoize': 0.3.1 + stylis: 4.2.0 dev: false /@emotion/is-prop-valid@1.2.0: @@ -2721,12 +2738,28 @@ packages: /@emotion/memoize@0.8.0: resolution: {integrity: sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==} + /@emotion/memoize@0.8.1: + resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} + dev: false + + /@emotion/sheet@1.2.2: + resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==} + dev: false + /@emotion/stylis@0.8.5: resolution: {integrity: sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ==} /@emotion/unitless@0.7.5: resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==} + /@emotion/utils@1.2.1: + resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} + dev: false + + /@emotion/weak-memoize@0.3.1: + resolution: {integrity: sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==} + dev: false + /@esbuild/android-arm64@0.17.18: resolution: {integrity: sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==} engines: {node: '>=12'} @@ -3140,90 +3173,131 @@ packages: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} dev: false - /@material-ui/core@4.12.4(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-tr7xekNlM9LjA6pagJmL8QCgZXaubWUwkJnoYcMKd4gw/t4XiyvnTkjdGrUVicyB2BsdaAv1tvow45bPM4sSwQ==} - engines: {node: '>=8.0.0'} - deprecated: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5. + /@mui/core@5.0.0-alpha.47(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2): + resolution: {integrity: sha512-/GCIWOq+ydeY8HTWexrvQw7OsmRRvdzW+BB4vQ+V6alaECKSXPQrTDuQtd+lgI2il4p7uhPIKIqjcaAZ/FaNHA==} + engines: {node: '>=12.0.0'} + deprecated: You can now upgrade to @mui/base. See https://github.com/mui/material-ui/releases/tag/v5.1.1 peerDependencies: '@types/react': ^16.8.6 || ^17.0.0 - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 + react: ^17.0.2 + react-dom: ^17.0.2 peerDependenciesMeta: '@types/react': optional: true dependencies: '@babel/runtime': 7.18.3 - '@material-ui/styles': 4.11.5(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2) - '@material-ui/system': 4.12.2(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2) - '@material-ui/types': 5.1.0(@types/react@18.0.12) - '@material-ui/utils': 4.11.3(react-dom@17.0.2)(react@17.0.2) + '@emotion/is-prop-valid': 1.2.0 + '@mui/utils': 5.14.6(react@17.0.2) '@types/react': 18.0.12 - '@types/react-transition-group': 4.4.5 clsx: 1.2.1 - hoist-non-react-statics: 3.3.2 - popper.js: 1.16.1-lts prop-types: 15.8.1 react: 17.0.2 react-dom: 17.0.2(react@17.0.2) react-is: 17.0.2 - react-transition-group: 4.4.5(react-dom@17.0.2)(react@17.0.2) dev: false - /@material-ui/styles@4.11.5(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-o/41ot5JJiUsIETME9wVLAJrmIWL3j0R0Bj2kCOLbSfqEkKf0fmaPt+5vtblUh5eXr2S+J/8J3DaCb10+CzPGA==} - engines: {node: '>=8.0.0'} - deprecated: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5. + /@mui/material@5.0.0(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2): + resolution: {integrity: sha512-XZNPYQocFyS2Q8Wc7PMudazKa8VDaXADK9PxUfOF6Q0GQNXjLkOn1vRWlyF9EOZQ4QLbgJHyHDlH7ELBN0CA0w==} + engines: {node: '>=12.0.0'} peerDependencies: + '@emotion/react': ^11.4.1 + '@emotion/styled': ^11.3.0 '@types/react': ^16.8.6 || ^17.0.0 - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 + react: ^17.0.2 + react-dom: ^17.0.2 peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true '@types/react': optional: true dependencies: '@babel/runtime': 7.18.3 - '@emotion/hash': 0.8.0 - '@material-ui/types': 5.1.0(@types/react@18.0.12) - '@material-ui/utils': 4.11.3(react-dom@17.0.2)(react@17.0.2) + '@mui/core': 5.0.0-alpha.47(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2) + '@mui/system': 5.14.6(@types/react@18.0.12)(react@17.0.2) + '@mui/types': 7.2.4(@types/react@18.0.12) + '@mui/utils': 5.14.6(react@17.0.2) + '@popperjs/core': 2.11.7 '@types/react': 18.0.12 + '@types/react-transition-group': 4.4.5 clsx: 1.2.1 - csstype: 2.6.21 + csstype: 3.1.2 hoist-non-react-statics: 3.3.2 - jss: 10.10.0 - jss-plugin-camel-case: 10.10.0 - jss-plugin-default-unit: 10.10.0 - jss-plugin-global: 10.10.0 - jss-plugin-nested: 10.10.0 - jss-plugin-props-sort: 10.10.0 - jss-plugin-rule-value-function: 10.10.0 - jss-plugin-vendor-prefixer: 10.10.0 prop-types: 15.8.1 react: 17.0.2 react-dom: 17.0.2(react@17.0.2) + react-is: 17.0.2 + react-transition-group: 4.4.5(react-dom@17.0.2)(react@17.0.2) dev: false - /@material-ui/system@4.12.2(@types/react@18.0.12)(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-6CSKu2MtmiJgcCGf6nBQpM8fLkuB9F55EKfbdTC80NND5wpTmKzwdhLYLH3zL4cLlK0gVaaltW7/wMuyTnN0Lw==} - engines: {node: '>=8.0.0'} + /@mui/private-theming@5.14.6(@types/react@18.0.12)(react@17.0.2): + resolution: {integrity: sha512-3VBLFGizBXfofyk33bwRg6t9L648aKnLmOKPfY1wFuiXq3AEYwobK65iDci/tHKxm/VKbZ6A7PFjLejvB3EvRQ==} + engines: {node: '>=12.0.0'} peerDependencies: - '@types/react': ^16.8.6 || ^17.0.0 - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 + '@types/react': ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': optional: true dependencies: - '@babel/runtime': 7.18.3 - '@material-ui/utils': 4.11.3(react-dom@17.0.2)(react@17.0.2) + '@babel/runtime': 7.22.11 + '@mui/utils': 5.14.6(react@17.0.2) '@types/react': 18.0.12 - csstype: 2.6.21 prop-types: 15.8.1 react: 17.0.2 - react-dom: 17.0.2(react@17.0.2) dev: false - /@material-ui/types@5.1.0(@types/react@18.0.12): - resolution: {integrity: sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==} + /@mui/styled-engine@5.14.6(react@17.0.2): + resolution: {integrity: sha512-I6zeu/OP1Hk4NsX1Oj85TiYl1dER0JMsLJVn76J1Ihl24A5EbiZQKJp3Mn+ufA79ypkdAvM9aQCAQyiVBFcUHg==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@emotion/react': ^11.4.1 + '@emotion/styled': ^11.3.0 + react: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + dependencies: + '@babel/runtime': 7.22.11 + '@emotion/cache': 11.11.0 + csstype: 3.1.2 + prop-types: 15.8.1 + react: 17.0.2 + dev: false + + /@mui/system@5.14.6(@types/react@18.0.12)(react@17.0.2): + resolution: {integrity: sha512-/n0ae1MegWjiV1BpRU8jgg4E0zBjeB2VYsT/68ag/xaDuq3/TaDKJeT9REIvyBvwlG3CI3S2O+tRELktxCD1kg==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@emotion/react': ^11.5.0 + '@emotion/styled': ^11.3.0 + '@types/react': ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.22.11 + '@mui/private-theming': 5.14.6(@types/react@18.0.12)(react@17.0.2) + '@mui/styled-engine': 5.14.6(react@17.0.2) + '@mui/types': 7.2.4(@types/react@18.0.12) + '@mui/utils': 5.14.6(react@17.0.2) + '@types/react': 18.0.12 + clsx: 2.0.0 + csstype: 3.1.2 + prop-types: 15.8.1 + react: 17.0.2 + dev: false + + /@mui/types@7.2.4(@types/react@18.0.12): + resolution: {integrity: sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA==} peerDependencies: '@types/react': '*' peerDependenciesMeta: @@ -3233,18 +3307,18 @@ packages: '@types/react': 18.0.12 dev: false - /@material-ui/utils@4.11.3(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-ZuQPV4rBK/V1j2dIkSSEcH5uT6AaHuKWFfotADHsC0wVL1NLd2WkFCm4ZZbX33iO4ydl6V0GPngKm8HZQ2oujg==} - engines: {node: '>=8.0.0'} + /@mui/utils@5.14.6(react@17.0.2): + resolution: {integrity: sha512-AznpqLu6hrFnpHgcvsSSMCG+cDbkcCYfo+daUwBVReNYv4l+NQ8+wvBAF4aUMi155N7xWbbgh0cyKs6Wdsm3aA==} + engines: {node: '>=12.0.0'} peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 + react: ^17.0.0 || ^18.0.0 dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.22.11 + '@types/prop-types': 15.7.5 + '@types/react-is': 18.2.1 prop-types: 15.8.1 react: 17.0.2 - react-dom: 17.0.2(react@17.0.2) - react-is: 17.0.2 + react-is: 18.2.0 dev: false /@nodelib/fs.scandir@2.1.5: @@ -3628,6 +3702,12 @@ packages: '@types/react': 18.0.12 dev: false + /@types/react-is@18.2.1: + resolution: {integrity: sha512-wyUkmaaSZEzFZivD8F2ftSyAfk6L+DfFliVj/mYdOXbVjRcS87fQJLTnhk6dRZPuJjI+9g6RZJO4PNCngUrmyw==} + dependencies: + '@types/react': 18.0.12 + dev: false + /@types/react-s-alert@1.3.3: resolution: {integrity: sha512-T7xvvzwd/gS+0KJkGNYejLe+wqYb3qZD6IZrieB7O1wWZHlA0cgkZKM4RDuGtEyoPTUQifYauQBGOyNpb51zWA==} dependencies: @@ -4204,7 +4284,7 @@ packages: dev: false /bytes@3.0.0: - resolution: {integrity: sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=} + resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} engines: {node: '>= 0.8'} dev: false @@ -4389,6 +4469,11 @@ packages: engines: {node: '>=6'} dev: false + /clsx@2.0.0: + resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==} + engines: {node: '>=6'} + dev: false + /collection-visit@1.0.0: resolution: {integrity: sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==} engines: {node: '>=0.10.0'} @@ -4618,13 +4703,6 @@ packages: source-map: 0.6.1 dev: true - /css-vendor@2.0.8: - resolution: {integrity: sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ==} - dependencies: - '@babel/runtime': 7.18.3 - is-in-browser: 1.1.3 - dev: false - /css-what@6.1.0: resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} engines: {node: '>= 6'} @@ -4702,10 +4780,6 @@ packages: css-tree: 1.1.3 dev: true - /csstype@2.6.21: - resolution: {integrity: sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==} - dev: false - /csstype@3.1.2: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} @@ -4889,7 +4963,7 @@ packages: dev: true /ee-first@1.1.1: - resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false /electron-to-chromium@1.4.380: @@ -5356,7 +5430,7 @@ packages: dev: false /fresh@0.5.2: - resolution: {integrity: sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=} + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} dev: false @@ -5720,10 +5794,6 @@ packages: is-extglob: 2.1.1 dev: true - /is-in-browser@1.1.3: - resolution: {integrity: sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g==} - dev: false - /is-interactive@1.0.0: resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} engines: {node: '>=8'} @@ -5996,68 +6066,6 @@ packages: graceful-fs: 4.2.11 dev: false - /jss-plugin-camel-case@10.10.0: - resolution: {integrity: sha512-z+HETfj5IYgFxh1wJnUAU8jByI48ED+v0fuTuhKrPR+pRBYS2EDwbusU8aFOpCdYhtRc9zhN+PJ7iNE8pAWyPw==} - dependencies: - '@babel/runtime': 7.18.3 - hyphenate-style-name: 1.0.4 - jss: 10.10.0 - dev: false - - /jss-plugin-default-unit@10.10.0: - resolution: {integrity: sha512-SvpajxIECi4JDUbGLefvNckmI+c2VWmP43qnEy/0eiwzRUsafg5DVSIWSzZe4d2vFX1u9nRDP46WCFV/PXVBGQ==} - dependencies: - '@babel/runtime': 7.18.3 - jss: 10.10.0 - dev: false - - /jss-plugin-global@10.10.0: - resolution: {integrity: sha512-icXEYbMufiNuWfuazLeN+BNJO16Ge88OcXU5ZDC2vLqElmMybA31Wi7lZ3lf+vgufRocvPj8443irhYRgWxP+A==} - dependencies: - '@babel/runtime': 7.18.3 - jss: 10.10.0 - dev: false - - /jss-plugin-nested@10.10.0: - resolution: {integrity: sha512-9R4JHxxGgiZhurDo3q7LdIiDEgtA1bTGzAbhSPyIOWb7ZubrjQe8acwhEQ6OEKydzpl8XHMtTnEwHXCARLYqYA==} - dependencies: - '@babel/runtime': 7.18.3 - jss: 10.10.0 - tiny-warning: 1.0.3 - dev: false - - /jss-plugin-props-sort@10.10.0: - resolution: {integrity: sha512-5VNJvQJbnq/vRfje6uZLe/FyaOpzP/IH1LP+0fr88QamVrGJa0hpRRyAa0ea4U/3LcorJfBFVyC4yN2QC73lJg==} - dependencies: - '@babel/runtime': 7.18.3 - jss: 10.10.0 - dev: false - - /jss-plugin-rule-value-function@10.10.0: - resolution: {integrity: sha512-uEFJFgaCtkXeIPgki8ICw3Y7VMkL9GEan6SqmT9tqpwM+/t+hxfMUdU4wQ0MtOiMNWhwnckBV0IebrKcZM9C0g==} - dependencies: - '@babel/runtime': 7.18.3 - jss: 10.10.0 - tiny-warning: 1.0.3 - dev: false - - /jss-plugin-vendor-prefixer@10.10.0: - resolution: {integrity: sha512-UY/41WumgjW8r1qMCO8l1ARg7NHnfRVWRhZ2E2m0DMYsr2DD91qIXLyNhiX83hHswR7Wm4D+oDYNC1zWCJWtqg==} - dependencies: - '@babel/runtime': 7.18.3 - css-vendor: 2.0.8 - jss: 10.10.0 - dev: false - - /jss@10.10.0: - resolution: {integrity: sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw==} - dependencies: - '@babel/runtime': 7.18.3 - csstype: 3.1.2 - is-in-browser: 1.1.3 - tiny-warning: 1.0.3 - dev: false - /keyboard-key@1.1.0: resolution: {integrity: sha512-qkBzPTi3rlAKvX7k0/ub44sqOfXeLc/jcnGGmj5c7BJpU8eDrEVPyhCvNYAaoubbsLm9uGWwQJO1ytQK1a9/dQ==} dev: false @@ -7034,10 +7042,6 @@ packages: find-up: 3.0.0 dev: false - /popper.js@1.16.1-lts: - resolution: {integrity: sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==} - dev: false - /posix-character-classes@0.1.1: resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==} engines: {node: '>=0.10.0'} @@ -8033,6 +8037,10 @@ packages: /regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} + /regenerator-runtime@0.14.0: + resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} + dev: false + /regenerator-transform@0.15.1: resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} dependencies: @@ -8624,6 +8632,10 @@ packages: postcss-selector-parser: 6.0.12 dev: true + /stylis@4.2.0: + resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==} + dev: false + /sudo-prompt@9.2.1: resolution: {integrity: sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw==} dev: false @@ -8737,10 +8749,6 @@ packages: xtend: 4.0.2 dev: false - /tiny-warning@1.0.3: - resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} - dev: false - /tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} dev: false @@ -8953,7 +8961,7 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} /utils-merge@1.0.1: - resolution: {integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=} + resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} dev: false diff --git a/apps/syllabus/src/components/syllabus/AddedCourseList.tsx b/apps/syllabus/src/components/syllabus/AddedCourseList.tsx index ab22c793b..36bfdedfb 100644 --- a/apps/syllabus/src/components/syllabus/AddedCourseList.tsx +++ b/apps/syllabus/src/components/syllabus/AddedCourseList.tsx @@ -209,7 +209,7 @@ class AddedCourseList extends React.Component { diff --git a/apps/syllabus/src/components/syllabus/FilterGroup.tsx b/apps/syllabus/src/components/syllabus/FilterGroup.tsx index f564f1d6d..37c72edd8 100644 --- a/apps/syllabus/src/components/syllabus/FilterGroup.tsx +++ b/apps/syllabus/src/components/syllabus/FilterGroup.tsx @@ -23,13 +23,13 @@ const StyledDropdown = styled(Dropdown)` min-height: 32px !important; padding: 0.2rem 0.5rem 0.1rem 0.5rem !important; background-color: ${(props) => - props.$isDark ? colors.dark.card1 : "white"} !important; + props.$isDark ? Colors.dark.card1 : "white"} !important; a.ui.label { border-width: 0px; border-radius: 5px; background-color: ${(props) => - props.$isDark ? colors.dark.text2 : colors.dark.text2} !important; + props.$isDark ? Colors.dark.text2 : Colors.dark.text2} !important; color: ${(props) => (props.$isDark ? "#333" : "white")}; .delete.icon { padding: 0px !important; @@ -44,7 +44,7 @@ const StyledDropdown = styled(Dropdown)` .menu { background-color: ${(props) => - props.$isDark ? colors.dark.card1 : "white"} !important; + props.$isDark ? Colors.dark.card1 : "white"} !important; ::-webkit-scrollbar { width: 0; background: transparent; @@ -61,13 +61,13 @@ const StyledDropdown = styled(Dropdown)` .text { margin: 0.4rem 1em !important; - color: ${(props) => (props.$isDark ? colors.dark.text2 : "black")}; + color: ${(props) => (props.$isDark ? Colors.dark.text2 : "black")}; } i { padding: 0.5rem 1em !important; font-size: 14px !important; - color: ${(props) => (props.$isDark ? colors.dark.text2 : "black")}; + color: ${(props) => (props.$isDark ? Colors.dark.text2 : "black")}; } ` @@ -109,7 +109,7 @@ const styles = (theme) => transform: "scale(1.5)", }, checkBoxChecked: { - color: `${colors.dark.lighter} !important`, + color: `${Colors.dark.lighter} !important`, }, }) diff --git a/apps/syllabus/src/components/timetable/QuarterSwitch.tsx b/apps/syllabus/src/components/timetable/QuarterSwitch.tsx index 878437d00..08523399f 100644 --- a/apps/syllabus/src/components/timetable/QuarterSwitch.tsx +++ b/apps/syllabus/src/components/timetable/QuarterSwitch.tsx @@ -31,9 +31,9 @@ const OrButton = styled(Button.Or)` height: 24px; &:before { background-color: ${(props) => - props.$isDark ? colors.dark.bgSide : colors.light.bgSide} !important; + props.$isDark ? Colors.dark.bgSide : Colors.light.bgSide} !important; color: ${(props) => - props.$isDark ? colors.dark.text2 : colors.light.text2} !important; + props.$isDark ? Colors.dark.text2 : Colors.light.text2} !important; } ` diff --git a/apps/syllabus/src/root.component.tsx b/apps/syllabus/src/root.component.tsx index 4aac2d3b5..fba39b0ea 100644 --- a/apps/syllabus/src/root.component.tsx +++ b/apps/syllabus/src/root.component.tsx @@ -1,18 +1,17 @@ import React, { useState, useEffect, useContext } from "react" import API from "@aws-amplify/api" -import { Lang, LoadingSpinner, i18nConfig, configAuth } from "wasedatime-ui" +import { LoadingSpinner, configAuth } from "wasedatime-ui" import * as Sentry from "@sentry/react" -import i18next from "i18next" import throttle from "lodash/throttle" import ReactGA from "react-ga" +import { useTranslation } from "react-i18next" import { Provider } from "react-redux" import App from "@app/App" import ErrorFallback from "@app/components/ErrorFallback" import configureStore from "@app/configureStore" -import translationEN from "@app/constants/locales/en/translation.json" -import translationJA from "@app/constants/locales/ja/translation.json" +import "@app/utils/i18n" import { saveState } from "@app/utils/localforage-global-state" import { ThemeContext, ThemeProvider } from "@app/utils/theme-context" @@ -46,17 +45,11 @@ const LoadingSpinnerContainer = () => { } const Root = () => { + const { i18n } = useTranslation() const [reduxStore, setReduxStore] = useState(null) useEffect(() => { - i18nConfig({ - i18n: i18next, - customTranslations: { - [Lang.EN]: translationEN, - [Lang.JA]: translationJA, - }, - }) - // i18n.changeLanguage(localStorage.getItem("wasedatime-lng")); + i18n.changeLanguage(localStorage.getItem("wasedatime-lng")); if (!reduxStore) { storeConfig() } diff --git a/apps/syllabus/src/utils/i18n.ts b/apps/syllabus/src/utils/i18n.ts new file mode 100644 index 000000000..8041681b6 --- /dev/null +++ b/apps/syllabus/src/utils/i18n.ts @@ -0,0 +1,40 @@ +import { initReactI18next } from "react-i18next" +import i18next from "i18next" +import { getCoreTranslation, getI18nLanguageDetector, getI18nHttpBackend, Lang } from "wasedatime-ui" +import translationEN from "@app/constants/locales/en/translation.json" +import translationJA from "@app/constants/locales/ja/translation.json" + +const resources = { + [Lang.EN]: { + translation: { ...getCoreTranslation(Lang.EN), ...translationEN }, + }, + [Lang.JA]: { + translation: { ...getCoreTranslation(Lang.JA), ...translationJA }, + }, +} + +const detectorOptions = { + order: ["localStorage"], + lookupLocalStorage: "wasedatime-lng", + caches: ["localStorage"], +} + +i18next + .use(getI18nHttpBackend()) + .use(getI18nLanguageDetector()) + .use(initReactI18next) // passes i18n down to react-i18next + .init({ + resources, + fallbackLng: Lang.EN, + keySeparator: ".", + interpolation: { + // react already safes from xss + escapeValue: false, + }, + // Configure the withNamespaces / NamespacesConsumer to + // not render the content until needed namespaces are loaded. + // react: { + // wait: true, + // }, + detection: detectorOptions, + }) diff --git a/packages/ui/lib/base/Modal.d.ts b/packages/ui/lib/base/Modal.d.ts index 0c95e6c1f..1d829f2cb 100644 --- a/packages/ui/lib/base/Modal.d.ts +++ b/packages/ui/lib/base/Modal.d.ts @@ -1,5 +1,5 @@ -import React from "react"; -interface ModalProps extends React.Component { +/// +type ModalProps = { isOpen: boolean; children: any; closeTimeoutMS?: number; @@ -7,6 +7,6 @@ interface ModalProps extends React.Component { overlayClassName?: string; className?: string; onRequestClose?: () => void; -} +}; export declare const Modal: ({ isOpen, children, closeTimeoutMS, style, overlayClassName, className, onRequestClose, }: ModalProps) => JSX.Element; export default Modal; diff --git a/packages/ui/lib/icons/CrossIcon.d.ts b/packages/ui/lib/icons/CrossIcon.d.ts new file mode 100644 index 000000000..4c97d21e5 --- /dev/null +++ b/packages/ui/lib/icons/CrossIcon.d.ts @@ -0,0 +1,2 @@ +/// +export declare const CrossIcon: () => JSX.Element; diff --git a/packages/ui/lib/icons/index.d.ts b/packages/ui/lib/icons/index.d.ts index fad243468..04afc1ea3 100644 --- a/packages/ui/lib/icons/index.d.ts +++ b/packages/ui/lib/icons/index.d.ts @@ -1 +1,2 @@ export { GoogleIcon } from '../icons/GoogleIcon'; +export { CrossIcon } from '../icons/CrossIcon'; diff --git a/packages/ui/lib/layout/SignInModal.d.ts b/packages/ui/lib/layout/SignInModal.d.ts index e2d0530dc..b5cc6fbe3 100644 --- a/packages/ui/lib/layout/SignInModal.d.ts +++ b/packages/ui/lib/layout/SignInModal.d.ts @@ -1,9 +1,8 @@ /// import { WithTranslation } from "react-i18next"; -declare const _default: import("react").ComponentType void; - t: import("i18next").TFunction<"translation", undefined, "translation">; - tReady: boolean; -}, keyof WithTranslation> & import("react-i18next").WithTranslationProps>; -export default _default; +} +declare const SignInModal: ({ isModalOpen, closeModal, t }: Props) => JSX.Element; +export default SignInModal; diff --git a/packages/ui/lib/utils/i18n.d.ts b/packages/ui/lib/utils/i18n.d.ts index 7e045bfb2..d26e10c11 100644 --- a/packages/ui/lib/utils/i18n.d.ts +++ b/packages/ui/lib/utils/i18n.d.ts @@ -1,8 +1,697 @@ -interface TranslationsTypes { - [key: string]: object; -} -export declare const i18nConfig: ({ i18n, customTranslations, }: { - i18n: any; - customTranslations?: TranslationsTypes | undefined; -}) => void; -export {}; +import detector from "i18next-browser-languagedetector"; +import HttpApi from "i18next-http-backend"; +import { Lang } from '../constants/type/langs'; +export declare const getCoreTranslation: (lang: Lang) => { + app: { + courseChange: string; + RefreshLink: string; + }; + common: { + mon: string; + tue: string; + wed: string; + thu: string; + fri: string; + sat: string; + sun: string; + }; + welcome: { + welcome: string; + newFeature: string; + userLogin: string; + writeReviews: string; + timetableSync: string; + loginExplain1: string; + loginExplain2: string; + useWasedaGmail1: string; + useWasedaGmail2: string; + "Waseda Gmail": string; + writeReviewsExplain1: string; + writeReviewsExplain2: string; + timetableSyncExplain: string; + timetableDisplayCredits: string; + returningUsers: string; + next: string; + back: string; + done: string; + "Meet our developers!": string; + Founder: string; + Frontendtranslation: string; + Frontend: string; + "May WasedaTime be with you": string; + "We also received help from": string; + "these contributors": string; + a: string; + notice: string; + "Schools not imported initially": string; + "Import schools request": string; + allSchoolsAdded: string; + }; + navigation: { + timetable: string; + syllabus: string; + "course info": string; + roomfinder: string; + joinus: string; + bus: string; + language: string; + career: string; + "corona-info": string; + }; + footer: { + licensed: string; + syllabus: string; + update: string; + }; + about: { + title: string; + description: string; + }; + timetable: { + welcome: string; + "You haven't added any courses": string; + "Go to": string; + Syllabus: string; + "and try adding one!": string; + SaveSpace: string; + "Sort by": string; + courses: string; + credits: string; + "courses added": string; + "Spring Semester": string; + "Fall Semester": string; + undecided: string; + }; + syllabus: { + "Spring Semester": string; + "Fall Semester": string; + "Added courses are displayed here": string; + "To add a course": string; + "Search with keywords": string; + "With course or instructor's name": string; + "English & Japanese supported": string; + "Click on": string; + "to add": string; + "To remove": string; + "to remove suffix": string; + "Pro Tip!": string; + Use: string; + "Filter by": string; + "Clear filter": string; + "to narrow down your search": string; + Semesters: string; + Schools: string; + Languages: string; + Special: string; + day: string; + period: { + Period: string; + "1": string; + "2": string; + "3": string; + "4": string; + "5": string; + "6": string; + "7": string; + }; + minYear: string; + credit: string; + eval: { + title: string; + typeDefault: string; + Exam: string; + Papers: string; + "Class Participation": string; + Others: string; + "No exam": string; + "No paper": string; + "No class participation": string; + }; + type: string; + level: string; + "School Filter": { + title: string; + "Choose Schools": string; + "Remove Schools": string; + Undergraduate: string; + Graduate: string; + Special: string; + "No imported": string; + "Import request": string; + "Loaded schools limit message": string; + "Schools up to limit warning title": string; + "Schools up to limit warning text": string; + }; + displayedSpringSemester: string; + displayedFallSemester: string; + searchBarPlaceholder: string; + "Spring / Summer": string; + "Fall / Winter": string; + SILS: string; + PSE: string; + SSS: string; + FSE: string; + CSE: string; + ASE: string; + CMS: string; + HSS: string; + LAW: string; + EDU: string; + SOC: string; + HUM: string; + SPS: string; + CJL: string; + GEC: string; + CIE: string; + IPSE: string; + "EN-based Undergrad Program": string; + "IPSE/EN-based Undergrad Program": string; + semesterMap: { + Spring: string; + Summer: string; + Fall: string; + Winter: string; + Semester: string; + Quarter: string; + Intensive: string; + "Full-Year": string; + Term: string; + "/": string; + "&": string; + undecided: string; + }; + languageKeys: { + "-1": string; + "0": string; + "1": string; + "2": string; + "3": string; + "4": string; + "5": string; + "6": string; + "7": string; + "8": string; + "9": string; + }; + languages: { + "-1": string; + "0": string; + "1": string; + "2": string; + "3": string; + "4": string; + "5": string; + "6": string; + "7": string; + "8": string; + "9": string; + }; + location: { + undecided: string; + }; + "Added order": string; + "Course title": string; + "Course time": string; + langParam: string; + Share: string; + "Share!": string; + "Share popup message": string; + "Share text": string; + }; + courseInfo: { + Details: { + title: string; + "Min Year": string; + Credit: string; + Category: string; + Type: { + title: string; + Lecture: string; + Seminar: string; + Work: string; + "Foreign Language": string; + "On-demand": string; + Thesis: string; + "Graduate Research": string; + Practice: string; + Blended: string; + }; + Level: { + title: string; + Beginner: string; + Intermediate: string; + Advanced: string; + "Final-stage": string; + Master: string; + Doctor: string; + }; + Evaluation: { + title: string; + Exam: string; + Papers: string; + "Class Participation": string; + Others: string; + }; + }; + Reviews: string; + Review: string; + "Write your Review": string; + Scales: string; + Satisfaction: string; + Difficulty: string; + Benefit: string; + "Related courses": string; + Disclaimer: string; + "Thank WTSA 1": string; + WTSA: string; + "Thank WTSA 2": string; + "Related courses explanation": string; + "Add review to this course": string; + "Review placeholder": string; + Submit: string; + Close: string; + "Review sent": string; + "Review updated": string; + "Review deleted": string; + "Review failed to send": string; + "Fill in all fields before sending": string; + "delete review confirmation": string; + "delete review yes": string; + "delete review no": string; + }; + room: { + "Under Construction": string; + "Want to help?": string; + "Check out our": string; + facebook: string; + twitter: string; + or: string; + "!": string; + "We sincerely welcome any contributors!": string; + }; + bus: { + busStatus: string; + Waseda: string; + NishiWaseda: string; + "Add to home screen": string; + "and never miss a bus again!": string; + "Official Link": string; + "The Latest Waseda-NishiWaseda Bus Schedule": string; + "Departs in": string; + mins: string; + "Out of service": string; + "Special Schedule": string; + "Tap on the top-right icon": string; + "and select Add to Home screen": string; + "Tap on the bottom-middle icon": string; + "Assign a date / time to check the next bus": string; + }; + updates: { + header: string; + main: string; + main2: string; + main3: string; + main4: string; + main5: string; + }; + career: { + Intern: string; + Articles: string; + viewMore: string; + Entry: string; + }; + coronaInfo: { + title: string; + attribution: string; + "New Cases": string; + "Total Cases": string; + "New Deaths": string; + "Total Deaths": string; + "New Recovered": string; + "Total Recovered": string; + Tokyo: string; + "Loading Statistics": string; + "No data": string; + }; + user: { + "Sign in": string; + "Sign Out": string; + "Sign in with WasedaMail": string; + "session expired warning": string; + "sign in description": string; + "agreement on privacy policy 1": string; + "agreement on privacy policy 2": string; + "agreement on privacy policy 3": string; + "Privacy Policy": string; + "Terms of Service": string; + "Keep using without sign in": string; + }; +} | { + app: { + courseChange: string; + RefreshLink: string; + }; + common: { + mon: string; + tue: string; + wed: string; + thu: string; + fri: string; + sat: string; + sun: string; + }; + welcome: { + welcome: string; + newFeature: string; + userLogin: string; + writeReviews: string; + timetableSync: string; + loginExplain1: string; + loginExplain2: string; + useWasedaGmail1: string; + useWasedaGmail2: string; + "Waseda Gmail": string; + writeReviewsExplain1: string; + writeReviewsExplain2: string; + timetableSyncExplain: string; + timetableDisplayCredits: string; + returningUsers: string; + next: string; + back: string; + done: string; + "Meet our developers!": string; + Founder: string; + Frontendtranslation: string; + Frontend: string; + "May WasedaTime be with you": string; + "We also received help from": string; + "these contributors": string; + a: string; + notice: string; + "Schools not imported initially": string; + "Import schools request": string; + allSchoolsAdded: string; + }; + navigation: { + timetable: string; + syllabus: string; + "course info": string; + roomfinder: string; + joinus: string; + bus: string; + language: string; + career: string; + "corona-info": string; + }; + footer: { + licensed: string; + syllabus: string; + update: string; + }; + about: { + title: string; + description: string; + }; + timetable: { + welcome: string; + "You haven't added any courses": string; + "Go to": string; + Syllabus: string; + "and try adding one!": string; + SaveSpace: string; + "Sort by": string; + courses: string; + credits: string; + "courses added": string; + "Spring Semester": string; + "Fall Semester": string; + undecided: string; + }; + syllabus: { + "Spring Semester": string; + "Fall Semester": string; + "Added courses are displayed here": string; + "To add a course": string; + "Search with keywords": string; + "With course or instructor's name": string; + "English & Japanese supported": string; + "Click on": string; + "to add": string; + "To remove": string; + "to remove suffix": string; + "Pro Tip!": string; + Use: string; + "Filter by": string; + "Clear filter": string; + "to narrow down your search": string; + Semesters: string; + Schools: string; + Languages: string; + Special: string; + day: string; + period: { + Period: string; + "1": string; + "2": string; + "3": string; + "4": string; + "5": string; + "6": string; + "7": string; + }; + minYear: string; + credit: string; + eval: { + title: string; + typeDefault: string; + Exam: string; + Papers: string; + "Class Participation": string; + Others: string; + "No exam": string; + "No paper": string; + "No class participation": string; + }; + type: string; + level: string; + "School Filter": { + title: string; + "Choose Schools": string; + "Remove Schools": string; + Undergraduate: string; + Graduate: string; + Special: string; + "No imported": string; + "Import request": string; + "Loaded schools limit message": string; + "Schools up to limit warning title": string; + "Schools up to limit warning text": string; + }; + displayedSpringSemester: string; + displayedFallSemester: string; + searchBarPlaceholder: string; + "Spring / Summer": string; + "Fall / Winter": string; + SILS: string; + PSE: string; + SSS: string; + FSE: string; + CSE: string; + ASE: string; + CMS: string; + HSS: string; + LAW: string; + EDU: string; + SOC: string; + HUM: string; + SPS: string; + CJL: string; + GEC: string; + CIE: string; + IPSE: string; + "EN-based Undergrad Program": string; + "IPSE/EN-based Undergrad Program": string; + semesterMap: { + Spring: string; + Summer: string; + Fall: string; + Winter: string; + Semester: string; + Quarter: string; + Intensive: string; + "Full-Year": string; + Term: string; + "/": string; + "&": string; + undecided: string; + }; + languageCodes: { + "-1": string; + "0": string; + "1": string; + "2": string; + "3": string; + "4": string; + "5": string; + "6": string; + "7": string; + "8": string; + "9": string; + }; + languages: { + "-1": string; + "0": string; + "1": string; + "2": string; + "3": string; + "4": string; + "5": string; + "6": string; + "7": string; + "8": string; + "9": string; + }; + location: { + undecided: string; + }; + "Added order": string; + "Course title": string; + "Course time": string; + langParam: string; + Share: string; + "Share!": string; + "Share popup message": string; + "Share text": string; + }; + courseInfo: { + Details: { + title: string; + "Min Year": string; + Credit: string; + Category: string; + Type: { + title: string; + Lecture: string; + Seminar: string; + Work: string; + "Foreign Language": string; + "On-demand": string; + Thesis: string; + "Graduate Research": string; + Practice: string; + Blended: string; + }; + Level: { + title: string; + Beginner: string; + Intermediate: string; + Advanced: string; + "Final-stage": string; + Master: string; + Doctor: string; + }; + Evaluation: { + title: string; + Exam: string; + Papers: string; + "Class Participation": string; + Others: string; + }; + }; + Reviews: string; + Review: string; + "Write your Review": string; + Scales: string; + Satisfaction: string; + Difficulty: string; + Benefit: string; + "Related courses": string; + Disclaimer: string; + "Thank WTSA 1": string; + WTSA: string; + "Thank WTSA 2": string; + "Related courses explanation": string; + "Add review to this course": string; + "Review placeholder": string; + "Agree to share": string; + Submit: string; + Close: string; + "Review sent": string; + "Review updated": string; + "Review deleted": string; + "Review failed to send": string; + "Fill in all fields before sending": string; + "delete review confirmation": string; + "delete review yes": string; + "delete review no": string; + }; + room: { + "Under Construction": string; + "Want to help?": string; + "Check out our": string; + facebook: string; + twitter: string; + or: string; + "!": string; + "We sincerely welcome any contributors!": string; + }; + bus: { + busStatus: string; + Waseda: string; + NishiWaseda: string; + "Add to home screen": string; + "and never miss a bus again!": string; + "Official Link": string; + "The Latest Waseda-NishiWaseda Bus Schedule": string; + "Departs in": string; + mins: string; + "Out of service": string; + "Special Schedule": string; + "Tap on the top-right icon": string; + "and select Add to Home screen": string; + "Tap on the bottom-middle icon": string; + "Assign a date / time to check the next bus": string; + }; + updates: { + header: string; + main: string; + main2: string; + main3: string; + main4: string; + main5: string; + }; + career: { + Intern: string; + Articles: string; + viewMore: string; + Entry: string; + }; + coronaInfo: { + title: string; + attribution: string; + "New Cases": string; + "Total Cases": string; + "New Deaths": string; + "Total Deaths": string; + "New Recovered": string; + "Total Recovered": string; + Tokyo: string; + "Loading Statistics": string; + "No data": string; + }; + user: { + "Sign in": string; + "Sign Out": string; + "Sign in with WasedaMail": string; + "session expired warning": string; + "sign in description": string; + "agreement on privacy policy 1": string; + "agreement on privacy policy 2": string; + "agreement on privacy policy 3": string; + "Privacy Policy": string; + "Terms of Service": string; + "Keep using without sign in": string; + }; +}; +export declare const getI18nLanguageDetector: () => typeof detector; +export declare const getI18nHttpBackend: () => typeof HttpApi; diff --git a/packages/ui/lib/utils/index.d.ts b/packages/ui/lib/utils/index.d.ts index f44513022..6fecc1dc1 100644 --- a/packages/ui/lib/utils/index.d.ts +++ b/packages/ui/lib/utils/index.d.ts @@ -1,3 +1,3 @@ -export { i18nConfig } from '../utils/i18n'; +export { getCoreTranslation, getI18nHttpBackend, getI18nLanguageDetector } from '../utils/i18n'; export { sizes, media } from '../utils/responsive'; export { configAuth, getIdToken, getAccessToken, getRefreshToken, getUserAttr, signIn, signOut, } from '../utils/user'; diff --git a/packages/ui/lib/wasedatime-ui.es.js b/packages/ui/lib/wasedatime-ui.es.js index cf443792e..5c5b4ce1b 100644 --- a/packages/ui/lib/wasedatime-ui.es.js +++ b/packages/ui/lib/wasedatime-ui.es.js @@ -1,8 +1,8 @@ -import * as re from "react"; -import Te, { useRef as tt, useDebugValue as Uc, useContext as gt, createElement as wt, createContext as pn, forwardRef as es, Fragment as jn, useLayoutEffect as jh, Children as PM, isValidElement as gi, cloneElement as pi, useState as Ln, useEffect as st, useMemo as dn, useReducer as RM, createRef as UM, useCallback as Fc } from "react"; -import * as FM from "react-dom"; -import ci, { createPortal as YM } from "react-dom"; -function BM(e, t) { +import * as oe from "react"; +import Te, { useRef as ot, useDebugValue as Ic, useContext as wt, createElement as kt, createContext as xn, forwardRef as Su, Fragment as Nn, useLayoutEffect as nh, Children as Xp, isValidElement as hi, cloneElement as gi, useState as ar, useEffect as dt, useMemo as dn, useReducer as eM, createRef as tM, useCallback as Nc } from "react"; +import * as nM from "react-dom"; +import ui, { createPortal as rM } from "react-dom"; +function iM(e, t) { for (var n = 0; n < t.length; n++) { const r = t[n]; if (typeof r != "string" && !Array.isArray(r)) { @@ -19,10 +19,10 @@ function BM(e, t) { return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" })); } var zt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function Sh(e) { +function rh(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -function Bi(e) { +function Qi(e) { if (e.__esModule) return e; var t = e.default; @@ -49,12 +49,12 @@ function Bi(e) { }); }), n; } -var ir = {}, QM = { +var nr = {}, oM = { get exports() { - return ir; + return nr; }, set exports(e) { - ir = e; + nr = e; } }, Re = {}; /** @@ -66,11 +66,11 @@ var ir = {}, QM = { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Yc; -function $M() { - if (Yc) +var Tc; +function sM() { + if (Tc) return Re; - Yc = 1; + Tc = 1; var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h; h = Symbol.for("react.module.reference"); function p(m) { @@ -145,33 +145,33 @@ var Ue = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Bc; -function WM() { - return Bc || (Bc = 1, process.env.NODE_ENV !== "production" && function() { +var jc; +function aM() { + return jc || (jc = 1, process.env.NODE_ENV !== "production" && function() { var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = !1, p = !1, m = !1, v = !1, w = !1, j; j = Symbol.for("react.module.reference"); - function N(te) { + function I(te) { return !!(typeof te == "string" || typeof te == "function" || te === n || te === i || w || te === r || te === c || te === l || v || te === g || h || p || m || typeof te == "object" && te !== null && (te.$$typeof === d || te.$$typeof === f || te.$$typeof === o || te.$$typeof === s || te.$$typeof === u || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. te.$$typeof === j || te.getModuleId !== void 0)); } - function I(te) { + function N(te) { if (typeof te == "object" && te !== null) { var le = te.$$typeof; switch (le) { case e: - var Me = te.type; - switch (Me) { + var pe = te.type; + switch (pe) { case n: case i: case r: case c: case l: - return Me; + return pe; default: - var de = Me && Me.$$typeof; + var de = pe && pe.$$typeof; switch (de) { case a: case s: @@ -189,61 +189,61 @@ function WM() { } } } - var B = s, z = o, W = e, $ = u, b = n, k = d, U = f, x = t, T = i, S = r, R = c, C = l, J = !1, ie = !1; + var Q = s, z = o, H = e, W = u, b = n, k = d, U = f, x = t, T = i, S = r, R = c, C = l, J = !1, re = !1; function L(te) { return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function F(te) { - return ie || (ie = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; + return re || (re = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function P(te) { - return I(te) === s; + return N(te) === s; } function q(te) { - return I(te) === o; + return N(te) === o; } function K(te) { return typeof te == "object" && te !== null && te.$$typeof === e; } function X(te) { - return I(te) === u; + return N(te) === u; } function O(te) { - return I(te) === n; + return N(te) === n; } function ne(te) { - return I(te) === d; + return N(te) === d; } function G(te) { - return I(te) === f; + return N(te) === f; } function he(te) { - return I(te) === t; + return N(te) === t; } - function H(te) { - return I(te) === i; + function V(te) { + return N(te) === i; } - function Q(te) { - return I(te) === r; + function B(te) { + return N(te) === r; } - function V(te) { - return I(te) === c; + function $(te) { + return N(te) === c; } function fe(te) { - return I(te) === l; + return N(te) === l; } - Ue.ContextConsumer = B, Ue.ContextProvider = z, Ue.Element = W, Ue.ForwardRef = $, Ue.Fragment = b, Ue.Lazy = k, Ue.Memo = U, Ue.Portal = x, Ue.Profiler = T, Ue.StrictMode = S, Ue.Suspense = R, Ue.SuspenseList = C, Ue.isAsyncMode = L, Ue.isConcurrentMode = F, Ue.isContextConsumer = P, Ue.isContextProvider = q, Ue.isElement = K, Ue.isForwardRef = X, Ue.isFragment = O, Ue.isLazy = ne, Ue.isMemo = G, Ue.isPortal = he, Ue.isProfiler = H, Ue.isStrictMode = Q, Ue.isSuspense = V, Ue.isSuspenseList = fe, Ue.isValidElementType = N, Ue.typeOf = I; + Ue.ContextConsumer = Q, Ue.ContextProvider = z, Ue.Element = H, Ue.ForwardRef = W, Ue.Fragment = b, Ue.Lazy = k, Ue.Memo = U, Ue.Portal = x, Ue.Profiler = T, Ue.StrictMode = S, Ue.Suspense = R, Ue.SuspenseList = C, Ue.isAsyncMode = L, Ue.isConcurrentMode = F, Ue.isContextConsumer = P, Ue.isContextProvider = q, Ue.isElement = K, Ue.isForwardRef = X, Ue.isFragment = O, Ue.isLazy = ne, Ue.isMemo = G, Ue.isPortal = he, Ue.isProfiler = V, Ue.isStrictMode = B, Ue.isSuspense = $, Ue.isSuspenseList = fe, Ue.isValidElementType = I, Ue.typeOf = N; }()), Ue; } (function(e) { - process.env.NODE_ENV === "production" ? e.exports = $M() : e.exports = WM(); -})(QM); -function VM(e) { + process.env.NODE_ENV === "production" ? e.exports = sM() : e.exports = aM(); +})(oM); +function uM(e) { function t(P, q, K, X, O) { - for (var ne = 0, G = 0, he = 0, H = 0, Q, V, fe = 0, te = 0, le, Me = le = Q = 0, de = 0, E = 0, y = 0, M = 0, A = K.length, Y = A - 1, ee, Z = "", ve = "", Ce = "", Se = "", Pe; de < A; ) { - if (V = K.charCodeAt(de), de === Y && G + H + he + ne !== 0 && (G !== 0 && (V = G === 47 ? 10 : 47), H = he = ne = 0, A++, Y++), G + H + he + ne === 0) { + for (var ne = 0, G = 0, he = 0, V = 0, B, $, fe = 0, te = 0, le, pe = le = B = 0, de = 0, E = 0, y = 0, M = 0, A = K.length, Y = A - 1, ee, Z = "", me = "", Ce = "", Se = "", Pe; de < A; ) { + if ($ = K.charCodeAt(de), de === Y && G + V + he + ne !== 0 && (G !== 0 && ($ = G === 47 ? 10 : 47), V = he = ne = 0, A++, Y++), G + V + he + ne === 0) { if (de === Y && (0 < E && (Z = Z.replace(d, "")), 0 < Z.trim().length)) { - switch (V) { + switch ($) { case 32: case 9: case 59: @@ -253,12 +253,12 @@ function VM(e) { default: Z += K.charAt(de); } - V = 59; + $ = 59; } - switch (V) { + switch ($) { case 123: - for (Z = Z.trim(), Q = Z.charCodeAt(0), le = 1, M = ++de; de < A; ) { - switch (V = K.charCodeAt(de)) { + for (Z = Z.trim(), B = Z.charCodeAt(0), le = 1, M = ++de; de < A; ) { + switch ($ = K.charCodeAt(de)) { case 123: le++; break; @@ -266,44 +266,44 @@ function VM(e) { le--; break; case 47: - switch (V = K.charCodeAt(de + 1)) { + switch ($ = K.charCodeAt(de + 1)) { case 42: case 47: e: { - for (Me = de + 1; Me < Y; ++Me) - switch (K.charCodeAt(Me)) { + for (pe = de + 1; pe < Y; ++pe) + switch (K.charCodeAt(pe)) { case 47: - if (V === 42 && K.charCodeAt(Me - 1) === 42 && de + 2 !== Me) { - de = Me + 1; + if ($ === 42 && K.charCodeAt(pe - 1) === 42 && de + 2 !== pe) { + de = pe + 1; break e; } break; case 10: - if (V === 47) { - de = Me + 1; + if ($ === 47) { + de = pe + 1; break e; } } - de = Me; + de = pe; } } break; case 91: - V++; + $++; case 40: - V++; + $++; case 34: case 39: - for (; de++ < Y && K.charCodeAt(de) !== V; ) + for (; de++ < Y && K.charCodeAt(de) !== $; ) ; } if (le === 0) break; de++; } - switch (le = K.substring(M, de), Q === 0 && (Q = (Z = Z.replace(f, "").trim()).charCodeAt(0)), Q) { + switch (le = K.substring(M, de), B === 0 && (B = (Z = Z.replace(f, "").trim()).charCodeAt(0)), B) { case 64: - switch (0 < E && (Z = Z.replace(d, "")), V = Z.charCodeAt(1), V) { + switch (0 < E && (Z = Z.replace(d, "")), $ = Z.charCodeAt(1), $) { case 100: case 109: case 115: @@ -313,10 +313,10 @@ function VM(e) { default: E = R; } - if (le = t(q, E, le, V, O + 1), M = le.length, 0 < J && (E = n(R, Z, y), Pe = a(3, le, E, q, x, U, M, V, O, X), Z = E.join(""), Pe !== void 0 && (M = (le = Pe.trim()).length) === 0 && (V = 0, le = "")), 0 < M) - switch (V) { + if (le = t(q, E, le, $, O + 1), M = le.length, 0 < J && (E = n(R, Z, y), Pe = a(3, le, E, q, x, U, M, $, O, X), Z = E.join(""), Pe !== void 0 && (M = (le = Pe.trim()).length) === 0 && ($ = 0, le = "")), 0 < M) + switch ($) { case 115: - Z = Z.replace(B, s); + Z = Z.replace(Q, s); case 100: case 109: case 45: @@ -326,7 +326,7 @@ function VM(e) { Z = Z.replace(w, "$1 $2"), le = Z + "{" + le + "}", le = S === 1 || S === 2 && o("@" + le, 3) ? "@-webkit-" + le + "@" + le : "@" + le; break; default: - le = Z + le, X === 112 && (le = (ve += le, "")); + le = Z + le, X === 112 && (le = (me += le, "")); } else le = ""; @@ -334,41 +334,41 @@ function VM(e) { default: le = t(q, n(q, Z, y), le, X, O + 1); } - Ce += le, le = y = E = Me = Q = 0, Z = "", V = K.charCodeAt(++de); + Ce += le, le = y = E = pe = B = 0, Z = "", $ = K.charCodeAt(++de); break; case 125: case 59: if (Z = (0 < E ? Z.replace(d, "") : Z).trim(), 1 < (M = Z.length)) - switch (Me === 0 && (Q = Z.charCodeAt(0), Q === 45 || 96 < Q && 123 > Q) && (M = (Z = Z.replace(" ", ":")).length), 0 < J && (Pe = a(1, Z, q, P, x, U, ve.length, X, O, X)) !== void 0 && (M = (Z = Pe.trim()).length) === 0 && (Z = "\0\0"), Q = Z.charCodeAt(0), V = Z.charCodeAt(1), Q) { + switch (pe === 0 && (B = Z.charCodeAt(0), B === 45 || 96 < B && 123 > B) && (M = (Z = Z.replace(" ", ":")).length), 0 < J && (Pe = a(1, Z, q, P, x, U, me.length, X, O, X)) !== void 0 && (M = (Z = Pe.trim()).length) === 0 && (Z = "\0\0"), B = Z.charCodeAt(0), $ = Z.charCodeAt(1), B) { case 0: break; case 64: - if (V === 105 || V === 99) { + if ($ === 105 || $ === 99) { Se += Z + K.charAt(de); break; } default: - Z.charCodeAt(M - 1) !== 58 && (ve += i(Z, Q, V, Z.charCodeAt(2))); + Z.charCodeAt(M - 1) !== 58 && (me += i(Z, B, $, Z.charCodeAt(2))); } - y = E = Me = Q = 0, Z = "", V = K.charCodeAt(++de); + y = E = pe = B = 0, Z = "", $ = K.charCodeAt(++de); } } - switch (V) { + switch ($) { case 13: case 10: - G === 47 ? G = 0 : 1 + Q === 0 && X !== 107 && 0 < Z.length && (E = 1, Z += "\0"), 0 < J * L && a(0, Z, q, P, x, U, ve.length, X, O, X), U = 1, x++; + G === 47 ? G = 0 : 1 + B === 0 && X !== 107 && 0 < Z.length && (E = 1, Z += "\0"), 0 < J * L && a(0, Z, q, P, x, U, me.length, X, O, X), U = 1, x++; break; case 59: case 125: - if (G + H + he + ne === 0) { + if (G + V + he + ne === 0) { U++; break; } default: - switch (U++, ee = K.charAt(de), V) { + switch (U++, ee = K.charAt(de), $) { case 9: case 32: - if (H + ne + G === 0) + if (V + ne + G === 0) switch (fe) { case 44: case 58: @@ -377,7 +377,7 @@ function VM(e) { ee = ""; break; default: - V !== 32 && (ee = " "); + $ !== 32 && (ee = " "); } break; case 0: @@ -390,11 +390,11 @@ function VM(e) { ee = "\\v"; break; case 38: - H + G + ne === 0 && (E = y = 1, ee = "\f" + ee); + V + G + ne === 0 && (E = y = 1, ee = "\f" + ee); break; case 108: - if (H + G + ne + T === 0 && 0 < Me) - switch (de - Me) { + if (V + G + ne + T === 0 && 0 < pe) + switch (de - pe) { case 2: fe === 112 && K.charCodeAt(de - 3) === 58 && (T = fe); case 8: @@ -402,45 +402,45 @@ function VM(e) { } break; case 58: - H + G + ne === 0 && (Me = de); + V + G + ne === 0 && (pe = de); break; case 44: - G + he + H + ne === 0 && (E = 1, ee += "\r"); + G + he + V + ne === 0 && (E = 1, ee += "\r"); break; case 34: case 39: - G === 0 && (H = H === V ? 0 : H === 0 ? V : H); + G === 0 && (V = V === $ ? 0 : V === 0 ? $ : V); break; case 91: - H + G + he === 0 && ne++; + V + G + he === 0 && ne++; break; case 93: - H + G + he === 0 && ne--; + V + G + he === 0 && ne--; break; case 41: - H + G + ne === 0 && he--; + V + G + ne === 0 && he--; break; case 40: - if (H + G + ne === 0) { - if (Q === 0) + if (V + G + ne === 0) { + if (B === 0) switch (2 * fe + 3 * te) { case 533: break; default: - Q = 1; + B = 1; } he++; } break; case 64: - G + he + H + ne + Me + le === 0 && (le = 1); + G + he + V + ne + pe + le === 0 && (le = 1); break; case 42: case 47: - if (!(0 < H + ne + he)) + if (!(0 < V + ne + he)) switch (G) { case 0: - switch (2 * V + 3 * K.charCodeAt(de + 1)) { + switch (2 * $ + 3 * K.charCodeAt(de + 1)) { case 235: G = 47; break; @@ -449,28 +449,28 @@ function VM(e) { } break; case 42: - V === 47 && fe === 42 && M + 2 !== de && (K.charCodeAt(M + 2) === 33 && (ve += K.substring(M, de + 1)), ee = "", G = 0); + $ === 47 && fe === 42 && M + 2 !== de && (K.charCodeAt(M + 2) === 33 && (me += K.substring(M, de + 1)), ee = "", G = 0); } } G === 0 && (Z += ee); } - te = fe, fe = V, de++; + te = fe, fe = $, de++; } - if (M = ve.length, 0 < M) { - if (E = q, 0 < J && (Pe = a(2, ve, E, P, x, U, M, X, O, X), Pe !== void 0 && (ve = Pe).length === 0)) - return Se + ve + Ce; - if (ve = E.join(",") + "{" + ve + "}", S * T !== 0) { - switch (S !== 2 || o(ve, 2) || (T = 0), T) { + if (M = me.length, 0 < M) { + if (E = q, 0 < J && (Pe = a(2, me, E, P, x, U, M, X, O, X), Pe !== void 0 && (me = Pe).length === 0)) + return Se + me + Ce; + if (me = E.join(",") + "{" + me + "}", S * T !== 0) { + switch (S !== 2 || o(me, 2) || (T = 0), T) { case 111: - ve = ve.replace(N, ":-moz-$1") + ve; + me = me.replace(I, ":-moz-$1") + me; break; case 112: - ve = ve.replace(j, "::-webkit-input-$1") + ve.replace(j, "::-moz-$1") + ve.replace(j, ":-ms-input-$1") + ve; + me = me.replace(j, "::-webkit-input-$1") + me.replace(j, "::-moz-$1") + me.replace(j, ":-ms-input-$1") + me; } T = 0; } } - return Se + ve + Ce; + return Se + me + Ce; } function n(P, q, K) { var X = q.trim().split(m); @@ -486,8 +486,8 @@ function VM(e) { default: var he = G = 0; for (q = []; G < O; ++G) - for (var H = 0; H < ne; ++H) - q[he++] = r(P[H] + " ", X[G], K).trim(); + for (var V = 0; V < ne; ++V) + q[he++] = r(P[V] + " ", X[G], K).trim(); } return q; } @@ -559,13 +559,13 @@ function VM(e) { case 1e3: switch (G = O.substring(13).trim(), q = G.indexOf("-") + 1, G.charCodeAt(0) + G.charCodeAt(q)) { case 226: - G = O.replace(I, "tb"); + G = O.replace(N, "tb"); break; case 232: - G = O.replace(I, "tb-rl"); + G = O.replace(N, "tb-rl"); break; case 220: - G = O.replace(I, "lr"); + G = O.replace(N, "lr"); break; default: return O; @@ -593,9 +593,9 @@ function VM(e) { case 105: return G = O.replace("-items", ""), "-webkit-" + O + "-webkit-box-" + G + "-ms-flex-" + G + O; case 115: - return "-webkit-" + O + "-ms-flex-item-" + O.replace(W, "") + O; + return "-webkit-" + O + "-ms-flex-item-" + O.replace(H, "") + O; default: - return "-webkit-" + O + "-ms-flex-line-pack" + O.replace("align-content", "").replace(W, "") + O; + return "-webkit-" + O + "-ms-flex-line-pack" + O.replace("align-content", "").replace(H, "") + O; } break; case 973: @@ -615,15 +615,15 @@ function VM(e) { } function o(P, q) { var K = P.indexOf(q === 1 ? ":" : "{"), X = P.substring(0, q !== 3 ? K : 10); - return K = P.substring(K + 1, P.length - 1), ie(q !== 2 ? X : X.replace($, "$1"), K, q); + return K = P.substring(K + 1, P.length - 1), re(q !== 2 ? X : X.replace(W, "$1"), K, q); } function s(P, q) { var K = i(q, q.charCodeAt(0), q.charCodeAt(1), q.charCodeAt(2)); return K !== q + ";" ? K.replace(z, " or ($1)").substring(4) : "(" + q + ")"; } - function a(P, q, K, X, O, ne, G, he, H, Q) { - for (var V = 0, fe = q, te; V < J; ++V) - switch (te = C[V].call(l, P, fe, K, X, O, ne, G, he, H, Q)) { + function a(P, q, K, X, O, ne, G, he, V, B) { + for (var $ = 0, fe = q, te; $ < J; ++$) + switch (te = C[$].call(l, P, fe, K, X, O, ne, G, he, V, B)) { case void 0: case !1: case !0: @@ -653,7 +653,7 @@ function VM(e) { return u; } function c(P) { - return P = P.prefix, P !== void 0 && (ie = null, P ? typeof P != "function" ? S = 1 : (S = 2, ie = P) : S = 0), c; + return P = P.prefix, P !== void 0 && (re = null, P ? typeof P != "function" ? S = 1 : (S = 2, re = P) : S = 0), c; } function l(P, q) { var K = P; @@ -664,10 +664,10 @@ function VM(e) { var O = t(R, K, q, 0, 0); return 0 < J && (X = a(-2, O, K, K, x, U, O.length, 0, 0, 0), X !== void 0 && (O = X)), F = "", T = 0, U = x = 1, O; } - var f = /^\0+/g, d = /[\0\r\f]/g, g = /: */g, h = /zoo|gra/, p = /([,: ])(transform)/g, m = /,\r+?/g, v = /([\t\r\n ])*\f?&/g, w = /@(k\w+)\s*(\S*)\s*/, j = /::(place)/g, N = /:(read-only)/g, I = /[svh]\w+-[tblr]{2}/, B = /\(\s*(.*)\s*\)/g, z = /([\s\S]*?);/g, W = /-self|flex-/g, $ = /[^]*?(:[rp][el]a[\w-]+)[^]*/, b = /stretch|:\s*\w+\-(?:conte|avail)/, k = /([^-])(image-set\()/, U = 1, x = 1, T = 0, S = 1, R = [], C = [], J = 0, ie = null, L = 0, F = ""; + var f = /^\0+/g, d = /[\0\r\f]/g, g = /: */g, h = /zoo|gra/, p = /([,: ])(transform)/g, m = /,\r+?/g, v = /([\t\r\n ])*\f?&/g, w = /@(k\w+)\s*(\S*)\s*/, j = /::(place)/g, I = /:(read-only)/g, N = /[svh]\w+-[tblr]{2}/, Q = /\(\s*(.*)\s*\)/g, z = /([\s\S]*?);/g, H = /-self|flex-/g, W = /[^]*?(:[rp][el]a[\w-]+)[^]*/, b = /stretch|:\s*\w+\-(?:conte|avail)/, k = /([^-])(image-set\()/, U = 1, x = 1, T = 0, S = 1, R = [], C = [], J = 0, re = null, L = 0, F = ""; return l.use = u, l.set = c, e !== void 0 && c(e), l; } -var HM = { +var cM = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, @@ -715,23 +715,23 @@ var HM = { strokeOpacity: 1, strokeWidth: 1 }; -function bh(e) { +function ih(e) { var t = /* @__PURE__ */ Object.create(null); return function(n) { return t[n] === void 0 && (t[n] = e(n)), t[n]; }; } -var qM = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Ca = /* @__PURE__ */ bh( +var lM = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Na = /* @__PURE__ */ ih( function(e) { - return qM.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; + return lM.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; } /* Z+1 */ -), Ei = {}, KM = { +), Ai = {}, fM = { get exports() { - return Ei; + return Ai; }, set exports(e) { - Ei = e; + Ai = e; } }, Fe = {}; /** @license React v16.13.1 @@ -742,71 +742,71 @@ var qM = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Qc; -function GM() { - if (Qc) +var Sc; +function dM() { + if (Sc) return Fe; - Qc = 1; + Sc = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119; - function j(I) { - if (typeof I == "object" && I !== null) { - var B = I.$$typeof; - switch (B) { + function j(N) { + if (typeof N == "object" && N !== null) { + var Q = N.$$typeof; + switch (Q) { case t: - switch (I = I.type, I) { + switch (N = N.type, N) { case u: case c: case r: case o: case i: case f: - return I; + return N; default: - switch (I = I && I.$$typeof, I) { + switch (N = N && N.$$typeof, N) { case a: case l: case h: case g: case s: - return I; + return N; default: - return B; + return Q; } } case n: - return B; + return Q; } } } - function N(I) { - return j(I) === c; - } - return Fe.AsyncMode = u, Fe.ConcurrentMode = c, Fe.ContextConsumer = a, Fe.ContextProvider = s, Fe.Element = t, Fe.ForwardRef = l, Fe.Fragment = r, Fe.Lazy = h, Fe.Memo = g, Fe.Portal = n, Fe.Profiler = o, Fe.StrictMode = i, Fe.Suspense = f, Fe.isAsyncMode = function(I) { - return N(I) || j(I) === u; - }, Fe.isConcurrentMode = N, Fe.isContextConsumer = function(I) { - return j(I) === a; - }, Fe.isContextProvider = function(I) { - return j(I) === s; - }, Fe.isElement = function(I) { - return typeof I == "object" && I !== null && I.$$typeof === t; - }, Fe.isForwardRef = function(I) { - return j(I) === l; - }, Fe.isFragment = function(I) { - return j(I) === r; - }, Fe.isLazy = function(I) { - return j(I) === h; - }, Fe.isMemo = function(I) { - return j(I) === g; - }, Fe.isPortal = function(I) { - return j(I) === n; - }, Fe.isProfiler = function(I) { - return j(I) === o; - }, Fe.isStrictMode = function(I) { - return j(I) === i; - }, Fe.isSuspense = function(I) { - return j(I) === f; - }, Fe.isValidElementType = function(I) { - return typeof I == "string" || typeof I == "function" || I === r || I === c || I === o || I === i || I === f || I === d || typeof I == "object" && I !== null && (I.$$typeof === h || I.$$typeof === g || I.$$typeof === s || I.$$typeof === a || I.$$typeof === l || I.$$typeof === m || I.$$typeof === v || I.$$typeof === w || I.$$typeof === p); + function I(N) { + return j(N) === c; + } + return Fe.AsyncMode = u, Fe.ConcurrentMode = c, Fe.ContextConsumer = a, Fe.ContextProvider = s, Fe.Element = t, Fe.ForwardRef = l, Fe.Fragment = r, Fe.Lazy = h, Fe.Memo = g, Fe.Portal = n, Fe.Profiler = o, Fe.StrictMode = i, Fe.Suspense = f, Fe.isAsyncMode = function(N) { + return I(N) || j(N) === u; + }, Fe.isConcurrentMode = I, Fe.isContextConsumer = function(N) { + return j(N) === a; + }, Fe.isContextProvider = function(N) { + return j(N) === s; + }, Fe.isElement = function(N) { + return typeof N == "object" && N !== null && N.$$typeof === t; + }, Fe.isForwardRef = function(N) { + return j(N) === l; + }, Fe.isFragment = function(N) { + return j(N) === r; + }, Fe.isLazy = function(N) { + return j(N) === h; + }, Fe.isMemo = function(N) { + return j(N) === g; + }, Fe.isPortal = function(N) { + return j(N) === n; + }, Fe.isProfiler = function(N) { + return j(N) === o; + }, Fe.isStrictMode = function(N) { + return j(N) === i; + }, Fe.isSuspense = function(N) { + return j(N) === f; + }, Fe.isValidElementType = function(N) { + return typeof N == "string" || typeof N == "function" || N === r || N === c || N === o || N === i || N === f || N === d || typeof N == "object" && N !== null && (N.$$typeof === h || N.$$typeof === g || N.$$typeof === s || N.$$typeof === a || N.$$typeof === l || N.$$typeof === m || N.$$typeof === v || N.$$typeof === w || N.$$typeof === p); }, Fe.typeOf = j, Fe; } var Ye = {}; @@ -818,20 +818,20 @@ var Ye = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var $c; -function JM() { - return $c || ($c = 1, process.env.NODE_ENV !== "production" && function() { +var bc; +function hM() { + return bc || (bc = 1, process.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119; - function j(V) { - return typeof V == "string" || typeof V == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - V === r || V === c || V === o || V === i || V === f || V === d || typeof V == "object" && V !== null && (V.$$typeof === h || V.$$typeof === g || V.$$typeof === s || V.$$typeof === a || V.$$typeof === l || V.$$typeof === m || V.$$typeof === v || V.$$typeof === w || V.$$typeof === p); + function j($) { + return typeof $ == "string" || typeof $ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + $ === r || $ === c || $ === o || $ === i || $ === f || $ === d || typeof $ == "object" && $ !== null && ($.$$typeof === h || $.$$typeof === g || $.$$typeof === s || $.$$typeof === a || $.$$typeof === l || $.$$typeof === m || $.$$typeof === v || $.$$typeof === w || $.$$typeof === p); } - function N(V) { - if (typeof V == "object" && V !== null) { - var fe = V.$$typeof; + function I($) { + if (typeof $ == "object" && $ !== null) { + var fe = $.$$typeof; switch (fe) { case t: - var te = V.type; + var te = $.type; switch (te) { case u: case c: @@ -858,53 +858,53 @@ function JM() { } } } - var I = u, B = c, z = a, W = s, $ = t, b = l, k = r, U = h, x = g, T = n, S = o, R = i, C = f, J = !1; - function ie(V) { - return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(V) || N(V) === u; + var N = u, Q = c, z = a, H = s, W = t, b = l, k = r, U = h, x = g, T = n, S = o, R = i, C = f, J = !1; + function re($) { + return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L($) || I($) === u; } - function L(V) { - return N(V) === c; + function L($) { + return I($) === c; } - function F(V) { - return N(V) === a; + function F($) { + return I($) === a; } - function P(V) { - return N(V) === s; + function P($) { + return I($) === s; } - function q(V) { - return typeof V == "object" && V !== null && V.$$typeof === t; + function q($) { + return typeof $ == "object" && $ !== null && $.$$typeof === t; } - function K(V) { - return N(V) === l; + function K($) { + return I($) === l; } - function X(V) { - return N(V) === r; + function X($) { + return I($) === r; } - function O(V) { - return N(V) === h; + function O($) { + return I($) === h; } - function ne(V) { - return N(V) === g; + function ne($) { + return I($) === g; } - function G(V) { - return N(V) === n; + function G($) { + return I($) === n; } - function he(V) { - return N(V) === o; + function he($) { + return I($) === o; } - function H(V) { - return N(V) === i; + function V($) { + return I($) === i; } - function Q(V) { - return N(V) === f; + function B($) { + return I($) === f; } - Ye.AsyncMode = I, Ye.ConcurrentMode = B, Ye.ContextConsumer = z, Ye.ContextProvider = W, Ye.Element = $, Ye.ForwardRef = b, Ye.Fragment = k, Ye.Lazy = U, Ye.Memo = x, Ye.Portal = T, Ye.Profiler = S, Ye.StrictMode = R, Ye.Suspense = C, Ye.isAsyncMode = ie, Ye.isConcurrentMode = L, Ye.isContextConsumer = F, Ye.isContextProvider = P, Ye.isElement = q, Ye.isForwardRef = K, Ye.isFragment = X, Ye.isLazy = O, Ye.isMemo = ne, Ye.isPortal = G, Ye.isProfiler = he, Ye.isStrictMode = H, Ye.isSuspense = Q, Ye.isValidElementType = j, Ye.typeOf = N; + Ye.AsyncMode = N, Ye.ConcurrentMode = Q, Ye.ContextConsumer = z, Ye.ContextProvider = H, Ye.Element = W, Ye.ForwardRef = b, Ye.Fragment = k, Ye.Lazy = U, Ye.Memo = x, Ye.Portal = T, Ye.Profiler = S, Ye.StrictMode = R, Ye.Suspense = C, Ye.isAsyncMode = re, Ye.isConcurrentMode = L, Ye.isContextConsumer = F, Ye.isContextProvider = P, Ye.isElement = q, Ye.isForwardRef = K, Ye.isFragment = X, Ye.isLazy = O, Ye.isMemo = ne, Ye.isPortal = G, Ye.isProfiler = he, Ye.isStrictMode = V, Ye.isSuspense = B, Ye.isValidElementType = j, Ye.typeOf = I; }()), Ye; } (function(e) { - process.env.NODE_ENV === "production" ? e.exports = GM() : e.exports = JM(); -})(KM); -var Uu = Ei, ZM = { + process.env.NODE_ENV === "production" ? e.exports = dM() : e.exports = hM(); +})(fM); +var bu = Ai, gM = { childContextTypes: !0, contextType: !0, contextTypes: !0, @@ -916,7 +916,7 @@ var Uu = Ei, ZM = { mixins: !0, propTypes: !0, type: !0 -}, XM = { +}, pM = { name: !0, length: !0, prototype: !0, @@ -924,40 +924,40 @@ var Uu = Ei, ZM = { callee: !0, arguments: !0, arity: !0 -}, ey = { +}, MM = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 -}, Ch = { +}, oh = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 -}, Fu = {}; -Fu[Uu.ForwardRef] = ey; -Fu[Uu.Memo] = Ch; -function Wc(e) { - return Uu.isMemo(e) ? Ch : Fu[e.$$typeof] || ZM; -} -var ty = Object.defineProperty, ny = Object.getOwnPropertyNames, Vc = Object.getOwnPropertySymbols, ry = Object.getOwnPropertyDescriptor, iy = Object.getPrototypeOf, Hc = Object.prototype; -function xh(e, t, n) { +}, Cu = {}; +Cu[bu.ForwardRef] = MM; +Cu[bu.Memo] = oh; +function Cc(e) { + return bu.isMemo(e) ? oh : Cu[e.$$typeof] || gM; +} +var yM = Object.defineProperty, mM = Object.getOwnPropertyNames, xc = Object.getOwnPropertySymbols, vM = Object.getOwnPropertyDescriptor, wM = Object.getPrototypeOf, Oc = Object.prototype; +function sh(e, t, n) { if (typeof t != "string") { - if (Hc) { - var r = iy(t); - r && r !== Hc && xh(e, r, n); + if (Oc) { + var r = wM(t); + r && r !== Oc && sh(e, r, n); } - var i = ny(t); - Vc && (i = i.concat(Vc(t))); - for (var o = Wc(e), s = Wc(t), a = 0; a < i.length; ++a) { + var i = mM(t); + xc && (i = i.concat(xc(t))); + for (var o = Cc(e), s = Cc(t), a = 0; a < i.length; ++a) { var u = i[a]; - if (!XM[u] && !(n && n[u]) && !(s && s[u]) && !(o && o[u])) { - var c = ry(t, u); + if (!pM[u] && !(n && n[u]) && !(s && s[u]) && !(o && o[u])) { + var c = vM(t, u); try { - ty(e, u, c); + yM(e, u, c); } catch { } } @@ -965,7 +965,7 @@ function xh(e, t, n) { } return e; } -var oy = xh; +var DM = sh; function an() { return (an = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { @@ -976,23 +976,23 @@ function an() { return e; }).apply(this, arguments); } -var qc = function(e, t) { +var Lc = function(e, t) { for (var n = [e[0]], r = 0, i = t.length; r < i; r += 1) n.push(t[r], e[r + 1]); return n; -}, xa = function(e) { - return e !== null && typeof e == "object" && (e.toString ? e.toString() : Object.prototype.toString.call(e)) === "[object Object]" && !ir.typeOf(e); -}, jo = Object.freeze([]), Sn = Object.freeze({}); -function Ii(e) { +}, Ta = function(e) { + return e !== null && typeof e == "object" && (e.toString ? e.toString() : Object.prototype.toString.call(e)) === "[object Object]" && !nr.typeOf(e); +}, To = Object.freeze([]), Tn = Object.freeze({}); +function Ei(e) { return typeof e == "function"; } -function Oa(e) { +function ja(e) { return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component"; } -function Yu(e) { +function xu(e) { return e && typeof e.styledComponentId == "string"; } -var Lr = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Bu = typeof window < "u" && "HTMLElement" in window, sy = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production")), ay = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s. +var Lr = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Ou = typeof window < "u" && "HTMLElement" in window, AM = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production")), EM = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s. `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle. @@ -1034,19 +1034,19 @@ as for instance in your render method then you may be running into this limitati `, 17: `CSSStyleSheet could not be found on HTMLStyleElement. Has styled-components' style tag been unmounted or altered by another script? ` } : {}; -function uy() { +function IM() { for (var e = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, r = arguments.length; n < r; n += 1) t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]); return t.forEach(function(i) { e = e.replace(/%[a-z]/, i); }), e; } -function Fr(e) { +function Ur(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; - throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(uy.apply(void 0, [ay[e]].concat(n)).trim()); + throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(IM.apply(void 0, [EM[e]].concat(n)).trim()); } -var cy = function() { +var NM = function() { function e(n) { this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = n; } @@ -1058,7 +1058,7 @@ var cy = function() { }, t.insertRules = function(n, r) { if (n >= this.groupSizes.length) { for (var i = this.groupSizes, o = i.length, s = o; n >= s; ) - (s <<= 1) < 0 && Fr(16, "" + n); + (s <<= 1) < 0 && Ur(16, "" + n); this.groupSizes = new Uint32Array(s), this.groupSizes.set(i), this.length = s; for (var a = o; a < s; a++) this.groupSizes[a] = 0; @@ -1081,36 +1081,36 @@ var cy = function() { `; return r; }, e; -}(), vo = /* @__PURE__ */ new Map(), So = /* @__PURE__ */ new Map(), Mi = 1, eo = function(e) { - if (vo.has(e)) - return vo.get(e); - for (; So.has(Mi); ) - Mi++; - var t = Mi++; - return process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1 << 30) && Fr(16, "" + t), vo.set(e, t), So.set(t, e), t; -}, ly = function(e) { - return So.get(e); -}, fy = function(e, t) { - t >= Mi && (Mi = t + 1), vo.set(e, t), So.set(t, e); -}, dy = "style[" + Lr + '][data-styled-version="5.3.10"]', hy = new RegExp("^" + Lr + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), gy = function(e, t, n) { +}(), mo = /* @__PURE__ */ new Map(), jo = /* @__PURE__ */ new Map(), pi = 1, eo = function(e) { + if (mo.has(e)) + return mo.get(e); + for (; jo.has(pi); ) + pi++; + var t = pi++; + return process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1 << 30) && Ur(16, "" + t), mo.set(e, t), jo.set(t, e), t; +}, TM = function(e) { + return jo.get(e); +}, jM = function(e, t) { + t >= pi && (pi = t + 1), mo.set(e, t), jo.set(t, e); +}, SM = "style[" + Lr + '][data-styled-version="5.3.10"]', bM = new RegExp("^" + Lr + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), CM = function(e, t, n) { for (var r, i = n.split(","), o = 0, s = i.length; o < s; o++) (r = i[o]) && e.registerName(t, r); -}, py = function(e, t) { +}, xM = function(e, t) { for (var n = (t.textContent || "").split(`/*!sc*/ `), r = [], i = 0, o = n.length; i < o; i++) { var s = n[i].trim(); if (s) { - var a = s.match(hy); + var a = s.match(bM); if (a) { var u = 0 | parseInt(a[1], 10), c = a[2]; - u !== 0 && (fy(c, u), gy(e, c, a[3]), e.getTag().insertRules(u, r)), r.length = 0; + u !== 0 && (jM(c, u), CM(e, c, a[3]), e.getTag().insertRules(u, r)), r.length = 0; } else r.push(s); } } -}, My = function() { +}, OM = function() { return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null; -}, Oh = function(e) { +}, ah = function(e) { var t = document.head, n = e || t, r = document.createElement("style"), i = function(a) { for (var u = a.childNodes, c = u.length; c >= 0; c--) { var l = u[c]; @@ -1119,11 +1119,11 @@ var cy = function() { } }(n), o = i !== void 0 ? i.nextSibling : null; r.setAttribute(Lr, "active"), r.setAttribute("data-styled-version", "5.3.10"); - var s = My(); + var s = OM(); return s && r.setAttribute("nonce", s), n.insertBefore(r, o), r; -}, yy = function() { +}, LM = function() { function e(n) { - var r = this.element = Oh(n); + var r = this.element = ah(n); r.appendChild(document.createTextNode("")), this.sheet = function(i) { if (i.sheet) return i.sheet; @@ -1132,7 +1132,7 @@ var cy = function() { if (u.ownerNode === i) return u; } - Fr(17); + Ur(17); }(r), this.length = 0; } var t = e.prototype; @@ -1148,9 +1148,9 @@ var cy = function() { var r = this.sheet.cssRules[n]; return r !== void 0 && typeof r.cssText == "string" ? r.cssText : ""; }, e; -}(), my = function() { +}(), _M = function() { function e(n) { - var r = this.element = Oh(n); + var r = this.element = ah(n); this.nodes = r.childNodes, this.length = 0; } var t = e.prototype; @@ -1165,7 +1165,7 @@ var cy = function() { }, t.getRule = function(n) { return n < this.length ? this.nodes[n].textContent : ""; }, e; -}(), vy = function() { +}(), kM = function() { function e(n) { this.rules = [], this.length = 0; } @@ -1177,12 +1177,12 @@ var cy = function() { }, t.getRule = function(n) { return n < this.length ? this.rules[n] : ""; }, e; -}(), Kc = Bu, wy = { isServer: !Bu, useCSSOMInjection: !sy }, Lh = function() { +}(), _c = Ou, zM = { isServer: !Ou, useCSSOMInjection: !AM }, uh = function() { function e(n, r, i) { - n === void 0 && (n = Sn), r === void 0 && (r = {}), this.options = an({}, wy, {}, n), this.gs = r, this.names = new Map(i), this.server = !!n.isServer, !this.server && Bu && Kc && (Kc = !1, function(o) { - for (var s = document.querySelectorAll(dy), a = 0, u = s.length; a < u; a++) { + n === void 0 && (n = Tn), r === void 0 && (r = {}), this.options = an({}, zM, {}, n), this.gs = r, this.names = new Map(i), this.server = !!n.isServer, !this.server && Ou && _c && (_c = !1, function(o) { + for (var s = document.querySelectorAll(SM), a = 0, u = s.length; a < u; a++) { var c = s[a]; - c && c.getAttribute(Lr) !== "active" && (py(o, c), c.parentNode && c.parentNode.removeChild(c)); + c && c.getAttribute(Lr) !== "active" && (xM(o, c), c.parentNode && c.parentNode.removeChild(c)); } }(this)); } @@ -1195,7 +1195,7 @@ var cy = function() { }, t.allocateGSInstance = function(n) { return this.gs[n] = (this.gs[n] || 0) + 1; }, t.getTag = function() { - return this.tag || (this.tag = (i = (r = this.options).isServer, o = r.useCSSOMInjection, s = r.target, n = i ? new vy(s) : o ? new yy(s) : new my(s), new cy(n))); + return this.tag || (this.tag = (i = (r = this.options).isServer, o = r.useCSSOMInjection, s = r.target, n = i ? new kM(s) : o ? new LM(s) : new _M(s), new NM(n))); var n, r, i, o, s; }, t.hasNameForId = function(n, r) { return this.names.has(n) && this.names.get(n).has(r); @@ -1217,7 +1217,7 @@ var cy = function() { }, t.toString = function() { return function(n) { for (var r = n.getTag(), i = r.length, o = "", s = 0; s < i; s++) { - var a = ly(s); + var a = TM(s); if (a !== void 0) { var u = n.names.get(a), c = r.getGroup(s); if (u && c && u.size) { @@ -1232,33 +1232,33 @@ var cy = function() { return o; }(this); }, e; -}(), Dy = /(a)(d)/gi, Gc = function(e) { +}(), PM = /(a)(d)/gi, kc = function(e) { return String.fromCharCode(e + (e > 25 ? 39 : 97)); }; -function La(e) { +function Sa(e) { var t, n = ""; for (t = Math.abs(e); t > 52; t = t / 52 | 0) - n = Gc(t % 52) + n; - return (Gc(t % 52) + n).replace(Dy, "$1-$2"); + n = kc(t % 52) + n; + return (kc(t % 52) + n).replace(PM, "$1-$2"); } -var $n = function(e, t) { +var Qn = function(e, t) { for (var n = t.length; n; ) e = 33 * e ^ t.charCodeAt(--n); return e; -}, _h = function(e) { - return $n(5381, e); +}, ch = function(e) { + return Qn(5381, e); }; -function Ay(e) { +function RM(e) { for (var t = 0; t < e.length; t += 1) { var n = e[t]; - if (Ii(n) && !Yu(n)) + if (Ei(n) && !xu(n)) return !1; } return !0; } -var Ey = _h("5.3.10"), Iy = function() { +var UM = ch("5.3.10"), FM = function() { function e(t, n, r) { - this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && Ay(t), this.componentId = n, this.baseHash = $n(Ey, n), this.baseStyle = r, Lh.registerId(n); + this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && RM(t), this.componentId = n, this.baseHash = Qn(UM, n), this.baseStyle = r, uh.registerId(n); } return e.prototype.generateAndInjectStyles = function(t, n, r) { var i = this.componentId, o = []; @@ -1266,7 +1266,7 @@ var Ey = _h("5.3.10"), Iy = function() { if (this.staticRulesId && n.hasNameForId(i, this.staticRulesId)) o.push(this.staticRulesId); else { - var s = _r(this.rules, t, n, r).join(""), a = La($n(this.baseHash, s) >>> 0); + var s = _r(this.rules, t, n, r).join(""), a = Sa(Qn(this.baseHash, s) >>> 0); if (!n.hasNameForId(i, a)) { var u = r(s, "." + a, void 0, i); n.insertRules(i, a, u); @@ -1274,17 +1274,17 @@ var Ey = _h("5.3.10"), Iy = function() { o.push(a), this.staticRulesId = a; } else { - for (var c = this.rules.length, l = $n(this.baseHash, r.hash), f = "", d = 0; d < c; d++) { + for (var c = this.rules.length, l = Qn(this.baseHash, r.hash), f = "", d = 0; d < c; d++) { var g = this.rules[d]; if (typeof g == "string") - f += g, process.env.NODE_ENV !== "production" && (l = $n(l, g + d)); + f += g, process.env.NODE_ENV !== "production" && (l = Qn(l, g + d)); else if (g) { var h = _r(g, t, n, r), p = Array.isArray(h) ? h.join("") : h; - l = $n(l, p + d), f += p; + l = Qn(l, p + d), f += p; } } if (f) { - var m = La(l >>> 0); + var m = Sa(l >>> 0); if (!n.hasNameForId(i, m)) { var v = r(f, "." + m, void 0, i); n.insertRules(i, m, v); @@ -1294,9 +1294,9 @@ var Ey = _h("5.3.10"), Iy = function() { } return o.join(" "); }, e; -}(), Ny = /^\s*\/\/.*$/gm, Ty = [":", "[", ".", "#"]; -function jy(e) { - var t, n, r, i, o = e === void 0 ? Sn : e, s = o.options, a = s === void 0 ? Sn : s, u = o.plugins, c = u === void 0 ? jo : u, l = new VM(a), f = [], d = function(p) { +}(), YM = /^\s*\/\/.*$/gm, QM = [":", "[", ".", "#"]; +function BM(e) { + var t, n, r, i, o = e === void 0 ? Tn : e, s = o.options, a = s === void 0 ? Tn : s, u = o.plugins, c = u === void 0 ? To : u, l = new uM(a), f = [], d = function(p) { function m(v) { if (v) try { @@ -1304,18 +1304,18 @@ function jy(e) { } catch { } } - return function(v, w, j, N, I, B, z, W, $, b) { + return function(v, w, j, I, N, Q, z, H, W, b) { switch (v) { case 1: - if ($ === 0 && w.charCodeAt(0) === 64) + if (W === 0 && w.charCodeAt(0) === 64) return p(w + ";"), ""; break; case 2: - if (W === 0) + if (H === 0) return w + "/*|*/"; break; case 3: - switch (W) { + switch (H) { case 102: case 112: return p(j[0] + w), ""; @@ -1329,12 +1329,12 @@ function jy(e) { }(function(p) { f.push(p); }), g = function(p, m, v) { - return m === 0 && Ty.indexOf(v[n.length]) !== -1 || v.match(i) ? p : "." + t; + return m === 0 && QM.indexOf(v[n.length]) !== -1 || v.match(i) ? p : "." + t; }; function h(p, m, v, w) { w === void 0 && (w = "&"); - var j = p.replace(Ny, ""), N = m && v ? v + " " + m + " { " + j + " }" : j; - return t = w, n = m, r = new RegExp("\\" + n + "\\b", "g"), i = new RegExp("(\\" + n + "\\b){2,}"), l(v || !m ? "" : m, N); + var j = p.replace(YM, ""), I = m && v ? v + " " + m + " { " + j + " }" : j; + return t = w, n = m, r = new RegExp("\\" + n + "\\b", "g"), i = new RegExp("(\\" + n + "\\b){2,}"), l(v || !m ? "" : m, I); } return l.use([].concat(c, [function(p, m, v) { p === 2 && v.length && v[0].lastIndexOf(n) > 0 && (v[0] = v[0].replace(r, g)); @@ -1344,39 +1344,39 @@ function jy(e) { return f = [], m; } }])), h.hash = c.length ? c.reduce(function(p, m) { - return m.name || Fr(15), $n(p, m.name); + return m.name || Ur(15), Qn(p, m.name); }, 5381).toString() : "", h; } -var kh = Te.createContext(); -kh.Consumer; -var zh = Te.createContext(), Sy = (zh.Consumer, new Lh()), _a = jy(); -function by() { - return gt(kh) || Sy; +var lh = Te.createContext(); +lh.Consumer; +var fh = Te.createContext(), $M = (fh.Consumer, new uh()), ba = BM(); +function WM() { + return wt(lh) || $M; } -function Cy() { - return gt(zh) || _a; +function VM() { + return wt(fh) || ba; } -var xy = function() { +var HM = function() { function e(t, n) { var r = this; this.inject = function(i, o) { - o === void 0 && (o = _a); + o === void 0 && (o = ba); var s = r.name + o.hash; i.hasNameForId(r.id, s) || i.insertRules(r.id, s, o(r.rules, s, "@keyframes")); }, this.toString = function() { - return Fr(12, String(r.name)); + return Ur(12, String(r.name)); }, this.name = t, this.id = "sc-keyframes-" + t, this.rules = n; } return e.prototype.getName = function(t) { - return t === void 0 && (t = _a), this.name + t.hash; + return t === void 0 && (t = ba), this.name + t.hash; }, e; -}(), Oy = /([A-Z])/, Ly = /([A-Z])/g, _y = /^ms-/, ky = function(e) { +}(), qM = /([A-Z])/, KM = /([A-Z])/g, GM = /^ms-/, JM = function(e) { return "-" + e.toLowerCase(); }; -function Jc(e) { - return Oy.test(e) ? e.replace(Ly, ky).replace(_y, "-ms-") : e; +function zc(e) { + return qM.test(e) ? e.replace(KM, JM).replace(GM, "-ms-") : e; } -var Zc = function(e) { +var Pc = function(e) { return e == null || e === !1 || e === ""; }; function _r(e, t, n, r) { @@ -1385,33 +1385,33 @@ function _r(e, t, n, r) { (i = _r(e[s], t, n, r)) !== "" && (Array.isArray(i) ? o.push.apply(o, i) : o.push(i)); return o; } - if (Zc(e)) + if (Pc(e)) return ""; - if (Yu(e)) + if (xu(e)) return "." + e.styledComponentId; - if (Ii(e)) { + if (Ei(e)) { if (typeof (c = e) != "function" || c.prototype && c.prototype.isReactComponent || !t) return e; var u = e(t); - return process.env.NODE_ENV !== "production" && ir.isElement(u) && console.warn(Oa(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _r(u, t, n, r); + return process.env.NODE_ENV !== "production" && nr.isElement(u) && console.warn(ja(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _r(u, t, n, r); } var c; - return e instanceof xy ? n ? (e.inject(n, r), e.getName(r)) : e : xa(e) ? function l(f, d) { + return e instanceof HM ? n ? (e.inject(n, r), e.getName(r)) : e : Ta(e) ? function l(f, d) { var g, h, p = []; for (var m in f) - f.hasOwnProperty(m) && !Zc(f[m]) && (Array.isArray(f[m]) && f[m].isCss || Ii(f[m]) ? p.push(Jc(m) + ":", f[m], ";") : xa(f[m]) ? p.push.apply(p, l(f[m], m)) : p.push(Jc(m) + ": " + (g = m, (h = f[m]) == null || typeof h == "boolean" || h === "" ? "" : typeof h != "number" || h === 0 || g in HM || g.startsWith("--") ? String(h).trim() : h + "px") + ";")); + f.hasOwnProperty(m) && !Pc(f[m]) && (Array.isArray(f[m]) && f[m].isCss || Ei(f[m]) ? p.push(zc(m) + ":", f[m], ";") : Ta(f[m]) ? p.push.apply(p, l(f[m], m)) : p.push(zc(m) + ": " + (g = m, (h = f[m]) == null || typeof h == "boolean" || h === "" ? "" : typeof h != "number" || h === 0 || g in cM || g.startsWith("--") ? String(h).trim() : h + "px") + ";")); return d ? [d + " {"].concat(p, ["}"]) : p; }(e) : e.toString(); } -var Xc = function(e) { +var Rc = function(e) { return Array.isArray(e) && (e.isCss = !0), e; }; -function zy(e) { +function ZM(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; - return Ii(e) || xa(e) ? Xc(_r(qc(jo, [e].concat(n)))) : n.length === 0 && e.length === 1 && typeof e[0] == "string" ? e : Xc(_r(qc(e, n))); + return Ei(e) || Ta(e) ? Rc(_r(Lc(To, [e].concat(n)))) : n.length === 0 && e.length === 1 && typeof e[0] == "string" ? e : Rc(_r(Lc(e, n))); } -var el = /invalid hook call/i, to = /* @__PURE__ */ new Set(), Py = function(e, t) { +var Uc = /invalid hook call/i, to = /* @__PURE__ */ new Set(), XM = function(e, t) { if (process.env.NODE_ENV !== "production") { var n = "The component " + e + (t ? ' with the id of "' + t + '"' : "") + ` has been created dynamically. You may see this warning because you've called styled inside another component. @@ -1419,106 +1419,106 @@ To resolve this only create new StyledComponents outside of any render method an try { var i = !0; console.error = function(o) { - if (el.test(o)) + if (Uc.test(o)) i = !1, to.delete(n); else { for (var s = arguments.length, a = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++) a[u - 1] = arguments[u]; r.apply(void 0, [o].concat(a)); } - }, tt(), i && !to.has(n) && (console.warn(n), to.add(n)); + }, ot(), i && !to.has(n) && (console.warn(n), to.add(n)); } catch (o) { - el.test(o.message) && to.delete(n); + Uc.test(o.message) && to.delete(n); } finally { console.error = r; } } -}, Ry = function(e, t, n) { - return n === void 0 && (n = Sn), e.theme !== n.theme && e.theme || t || n.theme; -}, Uy = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Fy = /(^-|-$)/g; -function Us(e) { - return e.replace(Uy, "-").replace(Fy, ""); +}, ey = function(e, t, n) { + return n === void 0 && (n = Tn), e.theme !== n.theme && e.theme || t || n.theme; +}, ty = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, ny = /(^-|-$)/g; +function zs(e) { + return e.replace(ty, "-").replace(ny, ""); } -var Yy = function(e) { - return La(_h(e) >>> 0); +var ry = function(e) { + return Sa(ch(e) >>> 0); }; function no(e) { return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase()); } -var ka = function(e) { +var Ca = function(e) { return typeof e == "function" || typeof e == "object" && e !== null && !Array.isArray(e); -}, By = function(e) { +}, iy = function(e) { return e !== "__proto__" && e !== "constructor" && e !== "prototype"; }; -function Qy(e, t, n) { +function oy(e, t, n) { var r = e[n]; - ka(t) && ka(r) ? Ph(r, t) : e[n] = t; + Ca(t) && Ca(r) ? dh(r, t) : e[n] = t; } -function Ph(e) { +function dh(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; for (var i = 0, o = n; i < o.length; i++) { var s = o[i]; - if (ka(s)) + if (Ca(s)) for (var a in s) - By(a) && Qy(e, s[a], a); + iy(a) && oy(e, s[a], a); } return e; } -var Rh = Te.createContext(); -Rh.Consumer; -var Fs = {}; -function Uh(e, t, n) { - var r = Yu(e), i = !no(e), o = t.attrs, s = o === void 0 ? jo : o, a = t.componentId, u = a === void 0 ? function(w, j) { - var N = typeof w != "string" ? "sc" : Us(w); - Fs[N] = (Fs[N] || 0) + 1; - var I = N + "-" + Yy("5.3.10" + N + Fs[N]); - return j ? j + "-" + I : I; +var hh = Te.createContext(); +hh.Consumer; +var Ps = {}; +function gh(e, t, n) { + var r = xu(e), i = !no(e), o = t.attrs, s = o === void 0 ? To : o, a = t.componentId, u = a === void 0 ? function(w, j) { + var I = typeof w != "string" ? "sc" : zs(w); + Ps[I] = (Ps[I] || 0) + 1; + var N = I + "-" + ry("5.3.10" + I + Ps[I]); + return j ? j + "-" + N : N; }(t.displayName, t.parentComponentId) : a, c = t.displayName, l = c === void 0 ? function(w) { - return no(w) ? "styled." + w : "Styled(" + Oa(w) + ")"; - }(e) : c, f = t.displayName && t.componentId ? Us(t.displayName) + "-" + t.componentId : t.componentId || u, d = r && e.attrs ? Array.prototype.concat(e.attrs, s).filter(Boolean) : s, g = t.shouldForwardProp; - r && e.shouldForwardProp && (g = t.shouldForwardProp ? function(w, j, N) { - return e.shouldForwardProp(w, j, N) && t.shouldForwardProp(w, j, N); + return no(w) ? "styled." + w : "Styled(" + ja(w) + ")"; + }(e) : c, f = t.displayName && t.componentId ? zs(t.displayName) + "-" + t.componentId : t.componentId || u, d = r && e.attrs ? Array.prototype.concat(e.attrs, s).filter(Boolean) : s, g = t.shouldForwardProp; + r && e.shouldForwardProp && (g = t.shouldForwardProp ? function(w, j, I) { + return e.shouldForwardProp(w, j, I) && t.shouldForwardProp(w, j, I); } : e.shouldForwardProp); - var h, p = new Iy(n, f, r ? e.componentStyle : void 0), m = p.isStatic && s.length === 0, v = function(w, j) { - return function(N, I, B, z) { - var W = N.attrs, $ = N.componentStyle, b = N.defaultProps, k = N.foldedComponentIds, U = N.shouldForwardProp, x = N.styledComponentId, T = N.target; - process.env.NODE_ENV !== "production" && Uc(x); + var h, p = new FM(n, f, r ? e.componentStyle : void 0), m = p.isStatic && s.length === 0, v = function(w, j) { + return function(I, N, Q, z) { + var H = I.attrs, W = I.componentStyle, b = I.defaultProps, k = I.foldedComponentIds, U = I.shouldForwardProp, x = I.styledComponentId, T = I.target; + process.env.NODE_ENV !== "production" && Ic(x); var S = function(X, O, ne) { - X === void 0 && (X = Sn); + X === void 0 && (X = Tn); var G = an({}, O, { theme: X }), he = {}; - return ne.forEach(function(H) { - var Q, V, fe, te = H; - for (Q in Ii(te) && (te = te(G)), te) - G[Q] = he[Q] = Q === "className" ? (V = he[Q], fe = te[Q], V && fe ? V + " " + fe : V || fe) : te[Q]; + return ne.forEach(function(V) { + var B, $, fe, te = V; + for (B in Ei(te) && (te = te(G)), te) + G[B] = he[B] = B === "className" ? ($ = he[B], fe = te[B], $ && fe ? $ + " " + fe : $ || fe) : te[B]; }), [G, he]; - }(Ry(I, gt(Rh), b) || Sn, I, W), R = S[0], C = S[1], J = function(X, O, ne, G) { - var he = by(), H = Cy(), Q = O ? X.generateAndInjectStyles(Sn, he, H) : X.generateAndInjectStyles(ne, he, H); - return process.env.NODE_ENV !== "production" && Uc(Q), process.env.NODE_ENV !== "production" && !O && G && G(Q), Q; - }($, z, R, process.env.NODE_ENV !== "production" ? N.warnTooManyClasses : void 0), ie = B, L = C.$as || I.$as || C.as || I.as || T, F = no(L), P = C !== I ? an({}, I, {}, C) : I, q = {}; + }(ey(N, wt(hh), b) || Tn, N, H), R = S[0], C = S[1], J = function(X, O, ne, G) { + var he = WM(), V = VM(), B = O ? X.generateAndInjectStyles(Tn, he, V) : X.generateAndInjectStyles(ne, he, V); + return process.env.NODE_ENV !== "production" && Ic(B), process.env.NODE_ENV !== "production" && !O && G && G(B), B; + }(W, z, R, process.env.NODE_ENV !== "production" ? I.warnTooManyClasses : void 0), re = Q, L = C.$as || N.$as || C.as || N.as || T, F = no(L), P = C !== N ? an({}, N, {}, C) : N, q = {}; for (var K in P) - K[0] !== "$" && K !== "as" && (K === "forwardedAs" ? q.as = P[K] : (U ? U(K, Ca, L) : !F || Ca(K)) && (q[K] = P[K])); - return I.style && C.style !== I.style && (q.style = an({}, I.style, {}, C.style)), q.className = Array.prototype.concat(k, x, J !== x ? J : null, I.className, C.className).filter(Boolean).join(" "), q.ref = ie, wt(L, q); + K[0] !== "$" && K !== "as" && (K === "forwardedAs" ? q.as = P[K] : (U ? U(K, Na, L) : !F || Na(K)) && (q[K] = P[K])); + return N.style && C.style !== N.style && (q.style = an({}, N.style, {}, C.style)), q.className = Array.prototype.concat(k, x, J !== x ? J : null, N.className, C.className).filter(Boolean).join(" "), q.ref = re, kt(L, q); }(h, w, j, m); }; - return v.displayName = l, (h = Te.forwardRef(v)).attrs = d, h.componentStyle = p, h.displayName = l, h.shouldForwardProp = g, h.foldedComponentIds = r ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : jo, h.styledComponentId = f, h.target = r ? e.target : e, h.withComponent = function(w) { - var j = t.componentId, N = function(B, z) { - if (B == null) + return v.displayName = l, (h = Te.forwardRef(v)).attrs = d, h.componentStyle = p, h.displayName = l, h.shouldForwardProp = g, h.foldedComponentIds = r ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : To, h.styledComponentId = f, h.target = r ? e.target : e, h.withComponent = function(w) { + var j = t.componentId, I = function(Q, z) { + if (Q == null) return {}; - var W, $, b = {}, k = Object.keys(B); - for ($ = 0; $ < k.length; $++) - W = k[$], z.indexOf(W) >= 0 || (b[W] = B[W]); + var H, W, b = {}, k = Object.keys(Q); + for (W = 0; W < k.length; W++) + H = k[W], z.indexOf(H) >= 0 || (b[H] = Q[H]); return b; - }(t, ["componentId"]), I = j && j + "-" + (no(w) ? w : Us(Oa(w))); - return Uh(w, an({}, N, { attrs: d, componentId: I }), n); + }(t, ["componentId"]), N = j && j + "-" + (no(w) ? w : zs(ja(w))); + return gh(w, an({}, I, { attrs: d, componentId: N }), n); }, Object.defineProperty(h, "defaultProps", { get: function() { return this._foldedDefaultProps; }, set: function(w) { - this._foldedDefaultProps = r ? Ph({}, e.defaultProps, w) : w; - } }), process.env.NODE_ENV !== "production" && (Py(l, f), h.warnTooManyClasses = function(w, j) { - var N = {}, I = !1; - return function(B) { - if (!I && (N[B] = !0, Object.keys(N).length >= 200)) { + this._foldedDefaultProps = r ? dh({}, e.defaultProps, w) : w; + } }), process.env.NODE_ENV !== "production" && (XM(l, f), h.warnTooManyClasses = function(w, j) { + var I = {}, N = !1; + return function(Q) { + if (!N && (I[Q] = !0, Object.keys(I).length >= 200)) { var z = j ? ' with the id of "' + j + '"' : ""; console.warn("Over 200 classes were generated for component " + w + z + `. Consider using the attrs method, together with a style object for frequently changed styles. @@ -1529,61 +1529,61 @@ Example: }, }))\`width: 100%;\` - `), I = !0, N = {}; + `), N = !0, I = {}; } }; }(l, f)), Object.defineProperty(h, "toString", { value: function() { return "." + h.styledComponentId; - } }), i && oy(h, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), h; + } }), i && DM(h, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), h; } -var za = function(e) { +var xa = function(e) { return function t(n, r, i) { - if (i === void 0 && (i = Sn), !ir.isValidElementType(r)) - return Fr(1, String(r)); + if (i === void 0 && (i = Tn), !nr.isValidElementType(r)) + return Ur(1, String(r)); var o = function() { - return n(r, i, zy.apply(void 0, arguments)); + return n(r, i, ZM.apply(void 0, arguments)); }; return o.withConfig = function(s) { return t(n, r, an({}, i, {}, s)); }, o.attrs = function(s) { return t(n, r, an({}, i, { attrs: Array.prototype.concat(i.attrs, s).filter(Boolean) })); }, o; - }(Uh, e); + }(gh, e); }; ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function(e) { - za[e] = za(e); + xa[e] = xa(e); }); process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native. Perhaps you're looking to import 'styled-components/native'? Read more about this at https://www.styled-components.com/docs/basics#react-native`), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason. See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1); -const ts = za, Fh = ts("div")` +const Zo = xa, ph = Zo("div")` display: flex; flex-direction: column; flex: 1 0 auto; -`, _4 = ts("div")` +`, hO = Zo("div")` display: flex; flex-direction: row; flex: 1 0 auto; -`, k4 = ts(Fh)` +`, gO = Zo(ph)` background-image: url(${(e) => e.background}); background-position: center, center; background-size: cover; background-repeat: no-repeat; -`, $y = ts("div")` +`, sy = Zo("div")` display: flex; flex-direction: column; flex: 1 0 auto; `; -var ge = {}, Wy = { +var ge = {}, ay = { get exports() { return ge; }, set exports(e) { ge = e; } -}, Gr = {}; +}, Kr = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -1593,11 +1593,11 @@ var ge = {}, Wy = { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var tl; -function Vy() { - if (tl) - return Gr; - tl = 1; +var Fc; +function uy() { + if (Fc) + return Kr; + Fc = 1; var e = Te, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 }; function s(a, u, c) { var l, f = {}, d = null, g = null; @@ -1609,9 +1609,9 @@ function Vy() { f[l] === void 0 && (f[l] = u[l]); return { $$typeof: t, type: a, key: d, ref: g, props: f, _owner: i.current }; } - return Gr.Fragment = n, Gr.jsx = s, Gr.jsxs = s, Gr; + return Kr.Fragment = n, Kr.jsx = s, Kr.jsxs = s, Kr; } -var Jr = {}; +var Gr = {}; /** * @license React * react-jsx-runtime.development.js @@ -1621,9 +1621,9 @@ var Jr = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var nl; -function Hy() { - return nl || (nl = 1, process.env.NODE_ENV !== "production" && function() { +var Yc; +function cy() { + return Yc || (Yc = 1, process.env.NODE_ENV !== "production" && function() { var e = Te, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, p = "@@iterator"; function m(_) { if (_ === null || typeof _ != "object") @@ -1634,36 +1634,36 @@ function Hy() { var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function w(_) { { - for (var ce = arguments.length, ye = new Array(ce > 1 ? ce - 1 : 0), Ae = 1; Ae < ce; Ae++) - ye[Ae - 1] = arguments[Ae]; - j("error", _, ye); + for (var ce = arguments.length, Me = new Array(ce > 1 ? ce - 1 : 0), Ae = 1; Ae < ce; Ae++) + Me[Ae - 1] = arguments[Ae]; + j("error", _, Me); } } - function j(_, ce, ye) { + function j(_, ce, Me) { { var Ae = v.ReactDebugCurrentFrame, Le = Ae.getStackAddendum(); - Le !== "" && (ce += "%s", ye = ye.concat([Le])); - var He = ye.map(function(Oe) { + Le !== "" && (ce += "%s", Me = Me.concat([Le])); + var He = Me.map(function(Oe) { return String(Oe); }); He.unshift("Warning: " + ce), Function.prototype.apply.call(console[_], console, He); } } - var N = !1, I = !1, B = !1, z = !1, W = !1, $; - $ = Symbol.for("react.module.reference"); + var I = !1, N = !1, Q = !1, z = !1, H = !1, W; + W = Symbol.for("react.module.reference"); function b(_) { - return !!(typeof _ == "string" || typeof _ == "function" || _ === r || _ === o || W || _ === i || _ === c || _ === l || z || _ === g || N || I || B || typeof _ == "object" && _ !== null && (_.$$typeof === d || _.$$typeof === f || _.$$typeof === s || _.$$typeof === a || _.$$typeof === u || // This needs to include all possible module reference object + return !!(typeof _ == "string" || typeof _ == "function" || _ === r || _ === o || H || _ === i || _ === c || _ === l || z || _ === g || I || N || Q || typeof _ == "object" && _ !== null && (_.$$typeof === d || _.$$typeof === f || _.$$typeof === s || _.$$typeof === a || _.$$typeof === u || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - _.$$typeof === $ || _.getModuleId !== void 0)); + _.$$typeof === W || _.getModuleId !== void 0)); } - function k(_, ce, ye) { + function k(_, ce, Me) { var Ae = _.displayName; if (Ae) return Ae; var Le = ce.displayName || ce.name || ""; - return Le !== "" ? ye + "(" + Le + ")" : ye; + return Le !== "" ? Me + "(" + Le + ")" : Me; } function U(_) { return _.displayName || "Context"; @@ -1695,8 +1695,8 @@ function Hy() { var ce = _; return U(ce) + ".Consumer"; case s: - var ye = _; - return U(ye._context) + ".Provider"; + var Me = _; + return U(Me._context) + ".Provider"; case u: return k(_, _.render, "ForwardRef"); case f: @@ -1713,14 +1713,14 @@ function Hy() { } return null; } - var T = Object.assign, S = 0, R, C, J, ie, L, F, P; + var T = Object.assign, S = 0, R, C, J, re, L, F, P; function q() { } q.__reactDisabledLog = !0; function K() { { if (S === 0) { - R = console.log, C = console.info, J = console.warn, ie = console.error, L = console.group, F = console.groupCollapsed, P = console.groupEnd; + R = console.log, C = console.info, J = console.warn, re = console.error, L = console.group, F = console.groupCollapsed, P = console.groupEnd; var _ = { configurable: !0, enumerable: !0, @@ -1759,7 +1759,7 @@ function Hy() { value: J }), error: T({}, _, { - value: ie + value: re }), group: T({}, _, { value: L @@ -1776,7 +1776,7 @@ function Hy() { } } var O = v.ReactCurrentDispatcher, ne; - function G(_, ce, ye) { + function G(_, ce, Me) { { if (ne === void 0) try { @@ -1789,18 +1789,18 @@ function Hy() { ` + ne + _; } } - var he = !1, H; + var he = !1, V; { - var Q = typeof WeakMap == "function" ? WeakMap : Map; - H = new Q(); + var B = typeof WeakMap == "function" ? WeakMap : Map; + V = new B(); } - function V(_, ce) { + function $(_, ce) { if (!_ || he) return ""; { - var ye = H.get(_); - if (ye !== void 0) - return ye; + var Me = V.get(_); + if (Me !== void 0) + return Me; } var Ae; he = !0; @@ -1844,39 +1844,39 @@ function Hy() { if (nn && Ae && typeof nn.stack == "string") { for (var be = nn.stack.split(` `), yt = Ae.stack.split(` -`), nt = be.length - 1, it = yt.length - 1; nt >= 1 && it >= 0 && be[nt] !== yt[it]; ) - it--; - for (; nt >= 1 && it >= 0; nt--, it--) - if (be[nt] !== yt[it]) { - if (nt !== 1 || it !== 1) +`), tt = be.length - 1, rt = yt.length - 1; tt >= 1 && rt >= 0 && be[tt] !== yt[rt]; ) + rt--; + for (; tt >= 1 && rt >= 0; tt--, rt--) + if (be[tt] !== yt[rt]) { + if (tt !== 1 || rt !== 1) do - if (nt--, it--, it < 0 || be[nt] !== yt[it]) { - var bt = ` -` + be[nt].replace(" at new ", " at "); - return _.displayName && bt.includes("") && (bt = bt.replace("", _.displayName)), typeof _ == "function" && H.set(_, bt), bt; + if (tt--, rt--, rt < 0 || be[tt] !== yt[rt]) { + var St = ` +` + be[tt].replace(" at new ", " at "); + return _.displayName && St.includes("") && (St = St.replace("", _.displayName)), typeof _ == "function" && V.set(_, St), St; } - while (nt >= 1 && it >= 0); + while (tt >= 1 && rt >= 0); break; } } } finally { he = !1, O.current = He, X(), Error.prepareStackTrace = Le; } - var dr = _ ? _.displayName || _.name : "", Rc = dr ? G(dr) : ""; - return typeof _ == "function" && H.set(_, Rc), Rc; + var dr = _ ? _.displayName || _.name : "", Ec = dr ? G(dr) : ""; + return typeof _ == "function" && V.set(_, Ec), Ec; } - function fe(_, ce, ye) { - return V(_, !1); + function fe(_, ce, Me) { + return $(_, !1); } function te(_) { var ce = _.prototype; return !!(ce && ce.isReactComponent); } - function le(_, ce, ye) { + function le(_, ce, Me) { if (_ == null) return ""; if (typeof _ == "function") - return V(_, te(_)); + return $(_, te(_)); if (typeof _ == "string") return G(_); switch (_) { @@ -1890,41 +1890,41 @@ function Hy() { case u: return fe(_.render); case f: - return le(_.type, ce, ye); + return le(_.type, ce, Me); case d: { var Ae = _, Le = Ae._payload, He = Ae._init; try { - return le(He(Le), ce, ye); + return le(He(Le), ce, Me); } catch { } } } return ""; } - var Me = Object.prototype.hasOwnProperty, de = {}, E = v.ReactDebugCurrentFrame; + var pe = Object.prototype.hasOwnProperty, de = {}, E = v.ReactDebugCurrentFrame; function y(_) { if (_) { - var ce = _._owner, ye = le(_.type, _._source, ce ? ce.type : null); - E.setExtraStackFrame(ye); + var ce = _._owner, Me = le(_.type, _._source, ce ? ce.type : null); + E.setExtraStackFrame(Me); } else E.setExtraStackFrame(null); } - function M(_, ce, ye, Ae, Le) { + function M(_, ce, Me, Ae, Le) { { - var He = Function.call.bind(Me); + var He = Function.call.bind(pe); for (var Oe in _) if (He(_, Oe)) { var be = void 0; try { if (typeof _[Oe] != "function") { - var yt = Error((Ae || "React class") + ": " + ye + " type `" + Oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof _[Oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); + var yt = Error((Ae || "React class") + ": " + Me + " type `" + Oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof _[Oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw yt.name = "Invariant Violation", yt; } - be = _[Oe](ce, Oe, Ae, ye, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (nt) { - be = nt; + be = _[Oe](ce, Oe, Ae, Me, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); + } catch (tt) { + be = tt; } - be && !(be instanceof Error) && (y(Le), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ae || "React class", ye, Oe, typeof be), y(null)), be instanceof Error && !(be.message in de) && (de[be.message] = !0, y(Le), w("Failed %s type: %s", ye, be.message), y(null)); + be && !(be instanceof Error) && (y(Le), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ae || "React class", Me, Oe, typeof be), y(null)), be instanceof Error && !(be.message in de) && (de[be.message] = !0, y(Le), w("Failed %s type: %s", Me, be.message), y(null)); } } } @@ -1934,23 +1934,23 @@ function Hy() { } function ee(_) { { - var ce = typeof Symbol == "function" && Symbol.toStringTag, ye = ce && _[Symbol.toStringTag] || _.constructor.name || "Object"; - return ye; + var ce = typeof Symbol == "function" && Symbol.toStringTag, Me = ce && _[Symbol.toStringTag] || _.constructor.name || "Object"; + return Me; } } function Z(_) { try { - return ve(_), !1; + return me(_), !1; } catch { return !0; } } - function ve(_) { + function me(_) { return "" + _; } function Ce(_) { if (Z(_)) - return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ee(_)), ve(_); + return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ee(_)), me(_); } var Se = v.ReactCurrentOwner, Pe = { key: !0, @@ -1960,7 +1960,7 @@ function Hy() { }, Ve, De, tn; tn = {}; function lr(_) { - if (Me.call(_, "ref")) { + if (pe.call(_, "ref")) { var ce = Object.getOwnPropertyDescriptor(_, "ref").get; if (ce && ce.isReactWarning) return !1; @@ -1968,49 +1968,49 @@ function Hy() { return _.ref !== void 0; } function Xi(_) { - if (Me.call(_, "key")) { + if (pe.call(_, "key")) { var ce = Object.getOwnPropertyDescriptor(_, "key").get; if (ce && ce.isReactWarning) return !1; } return _.key !== void 0; } - function xc(_, ce) { + function Mc(_, ce) { if (typeof _.ref == "string" && Se.current && ce && Se.current.stateNode !== ce) { - var ye = x(Se.current.type); - tn[ye] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', x(Se.current.type), _.ref), tn[ye] = !0); + var Me = x(Se.current.type); + tn[Me] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', x(Se.current.type), _.ref), tn[Me] = !0); } } - function NM(_, ce) { + function Yp(_, ce) { { - var ye = function() { + var Me = function() { Ve || (Ve = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ce)); }; - ye.isReactWarning = !0, Object.defineProperty(_, "key", { - get: ye, + Me.isReactWarning = !0, Object.defineProperty(_, "key", { + get: Me, configurable: !0 }); } } - function TM(_, ce) { + function Qp(_, ce) { { - var ye = function() { + var Me = function() { De || (De = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ce)); }; - ye.isReactWarning = !0, Object.defineProperty(_, "ref", { - get: ye, + Me.isReactWarning = !0, Object.defineProperty(_, "ref", { + get: Me, configurable: !0 }); } } - var jM = function(_, ce, ye, Ae, Le, He, Oe) { + var Bp = function(_, ce, Me, Ae, Le, He, Oe) { var be = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, // Built-in properties that belong on the element type: _, key: ce, - ref: ye, + ref: Me, props: Oe, // Record the component responsible for creating this element. _owner: He @@ -2032,41 +2032,41 @@ function Hy() { value: Le }), Object.freeze && (Object.freeze(be.props), Object.freeze(be)), be; }; - function SM(_, ce, ye, Ae, Le) { + function $p(_, ce, Me, Ae, Le) { { var He, Oe = {}, be = null, yt = null; - ye !== void 0 && (Ce(ye), be = "" + ye), Xi(ce) && (Ce(ce.key), be = "" + ce.key), lr(ce) && (yt = ce.ref, xc(ce, Le)); + Me !== void 0 && (Ce(Me), be = "" + Me), Xi(ce) && (Ce(ce.key), be = "" + ce.key), lr(ce) && (yt = ce.ref, Mc(ce, Le)); for (He in ce) - Me.call(ce, He) && !Pe.hasOwnProperty(He) && (Oe[He] = ce[He]); + pe.call(ce, He) && !Pe.hasOwnProperty(He) && (Oe[He] = ce[He]); if (_ && _.defaultProps) { - var nt = _.defaultProps; - for (He in nt) - Oe[He] === void 0 && (Oe[He] = nt[He]); + var tt = _.defaultProps; + for (He in tt) + Oe[He] === void 0 && (Oe[He] = tt[He]); } if (be || yt) { - var it = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _; - be && NM(Oe, it), yt && TM(Oe, it); + var rt = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _; + be && Yp(Oe, rt), yt && Qp(Oe, rt); } - return jM(_, be, yt, Le, Ae, Se.current, Oe); + return Bp(_, be, yt, Le, Ae, Se.current, Oe); } } - var zs = v.ReactCurrentOwner, Oc = v.ReactDebugCurrentFrame; + var Ls = v.ReactCurrentOwner, yc = v.ReactDebugCurrentFrame; function fr(_) { if (_) { - var ce = _._owner, ye = le(_.type, _._source, ce ? ce.type : null); - Oc.setExtraStackFrame(ye); + var ce = _._owner, Me = le(_.type, _._source, ce ? ce.type : null); + yc.setExtraStackFrame(Me); } else - Oc.setExtraStackFrame(null); + yc.setExtraStackFrame(null); } - var Ps; - Ps = !1; - function Rs(_) { + var _s; + _s = !1; + function ks(_) { return typeof _ == "object" && _ !== null && _.$$typeof === t; } - function Lc() { + function mc() { { - if (zs.current) { - var _ = x(zs.current.type); + if (Ls.current) { + var _ = x(Ls.current.type); if (_) return ` @@ -2075,91 +2075,91 @@ Check the render method of \`` + _ + "`."; return ""; } } - function bM(_) { + function Wp(_) { { if (_ !== void 0) { - var ce = _.fileName.replace(/^.*[\\\/]/, ""), ye = _.lineNumber; + var ce = _.fileName.replace(/^.*[\\\/]/, ""), Me = _.lineNumber; return ` -Check your code at ` + ce + ":" + ye + "."; +Check your code at ` + ce + ":" + Me + "."; } return ""; } } - var _c = {}; - function CM(_) { + var vc = {}; + function Vp(_) { { - var ce = Lc(); + var ce = mc(); if (!ce) { - var ye = typeof _ == "string" ? _ : _.displayName || _.name; - ye && (ce = ` + var Me = typeof _ == "string" ? _ : _.displayName || _.name; + Me && (ce = ` -Check the top-level render call using <` + ye + ">."); +Check the top-level render call using <` + Me + ">."); } return ce; } } - function kc(_, ce) { + function wc(_, ce) { { if (!_._store || _._store.validated || _.key != null) return; _._store.validated = !0; - var ye = CM(ce); - if (_c[ye]) + var Me = Vp(ce); + if (vc[Me]) return; - _c[ye] = !0; + vc[Me] = !0; var Ae = ""; - _ && _._owner && _._owner !== zs.current && (Ae = " It was passed a child from " + x(_._owner.type) + "."), fr(_), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ye, Ae), fr(null); + _ && _._owner && _._owner !== Ls.current && (Ae = " It was passed a child from " + x(_._owner.type) + "."), fr(_), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Me, Ae), fr(null); } } - function zc(_, ce) { + function Dc(_, ce) { { if (typeof _ != "object") return; if (Y(_)) - for (var ye = 0; ye < _.length; ye++) { - var Ae = _[ye]; - Rs(Ae) && kc(Ae, ce); + for (var Me = 0; Me < _.length; Me++) { + var Ae = _[Me]; + ks(Ae) && wc(Ae, ce); } - else if (Rs(_)) + else if (ks(_)) _._store && (_._store.validated = !0); else if (_) { var Le = m(_); if (typeof Le == "function" && Le !== _.entries) for (var He = Le.call(_), Oe; !(Oe = He.next()).done; ) - Rs(Oe.value) && kc(Oe.value, ce); + ks(Oe.value) && wc(Oe.value, ce); } } } - function xM(_) { + function Hp(_) { { var ce = _.type; if (ce == null || typeof ce == "string") return; - var ye; + var Me; if (typeof ce == "function") - ye = ce.propTypes; + Me = ce.propTypes; else if (typeof ce == "object" && (ce.$$typeof === u || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. ce.$$typeof === f)) - ye = ce.propTypes; + Me = ce.propTypes; else return; - if (ye) { + if (Me) { var Ae = x(ce); - M(ye, _.props, "prop", Ae, _); - } else if (ce.PropTypes !== void 0 && !Ps) { - Ps = !0; + M(Me, _.props, "prop", Ae, _); + } else if (ce.PropTypes !== void 0 && !_s) { + _s = !0; var Le = x(ce); w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Le || "Unknown"); } typeof ce.getDefaultProps == "function" && !ce.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } - function OM(_) { + function qp(_) { { - for (var ce = Object.keys(_.props), ye = 0; ye < ce.length; ye++) { - var Ae = ce[ye]; + for (var ce = Object.keys(_.props), Me = 0; Me < ce.length; Me++) { + var Ae = ce[Me]; if (Ae !== "children" && Ae !== "key") { fr(_), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ae), fr(null); break; @@ -2168,57 +2168,57 @@ Check the top-level render call using <` + ye + ">."); _.ref !== null && (fr(_), w("Invalid attribute `ref` supplied to `React.Fragment`."), fr(null)); } } - function Pc(_, ce, ye, Ae, Le, He) { + function Ac(_, ce, Me, Ae, Le, He) { { var Oe = b(_); if (!Oe) { var be = ""; (_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (be += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); - var yt = bM(Le); - yt ? be += yt : be += Lc(); - var nt; - _ === null ? nt = "null" : Y(_) ? nt = "array" : _ !== void 0 && _.$$typeof === t ? (nt = "<" + (x(_.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : nt = typeof _, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nt, be); + var yt = Wp(Le); + yt ? be += yt : be += mc(); + var tt; + _ === null ? tt = "null" : Y(_) ? tt = "array" : _ !== void 0 && _.$$typeof === t ? (tt = "<" + (x(_.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : tt = typeof _, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", tt, be); } - var it = SM(_, ce, ye, Le, He); - if (it == null) - return it; + var rt = $p(_, ce, Me, Le, He); + if (rt == null) + return rt; if (Oe) { - var bt = ce.children; - if (bt !== void 0) + var St = ce.children; + if (St !== void 0) if (Ae) - if (Y(bt)) { - for (var dr = 0; dr < bt.length; dr++) - zc(bt[dr], _); - Object.freeze && Object.freeze(bt); + if (Y(St)) { + for (var dr = 0; dr < St.length; dr++) + Dc(St[dr], _); + Object.freeze && Object.freeze(St); } else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else - zc(bt, _); + Dc(St, _); } - return _ === r ? OM(it) : xM(it), it; + return _ === r ? qp(rt) : Hp(rt), rt; } } - function LM(_, ce, ye) { - return Pc(_, ce, ye, !0); + function Kp(_, ce, Me) { + return Ac(_, ce, Me, !0); } - function _M(_, ce, ye) { - return Pc(_, ce, ye, !1); + function Gp(_, ce, Me) { + return Ac(_, ce, Me, !1); } - var kM = _M, zM = LM; - Jr.Fragment = r, Jr.jsx = kM, Jr.jsxs = zM; - }()), Jr; + var Jp = Gp, Zp = Kp; + Gr.Fragment = r, Gr.jsx = Jp, Gr.jsxs = Zp; + }()), Gr; } (function(e) { - process.env.NODE_ENV === "production" ? e.exports = Vy() : e.exports = Hy(); -})(Wy); -var bo = {}, qy = { + process.env.NODE_ENV === "production" ? e.exports = uy() : e.exports = cy(); +})(ay); +var So = {}, ly = { get exports() { - return bo; + return So; }, set exports(e) { - bo = e; + So = e; } -}, or = {}, D = {}, rl = { +}, rr = {}, D = {}, Qc = { get exports() { return D; }, @@ -2231,11 +2231,11 @@ object-assign (c) Sindre Sorhus @license MIT */ -var Ys, il; -function Ky() { - if (il) - return Ys; - il = 1; +var Rs, Bc; +function fy() { + if (Bc) + return Rs; + Bc = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; function r(o) { if (o == null) @@ -2264,7 +2264,7 @@ function Ky() { return !1; } } - return Ys = i() ? Object.assign : function(o, s) { + return Rs = i() ? Object.assign : function(o, s) { for (var a, u = r(o), c, l = 1; l < arguments.length; l++) { a = Object(arguments[l]); for (var f in a) @@ -2276,29 +2276,29 @@ function Ky() { } } return u; - }, Ys; + }, Rs; } -var Bs, ol; -function Qu() { - if (ol) - return Bs; - ol = 1; +var Us, $c; +function Lu() { + if ($c) + return Us; + $c = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return Bs = e, Bs; + return Us = e, Us; } -var Qs, sl; -function Yh() { - return sl || (sl = 1, Qs = Function.call.bind(Object.prototype.hasOwnProperty)), Qs; +var Fs, Wc; +function Mh() { + return Wc || (Wc = 1, Fs = Function.call.bind(Object.prototype.hasOwnProperty)), Fs; } -var $s, al; -function Gy() { - if (al) - return $s; - al = 1; +var Ys, Vc; +function dy() { + if (Vc) + return Ys; + Vc = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var t = Qu(), n = {}, r = Yh(); + var t = Lu(), n = {}, r = Mh(); e = function(o) { var s = "Warning: " + o; typeof console < "u" && console.error(s); @@ -2338,14 +2338,14 @@ function Gy() { } return i.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (n = {}); - }, $s = i, $s; -} -var Ws, ul; -function Jy() { - if (ul) - return Ws; - ul = 1; - var e = Ei, t = Ky(), n = Qu(), r = Yh(), i = Gy(), o = function() { + }, Ys = i, Ys; +} +var Qs, Hc; +function hy() { + if (Hc) + return Qs; + Hc = 1; + var e = Ai, t = fy(), n = Lu(), r = Mh(), i = dy(), o = function() { }; process.env.NODE_ENV !== "production" && (o = function(a) { var u = "Warning: " + a; @@ -2358,7 +2358,7 @@ function Jy() { function s() { return null; } - return Ws = function(a, u) { + return Qs = function(a, u) { var c = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator"; function f(L) { var F = L && (c && L[c] || L[l]); @@ -2376,13 +2376,13 @@ function Jy() { symbol: v("symbol"), any: w(), arrayOf: j, - element: N(), - elementType: I(), - instanceOf: B, + element: I(), + elementType: N(), + instanceOf: Q, node: b(), - objectOf: W, + objectOf: H, oneOf: z, - oneOfType: $, + oneOfType: W, shape: U, exact: x }; @@ -2396,22 +2396,22 @@ function Jy() { function m(L) { if (process.env.NODE_ENV !== "production") var F = {}, P = 0; - function q(X, O, ne, G, he, H, Q) { - if (G = G || d, H = H || ne, Q !== n) { + function q(X, O, ne, G, he, V, B) { + if (G = G || d, V = V || ne, B !== n) { if (u) { - var V = new Error( + var $ = 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 V.name = "Invariant Violation", V; + throw $.name = "Invariant Violation", $; } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { var fe = G + ":" + ne; !F[fe] && // Avoid spamming the console because they are often not actionable except for lib authors P < 3 && (o( - "You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + G + "`. 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." + "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + G + "`. 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." ), F[fe] = !0, P++); } } - return O[ne] == null ? X ? O[ne] === null ? new p("The " + he + " `" + H + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new p("The " + he + " `" + H + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : L(O, ne, G, he, H); + return O[ne] == null ? X ? O[ne] === null ? new p("The " + he + " `" + V + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new p("The " + he + " `" + V + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : L(O, ne, G, he, V); } var K = q.bind(null, !1); return K.isRequired = q.bind(null, !0), K; @@ -2420,9 +2420,9 @@ function Jy() { function F(P, q, K, X, O, ne) { var G = P[q], he = R(G); if (he !== L) { - var H = C(G); + var V = C(G); return new p( - "Invalid " + X + " `" + O + "` of type " + ("`" + H + "` supplied to `" + K + "`, expected ") + ("`" + L + "`."), + "Invalid " + X + " `" + O + "` of type " + ("`" + V + "` supplied to `" + K + "`, expected ") + ("`" + L + "`."), { expectedType: L } ); } @@ -2443,15 +2443,15 @@ function Jy() { return new p("Invalid " + X + " `" + O + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected an array.")); } for (var he = 0; he < ne.length; he++) { - var H = L(ne, he, K, X, O + "[" + he + "]", n); - if (H instanceof Error) - return H; + var V = L(ne, he, K, X, O + "[" + he + "]", n); + if (V instanceof Error) + return V; } return null; } return m(F); } - function N() { + function I() { function L(F, P, q, K, X) { var O = F[P]; if (!a(O)) { @@ -2462,7 +2462,7 @@ function Jy() { } return m(L); } - function I() { + function N() { function L(F, P, q, K, X) { var O = F[P]; if (!e.isValidElementType(O)) { @@ -2473,10 +2473,10 @@ function Jy() { } return m(L); } - function B(L) { + function Q(L) { function F(P, q, K, X, O) { if (!(P[q] instanceof L)) { - var ne = L.name || d, G = ie(P[q]); + var ne = L.name || d, G = re(P[q]); return new p("Invalid " + X + " `" + O + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected ") + ("instance of `" + ne + "`.")); } return null; @@ -2492,15 +2492,15 @@ function Jy() { for (var ne = P[q], G = 0; G < L.length; G++) if (h(ne, L[G])) return null; - var he = JSON.stringify(L, function(Q, V) { - var fe = C(V); - return fe === "symbol" ? String(V) : V; + var he = JSON.stringify(L, function(B, $) { + var fe = C($); + return fe === "symbol" ? String($) : $; }); return new p("Invalid " + X + " `" + O + "` of value `" + String(ne) + "` " + ("supplied to `" + K + "`, expected one of " + he + ".")); } return m(F); } - function W(L) { + function H(L) { function F(P, q, K, X, O) { if (typeof L != "function") return new p("Property `" + O + "` of component `" + K + "` has invalid PropType notation inside objectOf."); @@ -2509,15 +2509,15 @@ function Jy() { return new p("Invalid " + X + " `" + O + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected an object.")); for (var he in ne) if (r(ne, he)) { - var H = L(ne, he, K, X, O + "." + he, n); - if (H instanceof Error) - return H; + var V = L(ne, he, K, X, O + "." + he, n); + if (V instanceof Error) + return V; } return null; } return m(F); } - function $(L) { + function W(L) { if (!Array.isArray(L)) return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s; for (var F = 0; F < L.length; F++) { @@ -2528,11 +2528,11 @@ function Jy() { ), s; } function q(K, X, O, ne, G) { - for (var he = [], H = 0; H < L.length; H++) { - var Q = L[H], V = Q(K, X, O, ne, G, n); - if (V == null) + for (var he = [], V = 0; V < L.length; V++) { + var B = L[V], $ = B(K, X, O, ne, G, n); + if ($ == null) return null; - V.data && r(V.data, "expectedType") && he.push(V.data.expectedType); + $.data && r($.data, "expectedType") && he.push($.data.expectedType); } var fe = he.length > 0 ? ", expected one of type [" + he.join(", ") + "]" : ""; return new p("Invalid " + ne + " `" + G + "` supplied to " + ("`" + O + "`" + fe + ".")); @@ -2556,12 +2556,12 @@ function Jy() { if (G !== "object") return new p("Invalid " + X + " `" + O + "` of type `" + G + "` " + ("supplied to `" + K + "`, expected `object`.")); for (var he in L) { - var H = L[he]; - if (typeof H != "function") - return k(K, X, O, he, C(H)); - var Q = H(ne, he, K, X, O + "." + he, n); - if (Q) - return Q; + var V = L[he]; + if (typeof V != "function") + return k(K, X, O, he, C(V)); + var B = V(ne, he, K, X, O + "." + he, n); + if (B) + return B; } return null; } @@ -2573,18 +2573,18 @@ function Jy() { if (G !== "object") return new p("Invalid " + X + " `" + O + "` of type `" + G + "` " + ("supplied to `" + K + "`, expected `object`.")); var he = t({}, P[q], L); - for (var H in he) { - var Q = L[H]; - if (r(L, H) && typeof Q != "function") - return k(K, X, O, H, C(Q)); - if (!Q) + for (var V in he) { + var B = L[V]; + if (r(L, V) && typeof B != "function") + return k(K, X, O, V, C(B)); + if (!B) return new p( - "Invalid " + X + " `" + O + "` key `" + H + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(P[q], null, " ") + ` + "Invalid " + X + " `" + O + "` key `" + V + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(P[q], null, " ") + ` Valid keys: ` + JSON.stringify(Object.keys(L), null, " ") ); - var V = Q(ne, H, K, X, O + "." + H, n); - if (V) - return V; + var $ = B(ne, V, K, X, O + "." + V, n); + if ($) + return $; } return null; } @@ -2656,23 +2656,23 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ") return F; } } - function ie(L) { + function re(L) { return !L.constructor || !L.constructor.name ? d : L.constructor.name; } return g.checkPropTypes = i, g.resetWarningCache = i.resetWarningCache, g.PropTypes = g, g; - }, Ws; -} -var Vs, cl; -function Zy() { - if (cl) - return Vs; - cl = 1; - var e = Qu(); + }, Qs; +} +var Bs, qc; +function gy() { + if (qc) + return Bs; + qc = 1; + var e = Lu(); function t() { } function n() { } - return n.resetWarningCache = t, Vs = function() { + return n.resetWarningCache = t, Bs = function() { function r(s, a, u, c, l, f) { if (f !== e) { var d = new Error( @@ -2709,26 +2709,26 @@ function Zy() { resetWarningCache: t }; return o.PropTypes = o, o; - }, Vs; + }, Bs; } if (process.env.NODE_ENV !== "production") { - var Xy = Ei, em = !0; - rl.exports = Jy()(Xy.isElement, em); + var py = Ai, My = !0; + Qc.exports = hy()(py.isElement, My); } else - rl.exports = Zy()(); -var Co = {}, tm = { + Qc.exports = gy()(); +var bo = {}, yy = { get exports() { - return Co; + return bo; }, set exports(e) { - Co = e; + bo = e; } -}, Wt = {}, Ni = {}, nm = { +}, Wt = {}, Ii = {}, my = { get exports() { - return Ni; + return Ii; }, set exports(e) { - Ni = e; + Ii = e; } }; (function(e, t) { @@ -2787,82 +2787,82 @@ var Co = {}, tm = { return d.filter(c); } e.exports = t.default; -})(nm, Ni); +})(my, Ii); Object.defineProperty(Wt, "__esModule", { value: !0 }); -Wt.resetState = sm; -Wt.log = am; -Wt.handleBlur = Ti; -Wt.handleFocus = ji; -Wt.markForFocusLater = um; -Wt.returnFocus = cm; -Wt.popWithoutFocus = lm; -Wt.setupScopedFocus = fm; -Wt.teardownScopedFocus = dm; -var rm = Ni, im = om(rm); -function om(e) { +Wt.resetState = Ay; +Wt.log = Ey; +Wt.handleBlur = Ni; +Wt.handleFocus = Ti; +Wt.markForFocusLater = Iy; +Wt.returnFocus = Ny; +Wt.popWithoutFocus = Ty; +Wt.setupScopedFocus = jy; +Wt.teardownScopedFocus = Sy; +var vy = Ii, wy = Dy(vy); +function Dy(e) { return e && e.__esModule ? e : { default: e }; } -var sr = [], Nr = null, Pa = !1; -function sm() { - sr = []; +var ir = [], Nr = null, Oa = !1; +function Ay() { + ir = []; } -function am() { - process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), sr.forEach(function(e) { +function Ey() { + process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), ir.forEach(function(e) { var t = e || {}; console.log(t.nodeName, t.className, t.id); }), console.log("end focusManager ----------")); } -function Ti() { - Pa = !0; +function Ni() { + Oa = !0; } -function ji() { - if (Pa) { - if (Pa = !1, !Nr) +function Ti() { + if (Oa) { + if (Oa = !1, !Nr) return; setTimeout(function() { if (!Nr.contains(document.activeElement)) { - var e = (0, im.default)(Nr)[0] || Nr; + var e = (0, wy.default)(Nr)[0] || Nr; e.focus(); } }, 0); } } -function um() { - sr.push(document.activeElement); +function Iy() { + ir.push(document.activeElement); } -function cm() { +function Ny() { var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, t = null; try { - sr.length !== 0 && (t = sr.pop(), t.focus({ preventScroll: e })); + ir.length !== 0 && (t = ir.pop(), t.focus({ preventScroll: e })); return; } catch { console.warn(["You tried to return focus to", t, "but it is not in the DOM anymore"].join(" ")); } } -function lm() { - sr.length > 0 && sr.pop(); +function Ty() { + ir.length > 0 && ir.pop(); } -function fm(e) { - Nr = e, window.addEventListener ? (window.addEventListener("blur", Ti, !1), document.addEventListener("focus", ji, !0)) : (window.attachEvent("onBlur", Ti), document.attachEvent("onFocus", ji)); +function jy(e) { + Nr = e, window.addEventListener ? (window.addEventListener("blur", Ni, !1), document.addEventListener("focus", Ti, !0)) : (window.attachEvent("onBlur", Ni), document.attachEvent("onFocus", Ti)); } -function dm() { - Nr = null, window.addEventListener ? (window.removeEventListener("blur", Ti), document.removeEventListener("focus", ji)) : (window.detachEvent("onBlur", Ti), document.detachEvent("onFocus", ji)); +function Sy() { + Nr = null, window.addEventListener ? (window.removeEventListener("blur", Ni), document.removeEventListener("focus", Ti)) : (window.detachEvent("onBlur", Ni), document.detachEvent("onFocus", Ti)); } -var xo = {}, hm = { +var Co = {}, by = { get exports() { - return xo; + return Co; }, set exports(e) { - xo = e; + Co = e; } }; (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = s; - var n = Ni, r = i(n); + var n = Ii, r = i(n); function i(a) { return a && a.__esModule ? a : { default: a }; } @@ -2897,11 +2897,11 @@ var xo = {}, hm = { } } e.exports = t.default; -})(hm, xo); -var Vt = {}, gm = process.env.NODE_ENV !== "production", Bh = function() { +})(by, Co); +var Vt = {}, Cy = process.env.NODE_ENV !== "production", yh = function() { }; -if (gm) { - var pm = function(t, n) { +if (Cy) { + var xy = function(t, n) { var r = arguments.length; n = new Array(r > 1 ? r - 1 : 0); for (var i = 1; i < r; i++) @@ -2915,7 +2915,7 @@ if (gm) { } catch { } }; - Bh = function(e, t, n) { + yh = function(e, t, n) { var r = arguments.length; n = new Array(r > 2 ? r - 2 : 0); for (var i = 2; i < r; i++) @@ -2924,15 +2924,15 @@ if (gm) { throw new Error( "`warning(condition, format, ...args)` requires a warning message argument" ); - e || pm.apply(null, [t].concat(n)); + e || xy.apply(null, [t].concat(n)); }; } -var Mm = Bh, Qt = {}, Ra = {}, ym = { +var Oy = yh, Bt = {}, La = {}, Ly = { get exports() { - return Ra; + return La; }, set exports(e) { - Ra = e; + La = e; } }; /*! @@ -2950,69 +2950,69 @@ var Mm = Bh, Qt = {}, Ra = {}, ym = { }; e.exports ? e.exports = n : window.ExecutionEnvironment = n; })(); -})(ym); -Object.defineProperty(Qt, "__esModule", { +})(Ly); +Object.defineProperty(Bt, "__esModule", { value: !0 }); -Qt.canUseDOM = Qt.SafeNodeList = Qt.SafeHTMLCollection = void 0; -var mm = Ra, vm = wm(mm); -function wm(e) { +Bt.canUseDOM = Bt.SafeNodeList = Bt.SafeHTMLCollection = void 0; +var _y = La, ky = zy(_y); +function zy(e) { return e && e.__esModule ? e : { default: e }; } -var ns = vm.default, Dm = ns.canUseDOM ? window.HTMLElement : {}; -Qt.SafeHTMLCollection = ns.canUseDOM ? window.HTMLCollection : {}; -Qt.SafeNodeList = ns.canUseDOM ? window.NodeList : {}; -Qt.canUseDOM = ns.canUseDOM; -Qt.default = Dm; +var Xo = ky.default, Py = Xo.canUseDOM ? window.HTMLElement : {}; +Bt.SafeHTMLCollection = Xo.canUseDOM ? window.HTMLCollection : {}; +Bt.SafeNodeList = Xo.canUseDOM ? window.NodeList : {}; +Bt.canUseDOM = Xo.canUseDOM; +Bt.default = Py; Object.defineProperty(Vt, "__esModule", { value: !0 }); -Vt.resetState = Tm; -Vt.log = jm; -Vt.assertNodeList = Qh; -Vt.setElement = Sm; -Vt.validateElement = $u; -Vt.hide = bm; -Vt.show = Cm; -Vt.documentNotReadyOrSSRTesting = xm; -var Am = Mm, Em = Nm(Am), Im = Qt; -function Nm(e) { +Vt.resetState = Qy; +Vt.log = By; +Vt.assertNodeList = mh; +Vt.setElement = $y; +Vt.validateElement = _u; +Vt.hide = Wy; +Vt.show = Vy; +Vt.documentNotReadyOrSSRTesting = Hy; +var Ry = Oy, Uy = Yy(Ry), Fy = Bt; +function Yy(e) { return e && e.__esModule ? e : { default: e }; } var Et = null; -function Tm() { +function Qy() { Et && (Et.removeAttribute ? Et.removeAttribute("aria-hidden") : Et.length != null ? Et.forEach(function(e) { return e.removeAttribute("aria-hidden"); }) : document.querySelectorAll(Et).forEach(function(e) { return e.removeAttribute("aria-hidden"); })), Et = null; } -function jm() { +function By() { if (process.env.NODE_ENV !== "production") { var e = Et || {}; console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------"); } } -function Qh(e, t) { +function mh(e, t) { if (!e || !e.length) throw new Error("react-modal: No elements were found for selector " + t + "."); } -function Sm(e) { +function $y(e) { var t = e; - if (typeof t == "string" && Im.canUseDOM) { + if (typeof t == "string" && Fy.canUseDOM) { var n = document.querySelectorAll(t); - Qh(n, t), t = n; + mh(n, t), t = n; } return Et = t || Et, Et; } -function $u(e) { +function _u(e) { var t = e || Et; - return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Em.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []); + return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Uy.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []); } -function bm(e) { +function Wy(e) { var t = !0, n = !1, r = void 0; try { - for (var i = $u(e)[Symbol.iterator](), o; !(t = (o = i.next()).done); t = !0) { + for (var i = _u(e)[Symbol.iterator](), o; !(t = (o = i.next()).done); t = !0) { var s = o.value; s.setAttribute("aria-hidden", "true"); } @@ -3027,10 +3027,10 @@ function bm(e) { } } } -function Cm(e) { +function Vy(e) { var t = !0, n = !1, r = void 0; try { - for (var i = $u(e)[Symbol.iterator](), o; !(t = (o = i.next()).done); t = !0) { + for (var i = _u(e)[Symbol.iterator](), o; !(t = (o = i.next()).done); t = !0) { var s = o.value; s.removeAttribute("aria-hidden"); } @@ -3045,81 +3045,81 @@ function Cm(e) { } } } -function xm() { +function Hy() { Et = null; } -var Yr = {}; -Object.defineProperty(Yr, "__esModule", { +var Fr = {}; +Object.defineProperty(Fr, "__esModule", { value: !0 }); -Yr.resetState = Om; -Yr.log = Lm; -var er = {}, tr = {}; -function ll(e, t) { +Fr.resetState = qy; +Fr.log = Ky; +var Zn = {}, Xn = {}; +function Kc(e, t) { e.classList.remove(t); } -function Om() { +function qy() { var e = document.getElementsByTagName("html")[0]; - for (var t in er) - ll(e, er[t]); + for (var t in Zn) + Kc(e, Zn[t]); var n = document.body; - for (var r in tr) - ll(n, tr[r]); - er = {}, tr = {}; + for (var r in Xn) + Kc(n, Xn[r]); + Zn = {}, Xn = {}; } -function Lm() { +function Ky() { if (process.env.NODE_ENV !== "production") { var e = document.getElementsByTagName("html")[0].className, t = `Show tracked classes: `; t += " (" + e + `): `; - for (var n in er) - t += " " + n + " " + er[n] + ` + for (var n in Zn) + t += " " + n + " " + Zn[n] + ` `; e = document.body.className, t += ` doc.body (` + e + `): `; - for (var r in tr) - t += " " + r + " " + tr[r] + ` + for (var r in Xn) + t += " " + r + " " + Xn[r] + ` `; t += ` `, console.log(t); } } -var _m = function(t, n) { +var Gy = function(t, n) { return t[n] || (t[n] = 0), t[n] += 1, n; -}, km = function(t, n) { +}, Jy = function(t, n) { return t[n] && (t[n] -= 1), n; -}, zm = function(t, n, r) { +}, Zy = function(t, n, r) { r.forEach(function(i) { - _m(n, i), t.add(i); + Gy(n, i), t.add(i); }); -}, Pm = function(t, n, r) { +}, Xy = function(t, n, r) { r.forEach(function(i) { - km(n, i), n[i] === 0 && t.remove(i); + Jy(n, i), n[i] === 0 && t.remove(i); }); }; -Yr.add = function(t, n) { - return zm(t.classList, t.nodeName.toLowerCase() == "html" ? er : tr, n.split(" ")); +Fr.add = function(t, n) { + return Zy(t.classList, t.nodeName.toLowerCase() == "html" ? Zn : Xn, n.split(" ")); }; -Yr.remove = function(t, n) { - return Pm(t.classList, t.nodeName.toLowerCase() == "html" ? er : tr, n.split(" ")); +Fr.remove = function(t, n) { + return Xy(t.classList, t.nodeName.toLowerCase() == "html" ? Zn : Xn, n.split(" ")); }; -var Br = {}; -Object.defineProperty(Br, "__esModule", { +var Yr = {}; +Object.defineProperty(Yr, "__esModule", { value: !0 }); -Br.log = Um; -Br.resetState = Fm; -function Rm(e, t) { +Yr.log = tm; +Yr.resetState = nm; +function em(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -var $h = function e() { +var vh = function e() { var t = this; - Rm(this, e), this.register = function(n) { + em(this, e), this.register = function(n) { if (t.openInstances.indexOf(n) !== -1) { process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open"); return; @@ -3143,53 +3143,53 @@ var $h = function e() { ); }); }, this.openInstances = [], this.subscribers = []; -}, Oo = new $h(); -function Um() { - console.log("portalOpenInstances ----------"), console.log(Oo.openInstances.length), Oo.openInstances.forEach(function(e) { +}, xo = new vh(); +function tm() { + console.log("portalOpenInstances ----------"), console.log(xo.openInstances.length), xo.openInstances.forEach(function(e) { return console.log(e); }), console.log("end portalOpenInstances ----------"); } -function Fm() { - Oo = new $h(); +function nm() { + xo = new vh(); } -Br.default = Oo; -var Wu = {}; -Object.defineProperty(Wu, "__esModule", { +Yr.default = xo; +var ku = {}; +Object.defineProperty(ku, "__esModule", { value: !0 }); -Wu.resetState = $m; -Wu.log = Wm; -var Ym = Br, Bm = Qm(Ym); -function Qm(e) { +ku.resetState = sm; +ku.log = am; +var rm = Yr, im = om(rm); +function om(e) { return e && e.__esModule ? e : { default: e }; } -var ht = void 0, Yt = void 0, nr = []; -function $m() { - for (var e = [ht, Yt], t = 0; t < e.length; t++) { +var gt = void 0, Yt = void 0, er = []; +function sm() { + for (var e = [gt, Yt], t = 0; t < e.length; t++) { var n = e[t]; n && n.parentNode && n.parentNode.removeChild(n); } - ht = Yt = null, nr = []; + gt = Yt = null, er = []; } -function Wm() { - console.log("bodyTrap ----------"), console.log(nr.length); - for (var e = [ht, Yt], t = 0; t < e.length; t++) { +function am() { + console.log("bodyTrap ----------"), console.log(er.length); + for (var e = [gt, Yt], t = 0; t < e.length; t++) { var n = e[t], r = n || {}; console.log(r.nodeName, r.className, r.id); } console.log("edn bodyTrap ----------"); } -function fl() { - if (nr.length === 0) { +function Gc() { + if (er.length === 0) { process.env.NODE_ENV !== "production" && console.warn("React-Modal: Open instances > 0 expected"); return; } - nr[nr.length - 1].focusContent(); + er[er.length - 1].focusContent(); } -function Vm(e, t) { - !ht && !Yt && (ht = document.createElement("div"), ht.setAttribute("data-react-modal-body-trap", ""), ht.style.position = "absolute", ht.style.opacity = "0", ht.setAttribute("tabindex", "0"), ht.addEventListener("focus", fl), Yt = ht.cloneNode(), Yt.addEventListener("focus", fl)), nr = t, nr.length > 0 ? (document.body.firstChild !== ht && document.body.insertBefore(ht, document.body.firstChild), document.body.lastChild !== Yt && document.body.appendChild(Yt)) : (ht.parentElement && ht.parentElement.removeChild(ht), Yt.parentElement && Yt.parentElement.removeChild(Yt)); +function um(e, t) { + !gt && !Yt && (gt = document.createElement("div"), gt.setAttribute("data-react-modal-body-trap", ""), gt.style.position = "absolute", gt.style.opacity = "0", gt.setAttribute("tabindex", "0"), gt.addEventListener("focus", Gc), Yt = gt.cloneNode(), Yt.addEventListener("focus", Gc)), er = t, er.length > 0 ? (document.body.firstChild !== gt && document.body.insertBefore(gt, document.body.firstChild), document.body.lastChild !== Yt && document.body.appendChild(Yt)) : (gt.parentElement && gt.parentElement.removeChild(gt), Yt.parentElement && Yt.parentElement.removeChild(Yt)); } -Bm.default.subscribe(Vm); +im.default.subscribe(um); (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 @@ -3215,8 +3215,8 @@ Bm.default.subscribe(Vm); return function(S, R, C) { return R && T(S.prototype, R), C && T(S, C), S; }; - }(), o = Te, s = D, a = I(s), u = Wt, c = N(u), l = xo, f = I(l), d = Vt, g = N(d), h = Yr, p = N(h), m = Qt, v = I(m), w = Br, j = I(w); - function N(T) { + }(), o = Te, s = D, a = N(s), u = Wt, c = I(u), l = Co, f = N(l), d = Vt, g = I(d), h = Fr, p = I(h), m = Bt, v = N(m), w = Yr, j = N(w); + function I(T) { if (T && T.__esModule) return T; var S = {}; @@ -3225,10 +3225,10 @@ Bm.default.subscribe(Vm); Object.prototype.hasOwnProperty.call(T, R) && (S[R] = T[R]); return S.default = T, S; } - function I(T) { + function N(T) { return T && T.__esModule ? T : { default: T }; } - function B(T, S) { + function Q(T, S) { if (!(T instanceof S)) throw new TypeError("Cannot call a class as a function"); } @@ -3237,12 +3237,12 @@ Bm.default.subscribe(Vm); throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return S && (typeof S == "object" || typeof S == "function") ? S : T; } - function W(T, S) { + function H(T, S) { if (typeof S != "function" && S !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof S); T.prototype = Object.create(S && S.prototype, { constructor: { value: T, enumerable: !1, writable: !0, configurable: !0 } }), S && (Object.setPrototypeOf ? Object.setPrototypeOf(T, S) : T.__proto__ = S); } - var $ = { + var W = { overlay: "ReactModal__Overlay", content: "ReactModal__Content" }, b = function(S) { @@ -3250,17 +3250,17 @@ Bm.default.subscribe(Vm); }, k = function(S) { return S.code === "Escape" || S.keyCode === 27; }, U = 0, x = function(T) { - W(S, T); + H(S, T); function S(R) { - B(this, S); + Q(this, S); var C = z(this, (S.__proto__ || Object.getPrototypeOf(S)).call(this, R)); return C.setOverlayRef = function(J) { C.overlay = J, C.props.overlayRef && C.props.overlayRef(J); }, C.setContentRef = function(J) { C.content = J, C.props.contentRef && C.props.contentRef(J); }, C.afterClose = function() { - var J = C.props, ie = J.appElement, L = J.ariaHideApp, F = J.htmlOpenClassName, P = J.bodyOpenClassName, q = J.parentSelector, K = q && q().ownerDocument || document; - P && p.remove(K.body, P), F && p.remove(K.getElementsByTagName("html")[0], F), L && U > 0 && (U -= 1, U === 0 && g.show(ie)), C.props.shouldFocusAfterRender && (C.props.shouldReturnFocusAfterClose ? (c.returnFocus(C.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), C.props.onAfterClose && C.props.onAfterClose(), j.default.deregister(C); + var J = C.props, re = J.appElement, L = J.ariaHideApp, F = J.htmlOpenClassName, P = J.bodyOpenClassName, q = J.parentSelector, K = q && q().ownerDocument || document; + P && p.remove(K.body, P), F && p.remove(K.getElementsByTagName("html")[0], F), L && U > 0 && (U -= 1, U === 0 && g.show(re)), C.props.shouldFocusAfterRender && (C.props.shouldReturnFocusAfterClose ? (c.returnFocus(C.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), C.props.onAfterClose && C.props.onAfterClose(), j.default.deregister(C); }, C.open = function() { C.beforeOpen(), C.state.afterOpen && C.state.beforeClose ? (clearTimeout(C.closeTimer), C.setState({ beforeClose: !1 })) : (C.props.shouldFocusAfterRender && (c.setupScopedFocus(C.node), c.markForFocusLater()), C.setState({ isOpen: !0 }, function() { C.openAnimationFrame = requestAnimationFrame(function() { @@ -3306,16 +3306,16 @@ Bm.default.subscribe(Vm); return !C.state.isOpen && !C.state.beforeClose; }, C.contentHasFocus = function() { return document.activeElement === C.content || C.content.contains(document.activeElement); - }, C.buildClassName = function(J, ie) { - var L = (typeof ie > "u" ? "undefined" : r(ie)) === "object" ? ie : { - base: $[J], - afterOpen: $[J] + "--after-open", - beforeClose: $[J] + "--before-close" + }, C.buildClassName = function(J, re) { + var L = (typeof re > "u" ? "undefined" : r(re)) === "object" ? re : { + base: W[J], + afterOpen: W[J] + "--after-open", + beforeClose: W[J] + "--before-close" }, F = L.base; - return C.state.afterOpen && (F = F + " " + L.afterOpen), C.state.beforeClose && (F = F + " " + L.beforeClose), typeof ie == "string" && ie ? F + " " + ie : F; - }, C.attributesFromObject = function(J, ie) { - return Object.keys(ie).reduce(function(L, F) { - return L[J + "-" + F] = ie[F], L; + return C.state.afterOpen && (F = F + " " + L.afterOpen), C.state.beforeClose && (F = F + " " + L.beforeClose), typeof re == "string" && re ? F + " " + re : F; + }, C.attributesFromObject = function(J, re) { + return Object.keys(re).reduce(function(L, F) { + return L[J + "-" + F] = re[F], L; }, {}); }, C.state = { afterOpen: !1, @@ -3340,14 +3340,14 @@ Bm.default.subscribe(Vm); }, { key: "beforeOpen", value: function() { - var C = this.props, J = C.appElement, ie = C.ariaHideApp, L = C.htmlOpenClassName, F = C.bodyOpenClassName, P = C.parentSelector, q = P && P().ownerDocument || document; - F && p.add(q.body, F), L && p.add(q.getElementsByTagName("html")[0], L), ie && (U += 1, g.hide(J)), j.default.register(this); + var C = this.props, J = C.appElement, re = C.ariaHideApp, L = C.htmlOpenClassName, F = C.bodyOpenClassName, P = C.parentSelector, q = P && P().ownerDocument || document; + F && p.add(q.body, F), L && p.add(q.getElementsByTagName("html")[0], L), re && (U += 1, g.hide(J)), j.default.register(this); } // Don't steal focus from inner elements }, { key: "render", value: function() { - var C = this.props, J = C.id, ie = C.className, L = C.overlayClassName, F = C.defaultStyles, P = C.children, q = ie ? {} : F.content, K = L ? {} : F.overlay; + var C = this.props, J = C.id, re = C.className, L = C.overlayClassName, F = C.defaultStyles, P = C.children, q = re ? {} : F.content, K = L ? {} : F.overlay; if (this.shouldBeClosed()) return null; var X = { @@ -3360,7 +3360,7 @@ Bm.default.subscribe(Vm); id: J, ref: this.setContentRef, style: n({}, q, this.props.style.content), - className: this.buildClassName("content", ie), + className: this.buildClassName("content", re), tabIndex: "-1", onKeyDown: this.handleKeyDown, onMouseDown: this.handleContentOnMouseDown, @@ -3419,19 +3419,19 @@ Bm.default.subscribe(Vm); contentElement: a.default.func, testId: a.default.string }, t.default = x, e.exports = t.default; -})(tm, Co); -function Wh() { +})(yy, bo); +function wh() { var e = this.constructor.getDerivedStateFromProps(this.props, this.state); e != null && this.setState(e); } -function Vh(e) { +function Dh(e) { function t(n) { var r = this.constructor.getDerivedStateFromProps(e, n); return r ?? null; } this.setState(t.bind(this)); } -function Hh(e, t) { +function Ah(e, t) { try { var n = this.props, r = this.state; this.props = e, this.state = t, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( @@ -3442,10 +3442,10 @@ function Hh(e, t) { this.props = n, this.state = r; } } -Wh.__suppressDeprecationWarning = !0; -Vh.__suppressDeprecationWarning = !0; -Hh.__suppressDeprecationWarning = !0; -function Hm(e) { +wh.__suppressDeprecationWarning = !0; +Dh.__suppressDeprecationWarning = !0; +Ah.__suppressDeprecationWarning = !0; +function cm(e) { var t = e.prototype; if (!t || !t.isReactComponent) throw new Error("Can only polyfill class components"); @@ -3466,12 +3466,12 @@ The above lifecycles should be removed. Learn more about this warning here: https://fb.me/react-async-component-lifecycle-hooks` ); } - if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = Wh, t.componentWillReceiveProps = Vh), typeof t.getSnapshotBeforeUpdate == "function") { + if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = wh, t.componentWillReceiveProps = Dh), typeof t.getSnapshotBeforeUpdate == "function") { if (typeof t.componentDidUpdate != "function") throw new Error( "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype" ); - t.componentWillUpdate = Hh; + t.componentWillUpdate = Ah; var a = t.componentDidUpdate; t.componentDidUpdate = function(c, l, f) { var d = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : f; @@ -3480,22 +3480,22 @@ https://fb.me/react-async-component-lifecycle-hooks` } return e; } -const qm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const lm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - polyfill: Hm -}, Symbol.toStringTag, { value: "Module" })), Km = /* @__PURE__ */ Bi(qm); -Object.defineProperty(or, "__esModule", { + polyfill: cm +}, Symbol.toStringTag, { value: "Module" })), fm = /* @__PURE__ */ Qi(lm); +Object.defineProperty(rr, "__esModule", { value: !0 }); -or.bodyOpenClassName = or.portalClassName = void 0; -var dl = Object.assign || function(e) { +rr.bodyOpenClassName = rr.portalClassName = void 0; +var Jc = 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; -}, Gm = function() { +}, dm = function() { function e(t, n) { for (var r = 0; r < n.length; r++) { var i = n[r]; @@ -3505,8 +3505,8 @@ var dl = Object.assign || function(e) { return function(t, n, r) { return n && e(t.prototype, n), r && e(t, r), t; }; -}(), qh = Te, Lo = Qi(qh), Jm = ci, _o = Qi(Jm), Zm = D, Ie = Qi(Zm), Xm = Co, hl = Qi(Xm), ev = Vt, tv = rv(ev), Tn = Qt, gl = Qi(Tn), nv = Km; -function rv(e) { +}(), Eh = Te, Oo = Bi(Eh), hm = ui, Lo = Bi(hm), gm = D, Ie = Bi(gm), pm = bo, Zc = Bi(pm), Mm = Vt, ym = vm(Mm), In = Bt, Xc = Bi(In), mm = fm; +function vm(e) { if (e && e.__esModule) return e; var t = {}; @@ -3515,56 +3515,56 @@ function rv(e) { Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]); return t.default = e, t; } -function Qi(e) { +function Bi(e) { return e && e.__esModule ? e : { default: e }; } -function iv(e, t) { +function wm(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function pl(e, t) { +function el(e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return t && (typeof t == "object" || typeof t == "function") ? t : e; } -function ov(e, t) { +function Dm(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t); } -var sv = or.portalClassName = "ReactModalPortal", av = or.bodyOpenClassName = "ReactModal__Body--open", Fn = Tn.canUseDOM && _o.default.createPortal !== void 0, Ua = function(t) { +var Am = rr.portalClassName = "ReactModalPortal", Em = rr.bodyOpenClassName = "ReactModal__Body--open", Rn = In.canUseDOM && Lo.default.createPortal !== void 0, _a = function(t) { return document.createElement(t); -}, Ml = function() { - return Fn ? _o.default.createPortal : _o.default.unstable_renderSubtreeIntoContainer; +}, tl = function() { + return Rn ? Lo.default.createPortal : Lo.default.unstable_renderSubtreeIntoContainer; }; function ro(e) { return e(); } var Qr = function(e) { - ov(t, e); + Dm(t, e); function t() { var n, r, i, o; - iv(this, t); + wm(this, t); for (var s = arguments.length, a = Array(s), u = 0; u < s; u++) a[u] = arguments[u]; - return o = (r = (i = pl(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(a))), i), i.removePortal = function() { - !Fn && _o.default.unmountComponentAtNode(i.node); + return o = (r = (i = el(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(a))), i), i.removePortal = function() { + !Rn && Lo.default.unmountComponentAtNode(i.node); var c = ro(i.props.parentSelector); c && c.contains(i.node) ? c.removeChild(i.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'); }, i.portalRef = function(c) { i.portal = c; }, i.renderPortal = function(c) { - var l = Ml(), f = l(i, Lo.default.createElement(hl.default, dl({ defaultStyles: t.defaultStyles }, c)), i.node); + var l = tl(), f = l(i, Oo.default.createElement(Zc.default, Jc({ defaultStyles: t.defaultStyles }, c)), i.node); i.portalRef(f); - }, r), pl(i, o); + }, r), el(i, o); } - return Gm(t, [{ + return dm(t, [{ key: "componentDidMount", value: function() { - if (Tn.canUseDOM) { - Fn || (this.node = Ua("div")), this.node.className = this.props.portalClassName; + if (In.canUseDOM) { + Rn || (this.node = _a("div")), this.node.className = this.props.portalClassName; var r = ro(this.props.parentSelector); - r.appendChild(this.node), !Fn && this.renderPortal(this.props); + r.appendChild(this.node), !Rn && this.renderPortal(this.props); } } }, { @@ -3576,17 +3576,17 @@ var Qr = function(e) { }, { key: "componentDidUpdate", value: function(r, i, o) { - if (Tn.canUseDOM) { + if (In.canUseDOM) { var s = this.props, a = s.isOpen, u = s.portalClassName; r.portalClassName !== u && (this.node.className = u); var c = o.prevParent, l = o.nextParent; - l !== c && (c.removeChild(this.node), l.appendChild(this.node)), !(!r.isOpen && !a) && !Fn && this.renderPortal(this.props); + l !== c && (c.removeChild(this.node), l.appendChild(this.node)), !(!r.isOpen && !a) && !Rn && this.renderPortal(this.props); } } }, { key: "componentWillUnmount", value: function() { - if (!(!Tn.canUseDOM || !this.node || !this.portal)) { + if (!(!In.canUseDOM || !this.node || !this.portal)) { var r = this.portal.state, i = Date.now(), o = r.isOpen && this.props.closeTimeoutMS && (r.closesAt || i + this.props.closeTimeoutMS); o ? (r.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, o - i)) : this.removePortal(); } @@ -3594,11 +3594,11 @@ var Qr = function(e) { }, { key: "render", value: function() { - if (!Tn.canUseDOM || !Fn) + if (!In.canUseDOM || !Rn) return null; - !this.node && Fn && (this.node = Ua("div")); - var r = Ml(); - return r(Lo.default.createElement(hl.default, dl({ + !this.node && Rn && (this.node = _a("div")); + var r = tl(); + return r(Oo.default.createElement(Zc.default, Jc({ ref: this.portalRef, defaultStyles: t.defaultStyles }, this.props)), this.node); @@ -3606,12 +3606,12 @@ var Qr = function(e) { }], [{ key: "setAppElement", value: function(r) { - tv.setElement(r); + ym.setElement(r); } /* eslint-disable react/no-unused-prop-types */ /* eslint-enable react/no-unused-prop-types */ }]), t; -}(qh.Component); +}(Eh.Component); Qr.propTypes = { isOpen: Ie.default.bool.isRequired, style: Ie.default.shape({ @@ -3631,7 +3631,7 @@ Qr.propTypes = { afterOpen: Ie.default.string.isRequired, beforeClose: Ie.default.string.isRequired })]), - appElement: Ie.default.oneOfType([Ie.default.instanceOf(gl.default), Ie.default.instanceOf(Tn.SafeHTMLCollection), Ie.default.instanceOf(Tn.SafeNodeList), Ie.default.arrayOf(Ie.default.instanceOf(gl.default))]), + appElement: Ie.default.oneOfType([Ie.default.instanceOf(Xc.default), Ie.default.instanceOf(In.SafeHTMLCollection), Ie.default.instanceOf(In.SafeNodeList), Ie.default.arrayOf(Ie.default.instanceOf(Xc.default))]), onAfterOpen: Ie.default.func, onRequestClose: Ie.default.func, closeTimeoutMS: Ie.default.number, @@ -3654,8 +3654,8 @@ Qr.propTypes = { }; Qr.defaultProps = { isOpen: !1, - portalClassName: sv, - bodyOpenClassName: av, + portalClassName: Am, + bodyOpenClassName: Em, role: "dialog", ariaHideApp: !0, closeTimeoutMS: 0, @@ -3668,14 +3668,14 @@ Qr.defaultProps = { return document.body; }, overlayElement: function(t, n) { - return Lo.default.createElement( + return Oo.default.createElement( "div", t, n ); }, contentElement: function(t, n) { - return Lo.default.createElement( + return Oo.default.createElement( "div", t, n @@ -3706,23 +3706,23 @@ Qr.defaultStyles = { padding: "20px" } }; -(0, nv.polyfill)(Qr); +(0, mm.polyfill)(Qr); process.env.NODE_ENV !== "production" && (Qr.setCreateHTMLElement = function(e) { - return Ua = e; + return _a = e; }); -or.default = Qr; +rr.default = Qr; (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 }); - var n = or, r = i(n); + var n = rr, r = i(n); function i(o) { return o && o.__esModule ? o : { default: o }; } t.default = r.default, e.exports = t.default; -})(qy, bo); -const Kh = /* @__PURE__ */ Sh(bo), yl = document, uv = () => { - const e = tt(!1), t = yl.documentElement, { body: n } = yl; +})(ly, So); +const Ih = /* @__PURE__ */ rh(So), nl = document, Im = () => { + const e = ot(!1), t = nl.documentElement, { body: n } = nl; return [() => { if (!n || !n.style || e.current || document == null) return; @@ -3734,8 +3734,8 @@ const Kh = /* @__PURE__ */ Sh(bo), yl = document, uv = () => { !n || !n.style || !e.current || (t.style.position = "", t.style.overflow = "", n.style.position = "", n.style.overflow = "", n.style.paddingRight = "", e.current = !1); }]; }; -Kh.setAppElement("#layout"); -const z4 = ({ +Ih.setAppElement("body"); +const pO = ({ isOpen: e, children: t, closeTimeoutMS: n, @@ -3744,9 +3744,9 @@ const z4 = ({ className: o, onRequestClose: s }) => { - const [a, u] = uv(); + const [a, u] = Im(); return e ? a() : u(), /* @__PURE__ */ ge.jsx( - Kh, + Ih, { isOpen: e, closeTimeoutMS: n, @@ -3759,21 +3759,21 @@ const z4 = ({ children: t } ); -}, P4 = { +}, MO = { headerHeight: "67px", searchBarHeight: "32px", switchHeight: "32px" -}, R4 = { +}, yO = { title: "36px", subtitle: "24px", content: "14px", small: "12px" }; -var In = /* @__PURE__ */ ((e) => (e.EN = "en", e.JA = "ja", e))(In || {}); -const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes(e), lv = ["light", "dark"], F4 = (e) => lv.includes(e), fv = { +var Nh = /* @__PURE__ */ ((e) => (e.EN = "en", e.JA = "ja", e))(Nh || {}); +const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes(e), Tm = ["light", "dark"], vO = (e) => Tm.includes(e), jm = { courseChange: "Course change detected. If you added/deleted courses in another tab, please ", RefreshLink: "click here to refresh to see the changes" -}, dv = { +}, Sm = { mon: "Mon", tue: "Tue", wed: "Wed", @@ -3781,7 +3781,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( fri: "Fri", sat: "Sat", sun: "Sun" -}, hv = { +}, bm = { welcome: "Welcome to WasedaTime!", newFeature: "New feature", userLogin: "User login", @@ -3812,7 +3812,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Schools not imported initially": "To keep the high performance of our app, syllabus of all schools are not imported initially.", "Import schools request": "Please import the syllabus of schools you are interested when you first access the Syllabus page.", allSchoolsAdded: "All undergraduate & graduate schools are supported in Syllabus now!" -}, gv = { +}, Cm = { timetable: "Timetable", syllabus: "Syllabus", "course info": "Course", @@ -3822,14 +3822,14 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( language: "Language", career: "Career", "corona-info": "COVID19" -}, pv = { +}, xm = { licensed: " Code Licensed ", syllabus: "Syllabus correct as at", update: "" -}, Mv = { +}, Om = { title: "WasedaTime", description: "Non-profit, student-run, open-source app aiming to support and improve the campus lives of Waseda University students." -}, yv = { +}, Lm = { welcome: "Welcome to WasedaTime!", "You haven't added any courses": "Hi! You haven't added any courses.", "Go to": "Go to ", @@ -3843,7 +3843,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Spring Semester": "Spring Semester", "Fall Semester": "Fall Semester", undecided: "undecided" -}, mv = { +}, _m = { "Spring Semester": "Spring Semester", "Fall Semester": "Fall Semester", "Added courses are displayed here": "Added courses are displayed here.", @@ -3978,7 +3978,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Share!": "Share!", "Share popup message": "Does this course look good? Share with classmates!", "Share text": "Wanna search for good courses? Try WasedaTime!" -}, vv = { +}, km = { Details: { title: "Details", "Min Year": "Eligible Year", @@ -4038,7 +4038,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "delete review confirmation": "Are you sure to delete the review?", "delete review yes": "Yes, I'm sure", "delete review no": "No" -}, wv = { +}, zm = { "Under Construction": "Under Construction", "Want to help?": "Wanna build an amazing app with us?", "Check out our": "Check out our", @@ -4047,7 +4047,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( or: " or ", "!": "!", "We sincerely welcome any contributors!": "We sincerely welcome any contributors!" -}, Dv = { +}, Pm = { busStatus: "Bus Status", Waseda: "Waseda", NishiWaseda: "NishiWaseda", @@ -4063,19 +4063,19 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "and select Add to Home screen": "and select 'Add to Home screen'", "Tap on the bottom-middle icon": "Tap on the bottom-middle icon", "Assign a date / time to check the next bus": "Assign a date / time to check the next bus" -}, Av = { +}, Rm = { header: "Updates on the issue with the 2020 syllabus", main: "Hi! Thanks for clicking in.", main2: "We apologize that the 2020 syllabus is not supported yet. Due to a updated policy from Waseda University, we are not able to obtain the 2020 syllabus data at this moment.", main3: "We are actively negotiating with the university and will provide any updates as soon as possible. We have received many inquiries and are very sorry for not being able to respond in time.", main4: "Thank you so much again, and we will do our best to ensure that the mission of WasedaTime continues.", main5: "Please stay safe and healthy!" -}, Ev = { +}, Um = { Intern: "Intern", Articles: "Articles", viewMore: "View More", Entry: "Entry" -}, Iv = { +}, Fm = { title: "COVID-19 Statistics", attribution: "Data fetched from Johns Hopkins University CSSE", "New Cases": "New Cases", @@ -4087,7 +4087,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( Tokyo: "Tokyo", "Loading Statistics": "Loading Statistics", "No data": "No data" -}, Nv = { +}, Ym = { "Sign in": "Sign in", "Sign Out": "Sign Out", "Sign in with WasedaMail": "Sign in with WasedaMail", @@ -4099,26 +4099,26 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Privacy Policy": "Privacy Policy", "Terms of Service": "Terms of Service", "Keep using without sign in": "Keep using without sign in" -}, Gh = { - app: fv, - common: dv, - welcome: hv, - navigation: gv, - footer: pv, - about: Mv, - timetable: yv, - syllabus: mv, - courseInfo: vv, - room: wv, - bus: Dv, - updates: Av, - career: Ev, - coronaInfo: Iv, - user: Nv -}, Tv = { +}, Qm = { + app: jm, + common: Sm, + welcome: bm, + navigation: Cm, + footer: xm, + about: Om, + timetable: Lm, + syllabus: _m, + courseInfo: km, + room: zm, + bus: Pm, + updates: Rm, + career: Um, + coronaInfo: Fm, + user: Ym +}, Bm = { courseChange: "科目の変更が検出されました。別のタブで科目を登録/取り消した場合は、変更を反映するために", RefreshLink: "こちらにクリックして再読み込みしてください" -}, jv = { +}, $m = { mon: "月", tue: "火", wed: "水", @@ -4126,7 +4126,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( fri: "金", sat: "土", sun: "日" -}, Sv = { +}, Wm = { welcome: "WasedaTime へようこそ!", newFeature: "新機能", userLogin: "ユーザーログイン", @@ -4157,7 +4157,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Schools not imported initially": "アプリのパフォーマンスを維持するため、全学部のシラバスは先に入れておいてありません。", "Import schools request": "お手数ですが、シラバス画面に最初に入る際、好きな学部のシラバスを選択してインポートしてください。", allSchoolsAdded: "全学部・研究科のシラバス検索ができるようになりました!" -}, bv = { +}, Vm = { timetable: "時間割", syllabus: "シラバス", "course info": "授業詳細", @@ -4167,14 +4167,14 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( language: "言語", career: "キャリア", "corona-info": "コロナ" -}, Cv = { +}, Hm = { licensed: " ソースコードライセンス ", syllabus: "シラバスは", update: "に更新されました" -}, xv = { +}, qm = { title: "早稲田タイム", description: "早稲田大学の学生のキャンパスライフを支え、向上させることを目的とした非営利・学生運営・オープンソースのアプリ" -}, Ov = { +}, Km = { welcome: "WasedaTime へようこそ!", "You haven't added any courses": "授業がありません。", "Go to": "", @@ -4188,7 +4188,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Spring Semester": "春学期", "Fall Semester": "秋学期", undecided: "未定" -}, Lv = { +}, Gm = { "Spring Semester": "春学期", "Fall Semester": "秋学期", "Added courses are displayed here": "登録された授業はここに表示されます。", @@ -4323,7 +4323,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Share!": "シェア!", "Share popup message": "良い授業を発見した?クラスメイトにシェアしよう!", "Share text": "良い授業、なかなか見つからない?早稲田タイムで検索しましょう!" -}, _v = { +}, Jm = { Details: { title: "詳細", "Min Year": "配当年次", @@ -4384,7 +4384,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "delete review confirmation": "レビューを削除してよろしいですか?", "delete review yes": "はい、削除します", "delete review no": "いいえ" -}, kv = { +}, Zm = { "Under Construction": "作成中", "Want to help?": "一緒に楽しく開発しませんか?", "Check out our": "興味のある方は ", @@ -4393,7 +4393,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( or: "または", "!": "から!", "We sincerely welcome any contributors!": "" -}, zv = { +}, Xm = { busStatus: "バス運行情報", Waseda: "早稲田", NishiWaseda: "西早稲田", @@ -4409,19 +4409,19 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "and select Add to Home screen": "をクリックして、'ホーム画面に追加' を選択する", "Tap on the bottom-middle icon": "底部中央のアイコン", "Assign a date / time to check the next bus": "日時を指定し、次のバスを検索しましょう" -}, Pv = { +}, ev = { header: "2020のシラバスについて", main: "こんにちは!クリックしていただきありがとうございます。", main2: "申し訳ありませんが、2020年のシラバスはまだサポートされていません。早稲田大学のポリシーが更新されたため、現時点では2020のシラバスデータを取得できません。", main3: "私たちは積極的に大学と相談しており、新しい情報をできるだけ早く提供します。多くのお問い合わせをいただきましたが、時間内にご返答できず大変申し訳ございません。", main4: "改めて、あなたに感謝申し上げます。早稲田タイムの使命が継続するように最善を尽くします。", main5: "どうぞ、安全と健康にお気をつけくださいませ。" -}, Rv = { +}, tv = { Intern: "インターン", Articles: "記事", viewMore: "インターン内容をもっと見る", Entry: "エントリー" -}, Uv = { +}, nv = { title: "新型コロナウイルス感染症情報", attribution: "Johns Hopkins University CSSE より引用", "New Cases": "新規感染数", @@ -4433,7 +4433,7 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( Tokyo: "東京", "Loading Statistics": "読み込み中", "No data": "データなし" -}, Fv = { +}, rv = { "Sign in": "ログイン", "Sign Out": "ログアウト", "Sign in with WasedaMail": "早稲田メールでログイン", @@ -4445,29 +4445,33 @@ const cv = ["desktop", "tablet", "phone", "phoneMini"], U4 = (e) => cv.includes( "Privacy Policy": "プライバシーポリシー", "Terms of Service": "利用規約", "Keep using without sign in": "ログインせずに使用し続ける" -}, Jh = { - app: Tv, - common: jv, - welcome: Sv, - navigation: bv, - footer: Cv, - about: xv, - timetable: Ov, - syllabus: Lv, - courseInfo: _v, - room: kv, - bus: zv, - updates: Pv, - career: Rv, - coronaInfo: Uv, - user: Fv -}, Yv = () => /* @__PURE__ */ ge.jsx("svg", { viewBox: "0 0 50 50", width: "50px", height: "50px", children: /* @__PURE__ */ ge.jsx("path", { d: "M 26 2 C 13.308594 2 3 12.308594 3 25 C 3 37.691406 13.308594 48 26 48 C 35.917969 48 41.972656 43.4375 45.125 37.78125 C 48.277344 32.125 48.675781 25.480469 47.71875 20.9375 L 47.53125 20.15625 L 46.75 20.15625 L 26 20.125 L 25 20.125 L 25 30.53125 L 36.4375 30.53125 C 34.710938 34.53125 31.195313 37.28125 26 37.28125 C 19.210938 37.28125 13.71875 31.789063 13.71875 25 C 13.71875 18.210938 19.210938 12.71875 26 12.71875 C 29.050781 12.71875 31.820313 13.847656 33.96875 15.6875 L 34.6875 16.28125 L 41.53125 9.4375 L 42.25 8.6875 L 41.5 8 C 37.414063 4.277344 31.960938 2 26 2 Z M 26 4 C 31.074219 4 35.652344 5.855469 39.28125 8.84375 L 34.46875 13.65625 C 32.089844 11.878906 29.199219 10.71875 26 10.71875 C 18.128906 10.71875 11.71875 17.128906 11.71875 25 C 11.71875 32.871094 18.128906 39.28125 26 39.28125 C 32.550781 39.28125 37.261719 35.265625 38.9375 29.8125 L 39.34375 28.53125 L 27 28.53125 L 27 22.125 L 45.84375 22.15625 C 46.507813 26.191406 46.066406 31.984375 43.375 36.8125 C 40.515625 41.9375 35.320313 46 26 46 C 14.386719 46 5 36.609375 5 25 C 5 13.390625 14.386719 4 26 4 Z" }) }); -var Fa = {}, Bv = { +}, iv = { + app: Bm, + common: $m, + welcome: Wm, + navigation: Vm, + footer: Hm, + about: qm, + timetable: Km, + syllabus: Gm, + courseInfo: Jm, + room: Zm, + bus: Xm, + updates: ev, + career: tv, + coronaInfo: nv, + user: rv +}, ov = () => /* @__PURE__ */ ge.jsx("svg", { viewBox: "0 0 50 50", width: "50px", height: "50px", color: "white", children: /* @__PURE__ */ ge.jsx("path", { d: "M 26 2 C 13.308594 2 3 12.308594 3 25 C 3 37.691406 13.308594 48 26 48 C 35.917969 48 41.972656 43.4375 45.125 37.78125 C 48.277344 32.125 48.675781 25.480469 47.71875 20.9375 L 47.53125 20.15625 L 46.75 20.15625 L 26 20.125 L 25 20.125 L 25 30.53125 L 36.4375 30.53125 C 34.710938 34.53125 31.195313 37.28125 26 37.28125 C 19.210938 37.28125 13.71875 31.789063 13.71875 25 C 13.71875 18.210938 19.210938 12.71875 26 12.71875 C 29.050781 12.71875 31.820313 13.847656 33.96875 15.6875 L 34.6875 16.28125 L 41.53125 9.4375 L 42.25 8.6875 L 41.5 8 C 37.414063 4.277344 31.960938 2 26 2 Z M 26 4 C 31.074219 4 35.652344 5.855469 39.28125 8.84375 L 34.46875 13.65625 C 32.089844 11.878906 29.199219 10.71875 26 10.71875 C 18.128906 10.71875 11.71875 17.128906 11.71875 25 C 11.71875 32.871094 18.128906 39.28125 26 39.28125 C 32.550781 39.28125 37.261719 35.265625 38.9375 29.8125 L 39.34375 28.53125 L 27 28.53125 L 27 22.125 L 45.84375 22.15625 C 46.507813 26.191406 46.066406 31.984375 43.375 36.8125 C 40.515625 41.9375 35.320313 46 26 46 C 14.386719 46 5 36.609375 5 25 C 5 13.390625 14.386719 4 26 4 Z" }) }), sv = () => /* @__PURE__ */ ge.jsxs("svg", { viewBox: "0 0 30 30", width: "30px", height: "30px", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: [ + /* @__PURE__ */ ge.jsx("line", { x1: "24", y1: "6", x2: "6", y2: "24" }), + " ", + /* @__PURE__ */ ge.jsx("line", { x1: "6", y1: "6", x2: "24", y2: "24" }) +] }); +var ka = {}, av = { get exports() { - return Fa; + return ka; }, set exports(e) { - Fa = e; + ka = e; } }; (function(e, t) { @@ -4486,13 +4490,13 @@ var Fa = {}, Bv = { (a, u) => { u.match = h, u.parse = p; var c = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, l = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, f = /^(?:(min|max)-)?(.+)/, d = /(em|rem|px|cm|mm|in|pt|pc)?$/, g = /(dpi|dpcm|dppx)?$/; - function h(j, N) { - return p(j).some(function(I) { - var B = I.inverse, z = I.type === "all" || N.type === I.type; - if (z && B || !(z || B)) + function h(j, I) { + return p(j).some(function(N) { + var Q = N.inverse, z = N.type === "all" || I.type === N.type; + if (z && Q || !(z || Q)) return !1; - var W = I.expressions.every(function($) { - var b = $.feature, k = $.modifier, U = $.value, x = N[b]; + var H = N.expressions.every(function(W) { + var b = W.feature, k = W.modifier, U = W.value, x = I[b]; if (!x) return !1; switch (b) { @@ -4530,57 +4534,57 @@ var Fa = {}, Bv = { return x === U; } }); - return W && !B || !W && B; + return H && !Q || !H && Q; }); } function p(j) { - return j.split(",").map(function(N) { - N = N.trim(); - var I = N.match(c), B = I[1], z = I[2], W = I[3] || "", $ = {}; - return $.inverse = !!B && B.toLowerCase() === "not", $.type = z ? z.toLowerCase() : "all", W = W.match(/\([^\)]+\)/g) || [], $.expressions = W.map(function(b) { + return j.split(",").map(function(I) { + I = I.trim(); + var N = I.match(c), Q = N[1], z = N[2], H = N[3] || "", W = {}; + return W.inverse = !!Q && Q.toLowerCase() === "not", W.type = z ? z.toLowerCase() : "all", H = H.match(/\([^\)]+\)/g) || [], W.expressions = H.map(function(b) { var k = b.match(l), U = k[1].toLowerCase().match(f); return { modifier: U[1], feature: U[2], value: k[2] }; - }), $; + }), W; }); } function m(j) { - var N = Number(j), I; - return N || (I = j.match(/^(\d+)\s*\/\s*(\d+)$/), N = I[1] / I[2]), N; + var I = Number(j), N; + return I || (N = j.match(/^(\d+)\s*\/\s*(\d+)$/), I = N[1] / N[2]), I; } function v(j) { - var N = parseFloat(j), I = String(j).match(g)[1]; - switch (I) { + var I = parseFloat(j), N = String(j).match(g)[1]; + switch (N) { case "dpcm": - return N / 2.54; + return I / 2.54; case "dppx": - return N * 96; + return I * 96; default: - return N; + return I; } } function w(j) { - var N = parseFloat(j), I = String(j).match(d)[1]; - switch (I) { + var I = parseFloat(j), N = String(j).match(d)[1]; + switch (N) { case "em": - return N * 16; + return I * 16; case "rem": - return N * 16; + return I * 16; case "cm": - return N * 96 / 2.54; + return I * 96 / 2.54; case "mm": - return N * 96 / 2.54 / 10; + return I * 96 / 2.54 / 10; case "in": - return N * 96; + return I * 96; case "pt": - return N * 72; + return I * 72; case "pc": - return N * 72 / 12; + return I * 72 / 12; default: - return N; + return I; } } } @@ -4625,21 +4629,21 @@ var Fa = {}, Bv = { var v = this; if (f && !m) { var w = f.call(window, h); - this.matches = w.matches, this.media = w.media, w.addListener(I); + this.matches = w.matches, this.media = w.media, w.addListener(N); } else this.matches = l(h, p), this.media = h; - this.addListener = j, this.removeListener = N, this.dispose = B; + this.addListener = j, this.removeListener = I, this.dispose = Q; function j(z) { w && w.addListener(z); } - function N(z) { + function I(z) { w && w.removeListener(z); } - function I(z) { + function N(z) { v.matches = z.matches, v.media = z.media; } - function B() { - w && w.removeListener(I); + function Q() { + w && w.removeListener(N); } } function g(h, p, m) { @@ -4695,8 +4699,8 @@ var Fa = {}, Bv = { c.call(p, j) && (m[j] = p[j]); if (u) { v = u(p); - for (var N = 0; N < v.length; N++) - l.call(p, v[N]) && (m[v[N]] = p[v[N]]); + for (var I = 0; I < v.length; I++) + l.call(p, v[I]) && (m[v[I]] = p[v[I]]); } } return m; @@ -4730,27 +4734,27 @@ var Fa = {}, Bv = { }; } function h(p, m, v, w, j) { - for (var N in p) - if (g(p, N)) { - var I; + for (var I in p) + if (g(p, I)) { + var N; try { - if (typeof p[N] != "function") { - var B = Error( - (w || "React class") + ": " + v + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + if (typeof p[I] != "function") { + var Q = Error( + (w || "React class") + ": " + v + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); - throw B.name = "Invariant Violation", B; + throw Q.name = "Invariant Violation", Q; } - I = p[N](m, N, w, v, null, f); - } catch (W) { - I = W; + N = p[I](m, I, w, v, null, f); + } catch (H) { + N = H; } - if (I && !(I instanceof Error) && l( - (w || "React class") + ": type specification of " + v + " `" + N + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof I + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." - ), I instanceof Error && !(I.message in d)) { - d[I.message] = !0; + if (N && !(N instanceof Error) && l( + (w || "React class") + ": type specification of " + v + " `" + I + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof N + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." + ), N instanceof Error && !(N.message in d)) { + d[N.message] = !0; var z = j ? j() : ""; l( - "Failed " + v + " type: " + I.message + (z ?? "") + "Failed " + v + " type: " + N.message + (z ?? "") ); } } @@ -4796,13 +4800,13 @@ var Fa = {}, Bv = { return null; } a.exports = function(v, w) { - var j = typeof Symbol == "function" && Symbol.iterator, N = "@@iterator"; - function I(H) { - var Q = H && (j && H[j] || H[N]); - if (typeof Q == "function") - return Q; + var j = typeof Symbol == "function" && Symbol.iterator, I = "@@iterator"; + function N(V) { + var B = V && (j && V[j] || V[I]); + if (typeof B == "function") + return B; } - var B = "<>", z = { + var Q = "<>", z = { array: k("array"), bigint: k("bigint"), bool: k("boolean"), @@ -4819,21 +4823,21 @@ var Fa = {}, Bv = { node: L(), objectOf: J, oneOf: C, - oneOfType: ie, + oneOfType: re, shape: P, exact: q }; - function W(H, Q) { - return H === Q ? H !== 0 || 1 / H === 1 / Q : H !== H && Q !== Q; + function H(V, B) { + return V === B ? V !== 0 || 1 / V === 1 / B : V !== V && B !== B; } - function $(H, Q) { - this.message = H, this.data = Q && typeof Q == "object" ? Q : {}, this.stack = ""; + function W(V, B) { + this.message = V, this.data = B && typeof B == "object" ? B : {}, this.stack = ""; } - $.prototype = Error.prototype; - function b(H) { - var Q = {}, V = 0; - function fe(le, Me, de, E, y, M, A) { - if (E = E || B, M = M || de, A !== d) { + W.prototype = Error.prototype; + function b(V) { + var B = {}, $ = 0; + function fe(le, pe, de, E, y, M, A) { + if (E = E || Q, M = M || de, A !== d) { if (w) { var Y = 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" @@ -4841,213 +4845,213 @@ var Fa = {}, Bv = { throw Y.name = "Invariant Violation", Y; } else if (typeof console < "u") { var ee = E + ":" + de; - !Q[ee] && // Avoid spamming the console because they are often not actionable except for lib authors - V < 3 && (p( + !B[ee] && // Avoid spamming the console because they are often not actionable except for lib authors + $ < 3 && (p( "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + E + "`. 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." - ), Q[ee] = !0, V++); + ), B[ee] = !0, $++); } } - return Me[de] == null ? le ? Me[de] === null ? new $("The " + y + " `" + M + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new $("The " + y + " `" + M + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null : H(Me, de, E, y, M); + return pe[de] == null ? le ? pe[de] === null ? new W("The " + y + " `" + M + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new W("The " + y + " `" + M + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null : V(pe, de, E, y, M); } var te = fe.bind(null, !1); return te.isRequired = fe.bind(null, !0), te; } - function k(H) { - function Q(V, fe, te, le, Me, de) { - var E = V[fe], y = O(E); - if (y !== H) { + function k(V) { + function B($, fe, te, le, pe, de) { + var E = $[fe], y = O(E); + if (y !== V) { var M = ne(E); - return new $( - "Invalid " + le + " `" + Me + "` of type " + ("`" + M + "` supplied to `" + te + "`, expected ") + ("`" + H + "`."), - { expectedType: H } + return new W( + "Invalid " + le + " `" + pe + "` of type " + ("`" + M + "` supplied to `" + te + "`, expected ") + ("`" + V + "`."), + { expectedType: V } ); } return null; } - return b(Q); + return b(B); } function U() { return b(m); } - function x(H) { - function Q(V, fe, te, le, Me) { - if (typeof H != "function") - return new $("Property `" + Me + "` of component `" + te + "` has invalid PropType notation inside arrayOf."); - var de = V[fe]; + function x(V) { + function B($, fe, te, le, pe) { + if (typeof V != "function") + return new W("Property `" + pe + "` of component `" + te + "` has invalid PropType notation inside arrayOf."); + var de = $[fe]; if (!Array.isArray(de)) { var E = O(de); - return new $("Invalid " + le + " `" + Me + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected an array.")); + return new W("Invalid " + le + " `" + pe + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected an array.")); } for (var y = 0; y < de.length; y++) { - var M = H(de, y, te, le, Me + "[" + y + "]", d); + var M = V(de, y, te, le, pe + "[" + y + "]", d); if (M instanceof Error) return M; } return null; } - return b(Q); + return b(B); } function T() { - function H(Q, V, fe, te, le) { - var Me = Q[V]; - if (!v(Me)) { - var de = O(Me); - return new $("Invalid " + te + " `" + le + "` of type " + ("`" + de + "` supplied to `" + fe + "`, expected a single ReactElement.")); + function V(B, $, fe, te, le) { + var pe = B[$]; + if (!v(pe)) { + var de = O(pe); + return new W("Invalid " + te + " `" + le + "` of type " + ("`" + de + "` supplied to `" + fe + "`, expected a single ReactElement.")); } return null; } - return b(H); + return b(V); } function S() { - function H(Q, V, fe, te, le) { - var Me = Q[V]; - if (!l.isValidElementType(Me)) { - var de = O(Me); - return new $("Invalid " + te + " `" + le + "` of type " + ("`" + de + "` supplied to `" + fe + "`, expected a single ReactElement type.")); + function V(B, $, fe, te, le) { + var pe = B[$]; + if (!l.isValidElementType(pe)) { + var de = O(pe); + return new W("Invalid " + te + " `" + le + "` of type " + ("`" + de + "` supplied to `" + fe + "`, expected a single ReactElement type.")); } return null; } - return b(H); + return b(V); } - function R(H) { - function Q(V, fe, te, le, Me) { - if (!(V[fe] instanceof H)) { - var de = H.name || B, E = he(V[fe]); - return new $("Invalid " + le + " `" + Me + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected ") + ("instance of `" + de + "`.")); + function R(V) { + function B($, fe, te, le, pe) { + if (!($[fe] instanceof V)) { + var de = V.name || Q, E = he($[fe]); + return new W("Invalid " + le + " `" + pe + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected ") + ("instance of `" + de + "`.")); } return null; } - return b(Q); + return b(B); } - function C(H) { - if (!Array.isArray(H)) + function C(V) { + if (!Array.isArray(V)) return arguments.length > 1 ? p( "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])." ) : p("Invalid argument supplied to oneOf, expected an array."), m; - function Q(V, fe, te, le, Me) { - for (var de = V[fe], E = 0; E < H.length; E++) - if (W(de, H[E])) + function B($, fe, te, le, pe) { + for (var de = $[fe], E = 0; E < V.length; E++) + if (H(de, V[E])) return null; - var y = JSON.stringify(H, function(A, Y) { + var y = JSON.stringify(V, function(A, Y) { var ee = ne(Y); return ee === "symbol" ? String(Y) : Y; }); - return new $("Invalid " + le + " `" + Me + "` of value `" + String(de) + "` " + ("supplied to `" + te + "`, expected one of " + y + ".")); + return new W("Invalid " + le + " `" + pe + "` of value `" + String(de) + "` " + ("supplied to `" + te + "`, expected one of " + y + ".")); } - return b(Q); + return b(B); } - function J(H) { - function Q(V, fe, te, le, Me) { - if (typeof H != "function") - return new $("Property `" + Me + "` of component `" + te + "` has invalid PropType notation inside objectOf."); - var de = V[fe], E = O(de); + function J(V) { + function B($, fe, te, le, pe) { + if (typeof V != "function") + return new W("Property `" + pe + "` of component `" + te + "` has invalid PropType notation inside objectOf."); + var de = $[fe], E = O(de); if (E !== "object") - return new $("Invalid " + le + " `" + Me + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected an object.")); + return new W("Invalid " + le + " `" + pe + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected an object.")); for (var y in de) if (g(de, y)) { - var M = H(de, y, te, le, Me + "." + y, d); + var M = V(de, y, te, le, pe + "." + y, d); if (M instanceof Error) return M; } return null; } - return b(Q); + return b(B); } - function ie(H) { - if (!Array.isArray(H)) + function re(V) { + if (!Array.isArray(V)) return p("Invalid argument supplied to oneOfType, expected an instance of array."), m; - for (var Q = 0; Q < H.length; Q++) { - var V = H[Q]; - if (typeof V != "function") + for (var B = 0; B < V.length; B++) { + var $ = V[B]; + if (typeof $ != "function") return p( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G(V) + " at index " + Q + "." + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G($) + " at index " + B + "." ), m; } - function fe(te, le, Me, de, E) { - for (var y = [], M = 0; M < H.length; M++) { - var A = H[M], Y = A(te, le, Me, de, E, d); + function fe(te, le, pe, de, E) { + for (var y = [], M = 0; M < V.length; M++) { + var A = V[M], Y = A(te, le, pe, de, E, d); if (Y == null) return null; Y.data && g(Y.data, "expectedType") && y.push(Y.data.expectedType); } var ee = y.length > 0 ? ", expected one of type [" + y.join(", ") + "]" : ""; - return new $("Invalid " + de + " `" + E + "` supplied to " + ("`" + Me + "`" + ee + ".")); + return new W("Invalid " + de + " `" + E + "` supplied to " + ("`" + pe + "`" + ee + ".")); } return b(fe); } function L() { - function H(Q, V, fe, te, le) { - return K(Q[V]) ? null : new $("Invalid " + te + " `" + le + "` supplied to " + ("`" + fe + "`, expected a ReactNode.")); + function V(B, $, fe, te, le) { + return K(B[$]) ? null : new W("Invalid " + te + " `" + le + "` supplied to " + ("`" + fe + "`, expected a ReactNode.")); } - return b(H); + return b(V); } - function F(H, Q, V, fe, te) { - return new $( - (H || "React class") + ": " + Q + " type `" + V + "." + fe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + te + "`." + function F(V, B, $, fe, te) { + return new W( + (V || "React class") + ": " + B + " type `" + $ + "." + fe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + te + "`." ); } - function P(H) { - function Q(V, fe, te, le, Me) { - var de = V[fe], E = O(de); + function P(V) { + function B($, fe, te, le, pe) { + var de = $[fe], E = O(de); if (E !== "object") - return new $("Invalid " + le + " `" + Me + "` of type `" + E + "` " + ("supplied to `" + te + "`, expected `object`.")); - for (var y in H) { - var M = H[y]; + return new W("Invalid " + le + " `" + pe + "` of type `" + E + "` " + ("supplied to `" + te + "`, expected `object`.")); + for (var y in V) { + var M = V[y]; if (typeof M != "function") - return F(te, le, Me, y, ne(M)); - var A = M(de, y, te, le, Me + "." + y, d); + return F(te, le, pe, y, ne(M)); + var A = M(de, y, te, le, pe + "." + y, d); if (A) return A; } return null; } - return b(Q); + return b(B); } - function q(H) { - function Q(V, fe, te, le, Me) { - var de = V[fe], E = O(de); + function q(V) { + function B($, fe, te, le, pe) { + var de = $[fe], E = O(de); if (E !== "object") - return new $("Invalid " + le + " `" + Me + "` of type `" + E + "` " + ("supplied to `" + te + "`, expected `object`.")); - var y = f({}, V[fe], H); + return new W("Invalid " + le + " `" + pe + "` of type `" + E + "` " + ("supplied to `" + te + "`, expected `object`.")); + var y = f({}, $[fe], V); for (var M in y) { - var A = H[M]; - if (g(H, M) && typeof A != "function") - return F(te, le, Me, M, ne(A)); + var A = V[M]; + if (g(V, M) && typeof A != "function") + return F(te, le, pe, M, ne(A)); if (!A) - return new $( - "Invalid " + le + " `" + Me + "` key `" + M + "` supplied to `" + te + "`.\nBad object: " + JSON.stringify(V[fe], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") + return new W( + "Invalid " + le + " `" + pe + "` key `" + M + "` supplied to `" + te + "`.\nBad object: " + JSON.stringify($[fe], null, " ") + ` +Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") ); - var Y = A(de, M, te, le, Me + "." + M, d); + var Y = A(de, M, te, le, pe + "." + M, d); if (Y) return Y; } return null; } - return b(Q); + return b(B); } - function K(H) { - switch (typeof H) { + function K(V) { + switch (typeof V) { case "number": case "string": case "undefined": return !0; case "boolean": - return !H; + return !V; case "object": - if (Array.isArray(H)) - return H.every(K); - if (H === null || v(H)) + if (Array.isArray(V)) + return V.every(K); + if (V === null || v(V)) return !0; - var Q = I(H); - if (Q) { - var V = Q.call(H), fe; - if (Q !== H.entries) { - for (; !(fe = V.next()).done; ) + var B = N(V); + if (B) { + var $ = B.call(V), fe; + if (B !== V.entries) { + for (; !(fe = $.next()).done; ) if (!K(fe.value)) return !1; } else - for (; !(fe = V.next()).done; ) { + for (; !(fe = $.next()).done; ) { var te = fe.value; if (te && !K(te[1])) return !1; @@ -5059,41 +5063,41 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") return !1; } } - function X(H, Q) { - return H === "symbol" ? !0 : Q ? Q["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && Q instanceof Symbol : !1; + function X(V, B) { + return V === "symbol" ? !0 : B ? B["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && B instanceof Symbol : !1; } - function O(H) { - var Q = typeof H; - return Array.isArray(H) ? "array" : H instanceof RegExp ? "object" : X(Q, H) ? "symbol" : Q; + function O(V) { + var B = typeof V; + return Array.isArray(V) ? "array" : V instanceof RegExp ? "object" : X(B, V) ? "symbol" : B; } - function ne(H) { - if (typeof H > "u" || H === null) - return "" + H; - var Q = O(H); - if (Q === "object") { - if (H instanceof Date) + function ne(V) { + if (typeof V > "u" || V === null) + return "" + V; + var B = O(V); + if (B === "object") { + if (V instanceof Date) return "date"; - if (H instanceof RegExp) + if (V instanceof RegExp) return "regexp"; } - return Q; + return B; } - function G(H) { - var Q = ne(H); - switch (Q) { + function G(V) { + var B = ne(V); + switch (B) { case "array": case "object": - return "an " + Q; + return "an " + B; case "boolean": case "date": case "regexp": - return "a " + Q; + return "a " + B; default: - return Q; + return B; } } - function he(H) { - return !H.constructor || !H.constructor.name ? B : H.constructor.name; + function he(V) { + return !V.constructor || !V.constructor.name ? Q : V.constructor.name; } return z.checkPropTypes = h, z.resetWarningCache = h.resetWarningCache, z.PropTypes = z, z; }; @@ -5155,10 +5159,10 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") * LICENSE file in the root directory of this source tree. */ (function() { - var c = typeof Symbol == "function" && Symbol.for, l = c ? Symbol.for("react.element") : 60103, f = c ? Symbol.for("react.portal") : 60106, d = c ? Symbol.for("react.fragment") : 60107, g = c ? Symbol.for("react.strict_mode") : 60108, h = c ? Symbol.for("react.profiler") : 60114, p = c ? Symbol.for("react.provider") : 60109, m = c ? Symbol.for("react.context") : 60110, v = c ? Symbol.for("react.async_mode") : 60111, w = c ? Symbol.for("react.concurrent_mode") : 60111, j = c ? Symbol.for("react.forward_ref") : 60112, N = c ? Symbol.for("react.suspense") : 60113, I = c ? Symbol.for("react.suspense_list") : 60120, B = c ? Symbol.for("react.memo") : 60115, z = c ? Symbol.for("react.lazy") : 60116, W = c ? Symbol.for("react.block") : 60121, $ = c ? Symbol.for("react.fundamental") : 60117, b = c ? Symbol.for("react.responder") : 60118, k = c ? Symbol.for("react.scope") : 60119; + var c = typeof Symbol == "function" && Symbol.for, l = c ? Symbol.for("react.element") : 60103, f = c ? Symbol.for("react.portal") : 60106, d = c ? Symbol.for("react.fragment") : 60107, g = c ? Symbol.for("react.strict_mode") : 60108, h = c ? Symbol.for("react.profiler") : 60114, p = c ? Symbol.for("react.provider") : 60109, m = c ? Symbol.for("react.context") : 60110, v = c ? Symbol.for("react.async_mode") : 60111, w = c ? Symbol.for("react.concurrent_mode") : 60111, j = c ? Symbol.for("react.forward_ref") : 60112, I = c ? Symbol.for("react.suspense") : 60113, N = c ? Symbol.for("react.suspense_list") : 60120, Q = c ? Symbol.for("react.memo") : 60115, z = c ? Symbol.for("react.lazy") : 60116, H = c ? Symbol.for("react.block") : 60121, W = c ? Symbol.for("react.fundamental") : 60117, b = c ? Symbol.for("react.responder") : 60118, k = c ? Symbol.for("react.scope") : 60119; function U(A) { return typeof A == "string" || typeof A == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - A === d || A === w || A === h || A === g || A === N || A === I || typeof A == "object" && A !== null && (A.$$typeof === z || A.$$typeof === B || A.$$typeof === p || A.$$typeof === m || A.$$typeof === j || A.$$typeof === $ || A.$$typeof === b || A.$$typeof === k || A.$$typeof === W); + A === d || A === w || A === h || A === g || A === I || A === N || typeof A == "object" && A !== null && (A.$$typeof === z || A.$$typeof === Q || A.$$typeof === p || A.$$typeof === m || A.$$typeof === j || A.$$typeof === W || A.$$typeof === b || A.$$typeof === k || A.$$typeof === H); } function x(A) { if (typeof A == "object" && A !== null) { @@ -5172,7 +5176,7 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") case d: case h: case g: - case N: + case I: return ee; default: var Z = ee && ee.$$typeof; @@ -5180,7 +5184,7 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") case m: case j: case z: - case B: + case Q: case p: return Z; default: @@ -5192,20 +5196,20 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") } } } - var T = v, S = w, R = m, C = p, J = l, ie = j, L = d, F = z, P = B, q = f, K = h, X = g, O = N, ne = !1; + var T = v, S = w, R = m, C = p, J = l, re = j, L = d, F = z, P = Q, q = f, K = h, X = g, O = I, ne = !1; function G(A) { return ne || (ne = !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.")), he(A) || x(A) === v; } function he(A) { return x(A) === w; } - function H(A) { + function V(A) { return x(A) === m; } - function Q(A) { + function B(A) { return x(A) === p; } - function V(A) { + function $(A) { return typeof A == "object" && A !== null && A.$$typeof === l; } function fe(A) { @@ -5217,8 +5221,8 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") function le(A) { return x(A) === z; } - function Me(A) { - return x(A) === B; + function pe(A) { + return x(A) === Q; } function de(A) { return x(A) === f; @@ -5230,9 +5234,9 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") return x(A) === g; } function M(A) { - return x(A) === N; + return x(A) === I; } - u.AsyncMode = T, u.ConcurrentMode = S, u.ContextConsumer = R, u.ContextProvider = C, u.Element = J, u.ForwardRef = ie, u.Fragment = L, u.Lazy = F, u.Memo = P, u.Portal = q, u.Profiler = K, u.StrictMode = X, u.Suspense = O, u.isAsyncMode = G, u.isConcurrentMode = he, u.isContextConsumer = H, u.isContextProvider = Q, u.isElement = V, u.isForwardRef = fe, u.isFragment = te, u.isLazy = le, u.isMemo = Me, u.isPortal = de, u.isProfiler = E, u.isStrictMode = y, u.isSuspense = M, u.isValidElementType = U, u.typeOf = x; + u.AsyncMode = T, u.ConcurrentMode = S, u.ContextConsumer = R, u.ContextProvider = C, u.Element = J, u.ForwardRef = re, u.Fragment = L, u.Lazy = F, u.Memo = P, u.Portal = q, u.Profiler = K, u.StrictMode = X, u.Suspense = O, u.isAsyncMode = G, u.isConcurrentMode = he, u.isContextConsumer = V, u.isContextProvider = B, u.isElement = $, u.isForwardRef = fe, u.isFragment = te, u.isLazy = le, u.isMemo = pe, u.isPortal = de, u.isProfiler = E, u.isStrictMode = y, u.isSuspense = M, u.isValidElementType = U, u.typeOf = x; })(); } ), @@ -5384,24 +5388,24 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") /***/ function(a, u, c) { var l = this && this.__assign || function() { - return l = Object.assign || function(N) { - for (var I, B = 1, z = arguments.length; B < z; B++) { - I = arguments[B]; - for (var W in I) - Object.prototype.hasOwnProperty.call(I, W) && (N[W] = I[W]); + return l = Object.assign || function(I) { + for (var N, Q = 1, z = arguments.length; Q < z; Q++) { + N = arguments[Q]; + for (var H in N) + Object.prototype.hasOwnProperty.call(N, H) && (I[H] = N[H]); } - return N; + return I; }, l.apply(this, arguments); - }, f = this && this.__rest || function(N, I) { - var B = {}; - for (var z in N) - Object.prototype.hasOwnProperty.call(N, z) && I.indexOf(z) < 0 && (B[z] = N[z]); - if (N != null && typeof Object.getOwnPropertySymbols == "function") - for (var W = 0, z = Object.getOwnPropertySymbols(N); W < z.length; W++) - I.indexOf(z[W]) < 0 && Object.prototype.propertyIsEnumerable.call(N, z[W]) && (B[z[W]] = N[z[W]]); - return B; - }, d = this && this.__importDefault || function(N) { - return N && N.__esModule ? N : { default: N }; + }, f = this && this.__rest || function(I, N) { + var Q = {}; + for (var z in I) + Object.prototype.hasOwnProperty.call(I, z) && N.indexOf(z) < 0 && (Q[z] = I[z]); + if (I != null && typeof Object.getOwnPropertySymbols == "function") + for (var H = 0, z = Object.getOwnPropertySymbols(I); H < z.length; H++) + N.indexOf(z[H]) < 0 && Object.prototype.propertyIsEnumerable.call(I, z[H]) && (Q[z[H]] = I[z[H]]); + return Q; + }, d = this && this.__importDefault || function(I) { + return I && I.__esModule ? I : { default: I }; }; Object.defineProperty(u, "__esModule", { value: !0 }); var g = d(c( @@ -5483,8 +5487,8 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") }, m = function(v) { var w = []; return Object.keys(d.default.all).forEach(function(j) { - var N = v[j]; - N != null && w.push(h(j, N)); + var I = v[j]; + I != null && w.push(h(j, I)); }), p(w); }; u.default = m; @@ -5497,8 +5501,8 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") \******************************/ /***/ function(a, u, c) { - var l = this && this.__importDefault || function($) { - return $ && $.__esModule ? $ : { default: $ }; + var l = this && this.__importDefault || function(W) { + return W && W.__esModule ? W : { default: W }; }; Object.defineProperty(u, "__esModule", { value: !0 }); var f = c( @@ -5519,39 +5523,39 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") )), m = l(c( /*! ./Context */ "./src/Context.ts" - )), v = function($) { - return $.query || (0, p.default)($); - }, w = function($) { - if ($) { - var b = Object.keys($); + )), v = function(W) { + return W.query || (0, p.default)(W); + }, w = function(W) { + if (W) { + var b = Object.keys(W); return b.reduce(function(k, U) { - return k[(0, g.default)(U)] = $[U], k; + return k[(0, g.default)(U)] = W[U], k; }, {}); } }, j = function() { - var $ = (0, f.useRef)(!1); + var W = (0, f.useRef)(!1); return (0, f.useEffect)(function() { - $.current = !0; - }, []), $.current; - }, N = function($) { + W.current = !0; + }, []), W.current; + }, I = function(W) { var b = (0, f.useContext)(m.default), k = function() { - return w($) || w(b); + return w(W) || w(b); }, U = (0, f.useState)(k), x = U[0], T = U[1]; return (0, f.useEffect)(function() { var S = k(); (0, h.shallowEqualObjects)(x, S) || T(S); - }, [$, b]), x; - }, I = function($) { + }, [W, b]), x; + }, N = function(W) { var b = function() { - return v($); + return v(W); }, k = (0, f.useState)(b), U = k[0], x = k[1]; return (0, f.useEffect)(function() { var T = b(); U !== T && x(T); - }, [$]), U; - }, B = function($, b) { + }, [W]), U; + }, Q = function(W, b) { var k = function() { - return (0, d.default)($, b || {}, !!b); + return (0, d.default)(W, b || {}, !!b); }, U = (0, f.useState)(k), x = U[0], T = U[1], S = j(); return (0, f.useEffect)(function() { if (S) { @@ -5560,22 +5564,22 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") R && R.dispose(); }; } - }, [$, b]), x; - }, z = function($) { - var b = (0, f.useState)($.matches), k = b[0], U = b[1]; + }, [W, b]), x; + }, z = function(W) { + var b = (0, f.useState)(W.matches), k = b[0], U = b[1]; return (0, f.useEffect)(function() { var x = function(T) { U(T.matches); }; - return $.addListener(x), U($.matches), function() { - $.removeListener(x); + return W.addListener(x), U(W.matches), function() { + W.removeListener(x); }; - }, [$]), k; - }, W = function($, b, k) { - var U = N(b), x = I($); + }, [W]), k; + }, H = function(W, b, k) { + var U = I(b), x = N(W); if (!x) throw new Error("Invalid or missing MediaQuery!"); - var T = B(x, U), S = z(T), R = j(); + var T = Q(x, U), S = z(T), R = j(); return (0, f.useEffect)(function() { R && k && k(S); }, [S]), (0, f.useEffect)(function() { @@ -5584,7 +5588,7 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") }; }, []), S; }; - u.default = W; + u.default = H; } ), /***/ @@ -5624,233 +5628,8 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ") return s; })() )); -})(Bv); -const Ya = /* @__PURE__ */ Sh(Fa); -/** - * @remix-run/router v1.6.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */ -function Ba() { - return Ba = 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; - }, Ba.apply(this, arguments); -} -var ml; -(function(e) { - e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE"; -})(ml || (ml = {})); -function Tt(e, t) { - if (e === !1 || e === null || typeof e > "u") - throw new Error(t); -} -function Zh(e, t) { - if (!e) { - typeof console < "u" && console.warn(t); - try { - throw new Error(t); - } catch { - } - } -} -function Xh(e) { - let t = {}; - if (e) { - let n = e.indexOf("#"); - n >= 0 && (t.hash = e.substr(n), e = e.substr(0, n)); - let r = e.indexOf("?"); - r >= 0 && (t.search = e.substr(r), e = e.substr(0, r)), e && (t.pathname = e); - } - return t; -} -var vl; -(function(e) { - e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error"; -})(vl || (vl = {})); -function Qv(e, t) { - t === void 0 && (t = "/"); - let { - pathname: n, - search: r = "", - hash: i = "" - } = typeof e == "string" ? Xh(e) : e; - return { - pathname: n ? n.startsWith("/") ? n : $v(n, t) : t, - search: qv(r), - hash: Kv(i) - }; -} -function $v(e, t) { - let n = t.replace(/\/+$/, "").split("/"); - return e.split("/").forEach((i) => { - i === ".." ? n.length > 1 && n.pop() : i !== "." && n.push(i); - }), n.length > 1 ? n.join("/") : "/"; -} -function Hs(e, t, n, r) { - return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(r) + "]. Please separate it out to the ") + ("`to." + n + "` field. Alternatively you may provide the full path as ") + 'a string in and the router will parse it for you.'; -} -function Wv(e) { - return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0); -} -function Vv(e, t, n, r) { - r === void 0 && (r = !1); - let i; - typeof e == "string" ? i = Xh(e) : (i = Ba({}, e), Tt(!i.pathname || !i.pathname.includes("?"), Hs("?", "pathname", "search", i)), Tt(!i.pathname || !i.pathname.includes("#"), Hs("#", "pathname", "hash", i)), Tt(!i.search || !i.search.includes("#"), Hs("#", "search", "hash", i))); - let o = e === "" || i.pathname === "", s = o ? "/" : i.pathname, a; - if (r || s == null) - a = n; - else { - let f = t.length - 1; - if (s.startsWith("..")) { - let d = s.split("/"); - for (; d[0] === ".."; ) - d.shift(), f -= 1; - i.pathname = d.join("/"); - } - a = f >= 0 ? t[f] : "/"; - } - let u = Qv(i, a), c = s && s !== "/" && s.endsWith("/"), l = (o || s === ".") && n.endsWith("/"); - return !u.pathname.endsWith("/") && (c || l) && (u.pathname += "/"), u; -} -const Hv = (e) => e.join("/").replace(/\/\/+/g, "/"), qv = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Kv = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, eg = ["post", "put", "patch", "delete"]; -new Set(eg); -const Gv = ["get", ...eg]; -new Set(Gv); -/** - * React Router v6.11.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */ -function Qa() { - return Qa = 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; - }, Qa.apply(this, arguments); -} -const Vu = /* @__PURE__ */ re.createContext(null); -process.env.NODE_ENV !== "production" && (Vu.displayName = "DataRouter"); -const Jv = /* @__PURE__ */ re.createContext(null); -process.env.NODE_ENV !== "production" && (Jv.displayName = "DataRouterState"); -const Zv = /* @__PURE__ */ re.createContext(null); -process.env.NODE_ENV !== "production" && (Zv.displayName = "Await"); -const Hu = /* @__PURE__ */ re.createContext(null); -process.env.NODE_ENV !== "production" && (Hu.displayName = "Navigation"); -const qu = /* @__PURE__ */ re.createContext(null); -process.env.NODE_ENV !== "production" && (qu.displayName = "Location"); -const Ku = /* @__PURE__ */ re.createContext({ - outlet: null, - matches: [] -}); -process.env.NODE_ENV !== "production" && (Ku.displayName = "Route"); -const Xv = /* @__PURE__ */ re.createContext(null); -process.env.NODE_ENV !== "production" && (Xv.displayName = "RouteError"); -function tg() { - return re.useContext(qu) != null; -} -function ew() { - return tg() || (process.env.NODE_ENV !== "production" ? Tt( - !1, - // TODO: This error is probably because they somehow have 2 versions of the - // router loaded. We can help them understand how to avoid that. - "useLocation() may be used only in the context of a component." - ) : Tt(!1)), re.useContext(qu).location; -} -const ng = "You should call navigate() in a React.useEffect(), not when your component is first rendered."; -function rg(e) { - re.useContext(Hu).static || re.useLayoutEffect(e); -} -function tw() { - return re.useContext(Vu) != null ? sw() : nw(); -} -function nw() { - tg() || (process.env.NODE_ENV !== "production" ? Tt( - !1, - // TODO: This error is probably because they somehow have 2 versions of the - // router loaded. We can help them understand how to avoid that. - "useNavigate() may be used only in the context of a component." - ) : Tt(!1)); - let { - basename: e, - navigator: t - } = re.useContext(Hu), { - matches: n - } = re.useContext(Ku), { - pathname: r - } = ew(), i = JSON.stringify(Wv(n).map((a) => a.pathnameBase)), o = re.useRef(!1); - return rg(() => { - o.current = !0; - }), re.useCallback(function(a, u) { - if (u === void 0 && (u = {}), process.env.NODE_ENV !== "production" && Zh(o.current, ng), !o.current) - return; - if (typeof a == "number") { - t.go(a); - return; - } - let c = Vv(a, JSON.parse(i), r, u.relative === "path"); - e !== "/" && (c.pathname = c.pathname === "/" ? e : Hv([e, c.pathname])), (u.replace ? t.replace : t.push)(c, u.state, u); - }, [e, t, i, r]); -} -var $a; -(function(e) { - e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate"; -})($a || ($a = {})); -var Wa; -(function(e) { - e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId"; -})(Wa || (Wa = {})); -function ig(e) { - return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router."; -} -function rw(e) { - let t = re.useContext(Vu); - return t || (process.env.NODE_ENV !== "production" ? Tt(!1, ig(e)) : Tt(!1)), t; -} -function iw(e) { - let t = re.useContext(Ku); - return t || (process.env.NODE_ENV !== "production" ? Tt(!1, ig(e)) : Tt(!1)), t; -} -function ow(e) { - let t = iw(e), n = t.matches[t.matches.length - 1]; - return n.route.id || (process.env.NODE_ENV !== "production" ? Tt(!1, e + ' can only be used on routes that contain a unique "id"') : Tt(!1)), n.route.id; -} -function sw() { - let { - router: e - } = rw($a.UseNavigateStable), t = ow(Wa.UseNavigateStable), n = re.useRef(!1); - return rg(() => { - n.current = !0; - }), re.useCallback(function(i, o) { - o === void 0 && (o = {}), process.env.NODE_ENV !== "production" && Zh(n.current, ng), n.current && (typeof i == "number" ? e.navigate(i) : e.navigate(i, Qa({ - fromRouteId: t - }, o))); - }, [e, t]); -} -var wl; -(function(e) { - e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error"; -})(wl || (wl = {})); -new Promise(() => { -}); -const aw = { +})(av); +const rl = /* @__PURE__ */ rh(ka), uv = { main: "#9E1E32", lighter: "#AB2339", darker: "#8E1729", @@ -5863,7 +5642,7 @@ const aw = { card1: "#FFFFFF", card2: "#EEEEEE", card3: "#E5E5E5" -}, uw = { +}, cv = { main: "#CB3243", lighter: "#D5919A", darker: "#1E1315", @@ -5876,10 +5655,10 @@ const aw = { card1: "#2C2C2C", card2: "#353535", card3: "#232323" -}, cw = { +}, lv = { sun: "#FFC000", moon: "#F7E7CE" -}, lw = { +}, fv = { dark: { fall: "#9A5306", winter: "#0073A9", @@ -5892,23 +5671,23 @@ const aw = { spring: "#FF65D3", summer: "#FF7701" } -}, Ge = { - light: aw, - dark: uw, - icon: cw, - quarter: lw +}, Je = { + light: uv, + dark: cv, + icon: lv, + quarter: fv }; -function pe() { - return pe = Object.assign ? Object.assign.bind() : function(e) { +function ve() { + return ve = 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; - }, pe.apply(this, arguments); + }, ve.apply(this, arguments); } -function Je(e, t) { +function ut(e, t) { if (e == null) return {}; var n = {}, r = Object.keys(e), i, o; @@ -5916,12 +5695,12 @@ function Je(e, t) { i = r[o], !(t.indexOf(i) >= 0) && (n[i] = e[i]); return n; } -var ko = {}, fw = { +var _o = {}, dv = { get exports() { - return ko; + return _o; }, set exports(e) { - ko = e; + _o = e; } }, $e = {}; /** @license React v17.0.2 @@ -5932,11 +5711,11 @@ var ko = {}, fw = { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Dl; -function dw() { - if (Dl) +var il; +function hv() { + if (il) return $e; - Dl = 1; + il = 1; var e = 60103, t = 60106, n = 60107, r = 60108, i = 60114, o = 60109, s = 60110, a = 60112, u = 60113, c = 60120, l = 60115, f = 60116, d = 60121, g = 60122, h = 60117, p = 60129, m = 60131; if (typeof Symbol == "function" && Symbol.for) { var v = Symbol.for; @@ -5971,8 +5750,8 @@ function dw() { } } } - var j = o, N = e, I = a, B = n, z = f, W = l, $ = t, b = i, k = r, U = u; - return $e.ContextConsumer = s, $e.ContextProvider = j, $e.Element = N, $e.ForwardRef = I, $e.Fragment = B, $e.Lazy = z, $e.Memo = W, $e.Portal = $, $e.Profiler = b, $e.StrictMode = k, $e.Suspense = U, $e.isAsyncMode = function() { + var j = o, I = e, N = a, Q = n, z = f, H = l, W = t, b = i, k = r, U = u; + return $e.ContextConsumer = s, $e.ContextProvider = j, $e.Element = I, $e.ForwardRef = N, $e.Fragment = Q, $e.Lazy = z, $e.Memo = H, $e.Portal = W, $e.Profiler = b, $e.StrictMode = k, $e.Suspense = U, $e.isAsyncMode = function() { return !1; }, $e.isConcurrentMode = function() { return !1; @@ -6011,24 +5790,24 @@ var We = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Al; -function hw() { - return Al || (Al = 1, process.env.NODE_ENV !== "production" && function() { +var ol; +function gv() { + return ol || (ol = 1, process.env.NODE_ENV !== "production" && function() { var e = 60103, t = 60106, n = 60107, r = 60108, i = 60114, o = 60109, s = 60110, a = 60112, u = 60113, c = 60120, l = 60115, f = 60116, d = 60121, g = 60122, h = 60117, p = 60129, m = 60131; if (typeof Symbol == "function" && Symbol.for) { var v = Symbol.for; e = v("react.element"), t = v("react.portal"), n = v("react.fragment"), r = v("react.strict_mode"), i = v("react.profiler"), o = v("react.provider"), s = v("react.context"), a = v("react.forward_ref"), u = v("react.suspense"), c = v("react.suspense_list"), l = v("react.memo"), f = v("react.lazy"), d = v("react.block"), g = v("react.server.block"), h = v("react.fundamental"), v("react.scope"), v("react.opaque.id"), p = v("react.debug_trace_mode"), v("react.offscreen"), m = v("react.legacy_hidden"); } var w = !1; - function j(Q) { - return !!(typeof Q == "string" || typeof Q == "function" || Q === n || Q === i || Q === p || Q === r || Q === u || Q === c || Q === m || w || typeof Q == "object" && Q !== null && (Q.$$typeof === f || Q.$$typeof === l || Q.$$typeof === o || Q.$$typeof === s || Q.$$typeof === a || Q.$$typeof === h || Q.$$typeof === d || Q[0] === g)); + function j(B) { + return !!(typeof B == "string" || typeof B == "function" || B === n || B === i || B === p || B === r || B === u || B === c || B === m || w || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === l || B.$$typeof === o || B.$$typeof === s || B.$$typeof === a || B.$$typeof === h || B.$$typeof === d || B[0] === g)); } - function N(Q) { - if (typeof Q == "object" && Q !== null) { - var V = Q.$$typeof; - switch (V) { + function I(B) { + if (typeof B == "object" && B !== null) { + var $ = B.$$typeof; + switch ($) { case e: - var fe = Q.type; + var fe = B.type; switch (fe) { case n: case i: @@ -6046,79 +5825,89 @@ function hw() { case o: return te; default: - return V; + return $; } } case t: - return V; + return $; } } } - var I = s, B = o, z = e, W = a, $ = n, b = f, k = l, U = t, x = i, T = r, S = u, R = !1, C = !1; - function J(Q) { + var N = s, Q = o, z = e, H = a, W = n, b = f, k = l, U = t, x = i, T = r, S = u, R = !1, C = !1; + function J(B) { return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function ie(Q) { + function re(B) { return C || (C = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function L(Q) { - return N(Q) === s; + function L(B) { + return I(B) === s; } - function F(Q) { - return N(Q) === o; + function F(B) { + return I(B) === o; } - function P(Q) { - return typeof Q == "object" && Q !== null && Q.$$typeof === e; + function P(B) { + return typeof B == "object" && B !== null && B.$$typeof === e; } - function q(Q) { - return N(Q) === a; + function q(B) { + return I(B) === a; } - function K(Q) { - return N(Q) === n; + function K(B) { + return I(B) === n; } - function X(Q) { - return N(Q) === f; + function X(B) { + return I(B) === f; } - function O(Q) { - return N(Q) === l; + function O(B) { + return I(B) === l; } - function ne(Q) { - return N(Q) === t; + function ne(B) { + return I(B) === t; } - function G(Q) { - return N(Q) === i; + function G(B) { + return I(B) === i; } - function he(Q) { - return N(Q) === r; + function he(B) { + return I(B) === r; } - function H(Q) { - return N(Q) === u; + function V(B) { + return I(B) === u; } - We.ContextConsumer = I, We.ContextProvider = B, We.Element = z, We.ForwardRef = W, We.Fragment = $, We.Lazy = b, We.Memo = k, We.Portal = U, We.Profiler = x, We.StrictMode = T, We.Suspense = S, We.isAsyncMode = J, We.isConcurrentMode = ie, We.isContextConsumer = L, We.isContextProvider = F, We.isElement = P, We.isForwardRef = q, We.isFragment = K, We.isLazy = X, We.isMemo = O, We.isPortal = ne, We.isProfiler = G, We.isStrictMode = he, We.isSuspense = H, We.isValidElementType = j, We.typeOf = N; + We.ContextConsumer = N, We.ContextProvider = Q, We.Element = z, We.ForwardRef = H, We.Fragment = W, We.Lazy = b, We.Memo = k, We.Portal = U, We.Profiler = x, We.StrictMode = T, We.Suspense = S, We.isAsyncMode = J, We.isConcurrentMode = re, We.isContextConsumer = L, We.isContextProvider = F, We.isElement = P, We.isForwardRef = q, We.isFragment = K, We.isLazy = X, We.isMemo = O, We.isPortal = ne, We.isProfiler = G, We.isStrictMode = he, We.isSuspense = V, We.isValidElementType = j, We.typeOf = I; }()), We; } (function(e) { - process.env.NODE_ENV === "production" ? e.exports = dw() : e.exports = hw(); -})(fw); -function og(e) { + process.env.NODE_ENV === "production" ? e.exports = hv() : e.exports = gv(); +})(dv); +function Th(e) { var t, n, r = ""; if (typeof e == "string" || typeof e == "number") r += e; else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) - e[t] && (n = og(e[t])) && (r && (r += " "), r += n); + e[t] && (n = Th(e[t])) && (r && (r += " "), r += n); else for (t in e) e[t] && (r && (r += " "), r += t); return r; } -function at() { +function st() { for (var e, t, n = 0, r = ""; n < arguments.length; ) - (e = arguments[n++]) && (t = og(e)) && (r && (r += " "), r += t); + (e = arguments[n++]) && (t = Th(e)) && (r && (r += " "), r += t); return r; } -function sg(e) { +function Ge() { + return Ge = 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; + }, Ge.apply(this, arguments); +} +function jh(e) { return typeof e == "string"; } function $i(e, t) { @@ -6129,29 +5918,29 @@ function $i(e, t) { function Ar(e) { return e !== null && typeof e == "object" && e.constructor === Object; } -function ag(e) { +function Sh(e) { if (!Ar(e)) return e; const t = {}; return Object.keys(e).forEach((n) => { - t[n] = ag(e[n]); + t[n] = Sh(e[n]); }), t; } function un(e, t, n = { clone: !0 }) { - const r = n.clone ? pe({}, e) : e; + const r = n.clone ? Ge({}, e) : e; return Ar(e) && Ar(t) && Object.keys(t).forEach((i) => { - i !== "__proto__" && (Ar(t[i]) && i in e && Ar(e[i]) ? r[i] = un(e[i], t[i], n) : n.clone ? r[i] = Ar(t[i]) ? ag(t[i]) : t[i] : r[i] = t[i]); + i !== "__proto__" && (Ar(t[i]) && i in e && Ar(e[i]) ? r[i] = un(e[i], t[i], n) : n.clone ? r[i] = Ar(t[i]) ? Sh(t[i]) : t[i] : r[i] = t[i]); }), r; } -function gw(e) { +function pv(e) { const { prototype: t = {} } = e; return !!t.isReactComponent; } -function ug(e, t, n, r, i) { +function bh(e, t, n, r, i) { const o = e[t], s = i || t; if (o == null || // When server-side rendering React doesn't warn either. // This is not an accurate check for SSR. @@ -6161,18 +5950,18 @@ function ug(e, t, n, r, i) { return null; let a; const u = o.type; - return typeof u == "function" && !gw(u) && (a = "Did you accidentally use a plain function component for an element instead?"), a !== void 0 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`) : null; + return typeof u == "function" && !pv(u) && (a = "Did you accidentally use a plain function component for an element instead?"), a !== void 0 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`) : null; } -const cg = $i(D.element, ug); -cg.isRequired = $i(D.element.isRequired, ug); -const Wi = cg; -function pw(e) { +const Ch = $i(D.element, bh); +Ch.isRequired = $i(D.element.isRequired, bh); +const Wi = Ch; +function Mv(e) { const { prototype: t = {} } = e; return !!t.isReactComponent; } -function Mw(e, t, n, r, i) { +function yv(e, t, n, r, i) { const o = e[t], s = i || t; if (o == null || // When server-side rendering React doesn't warn either. // This is not an accurate check for SSR. @@ -6181,47 +5970,47 @@ function Mw(e, t, n, r, i) { typeof window > "u") return null; let a; - return typeof o == "function" && !pw(o) && (a = "Did you accidentally provide a plain function component instead?"), a !== void 0 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`) : null; + return typeof o == "function" && !Mv(o) && (a = "Did you accidentally provide a plain function component instead?"), a !== void 0 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`) : null; } -const lg = $i(D.elementType, Mw), yw = "exact-prop: ​"; -function fg(e) { - return process.env.NODE_ENV === "production" ? e : pe({}, e, { - [yw]: (t) => { +const xh = $i(D.elementType, yv), mv = "exact-prop: ​"; +function Oh(e) { + return process.env.NODE_ENV === "production" ? e : Ge({}, e, { + [mv]: (t) => { const n = Object.keys(t).filter((r) => !e.hasOwnProperty(r)); return n.length > 0 ? new Error(`The following props are not supported: ${n.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null; } }); } -function Si(e) { +function ji(e) { let t = "https://mui.com/production-error/?code=" + e; for (let n = 1; n < arguments.length; n += 1) t += "&args[]=" + encodeURIComponent(arguments[n]); return "Minified MUI error #" + e + "; visit " + t + " for the full message."; } -const mw = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/; -function vw(e) { - const t = `${e}`.match(mw); +const vv = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/; +function wv(e) { + const t = `${e}`.match(vv); return t && t[1] || ""; } -function dg(e, t = "") { - return e.displayName || e.name || vw(e) || t; +function Lh(e, t = "") { + return e.displayName || e.name || wv(e) || t; } -function El(e, t, n) { - const r = dg(t); +function sl(e, t, n) { + const r = Lh(t); return e.displayName || (r !== "" ? `${n}(${r})` : n); } -function ww(e) { +function Dv(e) { if (e != null) { if (typeof e == "string") return e; if (typeof e == "function") - return dg(e, "Component"); + return Lh(e, "Component"); if (typeof e == "object") switch (e.$$typeof) { - case ir.ForwardRef: - return El(e, e.render, "ForwardRef"); - case ir.Memo: - return El(e, e.type, "memo"); + case nr.ForwardRef: + return sl(e, e.render, "ForwardRef"); + case nr.Memo: + return sl(e, e.type, "memo"); default: return; } @@ -6233,19 +6022,19 @@ function kr(e, t, n, r, i) { const o = e[t], s = i || t; return o == null ? null : o && o.nodeType !== 1 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null; } -const Dw = D.oneOfType([D.func, D.object]), hg = Dw; -function yi(e) { +const Av = D.oneOfType([D.func, D.object]), _h = Av; +function Mi(e) { if (typeof e != "string") - throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Si(7)); + throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ji(7)); return e.charAt(0).toUpperCase() + e.slice(1); } -function Il(...e) { +function al(...e) { return e.reduce((t, n) => n == null ? t : function(...i) { t.apply(this, i), n.apply(this, i); }, () => { }); } -function Aw(e, t = 166) { +function Ev(e, t = 166) { let n; function r(...i) { const o = () => { @@ -6260,32 +6049,32 @@ function Aw(e, t = 166) { function $t(e) { return e && e.ownerDocument || document; } -function bi(e) { +function Si(e) { return $t(e).defaultView || window; } -function Va(e, t) { +function za(e, t) { typeof e == "function" ? e(t) : e && (e.current = t); } -const Ew = typeof window < "u" ? re.useLayoutEffect : re.useEffect, Ci = Ew; +const Iv = typeof window < "u" ? oe.useLayoutEffect : oe.useEffect, bi = Iv; function Tr(e) { - const t = re.useRef(e); - return Ci(() => { + const t = oe.useRef(e); + return bi(() => { t.current = e; - }), re.useCallback((...n) => ( + }), oe.useCallback((...n) => ( // @ts-expect-error hide `this` // tslint:disable-next-line:ban-comma-operator (0, t.current)(...n) ), []); } -function jt(...e) { - return re.useMemo(() => e.every((t) => t == null) ? null : (t) => { +function Tt(...e) { + return oe.useMemo(() => e.every((t) => t == null) ? null : (t) => { e.forEach((n) => { - Va(n, t); + za(n, t); }); }, e); } -let rs = !0, Ha = !1, Nl; -const Iw = { +let es = !0, Pa = !1, ul; +const Nv = { text: !0, search: !0, url: !0, @@ -6300,26 +6089,26 @@ const Iw = { datetime: !0, "datetime-local": !0 }; -function Nw(e) { +function Tv(e) { const { type: t, tagName: n } = e; - return !!(n === "INPUT" && Iw[t] && !e.readOnly || n === "TEXTAREA" && !e.readOnly || e.isContentEditable); + return !!(n === "INPUT" && Nv[t] && !e.readOnly || n === "TEXTAREA" && !e.readOnly || e.isContentEditable); } -function Tw(e) { - e.metaKey || e.altKey || e.ctrlKey || (rs = !0); +function jv(e) { + e.metaKey || e.altKey || e.ctrlKey || (es = !0); } -function qs() { - rs = !1; +function $s() { + es = !1; } -function jw() { - this.visibilityState === "hidden" && Ha && (rs = !0); +function Sv() { + this.visibilityState === "hidden" && Pa && (es = !0); } -function Sw(e) { - e.addEventListener("keydown", Tw, !0), e.addEventListener("mousedown", qs, !0), e.addEventListener("pointerdown", qs, !0), e.addEventListener("touchstart", qs, !0), e.addEventListener("visibilitychange", jw, !0); +function bv(e) { + e.addEventListener("keydown", jv, !0), e.addEventListener("mousedown", $s, !0), e.addEventListener("pointerdown", $s, !0), e.addEventListener("touchstart", $s, !0), e.addEventListener("visibilitychange", Sv, !0); } -function bw(e) { +function Cv(e) { const { target: t } = e; @@ -6327,19 +6116,19 @@ function bw(e) { return t.matches(":focus-visible"); } catch { } - return rs || Nw(t); + return es || Tv(t); } -function Cw() { - const e = re.useCallback((i) => { - i != null && Sw(i.ownerDocument); - }, []), t = re.useRef(!1); +function xv() { + const e = oe.useCallback((i) => { + i != null && bv(i.ownerDocument); + }, []), t = oe.useRef(!1); function n() { - return t.current ? (Ha = !0, window.clearTimeout(Nl), Nl = window.setTimeout(() => { - Ha = !1; + return t.current ? (Pa = !0, window.clearTimeout(ul), ul = window.setTimeout(() => { + Pa = !1; }, 100), t.current = !1, !0) : !1; } function r(i) { - return bw(i) ? (t.current = !0, !0) : !1; + return Cv(i) ? (t.current = !0, !0) : !1; } return { isFocusVisibleRef: t, @@ -6348,11 +6137,11 @@ function Cw() { ref: e }; } -function gg(e) { +function kh(e) { const t = e.documentElement.clientWidth; return Math.abs(window.innerWidth - t); } -function xw(e) { +function Ov(e) { const t = typeof e; switch (t) { case "number": @@ -6363,42 +6152,42 @@ function xw(e) { return t; } } -function Ow(e) { +function Lv(e) { return typeof e == "number" && isFinite(e) && Math.floor(e) === e; } -const Lw = Number.isInteger || Ow; -function pg(e, t, n, r) { +const _v = Number.isInteger || Lv; +function zh(e, t, n, r) { const i = e[t]; - if (i == null || !Lw(i)) { - const o = xw(i); + if (i == null || !_v(i)) { + const o = Ov(i); return new RangeError(`Invalid ${r} \`${t}\` of type \`${o}\` supplied to \`${n}\`, expected \`integer\`.`); } return null; } -function Mg(e, t, ...n) { - return e[t] === void 0 ? null : pg(e, t, ...n); +function Ph(e, t, ...n) { + return e[t] === void 0 ? null : zh(e, t, ...n); } -function qa() { +function Ra() { return null; } -Mg.isRequired = pg; -qa.isRequired = qa; -const yg = process.env.NODE_ENV === "production" ? qa : Mg; -function mg(e, t) { - const n = pe({}, t); +Ph.isRequired = zh; +Ra.isRequired = Ra; +const Rh = process.env.NODE_ENV === "production" ? Ra : Ph; +function Uh(e, t) { + const n = Ge({}, t); return Object.keys(e).forEach((r) => { if (r.toString().match(/^(components|slots)$/)) - n[r] = pe({}, e[r], n[r]); + n[r] = Ge({}, e[r], n[r]); else if (r.toString().match(/^(componentsProps|slotProps)$/)) { const i = e[r] || {}, o = t[r]; - n[r] = {}, !o || !Object.keys(o) ? n[r] = i : !i || !Object.keys(i) ? n[r] = o : (n[r] = pe({}, o), Object.keys(i).forEach((s) => { - n[r][s] = mg(i[s], o[s]); + n[r] = {}, !o || !Object.keys(o) ? n[r] = i : !i || !Object.keys(i) ? n[r] = o : (n[r] = Ge({}, o), Object.keys(i).forEach((s) => { + n[r][s] = Uh(i[s], o[s]); })); } else n[r] === void 0 && (n[r] = e[r]); }), n; } -function _n(e, t, n = void 0) { +function On(e, t, n = void 0) { const r = {}; return Object.keys(e).forEach( // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`. @@ -6414,8 +6203,8 @@ function _n(e, t, n = void 0) { } ), r; } -const Tl = (e) => e, _w = () => { - let e = Tl; +const cl = (e) => e, kv = () => { + let e = cl; return { configure(t) { e = t; @@ -6424,10 +6213,10 @@ const Tl = (e) => e, _w = () => { return e(t); }, reset() { - e = Tl; + e = cl; } }; -}, kw = _w(), zw = kw, Pw = { +}, zv = kv(), Pv = zv, Rv = { active: "active", checked: "checked", completed: "completed", @@ -6441,8 +6230,8 @@ const Tl = (e) => e, _w = () => { selected: "selected" }; function Zt(e, t, n = "Mui") { - const r = Pw[t]; - return r ? `${n}-${r}` : `${zw.generate(e)}-${t}`; + const r = Rv[t]; + return r ? `${n}-${r}` : `${Pv.generate(e)}-${t}`; } function Pt(e, t, n = "Mui") { const r = {}; @@ -6450,27 +6239,35 @@ function Pt(e, t, n = "Mui") { r[i] = Zt(e, i, n); }), r; } -function Rw(e) { +function ur(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 Uv(e) { return typeof e == "function" ? e() : e; } -const zo = /* @__PURE__ */ re.forwardRef(function(t, n) { +const ko = /* @__PURE__ */ oe.forwardRef(function(t, n) { const { children: r, container: i, disablePortal: o = !1 - } = t, [s, a] = re.useState(null), u = jt(/* @__PURE__ */ re.isValidElement(r) ? r.ref : null, n); - return Ci(() => { - o || a(Rw(i) || document.body); - }, [i, o]), Ci(() => { + } = t, [s, a] = oe.useState(null), u = Tt(/* @__PURE__ */ oe.isValidElement(r) ? r.ref : null, n); + return bi(() => { + o || a(Uv(i) || document.body); + }, [i, o]), bi(() => { if (s && !o) - return Va(n, s), () => { - Va(n, null); + return za(n, s), () => { + za(n, null); }; - }, [n, s, o]), o ? /* @__PURE__ */ re.isValidElement(r) ? /* @__PURE__ */ re.cloneElement(r, { + }, [n, s, o]), o ? /* @__PURE__ */ oe.isValidElement(r) ? /* @__PURE__ */ oe.cloneElement(r, { ref: u - }) : r : s && /* @__PURE__ */ FM.createPortal(r, s); + }) : r : s && /* @__PURE__ */ nM.createPortal(r, s); }); -process.env.NODE_ENV !== "production" && (zo.propTypes = { +process.env.NODE_ENV !== "production" && (ko.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -6493,48 +6290,48 @@ process.env.NODE_ENV !== "production" && (zo.propTypes = { */ disablePortal: D.bool }); -process.env.NODE_ENV !== "production" && (zo["propTypes"] = fg(zo.propTypes)); -const Uw = zo; -function Fw(e) { +process.env.NODE_ENV !== "production" && (ko["propTypes"] = Oh(ko.propTypes)); +const Fv = ko; +function Yv(e) { const t = $t(e); - return t.body === e ? bi(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight; + return t.body === e ? Si(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight; } -function mi(e, t) { +function yi(e, t) { t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden"); } -function jl(e) { - return parseInt(bi(e).getComputedStyle(e).paddingRight, 10) || 0; +function ll(e) { + return parseInt(Si(e).getComputedStyle(e).paddingRight, 10) || 0; } -function Sl(e, t, n, r = [], i) { +function fl(e, t, n, r = [], i) { const o = [t, n, ...r], s = ["TEMPLATE", "SCRIPT", "STYLE"]; [].forEach.call(e.children, (a) => { - o.indexOf(a) === -1 && s.indexOf(a.tagName) === -1 && mi(a, i); + o.indexOf(a) === -1 && s.indexOf(a.tagName) === -1 && yi(a, i); }); } -function Ks(e, t) { +function Ws(e, t) { let n = -1; return e.some((r, i) => t(r) ? (n = i, !0) : !1), n; } -function Yw(e, t) { +function Qv(e, t) { const n = [], r = e.container; if (!t.disableScrollLock) { - if (Fw(r)) { - const u = gg($t(r)); + if (Yv(r)) { + const u = kh($t(r)); n.push({ value: r.style.paddingRight, property: "padding-right", el: r - }), r.style.paddingRight = `${jl(r) + u}px`; + }), r.style.paddingRight = `${ll(r) + u}px`; const c = $t(r).querySelectorAll(".mui-fixed"); [].forEach.call(c, (l) => { n.push({ value: l.style.paddingRight, property: "padding-right", el: l - }), l.style.paddingRight = `${jl(l) + u}px`; + }), l.style.paddingRight = `${ll(l) + u}px`; }); } - const o = r.parentElement, s = bi(r), a = (o == null ? void 0 : o.nodeName) === "HTML" && s.getComputedStyle(o).overflowY === "scroll" ? o : r; + const o = r.parentElement, s = Si(r), a = (o == null ? void 0 : o.nodeName) === "HTML" && s.getComputedStyle(o).overflowY === "scroll" ? o : r; n.push({ value: a.style.overflow, property: "overflow", @@ -6559,13 +6356,13 @@ function Yw(e, t) { }); }; } -function Bw(e) { +function Bv(e) { const t = []; return [].forEach.call(e.children, (n) => { n.getAttribute("aria-hidden") === "true" && t.push(n); }), t; } -class Qw { +class $v { constructor() { this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = []; } @@ -6573,10 +6370,10 @@ class Qw { let r = this.modals.indexOf(t); if (r !== -1) return r; - r = this.modals.length, this.modals.push(t), t.modalRef && mi(t.modalRef, !1); - const i = Bw(n); - Sl(n, t.mount, t.modalRef, i, !0); - const o = Ks(this.containers, (s) => s.container === n); + r = this.modals.length, this.modals.push(t), t.modalRef && yi(t.modalRef, !1); + const i = Bv(n); + fl(n, t.mount, t.modalRef, i, !0); + const o = Ws(this.containers, (s) => s.container === n); return o !== -1 ? (this.containers[o].modals.push(t), r) : (this.containers.push({ modals: [t], container: n, @@ -6585,19 +6382,19 @@ class Qw { }), r); } mount(t, n) { - const r = Ks(this.containers, (o) => o.modals.indexOf(t) !== -1), i = this.containers[r]; - i.restore || (i.restore = Yw(i, n)); + const r = Ws(this.containers, (o) => o.modals.indexOf(t) !== -1), i = this.containers[r]; + i.restore || (i.restore = Qv(i, n)); } remove(t) { const n = this.modals.indexOf(t); if (n === -1) return n; - const r = Ks(this.containers, (o) => o.modals.indexOf(t) !== -1), i = this.containers[r]; + const r = Ws(this.containers, (o) => o.modals.indexOf(t) !== -1), i = this.containers[r]; if (i.modals.splice(i.modals.indexOf(t), 1), this.modals.splice(n, 1), i.modals.length === 0) - i.restore && i.restore(), t.modalRef && mi(t.modalRef, !0), Sl(i.container, t.mount, t.modalRef, i.hiddenSiblings, !1), this.containers.splice(r, 1); + i.restore && i.restore(), t.modalRef && yi(t.modalRef, !0), fl(i.container, t.mount, t.modalRef, i.hiddenSiblings, !1), this.containers.splice(r, 1); else { const o = i.modals[i.modals.length - 1]; - o.modalRef && mi(o.modalRef, !1); + o.modalRef && yi(o.modalRef, !1); } return n; } @@ -6605,48 +6402,48 @@ class Qw { return this.modals.length > 0 && this.modals[this.modals.length - 1] === t; } } -const $w = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(","); -function Ww(e) { +const Wv = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(","); +function Vv(e) { const t = parseInt(e.getAttribute("tabindex"), 10); return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t; } -function Vw(e) { +function Hv(e) { if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name) return !1; const t = (r) => e.ownerDocument.querySelector(`input[type="radio"]${r}`); let n = t(`[name="${e.name}"]:checked`); return n || (n = t(`[name="${e.name}"]`)), n !== e; } -function Hw(e) { - return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Vw(e)); +function qv(e) { + return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Hv(e)); } -function qw(e) { +function Kv(e) { const t = [], n = []; - return Array.from(e.querySelectorAll($w)).forEach((r, i) => { - const o = Ww(r); - o === -1 || !Hw(r) || (o === 0 ? t.push(r) : n.push({ + return Array.from(e.querySelectorAll(Wv)).forEach((r, i) => { + const o = Vv(r); + o === -1 || !qv(r) || (o === 0 ? t.push(r) : n.push({ documentOrder: i, tabIndex: o, node: r })); }), n.sort((r, i) => r.tabIndex === i.tabIndex ? r.documentOrder - i.documentOrder : r.tabIndex - i.tabIndex).map((r) => r.node).concat(t); } -function Kw() { +function Gv() { return !0; } -function Po(e) { +function zo(e) { const { children: t, disableAutoFocus: n = !1, disableEnforceFocus: r = !1, disableRestoreFocus: i = !1, - getTabbable: o = qw, - isEnabled: s = Kw, + getTabbable: o = Kv, + isEnabled: s = Gv, open: a - } = e, u = re.useRef(), c = re.useRef(null), l = re.useRef(null), f = re.useRef(null), d = re.useRef(null), g = re.useRef(!1), h = re.useRef(null), p = jt(t.ref, h), m = re.useRef(null); - re.useEffect(() => { + } = e, u = oe.useRef(), c = oe.useRef(null), l = oe.useRef(null), f = oe.useRef(null), d = oe.useRef(null), g = oe.useRef(!1), h = oe.useRef(null), p = Tt(t.ref, h), m = oe.useRef(null); + oe.useEffect(() => { !a || !h.current || (g.current = !n); - }, [n, a]), re.useEffect(() => { + }, [n, a]), oe.useEffect(() => { if (!a || !h.current) return; const j = $t(h.current); @@ -6654,19 +6451,19 @@ function Po(e) { `)), h.current.setAttribute("tabIndex", -1)), g.current && h.current.focus()), () => { i || (f.current && f.current.focus && (u.current = !0, f.current.focus()), f.current = null); }; - }, [a]), re.useEffect(() => { + }, [a]), oe.useEffect(() => { if (!a || !h.current) return; - const j = $t(h.current), N = (z) => { + const j = $t(h.current), I = (z) => { const { - current: W + current: H } = h; - if (W !== null) { + if (H !== null) { if (!j.hasFocus() || r || !s() || u.current) { u.current = !1; return; } - if (!W.contains(j.activeElement)) { + if (!H.contains(j.activeElement)) { if (z && d.current !== z.target || j.activeElement !== d.current) d.current = null; else if (d.current !== null) @@ -6675,38 +6472,38 @@ function Po(e) { return; let k = []; if ((j.activeElement === c.current || j.activeElement === l.current) && (k = o(h.current)), k.length > 0) { - var $, b; - const U = !!(($ = m.current) != null && $.shiftKey && ((b = m.current) == null ? void 0 : b.key) === "Tab"), x = k[0], T = k[k.length - 1]; + var W, b; + const U = !!((W = m.current) != null && W.shiftKey && ((b = m.current) == null ? void 0 : b.key) === "Tab"), x = k[0], T = k[k.length - 1]; U ? T.focus() : x.focus(); } else - W.focus(); + H.focus(); } } - }, I = (z) => { + }, N = (z) => { m.current = z, !(r || !s() || z.key !== "Tab") && j.activeElement === h.current && z.shiftKey && (u.current = !0, l.current.focus()); }; - j.addEventListener("focusin", N), j.addEventListener("keydown", I, !0); - const B = setInterval(() => { - j.activeElement.tagName === "BODY" && N(); + j.addEventListener("focusin", I), j.addEventListener("keydown", N, !0); + const Q = setInterval(() => { + j.activeElement.tagName === "BODY" && I(); }, 50); return () => { - clearInterval(B), j.removeEventListener("focusin", N), j.removeEventListener("keydown", I, !0); + clearInterval(Q), j.removeEventListener("focusin", I), j.removeEventListener("keydown", N, !0); }; }, [n, r, i, s, a, o]); const v = (j) => { f.current === null && (f.current = j.relatedTarget), g.current = !0, d.current = j.target; - const N = t.props.onFocus; - N && N(j); + const I = t.props.onFocus; + I && I(j); }, w = (j) => { f.current === null && (f.current = j.relatedTarget), g.current = !0; }; - return /* @__PURE__ */ ge.jsxs(re.Fragment, { + return /* @__PURE__ */ ge.jsxs(oe.Fragment, { children: [/* @__PURE__ */ ge.jsx("div", { tabIndex: 0, onFocus: w, ref: c, "data-test": "sentinelStart" - }), /* @__PURE__ */ re.cloneElement(t, { + }), /* @__PURE__ */ oe.cloneElement(t, { ref: p, onFocus: v }), /* @__PURE__ */ ge.jsx("div", { @@ -6717,7 +6514,7 @@ function Po(e) { })] }); } -process.env.NODE_ENV !== "production" && (Po.propTypes = { +process.env.NODE_ENV !== "production" && (zo.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -6771,28 +6568,28 @@ process.env.NODE_ENV !== "production" && (Po.propTypes = { */ open: D.bool.isRequired }); -process.env.NODE_ENV !== "production" && (Po["propTypes"] = fg(Po.propTypes)); -function Gw(e) { +process.env.NODE_ENV !== "production" && (zo["propTypes"] = Oh(zo.propTypes)); +function Jv(e) { return Zt("MuiModal", e); } Pt("MuiModal", ["root", "hidden"]); -const Jw = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"], Zw = (e) => { +const Zv = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"], Xv = (e) => { const { open: t, exited: n, classes: r } = e; - return _n({ + return On({ root: ["root", !t && n && "hidden"] - }, Gw, r); + }, Jv, r); }; -function Xw(e) { +function ew(e) { return typeof e == "function" ? e() : e; } -function e0(e) { +function tw(e) { return e.children ? e.children.props.hasOwnProperty("in") : !1; } -const t0 = new Qw(), vg = /* @__PURE__ */ re.forwardRef(function(t, n) { +const nw = new $v(), Fh = /* @__PURE__ */ oe.forwardRef(function(t, n) { const { BackdropComponent: r, BackdropProps: i, @@ -6811,36 +6608,36 @@ const t0 = new Qw(), vg = /* @__PURE__ */ re.forwardRef(function(t, n) { disableRestoreFocus: v = !1, disableScrollLock: w = !1, hideBackdrop: j = !1, - keepMounted: N = !1, + keepMounted: I = !1, // private // eslint-disable-next-line react/prop-types - manager: I = t0, - onBackdropClick: B, + manager: N = nw, + onBackdropClick: Q, onClose: z, - onKeyDown: W, - open: $, + onKeyDown: H, + open: W, /* eslint-disable react/prop-types */ theme: b, onTransitionEnter: k, onTransitionExited: U - } = t, x = Je(t, Jw), [T, S] = re.useState(!0), R = re.useRef({}), C = re.useRef(null), J = re.useRef(null), ie = jt(J, n), L = e0(t), F = () => $t(C.current), P = () => (R.current.modalRef = J.current, R.current.mountNode = C.current, R.current), q = () => { - I.mount(P(), { + } = t, x = ur(t, Zv), [T, S] = oe.useState(!0), R = oe.useRef({}), C = oe.useRef(null), J = oe.useRef(null), re = Tt(J, n), L = tw(t), F = () => $t(C.current), P = () => (R.current.modalRef = J.current, R.current.mountNode = C.current, R.current), q = () => { + N.mount(P(), { disableScrollLock: w }), J.current.scrollTop = 0; }, K = Tr(() => { - const de = Xw(d) || F().body; - I.add(P(), de), J.current && q(); - }), X = re.useCallback(() => I.isTopModal(P()), [I]), O = Tr((de) => { - C.current = de, de && ($ && X() ? q() : mi(J.current, !0)); - }), ne = re.useCallback(() => { - I.remove(P()); - }, [I]); - re.useEffect(() => () => { + const de = ew(d) || F().body; + N.add(P(), de), J.current && q(); + }), X = oe.useCallback(() => N.isTopModal(P()), [N]), O = Tr((de) => { + C.current = de, de && (W && X() ? q() : yi(J.current, !0)); + }), ne = oe.useCallback(() => { + N.remove(P()); + }, [N]); + oe.useEffect(() => () => { ne(); - }, [ne]), re.useEffect(() => { - $ ? K() : (!L || !u) && ne(); - }, [$, ne, L, u, K]); - const G = pe({}, t, { + }, [ne]), oe.useEffect(() => { + W ? K() : (!L || !u) && ne(); + }, [W, ne, L, u, K]); + const G = Ge({}, t, { classes: s, closeAfterTransition: u, disableAutoFocus: g, @@ -6851,51 +6648,51 @@ const t0 = new Qw(), vg = /* @__PURE__ */ re.forwardRef(function(t, n) { disableScrollLock: w, exited: T, hideBackdrop: j, - keepMounted: N - }), he = Zw(G); - if (!N && !$ && (!L || T)) + keepMounted: I + }), he = Xv(G); + if (!I && !W && (!L || T)) return null; - const H = () => { + const V = () => { S(!1), k && k(); - }, Q = () => { + }, B = () => { S(!0), U && U(), u && ne(); - }, V = (de) => { - de.target === de.currentTarget && (B && B(de), z && z(de, "backdropClick")); + }, $ = (de) => { + de.target === de.currentTarget && (Q && Q(de), z && z(de, "backdropClick")); }, fe = (de) => { - W && W(de), !(de.key !== "Escape" || !X()) && (p || (de.stopPropagation(), z && z(de, "escapeKeyDown"))); + H && H(de), !(de.key !== "Escape" || !X()) && (p || (de.stopPropagation(), z && z(de, "escapeKeyDown"))); }, te = {}; - o.props.tabIndex === void 0 && (te.tabIndex = "-1"), L && (te.onEnter = Il(H, o.props.onEnter), te.onExited = Il(Q, o.props.onExited)); - const le = l.Root || c, Me = f.root || {}; - return /* @__PURE__ */ ge.jsx(Uw, { + o.props.tabIndex === void 0 && (te.tabIndex = "-1"), L && (te.onEnter = al(V, o.props.onEnter), te.onExited = al(B, o.props.onExited)); + const le = l.Root || c, pe = f.root || {}; + return /* @__PURE__ */ ge.jsx(Fv, { ref: O, container: d, disablePortal: m, - children: /* @__PURE__ */ ge.jsxs(le, pe({ + children: /* @__PURE__ */ ge.jsxs(le, Ge({ role: "presentation" - }, Me, !sg(le) && { + }, pe, !jh(le) && { as: c, - ownerState: pe({}, G, Me.ownerState), + ownerState: Ge({}, G, pe.ownerState), theme: b }, x, { - ref: ie, + ref: re, onKeyDown: fe, - className: at(he.root, Me.className, a), - children: [!j && r ? /* @__PURE__ */ ge.jsx(r, pe({ + className: st(he.root, pe.className, a), + children: [!j && r ? /* @__PURE__ */ ge.jsx(r, Ge({ "aria-hidden": !0, - open: $, - onClick: V - }, i)) : null, /* @__PURE__ */ ge.jsx(Po, { + open: W, + onClick: $ + }, i)) : null, /* @__PURE__ */ ge.jsx(zo, { disableEnforceFocus: h, disableAutoFocus: g, disableRestoreFocus: v, isEnabled: X, - open: $, - children: /* @__PURE__ */ re.cloneElement(o, te) + open: W, + children: /* @__PURE__ */ oe.cloneElement(o, te) })] })) }); }); -process.env.NODE_ENV !== "production" && (vg.propTypes = { +process.env.NODE_ENV !== "production" && (Fh.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -7026,19 +6823,19 @@ process.env.NODE_ENV !== "production" && (vg.propTypes = { */ open: D.bool.isRequired }); -const n0 = vg; -function r0(e) { +const rw = Fh; +function iw(e) { if (e.sheet) return e.sheet; for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t]; } -function i0(e) { +function ow(e) { var t = document.createElement("style"); return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t; } -var o0 = /* @__PURE__ */ function() { +var sw = /* @__PURE__ */ function() { function e(n) { var r = this; this._insertTag = function(i) { @@ -7050,7 +6847,7 @@ var o0 = /* @__PURE__ */ function() { return t.hydrate = function(r) { r.forEach(this._insertTag); }, t.insert = function(r) { - this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(i0(this)); + this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ow(this)); var i = this.tags[this.tags.length - 1]; if (process.env.NODE_ENV !== "production") { var o = r.charCodeAt(0) === 64 && r.charCodeAt(1) === 105; @@ -7058,7 +6855,7 @@ var o0 = /* @__PURE__ */ function() { ` + r + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !o; } if (this.isSpeedy) { - var s = r0(i); + var s = iw(i); try { s.insertRule(r, s.cssRules.length); } catch (a) { @@ -7072,66 +6869,66 @@ var o0 = /* @__PURE__ */ function() { return r.parentNode && r.parentNode.removeChild(r); }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1); }, e; -}(), dt = "-ms-", Ro = "-moz-", _e = "-webkit-", Gu = "comm", Ju = "rule", Zu = "decl", s0 = "@import", wg = "@keyframes", a0 = Math.abs, is = String.fromCharCode, u0 = Object.assign; -function c0(e, t) { +}(), ht = "-ms-", Po = "-moz-", _e = "-webkit-", zu = "comm", Pu = "rule", Ru = "decl", aw = "@import", Yh = "@keyframes", uw = Math.abs, ts = String.fromCharCode, cw = Object.assign; +function lw(e, t) { return lt(e, 0) ^ 45 ? (((t << 2 ^ lt(e, 0)) << 2 ^ lt(e, 1)) << 2 ^ lt(e, 2)) << 2 ^ lt(e, 3) : 0; } -function Dg(e) { +function Qh(e) { return e.trim(); } -function l0(e, t) { +function fw(e, t) { return (e = t.exec(e)) ? e[0] : e; } function ze(e, t, n) { return e.replace(t, n); } -function Ka(e, t) { +function Ua(e, t) { return e.indexOf(t); } function lt(e, t) { return e.charCodeAt(t) | 0; } -function xi(e, t, n) { +function Ci(e, t, n) { return e.slice(t, n); } function qt(e) { return e.length; } -function Xu(e) { +function Uu(e) { return e.length; } function io(e, t) { return t.push(e), e; } -function f0(e, t) { +function dw(e, t) { return e.map(t).join(""); } -var os = 1, zr = 1, Ag = 0, Dt = 0, ot = 0, $r = ""; -function ss(e, t, n, r, i, o, s) { - return { value: e, root: t, parent: n, type: r, props: i, children: o, line: os, column: zr, length: s, return: "" }; +var ns = 1, zr = 1, Bh = 0, Dt = 0, it = 0, Br = ""; +function rs(e, t, n, r, i, o, s) { + return { value: e, root: t, parent: n, type: r, props: i, children: o, line: ns, column: zr, length: s, return: "" }; } -function Zr(e, t) { - return u0(ss("", null, null, "", null, null, 0), e, { length: -e.length }, t); +function Jr(e, t) { + return cw(rs("", null, null, "", null, null, 0), e, { length: -e.length }, t); } -function d0() { - return ot; +function hw() { + return it; } -function h0() { - return ot = Dt > 0 ? lt($r, --Dt) : 0, zr--, ot === 10 && (zr = 1, os--), ot; +function gw() { + return it = Dt > 0 ? lt(Br, --Dt) : 0, zr--, it === 10 && (zr = 1, ns--), it; } -function St() { - return ot = Dt < Ag ? lt($r, Dt++) : 0, zr++, ot === 10 && (zr = 1, os++), ot; +function jt() { + return it = Dt < Bh ? lt(Br, Dt++) : 0, zr++, it === 10 && (zr = 1, ns++), it; } function Jt() { - return lt($r, Dt); + return lt(Br, Dt); } -function wo() { +function vo() { return Dt; } function Vi(e, t) { - return xi($r, e, t); + return Ci(Br, e, t); } -function Oi(e) { +function xi(e) { switch (e) { case 0: case 9: @@ -7163,84 +6960,84 @@ function Oi(e) { } return 0; } -function Eg(e) { - return os = zr = 1, Ag = qt($r = e), Dt = 0, []; +function $h(e) { + return ns = zr = 1, Bh = qt(Br = e), Dt = 0, []; } -function Ig(e) { - return $r = "", e; +function Wh(e) { + return Br = "", e; } -function Do(e) { - return Dg(Vi(Dt - 1, Ga(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); +function wo(e) { + return Qh(Vi(Dt - 1, Fa(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } -function g0(e) { - for (; (ot = Jt()) && ot < 33; ) - St(); - return Oi(e) > 2 || Oi(ot) > 3 ? "" : " "; +function pw(e) { + for (; (it = Jt()) && it < 33; ) + jt(); + return xi(e) > 2 || xi(it) > 3 ? "" : " "; } -function p0(e, t) { - for (; --t && St() && !(ot < 48 || ot > 102 || ot > 57 && ot < 65 || ot > 70 && ot < 97); ) +function Mw(e, t) { + for (; --t && jt() && !(it < 48 || it > 102 || it > 57 && it < 65 || it > 70 && it < 97); ) ; - return Vi(e, wo() + (t < 6 && Jt() == 32 && St() == 32)); + return Vi(e, vo() + (t < 6 && Jt() == 32 && jt() == 32)); } -function Ga(e) { - for (; St(); ) - switch (ot) { +function Fa(e) { + for (; jt(); ) + switch (it) { case e: return Dt; case 34: case 39: - e !== 34 && e !== 39 && Ga(ot); + e !== 34 && e !== 39 && Fa(it); break; case 40: - e === 41 && Ga(e); + e === 41 && Fa(e); break; case 92: - St(); + jt(); break; } return Dt; } -function M0(e, t) { - for (; St() && e + ot !== 47 + 10; ) - if (e + ot === 42 + 42 && Jt() === 47) +function yw(e, t) { + for (; jt() && e + it !== 47 + 10; ) + if (e + it === 42 + 42 && Jt() === 47) break; - return "/*" + Vi(t, Dt - 1) + "*" + is(e === 47 ? e : St()); + return "/*" + Vi(t, Dt - 1) + "*" + ts(e === 47 ? e : jt()); } -function y0(e) { - for (; !Oi(Jt()); ) - St(); +function mw(e) { + for (; !xi(Jt()); ) + jt(); return Vi(e, Dt); } -function m0(e) { - return Ig(Ao("", null, null, null, [""], e = Eg(e), 0, [0], e)); +function vw(e) { + return Wh(Do("", null, null, null, [""], e = $h(e), 0, [0], e)); } -function Ao(e, t, n, r, i, o, s, a, u) { - for (var c = 0, l = 0, f = s, d = 0, g = 0, h = 0, p = 1, m = 1, v = 1, w = 0, j = "", N = i, I = o, B = r, z = j; m; ) - switch (h = w, w = St()) { +function Do(e, t, n, r, i, o, s, a, u) { + for (var c = 0, l = 0, f = s, d = 0, g = 0, h = 0, p = 1, m = 1, v = 1, w = 0, j = "", I = i, N = o, Q = r, z = j; m; ) + switch (h = w, w = jt()) { case 40: if (h != 108 && lt(z, f - 1) == 58) { - Ka(z += ze(Do(w), "&", "&\f"), "&\f") != -1 && (v = -1); + Ua(z += ze(wo(w), "&", "&\f"), "&\f") != -1 && (v = -1); break; } case 34: case 39: case 91: - z += Do(w); + z += wo(w); break; case 9: case 10: case 13: case 32: - z += g0(h); + z += pw(h); break; case 92: - z += p0(wo() - 1, 7); + z += Mw(vo() - 1, 7); continue; case 47: switch (Jt()) { case 42: case 47: - io(v0(M0(St(), wo()), t, n), u); + io(ww(yw(jt(), vo()), t, n), u); break; default: z += "/"; @@ -7256,23 +7053,23 @@ function Ao(e, t, n, r, i, o, s, a, u) { case 125: m = 0; case 59 + l: - v == -1 && (z = ze(z, /\f/g, "")), g > 0 && qt(z) - f && io(g > 32 ? Cl(z + ";", r, n, f - 1) : Cl(ze(z, " ", "") + ";", r, n, f - 2), u); + v == -1 && (z = ze(z, /\f/g, "")), g > 0 && qt(z) - f && io(g > 32 ? hl(z + ";", r, n, f - 1) : hl(ze(z, " ", "") + ";", r, n, f - 2), u); break; case 59: z += ";"; default: - if (io(B = bl(z, t, n, c, l, i, a, j, N = [], I = [], f), o), w === 123) + if (io(Q = dl(z, t, n, c, l, i, a, j, I = [], N = [], f), o), w === 123) if (l === 0) - Ao(z, t, B, B, N, o, f, a, I); + Do(z, t, Q, Q, I, o, f, a, N); else switch (d === 99 && lt(z, 3) === 110 ? 100 : d) { case 100: case 109: case 115: - Ao(e, B, B, r && io(bl(e, B, B, 0, 0, i, a, j, i, N = [], f), I), i, I, f, a, r ? N : I); + Do(e, Q, Q, r && io(dl(e, Q, Q, 0, 0, i, a, j, i, I = [], f), N), i, N, f, a, r ? I : N); break; default: - Ao(z, B, B, B, [""], I, 0, a, I); + Do(z, Q, Q, Q, [""], N, 0, a, N); } } c = l = g = 0, p = v = 1, j = z = "", f = s; @@ -7283,10 +7080,10 @@ function Ao(e, t, n, r, i, o, s, a, u) { if (p < 1) { if (w == 123) --p; - else if (w == 125 && p++ == 0 && h0() == 125) + else if (w == 125 && p++ == 0 && gw() == 125) continue; } - switch (z += is(w), w * p) { + switch (z += ts(w), w * p) { case 38: v = l > 0 ? 1 : (z += "\f", -1); break; @@ -7294,7 +7091,7 @@ function Ao(e, t, n, r, i, o, s, a, u) { a[c++] = (qt(z) - 1) * v, v = 1; break; case 64: - Jt() === 45 && (z += Do(St())), d = Jt(), l = f = qt(j = z += y0(wo())), w++; + Jt() === 45 && (z += wo(jt())), d = Jt(), l = f = qt(j = z += mw(vo())), w++; break; case 45: h === 45 && qt(z) == 2 && (p = 0); @@ -7302,63 +7099,63 @@ function Ao(e, t, n, r, i, o, s, a, u) { } return o; } -function bl(e, t, n, r, i, o, s, a, u, c, l) { - for (var f = i - 1, d = i === 0 ? o : [""], g = Xu(d), h = 0, p = 0, m = 0; h < r; ++h) - for (var v = 0, w = xi(e, f + 1, f = a0(p = s[h])), j = e; v < g; ++v) - (j = Dg(p > 0 ? d[v] + " " + w : ze(w, /&\f/g, d[v]))) && (u[m++] = j); - return ss(e, t, n, i === 0 ? Ju : a, u, c, l); +function dl(e, t, n, r, i, o, s, a, u, c, l) { + for (var f = i - 1, d = i === 0 ? o : [""], g = Uu(d), h = 0, p = 0, m = 0; h < r; ++h) + for (var v = 0, w = Ci(e, f + 1, f = uw(p = s[h])), j = e; v < g; ++v) + (j = Qh(p > 0 ? d[v] + " " + w : ze(w, /&\f/g, d[v]))) && (u[m++] = j); + return rs(e, t, n, i === 0 ? Pu : a, u, c, l); } -function v0(e, t, n) { - return ss(e, t, n, Gu, is(d0()), xi(e, 2, -2), 0); +function ww(e, t, n) { + return rs(e, t, n, zu, ts(hw()), Ci(e, 2, -2), 0); } -function Cl(e, t, n, r) { - return ss(e, t, n, Zu, xi(e, 0, r), xi(e, r + 1, -1), r); +function hl(e, t, n, r) { + return rs(e, t, n, Ru, Ci(e, 0, r), Ci(e, r + 1, -1), r); } function br(e, t) { - for (var n = "", r = Xu(e), i = 0; i < r; i++) + for (var n = "", r = Uu(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || ""; return n; } -function w0(e, t, n, r) { +function Dw(e, t, n, r) { switch (e.type) { - case s0: - case Zu: + case aw: + case Ru: return e.return = e.return || e.value; - case Gu: + case zu: return ""; - case wg: + case Yh: return e.return = e.value + "{" + br(e.children, r) + "}"; - case Ju: + case Pu: e.value = e.props.join(","); } return qt(n = br(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; } -function D0(e) { - var t = Xu(e); +function Aw(e) { + var t = Uu(e); return function(n, r, i, o) { for (var s = "", a = 0; a < t; a++) s += e[a](n, r, i, o) || ""; return s; }; } -function A0(e) { +function Ew(e) { return function(t) { t.root || (t = t.return) && e(t); }; } -var E0 = function(t, n, r) { - for (var i = 0, o = 0; i = o, o = Jt(), i === 38 && o === 12 && (n[r] = 1), !Oi(o); ) - St(); +var Iw = function(t, n, r) { + for (var i = 0, o = 0; i = o, o = Jt(), i === 38 && o === 12 && (n[r] = 1), !xi(o); ) + jt(); return Vi(t, Dt); -}, I0 = function(t, n) { +}, Nw = function(t, n) { var r = -1, i = 44; do - switch (Oi(i)) { + switch (xi(i)) { case 0: - i === 38 && Jt() === 12 && (n[r] = 1), t[r] += E0(Dt - 1, n, r); + i === 38 && Jt() === 12 && (n[r] = 1), t[r] += Iw(Dt - 1, n, r); break; case 2: - t[r] += Do(i); + t[r] += wo(i); break; case 4: if (i === 44) { @@ -7366,36 +7163,36 @@ var E0 = function(t, n, r) { break; } default: - t[r] += is(i); + t[r] += ts(i); } - while (i = St()); + while (i = jt()); return t; -}, N0 = function(t, n) { - return Ig(I0(Eg(t), n)); -}, xl = /* @__PURE__ */ new WeakMap(), T0 = function(t) { +}, Tw = function(t, n) { + return Wh(Nw($h(t), n)); +}, gl = /* @__PURE__ */ new WeakMap(), jw = function(t) { if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo // negative .length indicates that this rule has been already prefixed t.length < 1)) { for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; ) if (r = r.parent, !r) return; - if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !xl.get(r)) && !i) { - xl.set(t, !0); - for (var o = [], s = N0(n, o), a = r.props, u = 0, c = 0; u < s.length; u++) + if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !gl.get(r)) && !i) { + gl.set(t, !0); + for (var o = [], s = Tw(n, o), a = r.props, u = 0, c = 0; u < s.length; u++) for (var l = 0; l < a.length; l++, c++) t.props[c] = o[u] ? s[u].replace(/&\f/g, a[l]) : a[l] + " " + s[u]; } } -}, j0 = function(t) { +}, Sw = function(t) { if (t.type === "decl") { var n = t.value; // charcode for l n.charCodeAt(0) === 108 && // charcode for b n.charCodeAt(2) === 98 && (t.return = "", t.value = ""); } -}, S0 = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", b0 = function(t) { - return t.type === "comm" && t.children.indexOf(S0) > -1; -}, C0 = function(t) { +}, bw = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", Cw = function(t) { + return t.type === "comm" && t.children.indexOf(bw) > -1; +}, xw = function(t) { return function(n, r, i) { if (!(n.type !== "rule" || t.compat)) { var o = n.value.match(/(:first|:nth|:nth-last)-child/g); @@ -7408,7 +7205,7 @@ var E0 = function(t, n, r) { if (c.line < n.line) break; if (c.column < n.column) { - if (b0(c)) + if (Cw(c)) return; break; } @@ -7419,20 +7216,20 @@ var E0 = function(t, n, r) { } } }; -}, Ng = function(t) { +}, Vh = function(t) { return t.type.charCodeAt(1) === 105 && t.type.charCodeAt(0) === 64; -}, x0 = function(t, n) { +}, Ow = function(t, n) { for (var r = t - 1; r >= 0; r--) - if (!Ng(n[r])) + if (!Vh(n[r])) return !0; return !1; -}, Ol = function(t) { +}, pl = function(t) { t.type = "", t.value = "", t.return = "", t.children = "", t.props = ""; -}, O0 = function(t, n, r) { - Ng(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Ol(t)) : x0(n, r) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Ol(t))); +}, Lw = function(t, n, r) { + Vh(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), pl(t)) : Ow(n, r) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), pl(t))); }; -function Tg(e, t) { - switch (c0(e, t)) { +function Hh(e, t) { + switch (lw(e, t)) { case 5103: return _e + "print-" + e + e; case 5737: @@ -7466,24 +7263,24 @@ function Tg(e, t) { case 4810: case 6968: case 2756: - return _e + e + Ro + e + dt + e + e; + return _e + e + Po + e + ht + e + e; case 6828: case 4268: - return _e + e + dt + e + e; + return _e + e + ht + e + e; case 6165: - return _e + e + dt + "flex-" + e + e; + return _e + e + ht + "flex-" + e + e; case 5187: - return _e + e + ze(e, /(\w+).+(:[^]+)/, _e + "box-$1$2" + dt + "flex-$1$2") + e; + return _e + e + ze(e, /(\w+).+(:[^]+)/, _e + "box-$1$2" + ht + "flex-$1$2") + e; case 5443: - return _e + e + dt + "flex-item-" + ze(e, /flex-|-self/, "") + e; + return _e + e + ht + "flex-item-" + ze(e, /flex-|-self/, "") + e; case 4675: - return _e + e + dt + "flex-line-pack" + ze(e, /align-content|flex-|-self/, "") + e; + return _e + e + ht + "flex-line-pack" + ze(e, /align-content|flex-|-self/, "") + e; case 5548: - return _e + e + dt + ze(e, "shrink", "negative") + e; + return _e + e + ht + ze(e, "shrink", "negative") + e; case 5292: - return _e + e + dt + ze(e, "basis", "preferred-size") + e; + return _e + e + ht + ze(e, "basis", "preferred-size") + e; case 6060: - return _e + "box-" + ze(e, "-grow", "") + _e + e + dt + ze(e, "grow", "positive") + e; + return _e + "box-" + ze(e, "-grow", "") + _e + e + ht + ze(e, "grow", "positive") + e; case 4554: return _e + ze(e, /([^-])(transform)/g, "$1" + _e + "$2") + e; case 6187: @@ -7492,7 +7289,7 @@ function Tg(e, t) { case 3959: return ze(e, /(image-set\([^]*)/, _e + "$1$`$1"); case 4968: - return ze(ze(e, /(.+:)(flex-)?(.*)/, _e + "box-pack:$3" + dt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _e + e + e; + return ze(ze(e, /(.+:)(flex-)?(.*)/, _e + "box-pack:$3" + ht + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _e + e + e; case 4095: case 3583: case 4068: @@ -7516,67 +7313,67 @@ function Tg(e, t) { if (lt(e, t + 4) !== 45) break; case 102: - return ze(e, /(.+:)(.+)-([^]+)/, "$1" + _e + "$2-$3$1" + Ro + (lt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; + return ze(e, /(.+:)(.+)-([^]+)/, "$1" + _e + "$2-$3$1" + Po + (lt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: - return ~Ka(e, "stretch") ? Tg(ze(e, "stretch", "fill-available"), t) + e : e; + return ~Ua(e, "stretch") ? Hh(ze(e, "stretch", "fill-available"), t) + e : e; } break; case 4949: if (lt(e, t + 1) !== 115) break; case 6444: - switch (lt(e, qt(e) - 3 - (~Ka(e, "!important") && 10))) { + switch (lt(e, qt(e) - 3 - (~Ua(e, "!important") && 10))) { case 107: return ze(e, ":", ":" + _e) + e; case 101: - return ze(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _e + (lt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _e + "$2$3$1" + dt + "$2box$3") + e; + return ze(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _e + (lt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _e + "$2$3$1" + ht + "$2box$3") + e; } break; case 5936: switch (lt(e, t + 11)) { case 114: - return _e + e + dt + ze(e, /[svh]\w+-[tblr]{2}/, "tb") + e; + return _e + e + ht + ze(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: - return _e + e + dt + ze(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; + return _e + e + ht + ze(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: - return _e + e + dt + ze(e, /[svh]\w+-[tblr]{2}/, "lr") + e; + return _e + e + ht + ze(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } - return _e + e + dt + e + e; + return _e + e + ht + e + e; } return e; } -var L0 = function(t, n, r, i) { +var _w = function(t, n, r, i) { if (t.length > -1 && !t.return) switch (t.type) { - case Zu: - t.return = Tg(t.value, t.length); + case Ru: + t.return = Hh(t.value, t.length); break; - case wg: - return br([Zr(t, { + case Yh: + return br([Jr(t, { value: ze(t.value, "@", "@" + _e) })], i); - case Ju: + case Pu: if (t.length) - return f0(t.props, function(o) { - switch (l0(o, /(::plac\w+|:read-\w+)/)) { + return dw(t.props, function(o) { + switch (fw(o, /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": - return br([Zr(t, { - props: [ze(o, /:(read-\w+)/, ":" + Ro + "$1")] + return br([Jr(t, { + props: [ze(o, /:(read-\w+)/, ":" + Po + "$1")] })], i); case "::placeholder": - return br([Zr(t, { + return br([Jr(t, { props: [ze(o, /:(plac\w+)/, ":" + _e + "input-$1")] - }), Zr(t, { - props: [ze(o, /:(plac\w+)/, ":" + Ro + "$1")] - }), Zr(t, { - props: [ze(o, /:(plac\w+)/, dt + "input-$1")] + }), Jr(t, { + props: [ze(o, /:(plac\w+)/, ":" + Po + "$1")] + }), Jr(t, { + props: [ze(o, /:(plac\w+)/, ht + "input-$1")] })], i); } return ""; }); } -}, _0 = [L0], k0 = function(t) { +}, kw = [_w], zw = function(t) { var n = t.key; if (process.env.NODE_ENV !== "production" && !n) throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. @@ -7588,7 +7385,7 @@ If multiple caches share the same key they might "fight" for each other's style m.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", "")); }); } - var i = t.stylisPlugins || _0; + var i = t.stylisPlugins || kw; if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(n)) throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + n + '" was passed'); var o = {}, s, a = []; @@ -7602,31 +7399,31 @@ If multiple caches share the same key they might "fight" for each other's style a.push(p); } ); - var u, c = [T0, j0]; - process.env.NODE_ENV !== "production" && c.push(C0({ + var u, c = [jw, Sw]; + process.env.NODE_ENV !== "production" && c.push(xw({ get compat() { return h.compat; } - }), O0); + }), Lw); { - var l, f = [w0, process.env.NODE_ENV !== "production" ? function(p) { - p.root || (p.return ? l.insert(p.return) : p.value && p.type !== Gu && l.insert(p.value + "{}")); - } : A0(function(p) { + var l, f = [Dw, process.env.NODE_ENV !== "production" ? function(p) { + p.root || (p.return ? l.insert(p.return) : p.value && p.type !== zu && l.insert(p.value + "{}")); + } : Ew(function(p) { l.insert(p); - })], d = D0(c.concat(i, f)), g = function(m) { - return br(m0(m), d); + })], d = Aw(c.concat(i, f)), g = function(m) { + return br(vw(m), d); }; u = function(m, v, w, j) { l = w, process.env.NODE_ENV !== "production" && v.map !== void 0 && (l = { - insert: function(I) { - w.insert(I + v.map); + insert: function(N) { + w.insert(N + v.map); } }), g(m ? m + "{" + v.styles + "}" : v.styles), j && (h.inserted[v.name] = !0); }; } var h = { key: n, - sheet: new o0({ + sheet: new sw({ key: n, container: s, nonce: t.nonce, @@ -7640,14 +7437,14 @@ If multiple caches share the same key they might "fight" for each other's style insert: u }; return h.sheet.hydrate(a), h; -}, z0 = !0; -function ec(e, t, n) { +}, Pw = !0; +function Fu(e, t, n) { var r = ""; return n.split(" ").forEach(function(i) { e[i] !== void 0 ? t.push(e[i] + ";") : r += i + " "; }), r; } -var as = function(t, n, r) { +var is = function(t, n, r) { var i = t.key + "-" + n.name; // we only need to add the styles to the registered cache if the // class name could be used further down @@ -7658,9 +7455,9 @@ var as = function(t, n, r) { // in node since emotion-server relies on whether a style is in // the registered cache to know whether a style is global or not // also, note that this check will be dead code eliminated in the browser - z0 === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles); -}, us = function(t, n, r) { - as(t, n, r); + Pw === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles); +}, os = function(t, n, r) { + is(t, n, r); var i = t.key + "-" + n.name; if (t.inserted[n.name] === void 0) { var o = n; @@ -7669,7 +7466,7 @@ var as = function(t, n, r) { while (o !== void 0); } }; -function P0(e) { +function Rw(e) { for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */ @@ -7688,7 +7485,7 @@ function P0(e) { return t ^= t >>> 13, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36); } -var R0 = { +var Uw = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, @@ -7735,48 +7532,48 @@ var R0 = { strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 -}, Ll = `You have illegal escape sequence in your template literal, most likely inside content's property value. +}, Ml = `You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, U0 = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", F0 = /[A-Z]|^ms/g, jg = /_EMO_([^_]+?)_([^]*?)_EMO_/g, tc = function(t) { +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Fw = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Yw = /[A-Z]|^ms/g, qh = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Yu = function(t) { return t.charCodeAt(1) === 45; -}, _l = function(t) { +}, yl = function(t) { return t != null && typeof t != "boolean"; -}, Gs = /* @__PURE__ */ bh(function(e) { - return tc(e) ? e : e.replace(F0, "-$&").toLowerCase(); -}), Uo = function(t, n) { +}, Vs = /* @__PURE__ */ ih(function(e) { + return Yu(e) ? e : e.replace(Yw, "-$&").toLowerCase(); +}), Ro = function(t, n) { switch (t) { case "animation": case "animationName": if (typeof n == "string") - return n.replace(jg, function(r, i, o) { - return Bt = { + return n.replace(qh, function(r, i, o) { + return Qt = { name: i, styles: o, - next: Bt + next: Qt }, i; }); } - return R0[t] !== 1 && !tc(t) && typeof n == "number" && n !== 0 ? n + "px" : n; + return Uw[t] !== 1 && !Yu(t) && typeof n == "number" && n !== 0 ? n + "px" : n; }; if (process.env.NODE_ENV !== "production") { - var Y0 = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, B0 = ["normal", "none", "initial", "inherit", "unset"], Q0 = Uo, $0 = /^-ms-/, W0 = /-(.)/g, kl = {}; - Uo = function(t, n) { - if (t === "content" && (typeof n != "string" || B0.indexOf(n) === -1 && !Y0.test(n) && (n.charAt(0) !== n.charAt(n.length - 1) || n.charAt(0) !== '"' && n.charAt(0) !== "'"))) + var Qw = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, Bw = ["normal", "none", "initial", "inherit", "unset"], $w = Ro, Ww = /^-ms-/, Vw = /-(.)/g, ml = {}; + Ro = function(t, n) { + if (t === "content" && (typeof n != "string" || Bw.indexOf(n) === -1 && !Qw.test(n) && (n.charAt(0) !== n.charAt(n.length - 1) || n.charAt(0) !== '"' && n.charAt(0) !== "'"))) throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + n + "\"'`"); - var r = Q0(t, n); - return r !== "" && !tc(t) && t.indexOf("-") !== -1 && kl[t] === void 0 && (kl[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace($0, "ms-").replace(W0, function(i, o) { + var r = $w(t, n); + return r !== "" && !Yu(t) && t.indexOf("-") !== -1 && ml[t] === void 0 && (ml[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(Ww, "ms-").replace(Vw, function(i, o) { return o.toUpperCase(); }) + "?")), r; }; } -var Sg = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform."; -function Li(e, t, n) { +var Kh = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform."; +function Oi(e, t, n) { if (n == null) return ""; if (n.__emotion_styles !== void 0) { if (process.env.NODE_ENV !== "production" && n.toString() === "NO_COMPONENT_SELECTOR") - throw new Error(Sg); + throw new Error(Kh); return n; } switch (typeof n) { @@ -7784,36 +7581,36 @@ function Li(e, t, n) { return ""; case "object": { if (n.anim === 1) - return Bt = { + return Qt = { name: n.name, styles: n.styles, - next: Bt + next: Qt }, n.name; if (n.styles !== void 0) { var r = n.next; if (r !== void 0) for (; r !== void 0; ) - Bt = { + Qt = { name: r.name, styles: r.styles, - next: Bt + next: Qt }, r = r.next; var i = n.styles + ";"; return process.env.NODE_ENV !== "production" && n.map !== void 0 && (i += n.map), i; } - return V0(e, t, n); + return Hw(e, t, n); } case "function": { if (e !== void 0) { - var o = Bt, s = n(e); - return Bt = o, Li(e, t, s); + var o = Qt, s = n(e); + return Qt = o, Oi(e, t, s); } else process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`"); break; } case "string": if (process.env.NODE_ENV !== "production") { - var a = [], u = n.replace(jg, function(l, f, d) { + var a = [], u = n.replace(qh, function(l, f, d) { var g = "animation" + a.length; return a.push("const " + g + " = keyframes`" + d.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + g + "}"; }); @@ -7831,123 +7628,123 @@ You should wrap it with \`css\` like this: var c = t[n]; return c !== void 0 ? c : n; } -function V0(e, t, n) { +function Hw(e, t, n) { var r = ""; if (Array.isArray(n)) for (var i = 0; i < n.length; i++) - r += Li(e, t, n[i]) + ";"; + r += Oi(e, t, n[i]) + ";"; else for (var o in n) { var s = n[o]; if (typeof s != "object") - t != null && t[s] !== void 0 ? r += o + "{" + t[s] + "}" : _l(s) && (r += Gs(o) + ":" + Uo(o, s) + ";"); + t != null && t[s] !== void 0 ? r += o + "{" + t[s] + "}" : yl(s) && (r += Vs(o) + ":" + Ro(o, s) + ";"); else { if (o === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production") - throw new Error(Sg); + throw new Error(Kh); if (Array.isArray(s) && typeof s[0] == "string" && (t == null || t[s[0]] === void 0)) for (var a = 0; a < s.length; a++) - _l(s[a]) && (r += Gs(o) + ":" + Uo(o, s[a]) + ";"); + yl(s[a]) && (r += Vs(o) + ":" + Ro(o, s[a]) + ";"); else { - var u = Li(e, t, s); + var u = Oi(e, t, s); switch (o) { case "animation": case "animationName": { - r += Gs(o) + ":" + u + ";"; + r += Vs(o) + ":" + u + ";"; break; } default: - process.env.NODE_ENV !== "production" && o === "undefined" && console.error(U0), r += o + "{" + u + "}"; + process.env.NODE_ENV !== "production" && o === "undefined" && console.error(Fw), r += o + "{" + u + "}"; } } } } return r; } -var zl = /label:\s*([^\s;\n{]+)\s*(;|$)/g, bg; -process.env.NODE_ENV !== "production" && (bg = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g); -var Bt, Pr = function(t, n, r) { +var vl = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Gh; +process.env.NODE_ENV !== "production" && (Gh = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g); +var Qt, Pr = function(t, n, r) { if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0) return t[0]; var i = !0, o = ""; - Bt = void 0; + Qt = void 0; var s = t[0]; - s == null || s.raw === void 0 ? (i = !1, o += Li(r, n, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(Ll), o += s[0]); + s == null || s.raw === void 0 ? (i = !1, o += Oi(r, n, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(Ml), o += s[0]); for (var a = 1; a < t.length; a++) - o += Li(r, n, t[a]), i && (process.env.NODE_ENV !== "production" && s[a] === void 0 && console.error(Ll), o += s[a]); + o += Oi(r, n, t[a]), i && (process.env.NODE_ENV !== "production" && s[a] === void 0 && console.error(Ml), o += s[a]); var u; - process.env.NODE_ENV !== "production" && (o = o.replace(bg, function(d) { + process.env.NODE_ENV !== "production" && (o = o.replace(Gh, function(d) { return u = d, ""; - })), zl.lastIndex = 0; - for (var c = "", l; (l = zl.exec(o)) !== null; ) + })), vl.lastIndex = 0; + for (var c = "", l; (l = vl.exec(o)) !== null; ) c += "-" + // $FlowFixMe we know it's not null l[1]; - var f = P0(o) + c; + var f = Rw(o) + c; return process.env.NODE_ENV !== "production" ? { name: f, styles: o, map: u, - next: Bt, + next: Qt, toString: function() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } } : { name: f, styles: o, - next: Bt + next: Qt }; -}, H0 = {}.hasOwnProperty, nc = /* @__PURE__ */ pn( +}, qw = {}.hasOwnProperty, Qu = /* @__PURE__ */ xn( // we're doing this to avoid preconstruct's dead code elimination in this one case // because this module is primarily intended for the browser and node // but it's also required in react native and similar environments sometimes // and we could have a special build just for that // but this is much easier and the native packages // might use a different theme context in the future anyway - typeof HTMLElement < "u" ? /* @__PURE__ */ k0({ + typeof HTMLElement < "u" ? /* @__PURE__ */ zw({ key: "css" }) : null ); -process.env.NODE_ENV !== "production" && (nc.displayName = "EmotionCacheContext"); -nc.Provider; -var cs = function(t) { - return /* @__PURE__ */ es(function(n, r) { - var i = gt(nc); +process.env.NODE_ENV !== "production" && (Qu.displayName = "EmotionCacheContext"); +Qu.Provider; +var ss = function(t) { + return /* @__PURE__ */ Su(function(n, r) { + var i = wt(Qu); return t(n, i, r); }); -}, Wr = /* @__PURE__ */ pn({}); -process.env.NODE_ENV !== "production" && (Wr.displayName = "EmotionThemeContext"); -var q0 = re["useInsertionEffect"] ? re["useInsertionEffect"] : function(t) { +}, $r = /* @__PURE__ */ xn({}); +process.env.NODE_ENV !== "production" && ($r.displayName = "EmotionThemeContext"); +var Kw = oe["useInsertionEffect"] ? oe["useInsertionEffect"] : function(t) { t(); }; -function Cg(e) { - q0(e); +function Jh(e) { + Kw(e); } -var Pl = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Rl = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", K0 = function(t) { +var wl = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Dl = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Gw = function(t) { var n = t.cache, r = t.serialized, i = t.isStringTag; - return as(n, r, i), Cg(function() { - return us(n, r, i); + return is(n, r, i), Jh(function() { + return os(n, r, i); }), null; -}, G0 = /* @__PURE__ */ cs(function(e, t, n) { +}, Jw = /* @__PURE__ */ ss(function(e, t, n) { var r = e.css; typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]); - var i = e[Pl], o = [r], s = ""; - typeof e.className == "string" ? s = ec(t.registered, o, e.className) : e.className != null && (s = e.className + " "); - var a = Pr(o, void 0, gt(Wr)); + var i = e[wl], o = [r], s = ""; + typeof e.className == "string" ? s = Fu(t.registered, o, e.className) : e.className != null && (s = e.className + " "); + var a = Pr(o, void 0, wt($r)); if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) { - var u = e[Rl]; + var u = e[Dl]; u && (a = Pr([a, "label:" + u + ";"])); } s += t.key + "-" + a.name; var c = {}; for (var l in e) - H0.call(e, l) && l !== "css" && l !== Pl && (process.env.NODE_ENV === "production" || l !== Rl) && (c[l] = e[l]); - return c.ref = n, c.className = s, /* @__PURE__ */ wt(jn, null, /* @__PURE__ */ wt(K0, { + qw.call(e, l) && l !== "css" && l !== wl && (process.env.NODE_ENV === "production" || l !== Dl) && (c[l] = e[l]); + return c.ref = n, c.className = s, /* @__PURE__ */ kt(Nn, null, /* @__PURE__ */ kt(Gw, { cache: t, serialized: a, isStringTag: typeof i == "string" - }), /* @__PURE__ */ wt(i, c)); + }), /* @__PURE__ */ kt(i, c)); }); -process.env.NODE_ENV !== "production" && (G0.displayName = "EmotionCssPropInternal"); -var J0 = { +process.env.NODE_ENV !== "production" && (Jw.displayName = "EmotionCssPropInternal"); +var Zw = { name: "@emotion/react", version: "11.9.0", main: "dist/emotion-react.cjs.js", @@ -8022,14 +7819,14 @@ var J0 = { ], umdName: "emotionReact" } -}, Ul = re["useInsertionEffect"] ? re["useInsertionEffect"] : jh, Fl = !1, Z0 = /* @__PURE__ */ cs(function(e, t) { - process.env.NODE_ENV !== "production" && !Fl && // check for className as well since the user is +}, Al = oe["useInsertionEffect"] ? oe["useInsertionEffect"] : nh, El = !1, Xw = /* @__PURE__ */ ss(function(e, t) { + process.env.NODE_ENV !== "production" && !El && // check for className as well since the user is // probably using the custom createElement which // means it will be turned into a className prop // $FlowFixMe I don't really want to add it to the type since it shouldn't be used - (e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), Fl = !0); - var n = e.styles, r = Pr([n], void 0, gt(Wr)), i = tt(); - return Ul(function() { + (e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), El = !0); + var n = e.styles, r = Pr([n], void 0, wt($r)), i = ot(); + return Al(function() { var o = t.key + "-global", s = new t.sheet.constructor({ key: o, nonce: t.sheet.nonce, @@ -8039,27 +7836,27 @@ var J0 = { return t.sheet.tags.length && (s.before = t.sheet.tags[0]), u !== null && (a = !0, u.setAttribute("data-emotion", o), s.hydrate([u])), i.current = [s, a], function() { s.flush(); }; - }, [t]), Ul(function() { + }, [t]), Al(function() { var o = i.current, s = o[0], a = o[1]; if (a) { o[1] = !1; return; } - if (r.next !== void 0 && us(t, r.next, !0), s.tags.length) { + if (r.next !== void 0 && os(t, r.next, !0), s.tags.length) { var u = s.tags[s.tags.length - 1].nextElementSibling; s.before = u, s.flush(); } t.insert("", r, s, !1); }, [t, r.name]), null; }); -process.env.NODE_ENV !== "production" && (Z0.displayName = "EmotionGlobal"); -function X0() { +process.env.NODE_ENV !== "production" && (Xw.displayName = "EmotionGlobal"); +function e0() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; return Pr(t); } -var rc = function() { - var t = X0.apply(void 0, arguments), n = "animation-" + t.name; +var Bu = function() { + var t = e0.apply(void 0, arguments), n = "animation-" + t.name; return { name: n, styles: "@keyframes " + n + "{" + t.styles + "}", @@ -8068,7 +7865,7 @@ var rc = function() { return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; } }; -}, eD = function e(t) { +}, t0 = function e(t) { for (var n = t.length, r = 0, i = ""; r < n; r++) { var o = t[r]; if (o != null) { @@ -8094,59 +7891,59 @@ var rc = function() { } return i; }; -function tD(e, t, n) { - var r = [], i = ec(e, r, n); +function n0(e, t, n) { + var r = [], i = Fu(e, r, n); return r.length < 2 ? n : i + t(r); } -var nD = function(t) { +var r0 = function(t) { var n = t.cache, r = t.serializedArr; - return Cg(function() { + return Jh(function() { for (var i = 0; i < r.length; i++) - us(n, r[i], !1); + os(n, r[i], !1); }), null; -}, rD = /* @__PURE__ */ cs(function(e, t) { +}, i0 = /* @__PURE__ */ ss(function(e, t) { var n = !1, r = [], i = function() { if (n && process.env.NODE_ENV !== "production") throw new Error("css can only be used during render"); for (var c = arguments.length, l = new Array(c), f = 0; f < c; f++) l[f] = arguments[f]; var d = Pr(l, t.registered); - return r.push(d), as(t, d, !1), t.key + "-" + d.name; + return r.push(d), is(t, d, !1), t.key + "-" + d.name; }, o = function() { if (n && process.env.NODE_ENV !== "production") throw new Error("cx can only be used during render"); for (var c = arguments.length, l = new Array(c), f = 0; f < c; f++) l[f] = arguments[f]; - return tD(t.registered, i, eD(l)); + return n0(t.registered, i, t0(l)); }, s = { css: i, cx: o, - theme: gt(Wr) + theme: wt($r) }, a = e.children(s); - return n = !0, /* @__PURE__ */ wt(jn, null, /* @__PURE__ */ wt(nD, { + return n = !0, /* @__PURE__ */ kt(Nn, null, /* @__PURE__ */ kt(r0, { cache: t, serializedArr: r }), a); }); -process.env.NODE_ENV !== "production" && (rD.displayName = "EmotionClassNames"); +process.env.NODE_ENV !== "production" && (i0.displayName = "EmotionClassNames"); if (process.env.NODE_ENV !== "production") { - var Yl = !0, iD = typeof jest < "u"; - if (Yl && !iD) { - var Bl = ( + var Il = !0, o0 = typeof jest < "u"; + if (Il && !o0) { + var Nl = ( // $FlowIgnore - typeof globalThis < "u" ? globalThis : Yl ? window : global - ), Ql = "__EMOTION_REACT_" + J0.version.split(".")[0] + "__"; - Bl[Ql] && console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."), Bl[Ql] = !0; + typeof globalThis < "u" ? globalThis : Il ? window : global + ), Tl = "__EMOTION_REACT_" + Zw.version.split(".")[0] + "__"; + Nl[Tl] && console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."), Nl[Tl] = !0; } } -var oD = Ca, sD = function(t) { +var s0 = Na, a0 = function(t) { return t !== "theme"; -}, $l = function(t) { +}, jl = function(t) { return typeof t == "string" && // 96 is one less than the char code // for "a" so this is checking that // it's a lowercase character - t.charCodeAt(0) > 96 ? oD : sD; -}, Wl = function(t, n, r) { + t.charCodeAt(0) > 96 ? s0 : a0; +}, Sl = function(t, n, r) { var i; if (n) { var o = n.shouldForwardProp; @@ -8155,70 +7952,70 @@ var oD = Ca, sD = function(t) { } : o; } return typeof i != "function" && r && (i = t.__emotion_forwardProp), i; -}, aD = re["useInsertionEffect"] ? re["useInsertionEffect"] : function(t) { +}, u0 = oe["useInsertionEffect"] ? oe["useInsertionEffect"] : function(t) { t(); }; -function uD(e) { - aD(e); +function c0(e) { + u0(e); } -var Vl = `You have illegal escape sequence in your template literal, most likely inside content's property value. +var bl = `You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, cD = function(t) { +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, l0 = function(t) { var n = t.cache, r = t.serialized, i = t.isStringTag; - return as(n, r, i), uD(function() { - return us(n, r, i); + return is(n, r, i), c0(function() { + return os(n, r, i); }), null; -}, lD = function e(t, n) { +}, f0 = function e(t, n) { if (process.env.NODE_ENV !== "production" && t === void 0) throw new Error(`You are trying to create a styled element with an undefined component. You may have forgotten to import it.`); var r = t.__emotion_real === t, i = r && t.__emotion_base || t, o, s; n !== void 0 && (o = n.label, s = n.target); - var a = Wl(t, n, r), u = a || $l(i), c = !u("as"); + var a = Sl(t, n, r), u = a || jl(i), c = !u("as"); return function() { var l = arguments, f = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : []; if (o !== void 0 && f.push("label:" + o + ";"), l[0] == null || l[0].raw === void 0) f.push.apply(f, l); else { - process.env.NODE_ENV !== "production" && l[0][0] === void 0 && console.error(Vl), f.push(l[0][0]); + process.env.NODE_ENV !== "production" && l[0][0] === void 0 && console.error(bl), f.push(l[0][0]); for (var d = l.length, g = 1; g < d; g++) - process.env.NODE_ENV !== "production" && l[0][g] === void 0 && console.error(Vl), f.push(l[g], l[0][g]); + process.env.NODE_ENV !== "production" && l[0][g] === void 0 && console.error(bl), f.push(l[g], l[0][g]); } - var h = cs(function(p, m, v) { - var w = c && p.as || i, j = "", N = [], I = p; + var h = ss(function(p, m, v) { + var w = c && p.as || i, j = "", I = [], N = p; if (p.theme == null) { - I = {}; - for (var B in p) - I[B] = p[B]; - I.theme = gt(Wr); + N = {}; + for (var Q in p) + N[Q] = p[Q]; + N.theme = wt($r); } - typeof p.className == "string" ? j = ec(m.registered, N, p.className) : p.className != null && (j = p.className + " "); - var z = Pr(f.concat(N), m.registered, I); + typeof p.className == "string" ? j = Fu(m.registered, I, p.className) : p.className != null && (j = p.className + " "); + var z = Pr(f.concat(I), m.registered, N); j += m.key + "-" + z.name, s !== void 0 && (j += " " + s); - var W = c && a === void 0 ? $l(w) : u, $ = {}; + var H = c && a === void 0 ? jl(w) : u, W = {}; for (var b in p) c && b === "as" || // $FlowFixMe - W(b) && ($[b] = p[b]); - return $.className = j, $.ref = v, /* @__PURE__ */ wt(jn, null, /* @__PURE__ */ wt(cD, { + H(b) && (W[b] = p[b]); + return W.className = j, W.ref = v, /* @__PURE__ */ kt(Nn, null, /* @__PURE__ */ kt(l0, { cache: m, serialized: z, isStringTag: typeof w == "string" - }), /* @__PURE__ */ wt(w, $)); + }), /* @__PURE__ */ kt(w, W)); }); return h.displayName = o !== void 0 ? o : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", h.defaultProps = t.defaultProps, h.__emotion_real = h, h.__emotion_base = i, h.__emotion_styles = f, h.__emotion_forwardProp = a, Object.defineProperty(h, "toString", { value: function() { return s === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + s; } }), h.withComponent = function(p, m) { - return e(p, pe({}, n, m, { - shouldForwardProp: Wl(h, m, !0) + return e(p, ve({}, n, m, { + shouldForwardProp: Sl(h, m, !0) })).apply(void 0, f); }, h; }; }; -const fD = lD; -var dD = [ +const d0 = f0; +var h0 = [ "a", "abbr", "address", @@ -8354,11 +8151,11 @@ var dD = [ "svg", "text", "tspan" -], Ja = fD.bind(); -dD.forEach(function(e) { - Ja[e] = Ja(e); +], Ya = d0.bind(); +h0.forEach(function(e) { + Ya[e] = Ya(e); }); -const hD = Ja; +const g0 = Ya; /** * @mui/styled-engine v5.12.3 * @@ -8366,26 +8163,26 @@ const hD = Ja; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -function gD(e, t) { - const n = hD(e, t); +function p0(e, t) { + const n = g0(e, t); return process.env.NODE_ENV !== "production" ? (...r) => { const i = typeof e == "string" ? `"${e}"` : "component"; return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` `)) : r.some((o) => o === void 0) && console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`), n(...r); } : n; } -const pD = (e, t) => { +const M0 = (e, t) => { Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles)); -}, MD = ["values", "unit", "step"], yD = (e) => { +}, y0 = ["values", "unit", "step"], m0 = (e) => { const t = Object.keys(e).map((n) => ({ key: n, val: e[n] })) || []; - return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => pe({}, n, { + return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => Ge({}, n, { [r.key]: r.val }), {}); }; -function mD(e) { +function v0(e) { const { // The breakpoint **start** at this value. // For instance with the first breakpoint xs: [xs, sm). @@ -8403,7 +8200,7 @@ function mD(e) { }, unit: n = "px", step: r = 5 - } = e, i = Je(e, MD), o = yD(t), s = Object.keys(o); + } = e, i = ur(e, y0), o = m0(t), s = Object.keys(o); function a(d) { return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${n})`; } @@ -8421,7 +8218,7 @@ function mD(e) { const g = s.indexOf(d); return g === 0 ? a(s[1]) : g === s.length - 1 ? u(s[g]) : c(d, s[s.indexOf(d) + 1]).replace("@media", "@media not all and"); } - return pe({ + return Ge({ keys: s, values: o, up: a, @@ -8432,16 +8229,16 @@ function mD(e) { unit: n }, i); } -const vD = { +const w0 = { borderRadius: 4 -}, wD = vD, DD = process.env.NODE_ENV !== "production" ? D.oneOfType([D.number, D.string, D.object, D.array]) : {}, kn = DD; -function vi(e, t) { +}, D0 = w0, A0 = process.env.NODE_ENV !== "production" ? D.oneOfType([D.number, D.string, D.object, D.array]) : {}, Ln = A0; +function mi(e, t) { return t ? un(e, t, { clone: !1 // No need to clone deep, it's way faster. }) : e; } -const ic = { +const $u = { xs: 0, // phone sm: 600, @@ -8452,22 +8249,22 @@ const ic = { // desktop xl: 1536 // large screen -}, Hl = { +}, Cl = { // Sorted ASC by size. That's important. // It can't be configured as it's used statically for propTypes. keys: ["xs", "sm", "md", "lg", "xl"], - up: (e) => `@media (min-width:${ic[e]}px)` + up: (e) => `@media (min-width:${$u[e]}px)` }; function hn(e, t, n) { const r = e.theme || {}; if (Array.isArray(t)) { - const o = r.breakpoints || Hl; + const o = r.breakpoints || Cl; return t.reduce((s, a, u) => (s[o.up(o.keys[u])] = n(t[u]), s), {}); } if (typeof t == "object") { - const o = r.breakpoints || Hl; + const o = r.breakpoints || Cl; return Object.keys(t).reduce((s, a) => { - if (Object.keys(o.values || ic).indexOf(a) !== -1) { + if (Object.keys(o.values || $u).indexOf(a) !== -1) { const u = o.up(a); s[u] = n(t[a], a); } else { @@ -8479,20 +8276,20 @@ function hn(e, t, n) { } return n(t); } -function AD(e = {}) { +function E0(e = {}) { var t; return ((t = e.keys) == null ? void 0 : t.reduce((r, i) => { const o = e.up(i); return r[o] = {}, r; }, {})) || {}; } -function ED(e, t) { +function I0(e, t) { return e.reduce((n, r) => { const i = n[r]; return (!i || Object.keys(i).length === 0) && delete n[r], n; }, t); } -function ls(e, t, n = !0) { +function as(e, t, n = !0) { if (!t || typeof t != "string") return null; if (e && e.vars && n) { @@ -8502,11 +8299,11 @@ function ls(e, t, n = !0) { } return t.split(".").reduce((r, i) => r && r[i] != null ? r[i] : null, e); } -function Fo(e, t, n, r = n) { +function Uo(e, t, n, r = n) { let i; - return typeof e == "function" ? i = e(n) : Array.isArray(e) ? i = e[n] || r : i = ls(e, n) || r, t && (i = t(i, r, e)), i; + return typeof e == "function" ? i = e(n) : Array.isArray(e) ? i = e[n] || r : i = as(e, n) || r, t && (i = t(i, r, e)), i; } -function Be(e) { +function Qe(e) { const { prop: t, cssProperty: n = e.prop, @@ -8515,56 +8312,56 @@ function Be(e) { } = e, o = (s) => { if (s[t] == null) return null; - const a = s[t], u = s.theme, c = ls(u, r) || {}; + const a = s[t], u = s.theme, c = as(u, r) || {}; return hn(s, a, (f) => { - let d = Fo(c, i, f); - return f === d && typeof f == "string" && (d = Fo(c, i, `${t}${f === "default" ? "" : yi(f)}`, f)), n === !1 ? d : { + let d = Uo(c, i, f); + return f === d && typeof f == "string" && (d = Uo(c, i, `${t}${f === "default" ? "" : Mi(f)}`, f)), n === !1 ? d : { [n]: d }; }); }; return o.propTypes = process.env.NODE_ENV !== "production" ? { - [t]: kn + [t]: Ln } : {}, o.filterProps = [t], o; } -function ID(e) { +function N0(e) { const t = {}; return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]); } -const ND = { +const T0 = { m: "margin", p: "padding" -}, TD = { +}, j0 = { t: "Top", r: "Right", b: "Bottom", l: "Left", x: ["Left", "Right"], y: ["Top", "Bottom"] -}, ql = { +}, xl = { marginX: "mx", marginY: "my", paddingX: "px", paddingY: "py" -}, jD = ID((e) => { +}, S0 = N0((e) => { if (e.length > 2) - if (ql[e]) - e = ql[e]; + if (xl[e]) + e = xl[e]; else return [e]; - const [t, n] = e.split(""), r = ND[t], i = TD[n] || ""; + const [t, n] = e.split(""), r = T0[t], i = j0[n] || ""; return Array.isArray(i) ? i.map((o) => r + o) : [r + i]; -}), fs = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ds = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], SD = [...fs, ...ds]; +}), us = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], cs = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], b0 = [...us, ...cs]; function Hi(e, t, n, r) { var i; - const o = (i = ls(e, t, !1)) != null ? i : n; + const o = (i = as(e, t, !1)) != null ? i : n; return typeof o == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`), o * s) : Array.isArray(o) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(` `)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(` `))), o[s]) : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(` `)), () => { }); } -function xg(e) { +function Zh(e) { return Hi(e, "spacing", 8, "spacing"); } function qi(e, t) { @@ -8573,34 +8370,34 @@ function qi(e, t) { const n = Math.abs(t), r = e(n); return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`; } -function bD(e, t) { +function C0(e, t) { return (n) => e.reduce((r, i) => (r[i] = qi(t, n), r), {}); } -function CD(e, t, n, r) { +function x0(e, t, n, r) { if (t.indexOf(n) === -1) return null; - const i = jD(n), o = bD(i, r), s = e[n]; + const i = S0(n), o = C0(i, r), s = e[n]; return hn(e, s, o); } -function Og(e, t) { - const n = xg(e.theme); - return Object.keys(e).map((r) => CD(e, t, r, n)).reduce(vi, {}); +function Xh(e, t) { + const n = Zh(e.theme); + return Object.keys(e).map((r) => x0(e, t, r, n)).reduce(mi, {}); } function Xe(e) { - return Og(e, fs); + return Xh(e, us); } -Xe.propTypes = process.env.NODE_ENV !== "production" ? fs.reduce((e, t) => (e[t] = kn, e), {}) : {}; -Xe.filterProps = fs; +Xe.propTypes = process.env.NODE_ENV !== "production" ? us.reduce((e, t) => (e[t] = Ln, e), {}) : {}; +Xe.filterProps = us; function et(e) { - return Og(e, ds); + return Xh(e, cs); } -et.propTypes = process.env.NODE_ENV !== "production" ? ds.reduce((e, t) => (e[t] = kn, e), {}) : {}; -et.filterProps = ds; -process.env.NODE_ENV !== "production" && SD.reduce((e, t) => (e[t] = kn, e), {}); -function xD(e = 8) { +et.propTypes = process.env.NODE_ENV !== "production" ? cs.reduce((e, t) => (e[t] = Ln, e), {}) : {}; +et.filterProps = cs; +process.env.NODE_ENV !== "production" && b0.reduce((e, t) => (e[t] = Ln, e), {}); +function O0(e = 8) { if (e.mui) return e; - const t = xg({ + const t = Zh({ spacing: e }), n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((o) => { const s = t(o); @@ -8608,51 +8405,51 @@ function xD(e = 8) { }).join(" ")); return n.mui = !0, n; } -function hs(...e) { +function ls(...e) { const t = e.reduce((r, i) => (i.filterProps.forEach((o) => { r[o] = i; - }), r), {}), n = (r) => Object.keys(r).reduce((i, o) => t[o] ? vi(i, t[o](r)) : i, {}); + }), r), {}), n = (r) => Object.keys(r).reduce((i, o) => t[o] ? mi(i, t[o](r)) : i, {}); return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, i) => Object.assign(r, i.propTypes), {}) : {}, n.filterProps = e.reduce((r, i) => r.concat(i.filterProps), []), n; } function Kt(e) { return typeof e != "number" ? e : `${e}px solid`; } -const OD = Be({ +const L0 = Qe({ prop: "border", themeKey: "borders", transform: Kt -}), LD = Be({ +}), _0 = Qe({ prop: "borderTop", themeKey: "borders", transform: Kt -}), _D = Be({ +}), k0 = Qe({ prop: "borderRight", themeKey: "borders", transform: Kt -}), kD = Be({ +}), z0 = Qe({ prop: "borderBottom", themeKey: "borders", transform: Kt -}), zD = Be({ +}), P0 = Qe({ prop: "borderLeft", themeKey: "borders", transform: Kt -}), PD = Be({ +}), R0 = Qe({ prop: "borderColor", themeKey: "palette" -}), RD = Be({ +}), U0 = Qe({ prop: "borderTopColor", themeKey: "palette" -}), UD = Be({ +}), F0 = Qe({ prop: "borderRightColor", themeKey: "palette" -}), FD = Be({ +}), Y0 = Qe({ prop: "borderBottomColor", themeKey: "palette" -}), YD = Be({ +}), Q0 = Qe({ prop: "borderLeftColor", themeKey: "palette" -}), gs = (e) => { +}), fs = (e) => { if (e.borderRadius !== void 0 && e.borderRadius !== null) { const t = Hi(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({ borderRadius: qi(t, r) @@ -8661,12 +8458,12 @@ const OD = Be({ } return null; }; -gs.propTypes = process.env.NODE_ENV !== "production" ? { - borderRadius: kn +fs.propTypes = process.env.NODE_ENV !== "production" ? { + borderRadius: Ln } : {}; -gs.filterProps = ["borderRadius"]; -hs(OD, LD, _D, kD, zD, PD, RD, UD, FD, YD, gs); -const ps = (e) => { +fs.filterProps = ["borderRadius"]; +ls(L0, _0, k0, z0, P0, R0, U0, F0, Y0, Q0, fs); +const ds = (e) => { if (e.gap !== void 0 && e.gap !== null) { const t = Hi(e.theme, "spacing", 8, "gap"), n = (r) => ({ gap: qi(t, r) @@ -8675,11 +8472,11 @@ const ps = (e) => { } return null; }; -ps.propTypes = process.env.NODE_ENV !== "production" ? { - gap: kn +ds.propTypes = process.env.NODE_ENV !== "production" ? { + gap: Ln } : {}; -ps.filterProps = ["gap"]; -const Ms = (e) => { +ds.filterProps = ["gap"]; +const hs = (e) => { if (e.columnGap !== void 0 && e.columnGap !== null) { const t = Hi(e.theme, "spacing", 8, "columnGap"), n = (r) => ({ columnGap: qi(t, r) @@ -8688,11 +8485,11 @@ const Ms = (e) => { } return null; }; -Ms.propTypes = process.env.NODE_ENV !== "production" ? { - columnGap: kn +hs.propTypes = process.env.NODE_ENV !== "production" ? { + columnGap: Ln } : {}; -Ms.filterProps = ["columnGap"]; -const ys = (e) => { +hs.filterProps = ["columnGap"]; +const gs = (e) => { if (e.rowGap !== void 0 && e.rowGap !== null) { const t = Hi(e.theme, "spacing", 8, "rowGap"), n = (r) => ({ rowGap: qi(t, r) @@ -8701,95 +8498,95 @@ const ys = (e) => { } return null; }; -ys.propTypes = process.env.NODE_ENV !== "production" ? { - rowGap: kn +gs.propTypes = process.env.NODE_ENV !== "production" ? { + rowGap: Ln } : {}; -ys.filterProps = ["rowGap"]; -const BD = Be({ +gs.filterProps = ["rowGap"]; +const B0 = Qe({ prop: "gridColumn" -}), QD = Be({ +}), $0 = Qe({ prop: "gridRow" -}), $D = Be({ +}), W0 = Qe({ prop: "gridAutoFlow" -}), WD = Be({ +}), V0 = Qe({ prop: "gridAutoColumns" -}), VD = Be({ +}), H0 = Qe({ prop: "gridAutoRows" -}), HD = Be({ +}), q0 = Qe({ prop: "gridTemplateColumns" -}), qD = Be({ +}), K0 = Qe({ prop: "gridTemplateRows" -}), KD = Be({ +}), G0 = Qe({ prop: "gridTemplateAreas" -}), GD = Be({ +}), J0 = Qe({ prop: "gridArea" }); -hs(ps, Ms, ys, BD, QD, $D, WD, VD, HD, qD, KD, GD); +ls(ds, hs, gs, B0, $0, W0, V0, H0, q0, K0, G0, J0); function Cr(e, t) { return t === "grey" ? t : e; } -const JD = Be({ +const Z0 = Qe({ prop: "color", themeKey: "palette", transform: Cr -}), ZD = Be({ +}), X0 = Qe({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: Cr -}), XD = Be({ +}), eD = Qe({ prop: "backgroundColor", themeKey: "palette", transform: Cr }); -hs(JD, ZD, XD); +ls(Z0, X0, eD); function It(e) { return e <= 1 && e !== 0 ? `${e * 100}%` : e; } -const eA = Be({ +const tD = Qe({ prop: "width", transform: It -}), oc = (e) => { +}), Wu = (e) => { if (e.maxWidth !== void 0 && e.maxWidth !== null) { const t = (n) => { var r, i, o; return { - maxWidth: ((r = e.theme) == null || (i = r.breakpoints) == null || (o = i.values) == null ? void 0 : o[n]) || ic[n] || It(n) + maxWidth: ((r = e.theme) == null || (i = r.breakpoints) == null || (o = i.values) == null ? void 0 : o[n]) || $u[n] || It(n) }; }; return hn(e, e.maxWidth, t); } return null; }; -oc.filterProps = ["maxWidth"]; -const tA = Be({ +Wu.filterProps = ["maxWidth"]; +const nD = Qe({ prop: "minWidth", transform: It -}), nA = Be({ +}), rD = Qe({ prop: "height", transform: It -}), rA = Be({ +}), iD = Qe({ prop: "maxHeight", transform: It -}), iA = Be({ +}), oD = Qe({ prop: "minHeight", transform: It }); -Be({ +Qe({ prop: "size", cssProperty: "width", transform: It }); -Be({ +Qe({ prop: "size", cssProperty: "height", transform: It }); -const oA = Be({ +const sD = Qe({ prop: "boxSizing" }); -hs(eA, oc, tA, nA, rA, iA, oA); -const sA = { +ls(tD, Wu, nD, rD, iD, oD, sD); +const aD = { // borders border: { themeKey: "borders", @@ -8828,7 +8625,7 @@ const sA = { }, borderRadius: { themeKey: "shape.borderRadius", - style: gs + style: fs }, // palette color: { @@ -8995,13 +8792,13 @@ const sA = { justifySelf: {}, // grid gap: { - style: ps + style: ds }, rowGap: { - style: ys + style: gs }, columnGap: { - style: Ms + style: hs }, gridColumn: {}, gridRow: {}, @@ -9030,7 +8827,7 @@ const sA = { transform: It }, maxWidth: { - style: oc + style: Wu }, minWidth: { transform: It @@ -9066,15 +8863,15 @@ const sA = { cssProperty: !1, themeKey: "typography" } -}, Lg = sA; -function aA(...e) { +}, eg = aD; +function uD(...e) { const t = e.reduce((r, i) => r.concat(Object.keys(i)), []), n = new Set(t); return e.every((r) => n.size === Object.keys(r).length); } -function uA(e, t) { +function cD(e, t) { return typeof e == "function" ? e(t) : e; } -function cA() { +function lD() { function e(n, r, i, o) { const s = { [n]: r, @@ -9096,10 +8893,10 @@ function cA() { return { [n]: r }; - const d = ls(i, c) || {}; + const d = as(i, c) || {}; return f ? f(s) : hn(s, r, (h) => { - let p = Fo(d, l, h); - return h === p && typeof h == "string" && (p = Fo(d, l, `${n}${h === "default" ? "" : yi(h)}`, h)), u === !1 ? p : { + let p = Uo(d, l, h); + return h === p && typeof h == "string" && (p = Uo(d, l, `${n}${h === "default" ? "" : Mi(h)}`, h)), u === !1 ? p : { [u]: p }; }); @@ -9112,7 +8909,7 @@ function cA() { } = n || {}; if (!i) return null; - const s = (r = o.unstable_sxConfig) != null ? r : Lg; + const s = (r = o.unstable_sxConfig) != null ? r : eg; function a(u) { let c = u; if (typeof u == "function") @@ -9121,104 +8918,104 @@ function cA() { return u; if (!c) return null; - const l = AD(o.breakpoints), f = Object.keys(l); + const l = E0(o.breakpoints), f = Object.keys(l); let d = l; return Object.keys(c).forEach((g) => { - const h = uA(c[g], o); + const h = cD(c[g], o); if (h != null) if (typeof h == "object") if (s[g]) - d = vi(d, e(g, h, o, s)); + d = mi(d, e(g, h, o, s)); else { const p = hn({ theme: o }, h, (m) => ({ [g]: m })); - aA(p, h) ? d[g] = t({ + uD(p, h) ? d[g] = t({ sx: h, theme: o - }) : d = vi(d, p); + }) : d = mi(d, p); } else - d = vi(d, e(g, h, o, s)); - }), ED(f, d); + d = mi(d, e(g, h, o, s)); + }), I0(f, d); } return Array.isArray(i) ? i.map(a) : a(i); } return t; } -const _g = cA(); -_g.filterProps = ["sx"]; -const kg = _g, lA = ["breakpoints", "palette", "spacing", "shape"]; -function sc(e = {}, ...t) { +const tg = lD(); +tg.filterProps = ["sx"]; +const ng = tg, fD = ["breakpoints", "palette", "spacing", "shape"]; +function Vu(e = {}, ...t) { const { breakpoints: n = {}, palette: r = {}, spacing: i, shape: o = {} - } = e, s = Je(e, lA), a = mD(n), u = xD(i); + } = e, s = ur(e, fD), a = v0(n), u = O0(i); let c = un({ breakpoints: a, direction: "ltr", components: {}, // Inject component definitions. - palette: pe({ + palette: Ge({ mode: "light" }, r), spacing: u, - shape: pe({}, wD, o) + shape: Ge({}, D0, o) }, s); - return c = t.reduce((l, f) => un(l, f), c), c.unstable_sxConfig = pe({}, Lg, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(f) { - return kg({ + return c = t.reduce((l, f) => un(l, f), c), c.unstable_sxConfig = Ge({}, eg, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(f) { + return ng({ sx: f, theme: this }); }, c; } -function fA(e) { +function dD(e) { return Object.keys(e).length === 0; } -function dA(e = null) { - const t = re.useContext(Wr); - return !t || fA(t) ? e : t; +function hD(e = null) { + const t = oe.useContext($r); + return !t || dD(t) ? e : t; } -const hA = sc(); -function zg(e = hA) { - return dA(e); +const gD = Vu(); +function rg(e = gD) { + return hD(e); } -const gA = ["variant"]; -function Kl(e) { +const pD = ["variant"]; +function Ol(e) { return e.length === 0; } -function Pg(e) { +function ig(e) { const { variant: t - } = e, n = Je(e, gA); + } = e, n = ur(e, pD); let r = t || ""; return Object.keys(n).sort().forEach((i) => { - i === "color" ? r += Kl(r) ? e[i] : yi(e[i]) : r += `${Kl(r) ? i : yi(i)}${yi(e[i].toString())}`; + i === "color" ? r += Ol(r) ? e[i] : Mi(e[i]) : r += `${Ol(r) ? i : Mi(i)}${Mi(e[i].toString())}`; }), r; } -const pA = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; -function MA(e) { +const MD = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; +function yD(e) { return Object.keys(e).length === 0; } -function yA(e) { +function mD(e) { return typeof e == "string" && // 96 is one less than the char code // for "a" so this is checking that // it's a lowercase character e.charCodeAt(0) > 96; } -const mA = (e, t) => t.components && t.components[e] && t.components[e].styleOverrides ? t.components[e].styleOverrides : null, vA = (e, t) => { +const vD = (e, t) => t.components && t.components[e] && t.components[e].styleOverrides ? t.components[e].styleOverrides : null, wD = (e, t) => { let n = []; t && t.components && t.components[e] && t.components[e].variants && (n = t.components[e].variants); const r = {}; return n.forEach((i) => { - const o = Pg(i.props); + const o = ig(i.props); r[o] = i.style; }), r; -}, wA = (e, t, n, r) => { +}, DD = (e, t, n, r) => { var i, o; const { ownerState: s = {} @@ -9227,145 +9024,145 @@ const mA = (e, t) => t.components && t.components[e] && t.components[e].styleOve let l = !0; Object.keys(c.props).forEach((f) => { s[f] !== c.props[f] && e[f] !== c.props[f] && (l = !1); - }), l && a.push(t[Pg(c.props)]); + }), l && a.push(t[ig(c.props)]); }), a; }; -function Eo(e) { +function Ao(e) { return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"; } -const DA = sc(), AA = (e) => e.charAt(0).toLowerCase() + e.slice(1); -function Xr({ +const AD = Vu(), ED = (e) => e.charAt(0).toLowerCase() + e.slice(1); +function Zr({ defaultTheme: e, theme: t, themeId: n }) { - return MA(t) ? e : t[n] || t; + return yD(t) ? e : t[n] || t; } -function EA(e = {}) { +function ID(e = {}) { const { themeId: t, - defaultTheme: n = DA, - rootShouldForwardProp: r = Eo, - slotShouldForwardProp: i = Eo - } = e, o = (s) => kg(pe({}, s, { - theme: Xr(pe({}, s, { + defaultTheme: n = AD, + rootShouldForwardProp: r = Ao, + slotShouldForwardProp: i = Ao + } = e, o = (s) => ng(Ge({}, s, { + theme: Zr(Ge({}, s, { defaultTheme: n, themeId: t })) })); return o.__mui_systemSx = !0, (s, a = {}) => { - pD(s, (N) => N.filter((I) => !(I != null && I.__mui_systemSx))); + M0(s, (I) => I.filter((N) => !(N != null && N.__mui_systemSx))); const { name: u, slot: c, skipVariantsResolver: l, skipSx: f, overridesResolver: d - } = a, g = Je(a, pA), h = l !== void 0 ? l : c && c !== "Root" || !1, p = f || !1; + } = a, g = ur(a, MD), h = l !== void 0 ? l : c && c !== "Root" || !1, p = f || !1; let m; - process.env.NODE_ENV !== "production" && u && (m = `${u}-${AA(c || "Root")}`); - let v = Eo; - c === "Root" ? v = r : c ? v = i : yA(s) && (v = void 0); - const w = gD(s, pe({ + process.env.NODE_ENV !== "production" && u && (m = `${u}-${ED(c || "Root")}`); + let v = Ao; + c === "Root" ? v = r : c ? v = i : mD(s) && (v = void 0); + const w = p0(s, Ge({ shouldForwardProp: v, label: m - }, g)), j = (N, ...I) => { - const B = I ? I.map((b) => typeof b == "function" && b.__emotion_real !== b ? (k) => b(pe({}, k, { - theme: Xr(pe({}, k, { + }, g)), j = (I, ...N) => { + const Q = N ? N.map((b) => typeof b == "function" && b.__emotion_real !== b ? (k) => b(Ge({}, k, { + theme: Zr(Ge({}, k, { defaultTheme: n, themeId: t })) })) : b) : []; - let z = N; - u && d && B.push((b) => { - const k = Xr(pe({}, b, { + let z = I; + u && d && Q.push((b) => { + const k = Zr(Ge({}, b, { defaultTheme: n, themeId: t - })), U = mA(u, k); + })), U = vD(u, k); if (U) { const x = {}; return Object.entries(U).forEach(([T, S]) => { - x[T] = typeof S == "function" ? S(pe({}, b, { + x[T] = typeof S == "function" ? S(Ge({}, b, { theme: k })) : S; }), d(b, x); } return null; - }), u && !h && B.push((b) => { - const k = Xr(pe({}, b, { + }), u && !h && Q.push((b) => { + const k = Zr(Ge({}, b, { defaultTheme: n, themeId: t })); - return wA(b, vA(u, k), k, u); - }), p || B.push(o); - const W = B.length - I.length; - if (Array.isArray(N) && W > 0) { - const b = new Array(W).fill(""); - z = [...N, ...b], z.raw = [...N.raw, ...b]; + return DD(b, wD(u, k), k, u); + }), p || Q.push(o); + const H = Q.length - N.length; + if (Array.isArray(I) && H > 0) { + const b = new Array(H).fill(""); + z = [...I, ...b], z.raw = [...I.raw, ...b]; } else - typeof N == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created + typeof I == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created // component stays as a function. This condition makes sure that we do not interpolate functions // which are basically components used as a selectors. - N.__emotion_real !== N && (z = (b) => N(pe({}, b, { - theme: Xr(pe({}, b, { + I.__emotion_real !== I && (z = (b) => I(Ge({}, b, { + theme: Zr(Ge({}, b, { defaultTheme: n, themeId: t })) }))); - const $ = w(z, ...B); + const W = w(z, ...Q); if (process.env.NODE_ENV !== "production") { let b; - u && (b = `${u}${c || ""}`), b === void 0 && (b = `Styled(${ww(s)})`), $.displayName = b; + u && (b = `${u}${c || ""}`), b === void 0 && (b = `Styled(${Dv(s)})`), W.displayName = b; } - return s.muiName && ($.muiName = s.muiName), $; + return s.muiName && (W.muiName = s.muiName), W; }; return w.withConfig && (j.withConfig = w.withConfig), j; }; } -function IA(e) { +function ND(e) { const { theme: t, name: n, props: r } = e; - return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : mg(t.components[n].defaultProps, r); + return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : Uh(t.components[n].defaultProps, r); } -function NA({ +function TD({ props: e, name: t, defaultTheme: n, themeId: r }) { - let i = zg(n); - return r && (i = i[r] || i), IA({ + let i = rg(n); + return r && (i = i[r] || i), ND({ theme: i, name: t, props: e }); } -function ac(e, t = 0, n = 1) { +function Hu(e, t = 0, n = 1) { return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), Math.min(Math.max(t, e), n); } -function TA(e) { +function jD(e) { e = e.slice(1); const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g"); let n = e.match(t); return n && n[0].length === 1 && (n = n.map((r) => r + r)), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, i) => i < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : ""; } -function ar(e) { +function or(e) { if (e.type) return e; if (e.charAt(0) === "#") - return ar(TA(e)); + return or(jD(e)); const t = e.indexOf("("), n = e.substring(0, t); if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1) throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color. -The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Si(9, e)); +The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : ji(9, e)); let r = e.substring(t + 1, e.length - 1), i; if (n === "color") { if (r = r.split(" "), i = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(i) === -1) throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space. -The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Si(10, i)); +The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : ji(10, i)); } else r = r.split(","); return r = r.map((o) => parseFloat(o)), { @@ -9374,7 +9171,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg colorSpace: i }; } -function ms(e) { +function ps(e) { const { type: t, colorSpace: n @@ -9384,40 +9181,40 @@ function ms(e) { } = e; return t.indexOf("rgb") !== -1 ? r = r.map((i, o) => o < 3 ? parseInt(i, 10) : i) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`; } -function jA(e) { - e = ar(e); +function SD(e) { + e = or(e); const { values: t } = e, n = t[0], r = t[1] / 100, i = t[2] / 100, o = r * Math.min(i, 1 - i), s = (c, l = (c + n / 30) % 12) => i - o * Math.max(Math.min(l - 3, 9 - l, 1), -1); let a = "rgb"; const u = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)]; - return e.type === "hsla" && (a += "a", u.push(t[3])), ms({ + return e.type === "hsla" && (a += "a", u.push(t[3])), ps({ type: a, values: u }); } -function Gl(e) { - e = ar(e); - let t = e.type === "hsl" || e.type === "hsla" ? ar(jA(e)).values : e.values; +function Ll(e) { + e = or(e); + let t = e.type === "hsl" || e.type === "hsla" ? or(SD(e)).values : e.values; return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3)); } -function Jl(e, t) { - const n = Gl(e), r = Gl(t); +function _l(e, t) { + const n = Ll(e), r = Ll(t); return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05); } function jr(e, t) { - return e = ar(e), t = ac(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, ms(e); + return e = or(e), t = Hu(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, ps(e); } -function SA(e, t) { - if (e = ar(e), t = ac(t), e.type.indexOf("hsl") !== -1) +function bD(e, t) { + if (e = or(e), t = Hu(t), e.type.indexOf("hsl") !== -1) e.values[2] *= 1 - t; else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1) for (let n = 0; n < 3; n += 1) e.values[n] *= 1 - t; - return ms(e); + return ps(e); } -function bA(e, t) { - if (e = ar(e), t = ac(t), e.type.indexOf("hsl") !== -1) +function CD(e, t) { + if (e = or(e), t = Hu(t), e.type.indexOf("hsl") !== -1) e.values[2] += (100 - e.values[2]) * t; else if (e.type.indexOf("rgb") !== -1) for (let n = 0; n < 3; n += 1) @@ -9425,10 +9222,10 @@ function bA(e, t) { else if (e.type.indexOf("color") !== -1) for (let n = 0; n < 3; n += 1) e.values[n] += (1 - e.values[n]) * t; - return ms(e); + return ps(e); } -function CA(e, t) { - return pe({ +function xD(e, t) { + return ve({ toolbar: { minHeight: 56, [e.up("xs")]: { @@ -9442,10 +9239,10 @@ function CA(e, t) { } }, t); } -const xA = { +const OD = { black: "#000", white: "#fff" -}, _i = xA, OA = { +}, Li = OD, LD = { 50: "#fafafa", 100: "#f5f5f5", 200: "#eeeeee", @@ -9460,7 +9257,7 @@ const xA = { A200: "#eeeeee", A400: "#bdbdbd", A700: "#616161" -}, LA = OA, _A = { +}, _D = LD, kD = { 50: "#f3e5f5", 100: "#e1bee7", 200: "#ce93d8", @@ -9475,7 +9272,7 @@ const xA = { A200: "#e040fb", A400: "#d500f9", A700: "#aa00ff" -}, hr = _A, kA = { +}, hr = kD, zD = { 50: "#ffebee", 100: "#ffcdd2", 200: "#ef9a9a", @@ -9490,7 +9287,7 @@ const xA = { A200: "#ff5252", A400: "#ff1744", A700: "#d50000" -}, gr = kA, zA = { +}, gr = zD, PD = { 50: "#fff3e0", 100: "#ffe0b2", 200: "#ffcc80", @@ -9505,7 +9302,7 @@ const xA = { A200: "#ffab40", A400: "#ff9100", A700: "#ff6d00" -}, ei = zA, PA = { +}, Xr = PD, RD = { 50: "#e3f2fd", 100: "#bbdefb", 200: "#90caf9", @@ -9520,7 +9317,7 @@ const xA = { A200: "#448aff", A400: "#2979ff", A700: "#2962ff" -}, pr = PA, RA = { +}, pr = RD, UD = { 50: "#e1f5fe", 100: "#b3e5fc", 200: "#81d4fa", @@ -9535,7 +9332,7 @@ const xA = { A200: "#40c4ff", A400: "#00b0ff", A700: "#0091ea" -}, Mr = RA, UA = { +}, Mr = UD, FD = { 50: "#e8f5e9", 100: "#c8e6c9", 200: "#a5d6a7", @@ -9550,7 +9347,7 @@ const xA = { A200: "#69f0ae", A400: "#00e676", A700: "#00c853" -}, yr = UA, FA = ["mode", "contrastThreshold", "tonalOffset"], Zl = { +}, yr = FD, YD = ["mode", "contrastThreshold", "tonalOffset"], kl = { // The colors used to style the text. text: { // The most important text. @@ -9565,8 +9362,8 @@ const xA = { // The background colors used to style the surfaces. // Consistency between these values is important. background: { - paper: _i.white, - default: _i.white + paper: Li.white, + default: Li.white }, // The colors used to style the action elements. action: { @@ -9587,9 +9384,9 @@ const xA = { focusOpacity: 0.12, activatedOpacity: 0.12 } -}, Js = { +}, Hs = { text: { - primary: _i.white, + primary: Li.white, secondary: "rgba(255, 255, 255, 0.7)", disabled: "rgba(255, 255, 255, 0.5)", icon: "rgba(255, 255, 255, 0.5)" @@ -9600,7 +9397,7 @@ const xA = { default: "#121212" }, action: { - active: _i.white, + active: Li.white, hover: "rgba(255, 255, 255, 0.08)", hoverOpacity: 0.08, selected: "rgba(255, 255, 255, 0.16)", @@ -9613,11 +9410,11 @@ const xA = { activatedOpacity: 0.24 } }; -function Xl(e, t, n, r) { +function zl(e, t, n, r) { const i = r.light || r, o = r.dark || r * 1.5; - e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = bA(e.main, i) : t === "dark" && (e.dark = SA(e.main, o))); + e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = CD(e.main, i) : t === "dark" && (e.dark = bD(e.main, o))); } -function YA(e = "light") { +function QD(e = "light") { return e === "dark" ? { main: pr[200], light: pr[50], @@ -9628,7 +9425,7 @@ function YA(e = "light") { dark: pr[800] }; } -function BA(e = "light") { +function BD(e = "light") { return e === "dark" ? { main: hr[200], light: hr[50], @@ -9639,7 +9436,7 @@ function BA(e = "light") { dark: hr[700] }; } -function QA(e = "light") { +function $D(e = "light") { return e === "dark" ? { main: gr[500], light: gr[300], @@ -9650,7 +9447,7 @@ function QA(e = "light") { dark: gr[800] }; } -function $A(e = "light") { +function WD(e = "light") { return e === "dark" ? { main: Mr[400], light: Mr[300], @@ -9661,7 +9458,7 @@ function $A(e = "light") { dark: Mr[900] }; } -function WA(e = "light") { +function VD(e = "light") { return e === "dark" ? { main: yr[400], light: yr[300], @@ -9672,28 +9469,28 @@ function WA(e = "light") { dark: yr[900] }; } -function VA(e = "light") { +function HD(e = "light") { return e === "dark" ? { - main: ei[400], - light: ei[300], - dark: ei[700] + main: Xr[400], + light: Xr[300], + dark: Xr[700] } : { main: "#ed6c02", // closest to orange[800] that pass 3:1. - light: ei[500], - dark: ei[900] + light: Xr[500], + dark: Xr[900] }; } -function HA(e) { +function qD(e) { const { mode: t = "light", contrastThreshold: n = 3, tonalOffset: r = 0.2 - } = e, i = Je(e, FA), o = e.primary || YA(t), s = e.secondary || BA(t), a = e.error || QA(t), u = e.info || $A(t), c = e.success || WA(t), l = e.warning || VA(t); + } = e, i = ut(e, YD), o = e.primary || QD(t), s = e.secondary || BD(t), a = e.error || $D(t), u = e.info || WD(t), c = e.success || VD(t), l = e.warning || HD(t); function f(p) { - const m = Jl(p, Js.text.primary) >= n ? Js.text.primary : Zl.text.primary; + const m = _l(p, Hs.text.primary) >= n ? Hs.text.primary : kl.text.primary; if (process.env.NODE_ENV !== "production") { - const v = Jl(p, m); + const v = _l(p, m); v < 3 && console.error([`MUI: The contrast ratio of ${v}:1 for ${m} on ${p}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(` `)); } @@ -9706,9 +9503,9 @@ function HA(e) { lightShade: w = 300, darkShade: j = 700 }) => { - if (p = pe({}, p), !p.main && p[v] && (p.main = p[v]), !p.hasOwnProperty("main")) + if (p = ve({}, p), !p.main && p[v] && (p.main = p[v]), !p.hasOwnProperty("main")) throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${m ? ` (${m})` : ""} provided to augmentColor(color) is invalid. -The color object needs to have a \`main\` property or a \`${v}\` property.` : Si(11, m ? ` (${m})` : "", v)); +The color object needs to have a \`main\` property or a \`${v}\` property.` : ji(11, m ? ` (${m})` : "", v)); if (typeof p.main != "string") throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${m ? ` (${m})` : ""} provided to augmentColor(color) is invalid. \`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead. @@ -9723,15 +9520,15 @@ const theme1 = createTheme({ palette: { const theme2 = createTheme({ palette: { primary: { main: green[500] }, -} });` : Si(12, m ? ` (${m})` : "", JSON.stringify(p.main))); - return Xl(p, "light", w, r), Xl(p, "dark", j, r), p.contrastText || (p.contrastText = f(p.main)), p; +} });` : ji(12, m ? ` (${m})` : "", JSON.stringify(p.main))); + return zl(p, "light", w, r), zl(p, "dark", j, r), p.contrastText || (p.contrastText = f(p.main)), p; }, g = { - dark: Js, - light: Zl + dark: Hs, + light: kl }; - return process.env.NODE_ENV !== "production" && (g[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), un(pe({ + return process.env.NODE_ENV !== "production" && (g[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), un(ve({ // A collection of common colors. - common: pe({}, _i), + common: ve({}, Li), // prevent mutable object. // The palette mode, can be light or dark. mode: t, @@ -9769,7 +9566,7 @@ const theme2 = createTheme({ palette: { name: "success" }), // The grey colors. - grey: LA, + grey: _D, // Used by `getContrastText()` to maximize the contrast between // the background and the text. contrastThreshold: n, @@ -9783,16 +9580,16 @@ const theme2 = createTheme({ palette: { tonalOffset: r }, g[t]), i); } -const qA = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; -function KA(e) { +const KD = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; +function GD(e) { return Math.round(e * 1e5) / 1e5; } -const ef = { +const Pl = { textTransform: "uppercase" -}, tf = '"Roboto", "Helvetica", "Arial", sans-serif'; -function GA(e, t) { +}, Rl = '"Roboto", "Helvetica", "Arial", sans-serif'; +function JD(e, t) { const n = typeof t == "function" ? t(e) : t, { - fontFamily: r = tf, + fontFamily: r = Rl, // The default font size of the Material Specification. fontSize: i = 14, // px @@ -9806,17 +9603,17 @@ function GA(e, t) { // Apply the CSS properties to all the variants. allVariants: l, pxToRem: f - } = n, d = Je(n, qA); + } = n, d = ut(n, KD); process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number.")); - const g = i / 14, h = f || ((v) => `${v / c * g}rem`), p = (v, w, j, N, I) => pe({ + const g = i / 14, h = f || ((v) => `${v / c * g}rem`), p = (v, w, j, I, N) => ve({ fontFamily: r, fontWeight: v, fontSize: h(w), // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ lineHeight: j - }, r === tf ? { - letterSpacing: `${KA(N / w)}em` - } : {}, I, l), m = { + }, r === Rl ? { + letterSpacing: `${GD(I / w)}em` + } : {}, N, l), m = { h1: p(o, 96, 1.167, -1.5), h2: p(o, 60, 1.2, -0.5), h3: p(s, 48, 1.167, 0), @@ -9827,11 +9624,11 @@ function GA(e, t) { subtitle2: p(a, 14, 1.57, 0.1), body1: p(s, 16, 1.5, 0.15), body2: p(s, 14, 1.43, 0.15), - button: p(a, 14, 1.75, 0.4, ef), + button: p(a, 14, 1.75, 0.4, Pl), caption: p(s, 12, 1.66, 0.4), - overline: p(s, 12, 2.66, 1, ef) + overline: p(s, 12, 2.66, 1, Pl) }; - return un(pe({ + return un(ve({ htmlFontSize: c, pxToRem: h, fontFamily: r, @@ -9845,11 +9642,11 @@ function GA(e, t) { // No need to clone deep }); } -const JA = 0.2, ZA = 0.14, XA = 0.12; +const ZD = 0.2, XD = 0.14, eA = 0.12; function Ze(...e) { - return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${JA})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ZA})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${XA})`].join(","); + return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ZD})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${XD})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${eA})`].join(","); } -const eE = ["none", Ze(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ze(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Ze(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Ze(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Ze(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Ze(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Ze(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Ze(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Ze(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Ze(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Ze(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Ze(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Ze(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Ze(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Ze(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Ze(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Ze(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Ze(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Ze(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Ze(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Ze(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Ze(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Ze(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Ze(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], tE = eE, nE = ["duration", "easing", "delay"], rE = { +const tA = ["none", Ze(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ze(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Ze(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Ze(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Ze(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Ze(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Ze(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Ze(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Ze(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Ze(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Ze(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Ze(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Ze(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Ze(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Ze(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Ze(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Ze(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Ze(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Ze(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Ze(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Ze(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Ze(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Ze(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Ze(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], nA = tA, rA = ["duration", "easing", "delay"], iA = { // This is the most common easing curve. easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", // Objects enter the screen at full velocity from off-screen and @@ -9859,7 +9656,7 @@ const eE = ["none", Ze(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ze(0, 3, 1, -2, 0, easeIn: "cubic-bezier(0.4, 0, 1, 1)", // The sharp curve is used by objects that may return to the screen at any time. sharp: "cubic-bezier(0.4, 0, 0.6, 1)" -}, iE = { +}, oA = { shortest: 150, shorter: 200, short: 250, @@ -9872,37 +9669,37 @@ const eE = ["none", Ze(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ze(0, 3, 1, -2, 0, // recommended when something is leaving screen leavingScreen: 195 }; -function nf(e) { +function Ul(e) { return `${Math.round(e)}ms`; } -function oE(e) { +function sA(e) { if (!e) return 0; const t = e / 36; return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10); } -function sE(e) { - const t = pe({}, rE, e.easing), n = pe({}, iE, e.duration); - return pe({ - getAutoHeightDuration: oE, +function aA(e) { + const t = ve({}, iA, e.easing), n = ve({}, oA, e.duration); + return ve({ + getAutoHeightDuration: sA, create: (i = ["all"], o = {}) => { const { duration: s = n.standard, easing: a = t.easeInOut, delay: u = 0 - } = o, c = Je(o, nE); + } = o, c = ut(o, rA); if (process.env.NODE_ENV !== "production") { const l = (d) => typeof d == "string", f = (d) => !isNaN(parseFloat(d)); !l(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !f(s) && !l(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), l(a) || console.error('MUI: Argument "easing" must be a string.'), !f(u) && !l(u) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(c).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`); } - return (Array.isArray(i) ? i : [i]).map((l) => `${l} ${typeof s == "string" ? s : nf(s)} ${a} ${typeof u == "string" ? u : nf(u)}`).join(","); + return (Array.isArray(i) ? i : [i]).map((l) => `${l} ${typeof s == "string" ? s : Ul(s)} ${a} ${typeof u == "string" ? u : Ul(u)}`).join(","); } }, e, { easing: t, duration: n }); } -const aE = { +const uA = { mobileStepper: 1e3, fab: 1050, speedDial: 1050, @@ -9911,22 +9708,22 @@ const aE = { modal: 1300, snackbar: 1400, tooltip: 1500 -}, uE = aE, cE = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"]; -function lE(e = {}, ...t) { +}, cA = uA, lA = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"]; +function fA(e = {}, ...t) { const { mixins: n = {}, palette: r = {}, transitions: i = {}, typography: o = {} - } = e, s = Je(e, cE), a = HA(r), u = sc(e); + } = e, s = ut(e, lA), a = qD(r), u = Vu(e); let c = un(u, { - mixins: CA(u.breakpoints, n), + mixins: xD(u.breakpoints, n), palette: a, // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol. - shadows: tE.slice(), - typography: GA(a, o), - transitions: sE(i), - zIndex: pe({}, uE) + shadows: nA.slice(), + typography: JD(a, o), + transitions: aA(i), + zIndex: ve({}, cA) }); if (c = un(c, s), c = t.reduce((l, f) => un(l, f), c), process.env.NODE_ENV !== "production") { const l = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (d, g) => { @@ -9954,38 +9751,38 @@ function lE(e = {}, ...t) { } return c; } -const fE = lE(), uc = fE, cc = (e) => Eo(e) && e !== "classes", dE = EA({ - defaultTheme: uc, - rootShouldForwardProp: cc -}), At = dE; -function Mn({ +const dA = fA(), qu = dA, Ku = (e) => Ao(e) && e !== "classes", hA = ID({ + defaultTheme: qu, + rootShouldForwardProp: Ku +}), At = hA; +function pn({ props: e, name: t }) { - return NA({ + return TD({ props: e, name: t, - defaultTheme: uc + defaultTheme: qu }); } -const Rg = /* @__PURE__ */ re.createContext({}); -process.env.NODE_ENV !== "production" && (Rg.displayName = "ListContext"); -const Za = Rg; -function hE(e) { +const og = /* @__PURE__ */ oe.createContext({}); +process.env.NODE_ENV !== "production" && (og.displayName = "ListContext"); +const Qa = og; +function gA(e) { return Zt("MuiList", e); } Pt("MuiList", ["root", "padding", "dense", "subheader"]); -const gE = ["children", "className", "component", "dense", "disablePadding", "subheader"], pE = (e) => { +const pA = ["children", "className", "component", "dense", "disablePadding", "subheader"], MA = (e) => { const { classes: t, disablePadding: n, dense: r, subheader: i } = e; - return _n({ + return On({ root: ["root", !n && "padding", r && "dense", i && "subheader"] - }, hE, t); -}, ME = At("ul", { + }, gA, t); +}, yA = At("ul", { name: "MuiList", slot: "Root", overridesResolver: (e, t) => { @@ -9996,7 +9793,7 @@ const gE = ["children", "className", "component", "dense", "disablePadding", "su } })(({ ownerState: e -}) => pe({ +}) => ve({ listStyle: "none", margin: 0, padding: 0, @@ -10006,8 +9803,8 @@ const gE = ["children", "className", "component", "dense", "disablePadding", "su paddingBottom: 8 }, e.subheader && { paddingTop: 0 -})), Ug = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +})), sg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiList" }), { @@ -10017,18 +9814,18 @@ const gE = ["children", "className", "component", "dense", "disablePadding", "su dense: a = !1, disablePadding: u = !1, subheader: c - } = r, l = Je(r, gE), f = re.useMemo(() => ({ + } = r, l = ut(r, pA), f = oe.useMemo(() => ({ dense: a - }), [a]), d = pe({}, r, { + }), [a]), d = ve({}, r, { component: s, dense: a, disablePadding: u - }), g = pE(d); - return /* @__PURE__ */ ge.jsx(Za.Provider, { + }), g = MA(d); + return /* @__PURE__ */ ge.jsx(Qa.Provider, { value: f, - children: /* @__PURE__ */ ge.jsxs(ME, pe({ + children: /* @__PURE__ */ ge.jsxs(yA, ve({ as: s, - className: at(g.root, o), + className: st(g.root, o), ref: n, ownerState: d }, l, { @@ -10036,7 +9833,7 @@ const gE = ["children", "className", "component", "dense", "disablePadding", "su })) }); }); -process.env.NODE_ENV !== "production" && (Ug.propTypes = { +process.env.NODE_ENV !== "production" && (sg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -10079,20 +9876,20 @@ process.env.NODE_ENV !== "production" && (Ug.propTypes = { */ sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]) }); -const yE = Ug, mE = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]; -function Zs(e, t, n) { +const mA = sg, vA = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]; +function qs(e, t, n) { return e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : n ? null : e.firstChild; } -function rf(e, t, n) { +function Fl(e, t, n) { return e === t ? n ? e.firstChild : e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : n ? null : e.lastChild; } -function Fg(e, t) { +function ag(e, t) { if (t === void 0) return !0; let n = e.innerText; return n === void 0 && (n = e.textContent), n = n.trim().toLowerCase(), n.length === 0 ? !1 : t.repeating ? n[0] === t.keys[0] : n.indexOf(t.keys.join("")) === 0; } -function ti(e, t, n, r, i, o) { +function ei(e, t, n, r, i, o) { let s = !1, a = i(e, t, t ? n : !1); for (; a; ) { if (a === e.firstChild) { @@ -10101,14 +9898,14 @@ function ti(e, t, n, r, i, o) { s = !0; } const u = r ? !1 : a.disabled || a.getAttribute("aria-disabled") === "true"; - if (!a.hasAttribute("tabindex") || !Fg(a, o) || u) + if (!a.hasAttribute("tabindex") || !ag(a, o) || u) a = i(e, a, n); else return a.focus(), !0; } return !1; } -const Yg = /* @__PURE__ */ re.forwardRef(function(t, n) { +const ug = /* @__PURE__ */ oe.forwardRef(function(t, n) { const { // private // eslint-disable-next-line react/prop-types @@ -10121,55 +9918,55 @@ const Yg = /* @__PURE__ */ re.forwardRef(function(t, n) { disableListWrap: c = !1, onKeyDown: l, variant: f = "selectedMenu" - } = t, d = Je(t, mE), g = re.useRef(null), h = re.useRef({ + } = t, d = ut(t, vA), g = oe.useRef(null), h = oe.useRef({ keys: [], repeating: !0, previousKeyMatched: !0, lastTime: null }); - Ci(() => { + bi(() => { i && g.current.focus(); - }, [i]), re.useImperativeHandle(r, () => ({ - adjustStyleForScrollbar: (j, N) => { - const I = !g.current.style.width; - if (j.clientHeight < g.current.clientHeight && I) { - const B = `${gg($t(j))}px`; - g.current.style[N.direction === "rtl" ? "paddingLeft" : "paddingRight"] = B, g.current.style.width = `calc(100% + ${B})`; + }, [i]), oe.useImperativeHandle(r, () => ({ + adjustStyleForScrollbar: (j, I) => { + const N = !g.current.style.width; + if (j.clientHeight < g.current.clientHeight && N) { + const Q = `${kh($t(j))}px`; + g.current.style[I.direction === "rtl" ? "paddingLeft" : "paddingRight"] = Q, g.current.style.width = `calc(100% + ${Q})`; } return g.current; } }), []); const p = (j) => { - const N = g.current, I = j.key, B = $t(N).activeElement; - if (I === "ArrowDown") - j.preventDefault(), ti(N, B, c, u, Zs); - else if (I === "ArrowUp") - j.preventDefault(), ti(N, B, c, u, rf); - else if (I === "Home") - j.preventDefault(), ti(N, null, c, u, Zs); - else if (I === "End") - j.preventDefault(), ti(N, null, c, u, rf); - else if (I.length === 1) { - const z = h.current, W = I.toLowerCase(), $ = performance.now(); - z.keys.length > 0 && ($ - z.lastTime > 500 ? (z.keys = [], z.repeating = !0, z.previousKeyMatched = !0) : z.repeating && W !== z.keys[0] && (z.repeating = !1)), z.lastTime = $, z.keys.push(W); - const b = B && !z.repeating && Fg(B, z); - z.previousKeyMatched && (b || ti(N, B, !1, u, Zs, z)) ? j.preventDefault() : z.previousKeyMatched = !1; + const I = g.current, N = j.key, Q = $t(I).activeElement; + if (N === "ArrowDown") + j.preventDefault(), ei(I, Q, c, u, qs); + else if (N === "ArrowUp") + j.preventDefault(), ei(I, Q, c, u, Fl); + else if (N === "Home") + j.preventDefault(), ei(I, null, c, u, qs); + else if (N === "End") + j.preventDefault(), ei(I, null, c, u, Fl); + else if (N.length === 1) { + const z = h.current, H = N.toLowerCase(), W = performance.now(); + z.keys.length > 0 && (W - z.lastTime > 500 ? (z.keys = [], z.repeating = !0, z.previousKeyMatched = !0) : z.repeating && H !== z.keys[0] && (z.repeating = !1)), z.lastTime = W, z.keys.push(H); + const b = Q && !z.repeating && ag(Q, z); + z.previousKeyMatched && (b || ei(I, Q, !1, u, qs, z)) ? j.preventDefault() : z.previousKeyMatched = !1; } l && l(j); - }, m = jt(g, n); + }, m = Tt(g, n); let v = -1; - re.Children.forEach(s, (j, N) => { - /* @__PURE__ */ re.isValidElement(j) && (process.env.NODE_ENV !== "production" && ko.isFragment(j) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(` -`)), j.props.disabled || (f === "selectedMenu" && j.props.selected || v === -1) && (v = N)); + oe.Children.forEach(s, (j, I) => { + /* @__PURE__ */ oe.isValidElement(j) && (process.env.NODE_ENV !== "production" && _o.isFragment(j) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(` +`)), j.props.disabled || (f === "selectedMenu" && j.props.selected || v === -1) && (v = I)); }); - const w = re.Children.map(s, (j, N) => { - if (N === v) { - const I = {}; - return o && (I.autoFocus = !0), j.props.tabIndex === void 0 && f === "selectedMenu" && (I.tabIndex = 0), /* @__PURE__ */ re.cloneElement(j, I); + const w = oe.Children.map(s, (j, I) => { + if (I === v) { + const N = {}; + return o && (N.autoFocus = !0), j.props.tabIndex === void 0 && f === "selectedMenu" && (N.tabIndex = 0), /* @__PURE__ */ oe.cloneElement(j, N); } return j; }); - return /* @__PURE__ */ ge.jsx(yE, pe({ + return /* @__PURE__ */ ge.jsx(mA, ve({ role: "menu", ref: m, className: a, @@ -10179,7 +9976,7 @@ const Yg = /* @__PURE__ */ re.forwardRef(function(t, n) { children: w })); }); -process.env.NODE_ENV !== "production" && (Yg.propTypes = { +process.env.NODE_ENV !== "production" && (ug.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -10224,19 +10021,19 @@ process.env.NODE_ENV !== "production" && (Yg.propTypes = { */ variant: D.oneOf(["menu", "selectedMenu"]) }); -const vE = Yg; -function vs() { - const e = zg(uc); - return process.env.NODE_ENV !== "production" && re.useDebugValue(e), e; +const wA = ug; +function Ms() { + const e = rg(qu); + return process.env.NODE_ENV !== "production" && oe.useDebugValue(e), e; } -function wE(e) { +function DA(e) { return Zt("MuiPaper", e); } Pt("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]); -const DE = ["className", "component", "elevation", "square", "variant"], of = (e) => { +const AA = ["className", "component", "elevation", "square", "variant"], Yl = (e) => { let t; return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, (t / 100).toFixed(2); -}, AE = (e) => { +}, EA = (e) => { const { square: t, elevation: n, @@ -10245,8 +10042,8 @@ const DE = ["className", "component", "elevation", "square", "variant"], of = (e } = e, o = { root: ["root", r, !t && "rounded", r === "elevation" && `elevation${n}`] }; - return _n(o, wE, i); -}, EE = At("div", { + return On(o, DA, i); +}, IA = At("div", { name: "MuiPaper", slot: "Root", overridesResolver: (e, t) => { @@ -10260,7 +10057,7 @@ const DE = ["className", "component", "elevation", "square", "variant"], of = (e ownerState: t }) => { var n; - return pe({ + return ve({ backgroundColor: (e.vars || e).palette.background.paper, color: (e.vars || e).palette.text.primary, transition: e.transitions.create("box-shadow") @@ -10268,15 +10065,15 @@ const DE = ["className", "component", "elevation", "square", "variant"], of = (e borderRadius: e.shape.borderRadius }, t.variant === "outlined" && { border: `1px solid ${(e.vars || e).palette.divider}` - }, t.variant === "elevation" && pe({ + }, t.variant === "elevation" && ve({ boxShadow: (e.vars || e).shadows[t.elevation] }, !e.vars && e.palette.mode === "dark" && { - backgroundImage: `linear-gradient(${jr("#fff", of(t.elevation))}, ${jr("#fff", of(t.elevation))})` + backgroundImage: `linear-gradient(${jr("#fff", Yl(t.elevation))}, ${jr("#fff", Yl(t.elevation))})` }, e.vars && { backgroundImage: (n = e.vars.overlays) == null ? void 0 : n[t.elevation] })); -}), Bg = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +}), cg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiPaper" }), { @@ -10285,21 +10082,21 @@ const DE = ["className", "component", "elevation", "square", "variant"], of = (e elevation: s = 1, square: a = !1, variant: u = "elevation" - } = r, c = Je(r, DE), l = pe({}, r, { + } = r, c = ut(r, AA), l = ve({}, r, { component: o, elevation: s, square: a, variant: u - }), f = AE(l); - return process.env.NODE_ENV !== "production" && vs().shadows[s] === void 0 && console.error([`MUI: The elevation provided is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(` -`)), /* @__PURE__ */ ge.jsx(EE, pe({ + }), f = EA(l); + return process.env.NODE_ENV !== "production" && Ms().shadows[s] === void 0 && console.error([`MUI: The elevation provided is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(` +`)), /* @__PURE__ */ ge.jsx(IA, ve({ as: o, ownerState: l, - className: at(f.root, i), + className: st(f.root, i), ref: n }, c)); }); -process.env.NODE_ENV !== "production" && (Bg.propTypes = { +process.env.NODE_ENV !== "production" && (cg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -10326,7 +10123,7 @@ process.env.NODE_ENV !== "production" && (Bg.propTypes = { * It accepts values between 0 and 24 inclusive. * @default 1 */ - elevation: $i(yg, (e) => { + elevation: $i(Rh, (e) => { const { elevation: t, variant: n @@ -10348,19 +10145,19 @@ process.env.NODE_ENV !== "production" && (Bg.propTypes = { */ variant: D.oneOfType([D.oneOf(["elevation", "outlined"]), D.string]) }); -const Qg = Bg; -function Xa(e, t) { - return Xa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { +const lg = cg; +function Ba(e, t) { + return Ba = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { return r.__proto__ = i, r; - }, Xa(e, t); + }, Ba(e, t); } -function $g(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Xa(e, t); +function fg(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Ba(e, t); } -const sf = { +const Ql = { disabled: !1 }; -var IE = process.env.NODE_ENV !== "production" ? D.oneOfType([D.number, D.shape({ +var NA = process.env.NODE_ENV !== "production" ? D.oneOfType([D.number, D.shape({ enter: D.number, exit: D.number, appear: D.number @@ -10377,23 +10174,23 @@ process.env.NODE_ENV !== "production" && D.oneOfType([D.string, D.shape({ exitDone: D.string, exitActive: D.string })]); -const Yo = Te.createContext(null); -var NE = function(t) { +const Fo = Te.createContext(null); +var TA = function(t) { return t.scrollTop; -}, li = "unmounted", Yn = "exited", Bn = "entering", Er = "entered", eu = "exiting", yn = /* @__PURE__ */ function(e) { - $g(t, e); +}, ci = "unmounted", Un = "exited", Fn = "entering", Er = "entered", $a = "exiting", Mn = /* @__PURE__ */ function(e) { + fg(t, e); function t(r, i) { var o; o = e.call(this, r, i) || this; var s = i, a = s && !s.isMounting ? r.enter : r.appear, u; - return o.appearStatus = null, r.in ? a ? (u = Yn, o.appearStatus = Bn) : u = Er : r.unmountOnExit || r.mountOnEnter ? u = li : u = Yn, o.state = { + return o.appearStatus = null, r.in ? a ? (u = Un, o.appearStatus = Fn) : u = Er : r.unmountOnExit || r.mountOnEnter ? u = ci : u = Un, o.state = { status: u }, o.nextCallback = null, o; } t.getDerivedStateFromProps = function(i, o) { var s = i.in; - return s && o.status === li ? { - status: Yn + return s && o.status === ci ? { + status: Un } : null; }; var n = t.prototype; @@ -10403,7 +10200,7 @@ var NE = function(t) { var o = null; if (i !== this.props) { var s = this.state.status; - this.props.in ? s !== Bn && s !== Er && (o = Bn) : (s === Bn || s === Er) && (o = eu); + this.props.in ? s !== Fn && s !== Er && (o = Fn) : (s === Fn || s === Er) && (o = $a); } this.updateStatus(!1, o); }, n.componentWillUnmount = function() { @@ -10417,21 +10214,21 @@ var NE = function(t) { }; }, n.updateStatus = function(i, o) { if (i === void 0 && (i = !1), o !== null) - if (this.cancelNextCallback(), o === Bn) { + if (this.cancelNextCallback(), o === Fn) { if (this.props.unmountOnExit || this.props.mountOnEnter) { - var s = this.props.nodeRef ? this.props.nodeRef.current : ci.findDOMNode(this); - s && NE(s); + var s = this.props.nodeRef ? this.props.nodeRef.current : ui.findDOMNode(this); + s && TA(s); } this.performEnter(i); } else this.performExit(); else - this.props.unmountOnExit && this.state.status === Yn && this.setState({ - status: li + this.props.unmountOnExit && this.state.status === Un && this.setState({ + status: ci }); }, n.performEnter = function(i) { - var o = this, s = this.props.enter, a = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [a] : [ci.findDOMNode(this), a], c = u[0], l = u[1], f = this.getTimeouts(), d = a ? f.appear : f.enter; - if (!i && !s || sf.disabled) { + var o = this, s = this.props.enter, a = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [a] : [ui.findDOMNode(this), a], c = u[0], l = u[1], f = this.getTimeouts(), d = a ? f.appear : f.enter; + if (!i && !s || Ql.disabled) { this.safeSetState({ status: Er }, function() { @@ -10440,7 +10237,7 @@ var NE = function(t) { return; } this.props.onEnter(c, l), this.safeSetState({ - status: Bn + status: Fn }, function() { o.props.onEntering(c, l), o.onTransitionEnd(d, function() { o.safeSetState({ @@ -10451,21 +10248,21 @@ var NE = function(t) { }); }); }, n.performExit = function() { - var i = this, o = this.props.exit, s = this.getTimeouts(), a = this.props.nodeRef ? void 0 : ci.findDOMNode(this); - if (!o || sf.disabled) { + var i = this, o = this.props.exit, s = this.getTimeouts(), a = this.props.nodeRef ? void 0 : ui.findDOMNode(this); + if (!o || Ql.disabled) { this.safeSetState({ - status: Yn + status: Un }, function() { i.props.onExited(a); }); return; } this.props.onExit(a), this.safeSetState({ - status: eu + status: $a }, function() { i.props.onExiting(a), i.onTransitionEnd(s.exit, function() { i.safeSetState({ - status: Yn + status: Un }, function() { i.props.onExited(a); }); @@ -10484,7 +10281,7 @@ var NE = function(t) { }, this.nextCallback; }, n.onTransitionEnd = function(i, o) { this.setNextCallback(o); - var s = this.props.nodeRef ? this.props.nodeRef.current : ci.findDOMNode(this), a = i == null && !this.props.addEndListener; + var s = this.props.nodeRef ? this.props.nodeRef.current : ui.findDOMNode(this), a = i == null && !this.props.addEndListener; if (!s || a) { setTimeout(this.nextCallback, 0); return; @@ -10496,21 +10293,21 @@ var NE = function(t) { i != null && setTimeout(this.nextCallback, i); }, n.render = function() { var i = this.state.status; - if (i === li) + if (i === ci) return null; var o = this.props, s = o.children; o.in, o.mountOnEnter, o.unmountOnExit, o.appear, o.enter, o.exit, o.timeout, o.addEndListener, o.onEnter, o.onEntering, o.onEntered, o.onExit, o.onExiting, o.onExited, o.nodeRef; - var a = Je(o, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); + var a = ur(o, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); return ( // allows for nested Transitions - /* @__PURE__ */ Te.createElement(Yo.Provider, { + /* @__PURE__ */ Te.createElement(Fo.Provider, { value: null }, typeof s == "function" ? s(i, a) : Te.cloneElement(Te.Children.only(s), a)) ); }, t; }(Te.Component); -yn.contextType = Yo; -yn.propTypes = process.env.NODE_ENV !== "production" ? { +Mn.contextType = Fo; +Mn.propTypes = process.env.NODE_ENV !== "production" ? { /** * A React reference to DOM element that need to transition: * https://stackoverflow.com/a/51127130/4671932 @@ -10606,7 +10403,7 @@ yn.propTypes = process.env.NODE_ENV !== "production" ? { * @type {number | { enter?: number, exit?: number, appear?: number }} */ timeout: function(t) { - var n = IE; + var n = NA; t.addEndListener || (n = n.isRequired); for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++) i[o - 1] = arguments[o]; @@ -10681,7 +10478,7 @@ yn.propTypes = process.env.NODE_ENV !== "production" ? { } : {}; function mr() { } -yn.defaultProps = { +Mn.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, @@ -10695,28 +10492,28 @@ yn.defaultProps = { onExiting: mr, onExited: mr }; -yn.UNMOUNTED = li; -yn.EXITED = Yn; -yn.ENTERING = Bn; -yn.ENTERED = Er; -yn.EXITING = eu; -const Wg = yn; -function TE(e) { +Mn.UNMOUNTED = ci; +Mn.EXITED = Un; +Mn.ENTERING = Fn; +Mn.ENTERED = Er; +Mn.EXITING = $a; +const dg = Mn; +function jA(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } -function lc(e, t) { +function Gu(e, t) { var n = function(o) { - return t && gi(o) ? t(o) : o; + return t && hi(o) ? t(o) : o; }, r = /* @__PURE__ */ Object.create(null); - return e && PM.map(e, function(i) { + return e && Xp.map(e, function(i) { return i; }).forEach(function(i) { r[i.key] = n(i); }), r; } -function jE(e, t) { +function SA(e, t) { e = e || {}, t = t || {}; function n(l) { return l in t ? t[l] : e[l]; @@ -10737,57 +10534,57 @@ function jE(e, t) { a[i[s]] = n(i[s]); return a; } -function Kn(e, t, n) { +function Hn(e, t, n) { return n[t] != null ? n[t] : e.props[t]; } -function SE(e, t) { - return lc(e.children, function(n) { - return pi(n, { +function bA(e, t) { + return Gu(e.children, function(n) { + return gi(n, { onExited: t.bind(null, n), in: !0, - appear: Kn(n, "appear", e), - enter: Kn(n, "enter", e), - exit: Kn(n, "exit", e) + appear: Hn(n, "appear", e), + enter: Hn(n, "enter", e), + exit: Hn(n, "exit", e) }); }); } -function bE(e, t, n) { - var r = lc(e.children), i = jE(t, r); +function CA(e, t, n) { + var r = Gu(e.children), i = SA(t, r); return Object.keys(i).forEach(function(o) { var s = i[o]; - if (gi(s)) { - var a = o in t, u = o in r, c = t[o], l = gi(c) && !c.props.in; - u && (!a || l) ? i[o] = pi(s, { + if (hi(s)) { + var a = o in t, u = o in r, c = t[o], l = hi(c) && !c.props.in; + u && (!a || l) ? i[o] = gi(s, { onExited: n.bind(null, s), in: !0, - exit: Kn(s, "exit", e), - enter: Kn(s, "enter", e) - }) : !u && a && !l ? i[o] = pi(s, { + exit: Hn(s, "exit", e), + enter: Hn(s, "enter", e) + }) : !u && a && !l ? i[o] = gi(s, { in: !1 - }) : u && a && gi(c) && (i[o] = pi(s, { + }) : u && a && hi(c) && (i[o] = gi(s, { onExited: n.bind(null, s), in: c.props.in, - exit: Kn(s, "exit", e), - enter: Kn(s, "enter", e) + exit: Hn(s, "exit", e), + enter: Hn(s, "enter", e) })); } }), i; } -var CE = Object.values || function(e) { +var xA = Object.values || function(e) { return Object.keys(e).map(function(t) { return e[t]; }); -}, xE = { +}, OA = { component: "div", childFactory: function(t) { return t; } -}, fc = /* @__PURE__ */ function(e) { - $g(t, e); +}, Ju = /* @__PURE__ */ function(e) { + fg(t, e); function t(r, i) { var o; o = e.call(this, r, i) || this; - var s = o.handleExited.bind(TE(o)); + var s = o.handleExited.bind(jA(o)); return o.state = { contextValue: { isMounting: !0 @@ -10808,27 +10605,27 @@ var CE = Object.values || function(e) { }, t.getDerivedStateFromProps = function(i, o) { var s = o.children, a = o.handleExited, u = o.firstRender; return { - children: u ? SE(i, a) : bE(i, s, a), + children: u ? bA(i, a) : CA(i, s, a), firstRender: !1 }; }, n.handleExited = function(i, o) { - var s = lc(this.props.children); + var s = Gu(this.props.children); i.key in s || (i.props.onExited && i.props.onExited(o), this.mounted && this.setState(function(a) { - var u = pe({}, a.children); + var u = Ge({}, a.children); return delete u[i.key], { children: u }; })); }, n.render = function() { - var i = this.props, o = i.component, s = i.childFactory, a = Je(i, ["component", "childFactory"]), u = this.state.contextValue, c = CE(this.state.children).map(s); - return delete a.appear, delete a.enter, delete a.exit, o === null ? /* @__PURE__ */ Te.createElement(Yo.Provider, { + var i = this.props, o = i.component, s = i.childFactory, a = ur(i, ["component", "childFactory"]), u = this.state.contextValue, c = xA(this.state.children).map(s); + return delete a.appear, delete a.enter, delete a.exit, o === null ? /* @__PURE__ */ Te.createElement(Fo.Provider, { value: u - }, c) : /* @__PURE__ */ Te.createElement(Yo.Provider, { + }, c) : /* @__PURE__ */ Te.createElement(Fo.Provider, { value: u }, /* @__PURE__ */ Te.createElement(o, a, c)); }, t; }(Te.Component); -fc.propTypes = process.env.NODE_ENV !== "production" ? { +Ju.propTypes = process.env.NODE_ENV !== "production" ? { /** * `` renders a `
` by default. You can change this * behavior by providing a `component` prop. @@ -10881,9 +10678,9 @@ fc.propTypes = process.env.NODE_ENV !== "production" ? { */ childFactory: D.func } : {}; -fc.defaultProps = xE; -const OE = fc, Vg = (e) => e.scrollTop; -function Bo(e, t) { +Ju.defaultProps = OA; +const LA = Ju, hg = (e) => e.scrollTop; +function Yo(e, t) { var n, r; const { timeout: i, @@ -10896,20 +10693,20 @@ function Bo(e, t) { delay: s.transitionDelay }; } -const LE = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]; -function tu(e) { +const _A = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]; +function Wa(e) { return `scale(${e}, ${e ** 2})`; } -const _E = { +const kA = { entering: { opacity: 1, - transform: tu(1) + transform: Wa(1) }, entered: { opacity: 1, transform: "none" } -}, Xs = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent), dc = /* @__PURE__ */ re.forwardRef(function(t, n) { +}, Ks = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent), Zu = /* @__PURE__ */ oe.forwardRef(function(t, n) { const { addEndListener: r, appear: i = !0, @@ -10925,19 +10722,19 @@ const _E = { style: h, timeout: p = "auto", // eslint-disable-next-line react/prop-types - TransitionComponent: m = Wg - } = t, v = Je(t, LE), w = re.useRef(), j = re.useRef(), N = vs(), I = re.useRef(null), B = jt(o.ref, n), z = jt(I, B), W = (R) => (C) => { + TransitionComponent: m = dg + } = t, v = ut(t, _A), w = oe.useRef(), j = oe.useRef(), I = Ms(), N = oe.useRef(null), Q = Tt(o.ref, n), z = Tt(N, Q), H = (R) => (C) => { if (R) { - const J = I.current; + const J = N.current; C === void 0 ? R(J) : R(J, C); } - }, $ = W(l), b = W((R, C) => { - Vg(R); + }, W = H(l), b = H((R, C) => { + hg(R); const { duration: J, - delay: ie, + delay: re, easing: L - } = Bo({ + } = Yo({ style: h, timeout: p, easing: s @@ -10945,20 +10742,20 @@ const _E = { mode: "enter" }); let F; - p === "auto" ? (F = N.transitions.getAutoHeightDuration(R.clientHeight), j.current = F) : F = J, R.style.transition = [N.transitions.create("opacity", { + p === "auto" ? (F = I.transitions.getAutoHeightDuration(R.clientHeight), j.current = F) : F = J, R.style.transition = [I.transitions.create("opacity", { duration: F, - delay: ie - }), N.transitions.create("transform", { - duration: Xs ? F : F * 0.666, - delay: ie, + delay: re + }), I.transitions.create("transform", { + duration: Ks ? F : F * 0.666, + delay: re, easing: L })].join(","), u && u(R, C); - }), k = W(c), U = W(g), x = W((R) => { + }), k = H(c), U = H(g), x = H((R) => { const { duration: C, delay: J, - easing: ie - } = Bo({ + easing: re + } = Yo({ style: h, timeout: p, easing: s @@ -10966,43 +10763,43 @@ const _E = { mode: "exit" }); let L; - p === "auto" ? (L = N.transitions.getAutoHeightDuration(R.clientHeight), j.current = L) : L = C, R.style.transition = [N.transitions.create("opacity", { + p === "auto" ? (L = I.transitions.getAutoHeightDuration(R.clientHeight), j.current = L) : L = C, R.style.transition = [I.transitions.create("opacity", { duration: L, delay: J - }), N.transitions.create("transform", { - duration: Xs ? L : L * 0.666, - delay: Xs ? J : J || L * 0.333, - easing: ie - })].join(","), R.style.opacity = 0, R.style.transform = tu(0.75), f && f(R); - }), T = W(d), S = (R) => { - p === "auto" && (w.current = setTimeout(R, j.current || 0)), r && r(I.current, R); + }), I.transitions.create("transform", { + duration: Ks ? L : L * 0.666, + delay: Ks ? J : J || L * 0.333, + easing: re + })].join(","), R.style.opacity = 0, R.style.transform = Wa(0.75), f && f(R); + }), T = H(d), S = (R) => { + p === "auto" && (w.current = setTimeout(R, j.current || 0)), r && r(N.current, R); }; - return re.useEffect(() => () => { + return oe.useEffect(() => () => { clearTimeout(w.current); - }, []), /* @__PURE__ */ ge.jsx(m, pe({ + }, []), /* @__PURE__ */ ge.jsx(m, ve({ appear: i, in: a, - nodeRef: I, + nodeRef: N, onEnter: b, onEntered: k, - onEntering: $, + onEntering: W, onExit: x, onExited: T, onExiting: U, addEndListener: S, timeout: p === "auto" ? null : p }, v, { - children: (R, C) => /* @__PURE__ */ re.cloneElement(o, pe({ - style: pe({ + children: (R, C) => /* @__PURE__ */ oe.cloneElement(o, ve({ + style: ve({ opacity: 0, - transform: tu(0.75), + transform: Wa(0.75), visibility: R === "exited" && !a ? "hidden" : void 0 - }, _E[R], h, o.props.style), + }, kA[R], h, o.props.style), ref: z }, C)) })); }); -process.env.NODE_ENV !== "production" && (dc.propTypes = { +process.env.NODE_ENV !== "production" && (Zu.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11076,16 +10873,16 @@ process.env.NODE_ENV !== "production" && (dc.propTypes = { exit: D.number })]) }); -dc.muiSupportAuto = !0; -const kE = dc, zE = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], PE = { +Zu.muiSupportAuto = !0; +const zA = Zu, PA = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], RA = { entering: { opacity: 1 }, entered: { opacity: 1 } -}, Hg = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = vs(), i = { +}, gg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = Ms(), i = { enter: r.transitions.duration.enteringScreen, exit: r.transitions.duration.leavingScreen }, { @@ -11103,15 +10900,15 @@ const kE = dc, zE = ["addEndListener", "appear", "children", "easing", "in", "on style: m, timeout: v = i, // eslint-disable-next-line react/prop-types - TransitionComponent: w = Wg - } = t, j = Je(t, zE), N = re.useRef(null), I = jt(a.ref, n), B = jt(N, I), z = (S) => (R) => { + TransitionComponent: w = dg + } = t, j = ut(t, PA), I = oe.useRef(null), N = Tt(a.ref, n), Q = Tt(I, N), z = (S) => (R) => { if (S) { - const C = N.current; + const C = I.current; R === void 0 ? S(C) : S(C, R); } - }, W = z(d), $ = z((S, R) => { - Vg(S); - const C = Bo({ + }, H = z(d), W = z((S, R) => { + hg(S); + const C = Yo({ style: m, timeout: v, easing: u @@ -11120,7 +10917,7 @@ const kE = dc, zE = ["addEndListener", "appear", "children", "easing", "in", "on }); S.style.webkitTransition = r.transitions.create("opacity", C), S.style.transition = r.transitions.create("opacity", C), l && l(S, R); }), b = z(f), k = z(p), U = z((S) => { - const R = Bo({ + const R = Yo({ style: m, timeout: v, easing: u @@ -11129,31 +10926,31 @@ const kE = dc, zE = ["addEndListener", "appear", "children", "easing", "in", "on }); S.style.webkitTransition = r.transitions.create("opacity", R), S.style.transition = r.transitions.create("opacity", R), g && g(S); }), x = z(h), T = (S) => { - o && o(N.current, S); + o && o(I.current, S); }; - return /* @__PURE__ */ ge.jsx(w, pe({ + return /* @__PURE__ */ ge.jsx(w, ve({ appear: s, in: c, - nodeRef: N, - onEnter: $, + nodeRef: I, + onEnter: W, onEntered: b, - onEntering: W, + onEntering: H, onExit: U, onExited: x, onExiting: k, addEndListener: T, timeout: v }, j, { - children: (S, R) => /* @__PURE__ */ re.cloneElement(a, pe({ - style: pe({ + children: (S, R) => /* @__PURE__ */ oe.cloneElement(a, ve({ + style: ve({ opacity: 0, visibility: S === "exited" && !c ? "hidden" : void 0 - }, PE[S], m, a.props.style), - ref: B + }, RA[S], m, a.props.style), + ref: Q }, R)) })); }); -process.env.NODE_ENV !== "production" && (Hg.propTypes = { +process.env.NODE_ENV !== "production" && (gg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11228,20 +11025,20 @@ process.env.NODE_ENV !== "production" && (Hg.propTypes = { exit: D.number })]) }); -const RE = Hg; -function UE(e) { +const UA = gg; +function FA(e) { return Zt("MuiBackdrop", e); } Pt("MuiBackdrop", ["root", "invisible"]); -const FE = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"], YE = (e) => { +const YA = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"], QA = (e) => { const { classes: t, invisible: n } = e; - return _n({ + return On({ root: ["root", n && "invisible"] - }, UE, t); -}, BE = At("div", { + }, FA, t); +}, BA = At("div", { name: "MuiBackdrop", slot: "Root", overridesResolver: (e, t) => { @@ -11252,7 +11049,7 @@ const FE = ["children", "component", "components", "componentsProps", "className } })(({ ownerState: e -}) => pe({ +}) => ve({ position: "fixed", display: "flex", alignItems: "center", @@ -11265,9 +11062,9 @@ const FE = ["children", "component", "components", "componentsProps", "className WebkitTapHighlightColor: "transparent" }, e.invisible && { backgroundColor: "transparent" -})), qg = /* @__PURE__ */ re.forwardRef(function(t, n) { +})), pg = /* @__PURE__ */ oe.forwardRef(function(t, n) { var r, i; - const o = Mn({ + const o = pn({ props: t, name: "MuiBackdrop" }), { @@ -11280,27 +11077,27 @@ const FE = ["children", "component", "components", "componentsProps", "className open: d, transitionDuration: g, // eslint-disable-next-line react/prop-types - TransitionComponent: h = RE - } = o, p = Je(o, FE), m = pe({}, o, { + TransitionComponent: h = UA + } = o, p = ut(o, YA), m = ve({}, o, { component: a, invisible: f - }), v = YE(m); - return /* @__PURE__ */ ge.jsx(h, pe({ + }), v = QA(m); + return /* @__PURE__ */ ge.jsx(h, ve({ in: d, timeout: g }, p, { - children: /* @__PURE__ */ ge.jsx(BE, { + children: /* @__PURE__ */ ge.jsx(BA, { "aria-hidden": !0, as: (r = u.Root) != null ? r : a, - className: at(v.root, l), - ownerState: pe({}, m, (i = c.root) == null ? void 0 : i.ownerState), + className: st(v.root, l), + ownerState: ve({}, m, (i = c.root) == null ? void 0 : i.ownerState), classes: v, ref: n, children: s }) })); }); -process.env.NODE_ENV !== "production" && (qg.propTypes = { +process.env.NODE_ENV !== "production" && (pg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11361,7 +11158,7 @@ process.env.NODE_ENV !== "production" && (qg.propTypes = { exit: D.number })]) }); -const QE = qg, $E = ["BackdropComponent", "closeAfterTransition", "children", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted"], WE = (e) => e.classes, VE = At("div", { +const $A = pg, WA = ["BackdropComponent", "closeAfterTransition", "children", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted"], VA = (e) => e.classes, HA = At("div", { name: "MuiModal", slot: "Root", overridesResolver: (e, t) => { @@ -11373,7 +11170,7 @@ const QE = qg, $E = ["BackdropComponent", "closeAfterTransition", "children", "c })(({ theme: e, ownerState: t -}) => pe({ +}) => ve({ position: "fixed", zIndex: (e.vars || e).zIndex.modal, right: 0, @@ -11382,19 +11179,19 @@ const QE = qg, $E = ["BackdropComponent", "closeAfterTransition", "children", "c left: 0 }, !t.open && t.exited && { visibility: "hidden" -})), HE = At(QE, { +})), qA = At($A, { name: "MuiModal", slot: "Backdrop", overridesResolver: (e, t) => t.backdrop })({ zIndex: -1 -}), Kg = /* @__PURE__ */ re.forwardRef(function(t, n) { +}), Mg = /* @__PURE__ */ oe.forwardRef(function(t, n) { var r; - const i = Mn({ + const i = pn({ name: "MuiModal", props: t }), { - BackdropComponent: o = HE, + BackdropComponent: o = qA, closeAfterTransition: s = !1, children: a, components: u = {}, @@ -11407,7 +11204,7 @@ const QE = qg, $E = ["BackdropComponent", "closeAfterTransition", "children", "c disableScrollLock: p = !1, hideBackdrop: m = !1, keepMounted: v = !1 - } = i, w = Je(i, $E), [j, N] = re.useState(!0), I = { + } = i, w = ut(i, WA), [j, I] = oe.useState(!0), N = { closeAfterTransition: s, disableAutoFocus: l, disableEnforceFocus: f, @@ -11417,29 +11214,29 @@ const QE = qg, $E = ["BackdropComponent", "closeAfterTransition", "children", "c disableScrollLock: p, hideBackdrop: m, keepMounted: v - }, B = pe({}, i, I, { + }, Q = ve({}, i, N, { exited: j - }), z = WE(B); - return /* @__PURE__ */ ge.jsx(n0, pe({ - components: pe({ - Root: VE + }), z = VA(Q); + return /* @__PURE__ */ ge.jsx(rw, ve({ + components: ve({ + Root: HA }, u), componentsProps: { - root: pe({}, c.root, (!u.Root || !sg(u.Root)) && { - ownerState: pe({}, (r = c.root) == null ? void 0 : r.ownerState) + root: ve({}, c.root, (!u.Root || !jh(u.Root)) && { + ownerState: ve({}, (r = c.root) == null ? void 0 : r.ownerState) }) }, BackdropComponent: o, - onTransitionEnter: () => N(!1), - onTransitionExited: () => N(!0), + onTransitionEnter: () => I(!1), + onTransitionExited: () => I(!0), ref: n }, w, { classes: z - }, I, { + }, N, { children: a })); }); -process.env.NODE_ENV !== "production" && (Kg.propTypes = { +process.env.NODE_ENV !== "production" && (Mg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11570,39 +11367,39 @@ process.env.NODE_ENV !== "production" && (Kg.propTypes = { */ sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]) }); -const qE = Kg; -function KE(e) { +const KA = Mg; +function GA(e) { return Zt("MuiPopover", e); } Pt("MuiPopover", ["root", "paper"]); -const GE = ["onEntering"], JE = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]; -function af(e, t) { +const JA = ["onEntering"], ZA = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]; +function Bl(e, t) { let n = 0; return typeof t == "number" ? n = t : t === "center" ? n = e.height / 2 : t === "bottom" && (n = e.height), n; } -function uf(e, t) { +function $l(e, t) { let n = 0; return typeof t == "number" ? n = t : t === "center" ? n = e.width / 2 : t === "right" && (n = e.width), n; } -function cf(e) { +function Wl(e) { return [e.horizontal, e.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" "); } -function Io(e) { +function Eo(e) { return typeof e == "function" ? e() : e; } -const ZE = (e) => { +const XA = (e) => { const { classes: t } = e; - return _n({ + return On({ root: ["root"], paper: ["paper"] - }, KE, t); -}, XE = At(qE, { + }, GA, t); +}, eE = At(KA, { name: "MuiPopover", slot: "Root", overridesResolver: (e, t) => t.root -})({}), eI = At(Qg, { +})({}), tE = At(lg, { name: "MuiPopover", slot: "Paper", overridesResolver: (e, t) => t.paper @@ -11618,8 +11415,8 @@ const ZE = (e) => { maxHeight: "calc(100% - 32px)", // We disable the focus ring for mouse, touch and keyboard users. outline: 0 -}), Gg = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +}), yg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiPopover" }), { @@ -11642,12 +11439,12 @@ const ZE = (e) => { vertical: "top", horizontal: "left" }, - TransitionComponent: v = kE, + TransitionComponent: v = zA, transitionDuration: w = "auto", TransitionProps: { onEntering: j } = {} - } = r, N = Je(r.TransitionProps, GE), I = Je(r, JE), B = re.useRef(), z = jt(B, p.ref), W = pe({}, r, { + } = r, I = ut(r.TransitionProps, JA), N = ut(r, ZA), Q = oe.useRef(), z = Tt(Q, p.ref), H = ve({}, r, { anchorOrigin: s, anchorReference: u, elevation: d, @@ -11656,59 +11453,59 @@ const ZE = (e) => { transformOrigin: m, TransitionComponent: v, transitionDuration: w, - TransitionProps: N - }), $ = ZE(W), b = re.useCallback(() => { + TransitionProps: I + }), W = XA(H), b = oe.useCallback(() => { if (u === "anchorPosition") return process.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using .')), a; - const C = Io(o), J = C && C.nodeType === 1 ? C : $t(B.current).body, ie = J.getBoundingClientRect(); + const C = Eo(o), J = C && C.nodeType === 1 ? C : $t(Q.current).body, re = J.getBoundingClientRect(); if (process.env.NODE_ENV !== "production") { const L = J.getBoundingClientRect(); process.env.NODE_ENV !== "test" && L.top === 0 && L.left === 0 && L.right === 0 && L.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(` `)); } return { - top: ie.top + af(ie, s.vertical), - left: ie.left + uf(ie, s.horizontal) + top: re.top + Bl(re, s.vertical), + left: re.left + $l(re, s.horizontal) }; - }, [o, s.horizontal, s.vertical, a, u]), k = re.useCallback((C) => ({ - vertical: af(C, m.vertical), - horizontal: uf(C, m.horizontal) - }), [m.horizontal, m.vertical]), U = re.useCallback((C) => { + }, [o, s.horizontal, s.vertical, a, u]), k = oe.useCallback((C) => ({ + vertical: Bl(C, m.vertical), + horizontal: $l(C, m.horizontal) + }), [m.horizontal, m.vertical]), U = oe.useCallback((C) => { const J = { width: C.offsetWidth, height: C.offsetHeight - }, ie = k(J); + }, re = k(J); if (u === "none") return { top: null, left: null, - transformOrigin: cf(ie) + transformOrigin: Wl(re) }; const L = b(); - let F = L.top - ie.vertical, P = L.left - ie.horizontal; - const q = F + J.height, K = P + J.width, X = bi(Io(o)), O = X.innerHeight - g, ne = X.innerWidth - g; + let F = L.top - re.vertical, P = L.left - re.horizontal; + const q = F + J.height, K = P + J.width, X = Si(Eo(o)), O = X.innerHeight - g, ne = X.innerWidth - g; if (F < g) { const G = F - g; - F -= G, ie.vertical += G; + F -= G, re.vertical += G; } else if (q > O) { const G = q - O; - F -= G, ie.vertical += G; + F -= G, re.vertical += G; } if (process.env.NODE_ENV !== "production" && J.height > O && J.height && O && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${J.height - O}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(` `)), P < g) { const G = P - g; - P -= G, ie.horizontal += G; + P -= G, re.horizontal += G; } else if (K > ne) { const G = K - ne; - P -= G, ie.horizontal += G; + P -= G, re.horizontal += G; } return { top: `${Math.round(F)}px`, left: `${Math.round(P)}px`, - transformOrigin: cf(ie) + transformOrigin: Wl(re) }; - }, [o, u, b, k, g]), x = re.useCallback(() => { - const C = B.current; + }, [o, u, b, k, g]), x = oe.useCallback(() => { + const C = Q.current; if (!C) return; const J = U(C); @@ -11716,52 +11513,52 @@ const ZE = (e) => { }, [U]), T = (C, J) => { j && j(C, J), x(); }; - re.useEffect(() => { + oe.useEffect(() => { h && x(); - }), re.useImperativeHandle(i, () => h ? { + }), oe.useImperativeHandle(i, () => h ? { updatePosition: () => { x(); } - } : null, [h, x]), re.useEffect(() => { + } : null, [h, x]), oe.useEffect(() => { if (!h) return; - const C = Aw(() => { + const C = Ev(() => { x(); - }), J = bi(o); + }), J = Si(o); return J.addEventListener("resize", C), () => { C.clear(), J.removeEventListener("resize", C); }; }, [o, h, x]); let S = w; w === "auto" && !v.muiSupportAuto && (S = void 0); - const R = f || (o ? $t(Io(o)).body : void 0); - return /* @__PURE__ */ ge.jsx(XE, pe({ + const R = f || (o ? $t(Eo(o)).body : void 0); + return /* @__PURE__ */ ge.jsx(eE, ve({ BackdropProps: { invisible: !0 }, - className: at($.root, l), + className: st(W.root, l), container: R, open: h, ref: n, - ownerState: W - }, I, { - children: /* @__PURE__ */ ge.jsx(v, pe({ + ownerState: H + }, N, { + children: /* @__PURE__ */ ge.jsx(v, ve({ appear: !0, in: h, onEntering: T, timeout: S - }, N, { - children: /* @__PURE__ */ ge.jsx(eI, pe({ + }, I, { + children: /* @__PURE__ */ ge.jsx(tE, ve({ elevation: d }, p, { ref: z, - className: at($.paper, p.className), + className: st(W.paper, p.className), children: c })) })) })); }); -process.env.NODE_ENV !== "production" && (Gg.propTypes = { +process.env.NODE_ENV !== "production" && (yg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11770,14 +11567,14 @@ process.env.NODE_ENV !== "production" && (Gg.propTypes = { * A ref for imperative actions. * It currently only supports updatePosition() action. */ - action: hg, + action: _h, /** * An HTML element, or a function that returns one. * It's used to set the position of the popover. */ anchorEl: $i(D.oneOfType([kr, D.func]), (e) => { if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) { - const t = Io(e.anchorEl); + const t = Eo(e.anchorEl); if (t && t.nodeType === 1) { const n = t.getBoundingClientRect(); if (process.env.NODE_ENV !== "test" && n.top === 0 && n.left === 0 && n.right === 0 && n.bottom === 0) @@ -11844,7 +11641,7 @@ process.env.NODE_ENV !== "production" && (Gg.propTypes = { * The elevation of the popover. * @default 8 */ - elevation: yg, + elevation: Rh, /** * Specifies how close to the edge of the window the popover can appear. * @default 16 @@ -11864,7 +11661,7 @@ process.env.NODE_ENV !== "production" && (Gg.propTypes = { * @default {} */ PaperProps: D.shape({ - component: lg + component: xh }), /** * The system prop that allows defining system overrides as well as additional CSS styles. @@ -11908,32 +11705,32 @@ process.env.NODE_ENV !== "production" && (Gg.propTypes = { */ TransitionProps: D.object }); -const tI = Gg; -function nI(e) { +const nE = yg; +function rE(e) { return Zt("MuiMenu", e); } Pt("MuiMenu", ["root", "paper", "list"]); -const rI = ["onEntering"], iI = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"], oI = { +const iE = ["onEntering"], oE = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"], sE = { vertical: "top", horizontal: "right" -}, sI = { +}, aE = { vertical: "top", horizontal: "left" -}, aI = (e) => { +}, uE = (e) => { const { classes: t } = e; - return _n({ + return On({ root: ["root"], paper: ["paper"], list: ["list"] - }, nI, t); -}, uI = At(tI, { - shouldForwardProp: (e) => cc(e) || e === "classes", + }, rE, t); +}, cE = At(nE, { + shouldForwardProp: (e) => Ku(e) || e === "classes", name: "MuiMenu", slot: "Root", overridesResolver: (e, t) => t.root -})({}), cI = At(Qg, { +})({}), lE = At(lg, { name: "MuiMenu", slot: "Paper", overridesResolver: (e, t) => t.paper @@ -11944,15 +11741,15 @@ const rI = ["onEntering"], iI = ["autoFocus", "children", "disableAutoFocusItem" maxHeight: "calc(100% - 96px)", // Add iOS momentum scrolling for iOS < 13.0 WebkitOverflowScrolling: "touch" -}), lI = At(vE, { +}), fE = At(wA, { name: "MuiMenu", slot: "List", overridesResolver: (e, t) => t.list })({ // We disable the focus ring for mouse, touch and keyboard users. outline: 0 -}), Jg = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +}), mg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiMenu" }), { @@ -11969,7 +11766,7 @@ const rI = ["onEntering"], iI = ["autoFocus", "children", "disableAutoFocusItem" onEntering: g } = {}, variant: h = "selectedMenu" - } = r, p = Je(r.TransitionProps, rI), m = Je(r, iI), v = vs(), w = v.direction === "rtl", j = pe({}, r, { + } = r, p = ut(r.TransitionProps, iE), m = ut(r, oE), v = Ms(), w = v.direction === "rtl", j = ve({}, r, { autoFocus: i, disableAutoFocusItem: s, MenuListProps: a, @@ -11978,52 +11775,52 @@ const rI = ["onEntering"], iI = ["autoFocus", "children", "disableAutoFocusItem" transitionDuration: d, TransitionProps: p, variant: h - }), N = aI(j), I = i && !s && c, B = re.useRef(null), z = (b, k) => { - B.current && B.current.adjustStyleForScrollbar(b, v), g && g(b, k); - }, W = (b) => { + }), I = uE(j), N = i && !s && c, Q = oe.useRef(null), z = (b, k) => { + Q.current && Q.current.adjustStyleForScrollbar(b, v), g && g(b, k); + }, H = (b) => { b.key === "Tab" && (b.preventDefault(), u && u(b, "tabKeyDown")); }; - let $ = -1; - return re.Children.map(o, (b, k) => { - /* @__PURE__ */ re.isValidElement(b) && (process.env.NODE_ENV !== "production" && ko.isFragment(b) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(` -`)), b.props.disabled || (h === "selectedMenu" && b.props.selected || $ === -1) && ($ = k)); - }), /* @__PURE__ */ ge.jsx(uI, pe({ + let W = -1; + return oe.Children.map(o, (b, k) => { + /* @__PURE__ */ oe.isValidElement(b) && (process.env.NODE_ENV !== "production" && _o.isFragment(b) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(` +`)), b.props.disabled || (h === "selectedMenu" && b.props.selected || W === -1) && (W = k)); + }), /* @__PURE__ */ ge.jsx(cE, ve({ classes: f, onClose: u, anchorOrigin: { vertical: "bottom", horizontal: w ? "right" : "left" }, - transformOrigin: w ? oI : sI, - PaperProps: pe({ - component: cI + transformOrigin: w ? sE : aE, + PaperProps: ve({ + component: lE }, l, { - classes: pe({}, l.classes, { - root: N.paper + classes: ve({}, l.classes, { + root: I.paper }) }), - className: N.root, + className: I.root, open: c, ref: n, transitionDuration: d, - TransitionProps: pe({ + TransitionProps: ve({ onEntering: z }, p), ownerState: j }, m, { - children: /* @__PURE__ */ ge.jsx(lI, pe({ - onKeyDown: W, - actions: B, - autoFocus: i && ($ === -1 || s), - autoFocusItem: I, + children: /* @__PURE__ */ ge.jsx(fE, ve({ + onKeyDown: H, + actions: Q, + autoFocus: i && (W === -1 || s), + autoFocusItem: N, variant: h }, a, { - className: at(N.list, a.className), + className: st(I.list, a.className), children: o })) })); }); -process.env.NODE_ENV !== "production" && (Jg.propTypes = { +process.env.NODE_ENV !== "production" && (mg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -12106,8 +11903,8 @@ process.env.NODE_ENV !== "production" && (Jg.propTypes = { */ variant: D.oneOf(["menu", "selectedMenu"]) }); -const fI = Jg; -function Zg(e) { +const dE = mg; +function vg(e) { const { className: t, classes: n, @@ -12118,13 +11915,13 @@ function Zg(e) { in: a, onExited: u, timeout: c - } = e, [l, f] = re.useState(!1), d = at(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), g = { + } = e, [l, f] = oe.useState(!1), d = st(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), g = { width: s, height: s, top: -(s / 2) + o, left: -(s / 2) + i - }, h = at(n.child, l && n.childLeaving, r && n.childPulsate); - return !a && !l && f(!0), re.useEffect(() => { + }, h = st(n.child, l && n.childLeaving, r && n.childPulsate); + return !a && !l && f(!0), oe.useEffect(() => { if (!a && u != null) { const p = setTimeout(u, c); return () => { @@ -12139,7 +11936,7 @@ function Zg(e) { }) }); } -process.env.NODE_ENV !== "production" && (Zg.propTypes = { +process.env.NODE_ENV !== "production" && (vg.propTypes = { /** * Override or extend the styles applied to the component. * See [CSS API](#css) below for more details. @@ -12175,9 +11972,9 @@ process.env.NODE_ENV !== "production" && (Zg.propTypes = { */ timeout: D.number.isRequired }); -const dI = Pt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Ot = dI, hI = ["center", "classes", "className"]; -let ws = (e) => e, lf, ff, df, hf; -const nu = 550, gI = 80, pI = rc(lf || (lf = ws` +const hE = Pt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), xt = hE, gE = ["center", "classes", "className"]; +let ys = (e) => e, Vl, Hl, ql, Kl; +const Va = 550, pE = 80, ME = Bu(Vl || (Vl = ys` 0% { transform: scale(0); opacity: 0.1; @@ -12187,7 +11984,7 @@ const nu = 550, gI = 80, pI = rc(lf || (lf = ws` transform: scale(1); opacity: 0.3; } -`)), MI = rc(ff || (ff = ws` +`)), yE = Bu(Hl || (Hl = ys` 0% { opacity: 1; } @@ -12195,7 +11992,7 @@ const nu = 550, gI = 80, pI = rc(lf || (lf = ws` 100% { opacity: 0; } -`)), yI = rc(df || (df = ws` +`)), mE = Bu(ql || (ql = ys` 0% { transform: scale(1); } @@ -12207,7 +12004,7 @@ const nu = 550, gI = 80, pI = rc(lf || (lf = ws` 100% { transform: scale(1); } -`)), mI = At("span", { +`)), vE = At("span", { name: "MuiTouchRipple", slot: "Root" })({ @@ -12220,10 +12017,10 @@ const nu = 550, gI = 80, pI = rc(lf || (lf = ws` bottom: 0, left: 0, borderRadius: "inherit" -}), vI = At(Zg, { +}), wE = At(vg, { name: "MuiTouchRipple", slot: "Ripple" -})(hf || (hf = ws` +})(Kl || (Kl = ys` opacity: 0; position: absolute; @@ -12266,133 +12063,133 @@ const nu = 550, gI = 80, pI = rc(lf || (lf = ws` animation-iteration-count: infinite; animation-delay: 200ms; } -`), Ot.rippleVisible, pI, nu, ({ +`), xt.rippleVisible, ME, Va, ({ theme: e -}) => e.transitions.easing.easeInOut, Ot.ripplePulsate, ({ +}) => e.transitions.easing.easeInOut, xt.ripplePulsate, ({ theme: e -}) => e.transitions.duration.shorter, Ot.child, Ot.childLeaving, MI, nu, ({ +}) => e.transitions.duration.shorter, xt.child, xt.childLeaving, yE, Va, ({ theme: e -}) => e.transitions.easing.easeInOut, Ot.childPulsate, yI, ({ +}) => e.transitions.easing.easeInOut, xt.childPulsate, mE, ({ theme: e -}) => e.transitions.easing.easeInOut), Xg = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +}) => e.transitions.easing.easeInOut), wg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiTouchRipple" }), { center: i = !1, classes: o = {}, className: s - } = r, a = Je(r, hI), [u, c] = re.useState([]), l = re.useRef(0), f = re.useRef(null); - re.useEffect(() => { + } = r, a = ut(r, gE), [u, c] = oe.useState([]), l = oe.useRef(0), f = oe.useRef(null); + oe.useEffect(() => { f.current && (f.current(), f.current = null); }, [u]); - const d = re.useRef(!1), g = re.useRef(null), h = re.useRef(null), p = re.useRef(null); - re.useEffect(() => () => { + const d = oe.useRef(!1), g = oe.useRef(null), h = oe.useRef(null), p = oe.useRef(null); + oe.useEffect(() => () => { clearTimeout(g.current); }, []); - const m = re.useCallback((N) => { + const m = oe.useCallback((I) => { const { - pulsate: I, - rippleX: B, + pulsate: N, + rippleX: Q, rippleY: z, - rippleSize: W, - cb: $ - } = N; - c((b) => [...b, /* @__PURE__ */ ge.jsx(vI, { + rippleSize: H, + cb: W + } = I; + c((b) => [...b, /* @__PURE__ */ ge.jsx(wE, { classes: { - ripple: at(o.ripple, Ot.ripple), - rippleVisible: at(o.rippleVisible, Ot.rippleVisible), - ripplePulsate: at(o.ripplePulsate, Ot.ripplePulsate), - child: at(o.child, Ot.child), - childLeaving: at(o.childLeaving, Ot.childLeaving), - childPulsate: at(o.childPulsate, Ot.childPulsate) + ripple: st(o.ripple, xt.ripple), + rippleVisible: st(o.rippleVisible, xt.rippleVisible), + ripplePulsate: st(o.ripplePulsate, xt.ripplePulsate), + child: st(o.child, xt.child), + childLeaving: st(o.childLeaving, xt.childLeaving), + childPulsate: st(o.childPulsate, xt.childPulsate) }, - timeout: nu, - pulsate: I, - rippleX: B, + timeout: Va, + pulsate: N, + rippleX: Q, rippleY: z, - rippleSize: W - }, l.current)]), l.current += 1, f.current = $; - }, [o]), v = re.useCallback((N = {}, I = {}, B) => { + rippleSize: H + }, l.current)]), l.current += 1, f.current = W; + }, [o]), v = oe.useCallback((I = {}, N = {}, Q) => { const { pulsate: z = !1, - center: W = i || I.pulsate, - fakeElement: $ = !1 + center: H = i || N.pulsate, + fakeElement: W = !1 // For test purposes - } = I; - if ((N == null ? void 0 : N.type) === "mousedown" && d.current) { + } = N; + if ((I == null ? void 0 : I.type) === "mousedown" && d.current) { d.current = !1; return; } - (N == null ? void 0 : N.type) === "touchstart" && (d.current = !0); - const b = $ ? null : p.current, k = b ? b.getBoundingClientRect() : { + (I == null ? void 0 : I.type) === "touchstart" && (d.current = !0); + const b = W ? null : p.current, k = b ? b.getBoundingClientRect() : { width: 0, height: 0, left: 0, top: 0 }; let U, x, T; - if (W || N === void 0 || N.clientX === 0 && N.clientY === 0 || !N.clientX && !N.touches) + if (H || I === void 0 || I.clientX === 0 && I.clientY === 0 || !I.clientX && !I.touches) U = Math.round(k.width / 2), x = Math.round(k.height / 2); else { const { clientX: S, clientY: R - } = N.touches ? N.touches[0] : N; + } = I.touches ? I.touches[0] : I; U = Math.round(S - k.left), x = Math.round(R - k.top); } - if (W) + if (H) T = Math.sqrt((2 * k.width ** 2 + k.height ** 2) / 3), T % 2 === 0 && (T += 1); else { const S = Math.max(Math.abs((b ? b.clientWidth : 0) - U), U) * 2 + 2, R = Math.max(Math.abs((b ? b.clientHeight : 0) - x), x) * 2 + 2; T = Math.sqrt(S ** 2 + R ** 2); } - N != null && N.touches ? h.current === null && (h.current = () => { + I != null && I.touches ? h.current === null && (h.current = () => { m({ pulsate: z, rippleX: U, rippleY: x, rippleSize: T, - cb: B + cb: Q }); }, g.current = setTimeout(() => { h.current && (h.current(), h.current = null); - }, gI)) : m({ + }, pE)) : m({ pulsate: z, rippleX: U, rippleY: x, rippleSize: T, - cb: B + cb: Q }); - }, [i, m]), w = re.useCallback(() => { + }, [i, m]), w = oe.useCallback(() => { v({}, { pulsate: !0 }); - }, [v]), j = re.useCallback((N, I) => { - if (clearTimeout(g.current), (N == null ? void 0 : N.type) === "touchend" && h.current) { + }, [v]), j = oe.useCallback((I, N) => { + if (clearTimeout(g.current), (I == null ? void 0 : I.type) === "touchend" && h.current) { h.current(), h.current = null, g.current = setTimeout(() => { - j(N, I); + j(I, N); }); return; } - h.current = null, c((B) => B.length > 0 ? B.slice(1) : B), f.current = I; + h.current = null, c((Q) => Q.length > 0 ? Q.slice(1) : Q), f.current = N; }, []); - return re.useImperativeHandle(n, () => ({ + return oe.useImperativeHandle(n, () => ({ pulsate: w, start: v, stop: j - }), [w, v, j]), /* @__PURE__ */ ge.jsx(mI, pe({ - className: at(o.root, Ot.root, s), + }), [w, v, j]), /* @__PURE__ */ ge.jsx(vE, ve({ + className: st(o.root, xt.root, s), ref: p }, a, { - children: /* @__PURE__ */ ge.jsx(OE, { + children: /* @__PURE__ */ ge.jsx(LA, { component: null, exit: !0, children: u }) })); }); -process.env.NODE_ENV !== "production" && (Xg.propTypes = { +process.env.NODE_ENV !== "production" && (wg.propTypes = { /** * If `true`, the ripple starts at the center of the component * rather than at the point of interaction. @@ -12408,21 +12205,21 @@ process.env.NODE_ENV !== "production" && (Xg.propTypes = { */ className: D.string }); -const wI = Xg; -function DI(e) { +const DE = wg; +function AE(e) { return Zt("MuiButtonBase", e); } -const AI = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), EI = AI, II = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], NI = (e) => { +const EE = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), IE = EE, NE = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], TE = (e) => { const { disabled: t, focusVisible: n, focusVisibleClassName: r, classes: i - } = e, s = _n({ + } = e, s = On({ root: ["root", t && "disabled", n && "focusVisible"] - }, DI, i); + }, AE, i); return n && r && (s.root += ` ${r}`), s; -}, TI = At("button", { +}, jE = At("button", { name: "MuiButtonBase", slot: "Root", overridesResolver: (e, t) => t.root @@ -12457,7 +12254,7 @@ const AI = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), EI = AI, I borderStyle: "none" // Remove Firefox dotted outline. }, - [`&.${EI.disabled}`]: { + [`&.${IE.disabled}`]: { pointerEvents: "none", // Disable link interactions cursor: "default" @@ -12465,8 +12262,8 @@ const AI = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), EI = AI, I "@media print": { colorAdjust: "exact" } -}), ep = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +}), Dg = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiButtonBase" }), { @@ -12486,68 +12283,68 @@ const AI = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), EI = AI, I onDragLeave: v, onFocus: w, onFocusVisible: j, - onKeyDown: N, - onKeyUp: I, - onMouseDown: B, + onKeyDown: I, + onKeyUp: N, + onMouseDown: Q, onMouseLeave: z, - onMouseUp: W, - onTouchEnd: $, + onMouseUp: H, + onTouchEnd: W, onTouchMove: b, onTouchStart: k, tabIndex: U = 0, TouchRippleProps: x, touchRippleRef: T, type: S - } = r, R = Je(r, II), C = re.useRef(null), J = re.useRef(null), ie = jt(J, T), { + } = r, R = ut(r, NE), C = oe.useRef(null), J = oe.useRef(null), re = Tt(J, T), { isFocusVisibleRef: L, onFocus: F, onBlur: P, ref: q - } = Cw(), [K, X] = re.useState(!1); - c && K && X(!1), re.useImperativeHandle(i, () => ({ + } = xv(), [K, X] = oe.useState(!1); + c && K && X(!1), oe.useImperativeHandle(i, () => ({ focusVisible: () => { X(!0), C.current.focus(); } }), []); - const [O, ne] = re.useState(!1); - re.useEffect(() => { + const [O, ne] = oe.useState(!1); + oe.useEffect(() => { ne(!0); }, []); const G = O && !l && !c; - re.useEffect(() => { + oe.useEffect(() => { K && d && !l && O && J.current.pulsate(); }, [l, d, K, O]); function he(De, tn, lr = f) { return Tr((Xi) => (tn && tn(Xi), !lr && J.current && J.current[De](Xi), !0)); } - const H = he("start", B), Q = he("stop", m), V = he("stop", v), fe = he("stop", W), te = he("stop", (De) => { + const V = he("start", Q), B = he("stop", m), $ = he("stop", v), fe = he("stop", H), te = he("stop", (De) => { K && De.preventDefault(), z && z(De); - }), le = he("start", k), Me = he("stop", $), de = he("stop", b), E = he("stop", (De) => { + }), le = he("start", k), pe = he("stop", W), de = he("stop", b), E = he("stop", (De) => { P(De), L.current === !1 && X(!1), h && h(De); }, !1), y = Tr((De) => { C.current || (C.current = De.currentTarget), F(De), L.current === !0 && (X(!0), j && j(De)), w && w(De); }), M = () => { const De = C.current; return u && u !== "button" && !(De.tagName === "A" && De.href); - }, A = re.useRef(!1), Y = Tr((De) => { + }, A = oe.useRef(!1), Y = Tr((De) => { d && !A.current && K && J.current && De.key === " " && (A.current = !0, J.current.stop(De, () => { J.current.start(De); - })), De.target === De.currentTarget && M() && De.key === " " && De.preventDefault(), N && N(De), De.target === De.currentTarget && M() && De.key === "Enter" && !c && (De.preventDefault(), p && p(De)); + })), De.target === De.currentTarget && M() && De.key === " " && De.preventDefault(), I && I(De), De.target === De.currentTarget && M() && De.key === "Enter" && !c && (De.preventDefault(), p && p(De)); }), ee = Tr((De) => { d && De.key === " " && J.current && K && !De.defaultPrevented && (A.current = !1, J.current.stop(De, () => { J.current.pulsate(De); - })), I && I(De), p && De.target === De.currentTarget && M() && De.key === " " && !De.defaultPrevented && p(De); + })), N && N(De), p && De.target === De.currentTarget && M() && De.key === " " && !De.defaultPrevented && p(De); }); let Z = u; Z === "button" && (R.href || R.to) && (Z = g); - const ve = {}; - Z === "button" ? (ve.type = S === void 0 ? "button" : S, ve.disabled = c) : (!R.href && !R.to && (ve.role = "button"), c && (ve["aria-disabled"] = c)); - const Ce = jt(q, C), Se = jt(n, Ce); - process.env.NODE_ENV !== "production" && re.useEffect(() => { + const me = {}; + Z === "button" ? (me.type = S === void 0 ? "button" : S, me.disabled = c) : (!R.href && !R.to && (me.role = "button"), c && (me["aria-disabled"] = c)); + const Ce = Tt(q, C), Se = Tt(n, Ce); + process.env.NODE_ENV !== "production" && oe.useEffect(() => { G && !J.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(` `)); }, [G]); - const Pe = pe({}, r, { + const Pe = ve({}, r, { centerRipple: o, component: u, disabled: c, @@ -12556,38 +12353,38 @@ const AI = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), EI = AI, I focusRipple: d, tabIndex: U, focusVisible: K - }), Ve = NI(Pe); - return /* @__PURE__ */ ge.jsxs(TI, pe({ + }), Ve = TE(Pe); + return /* @__PURE__ */ ge.jsxs(jE, ve({ as: Z, - className: at(Ve.root, a), + className: st(Ve.root, a), ownerState: Pe, onBlur: E, onClick: p, - onContextMenu: Q, + onContextMenu: B, onFocus: y, onKeyDown: Y, onKeyUp: ee, - onMouseDown: H, + onMouseDown: V, onMouseLeave: te, onMouseUp: fe, - onDragLeave: V, - onTouchEnd: Me, + onDragLeave: $, + onTouchEnd: pe, onTouchMove: de, onTouchStart: le, ref: Se, tabIndex: c ? -1 : U, type: S - }, ve, R, { + }, me, R, { children: [s, G ? ( /* TouchRipple is only needed client-side, x2 boost on the server. */ - /* @__PURE__ */ ge.jsx(wI, pe({ - ref: ie, + /* @__PURE__ */ ge.jsx(DE, ve({ + ref: re, center: o }, x)) ) : null] })); }); -process.env.NODE_ENV !== "production" && (ep.propTypes = { +process.env.NODE_ENV !== "production" && (Dg.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -12596,7 +12393,7 @@ process.env.NODE_ENV !== "production" && (ep.propTypes = { * A ref for imperative actions. * It currently only supports `focusVisible()` action. */ - action: hg, + action: _h, /** * If `true`, the ripples are centered. * They won't start at the cursor interaction position. @@ -12619,7 +12416,7 @@ process.env.NODE_ENV !== "production" && (ep.propTypes = { * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: lg, + component: xh, /** * If `true`, the component is disabled. * @default false @@ -12745,16 +12542,16 @@ process.env.NODE_ENV !== "production" && (ep.propTypes = { */ type: D.oneOfType([D.oneOf(["button", "reset", "submit"]), D.string]) }); -const jI = ep, SI = Pt("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), gf = SI, bI = Pt("MuiListItemIcon", ["root", "alignItemsFlexStart"]), pf = bI, CI = Pt("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), Mf = CI; -function xI(e) { +const SE = Dg, bE = Pt("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), Gl = bE, CE = Pt("MuiListItemIcon", ["root", "alignItemsFlexStart"]), Jl = CE, xE = Pt("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), Zl = xE; +function OE(e) { return Zt("MuiMenuItem", e); } -const OI = Pt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), ni = OI, LI = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex"], _I = (e, t) => { +const LE = Pt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), ti = LE, _E = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex"], kE = (e, t) => { const { ownerState: n } = e; return [t.root, n.dense && t.dense, n.divider && t.divider, !n.disableGutters && t.gutters]; -}, kI = (e) => { +}, zE = (e) => { const { disabled: t, dense: n, @@ -12762,19 +12559,19 @@ const OI = Pt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi disableGutters: i, selected: o, classes: s - } = e, u = _n({ + } = e, u = On({ root: ["root", n && "dense", t && "disabled", !i && "gutters", r && "divider", o && "selected"] - }, xI, s); - return pe({}, s, u); -}, zI = At(jI, { - shouldForwardProp: (e) => cc(e) || e === "classes", + }, OE, s); + return ve({}, s, u); +}, PE = At(SE, { + shouldForwardProp: (e) => Ku(e) || e === "classes", name: "MuiMenuItem", slot: "Root", - overridesResolver: _I + overridesResolver: kE })(({ theme: e, ownerState: t -}) => pe({}, e.typography.body1, { +}) => ve({}, e.typography.body1, { display: "flex", justifyContent: "flex-start", alignItems: "center", @@ -12800,57 +12597,57 @@ const OI = Pt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi backgroundColor: "transparent" } }, - [`&.${ni.selected}`]: { + [`&.${ti.selected}`]: { backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : jr(e.palette.primary.main, e.palette.action.selectedOpacity), - [`&.${ni.focusVisible}`]: { + [`&.${ti.focusVisible}`]: { backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : jr(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity) } }, - [`&.${ni.selected}:hover`]: { + [`&.${ti.selected}:hover`]: { backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : jr(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity), // Reset on touch devices, it doesn't add specificity "@media (hover: none)": { backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : jr(e.palette.primary.main, e.palette.action.selectedOpacity) } }, - [`&.${ni.focusVisible}`]: { + [`&.${ti.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus }, - [`&.${ni.disabled}`]: { + [`&.${ti.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity }, - [`& + .${gf.root}`]: { + [`& + .${Gl.root}`]: { marginTop: e.spacing(1), marginBottom: e.spacing(1) }, - [`& + .${gf.inset}`]: { + [`& + .${Gl.inset}`]: { marginLeft: 52 }, - [`& .${Mf.root}`]: { + [`& .${Zl.root}`]: { marginTop: 0, marginBottom: 0 }, - [`& .${Mf.inset}`]: { + [`& .${Zl.inset}`]: { paddingLeft: 36 }, - [`& .${pf.root}`]: { + [`& .${Jl.root}`]: { minWidth: 36 } }, !t.dense && { [e.breakpoints.up("sm")]: { minHeight: "auto" } -}, t.dense && pe({ +}, t.dense && ve({ minHeight: 32, // https://material.io/components/menus#specs > Dense paddingTop: 4, paddingBottom: 4 }, e.typography.body2, { - [`& .${pf.root} svg`]: { + [`& .${Jl.root} svg`]: { fontSize: "1.25rem" } -}))), tp = /* @__PURE__ */ re.forwardRef(function(t, n) { - const r = Mn({ +}))), Ag = /* @__PURE__ */ oe.forwardRef(function(t, n) { + const r = pn({ props: t, name: "MuiMenuItem" }), { @@ -12862,34 +12659,34 @@ const OI = Pt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi focusVisibleClassName: c, role: l = "menuitem", tabIndex: f - } = r, d = Je(r, LI), g = re.useContext(Za), h = { + } = r, d = ut(r, _E), g = oe.useContext(Qa), h = { dense: s || g.dense || !1, disableGutters: u - }, p = re.useRef(null); - Ci(() => { + }, p = oe.useRef(null); + bi(() => { i && (p.current ? p.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered.")); }, [i]); - const m = pe({}, r, { + const m = ve({}, r, { dense: h.dense, divider: a, disableGutters: u - }), v = kI(r), w = jt(p, n); + }), v = zE(r), w = Tt(p, n); let j; - return r.disabled || (j = f !== void 0 ? f : -1), /* @__PURE__ */ ge.jsx(Za.Provider, { + return r.disabled || (j = f !== void 0 ? f : -1), /* @__PURE__ */ ge.jsx(Qa.Provider, { value: h, - children: /* @__PURE__ */ ge.jsx(zI, pe({ + children: /* @__PURE__ */ ge.jsx(PE, ve({ ref: w, role: l, tabIndex: j, component: o, - focusVisibleClassName: at(v.focusVisible, c) + focusVisibleClassName: st(v.focusVisible, c) }, d, { ownerState: m, classes: v })) }); }); -process.env.NODE_ENV !== "production" && (tp.propTypes = { +process.env.NODE_ENV !== "production" && (Ag.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -12959,8 +12756,8 @@ process.env.NODE_ENV !== "production" && (tp.propTypes = { */ tabIndex: D.number }); -const yf = tp; -var PI = { +const Xl = Ag; +var RE = { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, @@ -12971,37 +12768,37 @@ var PI = { strokeLinecap: "round", strokeLinejoin: "round" }; -const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = (e, t) => { - const n = es( - ({ color: r = "currentColor", size: i = 24, strokeWidth: o = 2, absoluteStrokeWidth: s, children: a, ...u }, c) => wt( +const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = (e, t) => { + const n = Su( + ({ color: r = "currentColor", size: i = 24, strokeWidth: o = 2, absoluteStrokeWidth: s, children: a, ...u }, c) => kt( "svg", { ref: c, - ...PI, + ...RE, width: i, height: i, stroke: r, strokeWidth: s ? Number(o) * 24 / Number(i) : o, - className: `lucide lucide-${RI(e)}`, + className: `lucide lucide-${UE(e)}`, ...u }, [ - ...t.map(([l, f]) => wt(l, f)), + ...t.map(([l, f]) => kt(l, f)), ...(Array.isArray(a) ? a : [a]) || [] ] ) ); return n.displayName = `${e}`, n; -}, mf = hc("Languages", [ +}, FE = Xu("Languages", [ ["path", { d: "m5 8 6 6", key: "1wu5hv" }], ["path", { d: "m4 14 6-6 2-3", key: "1k1g8d" }], ["path", { d: "M2 5h12", key: "or177f" }], ["path", { d: "M7 2h1", key: "1t2jsx" }], ["path", { d: "m22 22-5-10-5 10", key: "don7ne" }], ["path", { d: "M14 18h6", key: "1m8k6r" }] -]), UI = hc("Moon", [ +]), YE = Xu("Moon", [ ["path", { d: "M12 3a6.364 6.364 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "1rit1i" }] -]), FI = hc("Sun", [ +]), QE = Xu("Sun", [ ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }], ["path", { d: "M12 2v2", key: "tus03m" }], ["path", { d: "M12 20v2", key: "1lh1kg" }], @@ -13011,16 +12808,7 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( ["path", { d: "M20 12h2", key: "1q8mjw" }], ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }], ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }] -]), Qo = { - desktop: 992, - tablet: 768, - phone: 480, - phoneMini: 375 -}, Y4 = (e, t) => ` - @media screen and (max-width: ${Qo[e] / 16}em) { - ${t}; - } - `, YI = { +]), BE = { display: "flex", flexDirection: "column", alignItems: "center", @@ -13029,7 +12817,7 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( padding: "0px", margin: "0px 1rem", backgroundColor: "inherit" -}, BI = ({ theme: e, changeLang: t }) => { +}, $E = ({ theme: e, changeLang: t }) => { const [n, r] = Te.useState(null), i = (a) => { a.preventDefault(), r(a.currentTarget); }, o = () => { @@ -13042,16 +12830,16 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( "button", { style: { - ...YI, - color: e === "light" ? Ge.light.main : Ge.dark.text2 + ...BE, + color: e === "light" ? Je.light.main : Je.dark.text2 }, onClick: i, "aria-label": "Language toggle", - children: /* @__PURE__ */ ge.jsx(Ya, { maxWidth: Qo.tablet, children: (a) => a ? /* @__PURE__ */ ge.jsx(mf, { size: "2x" }) : /* @__PURE__ */ ge.jsx(mf, { size: "3x", transform: "shrink-2" }) }) + children: /* @__PURE__ */ ge.jsx(FE, { size: 32 }) } ), /* @__PURE__ */ ge.jsxs( - fI, + dE, { id: "language-menu", anchorEl: n, @@ -13059,28 +12847,28 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( onClose: o, disableAutoFocusItem: !0, classes: { - paper: e === "light" ? Ge.light.bgSide : Ge.dark.bgSide + paper: e === "light" ? Je.light.bgSide : Je.dark.bgSide }, children: [ /* @__PURE__ */ ge.jsx( - yf, + Xl, { style: { fontSize: "0.8em", padding: "5px 12px", - color: e === "light" ? Ge.light.text2 : Ge.dark.text2 + color: e === "light" ? Je.light.text2 : Je.dark.text2 }, onClick: (a) => s(a, "ja"), children: "日本語" } ), /* @__PURE__ */ ge.jsx( - yf, + Xl, { style: { fontSize: "0.8em", padding: "5px 12px", - color: e === "light" ? Ge.light.text2 : Ge.dark.text2 + color: e === "light" ? Je.light.text2 : Je.dark.text2 }, onClick: (a) => s(a, "en"), children: "English" @@ -13090,31 +12878,40 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( } ) ] }); -}, np = "data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwLCAwLCA0MDAsNDAwIj48ZyBpZD0ic3ZnZyI+PHBhdGggaWQ9InBhdGgwIiBkPSJNMzAxLjYwMCAxNDAuMzM0IEMgMzAxLjMzMiAxNDAuNDIzLDMwMS4yODYgMTQ1LjMzNCwzMDEuNDYyIDE1NC45NzEgQyAzMDEuNzU5IDE3MS4xOTQsMzAxLjc4NCAxNzEuMDUwLDI5OS4xNjIgMTY4LjIwNSBDIDI5NS40MzkgMTY0LjE2NywyODcuNTg1IDE2Mi41MDksMjgxLjgwMCAxNjQuNTQyIEMgMjY0LjM3OSAxNzAuNjYyLDI2NC43NjcgMjAyLjA2NywyODIuMzIwIDIwNi42NDcgQyAyODguODE1IDIwOC4zNDIsMjk5LjAxMiAyMDQuOTAxLDMwMC40NDYgMjAw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N0cm9rZT0ibm9uZSIgZmlsbD0iIzhjMWMyYyIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9nPjwvc3ZnPg==", QI = () => /* @__PURE__ */ ge.jsx( +}, Ha = { + desktop: 992, + tablet: 768, + phone: 480, + phoneMini: 375 +}, wO = (e, t) => ` + @media screen and (max-width: ${Ha[e] / 16}em) { + ${t}; + } + `, Eg = "data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwLCAwLCA0MDAsNDAwIj48ZyBpZD0ic3ZnZyI+PHBhdGggaWQ9InBhdGgwIiBkPSJNMzAxLjYwMCAxNDAuMzM0IEMgMzAxLjMzMiAxNDAuNDIzLDMwMS4yODYgMTQ1LjMzNCwzMDEuNDYyIDE1NC45NzEgQyAzMDEuNzU5IDE3MS4xOTQsMzAxLjc4NCAxNzEuMDUwLDI5OS4xNjIgMTY4LjIwNSBDIDI5NS40MzkgMTY0LjE2NywyODcuNTg1IDE2Mi41MDksMjgxLjgwMCAxNjQuNTQyIEMgMjY0LjM3OSAxNzAuNjYyLDI2NC43NjcgMjAyLjA2NywyODIuMzIwIDIwNi42NDcgQyAyODguODE1IDIwOC4zNDIsMjk5LjAxMiAyMDQuOTAxLDMwMC40NDYgMjAwLjUzMCBDIDMwMS4wNTQgMTk4LjY3NSwzMDEuNzcxIDE5OS45OTcsMzAxLjc4NSAyMDMuMDAwIEwgMzAxLjgwMCAyMDYuMjAwIDMwNS40NzEgMjA2LjI2NCBDIDMwNy45NjQgMjA2LjMwOCwzMDkuMTgzIDIwNi4xNzksMzA5LjI3MSAyMDUuODY0IEMgMzA5LjM0MiAyMDUuNjA5LDMwOS4zMTAgMTkw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jY0LjkxNyAyNjAuOTg1LDI2Ni4wNzkgMjU4LjkyNiBDIDI2OC41MDQgMjU0LjYyNSwyNzIuMzU5IDI0NS4yOTMsMjc2LjQ1OSAyMzMuODAwIEMgMjgxLjM4MSAyMjAuMDAwLDI4MS4zNzkgMjE5LjI0NiwyNzYuNDEzIDIxNS45NzEgQyAyNzMuNTg0IDIxNC4xMDUsMjc3LjM3OSAyMTMuNTc4LDI4MS4xMzMgMjE1LjMxNiBNMTI3LjAwMCAyMjQuNDMyIEMgMTI1LjQ2MCAyMjQuNjExLDEyMS41MjMgMjI0LjgzNywxMTguMjUyIDIyNC45MzMgTCAxMTIuMzA0IDIyNS4xMDggMTEwLjc5OSAyMjcuNzAyIEMgMTA5Ljk3MiAyMjkuMTI5LDEwOC4zNjYgMjMxLjY3MywxMDcuMjMxIDIzMy4zNTQgQyAxMDUuODYwIDIzNS4zODcsMTA1LjM0MCAyMzYuNDY0LDEwNS42ODQgMjM2LjU2NyBDIDEwNS45NjggMjM2LjY1MiwxMDcuNzMwIDIzNy4wMzAsMTA5LjYwMCAyMzcuNDA3IEMgMTEzLjU5NSAyMzguMjEyLDExNy45NzEgMjM5LjYxOCwxMjEuNjAwIDI0MS4yNjMgTCAxMjQuMjAwIDI0Mi40NDIgMTI1LjEwOSAyNDEuMzIxIEMgMTI3Ljg5NyAyMzcuODgzLDEzNC4yNjggMjI1LjY3NywxMzMuODQ4IDIyNC41ODAgQyAxMzMuNTk5IDIyMy45MzEsMTMxLjY1NiAyMjMuODg5LDEyNy4wMDAgMjI0LjQzMiAiIHN0cm9rZT0ibm9uZSIgZmlsbD0iIzhjMWMyYyIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9nPjwvc3ZnPg==", WE = () => /* @__PURE__ */ ge.jsx( "img", { - src: np, + src: Eg, alt: "WasedaTime English Logo", style: { width: 120, height: 120 } } -), B4 = () => /* @__PURE__ */ ge.jsx( +), DO = () => /* @__PURE__ */ ge.jsx( "img", { - src: rp, + src: Ig, alt: "WasedaTime Japanese Logo", style: { width: 120, height: 120 } } -), $I = () => /* @__PURE__ */ ge.jsx( +), VE = () => /* @__PURE__ */ ge.jsx( "img", { - src: np, + src: Eg, alt: "WasedaTime English Small Logo", style: { width: 50, height: 50 } } -), Q4 = () => /* @__PURE__ */ ge.jsx("img", { src: rp, style: { width: 50, height: 50 } }), WI = ({ theme: e, setTheme: t }) => { +), AO = () => /* @__PURE__ */ ge.jsx("img", { src: Ig, style: { width: 50, height: 50 } }), HE = ({ theme: e, setTheme: t }) => { const n = { - light: /* @__PURE__ */ ge.jsx(FI, { color: Ge.icon.sun }), - dark: /* @__PURE__ */ ge.jsx(UI, { color: Ge.icon.moon }) + light: /* @__PURE__ */ ge.jsx(QE, { color: Je.icon.sun }), + dark: /* @__PURE__ */ ge.jsx(YE, { color: Je.icon.moon }) }; return /* @__PURE__ */ ge.jsx( "div", @@ -13124,8 +12921,8 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( children: n[e] } ); -}, VI = (e, t) => { - const n = e ? "#FAFAFA30" : Ge.light.bgSide, r = e ? "#24252770" : Ge.dark.bgSide; +}, qE = (e, t) => { + const n = e ? "#FAFAFA30" : Je.light.bgSide, r = e ? "#24252770" : Je.dark.bgSide; return { height: "67px", width: "100%", @@ -13133,7 +12930,7 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( borderWidth: 0, borderBottomWidth: 2, borderStyle: "solid", - borderColor: t === "light" ? Ge.light.bgSide : Ge.dark.bgSide, + borderColor: t === "light" ? Je.light.bgSide : Je.dark.bgSide, background: t === "light" ? n : r, backdropFilter: e ? "blur(5px)" : "none", position: "fixed", @@ -13144,25 +12941,25 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( display: "flex", flexDirection: "row" }; -}, HI = { +}, KE = { flex: "5", paddingRight: "0px" -}, qI = { +}, GE = { flex: "3", padding: "0px 0px 0px 1em" -}, KI = { +}, JE = { flex: "8", margin: "auto 0px" -}, GI = { +}, ZE = { flex: "10", margin: "auto 0px" -}, JI = { +}, XE = { flex: "3", margin: "auto 0px", display: "flex", flexDirection: "row", justifyContent: "flex-end" -}, ZI = (e) => ({ +}, eI = (e) => ({ width: "100%", borderRadius: "25px", height: "40px", @@ -13170,15 +12967,15 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( outline: "none", borderWidth: 1, borderStyle: "solid", - borderColor: e === "light" ? Ge.light.bgSide : Ge.dark.text3, - backgroundColor: e === "light" ? Ge.light.bgMain : Ge.dark.text3, - color: e === "light" ? Ge.light.text1 : Ge.dark.text1 -}), XI = (e) => ({ + borderColor: e === "light" ? Je.light.bgSide : Je.dark.text3, + backgroundColor: e === "light" ? Je.light.bgMain : Je.dark.text3, + color: e === "light" ? Je.light.text1 : Je.dark.text1 +}), tI = (e) => ({ fontWeight: 500, paddingLeft: "100px", fontSize: "32px", - color: e === "light" ? Ge.light.text1 : Ge.dark.text1 -}), $4 = ({ + color: e === "light" ? Je.light.text1 : Je.dark.text1 +}), EO = ({ title: e, onInputChange: t, placeholder: n, @@ -13189,27 +12986,29 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( theme: a = "light", setTheme: u }) => { - const c = tw(), l = /* @__PURE__ */ ge.jsx("label", { style: { marginLeft: "0" }, children: /* @__PURE__ */ ge.jsx( + const c = /* @__PURE__ */ ge.jsx("label", { style: { marginLeft: "0" }, children: /* @__PURE__ */ ge.jsx( "input", { - style: ZI(a), + style: eI(a), placeholder: n || "Search...", - onChange: t ? (f) => t(f.target.value) : () => { + onChange: t ? (l) => t(l.target.value) : () => { }, value: r || "", disabled: i, autoFocus: !0 } ) }); - return /* @__PURE__ */ ge.jsxs("header", { style: VI(o, a), children: [ - /* @__PURE__ */ ge.jsx(Ya, { maxWidth: Qo.tablet, children: (f) => f ? /* @__PURE__ */ ge.jsx("div", { style: qI, onClick: () => c("/home"), children: /* @__PURE__ */ ge.jsx($I, {}) }) : /* @__PURE__ */ ge.jsx("header", { style: HI, children: /* @__PURE__ */ ge.jsx("h2", { style: XI(a), children: e }) }) }), - /* @__PURE__ */ ge.jsx(Ya, { maxWidth: Qo.tablet, children: (f) => f ? /* @__PURE__ */ ge.jsx("div", { style: GI, children: l }) : /* @__PURE__ */ ge.jsx("div", { style: KI, children: l }) }), - /* @__PURE__ */ ge.jsxs("div", { style: JI, children: [ - /* @__PURE__ */ ge.jsx(WI, { theme: a, setTheme: u }), - /* @__PURE__ */ ge.jsx(BI, { theme: a, changeLang: s }) + return /* @__PURE__ */ ge.jsxs("header", { style: qE(o, a), children: [ + /* @__PURE__ */ ge.jsx(rl, { maxWidth: Ha.tablet, children: (l) => l ? /* @__PURE__ */ ge.jsx("div", { style: GE, onClick: () => { + location.href = "/home"; + }, children: /* @__PURE__ */ ge.jsx(VE, {}) }) : /* @__PURE__ */ ge.jsx("header", { style: KE, children: /* @__PURE__ */ ge.jsx("h2", { style: tI(a), children: e }) }) }), + /* @__PURE__ */ ge.jsx(rl, { maxWidth: Ha.tablet, children: (l) => l ? /* @__PURE__ */ ge.jsx("div", { style: ZE, children: c }) : /* @__PURE__ */ ge.jsx("div", { style: JE, children: c }) }), + /* @__PURE__ */ ge.jsxs("div", { style: XE, children: [ + /* @__PURE__ */ ge.jsx(HE, { theme: a, setTheme: u }), + /* @__PURE__ */ ge.jsx($E, { theme: a, changeLang: s }) ] }) ] }); -}, eN = /* @__PURE__ */ ge.jsx("style", { children: ` +}, nI = /* @__PURE__ */ ge.jsx("style", { children: ` @keyframes loadingSpinnerSpin { from { transform: rotate(0deg); @@ -13221,22 +13020,22 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( transform: rotate(360deg); } } - ` }), tN = { + ` }), rI = { display: "block", width: "100px", height: "100px", transition: "transform(0, 12vh)", animation: "loadingSpinnerSpin 3s linear infinite" -}, W4 = ({ message: e, theme: t }) => { - const [n, r] = Ln(""); - return st(() => { +}, IO = ({ message: e, theme: t }) => { + const [n, r] = ar(""); + return dt(() => { setTimeout(() => { r( "Slow network is detected. Please wait we're almost done 💪" ); }, 4e3); - }), /* @__PURE__ */ ge.jsx(Fh, { style: { flex: "1 0 0" }, children: /* @__PURE__ */ ge.jsxs( - $y, + }), /* @__PURE__ */ ge.jsx(ph, { style: { flex: "1 0 0" }, children: /* @__PURE__ */ ge.jsxs( + sy, { style: { alignItems: "center", @@ -13244,412 +13043,35 @@ const RI = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), hc = ( padding: "25px" }, children: [ - eN, - /* @__PURE__ */ ge.jsx("div", { style: tN, children: /* @__PURE__ */ ge.jsx(QI, {}) }), + nI, + /* @__PURE__ */ ge.jsx("div", { style: rI, children: /* @__PURE__ */ ge.jsx(WE, {}) }), /* @__PURE__ */ ge.jsx( "p", { style: { - fontSize: "2rem", - textAlign: "center", - color: t === "light" ? Ge.light.text2 : Ge.dark.text2 - }, - children: e || "Loading..." - } - ), - /* @__PURE__ */ ge.jsx( - "p", - { - style: { - fontSize: "2rem", - textAlign: "center", - color: t === "light" ? Ge.light.text2 : Ge.dark.text2 - }, - children: n - } - ) - ] - } - ) }); -}; -function Rr(e) { - return Rr = 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; - }, Rr(e); -} -function nN(e, t) { - if (Rr(e) !== "object" || e === null) - return e; - var n = e[Symbol.toPrimitive]; - if (n !== void 0) { - var r = n.call(e, t || "default"); - if (Rr(r) !== "object") - return r; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (t === "string" ? String : Number)(e); -} -function ip(e) { - var t = nN(e, "string"); - return Rr(t) === "symbol" ? t : String(t); -} -function gc(e, t, n) { - return t = ip(t), t in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; -} -function rN(e, t) { - if (e == null) - return {}; - var n = Je(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 iN() { - if (console && console.warn) { - for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++) - n[r] = arguments[r]; - typeof n[0] == "string" && (n[0] = "react-i18next:: ".concat(n[0])), (e = console).warn.apply(e, n); - } -} -var vf = {}; -function ru() { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - typeof t[0] == "string" && vf[t[0]] || (typeof t[0] == "string" && (vf[t[0]] = /* @__PURE__ */ new Date()), iN.apply(void 0, t)); -} -function wf(e, t, n) { - e.loadNamespaces(t, function() { - if (e.isInitialized) - n(); - else { - var r = function i() { - setTimeout(function() { - e.off("initialized", i); - }, 0), n(); - }; - e.on("initialized", r); - } - }); -} -function oN(e, t) { - var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = t.languages[0], i = t.options ? t.options.fallbackLng : !1, o = t.languages[t.languages.length - 1]; - if (r.toLowerCase() === "cimode") - return !0; - var s = function(u, c) { - var l = t.services.backendConnector.state["".concat(u, "|").concat(c)]; - return l === -1 || l === 2; - }; - return n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !s(t.isLanguageChangingTo, e) ? !1 : !!(t.hasResourceBundle(r, e) || !t.services.backendConnector.backend || t.options.resources && !t.options.partialBundledLanguages || s(r, e) && (!i || s(o, e))); -} -function sN(e, t) { - var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - if (!t.languages || !t.languages.length) - return ru("i18n.languages were undefined or empty", t.languages), !0; - var r = t.options.ignoreJSONStructure !== void 0; - return r ? t.hasLoadedNamespace(e, { - precheck: function(o, s) { - if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !s(o.isLanguageChangingTo, e)) - return !1; - } - }) : oN(e, t, n); -} -function aN(e) { - return e.displayName || e.name || (typeof e == "string" && e.length > 0 ? e : "Unknown"); -} -var uN = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, cN = { - "&": "&", - "&": "&", - "<": "<", - "<": "<", - ">": ">", - ">": ">", - "'": "'", - "'": "'", - """: '"', - """: '"', - " ": " ", - " ": " ", - "©": "©", - "©": "©", - "®": "®", - "®": "®", - "…": "…", - "…": "…", - "/": "/", - "/": "/" -}, lN = function(t) { - return cN[t]; -}, fN = function(t) { - return t.replace(uN, lN); -}; -function Df(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 Af(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? Df(Object(n), !0).forEach(function(r) { - gc(e, r, n[r]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Df(Object(n)).forEach(function(r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r)); - }); - } - return e; -} -var iu = { - bindI18n: "languageChanged", - bindI18nStore: "", - transEmptyNodeValue: "", - transSupportBasicHtmlNodes: !0, - transWrapTextNodes: "", - transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"], - useSuspense: !0, - unescape: fN -}; -function dN() { - var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - iu = Af(Af({}, iu), e); -} -function hN() { - return iu; -} -var op; -function gN(e) { - op = e; -} -function pN() { - return op; -} -function sp(e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); -} -function Ef(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, ip(r.key), r); - } -} -function ap(e, t, n) { - return t && Ef(e.prototype, t), n && Ef(e, n), Object.defineProperty(e, "prototype", { - writable: !1 - }), e; -} -var MN = { - type: "3rdParty", - init: function(t) { - dN(t.options.react), gN(t); - } -}, yN = pn(), mN = function() { - function e() { - sp(this, e), this.usedNamespaces = {}; - } - return ap(e, [{ - key: "addUsedNamespaces", - value: function(n) { - var r = this; - n.forEach(function(i) { - r.usedNamespaces[i] || (r.usedNamespaces[i] = !0); - }); - } - }, { - key: "getUsedNamespaces", - value: function() { - return Object.keys(this.usedNamespaces); - } - }]), e; -}(); -function vN(e) { - if (Array.isArray(e)) - return e; -} -function wN(e, t) { - var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; - if (n != null) { - var r, i, o, s, a = [], u = !0, c = !1; - try { - if (o = (n = n.call(e)).next, t === 0) { - if (Object(n) !== n) - return; - u = !1; - } else - for (; !(u = (r = o.call(n)).done) && (a.push(r.value), a.length !== t); u = !0) - ; - } catch (l) { - c = !0, i = l; - } finally { - try { - if (!u && n.return != null && (s = n.return(), Object(s) !== s)) - return; - } finally { - if (c) - throw i; - } + fontSize: "2rem", + textAlign: "center", + color: t === "light" ? Je.light.text2 : Je.dark.text2 + }, + children: e || "Loading..." + } + ), + /* @__PURE__ */ ge.jsx( + "p", + { + style: { + fontSize: "2rem", + textAlign: "center", + color: t === "light" ? Je.light.text2 : Je.dark.text2 + }, + children: n + } + ) + ] } - return a; - } -} -function If(e, t) { - (t == null || t > e.length) && (t = e.length); - for (var n = 0, r = new Array(t); n < t; n++) - r[n] = e[n]; - return r; -} -function DN(e, t) { - if (e) { - if (typeof e == "string") - return If(e, t); - var n = Object.prototype.toString.call(e).slice(8, -1); - if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") - return Array.from(e); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) - return If(e, t); - } -} -function AN() { - 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 up(e, t) { - return vN(e) || wN(e, t) || DN(e, t) || AN(); -} -function Nf(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 ea(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? Nf(Object(n), !0).forEach(function(r) { - gc(e, r, n[r]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Nf(Object(n)).forEach(function(r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r)); - }); - } - return e; -} -var EN = function(t, n) { - var r = tt(); - return st(function() { - r.current = n ? r.current : t; - }, [t, n]), r.current; + ) }); }; -function IN(e) { - var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.i18n, r = gt(yN) || {}, i = r.i18n, o = r.defaultNS, s = n || i || pN(); - if (s && !s.reportNamespaces && (s.reportNamespaces = new mN()), !s) { - ru("You will need to pass in an i18next instance by using initReactI18next"); - var a = function($, b) { - return typeof b == "string" ? b : b && Rr(b) === "object" && typeof b.defaultValue == "string" ? b.defaultValue : Array.isArray($) ? $[$.length - 1] : $; - }, u = [a, {}, !1]; - return u.t = a, u.i18n = {}, u.ready = !1, u; - } - s.options.react && s.options.react.wait !== void 0 && ru("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour."); - var c = ea(ea(ea({}, hN()), s.options.react), t), l = c.useSuspense, f = c.keyPrefix, d = e || o || s.options && s.options.defaultNS; - d = typeof d == "string" ? [d] : d || ["translation"], s.reportNamespaces.addUsedNamespaces && s.reportNamespaces.addUsedNamespaces(d); - var g = (s.isInitialized || s.initializedStoreOnce) && d.every(function(W) { - return sN(W, s, c); - }); - function h() { - return s.getFixedT(null, c.nsMode === "fallback" ? d : d[0], f); - } - var p = Ln(h), m = up(p, 2), v = m[0], w = m[1], j = d.join(), N = EN(j), I = tt(!0); - st(function() { - var W = c.bindI18n, $ = c.bindI18nStore; - I.current = !0, !g && !l && wf(s, d, function() { - I.current && w(h); - }), g && N && N !== j && I.current && w(h); - function b() { - I.current && w(h); - } - return W && s && s.on(W, b), $ && s && s.store.on($, b), function() { - I.current = !1, W && s && W.split(" ").forEach(function(k) { - return s.off(k, b); - }), $ && s && $.split(" ").forEach(function(k) { - return s.store.off(k, b); - }); - }; - }, [s, j]); - var B = tt(!0); - st(function() { - I.current && !B.current && w(h), B.current = !1; - }, [s, f]); - var z = [v, s, g]; - if (z.t = v, z.i18n = s, z.ready = g, g || !g && !l) - return z; - throw new Promise(function(W) { - wf(s, d, function() { - W(); - }); - }); -} -var NN = ["forwardedRef"]; -function Tf(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 oo(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? Tf(Object(n), !0).forEach(function(r) { - gc(e, r, n[r]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Tf(Object(n)).forEach(function(r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r)); - }); - } - return e; -} -function TN(e) { - var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - return function(r) { - function i(s) { - var a = s.forwardedRef, u = rN(s, NN), c = IN(e, oo(oo({}, u), {}, { - keyPrefix: t.keyPrefix - })), l = up(c, 3), f = l[0], d = l[1], g = l[2], h = oo(oo({}, u), {}, { - t: f, - i18n: d, - tReady: g - }); - return t.withRef && a ? h.ref = a : !t.withRef && a && (h.forwardedRef = a), wt(r, h); - } - i.displayName = "withI18nextTranslation(".concat(aN(r), ")"), i.WrappedComponent = r; - var o = function(a, u) { - return wt(i, Object.assign({}, a, { - forwardedRef: u - })); - }; - return t.withRef ? es(o) : i; - }; -} -var ue = {}, jN = { +var ue = {}, iI = { get exports() { return ue; }, @@ -13672,24 +13094,24 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ (function(e) { - var t, n, r, i, o, s, a, u, c, l, f, d, g, h, p, m, v, w, j, N, I, B, z; - (function(W) { - var $ = typeof zt == "object" ? zt : typeof self == "object" ? self : typeof this == "object" ? this : {}; - W(b($, b(e.exports))); + var t, n, r, i, o, s, a, u, c, l, f, d, g, h, p, m, v, w, j, I, N, Q, z; + (function(H) { + var W = typeof zt == "object" ? zt : typeof self == "object" ? self : typeof this == "object" ? this : {}; + H(b(W, b(e.exports))); function b(k, U) { - return k !== $ && (typeof Object.create == "function" ? Object.defineProperty(k, "__esModule", { value: !0 }) : k.__esModule = !0), function(x, T) { + return k !== W && (typeof Object.create == "function" ? Object.defineProperty(k, "__esModule", { value: !0 }) : k.__esModule = !0), function(x, T) { return k[x] = U ? U(x, T) : T; }; } - })(function(W) { - var $ = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(b, k) { + })(function(H) { + var W = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(b, k) { b.__proto__ = k; } || function(b, k) { for (var U in k) k.hasOwnProperty(U) && (b[U] = k[U]); }; t = function(b, k) { - $(b, k); + W(b, k); function U() { this.constructor = b; } @@ -13733,22 +13155,22 @@ PERFORMANCE OF THIS SOFTWARE. return new (U || (U = Promise))(function(S, R) { function C(L) { try { - ie(x.next(L)); + re(x.next(L)); } catch (F) { R(F); } } function J(L) { try { - ie(x.throw(L)); + re(x.throw(L)); } catch (F) { R(F); } } - function ie(L) { + function re(L) { L.done ? S(L.value) : T(L.value).then(C, J); } - ie((x = x.apply(b, k || [])).next()); + re((x = x.apply(b, k || [])).next()); }); }, u = function(b, k) { var U = { label: 0, sent: function() { @@ -13759,60 +13181,60 @@ PERFORMANCE OF THIS SOFTWARE. return R = { next: C(0), throw: C(1), return: C(2) }, typeof Symbol == "function" && (R[Symbol.iterator] = function() { return this; }), R; - function C(ie) { + function C(re) { return function(L) { - return J([ie, L]); + return J([re, L]); }; } - function J(ie) { + function J(re) { if (x) throw new TypeError("Generator is already executing."); for (; U; ) try { - if (x = 1, T && (S = ie[0] & 2 ? T.return : ie[0] ? T.throw || ((S = T.return) && S.call(T), 0) : T.next) && !(S = S.call(T, ie[1])).done) + if (x = 1, T && (S = re[0] & 2 ? T.return : re[0] ? T.throw || ((S = T.return) && S.call(T), 0) : T.next) && !(S = S.call(T, re[1])).done) return S; - switch (T = 0, S && (ie = [ie[0] & 2, S.value]), ie[0]) { + switch (T = 0, S && (re = [re[0] & 2, S.value]), re[0]) { case 0: case 1: - S = ie; + S = re; break; case 4: - return U.label++, { value: ie[1], done: !1 }; + return U.label++, { value: re[1], done: !1 }; case 5: - U.label++, T = ie[1], ie = [0]; + U.label++, T = re[1], re = [0]; continue; case 7: - ie = U.ops.pop(), U.trys.pop(); + re = U.ops.pop(), U.trys.pop(); continue; default: - if (S = U.trys, !(S = S.length > 0 && S[S.length - 1]) && (ie[0] === 6 || ie[0] === 2)) { + if (S = U.trys, !(S = S.length > 0 && S[S.length - 1]) && (re[0] === 6 || re[0] === 2)) { U = 0; continue; } - if (ie[0] === 3 && (!S || ie[1] > S[0] && ie[1] < S[3])) { - U.label = ie[1]; + if (re[0] === 3 && (!S || re[1] > S[0] && re[1] < S[3])) { + U.label = re[1]; break; } - if (ie[0] === 6 && U.label < S[1]) { - U.label = S[1], S = ie; + if (re[0] === 6 && U.label < S[1]) { + U.label = S[1], S = re; break; } if (S && U.label < S[2]) { - U.label = S[2], U.ops.push(ie); + U.label = S[2], U.ops.push(re); break; } S[2] && U.ops.pop(), U.trys.pop(); continue; } - ie = k.call(b, U); + re = k.call(b, U); } catch (L) { - ie = [6, L], T = 0; + re = [6, L], T = 0; } finally { x = S = 0; } - if (ie[0] & 5) - throw ie[1]; - return { value: ie[0] ? ie[1] : void 0, done: !0 }; + if (re[0] & 5) + throw re[1]; + return { value: re[0] ? re[1] : void 0, done: !0 }; } }, z = function(b, k, U, x) { x === void 0 && (x = U), b[x] = k[U]; @@ -13884,9 +13306,9 @@ PERFORMANCE OF THIS SOFTWARE. } } function J(P) { - P.value instanceof h ? Promise.resolve(P.value.v).then(ie, L) : F(S[0][2], P); + P.value instanceof h ? Promise.resolve(P.value.v).then(re, L) : F(S[0][2], P); } - function ie(P) { + function re(P) { C("next", P); } function L(P) { @@ -13922,8 +13344,8 @@ PERFORMANCE OF THIS SOFTWARE. }; } function T(S, R, C, J) { - Promise.resolve(J).then(function(ie) { - S({ value: ie, done: C }); + Promise.resolve(J).then(function(re) { + S({ value: re, done: C }); }, R); } }, w = function(b, k) { @@ -13936,55 +13358,55 @@ PERFORMANCE OF THIS SOFTWARE. for (var U in b) Object.hasOwnProperty.call(b, U) && (k[U] = b[U]); return k.default = b, k; - }, N = function(b) { + }, I = function(b) { return b && b.__esModule ? b : { default: b }; - }, I = function(b, k) { + }, N = function(b, k) { if (!k.has(b)) throw new TypeError("attempted to get private field on non-instance"); return k.get(b); - }, B = function(b, k, U) { + }, Q = function(b, k, U) { if (!k.has(b)) throw new TypeError("attempted to set private field on non-instance"); return k.set(b, U), U; - }, W("__extends", t), W("__assign", n), W("__rest", r), W("__decorate", i), W("__param", o), W("__metadata", s), W("__awaiter", a), W("__generator", u), W("__exportStar", c), W("__createBinding", z), W("__values", l), W("__read", f), W("__spread", d), W("__spreadArrays", g), W("__await", h), W("__asyncGenerator", p), W("__asyncDelegator", m), W("__asyncValues", v), W("__makeTemplateObject", w), W("__importStar", j), W("__importDefault", N), W("__classPrivateFieldGet", I), W("__classPrivateFieldSet", B); + }, H("__extends", t), H("__assign", n), H("__rest", r), H("__decorate", i), H("__param", o), H("__metadata", s), H("__awaiter", a), H("__generator", u), H("__exportStar", c), H("__createBinding", z), H("__values", l), H("__read", f), H("__spread", d), H("__spreadArrays", g), H("__await", h), H("__asyncGenerator", p), H("__asyncDelegator", m), H("__asyncValues", v), H("__makeTemplateObject", w), H("__importStar", j), H("__importDefault", I), H("__classPrivateFieldGet", N), H("__classPrivateFieldSet", Q); }); -})(jN); -var $o; +})(iI); +var Qo; (function(e) { e.Cognito = "COGNITO", e.Google = "Google", e.Facebook = "Facebook", e.Amazon = "LoginWithAmazon", e.Apple = "SignInWithApple"; -})($o || ($o = {})); -function ta(e) { +})(Qo || (Qo = {})); +function Gs(e) { var t = ["provider"]; return e && !!t.find(function(n) { return e.hasOwnProperty(n); }); } -function SN(e) { +function oI(e) { var t = ["customProvider"]; return e && !!t.find(function(n) { return e.hasOwnProperty(n); }); } -function bN(e) { +function sI(e) { var t = ["customState"]; return e && !!t.find(function(n) { return e.hasOwnProperty(n); }); } -function Gn(e) { +function qn(e) { return e.redirectSignIn !== void 0; } var ke; (function(e) { e.NoConfig = "noConfig", e.MissingAuthConfig = "missingAuthConfig", e.EmptyUsername = "emptyUsername", e.InvalidUsername = "invalidUsername", e.EmptyPassword = "emptyPassword", e.EmptyCode = "emptyCode", e.SignUpError = "signUpError", e.NoMFA = "noMFA", e.InvalidMFA = "invalidMFA", e.EmptyChallengeResponse = "emptyChallengeResponse", e.NoUserSession = "noUserSession", e.Default = "default", e.DeviceConfig = "deviceConfig", e.NetworkError = "networkError", e.AutoSignInError = "autoSignInError"; })(ke || (ke = {})); -function CN(e) { +function aI(e) { return !!e.username; } -var jf; +var ef; (function(e) { e.API_KEY = "API_KEY", e.AWS_IAM = "AWS_IAM", e.OPENID_CONNECT = "OPENID_CONNECT", e.AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS", e.AWS_LAMBDA = "AWS_LAMBDA"; -})(jf || (jf = {})); +})(ef || (ef = {})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -13999,16 +13421,16 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var ou = function(e, t) { - return ou = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) { +var qa = function(e, t) { + return qa = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) { n.__proto__ = r; } || function(n, r) { for (var i in r) r.hasOwnProperty(i) && (n[i] = r[i]); - }, ou(e, t); + }, qa(e, t); }; -function pc(e, t) { - ou(e, t); +function ec(e, t) { + qa(e, t); function n() { this.constructor = e; } @@ -14024,7 +13446,7 @@ var we = function() { return t; }, we.apply(this, arguments); }; -function cp(e, t) { +function Ng(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); @@ -14157,12 +13579,12 @@ function cr(e, t) { } return o; } -function ut() { +function at() { for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(cr(arguments[t])); return e; } -var xN = "Logging", Sf = { +var uI = "Logging", tf = { VERBOSE: 1, DEBUG: 2, INFO: 3, @@ -14190,7 +13612,7 @@ var Ht = ( i[o - 1] = arguments[o]; var s = this.level; e.LOG_LEVEL && (s = e.LOG_LEVEL), typeof window < "u" && window.LOG_LEVEL && (s = window.LOG_LEVEL); - var a = Sf[s], u = Sf[t]; + var a = tf[s], u = tf[t]; if (u >= a) { var c = console.log.bind(console); t === Ft.ERROR && console.error && (c = console.error.bind(console)), t === Ft.WARN && console.warn && (c = console.warn.bind(console)); @@ -14223,44 +13645,44 @@ var Ht = ( }, e.prototype.log = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, ut([Ft.INFO], t)); + this._log.apply(this, at([Ft.INFO], t)); }, e.prototype.info = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, ut([Ft.INFO], t)); + this._log.apply(this, at([Ft.INFO], t)); }, e.prototype.warn = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, ut([Ft.WARN], t)); + this._log.apply(this, at([Ft.WARN], t)); }, e.prototype.error = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, ut([Ft.ERROR], t)); + this._log.apply(this, at([Ft.ERROR], t)); }, e.prototype.debug = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, ut([Ft.DEBUG], t)); + this._log.apply(this, at([Ft.DEBUG], t)); }, e.prototype.verbose = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, ut([Ft.VERBOSE], t)); + this._log.apply(this, at([Ft.VERBOSE], t)); }, e.prototype.addPluggable = function(t) { - t && t.getCategoryName() === xN && (this._pluggables.push(t), t.configure(this._config)); + t && t.getCategoryName() === uI && (this._pluggables.push(t), t.configure(this._config)); }, e.prototype.listPluggables = function() { return this._pluggables; }, e.LOG_LEVEL = null, e; }() -), na = new Ht("Amplify"), ON = ( +), Js = new Ht("Amplify"), cI = ( /** @class */ function() { function e() { this._components = [], this._config = {}, this._modules = {}, this.Auth = null, this.Analytics = null, this.API = null, this.Credentials = null, this.Storage = null, this.I18n = null, this.Cache = null, this.PubSub = null, this.Interactions = null, this.Pushnotification = null, this.UI = null, this.XR = null, this.Predictions = null, this.DataStore = null, this.Geo = null, this.Notifications = null, this.Logger = Ht, this.ServiceWorker = null; } return e.prototype.register = function(t) { - na.debug("component registered in amplify", t), this._components.push(t), typeof t.getModuleName == "function" ? (this._modules[t.getModuleName()] = t, this[t.getModuleName()] = t) : na.debug("no getModuleName method for component", t), t.configure(this._config); + Js.debug("component registered in amplify", t), this._components.push(t), typeof t.getModuleName == "function" ? (this._modules[t.getModuleName()] = t, this[t.getModuleName()] = t) : Js.debug("no getModuleName method for component", t), t.configure(this._config); }, e.prototype.configure = function(t) { var n = this; - return t ? (this._config = Object.assign(this._config, t), na.debug("amplify config", this._config), Object.entries(this._modules).forEach(function(r) { + return t ? (this._config = Object.assign(this._config, t), Js.debug("amplify config", this._config), Object.entries(this._modules).forEach(function(r) { var i = cr(r, 2); i[0]; var o = i[1]; @@ -14276,28 +13698,28 @@ var Ht = ( }); }, e; }() -), Mc = new ON(), LN = "5.1.12", su = "aws-amplify/" + LN, Qn = { - userAgent: su + " js", +), tc = new cI(), lI = "5.1.12", Ka = "aws-amplify/" + lI, Yn = { + userAgent: Ka + " js", product: "", navigator: null, isReactNative: !1 }; if (typeof navigator < "u" && navigator.product) - switch (Qn.product = navigator.product || "", Qn.navigator = navigator || null, navigator.product) { + switch (Yn.product = navigator.product || "", Yn.navigator = navigator || null, navigator.product) { case "ReactNative": - Qn.userAgent = su + " react-native", Qn.isReactNative = !0; + Yn.userAgent = Ka + " react-native", Yn.isReactNative = !0; break; default: - Qn.userAgent = su + " js", Qn.isReactNative = !1; + Yn.userAgent = Ka + " js", Yn.isReactNative = !1; break; } -var _N = function(e) { - return "" + Qn.userAgent + (e || ""); -}, rn = new Ht("Hub"), kN = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default"; -function zN(e) { +var fI = function(e) { + return "" + Yn.userAgent + (e || ""); +}, rn = new Ht("Hub"), dI = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default"; +function hI(e) { return e.onHubCapsule !== void 0; } -var PN = ( +var gI = ( /** @class */ function() { function e(t) { @@ -14323,7 +13745,7 @@ var PN = ( rn.warn("No listeners for " + t); return; } - this.patterns = ut(this.patterns.filter(function(o) { + this.patterns = at(this.patterns.filter(function(o) { return o !== r; })); } else { @@ -14332,7 +13754,7 @@ var PN = ( rn.warn("No listeners for " + t); return; } - this.listeners[t] = ut(i.filter(function(o) { + this.listeners[t] = at(i.filter(function(o) { var s = o.callback; return s !== n; })); @@ -14341,7 +13763,7 @@ var PN = ( this._remove(t, n); }, e.prototype.dispatch = function(t, n, r, i) { if (r === void 0 && (r = ""), this.protectedChannels.indexOf(t) > -1) { - var o = i === kN; + var o = i === dI; o || rn.warn("WARNING: " + t + " is protected and dispatching on it can have unintended consequences"); } var s = { @@ -14359,7 +13781,7 @@ var PN = ( var i = this; r === void 0 && (r = "noname"); var o; - if (zN(n)) + if (hI(n)) rn.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."), o = n.onHubCapsule.bind(n); else { if (typeof n != "function") @@ -14410,7 +13832,7 @@ var PN = ( } }, e; }() -), on = new PN("__default__"), RN = function(e) { +), on = new gI("__default__"), pI = function(e) { if (e.isResolved) return e; var t = !0, n = !1, r = !1, i = e.then(function(o) { @@ -14431,7 +13853,7 @@ var PN = ( isBrowser: e, isNode: t }; -}, bn = {}, Ds = {}, Nt = {}; +}, jn = {}, ms = {}, Nt = {}; Object.defineProperty(Nt, "__esModule", { value: !0 }); Nt.MAX_HASHABLE_LENGTH = Nt.INIT = Nt.KEY = Nt.DIGEST_LENGTH = Nt.BLOCK_SIZE = void 0; Nt.BLOCK_SIZE = 64; @@ -14513,40 +13935,40 @@ Nt.INIT = [ 1541459225 ]; Nt.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1; -var As = {}; -Object.defineProperty(As, "__esModule", { value: !0 }); -As.RawSha256 = void 0; -var Ct = Nt, UN = ( +var vs = {}; +Object.defineProperty(vs, "__esModule", { value: !0 }); +vs.RawSha256 = void 0; +var bt = Nt, MI = ( /** @class */ function() { function e() { - this.state = Int32Array.from(Ct.INIT), this.temp = new Int32Array(64), this.buffer = new Uint8Array(64), this.bufferLength = 0, this.bytesHashed = 0, this.finished = !1; + this.state = Int32Array.from(bt.INIT), this.temp = new Int32Array(64), this.buffer = new Uint8Array(64), this.bufferLength = 0, this.bytesHashed = 0, this.finished = !1; } return e.prototype.update = function(t) { if (this.finished) throw new Error("Attempted to update an already finished hash."); var n = 0, r = t.byteLength; - if (this.bytesHashed += r, this.bytesHashed * 8 > Ct.MAX_HASHABLE_LENGTH) + if (this.bytesHashed += r, this.bytesHashed * 8 > bt.MAX_HASHABLE_LENGTH) throw new Error("Cannot hash more than 2^53 - 1 bits"); for (; r > 0; ) - this.buffer[this.bufferLength++] = t[n++], r--, this.bufferLength === Ct.BLOCK_SIZE && (this.hashBuffer(), this.bufferLength = 0); + this.buffer[this.bufferLength++] = t[n++], r--, this.bufferLength === bt.BLOCK_SIZE && (this.hashBuffer(), this.bufferLength = 0); }, e.prototype.digest = function() { if (!this.finished) { var t = this.bytesHashed * 8, n = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength), r = this.bufferLength; - if (n.setUint8(this.bufferLength++, 128), r % Ct.BLOCK_SIZE >= Ct.BLOCK_SIZE - 8) { - for (var i = this.bufferLength; i < Ct.BLOCK_SIZE; i++) + if (n.setUint8(this.bufferLength++, 128), r % bt.BLOCK_SIZE >= bt.BLOCK_SIZE - 8) { + for (var i = this.bufferLength; i < bt.BLOCK_SIZE; i++) n.setUint8(i, 0); this.hashBuffer(), this.bufferLength = 0; } - for (var i = this.bufferLength; i < Ct.BLOCK_SIZE - 8; i++) + for (var i = this.bufferLength; i < bt.BLOCK_SIZE - 8; i++) n.setUint8(i, 0); - n.setUint32(Ct.BLOCK_SIZE - 8, Math.floor(t / 4294967296), !0), n.setUint32(Ct.BLOCK_SIZE - 4, t), this.hashBuffer(), this.finished = !0; + n.setUint32(bt.BLOCK_SIZE - 8, Math.floor(t / 4294967296), !0), n.setUint32(bt.BLOCK_SIZE - 4, t), this.hashBuffer(), this.finished = !0; } - for (var o = new Uint8Array(Ct.DIGEST_LENGTH), i = 0; i < 8; i++) + for (var o = new Uint8Array(bt.DIGEST_LENGTH), i = 0; i < 8; i++) o[i * 4] = this.state[i] >>> 24 & 255, o[i * 4 + 1] = this.state[i] >>> 16 & 255, o[i * 4 + 2] = this.state[i] >>> 8 & 255, o[i * 4 + 3] = this.state[i] >>> 0 & 255; return o; }, e.prototype.hashBuffer = function() { - for (var t = this, n = t.buffer, r = t.state, i = r[0], o = r[1], s = r[2], a = r[3], u = r[4], c = r[5], l = r[6], f = r[7], d = 0; d < Ct.BLOCK_SIZE; d++) { + for (var t = this, n = t.buffer, r = t.state, i = r[0], o = r[1], s = r[2], a = r[3], u = r[4], c = r[5], l = r[6], f = r[7], d = 0; d < bt.BLOCK_SIZE; d++) { if (d < 16) this.temp[d] = (n[d * 4] & 255) << 24 | (n[d * 4 + 1] & 255) << 16 | (n[d * 4 + 2] & 255) << 8 | n[d * 4 + 3] & 255; else { @@ -14555,16 +13977,16 @@ var Ct = Nt, UN = ( var p = (g >>> 7 | g << 25) ^ (g >>> 18 | g << 14) ^ g >>> 3; this.temp[d] = (h + this.temp[d - 7] | 0) + (p + this.temp[d - 16] | 0); } - var m = (((u >>> 6 | u << 26) ^ (u >>> 11 | u << 21) ^ (u >>> 25 | u << 7)) + (u & c ^ ~u & l) | 0) + (f + (Ct.KEY[d] + this.temp[d] | 0) | 0) | 0, v = ((i >>> 2 | i << 30) ^ (i >>> 13 | i << 19) ^ (i >>> 22 | i << 10)) + (i & o ^ i & s ^ o & s) | 0; + var m = (((u >>> 6 | u << 26) ^ (u >>> 11 | u << 21) ^ (u >>> 25 | u << 7)) + (u & c ^ ~u & l) | 0) + (f + (bt.KEY[d] + this.temp[d] | 0) | 0) | 0, v = ((i >>> 2 | i << 30) ^ (i >>> 13 | i << 19) ^ (i >>> 22 | i << 10)) + (i & o ^ i & s ^ o & s) | 0; f = l, l = c, c = u, u = a + m | 0, a = s, s = o, o = i, i = m + v | 0; } r[0] += i, r[1] += o, r[2] += s, r[3] += a, r[4] += u, r[5] += c, r[6] += l, r[7] += f; }, e; }() ); -As.RawSha256 = UN; -var yc = {}, Es = {}; -const FN = (e) => { +vs.RawSha256 = MI; +var nc = {}, ws = {}; +const yI = (e) => { const t = []; for (let n = 0, r = e.length; n < r; n++) { const i = e.charCodeAt(n); @@ -14579,7 +14001,7 @@ const FN = (e) => { t.push(i >> 12 | 224, i >> 6 & 63 | 128, i & 63 | 128); } return Uint8Array.from(t); -}, YN = (e) => { +}, mI = (e) => { let t = ""; for (let n = 0, r = e.length; n < r; n++) { const i = e[n]; @@ -14596,37 +14018,37 @@ const FN = (e) => { } return t; }; -function BN(e) { +function vI(e) { return new TextEncoder().encode(e); } -function QN(e) { +function wI(e) { return new TextDecoder("utf-8").decode(e); } -const $N = (e) => typeof TextEncoder == "function" ? BN(e) : FN(e), WN = (e) => typeof TextDecoder == "function" ? QN(e) : YN(e), VN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const DI = (e) => typeof TextEncoder == "function" ? vI(e) : yI(e), AI = (e) => typeof TextDecoder == "function" ? wI(e) : mI(e), EI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - fromUtf8: $N, - toUtf8: WN -}, Symbol.toStringTag, { value: "Module" })), HN = /* @__PURE__ */ Bi(VN); -Object.defineProperty(Es, "__esModule", { value: !0 }); -Es.convertToBuffer = void 0; -var qN = HN, KN = typeof Buffer < "u" && Buffer.from ? function(e) { + fromUtf8: DI, + toUtf8: AI +}, Symbol.toStringTag, { value: "Module" })), II = /* @__PURE__ */ Qi(EI); +Object.defineProperty(ws, "__esModule", { value: !0 }); +ws.convertToBuffer = void 0; +var NI = II, TI = typeof Buffer < "u" && Buffer.from ? function(e) { return Buffer.from(e, "utf8"); -} : qN.fromUtf8; -function GN(e) { - return e instanceof Uint8Array ? e : typeof e == "string" ? KN(e) : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength / Uint8Array.BYTES_PER_ELEMENT) : new Uint8Array(e); +} : NI.fromUtf8; +function jI(e) { + return e instanceof Uint8Array ? e : typeof e == "string" ? TI(e) : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength / Uint8Array.BYTES_PER_ELEMENT) : new Uint8Array(e); } -Es.convertToBuffer = GN; -var Is = {}; -Object.defineProperty(Is, "__esModule", { value: !0 }); -Is.isEmptyData = void 0; -function JN(e) { +ws.convertToBuffer = jI; +var Ds = {}; +Object.defineProperty(Ds, "__esModule", { value: !0 }); +Ds.isEmptyData = void 0; +function SI(e) { return typeof e == "string" ? e.length === 0 : e.byteLength === 0; } -Is.isEmptyData = JN; -var Ns = {}; -Object.defineProperty(Ns, "__esModule", { value: !0 }); -Ns.numToUint8 = void 0; -function ZN(e) { +Ds.isEmptyData = SI; +var As = {}; +Object.defineProperty(As, "__esModule", { value: !0 }); +As.numToUint8 = void 0; +function bI(e) { return new Uint8Array([ (e & 4278190080) >> 24, (e & 16711680) >> 16, @@ -14634,11 +14056,11 @@ function ZN(e) { e & 255 ]); } -Ns.numToUint8 = ZN; -var Ts = {}; -Object.defineProperty(Ts, "__esModule", { value: !0 }); -Ts.uint32ArrayFrom = void 0; -function XN(e) { +As.numToUint8 = bI; +var Es = {}; +Object.defineProperty(Es, "__esModule", { value: !0 }); +Es.uint32ArrayFrom = void 0; +function CI(e) { if (!Array.from) { for (var t = new Uint32Array(e.length), n = 0; n < e.length; ) t[n] = e[n]; @@ -14646,37 +14068,37 @@ function XN(e) { } return Uint32Array.from(e); } -Ts.uint32ArrayFrom = XN; +Es.uint32ArrayFrom = CI; (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.uint32ArrayFrom = e.numToUint8 = e.isEmptyData = e.convertToBuffer = void 0; - var t = Es; + var t = ws; Object.defineProperty(e, "convertToBuffer", { enumerable: !0, get: function() { return t.convertToBuffer; } }); - var n = Is; + var n = Ds; Object.defineProperty(e, "isEmptyData", { enumerable: !0, get: function() { return n.isEmptyData; } }); - var r = Ns; + var r = As; Object.defineProperty(e, "numToUint8", { enumerable: !0, get: function() { return r.numToUint8; } }); - var i = Ts; + var i = Es; Object.defineProperty(e, "uint32ArrayFrom", { enumerable: !0, get: function() { return i.uint32ArrayFrom; } }); -})(yc); -Object.defineProperty(Ds, "__esModule", { value: !0 }); -Ds.Sha256 = void 0; -var bf = ue, Wo = Nt, au = As, uu = yc, eT = ( +})(nc); +Object.defineProperty(ms, "__esModule", { value: !0 }); +ms.Sha256 = void 0; +var nf = ue, Bo = Nt, Ga = vs, Ja = nc, xI = ( /** @class */ function() { function e(t) { - if (this.hash = new au.RawSha256(), t) { - this.outer = new au.RawSha256(); - var n = tT(t), r = new Uint8Array(Wo.BLOCK_SIZE); + if (this.hash = new Ga.RawSha256(), t) { + this.outer = new Ga.RawSha256(); + var n = OI(t), r = new Uint8Array(Bo.BLOCK_SIZE); r.set(n); - for (var i = 0; i < Wo.BLOCK_SIZE; i++) + for (var i = 0; i < Bo.BLOCK_SIZE; i++) n[i] ^= 54, r[i] ^= 92; this.hash.update(n), this.outer.update(r); for (var i = 0; i < n.byteLength; i++) @@ -14684,9 +14106,9 @@ var bf = ue, Wo = Nt, au = As, uu = yc, eT = ( } } return e.prototype.update = function(t) { - if (!((0, uu.isEmptyData)(t) || this.error)) + if (!((0, Ja.isEmptyData)(t) || this.error)) try { - this.hash.update((0, uu.convertToBuffer)(t)); + this.hash.update((0, Ja.convertToBuffer)(t)); } catch (n) { this.error = n; } @@ -14695,45 +14117,45 @@ var bf = ue, Wo = Nt, au = As, uu = yc, eT = ( throw this.error; return this.outer ? (this.outer.finished || this.outer.update(this.hash.digest()), this.outer.digest()) : this.hash.digest(); }, e.prototype.digest = function() { - return (0, bf.__awaiter)(this, void 0, void 0, function() { - return (0, bf.__generator)(this, function(t) { + return (0, nf.__awaiter)(this, void 0, void 0, function() { + return (0, nf.__generator)(this, function(t) { return [2, this.digestSync()]; }); }); }, e; }() ); -Ds.Sha256 = eT; -function tT(e) { - var t = (0, uu.convertToBuffer)(e); - if (t.byteLength > Wo.BLOCK_SIZE) { - var n = new au.RawSha256(); +ms.Sha256 = xI; +function OI(e) { + var t = (0, Ja.convertToBuffer)(e); + if (t.byteLength > Bo.BLOCK_SIZE) { + var n = new Ga.RawSha256(); n.update(t), t = n.digest(); } - var r = new Uint8Array(Wo.BLOCK_SIZE); + var r = new Uint8Array(Bo.BLOCK_SIZE); return r.set(t), r; } (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }); var t = ue; - (0, t.__exportStar)(Ds, e); -})(bn); -var lp = {}; -for (var so = 0; so < 256; so++) { - var ao = so.toString(16).toLowerCase(); - ao.length === 1 && (ao = "0" + ao), lp[so] = ao; + (0, t.__exportStar)(ms, e); +})(jn); +var Tg = {}; +for (var oo = 0; oo < 256; oo++) { + var so = oo.toString(16).toLowerCase(); + so.length === 1 && (so = "0" + so), Tg[oo] = so; } function Sr(e) { for (var t = "", n = 0; n < e.byteLength; n++) - t += lp[e[n]]; + t += Tg[e[n]]; return t; } -var Vo = {}, nT = { +var $o = {}, LI = { get exports() { - return Vo; + return $o; }, set exports(e) { - Vo = e; + $o = e; } }; /*! https://mths.be/punycode v1.3.2 by @mathias */ @@ -14745,11 +14167,11 @@ var Vo = {}, nT = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" - }, N = u - c, I = Math.floor, B = String.fromCharCode, z; - function W(L) { + }, I = u - c, N = Math.floor, Q = String.fromCharCode, z; + function H(L) { throw RangeError(j[L]); } - function $(L, F) { + function W(L, F) { for (var P = L.length, q = []; P--; ) q[P] = F(L[P]); return q; @@ -14757,7 +14179,7 @@ var Vo = {}, nT = { function b(L, F) { var P = L.split("@"), q = ""; P.length > 1 && (q = P[0] + "@", L = P[1]), L = L.replace(w, "."); - var K = L.split("."), X = $(K, F).join("."); + var K = L.split("."), X = W(K, F).join("."); return q + X; } function k(L) { @@ -14766,9 +14188,9 @@ var Vo = {}, nT = { return F; } function U(L) { - return $(L, function(F) { + return W(L, function(F) { var P = ""; - return F > 65535 && (F -= 65536, P += B(F >>> 10 & 1023 | 55296), F = 56320 | F & 1023), P += B(F), P; + return F > 65535 && (F -= 65536, P += Q(F >>> 10 & 1023 | 55296), F = 56320 | F & 1023), P += Q(F), P; }).join(""); } function x(L) { @@ -14779,46 +14201,46 @@ var Vo = {}, nT = { } function S(L, F, P) { var q = 0; - for (L = P ? I(L / d) : L >> 1, L += I(L / F); L > N * l >> 1; q += u) - L = I(L / N); - return I(q + (N + 1) * L / (L + f)); + for (L = P ? N(L / d) : L >> 1, L += N(L / F); L > I * l >> 1; q += u) + L = N(L / I); + return N(q + (I + 1) * L / (L + f)); } function R(L) { - var F = [], P = L.length, q, K = 0, X = h, O = g, ne, G, he, H, Q, V, fe, te, le; + var F = [], P = L.length, q, K = 0, X = h, O = g, ne, G, he, V, B, $, fe, te, le; for (ne = L.lastIndexOf(p), ne < 0 && (ne = 0), G = 0; G < ne; ++G) - L.charCodeAt(G) >= 128 && W("not-basic"), F.push(L.charCodeAt(G)); + L.charCodeAt(G) >= 128 && H("not-basic"), F.push(L.charCodeAt(G)); for (he = ne > 0 ? ne + 1 : 0; he < P; ) { - for (H = K, Q = 1, V = u; he >= P && W("invalid-input"), fe = x(L.charCodeAt(he++)), (fe >= u || fe > I((a - K) / Q)) && W("overflow"), K += fe * Q, te = V <= O ? c : V >= O + l ? l : V - O, !(fe < te); V += u) - le = u - te, Q > I(a / le) && W("overflow"), Q *= le; - q = F.length + 1, O = S(K - H, q, H == 0), I(K / q) > a - X && W("overflow"), X += I(K / q), K %= q, F.splice(K++, 0, X); + for (V = K, B = 1, $ = u; he >= P && H("invalid-input"), fe = x(L.charCodeAt(he++)), (fe >= u || fe > N((a - K) / B)) && H("overflow"), K += fe * B, te = $ <= O ? c : $ >= O + l ? l : $ - O, !(fe < te); $ += u) + le = u - te, B > N(a / le) && H("overflow"), B *= le; + q = F.length + 1, O = S(K - V, q, V == 0), N(K / q) > a - X && H("overflow"), X += N(K / q), K %= q, F.splice(K++, 0, X); } return U(F); } function C(L) { - var F, P, q, K, X, O, ne, G, he, H, Q, V = [], fe, te, le, Me; + var F, P, q, K, X, O, ne, G, he, V, B, $ = [], fe, te, le, pe; for (L = k(L), fe = L.length, F = h, P = 0, X = g, O = 0; O < fe; ++O) - Q = L[O], Q < 128 && V.push(B(Q)); - for (q = K = V.length, K && V.push(p); q < fe; ) { + B = L[O], B < 128 && $.push(Q(B)); + for (q = K = $.length, K && $.push(p); q < fe; ) { for (ne = a, O = 0; O < fe; ++O) - Q = L[O], Q >= F && Q < ne && (ne = Q); - for (te = q + 1, ne - F > I((a - P) / te) && W("overflow"), P += (ne - F) * te, F = ne, O = 0; O < fe; ++O) - if (Q = L[O], Q < F && ++P > a && W("overflow"), Q == F) { - for (G = P, he = u; H = he <= X ? c : he >= X + l ? l : he - X, !(G < H); he += u) - Me = G - H, le = u - H, V.push( - B(T(H + Me % le, 0)) - ), G = I(Me / le); - V.push(B(T(G, 0))), X = S(P, te, q == K), P = 0, ++q; + B = L[O], B >= F && B < ne && (ne = B); + for (te = q + 1, ne - F > N((a - P) / te) && H("overflow"), P += (ne - F) * te, F = ne, O = 0; O < fe; ++O) + if (B = L[O], B < F && ++P > a && H("overflow"), B == F) { + for (G = P, he = u; V = he <= X ? c : he >= X + l ? l : he - X, !(G < V); he += u) + pe = G - V, le = u - V, $.push( + Q(T(V + pe % le, 0)) + ), G = N(pe / le); + $.push(Q(T(G, 0))), X = S(P, te, q == K), P = 0, ++q; } ++P, ++F; } - return V.join(""); + return $.join(""); } function J(L) { return b(L, function(F) { return m.test(F) ? R(F.slice(4).toLowerCase()) : F; }); } - function ie(L) { + function re(L) { return b(L, function(F) { return v.test(F) ? "xn--" + C(F) : F; }); @@ -14843,7 +14265,7 @@ var Vo = {}, nT = { }, decode: R, encode: C, - toASCII: ie, + toASCII: re, toUnicode: J }, r && i) if (e.exports == r) @@ -14854,8 +14276,8 @@ var Vo = {}, nT = { else n.punycode = s; })(zt); -})(nT, Vo); -var rT = { +})(LI, $o); +var _I = { isString: function(e) { return typeof e == "string"; }, @@ -14868,11 +14290,11 @@ var rT = { isNullOrUndefined: function(e) { return e == null; } -}, ki = {}; -function iT(e, t) { +}, _i = {}; +function kI(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } -var oT = function(e, t, n, r) { +var zI = function(e, t, n, r) { t = t || "&", n = n || "="; var i = {}; if (typeof e != "string" || e.length === 0) @@ -14885,10 +14307,10 @@ var oT = function(e, t, n, r) { s > 0 && a > s && (a = s); for (var u = 0; u < a; ++u) { var c = e[u].replace(o, "%20"), l = c.indexOf(n), f, d, g, h; - l >= 0 ? (f = c.substr(0, l), d = c.substr(l + 1)) : (f = c, d = ""), g = decodeURIComponent(f), h = decodeURIComponent(d), iT(i, g) ? Array.isArray(i[g]) ? i[g].push(h) : i[g] = [i[g], h] : i[g] = h; + l >= 0 ? (f = c.substr(0, l), d = c.substr(l + 1)) : (f = c, d = ""), g = decodeURIComponent(f), h = decodeURIComponent(d), kI(i, g) ? Array.isArray(i[g]) ? i[g].push(h) : i[g] = [i[g], h] : i[g] = h; } return i; -}, ri = function(e) { +}, ni = function(e) { switch (typeof e) { case "string": return e; @@ -14899,25 +14321,25 @@ var oT = function(e, t, n, r) { default: return ""; } -}, sT = function(e, t, n, r) { +}, PI = function(e, t, n, r) { return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) { - var o = encodeURIComponent(ri(i)) + n; + var o = encodeURIComponent(ni(i)) + n; return Array.isArray(e[i]) ? e[i].map(function(s) { - return o + encodeURIComponent(ri(s)); - }).join(t) : o + encodeURIComponent(ri(e[i])); - }).join(t) : r ? encodeURIComponent(ri(r)) + n + encodeURIComponent(ri(e)) : ""; + return o + encodeURIComponent(ni(s)); + }).join(t) : o + encodeURIComponent(ni(e[i])); + }).join(t) : r ? encodeURIComponent(ni(r)) + n + encodeURIComponent(ni(e)) : ""; }; -ki.decode = ki.parse = oT; -ki.encode = ki.stringify = sT; -var aT = Vo, sn = rT, Dn = fp; +_i.decode = _i.parse = zI; +_i.encode = _i.stringify = PI; +var RI = $o, sn = _I, wn = jg; function cn() { this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null; } -var uT = /^([a-z0-9.+-]+:)/i, cT = /:[0-9]*$/, lT = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, fT = ["<", ">", '"', "`", " ", "\r", ` -`, " "], dT = ["{", "}", "|", "\\", "^", "`"].concat(fT), cu = ["'"].concat(dT), Cf = ["%", "/", "?", ";", "#"].concat(cu), xf = ["/", "?", "#"], hT = 255, Of = /^[+a-z0-9A-Z_-]{0,63}$/, gT = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, pT = { +var UI = /^([a-z0-9.+-]+:)/i, FI = /:[0-9]*$/, YI = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, QI = ["<", ">", '"', "`", " ", "\r", ` +`, " "], BI = ["{", "}", "|", "\\", "^", "`"].concat(QI), Za = ["'"].concat(BI), rf = ["%", "/", "?", ";", "#"].concat(Za), of = ["/", "?", "#"], $I = 255, sf = /^[+a-z0-9A-Z_-]{0,63}$/, WI = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, VI = { javascript: !0, "javascript:": !0 -}, lu = { +}, Xa = { javascript: !0, "javascript:": !0 }, xr = { @@ -14931,8 +14353,8 @@ var uT = /^([a-z0-9.+-]+:)/i, cT = /:[0-9]*$/, lT = /^(\/\/?(?!\/)[^\?\s]*)(\?[^ "ftp:": !0, "gopher:": !0, "file:": !0 -}, fu = ki; -function fp(e, t, n) { +}, eu = _i; +function jg(e, t, n) { if (e && sn.isObject(e) && e instanceof cn) return e; var r = new cn(); @@ -14945,11 +14367,11 @@ cn.prototype.parse = function(e, t, n) { o[0] = o[0].replace(s, "/"), e = o.join(i); var a = e; if (a = a.trim(), !n && e.split("#").length === 1) { - var u = lT.exec(a); + var u = YI.exec(a); if (u) - return this.path = a, this.href = a, this.pathname = u[1], u[2] ? (this.search = u[2], t ? this.query = fu.parse(this.search.substr(1)) : this.query = this.search.substr(1)) : t && (this.search = "", this.query = {}), this; + return this.path = a, this.href = a, this.pathname = u[1], u[2] ? (this.search = u[2], t ? this.query = eu.parse(this.search.substr(1)) : this.query = this.search.substr(1)) : t && (this.search = "", this.query = {}), this; } - var c = uT.exec(a); + var c = UI.exec(a); if (c) { c = c[0]; var l = c.toLowerCase(); @@ -14957,41 +14379,41 @@ cn.prototype.parse = function(e, t, n) { } if (n || c || a.match(/^\/\/[^@\/]+@[^@\/]+/)) { var f = a.substr(0, 2) === "//"; - f && !(c && lu[c]) && (a = a.substr(2), this.slashes = !0); + f && !(c && Xa[c]) && (a = a.substr(2), this.slashes = !0); } - if (!lu[c] && (f || c && !xr[c])) { - for (var d = -1, g = 0; g < xf.length; g++) { - var h = a.indexOf(xf[g]); + if (!Xa[c] && (f || c && !xr[c])) { + for (var d = -1, g = 0; g < of.length; g++) { + var h = a.indexOf(of[g]); h !== -1 && (d === -1 || h < d) && (d = h); } var p, m; d === -1 ? m = a.lastIndexOf("@") : m = a.lastIndexOf("@", d), m !== -1 && (p = a.slice(0, m), a = a.slice(m + 1), this.auth = decodeURIComponent(p)), d = -1; - for (var g = 0; g < Cf.length; g++) { - var h = a.indexOf(Cf[g]); + for (var g = 0; g < rf.length; g++) { + var h = a.indexOf(rf[g]); h !== -1 && (d === -1 || h < d) && (d = h); } d === -1 && (d = a.length), this.host = a.slice(0, d), a = a.slice(d), this.parseHost(), this.hostname = this.hostname || ""; var v = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]"; if (!v) for (var w = this.hostname.split(/\./), g = 0, j = w.length; g < j; g++) { - var N = w[g]; - if (N && !N.match(Of)) { - for (var I = "", B = 0, z = N.length; B < z; B++) - N.charCodeAt(B) > 127 ? I += "x" : I += N[B]; - if (!I.match(Of)) { - var W = w.slice(0, g), $ = w.slice(g + 1), b = N.match(gT); - b && (W.push(b[1]), $.unshift(b[2])), $.length && (a = "/" + $.join(".") + a), this.hostname = W.join("."); + var I = w[g]; + if (I && !I.match(sf)) { + for (var N = "", Q = 0, z = I.length; Q < z; Q++) + I.charCodeAt(Q) > 127 ? N += "x" : N += I[Q]; + if (!N.match(sf)) { + var H = w.slice(0, g), W = w.slice(g + 1), b = I.match(WI); + b && (H.push(b[1]), W.unshift(b[2])), W.length && (a = "/" + W.join(".") + a), this.hostname = H.join("."); break; } } } - this.hostname.length > hT ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), v || (this.hostname = aT.toASCII(this.hostname)); + this.hostname.length > $I ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), v || (this.hostname = RI.toASCII(this.hostname)); var k = this.port ? ":" + this.port : "", U = this.hostname || ""; this.host = U + k, this.href += this.host, v && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), a[0] !== "/" && (a = "/" + a)); } - if (!pT[l]) - for (var g = 0, j = cu.length; g < j; g++) { - var x = cu[g]; + if (!VI[l]) + for (var g = 0, j = Za.length; g < j; g++) { + var x = Za[g]; if (a.indexOf(x) !== -1) { var T = encodeURIComponent(x); T === x && (T = escape(x)), a = a.split(x).join(T); @@ -15000,7 +14422,7 @@ cn.prototype.parse = function(e, t, n) { var S = a.indexOf("#"); S !== -1 && (this.hash = a.substr(S), a = a.slice(0, S)); var R = a.indexOf("?"); - if (R !== -1 ? (this.search = a.substr(R), this.query = a.substr(R + 1), t && (this.query = fu.parse(this.query)), a = a.slice(0, R)) : t && (this.search = "", this.query = {}), a && (this.pathname = a), xr[l] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { + if (R !== -1 ? (this.search = a.substr(R), this.query = a.substr(R + 1), t && (this.query = eu.parse(this.query)), a = a.slice(0, R)) : t && (this.search = "", this.query = {}), a && (this.pathname = a), xr[l] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { var k = this.pathname || "", C = this.search || ""; this.path = k + C; } @@ -15010,14 +14432,14 @@ cn.prototype.format = function() { var e = this.auth || ""; e && (e = encodeURIComponent(e), e = e.replace(/%3A/i, ":"), e += "@"); var t = this.protocol || "", n = this.pathname || "", r = this.hash || "", i = !1, o = ""; - this.host ? i = e + this.host : this.hostname && (i = e + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (i += ":" + this.port)), this.query && sn.isObject(this.query) && Object.keys(this.query).length && (o = fu.stringify(this.query)); + this.host ? i = e + this.host : this.hostname && (i = e + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (i += ":" + this.port)), this.query && sn.isObject(this.query) && Object.keys(this.query).length && (o = eu.stringify(this.query)); var s = this.search || o && "?" + o || ""; return t && t.substr(-1) !== ":" && (t += ":"), this.slashes || (!t || xr[t]) && i !== !1 ? (i = "//" + (i || ""), n && n.charAt(0) !== "/" && (n = "/" + n)) : i || (i = ""), r && r.charAt(0) !== "#" && (r = "#" + r), s && s.charAt(0) !== "?" && (s = "?" + s), n = n.replace(/[?#]/g, function(a) { return encodeURIComponent(a); }), s = s.replace("#", "%23"), t + i + n + s + r; }; cn.prototype.resolve = function(e) { - return this.resolveObject(fp(e, !1, !0)).format(); + return this.resolveObject(jg(e, !1, !0)).format(); }; cn.prototype.resolveObject = function(e) { if (sn.isString(e)) { @@ -15045,7 +14467,7 @@ cn.prototype.resolveObject = function(e) { } return n.href = n.format(), n; } - if (n.protocol = e.protocol, !e.host && !lu[e.protocol]) { + if (n.protocol = e.protocol, !e.host && !Xa[e.protocol]) { for (var j = (e.pathname || "").split("/"); j.length && !(e.host = j.shift()); ) ; e.host || (e.host = ""), e.hostname || (e.hostname = ""), j[0] !== "" && j.unshift(""), j.length < 2 && j.unshift(""), n.pathname = j.join("/"); @@ -15057,54 +14479,54 @@ cn.prototype.resolveObject = function(e) { } return n.slashes = n.slashes || e.slashes, n.href = n.format(), n; } - var h = n.pathname && n.pathname.charAt(0) === "/", p = e.host || e.pathname && e.pathname.charAt(0) === "/", m = p || h || n.host && e.pathname, v = m, w = n.pathname && n.pathname.split("/") || [], j = e.pathname && e.pathname.split("/") || [], N = n.protocol && !xr[n.protocol]; - if (N && (n.hostname = "", n.port = null, n.host && (w[0] === "" ? w[0] = n.host : w.unshift(n.host)), n.host = "", e.protocol && (e.hostname = null, e.port = null, e.host && (j[0] === "" ? j[0] = e.host : j.unshift(e.host)), e.host = null), m = m && (j[0] === "" || w[0] === "")), p) + var h = n.pathname && n.pathname.charAt(0) === "/", p = e.host || e.pathname && e.pathname.charAt(0) === "/", m = p || h || n.host && e.pathname, v = m, w = n.pathname && n.pathname.split("/") || [], j = e.pathname && e.pathname.split("/") || [], I = n.protocol && !xr[n.protocol]; + if (I && (n.hostname = "", n.port = null, n.host && (w[0] === "" ? w[0] = n.host : w.unshift(n.host)), n.host = "", e.protocol && (e.hostname = null, e.port = null, e.host && (j[0] === "" ? j[0] = e.host : j.unshift(e.host)), e.host = null), m = m && (j[0] === "" || w[0] === "")), p) n.host = e.host || e.host === "" ? e.host : n.host, n.hostname = e.hostname || e.hostname === "" ? e.hostname : n.hostname, n.search = e.search, n.query = e.query, w = j; else if (j.length) w || (w = []), w.pop(), w = w.concat(j), n.search = e.search, n.query = e.query; else if (!sn.isNullOrUndefined(e.search)) { - if (N) { + if (I) { n.hostname = n.host = w.shift(); - var I = n.host && n.host.indexOf("@") > 0 ? n.host.split("@") : !1; - I && (n.auth = I.shift(), n.host = n.hostname = I.shift()); + var N = n.host && n.host.indexOf("@") > 0 ? n.host.split("@") : !1; + N && (n.auth = N.shift(), n.host = n.hostname = N.shift()); } return n.search = e.search, n.query = e.query, (!sn.isNull(n.pathname) || !sn.isNull(n.search)) && (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.href = n.format(), n; } if (!w.length) return n.pathname = null, n.search ? n.path = "/" + n.search : n.path = null, n.href = n.format(), n; - for (var B = w.slice(-1)[0], z = (n.host || e.host || w.length > 1) && (B === "." || B === "..") || B === "", W = 0, $ = w.length; $ >= 0; $--) - B = w[$], B === "." ? w.splice($, 1) : B === ".." ? (w.splice($, 1), W++) : W && (w.splice($, 1), W--); + for (var Q = w.slice(-1)[0], z = (n.host || e.host || w.length > 1) && (Q === "." || Q === "..") || Q === "", H = 0, W = w.length; W >= 0; W--) + Q = w[W], Q === "." ? w.splice(W, 1) : Q === ".." ? (w.splice(W, 1), H++) : H && (w.splice(W, 1), H--); if (!m && !v) - for (; W--; W) + for (; H--; H) w.unshift(".."); m && w[0] !== "" && (!w[0] || w[0].charAt(0) !== "/") && w.unshift(""), z && w.join("/").substr(-1) !== "/" && w.push(""); var b = w[0] === "" || w[0] && w[0].charAt(0) === "/"; - if (N) { + if (I) { n.hostname = n.host = b ? "" : w.length ? w.shift() : ""; - var I = n.host && n.host.indexOf("@") > 0 ? n.host.split("@") : !1; - I && (n.auth = I.shift(), n.host = n.hostname = I.shift()); + var N = n.host && n.host.indexOf("@") > 0 ? n.host.split("@") : !1; + N && (n.auth = N.shift(), n.host = n.hostname = N.shift()); } return m = m || n.host && w.length, m && !b && w.unshift(""), w.length ? n.pathname = w.join("/") : (n.pathname = null, n.path = null), (!sn.isNull(n.pathname) || !sn.isNull(n.search)) && (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.auth = e.auth || n.auth, n.slashes = n.slashes || e.slashes, n.href = n.format(), n; }; cn.prototype.parseHost = function() { - var e = this.host, t = cT.exec(e); + var e = this.host, t = FI.exec(e); t && (t = t[0], t !== ":" && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e); }; -var uo = new Ht("Util"), Jn = ( +var ao = new Ht("Util"), Kn = ( /** @class */ function(e) { - pc(t, e); + ec(t, e); function t(n) { var r = e.call(this, n) || this; return r.nonRetryable = !0, r; } return t; }(Error) -), MT = function(e) { +), HI = function(e) { var t = "nonRetryable"; return e && e[t]; }; -function yT(e, t, n, r) { +function qI(e, t, n, r) { return Ne(this, void 0, void 0, function() { var i = this; return Ee(this, function(o) { @@ -15121,22 +14543,22 @@ function yT(e, t, n, r) { c = !0, clearTimeout(l), f(); }), g = function() { var m, v, w, j; - return Ee(this, function(N) { - switch (N.label) { + return Ee(this, function(I) { + switch (I.label) { case 0: - u++, uo.debug(e.name + " attempt #" + u + " with this vars: " + JSON.stringify(t)), N.label = 1; + u++, ao.debug(e.name + " attempt #" + u + " with this vars: " + JSON.stringify(t)), I.label = 1; case 1: - return N.trys.push([1, 3, , 7]), m = {}, v = s, [4, e.apply(void 0, ut(t))]; + return I.trys.push([1, 3, , 7]), m = {}, v = s, [4, e.apply(void 0, at(t))]; case 2: - return [2, (m.value = v.apply(void 0, [N.sent()]), m)]; + return [2, (m.value = v.apply(void 0, [I.sent()]), m)]; case 3: - return w = N.sent(), d = w, uo.debug("error on " + e.name, w), MT(w) ? (uo.debug(e.name + " non retryable error", w), [2, { value: a(w) }]) : (j = n(u, t, w), uo.debug(e.name + " retrying in " + j + " ms"), j === !1 || c ? [2, { value: a(w) }] : [3, 4]); + return w = I.sent(), d = w, ao.debug("error on " + e.name, w), HI(w) ? (ao.debug(e.name + " non retryable error", w), [2, { value: a(w) }]) : (j = n(u, t, w), ao.debug(e.name + " retrying in " + j + " ms"), j === !1 || c ? [2, { value: a(w) }] : [3, 4]); case 4: - return [4, new Promise(function(I) { - f = I, l = setTimeout(f, j); + return [4, new Promise(function(N) { + f = N, l = setTimeout(f, j); })]; case 5: - N.sent(), N.label = 6; + I.sent(), I.label = 6; case 6: return [3, 7]; case 7: @@ -15163,29 +14585,29 @@ function yT(e, t, n, r) { }); }); } -var dp = 5 * 60 * 1e3; -function mT(e) { - e === void 0 && (e = dp); +var Sg = 5 * 60 * 1e3; +function KI(e) { + e === void 0 && (e = Sg); var t = 100, n = 100; return function(r) { var i = Math.pow(2, r) * t + n * Math.random(); return i > e ? !1 : i; }; } -var vT = function(e, t, n, r) { - return n === void 0 && (n = dp), yT(e, t, mT(n), r); +var GI = function(e, t, n, r) { + return n === void 0 && (n = Sg), qI(e, t, KI(n), r); }; -function wT(e) { +function JI(e) { return e.split("").map(function(t) { return t.charCodeAt(0).toString(16).padStart(2, "0"); }).join(""); } -function DT(e) { +function ZI(e) { return e.match(/.{2}/g).map(function(t) { return String.fromCharCode(parseInt(t, 16)); }).join(""); } -var AT = new Ht("Parser"), hp = function(e) { +var XI = new Ht("Parser"), bg = function(e) { var t = {}; if (e.aws_mobile_analytics_app_id) { var n = { @@ -15214,33 +14636,33 @@ var AT = new Ht("Parser"), hp = function(e) { } } : r = e ? e.Storage || e : {}, e.Logging && (t.Logging = we(we({}, e.Logging), { region: e.aws_project_region })), e.geo && (t.Geo = Object.assign({}, e.geo), e.geo.amazon_location_service && (t.Geo = { AmazonLocationService: e.geo.amazon_location_service - })), t.Analytics = Object.assign({}, t.Analytics, e.Analytics), t.Auth = Object.assign({}, t.Auth, e.Auth), t.Storage = Object.assign({}, r), t.Logging = Object.assign({}, t.Logging, e.Logging), AT.debug("parse config", e, "to amplifyconfig", t), t; -}, du = function(e, t) { - return du = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) { + })), t.Analytics = Object.assign({}, t.Analytics, e.Analytics), t.Auth = Object.assign({}, t.Auth, e.Auth), t.Storage = Object.assign({}, r), t.Logging = Object.assign({}, t.Logging, e.Logging), XI.debug("parse config", e, "to amplifyconfig", t), t; +}, tu = function(e, t) { + return tu = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) { n.__proto__ = r; } || function(n, r) { for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]); - }, du(e, t); + }, tu(e, t); }; -function mc(e, t) { +function rc(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null"); - du(e, t); + tu(e, t); function n() { this.constructor = e; } e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n()); } -var oe = function() { - return oe = Object.assign || function(t) { +var ie = function() { + return ie = Object.assign || function(t) { for (var n, r = 1, i = arguments.length; r < i; r++) { n = arguments[r]; for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]); } return t; - }, oe.apply(this, arguments); + }, ie.apply(this, arguments); }; function pt(e, t, n, r) { function i(o) { @@ -15334,7 +14756,7 @@ function Mt(e, t) { return { value: c[0] ? c[1] : void 0, done: !0 }; } } -function ET(e, t) { +function eN(e, t) { var n = typeof Symbol == "function" && e[Symbol.iterator]; if (!n) return e; @@ -15354,14 +14776,14 @@ function ET(e, t) { } return o; } -var gp = {}, js = {}, Ki = {}, Ss = {}; -Object.defineProperty(Ss, "__esModule", { value: !0 }); -Ss.isEmptyData = void 0; -function IT(e) { +var Cg = {}, Is = {}, Ki = {}, Ns = {}; +Object.defineProperty(Ns, "__esModule", { value: !0 }); +Ns.isEmptyData = void 0; +function tN(e) { return typeof e == "string" ? e.length === 0 : e.byteLength === 0; } -Ss.isEmptyData = IT; -var vc = {}; +Ns.isEmptyData = tN; +var ic = {}; (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.EMPTY_DATA_SHA_256 = e.SHA_256_HMAC_ALGO = e.SHA_256_HASH = void 0, e.SHA_256_HASH = { name: "SHA-256" }, e.SHA_256_HMAC_ALGO = { name: "HMAC", @@ -15400,8 +14822,8 @@ var vc = {}; 184, 85 ]); -})(vc); -var NT = function(e) { +})(ic); +var nN = function(e) { for (var t = [], n = 0, r = e.length; n < r; n++) { var i = e.charCodeAt(n); if (i < 128) @@ -15415,7 +14837,7 @@ var NT = function(e) { t.push(i >> 12 | 224, i >> 6 & 63 | 128, i & 63 | 128); } return Uint8Array.from(t); -}, TT = function(e) { +}, rN = function(e) { for (var t = "", n = 0, r = e.length; n < r; n++) { var i = e[n]; if (i < 128) @@ -15433,46 +14855,46 @@ var NT = function(e) { } return t; }; -function jT(e) { +function iN(e) { return new TextEncoder().encode(e); } -function ST(e) { +function oN(e) { return new TextDecoder("utf-8").decode(e); } -var pp = function(e) { - return typeof TextEncoder == "function" ? jT(e) : NT(e); -}, Mp = function(e) { - return typeof TextDecoder == "function" ? ST(e) : TT(e); +var xg = function(e) { + return typeof TextEncoder == "function" ? iN(e) : nN(e); +}, Og = function(e) { + return typeof TextDecoder == "function" ? oN(e) : rN(e); }; -const bT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const sN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - fromUtf8: pp, - toUtf8: Mp -}, Symbol.toStringTag, { value: "Module" })), CT = /* @__PURE__ */ Bi(bT), xT = {}; -function OT() { - return typeof window < "u" ? window : typeof self < "u" ? self : xT; + fromUtf8: xg, + toUtf8: Og +}, Symbol.toStringTag, { value: "Module" })), aN = /* @__PURE__ */ Qi(sN), uN = {}; +function cN() { + return typeof window < "u" ? window : typeof self < "u" ? self : uN; } -const LT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const lN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - locateWindow: OT -}, Symbol.toStringTag, { value: "Module" })), wc = /* @__PURE__ */ Bi(LT); + locateWindow: cN +}, Symbol.toStringTag, { value: "Module" })), oc = /* @__PURE__ */ Qi(lN); Object.defineProperty(Ki, "__esModule", { value: !0 }); Ki.Sha256 = void 0; -var _T = Ss, yp = vc, kT = CT, hu = wc, zT = ( +var fN = Ns, Lg = ic, dN = aN, nu = oc, hN = ( /** @class */ function() { function e(t) { - t ? (this.operation = PT(t).then(function(n) { - return (0, hu.locateWindow)().msCrypto.subtle.sign(yp.SHA_256_HMAC_ALGO, n); + t ? (this.operation = gN(t).then(function(n) { + return (0, nu.locateWindow)().msCrypto.subtle.sign(Lg.SHA_256_HMAC_ALGO, n); }), this.operation.catch(function() { - })) : this.operation = Promise.resolve((0, hu.locateWindow)().msCrypto.subtle.digest("SHA-256")); + })) : this.operation = Promise.resolve((0, nu.locateWindow)().msCrypto.subtle.digest("SHA-256")); } return e.prototype.update = function(t) { var n = this; - (0, _T.isEmptyData)(t) || (this.operation = this.operation.then(function(r) { + (0, fN.isEmptyData)(t) || (this.operation = this.operation.then(function(r) { return r.onerror = function() { n.operation = Promise.reject(new Error("Error encountered updating hash")); - }, r.process(mp(t)), r; + }, r.process(_g(t)), r; }), this.operation.catch(function() { })); }, e.prototype.digest = function() { @@ -15488,10 +14910,10 @@ var _T = Ss, yp = vc, kT = CT, hu = wc, zT = ( }, e; }() ); -Ki.Sha256 = zT; -function PT(e) { +Ki.Sha256 = hN; +function gN(e) { return new Promise(function(t, n) { - var r = (0, hu.locateWindow)().msCrypto.subtle.importKey("raw", mp(e), yp.SHA_256_HMAC_ALGO, !1, ["sign"]); + var r = (0, nu.locateWindow)().msCrypto.subtle.importKey("raw", _g(e), Lg.SHA_256_HMAC_ALGO, !1, ["sign"]); r.oncomplete = function() { r.result && t(r.result), n(new Error("ImportKey completed without importing key.")); }, r.onerror = function() { @@ -15499,46 +14921,46 @@ function PT(e) { }; }); } -function mp(e) { - return typeof e == "string" ? (0, kT.fromUtf8)(e) : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength / Uint8Array.BYTES_PER_ELEMENT) : new Uint8Array(e); +function _g(e) { + return typeof e == "string" ? (0, dN.fromUtf8)(e) : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength / Uint8Array.BYTES_PER_ELEMENT) : new Uint8Array(e); } var Gi = {}; Object.defineProperty(Gi, "__esModule", { value: !0 }); Gi.Sha256 = void 0; -var co = yc, lo = vc, ra = wc, RT = ( +var uo = nc, co = ic, Zs = oc, pN = ( /** @class */ function() { function e(t) { this.toHash = new Uint8Array(0), t !== void 0 && (this.key = new Promise(function(n, r) { - (0, ra.locateWindow)().crypto.subtle.importKey("raw", (0, co.convertToBuffer)(t), lo.SHA_256_HMAC_ALGO, !1, ["sign"]).then(n, r); + (0, Zs.locateWindow)().crypto.subtle.importKey("raw", (0, uo.convertToBuffer)(t), co.SHA_256_HMAC_ALGO, !1, ["sign"]).then(n, r); }), this.key.catch(function() { })); } return e.prototype.update = function(t) { - if (!(0, co.isEmptyData)(t)) { - var n = (0, co.convertToBuffer)(t), r = new Uint8Array(this.toHash.byteLength + n.byteLength); + if (!(0, uo.isEmptyData)(t)) { + var n = (0, uo.convertToBuffer)(t), r = new Uint8Array(this.toHash.byteLength + n.byteLength); r.set(this.toHash, 0), r.set(n, this.toHash.byteLength), this.toHash = r; } }, e.prototype.digest = function() { var t = this; return this.key ? this.key.then(function(n) { - return (0, ra.locateWindow)().crypto.subtle.sign(lo.SHA_256_HMAC_ALGO, n, t.toHash).then(function(r) { + return (0, Zs.locateWindow)().crypto.subtle.sign(co.SHA_256_HMAC_ALGO, n, t.toHash).then(function(r) { return new Uint8Array(r); }); - }) : (0, co.isEmptyData)(this.toHash) ? Promise.resolve(lo.EMPTY_DATA_SHA_256) : Promise.resolve().then(function() { - return (0, ra.locateWindow)().crypto.subtle.digest(lo.SHA_256_HASH, t.toHash); + }) : (0, uo.isEmptyData)(this.toHash) ? Promise.resolve(co.EMPTY_DATA_SHA_256) : Promise.resolve().then(function() { + return (0, Zs.locateWindow)().crypto.subtle.digest(co.SHA_256_HASH, t.toHash); }).then(function(n) { return Promise.resolve(new Uint8Array(n)); }); }, e; }() ); -Gi.Sha256 = RT; -var vp = {}, Ut = {}, Lf; -function UT() { - if (Lf) +Gi.Sha256 = pN; +var kg = {}, Ut = {}, af; +function MN() { + if (af) return Ut; - Lf = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.supportsZeroByteGCM = Ut.supportsSubtleCrypto = Ut.supportsSecureRandom = Ut.supportsWebCrypto = void 0; + af = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.supportsZeroByteGCM = Ut.supportsSubtleCrypto = Ut.supportsSecureRandom = Ut.supportsWebCrypto = void 0; var e = ue, t = [ "decrypt", "digest", @@ -15607,29 +15029,29 @@ function UT() { (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }); var t = ue; - t.__exportStar(UT(), e); -})(vp); -var wp = {}, ia = {}, _f; -function FT() { - return _f || (_f = 1, Object.defineProperty(ia, "__esModule", { value: !0 })), ia; -} -var oa = {}, kf; -function YT() { - return kf || (kf = 1, Object.defineProperty(oa, "__esModule", { value: !0 })), oa; -} -var sa = {}, zf; -function BT() { - return zf || (zf = 1, Object.defineProperty(sa, "__esModule", { value: !0 })), sa; -} -var aa = {}, Pf; -function QT() { - return Pf || (Pf = 1, Object.defineProperty(aa, "__esModule", { value: !0 })), aa; -} -var ii = {}, Rf; -function $T() { - if (Rf) - return ii; - Rf = 1, Object.defineProperty(ii, "__esModule", { value: !0 }), ii.isMsWindow = void 0; + t.__exportStar(MN(), e); +})(kg); +var zg = {}, Xs = {}, uf; +function yN() { + return uf || (uf = 1, Object.defineProperty(Xs, "__esModule", { value: !0 })), Xs; +} +var ea = {}, cf; +function mN() { + return cf || (cf = 1, Object.defineProperty(ea, "__esModule", { value: !0 })), ea; +} +var ta = {}, lf; +function vN() { + return lf || (lf = 1, Object.defineProperty(ta, "__esModule", { value: !0 })), ta; +} +var na = {}, ff; +function wN() { + return ff || (ff = 1, Object.defineProperty(na, "__esModule", { value: !0 })), na; +} +var ri = {}, df; +function DN() { + if (df) + return ri; + df = 1, Object.defineProperty(ri, "__esModule", { value: !0 }), ri.isMsWindow = void 0; var e = [ "decrypt", "digest", @@ -15654,20 +15076,20 @@ function $T() { } return !1; } - return ii.isMsWindow = n, ii; + return ri.isMsWindow = n, ri; } (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }); var t = ue; - t.__exportStar(FT(), e), t.__exportStar(YT(), e), t.__exportStar(BT(), e), t.__exportStar(QT(), e), t.__exportStar($T(), e); -})(wp); -Object.defineProperty(js, "__esModule", { value: !0 }); -js.Sha256 = void 0; -var WT = Ki, VT = Gi, HT = bn, qT = vp, KT = wp, Uf = wc, GT = ( + t.__exportStar(yN(), e), t.__exportStar(mN(), e), t.__exportStar(vN(), e), t.__exportStar(wN(), e), t.__exportStar(DN(), e); +})(zg); +Object.defineProperty(Is, "__esModule", { value: !0 }); +Is.Sha256 = void 0; +var AN = Ki, EN = Gi, IN = jn, NN = kg, TN = zg, hf = oc, jN = ( /** @class */ function() { function e(t) { - (0, qT.supportsWebCrypto)((0, Uf.locateWindow)()) ? this.hash = new VT.Sha256(t) : (0, KT.isMsWindow)((0, Uf.locateWindow)()) ? this.hash = new WT.Sha256(t) : this.hash = new HT.Sha256(t); + (0, NN.supportsWebCrypto)((0, hf.locateWindow)()) ? this.hash = new EN.Sha256(t) : (0, TN.isMsWindow)((0, hf.locateWindow)()) ? this.hash = new AN.Sha256(t) : this.hash = new IN.Sha256(t); } return e.prototype.update = function(t, n) { this.hash.update(t, n); @@ -15676,11 +15098,11 @@ var WT = Ki, VT = Gi, HT = bn, qT = vp, KT = wp, Uf = wc, GT = ( }, e; }() ); -js.Sha256 = GT; +Is.Sha256 = jN; (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.WebCryptoSha256 = e.Ie11Sha256 = void 0; var t = ue; - (0, t.__exportStar)(js, e); + (0, t.__exportStar)(Is, e); var n = Ki; Object.defineProperty(e, "Ie11Sha256", { enumerable: !0, get: function() { return n.Sha256; @@ -15689,8 +15111,8 @@ js.Sha256 = GT; Object.defineProperty(e, "WebCryptoSha256", { enumerable: !0, get: function() { return r.Sha256; } }); -})(gp); -var Ff = ( +})(Cg); +var gf = ( /** @class */ function() { function e(t) { @@ -15703,7 +15125,7 @@ var Ff = ( return typeof n.statusCode == "number" && typeof n.headers == "object"; }, e; }() -), Ur = ( +), Rr = ( /** @class */ function() { function e(t) { @@ -15716,32 +15138,32 @@ var Ff = ( return "method" in n && "protocol" in n && "hostname" in n && "path" in n && typeof n.query == "object" && typeof n.headers == "object"; }, e.prototype.clone = function() { var t = new e(we(we({}, this), { headers: we({}, this.headers) })); - return t.query && (t.query = JT(t.query)), t; + return t.query && (t.query = SN(t.query)), t; }, e; }() ); -function JT(e) { +function SN(e) { return Object.keys(e).reduce(function(t, n) { var r, i = e[n]; - return we(we({}, t), (r = {}, r[n] = Array.isArray(i) ? ut(i) : i, r)); + return we(we({}, t), (r = {}, r[n] = Array.isArray(i) ? at(i) : i, r)); }, {}); } -var Zn = function(e) { - return encodeURIComponent(e).replace(/[!'()*]/g, ZT); -}, ZT = function(e) { +var Gn = function(e) { + return encodeURIComponent(e).replace(/[!'()*]/g, bN); +}, bN = function(e) { return "%" + e.charCodeAt(0).toString(16).toUpperCase(); }; -function XT(e) { +function CN(e) { var t, n, r = []; try { for (var i = Rt(Object.keys(e).sort()), o = i.next(); !o.done; o = i.next()) { var s = o.value, a = e[s]; - if (s = Zn(s), Array.isArray(a)) + if (s = Gn(s), Array.isArray(a)) for (var u = 0, c = a.length; u < c; u++) - r.push(s + "=" + Zn(a[u])); + r.push(s + "=" + Gn(a[u])); else { var l = s; - (a || typeof a == "string") && (l += "=" + Zn(a)), r.push(l); + (a || typeof a == "string") && (l += "=" + Gn(a)), r.push(l); } } } catch (f) { @@ -15756,7 +15178,7 @@ function XT(e) { } return r.join("&"); } -function ej(e) { +function xN(e) { return e === void 0 && (e = 0), new Promise(function(t, n) { e && setTimeout(function() { var r = new Error("Request did not complete within " + e + " ms"); @@ -15764,7 +15186,7 @@ function ej(e) { }, e); }); } -var tj = ( +var ON = ( /** @class */ function() { function e(t) { @@ -15780,7 +15202,7 @@ var tj = ( } var a = t.path; if (t.query) { - var u = XT(t.query); + var u = CN(t.query); u && (a += "?" + u); } var c = t.port, l = t.method, f = t.protocol + "//" + t.hostname + (c ? ":" + c : "") + a, d = l === "GET" || l === "HEAD" ? void 0 : t.body, g = { @@ -15791,40 +15213,40 @@ var tj = ( typeof AbortController < "u" && (g.signal = i); var h = new Request(f, g), p = [ fetch(h).then(function(m) { - var v, w, j = m.headers, N = {}; + var v, w, j = m.headers, I = {}; try { - for (var I = Rt(j.entries()), B = I.next(); !B.done; B = I.next()) { - var z = B.value; - N[z[0]] = z[1]; + for (var N = Rt(j.entries()), Q = N.next(); !Q.done; Q = N.next()) { + var z = Q.value; + I[z[0]] = z[1]; } - } catch ($) { - v = { error: $ }; + } catch (W) { + v = { error: W }; } finally { try { - B && !B.done && (w = I.return) && w.call(I); + Q && !Q.done && (w = N.return) && w.call(N); } finally { if (v) throw v.error; } } - var W = m.body !== void 0; - return W ? { - response: new Ff({ - headers: N, + var H = m.body !== void 0; + return H ? { + response: new gf({ + headers: I, statusCode: m.status, body: m.body }) - } : m.blob().then(function($) { + } : m.blob().then(function(W) { return { - response: new Ff({ - headers: N, + response: new gf({ + headers: I, statusCode: m.status, - body: $ + body: W }) }; }); }), - ej(o) + xN(o) ]; return i && p.push(new Promise(function(m, v) { i.onabort = function() { @@ -15834,71 +15256,71 @@ var tj = ( })), Promise.race(p); }, e; }() -), ur = {}, Vr = new Array(64); -for (var ft = 0, zi = "A".charCodeAt(0), Dc = "Z".charCodeAt(0); ft + zi <= Dc; ft++) { - var xn = String.fromCharCode(ft + zi); - ur[xn] = ft, Vr[ft] = xn; +), sr = {}, Wr = new Array(64); +for (var ft = 0, ki = "A".charCodeAt(0), sc = "Z".charCodeAt(0); ft + ki <= sc; ft++) { + var bn = String.fromCharCode(ft + ki); + sr[bn] = ft, Wr[ft] = bn; } -for (var ft = 0, zi = "a".charCodeAt(0), Dc = "z".charCodeAt(0); ft + zi <= Dc; ft++) { - var xn = String.fromCharCode(ft + zi), Pi = ft + 26; - ur[xn] = Pi, Vr[Pi] = xn; +for (var ft = 0, ki = "a".charCodeAt(0), sc = "z".charCodeAt(0); ft + ki <= sc; ft++) { + var bn = String.fromCharCode(ft + ki), zi = ft + 26; + sr[bn] = zi, Wr[zi] = bn; } for (var ft = 0; ft < 10; ft++) { - ur[ft.toString(10)] = ft + 52; - var xn = ft.toString(10), Pi = ft + 52; - ur[xn] = Pi, Vr[Pi] = xn; -} -ur["+"] = 62; -Vr[62] = "+"; -ur["/"] = 63; -Vr[63] = "/"; -var Or = 6, wi = 8, nj = 63; -function Dp(e) { + sr[ft.toString(10)] = ft + 52; + var bn = ft.toString(10), zi = ft + 52; + sr[bn] = zi, Wr[zi] = bn; +} +sr["+"] = 62; +Wr[62] = "+"; +sr["/"] = 63; +Wr[63] = "/"; +var Or = 6, vi = 8, LN = 63; +function Pg(e) { var t = e.length / 4 * 3; e.substr(-2) === "==" ? t -= 2 : e.substr(-1) === "=" && t--; for (var n = new ArrayBuffer(t), r = new DataView(n), i = 0; i < e.length; i += 4) { for (var o = 0, s = 0, a = i, u = i + 3; a <= u; a++) - e[a] !== "=" ? (o |= ur[e[a]] << (u - a) * Or, s += Or) : o >>= Or; + e[a] !== "=" ? (o |= sr[e[a]] << (u - a) * Or, s += Or) : o >>= Or; var c = i / 4 * 3; - o >>= s % wi; - for (var l = Math.floor(s / wi), f = 0; f < l; f++) { - var d = (l - f - 1) * wi; + o >>= s % vi; + for (var l = Math.floor(s / vi), f = 0; f < l; f++) { + var d = (l - f - 1) * vi; r.setUint8(c + f, (o & 255 << d) >> d); } } return new Uint8Array(n); } -function rj(e) { +function _N(e) { for (var t = "", n = 0; n < e.length; n += 3) { for (var r = 0, i = 0, o = n, s = Math.min(n + 3, e.length); o < s; o++) - r |= e[o] << (s - o - 1) * wi, i += wi; + r |= e[o] << (s - o - 1) * vi, i += vi; var a = Math.ceil(i / Or); r <<= a * Or - i; for (var u = 1; u <= a; u++) { var c = (a - u) * Or; - t += Vr[(r & nj << c) >> c]; + t += Wr[(r & LN << c) >> c]; } t += "==".slice(0, 4 - a); } return t; } -var ij = function(e) { - return typeof Blob == "function" && e instanceof Blob ? oj(e) : sj(e); +var kN = function(e) { + return typeof Blob == "function" && e instanceof Blob ? zN(e) : PN(e); }; -function oj(e) { +function zN(e) { return Ne(this, void 0, void 0, function() { var t, n; return Ee(this, function(r) { switch (r.label) { case 0: - return [4, aj(e)]; + return [4, RN(e)]; case 1: - return t = r.sent(), n = Dp(t), [2, new Uint8Array(n)]; + return t = r.sent(), n = Pg(t), [2, new Uint8Array(n)]; } }); }); } -function sj(e) { +function PN(e) { return Ne(this, void 0, void 0, function() { var t, n, r, i, o, s, a; return Ee(this, function(u) { @@ -15915,7 +15337,7 @@ function sj(e) { }); }); } -function aj(e) { +function RN(e) { return new Promise(function(t, n) { var r = new FileReader(); r.onloadend = function() { @@ -15931,41 +15353,41 @@ function aj(e) { }, r.readAsDataURL(e); }); } -var uj = function(e) { +var UN = function(e) { return function() { return Promise.reject(e); }; -}, cj = function(e) { +}, FN = function(e) { return function(t, n) { return function(r) { return Ne(void 0, void 0, void 0, function() { var i; return Ee(this, function(o) { - return !((i = e == null ? void 0 : e.retryStrategy) === null || i === void 0) && i.mode && (n.userAgent = ut(n.userAgent || [], [["cfg/retry-mode", e.retryStrategy.mode]])), [2, e.retryStrategy.retry(t, r)]; + return !((i = e == null ? void 0 : e.retryStrategy) === null || i === void 0) && i.mode && (n.userAgent = at(n.userAgent || [], [["cfg/retry-mode", e.retryStrategy.mode]])), [2, e.retryStrategy.retry(t, r)]; }); }); }; }; -}, lj = { +}, YN = { name: "retryMiddleware", tags: ["RETRY"], step: "finalizeRequest", priority: "high", override: !0 -}, fj = function(e) { +}, QN = function(e) { return { applyToStack: function(t) { - t.add(cj(e), lj); + t.add(FN(e), YN); } }; -}, dj = 100, hj = 20 * 1e3, gj = 500, pj = 500, Mj = 5, yj = 10, mj = 1, vj = "amz-sdk-invocation-id", wj = "amz-sdk-request", Dj = [ +}, BN = 100, $N = 20 * 1e3, WN = 500, VN = 500, HN = 5, qN = 10, KN = 1, GN = "amz-sdk-invocation-id", JN = "amz-sdk-request", ZN = [ "AuthFailure", "InvalidSignatureException", "RequestExpired", "RequestInTheFuture", "RequestTimeTooSkewed", "SignatureDoesNotMatch" -], Aj = [ +], XN = [ "BandwidthLimitExceeded", "EC2ThrottledException", "LimitExceededException", @@ -15980,42 +15402,42 @@ var uj = function(e) { "ThrottlingException", "TooManyRequestsException", "TransactionInProgressException" -], Ej = ["AbortError", "TimeoutError", "RequestTimeout", "RequestTimeoutException"], Ij = [500, 502, 503, 504], Nj = function(e) { +], eT = ["AbortError", "TimeoutError", "RequestTimeout", "RequestTimeoutException"], tT = [500, 502, 503, 504], nT = function(e) { return e.$retryable !== void 0; -}, Tj = function(e) { - return Dj.includes(e.name); -}, Ap = function(e) { +}, rT = function(e) { + return ZN.includes(e.name); +}, Rg = function(e) { var t, n; - return ((t = e.$metadata) === null || t === void 0 ? void 0 : t.httpStatusCode) === 429 || Aj.includes(e.name) || ((n = e.$retryable) === null || n === void 0 ? void 0 : n.throttling) == !0; -}, jj = function(e) { + return ((t = e.$metadata) === null || t === void 0 ? void 0 : t.httpStatusCode) === 429 || XN.includes(e.name) || ((n = e.$retryable) === null || n === void 0 ? void 0 : n.throttling) == !0; +}, iT = function(e) { var t; - return Ej.includes(e.name) || Ij.includes(((t = e.$metadata) === null || t === void 0 ? void 0 : t.httpStatusCode) || 0); -}, Ho = {}, Yf = { + return eT.includes(e.name) || tT.includes(((t = e.$metadata) === null || t === void 0 ? void 0 : t.httpStatusCode) || 0); +}, Wo = {}, pf = { get exports() { - return Ho; + return Wo; }, set exports(e) { - Ho = e; + Wo = e; } -}, Bf = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof window.msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto); -if (Bf) { - var Qf = new Uint8Array(16); - Yf.exports = function() { - return Bf(Qf), Qf; +}, Mf = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof window.msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto); +if (Mf) { + var yf = new Uint8Array(16); + pf.exports = function() { + return Mf(yf), yf; }; } else { - var $f = new Array(16); - Yf.exports = function() { + var mf = new Array(16); + pf.exports = function() { for (var t = 0, n; t < 16; t++) - t & 3 || (n = Math.random() * 4294967296), $f[t] = n >>> ((t & 3) << 3) & 255; - return $f; + t & 3 || (n = Math.random() * 4294967296), mf[t] = n >>> ((t & 3) << 3) & 255; + return mf; }; } -var Ep = []; -for (var fo = 0; fo < 256; ++fo) - Ep[fo] = (fo + 256).toString(16).substr(1); -function Sj(e, t) { - var n = t || 0, r = Ep; +var Ug = []; +for (var lo = 0; lo < 256; ++lo) + Ug[lo] = (lo + 256).toString(16).substr(1); +function oT(e, t) { + var n = t || 0, r = Ug; return [ r[e[n++]], r[e[n++]], @@ -16039,50 +15461,50 @@ function Sj(e, t) { r[e[n++]] ].join(""); } -var Ip = Sj, bj = Ho, Cj = Ip, Wf, ua, ca = 0, la = 0; -function xj(e, t, n) { +var Fg = oT, sT = Wo, aT = Fg, vf, ra, ia = 0, oa = 0; +function uT(e, t, n) { var r = t && n || 0, i = t || []; e = e || {}; - var o = e.node || Wf, s = e.clockseq !== void 0 ? e.clockseq : ua; + var o = e.node || vf, s = e.clockseq !== void 0 ? e.clockseq : ra; if (o == null || s == null) { - var a = bj(); - o == null && (o = Wf = [ + var a = sT(); + o == null && (o = vf = [ a[0] | 1, a[1], a[2], a[3], a[4], a[5] - ]), s == null && (s = ua = (a[6] << 8 | a[7]) & 16383); + ]), s == null && (s = ra = (a[6] << 8 | a[7]) & 16383); } - var u = e.msecs !== void 0 ? e.msecs : (/* @__PURE__ */ new Date()).getTime(), c = e.nsecs !== void 0 ? e.nsecs : la + 1, l = u - ca + (c - la) / 1e4; - if (l < 0 && e.clockseq === void 0 && (s = s + 1 & 16383), (l < 0 || u > ca) && e.nsecs === void 0 && (c = 0), c >= 1e4) + var u = e.msecs !== void 0 ? e.msecs : (/* @__PURE__ */ new Date()).getTime(), c = e.nsecs !== void 0 ? e.nsecs : oa + 1, l = u - ia + (c - oa) / 1e4; + if (l < 0 && e.clockseq === void 0 && (s = s + 1 & 16383), (l < 0 || u > ia) && e.nsecs === void 0 && (c = 0), c >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - ca = u, la = c, ua = s, u += 122192928e5; + ia = u, oa = c, ra = s, u += 122192928e5; var f = ((u & 268435455) * 1e4 + c) % 4294967296; i[r++] = f >>> 24 & 255, i[r++] = f >>> 16 & 255, i[r++] = f >>> 8 & 255, i[r++] = f & 255; var d = u / 4294967296 * 1e4 & 268435455; i[r++] = d >>> 8 & 255, i[r++] = d & 255, i[r++] = d >>> 24 & 15 | 16, i[r++] = d >>> 16 & 255, i[r++] = s >>> 8 | 128, i[r++] = s & 255; for (var g = 0; g < 6; ++g) i[r + g] = o[g]; - return t || Cj(i); + return t || aT(i); } -var Oj = xj, Lj = Ho, _j = Ip; -function kj(e, t, n) { +var cT = uT, lT = Wo, fT = Fg; +function dT(e, t, n) { var r = t && n || 0; typeof e == "string" && (t = e === "binary" ? new Array(16) : null, e = null), e = e || {}; - var i = e.random || (e.rng || Lj)(); + var i = e.random || (e.rng || lT)(); if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, t) for (var o = 0; o < 16; ++o) t[r + o] = i[o]; - return t || _j(i); + return t || fT(i); } -var zj = kj, Pj = Oj, Np = zj, Ac = Np; -Ac.v1 = Pj; -Ac.v4 = Np; -var Rj = Ac, Uj = function(e) { +var hT = dT, gT = cT, Yg = hT, ac = Yg; +ac.v1 = gT; +ac.v4 = Yg; +var pT = ac, MT = function(e) { var t = e, n = e, r = function(a) { - return a.name === "TimeoutError" ? yj : Mj; + return a.name === "TimeoutError" ? qN : HN; }, i = function(a) { return r(a) <= n; }, o = function(a) { @@ -16091,23 +15513,23 @@ var Rj = Ac, Uj = function(e) { var u = r(a); return n -= u, u; }, s = function(a) { - n += a ?? mj, n = Math.min(n, t); + n += a ?? KN, n = Math.min(n, t); }; return Object.freeze({ hasRetryTokens: i, retrieveRetryTokens: o, releaseRetryTokens: s }); -}, Fj = function(e, t) { - return Math.floor(Math.min(hj, Math.random() * Math.pow(2, t) * e)); -}, Yj = function(e) { - return e ? Nj(e) || Tj(e) || Ap(e) || jj(e) : !1; -}, Ec = 3, Bj = "standard", Qj = ( +}, yT = function(e, t) { + return Math.floor(Math.min($N, Math.random() * Math.pow(2, t) * e)); +}, mT = function(e) { + return e ? nT(e) || rT(e) || Rg(e) || iT(e) : !1; +}, uc = 3, vT = "standard", wT = ( /** @class */ function() { function e(t, n) { var r, i, o; - this.maxAttemptsProvider = t, this.mode = Bj, this.retryDecider = (r = n == null ? void 0 : n.retryDecider) !== null && r !== void 0 ? r : Yj, this.delayDecider = (i = n == null ? void 0 : n.delayDecider) !== null && i !== void 0 ? i : Fj, this.retryQuota = (o = n == null ? void 0 : n.retryQuota) !== null && o !== void 0 ? o : Uj(pj); + this.maxAttemptsProvider = t, this.mode = vT, this.retryDecider = (r = n == null ? void 0 : n.retryDecider) !== null && r !== void 0 ? r : mT, this.delayDecider = (i = n == null ? void 0 : n.delayDecider) !== null && i !== void 0 ? i : yT, this.retryQuota = (o = n == null ? void 0 : n.retryQuota) !== null && o !== void 0 ? o : MT(VN); } return e.prototype.shouldRetry = function(t, n, r) { return n < r && this.retryDecider(t) && this.retryQuota.hasRetryTokens(t); @@ -16121,7 +15543,7 @@ var Rj = Ac, Uj = function(e) { case 1: return t = n.sent(), [3, 3]; case 2: - return n.sent(), t = Ec, [3, 3]; + return n.sent(), t = uc, [3, 3]; case 3: return [2, t]; } @@ -16135,16 +15557,16 @@ var Rj = Ac, Uj = function(e) { case 0: return i = 0, o = 0, [4, this.getMaxAttempts()]; case 1: - s = f.sent(), a = n.request, Ur.isInstance(a) && (a.headers[vj] = Rj.v4()), u = function() { + s = f.sent(), a = n.request, Rr.isInstance(a) && (a.headers[GN] = pT.v4()), u = function() { var d, g, h, p, m; return Ee(this, function(v) { switch (v.label) { case 0: - return v.trys.push([0, 2, , 5]), Ur.isInstance(a) && (a.headers[wj] = "attempt=" + (i + 1) + "; max=" + s), [4, t(n)]; + return v.trys.push([0, 2, , 5]), Rr.isInstance(a) && (a.headers[JN] = "attempt=" + (i + 1) + "; max=" + s), [4, t(n)]; case 1: return d = v.sent(), g = d.response, h = d.output, c.retryQuota.releaseRetryTokens(r), h.$metadata.attempts = i + 1, h.$metadata.totalRetryDelay = o, [2, { value: { response: g, output: h } }]; case 2: - return p = v.sent(), i++, c.shouldRetry(p, i, s) ? (r = c.retryQuota.retrieveRetryTokens(p), m = c.delayDecider(Ap(p) ? gj : dj, i), o += m, [4, new Promise(function(w) { + return p = v.sent(), i++, c.shouldRetry(p, i, s) ? (r = c.retryQuota.retrieveRetryTokens(p), m = c.delayDecider(Rg(p) ? WN : BN, i), o += m, [4, new Promise(function(w) { return setTimeout(w, m); })]) : [3, 4]; case 3: @@ -16173,11 +15595,11 @@ var Rj = Ac, Uj = function(e) { }); }, e; }() -), $j = function(e) { - var t = Wj(e.maxAttempts); - return we(we({}, e), { maxAttempts: t, retryStrategy: e.retryStrategy || new Qj(t) }); -}, Wj = function(e) { - if (e === void 0 && (e = Ec), typeof e == "number") { +), DT = function(e) { + var t = AT(e.maxAttempts); + return we(we({}, e), { maxAttempts: t, retryStrategy: e.retryStrategy || new wT(t) }); +}, AT = function(e) { + if (e === void 0 && (e = uc), typeof e == "number") { var t = Promise.resolve(e); return function() { return t; @@ -16185,7 +15607,7 @@ var Rj = Ac, Uj = function(e) { } return e; }; -function Vj(e) { +function ET(e) { if (typeof e == "string") { for (var t = e.length, n = t - 1; n >= 0; n--) { var r = e.charCodeAt(n); @@ -16199,7 +15621,7 @@ function Vj(e) { return e.size; } } -const Hj = { +const IT = { "Amazon Silk": "amazon_silk", "Android Browser": "android", Bada: "bada", @@ -16239,7 +15661,7 @@ const Hj = { WeChat: "wechat", "Yandex Browser": "yandex", Roku: "roku" -}, Tp = { +}, Qg = { amazon_silk: "Amazon Silk", android: "Android Browser", bada: "Bada", @@ -16278,7 +15700,7 @@ const Hj = { webos: "WebOS Browser", wechat: "WeChat", yandex: "Yandex Browser" -}, rt = { +}, nt = { tablet: "tablet", mobile: "mobile", desktop: "desktop", @@ -16297,7 +15719,7 @@ const Hj = { ChromeOS: "Chrome OS", PlayStation4: "PlayStation 4", Roku: "Roku" -}, vn = { +}, mn = { EdgeHTML: "EdgeHTML", Blink: "Blink", Trident: "Trident", @@ -16580,7 +16002,7 @@ class se { * @return {string} */ static getBrowserAlias(t) { - return Hj[t]; + return IT[t]; } /** * Get short version/alias for a browser name @@ -16592,10 +16014,10 @@ class se { * @return {string} */ static getBrowserTypeByAlias(t) { - return Tp[t] || ""; + return Qg[t] || ""; } } -const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ +const qe = /version\/(\d+(\.?_?\d+)+)/i, NT = [ /* Googlebot */ { test: [/googlebot/i], @@ -16994,7 +16416,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }; } } -], Kj = [ +], TT = [ /* Roku */ { test: [/Roku\/DVP/], @@ -17147,7 +16569,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }; } } -], Gj = [ +], jT = [ /* Googlebot */ { test: [/googlebot/i], @@ -17163,7 +16585,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/huawei/i], describe(e) { const t = se.getFirstMatch(/(can-l01)/i, e) && "Nova", n = { - type: rt.mobile, + type: nt.mobile, vendor: "Huawei" }; return t && (n.model = t), n; @@ -17174,7 +16596,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/nexus\s*(?:7|8|9|10).*/i], describe() { return { - type: rt.tablet, + type: nt.tablet, vendor: "Nexus" }; } @@ -17184,7 +16606,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/ipad/i], describe() { return { - type: rt.tablet, + type: nt.tablet, vendor: "Apple", model: "iPad" }; @@ -17195,7 +16617,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/Macintosh(.*?) FxiOS(.*?)\//], describe() { return { - type: rt.tablet, + type: nt.tablet, vendor: "Apple", model: "iPad" }; @@ -17206,7 +16628,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/kftt build/i], describe() { return { - type: rt.tablet, + type: nt.tablet, vendor: "Amazon", model: "Kindle Fire HD 7" }; @@ -17217,7 +16639,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/silk/i], describe() { return { - type: rt.tablet, + type: nt.tablet, vendor: "Amazon" }; } @@ -17227,7 +16649,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/tablet(?! pc)/i], describe() { return { - type: rt.tablet + type: nt.tablet }; } }, @@ -17240,7 +16662,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ describe(e) { const t = se.getFirstMatch(/(ipod|iphone)/i, e); return { - type: rt.mobile, + type: nt.mobile, vendor: "Apple", model: t }; @@ -17251,7 +16673,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], describe() { return { - type: rt.mobile, + type: nt.mobile, vendor: "Nexus" }; } @@ -17261,7 +16683,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/[^-]mobi/i], describe() { return { - type: rt.mobile + type: nt.mobile }; } }, @@ -17272,7 +16694,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.mobile, + type: nt.mobile, vendor: "BlackBerry" }; } @@ -17284,7 +16706,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.mobile + type: nt.mobile }; } }, @@ -17295,7 +16717,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.mobile, + type: nt.mobile, vendor: "Microsoft" }; } @@ -17308,7 +16730,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.tablet + type: nt.tablet }; } }, @@ -17319,7 +16741,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.mobile + type: nt.mobile }; } }, @@ -17330,7 +16752,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.desktop, + type: nt.desktop, vendor: "Apple" }; } @@ -17342,7 +16764,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.desktop + type: nt.desktop }; } }, @@ -17353,7 +16775,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.desktop + type: nt.desktop }; } }, @@ -17364,7 +16786,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.tv + type: nt.tv }; } }, @@ -17375,11 +16797,11 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe() { return { - type: rt.tv + type: nt.tv }; } } -], Jj = [ +], ST = [ /* EdgeHTML */ { test(e) { @@ -17388,11 +16810,11 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ describe(e) { if (/\sedg\//i.test(e)) return { - name: vn.Blink + name: mn.Blink }; const n = se.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e); return { - name: vn.EdgeHTML, + name: mn.EdgeHTML, version: n }; } @@ -17402,7 +16824,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/trident/i], describe(e) { const t = { - name: vn.Trident + name: mn.Trident }, n = se.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } @@ -17414,7 +16836,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe(e) { const t = { - name: vn.Presto + name: mn.Presto }, n = se.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } @@ -17427,7 +16849,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ }, describe(e) { const t = { - name: vn.Gecko + name: mn.Gecko }, n = se.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } @@ -17437,7 +16859,7 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/(apple)?webkit\/537\.36/i], describe() { return { - name: vn.Blink + name: mn.Blink }; } }, @@ -17446,13 +16868,13 @@ const qe = /version\/(\d+(\.?_?\d+)+)/i, qj = [ test: [/(apple)?webkit/i], describe(e) { const t = { - name: vn.WebKit + name: mn.WebKit }, n = se.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } } ]; -class Vf { +class wf { /** * Create instance of Parser * @@ -17493,7 +16915,7 @@ class Vf { */ parseBrowser() { this.parsedResult.browser = {}; - const t = se.find(qj, (n) => { + const t = se.find(NT, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) @@ -17549,7 +16971,7 @@ class Vf { */ parseOS() { this.parsedResult.os = {}; - const t = se.find(Kj, (n) => { + const t = se.find(TT, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) @@ -17596,7 +17018,7 @@ class Vf { */ parsePlatform() { this.parsedResult.platform = {}; - const t = se.find(Gj, (n) => { + const t = se.find(jT, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) @@ -17627,7 +17049,7 @@ class Vf { */ parseEngine() { this.parsedResult.engine = {}; - const t = se.find(Jj, (n) => { + const t = se.find(ST, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) @@ -17753,7 +17175,7 @@ class Vf { * MIT License | (c) Dustin Diaz 2012-2015 * MIT License | (c) Denis Demchenko 2015-2019 */ -class Zj { +class bT { /** * Creates a {@link Parser} instance * @@ -17770,7 +17192,7 @@ class Zj { static getParser(t, n = !1) { if (typeof t != "string") throw new Error("UserAgent should be a string"); - return new Vf(t, n); + return new wf(t, n); } /** * Creates a {@link Parser} instance and runs {@link Parser.getResult} immediately @@ -17782,28 +17204,28 @@ class Zj { * const result = Bowser.parse(window.navigator.userAgent); */ static parse(t) { - return new Vf(t).getResult(); + return new wf(t).getResult(); } static get BROWSER_MAP() { - return Tp; + return Qg; } static get ENGINE_MAP() { - return vn; + return mn; } static get OS_MAP() { return mt; } static get PLATFORMS_MAP() { - return rt; + return nt; } } -var Xj = function(e) { +var CT = function(e) { var t = e.serviceId, n = e.clientVersion; return function() { return Ne(void 0, void 0, void 0, function() { var r, i, o, s, a, u, c, l, f; return Ee(this, function(d) { - return r = !((o = window == null ? void 0 : window.navigator) === null || o === void 0) && o.userAgent ? Zj.parse(window.navigator.userAgent) : void 0, i = [ + return r = !((o = window == null ? void 0 : window.navigator) === null || o === void 0) && o.userAgent ? bT.parse(window.navigator.userAgent) : void 0, i = [ // sdk-metadata ["aws-sdk-js", n], // os-metadata @@ -17818,7 +17240,7 @@ var Xj = function(e) { }); }; }; -function eS(e) { +function xT(e) { var t, n, r = {}; if (e = e.replace(/^\?/, ""), e) try { @@ -17838,21 +17260,21 @@ function eS(e) { } return r; } -var tS = function(e) { +var OT = function(e) { var t = new URL(e), n = t.hostname, r = t.pathname, i = t.port, o = t.protocol, s = t.search, a; - return s && (a = eS(s)), { + return s && (a = xT(s)), { hostname: n, port: i ? parseInt(i) : void 0, protocol: o, path: r, query: a }; -}, nS = function(e) { +}, LT = function(e) { var t; - return we(we({}, e), { tls: (t = e.tls) !== null && t !== void 0 ? t : !0, endpoint: e.endpoint ? rS(e) : function() { - return iS(e); + return we(we({}, e), { tls: (t = e.tls) !== null && t !== void 0 ? t : !0, endpoint: e.endpoint ? _T(e) : function() { + return kT(e); }, isCustomEndpoint: !!e.endpoint }); -}, rS = function(e) { +}, _T = function(e) { var t = e.endpoint, n = e.urlParser; if (typeof t == "string") { var r = Promise.resolve(n(t)); @@ -17866,7 +17288,7 @@ var tS = function(e) { }; } return t; -}, iS = function(e) { +}, kT = function(e) { return Ne(void 0, void 0, void 0, function() { var t, n, r, i, o, s; return Ee(this, function(a) { @@ -17884,11 +17306,11 @@ var tS = function(e) { } }); }); -}, oS = function(e) { +}, zT = function(e) { if (!e.region) throw new Error("Region is missing"); - return we(we({}, e), { region: sS(e.region) }); -}, sS = function(e) { + return we(we({}, e), { region: PT(e.region) }); +}, PT = function(e) { if (typeof e == "string") { var t = Promise.resolve(e); return function() { @@ -17896,58 +17318,58 @@ var tS = function(e) { }; } return e; -}, Hf = "content-length"; -function aS(e) { +}, Df = "content-length"; +function RT(e) { var t = this; return function(n) { return function(r) { return Ne(t, void 0, void 0, function() { var i, o, s, a, u; return Ee(this, function(c) { - return i = r.request, Ur.isInstance(i) && (o = i.body, s = i.headers, o && Object.keys(s).map(function(l) { + return i = r.request, Rr.isInstance(i) && (o = i.body, s = i.headers, o && Object.keys(s).map(function(l) { return l.toLowerCase(); - }).indexOf(Hf) === -1 && (a = e(o), a !== void 0 && (i.headers = we(we({}, i.headers), (u = {}, u[Hf] = String(a), u))))), [2, n(we(we({}, r), { request: i }))]; + }).indexOf(Df) === -1 && (a = e(o), a !== void 0 && (i.headers = we(we({}, i.headers), (u = {}, u[Df] = String(a), u))))), [2, n(we(we({}, r), { request: i }))]; }); }); }; }; } -var uS = { +var UT = { step: "build", tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], name: "contentLengthMiddleware", override: !0 -}, cS = function(e) { +}, FT = function(e) { return { applyToStack: function(t) { - t.add(aS(e.bodyLengthChecker), uS); + t.add(RT(e.bodyLengthChecker), UT); } }; }; -var lS = function(e) { +var YT = function(e) { return function(t) { return function(n) { return Ne(void 0, void 0, void 0, function() { var r, i, o; return Ee(this, function(s) { - return Ur.isInstance(n.request) ? (r = n.request, i = (e.requestHandler.metadata || {}).handlerProtocol, o = i === void 0 ? "" : i, o.indexOf("h2") >= 0 && !r.headers[":authority"] ? (delete r.headers.host, r.headers[":authority"] = "") : r.headers.host || (r.headers.host = r.hostname), [2, t(n)]) : [2, t(n)]; + return Rr.isInstance(n.request) ? (r = n.request, i = (e.requestHandler.metadata || {}).handlerProtocol, o = i === void 0 ? "" : i, o.indexOf("h2") >= 0 && !r.headers[":authority"] ? (delete r.headers.host, r.headers[":authority"] = "") : r.headers.host || (r.headers.host = r.hostname), [2, t(n)]) : [2, t(n)]; }); }); }; }; -}, fS = { +}, QT = { name: "hostHeaderMiddleware", step: "build", priority: "low", tags: ["HOST"], override: !0 -}, dS = function(e) { +}, BT = function(e) { return { applyToStack: function(t) { - t.add(lS(e), fS); + t.add(YT(e), QT); } }; -}, hS = function() { +}, $T = function() { return function(e, t) { return function(n) { return Ne(void 0, void 0, void 0, function() { @@ -17957,7 +17379,7 @@ var lS = function(e) { case 0: return r = t.clientName, i = t.commandName, o = t.inputFilterSensitiveLog, s = t.logger, a = t.outputFilterSensitiveLog, [4, e(n)]; case 1: - return u = d.sent(), s ? (typeof s.info == "function" && (c = u.output, l = c.$metadata, f = cp(c, ["$metadata"]), s.info({ + return u = d.sent(), s ? (typeof s.info == "function" && (c = u.output, l = c.$metadata, f = Ng(c, ["$metadata"]), s.info({ clientName: r, commandName: i, input: o(n.input), @@ -17969,18 +17391,18 @@ var lS = function(e) { }); }; }; -}, gS = { +}, WT = { name: "loggerMiddleware", tags: ["LOGGER"], step: "initialize", override: !0 -}, pS = function(e) { +}, VT = function(e) { return { applyToStack: function(t) { - t.add(hS(), gS); + t.add($T(), WT); } }; -}, MS = "X-Amz-Algorithm", yS = "X-Amz-Credential", jp = "X-Amz-Date", mS = "X-Amz-SignedHeaders", vS = "X-Amz-Expires", Sp = "X-Amz-Signature", bp = "X-Amz-Security-Token", Cp = "authorization", xp = jp.toLowerCase(), wS = "date", DS = [Cp, xp, wS], AS = Sp.toLowerCase(), gu = "x-amz-content-sha256", ES = bp.toLowerCase(), IS = { +}, HT = "X-Amz-Algorithm", qT = "X-Amz-Credential", Bg = "X-Amz-Date", KT = "X-Amz-SignedHeaders", GT = "X-Amz-Expires", $g = "X-Amz-Signature", Wg = "X-Amz-Security-Token", Vg = "authorization", Hg = Bg.toLowerCase(), JT = "date", ZT = [Vg, Hg, JT], XT = $g.toLowerCase(), ru = "x-amz-content-sha256", ej = Wg.toLowerCase(), tj = { authorization: !0, "cache-control": !0, connection: !0, @@ -17996,27 +17418,27 @@ var lS = function(e) { upgrade: !0, "user-agent": !0, "x-amzn-trace-id": !0 -}, NS = /^proxy-/, TS = /^sec-/, fa = "AWS4-HMAC-SHA256", jS = "AWS4-HMAC-SHA256-PAYLOAD", SS = "UNSIGNED-PAYLOAD", bS = 50, Op = "aws4_request", CS = 60 * 60 * 24 * 7, ho = {}, da = []; -function ha(e, t, n) { - return e + "/" + t + "/" + n + "/" + Op; +}, nj = /^proxy-/, rj = /^sec-/, sa = "AWS4-HMAC-SHA256", ij = "AWS4-HMAC-SHA256-PAYLOAD", oj = "UNSIGNED-PAYLOAD", sj = 50, qg = "aws4_request", aj = 60 * 60 * 24 * 7, fo = {}, aa = []; +function ua(e, t, n) { + return e + "/" + t + "/" + n + "/" + qg; } -var xS = function(e, t, n, r, i) { +var uj = function(e, t, n, r, i) { return Ne(void 0, void 0, void 0, function() { var o, s, a, u, c, l, f, d, g; return Ee(this, function(h) { switch (h.label) { case 0: - return [4, qf(e, t.secretAccessKey, t.accessKeyId)]; + return [4, Af(e, t.secretAccessKey, t.accessKeyId)]; case 1: - if (o = h.sent(), s = n + ":" + r + ":" + i + ":" + Sr(o) + ":" + t.sessionToken, s in ho) - return [2, ho[s]]; - for (da.push(s); da.length > bS; ) - delete ho[da.shift()]; + if (o = h.sent(), s = n + ":" + r + ":" + i + ":" + Sr(o) + ":" + t.sessionToken, s in fo) + return [2, fo[s]]; + for (aa.push(s); aa.length > sj; ) + delete fo[aa.shift()]; a = "AWS4" + t.secretAccessKey, h.label = 2; case 2: - h.trys.push([2, 7, 8, 9]), u = Rt([n, r, i, Op]), c = u.next(), h.label = 3; + h.trys.push([2, 7, 8, 9]), u = Rt([n, r, i, qg]), c = u.next(), h.label = 3; case 3: - return c.done ? [3, 6] : (l = c.value, [4, qf(e, a, l)]); + return c.done ? [3, 6] : (l = c.value, [4, Af(e, a, l)]); case 4: a = h.sent(), h.label = 5; case 5: @@ -18037,21 +17459,21 @@ var xS = function(e, t, n, r, i) { /*endfinally*/ ]; case 9: - return [2, ho[s] = a]; + return [2, fo[s] = a]; } }); }); }; -function qf(e, t, n) { +function Af(e, t, n) { var r = new e(t); return r.update(n), r.digest(); } -function Kf(e, t, n) { +function Ef(e, t, n) { var r, i, o = e.headers, s = {}; try { for (var a = Rt(Object.keys(o).sort()), u = a.next(); !u.done; u = a.next()) { var c = u.value, l = c.toLowerCase(); - (l in IS || t != null && t.has(l) || NS.test(l) || TS.test(l)) && (!n || n && !n.has(l)) || (s[l] = o[c].trim().replace(/\s+/g, " ")); + (l in tj || t != null && t.has(l) || nj.test(l) || rj.test(l)) && (!n || n && !n.has(l)) || (s[l] = o[c].trim().replace(/\s+/g, " ")); } } catch (f) { r = { error: f }; @@ -18065,14 +17487,14 @@ function Kf(e, t, n) { } return s; } -function OS(e) { +function cj(e) { var t, n, r = e.query, i = r === void 0 ? {} : r, o = [], s = {}, a = function(f) { - if (f.toLowerCase() === AS) + if (f.toLowerCase() === XT) return "continue"; o.push(f); var d = i[f]; - typeof d == "string" ? s[f] = Zn(f) + "=" + Zn(d) : Array.isArray(d) && (s[f] = d.slice(0).sort().reduce(function(g, h) { - return g.concat([Zn(f) + "=" + Zn(h)]); + typeof d == "string" ? s[f] = Gn(f) + "=" + Gn(d) : Array.isArray(d) && (s[f] = d.slice(0).sort().reduce(function(g, h) { + return g.concat([Gn(f) + "=" + Gn(h)]); }, []).join("&")); }; try { @@ -18096,10 +17518,10 @@ function OS(e) { return f; }).join("&"); } -var LS = function(e) { +var lj = function(e) { return typeof ArrayBuffer == "function" && e instanceof ArrayBuffer || Object.prototype.toString.call(e) === "[object ArrayBuffer]"; }; -function ga(e, t) { +function ca(e, t) { var n = e.headers, r = e.body; return Ne(this, void 0, void 0, function() { var i, o, s, a, u, c, l; @@ -18108,7 +17530,7 @@ function ga(e, t) { case 0: try { for (i = Rt(Object.keys(n)), o = i.next(); !o.done; o = i.next()) - if (s = o.value, s.toLowerCase() === gu) + if (s = o.value, s.toLowerCase() === ru) return [2, n[s]]; } catch (d) { c = { error: d }; @@ -18122,16 +17544,16 @@ function ga(e, t) { } return r != null ? [3, 1] : [2, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]; case 1: - return typeof r == "string" || ArrayBuffer.isView(r) || LS(r) ? (a = new t(), a.update(r), u = Sr, [4, a.digest()]) : [3, 3]; + return typeof r == "string" || ArrayBuffer.isView(r) || lj(r) ? (a = new t(), a.update(r), u = Sr, [4, a.digest()]) : [3, 3]; case 2: return [2, u.apply(void 0, [f.sent()])]; case 3: - return [2, SS]; + return [2, oj]; } }); }); } -function _S(e, t) { +function fj(e, t) { var n, r; e = e.toLowerCase(); try { @@ -18152,20 +17574,20 @@ function _S(e, t) { } return !1; } -function Lp(e) { - var t = e.headers, n = e.query, r = cp(e, ["headers", "query"]); - return we(we({}, r), { headers: we({}, t), query: n ? kS(n) : void 0 }); +function Kg(e) { + var t = e.headers, n = e.query, r = Ng(e, ["headers", "query"]); + return we(we({}, r), { headers: we({}, t), query: n ? dj(n) : void 0 }); } -function kS(e) { +function dj(e) { return Object.keys(e).reduce(function(t, n) { var r, i = e[n]; - return we(we({}, t), (r = {}, r[n] = Array.isArray(i) ? ut(i) : i, r)); + return we(we({}, t), (r = {}, r[n] = Array.isArray(i) ? at(i) : i, r)); }, {}); } -function zS(e, t) { +function hj(e, t) { var n, r, i; t === void 0 && (t = {}); - var o = typeof e.clone == "function" ? e.clone() : Lp(e), s = o.headers, a = o.query, u = a === void 0 ? {} : a; + var o = typeof e.clone == "function" ? e.clone() : Kg(e), s = o.headers, a = o.query, u = a === void 0 ? {} : a; try { for (var c = Rt(Object.keys(s)), l = c.next(); !l.done; l = c.next()) { var f = l.value, d = f.toLowerCase(); @@ -18186,13 +17608,13 @@ function zS(e, t) { query: u }); } -function Gf(e) { +function If(e) { var t, n; - e = typeof e.clone == "function" ? e.clone() : Lp(e); + e = typeof e.clone == "function" ? e.clone() : Kg(e); try { for (var r = Rt(Object.keys(e.headers)), i = r.next(); !i.done; i = r.next()) { var o = i.value; - DS.indexOf(o.toLowerCase()) > -1 && delete e.headers[o]; + ZT.indexOf(o.toLowerCase()) > -1 && delete e.headers[o]; } } catch (s) { t = { error: s }; @@ -18206,22 +17628,22 @@ function Gf(e) { } return e; } -function PS(e) { - return RS(e).toISOString().replace(/\.\d{3}Z$/, "Z"); +function gj(e) { + return pj(e).toISOString().replace(/\.\d{3}Z$/, "Z"); } -function RS(e) { +function pj(e) { return typeof e == "number" ? new Date(e * 1e3) : typeof e == "string" ? Number(e) ? new Date(Number(e) * 1e3) : new Date(e) : e; } -var US = ( +var Mj = ( /** @class */ function() { function e(t) { var n = t.applyChecksum, r = t.credentials, i = t.region, o = t.service, s = t.sha256, a = t.uriEscapePath, u = a === void 0 ? !0 : a; - this.service = o, this.sha256 = s, this.uriEscapePath = u, this.applyChecksum = typeof n == "boolean" ? n : !0, this.regionProvider = FS(i), this.credentialProvider = YS(r); + this.service = o, this.sha256 = s, this.uriEscapePath = u, this.applyChecksum = typeof n == "boolean" ? n : !0, this.regionProvider = yj(i), this.credentialProvider = mj(r); } return e.prototype.presign = function(t, n) { return n === void 0 && (n = {}), Ne(this, void 0, void 0, function() { - var r, i, o, s, a, u, c, l, f, d, g, h, p, m, v, w, j, N, I, B, z, W, $, b; + var r, i, o, s, a, u, c, l, f, d, g, h, p, m, v, w, j, I, N, Q, z, H, W, b; return Ee(this, function(k) { switch (k.label) { case 0: @@ -18233,15 +17655,15 @@ var US = ( case 3: h = k.sent(), k.label = 4; case 4: - return g = h, p = go(i), m = p.longDate, v = p.shortDate, s > CS ? [2, Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")] : (w = ha(v, g, f ?? this.service), j = zS(Gf(t), { unhoistableHeaders: u }), d.sessionToken && (j.query[bp] = d.sessionToken), j.query[MS] = fa, j.query[yS] = d.accessKeyId + "/" + w, j.query[jp] = m, j.query[vS] = s.toString(10), N = Kf(j, a, c), j.query[mS] = Jf(N), I = j.query, B = Sp, z = this.getSignature, W = [ + return g = h, p = ho(i), m = p.longDate, v = p.shortDate, s > aj ? [2, Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")] : (w = ua(v, g, f ?? this.service), j = hj(If(t), { unhoistableHeaders: u }), d.sessionToken && (j.query[Wg] = d.sessionToken), j.query[HT] = sa, j.query[qT] = d.accessKeyId + "/" + w, j.query[Bg] = m, j.query[GT] = s.toString(10), I = Ef(j, a, c), j.query[KT] = Nf(I), N = j.query, Q = $g, z = this.getSignature, H = [ m, w, this.getSigningKey(d, g, v, f) - ], $ = this.createCanonicalRequest, b = [j, N], [4, ga(t, this.sha256)]); + ], W = this.createCanonicalRequest, b = [j, I], [4, ca(t, this.sha256)]); case 5: - return [4, z.apply(this, W.concat([$.apply(this, b.concat([k.sent()]))]))]; + return [4, z.apply(this, H.concat([W.apply(this, b.concat([k.sent()]))]))]; case 6: - return I[B] = k.sent(), [2, j]; + return N[Q] = k.sent(), [2, j]; } }); }); @@ -18254,29 +17676,29 @@ var US = ( }, e.prototype.signEvent = function(t, n) { var r = t.headers, i = t.payload, o = n.signingDate, s = o === void 0 ? /* @__PURE__ */ new Date() : o, a = n.priorSignature, u = n.signingRegion, c = n.signingService; return Ne(this, void 0, void 0, function() { - var l, f, d, g, h, p, m, v, w, j, N; - return Ee(this, function(I) { - switch (I.label) { + var l, f, d, g, h, p, m, v, w, j, I; + return Ee(this, function(N) { + switch (N.label) { case 0: return u == null ? [3, 1] : (f = u, [3, 3]); case 1: return [4, this.regionProvider()]; case 2: - f = I.sent(), I.label = 3; + f = N.sent(), N.label = 3; case 3: - return l = f, d = go(s), g = d.shortDate, h = d.longDate, p = ha(g, l, c ?? this.service), [4, ga({ headers: {}, body: i }, this.sha256)]; + return l = f, d = ho(s), g = d.shortDate, h = d.longDate, p = ua(g, l, c ?? this.service), [4, ca({ headers: {}, body: i }, this.sha256)]; case 4: - return m = I.sent(), v = new this.sha256(), v.update(r), j = Sr, [4, v.digest()]; + return m = N.sent(), v = new this.sha256(), v.update(r), j = Sr, [4, v.digest()]; case 5: - return w = j.apply(void 0, [I.sent()]), N = [ - jS, + return w = j.apply(void 0, [N.sent()]), I = [ + ij, h, p, a, w, m ].join(` -`), [2, this.signString(N, { signingDate: s, signingRegion: l, signingService: c })]; +`), [2, this.signString(I, { signingDate: s, signingRegion: l, signingService: c })]; } }); }); @@ -18295,7 +17717,7 @@ var US = ( case 3: l = m.sent(), m.label = 4; case 4: - return c = l, f = go(o).shortDate, h = (g = this.sha256).bind, [4, this.getSigningKey(u, c, f, a)]; + return c = l, f = ho(o).shortDate, h = (g = this.sha256).bind, [4, this.getSigningKey(u, c, f, a)]; case 5: return d = new (h.apply(g, [void 0, m.sent()]))(), d.update(t), p = Sr, [4, d.digest()]; case 6: @@ -18306,23 +17728,23 @@ var US = ( }, e.prototype.signRequest = function(t, n) { var r = n === void 0 ? {} : n, i = r.signingDate, o = i === void 0 ? /* @__PURE__ */ new Date() : i, s = r.signableHeaders, a = r.unsignableHeaders, u = r.signingRegion, c = r.signingService; return Ne(this, void 0, void 0, function() { - var l, f, d, g, h, p, m, v, w, j, N; - return Ee(this, function(I) { - switch (I.label) { + var l, f, d, g, h, p, m, v, w, j, I; + return Ee(this, function(N) { + switch (N.label) { case 0: return [4, this.credentialProvider()]; case 1: - return l = I.sent(), u == null ? [3, 2] : (d = u, [3, 4]); + return l = N.sent(), u == null ? [3, 2] : (d = u, [3, 4]); case 2: return [4, this.regionProvider()]; case 3: - d = I.sent(), I.label = 4; + d = N.sent(), N.label = 4; case 4: - return f = d, g = Gf(t), h = go(o), p = h.longDate, m = h.shortDate, v = ha(m, f, c ?? this.service), g.headers[xp] = p, l.sessionToken && (g.headers[ES] = l.sessionToken), [4, ga(g, this.sha256)]; + return f = d, g = If(t), h = ho(o), p = h.longDate, m = h.shortDate, v = ua(m, f, c ?? this.service), g.headers[Hg] = p, l.sessionToken && (g.headers[ej] = l.sessionToken), [4, ca(g, this.sha256)]; case 5: - return w = I.sent(), !_S(gu, g.headers) && this.applyChecksum && (g.headers[gu] = w), j = Kf(g, a, s), [4, this.getSignature(p, v, this.getSigningKey(l, f, m, c), this.createCanonicalRequest(g, j, w))]; + return w = N.sent(), !fj(ru, g.headers) && this.applyChecksum && (g.headers[ru] = w), j = Ef(g, a, s), [4, this.getSignature(p, v, this.getSigningKey(l, f, m, c), this.createCanonicalRequest(g, j, w))]; case 6: - return N = I.sent(), g.headers[Cp] = fa + " " + ("Credential=" + l.accessKeyId + "/" + v + ", ") + ("SignedHeaders=" + Jf(j) + ", ") + ("Signature=" + N), [2, g]; + return I = N.sent(), g.headers[Vg] = sa + " " + ("Credential=" + l.accessKeyId + "/" + v + ", ") + ("SignedHeaders=" + Nf(j) + ", ") + ("Signature=" + I), [2, g]; } }); }); @@ -18330,7 +17752,7 @@ var US = ( var i = Object.keys(n).sort(); return t.method + ` ` + this.getCanonicalPath(t) + ` -` + OS(t) + ` +` + cj(t) + ` ` + i.map(function(o) { return o + ":" + n[o]; }).join(` @@ -18346,7 +17768,7 @@ var US = ( case 0: return i = new this.sha256(), i.update(r), [4, i.digest()]; case 1: - return o = s.sent(), [2, fa + ` + return o = s.sent(), [2, sa + ` ` + t + ` ` + n + ` ` + Sr(o)]; @@ -18377,18 +17799,18 @@ var US = ( }); }); }, e.prototype.getSigningKey = function(t, n, r, i) { - return xS(this.sha256, t, r, n, i || this.service); + return uj(this.sha256, t, r, n, i || this.service); }, e; }() -), go = function(e) { - var t = PS(e).replace(/[\-:]/g, ""); +), ho = function(e) { + var t = gj(e).replace(/[\-:]/g, ""); return { longDate: t, shortDate: t.substr(0, 8) }; -}, Jf = function(e) { +}, Nf = function(e) { return Object.keys(e).sort().join(";"); -}, FS = function(e) { +}, yj = function(e) { if (typeof e == "string") { var t = Promise.resolve(e); return function() { @@ -18396,7 +17818,7 @@ var US = ( }; } else return e; -}, YS = function(e) { +}, mj = function(e) { if (typeof e == "object") { var t = Promise.resolve(e); return function() { @@ -18405,10 +17827,10 @@ var US = ( } else return e; }; -function BS(e) { - var t = this, n = e.credentials || e.credentialDefaultProvider(e), r = pa(n), i = e.signingEscapePath, o = i === void 0 ? !0 : i, s = e.systemClockOffset, a = s === void 0 ? e.systemClockOffset || 0 : s, u = e.sha256, c; - return e.signer ? c = pa(e.signer) : c = function() { - return pa(e.region)().then(function(l) { +function vj(e) { + var t = this, n = e.credentials || e.credentialDefaultProvider(e), r = la(n), i = e.signingEscapePath, o = i === void 0 ? !0 : i, s = e.systemClockOffset, a = s === void 0 ? e.systemClockOffset || 0 : s, u = e.sha256, c; + return e.signer ? c = la(e.signer) : c = function() { + return la(e.region)().then(function(l) { return Ne(t, void 0, void 0, function() { return Ee(this, function(f) { switch (f.label) { @@ -18421,7 +17843,7 @@ function BS(e) { }); }).then(function(l) { var f = cr(l, 2), d = f[0], g = f[1], h = d.signingRegion, p = d.signingService; - return e.signingRegion = e.signingRegion || h || g, e.signingName = e.signingName || p || e.serviceId, new US({ + return e.signingRegion = e.signingRegion || h || g, e.signingName = e.signingName || p || e.serviceId, new Mj({ credentials: r, region: e.signingRegion, service: e.signingName, @@ -18436,7 +17858,7 @@ function BS(e) { signer: c }); } -function pa(e) { +function la(e) { if (typeof e == "object") { var t = Promise.resolve(e); return function() { @@ -18445,10 +17867,10 @@ function pa(e) { } return e; } -function QS(e) { +function wj(e) { return we(we({}, e), { customUserAgent: typeof e.customUserAgent == "string" ? [[e.customUserAgent]] : e.customUserAgent }); } -var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g, VS = function(e) { +var fa = "user-agent", Dj = "x-amz-user-agent", Tf = " ", Aj = /[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g, Ej = function(e) { return function(t, n) { return function(r) { return Ne(void 0, void 0, void 0, function() { @@ -18456,39 +17878,39 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* return Ee(this, function(d) { switch (d.label) { case 0: - return i = r.request, Ur.isInstance(i) ? (o = i.headers, s = ((l = n == null ? void 0 : n.userAgent) === null || l === void 0 ? void 0 : l.map(ya)) || [], [4, e.defaultUserAgentProvider()]) : [2, t(r)]; + return i = r.request, Rr.isInstance(i) ? (o = i.headers, s = ((l = n == null ? void 0 : n.userAgent) === null || l === void 0 ? void 0 : l.map(da)) || [], [4, e.defaultUserAgentProvider()]) : [2, t(r)]; case 1: - return a = d.sent().map(ya), u = ((f = e == null ? void 0 : e.customUserAgent) === null || f === void 0 ? void 0 : f.map(ya)) || [], o[$S] = ut(a, s, u).join(Zf), c = ut(a.filter(function(g) { + return a = d.sent().map(da), u = ((f = e == null ? void 0 : e.customUserAgent) === null || f === void 0 ? void 0 : f.map(da)) || [], o[Dj] = at(a, s, u).join(Tf), c = at(a.filter(function(g) { return g.startsWith("aws-sdk-"); - }), u).join(Zf), e.runtime !== "browser" && c && (o[Ma] = o[Ma] ? o[Ma] + " " + c : c), [2, t(we(we({}, r), { request: i }))]; + }), u).join(Tf), e.runtime !== "browser" && c && (o[fa] = o[fa] ? o[fa] + " " + c : c), [2, t(we(we({}, r), { request: i }))]; } }); }); }; }; -}, ya = function(e) { +}, da = function(e) { var t = cr(e, 2), n = t[0], r = t[1], i = n.indexOf("/"), o = n.substring(0, i), s = n.substring(i + 1); return o === "api" && (s = s.toLowerCase()), [o, s, r].filter(function(a) { return a && a.length > 0; }).map(function(a) { - return a == null ? void 0 : a.replace(WS, "_"); + return a == null ? void 0 : a.replace(Aj, "_"); }).join("/"); -}, HS = { +}, Ij = { name: "getUserAgentMiddleware", step: "build", priority: "low", tags: ["SET_USER_AGENT", "USER_AGENT"], override: !0 -}, qS = function(e) { +}, Nj = function(e) { return { applyToStack: function(t) { - t.add(VS(e), HS); + t.add(Ej(e), Ij); } }; -}, qo = function() { +}, Vo = function() { var e = [], t = [], n = /* @__PURE__ */ new Set(), r = function(l) { return l.sort(function(f, d) { - return Xf[d.step] - Xf[f.step] || ed[d.priority || "normal"] - ed[f.priority || "normal"]; + return jf[d.step] - jf[f.step] || Sf[d.priority || "normal"] - Sf[f.priority || "normal"]; }); }, i = function(l) { var f = !1, d = function(g) { @@ -18509,9 +17931,9 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* }, a = function(l) { var f = []; return l.before.forEach(function(d) { - d.before.length === 0 && d.after.length === 0 ? f.push(d) : f.push.apply(f, ut(a(d))); + d.before.length === 0 && d.after.length === 0 ? f.push(d) : f.push.apply(f, at(a(d))); }), f.push(l), l.after.reverse().forEach(function(d) { - d.before.length === 0 && d.after.length === 0 ? f.push(d) : f.push.apply(f, ut(a(d))); + d.before.length === 0 && d.after.length === 0 ? f.push(d) : f.push.apply(f, at(a(d))); }), f; }, u = function() { var l = [], f = [], d = {}; @@ -18530,7 +17952,7 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* } }); var g = r(l).map(a).reduce(function(h, p) { - return h.push.apply(h, ut(p)), h; + return h.push.apply(h, at(p)), h; }, []); return g.map(function(h) { return h.middleware; @@ -18572,7 +17994,7 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* t.push(h); }, clone: function() { - return s(qo()); + return s(Vo()); }, use: function(l) { l.applyToStack(c); @@ -18588,7 +18010,7 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* return e = e.filter(d), t = t.filter(d), f; }, concat: function(l) { - var f = s(qo()); + var f = s(Vo()); return f.use(l), f; }, applyToStack: s, @@ -18613,21 +18035,21 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* } }; return c; -}, Xf = { +}, jf = { initialize: 5, serialize: 4, build: 3, finalizeRequest: 2, deserialize: 1 -}, ed = { +}, Sf = { high: 3, normal: 2, low: 1 -}, KS = ( +}, Tj = ( /** @class */ function() { function e(t) { - this.middlewareStack = qo(), this.config = t; + this.middlewareStack = Vo(), this.config = t; } return e.prototype.send = function(t, n, r) { var i = typeof n != "function" ? n : void 0, o = typeof n == "function" ? n : r, s = t.resolveMiddleware(this.middlewareStack, this.config, i); @@ -18650,29 +18072,29 @@ var Ma = "user-agent", $S = "x-amz-user-agent", Zf = " ", WS = /[^\!\#\$\%\&\'\* this.config.requestHandler.destroy && this.config.requestHandler.destroy(); }, e; }() -), _p = ( +), Gg = ( /** @class */ function() { function e() { - this.middlewareStack = qo(); + this.middlewareStack = Vo(); } return e; }() -), Ko = function() { - var e = Object.getPrototypeOf(this).constructor, t = Function.bind.apply(String, ut([null], arguments)), n = new t(); +), Ho = function() { + var e = Object.getPrototypeOf(this).constructor, t = Function.bind.apply(String, at([null], arguments)), n = new t(); return Object.setPrototypeOf(n, e.prototype), n; }; -Ko.prototype = Object.create(String.prototype, { +Ho.prototype = Object.create(String.prototype, { constructor: { - value: Ko, + value: Ho, enumerable: !1, writable: !0, configurable: !0 } }); -Object.setPrototypeOf(Ko, String); +Object.setPrototypeOf(Ho, String); (function(e) { - pc(t, e); + ec(t, e); function t() { return e !== null && e.apply(this, arguments) || this; } @@ -18683,8 +18105,8 @@ Object.setPrototypeOf(Ko, String); }, t.fromObject = function(n) { return n instanceof t ? n : n instanceof String || typeof n == "string" ? new t(n) : new t(JSON.stringify(n)); }, t; -})(Ko); -var GS = function(e, t) { +})(Ho); +var jj = function(e, t) { return function(n, r) { return function(i) { return Ne(void 0, void 0, void 0, function() { @@ -18705,7 +18127,7 @@ var GS = function(e, t) { }); }; }; -}, JS = function(e, t) { +}, Sj = function(e, t) { return function(n, r) { return function(i) { return Ne(void 0, void 0, void 0, function() { @@ -18721,34 +18143,34 @@ var GS = function(e, t) { }); }; }; -}, ZS = { +}, bj = { name: "deserializerMiddleware", step: "deserialize", tags: ["DESERIALIZER"], override: !0 -}, XS = { +}, Cj = { name: "serializerMiddleware", step: "serialize", tags: ["SERIALIZER"], override: !0 }; -function kp(e, t, n) { +function Jg(e, t, n) { return { applyToStack: function(r) { - r.add(GS(e, n), ZS), r.add(JS(e, t), XS); + r.add(jj(e, n), bj), r.add(Sj(e, t), Cj); } }; } -var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { +var Dn = new Ht("CognitoCredentials"), xj = new Promise(function(e, t) { if (!gn().isBrowser) - return An.debug("not in the browser, directly resolved"), e(); + return Dn.debug("not in the browser, directly resolved"), e(); var n = window.gapi && window.gapi.auth2 ? window.gapi.auth2 : null; if (n) - return An.debug("google api already loaded"), e(); + return Dn.debug("google api already loaded"), e(); setTimeout(function() { return e(); }, 2e3); -}), tb = ( +}), Oj = ( /** @class */ function() { function e() { @@ -18759,9 +18181,9 @@ var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { return Ee(this, function(t) { switch (t.label) { case 0: - return this.initialized ? [3, 2] : (An.debug("need to wait for the Google SDK loaded"), [4, eb]); + return this.initialized ? [3, 2] : (Dn.debug("need to wait for the Google SDK loaded"), [4, xj]); case 1: - t.sent(), this.initialized = !0, An.debug("finish waiting"), t.label = 2; + t.sent(), this.initialized = !0, Dn.debug("finish waiting"), t.label = 2; case 2: return [2, this._refreshGoogleTokenImpl()]; } @@ -18771,30 +18193,30 @@ var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { var t = null; return gn().isBrowser && (t = window.gapi && window.gapi.auth2 ? window.gapi.auth2 : null), t ? new Promise(function(n, r) { t.getAuthInstance().then(function(i) { - i || (An.debug("google Auth undefined"), r(new Jn("google Auth undefined"))); + i || (Dn.debug("google Auth undefined"), r(new Kn("google Auth undefined"))); var o = i.currentUser.get(); - o.isSignedIn() ? (An.debug("refreshing the google access token"), o.reloadAuthResponse().then(function(s) { + o.isSignedIn() ? (Dn.debug("refreshing the google access token"), o.reloadAuthResponse().then(function(s) { var a = s.id_token, u = s.expires_at; n({ token: a, expires_at: u }); }).catch(function(s) { - s && s.error === "network_error" ? r("Network error reloading google auth response") : r(new Jn("Failed to reload google auth response")); - })) : r(new Jn("User is not signed in with Google")); + s && s.error === "network_error" ? r("Network error reloading google auth response") : r(new Kn("Failed to reload google auth response")); + })) : r(new Kn("User is not signed in with Google")); }).catch(function(i) { - An.debug("Failed to refresh google token", i), r(new Jn("Failed to refresh google token")); + Dn.debug("Failed to refresh google token", i), r(new Kn("Failed to refresh google token")); }); - }) : (An.debug("no gapi auth2 available"), Promise.reject("no gapi auth2 available")); + }) : (Dn.debug("no gapi auth2 available"), Promise.reject("no gapi auth2 available")); }, e; }() -), Wn = new Ht("CognitoCredentials"), nb = new Promise(function(e, t) { +), Bn = new Ht("CognitoCredentials"), Lj = new Promise(function(e, t) { if (!gn().isBrowser) - return Wn.debug("not in the browser, directly resolved"), e(); + return Bn.debug("not in the browser, directly resolved"), e(); var n = window.FB; if (n) - return Wn.debug("FB SDK already loaded"), e(); + return Bn.debug("FB SDK already loaded"), e(); setTimeout(function() { return e(); }, 2e3); -}), rb = ( +}), _j = ( /** @class */ function() { function e() { @@ -18805,9 +18227,9 @@ var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { return Ee(this, function(t) { switch (t.label) { case 0: - return this.initialized ? [3, 2] : (Wn.debug("need to wait for the Facebook SDK loaded"), [4, nb]); + return this.initialized ? [3, 2] : (Bn.debug("need to wait for the Facebook SDK loaded"), [4, Lj]); case 1: - t.sent(), this.initialized = !0, Wn.debug("finish waiting"), t.label = 2; + t.sent(), this.initialized = !0, Bn.debug("finish waiting"), t.label = 2; case 2: return [2, this._refreshFacebookTokenImpl()]; } @@ -18817,18 +18239,18 @@ var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { var t = null; if (gn().isBrowser && (t = window.FB), !t) { var n = "no fb sdk available"; - return Wn.debug(n), Promise.reject(new Jn(n)); + return Bn.debug(n), Promise.reject(new Kn(n)); } return new Promise(function(r, i) { t.getLoginStatus(function(o) { if (!o || !o.authResponse) { var s = "no response from facebook when refreshing the jwt token"; - Wn.debug(s), i(new Jn(s)); + Bn.debug(s), i(new Kn(s)); } else { var a = o.authResponse, u = a.accessToken, c = a.expiresIn, l = /* @__PURE__ */ new Date(), f = c * 1e3 + l.getTime(); if (!u) { var s = "the jwtToken is undefined"; - Wn.debug(s), i(new Jn(s)); + Bn.debug(s), i(new Kn(s)); } r({ token: u, @@ -18839,29 +18261,29 @@ var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { }); }, e; }() -), ib = new tb(), ob = new rb(), Rn = {}, sb = ( +), kj = new Oj(), zj = new _j(), zn = {}, Pj = ( /** @class */ function() { function e() { } return e.setItem = function(t, n) { - return Rn[t] = n, Rn[t]; + return zn[t] = n, zn[t]; }, e.getItem = function(t) { - return Object.prototype.hasOwnProperty.call(Rn, t) ? Rn[t] : void 0; + return Object.prototype.hasOwnProperty.call(zn, t) ? zn[t] : void 0; }, e.removeItem = function(t) { - return delete Rn[t]; + return delete zn[t]; }, e.clear = function() { - return Rn = {}, Rn; + return zn = {}, zn; }, e; }() -), zp = ( +), Zg = ( /** @class */ function() { function e() { try { this.storageWindow = window.localStorage, this.storageWindow.setItem("aws.amplify.test-ls", 1), this.storageWindow.removeItem("aws.amplify.test-ls"); } catch { - this.storageWindow = sb; + this.storageWindow = Pj; } } return e.prototype.getStorage = function() { @@ -18869,7 +18291,7 @@ var An = new Ht("CognitoCredentials"), eb = new Promise(function(e, t) { }, e; }() ); -const ab = "@aws-sdk/client-cognito-identity", ub = "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native", cb = "3.6.1", lb = { +const Rj = "@aws-sdk/client-cognito-identity", Uj = "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native", Fj = "3.6.1", Yj = { clean: "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", prepublishOnly: "yarn build", @@ -18884,9 +18306,9 @@ const ab = "@aws-sdk/client-cognito-identity", ub = "AWS SDK for JavaScript Cogn "build:es": "tsc -p tsconfig.es.json", build: "yarn build:cjs && yarn build:es", postbuild: "downlevel-dts types types/ts3.4" -}, fb = "./dist/cjs/index.js", db = "./types/index.d.ts", hb = "./dist/es/index.js", gb = { +}, Qj = "./dist/cjs/index.js", Bj = "./types/index.d.ts", $j = "./dist/es/index.js", Wj = { "./runtimeConfig": "./runtimeConfig.browser" -}, pb = !1, Mb = { +}, Vj = !1, Hj = { "@aws-crypto/sha256-browser": "^1.0.0", "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/config-resolver": "3.6.1", @@ -18918,7 +18340,7 @@ const ab = "@aws-sdk/client-cognito-identity", ub = "AWS SDK for JavaScript Cogn "@aws-sdk/util-utf8-browser": "3.6.1", "@aws-sdk/util-utf8-node": "3.6.1", tslib: "^2.0.0" -}, yb = { +}, qj = { "@aws-sdk/client-documentation-generator": "3.6.1", "@aws-sdk/client-iam": "3.6.1", "@types/chai": "^4.2.11", @@ -18929,44 +18351,44 @@ const ab = "@aws-sdk/client-cognito-identity", ub = "AWS SDK for JavaScript Cogn rimraf: "^3.0.0", typedoc: "^0.19.2", typescript: "~4.1.2" -}, mb = { +}, Kj = { node: ">=10.0.0" -}, vb = { +}, Gj = { "<4.0": { "types/*": [ "types/ts3.4/*" ] } -}, wb = { +}, Jj = { name: "AWS SDK for JavaScript Team", url: "https://aws.amazon.com/javascript/" -}, Db = "Apache-2.0", Ab = "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity", Eb = { +}, Zj = "Apache-2.0", Xj = "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity", eS = { type: "git", url: "https://github.com/aws/aws-sdk-js-v3.git", directory: "clients/client-cognito-identity" -}, Ib = { - name: ab, - description: ub, - version: cb, - scripts: lb, - main: fb, - types: db, - module: hb, - browser: gb, +}, tS = { + name: Rj, + description: Uj, + version: Fj, + scripts: Yj, + main: Qj, + types: Bj, + module: $j, + browser: Wj, "react-native": { "./runtimeConfig": "./runtimeConfig.native" }, - sideEffects: pb, - dependencies: Mb, - devDependencies: yb, - engines: mb, - typesVersions: vb, - author: wb, - license: Db, - homepage: Ab, - repository: Eb + sideEffects: Vj, + dependencies: Hj, + devDependencies: qj, + engines: Kj, + typesVersions: Gj, + author: Jj, + license: Zj, + homepage: Xj, + repository: eS }; -var td = "cognito-identity.{region}.amazonaws.com", Nb = "cognito-identity.{region}.amazonaws.com.cn", Tb = "cognito-identity.{region}.c2s.ic.gov", jb = "cognito-identity.{region}.sc2s.sgov.gov", Sb = "cognito-identity.{region}.amazonaws.com", bb = /* @__PURE__ */ new Set([ +var bf = "cognito-identity.{region}.amazonaws.com", nS = "cognito-identity.{region}.amazonaws.com.cn", rS = "cognito-identity.{region}.c2s.ic.gov", iS = "cognito-identity.{region}.sc2s.sgov.gov", oS = "cognito-identity.{region}.amazonaws.com", sS = /* @__PURE__ */ new Set([ "af-south-1", "ap-east-1", "ap-northeast-1", @@ -18987,7 +18409,7 @@ var td = "cognito-identity.{region}.amazonaws.com", Nb = "cognito-identity.{regi "us-east-2", "us-west-1", "us-west-2" -]), Cb = /* @__PURE__ */ new Set(["cn-north-1", "cn-northwest-1"]), xb = /* @__PURE__ */ new Set(["us-iso-east-1"]), Ob = /* @__PURE__ */ new Set(["us-isob-east-1"]), Lb = /* @__PURE__ */ new Set(["us-gov-east-1", "us-gov-west-1"]), _b = function(e, t) { +]), aS = /* @__PURE__ */ new Set(["cn-north-1", "cn-northwest-1"]), uS = /* @__PURE__ */ new Set(["us-iso-east-1"]), cS = /* @__PURE__ */ new Set(["us-isob-east-1"]), lS = /* @__PURE__ */ new Set(["us-gov-east-1", "us-gov-west-1"]), fS = function(e, t) { var n = void 0; switch (e) { case "ap-northeast-1": @@ -19127,428 +18549,428 @@ var td = "cognito-identity.{region}.amazonaws.com", Nb = "cognito-identity.{regi }; break; default: - bb.has(e) && (n = { - hostname: td.replace("{region}", e), + sS.has(e) && (n = { + hostname: bf.replace("{region}", e), partition: "aws" - }), Cb.has(e) && (n = { - hostname: Nb.replace("{region}", e), + }), aS.has(e) && (n = { + hostname: nS.replace("{region}", e), partition: "aws-cn" - }), xb.has(e) && (n = { - hostname: Tb.replace("{region}", e), + }), uS.has(e) && (n = { + hostname: rS.replace("{region}", e), partition: "aws-iso" - }), Ob.has(e) && (n = { - hostname: jb.replace("{region}", e), + }), cS.has(e) && (n = { + hostname: iS.replace("{region}", e), partition: "aws-iso-b" - }), Lb.has(e) && (n = { - hostname: Sb.replace("{region}", e), + }), lS.has(e) && (n = { + hostname: oS.replace("{region}", e), partition: "aws-us-gov" }), n === void 0 && (n = { - hostname: td.replace("{region}", e), + hostname: bf.replace("{region}", e), partition: "aws" }); } - return Promise.resolve(oe({ signingService: "cognito-identity" }, n)); -}, nd = { + return Promise.resolve(ie({ signingService: "cognito-identity" }, n)); +}, Cf = { apiVersion: "2014-06-30", disableHostPrefix: !1, logger: {}, - regionInfoProvider: _b, + regionInfoProvider: fS, serviceId: "Cognito Identity", - urlParser: tS -}, kb = oe(oe({}, nd), { runtime: "browser", base64Decoder: Dp, base64Encoder: rj, bodyLengthChecker: Vj, credentialDefaultProvider: function(e) { + urlParser: OT +}, dS = ie(ie({}, Cf), { runtime: "browser", base64Decoder: Pg, base64Encoder: _N, bodyLengthChecker: ET, credentialDefaultProvider: function(e) { return function() { return Promise.reject(new Error("Credential is missing")); }; -}, defaultUserAgentProvider: Xj({ - serviceId: nd.serviceId, - clientVersion: Ib.version -}), maxAttempts: Ec, region: uj("Region is missing"), requestHandler: new tj(), sha256: gp.Sha256, streamCollector: ij, utf8Decoder: pp, utf8Encoder: Mp }), zb = ( +}, defaultUserAgentProvider: CT({ + serviceId: Cf.serviceId, + clientVersion: tS.version +}), maxAttempts: uc, region: UN("Region is missing"), requestHandler: new ON(), sha256: Cg.Sha256, streamCollector: kN, utf8Decoder: xg, utf8Encoder: Og }), hS = ( /** @class */ function(e) { - mc(t, e); + rc(t, e); function t(n) { - var r = this, i = oe(oe({}, kb), n), o = oS(i), s = nS(o), a = BS(s), u = $j(a), c = u, l = QS(c); - return r = e.call(this, l) || this, r.config = l, r.middlewareStack.use(fj(r.config)), r.middlewareStack.use(cS(r.config)), r.middlewareStack.use(dS(r.config)), r.middlewareStack.use(pS(r.config)), r.middlewareStack.use(qS(r.config)), r; + var r = this, i = ie(ie({}, dS), n), o = zT(i), s = LT(o), a = vj(s), u = DT(a), c = u, l = wj(c); + return r = e.call(this, l) || this, r.config = l, r.middlewareStack.use(QN(r.config)), r.middlewareStack.use(FT(r.config)), r.middlewareStack.use(BT(r.config)), r.middlewareStack.use(VT(r.config)), r.middlewareStack.use(Nj(r.config)), r; } return t.prototype.destroy = function() { e.prototype.destroy.call(this); }, t; - }(KS) -), rd; + }(Tj) +), xf; (function(e) { e.AUTHENTICATED_ROLE = "AuthenticatedRole", e.DENY = "Deny"; -})(rd || (rd = {})); -var id; +})(xf || (xf = {})); +var Of; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(id || (id = {})); -var od; +})(Of || (Of = {})); +var Lf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(od || (od = {})); -var sd; +})(Lf || (Lf = {})); +var _f; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(sd || (sd = {})); -var ad; +})(_f || (_f = {})); +var kf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(ad || (ad = {})); -var ud; +})(kf || (kf = {})); +var zf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(ud || (ud = {})); -var cd; +})(zf || (zf = {})); +var Pf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(cd || (cd = {})); -var ld; +})(Pf || (Pf = {})); +var Rf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(ld || (ld = {})); -var fd; +})(Rf || (Rf = {})); +var Uf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(fd || (fd = {})); -var dd; +})(Uf || (Uf = {})); +var Ff; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(dd || (dd = {})); -var hd; +})(Ff || (Ff = {})); +var Yf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(hd || (hd = {})); -var gd; +})(Yf || (Yf = {})); +var Qf; (function(e) { e.ACCESS_DENIED = "AccessDenied", e.INTERNAL_SERVER_ERROR = "InternalServerError"; -})(gd || (gd = {})); -var pd; +})(Qf || (Qf = {})); +var Bf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(pd || (pd = {})); -var Md; +})(Bf || (Bf = {})); +var $f; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Md || (Md = {})); -var yd; +})($f || ($f = {})); +var Wf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(yd || (yd = {})); -var md; +})(Wf || (Wf = {})); +var Vf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(md || (md = {})); -var vd; +})(Vf || (Vf = {})); +var Hf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(vd || (vd = {})); -var wd; +})(Hf || (Hf = {})); +var qf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(wd || (wd = {})); -var Dd; +})(qf || (qf = {})); +var Kf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Dd || (Dd = {})); -var Ad; +})(Kf || (Kf = {})); +var Gf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Ad || (Ad = {})); -var pu; +})(Gf || (Gf = {})); +var iu; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(pu || (pu = {})); -var Ed; +})(iu || (iu = {})); +var Jf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Ed || (Ed = {})); -var Mu; +})(Jf || (Jf = {})); +var ou; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Mu || (Mu = {})); -var Id; +})(ou || (ou = {})); +var Zf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Id || (Id = {})); -var yu; +})(Zf || (Zf = {})); +var su; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(yu || (yu = {})); -var mu; +})(su || (su = {})); +var au; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(mu || (mu = {})); -var Nd; +})(au || (au = {})); +var Xf; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Nd || (Nd = {})); -var Td; +})(Xf || (Xf = {})); +var ed; (function(e) { e.CONTAINS = "Contains", e.EQUALS = "Equals", e.NOT_EQUAL = "NotEqual", e.STARTS_WITH = "StartsWith"; -})(Td || (Td = {})); -var jd; +})(ed || (ed = {})); +var td; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(jd || (jd = {})); -var Sd; +})(td || (td = {})); +var nd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Sd || (Sd = {})); -var bd; +})(nd || (nd = {})); +var rd; (function(e) { e.RULES = "Rules", e.TOKEN = "Token"; -})(bd || (bd = {})); -var Cd; +})(rd || (rd = {})); +var id; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Cd || (Cd = {})); -var xd; +})(id || (id = {})); +var od; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(xd || (xd = {})); -var Od; +})(od || (od = {})); +var sd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Od || (Od = {})); -var Ld; +})(sd || (sd = {})); +var ad; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Ld || (Ld = {})); -var _d; +})(ad || (ad = {})); +var ud; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(_d || (_d = {})); -var kd; +})(ud || (ud = {})); +var cd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(kd || (kd = {})); -var zd; +})(cd || (cd = {})); +var ld; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(zd || (zd = {})); -var Pd; +})(ld || (ld = {})); +var fd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Pd || (Pd = {})); -var Rd; +})(fd || (fd = {})); +var dd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Rd || (Rd = {})); -var Ud; +})(dd || (dd = {})); +var hd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Ud || (Ud = {})); -var Fd; +})(hd || (hd = {})); +var gd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Fd || (Fd = {})); -var Yd; +})(gd || (gd = {})); +var pd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Yd || (Yd = {})); -var Bd; +})(pd || (pd = {})); +var Md; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Bd || (Bd = {})); -var Qd; +})(Md || (Md = {})); +var yd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Qd || (Qd = {})); -var $d; +})(yd || (yd = {})); +var md; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})($d || ($d = {})); -var Wd; +})(md || (md = {})); +var vd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Wd || (Wd = {})); -var Vd; +})(vd || (vd = {})); +var wd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Vd || (Vd = {})); -var Hd; +})(wd || (wd = {})); +var Dd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Hd || (Hd = {})); -var qd; +})(Dd || (Dd = {})); +var Ad; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(qd || (qd = {})); -var Kd; +})(Ad || (Ad = {})); +var Ed; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Kd || (Kd = {})); -var Gd; +})(Ed || (Ed = {})); +var Id; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Gd || (Gd = {})); -var Jd; +})(Id || (Id = {})); +var Nd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Jd || (Jd = {})); -var Zd; +})(Nd || (Nd = {})); +var Td; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Zd || (Zd = {})); -var Xd; +})(Td || (Td = {})); +var jd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(Xd || (Xd = {})); -var eh; +})(jd || (jd = {})); +var Sd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(eh || (eh = {})); -var th; +})(Sd || (Sd = {})); +var bd; (function(e) { e.filterSensitiveLog = function(t) { - return oe({}, t); + return ie({}, t); }; -})(th || (th = {})); -var Pb = function(e, t) { +})(bd || (bd = {})); +var gS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r; return Mt(this, function(i) { return n = { "content-type": "application/x-amz-json-1.1", "x-amz-target": "AWSCognitoIdentityService.GetCredentialsForIdentity" - }, r = JSON.stringify(Wb(e)), [2, Wp(t, n, "/", void 0, r)]; + }, r = JSON.stringify(AS(e)), [2, ap(t, n, "/", void 0, r)]; }); }); -}, Rb = function(e, t) { +}, pS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r; return Mt(this, function(i) { return n = { "content-type": "application/x-amz-json-1.1", "x-amz-target": "AWSCognitoIdentityService.GetId" - }, r = JSON.stringify(Vb(e)), [2, Wp(t, n, "/", void 0, r)]; + }, r = JSON.stringify(ES(e)), [2, ap(t, n, "/", void 0, r)]; }); }); -}, Ub = function(e, t) { +}, MS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { switch (o.label) { case 0: - return e.statusCode >= 300 ? [2, Fb(e, t)] : [4, bs(e.body, t)]; + return e.statusCode >= 300 ? [2, yS(e, t)] : [4, Ts(e.body, t)]; case 1: - return n = o.sent(), r = {}, r = Kb(n), i = oe({ $metadata: Qe(e) }, r), [2, Promise.resolve(i)]; + return n = o.sent(), r = {}, r = TS(n), i = ie({ $metadata: Be(e) }, r), [2, Promise.resolve(i)]; } }); }); -}, Fb = function(e, t) { +}, yS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i, o, s, a, u, c, l, f, d, g, h, p, m, v; return Mt(this, function(w) { switch (w.label) { case 0: - return r = [oe({}, e)], v = {}, [4, bs(e.body, t)]; + return r = [ie({}, e)], v = {}, [4, Ts(e.body, t)]; case 1: - switch (n = oe.apply(void 0, r.concat([(v.body = w.sent(), v)])), o = "UnknownError", o = Vp(e, n.body), s = o, s) { + switch (n = ie.apply(void 0, r.concat([(v.body = w.sent(), v)])), o = "UnknownError", o = up(e, n.body), s = o, s) { case "ExternalServiceException": return [3, 2]; case "com.amazonaws.cognitoidentity#ExternalServiceException": @@ -19584,65 +19006,65 @@ var Pb = function(e, t) { } return [3, 18]; case 2: - return a = [{}], [4, Pp(n)]; + return a = [{}], [4, Xg(n)]; case 3: - return i = oe.apply(void 0, [oe.apply(void 0, a.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, a.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 4: - return u = [{}], [4, Rp(n)]; + return u = [{}], [4, ep(n)]; case 5: - return i = oe.apply(void 0, [oe.apply(void 0, u.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, u.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 6: - return c = [{}], [4, Qb(n)]; + return c = [{}], [4, wS(n)]; case 7: - return i = oe.apply(void 0, [oe.apply(void 0, c.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, c.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 8: - return l = [{}], [4, Up(n)]; + return l = [{}], [4, tp(n)]; case 9: - return i = oe.apply(void 0, [oe.apply(void 0, l.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, l.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 10: - return f = [{}], [4, Fp(n)]; + return f = [{}], [4, np(n)]; case 11: - return i = oe.apply(void 0, [oe.apply(void 0, f.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, f.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 12: - return d = [{}], [4, Yp(n)]; + return d = [{}], [4, rp(n)]; case 13: - return i = oe.apply(void 0, [oe.apply(void 0, d.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, d.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 14: - return g = [{}], [4, Bp(n)]; + return g = [{}], [4, ip(n)]; case 15: - return i = oe.apply(void 0, [oe.apply(void 0, g.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, g.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 16: - return h = [{}], [4, Qp(n)]; + return h = [{}], [4, op(n)]; case 17: - return i = oe.apply(void 0, [oe.apply(void 0, h.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, h.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 18: - p = n.body, o = p.code || p.Code || o, i = oe(oe({}, p), { name: "" + o, message: p.message || p.Message || o, $fault: "client", $metadata: Qe(e) }), w.label = 19; + p = n.body, o = p.code || p.Code || o, i = ie(ie({}, p), { name: "" + o, message: p.message || p.Message || o, $fault: "client", $metadata: Be(e) }), w.label = 19; case 19: return m = i.message || i.Message || o, i.message = m, delete i.Message, [2, Promise.reject(Object.assign(new Error(m), i))]; } }); }); -}, Yb = function(e, t) { +}, mS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { switch (o.label) { case 0: - return e.statusCode >= 300 ? [2, Bb(e, t)] : [4, bs(e.body, t)]; + return e.statusCode >= 300 ? [2, vS(e, t)] : [4, Ts(e.body, t)]; case 1: - return n = o.sent(), r = {}, r = Gb(n), i = oe({ $metadata: Qe(e) }, r), [2, Promise.resolve(i)]; + return n = o.sent(), r = {}, r = jS(n), i = ie({ $metadata: Be(e) }, r), [2, Promise.resolve(i)]; } }); }); -}, Bb = function(e, t) { +}, vS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i, o, s, a, u, c, l, f, d, g, h, p, m, v; return Mt(this, function(w) { switch (w.label) { case 0: - return r = [oe({}, e)], v = {}, [4, bs(e.body, t)]; + return r = [ie({}, e)], v = {}, [4, Ts(e.body, t)]; case 1: - switch (n = oe.apply(void 0, r.concat([(v.body = w.sent(), v)])), o = "UnknownError", o = Vp(e, n.body), s = o, s) { + switch (n = ie.apply(void 0, r.concat([(v.body = w.sent(), v)])), o = "UnknownError", o = up(e, n.body), s = o, s) { case "ExternalServiceException": return [3, 2]; case "com.amazonaws.cognitoidentity#ExternalServiceException": @@ -19678,169 +19100,169 @@ var Pb = function(e, t) { } return [3, 18]; case 2: - return a = [{}], [4, Pp(n)]; + return a = [{}], [4, Xg(n)]; case 3: - return i = oe.apply(void 0, [oe.apply(void 0, a.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, a.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 4: - return u = [{}], [4, Rp(n)]; + return u = [{}], [4, ep(n)]; case 5: - return i = oe.apply(void 0, [oe.apply(void 0, u.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, u.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 6: - return c = [{}], [4, Up(n)]; + return c = [{}], [4, tp(n)]; case 7: - return i = oe.apply(void 0, [oe.apply(void 0, c.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, c.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 8: - return l = [{}], [4, $b(n)]; + return l = [{}], [4, DS(n)]; case 9: - return i = oe.apply(void 0, [oe.apply(void 0, l.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, l.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 10: - return f = [{}], [4, Fp(n)]; + return f = [{}], [4, np(n)]; case 11: - return i = oe.apply(void 0, [oe.apply(void 0, f.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, f.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 12: - return d = [{}], [4, Yp(n)]; + return d = [{}], [4, rp(n)]; case 13: - return i = oe.apply(void 0, [oe.apply(void 0, d.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, d.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 14: - return g = [{}], [4, Bp(n)]; + return g = [{}], [4, ip(n)]; case 15: - return i = oe.apply(void 0, [oe.apply(void 0, g.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, g.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 16: - return h = [{}], [4, Qp(n)]; + return h = [{}], [4, op(n)]; case 17: - return i = oe.apply(void 0, [oe.apply(void 0, h.concat([w.sent()])), { name: o, $metadata: Qe(e) }]), [3, 19]; + return i = ie.apply(void 0, [ie.apply(void 0, h.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; case 18: - p = n.body, o = p.code || p.Code || o, i = oe(oe({}, p), { name: "" + o, message: p.message || p.Message || o, $fault: "client", $metadata: Qe(e) }), w.label = 19; + p = n.body, o = p.code || p.Code || o, i = ie(ie({}, p), { name: "" + o, message: p.message || p.Message || o, $fault: "client", $metadata: Be(e) }), w.label = 19; case 19: return m = i.message || i.Message || o, i.message = m, delete i.Message, [2, Promise.reject(Object.assign(new Error(m), i))]; } }); }); -}, Pp = function(e, t) { +}, Xg = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = qb(n), i = oe({ name: "ExternalServiceException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = NS(n), i = ie({ name: "ExternalServiceException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Rp = function(e, t) { +}, ep = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = Jb(n), i = oe({ name: "InternalErrorException", $fault: "server", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = SS(n), i = ie({ name: "InternalErrorException", $fault: "server", $metadata: Be(e) }, r), [2, i]; }); }); -}, Qb = function(e, t) { +}, wS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = Zb(n), i = oe({ name: "InvalidIdentityPoolConfigurationException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = bS(n), i = ie({ name: "InvalidIdentityPoolConfigurationException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Up = function(e, t) { +}, tp = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = Xb(n), i = oe({ name: "InvalidParameterException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = CS(n), i = ie({ name: "InvalidParameterException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, $b = function(e, t) { +}, DS = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = e1(n), i = oe({ name: "LimitExceededException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = xS(n), i = ie({ name: "LimitExceededException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Fp = function(e, t) { +}, np = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = t1(n), i = oe({ name: "NotAuthorizedException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = OS(n), i = ie({ name: "NotAuthorizedException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Yp = function(e, t) { +}, rp = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = n1(n), i = oe({ name: "ResourceConflictException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = LS(n), i = ie({ name: "ResourceConflictException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Bp = function(e, t) { +}, ip = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = r1(n), i = oe({ name: "ResourceNotFoundException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = _S(n), i = ie({ name: "ResourceNotFoundException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Qp = function(e, t) { +}, op = function(e, t) { return pt(void 0, void 0, void 0, function() { var n, r, i; return Mt(this, function(o) { - return n = e.body, r = i1(n), i = oe({ name: "TooManyRequestsException", $fault: "client", $metadata: Qe(e) }, r), [2, i]; + return n = e.body, r = kS(n), i = ie({ name: "TooManyRequestsException", $fault: "client", $metadata: Be(e) }, r), [2, i]; }); }); -}, Wb = function(e, t) { - return oe(oe(oe({}, e.CustomRoleArn !== void 0 && e.CustomRoleArn !== null && { CustomRoleArn: e.CustomRoleArn }), e.IdentityId !== void 0 && e.IdentityId !== null && { IdentityId: e.IdentityId }), e.Logins !== void 0 && e.Logins !== null && { Logins: $p(e.Logins) }); -}, Vb = function(e, t) { - return oe(oe(oe({}, e.AccountId !== void 0 && e.AccountId !== null && { AccountId: e.AccountId }), e.IdentityPoolId !== void 0 && e.IdentityPoolId !== null && { IdentityPoolId: e.IdentityPoolId }), e.Logins !== void 0 && e.Logins !== null && { Logins: $p(e.Logins) }); -}, $p = function(e, t) { +}, AS = function(e, t) { + return ie(ie(ie({}, e.CustomRoleArn !== void 0 && e.CustomRoleArn !== null && { CustomRoleArn: e.CustomRoleArn }), e.IdentityId !== void 0 && e.IdentityId !== null && { IdentityId: e.IdentityId }), e.Logins !== void 0 && e.Logins !== null && { Logins: sp(e.Logins) }); +}, ES = function(e, t) { + return ie(ie(ie({}, e.AccountId !== void 0 && e.AccountId !== null && { AccountId: e.AccountId }), e.IdentityPoolId !== void 0 && e.IdentityPoolId !== null && { IdentityPoolId: e.IdentityPoolId }), e.Logins !== void 0 && e.Logins !== null && { Logins: sp(e.Logins) }); +}, sp = function(e, t) { return Object.entries(e).reduce(function(n, r) { - var i, o = ET(r, 2), s = o[0], a = o[1]; - return a === null ? n : oe(oe({}, n), (i = {}, i[s] = a, i)); + var i, o = eN(r, 2), s = o[0], a = o[1]; + return a === null ? n : ie(ie({}, n), (i = {}, i[s] = a, i)); }, {}); -}, Hb = function(e, t) { +}, IS = function(e, t) { return { AccessKeyId: e.AccessKeyId !== void 0 && e.AccessKeyId !== null ? e.AccessKeyId : void 0, Expiration: e.Expiration !== void 0 && e.Expiration !== null ? new Date(Math.round(e.Expiration * 1e3)) : void 0, SecretKey: e.SecretKey !== void 0 && e.SecretKey !== null ? e.SecretKey : void 0, SessionToken: e.SessionToken !== void 0 && e.SessionToken !== null ? e.SessionToken : void 0 }; -}, qb = function(e, t) { +}, NS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, Kb = function(e, t) { +}, TS = function(e, t) { return { - Credentials: e.Credentials !== void 0 && e.Credentials !== null ? Hb(e.Credentials) : void 0, + Credentials: e.Credentials !== void 0 && e.Credentials !== null ? IS(e.Credentials) : void 0, IdentityId: e.IdentityId !== void 0 && e.IdentityId !== null ? e.IdentityId : void 0 }; -}, Gb = function(e, t) { +}, jS = function(e, t) { return { IdentityId: e.IdentityId !== void 0 && e.IdentityId !== null ? e.IdentityId : void 0 }; -}, Jb = function(e, t) { +}, SS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, Zb = function(e, t) { +}, bS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, Xb = function(e, t) { +}, CS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, e1 = function(e, t) { +}, xS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, t1 = function(e, t) { +}, OS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, n1 = function(e, t) { +}, LS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, r1 = function(e, t) { +}, _S = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, i1 = function(e, t) { +}, kS = function(e, t) { return { message: e.message !== void 0 && e.message !== null ? e.message : void 0 }; -}, Qe = function(e) { +}, Be = function(e) { var t; return { httpStatusCode: e.statusCode, @@ -19848,13 +19270,13 @@ var Pb = function(e, t) { extendedRequestId: e.headers["x-amz-id-2"], cfId: e.headers["x-amz-cf-id"] }; -}, o1 = function(e, t) { +}, zS = function(e, t) { return e === void 0 && (e = new Uint8Array()), e instanceof Uint8Array ? Promise.resolve(e) : t.streamCollector(e) || Promise.resolve(new Uint8Array()); -}, s1 = function(e, t) { - return o1(e, t).then(function(n) { +}, PS = function(e, t) { + return zS(e, t).then(function(n) { return t.utf8Encoder(n); }); -}, Wp = function(e, t, n, r, i) { +}, ap = function(e, t, n, r, i) { return pt(void 0, void 0, void 0, function() { var o, s, a, u, c, l; return Mt(this, function(f) { @@ -19869,15 +19291,15 @@ var Pb = function(e, t) { method: "POST", path: n, headers: t - }, r !== void 0 && (l.hostname = r), i !== void 0 && (l.body = i), [2, new Ur(l)]; + }, r !== void 0 && (l.hostname = r), i !== void 0 && (l.body = i), [2, new Rr(l)]; } }); }); -}, bs = function(e, t) { - return s1(e, t).then(function(n) { +}, Ts = function(e, t) { + return PS(e, t).then(function(n) { return n.length ? JSON.parse(n) : {}; }); -}, Vp = function(e, t) { +}, up = function(e, t) { var n = function(o, s) { return Object.keys(o).find(function(a) { return a.toLowerCase() === s.toLowerCase(); @@ -19887,10 +19309,10 @@ var Pb = function(e, t) { return s.indexOf(":") >= 0 && (s = s.split(":")[0]), s.indexOf("#") >= 0 && (s = s.split("#")[1]), s; }, i = n(e.headers, "x-amzn-errortype"); return i !== void 0 ? r(e.headers[i]) : t.code !== void 0 ? r(t.code) : t.__type !== void 0 ? r(t.__type) : ""; -}, vu = ( +}, uu = ( /** @class */ function(e) { - mc(t, e); + rc(t, e); function t(n) { var r = ( // Start section: command_constructor @@ -19899,27 +19321,27 @@ var Pb = function(e, t) { return r.input = n, r; } return t.prototype.resolveMiddleware = function(n, r, i) { - this.middlewareStack.use(kp(r, this.serialize, this.deserialize)); + this.middlewareStack.use(Jg(r, this.serialize, this.deserialize)); var o = n.concat(this.middlewareStack), s = r.logger, a = "CognitoIdentityClient", u = "GetCredentialsForIdentityCommand", c = { logger: s, clientName: a, commandName: u, - inputFilterSensitiveLog: pu.filterSensitiveLog, - outputFilterSensitiveLog: Mu.filterSensitiveLog + inputFilterSensitiveLog: iu.filterSensitiveLog, + outputFilterSensitiveLog: ou.filterSensitiveLog }, l = r.requestHandler; return o.resolve(function(f) { return l.handle(f.request, i || {}); }, c); }, t.prototype.serialize = function(n, r) { - return Pb(n, r); + return gS(n, r); }, t.prototype.deserialize = function(n, r) { - return Ub(n, r); + return MS(n, r); }, t; - }(_p) -), Di = ( + }(Gg) +), wi = ( /** @class */ function(e) { - mc(t, e); + rc(t, e); function t(n) { var r = ( // Start section: command_constructor @@ -19928,27 +19350,27 @@ var Pb = function(e, t) { return r.input = n, r; } return t.prototype.resolveMiddleware = function(n, r, i) { - this.middlewareStack.use(kp(r, this.serialize, this.deserialize)); + this.middlewareStack.use(Jg(r, this.serialize, this.deserialize)); var o = n.concat(this.middlewareStack), s = r.logger, a = "CognitoIdentityClient", u = "GetIdCommand", c = { logger: s, clientName: a, commandName: u, - inputFilterSensitiveLog: yu.filterSensitiveLog, - outputFilterSensitiveLog: mu.filterSensitiveLog + inputFilterSensitiveLog: su.filterSensitiveLog, + outputFilterSensitiveLog: au.filterSensitiveLog }, l = r.requestHandler; return o.resolve(function(f) { return l.handle(f.request, i || {}); }, c); }, t.prototype.serialize = function(n, r) { - return Rb(n, r); + return pS(n, r); }, t.prototype.deserialize = function(n, r) { - return Yb(n, r); + return mS(n, r); }, t; - }(_p) -), Cs = ( + }(Gg) +), js = ( /** @class */ function(e) { - pc(t, e); + ec(t, e); function t(n, r) { r === void 0 && (r = !0); var i = e.call(this, n) || this; @@ -19957,7 +19379,7 @@ var Pb = function(e, t) { return t; }(Error) ); -function Hp(e) { +function cp(e) { return Promise.all(Object.keys(e).reduce(function(t, n) { var r = e[n]; return typeof r == "string" ? t.push([n, r]) : t.push(r().then(function(i) { @@ -19970,7 +19392,7 @@ function Hp(e) { }, {}); }); } -function fi(e) { +function li(e) { var t = this; return function() { return Ne(t, void 0, void 0, function() { @@ -19978,18 +19400,18 @@ function fi(e) { return Ee(this, function(p) { switch (p.label) { case 0: - return f = (l = e.client).send, d = vu.bind, h = { + return f = (l = e.client).send, d = uu.bind, h = { CustomRoleArn: e.customRoleArn, IdentityId: e.identityId - }, e.logins ? [4, Hp(e.logins)] : [3, 2]; + }, e.logins ? [4, cp(e.logins)] : [3, 2]; case 1: return g = p.sent(), [3, 3]; case 2: g = void 0, p.label = 3; case 3: - return [4, f.apply(l, [new (d.apply(vu, [void 0, (h.Logins = g, h)]))()])]; + return [4, f.apply(l, [new (d.apply(uu, [void 0, (h.Logins = g, h)]))()])]; case 4: - return n = p.sent().Credentials, r = n === void 0 ? u1() : n, i = r.AccessKeyId, o = i === void 0 ? a1() : i, s = r.Expiration, a = r.SecretKey, u = a === void 0 ? c1() : a, c = r.SessionToken, [2, { + return n = p.sent().Credentials, r = n === void 0 ? US() : n, i = r.AccessKeyId, o = i === void 0 ? RS() : i, s = r.Expiration, a = r.SecretKey, u = a === void 0 ? FS() : a, c = r.SessionToken, [2, { identityId: e.identityId, accessKeyId: o, secretAccessKey: u, @@ -20001,16 +19423,16 @@ function fi(e) { }); }; } -function a1() { - throw new Cs("Response from Amazon Cognito contained no access key ID"); +function RS() { + throw new js("Response from Amazon Cognito contained no access key ID"); } -function u1() { - throw new Cs("Response from Amazon Cognito contained no credentials"); +function US() { + throw new js("Response from Amazon Cognito contained no credentials"); } -function c1() { - throw new Cs("Response from Amazon Cognito contained no secret key"); +function FS() { + throw new js("Response from Amazon Cognito contained no secret key"); } -var ma = "IdentityIds", l1 = ( +var ha = "IdentityIds", YS = ( /** @class */ function() { function e(t) { @@ -20064,25 +19486,25 @@ var ma = "IdentityIds", l1 = ( var i = t.result; i.onerror = function() { r(new Error("Failed to create object store")); - }, i.createObjectStore(ma, { keyPath: "id" }); + }, i.createObjectStore(ha, { keyPath: "id" }); }; }); }, e.prototype.withObjectStore = function(t, n) { return this.getDb().then(function(r) { - var i = r.transaction(ma, t); + var i = r.transaction(ha, t); return i.oncomplete = function() { return r.close(); }, new Promise(function(o, s) { i.onerror = function() { return s(i.error); - }, o(n(i.objectStore(ma))); + }, o(n(i.objectStore(ha))); }).catch(function(o) { throw r.close(), o; }); }); }, e; }() -), f1 = ( +), QS = ( /** @class */ function() { function e(t) { @@ -20096,36 +19518,36 @@ var ma = "IdentityIds", l1 = ( this.store[t] = n; }, e; }() -), d1 = new f1(); -function h1() { - return typeof self == "object" && self.indexedDB ? new l1() : typeof window == "object" && window.localStorage ? window.localStorage : d1; +), BS = new QS(); +function $S() { + return typeof self == "object" && self.indexedDB ? new YS() : typeof window == "object" && window.localStorage ? window.localStorage : BS; } -function g1(e) { - var t = this, n = e.accountId, r = e.cache, i = r === void 0 ? h1() : r, o = e.client, s = e.customRoleArn, a = e.identityPoolId, u = e.logins, c = e.userIdentifier, l = c === void 0 ? !u || Object.keys(u).length === 0 ? "ANONYMOUS" : void 0 : c, f = l ? "aws:cognito-identity-credentials:" + a + ":" + l : void 0, d = function() { +function WS(e) { + var t = this, n = e.accountId, r = e.cache, i = r === void 0 ? $S() : r, o = e.client, s = e.customRoleArn, a = e.identityPoolId, u = e.logins, c = e.userIdentifier, l = c === void 0 ? !u || Object.keys(u).length === 0 ? "ANONYMOUS" : void 0 : c, f = l ? "aws:cognito-identity-credentials:" + a + ":" + l : void 0, d = function() { return Ne(t, void 0, void 0, function() { - var g, h, p, m, v, w, j, N, I; - return Ee(this, function(B) { - switch (B.label) { + var g, h, p, m, v, w, j, I, N; + return Ee(this, function(Q) { + switch (Q.label) { case 0: return h = f, h ? [4, i.getItem(f)] : [3, 2]; case 1: - h = B.sent(), B.label = 2; + h = Q.sent(), Q.label = 2; case 2: - return g = h, g ? [3, 7] : (w = (v = o).send, j = Di.bind, I = { + return g = h, g ? [3, 7] : (w = (v = o).send, j = wi.bind, N = { AccountId: n, IdentityPoolId: a - }, u ? [4, Hp(u)] : [3, 4]); + }, u ? [4, cp(u)] : [3, 4]); case 3: - return N = B.sent(), [3, 5]; + return I = Q.sent(), [3, 5]; case 4: - N = void 0, B.label = 5; + I = void 0, Q.label = 5; case 5: - return [4, w.apply(v, [new (j.apply(Di, [void 0, (I.Logins = N, I)]))()])]; + return [4, w.apply(v, [new (j.apply(wi, [void 0, (N.Logins = I, N)]))()])]; case 6: - p = B.sent().IdentityId, m = p === void 0 ? p1() : p, g = m, f && Promise.resolve(i.setItem(f, g)).catch(function() { - }), B.label = 7; + p = Q.sent().IdentityId, m = p === void 0 ? VS() : p, g = m, f && Promise.resolve(i.setItem(f, g)).catch(function() { + }), Q.label = 7; case 7: - return d = fi({ + return d = li({ client: o, customRoleArn: s, logins: u, @@ -20146,33 +19568,33 @@ function g1(e) { }); }; } -function p1() { - throw new Cs("Response from Amazon Cognito contained no identity ID"); +function VS() { + throw new js("Response from Amazon Cognito contained no identity ID"); } -function va(e) { - var t = new zb({ +function ga(e) { + var t = new hS({ region: e.region, - customUserAgent: _N() + customUserAgent: fI() }); return t.middlewareStack.add(function(n, r) { return function(i) { - return n(M1(i)); + return n(HS(i)); }; }, { step: "build", name: "cacheControlMiddleWare" }), t; } -function M1(e) { +function HS(e) { return we(we({}, e), { request: we(we({}, e.request), { headers: we(we({}, e.request.headers), { "cache-control": "no-store" }) }) }); } -var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v1 = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", w1 = function(e, t, n) { - on.dispatch("core", { event: e, data: t, message: n }, "Credentials", v1); -}, D1 = ( +var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", GS = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", JS = function(e, t, n) { + on.dispatch("core", { event: e, data: t, message: n }, "Credentials", GS); +}, ZS = ( /** @class */ function() { function e(t) { - this._gettingCredPromise = null, this._refreshHandlers = {}, this.Auth = void 0, this.configure(t), this._refreshHandlers.google = ib.refreshGoogleToken, this._refreshHandlers.facebook = ob.refreshFacebookToken; + this._gettingCredPromise = null, this._refreshHandlers = {}, this.Auth = void 0, this.configure(t), this._refreshHandlers.google = kj.refreshGoogleToken, this._refreshHandlers.facebook = zj.refreshFacebookToken; } return e.prototype.getModuleName = function() { return "Credentials"; @@ -20183,13 +19605,13 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v return this._config || {}; this._config = Object.assign({}, this._config, t); var n = this._config.refreshHandlers; - return n && (this._refreshHandlers = we(we({}, this._refreshHandlers), n)), this._storage = this._config.storage, this._storage || (this._storage = new zp().getStorage()), this._storageSync = Promise.resolve(), typeof this._storage.sync == "function" && (this._storageSync = this._storage.sync()), w1("credentials_configured", null, "Credentials has been configured successfully"), this._config; + return n && (this._refreshHandlers = we(we({}, this._refreshHandlers), n)), this._storage = this._config.storage, this._storage || (this._storage = new Zg().getStorage()), this._storageSync = Promise.resolve(), typeof this._storage.sync == "function" && (this._storageSync = this._storage.sync()), JS("credentials_configured", null, "Credentials has been configured successfully"), this._config; }, e.prototype.get = function() { return je.debug("getting credentials"), this._pickupCredentials(); }, e.prototype._getCognitoIdentityIdStorageKey = function(t) { - return "" + m1 + t; + return "" + KS + t; }, e.prototype._pickupCredentials = function() { - return je.debug("picking up credentials"), !this._gettingCredPromise || !this._gettingCredPromise.isPending() ? (je.debug("getting new cred promise"), this._gettingCredPromise = RN(this._keepAlive())) : je.debug("getting old cred promise"), this._gettingCredPromise; + return je.debug("picking up credentials"), !this._gettingCredPromise || !this._gettingCredPromise.isPending() ? (je.debug("getting new cred promise"), this._gettingCredPromise = pI(this._keepAlive())) : je.debug("getting old cred promise"), this._gettingCredPromise; }, e.prototype._keepAlive = function() { return Ne(this, void 0, void 0, function() { var t, n, r, i, o, s, a, u; @@ -20198,7 +19620,7 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v case 0: if (je.debug("checking if credentials exists and not expired"), t = this._credentials, t && !this._isExpired(t) && !this._isPastTTL()) return je.debug("credentials not changed and not expired, directly return"), [2, Promise.resolve(t)]; - if (je.debug("need to get a new credential or refresh the existing one"), n = this.Auth, r = n === void 0 ? Mc.Auth : n, !r || typeof r.currentUserCredentials != "function") + if (je.debug("need to get a new credential or refresh the existing one"), n = this.Auth, r = n === void 0 ? tc.Auth : n, !r || typeof r.currentUserCredentials != "function") return [2, this._setCredentialsForGuest()]; if (!(!this._isExpired(t) && this._isPastTTL())) return [3, 6]; @@ -20240,7 +19662,7 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v })) : (je.debug("no refresh handler for provider:", n), this.clear(), Promise.reject("no refresh handler for provider")); }, e.prototype._providerRefreshWithRetry = function(t) { var n = this, r = t.refreshHandler, i = t.provider, o = t.user, s = 10 * 1e3; - return vT(r, [], s).then(function(a) { + return GI(r, [], s).then(function(a) { return je.debug("refresh federated token sucessfully", a), n._setCredentialsFromFederation({ provider: i, token: a.token, @@ -20267,27 +19689,27 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v return Ee(this, function(h) { switch (h.label) { case 0: - return je.debug("setting credentials for guest"), !((t = this._config) === null || t === void 0) && t.identityPoolId || (this._config = Object.assign({}, this._config, hp(this._config || {}).Auth)), n = this._config, r = n.identityPoolId, i = n.region, o = n.mandatorySignIn, s = n.identityPoolRegion, o ? [2, Promise.reject("cannot get guest credentials when mandatory signin enabled")] : r ? !s && !i ? (je.debug("region is not configured for getting the credentials"), [2, Promise.reject("region is not configured for getting the credentials")]) : (u = this, [4, this._getGuestIdentityId()]) : (je.debug("No Cognito Identity pool provided for unauthenticated access"), [2, Promise.reject("No Cognito Identity pool provided for unauthenticated access")]); + return je.debug("setting credentials for guest"), !((t = this._config) === null || t === void 0) && t.identityPoolId || (this._config = Object.assign({}, this._config, bg(this._config || {}).Auth)), n = this._config, r = n.identityPoolId, i = n.region, o = n.mandatorySignIn, s = n.identityPoolRegion, o ? [2, Promise.reject("cannot get guest credentials when mandatory signin enabled")] : r ? !s && !i ? (je.debug("region is not configured for getting the credentials"), [2, Promise.reject("region is not configured for getting the credentials")]) : (u = this, [4, this._getGuestIdentityId()]) : (je.debug("No Cognito Identity pool provided for unauthenticated access"), [2, Promise.reject("No Cognito Identity pool provided for unauthenticated access")]); case 1: - return a = u._identityId = h.sent(), c = va({ + return a = u._identityId = h.sent(), c = ga({ region: s || i }), l = void 0, a ? (f = { identityId: a, client: c - }, l = fi(f)()) : (d = function() { + }, l = li(f)()) : (d = function() { return Ne(g, void 0, void 0, function() { var p, m, v; return Ee(this, function(w) { switch (w.label) { case 0: - return [4, c.send(new Di({ + return [4, c.send(new wi({ IdentityPoolId: r }))]; case 1: return p = w.sent().IdentityId, this._identityId = p, m = { client: c, identityId: p - }, v = fi(m), [2, v()]; + }, v = li(m), [2, v()]; } }); }); @@ -20309,24 +19731,24 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v case 1: return w.sent(), m = function() { return Ne(v, void 0, void 0, function() { - var j, N, I; - return Ee(this, function(B) { - switch (B.label) { + var j, I, N; + return Ee(this, function(Q) { + switch (Q.label) { case 0: - return [4, c.send(new Di({ + return [4, c.send(new wi({ IdentityPoolId: r }))]; case 1: - return j = B.sent().IdentityId, this._identityId = j, N = { + return j = Q.sent().IdentityId, this._identityId = j, I = { client: c, identityId: j - }, I = fi(N), [2, I()]; + }, N = li(I), [2, N()]; } }); }); }, l = m().catch(function(j) { return Ne(v, void 0, void 0, function() { - return Ee(this, function(N) { + return Ee(this, function(I) { throw j; }); }); @@ -20356,7 +19778,7 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v return je.debug("No Cognito Federated Identity pool provided"), Promise.reject("No Cognito Federated Identity pool provided"); if (!f && !l) return je.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials"); - var d = va({ + var d = ga({ region: f || l }), g = void 0; if (i) { @@ -20365,14 +19787,14 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v logins: a, client: d }; - g = fi(h)(); + g = li(h)(); } else { var h = { logins: a, identityPoolId: c, client: d }; - g = g1(h)(); + g = WS(h)(); } return this._loadCredentials(g, "federated", !0, t); }, e.prototype._setCredentialsFromSession = function(t) { @@ -20385,37 +19807,37 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v return je.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials"); var c = "cognito-idp." + o + ".amazonaws.com/" + s, l = {}; l[c] = r; - var f = va({ + var f = ga({ region: u || o }), d = function() { return Ne(n, void 0, void 0, function() { - var h, p, m, v, w, j, N, I, B, z; - return Ee(this, function(W) { - switch (W.label) { + var h, p, m, v, w, j, I, N, Q, z; + return Ee(this, function(H) { + switch (H.label) { case 0: return [4, this._getGuestIdentityId()]; case 1: - return h = W.sent(), h ? [3, 3] : [4, f.send(new Di({ + return h = H.sent(), h ? [3, 3] : [4, f.send(new wi({ IdentityPoolId: a, Logins: l }))]; case 2: - m = W.sent().IdentityId, p = m, W.label = 3; + m = H.sent().IdentityId, p = m, H.label = 3; case 3: - return [4, f.send(new vu({ + return [4, f.send(new uu({ IdentityId: h || p, Logins: l }))]; case 4: - return v = W.sent(), w = v.Credentials, j = w.AccessKeyId, N = w.Expiration, I = w.SecretKey, B = w.SessionToken, z = v.IdentityId, this._identityId = z, h ? (je.debug("The guest identity " + h + " has been successfully linked to the logins"), h === z && je.debug("The guest identity " + h + " has become the primary identity"), [4, this._removeGuestIdentityId()]) : [3, 6]; + return v = H.sent(), w = v.Credentials, j = w.AccessKeyId, I = w.Expiration, N = w.SecretKey, Q = w.SessionToken, z = v.IdentityId, this._identityId = z, h ? (je.debug("The guest identity " + h + " has been successfully linked to the logins"), h === z && je.debug("The guest identity " + h + " has become the primary identity"), [4, this._removeGuestIdentityId()]) : [3, 6]; case 5: - W.sent(), W.label = 6; + H.sent(), H.label = 6; case 6: return [2, { accessKeyId: j, - secretAccessKey: I, - sessionToken: B, - expiration: N, + secretAccessKey: N, + sessionToken: Q, + expiration: I, identityId: z }]; } @@ -20438,7 +19860,7 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v return Ee(this, function(p) { switch (p.label) { case 0: - if (je.debug("Load credentials successfully", c), this._identityId && !c.identityId && (c.identityId = this._identityId), s._credentials = c, s._credentials.authenticated = r, s._credentials_source = n, s._nextCredentialsRefresh = (/* @__PURE__ */ new Date()).getTime() + y1, n === "federated") { + if (je.debug("Load credentials successfully", c), this._identityId && !c.identityId && (c.identityId = this._identityId), s._credentials = c, s._credentials.authenticated = r, s._credentials_source = n, s._nextCredentialsRefresh = (/* @__PURE__ */ new Date()).getTime() + qS, n === "federated") { l = Object.assign({ id: this._credentials.identityId }, i.user), f = i.provider, d = i.token, g = i.expires_at, h = i.identity_id; try { this._storage.setItem("aws-amplify-federatedInfo", JSON.stringify({ @@ -20543,38 +19965,38 @@ var je = new Ht("Credentials"), y1 = 50 * 60 * 1e3, m1 = "CognitoIdentityId-", v }; }, e; }() -), qp = new D1(null); -Mc.register(qp); +), lp = new ZS(null); +tc.register(lp); /*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ -var Kp = I1, nh = N1, A1 = decodeURIComponent, E1 = encodeURIComponent, po = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; -function I1(e, t) { +var fp = tb, Cd = nb, XS = decodeURIComponent, eb = encodeURIComponent, go = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; +function tb(e, t) { if (typeof e != "string") throw new TypeError("argument str must be a string"); - for (var n = {}, r = t || {}, i = e.split(";"), o = r.decode || A1, s = 0; s < i.length; s++) { + for (var n = {}, r = t || {}, i = e.split(";"), o = r.decode || XS, s = 0; s < i.length; s++) { var a = i[s], u = a.indexOf("="); if (!(u < 0)) { var c = a.substring(0, u).trim(); if (n[c] == null) { var l = a.substring(u + 1, a.length).trim(); - l[0] === '"' && (l = l.slice(1, -1)), n[c] = T1(l, o); + l[0] === '"' && (l = l.slice(1, -1)), n[c] = rb(l, o); } } } return n; } -function N1(e, t, n) { - var r = n || {}, i = r.encode || E1; +function nb(e, t, n) { + var r = n || {}, i = r.encode || eb; if (typeof i != "function") throw new TypeError("option encode is invalid"); - if (!po.test(e)) + if (!go.test(e)) throw new TypeError("argument name is invalid"); var o = i(t); - if (o && !po.test(o)) + if (o && !go.test(o)) throw new TypeError("argument val is invalid"); var s = e + "=" + o; if (r.maxAge != null) { @@ -20584,12 +20006,12 @@ function N1(e, t, n) { s += "; Max-Age=" + Math.floor(a); } if (r.domain) { - if (!po.test(r.domain)) + if (!go.test(r.domain)) throw new TypeError("option domain is invalid"); s += "; Domain=" + r.domain; } if (r.path) { - if (!po.test(r.path)) + if (!go.test(r.path)) throw new TypeError("option path is invalid"); s += "; Path=" + r.path; } @@ -20619,73 +20041,73 @@ function N1(e, t, n) { } return s; } -function T1(e, t) { +function rb(e, t) { try { return t(e); } catch { return e; } } -function j1() { +function ib() { return typeof document == "object" && typeof document.cookie == "string"; } -function S1(e, t) { - return typeof e == "string" ? Kp(e, t) : typeof e == "object" && e !== null ? e : {}; +function ob(e, t) { + return typeof e == "string" ? fp(e, t) : typeof e == "object" && e !== null ? e : {}; } -function b1(e, t) { +function sb(e, t) { return typeof t > "u" && (t = !e || e[0] !== "{" && e[0] !== "[" && e[0] !== '"'), !t; } -function rh(e, t) { +function xd(e, t) { t === void 0 && (t = {}); - var n = C1(e); - if (b1(n, t.doNotParse)) + var n = ab(e); + if (sb(n, t.doNotParse)) try { return JSON.parse(n); } catch { } return e; } -function C1(e) { +function ab(e) { return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e; } -var Vn = globalThis && globalThis.__assign || function() { - return Vn = Object.assign || function(e) { +var $n = globalThis && globalThis.__assign || function() { + return $n = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) { t = arguments[n]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; - }, Vn.apply(this, arguments); -}, x1 = ( + }, $n.apply(this, arguments); +}, ub = ( /** @class */ function() { function e(t, n) { var r = this; - this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.cookies = S1(t, n), new Promise(function() { - r.HAS_DOCUMENT_COOKIE = j1(); + this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.cookies = ob(t, n), new Promise(function() { + r.HAS_DOCUMENT_COOKIE = ib(); }).catch(function() { }); } return e.prototype._updateBrowserValues = function(t) { - this.HAS_DOCUMENT_COOKIE && (this.cookies = Kp(document.cookie, t)); + this.HAS_DOCUMENT_COOKIE && (this.cookies = fp(document.cookie, t)); }, e.prototype._emitChange = function(t) { for (var n = 0; n < this.changeListeners.length; ++n) this.changeListeners[n](t); }, e.prototype.get = function(t, n, r) { - return n === void 0 && (n = {}), this._updateBrowserValues(r), rh(this.cookies[t], n); + return n === void 0 && (n = {}), this._updateBrowserValues(r), xd(this.cookies[t], n); }, e.prototype.getAll = function(t, n) { t === void 0 && (t = {}), this._updateBrowserValues(n); var r = {}; for (var i in this.cookies) - r[i] = rh(this.cookies[i], t); + r[i] = xd(this.cookies[i], t); return r; }, e.prototype.set = function(t, n, r) { var i; - typeof n == "object" && (n = JSON.stringify(n)), this.cookies = Vn(Vn({}, this.cookies), (i = {}, i[t] = n, i)), this.HAS_DOCUMENT_COOKIE && (document.cookie = nh(t, n, r)), this._emitChange({ name: t, value: n, options: r }); + typeof n == "object" && (n = JSON.stringify(n)), this.cookies = $n($n({}, this.cookies), (i = {}, i[t] = n, i)), this.HAS_DOCUMENT_COOKIE && (document.cookie = Cd(t, n, r)), this._emitChange({ name: t, value: n, options: r }); }, e.prototype.remove = function(t, n) { - var r = n = Vn(Vn({}, n), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 }); - this.cookies = Vn({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = nh(t, "", r)), this._emitChange({ name: t, value: void 0, options: n }); + var r = n = $n($n({}, n), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 }); + this.cookies = $n({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = Cd(t, "", r)), this._emitChange({ name: t, value: void 0, options: n }); }, e.prototype.addChangeListener = function(t) { this.changeListeners.push(t); }, e.prototype.removeChangeListener = function(t) { @@ -20694,12 +20116,12 @@ var Vn = globalThis && globalThis.__assign || function() { }, e; }() ); -const wa = x1; -var ih = gn().isBrowser, O1 = 365 * 24 * 60 * 60 * 1e3, L1 = ( +const pa = ub; +var Od = gn().isBrowser, cb = 365 * 24 * 60 * 60 * 1e3, lb = ( /** @class */ function() { function e(t) { - t === void 0 && (t = {}), this.cookies = new wa(), this.store = ih ? window.localStorage : /* @__PURE__ */ Object.create(null), this.cookies = t.req ? new wa(t.req.headers.cookie) : new wa(), Object.assign(this.store, this.cookies.getAll()); + t === void 0 && (t = {}), this.cookies = new pa(), this.store = Od ? window.localStorage : /* @__PURE__ */ Object.create(null), this.cookies = t.req ? new pa(t.req.headers.cookie) : new pa(), Object.assign(this.store, this.cookies.getAll()); } return Object.defineProperty(e.prototype, "length", { get: function() { @@ -20742,7 +20164,7 @@ var ih = gn().isBrowser, O1 = 365 * 24 * 60 * 60 * 1e3, L1 = ( "idToken" ]; i.includes(r ?? "") && this.setUniversalItem(t, n, { - expires: new Date(Date.now() + O1) + expires: new Date(Date.now() + cb) }); }, e.prototype.setLocalItem = function(t, n) { this.store[t] = n; @@ -20752,7 +20174,7 @@ var ih = gn().isBrowser, O1 = 365 * 24 * 60 * 60 * 1e3, L1 = ( // `httpOnly` cannot be set via JavaScript: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#JavaScript_access_using_Document.cookie sameSite: !0, // Allow unsecure requests to http://localhost:3000/ when in development. - secure: !(ih && window.location.hostname === "localhost") + secure: !(Od && window.location.hostname === "localhost") })); }, e; }() @@ -20761,7 +20183,7 @@ var ih = gn().isBrowser, O1 = 365 * 24 * 60 * 60 * 1e3, L1 = ( * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var oh = /* @__PURE__ */ function() { +var Ld = /* @__PURE__ */ function() { function e(n) { var r = n || {}, i = r.ValidationData, o = r.Username, s = r.Password, a = r.AuthParameters, u = r.ClientMetadata; this.validationData = i || {}, this.authParameters = a || {}, this.clientMetadata = u || {}, this.username = o, this.password = s; @@ -20778,16 +20200,16 @@ var oh = /* @__PURE__ */ function() { }, t.getClientMetadata = function() { return this.clientMetadata; }, e; -}(), Ke = {}, xs = {}; -xs.byteLength = z1; -xs.toByteArray = R1; -xs.fromByteArray = Y1; -var Gt = [], xt = [], _1 = typeof Uint8Array < "u" ? Uint8Array : Array, Da = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -for (var vr = 0, k1 = Da.length; vr < k1; ++vr) - Gt[vr] = Da[vr], xt[Da.charCodeAt(vr)] = vr; -xt["-".charCodeAt(0)] = 62; -xt["_".charCodeAt(0)] = 63; -function Gp(e) { +}(), Ke = {}, Ss = {}; +Ss.byteLength = hb; +Ss.toByteArray = pb; +Ss.fromByteArray = mb; +var Gt = [], Ct = [], fb = typeof Uint8Array < "u" ? Uint8Array : Array, Ma = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +for (var vr = 0, db = Ma.length; vr < db; ++vr) + Gt[vr] = Ma[vr], Ct[Ma.charCodeAt(vr)] = vr; +Ct["-".charCodeAt(0)] = 62; +Ct["_".charCodeAt(0)] = 63; +function dp(e) { var t = e.length; if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); @@ -20796,39 +20218,39 @@ function Gp(e) { var r = n === t ? 0 : 4 - n % 4; return [n, r]; } -function z1(e) { - var t = Gp(e), n = t[0], r = t[1]; +function hb(e) { + var t = dp(e), n = t[0], r = t[1]; return (n + r) * 3 / 4 - r; } -function P1(e, t, n) { +function gb(e, t, n) { return (t + n) * 3 / 4 - n; } -function R1(e) { - var t, n = Gp(e), r = n[0], i = n[1], o = new _1(P1(e, r, i)), s = 0, a = i > 0 ? r - 4 : r, u; +function pb(e) { + var t, n = dp(e), r = n[0], i = n[1], o = new fb(gb(e, r, i)), s = 0, a = i > 0 ? r - 4 : r, u; for (u = 0; u < a; u += 4) - t = xt[e.charCodeAt(u)] << 18 | xt[e.charCodeAt(u + 1)] << 12 | xt[e.charCodeAt(u + 2)] << 6 | xt[e.charCodeAt(u + 3)], o[s++] = t >> 16 & 255, o[s++] = t >> 8 & 255, o[s++] = t & 255; - return i === 2 && (t = xt[e.charCodeAt(u)] << 2 | xt[e.charCodeAt(u + 1)] >> 4, o[s++] = t & 255), i === 1 && (t = xt[e.charCodeAt(u)] << 10 | xt[e.charCodeAt(u + 1)] << 4 | xt[e.charCodeAt(u + 2)] >> 2, o[s++] = t >> 8 & 255, o[s++] = t & 255), o; + t = Ct[e.charCodeAt(u)] << 18 | Ct[e.charCodeAt(u + 1)] << 12 | Ct[e.charCodeAt(u + 2)] << 6 | Ct[e.charCodeAt(u + 3)], o[s++] = t >> 16 & 255, o[s++] = t >> 8 & 255, o[s++] = t & 255; + return i === 2 && (t = Ct[e.charCodeAt(u)] << 2 | Ct[e.charCodeAt(u + 1)] >> 4, o[s++] = t & 255), i === 1 && (t = Ct[e.charCodeAt(u)] << 10 | Ct[e.charCodeAt(u + 1)] << 4 | Ct[e.charCodeAt(u + 2)] >> 2, o[s++] = t >> 8 & 255, o[s++] = t & 255), o; } -function U1(e) { +function Mb(e) { return Gt[e >> 18 & 63] + Gt[e >> 12 & 63] + Gt[e >> 6 & 63] + Gt[e & 63]; } -function F1(e, t, n) { +function yb(e, t, n) { for (var r, i = [], o = t; o < n; o += 3) - r = (e[o] << 16 & 16711680) + (e[o + 1] << 8 & 65280) + (e[o + 2] & 255), i.push(U1(r)); + r = (e[o] << 16 & 16711680) + (e[o + 1] << 8 & 65280) + (e[o + 2] & 255), i.push(Mb(r)); return i.join(""); } -function Y1(e) { +function mb(e) { for (var t, n = e.length, r = n % 3, i = [], o = 16383, s = 0, a = n - r; s < a; s += o) - i.push(F1(e, s, s + o > a ? a : s + o)); + i.push(yb(e, s, s + o > a ? a : s + o)); return r === 1 ? (t = e[n - 1], i.push( Gt[t >> 2] + Gt[t << 4 & 63] + "==" )) : r === 2 && (t = (e[n - 2] << 8) + e[n - 1], i.push( Gt[t >> 10] + Gt[t >> 4 & 63] + Gt[t << 2 & 63] + "=" )), i.join(""); } -var Ic = {}; +var cc = {}; /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -Ic.read = function(e, t, n, r, i) { +cc.read = function(e, t, n, r, i) { var o, s, a = i * 8 - r - 1, u = (1 << a) - 1, c = u >> 1, l = -7, f = n ? i - 1 : 0, d = n ? -1 : 1, g = e[t + f]; for (f += d, o = g & (1 << -l) - 1, g >>= -l, l += a; l > 0; o = o * 256 + e[t + f], f += d, l -= 8) ; @@ -20843,7 +20265,7 @@ Ic.read = function(e, t, n, r, i) { } return (g ? -1 : 1) * s * Math.pow(2, o - r); }; -Ic.write = function(e, t, n, r, i, o) { +cc.write = function(e, t, n, r, i, o) { var s, a, u, c = o * 8 - i - 1, l = (1 << c) - 1, f = l >> 1, d = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, g = r ? 0 : o - 1, h = r ? 1 : -1, p = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0; for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (a = isNaN(t) ? 1 : 0, s = l) : (s = Math.floor(Math.log(t) / Math.LN2), t * (u = Math.pow(2, -s)) < 1 && (s--, u *= 2), s + f >= 1 ? t += d / u : t += d * Math.pow(2, 1 - f), t * u >= 2 && (s++, u /= 2), s + f >= l ? (a = 0, s = l) : s + f >= 1 ? (a = (t * u - 1) * Math.pow(2, i), s = s + f) : (a = t * Math.pow(2, f - 1) * Math.pow(2, i), s = 0)); i >= 8; e[n + g] = a & 255, g += h, a /= 256, i -= 8) ; @@ -20851,8 +20273,8 @@ Ic.write = function(e, t, n, r, i, o) { ; e[n + g - h] |= p * 128; }; -var B1 = {}.toString, Q1 = Array.isArray || function(e) { - return B1.call(e) == "[object Array]"; +var vb = {}.toString, wb = Array.isArray || function(e) { + return vb.call(e) == "[object Array]"; }; /*! * The buffer module from node.js, for the browser. @@ -20861,7 +20283,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { * @license MIT */ (function(e) { - var t = xs, n = Ic, r = Q1; + var t = Ss, n = cc, r = wb; e.Buffer = a, e.SlowBuffer = v, e.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT = zt.TYPED_ARRAY_SUPPORT !== void 0 ? zt.TYPED_ARRAY_SUPPORT : i(), e.kMaxLength = o(); function i() { try { @@ -21041,7 +20463,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { case "utf8": case "utf-8": case void 0: - return V(E).length; + return $(E).length; case "ucs2": case "ucs-2": case "utf16le": @@ -21053,7 +20475,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { return le(E).length; default: if (A) - return V(E).length; + return $(E).length; y = ("" + y).toLowerCase(), A = !0; } } @@ -21065,7 +20487,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { for (E || (E = "utf8"); ; ) switch (E) { case "hex": - return ie(this, y, M); + return re(this, y, M); case "utf8": case "utf-8": return T(this, y, M); @@ -21088,7 +20510,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { } } a.prototype._isBuffer = !0; - function N(E, y, M) { + function I(E, y, M) { var A = E[y]; E[y] = E[M], E[M] = A; } @@ -21097,21 +20519,21 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { if (y % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); for (var M = 0; M < y; M += 2) - N(this, M, M + 1); + I(this, M, M + 1); return this; }, a.prototype.swap32 = function() { var y = this.length; if (y % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); for (var M = 0; M < y; M += 4) - N(this, M, M + 3), N(this, M + 1, M + 2); + I(this, M, M + 3), I(this, M + 1, M + 2); return this; }, a.prototype.swap64 = function() { var y = this.length; if (y % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); for (var M = 0; M < y; M += 8) - N(this, M, M + 7), N(this, M + 1, M + 6), N(this, M + 2, M + 5), N(this, M + 3, M + 4); + I(this, M, M + 7), I(this, M + 1, M + 6), I(this, M + 2, M + 5), I(this, M + 3, M + 4); return this; }, a.prototype.toString = function() { var y = this.length | 0; @@ -21136,14 +20558,14 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { return 1; if (M >>>= 0, A >>>= 0, Y >>>= 0, ee >>>= 0, this === y) return 0; - for (var Z = ee - Y, ve = A - M, Ce = Math.min(Z, ve), Se = this.slice(Y, ee), Pe = y.slice(M, A), Ve = 0; Ve < Ce; ++Ve) + for (var Z = ee - Y, me = A - M, Ce = Math.min(Z, me), Se = this.slice(Y, ee), Pe = y.slice(M, A), Ve = 0; Ve < Ce; ++Ve) if (Se[Ve] !== Pe[Ve]) { - Z = Se[Ve], ve = Pe[Ve]; + Z = Se[Ve], me = Pe[Ve]; break; } - return Z < ve ? -1 : ve < Z ? 1 : 0; + return Z < me ? -1 : me < Z ? 1 : 0; }; - function I(E, y, M, A, Y) { + function N(E, y, M, A, Y) { if (E.length === 0) return -1; if (typeof M == "string" ? (A = M, M = 0) : M > 2147483647 ? M = 2147483647 : M < -2147483648 && (M = -2147483648), M = +M, isNaN(M) && (M = Y ? 0 : E.length - 1), M < 0 && (M = E.length + M), M >= E.length) { @@ -21156,17 +20578,17 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { else return -1; if (typeof y == "string" && (y = a.from(y, A)), a.isBuffer(y)) - return y.length === 0 ? -1 : B(E, y, M, A, Y); + return y.length === 0 ? -1 : Q(E, y, M, A, Y); if (typeof y == "number") - return y = y & 255, a.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? Y ? Uint8Array.prototype.indexOf.call(E, y, M) : Uint8Array.prototype.lastIndexOf.call(E, y, M) : B(E, [y], M, A, Y); + return y = y & 255, a.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? Y ? Uint8Array.prototype.indexOf.call(E, y, M) : Uint8Array.prototype.lastIndexOf.call(E, y, M) : Q(E, [y], M, A, Y); throw new TypeError("val must be string, number or Buffer"); } - function B(E, y, M, A, Y) { - var ee = 1, Z = E.length, ve = y.length; + function Q(E, y, M, A, Y) { + var ee = 1, Z = E.length, me = y.length; if (A !== void 0 && (A = String(A).toLowerCase(), A === "ucs2" || A === "ucs-2" || A === "utf16le" || A === "utf-16le")) { if (E.length < 2 || y.length < 2) return -1; - ee = 2, Z /= 2, ve /= 2, M /= 2; + ee = 2, Z /= 2, me /= 2, M /= 2; } function Ce(tn, lr) { return ee === 1 ? tn[lr] : tn.readUInt16BE(lr * ee); @@ -21176,13 +20598,13 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { var Pe = -1; for (Se = M; Se < Z; Se++) if (Ce(E, Se) === Ce(y, Pe === -1 ? 0 : Se - Pe)) { - if (Pe === -1 && (Pe = Se), Se - Pe + 1 === ve) + if (Pe === -1 && (Pe = Se), Se - Pe + 1 === me) return Pe * ee; } else Pe !== -1 && (Se -= Se - Pe), Pe = -1; } else - for (M + ve > Z && (M = Z - ve), Se = M; Se >= 0; Se--) { - for (var Ve = !0, De = 0; De < ve; De++) + for (M + me > Z && (M = Z - me), Se = M; Se >= 0; Se--) { + for (var Ve = !0, De = 0; De < me; De++) if (Ce(E, Se + De) !== Ce(y, De)) { Ve = !1; break; @@ -21195,9 +20617,9 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { a.prototype.includes = function(y, M, A) { return this.indexOf(y, M, A) !== -1; }, a.prototype.indexOf = function(y, M, A) { - return I(this, y, M, A, !0); + return N(this, y, M, A, !0); }, a.prototype.lastIndexOf = function(y, M, A) { - return I(this, y, M, A, !1); + return N(this, y, M, A, !1); }; function z(E, y, M, A) { M = Number(M) || 0; @@ -21208,27 +20630,27 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { throw new TypeError("Invalid hex string"); A > ee / 2 && (A = ee / 2); for (var Z = 0; Z < A; ++Z) { - var ve = parseInt(y.substr(Z * 2, 2), 16); - if (isNaN(ve)) + var me = parseInt(y.substr(Z * 2, 2), 16); + if (isNaN(me)) return Z; - E[M + Z] = ve; + E[M + Z] = me; } return Z; } - function W(E, y, M, A) { - return Me(V(y, E.length - M), E, M, A); + function H(E, y, M, A) { + return pe($(y, E.length - M), E, M, A); } - function $(E, y, M, A) { - return Me(fe(y), E, M, A); + function W(E, y, M, A) { + return pe(fe(y), E, M, A); } function b(E, y, M, A) { - return $(E, y, M, A); + return W(E, y, M, A); } function k(E, y, M, A) { - return Me(le(y), E, M, A); + return pe(le(y), E, M, A); } function U(E, y, M, A) { - return Me(te(y, E.length - M), E, M, A); + return pe(te(y, E.length - M), E, M, A); } a.prototype.write = function(y, M, A, Y) { if (M === void 0) @@ -21251,9 +20673,9 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { return z(this, y, M, A); case "utf8": case "utf-8": - return W(this, y, M, A); + return H(this, y, M, A); case "ascii": - return $(this, y, M, A); + return W(this, y, M, A); case "latin1": case "binary": return b(this, y, M, A); @@ -21281,10 +20703,10 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { function T(E, y, M) { M = Math.min(E.length, M); for (var A = [], Y = y; Y < M; ) { - var ee = E[Y], Z = null, ve = ee > 239 ? 4 : ee > 223 ? 3 : ee > 191 ? 2 : 1; - if (Y + ve <= M) { + var ee = E[Y], Z = null, me = ee > 239 ? 4 : ee > 223 ? 3 : ee > 191 ? 2 : 1; + if (Y + me <= M) { var Ce, Se, Pe, Ve; - switch (ve) { + switch (me) { case 1: ee < 128 && (Z = ee); break; @@ -21298,7 +20720,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { Ce = E[Y + 1], Se = E[Y + 2], Pe = E[Y + 3], (Ce & 192) === 128 && (Se & 192) === 128 && (Pe & 192) === 128 && (Ve = (ee & 15) << 18 | (Ce & 63) << 12 | (Se & 63) << 6 | Pe & 63, Ve > 65535 && Ve < 1114112 && (Z = Ve)); } } - Z === null ? (Z = 65533, ve = 1) : Z > 65535 && (Z -= 65536, A.push(Z >>> 10 & 1023 | 55296), Z = 56320 | Z & 1023), A.push(Z), Y += ve; + Z === null ? (Z = 65533, me = 1) : Z > 65535 && (Z -= 65536, A.push(Z >>> 10 & 1023 | 55296), Z = 56320 | Z & 1023), A.push(Z), Y += me; } return R(A); } @@ -21328,11 +20750,11 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { A += String.fromCharCode(E[Y]); return A; } - function ie(E, y, M) { + function re(E, y, M) { var A = E.length; (!y || y < 0) && (y = 0), (!M || M < 0 || M > A) && (M = A); for (var Y = "", ee = y; ee < M; ++ee) - Y += Q(E[ee]); + Y += B(E[ee]); return Y; } function L(E, y, M) { @@ -21426,18 +20848,18 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { var ee = Math.pow(2, 8 * A) - 1; P(this, y, M, A, ee, 0); } - var Z = 1, ve = 0; - for (this[M] = y & 255; ++ve < A && (Z *= 256); ) - this[M + ve] = y / Z & 255; + var Z = 1, me = 0; + for (this[M] = y & 255; ++me < A && (Z *= 256); ) + this[M + me] = y / Z & 255; return M + A; }, a.prototype.writeUIntBE = function(y, M, A, Y) { if (y = +y, M = M | 0, A = A | 0, !Y) { var ee = Math.pow(2, 8 * A) - 1; P(this, y, M, A, ee, 0); } - var Z = A - 1, ve = 1; - for (this[M + Z] = y & 255; --Z >= 0 && (ve *= 256); ) - this[M + Z] = y / ve & 255; + var Z = A - 1, me = 1; + for (this[M + Z] = y & 255; --Z >= 0 && (me *= 256); ) + this[M + Z] = y / me & 255; return M + A; }, a.prototype.writeUInt8 = function(y, M, A) { return y = +y, M = M | 0, A || P(this, y, M, 1, 255, 0), a.TYPED_ARRAY_SUPPORT || (y = Math.floor(y)), this[M] = y & 255, M + 1; @@ -21466,18 +20888,18 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { var ee = Math.pow(2, 8 * A - 1); P(this, y, M, A, ee - 1, -ee); } - var Z = 0, ve = 1, Ce = 0; - for (this[M] = y & 255; ++Z < A && (ve *= 256); ) - y < 0 && Ce === 0 && this[M + Z - 1] !== 0 && (Ce = 1), this[M + Z] = (y / ve >> 0) - Ce & 255; + var Z = 0, me = 1, Ce = 0; + for (this[M] = y & 255; ++Z < A && (me *= 256); ) + y < 0 && Ce === 0 && this[M + Z - 1] !== 0 && (Ce = 1), this[M + Z] = (y / me >> 0) - Ce & 255; return M + A; }, a.prototype.writeIntBE = function(y, M, A, Y) { if (y = +y, M = M | 0, !Y) { var ee = Math.pow(2, 8 * A - 1); P(this, y, M, A, ee - 1, -ee); } - var Z = A - 1, ve = 1, Ce = 0; - for (this[M + Z] = y & 255; --Z >= 0 && (ve *= 256); ) - y < 0 && Ce === 0 && this[M + Z + 1] !== 0 && (Ce = 1), this[M + Z] = (y / ve >> 0) - Ce & 255; + var Z = A - 1, me = 1, Ce = 0; + for (this[M + Z] = y & 255; --Z >= 0 && (me *= 256); ) + y < 0 && Ce === 0 && this[M + Z + 1] !== 0 && (Ce = 1), this[M + Z] = (y / me >> 0) - Ce & 255; return M + A; }, a.prototype.writeInt8 = function(y, M, A) { return y = +y, M = M | 0, A || P(this, y, M, 1, 127, -128), a.TYPED_ARRAY_SUPPORT || (y = Math.floor(y)), y < 0 && (y = 255 + y + 1), this[M] = y & 255, M + 1; @@ -21557,27 +20979,27 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { for (Z = M; Z < A; ++Z) this[Z] = y; else { - var ve = a.isBuffer(y) ? y : V(new a(y, Y).toString()), Ce = ve.length; + var me = a.isBuffer(y) ? y : $(new a(y, Y).toString()), Ce = me.length; for (Z = 0; Z < A - M; ++Z) - this[Z + M] = ve[Z % Ce]; + this[Z + M] = me[Z % Ce]; } return this; }; var G = /[^+\/0-9A-Za-z-_]/g; function he(E) { - if (E = H(E).replace(G, ""), E.length < 2) + if (E = V(E).replace(G, ""), E.length < 2) return ""; for (; E.length % 4 !== 0; ) E = E + "="; return E; } - function H(E) { + function V(E) { return E.trim ? E.trim() : E.replace(/^\s+|\s+$/g, ""); } - function Q(E) { + function B(E) { return E < 16 ? "0" + E.toString(16) : E.toString(16); } - function V(E, y) { + function $(E, y) { y = y || 1 / 0; for (var M, A = E.length, Y = null, ee = [], Z = 0; Z < A; ++Z) { if (M = E.charCodeAt(Z), M > 55295 && M < 57344) { @@ -21645,7 +21067,7 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { function le(E) { return t.toByteArray(he(E)); } - function Me(E, y, M, A) { + function pe(E, y, M, A) { for (var Y = 0; Y < A && !(Y + M >= y.length || Y >= E.length); ++Y) y[Y + M] = E[Y]; return Y; @@ -21654,117 +21076,117 @@ var B1 = {}.toString, Q1 = Array.isArray || function(e) { return E !== E; } })(Ke); -var Lt; -typeof window < "u" && window.crypto && (Lt = window.crypto); -!Lt && typeof window < "u" && window.msCrypto && (Lt = window.msCrypto); -!Lt && typeof global < "u" && global.crypto && (Lt = global.crypto); -if (!Lt && typeof require == "function") +var Ot; +typeof window < "u" && window.crypto && (Ot = window.crypto); +!Ot && typeof window < "u" && window.msCrypto && (Ot = window.msCrypto); +!Ot && typeof global < "u" && global.crypto && (Ot = global.crypto); +if (!Ot && typeof require == "function") try { - Lt = require("crypto"); + Ot = require("crypto"); } catch { } -function $1() { - if (Lt) { - if (typeof Lt.getRandomValues == "function") +function Db() { + if (Ot) { + if (typeof Ot.getRandomValues == "function") try { - return Lt.getRandomValues(new Uint32Array(1))[0]; + return Ot.getRandomValues(new Uint32Array(1))[0]; } catch { } - if (typeof Lt.randomBytes == "function") + if (typeof Ot.randomBytes == "function") try { - return Lt.randomBytes(4).readInt32LE(); + return Ot.randomBytes(4).readInt32LE(); } catch { } } throw new Error("Native crypto module could not be used to get secure random number."); } -function W1(e) { +function Ab(e) { for (var t = e.words, n = e.sigBytes, r = [], i = 0; i < n; i++) { var o = t[i >>> 2] >>> 24 - i % 4 * 8 & 255; r.push((o >>> 4).toString(16)), r.push((o & 15).toString(16)); } return r.join(""); } -var V1 = /* @__PURE__ */ function() { +var Eb = /* @__PURE__ */ function() { function e(n, r) { n = this.words = n || [], r != null ? this.sigBytes = r : this.sigBytes = n.length * 4; } var t = e.prototype; return t.random = function(r) { for (var i = [], o = 0; o < r; o += 4) - i.push($1()); + i.push(Db()); return new e(i, r); }, t.toString = function() { - return W1(this); + return Ab(this); }, e; }(); -function me(e, t) { +function ye(e, t) { e != null && this.fromString(e, t); } function vt() { - return new me(null); + return new ye(null); } -var Cn, H1 = 244837814094590, sh = (H1 & 16777215) == 15715070; -function q1(e, t, n, r, i, o) { +var Sn, Ib = 244837814094590, _d = (Ib & 16777215) == 15715070; +function Nb(e, t, n, r, i, o) { for (; --o >= 0; ) { var s = t * this[e++] + n[r] + i; i = Math.floor(s / 67108864), n[r++] = s & 67108863; } return i; } -function K1(e, t, n, r, i, o) { +function Tb(e, t, n, r, i, o) { for (var s = t & 32767, a = t >> 15; --o >= 0; ) { var u = this[e] & 32767, c = this[e++] >> 15, l = a * u + c * s; u = s * u + ((l & 32767) << 15) + n[r] + (i & 1073741823), i = (u >>> 30) + (l >>> 15) + a * c + (i >>> 30), n[r++] = u & 1073741823; } return i; } -function G1(e, t, n, r, i, o) { +function jb(e, t, n, r, i, o) { for (var s = t & 16383, a = t >> 14; --o >= 0; ) { var u = this[e] & 16383, c = this[e++] >> 14, l = a * u + c * s; u = s * u + ((l & 16383) << 14) + n[r] + i, i = (u >> 28) + (l >> 14) + a * c, n[r++] = u & 268435455; } return i; } -var ah = typeof navigator < "u"; -ah && sh && navigator.appName == "Microsoft Internet Explorer" ? (me.prototype.am = K1, Cn = 30) : ah && sh && navigator.appName != "Netscape" ? (me.prototype.am = q1, Cn = 26) : (me.prototype.am = G1, Cn = 28); -me.prototype.DB = Cn; -me.prototype.DM = (1 << Cn) - 1; -me.prototype.DV = 1 << Cn; -var Nc = 52; -me.prototype.FV = Math.pow(2, Nc); -me.prototype.F1 = Nc - Cn; -me.prototype.F2 = 2 * Cn - Nc; -var J1 = "0123456789abcdefghijklmnopqrstuvwxyz", Os = new Array(), Hr, _t; -Hr = "0".charCodeAt(0); -for (_t = 0; _t <= 9; ++_t) - Os[Hr++] = _t; -Hr = "a".charCodeAt(0); -for (_t = 10; _t < 36; ++_t) - Os[Hr++] = _t; -Hr = "A".charCodeAt(0); -for (_t = 10; _t < 36; ++_t) - Os[Hr++] = _t; -function uh(e) { - return J1.charAt(e); -} -function Z1(e, t) { - var n = Os[e.charCodeAt(t)]; +var kd = typeof navigator < "u"; +kd && _d && navigator.appName == "Microsoft Internet Explorer" ? (ye.prototype.am = Tb, Sn = 30) : kd && _d && navigator.appName != "Netscape" ? (ye.prototype.am = Nb, Sn = 26) : (ye.prototype.am = jb, Sn = 28); +ye.prototype.DB = Sn; +ye.prototype.DM = (1 << Sn) - 1; +ye.prototype.DV = 1 << Sn; +var lc = 52; +ye.prototype.FV = Math.pow(2, lc); +ye.prototype.F1 = lc - Sn; +ye.prototype.F2 = 2 * Sn - lc; +var Sb = "0123456789abcdefghijklmnopqrstuvwxyz", bs = new Array(), Vr, Lt; +Vr = "0".charCodeAt(0); +for (Lt = 0; Lt <= 9; ++Lt) + bs[Vr++] = Lt; +Vr = "a".charCodeAt(0); +for (Lt = 10; Lt < 36; ++Lt) + bs[Vr++] = Lt; +Vr = "A".charCodeAt(0); +for (Lt = 10; Lt < 36; ++Lt) + bs[Vr++] = Lt; +function zd(e) { + return Sb.charAt(e); +} +function bb(e, t) { + var n = bs[e.charCodeAt(t)]; return n ?? -1; } -function X1(e) { +function Cb(e) { for (var t = this.t - 1; t >= 0; --t) e[t] = this[t]; e.t = this.t, e.s = this.s; } -function eC(e) { +function xb(e) { this.t = 1, this.s = e < 0 ? -1 : 0, e > 0 ? this[0] = e : e < -1 ? this[0] = e + this.DV : this.t = 0; } -function Tc(e) { +function fc(e) { var t = vt(); return t.fromInt(e), t; } -function tC(e, t) { +function Ob(e, t) { var n; if (t == 16) n = 4; @@ -21780,20 +21202,20 @@ function tC(e, t) { throw new Error("Only radix 2, 4, 8, 16, 32 are supported"); this.t = 0, this.s = 0; for (var r = e.length, i = !1, o = 0; --r >= 0; ) { - var s = Z1(e, r); + var s = bb(e, r); if (s < 0) { e.charAt(r) == "-" && (i = !0); continue; } i = !1, o == 0 ? this[this.t++] = s : o + n > this.DB ? (this[this.t - 1] |= (s & (1 << this.DB - o) - 1) << o, this[this.t++] = s >> this.DB - o) : this[this.t - 1] |= s << o, o += n, o >= this.DB && (o -= this.DB); } - this.clamp(), i && me.ZERO.subTo(this, this); + this.clamp(), i && ye.ZERO.subTo(this, this); } -function nC() { +function Lb() { for (var e = this.s & this.DM; this.t > 0 && this[this.t - 1] == e; ) --this.t; } -function rC(e) { +function _b(e) { if (this.s < 0) return "-" + this.negate().toString(e); var t; @@ -21811,18 +21233,18 @@ function rC(e) { throw new Error("Only radix 2, 4, 8, 16, 32 are supported"); var n = (1 << t) - 1, r, i = !1, o = "", s = this.t, a = this.DB - s * this.DB % t; if (s-- > 0) - for (a < this.DB && (r = this[s] >> a) > 0 && (i = !0, o = uh(r)); s >= 0; ) - a < t ? (r = (this[s] & (1 << a) - 1) << t - a, r |= this[--s] >> (a += this.DB - t)) : (r = this[s] >> (a -= t) & n, a <= 0 && (a += this.DB, --s)), r > 0 && (i = !0), i && (o += uh(r)); + for (a < this.DB && (r = this[s] >> a) > 0 && (i = !0, o = zd(r)); s >= 0; ) + a < t ? (r = (this[s] & (1 << a) - 1) << t - a, r |= this[--s] >> (a += this.DB - t)) : (r = this[s] >> (a -= t) & n, a <= 0 && (a += this.DB, --s)), r > 0 && (i = !0), i && (o += zd(r)); return i ? o : "0"; } -function iC() { +function kb() { var e = vt(); - return me.ZERO.subTo(this, e), e; + return ye.ZERO.subTo(this, e), e; } -function oC() { +function zb() { return this.s < 0 ? this.negate() : this; } -function sC(e) { +function Pb(e) { var t = this.s - e.s; if (t != 0) return t; @@ -21834,14 +21256,14 @@ function sC(e) { return t; return 0; } -function jc(e) { +function dc(e) { var t = 1, n; return (n = e >>> 16) != 0 && (e = n, t += 16), (n = e >> 8) != 0 && (e = n, t += 8), (n = e >> 4) != 0 && (e = n, t += 4), (n = e >> 2) != 0 && (e = n, t += 2), (n = e >> 1) != 0 && (e = n, t += 1), t; } -function aC() { - return this.t <= 0 ? 0 : this.DB * (this.t - 1) + jc(this[this.t - 1] ^ this.s & this.DM); +function Rb() { + return this.t <= 0 ? 0 : this.DB * (this.t - 1) + dc(this[this.t - 1] ^ this.s & this.DM); } -function uC(e, t) { +function Ub(e, t) { var n; for (n = this.t - 1; n >= 0; --n) t[n + e] = this[n]; @@ -21849,12 +21271,12 @@ function uC(e, t) { t[n] = 0; t.t = this.t + e, t.s = this.s; } -function cC(e, t) { +function Fb(e, t) { for (var n = e; n < this.t; ++n) t[n - e] = this[n]; t.t = Math.max(this.t - e, 0), t.s = this.s; } -function lC(e, t) { +function Yb(e, t) { var n = e % this.DB, r = this.DB - n, i = (1 << r) - 1, o = Math.floor(e / this.DB), s = this.s << n & this.DM, a; for (a = this.t - 1; a >= 0; --a) t[a + o + 1] = this[a] >> r | s, s = (this[a] & i) << n; @@ -21862,7 +21284,7 @@ function lC(e, t) { t[a] = 0; t[o] = s, t.t = this.t + o + 1, t.s = this.s, t.clamp(); } -function fC(e, t) { +function Qb(e, t) { t.s = this.s; var n = Math.floor(e / this.DB); if (n >= this.t) { @@ -21875,7 +21297,7 @@ function fC(e, t) { t[s - n - 1] |= (this[s] & o) << i, t[s - n] = this[s] >> r; r > 0 && (t[this.t - n - 1] |= (this.s & o) << i), t.t = this.t - n, t.clamp(); } -function dC(e, t) { +function Bb(e, t) { for (var n = 0, r = 0, i = Math.min(e.t, this.t); n < i; ) r += this[n] - e[n], t[n++] = r & this.DM, r >>= this.DB; if (e.t < this.t) { @@ -21889,15 +21311,15 @@ function dC(e, t) { } t.s = r < 0 ? -1 : 0, r < -1 ? t[n++] = this.DV + r : r > 0 && (t[n++] = r), t.t = n, t.clamp(); } -function hC(e, t) { +function $b(e, t) { var n = this.abs(), r = e.abs(), i = n.t; for (t.t = i + r.t; --i >= 0; ) t[i] = 0; for (i = 0; i < r.t; ++i) t[i + n.t] = n.am(0, r[i], t, i, 0, n.t); - t.s = 0, t.clamp(), this.s != e.s && me.ZERO.subTo(t, t); + t.s = 0, t.clamp(), this.s != e.s && ye.ZERO.subTo(t, t); } -function gC(e) { +function Wb(e) { for (var t = this.abs(), n = e.t = 2 * t.t; --n >= 0; ) e[n] = 0; for (n = 0; n < t.t - 1; ++n) { @@ -21906,7 +21328,7 @@ function gC(e) { } e.t > 0 && (e[e.t - 1] += t.am(n, t[n], e, 2 * n, 0, 1)), e.s = 0, e.clamp(); } -function pC(e, t, n) { +function Vb(e, t, n) { var r = e.abs(); if (!(r.t <= 0)) { var i = this.abs(); @@ -21915,12 +21337,12 @@ function pC(e, t, n) { return; } n == null && (n = vt()); - var o = vt(), s = this.s, a = e.s, u = this.DB - jc(r[r.t - 1]); + var o = vt(), s = this.s, a = e.s, u = this.DB - dc(r[r.t - 1]); u > 0 ? (r.lShiftTo(u, o), i.lShiftTo(u, n)) : (r.copyTo(o), i.copyTo(n)); var c = o.t, l = o[c - 1]; if (l != 0) { var f = l * (1 << this.F1) + (c > 1 ? o[c - 2] >> this.F2 : 0), d = this.FV / f, g = (1 << this.F1) / f, h = 1 << this.F2, p = n.t, m = p - c, v = t ?? vt(); - for (o.dlShiftTo(m, v), n.compareTo(v) >= 0 && (n[n.t++] = 1, n.subTo(v, n)), me.ONE.dlShiftTo(c, v), v.subTo(o, o); o.t < c; ) + for (o.dlShiftTo(m, v), n.compareTo(v) >= 0 && (n[n.t++] = 1, n.subTo(v, n)), ye.ONE.dlShiftTo(c, v), v.subTo(o, o); o.t < c; ) o[o.t++] = 0; for (; --m >= 0; ) { var w = n[--p] == l ? this.DM : Math.floor(n[p] * d + (n[p - 1] + h) * g); @@ -21928,15 +21350,15 @@ function pC(e, t, n) { for (o.dlShiftTo(m, v), n.subTo(v, n); n[p] < --w; ) n.subTo(v, n); } - t != null && (n.drShiftTo(c, t), s != a && me.ZERO.subTo(t, t)), n.t = c, n.clamp(), u > 0 && n.rShiftTo(u, n), s < 0 && me.ZERO.subTo(n, n); + t != null && (n.drShiftTo(c, t), s != a && ye.ZERO.subTo(t, t)), n.t = c, n.clamp(), u > 0 && n.rShiftTo(u, n), s < 0 && ye.ZERO.subTo(n, n); } } } -function MC(e) { +function Hb(e) { var t = vt(); - return this.abs().divRemTo(e, null, t), this.s < 0 && t.compareTo(me.ZERO) > 0 && e.subTo(t, t), t; + return this.abs().divRemTo(e, null, t), this.s < 0 && t.compareTo(ye.ZERO) > 0 && e.subTo(t, t), t; } -function yC() { +function qb() { if (this.t < 1) return 0; var e = this[0]; @@ -21945,10 +21367,10 @@ function yC() { var t = e & 3; return t = t * (2 - (e & 15) * t) & 15, t = t * (2 - (e & 255) * t) & 255, t = t * (2 - ((e & 65535) * t & 65535)) & 65535, t = t * (2 - e * t % this.DV) % this.DV, t > 0 ? this.DV - t : -t; } -function mC(e) { +function Kb(e) { return this.compareTo(e) == 0; } -function vC(e, t) { +function Gb(e, t) { for (var n = 0, r = 0, i = Math.min(e.t, this.t); n < i; ) r += this[n] + e[n], t[n++] = r & this.DM, r >>= this.DB; if (e.t < this.t) { @@ -21962,34 +21384,34 @@ function vC(e, t) { } t.s = r < 0 ? -1 : 0, r > 0 ? t[n++] = r : r < -1 && (t[n++] = this.DV + r), t.t = n, t.clamp(); } -function wC(e) { +function Jb(e) { var t = vt(); return this.addTo(e, t), t; } -function DC(e) { +function Zb(e) { var t = vt(); return this.subTo(e, t), t; } -function AC(e) { +function Xb(e) { var t = vt(); return this.multiplyTo(e, t), t; } -function EC(e) { +function e1(e) { var t = vt(); return this.divRemTo(e, t, null), t; } -function qr(e) { +function Hr(e) { this.m = e, this.mp = e.invDigit(), this.mpl = this.mp & 32767, this.mph = this.mp >> 15, this.um = (1 << e.DB - 15) - 1, this.mt2 = 2 * e.t; } -function IC(e) { +function t1(e) { var t = vt(); - return e.abs().dlShiftTo(this.m.t, t), t.divRemTo(this.m, null, t), e.s < 0 && t.compareTo(me.ZERO) > 0 && this.m.subTo(t, t), t; + return e.abs().dlShiftTo(this.m.t, t), t.divRemTo(this.m, null, t), e.s < 0 && t.compareTo(ye.ZERO) > 0 && this.m.subTo(t, t), t; } -function NC(e) { +function n1(e) { var t = vt(); return e.copyTo(t), this.reduce(t), t; } -function TC(e) { +function r1(e) { for (; e.t <= this.mt2; ) e[e.t++] = 0; for (var t = 0; t < this.m.t; ++t) { @@ -21999,19 +21421,19 @@ function TC(e) { } e.clamp(), e.drShiftTo(this.m.t, e), e.compareTo(this.m) >= 0 && e.subTo(this.m, e); } -function jC(e, t) { +function i1(e, t) { e.squareTo(t), this.reduce(t); } -function SC(e, t, n) { +function o1(e, t, n) { e.multiplyTo(t, n), this.reduce(n); } -qr.prototype.convert = IC; -qr.prototype.revert = NC; -qr.prototype.reduce = TC; -qr.prototype.mulTo = SC; -qr.prototype.sqrTo = jC; -function bC(e, t, n) { - var r = e.bitLength(), i, o = Tc(1), s = new qr(t); +Hr.prototype.convert = t1; +Hr.prototype.revert = n1; +Hr.prototype.reduce = r1; +Hr.prototype.mulTo = o1; +Hr.prototype.sqrTo = i1; +function s1(e, t, n) { + var r = e.bitLength(), i, o = fc(1), s = new Hr(t); if (r <= 0) return o; r < 18 ? i = 1 : r < 48 ? i = 3 : r < 144 ? i = 4 : r < 768 ? i = 5 : i = 6; @@ -22022,7 +21444,7 @@ function bC(e, t, n) { a[u] = vt(), s.mulTo(f, a[u - 2], a[u]), u += 2; } var d = e.t - 1, g, h = !0, p = vt(), m; - for (r = jc(e[d]) - 1; d >= 0; ) { + for (r = dc(e[d]) - 1; d >= 0; ) { for (r >= c ? g = e[d] >> r - c & l : (g = (e[d] & (1 << r + 1) - 1) << c - r, d > 0 && (g |= e[d - 1] >> this.DB + r - c)), u = i; !(g & 1); ) g >>= 1, --u; if ((r -= u) < 0 && (r += this.DB, --d), h) @@ -22038,44 +21460,44 @@ function bC(e, t, n) { var v = s.revert(o); return n(null, v), v; } -me.prototype.copyTo = X1; -me.prototype.fromInt = eC; -me.prototype.fromString = tC; -me.prototype.clamp = nC; -me.prototype.dlShiftTo = uC; -me.prototype.drShiftTo = cC; -me.prototype.lShiftTo = lC; -me.prototype.rShiftTo = fC; -me.prototype.subTo = dC; -me.prototype.multiplyTo = hC; -me.prototype.squareTo = gC; -me.prototype.divRemTo = pC; -me.prototype.invDigit = yC; -me.prototype.addTo = vC; -me.prototype.toString = rC; -me.prototype.negate = iC; -me.prototype.abs = oC; -me.prototype.compareTo = sC; -me.prototype.bitLength = aC; -me.prototype.mod = MC; -me.prototype.equals = mC; -me.prototype.add = wC; -me.prototype.subtract = DC; -me.prototype.multiply = AC; -me.prototype.divide = EC; -me.prototype.modPow = bC; -me.ZERO = Tc(0); -me.ONE = Tc(1); +ye.prototype.copyTo = Cb; +ye.prototype.fromInt = xb; +ye.prototype.fromString = Ob; +ye.prototype.clamp = Lb; +ye.prototype.dlShiftTo = Ub; +ye.prototype.drShiftTo = Fb; +ye.prototype.lShiftTo = Yb; +ye.prototype.rShiftTo = Qb; +ye.prototype.subTo = Bb; +ye.prototype.multiplyTo = $b; +ye.prototype.squareTo = Wb; +ye.prototype.divRemTo = Vb; +ye.prototype.invDigit = qb; +ye.prototype.addTo = Gb; +ye.prototype.toString = _b; +ye.prototype.negate = kb; +ye.prototype.abs = zb; +ye.prototype.compareTo = Pb; +ye.prototype.bitLength = Rb; +ye.prototype.mod = Hb; +ye.prototype.equals = Kb; +ye.prototype.add = Jb; +ye.prototype.subtract = Zb; +ye.prototype.multiply = Xb; +ye.prototype.divide = e1; +ye.prototype.modPow = s1; +ye.ZERO = fc(0); +ye.ONE = fc(1); /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -function Aa(e) { - return Ke.Buffer.from(new V1().random(e).toString(), "hex"); +function ya(e) { + return Ke.Buffer.from(new Eb().random(e).toString(), "hex"); } -var CC = /^[89a-f]/i, xC = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF", OC = "userAttributes.", wr = /* @__PURE__ */ function() { +var a1 = /^[89a-f]/i, u1 = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF", c1 = "userAttributes.", wr = /* @__PURE__ */ function() { function e(n) { - this.N = new me(xC, 16), this.g = new me("2", 16), this.k = new me(this.hexHash("" + this.padHex(this.N) + this.padHex(this.g)), 16), this.smallAValue = this.generateRandomSmallA(), this.getLargeAValue(function() { + this.N = new ye(u1, 16), this.g = new ye("2", 16), this.k = new ye(this.hexHash("" + this.padHex(this.N) + this.padHex(this.g)), 16), this.smallAValue = this.generateRandomSmallA(), this.getLargeAValue(function() { }), this.infoBits = Ke.Buffer.from("Caldera Derived Key", "utf8"), this.poolName = n; } var t = e.prototype; @@ -22087,10 +21509,10 @@ var CC = /^[89a-f]/i, xC = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD12902 o && r(o, null), i.largeAValue = s, r(null, i.largeAValue); }); }, t.generateRandomSmallA = function() { - var r = Aa(128).toString("hex"), i = new me(r, 16); + var r = ya(128).toString("hex"), i = new ye(r, 16); return i; }, t.generateRandomString = function() { - return Aa(40).toString("base64"); + return ya(40).toString("base64"); }, t.getRandomPassword = function() { return this.randomPassword; }, t.getSaltDevices = function() { @@ -22100,40 +21522,40 @@ var CC = /^[89a-f]/i, xC = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD12902 }, t.generateHashDevice = function(r, i, o) { var s = this; this.randomPassword = this.generateRandomString(); - var a = "" + r + i + ":" + this.randomPassword, u = this.hash(a), c = Aa(16).toString("hex"); - this.SaltToHashDevices = this.padHex(new me(c, 16)), this.g.modPow(new me(this.hexHash(this.SaltToHashDevices + u), 16), this.N, function(l, f) { + var a = "" + r + i + ":" + this.randomPassword, u = this.hash(a), c = ya(16).toString("hex"); + this.SaltToHashDevices = this.padHex(new ye(c, 16)), this.g.modPow(new ye(this.hexHash(this.SaltToHashDevices + u), 16), this.N, function(l, f) { l && o(l, null), s.verifierDevices = s.padHex(f), o(null, null); }); }, t.calculateA = function(r, i) { var o = this; this.g.modPow(r, this.N, function(s, a) { - s && i(s, null), a.mod(o.N).equals(me.ZERO) && i(new Error("Illegal paramater. A mod N cannot be 0."), null), i(null, a); + s && i(s, null), a.mod(o.N).equals(ye.ZERO) && i(new Error("Illegal paramater. A mod N cannot be 0."), null), i(null, a); }); }, t.calculateU = function(r, i) { this.UHexHash = this.hexHash(this.padHex(r) + this.padHex(i)); - var o = new me(this.UHexHash, 16); + var o = new ye(this.UHexHash, 16); return o; }, t.hash = function(r) { - var i = new bn.Sha256(); + var i = new jn.Sha256(); i.update(r); var o = i.digestSync(), s = Ke.Buffer.from(o).toString("hex"); return new Array(64 - s.length).join("0") + s; }, t.hexHash = function(r) { return this.hash(Ke.Buffer.from(r, "hex")); }, t.computehkdf = function(r, i) { - var o = Ke.Buffer.concat([this.infoBits, Ke.Buffer.from(String.fromCharCode(1), "utf8")]), s = new bn.Sha256(i); + var o = Ke.Buffer.concat([this.infoBits, Ke.Buffer.from(String.fromCharCode(1), "utf8")]), s = new jn.Sha256(i); s.update(r); - var a = s.digestSync(), u = new bn.Sha256(a); + var a = s.digestSync(), u = new jn.Sha256(a); u.update(o); var c = u.digestSync(), l = c, f = l.slice(0, 16); return f; }, t.getPasswordAuthenticationKey = function(r, i, o, s, a) { var u = this; - if (o.mod(this.N).equals(me.ZERO)) + if (o.mod(this.N).equals(ye.ZERO)) throw new Error("B cannot be zero."); - if (this.UValue = this.calculateU(this.largeAValue, o), this.UValue.equals(me.ZERO)) + if (this.UValue = this.calculateU(this.largeAValue, o), this.UValue.equals(ye.ZERO)) throw new Error("U cannot be zero."); - var c = "" + this.poolName + r + ":" + i, l = this.hash(c), f = new me(this.hexHash(this.padHex(s) + l), 16); + var c = "" + this.poolName + r + ":" + i, l = this.hash(c), f = new ye(this.hexHash(this.padHex(s) + l), 16); this.calculateS(f, o, function(d, g) { d && a(d, null); var h = u.computehkdf(Ke.Buffer.from(u.padHex(g), "hex"), Ke.Buffer.from(u.padHex(u.UValue), "hex")); @@ -22149,16 +21571,16 @@ var CC = /^[89a-f]/i, xC = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD12902 }); }); }, t.getNewPasswordRequiredChallengeUserAttributePrefix = function() { - return OC; + return c1; }, t.padHex = function(r) { - if (!(r instanceof me)) + if (!(r instanceof ye)) throw new Error("Not a BigInteger"); - var i = r.compareTo(me.ZERO) < 0, o = r.abs().toString(16); - if (o = o.length % 2 !== 0 ? "0" + o : o, o = CC.test(o) ? "00" + o : o, i) { + var i = r.compareTo(ye.ZERO) < 0, o = r.abs().toString(16); + if (o = o.length % 2 !== 0 ? "0" + o : o, o = a1.test(o) ? "00" + o : o, i) { var s = o.split("").map(function(u) { var c = ~parseInt(u, 16) & 15; return "0123456789ABCDEF".charAt(c); - }).join(""), a = new me(s, 16).add(me.ONE); + }).join(""), a = new ye(s, 16).add(ye.ONE); o = a.toString(16), o.toUpperCase().startsWith("FF8") && (o = o.substring(2)); } return o; @@ -22168,7 +21590,7 @@ var CC = /^[89a-f]/i, xC = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD12902 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Jp = /* @__PURE__ */ function() { +var hp = /* @__PURE__ */ function() { function e(n) { this.jwtToken = n || "", this.payload = this.decodePayload(); } @@ -22188,43 +21610,43 @@ var Jp = /* @__PURE__ */ function() { } }, e; }(); -function LC(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, wu(e, t); +function l1(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, cu(e, t); } -function wu(e, t) { - return wu = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { +function cu(e, t) { + return cu = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { return r.__proto__ = i, r; - }, wu(e, t); + }, cu(e, t); } -var Du = /* @__PURE__ */ function(e) { - LC(t, e); +var lu = /* @__PURE__ */ function(e) { + l1(t, e); function t(n) { var r = n === void 0 ? {} : n, i = r.AccessToken; return e.call(this, i || "") || this; } return t; -}(Jp); -function _C(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Au(e, t); +}(hp); +function f1(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, fu(e, t); } -function Au(e, t) { - return Au = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { +function fu(e, t) { + return fu = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { return r.__proto__ = i, r; - }, Au(e, t); + }, fu(e, t); } -var Eu = /* @__PURE__ */ function(e) { - _C(t, e); +var du = /* @__PURE__ */ function(e) { + f1(t, e); function t(n) { var r = n === void 0 ? {} : n, i = r.IdToken; return e.call(this, i || "") || this; } return t; -}(Jp); +}(hp); /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Iu = /* @__PURE__ */ function() { +var hu = /* @__PURE__ */ function() { function e(n) { var r = n === void 0 ? {} : n, i = r.RefreshToken; this.token = i || ""; @@ -22233,34 +21655,34 @@ var Iu = /* @__PURE__ */ function() { return t.getToken = function() { return this.token; }, e; -}(), kC = "5.0.4"; +}(), d1 = "5.0.4"; /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Nu = "aws-amplify/" + kC, En = { - userAgent: Nu + " js", +var gu = "aws-amplify/" + d1, An = { + userAgent: gu + " js", product: "", navigator: null, isReactNative: !1 }; if (typeof navigator < "u" && navigator.product) - switch (En.product = navigator.product || "", En.navigator = navigator || null, navigator.product) { + switch (An.product = navigator.product || "", An.navigator = navigator || null, navigator.product) { case "ReactNative": - En.userAgent = Nu + " react-native", En.isReactNative = !0; + An.userAgent = gu + " react-native", An.isReactNative = !0; break; default: - En.userAgent = Nu + " js", En.isReactNative = !1; + An.userAgent = gu + " js", An.isReactNative = !1; break; } -var zC = function() { - return En.userAgent; +var h1 = function() { + return An.userAgent; }; /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Tu = /* @__PURE__ */ function() { +var pu = /* @__PURE__ */ function() { function e(n) { var r = n === void 0 ? {} : n, i = r.IdToken, o = r.RefreshToken, s = r.AccessToken, a = r.ClockDrift; if (s == null || i == null) @@ -22288,12 +21710,12 @@ var Tu = /* @__PURE__ */ function() { * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var PC = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], RC = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], ch = /* @__PURE__ */ function() { +var g1 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], p1 = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], Pd = /* @__PURE__ */ function() { function e() { } var t = e.prototype; return t.getNowString = function() { - var r = /* @__PURE__ */ new Date(), i = RC[r.getUTCDay()], o = PC[r.getUTCMonth()], s = r.getUTCDate(), a = r.getUTCHours(); + var r = /* @__PURE__ */ new Date(), i = p1[r.getUTCDay()], o = g1[r.getUTCMonth()], s = r.getUTCDate(), a = r.getUTCHours(); a < 10 && (a = "0" + a); var u = r.getUTCMinutes(); u < 10 && (u = "0" + u); @@ -22334,24 +21756,24 @@ var Ir = /* @__PURE__ */ function() { * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Un = {}, UC = /* @__PURE__ */ function() { +var Pn = {}, M1 = /* @__PURE__ */ function() { function e() { } return e.setItem = function(n, r) { - return Un[n] = r, Un[n]; + return Pn[n] = r, Pn[n]; }, e.getItem = function(n) { - return Object.prototype.hasOwnProperty.call(Un, n) ? Un[n] : void 0; + return Object.prototype.hasOwnProperty.call(Pn, n) ? Pn[n] : void 0; }, e.removeItem = function(n) { - return delete Un[n]; + return delete Pn[n]; }, e.clear = function() { - return Un = {}, Un; + return Pn = {}, Pn; }, e; -}(), Zp = /* @__PURE__ */ function() { +}(), gp = /* @__PURE__ */ function() { function e() { try { this.storageWindow = window.localStorage, this.storageWindow.setItem("aws.cognito.test-ls", 1), this.storageWindow.removeItem("aws.cognito.test-ls"); } catch { - this.storageWindow = UC; + this.storageWindow = M1; } } var t = e.prototype; @@ -22363,11 +21785,11 @@ var Un = {}, UC = /* @__PURE__ */ function() { * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : navigator.userAgent : "nodejs", ju = /* @__PURE__ */ function() { +var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : navigator.userAgent : "nodejs", Mu = /* @__PURE__ */ function() { function e(n) { if (n == null || n.Username == null || n.Pool == null) throw new Error("Username and Pool information are required."); - this.username = n.Username || "", this.pool = n.Pool, this.Session = null, this.client = n.Pool.client, this.signInUserSession = null, this.authenticationFlowType = "USER_SRP_AUTH", this.storage = n.Storage || new Zp().getStorage(), this.keyPrefix = "CognitoIdentityServiceProvider." + this.pool.getClientId(), this.userDataKey = this.keyPrefix + "." + this.username + ".userData"; + this.username = n.Username || "", this.pool = n.Pool, this.Session = null, this.client = n.Pool.client, this.signInUserSession = null, this.authenticationFlowType = "USER_SRP_AUTH", this.storage = n.Storage || new gp().getStorage(), this.keyPrefix = "CognitoIdentityServiceProvider." + this.pool.getClientId(), this.userDataKey = this.keyPrefix + "." + this.username + ".userData"; } var t = e.prototype; return t.setSignInUserSession = function(r) { @@ -22398,7 +21820,7 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n }, t.authenticateUser = function(r, i) { return this.authenticationFlowType === "USER_PASSWORD_AUTH" ? this.authenticateUserPlainUsernamePassword(r, i) : this.authenticationFlowType === "USER_SRP_AUTH" || this.authenticationFlowType === "CUSTOM_AUTH" ? this.authenticateUserDefaultAuth(r, i) : i.onFailure(new Error("Authentication flow type is invalid.")); }, t.authenticateUserDefaultAuth = function(r, i) { - var o = this, s = new wr(this.pool.getUserPoolName()), a = new ch(), u, c, l = {}; + var o = this, s = new wr(this.pool.getUserPoolName()), a = new Pd(), u, c, l = {}; this.deviceKey != null && (l.DEVICE_KEY = this.deviceKey), l.USERNAME = this.username, s.getLargeAValue(function(f, d) { f && i.onFailure(f), l.SRP_A = d.toString(16), o.authenticationFlowType === "CUSTOM_AUTH" && (l.CHALLENGE_NAME = "SRP_A"); var g = Object.keys(r.getValidationData()).length !== 0 ? r.getValidationData() : r.getClientMetadata(), h = { @@ -22411,20 +21833,20 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n if (p) return i.onFailure(p); var v = m.ChallengeParameters; - o.username = v.USER_ID_FOR_SRP, o.userDataKey = o.keyPrefix + "." + o.username + ".userData", u = new me(v.SRP_B, 16), c = new me(v.SALT, 16), o.getCachedDeviceKeyAndPassword(), s.getPasswordAuthenticationKey(o.username, r.getPassword(), u, c, function(w, j) { + o.username = v.USER_ID_FOR_SRP, o.userDataKey = o.keyPrefix + "." + o.username + ".userData", u = new ye(v.SRP_B, 16), c = new ye(v.SALT, 16), o.getCachedDeviceKeyAndPassword(), s.getPasswordAuthenticationKey(o.username, r.getPassword(), u, c, function(w, j) { w && i.onFailure(w); - var N = a.getNowString(), I = Ke.Buffer.concat([Ke.Buffer.from(o.pool.getUserPoolName(), "utf8"), Ke.Buffer.from(o.username, "utf8"), Ke.Buffer.from(v.SECRET_BLOCK, "base64"), Ke.Buffer.from(N, "utf8")]), B = new bn.Sha256(j); - B.update(I); - var z = B.digestSync(), W = Ke.Buffer.from(z).toString("base64"), $ = {}; - $.USERNAME = o.username, $.PASSWORD_CLAIM_SECRET_BLOCK = v.SECRET_BLOCK, $.TIMESTAMP = N, $.PASSWORD_CLAIM_SIGNATURE = W, o.deviceKey != null && ($.DEVICE_KEY = o.deviceKey); + var I = a.getNowString(), N = Ke.Buffer.concat([Ke.Buffer.from(o.pool.getUserPoolName(), "utf8"), Ke.Buffer.from(o.username, "utf8"), Ke.Buffer.from(v.SECRET_BLOCK, "base64"), Ke.Buffer.from(I, "utf8")]), Q = new jn.Sha256(j); + Q.update(N); + var z = Q.digestSync(), H = Ke.Buffer.from(z).toString("base64"), W = {}; + W.USERNAME = o.username, W.PASSWORD_CLAIM_SECRET_BLOCK = v.SECRET_BLOCK, W.TIMESTAMP = I, W.PASSWORD_CLAIM_SIGNATURE = H, o.deviceKey != null && (W.DEVICE_KEY = o.deviceKey); var b = function U(x, T) { return o.client.request("RespondToAuthChallenge", x, function(S, R) { - return S && S.code === "ResourceNotFoundException" && S.message.toLowerCase().indexOf("device") !== -1 ? ($.DEVICE_KEY = null, o.deviceKey = null, o.randomPassword = null, o.deviceGroupKey = null, o.clearCachedDeviceKeyAndPassword(), U(x, T)) : T(S, R); + return S && S.code === "ResourceNotFoundException" && S.message.toLowerCase().indexOf("device") !== -1 ? (W.DEVICE_KEY = null, o.deviceKey = null, o.randomPassword = null, o.deviceGroupKey = null, o.clearCachedDeviceKeyAndPassword(), U(x, T)) : T(S, R); }); }, k = { ChallengeName: "PASSWORD_VERIFIER", ClientId: o.pool.getClientId(), - ChallengeResponses: $, + ChallengeResponses: W, Session: m.Session, ClientMetadata: g }; @@ -22490,7 +21912,7 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n DeviceKey: h.DeviceKey, AccessToken: s.signInUserSession.getAccessToken().getJwtToken(), DeviceSecretVerifierConfig: m, - DeviceName: lh + DeviceName: Rd }, function(v, w) { return v ? o.onFailure(v) : (s.deviceKey = r.AuthenticationResult.NewDeviceMetadata.DeviceKey, s.cacheDeviceKeyAndPassword(), w.UserConfirmationNecessary === !0 ? o.onSuccess(s.signInUserSession, w.UserConfirmationNecessary) : o.onSuccess(s.signInUserSession)); }); @@ -22514,7 +21936,7 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n return d ? o.onFailure(d) : a.authenticateUserInternal(g, u, o); }); }, t.getDeviceResponse = function(r, i) { - var o = this, s = new wr(this.deviceGroupKey), a = new ch(), u = {}; + var o = this, s = new wr(this.deviceGroupKey), a = new Pd(), u = {}; u.USERNAME = this.username, u.DEVICE_KEY = this.deviceKey, s.getLargeAValue(function(c, l) { c && r.onFailure(c), u.SRP_A = l.toString(16); var f = { @@ -22527,21 +21949,21 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n o.getUserContextData() && (f.UserContextData = o.getUserContextData()), o.client.request("RespondToAuthChallenge", f, function(d, g) { if (d) return r.onFailure(d); - var h = g.ChallengeParameters, p = new me(h.SRP_B, 16), m = new me(h.SALT, 16); + var h = g.ChallengeParameters, p = new ye(h.SRP_B, 16), m = new ye(h.SALT, 16); s.getPasswordAuthenticationKey(o.deviceKey, o.randomPassword, p, m, function(v, w) { if (v) return r.onFailure(v); - var j = a.getNowString(), N = Ke.Buffer.concat([Ke.Buffer.from(o.deviceGroupKey, "utf8"), Ke.Buffer.from(o.deviceKey, "utf8"), Ke.Buffer.from(h.SECRET_BLOCK, "base64"), Ke.Buffer.from(j, "utf8")]), I = new bn.Sha256(w); - I.update(N); - var B = I.digestSync(), z = Ke.Buffer.from(B).toString("base64"), W = {}; - W.USERNAME = o.username, W.PASSWORD_CLAIM_SECRET_BLOCK = h.SECRET_BLOCK, W.TIMESTAMP = j, W.PASSWORD_CLAIM_SIGNATURE = z, W.DEVICE_KEY = o.deviceKey; - var $ = { + var j = a.getNowString(), I = Ke.Buffer.concat([Ke.Buffer.from(o.deviceGroupKey, "utf8"), Ke.Buffer.from(o.deviceKey, "utf8"), Ke.Buffer.from(h.SECRET_BLOCK, "base64"), Ke.Buffer.from(j, "utf8")]), N = new jn.Sha256(w); + N.update(I); + var Q = N.digestSync(), z = Ke.Buffer.from(Q).toString("base64"), H = {}; + H.USERNAME = o.username, H.PASSWORD_CLAIM_SECRET_BLOCK = h.SECRET_BLOCK, H.TIMESTAMP = j, H.PASSWORD_CLAIM_SIGNATURE = z, H.DEVICE_KEY = o.deviceKey; + var W = { ChallengeName: "DEVICE_PASSWORD_VERIFIER", ClientId: o.pool.getClientId(), - ChallengeResponses: W, + ChallengeResponses: H, Session: g.Session }; - o.getUserContextData() && ($.UserContextData = o.getUserContextData()), o.client.request("RespondToAuthChallenge", $, function(b, k) { + o.getUserContextData() && (W.UserContextData = o.getUserContextData()), o.client.request("RespondToAuthChallenge", W, function(b, k) { return b ? r.onFailure(b) : (o.signInUserSession = o.getCognitoUserSession(k.AuthenticationResult), o.cacheTokens(), r.onSuccess(o.signInUserSession)); }); }); @@ -22607,7 +22029,7 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n DeviceKey: d.AuthenticationResult.NewDeviceMetadata.DeviceKey, AccessToken: a.signInUserSession.getAccessToken().getJwtToken(), DeviceSecretVerifierConfig: m, - DeviceName: lh + DeviceName: Rd }, function(v, w) { return v ? i.onFailure(v) : (a.deviceKey = d.AuthenticationResult.NewDeviceMetadata.DeviceKey, a.cacheDeviceKeyAndPassword(), w.UserConfirmationNecessary === !0 ? i.onSuccess(a.signInUserSession, w.UserConfirmationNecessary) : i.onSuccess(a.signInUserSession)); }); @@ -22786,18 +22208,18 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n return r(null, this.signInUserSession); var o = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, s = o + ".idToken", a = o + ".accessToken", u = o + ".refreshToken", c = o + ".clockDrift"; if (this.storage.getItem(s)) { - var l = new Eu({ + var l = new du({ IdToken: this.storage.getItem(s) - }), f = new Du({ + }), f = new lu({ AccessToken: this.storage.getItem(a) - }), d = new Iu({ + }), d = new hu({ RefreshToken: this.storage.getItem(u) }), g = parseInt(this.storage.getItem(c), 0) || 0, h = { IdToken: l, AccessToken: f, RefreshToken: d, ClockDrift: g - }, p = new Tu(h); + }, p = new pu(h); if (p.isValid()) return this.signInUserSession = p, r(null, this.signInUserSession); if (!d.getToken()) @@ -22850,12 +22272,12 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n var r = "CognitoIdentityServiceProvider." + this.pool.getClientId(), i = r + "." + this.username + ".idToken", o = r + "." + this.username + ".accessToken", s = r + "." + this.username + ".refreshToken", a = r + ".LastAuthUser", u = r + "." + this.username + ".clockDrift"; this.storage.removeItem(i), this.storage.removeItem(o), this.storage.removeItem(s), this.storage.removeItem(a), this.storage.removeItem(u); }, t.getCognitoUserSession = function(r) { - var i = new Eu(r), o = new Du(r), s = new Iu(r), a = { + var i = new du(r), o = new lu(r), s = new hu(r), a = { IdToken: i, AccessToken: o, RefreshToken: s }; - return new Tu(a); + return new pu(a); }, t.forgotPassword = function(r, i) { var o = { ClientId: this.pool.getClientId(), @@ -23074,7 +22496,7 @@ var FC = typeof navigator < "u", lh = FC ? En.isReactNative ? "react-native" : n }); }, e; }(); -function YC(e, t) { +function m1(e, t) { return t = t || {}, new Promise(function(n, r) { var i = new XMLHttpRequest(), o = [], s = [], a = {}, u = function() { return { ok: (i.status / 100 | 0) == 2, statusText: i.statusText, status: i.status, url: i.responseURL, text: function() { @@ -23102,21 +22524,21 @@ function YC(e, t) { i.send(t.body || null); }); } -const BC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const v1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - default: YC -}, Symbol.toStringTag, { value: "Module" })), fh = /* @__PURE__ */ Bi(BC); -self.fetch || (self.fetch = fh.default || fh); -function Xp() { + default: m1 +}, Symbol.toStringTag, { value: "Module" })), Ud = /* @__PURE__ */ Qi(v1); +self.fetch || (self.fetch = Ud.default || Ud); +function pp() { } -Xp.prototype.userAgent = zC(); -function QC(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Ri(e, t); +pp.prototype.userAgent = h1(); +function w1(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Pi(e, t); } -function Su(e) { +function yu(e) { var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0; - return Su = function(r) { - if (r === null || !WC(r)) + return yu = function(r) { + if (r === null || !A1(r)) return r; if (typeof r != "function") throw new TypeError("Super expression must either be null or a function"); @@ -23126,20 +22548,20 @@ function Su(e) { t.set(r, i); } function i() { - return No(r, arguments, bu(this).constructor); + return Io(r, arguments, mu(this).constructor); } - return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Ri(i, r); - }, Su(e); + return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Pi(i, r); + }, yu(e); } -function No(e, t, n) { - return $C() ? No = Reflect.construct.bind() : No = function(i, o, s) { +function Io(e, t, n) { + return D1() ? Io = Reflect.construct.bind() : Io = function(i, o, s) { var a = [null]; a.push.apply(a, o); var u = Function.bind.apply(i, a), c = new u(); - return s && Ri(c, s.prototype), c; - }, No.apply(null, arguments); + return s && Pi(c, s.prototype), c; + }, Io.apply(null, arguments); } -function $C() { +function D1() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") @@ -23151,27 +22573,27 @@ function $C() { return !1; } } -function WC(e) { +function A1(e) { return Function.toString.call(e).indexOf("[native code]") !== -1; } -function Ri(e, t) { - return Ri = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { +function Pi(e, t) { + return Pi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { return r.__proto__ = i, r; - }, Ri(e, t); + }, Pi(e, t); } -function bu(e) { - return bu = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) { +function mu(e) { + return mu = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) { return n.__proto__ || Object.getPrototypeOf(n); - }, bu(e); + }, mu(e); } -var VC = /* @__PURE__ */ function(e) { - QC(t, e); +var E1 = /* @__PURE__ */ function(e) { + w1(t, e); function t(n, r, i, o) { var s; return s = e.call(this, n) || this, s.code = r, s.name = i, s.statusCode = o, s; } return t; -}(/* @__PURE__ */ Su(Error)), HC = /* @__PURE__ */ function() { +}(/* @__PURE__ */ yu(Error)), I1 = /* @__PURE__ */ function() { function e(n, r, i) { this.endpoint = r || "https://cognito-idp." + n + ".amazonaws.com/"; var o = i || {}, s = o.credentials; @@ -23184,12 +22606,12 @@ var VC = /* @__PURE__ */ function(e) { var o = this; return new Promise(function(s, a) { o.request(r, i, function(u, c) { - u ? a(new VC(u.message, u.code, u.name, u.statusCode)) : s(c); + u ? a(new E1(u.message, u.code, u.name, u.statusCode)) : s(c); }); }); }, t.requestWithRetry = function(r, i, o) { var s = this, a = 5 * 1e3; - JC(function(u) { + S1(function(u) { return new Promise(function(c, l) { s.request(r, u, function(f, d) { f ? l(f) : c(d); @@ -23204,7 +22626,7 @@ var VC = /* @__PURE__ */ function(e) { var s = { "Content-Type": "application/x-amz-json-1.1", "X-Amz-Target": "AWSCognitoIdentityProviderService." + r, - "X-Amz-User-Agent": Xp.prototype.userAgent, + "X-Amz-User-Agent": pp.prototype.userAgent, "Cache-Control": "no-store" }, a = Object.assign({}, this.fetchOptions, { headers: s, @@ -23238,53 +22660,53 @@ var VC = /* @__PURE__ */ function(e) { return o(c); }); }, e; -}(), Mo = { +}(), po = { debug: function() { } -}, qC = function(t) { +}, N1 = function(t) { var n = "nonRetryable"; return t && t[n]; }; -function eM(e, t, n, r) { +function Mp(e, t, n, r) { if (r === void 0 && (r = 1), typeof e != "function") throw Error("functionToRetry must be a function"); - return Mo.debug(e.name + " attempt #" + r + " with args: " + JSON.stringify(t)), e.apply(void 0, t).catch(function(i) { - if (Mo.debug("error on " + e.name, i), qC(i)) - throw Mo.debug(e.name + " non retryable error", i), i; + return po.debug(e.name + " attempt #" + r + " with args: " + JSON.stringify(t)), e.apply(void 0, t).catch(function(i) { + if (po.debug("error on " + e.name, i), N1(i)) + throw po.debug(e.name + " non retryable error", i), i; var o = n(r, t, i); - if (Mo.debug(e.name + " retrying in " + o + " ms"), o !== !1) + if (po.debug(e.name + " retrying in " + o + " ms"), o !== !1) return new Promise(function(s) { return setTimeout(s, o); }).then(function() { - return eM(e, t, n, r + 1); + return Mp(e, t, n, r + 1); }); throw i; }); } -function KC(e) { +function T1(e) { var t = 100, n = 100; return function(r) { var i = Math.pow(2, r) * t + n * Math.random(); return i > e ? !1 : i; }; } -var GC = 5 * 60 * 1e3; -function JC(e, t, n) { - return n === void 0 && (n = GC), eM(e, t, KC(n)); +var j1 = 5 * 60 * 1e3; +function S1(e, t, n) { + return n === void 0 && (n = j1), Mp(e, t, T1(n)); } /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var ZC = 55, XC = /* @__PURE__ */ function() { +var b1 = 55, C1 = /* @__PURE__ */ function() { function e(n, r) { var i = n || {}, o = i.UserPoolId, s = i.ClientId, a = i.endpoint, u = i.fetchOptions, c = i.AdvancedSecurityDataCollectionFlag; if (!o || !s) throw new Error("Both UserPoolId and ClientId are required."); - if (o.length > ZC || !/^[\w-]+_[0-9a-zA-Z]+$/.test(o)) + if (o.length > b1 || !/^[\w-]+_[0-9a-zA-Z]+$/.test(o)) throw new Error("Invalid UserPoolId format."); var l = o.split("_")[0]; - this.userPoolId = o, this.clientId = s, this.client = new HC(l, a, u), this.advancedSecurityDataCollectionFlag = c !== !1, this.storage = n.Storage || new Zp().getStorage(), r && (this.wrapRefreshSessionCallback = r); + this.userPoolId = o, this.clientId = s, this.client = new I1(l, a, u), this.advancedSecurityDataCollectionFlag = c !== !1, this.storage = n.Storage || new gp().getStorage(), r && (this.wrapRefreshSessionCallback = r); } var t = e.prototype; return t.getUserPoolId = function() { @@ -23310,7 +22732,7 @@ var ZC = 55, XC = /* @__PURE__ */ function() { Pool: c, Storage: c.storage }, h = { - user: new ju(g), + user: new Mu(g), userConfirmed: d.UserConfirmed, userSub: d.UserSub, codeDeliveryDetails: d.CodeDeliveryDetails @@ -23325,7 +22747,7 @@ var ZC = 55, XC = /* @__PURE__ */ function() { Pool: this, Storage: this.storage }; - return new ju(o); + return new Mu(o); } return null; }, t.getUserContextData = function(r) { @@ -23343,12 +22765,12 @@ var ZC = 55, XC = /* @__PURE__ */ function() { return {}; } }, e; -}(), Hn = {}, ex = { +}(), Wn = {}, x1 = { get exports() { - return Hn; + return Wn; }, set exports(e) { - Hn = e; + Wn = e; } }; /*! @@ -23440,8 +22862,8 @@ var ZC = 55, XC = /* @__PURE__ */ function() { return i(function() { }); }); -})(ex); -var tx = /* @__PURE__ */ function() { +})(x1); +var O1 = /* @__PURE__ */ function() { function e(n) { if (n === void 0 && (n = {}), n.domain && (this.domain = n.domain), n.path ? this.path = n.path : this.path = "/", Object.prototype.hasOwnProperty.call(n, "expires") ? this.expires = n.expires : this.expires = 365, Object.prototype.hasOwnProperty.call(n, "secure") ? this.secure = n.secure : this.secure = !0, Object.prototype.hasOwnProperty.call(n, "sameSite")) { if (!["strict", "lax", "none"].includes(n.sameSite)) @@ -23460,9 +22882,9 @@ var tx = /* @__PURE__ */ function() { domain: this.domain, secure: this.secure }; - return this.sameSite && (o.sameSite = this.sameSite), Hn.set(r, i, o), Hn.get(r); + return this.sameSite && (o.sameSite = this.sameSite), Wn.set(r, i, o), Wn.get(r); }, t.getItem = function(r) { - return Hn.get(r); + return Wn.get(r); }, t.removeItem = function(r) { var i = { path: this.path, @@ -23470,33 +22892,33 @@ var tx = /* @__PURE__ */ function() { domain: this.domain, secure: this.secure }; - return this.sameSite && (i.sameSite = this.sameSite), Hn.remove(r, i); + return this.sameSite && (i.sameSite = this.sameSite), Wn.remove(r, i); }, t.clear = function() { - for (var r = Hn.get(), i = Object.keys(r).length, o = 0; o < i; ++o) + for (var r = Wn.get(), i = Object.keys(r).length, o = 0; o < i; ++o) this.removeItem(Object.keys(r)[o]); return {}; }, e; -}(), nx = "_self", rx = function(e) { - var t = window.open(e, nx); +}(), L1 = "_self", _1 = function(e) { + var t = window.open(e, L1); return t ? Promise.resolve(t) : Promise.reject(); -}, ix = function(e) { +}, k1 = function(e) { window.sessionStorage.setItem("oauth_state", e); -}, ox = function() { +}, z1 = function() { var e = window.sessionStorage.getItem("oauth_state"); return window.sessionStorage.removeItem("oauth_state"), e; -}, sx = function(e) { +}, P1 = function(e) { window.sessionStorage.setItem("ouath_pkce_key", e); -}, ax = function() { +}, R1 = function() { var e = window.sessionStorage.getItem("ouath_pkce_key"); return window.sessionStorage.removeItem("ouath_pkce_key"), e; -}, ux = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", Ea = function(e, t, n) { - on.dispatch("auth", { event: e, data: t, message: n }, "Auth", ux); -}, Dr = new Ht("OAuth"), cx = ( +}, U1 = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", ma = function(e, t, n) { + on.dispatch("auth", { event: e, data: t, message: n }, "Auth", U1); +}, Dr = new Ht("OAuth"), F1 = ( /** @class */ function() { function e(t) { var n = t.config, r = t.cognitoClientId, i = t.scopes, o = i === void 0 ? [] : i; - if (this._urlOpener = n.urlOpener || rx, this._config = n, this._cognitoClientId = r, !this.isValidScopes(o)) + if (this._urlOpener = n.urlOpener || _1, this._config = n, this._cognitoClientId = r, !this.isValidScopes(o)) throw Error("scopes must be a String Array"); this._scopes = o; } @@ -23505,11 +22927,11 @@ var tx = /* @__PURE__ */ function() { return typeof n == "string"; }); }, e.prototype.oauthSignIn = function(t, n, r, i, o, s) { - t === void 0 && (t = "code"), o === void 0 && (o = $o.Cognito); - var a = this._generateState(32), u = s ? a + "-" + wT(s) : a; - ix(u); + t === void 0 && (t = "code"), o === void 0 && (o = Qo.Cognito); + var a = this._generateState(32), u = s ? a + "-" + JI(s) : a; + k1(u); var c = this._generateRandom(128); - sx(c); + P1(c); var l = this._generateChallenge(c), f = "S256", d = this._scopes.join(" "), g = Object.entries(ue.__assign(ue.__assign({ redirect_uri: r, response_type: t, client_id: i, identity_provider: o, scope: d, state: u }, t === "code" ? { code_challenge: l } : {}), t === "code" ? { code_challenge_method: f } : {})).map(function(p) { var m = ue.__read(p, 2), v = m[0], w = m[1]; return encodeURIComponent(v) + "=" + encodeURIComponent(w); @@ -23521,22 +22943,22 @@ var tx = /* @__PURE__ */ function() { return ue.__generator(this, function(m) { switch (m.label) { case 0: - return n = (Dn(t).query || "").split("&").map(function(v) { + return n = (wn(t).query || "").split("&").map(function(v) { return v.split("="); }).reduce(function(v, w) { - var j, N = ue.__read(w, 2), I = N[0], B = N[1]; - return ue.__assign(ue.__assign({}, v), (j = {}, j[I] = B, j)); - }, { code: void 0 }).code, r = Dn(t).pathname || "/", i = Dn(this._config.redirectSignIn).pathname || "/", !n || r !== i ? [ + var j, I = ue.__read(w, 2), N = I[0], Q = I[1]; + return ue.__assign(ue.__assign({}, v), (j = {}, j[N] = Q, j)); + }, { code: void 0 }).code, r = wn(t).pathname || "/", i = wn(this._config.redirectSignIn).pathname || "/", !n || r !== i ? [ 2 /*return*/ - ] : (o = "https://" + this._config.domain + "/oauth2/token", Ea("codeFlow", {}, "Retrieving tokens from " + o), s = Gn(this._config) ? this._cognitoClientId : this._config.clientID, a = Gn(this._config) ? this._config.redirectSignIn : this._config.redirectUri, u = ax(), c = ue.__assign({ + ] : (o = "https://" + this._config.domain + "/oauth2/token", ma("codeFlow", {}, "Retrieving tokens from " + o), s = qn(this._config) ? this._cognitoClientId : this._config.clientID, a = qn(this._config) ? this._config.redirectSignIn : this._config.redirectUri, u = R1(), c = ue.__assign({ grant_type: "authorization_code", code: n, client_id: s, redirect_uri: a }, u ? { code_verifier: u } : {}), Dr.debug("Calling token endpoint: " + o + " with", c), l = Object.entries(c).map(function(v) { - var w = ue.__read(v, 2), j = w[0], N = w[1]; - return encodeURIComponent(j) + "=" + encodeURIComponent(N); + var w = ue.__read(v, 2), j = w[0], I = w[1]; + return encodeURIComponent(j) + "=" + encodeURIComponent(I); }).join("&"), [4, fetch(o, { method: "POST", headers: { @@ -23561,7 +22983,7 @@ var tx = /* @__PURE__ */ function() { return ue.__awaiter(this, void 0, void 0, function() { var n, r, i; return ue.__generator(this, function(o) { - return n = (Dn(t).hash || "#").substr(1).split("&").map(function(s) { + return n = (wn(t).hash || "#").substr(1).split("&").map(function(s) { return s.split("="); }).reduce(function(s, a) { var u, c = ue.__read(a, 2), l = c[0], f = c[1]; @@ -23569,7 +22991,7 @@ var tx = /* @__PURE__ */ function() { }, { id_token: void 0, access_token: void 0 - }), r = n.id_token, i = n.access_token, Ea("implicitFlow", {}, "Got tokens from " + t), Dr.debug("Retrieving implicit tokens from " + t + " with"), [2, { + }), r = n.id_token, i = n.access_token, ma("implicitFlow", {}, "Got tokens from " + t), Dr.debug("Retrieving implicit tokens from " + t + " with"), [2, { accessToken: i, idToken: r, refreshToken: null @@ -23582,12 +23004,12 @@ var tx = /* @__PURE__ */ function() { return ue.__generator(this, function(c) { switch (c.label) { case 0: - if (c.trys.push([0, 5, , 6]), n = t ? ue.__assign(ue.__assign({}, (Dn(t).hash || "#").substr(1).split("&").map(function(l) { + if (c.trys.push([0, 5, , 6]), n = t ? ue.__assign(ue.__assign({}, (wn(t).hash || "#").substr(1).split("&").map(function(l) { return l.split("="); }).reduce(function(l, f) { var d = ue.__read(f, 2), g = d[0], h = d[1]; return l[g] = h, l; - }, {})), (Dn(t).query || "").split("&").map(function(l) { + }, {})), (wn(t).query || "").split("&").map(function(l) { return l.split("="); }).reduce(function(l, f) { var d = ue.__read(f, 2), g = d[0], h = d[1]; @@ -23615,7 +23037,7 @@ var tx = /* @__PURE__ */ function() { }); }, e.prototype._validateState = function(t) { if (t) { - var n = ox(), r = t.state; + var n = z1(), r = t.state; if (n && n !== r) throw new Error("Invalid state in OAuth flow"); return r; @@ -23624,13 +23046,13 @@ var tx = /* @__PURE__ */ function() { return ue.__awaiter(this, void 0, void 0, function() { var t, n, r; return ue.__generator(this, function(i) { - return t = "https://" + this._config.domain + "/logout?", n = Gn(this._config) ? this._cognitoClientId : this._config.oauth.clientID, r = Gn(this._config) ? this._config.redirectSignOut : this._config.returnTo, t += Object.entries({ + return t = "https://" + this._config.domain + "/logout?", n = qn(this._config) ? this._cognitoClientId : this._config.oauth.clientID, r = qn(this._config) ? this._config.redirectSignOut : this._config.returnTo, t += Object.entries({ client_id: n, logout_uri: encodeURIComponent(r) }).map(function(o) { var s = ue.__read(o, 2), a = s[0], u = s[1]; return a + "=" + u; - }).join("&"), Ea("oAuthSignOut", { oAuth: "signOut" }, "Signing out from " + t), Dr.debug("Signing out from " + t), [2, this._urlOpener(t, r)]; + }).join("&"), ma("oAuthSignOut", { oAuth: "signOut" }, "Signing out from " + t), Dr.debug("Signing out from " + t), [2, this._urlOpener(t, r)]; }); }); }, e.prototype._generateState = function(t) { @@ -23638,7 +23060,7 @@ var tx = /* @__PURE__ */ function() { n += i[Math.round(Math.random() * (i.length - 1))]; return n; }, e.prototype._generateChallenge = function(t) { - var n = new bn.Sha256(); + var n = new jn.Sha256(); n.update(t); var r = n.digestSync(), i = Ke.Buffer.from(r).toString("base64"), o = this._base64URL(i); return o; @@ -23661,7 +23083,7 @@ var tx = /* @__PURE__ */ function() { }, e; }() ); -const lx = cx, fx = function(e) { +const Y1 = F1, Q1 = function(e) { if (gn().isBrowser && window.location) { var t = window.location.href; e({ url: t }); @@ -23672,17 +23094,17 @@ var ct; (function(e) { e.DEFAULT_MSG = "Authentication Error", e.EMPTY_EMAIL = "Email cannot be empty", e.EMPTY_PHONE = "Phone number cannot be empty", e.EMPTY_USERNAME = "Username cannot be empty", e.INVALID_USERNAME = "The username should either be a string or one of the sign in types", e.EMPTY_PASSWORD = "Password cannot be empty", e.EMPTY_CODE = "Confirmation code cannot be empty", e.SIGN_UP_ERROR = "Error creating account", e.NO_MFA = "No valid MFA method provided", e.INVALID_MFA = "Invalid MFA type", e.EMPTY_CHALLENGE = "Challenge response cannot be empty", e.NO_USER_SESSION = "Failed to get the session because the user is empty", e.NETWORK_ERROR = "Network Error", e.DEVICE_CONFIG = "Device tracking has not been configured in this User Pool", e.AUTOSIGNIN_ERROR = "Please use your credentials to sign in"; })(ct || (ct = {})); -var dx = new Ht("AuthError"), wn = ( +var B1 = new Ht("AuthError"), vn = ( /** @class */ function(e) { ue.__extends(t, e); function t(n) { - var r = this, i = gx[n], o = i.message, s = i.log; - return r = e.call(this, o) || this, r.constructor = t, Object.setPrototypeOf(r, t.prototype), r.name = "AuthError", r.log = s || o, dx.error(r.log), r; + var r = this, i = W1[n], o = i.message, s = i.log; + return r = e.call(this, o) || this, r.constructor = t, Object.setPrototypeOf(r, t.prototype), r.name = "AuthError", r.log = s || o, B1.error(r.log), r; } return t; }(Error) -), hx = ( +), $1 = ( /** @class */ function(e) { ue.__extends(t, e); @@ -23691,8 +23113,8 @@ var dx = new Ht("AuthError"), wn = ( return r.constructor = t, Object.setPrototypeOf(r, t.prototype), r.name = "NoUserPoolError", r; } return t; - }(wn) -), gx = { + }(vn) +), W1 = { noConfig: { message: ct.DEFAULT_MSG, log: ` @@ -23760,14 +23182,14 @@ var dx = new Ht("AuthError"), wn = ( default: { message: ct.DEFAULT_MSG } -}, ae = new Ht("AuthClass"), dh = "aws.cognito.signin.user.admin", px = 10 * 1e3, Mx = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", xe = function(e, t, n) { - on.dispatch("auth", { event: e, data: t, message: n }, "Auth", Mx); -}, yx = 60, mx = 3 * 60 * 1e3, vx = ( +}, ae = new Ht("AuthClass"), Fd = "aws.cognito.signin.user.admin", V1 = 10 * 1e3, H1 = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", xe = function(e, t, n) { + on.dispatch("auth", { event: e, data: t, message: n }, "Auth", H1); +}, q1 = 60, K1 = 3 * 60 * 1e3, G1 = ( /** @class */ function() { function e(t) { var n = this; - this.userPool = null, this.user = null, this.oAuthFlowInProgress = !1, this.autoSignInInitiated = !1, this.inflightSessionPromise = null, this.inflightSessionPromiseCounter = 0, this.Credentials = qp, this.wrapRefreshSessionCallback = function(r) { + this.userPool = null, this.user = null, this.oAuthFlowInProgress = !1, this.autoSignInInitiated = !1, this.inflightSessionPromise = null, this.inflightSessionPromiseCounter = 0, this.Credentials = lp, this.wrapRefreshSessionCallback = function(r) { var i = function(o, s) { return s ? xe("tokenRefresh", void 0, "New token retrieved") : xe("tokenRefresh_failure", o, "Failed to retrieve new token"), r(o, s); }; @@ -23795,11 +23217,11 @@ var dx = new Ht("AuthError"), wn = ( if (!t) return this._config || {}; ae.debug("configure Auth"); - var r = Object.assign({}, this._config, hp(t).Auth, t); + var r = Object.assign({}, this._config, bg(t).Auth, t); this._config = r; var i = this._config, o = i.userPoolId, s = i.userPoolWebClientId, a = i.cookieStorage, u = i.oauth, c = i.region, l = i.identityPoolId, f = i.mandatorySignIn, d = i.refreshHandlers, g = i.identityPoolRegion, h = i.clientMetadata, p = i.endpoint, m = i.storage; if (!m) - a ? this._storage = new tx(a) : this._storage = t.ssr ? new L1() : new zp().getStorage(); + a ? this._storage = new O1(a) : this._storage = t.ssr ? new lb() : new Zg().getStorage(); else { if (!this._isValidAuthStorage(m)) throw ae.error("The storage in the Auth config is not valid!"), new Error("Empty storage object"); @@ -23811,7 +23233,7 @@ var dx = new Ht("AuthError"), wn = ( ClientId: s, endpoint: p }; - v.Storage = this._storage, this.userPool = new XC(v, this.wrapRefreshSessionCallback); + v.Storage = this._storage, this.userPool = new C1(v, this.wrapRefreshSessionCallback); } this.Credentials.configure({ mandatorySignIn: f, @@ -23822,7 +23244,7 @@ var dx = new Ht("AuthError"), wn = ( storage: this._storage, identityPoolRegion: g }); - var w = u ? Gn(this._config.oauth) ? u : u.awsCognito : void 0; + var w = u ? qn(this._config.oauth) ? u : u.awsCognito : void 0; if (w) { var j = Object.assign({ cognitoClientId: s, @@ -23836,20 +23258,20 @@ var dx = new Ht("AuthError"), wn = ( urlOpener: w.urlOpener, clientMetadata: h }, w.options); - this._oAuthHandler = new lx({ + this._oAuthHandler = new Y1({ scopes: j.scopes, config: j, cognitoClientId: j.cognitoClientId }); - var N = {}; - fx(function(B) { - var z = B.url; - N[z] || (N[z] = !0, n._handleAuthResponse(z)); + var I = {}; + Q1(function(Q) { + var z = Q.url; + I[z] || (I[z] = !0, n._handleAuthResponse(z)); }); } if (xe("configured", null, "The Auth category has been configured successfully"), !this.autoSignInInitiated && typeof this._storage.getItem == "function") { - var I = this.isTrueStorageValue("amplify-polling-started"); - I && (xe("autoSignIn_failure", null, ke.AutoSignInError), this._storage.removeItem("amplify-auto-sign-in")), this._storage.removeItem("amplify-polling-started"); + var N = this.isTrueStorageValue("amplify-polling-started"); + N && (xe("autoSignIn_failure", null, ke.AutoSignInError), this._storage.removeItem("amplify-auto-sign-in")), this._storage.removeItem("amplify-polling-started"); } return this._config; }, e.prototype.signUp = function(t) { @@ -23869,26 +23291,26 @@ var dx = new Ht("AuthError"), wn = ( } else if (t && typeof t == "object") { u = t.username, c = t.password, t && t.clientMetadata ? d = t.clientMetadata : this._config.clientMetadata && (d = this._config.clientMetadata); var w = t.attributes; - w && Object.keys(w).map(function(N) { - l.push(new Ir({ Name: N, Value: w[N] })); + w && Object.keys(w).map(function(I) { + l.push(new Ir({ Name: I, Value: w[I] })); }); var j = t.validationData; - j && (f = [], Object.keys(j).map(function(N) { + j && (f = [], Object.keys(j).map(function(I) { f.push(new Ir({ - Name: N, - Value: j[N] + Name: I, + Value: j[I] })); })), g = (o = t.autoSignIn) !== null && o !== void 0 ? o : { enabled: !1 }, g.enabled && (this._storage.setItem("amplify-auto-sign-in", "true"), h = (s = g.validationData) !== null && s !== void 0 ? s : {}, p = (a = g.clientMetaData) !== null && a !== void 0 ? a : {}); } else return this.rejectAuthError(ke.SignUpError); - return u ? c ? (ae.debug("signUp attrs:", l), ae.debug("signUp validation data:", f), new Promise(function(N, I) { - n.userPool.signUp(u, c, l, f, function(B, z) { - B ? (xe("signUp_failure", B, u + " failed to signup"), I(B)) : (xe("signUp", z, u + " has signed up successfully"), g.enabled && n.handleAutoSignIn(u, c, h, p, z), N(z)); + return u ? c ? (ae.debug("signUp attrs:", l), ae.debug("signUp validation data:", f), new Promise(function(I, N) { + n.userPool.signUp(u, c, l, f, function(Q, z) { + Q ? (xe("signUp_failure", Q, u + " failed to signup"), N(Q)) : (xe("signUp", z, u + " has signed up successfully"), g.enabled && n.handleAutoSignIn(u, c, h, p, z), I(z)); }, d); })) : this.rejectAuthError(ke.EmptyPassword) : this.rejectAuthError(ke.EmptyUsername); }, e.prototype.handleAutoSignIn = function(t, n, r, i, o) { this.autoSignInInitiated = !0; - var s = new oh({ + var s = new Ld({ Username: t, Password: n, ValidationData: r, @@ -23905,7 +23327,7 @@ var dx = new Ht("AuthError"), wn = ( var n = this; this._storage.setItem("amplify-polling-started", "true"); var r = Date.now(), i = setInterval(function() { - Date.now() - r > mx ? (clearInterval(i), xe("autoSignIn_failure", null, "Please confirm your account and use your credentials to sign in."), n._storage.removeItem("amplify-auto-sign-in")) : n.signInAfterUserConfirmed(t, null, i); + Date.now() - r > K1 ? (clearInterval(i), xe("autoSignIn_failure", null, "Please confirm your account and use your credentials to sign in."), n._storage.removeItem("amplify-auto-sign-in")) : n.signInAfterUserConfirmed(t, null, i); }, 5e3); }, e.prototype.signInAfterUserConfirmed = function(t, n, r) { return ue.__awaiter(this, void 0, void 0, function() { @@ -23972,13 +23394,13 @@ var dx = new Ht("AuthError"), wn = ( var i = null, o = null, s = {}; if (typeof t == "string") i = t, o = n; - else if (CN(t)) + else if (aI(t)) typeof n < "u" && ae.warn("The password should be defined under the first parameter object!"), i = t.username, o = t.password, s = t.validationData; else return this.rejectAuthError(ke.InvalidUsername); if (!i) return this.rejectAuthError(ke.EmptyUsername); - var a = new oh({ + var a = new Ld({ Username: i, Password: o, ValidationData: s, @@ -24612,7 +24034,7 @@ var dx = new Ht("AuthError"), wn = ( return this.isOAuthInProgress() ? (ae.debug("OAuth signIn in progress, waiting for resolution..."), [4, new Promise(function(h) { var p = setTimeout(function() { ae.debug("OAuth signIn in progress timeout"), on.remove("auth", m), h(); - }, px); + }, V1); on.listen("auth", m); function m(v) { var w = v.payload, j = w.event; @@ -24635,10 +24057,10 @@ var dx = new Ht("AuthError"), wn = ( case 5: g.sent(), g.label = 6; case 6: - if (u = this._config.clientMetadata, c = s.getAccessToken().decodePayload().scope, l = c === void 0 ? "" : c, l.split(" ").includes(dh)) + if (u = this._config.clientMetadata, c = s.getAccessToken().decodePayload().scope, l = c === void 0 ? "" : c, l.split(" ").includes(Fd)) o.getUserData(function(h, p) { return ue.__awaiter(d, void 0, void 0, function() { - var m, v, w, j, N, I, B; + var m, v, w, j, I, N, Q; return ue.__generator(this, function(z) { switch (z.label) { case 0: @@ -24667,17 +24089,17 @@ var dx = new Ht("AuthError"), wn = ( ]; case 7: for (v = p.PreferredMfaSetting || "NOMFA", w = [], j = 0; j < p.UserAttributes.length; j++) - N = { + I = { Name: p.UserAttributes[j].Name, Value: p.UserAttributes[j].Value - }, I = new Ir(N), w.push(I); - return B = this.attributesToObject(w), Object.assign(o, { attributes: B, preferredMFA: v }), [2, r(o)]; + }, N = new Ir(I), w.push(N); + return Q = this.attributesToObject(w), Object.assign(o, { attributes: Q, preferredMFA: v }), [2, r(o)]; } }); }); }, { bypassCache: a, clientMetadata: u }); else - return ae.debug("Unable to get the user data because the " + dh + " is not in the scopes of the access token"), [2, r(o)]; + return ae.debug("Unable to get the user data because the " + Fd + " is not in the scopes of the access token"), [2, r(o)]; return [3, 8]; case 7: return f = g.sent(), i(f), [3, 8]; @@ -25083,9 +24505,9 @@ var dx = new Ht("AuthError"), wn = ( throw new Error("Federation requires either a User Pool or Identity Pool in config"); if (typeof t > "u" && this._config.identityPoolId && !this._config.userPoolId) throw new Error("Federation with Identity Pools requires tokens passed as arguments"); - return ta(t) || SN(t) || bN(t) || typeof t > "u" ? (i = t || { - provider: $o.Cognito - }, u = ta(i) ? i.provider : i.customProvider, o = (ta(i), i.customState), this._config.userPoolId && (s = Gn(this._config.oauth) ? this._config.userPoolWebClientId : this._config.oauth.clientID, a = Gn(this._config.oauth) ? this._config.oauth.redirectSignIn : this._config.oauth.redirectUri, this._oAuthHandler.oauthSignIn(this._config.oauth.responseType, this._config.oauth.domain, a, s, u, o)), [3, 4]) : [3, 1]; + return Gs(t) || oI(t) || sI(t) || typeof t > "u" ? (i = t || { + provider: Qo.Cognito + }, u = Gs(i) ? i.provider : i.customProvider, o = (Gs(i), i.customState), this._config.userPoolId && (s = qn(this._config.oauth) ? this._config.userPoolWebClientId : this._config.oauth.clientID, a = qn(this._config.oauth) ? this._config.oauth.redirectSignIn : this._config.oauth.redirectUri, this._oAuthHandler.oauthSignIn(this._config.oauth.responseType, this._config.oauth.domain, a, s, u, o)), [3, 4]) : [3, 1]; case 1: u = t; try { @@ -25121,12 +24543,12 @@ var dx = new Ht("AuthError"), wn = ( case 1: if (m.trys.push([1, , 8, 9]), this.oAuthFlowInProgress = !0, !this._config.userPoolId) throw new Error("OAuth responses require a User Pool defined in config"); - if (xe("parsingCallbackUrl", { url: t }, "The callback url is being parsed"), n = t || (gn().isBrowser ? window.location.href : ""), r = !!(Dn(n).query || "").split("&").map(function(v) { + if (xe("parsingCallbackUrl", { url: t }, "The callback url is being parsed"), n = t || (gn().isBrowser ? window.location.href : ""), r = !!(wn(n).query || "").split("&").map(function(v) { return v.split("="); }).find(function(v) { var w = ue.__read(v, 1), j = w[0]; return j === "code" || j === "error"; - }), i = !!(Dn(n).hash || "#").substr(1).split("&").map(function(v) { + }), i = !!(wn(n).hash || "#").substr(1).split("&").map(function(v) { return v.split("="); }).find(function(v) { var w = ue.__read(v, 1), j = w[0]; @@ -25137,19 +24559,19 @@ var dx = new Ht("AuthError"), wn = ( case 2: return m.trys.push([2, 6, , 7]), [4, this._oAuthHandler.handleAuthResponse(n)]; case 3: - return o = m.sent(), s = o.accessToken, a = o.idToken, u = o.refreshToken, c = o.state, l = new Tu({ - IdToken: new Eu({ IdToken: a }), - RefreshToken: new Iu({ + return o = m.sent(), s = o.accessToken, a = o.idToken, u = o.refreshToken, c = o.state, l = new pu({ + IdToken: new du({ IdToken: a }), + RefreshToken: new hu({ RefreshToken: u }), - AccessToken: new Du({ + AccessToken: new lu({ AccessToken: s }) }), f = void 0, this._config.identityPoolId ? [4, this.Credentials.set(l, "session")] : [3, 5]; case 4: f = m.sent(), ae.debug("AWS credentials", f), m.label = 5; case 5: - return d = /-/.test(c), g = this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"]), g.setSignInUserSession(l), window && typeof window.history < "u" && window.history.replaceState({}, null, this._config.oauth.redirectSignIn), xe("signIn", g, "A user " + g.getUsername() + " has been signed in"), xe("cognitoHostedUI", g, "A user " + g.getUsername() + " has been signed in via Cognito Hosted UI"), d && (h = c.split("-").splice(1).join("-"), xe("customOAuthState", DT(h), "State for user " + g.getUsername())), [2, f]; + return d = /-/.test(c), g = this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"]), g.setSignInUserSession(l), window && typeof window.history < "u" && window.history.replaceState({}, null, this._config.oauth.redirectSignIn), xe("signIn", g, "A user " + g.getUsername() + " has been signed in"), xe("cognitoHostedUI", g, "A user " + g.getUsername() + " has been signed in via Cognito Hosted UI"), d && (h = c.split("-").splice(1).join("-"), xe("customOAuthState", ZI(h), "State for user " + g.getUsername())), [2, f]; case 6: return p = m.sent(), ae.debug("Error in cognito hosted auth response", p), window && typeof window.history < "u" && window.history.replaceState({}, null, this._config.oauth.redirectSignIn), xe("signIn_failure", p, "The OAuth response flow failed"), xe("cognitoHostedUI_failure", p, "A failure occurred when returning to the Cognito Hosted UI"), xe("customState_failure", p, "A failure occurred when returning state"), [3, 7]; case 7: @@ -25188,17 +24610,17 @@ var dx = new Ht("AuthError"), wn = ( Pool: this.userPool }; n.Storage = this._storage; - var r = this._config.authenticationFlowType, i = new ju(n); + var r = this._config.authenticationFlowType, i = new Mu(n); return r && i.setAuthenticationFlowType(r), i; }, e.prototype._isValidAuthStorage = function(t) { return !!t && typeof t.getItem == "function" && typeof t.setItem == "function" && typeof t.removeItem == "function" && typeof t.clear == "function"; }, e.prototype.noUserPoolErrorHandler = function(t) { return t && (!t.userPoolId || !t.identityPoolId) ? ke.MissingAuthConfig : ke.NoConfig; }, e.prototype.rejectAuthError = function(t) { - return Promise.reject(new wn(t)); + return Promise.reject(new vn(t)); }, e.prototype.rejectNoUserPool = function() { var t = this.noUserPoolErrorHandler(this._config); - return Promise.reject(new hx(t)); + return Promise.reject(new $1(t)); }, e.prototype.rememberDevice = function() { return ue.__awaiter(this, void 0, void 0, function() { var t, n; @@ -25217,7 +24639,7 @@ var dx = new Ht("AuthError"), wn = ( i(s); }, onFailure: function(s) { - s.code === "InvalidParameterException" ? o(new wn(ke.DeviceConfig)) : s.code === "NetworkError" ? o(new wn(ke.NetworkError)) : o(s); + s.code === "InvalidParameterException" ? o(new vn(ke.DeviceConfig)) : s.code === "NetworkError" ? o(new vn(ke.NetworkError)) : o(s); } }); })]; @@ -25242,7 +24664,7 @@ var dx = new Ht("AuthError"), wn = ( i(s); }, onFailure: function(s) { - s.code === "InvalidParameterException" ? o(new wn(ke.DeviceConfig)) : s.code === "NetworkError" ? o(new wn(ke.NetworkError)) : o(s); + s.code === "InvalidParameterException" ? o(new vn(ke.DeviceConfig)) : s.code === "NetworkError" ? o(new vn(ke.NetworkError)) : o(s); } }); })]; @@ -25277,21 +24699,21 @@ var dx = new Ht("AuthError"), wn = ( i(u); }, onFailure: function(a) { - a.code === "InvalidParameterException" ? o(new wn(ke.DeviceConfig)) : a.code === "NetworkError" ? o(new wn(ke.NetworkError)) : o(a); + a.code === "InvalidParameterException" ? o(new vn(ke.DeviceConfig)) : a.code === "NetworkError" ? o(new vn(ke.NetworkError)) : o(a); } }; - t.listDevices(yx, null, s); + t.listDevices(q1, null, s); })]; } }); }); }, e; }() -), zn = new vx(null); -Mc.register(zn); -var tM = {}, Ia = {}, hh; -function wx() { - return hh || (hh = 1, function(e) { +), _n = new G1(null); +tc.register(_n); +var yp = {}, va = {}, Yd; +function J1() { + return Yd || (Yd = 1, function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), function(s) { s.Cognito = "COGNITO", s.Google = "Google", s.Facebook = "Facebook", s.Amazon = "LoginWithAmazon", s.Apple = "SignInWithApple"; }(e.CognitoHostedUIIdentityProvider || (e.CognitoHostedUIIdentityProvider = {})); @@ -25328,14 +24750,14 @@ function wx() { e.isUsernamePasswordOpts = o, function(s) { s.API_KEY = "API_KEY", s.AWS_IAM = "AWS_IAM", s.OPENID_CONNECT = "OPENID_CONNECT", s.AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS", s.AWS_LAMBDA = "AWS_LAMBDA"; }(e.GRAPHQL_AUTH_MODE || (e.GRAPHQL_AUTH_MODE = {})); - }(Ia)), Ia; + }(va)), va; } (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }); var t = ue; - t.__exportStar(wx(), e); -})(tM); -const V4 = () => { + t.__exportStar(J1(), e); +})(yp); +const NO = () => { const e = window.location.protocol + "//" + window.location.host + "/verify", t = window.location.protocol + "//" + window.location.host + "/", n = { Auth: { // REQUIRED - Amazon Cognito Region @@ -25356,34 +24778,34 @@ const V4 = () => { } } }; - zn.configure(n); -}, H4 = async () => { + _n.configure(n); +}, TO = async () => { try { - const e = await zn.currentSession(); + const e = await _n.currentSession(); if (e) return e.getIdToken().getJwtToken(); } catch { return ""; } -}, q4 = async () => { +}, jO = async () => { try { - const e = await zn.currentSession(); + const e = await _n.currentSession(); if (e) return e.getAccessToken().getJwtToken(); } catch { return ""; } -}, K4 = async () => { +}, SO = async () => { try { - const e = await zn.currentSession(); + const e = await _n.currentSession(); if (e) return e.getRefreshToken().getToken(); } catch { return ""; } -}, G4 = async () => { +}, bO = async () => { try { - const e = await zn.currentUserInfo(); + const e = await _n.currentUserInfo(); if (e && e.attributes) return { id: e.attributes.sub, @@ -25393,22 +24815,22 @@ const V4 = () => { } catch { return null; } -}, Dx = () => { +}, Z1 = () => { try { - zn.federatedSignIn({ - provider: tM.CognitoHostedUIIdentityProvider.Google, + _n.federatedSignIn({ + provider: yp.CognitoHostedUIIdentityProvider.Google, customState: window.location.pathname + window.location.search }); } catch (e) { console.log(e); } -}, J4 = () => { - zn.signOut(); +}, CO = () => { + _n.signOut(); }; -var Ax = Object.defineProperty, Ex = (e, t, n) => t in e ? Ax(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Na = (e, t, n) => (Ex(e, typeof t != "symbol" ? t + "" : t, n), n); -let Ix = class { +var X1 = Object.defineProperty, eC = (e, t, n) => t in e ? X1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wa = (e, t, n) => (eC(e, typeof t != "symbol" ? t + "" : t, n), n); +let tC = class { constructor() { - Na(this, "current", this.detect()), Na(this, "handoffState", "pending"), Na(this, "currentId", 0); + wa(this, "current", this.detect()), wa(this, "handoffState", "pending"), wa(this, "currentId", 0); } set(t) { this.current !== t && (this.handoffState = "pending", this.currentId = 0, this.current = t); @@ -25434,12 +24856,12 @@ let Ix = class { get isHandoffComplete() { return this.handoffState === "complete"; } -}, ln = new Ix(), Pn = (e, t) => { - ln.isServer ? st(e, t) : jh(e, t); +}, ln = new tC(), kn = (e, t) => { + ln.isServer ? dt(e, t) : nh(e, t); }; -function Ls(e) { - let t = tt(e); - return Pn(() => { +function Cs(e) { + let t = ot(e); + return kn(() => { t.current = e; }, [e]), t; } @@ -25448,7 +24870,7 @@ function Ji(e) { throw t; })); } -function Sc() { +function hc() { let e = [], t = { addEventListener(n, r, i, o) { return n.addEventListener(r, i, o), t.add(() => n.removeEventListener(r, i, o)); }, requestAnimationFrame(...n) { @@ -25472,7 +24894,7 @@ function Sc() { Object.assign(n.style, { [r]: o }); }); }, group(n) { - let r = Sc(); + let r = hc(); return n(r), this.add(() => r.dispose()); }, add(n) { return e.push(n), () => { @@ -25487,73 +24909,73 @@ function Sc() { } }; return t; } -function Nx() { - let [e] = Ln(Sc); - return st(() => () => e.dispose(), [e]), e; +function nC() { + let [e] = ar(hc); + return dt(() => () => e.dispose(), [e]), e; } -let kt = function(e) { - let t = Ls(e); +let _t = function(e) { + let t = Cs(e); return Te.useCallback((...n) => t.current(...n), [t]); }; -function _s() { - let [e, t] = Ln(ln.isHandoffComplete); - return e && ln.isHandoffComplete === !1 && t(!1), st(() => { +function xs() { + let [e, t] = ar(ln.isHandoffComplete); + return e && ln.isHandoffComplete === !1 && t(!1), dt(() => { e !== !0 && t(!0); - }, [e]), st(() => ln.handoff(), []), e; + }, [e]), dt(() => ln.handoff(), []), e; } -var gh; -let Kr = (gh = Te.useId) != null ? gh : function() { - let e = _s(), [t, n] = Te.useState(e ? () => ln.nextId() : null); - return Pn(() => { +var Qd; +let qr = (Qd = Te.useId) != null ? Qd : function() { + let e = xs(), [t, n] = Te.useState(e ? () => ln.nextId() : null); + return kn(() => { t === null && n(ln.nextId()); }, [t]), t != null ? "" + t : void 0; }; -function On(e, t, ...n) { +function Cn(e, t, ...n) { if (e in t) { let i = t[e]; return typeof i == "function" ? i(...n) : i; } let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((i) => `"${i}"`).join(", ")}.`); - throw Error.captureStackTrace && Error.captureStackTrace(r, On), r; + throw Error.captureStackTrace && Error.captureStackTrace(r, Cn), r; } -function nM(e) { +function mp(e) { return ln.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document; } -let Cu = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","); -var qn = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(qn || {}), rM = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(rM || {}), Tx = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Tx || {}); -function jx(e = document.body) { - return e == null ? [] : Array.from(e.querySelectorAll(Cu)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER))); +let vu = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","); +var Vn = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(Vn || {}), vp = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(vp || {}), rC = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(rC || {}); +function iC(e = document.body) { + return e == null ? [] : Array.from(e.querySelectorAll(vu)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER))); } -var iM = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(iM || {}); -function Sx(e, t = 0) { +var wp = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(wp || {}); +function oC(e, t = 0) { var n; - return e === ((n = nM(e)) == null ? void 0 : n.body) ? !1 : On(t, { [0]() { - return e.matches(Cu); + return e === ((n = mp(e)) == null ? void 0 : n.body) ? !1 : Cn(t, { [0]() { + return e.matches(vu); }, [1]() { let r = e; for (; r !== null; ) { - if (r.matches(Cu)) + if (r.matches(vu)) return !0; r = r.parentElement; } return !1; } }); } -var bx = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(bx || {}); +var sC = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(sC || {}); typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => { e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = ""); }, !0), document.addEventListener("click", (e) => { e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = ""); }, !0)); -function rr(e) { +function tr(e) { e == null || e.focus({ preventScroll: !0 }); } -let Cx = ["textarea", "input"].join(","); -function xx(e) { +let aC = ["textarea", "input"].join(","); +function uC(e) { var t, n; - return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, Cx)) != null ? n : !1; + return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, aC)) != null ? n : !1; } -function Ox(e, t = (n) => n) { +function cC(e, t = (n) => n) { return e.slice().sort((n, r) => { let i = t(n), o = t(r); if (i === null || o === null) @@ -25562,8 +24984,8 @@ function Ox(e, t = (n) => n) { return s & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : s & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0; }); } -function To(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: i = [] } = {}) { - let o = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, s = Array.isArray(e) ? n ? Ox(e) : e : jx(e); +function No(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: i = [] } = {}) { + let o = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, s = Array.isArray(e) ? n ? cC(e) : e : iC(e); i.length > 0 && s.length > 1 && (s = s.filter((g) => !i.includes(g))), r = r ?? o.activeElement; let a = (() => { if (t & 5) @@ -25596,20 +25018,20 @@ function To(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: i = [] } } d = s[g], d == null || d.focus(c), l += a; } while (d !== o.activeElement); - return t & 6 && xx(d) && d.select(), 2; + return t & 6 && uC(d) && d.select(), 2; } -function Ta(e, t, n) { - let r = Ls(t); - st(() => { +function Da(e, t, n) { + let r = Cs(t); + dt(() => { function i(o) { r.current(o); } return document.addEventListener(e, i, n), () => document.removeEventListener(e, i, n); }, [e, n]); } -function Lx(e, t, n = !0) { - let r = tt(!1); - st(() => { +function lC(e, t, n = !0) { + let r = ot(!1); + dt(() => { requestAnimationFrame(() => { r.current = n; }); @@ -25628,58 +25050,58 @@ function Lx(e, t, n = !0) { if (f != null && f.contains(c) || s.composed && s.composedPath().includes(f)) return; } - return !Sx(c, iM.Loose) && c.tabIndex !== -1 && s.preventDefault(), t(s, c); + return !oC(c, wp.Loose) && c.tabIndex !== -1 && s.preventDefault(), t(s, c); } } - let o = tt(null); - Ta("mousedown", (s) => { + let o = ot(null); + Da("mousedown", (s) => { var a, u; r.current && (o.current = ((u = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : u[0]) || s.target); - }, !0), Ta("click", (s) => { + }, !0), Da("click", (s) => { o.current && (i(s, () => o.current), o.current = null); - }, !0), Ta("blur", (s) => i(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0); + }, !0), Da("blur", (s) => i(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0); } -let oM = Symbol(); -function _x(e, t = !0) { - return Object.assign(e, { [oM]: t }); +let Dp = Symbol(); +function fC(e, t = !0) { + return Object.assign(e, { [Dp]: t }); } -function mn(...e) { - let t = tt(e); - st(() => { +function yn(...e) { + let t = ot(e); + dt(() => { t.current = e; }, [e]); - let n = kt((r) => { + let n = _t((r) => { for (let i of t.current) i != null && (typeof i == "function" ? i(r) : i.current = r); }); - return e.every((r) => r == null || (r == null ? void 0 : r[oM])) ? void 0 : n; + return e.every((r) => r == null || (r == null ? void 0 : r[Dp])) ? void 0 : n; } -function ph(...e) { +function Bd(...e) { return e.filter(Boolean).join(" "); } -var xu = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(xu || {}), kx = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(kx || {}); +var wu = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(wu || {}), dC = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(dC || {}); function Xt({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: i, visible: o = !0, name: s }) { - let a = sM(t, e); + let a = Ap(t, e); if (o) - return yo(a, n, r, s); + return Mo(a, n, r, s); let u = i ?? 0; if (u & 2) { let { static: c = !1, ...l } = a; if (c) - return yo(l, n, r, s); + return Mo(l, n, r, s); } if (u & 1) { let { unmount: c = !0, ...l } = a; - return On(c ? 0 : 1, { [0]() { + return Cn(c ? 0 : 1, { [0]() { return null; }, [1]() { - return yo({ ...l, hidden: !0, style: { display: "none" } }, n, r, s); + return Mo({ ...l, hidden: !0, style: { display: "none" } }, n, r, s); } }); } - return yo(a, n, r, s); + return Mo(a, n, r, s); } -function yo(e, t = {}, n, r) { - let { as: i = n, children: o, refName: s = "ref", ...a } = ja(e, ["unmount", "static"]), u = e.ref !== void 0 ? { [s]: e.ref } : {}, c = typeof o == "function" ? o(t) : o; +function Mo(e, t = {}, n, r) { + let { as: i = n, children: o, refName: s = "ref", ...a } = Aa(e, ["unmount", "static"]), u = e.ref !== void 0 ? { [s]: e.ref } : {}, c = typeof o == "function" ? o(t) : o; "className" in a && a.className && typeof a.className == "function" && (a.className = a.className(t)); let l = {}; if (t) { @@ -25688,24 +25110,24 @@ function yo(e, t = {}, n, r) { typeof h == "boolean" && (f = !0), h === !0 && d.push(g); f && (l["data-headlessui-state"] = d.join(" ")); } - if (i === jn && Object.keys(Mh(a)).length > 0) { - if (!gi(c) || Array.isArray(c) && c.length > 1) + if (i === Nn && Object.keys($d(a)).length > 0) { + if (!hi(c) || Array.isArray(c) && c.length > 1) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(a).map((h) => ` - ${h}`).join(` `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((h) => ` - ${h}`).join(` `)].join(` `)); - let f = c.props, d = typeof (f == null ? void 0 : f.className) == "function" ? (...h) => ph(f == null ? void 0 : f.className(...h), a.className) : ph(f == null ? void 0 : f.className, a.className), g = d ? { className: d } : {}; - return pi(c, Object.assign({}, sM(c.props, Mh(ja(a, ["ref"]))), l, u, zx(c.ref, u.ref), g)); + let f = c.props, d = typeof (f == null ? void 0 : f.className) == "function" ? (...h) => Bd(f == null ? void 0 : f.className(...h), a.className) : Bd(f == null ? void 0 : f.className, a.className), g = d ? { className: d } : {}; + return gi(c, Object.assign({}, Ap(c.props, $d(Aa(a, ["ref"]))), l, u, hC(c.ref, u.ref), g)); } - return wt(i, Object.assign({}, ja(a, ["ref"]), i !== jn && u, i !== jn && l), c); + return kt(i, Object.assign({}, Aa(a, ["ref"]), i !== Nn && u, i !== Nn && l), c); } -function zx(...e) { +function hC(...e) { return { ref: e.every((t) => t == null) ? void 0 : (t) => { for (let n of e) n != null && (typeof n == "function" ? n(t) : n.current = t); } }; } -function sM(...e) { +function Ap(...e) { if (e.length === 0) return {}; if (e.length === 1) @@ -25729,28 +25151,28 @@ function sM(...e) { } function en(e) { var t; - return Object.assign(es(e), { displayName: (t = e.displayName) != null ? t : e.name }); + return Object.assign(Su(e), { displayName: (t = e.displayName) != null ? t : e.name }); } -function Mh(e) { +function $d(e) { let t = Object.assign({}, e); for (let n in t) t[n] === void 0 && delete t[n]; return t; } -function ja(e, t = []) { +function Aa(e, t = []) { let n = Object.assign({}, e); for (let r of t) r in n && delete n[r]; return n; } -function Px(e) { +function gC(e) { let t = e.parentElement, n = null; for (; t && !(t instanceof HTMLFieldSetElement); ) t instanceof HTMLLegendElement && (n = t), t = t.parentElement; let r = (t == null ? void 0 : t.getAttribute("disabled")) === ""; - return r && Rx(n) ? !1 : r; + return r && pC(n) ? !1 : r; } -function Rx(e) { +function pC(e) { if (!e) return !1; let t = e.previousElementSibling; @@ -25761,22 +25183,22 @@ function Rx(e) { } return !0; } -let Ux = "div"; -var Go = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(Go || {}); -function Fx(e, t) { +let MC = "div"; +var qo = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(qo || {}); +function yC(e, t) { let { features: n = 1, ...r } = e, i = { ref: t, "aria-hidden": (n & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(n & 4) === 4 && (n & 2) !== 2 && { display: "none" } } }; - return Xt({ ourProps: i, theirProps: r, slot: {}, defaultTag: Ux, name: "Hidden" }); -} -let Ou = en(Fx), aM = pn(null); -aM.displayName = "OpenClosedContext"; -var di = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(di || {}); -function Yx() { - return gt(aM); -} -var uM = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(uM || {}); -function bc(e, t) { - let n = tt([]), r = kt(e); - st(() => { + return Xt({ ourProps: i, theirProps: r, slot: {}, defaultTag: MC, name: "Hidden" }); +} +let Du = en(yC), Ep = xn(null); +Ep.displayName = "OpenClosedContext"; +var fi = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(fi || {}); +function mC() { + return wt(Ep); +} +var Ip = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Ip || {}); +function gc(e, t) { + let n = ot([]), r = _t(e); + dt(() => { let i = [...n.current]; for (let [o, s] of t.entries()) if (n.current[o] !== s) { @@ -25785,37 +25207,37 @@ function bc(e, t) { } }, [r, ...t]); } -function Bx() { +function vC() { return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0; } -function Qx(e, t, n) { - let r = Ls(t); - st(() => { +function wC(e, t, n) { + let r = Cs(t); + dt(() => { function i(o) { r.current(o); } return window.addEventListener(e, i, n), () => window.removeEventListener(e, i, n); }, [e, n]); } -var hi = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(hi || {}); -function $x() { - let e = tt(0); - return Qx("keydown", (t) => { +var di = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(di || {}); +function DC() { + let e = ot(0); + return wC("keydown", (t) => { t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0); }, !0), e; } -function cM() { - let e = tt(!1); - return Pn(() => (e.current = !0, () => { +function Np() { + let e = ot(!1); + return kn(() => (e.current = !0, () => { e.current = !1; }), []), e; } -function ks(...e) { - return dn(() => nM(...e), [...e]); +function Os(...e) { + return dn(() => mp(...e), [...e]); } -function lM(e, t, n, r) { - let i = Ls(n); - st(() => { +function Tp(e, t, n, r) { + let i = Cs(n); + dt(() => { e = e ?? window; function o(s) { i.current(s); @@ -25823,13 +25245,13 @@ function lM(e, t, n, r) { return e.addEventListener(t, o, r), () => e.removeEventListener(t, o, r); }, [e, t, r]); } -function Wx(e) { +function AC(e) { function t() { document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t)); } typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t()); } -function fM(e) { +function jp(e) { if (!e) return /* @__PURE__ */ new Set(); if (typeof e == "function") @@ -25839,69 +25261,69 @@ function fM(e) { n.current instanceof HTMLElement && t.add(n.current); return t; } -let Vx = "div"; -var dM = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(dM || {}); -function Hx(e, t) { - let n = tt(null), r = mn(n, t), { initialFocus: i, containers: o, features: s = 30, ...a } = e; - _s() || (s = 1); - let u = ks(n); - Gx({ ownerDocument: u }, !!(s & 16)); - let c = Jx({ ownerDocument: u, container: n, initialFocus: i }, !!(s & 2)); - Zx({ ownerDocument: u, container: n, containers: o, previousActiveElement: c }, !!(s & 8)); - let l = $x(), f = kt((p) => { +let EC = "div"; +var Sp = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(Sp || {}); +function IC(e, t) { + let n = ot(null), r = yn(n, t), { initialFocus: i, containers: o, features: s = 30, ...a } = e; + xs() || (s = 1); + let u = Os(n); + jC({ ownerDocument: u }, !!(s & 16)); + let c = SC({ ownerDocument: u, container: n, initialFocus: i }, !!(s & 2)); + bC({ ownerDocument: u, container: n, containers: o, previousActiveElement: c }, !!(s & 8)); + let l = DC(), f = _t((p) => { let m = n.current; m && ((v) => v())(() => { - On(l.current, { [hi.Forwards]: () => { - To(m, qn.First, { skipElements: [p.relatedTarget] }); - }, [hi.Backwards]: () => { - To(m, qn.Last, { skipElements: [p.relatedTarget] }); + Cn(l.current, { [di.Forwards]: () => { + No(m, Vn.First, { skipElements: [p.relatedTarget] }); + }, [di.Backwards]: () => { + No(m, Vn.Last, { skipElements: [p.relatedTarget] }); } }); }); - }), d = Nx(), g = tt(!1), h = { ref: r, onKeyDown(p) { + }), d = nC(), g = ot(!1), h = { ref: r, onKeyDown(p) { p.key == "Tab" && (g.current = !0, d.requestAnimationFrame(() => { g.current = !1; })); }, onBlur(p) { - let m = fM(o); + let m = jp(o); n.current instanceof HTMLElement && m.add(n.current); let v = p.relatedTarget; - v instanceof HTMLElement && v.dataset.headlessuiFocusGuard !== "true" && (hM(m, v) || (g.current ? To(n.current, On(l.current, { [hi.Forwards]: () => qn.Next, [hi.Backwards]: () => qn.Previous }) | qn.WrapAround, { relativeTo: p.target }) : p.target instanceof HTMLElement && rr(p.target))); + v instanceof HTMLElement && v.dataset.headlessuiFocusGuard !== "true" && (bp(m, v) || (g.current ? No(n.current, Cn(l.current, { [di.Forwards]: () => Vn.Next, [di.Backwards]: () => Vn.Previous }) | Vn.WrapAround, { relativeTo: p.target }) : p.target instanceof HTMLElement && tr(p.target))); } }; - return Te.createElement(Te.Fragment, null, !!(s & 4) && Te.createElement(Ou, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: f, features: Go.Focusable }), Xt({ ourProps: h, theirProps: a, defaultTag: Vx, name: "FocusTrap" }), !!(s & 4) && Te.createElement(Ou, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: f, features: Go.Focusable })); + return Te.createElement(Te.Fragment, null, !!(s & 4) && Te.createElement(Du, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: f, features: qo.Focusable }), Xt({ ourProps: h, theirProps: a, defaultTag: EC, name: "FocusTrap" }), !!(s & 4) && Te.createElement(Du, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: f, features: qo.Focusable })); } -let qx = en(Hx), oi = Object.assign(qx, { features: dM }), Nn = []; -Wx(() => { +let NC = en(IC), ii = Object.assign(NC, { features: Sp }), En = []; +AC(() => { function e(t) { - t.target instanceof HTMLElement && t.target !== document.body && Nn[0] !== t.target && (Nn.unshift(t.target), Nn = Nn.filter((n) => n != null && n.isConnected), Nn.splice(10)); + t.target instanceof HTMLElement && t.target !== document.body && En[0] !== t.target && (En.unshift(t.target), En = En.filter((n) => n != null && n.isConnected), En.splice(10)); } window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 }); }); -function Kx(e = !0) { - let t = tt(Nn.slice()); - return bc(([n], [r]) => { +function TC(e = !0) { + let t = ot(En.slice()); + return gc(([n], [r]) => { r === !0 && n === !1 && Ji(() => { t.current.splice(0); - }), r === !1 && n === !0 && (t.current = Nn.slice()); - }, [e, Nn, t]), kt(() => { + }), r === !1 && n === !0 && (t.current = En.slice()); + }, [e, En, t]), _t(() => { var n; return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null; }); } -function Gx({ ownerDocument: e }, t) { - let n = Kx(t); - bc(() => { - t || (e == null ? void 0 : e.activeElement) === (e == null ? void 0 : e.body) && rr(n()); +function jC({ ownerDocument: e }, t) { + let n = TC(t); + gc(() => { + t || (e == null ? void 0 : e.activeElement) === (e == null ? void 0 : e.body) && tr(n()); }, [t]); - let r = tt(!1); - st(() => (r.current = !1, () => { + let r = ot(!1); + dt(() => (r.current = !1, () => { r.current = !0, Ji(() => { - r.current && rr(n()); + r.current && tr(n()); }); }), []); } -function Jx({ ownerDocument: e, container: t, initialFocus: n }, r) { - let i = tt(null), o = cM(); - return bc(() => { +function SC({ ownerDocument: e, container: t, initialFocus: n }, r) { + let i = ot(null), o = Np(); + return gc(() => { if (!r) return; let s = t.current; @@ -25918,39 +25340,39 @@ function Jx({ ownerDocument: e, container: t, initialFocus: n }, r) { i.current = a; return; } - n != null && n.current ? rr(n.current) : To(s, qn.First) === rM.Error && console.warn("There are no focusable elements inside the "), i.current = e == null ? void 0 : e.activeElement; + n != null && n.current ? tr(n.current) : No(s, Vn.First) === vp.Error && console.warn("There are no focusable elements inside the "), i.current = e == null ? void 0 : e.activeElement; }); }, [r]), i; } -function Zx({ ownerDocument: e, container: t, containers: n, previousActiveElement: r }, i) { - let o = cM(); - lM(e == null ? void 0 : e.defaultView, "focus", (s) => { +function bC({ ownerDocument: e, container: t, containers: n, previousActiveElement: r }, i) { + let o = Np(); + Tp(e == null ? void 0 : e.defaultView, "focus", (s) => { if (!i || !o.current) return; - let a = fM(n); + let a = jp(n); t.current instanceof HTMLElement && a.add(t.current); let u = r.current; if (!u) return; let c = s.target; - c && c instanceof HTMLElement ? hM(a, c) ? (r.current = c, rr(c)) : (s.preventDefault(), s.stopPropagation(), rr(u)) : rr(r.current); + c && c instanceof HTMLElement ? bp(a, c) ? (r.current = c, tr(c)) : (s.preventDefault(), s.stopPropagation(), tr(u)) : tr(r.current); }, !0); } -function hM(e, t) { +function bp(e, t) { for (let n of e) if (n.contains(t)) return !0; return !1; } -let gM = pn(!1); -function Xx() { - return gt(gM); +let Cp = xn(!1); +function CC() { + return wt(Cp); } -function Lu(e) { - return Te.createElement(gM.Provider, { value: e.force }, e.children); +function Au(e) { + return Te.createElement(Cp.Provider, { value: e.force }, e.children); } -function eO(e) { - let t = Xx(), n = gt(pM), r = ks(e), [i, o] = Ln(() => { +function xC(e) { + let t = CC(), n = wt(xp), r = Os(e), [i, o] = ar(() => { if (!t && n !== null || ln.isServer) return null; let s = r == null ? void 0 : r.getElementById("headlessui-portal-root"); @@ -25961,21 +25383,21 @@ function eO(e) { let a = r.createElement("div"); return a.setAttribute("id", "headlessui-portal-root"), r.body.appendChild(a); }); - return st(() => { + return dt(() => { i !== null && (r != null && r.body.contains(i) || r == null || r.body.appendChild(i)); - }, [i, r]), st(() => { + }, [i, r]), dt(() => { t || n !== null && o(n.current); }, [n, o, t]), i; } -let tO = jn; -function nO(e, t) { - let n = e, r = tt(null), i = mn(_x((l) => { +let OC = Nn; +function LC(e, t) { + let n = e, r = ot(null), i = yn(fC((l) => { r.current = l; - }), t), o = ks(r), s = eO(r), [a] = Ln(() => { + }), t), o = Os(r), s = xC(r), [a] = ar(() => { var l; return ln.isServer ? null : (l = o == null ? void 0 : o.createElement("div")) != null ? l : null; - }), u = _s(), c = tt(!1); - return Pn(() => { + }), u = xs(), c = ot(!1); + return kn(() => { if (c.current = !1, !(!s || !a)) return s.contains(a) || (a.setAttribute("data-headlessui-portal", ""), s.appendChild(a)), () => { c.current = !0, Ji(() => { @@ -25983,86 +25405,86 @@ function nO(e, t) { c.current && (!s || !a || (a instanceof Node && s.contains(a) && s.removeChild(a), s.childNodes.length <= 0 && ((l = s.parentElement) == null || l.removeChild(s)))); }); }; - }, [s, a]), u ? !s || !a ? null : YM(Xt({ ourProps: { ref: i }, theirProps: n, defaultTag: tO, name: "Portal" }), a) : null; + }, [s, a]), u ? !s || !a ? null : rM(Xt({ ourProps: { ref: i }, theirProps: n, defaultTag: OC, name: "Portal" }), a) : null; } -let rO = jn, pM = pn(null); -function iO(e, t) { - let { target: n, ...r } = e, i = { ref: mn(t) }; - return Te.createElement(pM.Provider, { value: n }, Xt({ ourProps: i, theirProps: r, defaultTag: rO, name: "Popover.Group" })); +let _C = Nn, xp = xn(null); +function kC(e, t) { + let { target: n, ...r } = e, i = { ref: yn(t) }; + return Te.createElement(xp.Provider, { value: n }, Xt({ ourProps: i, theirProps: r, defaultTag: _C, name: "Popover.Group" })); } -let oO = en(nO), sO = en(iO), _u = Object.assign(oO, { Group: sO }), MM = pn(null); -function yM() { - let e = gt(MM); +let zC = en(LC), PC = en(kC), Eu = Object.assign(zC, { Group: PC }), Op = xn(null); +function Lp() { + let e = wt(Op); if (e === null) { let t = new Error("You used a component, but it is not inside a relevant parent."); - throw Error.captureStackTrace && Error.captureStackTrace(t, yM), t; + throw Error.captureStackTrace && Error.captureStackTrace(t, Lp), t; } return e; } -function aO() { - let [e, t] = Ln([]); +function RC() { + let [e, t] = ar([]); return [e.length > 0 ? e.join(" ") : void 0, dn(() => function(n) { - let r = kt((o) => (t((s) => [...s, o]), () => t((s) => { + let r = _t((o) => (t((s) => [...s, o]), () => t((s) => { let a = s.slice(), u = a.indexOf(o); return u !== -1 && a.splice(u, 1), a; }))), i = dn(() => ({ register: r, slot: n.slot, name: n.name, props: n.props }), [r, n.slot, n.name, n.props]); - return Te.createElement(MM.Provider, { value: i }, n.children); + return Te.createElement(Op.Provider, { value: i }, n.children); }, [t])]; } -let uO = "p"; -function cO(e, t) { - let n = Kr(), { id: r = `headlessui-description-${n}`, ...i } = e, o = yM(), s = mn(t); - Pn(() => o.register(r), [r, o.register]); +let UC = "p"; +function FC(e, t) { + let n = qr(), { id: r = `headlessui-description-${n}`, ...i } = e, o = Lp(), s = yn(t); + kn(() => o.register(r), [r, o.register]); let a = { ref: s, ...o.props, id: r }; - return Xt({ ourProps: a, theirProps: i, slot: o.slot || {}, defaultTag: uO, name: o.name || "Description" }); + return Xt({ ourProps: a, theirProps: i, slot: o.slot || {}, defaultTag: UC, name: o.name || "Description" }); } -let lO = en(cO), fO = Object.assign(lO, {}), Cc = pn(() => { +let YC = en(FC), QC = Object.assign(YC, {}), pc = xn(() => { }); -Cc.displayName = "StackContext"; -var ku = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(ku || {}); -function dO() { - return gt(Cc); +pc.displayName = "StackContext"; +var Iu = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Iu || {}); +function BC() { + return wt(pc); } -function hO({ children: e, onUpdate: t, type: n, element: r, enabled: i }) { - let o = dO(), s = kt((...a) => { +function $C({ children: e, onUpdate: t, type: n, element: r, enabled: i }) { + let o = BC(), s = _t((...a) => { t == null || t(...a), o(...a); }); - return Pn(() => { + return kn(() => { let a = i === void 0 || i === !0; return a && s(0, n, r), () => { a && s(1, n, r); }; - }, [s, n, r, i]), Te.createElement(Cc.Provider, { value: s }, e); + }, [s, n, r, i]), Te.createElement(pc.Provider, { value: s }, e); } -function gO(e, t) { +function WC(e, t) { return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; } -const pO = typeof Object.is == "function" ? Object.is : gO, { useState: MO, useEffect: yO, useLayoutEffect: mO, useDebugValue: vO } = re; -function wO(e, t, n) { - const r = t(), [{ inst: i }, o] = MO({ inst: { value: r, getSnapshot: t } }); - return mO(() => { - i.value = r, i.getSnapshot = t, Sa(i) && o({ inst: i }); - }, [e, r, t]), yO(() => (Sa(i) && o({ inst: i }), e(() => { - Sa(i) && o({ inst: i }); - })), [e]), vO(r), r; -} -function Sa(e) { +const VC = typeof Object.is == "function" ? Object.is : WC, { useState: HC, useEffect: qC, useLayoutEffect: KC, useDebugValue: GC } = oe; +function JC(e, t, n) { + const r = t(), [{ inst: i }, o] = HC({ inst: { value: r, getSnapshot: t } }); + return KC(() => { + i.value = r, i.getSnapshot = t, Ea(i) && o({ inst: i }); + }, [e, r, t]), qC(() => (Ea(i) && o({ inst: i }), e(() => { + Ea(i) && o({ inst: i }); + })), [e]), GC(r), r; +} +function Ea(e) { const t = e.getSnapshot, n = e.value; try { const r = t(); - return !pO(n, r); + return !VC(n, r); } catch { return !0; } } -function DO(e, t, n) { +function ZC(e, t, n) { return t(); } -const AO = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", EO = !AO, IO = EO ? DO : wO, NO = "useSyncExternalStore" in re ? ((e) => e.useSyncExternalStore)(re) : IO; -function TO(e) { - return NO(e.subscribe, e.getSnapshot, e.getSnapshot); +const XC = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", ex = !XC, tx = ex ? ZC : JC, nx = "useSyncExternalStore" in oe ? ((e) => e.useSyncExternalStore)(oe) : tx; +function rx(e) { + return nx(e.subscribe, e.getSnapshot, e.getSnapshot); } -function jO(e, t) { +function ix(e, t) { let n = e(), r = /* @__PURE__ */ new Set(); return { getSnapshot() { return n; @@ -26073,7 +25495,7 @@ function jO(e, t) { s && (n = s, r.forEach((a) => a())); } }; } -function SO() { +function ox() { let e; return { before({ doc: t }) { var n; @@ -26084,8 +25506,8 @@ function SO() { n.style(r, "paddingRight", `${o}px`); } }; } -function bO() { - if (!Bx()) +function sx() { + if (!vC()) return {}; let e; return { before() { @@ -26113,51 +25535,51 @@ function bO() { }); } }; } -function CO() { +function ax() { return { before({ doc: e, d: t }) { t.style(e.documentElement, "overflow", "hidden"); } }; } -function xO(e) { +function ux(e) { let t = {}; for (let n of e) Object.assign(t, n(t)); return t; } -let Xn = jO(() => /* @__PURE__ */ new Map(), { PUSH(e, t) { +let Jn = ix(() => /* @__PURE__ */ new Map(), { PUSH(e, t) { var n; - let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: Sc(), meta: /* @__PURE__ */ new Set() }; + let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: hc(), meta: /* @__PURE__ */ new Set() }; return r.count++, r.meta.add(t), this.set(e, r), this; }, POP(e, t) { let n = this.get(e); return n && (n.count--, n.meta.delete(t)), this; }, SCROLL_PREVENT({ doc: e, d: t, meta: n }) { - let r = { doc: e, d: t, meta: xO(n) }, i = [bO(), SO(), CO()]; + let r = { doc: e, d: t, meta: ux(n) }, i = [sx(), ox(), ax()]; i.forEach(({ before: o }) => o == null ? void 0 : o(r)), i.forEach(({ after: o }) => o == null ? void 0 : o(r)); }, SCROLL_ALLOW({ d: e }) { e.dispose(); }, TEARDOWN({ doc: e }) { this.delete(e); } }); -Xn.subscribe(() => { - let e = Xn.getSnapshot(), t = /* @__PURE__ */ new Map(); +Jn.subscribe(() => { + let e = Jn.getSnapshot(), t = /* @__PURE__ */ new Map(); for (let [n] of e) t.set(n, n.documentElement.style.overflow); for (let n of e.values()) { let r = t.get(n.doc) === "hidden", i = n.count !== 0; - (i && !r || !i && r) && Xn.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Xn.dispatch("TEARDOWN", n); + (i && !r || !i && r) && Jn.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Jn.dispatch("TEARDOWN", n); } }); -function OO(e, t, n) { - let r = TO(Xn), i = e ? r.get(e) : void 0, o = i ? i.count > 0 : !1; - return Pn(() => { +function cx(e, t, n) { + let r = rx(Jn), i = e ? r.get(e) : void 0, o = i ? i.count > 0 : !1; + return kn(() => { if (!(!e || !t)) - return Xn.dispatch("PUSH", e, n), () => Xn.dispatch("POP", e, n); + return Jn.dispatch("PUSH", e, n), () => Jn.dispatch("POP", e, n); }, [t, e]), o; } -let ba = /* @__PURE__ */ new Map(), si = /* @__PURE__ */ new Map(); -function yh(e, t = !0) { - Pn(() => { +let Ia = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(); +function Wd(e, t = !0) { + kn(() => { var n; if (!t) return; @@ -26168,43 +25590,43 @@ function yh(e, t = !0) { var s; if (!r) return; - let a = (s = si.get(r)) != null ? s : 1; - if (a === 1 ? si.delete(r) : si.set(r, a - 1), a !== 1) + let a = (s = oi.get(r)) != null ? s : 1; + if (a === 1 ? oi.delete(r) : oi.set(r, a - 1), a !== 1) return; - let u = ba.get(r); - u && (u["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", u["aria-hidden"]), r.inert = u.inert, ba.delete(r)); + let u = Ia.get(r); + u && (u["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", u["aria-hidden"]), r.inert = u.inert, Ia.delete(r)); } - let o = (n = si.get(r)) != null ? n : 0; - return si.set(r, o + 1), o !== 0 || (ba.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0), i; + let o = (n = oi.get(r)) != null ? n : 0; + return oi.set(r, o + 1), o !== 0 || (Ia.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0), i; }, [e, t]); } -var LO = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(LO || {}), _O = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(_O || {}); -let kO = { [0](e, t) { +var lx = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(lx || {}), fx = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(fx || {}); +let dx = { [0](e, t) { return e.titleId === t.id ? e : { ...e, titleId: t.id }; -} }, Jo = pn(null); -Jo.displayName = "DialogContext"; +} }, Ko = xn(null); +Ko.displayName = "DialogContext"; function Zi(e) { - let t = gt(Jo); + let t = wt(Ko); if (t === null) { let n = new Error(`<${e} /> is missing a parent component.`); throw Error.captureStackTrace && Error.captureStackTrace(n, Zi), n; } return t; } -function zO(e, t, n = () => [document.body]) { - OO(e, t, (r) => { +function hx(e, t, n = () => [document.body]) { + cx(e, t, (r) => { var i; return { containers: [...(i = r.containers) != null ? i : [], n] }; }); } -function PO(e, t) { - return On(t.type, kO, e, t); +function gx(e, t) { + return Cn(t.type, dx, e, t); } -let RO = "div", UO = xu.RenderStrategy | xu.Static; -function FO(e, t) { - let n = Kr(), { id: r = `headlessui-dialog-${n}`, open: i, onClose: o, initialFocus: s, __demoMode: a = !1, ...u } = e, [c, l] = Ln(0), f = Yx(); - i === void 0 && f !== null && (i = (f & di.Open) === di.Open); - let d = tt(null), g = mn(d, t), h = tt(null), p = ks(d), m = e.hasOwnProperty("open") || f !== null, v = e.hasOwnProperty("onClose"); +let px = "div", Mx = wu.RenderStrategy | wu.Static; +function yx(e, t) { + let n = qr(), { id: r = `headlessui-dialog-${n}`, open: i, onClose: o, initialFocus: s, __demoMode: a = !1, ...u } = e, [c, l] = ar(0), f = mC(); + i === void 0 && f !== null && (i = (f & fi.Open) === fi.Open); + let d = ot(null), g = yn(d, t), h = ot(null), p = Os(d), m = e.hasOwnProperty("open") || f !== null, v = e.hasOwnProperty("onClose"); if (!m && !v) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component."); if (!m) @@ -26215,80 +25637,81 @@ function FO(e, t) { throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${i}`); if (typeof o != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`); - let w = i ? 0 : 1, [j, N] = RM(PO, { titleId: null, descriptionId: null, panelRef: UM() }), I = kt(() => o(!1)), B = kt((X) => N({ type: 0, id: X })), z = _s() ? a ? !1 : w === 0 : !1, W = c > 1, $ = gt(Jo) !== null, b = W ? "parent" : "leaf", k = f !== null ? (f & di.Closing) === di.Closing : !1, U = (() => $ || k ? !1 : z)(), x = Fc(() => { + let w = i ? 0 : 1, [j, I] = eM(gx, { titleId: null, descriptionId: null, panelRef: tM() }), N = _t(() => o(!1)), Q = _t((X) => I({ type: 0, id: X })), z = xs() ? a ? !1 : w === 0 : !1, H = c > 1, W = wt(Ko) !== null, b = H ? "parent" : "leaf", k = f !== null ? (f & fi.Closing) === fi.Closing : !1, U = (() => W || k ? !1 : z)(), x = Nc(() => { var X, O; return (O = Array.from((X = p == null ? void 0 : p.querySelectorAll("body > *")) != null ? X : []).find((ne) => ne.id === "headlessui-portal-root" ? !1 : ne.contains(h.current) && ne instanceof HTMLElement)) != null ? O : null; }, [h]); - yh(x, U); - let T = (() => W ? !0 : z)(), S = Fc(() => { + Wd(x, U); + let T = (() => H ? !0 : z)(), S = Nc(() => { var X, O; return (O = Array.from((X = p == null ? void 0 : p.querySelectorAll("[data-headlessui-portal]")) != null ? X : []).find((ne) => ne.contains(h.current) && ne instanceof HTMLElement)) != null ? O : null; }, [h]); - yh(S, T); - let R = kt(() => { + Wd(S, T); + let R = _t(() => { var X, O; return [...Array.from((X = p == null ? void 0 : p.querySelectorAll("html > *, body > *, [data-headlessui-portal]")) != null ? X : []).filter((ne) => !(ne === document.body || ne === document.head || !(ne instanceof HTMLElement) || ne.contains(h.current) || j.panelRef.current && ne.contains(j.panelRef.current))), (O = j.panelRef.current) != null ? O : d.current]; - }), C = (() => !(!z || W))(); - Lx(() => R(), I, C); - let J = (() => !(W || w !== 0))(); - lM(p == null ? void 0 : p.defaultView, "keydown", (X) => { - J && (X.defaultPrevented || X.key === uM.Escape && (X.preventDefault(), X.stopPropagation(), I())); + }), C = (() => !(!z || H))(); + lC(() => R(), N, C); + let J = (() => !(H || w !== 0))(); + Tp(p == null ? void 0 : p.defaultView, "keydown", (X) => { + J && (X.defaultPrevented || X.key === Ip.Escape && (X.preventDefault(), X.stopPropagation(), N())); }); - let ie = (() => !(k || w !== 0 || $))(); - zO(p, ie, R), st(() => { + let re = (() => !(k || w !== 0 || W))(); + hx(p, re, R), dt(() => { if (w !== 0 || !d.current) return; let X = new ResizeObserver((O) => { for (let ne of O) { let G = ne.target.getBoundingClientRect(); - G.x === 0 && G.y === 0 && G.width === 0 && G.height === 0 && I(); + G.x === 0 && G.y === 0 && G.width === 0 && G.height === 0 && N(); } }); return X.observe(d.current), () => X.disconnect(); - }, [w, d, I]); - let [L, F] = aO(), P = dn(() => [{ dialogState: w, close: I, setTitleId: B }, j], [w, j, I, B]), q = dn(() => ({ open: w === 0 }), [w]), K = { ref: g, id: r, role: "dialog", "aria-modal": w === 0 ? !0 : void 0, "aria-labelledby": j.titleId, "aria-describedby": L }; - return Te.createElement(hO, { type: "Dialog", enabled: w === 0, element: d, onUpdate: kt((X, O) => { - O === "Dialog" && On(X, { [ku.Add]: () => l((ne) => ne + 1), [ku.Remove]: () => l((ne) => ne - 1) }); - }) }, Te.createElement(Lu, { force: !0 }, Te.createElement(_u, null, Te.createElement(Jo.Provider, { value: P }, Te.createElement(_u.Group, { target: d }, Te.createElement(Lu, { force: !1 }, Te.createElement(F, { slot: q, name: "Dialog.Description" }, Te.createElement(oi, { initialFocus: s, containers: R, features: z ? On(b, { parent: oi.features.RestoreFocus, leaf: oi.features.All & ~oi.features.FocusLock }) : oi.features.None }, Xt({ ourProps: K, theirProps: u, slot: q, defaultTag: RO, features: UO, visible: w === 0, name: "Dialog" })))))))), Te.createElement(Ou, { features: Go.Hidden, ref: h })); -} -let YO = "div"; -function BO(e, t) { - let n = Kr(), { id: r = `headlessui-dialog-overlay-${n}`, ...i } = e, [{ dialogState: o, close: s }] = Zi("Dialog.Overlay"), a = mn(t), u = kt((l) => { + }, [w, d, N]); + let [L, F] = RC(), P = dn(() => [{ dialogState: w, close: N, setTitleId: Q }, j], [w, j, N, Q]), q = dn(() => ({ open: w === 0 }), [w]), K = { ref: g, id: r, role: "dialog", "aria-modal": w === 0 ? !0 : void 0, "aria-labelledby": j.titleId, "aria-describedby": L }; + return Te.createElement($C, { type: "Dialog", enabled: w === 0, element: d, onUpdate: _t((X, O) => { + O === "Dialog" && Cn(X, { [Iu.Add]: () => l((ne) => ne + 1), [Iu.Remove]: () => l((ne) => ne - 1) }); + }) }, Te.createElement(Au, { force: !0 }, Te.createElement(Eu, null, Te.createElement(Ko.Provider, { value: P }, Te.createElement(Eu.Group, { target: d }, Te.createElement(Au, { force: !1 }, Te.createElement(F, { slot: q, name: "Dialog.Description" }, Te.createElement(ii, { initialFocus: s, containers: R, features: z ? Cn(b, { parent: ii.features.RestoreFocus, leaf: ii.features.All & ~ii.features.FocusLock }) : ii.features.None }, Xt({ ourProps: K, theirProps: u, slot: q, defaultTag: px, features: Mx, visible: w === 0, name: "Dialog" })))))))), Te.createElement(Du, { features: qo.Hidden, ref: h })); +} +let mx = "div"; +function vx(e, t) { + let n = qr(), { id: r = `headlessui-dialog-overlay-${n}`, ...i } = e, [{ dialogState: o, close: s }] = Zi("Dialog.Overlay"), a = yn(t), u = _t((l) => { if (l.target === l.currentTarget) { - if (Px(l.currentTarget)) + if (gC(l.currentTarget)) return l.preventDefault(); l.preventDefault(), l.stopPropagation(), s(); } }), c = dn(() => ({ open: o === 0 }), [o]); - return Xt({ ourProps: { ref: a, id: r, "aria-hidden": !0, onClick: u }, theirProps: i, slot: c, defaultTag: YO, name: "Dialog.Overlay" }); + return Xt({ ourProps: { ref: a, id: r, "aria-hidden": !0, onClick: u }, theirProps: i, slot: c, defaultTag: mx, name: "Dialog.Overlay" }); } -let QO = "div"; -function $O(e, t) { - let n = Kr(), { id: r = `headlessui-dialog-backdrop-${n}`, ...i } = e, [{ dialogState: o }, s] = Zi("Dialog.Backdrop"), a = mn(t); - st(() => { +let wx = "div"; +function Dx(e, t) { + let n = qr(), { id: r = `headlessui-dialog-backdrop-${n}`, ...i } = e, [{ dialogState: o }, s] = Zi("Dialog.Backdrop"), a = yn(t); + dt(() => { if (s.panelRef.current === null) throw new Error("A component is being used, but a component is missing."); }, [s.panelRef]); let u = dn(() => ({ open: o === 0 }), [o]); - return Te.createElement(Lu, { force: !0 }, Te.createElement(_u, null, Xt({ ourProps: { ref: a, id: r, "aria-hidden": !0 }, theirProps: i, slot: u, defaultTag: QO, name: "Dialog.Backdrop" }))); + return Te.createElement(Au, { force: !0 }, Te.createElement(Eu, null, Xt({ ourProps: { ref: a, id: r, "aria-hidden": !0 }, theirProps: i, slot: u, defaultTag: wx, name: "Dialog.Backdrop" }))); } -let WO = "div"; -function VO(e, t) { - let n = Kr(), { id: r = `headlessui-dialog-panel-${n}`, ...i } = e, [{ dialogState: o }, s] = Zi("Dialog.Panel"), a = mn(t, s.panelRef), u = dn(() => ({ open: o === 0 }), [o]), c = kt((l) => { +let Ax = "div"; +function Ex(e, t) { + let n = qr(), { id: r = `headlessui-dialog-panel-${n}`, ...i } = e, [{ dialogState: o }, s] = Zi("Dialog.Panel"), a = yn(t, s.panelRef), u = dn(() => ({ open: o === 0 }), [o]), c = _t((l) => { l.stopPropagation(); }); - return Xt({ ourProps: { ref: a, id: r, onClick: c }, theirProps: i, slot: u, defaultTag: WO, name: "Dialog.Panel" }); + return Xt({ ourProps: { ref: a, id: r, onClick: c }, theirProps: i, slot: u, defaultTag: Ax, name: "Dialog.Panel" }); } -let HO = "h2"; -function qO(e, t) { - let n = Kr(), { id: r = `headlessui-dialog-title-${n}`, ...i } = e, [{ dialogState: o, setTitleId: s }] = Zi("Dialog.Title"), a = mn(t); - st(() => (s(r), () => s(null)), [r, s]); +let Ix = "h2"; +function Nx(e, t) { + let n = qr(), { id: r = `headlessui-dialog-title-${n}`, ...i } = e, [{ dialogState: o, setTitleId: s }] = Zi("Dialog.Title"), a = yn(t); + dt(() => (s(r), () => s(null)), [r, s]); let u = dn(() => ({ open: o === 0 }), [o]); - return Xt({ ourProps: { ref: a, id: r }, theirProps: i, slot: u, defaultTag: HO, name: "Dialog.Title" }); + return Xt({ ourProps: { ref: a, id: r }, theirProps: i, slot: u, defaultTag: Ix, name: "Dialog.Title" }); } -let KO = en(FO), GO = en($O), JO = en(VO), ZO = en(BO), XO = en(qO), mo = Object.assign(KO, { Backdrop: GO, Panel: JO, Overlay: ZO, Title: XO, Description: fO }); -const e4 = { - fontSize: "1.2em", +let Tx = en(yx), jx = en(Dx), Sx = en(Ex), bx = en(vx), Cx = en(Nx), yo = Object.assign(Tx, { Backdrop: jx, Panel: Sx, Overlay: bx, Title: Cx, Description: QC }); +const xx = { + width: "70%", + fontSize: "1.6em", padding: "0.5em", margin: "0.5em", background: "#b51e36", @@ -26302,26 +25725,27 @@ const e4 = { ":focus": { outline: "none" } -}, t4 = ({ isModalOpen: e, closeModal: t, t: n }) => /* @__PURE__ */ ge.jsx(mo, { open: e, onClose: () => t, children: /* @__PURE__ */ ge.jsxs( - mo.Panel, +}, OO = ({ isModalOpen: e, closeModal: t, t: n }) => /* @__PURE__ */ ge.jsx(yo, { open: e, onClose: () => t, children: /* @__PURE__ */ ge.jsxs( + yo.Panel, { - className: "bg-light-bgMain text-light-text1 dark:bg-dark-bgMain dark:text-dark-text1 dark:border-2 dark:border-dark-text3", - style: { borderRadius: "20px", padding: "1em 2em" }, + className: "bg-light-bgMain text-light-text1 dark:bg-dark-bgMain dark:text-dark-text1 dark:border-2 dark:border-dark-text3 rounded-lg p-4 fixed top-1/3 z-50 shadow-xl border-4 border-gray-100", + style: { top: "25vh", left: "20vw", width: "60vw", borderRadius: "20px", boxShadow: "0px 0px 10px gray" }, children: [ - /* @__PURE__ */ ge.jsxs(mo.Title, { style: { fontSize: "24px" }, children: [ + /* @__PURE__ */ ge.jsxs(yo.Title, { style: { fontSize: "24px", position: "relative" }, className: "text-center", children: [ + /* @__PURE__ */ ge.jsx("button", { style: { position: "absolute", top: 0, right: 0, fontSize: 50 }, onClick: t, children: /* @__PURE__ */ ge.jsx(sv, {}) }), n("user.Sign in"), /* @__PURE__ */ ge.jsx("hr", { style: { backgroundColor: "#585858", borderColor: "#585858" } }) ] }), - /* @__PURE__ */ ge.jsxs(mo.Description, { children: [ - /* @__PURE__ */ ge.jsxs("div", { className: "px-4 py-4 lg:px-16", children: [ + /* @__PURE__ */ ge.jsxs(yo.Description, { children: [ + /* @__PURE__ */ ge.jsxs("div", { className: "px-4 py-4 lg:px-16 text-center", children: [ /* @__PURE__ */ ge.jsx("p", { children: n("user.sign in description") }), - /* @__PURE__ */ ge.jsxs("button", { style: e4, onClick: Dx, children: [ - /* @__PURE__ */ ge.jsx("span", { style: { padding: "0px", paddingRight: "0.5em" }, children: /* @__PURE__ */ ge.jsx(Yv, {}) }), + /* @__PURE__ */ ge.jsxs("button", { style: xx, onClick: Z1, children: [ + /* @__PURE__ */ ge.jsx("span", { style: { float: "left", color: "#fff" }, children: /* @__PURE__ */ ge.jsx(ov, {}) }), n("user.Sign in with WasedaMail") ] }) ] }), /* @__PURE__ */ ge.jsx("hr", { style: { backgroundColor: "#585858", borderColor: "#585858" } }), - /* @__PURE__ */ ge.jsxs("p", { children: [ + /* @__PURE__ */ ge.jsxs("p", { className: "text-center", children: [ n("user.agreement on privacy policy 1"), /* @__PURE__ */ ge.jsx("a", { href: "/privacy-policy", children: /* @__PURE__ */ ge.jsx("b", { children: n("user.Privacy Policy") }) }), n("user.agreement on privacy policy 2"), @@ -26331,16 +25755,54 @@ const e4 = { ] }) ] } -) }), X4 = TN("translation")(t4); -var mM = [], n4 = mM.forEach, r4 = mM.slice; -function i4(e) { - return n4.call(r4.call(arguments, 1), function(t) { +) }); +function Ox(e, t) { + if (!(e instanceof t)) + throw new TypeError("Cannot call a class as a function"); +} +function Ri(e) { + return Ri = 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; + }, Ri(e); +} +function Lx(e, t) { + if (Ri(e) !== "object" || e === null) + return e; + var n = e[Symbol.toPrimitive]; + if (n !== void 0) { + var r = n.call(e, t || "default"); + if (Ri(r) !== "object") + return r; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (t === "string" ? String : Number)(e); +} +function _x(e) { + var t = Lx(e, "string"); + return Ri(t) === "symbol" ? t : String(t); +} +function Vd(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, _x(r.key), r); + } +} +function kx(e, t, n) { + return t && Vd(e.prototype, t), n && Vd(e, n), Object.defineProperty(e, "prototype", { + writable: !1 + }), e; +} +var _p = [], zx = _p.forEach, Px = _p.slice; +function Rx(e) { + return zx.call(Px.call(arguments, 1), function(t) { if (t) for (var n in t) e[n] === void 0 && (e[n] = t[n]); }), e; } -var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { +var Hd = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ux = function(t, n, r) { var i = r || {}; i.path = i.path || "/"; var o = encodeURIComponent(n), s = t + "=" + o; @@ -26351,12 +25813,12 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { s += "; Max-Age=" + Math.floor(a); } if (i.domain) { - if (!mh.test(i.domain)) + if (!Hd.test(i.domain)) throw new TypeError("option domain is invalid"); s += "; Domain=" + i.domain; } if (i.path) { - if (!mh.test(i.path)) + if (!Hd.test(i.path)) throw new TypeError("option path is invalid"); s += "; Path=" + i.path; } @@ -26385,13 +25847,13 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { } } return s; -}, vh = { +}, qd = { create: function(t, n, r, i) { var o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { path: "/", sameSite: "strict" }; - r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), i && (o.domain = i), document.cookie = o4(t, encodeURIComponent(n), o); + r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), i && (o.domain = i), document.cookie = Ux(t, encodeURIComponent(n), o); }, read: function(t) { for (var n = t + "=", r = document.cookie.split(";"), i = 0; i < r.length; i++) { @@ -26405,20 +25867,20 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { remove: function(t) { this.create(t, "", -1); } -}, s4 = { +}, Fx = { name: "cookie", lookup: function(t) { var n; if (t.lookupCookie && typeof document < "u") { - var r = vh.read(t.lookupCookie); + var r = qd.read(t.lookupCookie); r && (n = r); } return n; }, cacheUserLanguage: function(t, n) { - n.lookupCookie && typeof document < "u" && vh.create(n.lookupCookie, t, n.cookieMinutes, n.cookieDomain, n.cookieOptions); + n.lookupCookie && typeof document < "u" && qd.create(n.lookupCookie, t, n.cookieMinutes, n.cookieDomain, n.cookieOptions); } -}, a4 = { +}, Yx = { name: "querystring", lookup: function(t) { var n; @@ -26435,55 +25897,55 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { } return n; } -}, ai = null, wh = function() { - if (ai !== null) - return ai; +}, si = null, Kd = function() { + if (si !== null) + return si; try { - ai = window !== "undefined" && window.localStorage !== null; + si = window !== "undefined" && window.localStorage !== null; var t = "i18next.translate.boo"; window.localStorage.setItem(t, "foo"), window.localStorage.removeItem(t); } catch { - ai = !1; + si = !1; } - return ai; -}, u4 = { + return si; +}, Qx = { name: "localStorage", lookup: function(t) { var n; - if (t.lookupLocalStorage && wh()) { + if (t.lookupLocalStorage && Kd()) { var r = window.localStorage.getItem(t.lookupLocalStorage); r && (n = r); } return n; }, cacheUserLanguage: function(t, n) { - n.lookupLocalStorage && wh() && window.localStorage.setItem(n.lookupLocalStorage, t); + n.lookupLocalStorage && Kd() && window.localStorage.setItem(n.lookupLocalStorage, t); } -}, ui = null, Dh = function() { - if (ui !== null) - return ui; +}, ai = null, Gd = function() { + if (ai !== null) + return ai; try { - ui = window !== "undefined" && window.sessionStorage !== null; + ai = window !== "undefined" && window.sessionStorage !== null; var t = "i18next.translate.boo"; window.sessionStorage.setItem(t, "foo"), window.sessionStorage.removeItem(t); } catch { - ui = !1; + ai = !1; } - return ui; -}, c4 = { + return ai; +}, Bx = { name: "sessionStorage", lookup: function(t) { var n; - if (t.lookupSessionStorage && Dh()) { + if (t.lookupSessionStorage && Gd()) { var r = window.sessionStorage.getItem(t.lookupSessionStorage); r && (n = r); } return n; }, cacheUserLanguage: function(t, n) { - n.lookupSessionStorage && Dh() && window.sessionStorage.setItem(n.lookupSessionStorage, t); + n.lookupSessionStorage && Gd() && window.sessionStorage.setItem(n.lookupSessionStorage, t); } -}, l4 = { +}, $x = { name: "navigator", lookup: function(t) { var n = []; @@ -26495,13 +25957,13 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { } return n.length > 0 ? n : void 0; } -}, f4 = { +}, Wx = { name: "htmlTag", lookup: function(t) { var n, r = t.htmlTag || (typeof document < "u" ? document.documentElement : null); return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n; } -}, d4 = { +}, Vx = { name: "path", lookup: function(t) { var n; @@ -26517,7 +25979,7 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { } return n; } -}, h4 = { +}, Hx = { name: "subdomain", lookup: function(t) { var n; @@ -26528,7 +25990,7 @@ var mh = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, o4 = function(t, n, r) { return n; } }; -function g4() { +function qx() { return { order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"], lookupQuerystring: "lng", @@ -26542,16 +26004,16 @@ function g4() { //cookieDomain: 'myDomain' }; } -var vM = /* @__PURE__ */ function() { +var kp = /* @__PURE__ */ function() { function e(t) { var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - sp(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n); + Ox(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n); } - return ap(e, [{ + return kx(e, [{ key: "init", value: function(n) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - this.services = n, this.options = i4(r, this.options || {}, g4()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(s4), this.addDetector(a4), this.addDetector(u4), this.addDetector(c4), this.addDetector(l4), this.addDetector(f4), this.addDetector(d4), this.addDetector(h4); + this.services = n, this.options = Rx(r, this.options || {}, qx()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(Fx), this.addDetector(Yx), this.addDetector(Qx), this.addDetector(Bx), this.addDetector($x), this.addDetector(Wx), this.addDetector(Vx), this.addDetector(Hx); } }, { key: "addDetector", @@ -26581,51 +26043,51 @@ var vM = /* @__PURE__ */ function() { } }]), e; }(); -vM.type = "languageDetector"; -function zu(e) { - return zu = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { +kp.type = "languageDetector"; +function Nu(e) { + return Nu = 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; - }, zu(e); + }, Nu(e); } -var wM = [], p4 = wM.forEach, M4 = wM.slice; -function Pu(e) { - return p4.call(M4.call(arguments, 1), function(t) { +var zp = [], Kx = zp.forEach, Gx = zp.slice; +function Tu(e) { + return Kx.call(Gx.call(arguments, 1), function(t) { if (t) for (var n in t) e[n] === void 0 && (e[n] = t[n]); }), e; } -function DM() { - return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : zu(XMLHttpRequest)) === "object"; +function Pp() { + return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Nu(XMLHttpRequest)) === "object"; } -function y4(e) { +function Jx(e) { return !!e && typeof e.then == "function"; } -function m4(e) { - return y4(e) ? e : Promise.resolve(e); +function Zx(e) { + return Jx(e) ? e : Promise.resolve(e); } -function v4(e) { +function Xx(e) { throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); } -var Ui = {}, w4 = { +var Ui = {}, eO = { get exports() { return Ui; }, set exports(e) { Ui = e; } -}, Ai = {}, D4 = { +}, Di = {}, tO = { get exports() { - return Ai; + return Di; }, set exports(e) { - Ai = e; + Di = e; } -}, Ah; -function A4() { - return Ah || (Ah = 1, function(e, t) { +}, Jd; +function nO() { + return Jd || (Jd = 1, function(e, t) { var n = typeof self < "u" ? self : zt, r = function() { function o() { this.fetch = !1, this.DOMException = n.DOMException; @@ -26750,15 +26212,15 @@ function A4() { R[C] = String.fromCharCode(S[C]); return R.join(""); } - function N(T) { + function I(T) { if (T.slice) return T.slice(0); var S = new Uint8Array(T.byteLength); return S.set(new Uint8Array(T)), S.buffer; } - function I() { + function N() { return this.bodyUsed = !1, this._initBody = function(T) { - this._bodyInit = T, T ? typeof T == "string" ? this._bodyText = T : a.blob && Blob.prototype.isPrototypeOf(T) ? this._bodyBlob = T : a.formData && FormData.prototype.isPrototypeOf(T) ? this._bodyFormData = T : a.searchParams && URLSearchParams.prototype.isPrototypeOf(T) ? this._bodyText = T.toString() : a.arrayBuffer && a.blob && u(T) ? (this._bodyArrayBuffer = N(T.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : a.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(T) || l(T)) ? this._bodyArrayBuffer = N(T) : this._bodyText = T = Object.prototype.toString.call(T) : this._bodyText = "", this.headers.get("content-type") || (typeof T == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : a.searchParams && URLSearchParams.prototype.isPrototypeOf(T) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")); + this._bodyInit = T, T ? typeof T == "string" ? this._bodyText = T : a.blob && Blob.prototype.isPrototypeOf(T) ? this._bodyBlob = T : a.formData && FormData.prototype.isPrototypeOf(T) ? this._bodyFormData = T : a.searchParams && URLSearchParams.prototype.isPrototypeOf(T) ? this._bodyText = T.toString() : a.arrayBuffer && a.blob && u(T) ? (this._bodyArrayBuffer = I(T.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : a.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(T) || l(T)) ? this._bodyArrayBuffer = I(T) : this._bodyText = T = Object.prototype.toString.call(T) : this._bodyText = "", this.headers.get("content-type") || (typeof T == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : a.searchParams && URLSearchParams.prototype.isPrototypeOf(T) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")); }, a.blob && (this.blob = function() { var T = p(this); if (T) @@ -26784,20 +26246,20 @@ function A4() { throw new Error("could not read FormData body as text"); return Promise.resolve(this._bodyText); }, a.formData && (this.formData = function() { - return this.text().then($); + return this.text().then(W); }), this.json = function() { return this.text().then(JSON.parse); }, this; } - var B = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; + var Q = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; function z(T) { var S = T.toUpperCase(); - return B.indexOf(S) > -1 ? S : T; + return Q.indexOf(S) > -1 ? S : T; } - function W(T, S) { + function H(T, S) { S = S || {}; var R = S.body; - if (T instanceof W) { + if (T instanceof H) { if (T.bodyUsed) throw new TypeError("Already read"); this.url = T.url, this.credentials = T.credentials, S.headers || (this.headers = new h(T.headers)), this.method = T.method, this.mode = T.mode, this.signal = T.signal, !R && T._bodyInit != null && (R = T._bodyInit, T.bodyUsed = !0); @@ -26807,33 +26269,33 @@ function A4() { throw new TypeError("Body not allowed for GET or HEAD requests"); this._initBody(R); } - W.prototype.clone = function() { - return new W(this, { body: this._bodyInit }); + H.prototype.clone = function() { + return new H(this, { body: this._bodyInit }); }; - function $(T) { + function W(T) { var S = new FormData(); return T.trim().split("&").forEach(function(R) { if (R) { - var C = R.split("="), J = C.shift().replace(/\+/g, " "), ie = C.join("=").replace(/\+/g, " "); - S.append(decodeURIComponent(J), decodeURIComponent(ie)); + var C = R.split("="), J = C.shift().replace(/\+/g, " "), re = C.join("=").replace(/\+/g, " "); + S.append(decodeURIComponent(J), decodeURIComponent(re)); } }), S; } function b(T) { var S = new h(), R = T.replace(/\r?\n[\t ]+/g, " "); return R.split(/\r?\n/).forEach(function(C) { - var J = C.split(":"), ie = J.shift().trim(); - if (ie) { + var J = C.split(":"), re = J.shift().trim(); + if (re) { var L = J.join(":").trim(); - S.append(ie, L); + S.append(re, L); } }), S; } - I.call(W.prototype); + N.call(H.prototype); function k(T, S) { S || (S = {}), this.type = "default", this.status = S.status === void 0 ? 200 : S.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in S ? S.statusText : "OK", this.headers = new h(S.headers), this.url = S.url || "", this._initBody(T); } - I.call(k.prototype), k.prototype.clone = function() { + N.call(k.prototype), k.prototype.clone = function() { return new k(this._bodyInit, { status: this.status, statusText: this.statusText, @@ -26861,70 +26323,70 @@ function A4() { } function x(T, S) { return new Promise(function(R, C) { - var J = new W(T, S); + var J = new H(T, S); if (J.signal && J.signal.aborted) return C(new s.DOMException("Aborted", "AbortError")); - var ie = new XMLHttpRequest(); + var re = new XMLHttpRequest(); function L() { - ie.abort(); + re.abort(); } - ie.onload = function() { + re.onload = function() { var F = { - status: ie.status, - statusText: ie.statusText, - headers: b(ie.getAllResponseHeaders() || "") + status: re.status, + statusText: re.statusText, + headers: b(re.getAllResponseHeaders() || "") }; - F.url = "responseURL" in ie ? ie.responseURL : F.headers.get("X-Request-URL"); - var P = "response" in ie ? ie.response : ie.responseText; + F.url = "responseURL" in re ? re.responseURL : F.headers.get("X-Request-URL"); + var P = "response" in re ? re.response : re.responseText; R(new k(P, F)); - }, ie.onerror = function() { + }, re.onerror = function() { C(new TypeError("Network request failed")); - }, ie.ontimeout = function() { + }, re.ontimeout = function() { C(new TypeError("Network request failed")); - }, ie.onabort = function() { + }, re.onabort = function() { C(new s.DOMException("Aborted", "AbortError")); - }, ie.open(J.method, J.url, !0), J.credentials === "include" ? ie.withCredentials = !0 : J.credentials === "omit" && (ie.withCredentials = !1), "responseType" in ie && a.blob && (ie.responseType = "blob"), J.headers.forEach(function(F, P) { - ie.setRequestHeader(P, F); - }), J.signal && (J.signal.addEventListener("abort", L), ie.onreadystatechange = function() { - ie.readyState === 4 && J.signal.removeEventListener("abort", L); - }), ie.send(typeof J._bodyInit > "u" ? null : J._bodyInit); + }, re.open(J.method, J.url, !0), J.credentials === "include" ? re.withCredentials = !0 : J.credentials === "omit" && (re.withCredentials = !1), "responseType" in re && a.blob && (re.responseType = "blob"), J.headers.forEach(function(F, P) { + re.setRequestHeader(P, F); + }), J.signal && (J.signal.addEventListener("abort", L), re.onreadystatechange = function() { + re.readyState === 4 && J.signal.removeEventListener("abort", L); + }), re.send(typeof J._bodyInit > "u" ? null : J._bodyInit); }); } - return x.polyfill = !0, o.fetch || (o.fetch = x, o.Headers = h, o.Request = W, o.Response = k), s.Headers = h, s.Request = W, s.Response = k, s.fetch = x, Object.defineProperty(s, "__esModule", { value: !0 }), s; + return x.polyfill = !0, o.fetch || (o.fetch = x, o.Headers = h, o.Request = H, o.Response = k), s.Headers = h, s.Request = H, s.Response = k, s.fetch = x, Object.defineProperty(s, "__esModule", { value: !0 }), s; })({}); })(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill; var i = r; t = i.fetch, t.default = i.fetch, t.fetch = i.fetch, t.Headers = i.Headers, t.Request = i.Request, t.Response = i.Response, e.exports = t; - }(D4, Ai)), Ai; + }(tO, Di)), Di; } (function(e, t) { var n; - if (typeof fetch == "function" && (typeof zt < "u" && zt.fetch ? n = zt.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof v4 < "u" && (typeof window > "u" || typeof window.document > "u")) { - var r = n || A4(); + if (typeof fetch == "function" && (typeof zt < "u" && zt.fetch ? n = zt.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof Xx < "u" && (typeof window > "u" || typeof window.document > "u")) { + var r = n || nO(); r.default && (r = r.default), t.default = r, e.exports = t.default; } -})(w4, Ui); -const AM = Ui, Eh = /* @__PURE__ */ BM({ +})(eO, Ui); +const Rp = Ui, Zd = /* @__PURE__ */ iM({ __proto__: null, - default: AM + default: Rp }, [Ui]); -function Zo(e) { - return Zo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { +function Go(e) { + return Go = 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; - }, Zo(e); + }, Go(e); } var fn; typeof fetch == "function" && (typeof global < "u" && global.fetch ? fn = global.fetch : typeof window < "u" && window.fetch ? fn = window.fetch : fn = fetch); var Fi; -DM() && (typeof global < "u" && global.XMLHttpRequest ? Fi = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (Fi = window.XMLHttpRequest)); -var Xo; -typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? Xo = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (Xo = window.ActiveXObject)); -!fn && Eh && !Fi && !Xo && (fn = AM || Eh); +Pp() && (typeof global < "u" && global.XMLHttpRequest ? Fi = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (Fi = window.XMLHttpRequest)); +var Jo; +typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? Jo = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (Jo = window.ActiveXObject)); +!fn && Zd && !Fi && !Jo && (fn = Rp || Zd); typeof fn != "function" && (fn = void 0); -var Ru = function(t, n) { - if (n && Zo(n) === "object") { +var ju = function(t, n) { + if (n && Go(n) === "object") { var r = ""; for (var i in n) r += "&" + encodeURIComponent(i) + "=" + encodeURIComponent(n[i]); @@ -26933,7 +26395,7 @@ var Ru = function(t, n) { t = t + (t.indexOf("?") !== -1 ? "&" : "?") + r.slice(1); } return t; -}, Ih = function(t, n, r) { +}, Xd = function(t, n, r) { fn(t, n).then(function(i) { if (!i.ok) return r(i.statusText || "Error", { @@ -26946,33 +26408,33 @@ var Ru = function(t, n) { }); }).catch(r); }).catch(r); -}, Nh = !1, E4 = function(t, n, r, i) { - t.queryStringParams && (n = Ru(n, t.queryStringParams)); - var o = Pu({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders); +}, eh = !1, rO = function(t, n, r, i) { + t.queryStringParams && (n = ju(n, t.queryStringParams)); + var o = Tu({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders); r && (o["Content-Type"] = "application/json"); - var s = typeof t.requestOptions == "function" ? t.requestOptions(r) : t.requestOptions, a = Pu({ + var s = typeof t.requestOptions == "function" ? t.requestOptions(r) : t.requestOptions, a = Tu({ method: r ? "POST" : "GET", body: r ? t.stringify(r) : void 0, headers: o - }, Nh ? {} : s); + }, eh ? {} : s); try { - Ih(n, a, i); + Xd(n, a, i); } catch (u) { if (!s || Object.keys(s).length === 0 || !u.message || u.message.indexOf("not implemented") < 0) return i(u); try { Object.keys(s).forEach(function(c) { delete a[c]; - }), Ih(n, a, i), Nh = !0; + }), Xd(n, a, i), eh = !0; } catch (c) { i(c); } } -}, I4 = function(t, n, r, i) { - r && Zo(r) === "object" && (r = Ru("", r).slice(1)), t.queryStringParams && (n = Ru(n, t.queryStringParams)); +}, iO = function(t, n, r, i) { + r && Go(r) === "object" && (r = ju("", r).slice(1)), t.queryStringParams && (n = ju(n, t.queryStringParams)); try { var o; - Fi ? o = new Fi() : o = new Xo("MSXML2.XMLHTTP.3.0"), o.open(r ? "POST" : "GET", n, 1), t.crossDomain || o.setRequestHeader("X-Requested-With", "XMLHttpRequest"), o.withCredentials = !!t.withCredentials, r && o.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), o.overrideMimeType && o.overrideMimeType("application/json"); + Fi ? o = new Fi() : o = new Jo("MSXML2.XMLHTTP.3.0"), o.open(r ? "POST" : "GET", n, 1), t.crossDomain || o.setRequestHeader("X-Requested-With", "XMLHttpRequest"), o.withCredentials = !!t.withCredentials, r && o.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), o.overrideMimeType && o.overrideMimeType("application/json"); var s = t.customHeaders; if (s = typeof s == "function" ? s() : s, s) for (var a in s) @@ -26986,12 +26448,12 @@ var Ru = function(t, n) { } catch (u) { console && console.log(u); } -}, N4 = function(t, n, r, i) { +}, oO = function(t, n, r, i) { if (typeof r == "function" && (i = r, r = void 0), i = i || function() { }, fn && n.indexOf("file:") !== 0) - return E4(t, n, r, i); - if (DM() || typeof ActiveXObject == "function") - return I4(t, n, r, i); + return rO(t, n, r, i); + if (Pp() || typeof ActiveXObject == "function") + return iO(t, n, r, i); i(new Error("No fetch and no xhr implementation found!")); }; function Yi(e) { @@ -27001,27 +26463,27 @@ function Yi(e) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, Yi(e); } -function T4(e, t) { +function sO(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function Th(e, t) { +function th(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, EM(r.key), r); + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Up(r.key), r); } } -function j4(e, t, n) { - return t && Th(e.prototype, t), n && Th(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; +function aO(e, t, n) { + return t && th(e.prototype, t), n && th(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } -function S4(e, t, n) { - return t = EM(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; +function uO(e, t, n) { + return t = Up(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } -function EM(e) { - var t = b4(e, "string"); +function Up(e) { + var t = cO(e, "string"); return Yi(t) === "symbol" ? t : String(t); } -function b4(e, t) { +function cO(e, t) { if (Yi(e) !== "object" || e === null) return e; var n = e[Symbol.toPrimitive]; @@ -27033,7 +26495,7 @@ function b4(e, t) { } return (t === "string" ? String : Number)(e); } -var C4 = function() { +var lO = function() { return { loadPath: "/locales/{{lng}}/{{ns}}.json", addPath: "/locales/add/{{lng}}/{{ns}}", @@ -27043,11 +26505,11 @@ var C4 = function() { }, stringify: JSON.stringify, parsePayload: function(n, r, i) { - return S4({}, r, i || ""); + return uO({}, r, i || ""); }, parseLoadPayload: function(n, r) { }, - request: N4, + request: oO, reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3, customHeaders: {}, queryStringParams: {}, @@ -27060,16 +26522,16 @@ var C4 = function() { cache: "default" } }; -}, IM = function() { +}, Fp = function() { function e(t) { var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - T4(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r); + sO(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r); } - return j4(e, [{ + return aO(e, [{ key: "init", value: function(n) { var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - this.services = n, this.options = Pu(i, this.options || {}, C4()), this.allOptions = o, this.services && this.options.reloadInterval && setInterval(function() { + this.services = n, this.options = Tu(i, this.options || {}, lO()), this.allOptions = o, this.services && this.options.reloadInterval && setInterval(function() { return r.reload(); }, this.options.reloadInterval); } @@ -27087,7 +26549,7 @@ var C4 = function() { key: "_readAny", value: function(n, r, i, o, s) { var a = this, u = this.options.loadPath; - typeof this.options.loadPath == "function" && (u = this.options.loadPath(n, i)), u = m4(u), u.then(function(c) { + typeof this.options.loadPath == "function" && (u = this.options.loadPath(n, i)), u = Zx(u), u.then(function(c) { if (!c) return s(null, {}); var l = a.services.interpolator.interpolate(c, { @@ -27165,75 +26627,44 @@ var C4 = function() { } }]), e; }(); -IM.type = "backend"; -const x4 = { - [In.EN]: Gh, - [In.JA]: Jh -}, eL = ({ - i18n: e, - customTranslations: t = x4 -}) => { - const n = { - [In.EN]: { - translation: { ...Gh, ...t[In.EN] } - }, - [In.JA]: { - translation: { ...Jh, ...t[In.JA] } - } - }, r = { - order: ["localStorage"], - lookupLocalStorage: "wasedatime-lng", - caches: ["localStorage"] - }; - e.use(IM).use(vM).use(MN).init({ - resources: n, - fallbackLng: In.EN, - keySeparator: ".", - interpolation: { - // react already safes from xss - escapeValue: !1 - }, - // Configure the withNamespaces / NamespacesConsumer to - // not render the content until needed namespaces are loaded. - react: { - wait: !0 - }, - detection: r - }); -}; +Fp.type = "backend"; +const LO = (e) => e === Nh.EN ? Qm : iv, _O = () => kp, kO = () => Fp; export { - Ge as Colors, - Yv as GoogleIcon, - $4 as Header, - In as Lang, - BI as LanguageMenu, - W4 as LoadingSpinner, - QI as Logo, - B4 as LogoJp, - z4 as Modal, - $y as Overlay, - _4 as RowWrapper, - X4 as SignInModal, - $I as SmallLogo, - Q4 as SmallLogoJp, - WI as ThemeToggle, - Fh as Wrapper, - k4 as WrapperWithBackground, - V4 as configAuth, - Gh as en, - R4 as fontSize, - q4 as getAccessToken, - H4 as getIdToken, - K4 as getRefreshToken, - G4 as getUserAttr, - P4 as height, - eL as i18nConfig, - U4 as isScreenType, - F4 as isThemeType, - Jh as ja, - Y4 as media, - Dx as signIn, - J4 as signOut, - Qo as sizes, - uv as useScrollBlock + Je as Colors, + sv as CrossIcon, + ov as GoogleIcon, + EO as Header, + Nh as Lang, + $E as LanguageMenu, + IO as LoadingSpinner, + WE as Logo, + DO as LogoJp, + pO as Modal, + sy as Overlay, + hO as RowWrapper, + OO as SignInModal, + VE as SmallLogo, + AO as SmallLogoJp, + HE as ThemeToggle, + ph as Wrapper, + gO as WrapperWithBackground, + NO as configAuth, + Qm as en, + yO as fontSize, + jO as getAccessToken, + LO as getCoreTranslation, + kO as getI18nHttpBackend, + _O as getI18nLanguageDetector, + TO as getIdToken, + SO as getRefreshToken, + bO as getUserAttr, + MO as height, + mO as isScreenType, + vO as isThemeType, + iv as ja, + wO as media, + Z1 as signIn, + CO as signOut, + Ha as sizes, + Im as useScrollBlock }; diff --git a/packages/ui/lib/wasedatime-ui.umd.js b/packages/ui/lib/wasedatime-ui.umd.js index 6904dbd05..1f86bf3cf 100644 --- a/packages/ui/lib/wasedatime-ui.umd.js +++ b/packages/ui/lib/wasedatime-ui.umd.js @@ -1,4 +1,4 @@ -(function(je,H){typeof exports=="object"&&typeof module<"u"?H(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],H):(je=typeof globalThis<"u"?globalThis:je||self,H(je["wasedatime-ui"]={},je.React,je.ReactDOM))})(this,function(je,H,xn){"use strict";function Ic(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}function DM(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const re=Ic(H),EM=Ic(xn);var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $r(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var On={},AM={get exports(){return On},set exports(e){On=e}},Ue={};/** +(function(Te,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],G):(Te=typeof globalThis<"u"?globalThis:Te||self,G(Te["wasedatime-ui"]={},Te.React,Te.ReactDOM))})(this,function(Te,G,Cn){"use strict";function uc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}function Fp(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const se=uc(G),Yp=uc(Cn);var Nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Qr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var xn={},Bp={get exports(){return xn},set exports(e){xn=e}},Ue={};/** * @license React * react-is.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Tc;function IM(){if(Tc)return Ue;Tc=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function p(m){if(typeof m=="object"&&m!==null){var v=m.$$typeof;switch(v){case e:switch(m=m.type,m){case n:case i:case r:case c:case l:return m;default:switch(m=m&&m.$$typeof,m){case a:case s:case u:case d:case f:case o:return m;default:return v}}case t:return v}}}return Ue.ContextConsumer=s,Ue.ContextProvider=o,Ue.Element=e,Ue.ForwardRef=u,Ue.Fragment=n,Ue.Lazy=d,Ue.Memo=f,Ue.Portal=t,Ue.Profiler=i,Ue.StrictMode=r,Ue.Suspense=c,Ue.SuspenseList=l,Ue.isAsyncMode=function(){return!1},Ue.isConcurrentMode=function(){return!1},Ue.isContextConsumer=function(m){return p(m)===s},Ue.isContextProvider=function(m){return p(m)===o},Ue.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},Ue.isForwardRef=function(m){return p(m)===u},Ue.isFragment=function(m){return p(m)===n},Ue.isLazy=function(m){return p(m)===d},Ue.isMemo=function(m){return p(m)===f},Ue.isPortal=function(m){return p(m)===t},Ue.isProfiler=function(m){return p(m)===i},Ue.isStrictMode=function(m){return p(m)===r},Ue.isSuspense=function(m){return p(m)===c},Ue.isSuspenseList=function(m){return p(m)===l},Ue.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===i||m===r||m===c||m===l||m===g||typeof m=="object"&&m!==null&&(m.$$typeof===d||m.$$typeof===f||m.$$typeof===o||m.$$typeof===s||m.$$typeof===u||m.$$typeof===h||m.getModuleId!==void 0)},Ue.typeOf=p,Ue}var Re={};/** + */var lc;function Qp(){if(lc)return Ue;lc=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function p(m){if(typeof m=="object"&&m!==null){var v=m.$$typeof;switch(v){case e:switch(m=m.type,m){case n:case i:case r:case c:case l:return m;default:switch(m=m&&m.$$typeof,m){case a:case s:case u:case d:case f:case o:return m;default:return v}}case t:return v}}}return Ue.ContextConsumer=s,Ue.ContextProvider=o,Ue.Element=e,Ue.ForwardRef=u,Ue.Fragment=n,Ue.Lazy=d,Ue.Memo=f,Ue.Portal=t,Ue.Profiler=i,Ue.StrictMode=r,Ue.Suspense=c,Ue.SuspenseList=l,Ue.isAsyncMode=function(){return!1},Ue.isConcurrentMode=function(){return!1},Ue.isContextConsumer=function(m){return p(m)===s},Ue.isContextProvider=function(m){return p(m)===o},Ue.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},Ue.isForwardRef=function(m){return p(m)===u},Ue.isFragment=function(m){return p(m)===n},Ue.isLazy=function(m){return p(m)===d},Ue.isMemo=function(m){return p(m)===f},Ue.isPortal=function(m){return p(m)===t},Ue.isProfiler=function(m){return p(m)===i},Ue.isStrictMode=function(m){return p(m)===r},Ue.isSuspense=function(m){return p(m)===c},Ue.isSuspenseList=function(m){return p(m)===l},Ue.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===i||m===r||m===c||m===l||m===g||typeof m=="object"&&m!==null&&(m.$$typeof===d||m.$$typeof===f||m.$$typeof===o||m.$$typeof===s||m.$$typeof===u||m.$$typeof===h||m.getModuleId!==void 0)},Ue.typeOf=p,Ue}var Re={};/** * @license React * react-is.development.js * @@ -14,21 +14,21 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var jc;function NM(){return jc||(jc=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=!1,p=!1,m=!1,v=!1,w=!1,j;j=Symbol.for("react.module.reference");function N(ne){return!!(typeof ne=="string"||typeof ne=="function"||ne===n||ne===i||w||ne===r||ne===c||ne===l||v||ne===g||h||p||m||typeof ne=="object"&&ne!==null&&(ne.$$typeof===d||ne.$$typeof===f||ne.$$typeof===o||ne.$$typeof===s||ne.$$typeof===u||ne.$$typeof===j||ne.getModuleId!==void 0))}function I(ne){if(typeof ne=="object"&&ne!==null){var fe=ne.$$typeof;switch(fe){case e:var ye=ne.type;switch(ye){case n:case i:case r:case c:case l:return ye;default:var he=ye&&ye.$$typeof;switch(he){case a:case s:case u:case d:case f:case o:return he;default:return fe}}case t:return fe}}}var B=s,z=o,W=e,$=u,b=n,k=d,R=f,x=t,T=i,S=r,U=c,C=l,Z=!1,oe=!1;function L(ne){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(ne){return oe||(oe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function P(ne){return I(ne)===s}function K(ne){return I(ne)===o}function G(ne){return typeof ne=="object"&&ne!==null&&ne.$$typeof===e}function ee(ne){return I(ne)===u}function O(ne){return I(ne)===n}function ie(ne){return I(ne)===d}function J(ne){return I(ne)===f}function ge(ne){return I(ne)===t}function q(ne){return I(ne)===i}function Q(ne){return I(ne)===r}function V(ne){return I(ne)===c}function de(ne){return I(ne)===l}Re.ContextConsumer=B,Re.ContextProvider=z,Re.Element=W,Re.ForwardRef=$,Re.Fragment=b,Re.Lazy=k,Re.Memo=R,Re.Portal=x,Re.Profiler=T,Re.StrictMode=S,Re.Suspense=U,Re.SuspenseList=C,Re.isAsyncMode=L,Re.isConcurrentMode=F,Re.isContextConsumer=P,Re.isContextProvider=K,Re.isElement=G,Re.isForwardRef=ee,Re.isFragment=O,Re.isLazy=ie,Re.isMemo=J,Re.isPortal=ge,Re.isProfiler=q,Re.isStrictMode=Q,Re.isSuspense=V,Re.isSuspenseList=de,Re.isValidElementType=N,Re.typeOf=I}()),Re}(function(e){process.env.NODE_ENV==="production"?e.exports=IM():e.exports=NM()})(AM);function TM(e){function t(P,K,G,ee,O){for(var ie=0,J=0,ge=0,q=0,Q,V,de=0,ne=0,fe,ye=fe=Q=0,he=0,A=0,y=0,M=0,E=G.length,Y=E-1,te,X="",we="",Oe="",be="",Qe;heQ)&&(M=(X=X.replace(" ",":")).length),0ee&&(ee=(K=K.trim()).charCodeAt(0)),ee){case 38:return K.replace(v,"$1"+P.trim());case 58:return P.trim()+K.replace(v,"$1"+P.trim());default:if(0<1*G&&0J.charCodeAt(8))break;case 115:O=O.replace(J,"-webkit-"+J)+";"+O;break;case 207:case 102:O=O.replace(J,"-webkit-"+(102G.charCodeAt(0)&&(G=G.trim()),F=G,G=[F],0Q)&&(M=(X=X.replace(" ",":")).length),0ee&&(ee=(q=q.trim()).charCodeAt(0)),ee){case 38:return q.replace(v,"$1"+P.trim());case 58:return P.trim()+q.replace(v,"$1"+P.trim());default:if(0<1*K&&0J.charCodeAt(8))break;case 115:O=O.replace(J,"-webkit-"+J)+";"+O;break;case 207:case 102:O=O.replace(J,"-webkit-"+(102K.charCodeAt(0)&&(K=K.trim()),F=K,K=[F],01?t-1:0),r=1;r0?" Args: "+n.join(", "):"")):new Error(BM.apply(void 0,[YM[e]].concat(n)).trim())}var QM=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,i=0;i=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,s=o;n>=s;)(s<<=1)<0&&or(16,""+n);this.groupSizes=new Uint32Array(s),this.groupSizes.set(i),this.length=s;for(var a=o;a=this.length||this.groupSizes[n]===0)return r;for(var i=this.groupSizes[n],o=this.indexOfGroup(n),s=o+i,a=o;a1<<30)&&or(16,""+t),Vi.set(e,t),Hi.set(t,e),t},$M=function(e){return Hi.get(e)},WM=function(e,t){t>=Hr&&(Hr=t+1),Vi.set(e,t),Hi.set(t,e)},VM="style["+ir+'][data-styled-version="5.3.10"]',HM=new RegExp("^"+ir+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),qM=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o=0;c--){var l=u[c];if(l&&l.nodeType===1&&l.hasAttribute(ir))return l}}(n),o=i!==void 0?i.nextSibling:null;r.setAttribute(ir,"active"),r.setAttribute("data-styled-version","5.3.10");var s=GM();return s&&r.setAttribute("nonce",s),n.insertBefore(r,o),r},JM=function(){function e(n){var r=this.element=Pc(n);r.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,s=0,a=o.length;s=0){var i=document.createTextNode(r),o=this.nodes[n];return this.element.insertBefore(i,o||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n0&&(f+=d+",")}),o+=""+c+l+'{content:"'+f+`"}/*!sc*/ -`}}}return o}(this)},e}(),ty=/(a)(d)/gi,Fc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ls(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Fc(t%52)+n;return(Fc(t%52)+n).replace(ty,"$1-$2")}var Ln=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Yc=function(e){return Ln(5381,e)};function ny(e){for(var t=0;t>>0);if(!n.hasNameForId(i,a)){var u=r(s,"."+a,void 0,i);n.insertRules(i,a,u)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=Ln(this.baseHash,r.hash),f="",d=0;d>>0);if(!n.hasNameForId(i,m)){var v=r(f,"."+m,void 0,i);n.insertRules(i,m,v)}o.push(m)}}return o.join(" ")},e}(),oy=/^\s*\/\/.*$/gm,sy=[":","[",".","#"];function ay(e){var t,n,r,i,o=e===void 0?pn:e,s=o.options,a=s===void 0?pn:s,u=o.plugins,c=u===void 0?Wi:u,l=new TM(a),f=[],d=function(p){function m(v){if(v)try{p(v+"}")}catch{}}return function(v,w,j,N,I,B,z,W,$,b){switch(v){case 1:if($===0&&w.charCodeAt(0)===64)return p(w+";"),"";break;case 2:if(W===0)return w+"/*|*/";break;case 3:switch(W){case 102:case 112:return p(j[0]+w),"";default:return w+(b===0?"/*|*/":"")}case-2:w.split("/*|*/}").forEach(m)}}}(function(p){f.push(p)}),g=function(p,m,v){return m===0&&sy.indexOf(v[n.length])!==-1||v.match(i)?p:"."+t};function h(p,m,v,w){w===void 0&&(w="&");var j=p.replace(oy,""),N=m&&v?v+" "+m+" { "+j+" }":j;return t=w,n=m,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),l(v||!m?"":m,N)}return l.use([].concat(c,[function(p,m,v){p===2&&v.length&&v[0].lastIndexOf(n)>0&&(v[0]=v[0].replace(r,g))},d,function(p){if(p===-2){var m=f;return f=[],m}}])),h.hash=c.length?c.reduce(function(p,m){return m.name||or(15),Ln(p,m.name)},5381).toString():"",h}var Bc=H.createContext();Bc.Consumer;var Qc=H.createContext(),uy=(Qc.Consumer,new Rc),_s=ay();function cy(){return H.useContext(Bc)||uy}function ly(){return H.useContext(Qc)||_s}var fy=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=_s);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.toString=function(){return or(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=_s),this.name+t.hash},e}(),dy=/([A-Z])/,hy=/([A-Z])/g,gy=/^ms-/,py=function(e){return"-"+e.toLowerCase()};function $c(e){return dy.test(e)?e.replace(hy,py).replace(gy,"-ms-"):e}var Wc=function(e){return e==null||e===!1||e===""};function sr(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],s=0,a=e.length;s1?t-1:0),r=1;r1?t-1:0),r=1;r0?" Args: "+n.join(", "):"")):new Error(aM.apply(void 0,[sM[e]].concat(n)).trim())}var uM=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,i=0;i=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,s=o;n>=s;)(s<<=1)<0&&or(16,""+n);this.groupSizes=new Uint32Array(s),this.groupSizes.set(i),this.length=s;for(var a=o;a=this.length||this.groupSizes[n]===0)return r;for(var i=this.groupSizes[n],o=this.indexOfGroup(n),s=o+i,a=o;a1<<30)&&or(16,""+t),Wi.set(e,t),Vi.set(t,e),t},cM=function(e){return Vi.get(e)},lM=function(e,t){t>=Vr&&(Vr=t+1),Wi.set(e,t),Vi.set(t,e)},fM="style["+ir+'][data-styled-version="5.3.10"]',dM=new RegExp("^"+ir+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),hM=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o=0;c--){var l=u[c];if(l&&l.nodeType===1&&l.hasAttribute(ir))return l}}(n),o=i!==void 0?i.nextSibling:null;r.setAttribute(ir,"active"),r.setAttribute("data-styled-version","5.3.10");var s=pM();return s&&r.setAttribute("nonce",s),n.insertBefore(r,o),r},MM=function(){function e(n){var r=this.element=Dc(n);r.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,s=0,a=o.length;s=0){var i=document.createTextNode(r),o=this.nodes[n];return this.element.insertBefore(i,o||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n0&&(f+=d+",")}),o+=""+c+l+'{content:"'+f+`"}/*!sc*/ +`}}}return o}(this)},e}(),wM=/(a)(d)/gi,Ic=function(e){return String.fromCharCode(e+(e>25?39:97))};function Os(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ic(t%52)+n;return(Ic(t%52)+n).replace(wM,"$1-$2")}var On=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Tc=function(e){return On(5381,e)};function DM(e){for(var t=0;t>>0);if(!n.hasNameForId(i,a)){var u=r(s,"."+a,void 0,i);n.insertRules(i,a,u)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=On(this.baseHash,r.hash),f="",d=0;d>>0);if(!n.hasNameForId(i,m)){var v=r(f,"."+m,void 0,i);n.insertRules(i,m,v)}o.push(m)}}return o.join(" ")},e}(),IM=/^\s*\/\/.*$/gm,TM=[":","[",".","#"];function NM(e){var t,n,r,i,o=e===void 0?gn:e,s=o.options,a=s===void 0?gn:s,u=o.plugins,c=u===void 0?$i:u,l=new Wp(a),f=[],d=function(p){function m(v){if(v)try{p(v+"}")}catch{}}return function(v,w,j,I,T,B,z,H,W,b){switch(v){case 1:if(W===0&&w.charCodeAt(0)===64)return p(w+";"),"";break;case 2:if(H===0)return w+"/*|*/";break;case 3:switch(H){case 102:case 112:return p(j[0]+w),"";default:return w+(b===0?"/*|*/":"")}case-2:w.split("/*|*/}").forEach(m)}}}(function(p){f.push(p)}),g=function(p,m,v){return m===0&&TM.indexOf(v[n.length])!==-1||v.match(i)?p:"."+t};function h(p,m,v,w){w===void 0&&(w="&");var j=p.replace(IM,""),I=m&&v?v+" "+m+" { "+j+" }":j;return t=w,n=m,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),l(v||!m?"":m,I)}return l.use([].concat(c,[function(p,m,v){p===2&&v.length&&v[0].lastIndexOf(n)>0&&(v[0]=v[0].replace(r,g))},d,function(p){if(p===-2){var m=f;return f=[],m}}])),h.hash=c.length?c.reduce(function(p,m){return m.name||or(15),On(p,m.name)},5381).toString():"",h}var Nc=G.createContext();Nc.Consumer;var jc=G.createContext(),jM=(jc.Consumer,new Ec),Ls=NM();function SM(){return G.useContext(Nc)||jM}function bM(){return G.useContext(jc)||Ls}var CM=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Ls);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.toString=function(){return or(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=Ls),this.name+t.hash},e}(),xM=/([A-Z])/,OM=/([A-Z])/g,LM=/^ms-/,_M=function(e){return"-"+e.toLowerCase()};function Sc(e){return xM.test(e)?e.replace(OM,_M).replace(LM,"-ms-"):e}var bc=function(e){return e==null||e===!1||e===""};function sr(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],s=0,a=e.length;s1?t-1:0),r=1;r1?s-1:0),u=1;u?@[\\\]^`{|}~-]+/g,wy=/(^-|-$)/g;function ks(e){return e.replace(vy,"-").replace(wy,"")}var Dy=function(e){return Ls(Yc(e)>>>0)};function Gi(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var zs=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},Ey=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function Ay(e,t,n){var r=e[n];zs(t)&&zs(r)?qc(r,t):e[n]=t}function qc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(b[W]=B[W]);return b}(t,["componentId"]),I=j&&j+"-"+(Gi(w)?w:ks(Cs(w)));return Gc(w,Zt({},N,{attrs:d,componentId:I}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(w){this._foldedDefaultProps=r?qc({},e.defaultProps,w):w}}),process.env.NODE_ENV!=="production"&&(yy(l,f),h.warnTooManyClasses=function(w,j){var N={},I=!1;return function(B){if(!I&&(N[B]=!0,Object.keys(N).length>=200)){var z=j?' with the id of "'+j+'"':"";console.warn("Over 200 classes were generated for component "+w+z+`. +To resolve this only create new StyledComponents outside of any render method and function component.`,r=console.error;try{var i=!0;console.error=function(o){if(xc.test(o))i=!1,qi.delete(n);else{for(var s=arguments.length,a=new Array(s>1?s-1:0),u=1;u?@[\\\]^`{|}~-]+/g,RM=/(^-|-$)/g;function _s(e){return e.replace(UM,"-").replace(RM,"")}var FM=function(e){return Os(Tc(e)>>>0)};function Ki(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var ks=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},YM=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function BM(e,t,n){var r=e[n];ks(t)&&ks(r)?Oc(r,t):e[n]=t}function Oc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(b[H]=B[H]);return b}(t,["componentId"]),T=j&&j+"-"+(Ki(w)?w:_s(bs(w)));return _c(w,Zt({},I,{attrs:d,componentId:T}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(w){this._foldedDefaultProps=r?Oc({},e.defaultProps,w):w}}),process.env.NODE_ENV!=="production"&&(zM(l,f),h.warnTooManyClasses=function(w,j){var I={},T=!1;return function(B){if(!T&&(I[B]=!0,Object.keys(I).length>=200)){var z=j?' with the id of "'+j+'"':"";console.warn("Over 200 classes were generated for component "+w+z+`. Consider using the attrs method, together with a style object for frequently changed styles. Example: const Component = styled.div.attrs(props => ({ @@ -83,28 +83,28 @@ Example: }, }))\`width: 100%;\` - `),I=!0,N={}}}}(l,f)),Object.defineProperty(h,"toString",{value:function(){return"."+h.styledComponentId}}),i&&RM(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var Us=function(e){return function t(n,r,i){if(i===void 0&&(i=pn),!On.isValidElementType(r))return or(1,String(r));var o=function(){return n(r,i,My.apply(void 0,arguments))};return o.withConfig=function(s){return t(n,r,Zt({},i,{},s))},o.attrs=function(s){return t(n,r,Zt({},i,{attrs:Array.prototype.concat(i.attrs,s).filter(Boolean)}))},o}(Gc,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Us[e]=Us(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native. + `),T=!0,I={}}}}(l,f)),Object.defineProperty(h,"toString",{value:function(){return"."+h.styledComponentId}}),i&&iM(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var Ps=function(e){return function t(n,r,i){if(i===void 0&&(i=gn),!xn.isValidElementType(r))return or(1,String(r));var o=function(){return n(r,i,kM.apply(void 0,arguments))};return o.withConfig=function(s){return t(n,r,Zt({},i,{},s))},o.attrs=function(s){return t(n,r,Zt({},i,{attrs:Array.prototype.concat(i.attrs,s).filter(Boolean)}))},o}(_c,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Ps[e]=Ps(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native. Perhaps you're looking to import 'styled-components/native'? Read more about this at https://www.styled-components.com/docs/basics#react-native`),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason. -See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const Ji=Us,Rs=Ji("div")` +See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const Gi=Ps,Us=Gi("div")` display: flex; flex-direction: column; flex: 1 0 auto; -`,Iy=Ji("div")` +`,QM=Gi("div")` display: flex; flex-direction: row; flex: 1 0 auto; -`,Ny=Ji(Rs)` +`,$M=Gi(Us)` background-image: url(${e=>e.background}); background-position: center, center; background-size: cover; background-repeat: no-repeat; -`,Jc=Ji("div")` +`,kc=Gi("div")` display: flex; flex-direction: column; flex: 1 0 auto; -`;var pe={},Ty={get exports(){return pe},set exports(e){pe=e}},qr={};/** +`;var ge={},WM={get exports(){return ge},set exports(e){ge=e}},Hr={};/** * @license React * react-jsx-runtime.production.min.js * @@ -112,7 +112,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"] * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zc;function jy(){if(Zc)return qr;Zc=1;var e=H,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(a,u,c){var l,f={},d=null,g=null;c!==void 0&&(d=""+c),u.key!==void 0&&(d=""+u.key),u.ref!==void 0&&(g=u.ref);for(l in u)r.call(u,l)&&!o.hasOwnProperty(l)&&(f[l]=u[l]);if(a&&a.defaultProps)for(l in u=a.defaultProps,u)f[l]===void 0&&(f[l]=u[l]);return{$$typeof:t,type:a,key:d,ref:g,props:f,_owner:i.current}}return qr.Fragment=n,qr.jsx=s,qr.jsxs=s,qr}var Kr={};/** + */var zc;function VM(){if(zc)return Hr;zc=1;var e=G,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(a,u,c){var l,f={},d=null,g=null;c!==void 0&&(d=""+c),u.key!==void 0&&(d=""+u.key),u.ref!==void 0&&(g=u.ref);for(l in u)r.call(u,l)&&!o.hasOwnProperty(l)&&(f[l]=u[l]);if(a&&a.defaultProps)for(l in u=a.defaultProps,u)f[l]===void 0&&(f[l]=u[l]);return{$$typeof:t,type:a,key:d,ref:g,props:f,_owner:i.current}}return Hr.Fragment=n,Hr.jsx=s,Hr.jsxs=s,Hr}var qr={};/** * @license React * react-jsx-runtime.development.js * @@ -120,22 +120,22 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"] * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Xc;function Sy(){return Xc||(Xc=1,process.env.NODE_ENV!=="production"&&function(){var e=H,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,p="@@iterator";function m(_){if(_===null||typeof _!="object")return null;var le=h&&_[h]||_[p];return typeof le=="function"?le:null}var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(_){{for(var le=arguments.length,me=new Array(le>1?le-1:0),Ie=1;Ie=1&&ot>=0&&Ce[rt]!==yt[ot];)ot--;for(;rt>=1&&ot>=0;rt--,ot--)if(Ce[rt]!==yt[ot]){if(rt!==1||ot!==1)do if(rt--,ot--,ot<0||Ce[rt]!==yt[ot]){var kt=` -`+Ce[rt].replace(" at new "," at ");return _.displayName&&kt.includes("")&&(kt=kt.replace("",_.displayName)),typeof _=="function"&&q.set(_,kt),kt}while(rt>=1&&ot>=0);break}}}finally{ge=!1,O.current=Je,ee(),Error.prepareStackTrace=Pe}var Qr=_?_.displayName||_.name:"",wM=Qr?J(Qr):"";return typeof _=="function"&&q.set(_,wM),wM}function de(_,le,me){return V(_,!1)}function ne(_){var le=_.prototype;return!!(le&&le.isReactComponent)}function fe(_,le,me){if(_==null)return"";if(typeof _=="function")return V(_,ne(_));if(typeof _=="string")return J(_);switch(_){case c:return J("Suspense");case l:return J("SuspenseList")}if(typeof _=="object")switch(_.$$typeof){case u:return de(_.render);case f:return fe(_.type,le,me);case d:{var Ie=_,Pe=Ie._payload,Je=Ie._init;try{return fe(Je(Pe),le,me)}catch{}}}return""}var ye=Object.prototype.hasOwnProperty,he={},A=v.ReactDebugCurrentFrame;function y(_){if(_){var le=_._owner,me=fe(_.type,_._source,le?le.type:null);A.setExtraStackFrame(me)}else A.setExtraStackFrame(null)}function M(_,le,me,Ie,Pe){{var Je=Function.call.bind(ye);for(var Le in _)if(Je(_,Le)){var Ce=void 0;try{if(typeof _[Le]!="function"){var yt=Error((Ie||"React class")+": "+me+" type `"+Le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof _[Le]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw yt.name="Invariant Violation",yt}Ce=_[Le](le,Le,Ie,me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(rt){Ce=rt}Ce&&!(Ce instanceof Error)&&(y(Pe),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ie||"React class",me,Le,typeof Ce),y(null)),Ce instanceof Error&&!(Ce.message in he)&&(he[Ce.message]=!0,y(Pe),w("Failed %s type: %s",me,Ce.message),y(null))}}}var E=Array.isArray;function Y(_){return E(_)}function te(_){{var le=typeof Symbol=="function"&&Symbol.toStringTag,me=le&&_[Symbol.toStringTag]||_.constructor.name||"Object";return me}}function X(_){try{return we(_),!1}catch{return!0}}function we(_){return""+_}function Oe(_){if(X(_))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",te(_)),we(_)}var be=v.ReactCurrentOwner,Qe={key:!0,ref:!0,__self:!0,__source:!0},Ge,Ee,hn;hn={};function Yr(_){if(ye.call(_,"ref")){var le=Object.getOwnPropertyDescriptor(_,"ref").get;if(le&&le.isReactWarning)return!1}return _.ref!==void 0}function Ns(_){if(ye.call(_,"key")){var le=Object.getOwnPropertyDescriptor(_,"key").get;if(le&&le.isReactWarning)return!1}return _.key!==void 0}function hM(_,le){if(typeof _.ref=="string"&&be.current&&le&&be.current.stateNode!==le){var me=x(be.current.type);hn[me]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(be.current.type),_.ref),hn[me]=!0)}}function Kx(_,le){{var me=function(){Ge||(Ge=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",le))};me.isReactWarning=!0,Object.defineProperty(_,"key",{get:me,configurable:!0})}}function Gx(_,le){{var me=function(){Ee||(Ee=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",le))};me.isReactWarning=!0,Object.defineProperty(_,"ref",{get:me,configurable:!0})}}var Jx=function(_,le,me,Ie,Pe,Je,Le){var Ce={$$typeof:t,type:_,key:le,ref:me,props:Le,_owner:Je};return Ce._store={},Object.defineProperty(Ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ie}),Object.defineProperty(Ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Pe}),Object.freeze&&(Object.freeze(Ce.props),Object.freeze(Ce)),Ce};function Zx(_,le,me,Ie,Pe){{var Je,Le={},Ce=null,yt=null;me!==void 0&&(Oe(me),Ce=""+me),Ns(le)&&(Oe(le.key),Ce=""+le.key),Yr(le)&&(yt=le.ref,hM(le,Pe));for(Je in le)ye.call(le,Je)&&!Qe.hasOwnProperty(Je)&&(Le[Je]=le[Je]);if(_&&_.defaultProps){var rt=_.defaultProps;for(Je in rt)Le[Je]===void 0&&(Le[Je]=rt[Je])}if(Ce||yt){var ot=typeof _=="function"?_.displayName||_.name||"Unknown":_;Ce&&Kx(Le,ot),yt&&Gx(Le,ot)}return Jx(_,Ce,yt,Pe,Ie,be.current,Le)}}var Dc=v.ReactCurrentOwner,gM=v.ReactDebugCurrentFrame;function Br(_){if(_){var le=_._owner,me=fe(_.type,_._source,le?le.type:null);gM.setExtraStackFrame(me)}else gM.setExtraStackFrame(null)}var Ec;Ec=!1;function Ac(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function pM(){{if(Dc.current){var _=x(Dc.current.type);if(_)return` + */var Pc;function HM(){return Pc||(Pc=1,process.env.NODE_ENV!=="production"&&function(){var e=G,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,p="@@iterator";function m(_){if(_===null||typeof _!="object")return null;var le=h&&_[h]||_[p];return typeof le=="function"?le:null}var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(_){{for(var le=arguments.length,ye=new Array(le>1?le-1:0),Ie=1;Ie=1&&ot>=0&&Ce[rt]!==mt[ot];)ot--;for(;rt>=1&&ot>=0;rt--,ot--)if(Ce[rt]!==mt[ot]){if(rt!==1||ot!==1)do if(rt--,ot--,ot<0||Ce[rt]!==mt[ot]){var kt=` +`+Ce[rt].replace(" at new "," at ");return _.displayName&&kt.includes("")&&(kt=kt.replace("",_.displayName)),typeof _=="function"&&V.set(_,kt),kt}while(rt>=1&&ot>=0);break}}}finally{pe=!1,O.current=Ze,ee(),Error.prepareStackTrace=Pe}var Br=_?_.displayName||_.name:"",Rp=Br?J(Br):"";return typeof _=="function"&&V.set(_,Rp),Rp}function de(_,le,ye){return $(_,!1)}function ne(_){var le=_.prototype;return!!(le&&le.isReactComponent)}function fe(_,le,ye){if(_==null)return"";if(typeof _=="function")return $(_,ne(_));if(typeof _=="string")return J(_);switch(_){case c:return J("Suspense");case l:return J("SuspenseList")}if(typeof _=="object")switch(_.$$typeof){case u:return de(_.render);case f:return fe(_.type,le,ye);case d:{var Ie=_,Pe=Ie._payload,Ze=Ie._init;try{return fe(Ze(Pe),le,ye)}catch{}}}return""}var Me=Object.prototype.hasOwnProperty,he={},E=v.ReactDebugCurrentFrame;function y(_){if(_){var le=_._owner,ye=fe(_.type,_._source,le?le.type:null);E.setExtraStackFrame(ye)}else E.setExtraStackFrame(null)}function M(_,le,ye,Ie,Pe){{var Ze=Function.call.bind(Me);for(var Le in _)if(Ze(_,Le)){var Ce=void 0;try{if(typeof _[Le]!="function"){var mt=Error((Ie||"React class")+": "+ye+" type `"+Le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof _[Le]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw mt.name="Invariant Violation",mt}Ce=_[Le](le,Le,Ie,ye,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(rt){Ce=rt}Ce&&!(Ce instanceof Error)&&(y(Pe),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ie||"React class",ye,Le,typeof Ce),y(null)),Ce instanceof Error&&!(Ce.message in he)&&(he[Ce.message]=!0,y(Pe),w("Failed %s type: %s",ye,Ce.message),y(null))}}}var A=Array.isArray;function Y(_){return A(_)}function te(_){{var le=typeof Symbol=="function"&&Symbol.toStringTag,ye=le&&_[Symbol.toStringTag]||_.constructor.name||"Object";return ye}}function X(_){try{return ve(_),!1}catch{return!0}}function ve(_){return""+_}function Oe(_){if(X(_))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",te(_)),ve(_)}var be=v.ReactCurrentOwner,Qe={key:!0,ref:!0,__self:!0,__source:!0},Je,Ae,dn;dn={};function Fr(_){if(Me.call(_,"ref")){var le=Object.getOwnPropertyDescriptor(_,"ref").get;if(le&&le.isReactWarning)return!1}return _.ref!==void 0}function Is(_){if(Me.call(_,"key")){var le=Object.getOwnPropertyDescriptor(_,"key").get;if(le&&le.isReactWarning)return!1}return _.key!==void 0}function Op(_,le){if(typeof _.ref=="string"&&be.current&&le&&be.current.stateNode!==le){var ye=x(be.current.type);dn[ye]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(be.current.type),_.ref),dn[ye]=!0)}}function CC(_,le){{var ye=function(){Je||(Je=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",le))};ye.isReactWarning=!0,Object.defineProperty(_,"key",{get:ye,configurable:!0})}}function xC(_,le){{var ye=function(){Ae||(Ae=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",le))};ye.isReactWarning=!0,Object.defineProperty(_,"ref",{get:ye,configurable:!0})}}var OC=function(_,le,ye,Ie,Pe,Ze,Le){var Ce={$$typeof:t,type:_,key:le,ref:ye,props:Le,_owner:Ze};return Ce._store={},Object.defineProperty(Ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ie}),Object.defineProperty(Ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Pe}),Object.freeze&&(Object.freeze(Ce.props),Object.freeze(Ce)),Ce};function LC(_,le,ye,Ie,Pe){{var Ze,Le={},Ce=null,mt=null;ye!==void 0&&(Oe(ye),Ce=""+ye),Is(le)&&(Oe(le.key),Ce=""+le.key),Fr(le)&&(mt=le.ref,Op(le,Pe));for(Ze in le)Me.call(le,Ze)&&!Qe.hasOwnProperty(Ze)&&(Le[Ze]=le[Ze]);if(_&&_.defaultProps){var rt=_.defaultProps;for(Ze in rt)Le[Ze]===void 0&&(Le[Ze]=rt[Ze])}if(Ce||mt){var ot=typeof _=="function"?_.displayName||_.name||"Unknown":_;Ce&&CC(Le,ot),mt&&xC(Le,ot)}return OC(_,Ce,mt,Pe,Ie,be.current,Le)}}var oc=v.ReactCurrentOwner,Lp=v.ReactDebugCurrentFrame;function Yr(_){if(_){var le=_._owner,ye=fe(_.type,_._source,le?le.type:null);Lp.setExtraStackFrame(ye)}else Lp.setExtraStackFrame(null)}var sc;sc=!1;function ac(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function _p(){{if(oc.current){var _=x(oc.current.type);if(_)return` -Check the render method of \``+_+"`."}return""}}function Xx(_){{if(_!==void 0){var le=_.fileName.replace(/^.*[\\\/]/,""),me=_.lineNumber;return` +Check the render method of \``+_+"`."}return""}}function _C(_){{if(_!==void 0){var le=_.fileName.replace(/^.*[\\\/]/,""),ye=_.lineNumber;return` -Check your code at `+le+":"+me+"."}return""}}var MM={};function eO(_){{var le=pM();if(!le){var me=typeof _=="string"?_:_.displayName||_.name;me&&(le=` +Check your code at `+le+":"+ye+"."}return""}}var kp={};function kC(_){{var le=_p();if(!le){var ye=typeof _=="string"?_:_.displayName||_.name;ye&&(le=` -Check the top-level render call using <`+me+">.")}return le}}function yM(_,le){{if(!_._store||_._store.validated||_.key!=null)return;_._store.validated=!0;var me=eO(le);if(MM[me])return;MM[me]=!0;var Ie="";_&&_._owner&&_._owner!==Dc.current&&(Ie=" It was passed a child from "+x(_._owner.type)+"."),Br(_),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Ie),Br(null)}}function mM(_,le){{if(typeof _!="object")return;if(Y(_))for(var me=0;me<_.length;me++){var Ie=_[me];Ac(Ie)&&yM(Ie,le)}else if(Ac(_))_._store&&(_._store.validated=!0);else if(_){var Pe=m(_);if(typeof Pe=="function"&&Pe!==_.entries)for(var Je=Pe.call(_),Le;!(Le=Je.next()).done;)Ac(Le.value)&&yM(Le.value,le)}}}function tO(_){{var le=_.type;if(le==null||typeof le=="string")return;var me;if(typeof le=="function")me=le.propTypes;else if(typeof le=="object"&&(le.$$typeof===u||le.$$typeof===f))me=le.propTypes;else return;if(me){var Ie=x(le);M(me,_.props,"prop",Ie,_)}else if(le.PropTypes!==void 0&&!Ec){Ec=!0;var Pe=x(le);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Pe||"Unknown")}typeof le.getDefaultProps=="function"&&!le.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nO(_){{for(var le=Object.keys(_.props),me=0;me",Ce=" Did you accidentally export a JSX literal instead of a component?"):rt=typeof _,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",rt,Ce)}var ot=Zx(_,le,me,Pe,Je);if(ot==null)return ot;if(Le){var kt=le.children;if(kt!==void 0)if(Ie)if(Y(kt)){for(var Qr=0;Qr.")}return le}}function zp(_,le){{if(!_._store||_._store.validated||_.key!=null)return;_._store.validated=!0;var ye=kC(le);if(kp[ye])return;kp[ye]=!0;var Ie="";_&&_._owner&&_._owner!==oc.current&&(Ie=" It was passed a child from "+x(_._owner.type)+"."),Yr(_),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ye,Ie),Yr(null)}}function Pp(_,le){{if(typeof _!="object")return;if(Y(_))for(var ye=0;ye<_.length;ye++){var Ie=_[ye];ac(Ie)&&zp(Ie,le)}else if(ac(_))_._store&&(_._store.validated=!0);else if(_){var Pe=m(_);if(typeof Pe=="function"&&Pe!==_.entries)for(var Ze=Pe.call(_),Le;!(Le=Ze.next()).done;)ac(Le.value)&&zp(Le.value,le)}}}function zC(_){{var le=_.type;if(le==null||typeof le=="string")return;var ye;if(typeof le=="function")ye=le.propTypes;else if(typeof le=="object"&&(le.$$typeof===u||le.$$typeof===f))ye=le.propTypes;else return;if(ye){var Ie=x(le);M(ye,_.props,"prop",Ie,_)}else if(le.PropTypes!==void 0&&!sc){sc=!0;var Pe=x(le);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Pe||"Unknown")}typeof le.getDefaultProps=="function"&&!le.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function PC(_){{for(var le=Object.keys(_.props),ye=0;ye",Ce=" Did you accidentally export a JSX literal instead of a component?"):rt=typeof _,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",rt,Ce)}var ot=LC(_,le,ye,Pe,Ze);if(ot==null)return ot;if(Le){var kt=le.children;if(kt!==void 0)if(Ie)if(Y(kt)){for(var Br=0;Br1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),s;function F(P,K,G,ee,O){for(var ie=P[K],J=0;J0?", expected one of type ["+ge.join(", ")+"]":"";return new p("Invalid "+ie+" `"+J+"` supplied to "+("`"+O+"`"+de+"."))}return m(K)}function b(){function L(F,P,K,G,ee){return T(F[P])?null:new p("Invalid "+G+" `"+ee+"` supplied to "+("`"+K+"`, expected a ReactNode."))}return m(L)}function k(L,F,P,K,G){return new p((L||"React class")+": "+F+" type `"+P+"."+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+G+"`.")}function R(L){function F(P,K,G,ee,O){var ie=P[K],J=U(ie);if(J!=="object")return new p("Invalid "+ee+" `"+O+"` of type `"+J+"` "+("supplied to `"+G+"`, expected `object`."));for(var ge in L){var q=L[ge];if(typeof q!="function")return k(G,ee,O,ge,C(q));var Q=q(ie,ge,G,ee,O+"."+ge,n);if(Q)return Q}return null}return m(F)}function x(L){function F(P,K,G,ee,O){var ie=P[K],J=U(ie);if(J!=="object")return new p("Invalid "+ee+" `"+O+"` of type `"+J+"` "+("supplied to `"+G+"`, expected `object`."));var ge=t({},P[K],L);for(var q in ge){var Q=L[q];if(r(L,q)&&typeof Q!="function")return k(G,ee,O,q,C(Q));if(!Q)return new p("Invalid "+ee+" `"+O+"` key `"+q+"` supplied to `"+G+"`.\nBad object: "+JSON.stringify(P[K],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(L),null," "));var V=Q(ie,q,G,ee,O+"."+q,n);if(V)return V}return null}return m(F)}function T(L){switch(typeof L){case"number":case"string":case"undefined":return!0;case"boolean":return!L;case"object":if(Array.isArray(L))return L.every(T);if(L===null||a(L))return!0;var F=f(L);if(F){var P=F.call(L),K;if(F!==L.entries){for(;!(K=P.next()).done;)if(!T(K.value))return!1}else for(;!(K=P.next()).done;){var G=K.value;if(G&&!T(G[1]))return!1}}else return!1;return!0;default:return!1}}function S(L,F){return L==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function U(L){var F=typeof L;return Array.isArray(L)?"array":L instanceof RegExp?"object":S(F,L)?"symbol":F}function C(L){if(typeof L>"u"||L===null)return""+L;var F=U(L);if(F==="object"){if(L instanceof Date)return"date";if(L instanceof RegExp)return"regexp"}return F}function Z(L){var F=C(L);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function oe(L){return!L.constructor||!L.constructor.name?d:L.constructor.name}return g.checkPropTypes=i,g.resetWarningCache=i.resetWarningCache,g.PropTypes=g,g},Ws}var Vs,al;function Ly(){if(al)return Vs;al=1;var e=Bs();function t(){}function n(){}return n.resetWarningCache=t,Vs=function(){function r(s,a,u,c,l,f){if(f!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Vs}if(process.env.NODE_ENV!=="production"){var _y=Wr,ky=!0;el.exports=Oy()(_y.isElement,ky)}else el.exports=Ly()();var Xi={},zy={get exports(){return Xi},set exports(e){Xi=e}},zt={},Gr={},Py={get exports(){return Gr},set exports(e){Gr=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;/*! +*/var Rs,Rc;function KM(){if(Rc)return Rs;Rc=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var u=Object.getOwnPropertyNames(s).map(function(l){return s[l]});if(u.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(l){c[l]=l}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Rs=i()?Object.assign:function(o,s){for(var a,u=r(o),c,l=1;l1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),s;function F(P,q,K,ee,O){for(var re=P[q],J=0;J0?", expected one of type ["+pe.join(", ")+"]":"";return new p("Invalid "+re+" `"+J+"` supplied to "+("`"+O+"`"+de+"."))}return m(q)}function b(){function L(F,P,q,K,ee){return N(F[P])?null:new p("Invalid "+K+" `"+ee+"` supplied to "+("`"+q+"`, expected a ReactNode."))}return m(L)}function k(L,F,P,q,K){return new p((L||"React class")+": "+F+" type `"+P+"."+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+K+"`.")}function R(L){function F(P,q,K,ee,O){var re=P[q],J=U(re);if(J!=="object")return new p("Invalid "+ee+" `"+O+"` of type `"+J+"` "+("supplied to `"+K+"`, expected `object`."));for(var pe in L){var V=L[pe];if(typeof V!="function")return k(K,ee,O,pe,C(V));var Q=V(re,pe,K,ee,O+"."+pe,n);if(Q)return Q}return null}return m(F)}function x(L){function F(P,q,K,ee,O){var re=P[q],J=U(re);if(J!=="object")return new p("Invalid "+ee+" `"+O+"` of type `"+J+"` "+("supplied to `"+K+"`, expected `object`."));var pe=t({},P[q],L);for(var V in pe){var Q=L[V];if(r(L,V)&&typeof Q!="function")return k(K,ee,O,V,C(Q));if(!Q)return new p("Invalid "+ee+" `"+O+"` key `"+V+"` supplied to `"+K+"`.\nBad object: "+JSON.stringify(P[q],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(L),null," "));var $=Q(re,V,K,ee,O+"."+V,n);if($)return $}return null}return m(F)}function N(L){switch(typeof L){case"number":case"string":case"undefined":return!0;case"boolean":return!L;case"object":if(Array.isArray(L))return L.every(N);if(L===null||a(L))return!0;var F=f(L);if(F){var P=F.call(L),q;if(F!==L.entries){for(;!(q=P.next()).done;)if(!N(q.value))return!1}else for(;!(q=P.next()).done;){var K=q.value;if(K&&!N(K[1]))return!1}}else return!1;return!0;default:return!1}}function S(L,F){return L==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function U(L){var F=typeof L;return Array.isArray(L)?"array":L instanceof RegExp?"object":S(F,L)?"symbol":F}function C(L){if(typeof L>"u"||L===null)return""+L;var F=U(L);if(F==="object"){if(L instanceof Date)return"date";if(L instanceof RegExp)return"regexp"}return F}function Z(L){var F=C(L);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function ie(L){return!L.constructor||!L.constructor.name?d:L.constructor.name}return g.checkPropTypes=i,g.resetWarningCache=i.resetWarningCache,g.PropTypes=g,g},$s}var Ws,Wc;function ZM(){if(Wc)return Ws;Wc=1;var e=Ys();function t(){}function n(){}return n.resetWarningCache=t,Ws=function(){function r(s,a,u,c,l,f){if(f!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Ws}if(process.env.NODE_ENV!=="production"){var XM=$r,ey=!0;Uc.exports=JM()(XM.isElement,ey)}else Uc.exports=ZM()();var Zi={},ty={get exports(){return Zi},set exports(e){Zi=e}},zt={},Kr={},ny={get exports(){return Kr},set exports(e){Kr=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;/*! * Adapted from jQuery UI core * * http://jqueryui.com @@ -145,20 +145,20 @@ Valid keys: `+JSON.stringify(Object.keys(L),null," "));var V=Q(ie,q,G,ee,O+"."+ * http://jquery.org/license * * http://api.jqueryui.com/category/ui-core/ - */var n="none",r="contents",i=/input|select|textarea|button|object|iframe/;function o(f,d){return d.getPropertyValue("overflow")!=="visible"||f.scrollWidth<=0&&f.scrollHeight<=0}function s(f){var d=f.offsetWidth<=0&&f.offsetHeight<=0;if(d&&!f.innerHTML)return!0;try{var g=window.getComputedStyle(f),h=g.getPropertyValue("display");return d?h!==r&&o(f,g):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function a(f){for(var d=f,g=f.getRootNode&&f.getRootNode();d&&d!==document.body;){if(g&&d===g&&(d=g.host.parentNode),s(d))return!1;d=d.parentNode}return!0}function u(f,d){var g=f.nodeName.toLowerCase(),h=i.test(g)&&!f.disabled||g==="a"&&f.href||d;return h&&a(f)}function c(f){var d=f.getAttribute("tabindex");d===null&&(d=void 0);var g=isNaN(d);return(g||d>=0)&&u(f,!g)}function l(f){var d=[].slice.call(f.querySelectorAll("*"),0).reduce(function(g,h){return g.concat(h.shadowRoot?l(h.shadowRoot):[h])},[]);return d.filter(c)}e.exports=t.default})(Py,Gr),Object.defineProperty(zt,"__esModule",{value:!0}),zt.resetState=Yy,zt.log=By,zt.handleBlur=Jr,zt.handleFocus=Zr,zt.markForFocusLater=Qy,zt.returnFocus=$y,zt.popWithoutFocus=Wy,zt.setupScopedFocus=Vy,zt.teardownScopedFocus=Hy;var Uy=Gr,Ry=Fy(Uy);function Fy(e){return e&&e.__esModule?e:{default:e}}var kn=[],ar=null,Hs=!1;function Yy(){kn=[]}function By(){process.env.NODE_ENV!=="production"&&(console.log("focusManager ----------"),kn.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))}function Jr(){Hs=!0}function Zr(){if(Hs){if(Hs=!1,!ar)return;setTimeout(function(){if(!ar.contains(document.activeElement)){var e=(0,Ry.default)(ar)[0]||ar;e.focus()}},0)}}function Qy(){kn.push(document.activeElement)}function $y(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{kn.length!==0&&(t=kn.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function Wy(){kn.length>0&&kn.pop()}function Vy(e){ar=e,window.addEventListener?(window.addEventListener("blur",Jr,!1),document.addEventListener("focus",Zr,!0)):(window.attachEvent("onBlur",Jr),document.attachEvent("onFocus",Zr))}function Hy(){ar=null,window.addEventListener?(window.removeEventListener("blur",Jr),document.removeEventListener("focus",Zr)):(window.detachEvent("onBlur",Jr),document.detachEvent("onFocus",Zr))}var eo={},qy={get exports(){return eo},set exports(e){eo=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=Gr,r=i(n);function i(a){return a&&a.__esModule?a:{default:a}}function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return a.activeElement.shadowRoot?o(a.activeElement.shadowRoot):a.activeElement}function s(a,u){var c=(0,r.default)(a);if(!c.length){u.preventDefault();return}var l=void 0,f=u.shiftKey,d=c[0],g=c[c.length-1],h=o();if(a===h){if(!f)return;l=g}if(g===h&&!f&&(l=d),d===h&&f&&(l=g),l){u.preventDefault(),l.focus();return}var p=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),m=p!=null&&p[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(m){var v=c.indexOf(h);if(v>-1&&(v+=f?-1:1),l=c[v],typeof l>"u"){u.preventDefault(),l=f?g:d,l.focus();return}u.preventDefault(),l.focus()}}e.exports=t.default})(qy,eo);var Pt={},Ky=process.env.NODE_ENV!=="production",ul=function(){};if(Ky){var Gy=function(t,n){var r=arguments.length;n=new Array(r>1?r-1:0);for(var i=1;i2?r-2:0);for(var i=2;i=0)&&u(f,!g)}function l(f){var d=[].slice.call(f.querySelectorAll("*"),0).reduce(function(g,h){return g.concat(h.shadowRoot?l(h.shadowRoot):[h])},[]);return d.filter(c)}e.exports=t.default})(ny,Kr),Object.defineProperty(zt,"__esModule",{value:!0}),zt.resetState=sy,zt.log=ay,zt.handleBlur=Gr,zt.handleFocus=Jr,zt.markForFocusLater=uy,zt.returnFocus=cy,zt.popWithoutFocus=ly,zt.setupScopedFocus=fy,zt.teardownScopedFocus=dy;var ry=Kr,iy=oy(ry);function oy(e){return e&&e.__esModule?e:{default:e}}var _n=[],ar=null,Vs=!1;function sy(){_n=[]}function ay(){process.env.NODE_ENV!=="production"&&(console.log("focusManager ----------"),_n.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))}function Gr(){Vs=!0}function Jr(){if(Vs){if(Vs=!1,!ar)return;setTimeout(function(){if(!ar.contains(document.activeElement)){var e=(0,iy.default)(ar)[0]||ar;e.focus()}},0)}}function uy(){_n.push(document.activeElement)}function cy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{_n.length!==0&&(t=_n.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function ly(){_n.length>0&&_n.pop()}function fy(e){ar=e,window.addEventListener?(window.addEventListener("blur",Gr,!1),document.addEventListener("focus",Jr,!0)):(window.attachEvent("onBlur",Gr),document.attachEvent("onFocus",Jr))}function dy(){ar=null,window.addEventListener?(window.removeEventListener("blur",Gr),document.removeEventListener("focus",Jr)):(window.detachEvent("onBlur",Gr),document.detachEvent("onFocus",Jr))}var Xi={},hy={get exports(){return Xi},set exports(e){Xi=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=Kr,r=i(n);function i(a){return a&&a.__esModule?a:{default:a}}function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return a.activeElement.shadowRoot?o(a.activeElement.shadowRoot):a.activeElement}function s(a,u){var c=(0,r.default)(a);if(!c.length){u.preventDefault();return}var l=void 0,f=u.shiftKey,d=c[0],g=c[c.length-1],h=o();if(a===h){if(!f)return;l=g}if(g===h&&!f&&(l=d),d===h&&f&&(l=g),l){u.preventDefault(),l.focus();return}var p=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),m=p!=null&&p[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(m){var v=c.indexOf(h);if(v>-1&&(v+=f?-1:1),l=c[v],typeof l>"u"){u.preventDefault(),l=f?g:d,l.focus();return}u.preventDefault(),l.focus()}}e.exports=t.default})(hy,Xi);var Pt={},gy=process.env.NODE_ENV!=="production",Vc=function(){};if(gy){var py=function(t,n){var r=arguments.length;n=new Array(r>1?r-1:0);for(var i=1;i2?r-2:0);for(var i=2;i 0 expected");return}Un[Un.length-1].focusContent()}function jm(e,t){!ft&&!Rt&&(ft=document.createElement("div"),ft.setAttribute("data-react-modal-body-trap",""),ft.style.position="absolute",ft.style.opacity="0",ft.setAttribute("tabindex","0"),ft.addEventListener("focus",dl),Rt=ft.cloneNode(),Rt.addEventListener("focus",dl)),Un=t,Un.length>0?(document.body.firstChild!==ft&&document.body.insertBefore(ft,document.body.firstChild),document.body.lastChild!==Rt&&document.body.appendChild(Rt)):(ft.parentElement&&ft.parentElement.removeChild(ft),Rt.parentElement&&Rt.parentElement.removeChild(Rt))}Am.default.subscribe(jm),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(T){for(var S=1;S0&&(R-=1,R===0&&g.show(oe)),C.props.shouldFocusAfterRender&&(C.props.shouldReturnFocusAfterClose?(c.returnFocus(C.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),C.props.onAfterClose&&C.props.onAfterClose(),j.default.deregister(C)},C.open=function(){C.beforeOpen(),C.state.afterOpen&&C.state.beforeClose?(clearTimeout(C.closeTimer),C.setState({beforeClose:!1})):(C.props.shouldFocusAfterRender&&(c.setupScopedFocus(C.node),c.markForFocusLater()),C.setState({isOpen:!0},function(){C.openAnimationFrame=requestAnimationFrame(function(){C.setState({afterOpen:!0}),C.props.isOpen&&C.props.onAfterOpen&&C.props.onAfterOpen({overlayEl:C.overlay,contentEl:C.content})})}))},C.close=function(){C.props.closeTimeoutMS>0?C.closeWithTimeout():C.closeWithoutTimeout()},C.focusContent=function(){return C.content&&!C.contentHasFocus()&&C.content.focus({preventScroll:!0})},C.closeWithTimeout=function(){var Z=Date.now()+C.props.closeTimeoutMS;C.setState({beforeClose:!0,closesAt:Z},function(){C.closeTimer=setTimeout(C.closeWithoutTimeout,C.state.closesAt-Date.now())})},C.closeWithoutTimeout=function(){C.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},C.afterClose)},C.handleKeyDown=function(Z){b(Z)&&(0,f.default)(C.content,Z),C.props.shouldCloseOnEsc&&k(Z)&&(Z.stopPropagation(),C.requestClose(Z))},C.handleOverlayOnClick=function(Z){C.shouldClose===null&&(C.shouldClose=!0),C.shouldClose&&C.props.shouldCloseOnOverlayClick&&(C.ownerHandlesClose()?C.requestClose(Z):C.focusContent()),C.shouldClose=null},C.handleContentOnMouseUp=function(){C.shouldClose=!1},C.handleOverlayOnMouseDown=function(Z){!C.props.shouldCloseOnOverlayClick&&Z.target==C.overlay&&Z.preventDefault()},C.handleContentOnClick=function(){C.shouldClose=!1},C.handleContentOnMouseDown=function(){C.shouldClose=!1},C.requestClose=function(Z){return C.ownerHandlesClose()&&C.props.onRequestClose(Z)},C.ownerHandlesClose=function(){return C.props.onRequestClose},C.shouldBeClosed=function(){return!C.state.isOpen&&!C.state.beforeClose},C.contentHasFocus=function(){return document.activeElement===C.content||C.content.contains(document.activeElement)},C.buildClassName=function(Z,oe){var L=(typeof oe>"u"?"undefined":r(oe))==="object"?oe:{base:$[Z],afterOpen:$[Z]+"--after-open",beforeClose:$[Z]+"--before-close"},F=L.base;return C.state.afterOpen&&(F=F+" "+L.afterOpen),C.state.beforeClose&&(F=F+" "+L.beforeClose),typeof oe=="string"&&oe?F+" "+oe:F},C.attributesFromObject=function(Z,oe){return Object.keys(oe).reduce(function(L,F){return L[Z+"-"+F]=oe[F],L},{})},C.state={afterOpen:!1,beforeClose:!1},C.shouldClose=null,C.moveFromContentToOverlay=null,C}return i(S,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(C,Z){process.env.NODE_ENV!=="production"&&(C.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),C.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!C.isOpen?this.open():!this.props.isOpen&&C.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!Z.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var C=this.props,Z=C.appElement,oe=C.ariaHideApp,L=C.htmlOpenClassName,F=C.bodyOpenClassName,P=C.parentSelector,K=P&&P().ownerDocument||document;F&&p.add(K.body,F),L&&p.add(K.getElementsByTagName("html")[0],L),oe&&(R+=1,g.hide(Z)),j.default.register(this)}},{key:"render",value:function(){var C=this.props,Z=C.id,oe=C.className,L=C.overlayClassName,F=C.defaultStyles,P=C.children,K=oe?{}:F.content,G=L?{}:F.overlay;if(this.shouldBeClosed())return null;var ee={ref:this.setOverlayRef,className:this.buildClassName("overlay",L),style:n({},G,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},O=n({id:Z,ref:this.setContentRef,style:n({},K,this.props.style.content),className:this.buildClassName("content",oe),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),ie=this.props.contentElement(O,P);return this.props.overlayElement(ee,ie)}}]),S}(o.Component);x.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},x.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(v.default),a.default.instanceOf(m.SafeHTMLCollection),a.default.instanceOf(m.SafeNodeList),a.default.arrayOf(a.default.instanceOf(v.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=x,e.exports=t.default}(zy,Xi);function hl(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function gl(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r??null}this.setState(t.bind(this))}function pl(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}hl.__suppressDeprecationWarning=!0,gl.__suppressDeprecationWarning=!0,pl.__suppressDeprecationWarning=!0;function Sm(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,r=null,i=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?r="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(r="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?i="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(i="UNSAFE_componentWillUpdate"),n!==null||r!==null||i!==null){var o=e.displayName||e.name,s=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. +`,console.log(t)}}var _y=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},ky=function(t,n){return t[n]&&(t[n]-=1),n},zy=function(t,n,r){r.forEach(function(i){_y(n,i),t.add(i)})},Py=function(t,n,r){r.forEach(function(i){ky(n,i),n[i]===0&&t.remove(i)})};ur.add=function(t,n){return zy(t.classList,t.nodeName.toLowerCase()=="html"?kn:zn,n.split(" "))},ur.remove=function(t,n){return Py(t.classList,t.nodeName.toLowerCase()=="html"?kn:zn,n.split(" "))};var cr={};Object.defineProperty(cr,"__esModule",{value:!0}),cr.log=Ry,cr.resetState=Fy;function Uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Kc=function e(){var t=this;Uy(this,e),this.register=function(n){if(t.openInstances.indexOf(n)!==-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Cannot register modal instance that's already open");return}t.openInstances.push(n),t.emit("register")},this.deregister=function(n){var r=t.openInstances.indexOf(n);if(r===-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Unable to deregister "+n+" as it was never registered");return}t.openInstances.splice(r,1),t.emit("deregister")},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},to=new Kc;function Ry(){console.log("portalOpenInstances ----------"),console.log(to.openInstances.length),to.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function Fy(){to=new Kc}cr.default=to;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.resetState=$y,Ks.log=Wy;var Yy=cr,By=Qy(Yy);function Qy(e){return e&&e.__esModule?e:{default:e}}var dt=void 0,Rt=void 0,Pn=[];function $y(){for(var e=[dt,Rt],t=0;t 0 expected");return}Pn[Pn.length-1].focusContent()}function Vy(e,t){!dt&&!Rt&&(dt=document.createElement("div"),dt.setAttribute("data-react-modal-body-trap",""),dt.style.position="absolute",dt.style.opacity="0",dt.setAttribute("tabindex","0"),dt.addEventListener("focus",Gc),Rt=dt.cloneNode(),Rt.addEventListener("focus",Gc)),Pn=t,Pn.length>0?(document.body.firstChild!==dt&&document.body.insertBefore(dt,document.body.firstChild),document.body.lastChild!==Rt&&document.body.appendChild(Rt)):(dt.parentElement&&dt.parentElement.removeChild(dt),Rt.parentElement&&Rt.parentElement.removeChild(Rt))}By.default.subscribe(Vy),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(N){for(var S=1;S0&&(R-=1,R===0&&g.show(ie)),C.props.shouldFocusAfterRender&&(C.props.shouldReturnFocusAfterClose?(c.returnFocus(C.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),C.props.onAfterClose&&C.props.onAfterClose(),j.default.deregister(C)},C.open=function(){C.beforeOpen(),C.state.afterOpen&&C.state.beforeClose?(clearTimeout(C.closeTimer),C.setState({beforeClose:!1})):(C.props.shouldFocusAfterRender&&(c.setupScopedFocus(C.node),c.markForFocusLater()),C.setState({isOpen:!0},function(){C.openAnimationFrame=requestAnimationFrame(function(){C.setState({afterOpen:!0}),C.props.isOpen&&C.props.onAfterOpen&&C.props.onAfterOpen({overlayEl:C.overlay,contentEl:C.content})})}))},C.close=function(){C.props.closeTimeoutMS>0?C.closeWithTimeout():C.closeWithoutTimeout()},C.focusContent=function(){return C.content&&!C.contentHasFocus()&&C.content.focus({preventScroll:!0})},C.closeWithTimeout=function(){var Z=Date.now()+C.props.closeTimeoutMS;C.setState({beforeClose:!0,closesAt:Z},function(){C.closeTimer=setTimeout(C.closeWithoutTimeout,C.state.closesAt-Date.now())})},C.closeWithoutTimeout=function(){C.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},C.afterClose)},C.handleKeyDown=function(Z){b(Z)&&(0,f.default)(C.content,Z),C.props.shouldCloseOnEsc&&k(Z)&&(Z.stopPropagation(),C.requestClose(Z))},C.handleOverlayOnClick=function(Z){C.shouldClose===null&&(C.shouldClose=!0),C.shouldClose&&C.props.shouldCloseOnOverlayClick&&(C.ownerHandlesClose()?C.requestClose(Z):C.focusContent()),C.shouldClose=null},C.handleContentOnMouseUp=function(){C.shouldClose=!1},C.handleOverlayOnMouseDown=function(Z){!C.props.shouldCloseOnOverlayClick&&Z.target==C.overlay&&Z.preventDefault()},C.handleContentOnClick=function(){C.shouldClose=!1},C.handleContentOnMouseDown=function(){C.shouldClose=!1},C.requestClose=function(Z){return C.ownerHandlesClose()&&C.props.onRequestClose(Z)},C.ownerHandlesClose=function(){return C.props.onRequestClose},C.shouldBeClosed=function(){return!C.state.isOpen&&!C.state.beforeClose},C.contentHasFocus=function(){return document.activeElement===C.content||C.content.contains(document.activeElement)},C.buildClassName=function(Z,ie){var L=(typeof ie>"u"?"undefined":r(ie))==="object"?ie:{base:W[Z],afterOpen:W[Z]+"--after-open",beforeClose:W[Z]+"--before-close"},F=L.base;return C.state.afterOpen&&(F=F+" "+L.afterOpen),C.state.beforeClose&&(F=F+" "+L.beforeClose),typeof ie=="string"&&ie?F+" "+ie:F},C.attributesFromObject=function(Z,ie){return Object.keys(ie).reduce(function(L,F){return L[Z+"-"+F]=ie[F],L},{})},C.state={afterOpen:!1,beforeClose:!1},C.shouldClose=null,C.moveFromContentToOverlay=null,C}return i(S,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(C,Z){process.env.NODE_ENV!=="production"&&(C.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),C.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!C.isOpen?this.open():!this.props.isOpen&&C.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!Z.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var C=this.props,Z=C.appElement,ie=C.ariaHideApp,L=C.htmlOpenClassName,F=C.bodyOpenClassName,P=C.parentSelector,q=P&&P().ownerDocument||document;F&&p.add(q.body,F),L&&p.add(q.getElementsByTagName("html")[0],L),ie&&(R+=1,g.hide(Z)),j.default.register(this)}},{key:"render",value:function(){var C=this.props,Z=C.id,ie=C.className,L=C.overlayClassName,F=C.defaultStyles,P=C.children,q=ie?{}:F.content,K=L?{}:F.overlay;if(this.shouldBeClosed())return null;var ee={ref:this.setOverlayRef,className:this.buildClassName("overlay",L),style:n({},K,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},O=n({id:Z,ref:this.setContentRef,style:n({},q,this.props.style.content),className:this.buildClassName("content",ie),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),re=this.props.contentElement(O,P);return this.props.overlayElement(ee,re)}}]),S}(o.Component);x.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},x.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(v.default),a.default.instanceOf(m.SafeHTMLCollection),a.default.instanceOf(m.SafeNodeList),a.default.arrayOf(a.default.instanceOf(v.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=x,e.exports=t.default}(ty,Zi);function Jc(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Zc(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r??null}this.setState(t.bind(this))}function Xc(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}Jc.__suppressDeprecationWarning=!0,Zc.__suppressDeprecationWarning=!0,Xc.__suppressDeprecationWarning=!0;function Hy(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,r=null,i=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?r="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(r="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?i="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(i="UNSAFE_componentWillUpdate"),n!==null||r!==null||i!==null){var o=e.displayName||e.name,s=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. `+o+" uses "+s+" but also contains the following legacy lifecycles:"+(n!==null?` `+n:"")+(r!==null?` @@ -166,80 +166,62 @@ doc.body (`+e+`): `+i:"")+` The above lifecycles should be removed. Learn more about this warning here: -https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=hl,t.componentWillReceiveProps=gl),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=pl;var a=t.componentDidUpdate;t.componentDidUpdate=function(c,l,f){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;a.call(this,c,l,d)}}return e}const bm=$r(Object.freeze(Object.defineProperty({__proto__:null,polyfill:Sm},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(_n,"__esModule",{value:!0}),_n.bodyOpenClassName=_n.portalClassName=void 0;var Ml=Object.assign||function(e){for(var t=1;t{const e=H.useRef(!1),t=Al.documentElement,{body:n}=Al;return[()=>{if(!n||!n.style||e.current||document==null)return;const o=window.innerWidth-t.clientWidth,s=parseInt(window.getComputedStyle(n).getPropertyValue("padding-right"))||0;t.style.position="relative",t.style.overflow="hidden",n.style.position="relative",n.style.overflow="hidden",n.style.paddingRight=`${s+o}px`,e.current=!0},()=>{!n||!n.style||!e.current||(t.style.position="",t.style.overflow="",n.style.position="",n.style.overflow="",n.style.paddingRight="",e.current=!1)}]};El.setAppElement("#layout");const Bm=({isOpen:e,children:t,closeTimeoutMS:n,style:r,overlayClassName:i,className:o,onRequestClose:s})=>{const[a,u]=Il();return e?a():u(),pe.jsx(El,{isOpen:e,closeTimeoutMS:n,style:r,overlayClassName:i,className:o,onRequestClose:s||(()=>{}),shouldCloseOnOverlayClick:!0,children:t})},Qm={headerHeight:"67px",searchBarHeight:"32px",switchHeight:"32px"},$m={title:"36px",subtitle:"24px",content:"14px",small:"12px"};var Xt=(e=>(e.EN="en",e.JA="ja",e))(Xt||{});const Wm=["desktop","tablet","phone","phoneMini"],Vm=e=>Wm.includes(e),Hm=["light","dark"],qm=e=>Hm.includes(e),Zs={app:{courseChange:"Course change detected. If you added/deleted courses in another tab, please ",RefreshLink:"click here to refresh to see the changes"},common:{mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat",sun:"Sun"},welcome:{welcome:"Welcome to WasedaTime!",newFeature:"New feature",userLogin:"User login",writeReviews:"Write Reviews",timetableSync:"Timetable sync",loginExplain1:"Click on the ",loginExplain2:" icon to login.",useWasedaGmail1:"We only allow login with ",useWasedaGmail2:"","Waseda Gmail":"Waseda Gmail account",writeReviewsExplain1:"After login, you can write / edit / delete your reviews to any course, in any language!",writeReviewsExplain2:"(Will be automatically translated into English, Japanese, Chinese and Korean)",timetableSyncExplain:"Your timetable is synchronized across devices as you login!",timetableDisplayCredits:"Also, we made it to sum up and display credits of courses in your timetable!",returningUsers:"For returning users, your added courses are preserved.",next:"next",back:"back",done:"done","Meet our developers!":"Meet our developers!",Founder:"Founder",Frontendtranslation:"Frontend & translation",Frontend:"Frontend","May WasedaTime be with you":"May WasedaTime be with you","We also received help from":"We also received help from","these contributors":"these contributors",a:".",notice:"Notice","Schools not imported initially":"To keep the high performance of our app, syllabus of all schools are not imported initially.","Import schools request":"Please import the syllabus of schools you are interested when you first access the Syllabus page.",allSchoolsAdded:"All undergraduate & graduate schools are supported in Syllabus now!"},navigation:{timetable:"Timetable",syllabus:"Syllabus","course info":"Course",roomfinder:"Rooms",joinus:"Join Us",bus:"Bus",language:"Language",career:"Career","corona-info":"COVID19"},footer:{licensed:" Code Licensed ",syllabus:"Syllabus correct as at",update:""},about:{title:"WasedaTime",description:"Non-profit, student-run, open-source app aiming to support and improve the campus lives of Waseda University students."},timetable:{welcome:"Welcome to WasedaTime!","You haven't added any courses":"Hi! You haven't added any courses.","Go to":"Go to ",Syllabus:"Syllabus","and try adding one!":"and try adding one!",SaveSpace:"Period 6, 7 and Saturday are hidden by default to save space. They will appear once the corresponding course is selected.","Sort by":"Sort by",courses:"courses",credits:"credits","courses added":"courses added","Spring Semester":"Spring Semester","Fall Semester":"Fall Semester",undecided:"undecided"},syllabus:{"Spring Semester":"Spring Semester","Fall Semester":"Fall Semester","Added courses are displayed here":"Added courses are displayed here.","To add a course":"To add a course:","Search with keywords":"Search with keywords","With course or instructor's name":"With course or instructor's name","English & Japanese supported":"English & Japanese supported","Click on":"Click on","to add":"to add","To remove":"To remove: ","to remove suffix":"","Pro Tip!":"Pro Tip!",Use:"Use","Filter by":"Filter","Clear filter":"Clear filter","to narrow down your search":"to narrow down your search.",Semesters:"Semesters",Schools:"Schools",Languages:"Languages",Special:"Special",day:"Day",period:{1:"1st",2:"2nd",3:"3rd",4:"4th",5:"5th",6:"6th",7:"7th",Period:"Period"},minYear:"Eligible Year",credit:"Credit",eval:{title:"Evaluation",typeDefault:"Not selected",Exam:"Exams",Papers:"Papers","Class Participation":"Class Participation",Others:"Others","No exam":"No exam","No paper":"No paper","No class participation":"No class participation"},type:"Type",level:"Level","School Filter":{title:"School Filter","Choose Schools":"Choose your Schools","Remove Schools":"Remove Schools",Undergraduate:"Undergraduate",Graduate:"Graduate",Special:"Special","No imported":"No syllabus imported yet","Import request":"Please import the syllabus for at least 1 school.","Loaded schools limit message":"You can load the syllabus of up to 10 schools","Schools up to limit warning title":"You can only load the syllabus of up to 10 schools","Schools up to limit warning text":' To import more syllabus from other schools, please click the "Remove syllabus" button and remove at least 1 syllabus.'},displayedSpringSemester:"Spring Semester",displayedFallSemester:"Fall Semester",searchBarPlaceholder:"Search course, instructor in EN / JP","Spring / Summer":"Spring / Summer","Fall / Winter":"Fall / Winter",SILS:"SILS",PSE:"PSE",SSS:"SSS",FSE:"FSE",CSE:"CSE",ASE:"ASE",CMS:"CMS",HSS:"HSS",LAW:"LAW",EDU:"EDU",SOC:"SOC",HUM:"HUM",SPS:"SPS",CJL:"CJL",GEC:"GEC (Global)",CIE:"CIE",IPSE:"IPSE","EN-based Undergrad Program":"EN-based Undergrad Program","IPSE/EN-based Undergrad Program":"IPSE / EN-based Undergrad Program",semesterMap:{Spring:"Spring",Summer:"Summer",Fall:"Fall",Winter:"Winter",Semester:" Semester",Quarter:" Quarter",Intensive:" Intensive","Full-Year":"Full-Year",Term:" Term","/":" / ","&":" & ",undecided:"Undecided"},languageKeys:{0:"JP",1:"EN",2:"DE",3:"FR",4:"ZH",5:"ES",6:"KR",7:"RU",8:"IT",9:"Others","-1":"N/A"},languages:{0:"Japanese",1:"English",2:"German",3:"French",4:"Chinese",5:"Spanish",6:"Korean",7:"Russian",8:"Italian",9:"Others","-1":"N/A"},location:{undecided:"undecided"},"Added order":"Added order","Course title":"Course title","Course time":"Course time",langParam:"&pLng=en",Share:"Share","Share!":"Share!","Share popup message":"Does this course look good? Share with classmates!","Share text":"Wanna search for good courses? Try WasedaTime!"},courseInfo:{Details:{title:"Details","Min Year":"Eligible Year",Credit:"Credit",Category:"Category",Type:{title:"Type",Lecture:"Lecture",Seminar:"Seminar",Work:"Work","Foreign Language":"Foreign Language","On-demand":"On-demand",Thesis:"Thesis","Graduate Research":"Graduate Research",Practice:"Practice",Blended:"Blended"},Level:{title:"Level",Beginner:"Beginner",Intermediate:"Intermediate",Advanced:"Advanced","Final-stage":"Final-stage",Master:"Master",Doctor:"Doctor"},Evaluation:{title:"Evaluation",Exam:"Exams",Papers:"Papers","Class Participation":"Class Participation",Others:"Others"}},Reviews:"Reviews",Review:"Review","Write your Review":"Write your Review",Scales:"Scales",Satisfaction:"Satisfaction",Difficulty:"Easiness",Benefit:"Benefit","Related courses":"Related courses",Disclaimer:"The reviews do not represent the official position or opinion of WasedaTime.","Thank WTSA 1":"We appreciate",WTSA:"Waseda Taiwanese Student Association (WTSA)","Thank WTSA 2":"'s help for providing the reviews!","Related courses explanation":"Top 10 courses having the same course code and similar title","Add review to this course":"Your new review","Review placeholder":"Please share your experiences, feelings, and even advices about the course!",Submit:"Submit",Close:"Close","Review sent":"Review sent","Review updated":"Review updated","Review deleted":"Review deleted","Review failed to send":"Review failed to send","Fill in all fields before sending":"Please fill in all fields before sending your review","delete review confirmation":"Are you sure to delete the review?","delete review yes":"Yes, I'm sure","delete review no":"No"},room:{"Under Construction":"Under Construction","Want to help?":"Wanna build an amazing app with us?","Check out our":"Check out our",facebook:" Facebook ",twitter:"Twitter",or:" or ","!":"!","We sincerely welcome any contributors!":"We sincerely welcome any contributors!"},bus:{busStatus:"Bus Status",Waseda:"Waseda",NishiWaseda:"NishiWaseda","Add to home screen":"Add to home screen","and never miss a bus again!":"and never miss a bus again!","Official Link":"Official Link","The Latest Waseda-NishiWaseda Bus Schedule":"The Latest Waseda-NishiWaseda Bus Schedule","Departs in":"Departs in",mins:"mins","Out of service":"Out of service","Special Schedule":"Special Schedule","Tap on the top-right icon":"Tap on the top-right icon","and select Add to Home screen":"and select 'Add to Home screen'","Tap on the bottom-middle icon":"Tap on the bottom-middle icon","Assign a date / time to check the next bus":"Assign a date / time to check the next bus"},updates:{header:"Updates on the issue with the 2020 syllabus",main:"Hi! Thanks for clicking in.",main2:"We apologize that the 2020 syllabus is not supported yet. Due to a updated policy from Waseda University, we are not able to obtain the 2020 syllabus data at this moment.",main3:"We are actively negotiating with the university and will provide any updates as soon as possible. We have received many inquiries and are very sorry for not being able to respond in time.",main4:"Thank you so much again, and we will do our best to ensure that the mission of WasedaTime continues.",main5:"Please stay safe and healthy!"},career:{Intern:"Intern",Articles:"Articles",viewMore:"View More",Entry:"Entry"},coronaInfo:{title:"COVID-19 Statistics",attribution:"Data fetched from Johns Hopkins University CSSE","New Cases":"New Cases","Total Cases":"Total Cases","New Deaths":"New Deaths","Total Deaths":"Total Deaths","New Recovered":"New Recovered","Total Recovered":"Total Recovered",Tokyo:"Tokyo","Loading Statistics":"Loading Statistics","No data":"No data"},user:{"Sign in":"Sign in","Sign Out":"Sign Out","Sign in with WasedaMail":"Sign in with WasedaMail","session expired warning":"Your session is expired. Please sign in again.","sign in description":"Write your comment on a course and view your timetable on different devices by joining WasedaTime!","agreement on privacy policy 1":"By continuing, you agree to WasedaTime’s ","agreement on privacy policy 2":" and ","agreement on privacy policy 3":".","Privacy Policy":"Privacy Policy","Terms of Service":"Terms of Service","Keep using without sign in":"Keep using without sign in"}},Xs={app:{courseChange:"科目の変更が検出されました。別のタブで科目を登録/取り消した場合は、変更を反映するために",RefreshLink:"こちらにクリックして再読み込みしてください"},common:{mon:"月",tue:"火",wed:"水",thu:"木",fri:"金",sat:"土",sun:"日"},welcome:{welcome:"WasedaTime へようこそ!",newFeature:"新機能",userLogin:"ユーザーログイン",writeReviews:"授業レビュー作成",timetableSync:"時間割の保存",loginExplain1:"",loginExplain2:"アイコンを押すとログインできます!",useWasedaGmail1:"",useWasedaGmail2:"でのログインのみ承認します。","Waseda Gmail":"早稲田Gメールアカウント",writeReviewsExplain1:"ログインすると、あらゆる言語で授業レビューを作成・編集・削除することができます!",writeReviewsExplain2:"(英語、日本語、中国語、韓国語に自動翻訳されます。)",timetableSyncExplain:"ログインすると、複数のデバイスで時間割が同期されます!",timetableDisplayCredits:"なお、時間割に追加された授業の単位合計も表示されるようになりました!",returningUsers:"以前からご利用頂いている場合、既に登録した科目は保持されています。",next:"次へ",back:"前へ",done:"完了","Meet our developers!":"開発者たち",Founder:"創設者",Frontendtranslation:"フロントエンド & 翻訳",Frontend:"フロントエンド","May WasedaTime be with you":"WasedaTimeと共にあらんことを","We also received help from":"それ以外の","these contributors":"貢献者たち",a:"",notice:"お知らせ","Schools not imported initially":"アプリのパフォーマンスを維持するため、全学部のシラバスは先に入れておいてありません。","Import schools request":"お手数ですが、シラバス画面に最初に入る際、好きな学部のシラバスを選択してインポートしてください。",allSchoolsAdded:"全学部・研究科のシラバス検索ができるようになりました!"},navigation:{timetable:"時間割",syllabus:"シラバス","course info":"授業詳細",roomfinder:"空き教室",joinus:"募集中!",bus:"バス",language:"言語",career:"キャリア","corona-info":"コロナ"},footer:{licensed:" ソースコードライセンス ",syllabus:"シラバスは",update:"に更新されました"},about:{title:"早稲田タイム",description:"早稲田大学の学生のキャンパスライフを支え、向上させることを目的とした非営利・学生運営・オープンソースのアプリ"},timetable:{welcome:"WasedaTime へようこそ!","You haven't added any courses":"授業がありません。","Go to":"",Syllabus:"シラバス","and try adding one!":"から授業の登録ができます。",SaveSpace:"6、7限および土曜日対応する授業を登録すると表示されます。","Sort by":"並べ替え",courses:"コマ",credits:"単位","courses added":"個の授業が登録済","Spring Semester":"春学期","Fall Semester":"秋学期",undecided:"未定"},syllabus:{"Spring Semester":"春学期","Fall Semester":"秋学期","Added courses are displayed here":"登録された授業はここに表示されます。","To add a course":"授業を登録する:","Search with keywords":"キーワード検索","With course or instructor's name":"授業名もしくは教師名で検索","English & Japanese supported":"英語/日本語対応","Click on":"","to add":"を押すと登録される","To remove":"授業を削除:","to remove suffix":"をクリック","Pro Tip!":"おすすめ!",Use:"","Filter by":"フィルター","Clear filter":"リセット","to narrow down your search":"を利用して検索を絞り込んでください",Semesters:"学期",Schools:"学部",Languages:"言語",Special:"ほか",day:"曜日",period:{1:"1限",2:"2限",3:"3限",4:"4限",5:"5限",6:"6限",7:"7限",Period:"時限"},minYear:"配当年次",credit:"単位",eval:{title:"成績評価",typeDefault:"未選択",Exam:"試験",Papers:"レポート","Class Participation":"平常点評価",Others:"その他","No exam":"試験なし","No paper":"レポートなし","No class participation":"平常点評価なし"},type:"授業形態",level:"レベル","School Filter":{title:"学部/研究科フィルター","Choose Schools":"学部を選択","Remove Schools":"学部を削除",Undergraduate:"学部",Graduate:"大学院",Special:"ほか","No imported":"シラバスがインポートされていません","Import request":"学部/研究科一つ以上のシラバスをインポートしてください。","Loaded schools limit message":"10学部/研究科までのシラバスをインポートできる","Schools up to limit warning title":"シラバスのインポートは10学部/研究科まで","Schools up to limit warning text":" 他の学部のシラバスを入手するには、まず「シラバスを削除」ボタンを押し、学部1つ以上を選択して削除してください。"},displayedSpringSemester:"春学期",displayedFallSemester:"秋学期",searchBarPlaceholder:"科目、教師を日本語・英語で検索","Spring / Summer":"春 / 夏","Fall / Winter":"秋 / 冬",SILS:"国教",PSE:"政経",SSS:"社学",FSE:"基幹",CSE:"創造",ASE:"先進",CMS:"文構",HSS:"文学",LAW:"法学",EDU:"教育",SOC:"商学",HUM:"人科",SPS:"スポ科",CJL:"日本語教育",GEC:"グローバル",CIE:"CIE",IPSE:"理工国際プログラム","EN-based Undergrad Program":"英語による学位取得","IPSE/EN-based Undergrad Program":"理工国際プログラム / 英語による学位取得",semesterMap:{Spring:"春",Summer:"夏",Fall:"秋",Winter:"冬",Semester:"学期",Quarter:"クオーター",Intensive:"集中","Full-Year":"通年",Term:"期","/":" / ","&":" & ",undecided:"未定"},languageCodes:{0:"日",1:"英",2:"独",3:"仏",4:"中",5:"西",6:"韓",7:"露",8:"伊",9:"Others","-1":"N/A"},languages:{0:"日本語",1:"英語",2:"ドイツ語",3:"フランス語",4:"中国語",5:"スペイン語",6:"韓国語",7:"ロシア語",8:"イタリア語",9:"ほか","-1":"N/A"},location:{undecided:"未定"},"Added order":"追加時間","Course title":"科目名","Course time":"科目時間",langParam:"",Share:"シェア","Share!":"シェア!","Share popup message":"良い授業を発見した?クラスメイトにシェアしよう!","Share text":"良い授業、なかなか見つからない?早稲田タイムで検索しましょう!"},courseInfo:{Details:{title:"詳細","Min Year":"配当年次",Credit:"単位",Category:"科目区分",Type:{title:"授業形態",Lecture:"講義",Seminar:"演習/ゼミ",Work:"実習/実験/実技","Foreign Language":"外国語","On-demand":"オンデマンド",Thesis:"論文","Graduate Research":"研究指導",Practice:"実践/フィールドワーク/インターンシップ/ボランティア",Blended:"対面/オンデマンド"},Level:{title:"レベル",Beginner:"初級レベル(入門・導入)",Intermediate:"中級レベル(発展・応用)",Advanced:"上級レベル","Final-stage":"総仕上げ",Master:"修士レベル",Doctor:"博士レベル"},Evaluation:{title:"成績評価",Exam:"試験",Papers:"レポート","Class Participation":"平常点評価",Others:"その他"}},Reviews:"レビュー",Review:"レビュー","Write your Review":"レビュー新規作成",Scales:"レベル",Satisfaction:"満足度",Difficulty:"容易さ",Benefit:"有益さ","Related courses":"関連科目",Disclaimer:"レビューの内容はWasedaTimeの立場、意見を代表するものではありません","Thank WTSA 1":"",WTSA:"早稲田大学台湾留学生会(WTSA)","Thank WTSA 2":"の評価のご提供に感謝を申し上げます。","Related courses explanation":"同じコード及び似たタイトルを持つ授業の中の前10位","Add review to this course":"レビュー投稿","Review placeholder":"この授業についての経験や感想を共有しましょう!アドバイスまでいただけたら嬉しい!","Agree to share":"WTSAに評価をシェアすることを同意します",Submit:"提出する",Close:"閉じる","Review sent":"レビューが提出されました","Review updated":"レビューが更新されました","Review deleted":"レビューが削除されました","Review failed to send":"評価の提出が失敗しました","Fill in all fields before sending":"提出する前にすべてのフィールドに記入してください","delete review confirmation":"レビューを削除してよろしいですか?","delete review yes":"はい、削除します","delete review no":"いいえ"},room:{"Under Construction":"作成中","Want to help?":"一緒に楽しく開発しませんか?","Check out our":"興味のある方は ",facebook:" Facebook ",twitter:" Twitter ",or:"または","!":"から!","We sincerely welcome any contributors!":""},bus:{busStatus:"バス運行情報",Waseda:"早稲田",NishiWaseda:"西早稲田","Add to home screen":"ホーム画面に追加して","and never miss a bus again!":"、バスの情報をいつでもチェック!","Official Link":"公式リンク","The Latest Waseda-NishiWaseda Bus Schedule":"早稲田ー西早稲田バスの最新スケジュール","Departs in":"あと",mins:"分","Out of service":"利用時間外","Special Schedule":"特別なスケジュール","Tap on the top-right icon":"右上のアイコン","and select Add to Home screen":"をクリックして、'ホーム画面に追加' を選択する","Tap on the bottom-middle icon":"底部中央のアイコン","Assign a date / time to check the next bus":"日時を指定し、次のバスを検索しましょう"},updates:{header:"2020のシラバスについて",main:"こんにちは!クリックしていただきありがとうございます。",main2:"申し訳ありませんが、2020年のシラバスはまだサポートされていません。早稲田大学のポリシーが更新されたため、現時点では2020のシラバスデータを取得できません。",main3:"私たちは積極的に大学と相談しており、新しい情報をできるだけ早く提供します。多くのお問い合わせをいただきましたが、時間内にご返答できず大変申し訳ございません。",main4:"改めて、あなたに感謝申し上げます。早稲田タイムの使命が継続するように最善を尽くします。",main5:"どうぞ、安全と健康にお気をつけくださいませ。"},career:{Intern:"インターン",Articles:"記事",viewMore:"インターン内容をもっと見る",Entry:"エントリー"},coronaInfo:{title:"新型コロナウイルス感染症情報",attribution:"Johns Hopkins University CSSE より引用","New Cases":"新規感染数","Total Cases":"総感染数","New Deaths":"新規死亡数","Total Deaths":"総死亡数","New Recovered":"新規回復数","Total Recovered":"総回復数",Tokyo:"東京","Loading Statistics":"読み込み中","No data":"データなし"},user:{"Sign in":"ログイン","Sign Out":"ログアウト","Sign in with WasedaMail":"早稲田メールでログイン","session expired warning":"セッションが切れました。お手数ですが、再ログインをお願い致します。","sign in description":"早稲田タイムの会員に加入することにより、授業にレビューを書くこと、及び異なる端末で同じ時間割を利用することが可能になります!","agreement on privacy policy 1":"会員に加入した時点で、早稲田タイムの","agreement on privacy policy 2":"及び","agreement on privacy policy 3":"に同意したものとみなします。","Privacy Policy":"プライバシーポリシー","Terms of Service":"利用規約","Keep using without sign in":"ログインせずに使用し続ける"}},Nl=()=>pe.jsx("svg",{viewBox:"0 0 50 50",width:"50px",height:"50px",children:pe.jsx("path",{d:"M 26 2 C 13.308594 2 3 12.308594 3 25 C 3 37.691406 13.308594 48 26 48 C 35.917969 48 41.972656 43.4375 45.125 37.78125 C 48.277344 32.125 48.675781 25.480469 47.71875 20.9375 L 47.53125 20.15625 L 46.75 20.15625 L 26 20.125 L 25 20.125 L 25 30.53125 L 36.4375 30.53125 C 34.710938 34.53125 31.195313 37.28125 26 37.28125 C 19.210938 37.28125 13.71875 31.789063 13.71875 25 C 13.71875 18.210938 19.210938 12.71875 26 12.71875 C 29.050781 12.71875 31.820313 13.847656 33.96875 15.6875 L 34.6875 16.28125 L 41.53125 9.4375 L 42.25 8.6875 L 41.5 8 C 37.414063 4.277344 31.960938 2 26 2 Z M 26 4 C 31.074219 4 35.652344 5.855469 39.28125 8.84375 L 34.46875 13.65625 C 32.089844 11.878906 29.199219 10.71875 26 10.71875 C 18.128906 10.71875 11.71875 17.128906 11.71875 25 C 11.71875 32.871094 18.128906 39.28125 26 39.28125 C 32.550781 39.28125 37.261719 35.265625 38.9375 29.8125 L 39.34375 28.53125 L 27 28.53125 L 27 22.125 L 45.84375 22.15625 C 46.507813 26.191406 46.066406 31.984375 43.375 36.8125 C 40.515625 41.9375 35.320313 46 26 46 C 14.386719 46 5 36.609375 5 25 C 5 13.390625 14.386719 4 26 4 Z"})});var ea={},Km={get exports(){return ea},set exports(e){ea=e}};(function(e,t){(function(r,i){e.exports=i(H)})(Tt,n=>(()=>{var r={"./node_modules/css-mediaquery/index.js":(a,u)=>{u.match=h,u.parse=p;var c=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,l=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,f=/^(?:(min|max)-)?(.+)/,d=/(em|rem|px|cm|mm|in|pt|pc)?$/,g=/(dpi|dpcm|dppx)?$/;function h(j,N){return p(j).some(function(I){var B=I.inverse,z=I.type==="all"||N.type===I.type;if(z&&B||!(z||B))return!1;var W=I.expressions.every(function($){var b=$.feature,k=$.modifier,R=$.value,x=N[b];if(!x)return!1;switch(b){case"orientation":case"scan":return x.toLowerCase()===R.toLowerCase();case"width":case"height":case"device-width":case"device-height":R=w(R),x=w(x);break;case"resolution":R=v(R),x=v(x);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":R=m(R),x=m(x);break;case"grid":case"color":case"color-index":case"monochrome":R=parseInt(R,10)||1,x=parseInt(x,10)||0;break}switch(k){case"min":return x>=R;case"max":return x<=R;default:return x===R}});return W&&!B||!W&&B})}function p(j){return j.split(",").map(function(N){N=N.trim();var I=N.match(c),B=I[1],z=I[2],W=I[3]||"",$={};return $.inverse=!!B&&B.toLowerCase()==="not",$.type=z?z.toLowerCase():"all",W=W.match(/\([^\)]+\)/g)||[],$.expressions=W.map(function(b){var k=b.match(l),R=k[1].toLowerCase().match(f);return{modifier:R[1],feature:R[2],value:k[2]}}),$})}function m(j){var N=Number(j),I;return N||(I=j.match(/^(\d+)\s*\/\s*(\d+)$/),N=I[1]/I[2]),N}function v(j){var N=parseFloat(j),I=String(j).match(g)[1];switch(I){case"dpcm":return N/2.54;case"dppx":return N*96;default:return N}}function w(j){var N=parseFloat(j),I=String(j).match(d)[1];switch(I){case"em":return N*16;case"rem":return N*16;case"cm":return N*96/2.54;case"mm":return N*96/2.54/10;case"in":return N*96;case"pt":return N*72;case"pc":return N*72/12;default:return N}}},"./node_modules/hyphenate-style-name/index.js":(a,u,c)=>{c.r(u),c.d(u,{default:()=>p});var l=/[A-Z]/g,f=/^ms-/,d={};function g(m){return"-"+m.toLowerCase()}function h(m){if(d.hasOwnProperty(m))return d[m];var v=m.replace(l,g);return d[m]=f.test(v)?"-"+v:v}const p=h},"./node_modules/matchmediaquery/index.js":(a,u,c)=>{var l=c("./node_modules/css-mediaquery/index.js").match,f=typeof window<"u"?window.matchMedia:null;function d(h,p,m){var v=this;if(f&&!m){var w=f.call(window,h);this.matches=w.matches,this.media=w.media,w.addListener(I)}else this.matches=l(h,p),this.media=h;this.addListener=j,this.removeListener=N,this.dispose=B;function j(z){w&&w.addListener(z)}function N(z){w&&w.removeListener(z)}function I(z){v.matches=z.matches,v.media=z.media}function B(){w&&w.removeListener(I)}}function g(h,p,m){return new d(h,p,m)}a.exports=g},"./node_modules/object-assign/index.js":a=>{/* +https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Jc,t.componentWillReceiveProps=Zc),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Xc;var a=t.componentDidUpdate;t.componentDidUpdate=function(c,l,f){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;a.call(this,c,l,d)}}return e}const qy=Qr(Object.freeze(Object.defineProperty({__proto__:null,polyfill:Hy},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.bodyOpenClassName=Ln.portalClassName=void 0;var el=Object.assign||function(e){for(var t=1;t{const e=G.useRef(!1),t=al.documentElement,{body:n}=al;return[()=>{if(!n||!n.style||e.current||document==null)return;const o=window.innerWidth-t.clientWidth,s=parseInt(window.getComputedStyle(n).getPropertyValue("padding-right"))||0;t.style.position="relative",t.style.overflow="hidden",n.style.position="relative",n.style.overflow="hidden",n.style.paddingRight=`${s+o}px`,e.current=!0},()=>{!n||!n.style||!e.current||(t.style.position="",t.style.overflow="",n.style.position="",n.style.overflow="",n.style.paddingRight="",e.current=!1)}]};sl.setAppElement("body");const am=({isOpen:e,children:t,closeTimeoutMS:n,style:r,overlayClassName:i,className:o,onRequestClose:s})=>{const[a,u]=ul();return e?a():u(),ge.jsx(sl,{isOpen:e,closeTimeoutMS:n,style:r,overlayClassName:i,className:o,onRequestClose:s||(()=>{}),shouldCloseOnOverlayClick:!0,children:t})},um={headerHeight:"67px",searchBarHeight:"32px",switchHeight:"32px"},cm={title:"36px",subtitle:"24px",content:"14px",small:"12px"};var Js=(e=>(e.EN="en",e.JA="ja",e))(Js||{});const lm=["desktop","tablet","phone","phoneMini"],fm=e=>lm.includes(e),dm=["light","dark"],hm=e=>dm.includes(e),cl={app:{courseChange:"Course change detected. If you added/deleted courses in another tab, please ",RefreshLink:"click here to refresh to see the changes"},common:{mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat",sun:"Sun"},welcome:{welcome:"Welcome to WasedaTime!",newFeature:"New feature",userLogin:"User login",writeReviews:"Write Reviews",timetableSync:"Timetable sync",loginExplain1:"Click on the ",loginExplain2:" icon to login.",useWasedaGmail1:"We only allow login with ",useWasedaGmail2:"","Waseda Gmail":"Waseda Gmail account",writeReviewsExplain1:"After login, you can write / edit / delete your reviews to any course, in any language!",writeReviewsExplain2:"(Will be automatically translated into English, Japanese, Chinese and Korean)",timetableSyncExplain:"Your timetable is synchronized across devices as you login!",timetableDisplayCredits:"Also, we made it to sum up and display credits of courses in your timetable!",returningUsers:"For returning users, your added courses are preserved.",next:"next",back:"back",done:"done","Meet our developers!":"Meet our developers!",Founder:"Founder",Frontendtranslation:"Frontend & translation",Frontend:"Frontend","May WasedaTime be with you":"May WasedaTime be with you","We also received help from":"We also received help from","these contributors":"these contributors",a:".",notice:"Notice","Schools not imported initially":"To keep the high performance of our app, syllabus of all schools are not imported initially.","Import schools request":"Please import the syllabus of schools you are interested when you first access the Syllabus page.",allSchoolsAdded:"All undergraduate & graduate schools are supported in Syllabus now!"},navigation:{timetable:"Timetable",syllabus:"Syllabus","course info":"Course",roomfinder:"Rooms",joinus:"Join Us",bus:"Bus",language:"Language",career:"Career","corona-info":"COVID19"},footer:{licensed:" Code Licensed ",syllabus:"Syllabus correct as at",update:""},about:{title:"WasedaTime",description:"Non-profit, student-run, open-source app aiming to support and improve the campus lives of Waseda University students."},timetable:{welcome:"Welcome to WasedaTime!","You haven't added any courses":"Hi! You haven't added any courses.","Go to":"Go to ",Syllabus:"Syllabus","and try adding one!":"and try adding one!",SaveSpace:"Period 6, 7 and Saturday are hidden by default to save space. They will appear once the corresponding course is selected.","Sort by":"Sort by",courses:"courses",credits:"credits","courses added":"courses added","Spring Semester":"Spring Semester","Fall Semester":"Fall Semester",undecided:"undecided"},syllabus:{"Spring Semester":"Spring Semester","Fall Semester":"Fall Semester","Added courses are displayed here":"Added courses are displayed here.","To add a course":"To add a course:","Search with keywords":"Search with keywords","With course or instructor's name":"With course or instructor's name","English & Japanese supported":"English & Japanese supported","Click on":"Click on","to add":"to add","To remove":"To remove: ","to remove suffix":"","Pro Tip!":"Pro Tip!",Use:"Use","Filter by":"Filter","Clear filter":"Clear filter","to narrow down your search":"to narrow down your search.",Semesters:"Semesters",Schools:"Schools",Languages:"Languages",Special:"Special",day:"Day",period:{1:"1st",2:"2nd",3:"3rd",4:"4th",5:"5th",6:"6th",7:"7th",Period:"Period"},minYear:"Eligible Year",credit:"Credit",eval:{title:"Evaluation",typeDefault:"Not selected",Exam:"Exams",Papers:"Papers","Class Participation":"Class Participation",Others:"Others","No exam":"No exam","No paper":"No paper","No class participation":"No class participation"},type:"Type",level:"Level","School Filter":{title:"School Filter","Choose Schools":"Choose your Schools","Remove Schools":"Remove Schools",Undergraduate:"Undergraduate",Graduate:"Graduate",Special:"Special","No imported":"No syllabus imported yet","Import request":"Please import the syllabus for at least 1 school.","Loaded schools limit message":"You can load the syllabus of up to 10 schools","Schools up to limit warning title":"You can only load the syllabus of up to 10 schools","Schools up to limit warning text":' To import more syllabus from other schools, please click the "Remove syllabus" button and remove at least 1 syllabus.'},displayedSpringSemester:"Spring Semester",displayedFallSemester:"Fall Semester",searchBarPlaceholder:"Search course, instructor in EN / JP","Spring / Summer":"Spring / Summer","Fall / Winter":"Fall / Winter",SILS:"SILS",PSE:"PSE",SSS:"SSS",FSE:"FSE",CSE:"CSE",ASE:"ASE",CMS:"CMS",HSS:"HSS",LAW:"LAW",EDU:"EDU",SOC:"SOC",HUM:"HUM",SPS:"SPS",CJL:"CJL",GEC:"GEC (Global)",CIE:"CIE",IPSE:"IPSE","EN-based Undergrad Program":"EN-based Undergrad Program","IPSE/EN-based Undergrad Program":"IPSE / EN-based Undergrad Program",semesterMap:{Spring:"Spring",Summer:"Summer",Fall:"Fall",Winter:"Winter",Semester:" Semester",Quarter:" Quarter",Intensive:" Intensive","Full-Year":"Full-Year",Term:" Term","/":" / ","&":" & ",undecided:"Undecided"},languageKeys:{0:"JP",1:"EN",2:"DE",3:"FR",4:"ZH",5:"ES",6:"KR",7:"RU",8:"IT",9:"Others","-1":"N/A"},languages:{0:"Japanese",1:"English",2:"German",3:"French",4:"Chinese",5:"Spanish",6:"Korean",7:"Russian",8:"Italian",9:"Others","-1":"N/A"},location:{undecided:"undecided"},"Added order":"Added order","Course title":"Course title","Course time":"Course time",langParam:"&pLng=en",Share:"Share","Share!":"Share!","Share popup message":"Does this course look good? Share with classmates!","Share text":"Wanna search for good courses? Try WasedaTime!"},courseInfo:{Details:{title:"Details","Min Year":"Eligible Year",Credit:"Credit",Category:"Category",Type:{title:"Type",Lecture:"Lecture",Seminar:"Seminar",Work:"Work","Foreign Language":"Foreign Language","On-demand":"On-demand",Thesis:"Thesis","Graduate Research":"Graduate Research",Practice:"Practice",Blended:"Blended"},Level:{title:"Level",Beginner:"Beginner",Intermediate:"Intermediate",Advanced:"Advanced","Final-stage":"Final-stage",Master:"Master",Doctor:"Doctor"},Evaluation:{title:"Evaluation",Exam:"Exams",Papers:"Papers","Class Participation":"Class Participation",Others:"Others"}},Reviews:"Reviews",Review:"Review","Write your Review":"Write your Review",Scales:"Scales",Satisfaction:"Satisfaction",Difficulty:"Easiness",Benefit:"Benefit","Related courses":"Related courses",Disclaimer:"The reviews do not represent the official position or opinion of WasedaTime.","Thank WTSA 1":"We appreciate",WTSA:"Waseda Taiwanese Student Association (WTSA)","Thank WTSA 2":"'s help for providing the reviews!","Related courses explanation":"Top 10 courses having the same course code and similar title","Add review to this course":"Your new review","Review placeholder":"Please share your experiences, feelings, and even advices about the course!",Submit:"Submit",Close:"Close","Review sent":"Review sent","Review updated":"Review updated","Review deleted":"Review deleted","Review failed to send":"Review failed to send","Fill in all fields before sending":"Please fill in all fields before sending your review","delete review confirmation":"Are you sure to delete the review?","delete review yes":"Yes, I'm sure","delete review no":"No"},room:{"Under Construction":"Under Construction","Want to help?":"Wanna build an amazing app with us?","Check out our":"Check out our",facebook:" Facebook ",twitter:"Twitter",or:" or ","!":"!","We sincerely welcome any contributors!":"We sincerely welcome any contributors!"},bus:{busStatus:"Bus Status",Waseda:"Waseda",NishiWaseda:"NishiWaseda","Add to home screen":"Add to home screen","and never miss a bus again!":"and never miss a bus again!","Official Link":"Official Link","The Latest Waseda-NishiWaseda Bus Schedule":"The Latest Waseda-NishiWaseda Bus Schedule","Departs in":"Departs in",mins:"mins","Out of service":"Out of service","Special Schedule":"Special Schedule","Tap on the top-right icon":"Tap on the top-right icon","and select Add to Home screen":"and select 'Add to Home screen'","Tap on the bottom-middle icon":"Tap on the bottom-middle icon","Assign a date / time to check the next bus":"Assign a date / time to check the next bus"},updates:{header:"Updates on the issue with the 2020 syllabus",main:"Hi! Thanks for clicking in.",main2:"We apologize that the 2020 syllabus is not supported yet. Due to a updated policy from Waseda University, we are not able to obtain the 2020 syllabus data at this moment.",main3:"We are actively negotiating with the university and will provide any updates as soon as possible. We have received many inquiries and are very sorry for not being able to respond in time.",main4:"Thank you so much again, and we will do our best to ensure that the mission of WasedaTime continues.",main5:"Please stay safe and healthy!"},career:{Intern:"Intern",Articles:"Articles",viewMore:"View More",Entry:"Entry"},coronaInfo:{title:"COVID-19 Statistics",attribution:"Data fetched from Johns Hopkins University CSSE","New Cases":"New Cases","Total Cases":"Total Cases","New Deaths":"New Deaths","Total Deaths":"Total Deaths","New Recovered":"New Recovered","Total Recovered":"Total Recovered",Tokyo:"Tokyo","Loading Statistics":"Loading Statistics","No data":"No data"},user:{"Sign in":"Sign in","Sign Out":"Sign Out","Sign in with WasedaMail":"Sign in with WasedaMail","session expired warning":"Your session is expired. Please sign in again.","sign in description":"Write your comment on a course and view your timetable on different devices by joining WasedaTime!","agreement on privacy policy 1":"By continuing, you agree to WasedaTime’s ","agreement on privacy policy 2":" and ","agreement on privacy policy 3":".","Privacy Policy":"Privacy Policy","Terms of Service":"Terms of Service","Keep using without sign in":"Keep using without sign in"}},ll={app:{courseChange:"科目の変更が検出されました。別のタブで科目を登録/取り消した場合は、変更を反映するために",RefreshLink:"こちらにクリックして再読み込みしてください"},common:{mon:"月",tue:"火",wed:"水",thu:"木",fri:"金",sat:"土",sun:"日"},welcome:{welcome:"WasedaTime へようこそ!",newFeature:"新機能",userLogin:"ユーザーログイン",writeReviews:"授業レビュー作成",timetableSync:"時間割の保存",loginExplain1:"",loginExplain2:"アイコンを押すとログインできます!",useWasedaGmail1:"",useWasedaGmail2:"でのログインのみ承認します。","Waseda Gmail":"早稲田Gメールアカウント",writeReviewsExplain1:"ログインすると、あらゆる言語で授業レビューを作成・編集・削除することができます!",writeReviewsExplain2:"(英語、日本語、中国語、韓国語に自動翻訳されます。)",timetableSyncExplain:"ログインすると、複数のデバイスで時間割が同期されます!",timetableDisplayCredits:"なお、時間割に追加された授業の単位合計も表示されるようになりました!",returningUsers:"以前からご利用頂いている場合、既に登録した科目は保持されています。",next:"次へ",back:"前へ",done:"完了","Meet our developers!":"開発者たち",Founder:"創設者",Frontendtranslation:"フロントエンド & 翻訳",Frontend:"フロントエンド","May WasedaTime be with you":"WasedaTimeと共にあらんことを","We also received help from":"それ以外の","these contributors":"貢献者たち",a:"",notice:"お知らせ","Schools not imported initially":"アプリのパフォーマンスを維持するため、全学部のシラバスは先に入れておいてありません。","Import schools request":"お手数ですが、シラバス画面に最初に入る際、好きな学部のシラバスを選択してインポートしてください。",allSchoolsAdded:"全学部・研究科のシラバス検索ができるようになりました!"},navigation:{timetable:"時間割",syllabus:"シラバス","course info":"授業詳細",roomfinder:"空き教室",joinus:"募集中!",bus:"バス",language:"言語",career:"キャリア","corona-info":"コロナ"},footer:{licensed:" ソースコードライセンス ",syllabus:"シラバスは",update:"に更新されました"},about:{title:"早稲田タイム",description:"早稲田大学の学生のキャンパスライフを支え、向上させることを目的とした非営利・学生運営・オープンソースのアプリ"},timetable:{welcome:"WasedaTime へようこそ!","You haven't added any courses":"授業がありません。","Go to":"",Syllabus:"シラバス","and try adding one!":"から授業の登録ができます。",SaveSpace:"6、7限および土曜日対応する授業を登録すると表示されます。","Sort by":"並べ替え",courses:"コマ",credits:"単位","courses added":"個の授業が登録済","Spring Semester":"春学期","Fall Semester":"秋学期",undecided:"未定"},syllabus:{"Spring Semester":"春学期","Fall Semester":"秋学期","Added courses are displayed here":"登録された授業はここに表示されます。","To add a course":"授業を登録する:","Search with keywords":"キーワード検索","With course or instructor's name":"授業名もしくは教師名で検索","English & Japanese supported":"英語/日本語対応","Click on":"","to add":"を押すと登録される","To remove":"授業を削除:","to remove suffix":"をクリック","Pro Tip!":"おすすめ!",Use:"","Filter by":"フィルター","Clear filter":"リセット","to narrow down your search":"を利用して検索を絞り込んでください",Semesters:"学期",Schools:"学部",Languages:"言語",Special:"ほか",day:"曜日",period:{1:"1限",2:"2限",3:"3限",4:"4限",5:"5限",6:"6限",7:"7限",Period:"時限"},minYear:"配当年次",credit:"単位",eval:{title:"成績評価",typeDefault:"未選択",Exam:"試験",Papers:"レポート","Class Participation":"平常点評価",Others:"その他","No exam":"試験なし","No paper":"レポートなし","No class participation":"平常点評価なし"},type:"授業形態",level:"レベル","School Filter":{title:"学部/研究科フィルター","Choose Schools":"学部を選択","Remove Schools":"学部を削除",Undergraduate:"学部",Graduate:"大学院",Special:"ほか","No imported":"シラバスがインポートされていません","Import request":"学部/研究科一つ以上のシラバスをインポートしてください。","Loaded schools limit message":"10学部/研究科までのシラバスをインポートできる","Schools up to limit warning title":"シラバスのインポートは10学部/研究科まで","Schools up to limit warning text":" 他の学部のシラバスを入手するには、まず「シラバスを削除」ボタンを押し、学部1つ以上を選択して削除してください。"},displayedSpringSemester:"春学期",displayedFallSemester:"秋学期",searchBarPlaceholder:"科目、教師を日本語・英語で検索","Spring / Summer":"春 / 夏","Fall / Winter":"秋 / 冬",SILS:"国教",PSE:"政経",SSS:"社学",FSE:"基幹",CSE:"創造",ASE:"先進",CMS:"文構",HSS:"文学",LAW:"法学",EDU:"教育",SOC:"商学",HUM:"人科",SPS:"スポ科",CJL:"日本語教育",GEC:"グローバル",CIE:"CIE",IPSE:"理工国際プログラム","EN-based Undergrad Program":"英語による学位取得","IPSE/EN-based Undergrad Program":"理工国際プログラム / 英語による学位取得",semesterMap:{Spring:"春",Summer:"夏",Fall:"秋",Winter:"冬",Semester:"学期",Quarter:"クオーター",Intensive:"集中","Full-Year":"通年",Term:"期","/":" / ","&":" & ",undecided:"未定"},languageCodes:{0:"日",1:"英",2:"独",3:"仏",4:"中",5:"西",6:"韓",7:"露",8:"伊",9:"Others","-1":"N/A"},languages:{0:"日本語",1:"英語",2:"ドイツ語",3:"フランス語",4:"中国語",5:"スペイン語",6:"韓国語",7:"ロシア語",8:"イタリア語",9:"ほか","-1":"N/A"},location:{undecided:"未定"},"Added order":"追加時間","Course title":"科目名","Course time":"科目時間",langParam:"",Share:"シェア","Share!":"シェア!","Share popup message":"良い授業を発見した?クラスメイトにシェアしよう!","Share text":"良い授業、なかなか見つからない?早稲田タイムで検索しましょう!"},courseInfo:{Details:{title:"詳細","Min Year":"配当年次",Credit:"単位",Category:"科目区分",Type:{title:"授業形態",Lecture:"講義",Seminar:"演習/ゼミ",Work:"実習/実験/実技","Foreign Language":"外国語","On-demand":"オンデマンド",Thesis:"論文","Graduate Research":"研究指導",Practice:"実践/フィールドワーク/インターンシップ/ボランティア",Blended:"対面/オンデマンド"},Level:{title:"レベル",Beginner:"初級レベル(入門・導入)",Intermediate:"中級レベル(発展・応用)",Advanced:"上級レベル","Final-stage":"総仕上げ",Master:"修士レベル",Doctor:"博士レベル"},Evaluation:{title:"成績評価",Exam:"試験",Papers:"レポート","Class Participation":"平常点評価",Others:"その他"}},Reviews:"レビュー",Review:"レビュー","Write your Review":"レビュー新規作成",Scales:"レベル",Satisfaction:"満足度",Difficulty:"容易さ",Benefit:"有益さ","Related courses":"関連科目",Disclaimer:"レビューの内容はWasedaTimeの立場、意見を代表するものではありません","Thank WTSA 1":"",WTSA:"早稲田大学台湾留学生会(WTSA)","Thank WTSA 2":"の評価のご提供に感謝を申し上げます。","Related courses explanation":"同じコード及び似たタイトルを持つ授業の中の前10位","Add review to this course":"レビュー投稿","Review placeholder":"この授業についての経験や感想を共有しましょう!アドバイスまでいただけたら嬉しい!","Agree to share":"WTSAに評価をシェアすることを同意します",Submit:"提出する",Close:"閉じる","Review sent":"レビューが提出されました","Review updated":"レビューが更新されました","Review deleted":"レビューが削除されました","Review failed to send":"評価の提出が失敗しました","Fill in all fields before sending":"提出する前にすべてのフィールドに記入してください","delete review confirmation":"レビューを削除してよろしいですか?","delete review yes":"はい、削除します","delete review no":"いいえ"},room:{"Under Construction":"作成中","Want to help?":"一緒に楽しく開発しませんか?","Check out our":"興味のある方は ",facebook:" Facebook ",twitter:" Twitter ",or:"または","!":"から!","We sincerely welcome any contributors!":""},bus:{busStatus:"バス運行情報",Waseda:"早稲田",NishiWaseda:"西早稲田","Add to home screen":"ホーム画面に追加して","and never miss a bus again!":"、バスの情報をいつでもチェック!","Official Link":"公式リンク","The Latest Waseda-NishiWaseda Bus Schedule":"早稲田ー西早稲田バスの最新スケジュール","Departs in":"あと",mins:"分","Out of service":"利用時間外","Special Schedule":"特別なスケジュール","Tap on the top-right icon":"右上のアイコン","and select Add to Home screen":"をクリックして、'ホーム画面に追加' を選択する","Tap on the bottom-middle icon":"底部中央のアイコン","Assign a date / time to check the next bus":"日時を指定し、次のバスを検索しましょう"},updates:{header:"2020のシラバスについて",main:"こんにちは!クリックしていただきありがとうございます。",main2:"申し訳ありませんが、2020年のシラバスはまだサポートされていません。早稲田大学のポリシーが更新されたため、現時点では2020のシラバスデータを取得できません。",main3:"私たちは積極的に大学と相談しており、新しい情報をできるだけ早く提供します。多くのお問い合わせをいただきましたが、時間内にご返答できず大変申し訳ございません。",main4:"改めて、あなたに感謝申し上げます。早稲田タイムの使命が継続するように最善を尽くします。",main5:"どうぞ、安全と健康にお気をつけくださいませ。"},career:{Intern:"インターン",Articles:"記事",viewMore:"インターン内容をもっと見る",Entry:"エントリー"},coronaInfo:{title:"新型コロナウイルス感染症情報",attribution:"Johns Hopkins University CSSE より引用","New Cases":"新規感染数","Total Cases":"総感染数","New Deaths":"新規死亡数","Total Deaths":"総死亡数","New Recovered":"新規回復数","Total Recovered":"総回復数",Tokyo:"東京","Loading Statistics":"読み込み中","No data":"データなし"},user:{"Sign in":"ログイン","Sign Out":"ログアウト","Sign in with WasedaMail":"早稲田メールでログイン","session expired warning":"セッションが切れました。お手数ですが、再ログインをお願い致します。","sign in description":"早稲田タイムの会員に加入することにより、授業にレビューを書くこと、及び異なる端末で同じ時間割を利用することが可能になります!","agreement on privacy policy 1":"会員に加入した時点で、早稲田タイムの","agreement on privacy policy 2":"及び","agreement on privacy policy 3":"に同意したものとみなします。","Privacy Policy":"プライバシーポリシー","Terms of Service":"利用規約","Keep using without sign in":"ログインせずに使用し続ける"}},fl=()=>ge.jsx("svg",{viewBox:"0 0 50 50",width:"50px",height:"50px",color:"white",children:ge.jsx("path",{d:"M 26 2 C 13.308594 2 3 12.308594 3 25 C 3 37.691406 13.308594 48 26 48 C 35.917969 48 41.972656 43.4375 45.125 37.78125 C 48.277344 32.125 48.675781 25.480469 47.71875 20.9375 L 47.53125 20.15625 L 46.75 20.15625 L 26 20.125 L 25 20.125 L 25 30.53125 L 36.4375 30.53125 C 34.710938 34.53125 31.195313 37.28125 26 37.28125 C 19.210938 37.28125 13.71875 31.789063 13.71875 25 C 13.71875 18.210938 19.210938 12.71875 26 12.71875 C 29.050781 12.71875 31.820313 13.847656 33.96875 15.6875 L 34.6875 16.28125 L 41.53125 9.4375 L 42.25 8.6875 L 41.5 8 C 37.414063 4.277344 31.960938 2 26 2 Z M 26 4 C 31.074219 4 35.652344 5.855469 39.28125 8.84375 L 34.46875 13.65625 C 32.089844 11.878906 29.199219 10.71875 26 10.71875 C 18.128906 10.71875 11.71875 17.128906 11.71875 25 C 11.71875 32.871094 18.128906 39.28125 26 39.28125 C 32.550781 39.28125 37.261719 35.265625 38.9375 29.8125 L 39.34375 28.53125 L 27 28.53125 L 27 22.125 L 45.84375 22.15625 C 46.507813 26.191406 46.066406 31.984375 43.375 36.8125 C 40.515625 41.9375 35.320313 46 26 46 C 14.386719 46 5 36.609375 5 25 C 5 13.390625 14.386719 4 26 4 Z"})}),dl=()=>ge.jsxs("svg",{viewBox:"0 0 30 30",width:"30px",height:"30px",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[ge.jsx("line",{x1:"24",y1:"6",x2:"6",y2:"24"})," ",ge.jsx("line",{x1:"6",y1:"6",x2:"24",y2:"24"})]});var Zs={},gm={get exports(){return Zs},set exports(e){Zs=e}};(function(e,t){(function(r,i){e.exports=i(G)})(Nt,n=>(()=>{var r={"./node_modules/css-mediaquery/index.js":(a,u)=>{u.match=h,u.parse=p;var c=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,l=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,f=/^(?:(min|max)-)?(.+)/,d=/(em|rem|px|cm|mm|in|pt|pc)?$/,g=/(dpi|dpcm|dppx)?$/;function h(j,I){return p(j).some(function(T){var B=T.inverse,z=T.type==="all"||I.type===T.type;if(z&&B||!(z||B))return!1;var H=T.expressions.every(function(W){var b=W.feature,k=W.modifier,R=W.value,x=I[b];if(!x)return!1;switch(b){case"orientation":case"scan":return x.toLowerCase()===R.toLowerCase();case"width":case"height":case"device-width":case"device-height":R=w(R),x=w(x);break;case"resolution":R=v(R),x=v(x);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":R=m(R),x=m(x);break;case"grid":case"color":case"color-index":case"monochrome":R=parseInt(R,10)||1,x=parseInt(x,10)||0;break}switch(k){case"min":return x>=R;case"max":return x<=R;default:return x===R}});return H&&!B||!H&&B})}function p(j){return j.split(",").map(function(I){I=I.trim();var T=I.match(c),B=T[1],z=T[2],H=T[3]||"",W={};return W.inverse=!!B&&B.toLowerCase()==="not",W.type=z?z.toLowerCase():"all",H=H.match(/\([^\)]+\)/g)||[],W.expressions=H.map(function(b){var k=b.match(l),R=k[1].toLowerCase().match(f);return{modifier:R[1],feature:R[2],value:k[2]}}),W})}function m(j){var I=Number(j),T;return I||(T=j.match(/^(\d+)\s*\/\s*(\d+)$/),I=T[1]/T[2]),I}function v(j){var I=parseFloat(j),T=String(j).match(g)[1];switch(T){case"dpcm":return I/2.54;case"dppx":return I*96;default:return I}}function w(j){var I=parseFloat(j),T=String(j).match(d)[1];switch(T){case"em":return I*16;case"rem":return I*16;case"cm":return I*96/2.54;case"mm":return I*96/2.54/10;case"in":return I*96;case"pt":return I*72;case"pc":return I*72/12;default:return I}}},"./node_modules/hyphenate-style-name/index.js":(a,u,c)=>{c.r(u),c.d(u,{default:()=>p});var l=/[A-Z]/g,f=/^ms-/,d={};function g(m){return"-"+m.toLowerCase()}function h(m){if(d.hasOwnProperty(m))return d[m];var v=m.replace(l,g);return d[m]=f.test(v)?"-"+v:v}const p=h},"./node_modules/matchmediaquery/index.js":(a,u,c)=>{var l=c("./node_modules/css-mediaquery/index.js").match,f=typeof window<"u"?window.matchMedia:null;function d(h,p,m){var v=this;if(f&&!m){var w=f.call(window,h);this.matches=w.matches,this.media=w.media,w.addListener(T)}else this.matches=l(h,p),this.media=h;this.addListener=j,this.removeListener=I,this.dispose=B;function j(z){w&&w.addListener(z)}function I(z){w&&w.removeListener(z)}function T(z){v.matches=z.matches,v.media=z.media}function B(){w&&w.removeListener(T)}}function g(h,p,m){return new d(h,p,m)}a.exports=g},"./node_modules/object-assign/index.js":a=>{/* object-assign (c) Sindre Sorhus @license MIT -*/var u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function f(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function d(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var h={},p=0;p<10;p++)h["_"+String.fromCharCode(p)]=p;var m=Object.getOwnPropertyNames(h).map(function(w){return h[w]});if(m.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(w){v[w]=w}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}a.exports=d()?Object.assign:function(g,h){for(var p,m=f(g),v,w=1;w{var l=function(){};{var f=c("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),d={},g=c("./node_modules/prop-types/lib/has.js");l=function(p){var m="Warning: "+p;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}}}function h(p,m,v,w,j){for(var N in p)if(g(p,N)){var I;try{if(typeof p[N]!="function"){var B=Error((w||"React class")+": "+v+" type `"+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[N]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw B.name="Invariant Violation",B}I=p[N](m,N,w,v,null,f)}catch(W){I=W}if(I&&!(I instanceof Error)&&l((w||"React class")+": type specification of "+v+" `"+N+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof I+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),I instanceof Error&&!(I.message in d)){d[I.message]=!0;var z=j?j():"";l("Failed "+v+" type: "+I.message+(z??""))}}}h.resetWarningCache=function(){d={}},a.exports=h},"./node_modules/prop-types/factoryWithTypeCheckers.js":(a,u,c)=>{var l=c("./node_modules/react-is/index.js"),f=c("./node_modules/object-assign/index.js"),d=c("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),g=c("./node_modules/prop-types/lib/has.js"),h=c("./node_modules/prop-types/checkPropTypes.js"),p=function(){};p=function(v){var w="Warning: "+v;typeof console<"u"&&console.error(w);try{throw new Error(w)}catch{}};function m(){return null}a.exports=function(v,w){var j=typeof Symbol=="function"&&Symbol.iterator,N="@@iterator";function I(q){var Q=q&&(j&&q[j]||q[N]);if(typeof Q=="function")return Q}var B="<>",z={array:k("array"),bigint:k("bigint"),bool:k("boolean"),func:k("function"),number:k("number"),object:k("object"),string:k("string"),symbol:k("symbol"),any:R(),arrayOf:x,element:T(),elementType:S(),instanceOf:U,node:L(),objectOf:Z,oneOf:C,oneOfType:oe,shape:P,exact:K};function W(q,Q){return q===Q?q!==0||1/q===1/Q:q!==q&&Q!==Q}function $(q,Q){this.message=q,this.data=Q&&typeof Q=="object"?Q:{},this.stack=""}$.prototype=Error.prototype;function b(q){var Q={},V=0;function de(fe,ye,he,A,y,M,E){if(A=A||B,M=M||he,E!==d){if(w){var Y=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 Y.name="Invariant Violation",Y}else if(typeof console<"u"){var te=A+":"+he;!Q[te]&&V<3&&(p("You are manually calling a React.PropTypes validation function for the `"+M+"` prop on `"+A+"`. 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."),Q[te]=!0,V++)}}return ye[he]==null?fe?ye[he]===null?new $("The "+y+" `"+M+"` is marked as required "+("in `"+A+"`, but its value is `null`.")):new $("The "+y+" `"+M+"` is marked as required in "+("`"+A+"`, but its value is `undefined`.")):null:q(ye,he,A,y,M)}var ne=de.bind(null,!1);return ne.isRequired=de.bind(null,!0),ne}function k(q){function Q(V,de,ne,fe,ye,he){var A=V[de],y=O(A);if(y!==q){var M=ie(A);return new $("Invalid "+fe+" `"+ye+"` of type "+("`"+M+"` supplied to `"+ne+"`, expected ")+("`"+q+"`."),{expectedType:q})}return null}return b(Q)}function R(){return b(m)}function x(q){function Q(V,de,ne,fe,ye){if(typeof q!="function")return new $("Property `"+ye+"` of component `"+ne+"` has invalid PropType notation inside arrayOf.");var he=V[de];if(!Array.isArray(he)){var A=O(he);return new $("Invalid "+fe+" `"+ye+"` of type "+("`"+A+"` supplied to `"+ne+"`, expected an array."))}for(var y=0;y1?p("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])."):p("Invalid argument supplied to oneOf, expected an array."),m;function Q(V,de,ne,fe,ye){for(var he=V[de],A=0;A0?", expected one of type ["+y.join(", ")+"]":"";return new $("Invalid "+he+" `"+A+"` supplied to "+("`"+ye+"`"+te+"."))}return b(de)}function L(){function q(Q,V,de,ne,fe){return G(Q[V])?null:new $("Invalid "+ne+" `"+fe+"` supplied to "+("`"+de+"`, expected a ReactNode."))}return b(q)}function F(q,Q,V,de,ne){return new $((q||"React class")+": "+Q+" type `"+V+"."+de+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ne+"`.")}function P(q){function Q(V,de,ne,fe,ye){var he=V[de],A=O(he);if(A!=="object")return new $("Invalid "+fe+" `"+ye+"` of type `"+A+"` "+("supplied to `"+ne+"`, expected `object`."));for(var y in q){var M=q[y];if(typeof M!="function")return F(ne,fe,ye,y,ie(M));var E=M(he,y,ne,fe,ye+"."+y,d);if(E)return E}return null}return b(Q)}function K(q){function Q(V,de,ne,fe,ye){var he=V[de],A=O(he);if(A!=="object")return new $("Invalid "+fe+" `"+ye+"` of type `"+A+"` "+("supplied to `"+ne+"`, expected `object`."));var y=f({},V[de],q);for(var M in y){var E=q[M];if(g(q,M)&&typeof E!="function")return F(ne,fe,ye,M,ie(E));if(!E)return new $("Invalid "+fe+" `"+ye+"` key `"+M+"` supplied to `"+ne+"`.\nBad object: "+JSON.stringify(V[de],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(q),null," "));var Y=E(he,M,ne,fe,ye+"."+M,d);if(Y)return Y}return null}return b(Q)}function G(q){switch(typeof q){case"number":case"string":case"undefined":return!0;case"boolean":return!q;case"object":if(Array.isArray(q))return q.every(G);if(q===null||v(q))return!0;var Q=I(q);if(Q){var V=Q.call(q),de;if(Q!==q.entries){for(;!(de=V.next()).done;)if(!G(de.value))return!1}else for(;!(de=V.next()).done;){var ne=de.value;if(ne&&!G(ne[1]))return!1}}else return!1;return!0;default:return!1}}function ee(q,Q){return q==="symbol"?!0:Q?Q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Q instanceof Symbol:!1}function O(q){var Q=typeof q;return Array.isArray(q)?"array":q instanceof RegExp?"object":ee(Q,q)?"symbol":Q}function ie(q){if(typeof q>"u"||q===null)return""+q;var Q=O(q);if(Q==="object"){if(q instanceof Date)return"date";if(q instanceof RegExp)return"regexp"}return Q}function J(q){var Q=ie(q);switch(Q){case"array":case"object":return"an "+Q;case"boolean":case"date":case"regexp":return"a "+Q;default:return Q}}function ge(q){return!q.constructor||!q.constructor.name?B:q.constructor.name}return z.checkPropTypes=h,z.resetWarningCache=h.resetWarningCache,z.PropTypes=z,z}},"./node_modules/prop-types/index.js":(a,u,c)=>{{var l=c("./node_modules/react-is/index.js"),f=!0;a.exports=c("./node_modules/prop-types/factoryWithTypeCheckers.js")(l.isElement,f)}},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":a=>{var u="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";a.exports=u},"./node_modules/prop-types/lib/has.js":a=>{a.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":(a,u)=>{/** @license React v16.13.1 +*/var u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function f(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function d(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var h={},p=0;p<10;p++)h["_"+String.fromCharCode(p)]=p;var m=Object.getOwnPropertyNames(h).map(function(w){return h[w]});if(m.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(w){v[w]=w}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}a.exports=d()?Object.assign:function(g,h){for(var p,m=f(g),v,w=1;w{var l=function(){};{var f=c("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),d={},g=c("./node_modules/prop-types/lib/has.js");l=function(p){var m="Warning: "+p;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}}}function h(p,m,v,w,j){for(var I in p)if(g(p,I)){var T;try{if(typeof p[I]!="function"){var B=Error((w||"React class")+": "+v+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw B.name="Invariant Violation",B}T=p[I](m,I,w,v,null,f)}catch(H){T=H}if(T&&!(T instanceof Error)&&l((w||"React class")+": type specification of "+v+" `"+I+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof T+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),T instanceof Error&&!(T.message in d)){d[T.message]=!0;var z=j?j():"";l("Failed "+v+" type: "+T.message+(z??""))}}}h.resetWarningCache=function(){d={}},a.exports=h},"./node_modules/prop-types/factoryWithTypeCheckers.js":(a,u,c)=>{var l=c("./node_modules/react-is/index.js"),f=c("./node_modules/object-assign/index.js"),d=c("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),g=c("./node_modules/prop-types/lib/has.js"),h=c("./node_modules/prop-types/checkPropTypes.js"),p=function(){};p=function(v){var w="Warning: "+v;typeof console<"u"&&console.error(w);try{throw new Error(w)}catch{}};function m(){return null}a.exports=function(v,w){var j=typeof Symbol=="function"&&Symbol.iterator,I="@@iterator";function T(V){var Q=V&&(j&&V[j]||V[I]);if(typeof Q=="function")return Q}var B="<>",z={array:k("array"),bigint:k("bigint"),bool:k("boolean"),func:k("function"),number:k("number"),object:k("object"),string:k("string"),symbol:k("symbol"),any:R(),arrayOf:x,element:N(),elementType:S(),instanceOf:U,node:L(),objectOf:Z,oneOf:C,oneOfType:ie,shape:P,exact:q};function H(V,Q){return V===Q?V!==0||1/V===1/Q:V!==V&&Q!==Q}function W(V,Q){this.message=V,this.data=Q&&typeof Q=="object"?Q:{},this.stack=""}W.prototype=Error.prototype;function b(V){var Q={},$=0;function de(fe,Me,he,E,y,M,A){if(E=E||B,M=M||he,A!==d){if(w){var Y=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 Y.name="Invariant Violation",Y}else if(typeof console<"u"){var te=E+":"+he;!Q[te]&&$<3&&(p("You are manually calling a React.PropTypes validation function for the `"+M+"` prop on `"+E+"`. 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."),Q[te]=!0,$++)}}return Me[he]==null?fe?Me[he]===null?new W("The "+y+" `"+M+"` is marked as required "+("in `"+E+"`, but its value is `null`.")):new W("The "+y+" `"+M+"` is marked as required in "+("`"+E+"`, but its value is `undefined`.")):null:V(Me,he,E,y,M)}var ne=de.bind(null,!1);return ne.isRequired=de.bind(null,!0),ne}function k(V){function Q($,de,ne,fe,Me,he){var E=$[de],y=O(E);if(y!==V){var M=re(E);return new W("Invalid "+fe+" `"+Me+"` of type "+("`"+M+"` supplied to `"+ne+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return b(Q)}function R(){return b(m)}function x(V){function Q($,de,ne,fe,Me){if(typeof V!="function")return new W("Property `"+Me+"` of component `"+ne+"` has invalid PropType notation inside arrayOf.");var he=$[de];if(!Array.isArray(he)){var E=O(he);return new W("Invalid "+fe+" `"+Me+"` of type "+("`"+E+"` supplied to `"+ne+"`, expected an array."))}for(var y=0;y1?p("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])."):p("Invalid argument supplied to oneOf, expected an array."),m;function Q($,de,ne,fe,Me){for(var he=$[de],E=0;E0?", expected one of type ["+y.join(", ")+"]":"";return new W("Invalid "+he+" `"+E+"` supplied to "+("`"+Me+"`"+te+"."))}return b(de)}function L(){function V(Q,$,de,ne,fe){return K(Q[$])?null:new W("Invalid "+ne+" `"+fe+"` supplied to "+("`"+de+"`, expected a ReactNode."))}return b(V)}function F(V,Q,$,de,ne){return new W((V||"React class")+": "+Q+" type `"+$+"."+de+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ne+"`.")}function P(V){function Q($,de,ne,fe,Me){var he=$[de],E=O(he);if(E!=="object")return new W("Invalid "+fe+" `"+Me+"` of type `"+E+"` "+("supplied to `"+ne+"`, expected `object`."));for(var y in V){var M=V[y];if(typeof M!="function")return F(ne,fe,Me,y,re(M));var A=M(he,y,ne,fe,Me+"."+y,d);if(A)return A}return null}return b(Q)}function q(V){function Q($,de,ne,fe,Me){var he=$[de],E=O(he);if(E!=="object")return new W("Invalid "+fe+" `"+Me+"` of type `"+E+"` "+("supplied to `"+ne+"`, expected `object`."));var y=f({},$[de],V);for(var M in y){var A=V[M];if(g(V,M)&&typeof A!="function")return F(ne,fe,Me,M,re(A));if(!A)return new W("Invalid "+fe+" `"+Me+"` key `"+M+"` supplied to `"+ne+"`.\nBad object: "+JSON.stringify($[de],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(V),null," "));var Y=A(he,M,ne,fe,Me+"."+M,d);if(Y)return Y}return null}return b(Q)}function K(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(K);if(V===null||v(V))return!0;var Q=T(V);if(Q){var $=Q.call(V),de;if(Q!==V.entries){for(;!(de=$.next()).done;)if(!K(de.value))return!1}else for(;!(de=$.next()).done;){var ne=de.value;if(ne&&!K(ne[1]))return!1}}else return!1;return!0;default:return!1}}function ee(V,Q){return V==="symbol"?!0:Q?Q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Q instanceof Symbol:!1}function O(V){var Q=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":ee(Q,V)?"symbol":Q}function re(V){if(typeof V>"u"||V===null)return""+V;var Q=O(V);if(Q==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return Q}function J(V){var Q=re(V);switch(Q){case"array":case"object":return"an "+Q;case"boolean":case"date":case"regexp":return"a "+Q;default:return Q}}function pe(V){return!V.constructor||!V.constructor.name?B:V.constructor.name}return z.checkPropTypes=h,z.resetWarningCache=h.resetWarningCache,z.PropTypes=z,z}},"./node_modules/prop-types/index.js":(a,u,c)=>{{var l=c("./node_modules/react-is/index.js"),f=!0;a.exports=c("./node_modules/prop-types/factoryWithTypeCheckers.js")(l.isElement,f)}},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":a=>{var u="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";a.exports=u},"./node_modules/prop-types/lib/has.js":a=>{a.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":(a,u)=>{/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(){var c=typeof Symbol=="function"&&Symbol.for,l=c?Symbol.for("react.element"):60103,f=c?Symbol.for("react.portal"):60106,d=c?Symbol.for("react.fragment"):60107,g=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.profiler"):60114,p=c?Symbol.for("react.provider"):60109,m=c?Symbol.for("react.context"):60110,v=c?Symbol.for("react.async_mode"):60111,w=c?Symbol.for("react.concurrent_mode"):60111,j=c?Symbol.for("react.forward_ref"):60112,N=c?Symbol.for("react.suspense"):60113,I=c?Symbol.for("react.suspense_list"):60120,B=c?Symbol.for("react.memo"):60115,z=c?Symbol.for("react.lazy"):60116,W=c?Symbol.for("react.block"):60121,$=c?Symbol.for("react.fundamental"):60117,b=c?Symbol.for("react.responder"):60118,k=c?Symbol.for("react.scope"):60119;function R(E){return typeof E=="string"||typeof E=="function"||E===d||E===w||E===h||E===g||E===N||E===I||typeof E=="object"&&E!==null&&(E.$$typeof===z||E.$$typeof===B||E.$$typeof===p||E.$$typeof===m||E.$$typeof===j||E.$$typeof===$||E.$$typeof===b||E.$$typeof===k||E.$$typeof===W)}function x(E){if(typeof E=="object"&&E!==null){var Y=E.$$typeof;switch(Y){case l:var te=E.type;switch(te){case v:case w:case d:case h:case g:case N:return te;default:var X=te&&te.$$typeof;switch(X){case m:case j:case z:case B:case p:return X;default:return Y}}case f:return Y}}}var T=v,S=w,U=m,C=p,Z=l,oe=j,L=d,F=z,P=B,K=f,G=h,ee=g,O=N,ie=!1;function J(E){return ie||(ie=!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.")),ge(E)||x(E)===v}function ge(E){return x(E)===w}function q(E){return x(E)===m}function Q(E){return x(E)===p}function V(E){return typeof E=="object"&&E!==null&&E.$$typeof===l}function de(E){return x(E)===j}function ne(E){return x(E)===d}function fe(E){return x(E)===z}function ye(E){return x(E)===B}function he(E){return x(E)===f}function A(E){return x(E)===h}function y(E){return x(E)===g}function M(E){return x(E)===N}u.AsyncMode=T,u.ConcurrentMode=S,u.ContextConsumer=U,u.ContextProvider=C,u.Element=Z,u.ForwardRef=oe,u.Fragment=L,u.Lazy=F,u.Memo=P,u.Portal=K,u.Profiler=G,u.StrictMode=ee,u.Suspense=O,u.isAsyncMode=J,u.isConcurrentMode=ge,u.isContextConsumer=q,u.isContextProvider=Q,u.isElement=V,u.isForwardRef=de,u.isFragment=ne,u.isLazy=fe,u.isMemo=ye,u.isPortal=he,u.isProfiler=A,u.isStrictMode=y,u.isSuspense=M,u.isValidElementType=R,u.typeOf=x})()},"./node_modules/react-is/index.js":(a,u,c)=>{a.exports=c("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(a,u,c)=>{c.r(u),c.d(u,{shallowEqualArrays:()=>f,shallowEqualObjects:()=>l});function l(d,g){if(d===g)return!0;if(!d||!g)return!1;var h=Object.keys(d),p=Object.keys(g),m=h.length;if(p.length!==m)return!1;for(var v=0;v{Object.defineProperty(u,"__esModule",{value:!0});var l=c("react"),f=(0,l.createContext)(void 0);u.default=f},"./src/index.ts":function(a,u,c){var l=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(u,"__esModule",{value:!0}),u.Context=u.toQuery=u.useMediaQuery=u.default=void 0;var f=l(c("./src/useMediaQuery.ts"));u.useMediaQuery=f.default;var d=l(c("./src/Component.ts"));u.default=d.default;var g=l(c("./src/toQuery.ts"));u.toQuery=g.default;var h=l(c("./src/Context.ts"));u.Context=h.default},"./src/mediaQuery.ts":function(a,u,c){var l=this&&this.__assign||function(){return l=Object.assign||function(N){for(var I,B=1,z=arguments.length;B{a.exports=n}},i={};function o(a){var u=i[a];if(u!==void 0)return u.exports;var c=i[a]={exports:{}};return r[a].call(c.exports,c,c.exports,o),c.exports}o.d=(a,u)=>{for(var c in u)o.o(u,c)&&!o.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:u[c]})},o.o=(a,u)=>Object.prototype.hasOwnProperty.call(a,u),o.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var s=o("./src/index.ts");return s})())})(Km);const ta=Nc(ea);/** - * @remix-run/router v1.6.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function na(){return na=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function jl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var bl;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(bl||(bl={}));function Gm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Sl(e):e;return{pathname:n?n.startsWith("/")?n:Jm(n,t):t,search:tv(r),hash:nv(i)}}function Jm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function ra(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Zm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Xm(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Sl(e):(i=na({},e),Dt(!i.pathname||!i.pathname.includes("?"),ra("?","pathname","search",i)),Dt(!i.pathname||!i.pathname.includes("#"),ra("#","pathname","hash",i)),Dt(!i.search||!i.search.includes("#"),ra("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(r||s==null)a=n;else{let f=t.length-1;if(s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}a=f>=0?t[f]:"/"}let u=Gm(i,a),c=s&&s!=="/"&&s.endsWith("/"),l=(o||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||l)&&(u.pathname+="/"),u}const ev=e=>e.join("/").replace(/\/\/+/g,"/"),tv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,nv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Cl=["post","put","patch","delete"];new Set(Cl);const rv=["get",...Cl];new Set(rv);/** - * React Router v6.11.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ia(){return ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t component."):Dt(!1)),re.useContext(aa).location}const Ol="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ll(e){re.useContext(sa).static||re.useLayoutEffect(e)}function uv(){return re.useContext(oa)!=null?hv():cv()}function cv(){xl()||(process.env.NODE_ENV!=="production"?Dt(!1,"useNavigate() may be used only in the context of a component."):Dt(!1));let{basename:e,navigator:t}=re.useContext(sa),{matches:n}=re.useContext(ua),{pathname:r}=av(),i=JSON.stringify(Zm(n).map(a=>a.pathnameBase)),o=re.useRef(!1);return Ll(()=>{o.current=!0}),re.useCallback(function(a,u){if(u===void 0&&(u={}),process.env.NODE_ENV!=="production"&&jl(o.current,Ol),!o.current)return;if(typeof a=="number"){t.go(a);return}let c=Xm(a,JSON.parse(i),r,u.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:ev([e,c.pathname])),(u.replace?t.replace:t.push)(c,u.state,u)},[e,t,i,r])}var ca;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(ca||(ca={}));var la;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(la||(la={}));function _l(e){return e+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function lv(e){let t=re.useContext(oa);return t||(process.env.NODE_ENV!=="production"?Dt(!1,_l(e)):Dt(!1)),t}function fv(e){let t=re.useContext(ua);return t||(process.env.NODE_ENV!=="production"?Dt(!1,_l(e)):Dt(!1)),t}function dv(e){let t=fv(e),n=t.matches[t.matches.length-1];return n.route.id||(process.env.NODE_ENV!=="production"?Dt(!1,e+' can only be used on routes that contain a unique "id"'):Dt(!1)),n.route.id}function hv(){let{router:e}=lv(ca.UseNavigateStable),t=dv(la.UseNavigateStable),n=re.useRef(!1);return Ll(()=>{n.current=!0}),re.useCallback(function(i,o){o===void 0&&(o={}),process.env.NODE_ENV!=="production"&&jl(n.current,Ol),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ia({fromRouteId:t},o)))},[e,t])}var kl;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(kl||(kl={})),new Promise(()=>{});const He={light:{main:"#9E1E32",lighter:"#AB2339",darker:"#8E1729",secondary:"#F57C00",bgMain:"#FFFFFF",bgSide:"#FAFAFA",text1:"#333333",text2:"#606060",text3:"#B4B4B4",card1:"#FFFFFF",card2:"#EEEEEE",card3:"#E5E5E5"},dark:{main:"#CB3243",lighter:"#D5919A",darker:"#1E1315",secondary:"#FFCB80",bgMain:"#1F2022",bgSide:"#242527",text1:"#D7D7D7",text2:"#A1A1A1",text3:"#585858",card1:"#2C2C2C",card2:"#353535",card3:"#232323"},icon:{sun:"#FFC000",moon:"#F7E7CE"},quarter:{dark:{fall:"#9A5306",winter:"#0073A9",spring:"#8F0066",summer:"#CB5E00"},light:{fall:"#C16808",winter:"#3AC0FF",spring:"#FF65D3",summer:"#FF7701"}}};function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var so={},gv={get exports(){return so},set exports(e){so=e}},We={};/** @license React v17.0.2 + */(function(){var c=typeof Symbol=="function"&&Symbol.for,l=c?Symbol.for("react.element"):60103,f=c?Symbol.for("react.portal"):60106,d=c?Symbol.for("react.fragment"):60107,g=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.profiler"):60114,p=c?Symbol.for("react.provider"):60109,m=c?Symbol.for("react.context"):60110,v=c?Symbol.for("react.async_mode"):60111,w=c?Symbol.for("react.concurrent_mode"):60111,j=c?Symbol.for("react.forward_ref"):60112,I=c?Symbol.for("react.suspense"):60113,T=c?Symbol.for("react.suspense_list"):60120,B=c?Symbol.for("react.memo"):60115,z=c?Symbol.for("react.lazy"):60116,H=c?Symbol.for("react.block"):60121,W=c?Symbol.for("react.fundamental"):60117,b=c?Symbol.for("react.responder"):60118,k=c?Symbol.for("react.scope"):60119;function R(A){return typeof A=="string"||typeof A=="function"||A===d||A===w||A===h||A===g||A===I||A===T||typeof A=="object"&&A!==null&&(A.$$typeof===z||A.$$typeof===B||A.$$typeof===p||A.$$typeof===m||A.$$typeof===j||A.$$typeof===W||A.$$typeof===b||A.$$typeof===k||A.$$typeof===H)}function x(A){if(typeof A=="object"&&A!==null){var Y=A.$$typeof;switch(Y){case l:var te=A.type;switch(te){case v:case w:case d:case h:case g:case I:return te;default:var X=te&&te.$$typeof;switch(X){case m:case j:case z:case B:case p:return X;default:return Y}}case f:return Y}}}var N=v,S=w,U=m,C=p,Z=l,ie=j,L=d,F=z,P=B,q=f,K=h,ee=g,O=I,re=!1;function J(A){return re||(re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),pe(A)||x(A)===v}function pe(A){return x(A)===w}function V(A){return x(A)===m}function Q(A){return x(A)===p}function $(A){return typeof A=="object"&&A!==null&&A.$$typeof===l}function de(A){return x(A)===j}function ne(A){return x(A)===d}function fe(A){return x(A)===z}function Me(A){return x(A)===B}function he(A){return x(A)===f}function E(A){return x(A)===h}function y(A){return x(A)===g}function M(A){return x(A)===I}u.AsyncMode=N,u.ConcurrentMode=S,u.ContextConsumer=U,u.ContextProvider=C,u.Element=Z,u.ForwardRef=ie,u.Fragment=L,u.Lazy=F,u.Memo=P,u.Portal=q,u.Profiler=K,u.StrictMode=ee,u.Suspense=O,u.isAsyncMode=J,u.isConcurrentMode=pe,u.isContextConsumer=V,u.isContextProvider=Q,u.isElement=$,u.isForwardRef=de,u.isFragment=ne,u.isLazy=fe,u.isMemo=Me,u.isPortal=he,u.isProfiler=E,u.isStrictMode=y,u.isSuspense=M,u.isValidElementType=R,u.typeOf=x})()},"./node_modules/react-is/index.js":(a,u,c)=>{a.exports=c("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(a,u,c)=>{c.r(u),c.d(u,{shallowEqualArrays:()=>f,shallowEqualObjects:()=>l});function l(d,g){if(d===g)return!0;if(!d||!g)return!1;var h=Object.keys(d),p=Object.keys(g),m=h.length;if(p.length!==m)return!1;for(var v=0;v{Object.defineProperty(u,"__esModule",{value:!0});var l=c("react"),f=(0,l.createContext)(void 0);u.default=f},"./src/index.ts":function(a,u,c){var l=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(u,"__esModule",{value:!0}),u.Context=u.toQuery=u.useMediaQuery=u.default=void 0;var f=l(c("./src/useMediaQuery.ts"));u.useMediaQuery=f.default;var d=l(c("./src/Component.ts"));u.default=d.default;var g=l(c("./src/toQuery.ts"));u.toQuery=g.default;var h=l(c("./src/Context.ts"));u.Context=h.default},"./src/mediaQuery.ts":function(a,u,c){var l=this&&this.__assign||function(){return l=Object.assign||function(I){for(var T,B=1,z=arguments.length;B{a.exports=n}},i={};function o(a){var u=i[a];if(u!==void 0)return u.exports;var c=i[a]={exports:{}};return r[a].call(c.exports,c,c.exports,o),c.exports}o.d=(a,u)=>{for(var c in u)o.o(u,c)&&!o.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:u[c]})},o.o=(a,u)=>Object.prototype.hasOwnProperty.call(a,u),o.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var s=o("./src/index.ts");return s})())})(gm);const hl=cc(Zs),He={light:{main:"#9E1E32",lighter:"#AB2339",darker:"#8E1729",secondary:"#F57C00",bgMain:"#FFFFFF",bgSide:"#FAFAFA",text1:"#333333",text2:"#606060",text3:"#B4B4B4",card1:"#FFFFFF",card2:"#EEEEEE",card3:"#E5E5E5"},dark:{main:"#CB3243",lighter:"#D5919A",darker:"#1E1315",secondary:"#FFCB80",bgMain:"#1F2022",bgSide:"#242527",text1:"#D7D7D7",text2:"#A1A1A1",text3:"#585858",card1:"#2C2C2C",card2:"#353535",card3:"#232323"},icon:{sun:"#FFC000",moon:"#F7E7CE"},quarter:{dark:{fall:"#9A5306",winter:"#0073A9",spring:"#8F0066",summer:"#CB5E00"},light:{fall:"#C16808",winter:"#3AC0FF",spring:"#FF65D3",summer:"#FF7701"}}};function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var oo={},pm={get exports(){return oo},set exports(e){oo=e}},We={};/** @license React v17.0.2 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var zl;function pv(){if(zl)return We;zl=1;var e=60103,t=60106,n=60107,r=60108,i=60114,o=60109,s=60110,a=60112,u=60113,c=60120,l=60115,f=60116,d=60121,g=60122,h=60117,p=60129,m=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;e=v("react.element"),t=v("react.portal"),n=v("react.fragment"),r=v("react.strict_mode"),i=v("react.profiler"),o=v("react.provider"),s=v("react.context"),a=v("react.forward_ref"),u=v("react.suspense"),c=v("react.suspense_list"),l=v("react.memo"),f=v("react.lazy"),d=v("react.block"),g=v("react.server.block"),h=v("react.fundamental"),p=v("react.debug_trace_mode"),m=v("react.legacy_hidden")}function w(x){if(typeof x=="object"&&x!==null){var T=x.$$typeof;switch(T){case e:switch(x=x.type,x){case n:case i:case r:case u:case c:return x;default:switch(x=x&&x.$$typeof,x){case s:case a:case f:case l:case o:return x;default:return T}}case t:return T}}}var j=o,N=e,I=a,B=n,z=f,W=l,$=t,b=i,k=r,R=u;return We.ContextConsumer=s,We.ContextProvider=j,We.Element=N,We.ForwardRef=I,We.Fragment=B,We.Lazy=z,We.Memo=W,We.Portal=$,We.Profiler=b,We.StrictMode=k,We.Suspense=R,We.isAsyncMode=function(){return!1},We.isConcurrentMode=function(){return!1},We.isContextConsumer=function(x){return w(x)===s},We.isContextProvider=function(x){return w(x)===o},We.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},We.isForwardRef=function(x){return w(x)===a},We.isFragment=function(x){return w(x)===n},We.isLazy=function(x){return w(x)===f},We.isMemo=function(x){return w(x)===l},We.isPortal=function(x){return w(x)===t},We.isProfiler=function(x){return w(x)===i},We.isStrictMode=function(x){return w(x)===r},We.isSuspense=function(x){return w(x)===u},We.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===i||x===p||x===r||x===u||x===c||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===f||x.$$typeof===l||x.$$typeof===o||x.$$typeof===s||x.$$typeof===a||x.$$typeof===h||x.$$typeof===d||x[0]===g)},We.typeOf=w,We}var Ve={};/** @license React v17.0.2 + */var gl;function Mm(){if(gl)return We;gl=1;var e=60103,t=60106,n=60107,r=60108,i=60114,o=60109,s=60110,a=60112,u=60113,c=60120,l=60115,f=60116,d=60121,g=60122,h=60117,p=60129,m=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;e=v("react.element"),t=v("react.portal"),n=v("react.fragment"),r=v("react.strict_mode"),i=v("react.profiler"),o=v("react.provider"),s=v("react.context"),a=v("react.forward_ref"),u=v("react.suspense"),c=v("react.suspense_list"),l=v("react.memo"),f=v("react.lazy"),d=v("react.block"),g=v("react.server.block"),h=v("react.fundamental"),p=v("react.debug_trace_mode"),m=v("react.legacy_hidden")}function w(x){if(typeof x=="object"&&x!==null){var N=x.$$typeof;switch(N){case e:switch(x=x.type,x){case n:case i:case r:case u:case c:return x;default:switch(x=x&&x.$$typeof,x){case s:case a:case f:case l:case o:return x;default:return N}}case t:return N}}}var j=o,I=e,T=a,B=n,z=f,H=l,W=t,b=i,k=r,R=u;return We.ContextConsumer=s,We.ContextProvider=j,We.Element=I,We.ForwardRef=T,We.Fragment=B,We.Lazy=z,We.Memo=H,We.Portal=W,We.Profiler=b,We.StrictMode=k,We.Suspense=R,We.isAsyncMode=function(){return!1},We.isConcurrentMode=function(){return!1},We.isContextConsumer=function(x){return w(x)===s},We.isContextProvider=function(x){return w(x)===o},We.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},We.isForwardRef=function(x){return w(x)===a},We.isFragment=function(x){return w(x)===n},We.isLazy=function(x){return w(x)===f},We.isMemo=function(x){return w(x)===l},We.isPortal=function(x){return w(x)===t},We.isProfiler=function(x){return w(x)===i},We.isStrictMode=function(x){return w(x)===r},We.isSuspense=function(x){return w(x)===u},We.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===i||x===p||x===r||x===u||x===c||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===f||x.$$typeof===l||x.$$typeof===o||x.$$typeof===s||x.$$typeof===a||x.$$typeof===h||x.$$typeof===d||x[0]===g)},We.typeOf=w,We}var Ve={};/** @license React v17.0.2 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Pl;function Mv(){return Pl||(Pl=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,n=60107,r=60108,i=60114,o=60109,s=60110,a=60112,u=60113,c=60120,l=60115,f=60116,d=60121,g=60122,h=60117,p=60129,m=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;e=v("react.element"),t=v("react.portal"),n=v("react.fragment"),r=v("react.strict_mode"),i=v("react.profiler"),o=v("react.provider"),s=v("react.context"),a=v("react.forward_ref"),u=v("react.suspense"),c=v("react.suspense_list"),l=v("react.memo"),f=v("react.lazy"),d=v("react.block"),g=v("react.server.block"),h=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),p=v("react.debug_trace_mode"),v("react.offscreen"),m=v("react.legacy_hidden")}var w=!1;function j(Q){return!!(typeof Q=="string"||typeof Q=="function"||Q===n||Q===i||Q===p||Q===r||Q===u||Q===c||Q===m||w||typeof Q=="object"&&Q!==null&&(Q.$$typeof===f||Q.$$typeof===l||Q.$$typeof===o||Q.$$typeof===s||Q.$$typeof===a||Q.$$typeof===h||Q.$$typeof===d||Q[0]===g))}function N(Q){if(typeof Q=="object"&&Q!==null){var V=Q.$$typeof;switch(V){case e:var de=Q.type;switch(de){case n:case i:case r:case u:case c:return de;default:var ne=de&&de.$$typeof;switch(ne){case s:case a:case f:case l:case o:return ne;default:return V}}case t:return V}}}var I=s,B=o,z=e,W=a,$=n,b=f,k=l,R=t,x=i,T=r,S=u,U=!1,C=!1;function Z(Q){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function oe(Q){return C||(C=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(Q){return N(Q)===s}function F(Q){return N(Q)===o}function P(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===e}function K(Q){return N(Q)===a}function G(Q){return N(Q)===n}function ee(Q){return N(Q)===f}function O(Q){return N(Q)===l}function ie(Q){return N(Q)===t}function J(Q){return N(Q)===i}function ge(Q){return N(Q)===r}function q(Q){return N(Q)===u}Ve.ContextConsumer=I,Ve.ContextProvider=B,Ve.Element=z,Ve.ForwardRef=W,Ve.Fragment=$,Ve.Lazy=b,Ve.Memo=k,Ve.Portal=R,Ve.Profiler=x,Ve.StrictMode=T,Ve.Suspense=S,Ve.isAsyncMode=Z,Ve.isConcurrentMode=oe,Ve.isContextConsumer=L,Ve.isContextProvider=F,Ve.isElement=P,Ve.isForwardRef=K,Ve.isFragment=G,Ve.isLazy=ee,Ve.isMemo=O,Ve.isPortal=ie,Ve.isProfiler=J,Ve.isStrictMode=ge,Ve.isSuspense=q,Ve.isValidElementType=j,Ve.typeOf=N}()),Ve}(function(e){process.env.NODE_ENV==="production"?e.exports=pv():e.exports=Mv()})(gv);function Ul(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;tnull:function(...r){return e(...r)||t(...r)}}function fr(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Fl(e){if(!fr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Fl(e[n])}),t}function en(e,t,n={clone:!0}){const r=n.clone?Me({},e):e;return fr(e)&&fr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(fr(t[i])&&i in e&&fr(e[i])?r[i]=en(e[i],t[i],n):n.clone?r[i]=fr(t[i])?Fl(t[i]):t[i]:r[i]=t[i])}),r}function yv(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Yl(e,t,n,r,i){const o=e[t],s=i||t;if(o==null||typeof window>"u")return null;let a;const u=o.type;return typeof u=="function"&&!yv(u)&&(a="Did you accidentally use a plain function component for an element instead?"),a!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Bl=ei(D.element,Yl);Bl.isRequired=ei(D.element.isRequired,Yl);const ti=Bl;function mv(e){const{prototype:t={}}=e;return!!t.isReactComponent}function vv(e,t,n,r,i){const o=e[t],s=i||t;if(o==null||typeof window>"u")return null;let a;return typeof o=="function"&&!mv(o)&&(a="Did you accidentally provide a plain function component instead?"),a!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Ql=ei(D.elementType,vv),wv="exact-prop: ​";function $l(e){return process.env.NODE_ENV==="production"?e:Me({},e,{[wv]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function ni(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Iv(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function Ft(e){return e&&e.ownerDocument||document}function ii(e){return Ft(e).defaultView||window}function fa(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const oi=typeof window<"u"?re.useLayoutEffect:re.useEffect;function hr(e){const t=re.useRef(e);return oi(()=>{t.current=e}),re.useCallback((...n)=>(0,t.current)(...n),[])}function Et(...e){return re.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{fa(n,t)})},e)}let ao=!0,da=!1,Kl;const Nv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Tv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Nv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function jv(e){e.metaKey||e.altKey||e.ctrlKey||(ao=!0)}function ha(){ao=!1}function Sv(){this.visibilityState==="hidden"&&da&&(ao=!0)}function bv(e){e.addEventListener("keydown",jv,!0),e.addEventListener("mousedown",ha,!0),e.addEventListener("pointerdown",ha,!0),e.addEventListener("touchstart",ha,!0),e.addEventListener("visibilitychange",Sv,!0)}function Cv(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return ao||Tv(t)}function xv(){const e=re.useCallback(i=>{i!=null&&bv(i.ownerDocument)},[]),t=re.useRef(!1);function n(){return t.current?(da=!0,window.clearTimeout(Kl),Kl=window.setTimeout(()=>{da=!1},100),t.current=!1,!0):!1}function r(i){return Cv(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Gl(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Ov(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Lv(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const _v=Number.isInteger||Lv;function Jl(e,t,n,r){const i=e[t];if(i==null||!_v(i)){const o=Ov(i);return new RangeError(`Invalid ${r} \`${t}\` of type \`${o}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Zl(e,t,...n){return e[t]===void 0?null:Jl(e,t,...n)}function ga(){return null}Zl.isRequired=Jl,ga.isRequired=ga;const Xl=process.env.NODE_ENV==="production"?ga:Zl;function ef(e,t){const n=Me({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Me({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=Me({},o),Object.keys(i).forEach(s=>{n[r][s]=ef(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function yn(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const tf=e=>e,kv=(()=>{let e=tf;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tf}}})(),zv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Wt(e,t,n="Mui"){const r=zv[t];return r?`${n}-${r}`:`${kv.generate(e)}-${t}`}function jt(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=Wt(e,i,n)}),r}function Pv(e){return typeof e=="function"?e():e}const uo=re.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=re.useState(null),u=Et(re.isValidElement(r)?r.ref:null,n);return oi(()=>{o||a(Pv(i)||document.body)},[i,o]),oi(()=>{if(s&&!o)return fa(n,s),()=>{fa(n,null)}},[n,s,o]),o?re.isValidElement(r)?re.cloneElement(r,{ref:u}):r:s&&EM.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(uo.propTypes={children:D.node,container:D.oneOfType([dr,D.func]),disablePortal:D.bool}),process.env.NODE_ENV!=="production"&&(uo["propTypes"]=$l(uo.propTypes));const Uv=uo;function Rv(e){const t=Ft(e);return t.body===e?ii(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function si(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function nf(e){return parseInt(ii(e).getComputedStyle(e).paddingRight,10)||0}function rf(e,t,n,r=[],i){const o=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,a=>{o.indexOf(a)===-1&&s.indexOf(a.tagName)===-1&&si(a,i)})}function pa(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function Fv(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Rv(r)){const u=Gl(Ft(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${nf(r)+u}px`;const c=Ft(r).querySelectorAll(".mui-fixed");[].forEach.call(c,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${nf(l)+u}px`})}const o=r.parentElement,s=ii(r),a=(o==null?void 0:o.nodeName)==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:r;n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function Yv(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Bv{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&si(t.modalRef,!1);const i=Yv(n);rf(n,t.mount,t.modalRef,i,!0);const o=pa(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=pa(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=Fv(i,n))}remove(t){const n=this.modals.indexOf(t);if(n===-1)return n;const r=pa(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&si(t.modalRef,!0),rf(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const o=i.modals[i.modals.length-1];o.modalRef&&si(o.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Qv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $v(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Wv(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Vv(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Wv(e))}function Hv(e){const t=[],n=[];return Array.from(e.querySelectorAll(Qv)).forEach((r,i)=>{const o=$v(r);o===-1||!Vv(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function qv(){return!0}function co(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=Hv,isEnabled:s=qv,open:a}=e,u=re.useRef(),c=re.useRef(null),l=re.useRef(null),f=re.useRef(null),d=re.useRef(null),g=re.useRef(!1),h=re.useRef(null),p=Et(t.ref,h),m=re.useRef(null);re.useEffect(()=>{!a||!h.current||(g.current=!n)},[n,a]),re.useEffect(()=>{if(!a||!h.current)return;const j=Ft(h.current);return h.current.contains(j.activeElement)||(h.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(` -`)),h.current.setAttribute("tabIndex",-1)),g.current&&h.current.focus()),()=>{i||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}},[a]),re.useEffect(()=>{if(!a||!h.current)return;const j=Ft(h.current),N=z=>{const{current:W}=h;if(W!==null){if(!j.hasFocus()||r||!s()||u.current){u.current=!1;return}if(!W.contains(j.activeElement)){if(z&&d.current!==z.target||j.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!g.current)return;let k=[];if((j.activeElement===c.current||j.activeElement===l.current)&&(k=o(h.current)),k.length>0){var $,b;const R=!!(($=m.current)!=null&&$.shiftKey&&((b=m.current)==null?void 0:b.key)==="Tab"),x=k[0],T=k[k.length-1];R?T.focus():x.focus()}else W.focus()}}},I=z=>{m.current=z,!(r||!s()||z.key!=="Tab")&&j.activeElement===h.current&&z.shiftKey&&(u.current=!0,l.current.focus())};j.addEventListener("focusin",N),j.addEventListener("keydown",I,!0);const B=setInterval(()=>{j.activeElement.tagName==="BODY"&&N()},50);return()=>{clearInterval(B),j.removeEventListener("focusin",N),j.removeEventListener("keydown",I,!0)}},[n,r,i,s,a,o]);const v=j=>{f.current===null&&(f.current=j.relatedTarget),g.current=!0,d.current=j.target;const N=t.props.onFocus;N&&N(j)},w=j=>{f.current===null&&(f.current=j.relatedTarget),g.current=!0};return pe.jsxs(re.Fragment,{children:[pe.jsx("div",{tabIndex:0,onFocus:w,ref:c,"data-test":"sentinelStart"}),re.cloneElement(t,{ref:p,onFocus:v}),pe.jsx("div",{tabIndex:0,onFocus:w,ref:l,"data-test":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(co.propTypes={children:ti,disableAutoFocus:D.bool,disableEnforceFocus:D.bool,disableRestoreFocus:D.bool,getTabbable:D.func,isEnabled:D.func,open:D.bool.isRequired}),process.env.NODE_ENV!=="production"&&(co["propTypes"]=$l(co.propTypes));function Kv(e){return Wt("MuiModal",e)}jt("MuiModal",["root","hidden"]);const Gv=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"],Jv=e=>{const{open:t,exited:n,classes:r}=e;return yn({root:["root",!t&&n&&"hidden"]},Kv,r)};function Zv(e){return typeof e=="function"?e():e}function Xv(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const ew=new Bv,of=re.forwardRef(function(t,n){const{BackdropComponent:r,BackdropProps:i,children:o,classes:s,className:a,closeAfterTransition:u=!1,component:c="div",components:l={},componentsProps:f={},container:d,disableAutoFocus:g=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:p=!1,disablePortal:m=!1,disableRestoreFocus:v=!1,disableScrollLock:w=!1,hideBackdrop:j=!1,keepMounted:N=!1,manager:I=ew,onBackdropClick:B,onClose:z,onKeyDown:W,open:$,theme:b,onTransitionEnter:k,onTransitionExited:R}=t,x=Ze(t,Gv),[T,S]=re.useState(!0),U=re.useRef({}),C=re.useRef(null),Z=re.useRef(null),oe=Et(Z,n),L=Xv(t),F=()=>Ft(C.current),P=()=>(U.current.modalRef=Z.current,U.current.mountNode=C.current,U.current),K=()=>{I.mount(P(),{disableScrollLock:w}),Z.current.scrollTop=0},G=hr(()=>{const he=Zv(d)||F().body;I.add(P(),he),Z.current&&K()}),ee=re.useCallback(()=>I.isTopModal(P()),[I]),O=hr(he=>{C.current=he,he&&($&&ee()?K():si(Z.current,!0))}),ie=re.useCallback(()=>{I.remove(P())},[I]);re.useEffect(()=>()=>{ie()},[ie]),re.useEffect(()=>{$?G():(!L||!u)&&ie()},[$,ie,L,u,G]);const J=Me({},t,{classes:s,closeAfterTransition:u,disableAutoFocus:g,disableEnforceFocus:h,disableEscapeKeyDown:p,disablePortal:m,disableRestoreFocus:v,disableScrollLock:w,exited:T,hideBackdrop:j,keepMounted:N}),ge=Jv(J);if(!N&&!$&&(!L||T))return null;const q=()=>{S(!1),k&&k()},Q=()=>{S(!0),R&&R(),u&&ie()},V=he=>{he.target===he.currentTarget&&(B&&B(he),z&&z(he,"backdropClick"))},de=he=>{W&&W(he),!(he.key!=="Escape"||!ee())&&(p||(he.stopPropagation(),z&&z(he,"escapeKeyDown")))},ne={};o.props.tabIndex===void 0&&(ne.tabIndex="-1"),L&&(ne.onEnter=ql(q,o.props.onEnter),ne.onExited=ql(Q,o.props.onExited));const fe=l.Root||c,ye=f.root||{};return pe.jsx(Uv,{ref:O,container:d,disablePortal:m,children:pe.jsxs(fe,Me({role:"presentation"},ye,!Rl(fe)&&{as:c,ownerState:Me({},J,ye.ownerState),theme:b},x,{ref:oe,onKeyDown:de,className:st(ge.root,ye.className,a),children:[!j&&r?pe.jsx(r,Me({"aria-hidden":!0,open:$,onClick:V},i)):null,pe.jsx(co,{disableEnforceFocus:h,disableAutoFocus:g,disableRestoreFocus:v,isEnabled:ee,open:$,children:re.cloneElement(o,ne)})]}))})});process.env.NODE_ENV!=="production"&&(of.propTypes={BackdropComponent:D.elementType,BackdropProps:D.object,children:ti.isRequired,classes:D.object,className:D.string,closeAfterTransition:D.bool,component:D.elementType,components:D.shape({Root:D.elementType}),componentsProps:D.shape({root:D.object}),container:D.oneOfType([dr,D.func]),disableAutoFocus:D.bool,disableEnforceFocus:D.bool,disableEscapeKeyDown:D.bool,disablePortal:D.bool,disableRestoreFocus:D.bool,disableScrollLock:D.bool,hideBackdrop:D.bool,keepMounted:D.bool,onBackdropClick:D.func,onClose:D.func,onKeyDown:D.func,open:D.bool.isRequired});const tw=of;function nw(e){if(e.sheet)return e.sheet;for(var t=0;t0?ut(pr,--mt):0,gr--,it===10&&(gr=1,go--),it}function At(){return it=mt2||li(it)>3?"":" "}function gw(e,t){for(;--t&&At()&&!(it<48||it>102||it>57&&it<65||it>70&&it<97););return ci(e,Mo()+(t<6&&Ht()==32&&At()==32))}function Da(e){for(;At();)switch(it){case e:return mt;case 34:case 39:e!==34&&e!==39&&Da(it);break;case 40:e===41&&Da(e);break;case 92:At();break}return mt}function pw(e,t){for(;At()&&e+it!==47+10;)if(e+it===42+42&&Ht()===47)break;return"/*"+ci(t,mt-1)+"*"+fo(e===47?e:At())}function Mw(e){for(;!li(Ht());)At();return ci(e,mt)}function yw(e){return lf(mo("",null,null,null,[""],e=cf(e),0,[0],e))}function mo(e,t,n,r,i,o,s,a,u){for(var c=0,l=0,f=s,d=0,g=0,h=0,p=1,m=1,v=1,w=0,j="",N=i,I=o,B=r,z=j;m;)switch(h=w,w=At()){case 40:if(h!=108&&ut(z,f-1)==58){va(z+=ke(yo(w),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:z+=yo(w);break;case 9:case 10:case 13:case 32:z+=hw(h);break;case 92:z+=gw(Mo()-1,7);continue;case 47:switch(Ht()){case 42:case 47:ho(mw(pw(At(),Mo()),t,n),u);break;default:z+="/"}break;case 123*p:a[c++]=Vt(z)*v;case 125*p:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+l:v==-1&&(z=ke(z,/\f/g,"")),g>0&&Vt(z)-f&&ho(g>32?df(z+";",r,n,f-1):df(ke(z," ","")+";",r,n,f-2),u);break;case 59:z+=";";default:if(ho(B=ff(z,t,n,c,l,i,a,j,N=[],I=[],f),o),w===123)if(l===0)mo(z,t,B,B,N,o,f,a,I);else switch(d===99&&ut(z,3)===110?100:d){case 100:case 109:case 115:mo(e,B,B,r&&ho(ff(e,B,B,0,0,i,a,j,i,N=[],f),I),i,I,f,a,r?N:I);break;default:mo(z,B,B,B,[""],I,0,a,I)}}c=l=g=0,p=v=1,j=z="",f=s;break;case 58:f=1+Vt(z),g=h;default:if(p<1){if(w==123)--p;else if(w==125&&p++==0&&dw()==125)continue}switch(z+=fo(w),w*p){case 38:v=l>0?1:(z+="\f",-1);break;case 44:a[c++]=(Vt(z)-1)*v,v=1;break;case 64:Ht()===45&&(z+=yo(At())),d=Ht(),l=f=Vt(j=z+=Mw(Mo())),w++;break;case 45:h===45&&Vt(z)==2&&(p=0)}}return o}function ff(e,t,n,r,i,o,s,a,u,c,l){for(var f=i-1,d=i===0?o:[""],g=wa(d),h=0,p=0,m=0;h0?d[v]+" "+w:ke(w,/&\f/g,d[v])))&&(u[m++]=j);return po(e,t,n,i===0?ya:a,u,c,l)}function mw(e,t,n){return po(e,t,n,Ma,fo(fw()),ai(e,2,-2),0)}function df(e,t,n,r){return po(e,t,n,ma,ai(e,0,r),ai(e,r+1,-1),r)}function Mr(e,t){for(var n="",r=wa(e),i=0;i-1},bw=function(t){return function(n,r,i){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var s=!!n.parent,a=s?n.parent.children:i,u=a.length-1;u>=0;u--){var c=a[u];if(c.line=0;r--)if(!gf(n[r]))return!0;return!1},pf=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},xw=function(t,n,r){gf(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),pf(t)):Cw(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),pf(t)))};function Mf(e,t){switch(uw(e,t)){case 5103:return _e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+lo+e+dt+e+e;case 6828:case 4268:return _e+e+dt+e+e;case 6165:return _e+e+dt+"flex-"+e+e;case 5187:return _e+e+ke(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+dt+"flex-$1$2")+e;case 5443:return _e+e+dt+"flex-item-"+ke(e,/flex-|-self/,"")+e;case 4675:return _e+e+dt+"flex-line-pack"+ke(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+dt+ke(e,"shrink","negative")+e;case 5292:return _e+e+dt+ke(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+ke(e,"-grow","")+_e+e+dt+ke(e,"grow","positive")+e;case 4554:return _e+ke(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return ke(ke(ke(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return ke(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return ke(ke(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+dt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return ke(e,/(.+)-inline(.+)/,_e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vt(e)-1-t>6)switch(ut(e,t+1)){case 109:if(ut(e,t+4)!==45)break;case 102:return ke(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+lo+(ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~va(e,"stretch")?Mf(ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ut(e,t+1)!==115)break;case 6444:switch(ut(e,Vt(e)-3-(~va(e,"!important")&&10))){case 107:return ke(e,":",":"+_e)+e;case 101:return ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(ut(e,14)===45?"inline-":"")+"box$3$1"+_e+"$2$3$1"+dt+"$2box$3")+e}break;case 5936:switch(ut(e,t+11)){case 114:return _e+e+dt+ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+dt+ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+dt+ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+dt+e+e}return e}var Ow=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case ma:t.return=Mf(t.value,t.length);break;case sf:return Mr([ui(t,{value:ke(t.value,"@","@"+_e)})],i);case ya:if(t.length)return lw(t.props,function(o){switch(cw(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mr([ui(t,{props:[ke(o,/:(read-\w+)/,":"+lo+"$1")]})],i);case"::placeholder":return Mr([ui(t,{props:[ke(o,/:(plac\w+)/,":"+_e+"input-$1")]}),ui(t,{props:[ke(o,/:(plac\w+)/,":"+lo+"$1")]}),ui(t,{props:[ke(o,/:(plac\w+)/,dt+"input-$1")]})],i)}return""})}},Lw=[Ow],_w=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var m=p.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var i=t.stylisPlugins||Lw;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var m=p.getAttribute("data-emotion").split(" "),v=1;v=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Pw={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yf=`You have illegal escape sequence in your template literal, most likely inside content's property value. + */var pl;function ym(){return pl||(pl=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,n=60107,r=60108,i=60114,o=60109,s=60110,a=60112,u=60113,c=60120,l=60115,f=60116,d=60121,g=60122,h=60117,p=60129,m=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;e=v("react.element"),t=v("react.portal"),n=v("react.fragment"),r=v("react.strict_mode"),i=v("react.profiler"),o=v("react.provider"),s=v("react.context"),a=v("react.forward_ref"),u=v("react.suspense"),c=v("react.suspense_list"),l=v("react.memo"),f=v("react.lazy"),d=v("react.block"),g=v("react.server.block"),h=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),p=v("react.debug_trace_mode"),v("react.offscreen"),m=v("react.legacy_hidden")}var w=!1;function j(Q){return!!(typeof Q=="string"||typeof Q=="function"||Q===n||Q===i||Q===p||Q===r||Q===u||Q===c||Q===m||w||typeof Q=="object"&&Q!==null&&(Q.$$typeof===f||Q.$$typeof===l||Q.$$typeof===o||Q.$$typeof===s||Q.$$typeof===a||Q.$$typeof===h||Q.$$typeof===d||Q[0]===g))}function I(Q){if(typeof Q=="object"&&Q!==null){var $=Q.$$typeof;switch($){case e:var de=Q.type;switch(de){case n:case i:case r:case u:case c:return de;default:var ne=de&&de.$$typeof;switch(ne){case s:case a:case f:case l:case o:return ne;default:return $}}case t:return $}}}var T=s,B=o,z=e,H=a,W=n,b=f,k=l,R=t,x=i,N=r,S=u,U=!1,C=!1;function Z(Q){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ie(Q){return C||(C=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(Q){return I(Q)===s}function F(Q){return I(Q)===o}function P(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===e}function q(Q){return I(Q)===a}function K(Q){return I(Q)===n}function ee(Q){return I(Q)===f}function O(Q){return I(Q)===l}function re(Q){return I(Q)===t}function J(Q){return I(Q)===i}function pe(Q){return I(Q)===r}function V(Q){return I(Q)===u}Ve.ContextConsumer=T,Ve.ContextProvider=B,Ve.Element=z,Ve.ForwardRef=H,Ve.Fragment=W,Ve.Lazy=b,Ve.Memo=k,Ve.Portal=R,Ve.Profiler=x,Ve.StrictMode=N,Ve.Suspense=S,Ve.isAsyncMode=Z,Ve.isConcurrentMode=ie,Ve.isContextConsumer=L,Ve.isContextProvider=F,Ve.isElement=P,Ve.isForwardRef=q,Ve.isFragment=K,Ve.isLazy=ee,Ve.isMemo=O,Ve.isPortal=re,Ve.isProfiler=J,Ve.isStrictMode=pe,Ve.isSuspense=V,Ve.isValidElementType=j,Ve.typeOf=I}()),Ve}(function(e){process.env.NODE_ENV==="production"?e.exports=Mm():e.exports=ym()})(pm);function Ml(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;tnull:function(...r){return e(...r)||t(...r)}}function fr(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function ml(e){if(!fr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=ml(e[n])}),t}function Xt(e,t,n={clone:!0}){const r=n.clone?qe({},e):e;return fr(e)&&fr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(fr(t[i])&&i in e&&fr(e[i])?r[i]=Xt(e[i],t[i],n):n.clone?r[i]=fr(t[i])?ml(t[i]):t[i]:r[i]=t[i])}),r}function mm(e){const{prototype:t={}}=e;return!!t.isReactComponent}function vl(e,t,n,r,i){const o=e[t],s=i||t;if(o==null||typeof window>"u")return null;let a;const u=o.type;return typeof u=="function"&&!mm(u)&&(a="Did you accidentally use a plain function component for an element instead?"),a!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const wl=Xr(D.element,vl);wl.isRequired=Xr(D.element.isRequired,vl);const ei=wl;function vm(e){const{prototype:t={}}=e;return!!t.isReactComponent}function wm(e,t,n,r,i){const o=e[t],s=i||t;if(o==null||typeof window>"u")return null;let a;return typeof o=="function"&&!vm(o)&&(a="Did you accidentally provide a plain function component instead?"),a!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Dl=Xr(D.elementType,wm),Dm="exact-prop: ​";function Al(e){return process.env.NODE_ENV==="production"?e:qe({},e,{[Dm]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function ti(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Tm(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function Ft(e){return e&&e.ownerDocument||document}function ri(e){return Ft(e).defaultView||window}function Xs(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const ii=typeof window<"u"?se.useLayoutEffect:se.useEffect;function hr(e){const t=se.useRef(e);return ii(()=>{t.current=e}),se.useCallback((...n)=>(0,t.current)(...n),[])}function At(...e){return se.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Xs(n,t)})},e)}let so=!0,ea=!1,jl;const Nm={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function jm(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Nm[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Sm(e){e.metaKey||e.altKey||e.ctrlKey||(so=!0)}function ta(){so=!1}function bm(){this.visibilityState==="hidden"&&ea&&(so=!0)}function Cm(e){e.addEventListener("keydown",Sm,!0),e.addEventListener("mousedown",ta,!0),e.addEventListener("pointerdown",ta,!0),e.addEventListener("touchstart",ta,!0),e.addEventListener("visibilitychange",bm,!0)}function xm(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return so||jm(t)}function Om(){const e=se.useCallback(i=>{i!=null&&Cm(i.ownerDocument)},[]),t=se.useRef(!1);function n(){return t.current?(ea=!0,window.clearTimeout(jl),jl=window.setTimeout(()=>{ea=!1},100),t.current=!1,!0):!1}function r(i){return xm(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Sl(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Lm(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function _m(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const km=Number.isInteger||_m;function bl(e,t,n,r){const i=e[t];if(i==null||!km(i)){const o=Lm(i);return new RangeError(`Invalid ${r} \`${t}\` of type \`${o}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Cl(e,t,...n){return e[t]===void 0?null:bl(e,t,...n)}function na(){return null}Cl.isRequired=bl,na.isRequired=na;const xl=process.env.NODE_ENV==="production"?na:Cl;function Ol(e,t){const n=qe({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=qe({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=qe({},o),Object.keys(i).forEach(s=>{n[r][s]=Ol(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Mn(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const Ll=e=>e,zm=(()=>{let e=Ll;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ll}}})(),Pm={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Wt(e,t,n="Mui"){const r=Pm[t];return r?`${n}-${r}`:`${zm.generate(e)}-${t}`}function jt(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=Wt(e,i,n)}),r}function Rn(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Um(e){return typeof e=="function"?e():e}const ao=se.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=se.useState(null),u=At(se.isValidElement(r)?r.ref:null,n);return ii(()=>{o||a(Um(i)||document.body)},[i,o]),ii(()=>{if(s&&!o)return Xs(n,s),()=>{Xs(n,null)}},[n,s,o]),o?se.isValidElement(r)?se.cloneElement(r,{ref:u}):r:s&&Yp.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(ao.propTypes={children:D.node,container:D.oneOfType([dr,D.func]),disablePortal:D.bool}),process.env.NODE_ENV!=="production"&&(ao["propTypes"]=Al(ao.propTypes));const Rm=ao;function Fm(e){const t=Ft(e);return t.body===e?ri(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function oi(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function _l(e){return parseInt(ri(e).getComputedStyle(e).paddingRight,10)||0}function kl(e,t,n,r=[],i){const o=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,a=>{o.indexOf(a)===-1&&s.indexOf(a.tagName)===-1&&oi(a,i)})}function ra(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function Ym(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Fm(r)){const u=Sl(Ft(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${_l(r)+u}px`;const c=Ft(r).querySelectorAll(".mui-fixed");[].forEach.call(c,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${_l(l)+u}px`})}const o=r.parentElement,s=ri(r),a=(o==null?void 0:o.nodeName)==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:r;n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function Bm(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Qm{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&oi(t.modalRef,!1);const i=Bm(n);kl(n,t.mount,t.modalRef,i,!0);const o=ra(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=ra(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=Ym(i,n))}remove(t){const n=this.modals.indexOf(t);if(n===-1)return n;const r=ra(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&oi(t.modalRef,!0),kl(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const o=i.modals[i.modals.length-1];o.modalRef&&oi(o.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const $m=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Wm(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Vm(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Hm(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Vm(e))}function qm(e){const t=[],n=[];return Array.from(e.querySelectorAll($m)).forEach((r,i)=>{const o=Wm(r);o===-1||!Hm(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function Km(){return!0}function uo(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=qm,isEnabled:s=Km,open:a}=e,u=se.useRef(),c=se.useRef(null),l=se.useRef(null),f=se.useRef(null),d=se.useRef(null),g=se.useRef(!1),h=se.useRef(null),p=At(t.ref,h),m=se.useRef(null);se.useEffect(()=>{!a||!h.current||(g.current=!n)},[n,a]),se.useEffect(()=>{if(!a||!h.current)return;const j=Ft(h.current);return h.current.contains(j.activeElement)||(h.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(` +`)),h.current.setAttribute("tabIndex",-1)),g.current&&h.current.focus()),()=>{i||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}},[a]),se.useEffect(()=>{if(!a||!h.current)return;const j=Ft(h.current),I=z=>{const{current:H}=h;if(H!==null){if(!j.hasFocus()||r||!s()||u.current){u.current=!1;return}if(!H.contains(j.activeElement)){if(z&&d.current!==z.target||j.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!g.current)return;let k=[];if((j.activeElement===c.current||j.activeElement===l.current)&&(k=o(h.current)),k.length>0){var W,b;const R=!!((W=m.current)!=null&&W.shiftKey&&((b=m.current)==null?void 0:b.key)==="Tab"),x=k[0],N=k[k.length-1];R?N.focus():x.focus()}else H.focus()}}},T=z=>{m.current=z,!(r||!s()||z.key!=="Tab")&&j.activeElement===h.current&&z.shiftKey&&(u.current=!0,l.current.focus())};j.addEventListener("focusin",I),j.addEventListener("keydown",T,!0);const B=setInterval(()=>{j.activeElement.tagName==="BODY"&&I()},50);return()=>{clearInterval(B),j.removeEventListener("focusin",I),j.removeEventListener("keydown",T,!0)}},[n,r,i,s,a,o]);const v=j=>{f.current===null&&(f.current=j.relatedTarget),g.current=!0,d.current=j.target;const I=t.props.onFocus;I&&I(j)},w=j=>{f.current===null&&(f.current=j.relatedTarget),g.current=!0};return ge.jsxs(se.Fragment,{children:[ge.jsx("div",{tabIndex:0,onFocus:w,ref:c,"data-test":"sentinelStart"}),se.cloneElement(t,{ref:p,onFocus:v}),ge.jsx("div",{tabIndex:0,onFocus:w,ref:l,"data-test":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(uo.propTypes={children:ei,disableAutoFocus:D.bool,disableEnforceFocus:D.bool,disableRestoreFocus:D.bool,getTabbable:D.func,isEnabled:D.func,open:D.bool.isRequired}),process.env.NODE_ENV!=="production"&&(uo["propTypes"]=Al(uo.propTypes));function Gm(e){return Wt("MuiModal",e)}jt("MuiModal",["root","hidden"]);const Jm=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"],Zm=e=>{const{open:t,exited:n,classes:r}=e;return Mn({root:["root",!t&&n&&"hidden"]},Gm,r)};function Xm(e){return typeof e=="function"?e():e}function ev(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const tv=new Qm,zl=se.forwardRef(function(t,n){const{BackdropComponent:r,BackdropProps:i,children:o,classes:s,className:a,closeAfterTransition:u=!1,component:c="div",components:l={},componentsProps:f={},container:d,disableAutoFocus:g=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:p=!1,disablePortal:m=!1,disableRestoreFocus:v=!1,disableScrollLock:w=!1,hideBackdrop:j=!1,keepMounted:I=!1,manager:T=tv,onBackdropClick:B,onClose:z,onKeyDown:H,open:W,theme:b,onTransitionEnter:k,onTransitionExited:R}=t,x=Rn(t,Jm),[N,S]=se.useState(!0),U=se.useRef({}),C=se.useRef(null),Z=se.useRef(null),ie=At(Z,n),L=ev(t),F=()=>Ft(C.current),P=()=>(U.current.modalRef=Z.current,U.current.mountNode=C.current,U.current),q=()=>{T.mount(P(),{disableScrollLock:w}),Z.current.scrollTop=0},K=hr(()=>{const he=Xm(d)||F().body;T.add(P(),he),Z.current&&q()}),ee=se.useCallback(()=>T.isTopModal(P()),[T]),O=hr(he=>{C.current=he,he&&(W&&ee()?q():oi(Z.current,!0))}),re=se.useCallback(()=>{T.remove(P())},[T]);se.useEffect(()=>()=>{re()},[re]),se.useEffect(()=>{W?K():(!L||!u)&&re()},[W,re,L,u,K]);const J=qe({},t,{classes:s,closeAfterTransition:u,disableAutoFocus:g,disableEnforceFocus:h,disableEscapeKeyDown:p,disablePortal:m,disableRestoreFocus:v,disableScrollLock:w,exited:N,hideBackdrop:j,keepMounted:I}),pe=Zm(J);if(!I&&!W&&(!L||N))return null;const V=()=>{S(!1),k&&k()},Q=()=>{S(!0),R&&R(),u&&re()},$=he=>{he.target===he.currentTarget&&(B&&B(he),z&&z(he,"backdropClick"))},de=he=>{H&&H(he),!(he.key!=="Escape"||!ee())&&(p||(he.stopPropagation(),z&&z(he,"escapeKeyDown")))},ne={};o.props.tabIndex===void 0&&(ne.tabIndex="-1"),L&&(ne.onEnter=Nl(V,o.props.onEnter),ne.onExited=Nl(Q,o.props.onExited));const fe=l.Root||c,Me=f.root||{};return ge.jsx(Rm,{ref:O,container:d,disablePortal:m,children:ge.jsxs(fe,qe({role:"presentation"},Me,!yl(fe)&&{as:c,ownerState:qe({},J,Me.ownerState),theme:b},x,{ref:ie,onKeyDown:de,className:at(pe.root,Me.className,a),children:[!j&&r?ge.jsx(r,qe({"aria-hidden":!0,open:W,onClick:$},i)):null,ge.jsx(uo,{disableEnforceFocus:h,disableAutoFocus:g,disableRestoreFocus:v,isEnabled:ee,open:W,children:se.cloneElement(o,ne)})]}))})});process.env.NODE_ENV!=="production"&&(zl.propTypes={BackdropComponent:D.elementType,BackdropProps:D.object,children:ei.isRequired,classes:D.object,className:D.string,closeAfterTransition:D.bool,component:D.elementType,components:D.shape({Root:D.elementType}),componentsProps:D.shape({root:D.object}),container:D.oneOfType([dr,D.func]),disableAutoFocus:D.bool,disableEnforceFocus:D.bool,disableEscapeKeyDown:D.bool,disablePortal:D.bool,disableRestoreFocus:D.bool,disableScrollLock:D.bool,hideBackdrop:D.bool,keepMounted:D.bool,onBackdropClick:D.func,onClose:D.func,onKeyDown:D.func,open:D.bool.isRequired});const nv=zl;function rv(e){if(e.sheet)return e.sheet;for(var t=0;t0?ct(pr,--vt):0,gr--,it===10&&(gr=1,ho--),it}function Et(){return it=vt2||ci(it)>3?"":" "}function pv(e,t){for(;--t&&Et()&&!(it<48||it>102||it>57&&it<65||it>70&&it<97););return ui(e,po()+(t<6&&Ht()==32&&Et()==32))}function ca(e){for(;Et();)switch(it){case e:return vt;case 34:case 39:e!==34&&e!==39&&ca(it);break;case 40:e===41&&ca(e);break;case 92:Et();break}return vt}function Mv(e,t){for(;Et()&&e+it!==47+10;)if(e+it===42+42&&Ht()===47)break;return"/*"+ui(t,vt-1)+"*"+lo(e===47?e:Et())}function yv(e){for(;!ci(Ht());)Et();return ui(e,vt)}function mv(e){return Yl(yo("",null,null,null,[""],e=Fl(e),0,[0],e))}function yo(e,t,n,r,i,o,s,a,u){for(var c=0,l=0,f=s,d=0,g=0,h=0,p=1,m=1,v=1,w=0,j="",I=i,T=o,B=r,z=j;m;)switch(h=w,w=Et()){case 40:if(h!=108&&ct(z,f-1)==58){aa(z+=ke(Mo(w),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:z+=Mo(w);break;case 9:case 10:case 13:case 32:z+=gv(h);break;case 92:z+=pv(po()-1,7);continue;case 47:switch(Ht()){case 42:case 47:fo(vv(Mv(Et(),po()),t,n),u);break;default:z+="/"}break;case 123*p:a[c++]=Vt(z)*v;case 125*p:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+l:v==-1&&(z=ke(z,/\f/g,"")),g>0&&Vt(z)-f&&fo(g>32?Ql(z+";",r,n,f-1):Ql(ke(z," ","")+";",r,n,f-2),u);break;case 59:z+=";";default:if(fo(B=Bl(z,t,n,c,l,i,a,j,I=[],T=[],f),o),w===123)if(l===0)yo(z,t,B,B,I,o,f,a,T);else switch(d===99&&ct(z,3)===110?100:d){case 100:case 109:case 115:yo(e,B,B,r&&fo(Bl(e,B,B,0,0,i,a,j,i,I=[],f),T),i,T,f,a,r?I:T);break;default:yo(z,B,B,B,[""],T,0,a,T)}}c=l=g=0,p=v=1,j=z="",f=s;break;case 58:f=1+Vt(z),g=h;default:if(p<1){if(w==123)--p;else if(w==125&&p++==0&&hv()==125)continue}switch(z+=lo(w),w*p){case 38:v=l>0?1:(z+="\f",-1);break;case 44:a[c++]=(Vt(z)-1)*v,v=1;break;case 64:Ht()===45&&(z+=Mo(Et())),d=Ht(),l=f=Vt(j=z+=yv(po())),w++;break;case 45:h===45&&Vt(z)==2&&(p=0)}}return o}function Bl(e,t,n,r,i,o,s,a,u,c,l){for(var f=i-1,d=i===0?o:[""],g=ua(d),h=0,p=0,m=0;h0?d[v]+" "+w:ke(w,/&\f/g,d[v])))&&(u[m++]=j);return go(e,t,n,i===0?oa:a,u,c,l)}function vv(e,t,n){return go(e,t,n,ia,lo(dv()),si(e,2,-2),0)}function Ql(e,t,n,r){return go(e,t,n,sa,si(e,0,r),si(e,r+1,-1),r)}function Mr(e,t){for(var n="",r=ua(e),i=0;i-1},Cv=function(t){return function(n,r,i){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var s=!!n.parent,a=s?n.parent.children:i,u=a.length-1;u>=0;u--){var c=a[u];if(c.line=0;r--)if(!Wl(n[r]))return!0;return!1},Vl=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Ov=function(t,n,r){Wl(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Vl(t)):xv(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Vl(t)))};function Hl(e,t){switch(cv(e,t)){case 5103:return _e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+co+e+ht+e+e;case 6828:case 4268:return _e+e+ht+e+e;case 6165:return _e+e+ht+"flex-"+e+e;case 5187:return _e+e+ke(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+ht+"flex-$1$2")+e;case 5443:return _e+e+ht+"flex-item-"+ke(e,/flex-|-self/,"")+e;case 4675:return _e+e+ht+"flex-line-pack"+ke(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+ht+ke(e,"shrink","negative")+e;case 5292:return _e+e+ht+ke(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+ke(e,"-grow","")+_e+e+ht+ke(e,"grow","positive")+e;case 4554:return _e+ke(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return ke(ke(ke(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return ke(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return ke(ke(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+ht+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return ke(e,/(.+)-inline(.+)/,_e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vt(e)-1-t>6)switch(ct(e,t+1)){case 109:if(ct(e,t+4)!==45)break;case 102:return ke(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+co+(ct(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~aa(e,"stretch")?Hl(ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ct(e,t+1)!==115)break;case 6444:switch(ct(e,Vt(e)-3-(~aa(e,"!important")&&10))){case 107:return ke(e,":",":"+_e)+e;case 101:return ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(ct(e,14)===45?"inline-":"")+"box$3$1"+_e+"$2$3$1"+ht+"$2box$3")+e}break;case 5936:switch(ct(e,t+11)){case 114:return _e+e+ht+ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+ht+ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+ht+ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+ht+e+e}return e}var Lv=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case sa:t.return=Hl(t.value,t.length);break;case Pl:return Mr([ai(t,{value:ke(t.value,"@","@"+_e)})],i);case oa:if(t.length)return fv(t.props,function(o){switch(lv(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mr([ai(t,{props:[ke(o,/:(read-\w+)/,":"+co+"$1")]})],i);case"::placeholder":return Mr([ai(t,{props:[ke(o,/:(plac\w+)/,":"+_e+"input-$1")]}),ai(t,{props:[ke(o,/:(plac\w+)/,":"+co+"$1")]}),ai(t,{props:[ke(o,/:(plac\w+)/,ht+"input-$1")]})],i)}return""})}},_v=[Lv],kv=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. +If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var m=p.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var i=t.stylisPlugins||_v;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var m=p.getAttribute("data-emotion").split(" "),v=1;v=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Uv={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ql=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Uw="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Rw=/[A-Z]|^ms/g,mf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Aa=function(t){return t.charCodeAt(1)===45},vf=function(t){return t!=null&&typeof t!="boolean"},Ia=Sc(function(e){return Aa(e)?e:e.replace(Rw,"-$&").toLowerCase()}),Do=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(mf,function(r,i,o){return Yt={name:i,styles:o,next:Yt},i})}return Pw[t]!==1&&!Aa(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var Fw=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Yw=["normal","none","initial","inherit","unset"],Bw=Do,Qw=/^-ms-/,$w=/-(.)/g,wf={};Do=function(t,n){if(t==="content"&&(typeof n!="string"||Yw.indexOf(n)===-1&&!Fw.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=Bw(t,n);return r!==""&&!Aa(t)&&t.indexOf("-")!==-1&&wf[t]===void 0&&(wf[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Qw,"ms-").replace($w,function(i,o){return o.toUpperCase()})+"?")),r}}var Df="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function fi(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Df);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Yt={name:n.name,styles:n.styles,next:Yt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Yt={name:r.name,styles:r.styles,next:Yt},r=r.next;var i=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(i+=n.map),i}return Ww(e,t,n)}case"function":{if(e!==void 0){var o=Yt,s=n(e);return Yt=o,fi(e,t,s)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var a=[],u=n.replace(mf,function(l,f,d){var g="animation"+a.length;return a.push("const "+g+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+u+"`"]).join(` +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Rv="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Fv=/[A-Z]|^ms/g,Kl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,fa=function(t){return t.charCodeAt(1)===45},Gl=function(t){return t!=null&&typeof t!="boolean"},da=dc(function(e){return fa(e)?e:e.replace(Fv,"-$&").toLowerCase()}),wo=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Kl,function(r,i,o){return Yt={name:i,styles:o,next:Yt},i})}return Uv[t]!==1&&!fa(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var Yv=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Bv=["normal","none","initial","inherit","unset"],Qv=wo,$v=/^-ms-/,Wv=/-(.)/g,Jl={};wo=function(t,n){if(t==="content"&&(typeof n!="string"||Bv.indexOf(n)===-1&&!Yv.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=Qv(t,n);return r!==""&&!fa(t)&&t.indexOf("-")!==-1&&Jl[t]===void 0&&(Jl[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace($v,"ms-").replace(Wv,function(i,o){return o.toUpperCase()})+"?")),r}}var Zl="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function li(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Zl);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Yt={name:n.name,styles:n.styles,next:Yt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Yt={name:r.name,styles:r.styles,next:Yt},r=r.next;var i=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(i+=n.map),i}return Vv(e,t,n)}case"function":{if(e!==void 0){var o=Yt,s=n(e);return Yt=o,li(e,t,s)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var a=[],u=n.replace(Kl,function(l,f,d){var g="animation"+a.length;return a.push("const "+g+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+u+"`"]).join(` `)+` You should wrap it with \`css\` like this: -`+("css`"+u+"`"))}break}if(t==null)return n;var c=t[n];return c!==void 0?c:n}function Ww(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.13.10","@emotion/css":"11.9.0","@emotion/css-prettifier":"1.0.1","@emotion/server":"11.4.0","@emotion/styled":"11.8.1","@types/react":"^16.9.11",dtslint:"^4.2.1","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact"}},jf=re["useInsertionEffect"]?re["useInsertionEffect"]:H.useLayoutEffect,Sf=!1,Jw=Eo(function(e,t){process.env.NODE_ENV!=="production"&&!Sf&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Sf=!0);var n=e.styles,r=yr([n],void 0,H.useContext(mr)),i=H.useRef();return jf(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),s.hydrate([u])),i.current=[s,a],function(){s.flush()}},[t]),jf(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&wo(t,r.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(Jw.displayName="EmotionGlobal");function Zw(){for(var e=arguments.length,t=new Array(e),n=0;n component."),s="";for(var a in o)o[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=o}s&&(i&&(i+=" "),i+=s)}}return i};function e0(e,t,n){var r=[],i=Ea(e,r,n);return r.length<2?n:i+t(r)}var t0=function(t){var n=t.cache,r=t.serializedArr;return If(function(){for(var i=0;i96?i0:o0},Lf=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},s0=re["useInsertionEffect"]?re["useInsertionEffect"]:function(t){t()};function a0(e){s0(e)}var _f=`You have illegal escape sequence in your template literal, most likely inside content's property value. +`+("css`"+u+"`"))}break}if(t==null)return n;var c=t[n];return c!==void 0?c:n}function Vv(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.13.10","@emotion/css":"11.9.0","@emotion/css-prettifier":"1.0.1","@emotion/server":"11.4.0","@emotion/styled":"11.8.1","@types/react":"^16.9.11",dtslint:"^4.2.1","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact"}},of=se["useInsertionEffect"]?se["useInsertionEffect"]:G.useLayoutEffect,sf=!1,Zv=Do(function(e,t){process.env.NODE_ENV!=="production"&&!sf&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),sf=!0);var n=e.styles,r=yr([n],void 0,G.useContext(mr)),i=G.useRef();return of(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),s.hydrate([u])),i.current=[s,a],function(){s.flush()}},[t]),of(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&vo(t,r.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(Zv.displayName="EmotionGlobal");function Xv(){for(var e=arguments.length,t=new Array(e),n=0;n component."),s="";for(var a in o)o[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=o}s&&(i&&(i+=" "),i+=s)}}return i};function tw(e,t,n){var r=[],i=la(e,r,n);return r.length<2?n:i+t(r)}var nw=function(t){var n=t.cache,r=t.serializedArr;return tf(function(){for(var i=0;i96?ow:sw},ff=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},aw=se["useInsertionEffect"]?se["useInsertionEffect"]:function(t){t()};function uw(e){aw(e)}var df=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,u0=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return vo(n,r,i),a0(function(){return wo(n,r,i)}),null},c0=function e(t,n){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Lf(t,n,r),u=a||Of(i),c=!u("as");return function(){var l=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),l[0]==null||l[0].raw===void 0)f.push.apply(f,l);else{process.env.NODE_ENV!=="production"&&l[0][0]===void 0&&console.error(_f),f.push(l[0][0]);for(var d=l.length,g=1;g{const i=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` -`)):r.some(o=>o===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),n(...r)}:n}const g0=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},p0=["values","unit","step"],M0=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>Me({},n,{[r.key]:r.val}),{})};function y0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=Ze(e,p0),o=M0(t),s=Object.keys(o);function a(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function u(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function c(d,g){const h=s.indexOf(g);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:g)-r/100}${n})`}function l(d){return s.indexOf(d)+1`@media (min-width:${Sa[e]}px)`};function tn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||kf;return t.reduce((s,a,u)=>(s[o.up(o.keys[u])]=n(t[u]),s),{})}if(typeof t=="object"){const o=r.breakpoints||kf;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||Sa).indexOf(a)!==-1){const u=o.up(a);s[u]=n(t[a],a)}else{const u=a;s[u]=t[u]}return s},{})}return n(t)}function v0(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function w0(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Ao(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Io(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Ao(e,n)||r,t&&(i=t(i,r,e)),i}function Be(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],u=s.theme,c=Ao(u,r)||{};return tn(s,a,f=>{let d=Io(c,i,f);return f===d&&typeof f=="string"&&(d=Io(c,i,`${t}${f==="default"?"":ri(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[t]:mn}:{},o.filterProps=[t],o}function D0(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const E0={m:"margin",p:"padding"},A0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},zf={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},I0=D0(e=>{if(e.length>2)if(zf[e])e=zf[e];else return[e];const[t,n]=e.split(""),r=E0[t],i=A0[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),No=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],To=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],N0=[...No,...To];function hi(e,t,n,r){var i;const o=(i=Ao(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),o*s):Array.isArray(o)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(` + */function gw(e,t){const n=hw(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const i=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` +`)):r.some(o=>o===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),n(...r)}:n}const pw=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Mw=["values","unit","step"],yw=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>qe({},n,{[r.key]:r.val}),{})};function mw(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=Rn(e,Mw),o=yw(t),s=Object.keys(o);function a(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function u(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function c(d,g){const h=s.indexOf(g);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:g)-r/100}${n})`}function l(d){return s.indexOf(d)+1`@media (min-width:${Ma[e]}px)`};function en(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||hf;return t.reduce((s,a,u)=>(s[o.up(o.keys[u])]=n(t[u]),s),{})}if(typeof t=="object"){const o=r.breakpoints||hf;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||Ma).indexOf(a)!==-1){const u=o.up(a);s[u]=n(t[a],a)}else{const u=a;s[u]=t[u]}return s},{})}return n(t)}function ww(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function Dw(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Ao(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Eo(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Ao(e,n)||r,t&&(i=t(i,r,e)),i}function Be(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],u=s.theme,c=Ao(u,r)||{};return en(s,a,f=>{let d=Eo(c,i,f);return f===d&&typeof f=="string"&&(d=Eo(c,i,`${t}${f==="default"?"":ni(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[t]:yn}:{},o.filterProps=[t],o}function Aw(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Ew={m:"margin",p:"padding"},Iw={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},gf={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Tw=Aw(e=>{if(e.length>2)if(gf[e])e=gf[e];else return[e];const[t,n]=e.split(""),r=Ew[t],i=Iw[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Io=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],To=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Nw=[...Io,...To];function di(e,t,n,r){var i;const o=(i=Ao(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),o*s):Array.isArray(o)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(` `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(` `))),o[s]):typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(` -`)),()=>{})}function Pf(e){return hi(e,"spacing",8,"spacing")}function gi(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function T0(e,t){return n=>e.reduce((r,i)=>(r[i]=gi(t,n),r),{})}function j0(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=I0(n),o=T0(i,r),s=e[n];return tn(e,s,o)}function Uf(e,t){const n=Pf(e.theme);return Object.keys(e).map(r=>j0(e,t,r,n)).reduce(di,{})}function et(e){return Uf(e,No)}et.propTypes=process.env.NODE_ENV!=="production"?No.reduce((e,t)=>(e[t]=mn,e),{}):{},et.filterProps=No;function tt(e){return Uf(e,To)}tt.propTypes=process.env.NODE_ENV!=="production"?To.reduce((e,t)=>(e[t]=mn,e),{}):{},tt.filterProps=To,process.env.NODE_ENV!=="production"&&N0.reduce((e,t)=>(e[t]=mn,e),{});function S0(e=8){if(e.mui)return e;const t=Pf({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function jo(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?di(i,t[o](r)):i,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,i)=>Object.assign(r,i.propTypes),{}):{},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function qt(e){return typeof e!="number"?e:`${e}px solid`}const b0=Be({prop:"border",themeKey:"borders",transform:qt}),C0=Be({prop:"borderTop",themeKey:"borders",transform:qt}),x0=Be({prop:"borderRight",themeKey:"borders",transform:qt}),O0=Be({prop:"borderBottom",themeKey:"borders",transform:qt}),L0=Be({prop:"borderLeft",themeKey:"borders",transform:qt}),_0=Be({prop:"borderColor",themeKey:"palette"}),k0=Be({prop:"borderTopColor",themeKey:"palette"}),z0=Be({prop:"borderRightColor",themeKey:"palette"}),P0=Be({prop:"borderBottomColor",themeKey:"palette"}),U0=Be({prop:"borderLeftColor",themeKey:"palette"}),So=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=hi(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:gi(t,r)});return tn(e,e.borderRadius,n)}return null};So.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:mn}:{},So.filterProps=["borderRadius"],jo(b0,C0,x0,O0,L0,_0,k0,z0,P0,U0,So);const bo=e=>{if(e.gap!==void 0&&e.gap!==null){const t=hi(e.theme,"spacing",8,"gap"),n=r=>({gap:gi(t,r)});return tn(e,e.gap,n)}return null};bo.propTypes=process.env.NODE_ENV!=="production"?{gap:mn}:{},bo.filterProps=["gap"];const Co=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=hi(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:gi(t,r)});return tn(e,e.columnGap,n)}return null};Co.propTypes=process.env.NODE_ENV!=="production"?{columnGap:mn}:{},Co.filterProps=["columnGap"];const xo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=hi(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:gi(t,r)});return tn(e,e.rowGap,n)}return null};xo.propTypes=process.env.NODE_ENV!=="production"?{rowGap:mn}:{},xo.filterProps=["rowGap"];const R0=Be({prop:"gridColumn"}),F0=Be({prop:"gridRow"}),Y0=Be({prop:"gridAutoFlow"}),B0=Be({prop:"gridAutoColumns"}),Q0=Be({prop:"gridAutoRows"}),$0=Be({prop:"gridTemplateColumns"}),W0=Be({prop:"gridTemplateRows"}),V0=Be({prop:"gridTemplateAreas"}),H0=Be({prop:"gridArea"});jo(bo,Co,xo,R0,F0,Y0,B0,Q0,$0,W0,V0,H0);function vr(e,t){return t==="grey"?t:e}const q0=Be({prop:"color",themeKey:"palette",transform:vr}),K0=Be({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:vr}),G0=Be({prop:"backgroundColor",themeKey:"palette",transform:vr});jo(q0,K0,G0);function It(e){return e<=1&&e!==0?`${e*100}%`:e}const J0=Be({prop:"width",transform:It}),ba=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||Sa[n]||It(n)}};return tn(e,e.maxWidth,t)}return null};ba.filterProps=["maxWidth"];const Z0=Be({prop:"minWidth",transform:It}),X0=Be({prop:"height",transform:It}),eD=Be({prop:"maxHeight",transform:It}),tD=Be({prop:"minHeight",transform:It});Be({prop:"size",cssProperty:"width",transform:It}),Be({prop:"size",cssProperty:"height",transform:It});const nD=Be({prop:"boxSizing"});jo(J0,ba,Z0,X0,eD,tD,nD);const Rf={border:{themeKey:"borders",transform:qt},borderTop:{themeKey:"borders",transform:qt},borderRight:{themeKey:"borders",transform:qt},borderBottom:{themeKey:"borders",transform:qt},borderLeft:{themeKey:"borders",transform:qt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:So},color:{themeKey:"palette",transform:vr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:vr},backgroundColor:{themeKey:"palette",transform:vr},p:{style:tt},pt:{style:tt},pr:{style:tt},pb:{style:tt},pl:{style:tt},px:{style:tt},py:{style:tt},padding:{style:tt},paddingTop:{style:tt},paddingRight:{style:tt},paddingBottom:{style:tt},paddingLeft:{style:tt},paddingX:{style:tt},paddingY:{style:tt},paddingInline:{style:tt},paddingInlineStart:{style:tt},paddingInlineEnd:{style:tt},paddingBlock:{style:tt},paddingBlockStart:{style:tt},paddingBlockEnd:{style:tt},m:{style:et},mt:{style:et},mr:{style:et},mb:{style:et},ml:{style:et},mx:{style:et},my:{style:et},margin:{style:et},marginTop:{style:et},marginRight:{style:et},marginBottom:{style:et},marginLeft:{style:et},marginX:{style:et},marginY:{style:et},marginInline:{style:et},marginInlineStart:{style:et},marginInlineEnd:{style:et},marginBlock:{style:et},marginBlockStart:{style:et},marginBlockEnd:{style:et},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:bo},rowGap:{style:xo},columnGap:{style:Co},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:It},maxWidth:{style:ba},minWidth:{transform:It},height:{transform:It},maxHeight:{transform:It},minHeight:{transform:It},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function rD(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function iD(e,t){return typeof e=="function"?e(t):e}function oD(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:u=n,themeKey:c,transform:l,style:f}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const d=Ao(i,c)||{};return f?f(s):tn(s,r,h=>{let p=Io(d,l,h);return h===p&&typeof h=="string"&&(p=Io(d,l,`${n}${h==="default"?"":ri(h)}`,h)),u===!1?p:{[u]:p}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:Rf;function a(u){let c=u;if(typeof u=="function")c=u(o);else if(typeof u!="object")return u;if(!c)return null;const l=v0(o.breakpoints),f=Object.keys(l);let d=l;return Object.keys(c).forEach(g=>{const h=iD(c[g],o);if(h!=null)if(typeof h=="object")if(s[g])d=di(d,e(g,h,o,s));else{const p=tn({theme:o},h,m=>({[g]:m}));rD(p,h)?d[g]=t({sx:h,theme:o}):d=di(d,p)}else d=di(d,e(g,h,o,s))}),w0(f,d)}return Array.isArray(i)?i.map(a):a(i)}return t}const Ff=oD();Ff.filterProps=["sx"];const Yf=Ff,sD=["breakpoints","palette","spacing","shape"];function Ca(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=Ze(e,sD),a=y0(n),u=S0(i);let c=en({breakpoints:a,direction:"ltr",components:{},palette:Me({mode:"light"},r),spacing:u,shape:Me({},m0,o)},s);return c=t.reduce((l,f)=>en(l,f),c),c.unstable_sxConfig=Me({},Rf,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(f){return Yf({sx:f,theme:this})},c}function aD(e){return Object.keys(e).length===0}function uD(e=null){const t=re.useContext(mr);return!t||aD(t)?e:t}const cD=Ca();function Bf(e=cD){return uD(e)}const lD=["variant"];function Qf(e){return e.length===0}function $f(e){const{variant:t}=e,n=Ze(e,lD);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Qf(r)?e[i]:ri(e[i]):r+=`${Qf(r)?i:ri(i)}${ri(e[i].toString())}`}),r}const fD=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function dD(e){return Object.keys(e).length===0}function hD(e){return typeof e=="string"&&e.charCodeAt(0)>96}const gD=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,pD=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=$f(i.props);r[o]=i.style}),r},MD=(e,t,n,r)=>{var i,o;const{ownerState:s={}}=e,a=[],u=n==null||(i=n.components)==null||(o=i[r])==null?void 0:o.variants;return u&&u.forEach(c=>{let l=!0;Object.keys(c.props).forEach(f=>{s[f]!==c.props[f]&&e[f]!==c.props[f]&&(l=!1)}),l&&a.push(t[$f(c.props)])}),a};function Oo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const yD=Ca(),mD=e=>e.charAt(0).toLowerCase()+e.slice(1);function pi({defaultTheme:e,theme:t,themeId:n}){return dD(t)?e:t[n]||t}function vD(e={}){const{themeId:t,defaultTheme:n=yD,rootShouldForwardProp:r=Oo,slotShouldForwardProp:i=Oo}=e,o=s=>Yf(Me({},s,{theme:pi(Me({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{g0(s,N=>N.filter(I=>!(I!=null&&I.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:l,skipSx:f,overridesResolver:d}=a,g=Ze(a,fD),h=l!==void 0?l:c&&c!=="Root"||!1,p=f||!1;let m;process.env.NODE_ENV!=="production"&&u&&(m=`${u}-${mD(c||"Root")}`);let v=Oo;c==="Root"?v=r:c?v=i:hD(s)&&(v=void 0);const w=h0(s,Me({shouldForwardProp:v,label:m},g)),j=(N,...I)=>{const B=I?I.map(b=>typeof b=="function"&&b.__emotion_real!==b?k=>b(Me({},k,{theme:pi(Me({},k,{defaultTheme:n,themeId:t}))})):b):[];let z=N;u&&d&&B.push(b=>{const k=pi(Me({},b,{defaultTheme:n,themeId:t})),R=gD(u,k);if(R){const x={};return Object.entries(R).forEach(([T,S])=>{x[T]=typeof S=="function"?S(Me({},b,{theme:k})):S}),d(b,x)}return null}),u&&!h&&B.push(b=>{const k=pi(Me({},b,{defaultTheme:n,themeId:t}));return MD(b,pD(u,k),k,u)}),p||B.push(o);const W=B.length-I.length;if(Array.isArray(N)&&W>0){const b=new Array(W).fill("");z=[...N,...b],z.raw=[...N.raw,...b]}else typeof N=="function"&&N.__emotion_real!==N&&(z=b=>N(Me({},b,{theme:pi(Me({},b,{defaultTheme:n,themeId:t}))})));const $=w(z,...B);if(process.env.NODE_ENV!=="production"){let b;u&&(b=`${u}${c||""}`),b===void 0&&(b=`Styled(${Av(s)})`),$.displayName=b}return s.muiName&&($.muiName=s.muiName),$};return w.withConfig&&(j.withConfig=w.withConfig),j}}function wD(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:ef(t.components[n].defaultProps,r)}function DD({props:e,name:t,defaultTheme:n,themeId:r}){let i=Bf(n);return r&&(i=i[r]||i),wD({theme:i,name:t,props:e})}function xa(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(en)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Math.min(Math.max(t,e),n)}function ED(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Fn(e){if(e.type)return e;if(e.charAt(0)==="#")return Fn(ED(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color. -The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ni(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${i}\` color space. -The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ni(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Lo(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function AD(e){e=Fn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,l=(c+n/30)%12)=>i-o*Math.max(Math.min(l-3,9-l,1),-1);let a="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",u.push(t[3])),Lo({type:a,values:u})}function Wf(e){e=Fn(e);let t=e.type==="hsl"||e.type==="hsla"?Fn(AD(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Vf(e,t){const n=Wf(e),r=Wf(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function wr(e,t){return e=Fn(e),t=xa(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Lo(e)}function ID(e,t){if(e=Fn(e),t=xa(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Lo(e)}function ND(e,t){if(e=Fn(e),t=xa(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Lo(e)}function TD(e,t){return Me({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Mi={black:"#000",white:"#fff"},jD={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Dr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Er={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},yi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ar={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ir={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Nr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},SD=["mode","contrastThreshold","tonalOffset"],Hf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Mi.white,default:Mi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Oa={text:{primary:Mi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Mi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function qf(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ND(e.main,i):t==="dark"&&(e.dark=ID(e.main,o)))}function bD(e="light"){return e==="dark"?{main:Ar[200],light:Ar[50],dark:Ar[400]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function CD(e="light"){return e==="dark"?{main:Dr[200],light:Dr[50],dark:Dr[400]}:{main:Dr[500],light:Dr[300],dark:Dr[700]}}function xD(e="light"){return e==="dark"?{main:Er[500],light:Er[300],dark:Er[700]}:{main:Er[700],light:Er[400],dark:Er[800]}}function OD(e="light"){return e==="dark"?{main:Ir[400],light:Ir[300],dark:Ir[700]}:{main:Ir[700],light:Ir[500],dark:Ir[900]}}function LD(e="light"){return e==="dark"?{main:Nr[400],light:Nr[300],dark:Nr[700]}:{main:Nr[800],light:Nr[500],dark:Nr[900]}}function _D(e="light"){return e==="dark"?{main:yi[400],light:yi[300],dark:yi[700]}:{main:"#ed6c02",light:yi[500],dark:yi[900]}}function kD(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=Ze(e,SD),o=e.primary||bD(t),s=e.secondary||CD(t),a=e.error||xD(t),u=e.info||OD(t),c=e.success||LD(t),l=e.warning||_D(t);function f(p){const m=Vf(p,Oa.text.primary)>=n?Oa.text.primary:Hf.text.primary;if(process.env.NODE_ENV!=="production"){const v=Vf(p,m);v<3&&console.error([`MUI: The contrast ratio of ${v}:1 for ${m} on ${p}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(` -`))}return m}const d=({color:p,name:m,mainShade:v=500,lightShade:w=300,darkShade:j=700})=>{if(p=Me({},p),!p.main&&p[v]&&(p.main=p[v]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${m?` (${m})`:""} provided to augmentColor(color) is invalid. -The color object needs to have a \`main\` property or a \`${v}\` property.`:ni(11,m?` (${m})`:"",v));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${m?` (${m})`:""} provided to augmentColor(color) is invalid. +`)),()=>{})}function pf(e){return di(e,"spacing",8,"spacing")}function hi(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function jw(e,t){return n=>e.reduce((r,i)=>(r[i]=hi(t,n),r),{})}function Sw(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=Tw(n),o=jw(i,r),s=e[n];return en(e,s,o)}function Mf(e,t){const n=pf(e.theme);return Object.keys(e).map(r=>Sw(e,t,r,n)).reduce(fi,{})}function et(e){return Mf(e,Io)}et.propTypes=process.env.NODE_ENV!=="production"?Io.reduce((e,t)=>(e[t]=yn,e),{}):{},et.filterProps=Io;function tt(e){return Mf(e,To)}tt.propTypes=process.env.NODE_ENV!=="production"?To.reduce((e,t)=>(e[t]=yn,e),{}):{},tt.filterProps=To,process.env.NODE_ENV!=="production"&&Nw.reduce((e,t)=>(e[t]=yn,e),{});function bw(e=8){if(e.mui)return e;const t=pf({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function No(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?fi(i,t[o](r)):i,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,i)=>Object.assign(r,i.propTypes),{}):{},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function qt(e){return typeof e!="number"?e:`${e}px solid`}const Cw=Be({prop:"border",themeKey:"borders",transform:qt}),xw=Be({prop:"borderTop",themeKey:"borders",transform:qt}),Ow=Be({prop:"borderRight",themeKey:"borders",transform:qt}),Lw=Be({prop:"borderBottom",themeKey:"borders",transform:qt}),_w=Be({prop:"borderLeft",themeKey:"borders",transform:qt}),kw=Be({prop:"borderColor",themeKey:"palette"}),zw=Be({prop:"borderTopColor",themeKey:"palette"}),Pw=Be({prop:"borderRightColor",themeKey:"palette"}),Uw=Be({prop:"borderBottomColor",themeKey:"palette"}),Rw=Be({prop:"borderLeftColor",themeKey:"palette"}),jo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=di(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:hi(t,r)});return en(e,e.borderRadius,n)}return null};jo.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:yn}:{},jo.filterProps=["borderRadius"],No(Cw,xw,Ow,Lw,_w,kw,zw,Pw,Uw,Rw,jo);const So=e=>{if(e.gap!==void 0&&e.gap!==null){const t=di(e.theme,"spacing",8,"gap"),n=r=>({gap:hi(t,r)});return en(e,e.gap,n)}return null};So.propTypes=process.env.NODE_ENV!=="production"?{gap:yn}:{},So.filterProps=["gap"];const bo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=di(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:hi(t,r)});return en(e,e.columnGap,n)}return null};bo.propTypes=process.env.NODE_ENV!=="production"?{columnGap:yn}:{},bo.filterProps=["columnGap"];const Co=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=di(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:hi(t,r)});return en(e,e.rowGap,n)}return null};Co.propTypes=process.env.NODE_ENV!=="production"?{rowGap:yn}:{},Co.filterProps=["rowGap"];const Fw=Be({prop:"gridColumn"}),Yw=Be({prop:"gridRow"}),Bw=Be({prop:"gridAutoFlow"}),Qw=Be({prop:"gridAutoColumns"}),$w=Be({prop:"gridAutoRows"}),Ww=Be({prop:"gridTemplateColumns"}),Vw=Be({prop:"gridTemplateRows"}),Hw=Be({prop:"gridTemplateAreas"}),qw=Be({prop:"gridArea"});No(So,bo,Co,Fw,Yw,Bw,Qw,$w,Ww,Vw,Hw,qw);function vr(e,t){return t==="grey"?t:e}const Kw=Be({prop:"color",themeKey:"palette",transform:vr}),Gw=Be({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:vr}),Jw=Be({prop:"backgroundColor",themeKey:"palette",transform:vr});No(Kw,Gw,Jw);function It(e){return e<=1&&e!==0?`${e*100}%`:e}const Zw=Be({prop:"width",transform:It}),ya=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||Ma[n]||It(n)}};return en(e,e.maxWidth,t)}return null};ya.filterProps=["maxWidth"];const Xw=Be({prop:"minWidth",transform:It}),e0=Be({prop:"height",transform:It}),t0=Be({prop:"maxHeight",transform:It}),n0=Be({prop:"minHeight",transform:It});Be({prop:"size",cssProperty:"width",transform:It}),Be({prop:"size",cssProperty:"height",transform:It});const r0=Be({prop:"boxSizing"});No(Zw,ya,Xw,e0,t0,n0,r0);const yf={border:{themeKey:"borders",transform:qt},borderTop:{themeKey:"borders",transform:qt},borderRight:{themeKey:"borders",transform:qt},borderBottom:{themeKey:"borders",transform:qt},borderLeft:{themeKey:"borders",transform:qt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jo},color:{themeKey:"palette",transform:vr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:vr},backgroundColor:{themeKey:"palette",transform:vr},p:{style:tt},pt:{style:tt},pr:{style:tt},pb:{style:tt},pl:{style:tt},px:{style:tt},py:{style:tt},padding:{style:tt},paddingTop:{style:tt},paddingRight:{style:tt},paddingBottom:{style:tt},paddingLeft:{style:tt},paddingX:{style:tt},paddingY:{style:tt},paddingInline:{style:tt},paddingInlineStart:{style:tt},paddingInlineEnd:{style:tt},paddingBlock:{style:tt},paddingBlockStart:{style:tt},paddingBlockEnd:{style:tt},m:{style:et},mt:{style:et},mr:{style:et},mb:{style:et},ml:{style:et},mx:{style:et},my:{style:et},margin:{style:et},marginTop:{style:et},marginRight:{style:et},marginBottom:{style:et},marginLeft:{style:et},marginX:{style:et},marginY:{style:et},marginInline:{style:et},marginInlineStart:{style:et},marginInlineEnd:{style:et},marginBlock:{style:et},marginBlockStart:{style:et},marginBlockEnd:{style:et},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:So},rowGap:{style:Co},columnGap:{style:bo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:It},maxWidth:{style:ya},minWidth:{transform:It},height:{transform:It},maxHeight:{transform:It},minHeight:{transform:It},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function i0(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function o0(e,t){return typeof e=="function"?e(t):e}function s0(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:u=n,themeKey:c,transform:l,style:f}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const d=Ao(i,c)||{};return f?f(s):en(s,r,h=>{let p=Eo(d,l,h);return h===p&&typeof h=="string"&&(p=Eo(d,l,`${n}${h==="default"?"":ni(h)}`,h)),u===!1?p:{[u]:p}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:yf;function a(u){let c=u;if(typeof u=="function")c=u(o);else if(typeof u!="object")return u;if(!c)return null;const l=ww(o.breakpoints),f=Object.keys(l);let d=l;return Object.keys(c).forEach(g=>{const h=o0(c[g],o);if(h!=null)if(typeof h=="object")if(s[g])d=fi(d,e(g,h,o,s));else{const p=en({theme:o},h,m=>({[g]:m}));i0(p,h)?d[g]=t({sx:h,theme:o}):d=fi(d,p)}else d=fi(d,e(g,h,o,s))}),Dw(f,d)}return Array.isArray(i)?i.map(a):a(i)}return t}const mf=s0();mf.filterProps=["sx"];const vf=mf,a0=["breakpoints","palette","spacing","shape"];function ma(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=Rn(e,a0),a=mw(n),u=bw(i);let c=Xt({breakpoints:a,direction:"ltr",components:{},palette:qe({mode:"light"},r),spacing:u,shape:qe({},vw,o)},s);return c=t.reduce((l,f)=>Xt(l,f),c),c.unstable_sxConfig=qe({},yf,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(f){return vf({sx:f,theme:this})},c}function u0(e){return Object.keys(e).length===0}function c0(e=null){const t=se.useContext(mr);return!t||u0(t)?e:t}const l0=ma();function wf(e=l0){return c0(e)}const f0=["variant"];function Df(e){return e.length===0}function Af(e){const{variant:t}=e,n=Rn(e,f0);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Df(r)?e[i]:ni(e[i]):r+=`${Df(r)?i:ni(i)}${ni(e[i].toString())}`}),r}const d0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h0(e){return Object.keys(e).length===0}function g0(e){return typeof e=="string"&&e.charCodeAt(0)>96}const p0=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,M0=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=Af(i.props);r[o]=i.style}),r},y0=(e,t,n,r)=>{var i,o;const{ownerState:s={}}=e,a=[],u=n==null||(i=n.components)==null||(o=i[r])==null?void 0:o.variants;return u&&u.forEach(c=>{let l=!0;Object.keys(c.props).forEach(f=>{s[f]!==c.props[f]&&e[f]!==c.props[f]&&(l=!1)}),l&&a.push(t[Af(c.props)])}),a};function xo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const m0=ma(),v0=e=>e.charAt(0).toLowerCase()+e.slice(1);function gi({defaultTheme:e,theme:t,themeId:n}){return h0(t)?e:t[n]||t}function w0(e={}){const{themeId:t,defaultTheme:n=m0,rootShouldForwardProp:r=xo,slotShouldForwardProp:i=xo}=e,o=s=>vf(qe({},s,{theme:gi(qe({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{pw(s,I=>I.filter(T=>!(T!=null&&T.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:l,skipSx:f,overridesResolver:d}=a,g=Rn(a,d0),h=l!==void 0?l:c&&c!=="Root"||!1,p=f||!1;let m;process.env.NODE_ENV!=="production"&&u&&(m=`${u}-${v0(c||"Root")}`);let v=xo;c==="Root"?v=r:c?v=i:g0(s)&&(v=void 0);const w=gw(s,qe({shouldForwardProp:v,label:m},g)),j=(I,...T)=>{const B=T?T.map(b=>typeof b=="function"&&b.__emotion_real!==b?k=>b(qe({},k,{theme:gi(qe({},k,{defaultTheme:n,themeId:t}))})):b):[];let z=I;u&&d&&B.push(b=>{const k=gi(qe({},b,{defaultTheme:n,themeId:t})),R=p0(u,k);if(R){const x={};return Object.entries(R).forEach(([N,S])=>{x[N]=typeof S=="function"?S(qe({},b,{theme:k})):S}),d(b,x)}return null}),u&&!h&&B.push(b=>{const k=gi(qe({},b,{defaultTheme:n,themeId:t}));return y0(b,M0(u,k),k,u)}),p||B.push(o);const H=B.length-T.length;if(Array.isArray(I)&&H>0){const b=new Array(H).fill("");z=[...I,...b],z.raw=[...I.raw,...b]}else typeof I=="function"&&I.__emotion_real!==I&&(z=b=>I(qe({},b,{theme:gi(qe({},b,{defaultTheme:n,themeId:t}))})));const W=w(z,...B);if(process.env.NODE_ENV!=="production"){let b;u&&(b=`${u}${c||""}`),b===void 0&&(b=`Styled(${Im(s)})`),W.displayName=b}return s.muiName&&(W.muiName=s.muiName),W};return w.withConfig&&(j.withConfig=w.withConfig),j}}function D0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Ol(t.components[n].defaultProps,r)}function A0({props:e,name:t,defaultTheme:n,themeId:r}){let i=wf(n);return r&&(i=i[r]||i),D0({theme:i,name:t,props:e})}function va(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(en)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Math.min(Math.max(t,e),n)}function E0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Fn(e){if(e.type)return e;if(e.charAt(0)==="#")return Fn(E0(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color. +The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ti(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${i}\` color space. +The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ti(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Oo(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function I0(e){e=Fn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,l=(c+n/30)%12)=>i-o*Math.max(Math.min(l-3,9-l,1),-1);let a="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",u.push(t[3])),Oo({type:a,values:u})}function Ef(e){e=Fn(e);let t=e.type==="hsl"||e.type==="hsla"?Fn(I0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function If(e,t){const n=Ef(e),r=Ef(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function wr(e,t){return e=Fn(e),t=va(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Oo(e)}function T0(e,t){if(e=Fn(e),t=va(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Oo(e)}function N0(e,t){if(e=Fn(e),t=va(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Oo(e)}function j0(e,t){return we({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const pi={black:"#000",white:"#fff"},S0={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Dr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ar={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Mi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Er={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ir={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Tr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b0=["mode","contrastThreshold","tonalOffset"],Tf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:pi.white,default:pi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},wa={text:{primary:pi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:pi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Nf(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=N0(e.main,i):t==="dark"&&(e.dark=T0(e.main,o)))}function C0(e="light"){return e==="dark"?{main:Er[200],light:Er[50],dark:Er[400]}:{main:Er[700],light:Er[400],dark:Er[800]}}function x0(e="light"){return e==="dark"?{main:Dr[200],light:Dr[50],dark:Dr[400]}:{main:Dr[500],light:Dr[300],dark:Dr[700]}}function O0(e="light"){return e==="dark"?{main:Ar[500],light:Ar[300],dark:Ar[700]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function L0(e="light"){return e==="dark"?{main:Ir[400],light:Ir[300],dark:Ir[700]}:{main:Ir[700],light:Ir[500],dark:Ir[900]}}function _0(e="light"){return e==="dark"?{main:Tr[400],light:Tr[300],dark:Tr[700]}:{main:Tr[800],light:Tr[500],dark:Tr[900]}}function k0(e="light"){return e==="dark"?{main:Mi[400],light:Mi[300],dark:Mi[700]}:{main:"#ed6c02",light:Mi[500],dark:Mi[900]}}function z0(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=st(e,b0),o=e.primary||C0(t),s=e.secondary||x0(t),a=e.error||O0(t),u=e.info||L0(t),c=e.success||_0(t),l=e.warning||k0(t);function f(p){const m=If(p,wa.text.primary)>=n?wa.text.primary:Tf.text.primary;if(process.env.NODE_ENV!=="production"){const v=If(p,m);v<3&&console.error([`MUI: The contrast ratio of ${v}:1 for ${m} on ${p}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(` +`))}return m}const d=({color:p,name:m,mainShade:v=500,lightShade:w=300,darkShade:j=700})=>{if(p=we({},p),!p.main&&p[v]&&(p.main=p[v]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${m?` (${m})`:""} provided to augmentColor(color) is invalid. +The color object needs to have a \`main\` property or a \`${v}\` property.`:ti(11,m?` (${m})`:"",v));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${m?` (${m})`:""} provided to augmentColor(color) is invalid. \`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead. Did you intend to use one of the following approaches? @@ -252,15 +234,15 @@ const theme1 = createTheme({ palette: { const theme2 = createTheme({ palette: { primary: { main: green[500] }, -} });`:ni(12,m?` (${m})`:"",JSON.stringify(p.main)));return qf(p,"light",w,r),qf(p,"dark",j,r),p.contrastText||(p.contrastText=f(p.main)),p},g={dark:Oa,light:Hf};return process.env.NODE_ENV!=="production"&&(g[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),en(Me({common:Me({},Mi),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:l,name:"warning"}),info:d({color:u,name:"info"}),success:d({color:c,name:"success"}),grey:jD,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},g[t]),i)}const zD=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function PD(e){return Math.round(e*1e5)/1e5}const Kf={textTransform:"uppercase"},Gf='"Roboto", "Helvetica", "Arial", sans-serif';function UD(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Gf,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:l,pxToRem:f}=n,d=Ze(n,zD);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=i/14,h=f||(v=>`${v/c*g}rem`),p=(v,w,j,N,I)=>Me({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:j},r===Gf?{letterSpacing:`${PD(N/w)}em`}:{},I,l),m={h1:p(o,96,1.167,-1.5),h2:p(o,60,1.2,-.5),h3:p(s,48,1.167,0),h4:p(s,34,1.235,.25),h5:p(s,24,1.334,0),h6:p(a,20,1.6,.15),subtitle1:p(s,16,1.75,.15),subtitle2:p(a,14,1.57,.1),body1:p(s,16,1.5,.15),body2:p(s,14,1.43,.15),button:p(a,14,1.75,.4,Kf),caption:p(s,12,1.66,.4),overline:p(s,12,2.66,1,Kf)};return en(Me({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:u},m),d,{clone:!1})}const RD=.2,FD=.14,YD=.12;function Xe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${RD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${FD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${YD})`].join(",")}const BD=["none",Xe(0,2,1,-1,0,1,1,0,0,1,3,0),Xe(0,3,1,-2,0,2,2,0,0,1,5,0),Xe(0,3,3,-2,0,3,4,0,0,1,8,0),Xe(0,2,4,-1,0,4,5,0,0,1,10,0),Xe(0,3,5,-1,0,5,8,0,0,1,14,0),Xe(0,3,5,-1,0,6,10,0,0,1,18,0),Xe(0,4,5,-2,0,7,10,1,0,2,16,1),Xe(0,5,5,-3,0,8,10,1,0,3,14,2),Xe(0,5,6,-3,0,9,12,1,0,3,16,2),Xe(0,6,6,-3,0,10,14,1,0,4,18,3),Xe(0,6,7,-4,0,11,15,1,0,4,20,3),Xe(0,7,8,-4,0,12,17,2,0,5,22,4),Xe(0,7,8,-4,0,13,19,2,0,5,24,4),Xe(0,7,9,-4,0,14,21,2,0,5,26,4),Xe(0,8,9,-5,0,15,22,2,0,6,28,5),Xe(0,8,10,-5,0,16,24,2,0,6,30,5),Xe(0,8,11,-5,0,17,26,2,0,6,32,5),Xe(0,9,11,-5,0,18,28,2,0,7,34,6),Xe(0,9,12,-6,0,19,29,2,0,7,36,6),Xe(0,10,13,-6,0,20,31,3,0,8,38,7),Xe(0,10,13,-6,0,21,33,3,0,8,40,7),Xe(0,10,14,-6,0,22,35,3,0,8,42,7),Xe(0,11,14,-7,0,23,36,3,0,9,44,8),Xe(0,11,15,-7,0,24,38,3,0,9,46,8)],QD=["duration","easing","delay"],$D={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},WD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Jf(e){return`${Math.round(e)}ms`}function VD(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function HD(e){const t=Me({},$D,e.easing),n=Me({},WD,e.duration);return Me({getAutoHeightDuration:VD,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:u=0}=o,c=Ze(o,QD);if(process.env.NODE_ENV!=="production"){const l=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!l(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(s)&&!l(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),l(a)||console.error('MUI: Argument "easing" must be a string.'),!f(u)&&!l(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(l=>`${l} ${typeof s=="string"?s:Jf(s)} ${a} ${typeof u=="string"?u:Jf(u)}`).join(",")}},e,{easing:t,duration:n})}const qD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},KD=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function GD(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=Ze(e,KD),a=kD(r),u=Ca(e);let c=en(u,{mixins:TD(u.breakpoints,n),palette:a,shadows:BD.slice(),typography:UD(a,o),transitions:HD(i),zIndex:Me({},qD)});if(c=en(c,s),c=t.reduce((l,f)=>en(l,f),c),process.env.NODE_ENV!=="production"){const l=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,g)=>{let h;for(h in d){const p=d[h];if(l.indexOf(h)!==-1&&Object.keys(p).length>0){if(process.env.NODE_ENV!=="production"){const m=Wt("",h);console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${h}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${m}' syntax:`,JSON.stringify({root:{[`&.${m}`]:p}},null,2),"","https://mui.com/r/state-classes-guide"].join(` -`))}d[h]={}}}};Object.keys(c.components).forEach(d=>{const g=c.components[d].styleOverrides;g&&d.indexOf("Mui")===0&&f(g,d)})}return c}const La=GD(),_a=e=>Oo(e)&&e!=="classes",vt=vD({defaultTheme:La,rootShouldForwardProp:_a});function nn({props:e,name:t}){return DD({props:e,name:t,defaultTheme:La})}const Zf=re.createContext({});process.env.NODE_ENV!=="production"&&(Zf.displayName="ListContext");const ka=Zf;function JD(e){return Wt("MuiList",e)}jt("MuiList",["root","padding","dense","subheader"]);const ZD=["children","className","component","dense","disablePadding","subheader"],XD=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return yn({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},JD,t)},eE=vt("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Me({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Xf=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiList"}),{children:i,className:o,component:s="ul",dense:a=!1,disablePadding:u=!1,subheader:c}=r,l=Ze(r,ZD),f=re.useMemo(()=>({dense:a}),[a]),d=Me({},r,{component:s,dense:a,disablePadding:u}),g=XD(d);return pe.jsx(ka.Provider,{value:f,children:pe.jsxs(eE,Me({as:s,className:st(g.root,o),ref:n,ownerState:d},l,{children:[c,i]}))})});process.env.NODE_ENV!=="production"&&(Xf.propTypes={children:D.node,classes:D.object,className:D.string,component:D.elementType,dense:D.bool,disablePadding:D.bool,subheader:D.node,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object])});const tE=Xf,nE=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function za(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function ed(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function td(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function mi(e,t,n,r,i,o){let s=!1,a=i(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const u=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!td(a,o)||u)a=i(e,a,n);else return a.focus(),!0}return!1}const nd=re.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:s,className:a,disabledItemsFocusable:u=!1,disableListWrap:c=!1,onKeyDown:l,variant:f="selectedMenu"}=t,d=Ze(t,nE),g=re.useRef(null),h=re.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});oi(()=>{i&&g.current.focus()},[i]),re.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(j,N)=>{const I=!g.current.style.width;if(j.clientHeight{const N=g.current,I=j.key,B=Ft(N).activeElement;if(I==="ArrowDown")j.preventDefault(),mi(N,B,c,u,za);else if(I==="ArrowUp")j.preventDefault(),mi(N,B,c,u,ed);else if(I==="Home")j.preventDefault(),mi(N,null,c,u,za);else if(I==="End")j.preventDefault(),mi(N,null,c,u,ed);else if(I.length===1){const z=h.current,W=I.toLowerCase(),$=performance.now();z.keys.length>0&&($-z.lastTime>500?(z.keys=[],z.repeating=!0,z.previousKeyMatched=!0):z.repeating&&W!==z.keys[0]&&(z.repeating=!1)),z.lastTime=$,z.keys.push(W);const b=B&&!z.repeating&&td(B,z);z.previousKeyMatched&&(b||mi(N,B,!1,u,za,z))?j.preventDefault():z.previousKeyMatched=!1}l&&l(j)},m=Et(g,n);let v=-1;re.Children.forEach(s,(j,N)=>{re.isValidElement(j)&&(process.env.NODE_ENV!=="production"&&so.isFragment(j)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(` -`)),j.props.disabled||(f==="selectedMenu"&&j.props.selected||v===-1)&&(v=N))});const w=re.Children.map(s,(j,N)=>{if(N===v){const I={};return o&&(I.autoFocus=!0),j.props.tabIndex===void 0&&f==="selectedMenu"&&(I.tabIndex=0),re.cloneElement(j,I)}return j});return pe.jsx(tE,Me({role:"menu",ref:m,className:a,onKeyDown:p,tabIndex:i?0:-1},d,{children:w}))});process.env.NODE_ENV!=="production"&&(nd.propTypes={autoFocus:D.bool,autoFocusItem:D.bool,children:D.node,className:D.string,disabledItemsFocusable:D.bool,disableListWrap:D.bool,onKeyDown:D.func,variant:D.oneOf(["menu","selectedMenu"])});const rE=nd;function _o(){const e=Bf(La);return process.env.NODE_ENV!=="production"&&re.useDebugValue(e),e}function iE(e){return Wt("MuiPaper",e)}jt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const oE=["className","component","elevation","square","variant"],rd=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},sE=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return yn(o,iE,i)},aE=vt("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return Me({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&Me({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${wr("#fff",rd(t.elevation))}, ${wr("#fff",rd(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),id=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:u="elevation"}=r,c=Ze(r,oE),l=Me({},r,{component:o,elevation:s,square:a,variant:u}),f=sE(l);return process.env.NODE_ENV!=="production"&&_o().shadows[s]===void 0&&console.error([`MUI: The elevation provided is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(` -`)),pe.jsx(aE,Me({as:o,ownerState:l,className:st(f.root,i),ref:n},c))});process.env.NODE_ENV!=="production"&&(id.propTypes={children:D.node,classes:D.object,className:D.string,component:D.elementType,elevation:ei(Xl,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:D.bool,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),variant:D.oneOfType([D.oneOf(["elevation","outlined"]),D.string])});const od=id;function Pa(e,t){return Pa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Pa(e,t)}function sd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pa(e,t)}const ad={disabled:!1};var uE=process.env.NODE_ENV!=="production"?D.oneOfType([D.number,D.shape({enter:D.number,exit:D.number,appear:D.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&D.oneOfType([D.string,D.shape({enter:D.string,exit:D.string,active:D.string}),D.shape({enter:D.string,enterDone:D.string,enterActive:D.string,exit:D.string,exitDone:D.string,exitActive:D.string})]);const ko=H.createContext(null);var cE=function(t){return t.scrollTop},vi="unmounted",Yn="exited",Bn="entering",Tr="entered",Ua="exiting",rn=function(e){sd(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,u;return o.appearStatus=null,r.in?a?(u=Yn,o.appearStatus=Bn):u=Tr:r.unmountOnExit||r.mountOnEnter?u=vi:u=Yn,o.state={status:u},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===vi?{status:Yn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Bn&&s!==Tr&&(o=Bn):(s===Bn||s===Tr)&&(o=Ua)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Bn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:xn.findDOMNode(this);s&&cE(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yn&&this.setState({status:vi})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,u=this.props.nodeRef?[a]:[xn.findDOMNode(this),a],c=u[0],l=u[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!i&&!s||ad.disabled){this.safeSetState({status:Tr},function(){o.props.onEntered(c)});return}this.props.onEnter(c,l),this.safeSetState({status:Bn},function(){o.props.onEntering(c,l),o.onTransitionEnd(d,function(){o.safeSetState({status:Tr},function(){o.props.onEntered(c,l)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:xn.findDOMNode(this);if(!o||ad.disabled){this.safeSetState({status:Yn},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Ua},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Yn},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:xn.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=u[0],l=u[1];this.props.addEndListener(c,l)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===vi)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=Ze(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return H.createElement(ko.Provider,{value:null},typeof s=="function"?s(i,a):H.cloneElement(H.Children.only(s),a))},t}(H.Component);rn.contextType=ko,rn.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:D.shape({current:typeof Element>"u"?D.any:function(e,t,n,r,i,o){var s=e[t];return D.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:D.oneOfType([D.func.isRequired,D.element.isRequired]).isRequired,in:D.bool,mountOnEnter:D.bool,unmountOnExit:D.bool,appear:D.bool,enter:D.bool,exit:D.bool,timeout:function(t){var n=uE;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;oe.scrollTop;function zo(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}const yE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ya(e){return`scale(${e}, ${e**2})`}const mE={entering:{opacity:1,transform:Ya(1)},entered:{opacity:1,transform:"none"}},Ba=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),Qa=re.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:u,onEntered:c,onEntering:l,onExit:f,onExited:d,onExiting:g,style:h,timeout:p="auto",TransitionComponent:m=ud}=t,v=Ze(t,yE),w=re.useRef(),j=re.useRef(),N=_o(),I=re.useRef(null),B=Et(o.ref,n),z=Et(I,B),W=U=>C=>{if(U){const Z=I.current;C===void 0?U(Z):U(Z,C)}},$=W(l),b=W((U,C)=>{cd(U);const{duration:Z,delay:oe,easing:L}=zo({style:h,timeout:p,easing:s},{mode:"enter"});let F;p==="auto"?(F=N.transitions.getAutoHeightDuration(U.clientHeight),j.current=F):F=Z,U.style.transition=[N.transitions.create("opacity",{duration:F,delay:oe}),N.transitions.create("transform",{duration:Ba?F:F*.666,delay:oe,easing:L})].join(","),u&&u(U,C)}),k=W(c),R=W(g),x=W(U=>{const{duration:C,delay:Z,easing:oe}=zo({style:h,timeout:p,easing:s},{mode:"exit"});let L;p==="auto"?(L=N.transitions.getAutoHeightDuration(U.clientHeight),j.current=L):L=C,U.style.transition=[N.transitions.create("opacity",{duration:L,delay:Z}),N.transitions.create("transform",{duration:Ba?L:L*.666,delay:Ba?Z:Z||L*.333,easing:oe})].join(","),U.style.opacity=0,U.style.transform=Ya(.75),f&&f(U)}),T=W(d),S=U=>{p==="auto"&&(w.current=setTimeout(U,j.current||0)),r&&r(I.current,U)};return re.useEffect(()=>()=>{clearTimeout(w.current)},[]),pe.jsx(m,Me({appear:i,in:a,nodeRef:I,onEnter:b,onEntered:k,onEntering:$,onExit:x,onExited:T,onExiting:R,addEndListener:S,timeout:p==="auto"?null:p},v,{children:(U,C)=>re.cloneElement(o,Me({style:Me({opacity:0,transform:Ya(.75),visibility:U==="exited"&&!a?"hidden":void 0},mE[U],h,o.props.style),ref:z},C))}))});process.env.NODE_ENV!=="production"&&(Qa.propTypes={addEndListener:D.func,appear:D.bool,children:ti.isRequired,easing:D.oneOfType([D.shape({enter:D.string,exit:D.string}),D.string]),in:D.bool,onEnter:D.func,onEntered:D.func,onEntering:D.func,onExit:D.func,onExited:D.func,onExiting:D.func,style:D.object,timeout:D.oneOfType([D.oneOf(["auto"]),D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})])}),Qa.muiSupportAuto=!0;const vE=Qa,wE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],DE={entering:{opacity:1},entered:{opacity:1}},ld=re.forwardRef(function(t,n){const r=_o(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:u,in:c,onEnter:l,onEntered:f,onEntering:d,onExit:g,onExited:h,onExiting:p,style:m,timeout:v=i,TransitionComponent:w=ud}=t,j=Ze(t,wE),N=re.useRef(null),I=Et(a.ref,n),B=Et(N,I),z=S=>U=>{if(S){const C=N.current;U===void 0?S(C):S(C,U)}},W=z(d),$=z((S,U)=>{cd(S);const C=zo({style:m,timeout:v,easing:u},{mode:"enter"});S.style.webkitTransition=r.transitions.create("opacity",C),S.style.transition=r.transitions.create("opacity",C),l&&l(S,U)}),b=z(f),k=z(p),R=z(S=>{const U=zo({style:m,timeout:v,easing:u},{mode:"exit"});S.style.webkitTransition=r.transitions.create("opacity",U),S.style.transition=r.transitions.create("opacity",U),g&&g(S)}),x=z(h),T=S=>{o&&o(N.current,S)};return pe.jsx(w,Me({appear:s,in:c,nodeRef:N,onEnter:$,onEntered:b,onEntering:W,onExit:R,onExited:x,onExiting:k,addEndListener:T,timeout:v},j,{children:(S,U)=>re.cloneElement(a,Me({style:Me({opacity:0,visibility:S==="exited"&&!c?"hidden":void 0},DE[S],m,a.props.style),ref:B},U))}))});process.env.NODE_ENV!=="production"&&(ld.propTypes={addEndListener:D.func,appear:D.bool,children:ti.isRequired,easing:D.oneOfType([D.shape({enter:D.string,exit:D.string}),D.string]),in:D.bool,onEnter:D.func,onEntered:D.func,onEntering:D.func,onExit:D.func,onExited:D.func,onExiting:D.func,style:D.object,timeout:D.oneOfType([D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})])});const EE=ld;function AE(e){return Wt("MuiBackdrop",e)}jt("MuiBackdrop",["root","invisible"]);const IE=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],NE=e=>{const{classes:t,invisible:n}=e;return yn({root:["root",n&&"invisible"]},AE,t)},TE=vt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>Me({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),fd=re.forwardRef(function(t,n){var r,i;const o=nn({props:t,name:"MuiBackdrop"}),{children:s,component:a="div",components:u={},componentsProps:c={},className:l,invisible:f=!1,open:d,transitionDuration:g,TransitionComponent:h=EE}=o,p=Ze(o,IE),m=Me({},o,{component:a,invisible:f}),v=NE(m);return pe.jsx(h,Me({in:d,timeout:g},p,{children:pe.jsx(TE,{"aria-hidden":!0,as:(r=u.Root)!=null?r:a,className:st(v.root,l),ownerState:Me({},m,(i=c.root)==null?void 0:i.ownerState),classes:v,ref:n,children:s})}))});process.env.NODE_ENV!=="production"&&(fd.propTypes={children:D.node,classes:D.object,className:D.string,component:D.elementType,components:D.shape({Root:D.elementType}),componentsProps:D.shape({root:D.object}),invisible:D.bool,open:D.bool.isRequired,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),transitionDuration:D.oneOfType([D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})])});const jE=fd,SE=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],bE=e=>e.classes,CE=vt("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Me({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),xE=vt(jE,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),dd=re.forwardRef(function(t,n){var r;const i=nn({name:"MuiModal",props:t}),{BackdropComponent:o=xE,closeAfterTransition:s=!1,children:a,components:u={},componentsProps:c={},disableAutoFocus:l=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:d=!1,disablePortal:g=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:m=!1,keepMounted:v=!1}=i,w=Ze(i,SE),[j,N]=re.useState(!0),I={closeAfterTransition:s,disableAutoFocus:l,disableEnforceFocus:f,disableEscapeKeyDown:d,disablePortal:g,disableRestoreFocus:h,disableScrollLock:p,hideBackdrop:m,keepMounted:v},B=Me({},i,I,{exited:j}),z=bE(B);return pe.jsx(tw,Me({components:Me({Root:CE},u),componentsProps:{root:Me({},c.root,(!u.Root||!Rl(u.Root))&&{ownerState:Me({},(r=c.root)==null?void 0:r.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>N(!1),onTransitionExited:()=>N(!0),ref:n},w,{classes:z},I,{children:a}))});process.env.NODE_ENV!=="production"&&(dd.propTypes={BackdropComponent:D.elementType,BackdropProps:D.object,children:ti.isRequired,classes:D.object,closeAfterTransition:D.bool,components:D.shape({Root:D.elementType}),componentsProps:D.shape({root:D.object}),container:D.oneOfType([dr,D.func]),disableAutoFocus:D.bool,disableEnforceFocus:D.bool,disableEscapeKeyDown:D.bool,disablePortal:D.bool,disableRestoreFocus:D.bool,disableScrollLock:D.bool,hideBackdrop:D.bool,keepMounted:D.bool,onBackdropClick:D.func,onClose:D.func,open:D.bool.isRequired,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object])});const OE=dd;function LE(e){return Wt("MuiPopover",e)}jt("MuiPopover",["root","paper"]);const _E=["onEntering"],kE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function hd(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function gd(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function pd(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Po(e){return typeof e=="function"?e():e}const zE=e=>{const{classes:t}=e;return yn({root:["root"],paper:["paper"]},LE,t)},PE=vt(OE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),UE=vt(od,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Md=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiPopover"}),{action:i,anchorEl:o,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:u="anchorEl",children:c,className:l,container:f,elevation:d=8,marginThreshold:g=16,open:h,PaperProps:p={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:v=vE,transitionDuration:w="auto",TransitionProps:{onEntering:j}={}}=r,N=Ze(r.TransitionProps,_E),I=Ze(r,kE),B=re.useRef(),z=Et(B,p.ref),W=Me({},r,{anchorOrigin:s,anchorReference:u,elevation:d,marginThreshold:g,PaperProps:p,transformOrigin:m,TransitionComponent:v,transitionDuration:w,TransitionProps:N}),$=zE(W),b=re.useCallback(()=>{if(u==="anchorPosition")return process.env.NODE_ENV!=="production"&&(a||console.error('MUI: You need to provide a `anchorPosition` prop when using .')),a;const C=Po(o),Z=C&&C.nodeType===1?C:Ft(B.current).body,oe=Z.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const L=Z.getBoundingClientRect();process.env.NODE_ENV!=="test"&&L.top===0&&L.left===0&&L.right===0&&L.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(` -`))}return{top:oe.top+hd(oe,s.vertical),left:oe.left+gd(oe,s.horizontal)}},[o,s.horizontal,s.vertical,a,u]),k=re.useCallback(C=>({vertical:hd(C,m.vertical),horizontal:gd(C,m.horizontal)}),[m.horizontal,m.vertical]),R=re.useCallback(C=>{const Z={width:C.offsetWidth,height:C.offsetHeight},oe=k(Z);if(u==="none")return{top:null,left:null,transformOrigin:pd(oe)};const L=b();let F=L.top-oe.vertical,P=L.left-oe.horizontal;const K=F+Z.height,G=P+Z.width,ee=ii(Po(o)),O=ee.innerHeight-g,ie=ee.innerWidth-g;if(FO){const J=K-O;F-=J,oe.vertical+=J}if(process.env.NODE_ENV!=="production"&&Z.height>O&&Z.height&&O&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${Z.height-O}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(` -`)),Pie){const J=G-ie;P-=J,oe.horizontal+=J}return{top:`${Math.round(F)}px`,left:`${Math.round(P)}px`,transformOrigin:pd(oe)}},[o,u,b,k,g]),x=re.useCallback(()=>{const C=B.current;if(!C)return;const Z=R(C);Z.top!==null&&(C.style.top=Z.top),Z.left!==null&&(C.style.left=Z.left),C.style.transformOrigin=Z.transformOrigin},[R]),T=(C,Z)=>{j&&j(C,Z),x()};re.useEffect(()=>{h&&x()}),re.useImperativeHandle(i,()=>h?{updatePosition:()=>{x()}}:null,[h,x]),re.useEffect(()=>{if(!h)return;const C=Iv(()=>{x()}),Z=ii(o);return Z.addEventListener("resize",C),()=>{C.clear(),Z.removeEventListener("resize",C)}},[o,h,x]);let S=w;w==="auto"&&!v.muiSupportAuto&&(S=void 0);const U=f||(o?Ft(Po(o)).body:void 0);return pe.jsx(PE,Me({BackdropProps:{invisible:!0},className:st($.root,l),container:U,open:h,ref:n,ownerState:W},I,{children:pe.jsx(v,Me({appear:!0,in:h,onEntering:T,timeout:S},N,{children:pe.jsx(UE,Me({elevation:d},p,{ref:z,className:st($.paper,p.className),children:c}))}))}))});process.env.NODE_ENV!=="production"&&(Md.propTypes={action:Hl,anchorEl:ei(D.oneOfType([dr,D.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=Po(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(` +} });`:ti(12,m?` (${m})`:"",JSON.stringify(p.main)));return Nf(p,"light",w,r),Nf(p,"dark",j,r),p.contrastText||(p.contrastText=f(p.main)),p},g={dark:wa,light:Tf};return process.env.NODE_ENV!=="production"&&(g[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Xt(we({common:we({},pi),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:l,name:"warning"}),info:d({color:u,name:"info"}),success:d({color:c,name:"success"}),grey:S0,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},g[t]),i)}const P0=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function U0(e){return Math.round(e*1e5)/1e5}const jf={textTransform:"uppercase"},Sf='"Roboto", "Helvetica", "Arial", sans-serif';function R0(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Sf,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:l,pxToRem:f}=n,d=st(n,P0);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=i/14,h=f||(v=>`${v/c*g}rem`),p=(v,w,j,I,T)=>we({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:j},r===Sf?{letterSpacing:`${U0(I/w)}em`}:{},T,l),m={h1:p(o,96,1.167,-1.5),h2:p(o,60,1.2,-.5),h3:p(s,48,1.167,0),h4:p(s,34,1.235,.25),h5:p(s,24,1.334,0),h6:p(a,20,1.6,.15),subtitle1:p(s,16,1.75,.15),subtitle2:p(a,14,1.57,.1),body1:p(s,16,1.5,.15),body2:p(s,14,1.43,.15),button:p(a,14,1.75,.4,jf),caption:p(s,12,1.66,.4),overline:p(s,12,2.66,1,jf)};return Xt(we({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:u},m),d,{clone:!1})}const F0=.2,Y0=.14,B0=.12;function Xe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${F0})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Y0})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${B0})`].join(",")}const Q0=["none",Xe(0,2,1,-1,0,1,1,0,0,1,3,0),Xe(0,3,1,-2,0,2,2,0,0,1,5,0),Xe(0,3,3,-2,0,3,4,0,0,1,8,0),Xe(0,2,4,-1,0,4,5,0,0,1,10,0),Xe(0,3,5,-1,0,5,8,0,0,1,14,0),Xe(0,3,5,-1,0,6,10,0,0,1,18,0),Xe(0,4,5,-2,0,7,10,1,0,2,16,1),Xe(0,5,5,-3,0,8,10,1,0,3,14,2),Xe(0,5,6,-3,0,9,12,1,0,3,16,2),Xe(0,6,6,-3,0,10,14,1,0,4,18,3),Xe(0,6,7,-4,0,11,15,1,0,4,20,3),Xe(0,7,8,-4,0,12,17,2,0,5,22,4),Xe(0,7,8,-4,0,13,19,2,0,5,24,4),Xe(0,7,9,-4,0,14,21,2,0,5,26,4),Xe(0,8,9,-5,0,15,22,2,0,6,28,5),Xe(0,8,10,-5,0,16,24,2,0,6,30,5),Xe(0,8,11,-5,0,17,26,2,0,6,32,5),Xe(0,9,11,-5,0,18,28,2,0,7,34,6),Xe(0,9,12,-6,0,19,29,2,0,7,36,6),Xe(0,10,13,-6,0,20,31,3,0,8,38,7),Xe(0,10,13,-6,0,21,33,3,0,8,40,7),Xe(0,10,14,-6,0,22,35,3,0,8,42,7),Xe(0,11,14,-7,0,23,36,3,0,9,44,8),Xe(0,11,15,-7,0,24,38,3,0,9,46,8)],$0=["duration","easing","delay"],W0={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},V0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bf(e){return`${Math.round(e)}ms`}function H0(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function q0(e){const t=we({},W0,e.easing),n=we({},V0,e.duration);return we({getAutoHeightDuration:H0,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:u=0}=o,c=st(o,$0);if(process.env.NODE_ENV!=="production"){const l=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!l(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(s)&&!l(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),l(a)||console.error('MUI: Argument "easing" must be a string.'),!f(u)&&!l(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(l=>`${l} ${typeof s=="string"?s:bf(s)} ${a} ${typeof u=="string"?u:bf(u)}`).join(",")}},e,{easing:t,duration:n})}const K0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},G0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function J0(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=st(e,G0),a=z0(r),u=ma(e);let c=Xt(u,{mixins:j0(u.breakpoints,n),palette:a,shadows:Q0.slice(),typography:R0(a,o),transitions:q0(i),zIndex:we({},K0)});if(c=Xt(c,s),c=t.reduce((l,f)=>Xt(l,f),c),process.env.NODE_ENV!=="production"){const l=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,g)=>{let h;for(h in d){const p=d[h];if(l.indexOf(h)!==-1&&Object.keys(p).length>0){if(process.env.NODE_ENV!=="production"){const m=Wt("",h);console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${h}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${m}' syntax:`,JSON.stringify({root:{[`&.${m}`]:p}},null,2),"","https://mui.com/r/state-classes-guide"].join(` +`))}d[h]={}}}};Object.keys(c.components).forEach(d=>{const g=c.components[d].styleOverrides;g&&d.indexOf("Mui")===0&&f(g,d)})}return c}const Da=J0(),Aa=e=>xo(e)&&e!=="classes",wt=w0({defaultTheme:Da,rootShouldForwardProp:Aa});function tn({props:e,name:t}){return A0({props:e,name:t,defaultTheme:Da})}const Cf=se.createContext({});process.env.NODE_ENV!=="production"&&(Cf.displayName="ListContext");const Ea=Cf;function Z0(e){return Wt("MuiList",e)}jt("MuiList",["root","padding","dense","subheader"]);const X0=["children","className","component","dense","disablePadding","subheader"],eD=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Mn({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},Z0,t)},tD=wt("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>we({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),xf=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiList"}),{children:i,className:o,component:s="ul",dense:a=!1,disablePadding:u=!1,subheader:c}=r,l=st(r,X0),f=se.useMemo(()=>({dense:a}),[a]),d=we({},r,{component:s,dense:a,disablePadding:u}),g=eD(d);return ge.jsx(Ea.Provider,{value:f,children:ge.jsxs(tD,we({as:s,className:at(g.root,o),ref:n,ownerState:d},l,{children:[c,i]}))})});process.env.NODE_ENV!=="production"&&(xf.propTypes={children:D.node,classes:D.object,className:D.string,component:D.elementType,dense:D.bool,disablePadding:D.bool,subheader:D.node,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object])});const nD=xf,rD=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Ia(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Of(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Lf(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function yi(e,t,n,r,i,o){let s=!1,a=i(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const u=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!Lf(a,o)||u)a=i(e,a,n);else return a.focus(),!0}return!1}const _f=se.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:s,className:a,disabledItemsFocusable:u=!1,disableListWrap:c=!1,onKeyDown:l,variant:f="selectedMenu"}=t,d=st(t,rD),g=se.useRef(null),h=se.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ii(()=>{i&&g.current.focus()},[i]),se.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(j,I)=>{const T=!g.current.style.width;if(j.clientHeight{const I=g.current,T=j.key,B=Ft(I).activeElement;if(T==="ArrowDown")j.preventDefault(),yi(I,B,c,u,Ia);else if(T==="ArrowUp")j.preventDefault(),yi(I,B,c,u,Of);else if(T==="Home")j.preventDefault(),yi(I,null,c,u,Ia);else if(T==="End")j.preventDefault(),yi(I,null,c,u,Of);else if(T.length===1){const z=h.current,H=T.toLowerCase(),W=performance.now();z.keys.length>0&&(W-z.lastTime>500?(z.keys=[],z.repeating=!0,z.previousKeyMatched=!0):z.repeating&&H!==z.keys[0]&&(z.repeating=!1)),z.lastTime=W,z.keys.push(H);const b=B&&!z.repeating&&Lf(B,z);z.previousKeyMatched&&(b||yi(I,B,!1,u,Ia,z))?j.preventDefault():z.previousKeyMatched=!1}l&&l(j)},m=At(g,n);let v=-1;se.Children.forEach(s,(j,I)=>{se.isValidElement(j)&&(process.env.NODE_ENV!=="production"&&oo.isFragment(j)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(` +`)),j.props.disabled||(f==="selectedMenu"&&j.props.selected||v===-1)&&(v=I))});const w=se.Children.map(s,(j,I)=>{if(I===v){const T={};return o&&(T.autoFocus=!0),j.props.tabIndex===void 0&&f==="selectedMenu"&&(T.tabIndex=0),se.cloneElement(j,T)}return j});return ge.jsx(nD,we({role:"menu",ref:m,className:a,onKeyDown:p,tabIndex:i?0:-1},d,{children:w}))});process.env.NODE_ENV!=="production"&&(_f.propTypes={autoFocus:D.bool,autoFocusItem:D.bool,children:D.node,className:D.string,disabledItemsFocusable:D.bool,disableListWrap:D.bool,onKeyDown:D.func,variant:D.oneOf(["menu","selectedMenu"])});const iD=_f;function Lo(){const e=wf(Da);return process.env.NODE_ENV!=="production"&&se.useDebugValue(e),e}function oD(e){return Wt("MuiPaper",e)}jt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const sD=["className","component","elevation","square","variant"],kf=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},aD=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Mn(o,oD,i)},uD=wt("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return we({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&we({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${wr("#fff",kf(t.elevation))}, ${wr("#fff",kf(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),zf=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:u="elevation"}=r,c=st(r,sD),l=we({},r,{component:o,elevation:s,square:a,variant:u}),f=aD(l);return process.env.NODE_ENV!=="production"&&Lo().shadows[s]===void 0&&console.error([`MUI: The elevation provided is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(` +`)),ge.jsx(uD,we({as:o,ownerState:l,className:at(f.root,i),ref:n},c))});process.env.NODE_ENV!=="production"&&(zf.propTypes={children:D.node,classes:D.object,className:D.string,component:D.elementType,elevation:Xr(xl,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:D.bool,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),variant:D.oneOfType([D.oneOf(["elevation","outlined"]),D.string])});const Pf=zf;function Ta(e,t){return Ta=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ta(e,t)}function Uf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ta(e,t)}const Rf={disabled:!1};var cD=process.env.NODE_ENV!=="production"?D.oneOfType([D.number,D.shape({enter:D.number,exit:D.number,appear:D.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&D.oneOfType([D.string,D.shape({enter:D.string,exit:D.string,active:D.string}),D.shape({enter:D.string,enterDone:D.string,enterActive:D.string,exit:D.string,exitDone:D.string,exitActive:D.string})]);const _o=G.createContext(null);var lD=function(t){return t.scrollTop},mi="unmounted",Yn="exited",Bn="entering",Nr="entered",Na="exiting",nn=function(e){Uf(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,u;return o.appearStatus=null,r.in?a?(u=Yn,o.appearStatus=Bn):u=Nr:r.unmountOnExit||r.mountOnEnter?u=mi:u=Yn,o.state={status:u},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===mi?{status:Yn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Bn&&s!==Nr&&(o=Bn):(s===Bn||s===Nr)&&(o=Na)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Bn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Cn.findDOMNode(this);s&&lD(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yn&&this.setState({status:mi})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,u=this.props.nodeRef?[a]:[Cn.findDOMNode(this),a],c=u[0],l=u[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!i&&!s||Rf.disabled){this.safeSetState({status:Nr},function(){o.props.onEntered(c)});return}this.props.onEnter(c,l),this.safeSetState({status:Bn},function(){o.props.onEntering(c,l),o.onTransitionEnd(d,function(){o.safeSetState({status:Nr},function(){o.props.onEntered(c,l)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Cn.findDOMNode(this);if(!o||Rf.disabled){this.safeSetState({status:Yn},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Na},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Yn},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Cn.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=u[0],l=u[1];this.props.addEndListener(c,l)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===mi)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=Rn(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return G.createElement(_o.Provider,{value:null},typeof s=="function"?s(i,a):G.cloneElement(G.Children.only(s),a))},t}(G.Component);nn.contextType=_o,nn.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:D.shape({current:typeof Element>"u"?D.any:function(e,t,n,r,i,o){var s=e[t];return D.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:D.oneOfType([D.func.isRequired,D.element.isRequired]).isRequired,in:D.bool,mountOnEnter:D.bool,unmountOnExit:D.bool,appear:D.bool,enter:D.bool,exit:D.bool,timeout:function(t){var n=cD;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;oe.scrollTop;function ko(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}const mD=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ba(e){return`scale(${e}, ${e**2})`}const vD={entering:{opacity:1,transform:ba(1)},entered:{opacity:1,transform:"none"}},Ca=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),xa=se.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:u,onEntered:c,onEntering:l,onExit:f,onExited:d,onExiting:g,style:h,timeout:p="auto",TransitionComponent:m=Ff}=t,v=st(t,mD),w=se.useRef(),j=se.useRef(),I=Lo(),T=se.useRef(null),B=At(o.ref,n),z=At(T,B),H=U=>C=>{if(U){const Z=T.current;C===void 0?U(Z):U(Z,C)}},W=H(l),b=H((U,C)=>{Yf(U);const{duration:Z,delay:ie,easing:L}=ko({style:h,timeout:p,easing:s},{mode:"enter"});let F;p==="auto"?(F=I.transitions.getAutoHeightDuration(U.clientHeight),j.current=F):F=Z,U.style.transition=[I.transitions.create("opacity",{duration:F,delay:ie}),I.transitions.create("transform",{duration:Ca?F:F*.666,delay:ie,easing:L})].join(","),u&&u(U,C)}),k=H(c),R=H(g),x=H(U=>{const{duration:C,delay:Z,easing:ie}=ko({style:h,timeout:p,easing:s},{mode:"exit"});let L;p==="auto"?(L=I.transitions.getAutoHeightDuration(U.clientHeight),j.current=L):L=C,U.style.transition=[I.transitions.create("opacity",{duration:L,delay:Z}),I.transitions.create("transform",{duration:Ca?L:L*.666,delay:Ca?Z:Z||L*.333,easing:ie})].join(","),U.style.opacity=0,U.style.transform=ba(.75),f&&f(U)}),N=H(d),S=U=>{p==="auto"&&(w.current=setTimeout(U,j.current||0)),r&&r(T.current,U)};return se.useEffect(()=>()=>{clearTimeout(w.current)},[]),ge.jsx(m,we({appear:i,in:a,nodeRef:T,onEnter:b,onEntered:k,onEntering:W,onExit:x,onExited:N,onExiting:R,addEndListener:S,timeout:p==="auto"?null:p},v,{children:(U,C)=>se.cloneElement(o,we({style:we({opacity:0,transform:ba(.75),visibility:U==="exited"&&!a?"hidden":void 0},vD[U],h,o.props.style),ref:z},C))}))});process.env.NODE_ENV!=="production"&&(xa.propTypes={addEndListener:D.func,appear:D.bool,children:ei.isRequired,easing:D.oneOfType([D.shape({enter:D.string,exit:D.string}),D.string]),in:D.bool,onEnter:D.func,onEntered:D.func,onEntering:D.func,onExit:D.func,onExited:D.func,onExiting:D.func,style:D.object,timeout:D.oneOfType([D.oneOf(["auto"]),D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})])}),xa.muiSupportAuto=!0;const wD=xa,DD=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],AD={entering:{opacity:1},entered:{opacity:1}},Bf=se.forwardRef(function(t,n){const r=Lo(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:u,in:c,onEnter:l,onEntered:f,onEntering:d,onExit:g,onExited:h,onExiting:p,style:m,timeout:v=i,TransitionComponent:w=Ff}=t,j=st(t,DD),I=se.useRef(null),T=At(a.ref,n),B=At(I,T),z=S=>U=>{if(S){const C=I.current;U===void 0?S(C):S(C,U)}},H=z(d),W=z((S,U)=>{Yf(S);const C=ko({style:m,timeout:v,easing:u},{mode:"enter"});S.style.webkitTransition=r.transitions.create("opacity",C),S.style.transition=r.transitions.create("opacity",C),l&&l(S,U)}),b=z(f),k=z(p),R=z(S=>{const U=ko({style:m,timeout:v,easing:u},{mode:"exit"});S.style.webkitTransition=r.transitions.create("opacity",U),S.style.transition=r.transitions.create("opacity",U),g&&g(S)}),x=z(h),N=S=>{o&&o(I.current,S)};return ge.jsx(w,we({appear:s,in:c,nodeRef:I,onEnter:W,onEntered:b,onEntering:H,onExit:R,onExited:x,onExiting:k,addEndListener:N,timeout:v},j,{children:(S,U)=>se.cloneElement(a,we({style:we({opacity:0,visibility:S==="exited"&&!c?"hidden":void 0},AD[S],m,a.props.style),ref:B},U))}))});process.env.NODE_ENV!=="production"&&(Bf.propTypes={addEndListener:D.func,appear:D.bool,children:ei.isRequired,easing:D.oneOfType([D.shape({enter:D.string,exit:D.string}),D.string]),in:D.bool,onEnter:D.func,onEntered:D.func,onEntering:D.func,onExit:D.func,onExited:D.func,onExiting:D.func,style:D.object,timeout:D.oneOfType([D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})])});const ED=Bf;function ID(e){return Wt("MuiBackdrop",e)}jt("MuiBackdrop",["root","invisible"]);const TD=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],ND=e=>{const{classes:t,invisible:n}=e;return Mn({root:["root",n&&"invisible"]},ID,t)},jD=wt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>we({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Qf=se.forwardRef(function(t,n){var r,i;const o=tn({props:t,name:"MuiBackdrop"}),{children:s,component:a="div",components:u={},componentsProps:c={},className:l,invisible:f=!1,open:d,transitionDuration:g,TransitionComponent:h=ED}=o,p=st(o,TD),m=we({},o,{component:a,invisible:f}),v=ND(m);return ge.jsx(h,we({in:d,timeout:g},p,{children:ge.jsx(jD,{"aria-hidden":!0,as:(r=u.Root)!=null?r:a,className:at(v.root,l),ownerState:we({},m,(i=c.root)==null?void 0:i.ownerState),classes:v,ref:n,children:s})}))});process.env.NODE_ENV!=="production"&&(Qf.propTypes={children:D.node,classes:D.object,className:D.string,component:D.elementType,components:D.shape({Root:D.elementType}),componentsProps:D.shape({root:D.object}),invisible:D.bool,open:D.bool.isRequired,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),transitionDuration:D.oneOfType([D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})])});const SD=Qf,bD=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],CD=e=>e.classes,xD=wt("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>we({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),OD=wt(SD,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),$f=se.forwardRef(function(t,n){var r;const i=tn({name:"MuiModal",props:t}),{BackdropComponent:o=OD,closeAfterTransition:s=!1,children:a,components:u={},componentsProps:c={},disableAutoFocus:l=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:d=!1,disablePortal:g=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:m=!1,keepMounted:v=!1}=i,w=st(i,bD),[j,I]=se.useState(!0),T={closeAfterTransition:s,disableAutoFocus:l,disableEnforceFocus:f,disableEscapeKeyDown:d,disablePortal:g,disableRestoreFocus:h,disableScrollLock:p,hideBackdrop:m,keepMounted:v},B=we({},i,T,{exited:j}),z=CD(B);return ge.jsx(nv,we({components:we({Root:xD},u),componentsProps:{root:we({},c.root,(!u.Root||!yl(u.Root))&&{ownerState:we({},(r=c.root)==null?void 0:r.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>I(!1),onTransitionExited:()=>I(!0),ref:n},w,{classes:z},T,{children:a}))});process.env.NODE_ENV!=="production"&&($f.propTypes={BackdropComponent:D.elementType,BackdropProps:D.object,children:ei.isRequired,classes:D.object,closeAfterTransition:D.bool,components:D.shape({Root:D.elementType}),componentsProps:D.shape({root:D.object}),container:D.oneOfType([dr,D.func]),disableAutoFocus:D.bool,disableEnforceFocus:D.bool,disableEscapeKeyDown:D.bool,disablePortal:D.bool,disableRestoreFocus:D.bool,disableScrollLock:D.bool,hideBackdrop:D.bool,keepMounted:D.bool,onBackdropClick:D.func,onClose:D.func,open:D.bool.isRequired,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object])});const LD=$f;function _D(e){return Wt("MuiPopover",e)}jt("MuiPopover",["root","paper"]);const kD=["onEntering"],zD=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function Wf(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Vf(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Hf(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function zo(e){return typeof e=="function"?e():e}const PD=e=>{const{classes:t}=e;return Mn({root:["root"],paper:["paper"]},_D,t)},UD=wt(LD,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),RD=wt(Pf,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),qf=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiPopover"}),{action:i,anchorEl:o,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:u="anchorEl",children:c,className:l,container:f,elevation:d=8,marginThreshold:g=16,open:h,PaperProps:p={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:v=wD,transitionDuration:w="auto",TransitionProps:{onEntering:j}={}}=r,I=st(r.TransitionProps,kD),T=st(r,zD),B=se.useRef(),z=At(B,p.ref),H=we({},r,{anchorOrigin:s,anchorReference:u,elevation:d,marginThreshold:g,PaperProps:p,transformOrigin:m,TransitionComponent:v,transitionDuration:w,TransitionProps:I}),W=PD(H),b=se.useCallback(()=>{if(u==="anchorPosition")return process.env.NODE_ENV!=="production"&&(a||console.error('MUI: You need to provide a `anchorPosition` prop when using .')),a;const C=zo(o),Z=C&&C.nodeType===1?C:Ft(B.current).body,ie=Z.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const L=Z.getBoundingClientRect();process.env.NODE_ENV!=="test"&&L.top===0&&L.left===0&&L.right===0&&L.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(` +`))}return{top:ie.top+Wf(ie,s.vertical),left:ie.left+Vf(ie,s.horizontal)}},[o,s.horizontal,s.vertical,a,u]),k=se.useCallback(C=>({vertical:Wf(C,m.vertical),horizontal:Vf(C,m.horizontal)}),[m.horizontal,m.vertical]),R=se.useCallback(C=>{const Z={width:C.offsetWidth,height:C.offsetHeight},ie=k(Z);if(u==="none")return{top:null,left:null,transformOrigin:Hf(ie)};const L=b();let F=L.top-ie.vertical,P=L.left-ie.horizontal;const q=F+Z.height,K=P+Z.width,ee=ri(zo(o)),O=ee.innerHeight-g,re=ee.innerWidth-g;if(FO){const J=q-O;F-=J,ie.vertical+=J}if(process.env.NODE_ENV!=="production"&&Z.height>O&&Z.height&&O&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${Z.height-O}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(` +`)),Pre){const J=K-re;P-=J,ie.horizontal+=J}return{top:`${Math.round(F)}px`,left:`${Math.round(P)}px`,transformOrigin:Hf(ie)}},[o,u,b,k,g]),x=se.useCallback(()=>{const C=B.current;if(!C)return;const Z=R(C);Z.top!==null&&(C.style.top=Z.top),Z.left!==null&&(C.style.left=Z.left),C.style.transformOrigin=Z.transformOrigin},[R]),N=(C,Z)=>{j&&j(C,Z),x()};se.useEffect(()=>{h&&x()}),se.useImperativeHandle(i,()=>h?{updatePosition:()=>{x()}}:null,[h,x]),se.useEffect(()=>{if(!h)return;const C=Tm(()=>{x()}),Z=ri(o);return Z.addEventListener("resize",C),()=>{C.clear(),Z.removeEventListener("resize",C)}},[o,h,x]);let S=w;w==="auto"&&!v.muiSupportAuto&&(S=void 0);const U=f||(o?Ft(zo(o)).body:void 0);return ge.jsx(UD,we({BackdropProps:{invisible:!0},className:at(W.root,l),container:U,open:h,ref:n,ownerState:H},T,{children:ge.jsx(v,we({appear:!0,in:h,onEntering:N,timeout:S},I,{children:ge.jsx(RD,we({elevation:d},p,{ref:z,className:at(W.paper,p.className),children:c}))}))}))});process.env.NODE_ENV!=="production"&&(qf.propTypes={action:Tl,anchorEl:Xr(D.oneOfType([dr,D.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=zo(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(` `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element instance but it's \`${t}\` instead.`].join(` -`))}return null}),anchorOrigin:D.shape({horizontal:D.oneOfType([D.oneOf(["center","left","right"]),D.number]).isRequired,vertical:D.oneOfType([D.oneOf(["bottom","center","top"]),D.number]).isRequired}),anchorPosition:D.shape({left:D.number.isRequired,top:D.number.isRequired}),anchorReference:D.oneOf(["anchorEl","anchorPosition","none"]),children:D.node,classes:D.object,className:D.string,container:D.oneOfType([dr,D.func]),elevation:Xl,marginThreshold:D.number,onClose:D.func,open:D.bool.isRequired,PaperProps:D.shape({component:Ql}),sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),transformOrigin:D.shape({horizontal:D.oneOfType([D.oneOf(["center","left","right"]),D.number]).isRequired,vertical:D.oneOfType([D.oneOf(["bottom","center","top"]),D.number]).isRequired}),TransitionComponent:D.elementType,transitionDuration:D.oneOfType([D.oneOf(["auto"]),D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})]),TransitionProps:D.object});const RE=Md;function FE(e){return Wt("MuiMenu",e)}jt("MuiMenu",["root","paper","list"]);const YE=["onEntering"],BE=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],QE={vertical:"top",horizontal:"right"},$E={vertical:"top",horizontal:"left"},WE=e=>{const{classes:t}=e;return yn({root:["root"],paper:["paper"],list:["list"]},FE,t)},VE=vt(RE,{shouldForwardProp:e=>_a(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),HE=vt(od,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),qE=vt(rE,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),yd=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:o,disableAutoFocusItem:s=!1,MenuListProps:a={},onClose:u,open:c,PaperProps:l={},PopoverClasses:f,transitionDuration:d="auto",TransitionProps:{onEntering:g}={},variant:h="selectedMenu"}=r,p=Ze(r.TransitionProps,YE),m=Ze(r,BE),v=_o(),w=v.direction==="rtl",j=Me({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:a,onEntering:g,PaperProps:l,transitionDuration:d,TransitionProps:p,variant:h}),N=WE(j),I=i&&!s&&c,B=re.useRef(null),z=(b,k)=>{B.current&&B.current.adjustStyleForScrollbar(b,v),g&&g(b,k)},W=b=>{b.key==="Tab"&&(b.preventDefault(),u&&u(b,"tabKeyDown"))};let $=-1;return re.Children.map(o,(b,k)=>{re.isValidElement(b)&&(process.env.NODE_ENV!=="production"&&so.isFragment(b)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(` -`)),b.props.disabled||(h==="selectedMenu"&&b.props.selected||$===-1)&&($=k))}),pe.jsx(VE,Me({classes:f,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?QE:$E,PaperProps:Me({component:HE},l,{classes:Me({},l.classes,{root:N.paper})}),className:N.root,open:c,ref:n,transitionDuration:d,TransitionProps:Me({onEntering:z},p),ownerState:j},m,{children:pe.jsx(qE,Me({onKeyDown:W,actions:B,autoFocus:i&&($===-1||s),autoFocusItem:I,variant:h},a,{className:st(N.list,a.className),children:o}))}))});process.env.NODE_ENV!=="production"&&(yd.propTypes={anchorEl:D.oneOfType([dr,D.func]),autoFocus:D.bool,children:D.node,classes:D.object,disableAutoFocusItem:D.bool,MenuListProps:D.object,onClose:D.func,open:D.bool.isRequired,PaperProps:D.object,PopoverClasses:D.object,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),transitionDuration:D.oneOfType([D.oneOf(["auto"]),D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})]),TransitionProps:D.object,variant:D.oneOf(["menu","selectedMenu"])});const KE=yd;function md(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:u,timeout:c}=e,[l,f]=re.useState(!1),d=st(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},h=st(n.child,l&&n.childLeaving,r&&n.childPulsate);return!a&&!l&&f(!0),re.useEffect(()=>{if(!a&&u!=null){const p=setTimeout(u,c);return()=>{clearTimeout(p)}}},[u,a,c]),pe.jsx("span",{className:d,style:g,children:pe.jsx("span",{className:h})})}process.env.NODE_ENV!=="production"&&(md.propTypes={classes:D.object.isRequired,className:D.string,in:D.bool,onExited:D.func,pulsate:D.bool,rippleSize:D.number,rippleX:D.number,rippleY:D.number,timeout:D.number.isRequired});const St=jt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),GE=["center","classes","className"];let Uo=e=>e,vd,wd,Dd,Ed;const $a=550,JE=80,ZE=Ta(vd||(vd=Uo` +`))}return null}),anchorOrigin:D.shape({horizontal:D.oneOfType([D.oneOf(["center","left","right"]),D.number]).isRequired,vertical:D.oneOfType([D.oneOf(["bottom","center","top"]),D.number]).isRequired}),anchorPosition:D.shape({left:D.number.isRequired,top:D.number.isRequired}),anchorReference:D.oneOf(["anchorEl","anchorPosition","none"]),children:D.node,classes:D.object,className:D.string,container:D.oneOfType([dr,D.func]),elevation:xl,marginThreshold:D.number,onClose:D.func,open:D.bool.isRequired,PaperProps:D.shape({component:Dl}),sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),transformOrigin:D.shape({horizontal:D.oneOfType([D.oneOf(["center","left","right"]),D.number]).isRequired,vertical:D.oneOfType([D.oneOf(["bottom","center","top"]),D.number]).isRequired}),TransitionComponent:D.elementType,transitionDuration:D.oneOfType([D.oneOf(["auto"]),D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})]),TransitionProps:D.object});const FD=qf;function YD(e){return Wt("MuiMenu",e)}jt("MuiMenu",["root","paper","list"]);const BD=["onEntering"],QD=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],$D={vertical:"top",horizontal:"right"},WD={vertical:"top",horizontal:"left"},VD=e=>{const{classes:t}=e;return Mn({root:["root"],paper:["paper"],list:["list"]},YD,t)},HD=wt(FD,{shouldForwardProp:e=>Aa(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qD=wt(Pf,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),KD=wt(iD,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Kf=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:o,disableAutoFocusItem:s=!1,MenuListProps:a={},onClose:u,open:c,PaperProps:l={},PopoverClasses:f,transitionDuration:d="auto",TransitionProps:{onEntering:g}={},variant:h="selectedMenu"}=r,p=st(r.TransitionProps,BD),m=st(r,QD),v=Lo(),w=v.direction==="rtl",j=we({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:a,onEntering:g,PaperProps:l,transitionDuration:d,TransitionProps:p,variant:h}),I=VD(j),T=i&&!s&&c,B=se.useRef(null),z=(b,k)=>{B.current&&B.current.adjustStyleForScrollbar(b,v),g&&g(b,k)},H=b=>{b.key==="Tab"&&(b.preventDefault(),u&&u(b,"tabKeyDown"))};let W=-1;return se.Children.map(o,(b,k)=>{se.isValidElement(b)&&(process.env.NODE_ENV!=="production"&&oo.isFragment(b)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(` +`)),b.props.disabled||(h==="selectedMenu"&&b.props.selected||W===-1)&&(W=k))}),ge.jsx(HD,we({classes:f,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?$D:WD,PaperProps:we({component:qD},l,{classes:we({},l.classes,{root:I.paper})}),className:I.root,open:c,ref:n,transitionDuration:d,TransitionProps:we({onEntering:z},p),ownerState:j},m,{children:ge.jsx(KD,we({onKeyDown:H,actions:B,autoFocus:i&&(W===-1||s),autoFocusItem:T,variant:h},a,{className:at(I.list,a.className),children:o}))}))});process.env.NODE_ENV!=="production"&&(Kf.propTypes={anchorEl:D.oneOfType([dr,D.func]),autoFocus:D.bool,children:D.node,classes:D.object,disableAutoFocusItem:D.bool,MenuListProps:D.object,onClose:D.func,open:D.bool.isRequired,PaperProps:D.object,PopoverClasses:D.object,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),transitionDuration:D.oneOfType([D.oneOf(["auto"]),D.number,D.shape({appear:D.number,enter:D.number,exit:D.number})]),TransitionProps:D.object,variant:D.oneOf(["menu","selectedMenu"])});const GD=Kf;function Gf(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:u,timeout:c}=e,[l,f]=se.useState(!1),d=at(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},h=at(n.child,l&&n.childLeaving,r&&n.childPulsate);return!a&&!l&&f(!0),se.useEffect(()=>{if(!a&&u!=null){const p=setTimeout(u,c);return()=>{clearTimeout(p)}}},[u,a,c]),ge.jsx("span",{className:d,style:g,children:ge.jsx("span",{className:h})})}process.env.NODE_ENV!=="production"&&(Gf.propTypes={classes:D.object.isRequired,className:D.string,in:D.bool,onExited:D.func,pulsate:D.bool,rippleSize:D.number,rippleX:D.number,rippleY:D.number,timeout:D.number.isRequired});const St=jt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),JD=["center","classes","className"];let Po=e=>e,Jf,Zf,Xf,ed;const Oa=550,ZD=80,XD=ga(Jf||(Jf=Po` 0% { transform: scale(0); opacity: 0.1; @@ -270,7 +252,7 @@ const theme2 = createTheme({ palette: { transform: scale(1); opacity: 0.3; } -`)),XE=Ta(wd||(wd=Uo` +`)),eA=ga(Zf||(Zf=Po` 0% { opacity: 1; } @@ -278,7 +260,7 @@ const theme2 = createTheme({ palette: { 100% { opacity: 0; } -`)),eA=Ta(Dd||(Dd=Uo` +`)),tA=ga(Xf||(Xf=Po` 0% { transform: scale(1); } @@ -290,7 +272,7 @@ const theme2 = createTheme({ palette: { 100% { transform: scale(1); } -`)),tA=vt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),nA=vt(md,{name:"MuiTouchRipple",slot:"Ripple"})(Ed||(Ed=Uo` +`)),nA=wt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),rA=wt(Gf,{name:"MuiTouchRipple",slot:"Ripple"})(ed||(ed=Po` opacity: 0; position: absolute; @@ -333,12 +315,12 @@ const theme2 = createTheme({ palette: { animation-iteration-count: infinite; animation-delay: 200ms; } -`),St.rippleVisible,ZE,$a,({theme:e})=>e.transitions.easing.easeInOut,St.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,St.child,St.childLeaving,XE,$a,({theme:e})=>e.transitions.easing.easeInOut,St.childPulsate,eA,({theme:e})=>e.transitions.easing.easeInOut),Ad=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=Ze(r,GE),[u,c]=re.useState([]),l=re.useRef(0),f=re.useRef(null);re.useEffect(()=>{f.current&&(f.current(),f.current=null)},[u]);const d=re.useRef(!1),g=re.useRef(null),h=re.useRef(null),p=re.useRef(null);re.useEffect(()=>()=>{clearTimeout(g.current)},[]);const m=re.useCallback(N=>{const{pulsate:I,rippleX:B,rippleY:z,rippleSize:W,cb:$}=N;c(b=>[...b,pe.jsx(nA,{classes:{ripple:st(o.ripple,St.ripple),rippleVisible:st(o.rippleVisible,St.rippleVisible),ripplePulsate:st(o.ripplePulsate,St.ripplePulsate),child:st(o.child,St.child),childLeaving:st(o.childLeaving,St.childLeaving),childPulsate:st(o.childPulsate,St.childPulsate)},timeout:$a,pulsate:I,rippleX:B,rippleY:z,rippleSize:W},l.current)]),l.current+=1,f.current=$},[o]),v=re.useCallback((N={},I={},B)=>{const{pulsate:z=!1,center:W=i||I.pulsate,fakeElement:$=!1}=I;if((N==null?void 0:N.type)==="mousedown"&&d.current){d.current=!1;return}(N==null?void 0:N.type)==="touchstart"&&(d.current=!0);const b=$?null:p.current,k=b?b.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R,x,T;if(W||N===void 0||N.clientX===0&&N.clientY===0||!N.clientX&&!N.touches)R=Math.round(k.width/2),x=Math.round(k.height/2);else{const{clientX:S,clientY:U}=N.touches?N.touches[0]:N;R=Math.round(S-k.left),x=Math.round(U-k.top)}if(W)T=Math.sqrt((2*k.width**2+k.height**2)/3),T%2===0&&(T+=1);else{const S=Math.max(Math.abs((b?b.clientWidth:0)-R),R)*2+2,U=Math.max(Math.abs((b?b.clientHeight:0)-x),x)*2+2;T=Math.sqrt(S**2+U**2)}N!=null&&N.touches?h.current===null&&(h.current=()=>{m({pulsate:z,rippleX:R,rippleY:x,rippleSize:T,cb:B})},g.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},JE)):m({pulsate:z,rippleX:R,rippleY:x,rippleSize:T,cb:B})},[i,m]),w=re.useCallback(()=>{v({},{pulsate:!0})},[v]),j=re.useCallback((N,I)=>{if(clearTimeout(g.current),(N==null?void 0:N.type)==="touchend"&&h.current){h.current(),h.current=null,g.current=setTimeout(()=>{j(N,I)});return}h.current=null,c(B=>B.length>0?B.slice(1):B),f.current=I},[]);return re.useImperativeHandle(n,()=>({pulsate:w,start:v,stop:j}),[w,v,j]),pe.jsx(tA,Me({className:st(o.root,St.root,s),ref:p},a,{children:pe.jsx(ME,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(Ad.propTypes={center:D.bool,classes:D.object,className:D.string});const rA=Ad;function iA(e){return Wt("MuiButtonBase",e)}const oA=jt("MuiButtonBase",["root","disabled","focusVisible"]),sA=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],aA=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=yn({root:["root",t&&"disabled",n&&"focusVisible"]},iA,i);return n&&r&&(s.root+=` ${r}`),s},uA=vt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${oA.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Id=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:u="button",disabled:c=!1,disableRipple:l=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:g="a",onBlur:h,onClick:p,onContextMenu:m,onDragLeave:v,onFocus:w,onFocusVisible:j,onKeyDown:N,onKeyUp:I,onMouseDown:B,onMouseLeave:z,onMouseUp:W,onTouchEnd:$,onTouchMove:b,onTouchStart:k,tabIndex:R=0,TouchRippleProps:x,touchRippleRef:T,type:S}=r,U=Ze(r,sA),C=re.useRef(null),Z=re.useRef(null),oe=Et(Z,T),{isFocusVisibleRef:L,onFocus:F,onBlur:P,ref:K}=xv(),[G,ee]=re.useState(!1);c&&G&&ee(!1),re.useImperativeHandle(i,()=>({focusVisible:()=>{ee(!0),C.current.focus()}}),[]);const[O,ie]=re.useState(!1);re.useEffect(()=>{ie(!0)},[]);const J=O&&!l&&!c;re.useEffect(()=>{G&&d&&!l&&O&&Z.current.pulsate()},[l,d,G,O]);function ge(Ee,hn,Yr=f){return hr(Ns=>(hn&&hn(Ns),!Yr&&Z.current&&Z.current[Ee](Ns),!0))}const q=ge("start",B),Q=ge("stop",m),V=ge("stop",v),de=ge("stop",W),ne=ge("stop",Ee=>{G&&Ee.preventDefault(),z&&z(Ee)}),fe=ge("start",k),ye=ge("stop",$),he=ge("stop",b),A=ge("stop",Ee=>{P(Ee),L.current===!1&&ee(!1),h&&h(Ee)},!1),y=hr(Ee=>{C.current||(C.current=Ee.currentTarget),F(Ee),L.current===!0&&(ee(!0),j&&j(Ee)),w&&w(Ee)}),M=()=>{const Ee=C.current;return u&&u!=="button"&&!(Ee.tagName==="A"&&Ee.href)},E=re.useRef(!1),Y=hr(Ee=>{d&&!E.current&&G&&Z.current&&Ee.key===" "&&(E.current=!0,Z.current.stop(Ee,()=>{Z.current.start(Ee)})),Ee.target===Ee.currentTarget&&M()&&Ee.key===" "&&Ee.preventDefault(),N&&N(Ee),Ee.target===Ee.currentTarget&&M()&&Ee.key==="Enter"&&!c&&(Ee.preventDefault(),p&&p(Ee))}),te=hr(Ee=>{d&&Ee.key===" "&&Z.current&&G&&!Ee.defaultPrevented&&(E.current=!1,Z.current.stop(Ee,()=>{Z.current.pulsate(Ee)})),I&&I(Ee),p&&Ee.target===Ee.currentTarget&&M()&&Ee.key===" "&&!Ee.defaultPrevented&&p(Ee)});let X=u;X==="button"&&(U.href||U.to)&&(X=g);const we={};X==="button"?(we.type=S===void 0?"button":S,we.disabled=c):(!U.href&&!U.to&&(we.role="button"),c&&(we["aria-disabled"]=c));const Oe=Et(K,C),be=Et(n,Oe);process.env.NODE_ENV!=="production"&&re.useEffect(()=>{J&&!Z.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(` -`))},[J]);const Qe=Me({},r,{centerRipple:o,component:u,disabled:c,disableRipple:l,disableTouchRipple:f,focusRipple:d,tabIndex:R,focusVisible:G}),Ge=aA(Qe);return pe.jsxs(uA,Me({as:X,className:st(Ge.root,a),ownerState:Qe,onBlur:A,onClick:p,onContextMenu:Q,onFocus:y,onKeyDown:Y,onKeyUp:te,onMouseDown:q,onMouseLeave:ne,onMouseUp:de,onDragLeave:V,onTouchEnd:ye,onTouchMove:he,onTouchStart:fe,ref:be,tabIndex:c?-1:R,type:S},we,U,{children:[s,J?pe.jsx(rA,Me({ref:oe,center:o},x)):null]}))});process.env.NODE_ENV!=="production"&&(Id.propTypes={action:Hl,centerRipple:D.bool,children:D.node,classes:D.object,className:D.string,component:Ql,disabled:D.bool,disableRipple:D.bool,disableTouchRipple:D.bool,focusRipple:D.bool,focusVisibleClassName:D.string,href:D.any,LinkComponent:D.elementType,onBlur:D.func,onClick:D.func,onContextMenu:D.func,onDragLeave:D.func,onFocus:D.func,onFocusVisible:D.func,onKeyDown:D.func,onKeyUp:D.func,onMouseDown:D.func,onMouseLeave:D.func,onMouseUp:D.func,onTouchEnd:D.func,onTouchMove:D.func,onTouchStart:D.func,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),tabIndex:D.number,TouchRippleProps:D.object,touchRippleRef:D.oneOfType([D.func,D.shape({current:D.shape({pulsate:D.func.isRequired,start:D.func.isRequired,stop:D.func.isRequired})})]),type:D.oneOfType([D.oneOf(["button","reset","submit"]),D.string])});const cA=Id,Nd=jt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Td=jt("MuiListItemIcon",["root","alignItemsFlexStart"]),jd=jt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function lA(e){return Wt("MuiMenuItem",e)}const wi=jt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),fA=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],dA=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},hA=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:s}=e,u=yn({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},lA,s);return Me({},s,u)},gA=vt(cA,{shouldForwardProp:e=>_a(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:dA})(({theme:e,ownerState:t})=>Me({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${wi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${wi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:wr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${wi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:wr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${wi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${wi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Nd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Nd.inset}`]:{marginLeft:52},[`& .${jd.root}`]:{marginTop:0,marginBottom:0},[`& .${jd.inset}`]:{paddingLeft:36},[`& .${Td.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Me({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Td.root} svg`]:{fontSize:"1.25rem"}}))),Sd=re.forwardRef(function(t,n){const r=nn({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:s=!1,divider:a=!1,disableGutters:u=!1,focusVisibleClassName:c,role:l="menuitem",tabIndex:f}=r,d=Ze(r,fA),g=re.useContext(ka),h={dense:s||g.dense||!1,disableGutters:u},p=re.useRef(null);oi(()=>{i&&(p.current?p.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[i]);const m=Me({},r,{dense:h.dense,divider:a,disableGutters:u}),v=hA(r),w=Et(p,n);let j;return r.disabled||(j=f!==void 0?f:-1),pe.jsx(ka.Provider,{value:h,children:pe.jsx(gA,Me({ref:w,role:l,tabIndex:j,component:o,focusVisibleClassName:st(v.focusVisible,c)},d,{ownerState:m,classes:v}))})});process.env.NODE_ENV!=="production"&&(Sd.propTypes={autoFocus:D.bool,children:D.node,classes:D.object,component:D.elementType,dense:D.bool,disabled:D.bool,disableGutters:D.bool,divider:D.bool,focusVisibleClassName:D.string,role:D.string,selected:D.bool,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),tabIndex:D.number});const bd=Sd;var pA={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const MA=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Wa=(e,t)=>{const n=H.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:s,children:a,...u},c)=>H.createElement("svg",{ref:c,...pA,width:i,height:i,stroke:r,strokeWidth:s?Number(o)*24/Number(i):o,className:`lucide lucide-${MA(e)}`,...u},[...t.map(([l,f])=>H.createElement(l,f)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},Cd=Wa("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]),yA=Wa("Moon",[["path",{d:"M12 3a6.364 6.364 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"1rit1i"}]]),mA=Wa("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),Di={desktop:992,tablet:768,phone:480,phoneMini:375},vA=(e,t)=>` - @media screen and (max-width: ${Di[e]/16}em) { +`),St.rippleVisible,XD,Oa,({theme:e})=>e.transitions.easing.easeInOut,St.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,St.child,St.childLeaving,eA,Oa,({theme:e})=>e.transitions.easing.easeInOut,St.childPulsate,tA,({theme:e})=>e.transitions.easing.easeInOut),td=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=st(r,JD),[u,c]=se.useState([]),l=se.useRef(0),f=se.useRef(null);se.useEffect(()=>{f.current&&(f.current(),f.current=null)},[u]);const d=se.useRef(!1),g=se.useRef(null),h=se.useRef(null),p=se.useRef(null);se.useEffect(()=>()=>{clearTimeout(g.current)},[]);const m=se.useCallback(I=>{const{pulsate:T,rippleX:B,rippleY:z,rippleSize:H,cb:W}=I;c(b=>[...b,ge.jsx(rA,{classes:{ripple:at(o.ripple,St.ripple),rippleVisible:at(o.rippleVisible,St.rippleVisible),ripplePulsate:at(o.ripplePulsate,St.ripplePulsate),child:at(o.child,St.child),childLeaving:at(o.childLeaving,St.childLeaving),childPulsate:at(o.childPulsate,St.childPulsate)},timeout:Oa,pulsate:T,rippleX:B,rippleY:z,rippleSize:H},l.current)]),l.current+=1,f.current=W},[o]),v=se.useCallback((I={},T={},B)=>{const{pulsate:z=!1,center:H=i||T.pulsate,fakeElement:W=!1}=T;if((I==null?void 0:I.type)==="mousedown"&&d.current){d.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(d.current=!0);const b=W?null:p.current,k=b?b.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R,x,N;if(H||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)R=Math.round(k.width/2),x=Math.round(k.height/2);else{const{clientX:S,clientY:U}=I.touches?I.touches[0]:I;R=Math.round(S-k.left),x=Math.round(U-k.top)}if(H)N=Math.sqrt((2*k.width**2+k.height**2)/3),N%2===0&&(N+=1);else{const S=Math.max(Math.abs((b?b.clientWidth:0)-R),R)*2+2,U=Math.max(Math.abs((b?b.clientHeight:0)-x),x)*2+2;N=Math.sqrt(S**2+U**2)}I!=null&&I.touches?h.current===null&&(h.current=()=>{m({pulsate:z,rippleX:R,rippleY:x,rippleSize:N,cb:B})},g.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},ZD)):m({pulsate:z,rippleX:R,rippleY:x,rippleSize:N,cb:B})},[i,m]),w=se.useCallback(()=>{v({},{pulsate:!0})},[v]),j=se.useCallback((I,T)=>{if(clearTimeout(g.current),(I==null?void 0:I.type)==="touchend"&&h.current){h.current(),h.current=null,g.current=setTimeout(()=>{j(I,T)});return}h.current=null,c(B=>B.length>0?B.slice(1):B),f.current=T},[]);return se.useImperativeHandle(n,()=>({pulsate:w,start:v,stop:j}),[w,v,j]),ge.jsx(nA,we({className:at(o.root,St.root,s),ref:p},a,{children:ge.jsx(yD,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(td.propTypes={center:D.bool,classes:D.object,className:D.string});const iA=td;function oA(e){return Wt("MuiButtonBase",e)}const sA=jt("MuiButtonBase",["root","disabled","focusVisible"]),aA=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],uA=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=Mn({root:["root",t&&"disabled",n&&"focusVisible"]},oA,i);return n&&r&&(s.root+=` ${r}`),s},cA=wt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${sA.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),nd=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:u="button",disabled:c=!1,disableRipple:l=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:g="a",onBlur:h,onClick:p,onContextMenu:m,onDragLeave:v,onFocus:w,onFocusVisible:j,onKeyDown:I,onKeyUp:T,onMouseDown:B,onMouseLeave:z,onMouseUp:H,onTouchEnd:W,onTouchMove:b,onTouchStart:k,tabIndex:R=0,TouchRippleProps:x,touchRippleRef:N,type:S}=r,U=st(r,aA),C=se.useRef(null),Z=se.useRef(null),ie=At(Z,N),{isFocusVisibleRef:L,onFocus:F,onBlur:P,ref:q}=Om(),[K,ee]=se.useState(!1);c&&K&&ee(!1),se.useImperativeHandle(i,()=>({focusVisible:()=>{ee(!0),C.current.focus()}}),[]);const[O,re]=se.useState(!1);se.useEffect(()=>{re(!0)},[]);const J=O&&!l&&!c;se.useEffect(()=>{K&&d&&!l&&O&&Z.current.pulsate()},[l,d,K,O]);function pe(Ae,dn,Fr=f){return hr(Is=>(dn&&dn(Is),!Fr&&Z.current&&Z.current[Ae](Is),!0))}const V=pe("start",B),Q=pe("stop",m),$=pe("stop",v),de=pe("stop",H),ne=pe("stop",Ae=>{K&&Ae.preventDefault(),z&&z(Ae)}),fe=pe("start",k),Me=pe("stop",W),he=pe("stop",b),E=pe("stop",Ae=>{P(Ae),L.current===!1&&ee(!1),h&&h(Ae)},!1),y=hr(Ae=>{C.current||(C.current=Ae.currentTarget),F(Ae),L.current===!0&&(ee(!0),j&&j(Ae)),w&&w(Ae)}),M=()=>{const Ae=C.current;return u&&u!=="button"&&!(Ae.tagName==="A"&&Ae.href)},A=se.useRef(!1),Y=hr(Ae=>{d&&!A.current&&K&&Z.current&&Ae.key===" "&&(A.current=!0,Z.current.stop(Ae,()=>{Z.current.start(Ae)})),Ae.target===Ae.currentTarget&&M()&&Ae.key===" "&&Ae.preventDefault(),I&&I(Ae),Ae.target===Ae.currentTarget&&M()&&Ae.key==="Enter"&&!c&&(Ae.preventDefault(),p&&p(Ae))}),te=hr(Ae=>{d&&Ae.key===" "&&Z.current&&K&&!Ae.defaultPrevented&&(A.current=!1,Z.current.stop(Ae,()=>{Z.current.pulsate(Ae)})),T&&T(Ae),p&&Ae.target===Ae.currentTarget&&M()&&Ae.key===" "&&!Ae.defaultPrevented&&p(Ae)});let X=u;X==="button"&&(U.href||U.to)&&(X=g);const ve={};X==="button"?(ve.type=S===void 0?"button":S,ve.disabled=c):(!U.href&&!U.to&&(ve.role="button"),c&&(ve["aria-disabled"]=c));const Oe=At(q,C),be=At(n,Oe);process.env.NODE_ENV!=="production"&&se.useEffect(()=>{J&&!Z.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(` +`))},[J]);const Qe=we({},r,{centerRipple:o,component:u,disabled:c,disableRipple:l,disableTouchRipple:f,focusRipple:d,tabIndex:R,focusVisible:K}),Je=uA(Qe);return ge.jsxs(cA,we({as:X,className:at(Je.root,a),ownerState:Qe,onBlur:E,onClick:p,onContextMenu:Q,onFocus:y,onKeyDown:Y,onKeyUp:te,onMouseDown:V,onMouseLeave:ne,onMouseUp:de,onDragLeave:$,onTouchEnd:Me,onTouchMove:he,onTouchStart:fe,ref:be,tabIndex:c?-1:R,type:S},ve,U,{children:[s,J?ge.jsx(iA,we({ref:ie,center:o},x)):null]}))});process.env.NODE_ENV!=="production"&&(nd.propTypes={action:Tl,centerRipple:D.bool,children:D.node,classes:D.object,className:D.string,component:Dl,disabled:D.bool,disableRipple:D.bool,disableTouchRipple:D.bool,focusRipple:D.bool,focusVisibleClassName:D.string,href:D.any,LinkComponent:D.elementType,onBlur:D.func,onClick:D.func,onContextMenu:D.func,onDragLeave:D.func,onFocus:D.func,onFocusVisible:D.func,onKeyDown:D.func,onKeyUp:D.func,onMouseDown:D.func,onMouseLeave:D.func,onMouseUp:D.func,onTouchEnd:D.func,onTouchMove:D.func,onTouchStart:D.func,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),tabIndex:D.number,TouchRippleProps:D.object,touchRippleRef:D.oneOfType([D.func,D.shape({current:D.shape({pulsate:D.func.isRequired,start:D.func.isRequired,stop:D.func.isRequired})})]),type:D.oneOfType([D.oneOf(["button","reset","submit"]),D.string])});const lA=nd,rd=jt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),id=jt("MuiListItemIcon",["root","alignItemsFlexStart"]),od=jt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function fA(e){return Wt("MuiMenuItem",e)}const vi=jt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),dA=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],hA=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},gA=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:s}=e,u=Mn({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},fA,s);return we({},s,u)},pA=wt(lA,{shouldForwardProp:e=>Aa(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:hA})(({theme:e,ownerState:t})=>we({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${vi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${vi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:wr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${vi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:wr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${vi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${vi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${rd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${rd.inset}`]:{marginLeft:52},[`& .${od.root}`]:{marginTop:0,marginBottom:0},[`& .${od.inset}`]:{paddingLeft:36},[`& .${id.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&we({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${id.root} svg`]:{fontSize:"1.25rem"}}))),sd=se.forwardRef(function(t,n){const r=tn({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:s=!1,divider:a=!1,disableGutters:u=!1,focusVisibleClassName:c,role:l="menuitem",tabIndex:f}=r,d=st(r,dA),g=se.useContext(Ea),h={dense:s||g.dense||!1,disableGutters:u},p=se.useRef(null);ii(()=>{i&&(p.current?p.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[i]);const m=we({},r,{dense:h.dense,divider:a,disableGutters:u}),v=gA(r),w=At(p,n);let j;return r.disabled||(j=f!==void 0?f:-1),ge.jsx(Ea.Provider,{value:h,children:ge.jsx(pA,we({ref:w,role:l,tabIndex:j,component:o,focusVisibleClassName:at(v.focusVisible,c)},d,{ownerState:m,classes:v}))})});process.env.NODE_ENV!=="production"&&(sd.propTypes={autoFocus:D.bool,children:D.node,classes:D.object,component:D.elementType,dense:D.bool,disabled:D.bool,disableGutters:D.bool,divider:D.bool,focusVisibleClassName:D.string,role:D.string,selected:D.bool,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),tabIndex:D.number});const ad=sd;var MA={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const yA=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),La=(e,t)=>{const n=G.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:s,children:a,...u},c)=>G.createElement("svg",{ref:c,...MA,width:i,height:i,stroke:r,strokeWidth:s?Number(o)*24/Number(i):o,className:`lucide lucide-${yA(e)}`,...u},[...t.map(([l,f])=>G.createElement(l,f)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},mA=La("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]),vA=La("Moon",[["path",{d:"M12 3a6.364 6.364 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"1rit1i"}]]),wA=La("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),DA={display:"flex",flexDirection:"column",alignItems:"center",border:"none",outline:"none",padding:"0px",margin:"0px 1rem",backgroundColor:"inherit"},ud=({theme:e,changeLang:t})=>{const[n,r]=G.useState(null),i=a=>{a.preventDefault(),r(a.currentTarget)},o=()=>{r(null)},s=(a,u)=>{a.preventDefault(),t(u),window.dispatchEvent(new Event("storage")),o()};return ge.jsxs("div",{style:{float:"right"},children:[ge.jsx("button",{style:{...DA,color:e==="light"?He.light.main:He.dark.text2},onClick:i,"aria-label":"Language toggle",children:ge.jsx(mA,{size:32})}),ge.jsxs(GD,{id:"language-menu",anchorEl:n,open:!!n,onClose:o,disableAutoFocusItem:!0,classes:{paper:e==="light"?He.light.bgSide:He.dark.bgSide},children:[ge.jsx(ad,{style:{fontSize:"0.8em",padding:"5px 12px",color:e==="light"?He.light.text2:He.dark.text2},onClick:a=>s(a,"ja"),children:"日本語"}),ge.jsx(ad,{style:{fontSize:"0.8em",padding:"5px 12px",color:e==="light"?He.light.text2:He.dark.text2},onClick:a=>s(a,"en"),children:"English"})]})]})},Uo={desktop:992,tablet:768,phone:480,phoneMini:375},AA=(e,t)=>` + @media screen and (max-width: ${Uo[e]/16}em) { ${t}; } - `,wA={display:"flex",flexDirection:"column",alignItems:"center",border:"none",outline:"none",padding:"0px",margin:"0px 1rem",backgroundColor:"inherit"},xd=({theme:e,changeLang:t})=>{const[n,r]=H.useState(null),i=a=>{a.preventDefault(),r(a.currentTarget)},o=()=>{r(null)},s=(a,u)=>{a.preventDefault(),t(u),window.dispatchEvent(new Event("storage")),o()};return pe.jsxs("div",{style:{float:"right"},children:[pe.jsx("button",{style:{...wA,color:e==="light"?He.light.main:He.dark.text2},onClick:i,"aria-label":"Language toggle",children:pe.jsx(ta,{maxWidth:Di.tablet,children:a=>a?pe.jsx(Cd,{size:"2x"}):pe.jsx(Cd,{size:"3x",transform:"shrink-2"})})}),pe.jsxs(KE,{id:"language-menu",anchorEl:n,open:!!n,onClose:o,disableAutoFocusItem:!0,classes:{paper:e==="light"?He.light.bgSide:He.dark.bgSide},children:[pe.jsx(bd,{style:{fontSize:"0.8em",padding:"5px 12px",color:e==="light"?He.light.text2:He.dark.text2},onClick:a=>s(a,"ja"),children:"日本語"}),pe.jsx(bd,{style:{fontSize:"0.8em",padding:"5px 12px",color:e==="light"?He.light.text2:He.dark.text2},onClick:a=>s(a,"en"),children:"English"})]})]})},Od="data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwLCAwLCA0MDAsNDAwIj48ZyBpZD0ic3ZnZyI+PHBhdGggaWQ9InBhdGgwIiBkPSJNMzAxLjYwMCAxNDAuMzM0IEMgMzAxLjMzMiAxNDAuNDIzLDMwMS4yODYgMTQ1LjMzNCwzMDEuNDYyIDE1NC45NzEgQyAzMDEuNzU5IDE3MS4xOTQsMzAxLjc4NCAxNzEuMDUwLDI5OS4xNjIgMTY4LjIwNSBDIDI5NS40MzkgMTY0LjE2NywyODcuNTg1IDE2Mi41MDksMjgxLjgwMCAxNjQuNTQyIEMgMjY0LjM3OSAxNzAuNjYyLDI2NC43NjcgMjAyLjA2NywyODIuMzIwIDIwNi42NDcgQyAyODguODE1IDIwOC4zNDIsMjk5LjAxMiAyMDQuOTAxLDMwMC40NDYgMjAwLjUzMCBDIDMwMS4wNTQgMTk4LjY3NSwzMDEuNzcxIDE5OS45OTcsMzAxLjc4NSA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48L3BhdGg+PC9nPjwvc3ZnPg==",_d=()=>pe.jsx("img",{src:Od,alt:"WasedaTime English Logo",style:{width:120,height:120}}),DA=()=>pe.jsx("img",{src:Ld,alt:"WasedaTime Japanese Logo",style:{width:120,height:120}}),kd=()=>pe.jsx("img",{src:Od,alt:"WasedaTime English Small Logo",style:{width:50,height:50}}),EA=()=>pe.jsx("img",{src:Ld,style:{width:50,height:50}}),zd=({theme:e,setTheme:t})=>{const n={light:pe.jsx(mA,{color:He.icon.sun}),dark:pe.jsx(yA,{color:He.icon.moon})};return pe.jsx("div",{className:"cursor-pointer transition duration-500 ease-in-out p-2 text-center flex items-center justify-center text-icon-sun dark:text-icon-moon",onClick:()=>t(e==="dark"?"light":"dark"),children:n[e]})},AA=(e,t)=>{const n=e?"#FAFAFA30":He.light.bgSide,r=e?"#24252770":He.dark.bgSide;return{height:"67px",width:"100%",padding:"8px 0px",borderWidth:0,borderBottomWidth:2,borderStyle:"solid",borderColor:t==="light"?He.light.bgSide:He.dark.bgSide,background:t==="light"?n:r,backdropFilter:e?"blur(5px)":"none",position:"fixed",top:"0",left:"0",zIndex:90,gridRow:"1 / 2",display:"flex",flexDirection:"row"}},IA={flex:"5",paddingRight:"0px"},NA={flex:"3",padding:"0px 0px 0px 1em"},TA={flex:"8",margin:"auto 0px"},jA={flex:"10",margin:"auto 0px"},SA={flex:"3",margin:"auto 0px",display:"flex",flexDirection:"row",justifyContent:"flex-end"},bA=e=>({width:"100%",borderRadius:"25px",height:"40px",padding:"0px 1em",outline:"none",borderWidth:1,borderStyle:"solid",borderColor:e==="light"?He.light.bgSide:He.dark.text3,backgroundColor:e==="light"?He.light.bgMain:He.dark.text3,color:e==="light"?He.light.text1:He.dark.text1}),CA=e=>({fontWeight:500,paddingLeft:"100px",fontSize:"32px",color:e==="light"?He.light.text1:He.dark.text1}),xA=({title:e,onInputChange:t,placeholder:n,inputText:r,disabled:i,isBlur:o,changeLang:s,theme:a="light",setTheme:u})=>{const c=uv(),l=pe.jsx("label",{style:{marginLeft:"0"},children:pe.jsx("input",{style:bA(a),placeholder:n||"Search...",onChange:t?f=>t(f.target.value):()=>{},value:r||"",disabled:i,autoFocus:!0})});return pe.jsxs("header",{style:AA(o,a),children:[pe.jsx(ta,{maxWidth:Di.tablet,children:f=>f?pe.jsx("div",{style:NA,onClick:()=>c("/home"),children:pe.jsx(kd,{})}):pe.jsx("header",{style:IA,children:pe.jsx("h2",{style:CA(a),children:e})})}),pe.jsx(ta,{maxWidth:Di.tablet,children:f=>f?pe.jsx("div",{style:jA,children:l}):pe.jsx("div",{style:TA,children:l})}),pe.jsxs("div",{style:SA,children:[pe.jsx(zd,{theme:a,setTheme:u}),pe.jsx(xd,{theme:a,changeLang:s})]})]})},OA=pe.jsx("style",{children:` + `,cd="data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwLCAwLCA0MDAsNDAwIj48ZyBpZD0ic3ZnZyI+PHBhdGggaWQ9InBhdGgwIiBkPSJNMzAxLjYwMCAxNDAuMzM0IEMgMzAxLjMzMiAxNDAuNDIzLDMwMS4yODYgMTQ1LjMzNCwzMDEuNDYyIDE1NC45NzEgQyAzMDEuNzU5IDE3MS4xOTQsMzAxLjc4NCAxNzEuMDUwLDI5OS4xNjIgMTY4LjIwNSBDIDI5NS40MzkgMTY0LjE2NywyODcuNTg1IDE2Mi41MDksMjgxLjgwMCAxNjQuNTQyIEMgMjY0LjM3OSAxNzAuNjYyLDI2NC43NjcgMjAyLjA2NywyODIuMzIwIDIwNi42NDcgQyAyODguODE1IDIwOC4zNDIsMjk5LjAxMiAyMDQuOTAxLDMwMC40NDYgMjAwLjUzMCBDIDMwMS4wNTQgMTk4LjY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hjMWMyYyIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9nPjwvc3ZnPg==",fd=()=>ge.jsx("img",{src:cd,alt:"WasedaTime English Logo",style:{width:120,height:120}}),EA=()=>ge.jsx("img",{src:ld,alt:"WasedaTime Japanese Logo",style:{width:120,height:120}}),dd=()=>ge.jsx("img",{src:cd,alt:"WasedaTime English Small Logo",style:{width:50,height:50}}),IA=()=>ge.jsx("img",{src:ld,style:{width:50,height:50}}),hd=({theme:e,setTheme:t})=>{const n={light:ge.jsx(wA,{color:He.icon.sun}),dark:ge.jsx(vA,{color:He.icon.moon})};return ge.jsx("div",{className:"cursor-pointer transition duration-500 ease-in-out p-2 text-center flex items-center justify-center text-icon-sun dark:text-icon-moon",onClick:()=>t(e==="dark"?"light":"dark"),children:n[e]})},TA=(e,t)=>{const n=e?"#FAFAFA30":He.light.bgSide,r=e?"#24252770":He.dark.bgSide;return{height:"67px",width:"100%",padding:"8px 0px",borderWidth:0,borderBottomWidth:2,borderStyle:"solid",borderColor:t==="light"?He.light.bgSide:He.dark.bgSide,background:t==="light"?n:r,backdropFilter:e?"blur(5px)":"none",position:"fixed",top:"0",left:"0",zIndex:90,gridRow:"1 / 2",display:"flex",flexDirection:"row"}},NA={flex:"5",paddingRight:"0px"},jA={flex:"3",padding:"0px 0px 0px 1em"},SA={flex:"8",margin:"auto 0px"},bA={flex:"10",margin:"auto 0px"},CA={flex:"3",margin:"auto 0px",display:"flex",flexDirection:"row",justifyContent:"flex-end"},xA=e=>({width:"100%",borderRadius:"25px",height:"40px",padding:"0px 1em",outline:"none",borderWidth:1,borderStyle:"solid",borderColor:e==="light"?He.light.bgSide:He.dark.text3,backgroundColor:e==="light"?He.light.bgMain:He.dark.text3,color:e==="light"?He.light.text1:He.dark.text1}),OA=e=>({fontWeight:500,paddingLeft:"100px",fontSize:"32px",color:e==="light"?He.light.text1:He.dark.text1}),LA=({title:e,onInputChange:t,placeholder:n,inputText:r,disabled:i,isBlur:o,changeLang:s,theme:a="light",setTheme:u})=>{const c=ge.jsx("label",{style:{marginLeft:"0"},children:ge.jsx("input",{style:xA(a),placeholder:n||"Search...",onChange:t?l=>t(l.target.value):()=>{},value:r||"",disabled:i,autoFocus:!0})});return ge.jsxs("header",{style:TA(o,a),children:[ge.jsx(hl,{maxWidth:Uo.tablet,children:l=>l?ge.jsx("div",{style:jA,onClick:()=>{location.href="/home"},children:ge.jsx(dd,{})}):ge.jsx("header",{style:NA,children:ge.jsx("h2",{style:OA(a),children:e})})}),ge.jsx(hl,{maxWidth:Uo.tablet,children:l=>l?ge.jsx("div",{style:bA,children:c}):ge.jsx("div",{style:SA,children:c})}),ge.jsxs("div",{style:CA,children:[ge.jsx(hd,{theme:a,setTheme:u}),ge.jsx(ud,{theme:a,changeLang:s})]})]})},_A=ge.jsx("style",{children:` @keyframes loadingSpinnerSpin { from { transform: rotate(0deg); @@ -350,8 +332,7 @@ const theme2 = createTheme({ palette: { transform: rotate(360deg); } } - `}),LA={display:"block",width:"100px",height:"100px",transition:"transform(0, 12vh)",animation:"loadingSpinnerSpin 3s linear infinite"},_A=({message:e,theme:t})=>{const[n,r]=H.useState("");return H.useEffect(()=>{setTimeout(()=>{r("Slow network is detected. Please wait we're almost done 💪")},4e3)}),pe.jsx(Rs,{style:{flex:"1 0 0"},children:pe.jsxs(Jc,{style:{alignItems:"center",justifyContent:"center",padding:"25px"},children:[OA,pe.jsx("div",{style:LA,children:pe.jsx(_d,{})}),pe.jsx("p",{style:{fontSize:"2rem",textAlign:"center",color:t==="light"?He.light.text2:He.dark.text2},children:e||"Loading..."}),pe.jsx("p",{style:{fontSize:"2rem",textAlign:"center",color:t==="light"?He.light.text2:He.dark.text2},children:n})]})})};function Sr(e){return Sr=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},Sr(e)}function kA(e,t){if(Sr(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Sr(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Pd(e){var t=kA(e,"string");return Sr(t)==="symbol"?t:String(t)}function Va(e,t,n){return t=Pd(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(e,t){if(e==null)return{};var n=Ze(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function PA(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var s=function(u,c){var l=t.services.backendConnector.state["".concat(u,"|").concat(c)];return l===-1||l===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||s(r,e)&&(!i||s(o,e)))}function RA(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return Ha("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,s){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!s(o.isLanguageChangingTo,e))return!1}}):UA(e,t,n)}function FA(e){return e.displayName||e.name||(typeof e=="string"&&e.length>0?e:"Unknown")}var YA=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,BA={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},QA=function(t){return BA[t]},$A=function(t){return t.replace(YA,QA)};function Fd(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 Yd(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};qa=Yd(Yd({},qa),e)}function VA(){return qa}var Bd;function HA(e){Bd=e}function qA(){return Bd}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $d(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=H.useContext(GA)||{},i=r.i18n,o=r.defaultNS,s=n||i||qA();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new JA),!s){Ha("You will need to pass in an i18next instance by using initReactI18next");var a=function($,b){return typeof b=="string"?b:b&&Sr(b)==="object"&&typeof b.defaultValue=="string"?b.defaultValue:Array.isArray($)?$[$.length-1]:$},u=[a,{},!1];return u.t=a,u.i18n={},u.ready=!1,u}s.options.react&&s.options.react.wait!==void 0&&Ha("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var c=Ka(Ka(Ka({},VA()),s.options.react),t),l=c.useSuspense,f=c.keyPrefix,d=e||o||s.options&&s.options.defaultNS;d=typeof d=="string"?[d]:d||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(d);var g=(s.isInitialized||s.initializedStoreOnce)&&d.every(function(W){return RA(W,s,c)});function h(){return s.getFixedT(null,c.nsMode==="fallback"?d:d[0],f)}var p=H.useState(h),m=Hd(p,2),v=m[0],w=m[1],j=d.join(),N=nI(j),I=H.useRef(!0);H.useEffect(function(){var W=c.bindI18n,$=c.bindI18nStore;I.current=!0,!g&&!l&&Rd(s,d,function(){I.current&&w(h)}),g&&N&&N!==j&&I.current&&w(h);function b(){I.current&&w(h)}return W&&s&&s.on(W,b),$&&s&&s.store.on($,b),function(){I.current=!1,W&&s&&W.split(" ").forEach(function(k){return s.off(k,b)}),$&&s&&$.split(" ").forEach(function(k){return s.store.off(k,b)})}},[s,j]);var B=H.useRef(!0);H.useEffect(function(){I.current&&!B.current&&w(h),B.current=!1},[s,f]);var z=[v,s,g];if(z.t=v,z.i18n=s,z.ready=g,g||!g&&!l)return z;throw new Promise(function(W){Rd(s,d,function(){W()})})}var iI=["forwardedRef"];function Kd(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 Ro(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};return function(r){function i(s){var a=s.forwardedRef,u=zA(s,iI),c=rI(e,Ro(Ro({},u),{},{keyPrefix:t.keyPrefix})),l=Hd(c,3),f=l[0],d=l[1],g=l[2],h=Ro(Ro({},u),{},{t:f,i18n:d,tReady:g});return t.withRef&&a?h.ref=a:!t.withRef&&a&&(h.forwardedRef=a),H.createElement(r,h)}i.displayName="withI18nextTranslation(".concat(FA(r),")"),i.WrappedComponent=r;var o=function(a,u){return H.createElement(i,Object.assign({},a,{forwardedRef:u}))};return t.withRef?H.forwardRef(o):i}}var ce={},sI={get exports(){return ce},set exports(e){ce=e}};/*! ***************************************************************************** + `}),kA={display:"block",width:"100px",height:"100px",transition:"transform(0, 12vh)",animation:"loadingSpinnerSpin 3s linear infinite"},zA=({message:e,theme:t})=>{const[n,r]=G.useState("");return G.useEffect(()=>{setTimeout(()=>{r("Slow network is detected. Please wait we're almost done 💪")},4e3)}),ge.jsx(Us,{style:{flex:"1 0 0"},children:ge.jsxs(kc,{style:{alignItems:"center",justifyContent:"center",padding:"25px"},children:[_A,ge.jsx("div",{style:kA,children:ge.jsx(fd,{})}),ge.jsx("p",{style:{fontSize:"2rem",textAlign:"center",color:t==="light"?He.light.text2:He.dark.text2},children:e||"Loading..."}),ge.jsx("p",{style:{fontSize:"2rem",textAlign:"center",color:t==="light"?He.light.text2:He.dark.text2},children:n})]})})};var ce={},PA={get exports(){return ce},set exports(e){ce=e}};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -364,7 +345,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */(function(e){var t,n,r,i,o,s,a,u,c,l,f,d,g,h,p,m,v,w,j,N,I,B,z;(function(W){var $=typeof Tt=="object"?Tt:typeof self=="object"?self:typeof this=="object"?this:{};W(b($,b(e.exports)));function b(k,R){return k!==$&&(typeof Object.create=="function"?Object.defineProperty(k,"__esModule",{value:!0}):k.__esModule=!0),function(x,T){return k[x]=R?R(x,T):T}}})(function(W){var $=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,k){b.__proto__=k}||function(b,k){for(var R in k)k.hasOwnProperty(R)&&(b[R]=k[R])};t=function(b,k){$(b,k);function R(){this.constructor=b}b.prototype=k===null?Object.create(k):(R.prototype=k.prototype,new R)},n=Object.assign||function(b){for(var k,R=1,x=arguments.length;R=0;C--)(U=b[C])&&(S=(T<3?U(S):T>3?U(k,R,S):U(k,R))||S);return T>3&&S&&Object.defineProperty(k,R,S),S},o=function(b,k){return function(R,x){k(R,x,b)}},s=function(b,k){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(b,k)},a=function(b,k,R,x){function T(S){return S instanceof R?S:new R(function(U){U(S)})}return new(R||(R=Promise))(function(S,U){function C(L){try{oe(x.next(L))}catch(F){U(F)}}function Z(L){try{oe(x.throw(L))}catch(F){U(F)}}function oe(L){L.done?S(L.value):T(L.value).then(C,Z)}oe((x=x.apply(b,k||[])).next())})},u=function(b,k){var R={label:0,sent:function(){if(S[0]&1)throw S[1];return S[1]},trys:[],ops:[]},x,T,S,U;return U={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(U[Symbol.iterator]=function(){return this}),U;function C(oe){return function(L){return Z([oe,L])}}function Z(oe){if(x)throw new TypeError("Generator is already executing.");for(;R;)try{if(x=1,T&&(S=oe[0]&2?T.return:oe[0]?T.throw||((S=T.return)&&S.call(T),0):T.next)&&!(S=S.call(T,oe[1])).done)return S;switch(T=0,S&&(oe=[oe[0]&2,S.value]),oe[0]){case 0:case 1:S=oe;break;case 4:return R.label++,{value:oe[1],done:!1};case 5:R.label++,T=oe[1],oe=[0];continue;case 7:oe=R.ops.pop(),R.trys.pop();continue;default:if(S=R.trys,!(S=S.length>0&&S[S.length-1])&&(oe[0]===6||oe[0]===2)){R=0;continue}if(oe[0]===3&&(!S||oe[1]>S[0]&&oe[1]=b.length&&(b=void 0),{value:b&&b[x++],done:!b}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(b,k){var R=typeof Symbol=="function"&&b[Symbol.iterator];if(!R)return b;var x=R.call(b),T,S=[],U;try{for(;(k===void 0||k-- >0)&&!(T=x.next()).done;)S.push(T.value)}catch(C){U={error:C}}finally{try{T&&!T.done&&(R=x.return)&&R.call(x)}finally{if(U)throw U.error}}return S},d=function(){for(var b=[],k=0;k1||C(P,K)})})}function C(P,K){try{Z(x[P](K))}catch(G){F(S[0][3],G)}}function Z(P){P.value instanceof h?Promise.resolve(P.value.v).then(oe,L):F(S[0][2],P)}function oe(P){C("next",P)}function L(P){C("throw",P)}function F(P,K){P(K),S.shift(),S.length&&C(S[0][0],S[0][1])}},m=function(b){var k,R;return k={},x("next"),x("throw",function(T){throw T}),x("return"),k[Symbol.iterator]=function(){return this},k;function x(T,S){k[T]=b[T]?function(U){return(R=!R)?{value:h(b[T](U)),done:T==="return"}:S?S(U):U}:S}},v=function(b){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var k=b[Symbol.asyncIterator],R;return k?k.call(b):(b=typeof l=="function"?l(b):b[Symbol.iterator](),R={},x("next"),x("throw"),x("return"),R[Symbol.asyncIterator]=function(){return this},R);function x(S){R[S]=b[S]&&function(U){return new Promise(function(C,Z){U=b[S](U),T(C,Z,U.done,U.value)})}}function T(S,U,C,Z){Promise.resolve(Z).then(function(oe){S({value:oe,done:C})},U)}},w=function(b,k){return Object.defineProperty?Object.defineProperty(b,"raw",{value:k}):b.raw=k,b},j=function(b){if(b&&b.__esModule)return b;var k={};if(b!=null)for(var R in b)Object.hasOwnProperty.call(b,R)&&(k[R]=b[R]);return k.default=b,k},N=function(b){return b&&b.__esModule?b:{default:b}},I=function(b,k){if(!k.has(b))throw new TypeError("attempted to get private field on non-instance");return k.get(b)},B=function(b,k,R){if(!k.has(b))throw new TypeError("attempted to set private field on non-instance");return k.set(b,R),R},W("__extends",t),W("__assign",n),W("__rest",r),W("__decorate",i),W("__param",o),W("__metadata",s),W("__awaiter",a),W("__generator",u),W("__exportStar",c),W("__createBinding",z),W("__values",l),W("__read",f),W("__spread",d),W("__spreadArrays",g),W("__await",h),W("__asyncGenerator",p),W("__asyncDelegator",m),W("__asyncValues",v),W("__makeTemplateObject",w),W("__importStar",j),W("__importDefault",N),W("__classPrivateFieldGet",I),W("__classPrivateFieldSet",B)})})(sI);var Fo;(function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"})(Fo||(Fo={}));function Ga(e){var t=["provider"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function aI(e){var t=["customProvider"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function uI(e){var t=["customState"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function $n(e){return e.redirectSignIn!==void 0}var ze;(function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError"})(ze||(ze={}));function cI(e){return!!e.username}var Gd;(function(e){e.API_KEY="API_KEY",e.AWS_IAM="AWS_IAM",e.OPENID_CONNECT="OPENID_CONNECT",e.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",e.AWS_LAMBDA="AWS_LAMBDA"})(Gd||(Gd={}));/*! ***************************************************************************** + ***************************************************************************** */(function(e){var t,n,r,i,o,s,a,u,c,l,f,d,g,h,p,m,v,w,j,I,T,B,z;(function(H){var W=typeof Nt=="object"?Nt:typeof self=="object"?self:typeof this=="object"?this:{};H(b(W,b(e.exports)));function b(k,R){return k!==W&&(typeof Object.create=="function"?Object.defineProperty(k,"__esModule",{value:!0}):k.__esModule=!0),function(x,N){return k[x]=R?R(x,N):N}}})(function(H){var W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,k){b.__proto__=k}||function(b,k){for(var R in k)k.hasOwnProperty(R)&&(b[R]=k[R])};t=function(b,k){W(b,k);function R(){this.constructor=b}b.prototype=k===null?Object.create(k):(R.prototype=k.prototype,new R)},n=Object.assign||function(b){for(var k,R=1,x=arguments.length;R=0;C--)(U=b[C])&&(S=(N<3?U(S):N>3?U(k,R,S):U(k,R))||S);return N>3&&S&&Object.defineProperty(k,R,S),S},o=function(b,k){return function(R,x){k(R,x,b)}},s=function(b,k){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(b,k)},a=function(b,k,R,x){function N(S){return S instanceof R?S:new R(function(U){U(S)})}return new(R||(R=Promise))(function(S,U){function C(L){try{ie(x.next(L))}catch(F){U(F)}}function Z(L){try{ie(x.throw(L))}catch(F){U(F)}}function ie(L){L.done?S(L.value):N(L.value).then(C,Z)}ie((x=x.apply(b,k||[])).next())})},u=function(b,k){var R={label:0,sent:function(){if(S[0]&1)throw S[1];return S[1]},trys:[],ops:[]},x,N,S,U;return U={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(U[Symbol.iterator]=function(){return this}),U;function C(ie){return function(L){return Z([ie,L])}}function Z(ie){if(x)throw new TypeError("Generator is already executing.");for(;R;)try{if(x=1,N&&(S=ie[0]&2?N.return:ie[0]?N.throw||((S=N.return)&&S.call(N),0):N.next)&&!(S=S.call(N,ie[1])).done)return S;switch(N=0,S&&(ie=[ie[0]&2,S.value]),ie[0]){case 0:case 1:S=ie;break;case 4:return R.label++,{value:ie[1],done:!1};case 5:R.label++,N=ie[1],ie=[0];continue;case 7:ie=R.ops.pop(),R.trys.pop();continue;default:if(S=R.trys,!(S=S.length>0&&S[S.length-1])&&(ie[0]===6||ie[0]===2)){R=0;continue}if(ie[0]===3&&(!S||ie[1]>S[0]&&ie[1]=b.length&&(b=void 0),{value:b&&b[x++],done:!b}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(b,k){var R=typeof Symbol=="function"&&b[Symbol.iterator];if(!R)return b;var x=R.call(b),N,S=[],U;try{for(;(k===void 0||k-- >0)&&!(N=x.next()).done;)S.push(N.value)}catch(C){U={error:C}}finally{try{N&&!N.done&&(R=x.return)&&R.call(x)}finally{if(U)throw U.error}}return S},d=function(){for(var b=[],k=0;k1||C(P,q)})})}function C(P,q){try{Z(x[P](q))}catch(K){F(S[0][3],K)}}function Z(P){P.value instanceof h?Promise.resolve(P.value.v).then(ie,L):F(S[0][2],P)}function ie(P){C("next",P)}function L(P){C("throw",P)}function F(P,q){P(q),S.shift(),S.length&&C(S[0][0],S[0][1])}},m=function(b){var k,R;return k={},x("next"),x("throw",function(N){throw N}),x("return"),k[Symbol.iterator]=function(){return this},k;function x(N,S){k[N]=b[N]?function(U){return(R=!R)?{value:h(b[N](U)),done:N==="return"}:S?S(U):U}:S}},v=function(b){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var k=b[Symbol.asyncIterator],R;return k?k.call(b):(b=typeof l=="function"?l(b):b[Symbol.iterator](),R={},x("next"),x("throw"),x("return"),R[Symbol.asyncIterator]=function(){return this},R);function x(S){R[S]=b[S]&&function(U){return new Promise(function(C,Z){U=b[S](U),N(C,Z,U.done,U.value)})}}function N(S,U,C,Z){Promise.resolve(Z).then(function(ie){S({value:ie,done:C})},U)}},w=function(b,k){return Object.defineProperty?Object.defineProperty(b,"raw",{value:k}):b.raw=k,b},j=function(b){if(b&&b.__esModule)return b;var k={};if(b!=null)for(var R in b)Object.hasOwnProperty.call(b,R)&&(k[R]=b[R]);return k.default=b,k},I=function(b){return b&&b.__esModule?b:{default:b}},T=function(b,k){if(!k.has(b))throw new TypeError("attempted to get private field on non-instance");return k.get(b)},B=function(b,k,R){if(!k.has(b))throw new TypeError("attempted to set private field on non-instance");return k.set(b,R),R},H("__extends",t),H("__assign",n),H("__rest",r),H("__decorate",i),H("__param",o),H("__metadata",s),H("__awaiter",a),H("__generator",u),H("__exportStar",c),H("__createBinding",z),H("__values",l),H("__read",f),H("__spread",d),H("__spreadArrays",g),H("__await",h),H("__asyncGenerator",p),H("__asyncDelegator",m),H("__asyncValues",v),H("__makeTemplateObject",w),H("__importStar",j),H("__importDefault",I),H("__classPrivateFieldGet",T),H("__classPrivateFieldSet",B)})})(PA);var Ro;(function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"})(Ro||(Ro={}));function _a(e){var t=["provider"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function UA(e){var t=["customProvider"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function RA(e){var t=["customState"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function $n(e){return e.redirectSignIn!==void 0}var ze;(function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError"})(ze||(ze={}));function FA(e){return!!e.username}var gd;(function(e){e.API_KEY="API_KEY",e.AWS_IAM="AWS_IAM",e.OPENID_CONNECT="OPENID_CONNECT",e.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",e.AWS_LAMBDA="AWS_LAMBDA"})(gd||(gd={}));/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -377,73 +358,73 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */var Ja=function(e,t){return Ja=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},Ja(e,t)};function Za(e,t){Ja(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var De=function(){return De=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]=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 Wn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function at(){for(var e=[],t=0;t=a){var c=console.log.bind(console);t===Bt.ERROR&&console.error&&(c=console.error.bind(console)),t===Bt.WARN&&console.warn&&(c=console.warn.bind(console));var l="["+t+"] "+this._ts()+" "+this.name,f="";if(i.length===1&&typeof i[0]=="string")f=l+" - "+i[0],c(f);else if(i.length===1)f=l+" "+i[0],c(l,i[0]);else if(typeof i[0]=="string"){var d=i.slice(1);d.length===1&&(d=d[0]),f=l+" - "+i[0]+" "+d,c(l+" - "+i[0],d)}else f=l+" "+i,c(l,i);try{for(var g=bt(this._pluggables),h=g.next();!h.done;h=g.next()){var p=h.value,m={message:f,timestamp:Date.now()};p.pushLogs([m])}}catch(v){n={error:v}}finally{try{h&&!h.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}}},e.prototype.log=function(){for(var t=[],n=0;n-1){var o=i===gI;o||on.warn("WARNING: "+t+" is protected and dispatching on it can have unintended consequences")}var s={channel:t,payload:De({},n),source:r,patternInfo:[]};try{this._toListeners(s)}catch(a){on.error(a)}},e.prototype.listen=function(t,n,r){var i=this;r===void 0&&(r="noname");var o;if(pI(n))on.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),o=n.onHubCapsule.bind(n);else{if(typeof n!="function")throw new Error("No callback supplied to Hub");o=n}if(t instanceof RegExp)this.patterns.push({pattern:t,callback:o});else{var s=this.listeners[t];s||(s=[],this.listeners[t]=s),s.push({name:r,callback:o})}return function(){i._remove(t,o)}},e.prototype._toListeners=function(t){var n=t.channel,r=t.payload,i=this.listeners[n];if(i&&i.forEach(function(s){on.debug("Dispatching to "+n+" with ",r);try{s.callback(t)}catch(a){on.error(a)}}),this.patterns.length>0){if(!r.message){on.warn("Cannot perform pattern matching without a message key");return}var o=r.message;this.patterns.forEach(function(s){var a=o.match(s.pattern);if(a){var u=Wn(a),c=u.slice(1),l=De(De({},t),{patternInfo:c});try{s.callback(l)}catch(f){on.error(f)}}})}},e}(),sn=new MI("__default__"),yI=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,i=e.then(function(o){return r=!0,t=!1,o},function(o){throw n=!0,t=!1,o});return i.isFullfilled=function(){return r},i.isPending=function(){return t},i.isRejected=function(){return n},i},an=function(){var e=typeof window<"u"&&typeof window.document<"u",t=typeof process<"u"&&process.versions!=null&&process.versions.node!=null;return{isBrowser:e,isNode:t}},vn={},Yo={},Nt={};Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.MAX_HASHABLE_LENGTH=Nt.INIT=Nt.KEY=Nt.DIGEST_LENGTH=Nt.BLOCK_SIZE=void 0,Nt.BLOCK_SIZE=64,Nt.DIGEST_LENGTH=32,Nt.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Nt.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Nt.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.RawSha256=void 0;var Ct=Nt,mI=function(){function e(){this.state=Int32Array.from(Ct.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var n=0,r=t.byteLength;if(this.bytesHashed+=r,this.bytesHashed*8>Ct.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===Ct.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var t=this.bytesHashed*8,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%Ct.BLOCK_SIZE>=Ct.BLOCK_SIZE-8){for(var i=this.bufferLength;i>>24&255,o[i*4+1]=this.state[i]>>>16&255,o[i*4+2]=this.state[i]>>>8&255,o[i*4+3]=this.state[i]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,r=t.state,i=r[0],o=r[1],s=r[2],a=r[3],u=r[4],c=r[5],l=r[6],f=r[7],d=0;d>>17|g<<15)^(g>>>19|g<<13)^g>>>10;g=this.temp[d-15];var p=(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3;this.temp[d]=(h+this.temp[d-7]|0)+(p+this.temp[d-16]|0)}var m=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&l)|0)+(f+(Ct.KEY[d]+this.temp[d]|0)|0)|0,v=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&o^i&s^o&s)|0;f=l,l=c,c=u,u=a+m|0,a=s,s=o,o=i,i=m+v|0}r[0]+=i,r[1]+=o,r[2]+=s,r[3]+=a,r[4]+=u,r[5]+=c,r[6]+=l,r[7]+=f},e}();Bo.RawSha256=mI;var nu={},Qo={};const vI=e=>{const t=[];for(let n=0,r=e.length;n>6|192,i&63|128);else if(n+1>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else t.push(i>>12|224,i>>6&63|128,i&63|128)}return Uint8Array.from(t)},wI=e=>{let t="";for(let n=0,r=e.length;na.toString(16)).join("%");t+=decodeURIComponent(s)}else t+=String.fromCharCode((i&15)<<12|(e[++n]&63)<<6|e[++n]&63)}return t};function DI(e){return new TextEncoder().encode(e)}function EI(e){return new TextDecoder("utf-8").decode(e)}const AI=$r(Object.freeze(Object.defineProperty({__proto__:null,fromUtf8:e=>typeof TextEncoder=="function"?DI(e):vI(e),toUtf8:e=>typeof TextDecoder=="function"?EI(e):wI(e)},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.convertToBuffer=void 0;var II=AI,NI=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:II.fromUtf8;function TI(e){return e instanceof Uint8Array?e:typeof e=="string"?NI(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}Qo.convertToBuffer=TI;var $o={};Object.defineProperty($o,"__esModule",{value:!0}),$o.isEmptyData=void 0;function jI(e){return typeof e=="string"?e.length===0:e.byteLength===0}$o.isEmptyData=jI;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.numToUint8=void 0;function SI(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}Wo.numToUint8=SI;var Vo={};Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.uint32ArrayFrom=void 0;function bI(e){if(!Array.from){for(var t=new Uint32Array(e.length),n=0;nHo.BLOCK_SIZE){var n=new ru.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(Ho.BLOCK_SIZE);return r.set(t),r}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ce;(0,t.__exportStar)(Yo,e)})(vn);for(var eh={},qo=0;qo<256;qo++){var Ko=qo.toString(16).toLowerCase();Ko.length===1&&(Ko="0"+Ko),eh[qo]=Ko}function br(e){for(var t="",n=0;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=u-c,I=Math.floor,B=String.fromCharCode,z;function W(L){throw RangeError(j[L])}function $(L,F){for(var P=L.length,K=[];P--;)K[P]=F(L[P]);return K}function b(L,F){var P=L.split("@"),K="";P.length>1&&(K=P[0]+"@",L=P[1]),L=L.replace(w,".");var G=L.split("."),ee=$(G,F).join(".");return K+ee}function k(L){for(var F=[],P=0,K=L.length,G,ee;P=55296&&G<=56319&&P65535&&(F-=65536,P+=B(F>>>10&1023|55296),F=56320|F&1023),P+=B(F),P}).join("")}function x(L){return L-48<10?L-22:L-65<26?L-65:L-97<26?L-97:u}function T(L,F){return L+22+75*(L<26)-((F!=0)<<5)}function S(L,F,P){var K=0;for(L=P?I(L/d):L>>1,L+=I(L/F);L>N*l>>1;K+=u)L=I(L/N);return I(K+(N+1)*L/(L+f))}function U(L){var F=[],P=L.length,K,G=0,ee=h,O=g,ie,J,ge,q,Q,V,de,ne,fe;for(ie=L.lastIndexOf(p),ie<0&&(ie=0),J=0;J=128&&W("not-basic"),F.push(L.charCodeAt(J));for(ge=ie>0?ie+1:0;ge=P&&W("invalid-input"),de=x(L.charCodeAt(ge++)),(de>=u||de>I((a-G)/Q))&&W("overflow"),G+=de*Q,ne=V<=O?c:V>=O+l?l:V-O,!(deI(a/fe)&&W("overflow"),Q*=fe;K=F.length+1,O=S(G-q,K,q==0),I(G/K)>a-ee&&W("overflow"),ee+=I(G/K),G%=K,F.splice(G++,0,ee)}return R(F)}function C(L){var F,P,K,G,ee,O,ie,J,ge,q,Q,V=[],de,ne,fe,ye;for(L=k(L),de=L.length,F=h,P=0,ee=g,O=0;O=F&&QI((a-P)/ne)&&W("overflow"),P+=(ie-F)*ne,F=ie,O=0;Oa&&W("overflow"),Q==F){for(J=P,ge=u;q=ge<=ee?c:ge>=ee+l?l:ge-ee,!(J0&&a>s&&(a=s);for(var u=0;u=0?(f=c.substr(0,l),d=c.substr(l+1)):(f=c,d=""),g=decodeURIComponent(f),h=decodeURIComponent(d),_I(i,g)?Array.isArray(i[g])?i[g].push(h):i[g]=[i[g],h]:i[g]=h}return i},Ai=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},zI=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(i){var o=encodeURIComponent(Ai(i))+n;return Array.isArray(e[i])?e[i].map(function(s){return o+encodeURIComponent(Ai(s))}).join(t):o+encodeURIComponent(Ai(e[i]))}).join(t):r?encodeURIComponent(Ai(r))+n+encodeURIComponent(Ai(e)):""};Ei.decode=Ei.parse=kI,Ei.encode=Ei.stringify=zI;var PI=Go,un=LI,wn=ih;function cn(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var UI=/^([a-z0-9.+-]+:)/i,RI=/:[0-9]*$/,FI=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,YI=["<",">",'"',"`"," ","\r",` -`," "],BI=["{","}","|","\\","^","`"].concat(YI),ou=["'"].concat(BI),th=["%","/","?",";","#"].concat(ou),nh=["/","?","#"],QI=255,rh=/^[+a-z0-9A-Z_-]{0,63}$/,$I=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,WI={javascript:!0,"javascript:":!0},su={javascript:!0,"javascript:":!0},Cr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},au=Ei;function ih(e,t,n){if(e&&un.isObject(e)&&e instanceof cn)return e;var r=new cn;return r.parse(e,t,n),r}cn.prototype.parse=function(e,t,n){if(!un.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r127?I+="x":I+=N[B];if(!I.match(rh)){var W=w.slice(0,g),$=w.slice(g+1),b=N.match($I);b&&(W.push(b[1]),$.unshift(b[2])),$.length&&(a="/"+$.join(".")+a),this.hostname=W.join(".");break}}}this.hostname.length>QI?this.hostname="":this.hostname=this.hostname.toLowerCase(),v||(this.hostname=PI.toASCII(this.hostname));var k=this.port?":"+this.port:"",R=this.hostname||"";this.host=R+k,this.href+=this.host,v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!WI[l])for(var g=0,j=ou.length;g0?n.host.split("@"):!1;I&&(n.auth=I.shift(),n.host=n.hostname=I.shift())}return n.search=e.search,n.query=e.query,(!un.isNull(n.pathname)||!un.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var B=w.slice(-1)[0],z=(n.host||e.host||w.length>1)&&(B==="."||B==="..")||B==="",W=0,$=w.length;$>=0;$--)B=w[$],B==="."?w.splice($,1):B===".."?(w.splice($,1),W++):W&&(w.splice($,1),W--);if(!m&&!v)for(;W--;W)w.unshift("..");m&&w[0]!==""&&(!w[0]||w[0].charAt(0)!=="/")&&w.unshift(""),z&&w.join("/").substr(-1)!=="/"&&w.push("");var b=w[0]===""||w[0]&&w[0].charAt(0)==="/";if(N){n.hostname=n.host=b?"":w.length?w.shift():"";var I=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1;I&&(n.auth=I.shift(),n.host=n.hostname=I.shift())}return m=m||n.host&&w.length,m&&!b&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),(!un.isNull(n.pathname)||!un.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},cn.prototype.parseHost=function(){var e=this.host,t=RI.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Jo=new Qt("Util"),Hn=function(e){Za(t,e);function t(n){var r=e.call(this,n)||this;return r.nonRetryable=!0,r}return t}(Error),VI=function(e){var t="nonRetryable";return e&&e[t]};function HI(e,t,n,r){return Te(this,void 0,void 0,function(){var i=this;return Ae(this,function(o){if(typeof e!="function")throw Error("functionToRetry must be a function");return[2,new Promise(function(s,a){return Te(i,void 0,void 0,function(){var u,c,l,f,d,g,h;return Ae(this,function(p){switch(p.label){case 0:u=0,c=!1,f=function(){},r&&r.then(function(){c=!0,clearTimeout(l),f()}),g=function(){var m,v,w,j;return Ae(this,function(N){switch(N.label){case 0:u++,Jo.debug(e.name+" attempt #"+u+" with this vars: "+JSON.stringify(t)),N.label=1;case 1:return N.trys.push([1,3,,7]),m={},v=s,[4,e.apply(void 0,at(t))];case 2:return[2,(m.value=v.apply(void 0,[N.sent()]),m)];case 3:return w=N.sent(),d=w,Jo.debug("error on "+e.name,w),VI(w)?(Jo.debug(e.name+" non retryable error",w),[2,{value:a(w)}]):(j=n(u,t,w),Jo.debug(e.name+" retrying in "+j+" ms"),j===!1||c?[2,{value:a(w)}]:[3,4]);case 4:return[4,new Promise(function(I){f=I,l=setTimeout(f,j)})];case 5:N.sent(),N.label=6;case 6:return[3,7];case 7:return[2]}})},p.label=1;case 1:return c?[3,3]:[5,g()];case 2:return h=p.sent(),typeof h=="object"?[2,h.value]:[3,1];case 3:return a(d),[2]}})})})]})})}var oh=5*60*1e3;function qI(e){e===void 0&&(e=oh);var t=100,n=100;return function(r){var i=Math.pow(2,r)*t+n*Math.random();return i>e?!1:i}}var KI=function(e,t,n,r){return n===void 0&&(n=oh),HI(e,t,qI(n),r)};function GI(e){return e.split("").map(function(t){return t.charCodeAt(0).toString(16).padStart(2,"0")}).join("")}function JI(e){return e.match(/.{2}/g).map(function(t){return String.fromCharCode(parseInt(t,16))}).join("")}var ZI=new Qt("Parser"),sh=function(e){var t={};if(e.aws_mobile_analytics_app_id){var n={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};t.Analytics=n}(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(t.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:e.aws_mandatory_sign_in==="enable",signUpVerificationMethod:e.aws_cognito_sign_up_verification_method||"code"});var r;return e.aws_user_files_s3_bucket?r={AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:r=e?e.Storage||e:{},e.Logging&&(t.Logging=De(De({},e.Logging),{region:e.aws_project_region})),e.geo&&(t.Geo=Object.assign({},e.geo),e.geo.amazon_location_service&&(t.Geo={AmazonLocationService:e.geo.amazon_location_service})),t.Analytics=Object.assign({},t.Analytics,e.Analytics),t.Auth=Object.assign({},t.Auth,e.Auth),t.Storage=Object.assign({},r),t.Logging=Object.assign({},t.Logging,e.Logging),ZI.debug("parse config",e,"to amplifyconfig",t),t},uu=function(e,t){return uu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},uu(e,t)};function cu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");uu(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var se=function(){return se=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}var ah={},Zo={},Ii={},Xo={};Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.isEmptyData=void 0;function eN(e){return typeof e=="string"?e.length===0:e.byteLength===0}Xo.isEmptyData=eN;var lu={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EMPTY_DATA_SHA_256=e.SHA_256_HMAC_ALGO=e.SHA_256_HASH=void 0,e.SHA_256_HASH={name:"SHA-256"},e.SHA_256_HMAC_ALGO={name:"HMAC",hash:e.SHA_256_HASH},e.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])})(lu);var tN=function(e){for(var t=[],n=0,r=e.length;n>6|192,i&63|128);else if(n+1>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else t.push(i>>12|224,i>>6&63|128,i&63|128)}return Uint8Array.from(t)},nN=function(e){for(var t="",n=0,r=e.length;n>=Lr;var c=i/4*3;o>>=s%bi;for(var l=Math.floor(s/bi),f=0;f>d)}}return new Uint8Array(n)}function xN(e){for(var t="",n=0;n>c]}t+="==".slice(0,4-a)}return t}var ON=function(e){return typeof Blob=="function"&&e instanceof Blob?LN(e):_N(e)};function LN(e){return Te(this,void 0,void 0,function(){var t,n;return Ae(this,function(r){switch(r.label){case 0:return[4,kN(e)];case 1:return t=r.sent(),n=Eh(t),[2,new Uint8Array(n)]}})})}function _N(e){return Te(this,void 0,void 0,function(){var t,n,r,i,o,s,a;return Ae(this,function(u){switch(u.label){case 0:t=new Uint8Array(0),n=e.getReader(),r=!1,u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return i=u.sent(),o=i.done,s=i.value,s&&(a=t,t=new Uint8Array(a.length+s.length),t.set(a),t.set(s,a.length)),r=o,[3,1];case 3:return[2,t]}})})}function kN(e){return new Promise(function(t,n){var r=new FileReader;r.onloadend=function(){var i;if(r.readyState!==2)return n(new Error("Reader aborted too early"));var o=(i=r.result)!==null&&i!==void 0?i:"",s=o.indexOf(","),a=s>-1?s+1:o.length;t(o.substring(a))},r.onabort=function(){return n(new Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(e)})}var zN=function(e){return function(){return Promise.reject(e)}},PN=function(e){return function(t,n){return function(r){return Te(void 0,void 0,void 0,function(){var i;return Ae(this,function(o){return!((i=e==null?void 0:e.retryStrategy)===null||i===void 0)&&i.mode&&(n.userAgent=at(n.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(t,r)]})})}}},UN={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},RN=function(e){return{applyToStack:function(t){t.add(PN(e),UN)}}},FN=100,YN=20*1e3,BN=500,QN=500,$N=5,WN=10,VN=1,HN="amz-sdk-invocation-id",qN="amz-sdk-request",KN=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],GN=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],JN=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],ZN=[500,502,503,504],XN=function(e){return e.$retryable!==void 0},eT=function(e){return KN.includes(e.name)},Ah=function(e){var t,n;return((t=e.$metadata)===null||t===void 0?void 0:t.httpStatusCode)===429||GN.includes(e.name)||((n=e.$retryable)===null||n===void 0?void 0:n.throttling)==!0},tT=function(e){var t;return JN.includes(e.name)||ZN.includes(((t=e.$metadata)===null||t===void 0?void 0:t.httpStatusCode)||0)},ns={},Ih={get exports(){return ns},set exports(e){ns=e}},Nh=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(Nh){var Th=new Uint8Array(16);Ih.exports=function(){return Nh(Th),Th}}else{var jh=new Array(16);Ih.exports=function(){for(var t=0,n;t<16;t++)t&3||(n=Math.random()*4294967296),jh[t]=n>>>((t&3)<<3)&255;return jh}}for(var Sh=[],rs=0;rs<256;++rs)Sh[rs]=(rs+256).toString(16).substr(1);function nT(e,t){var n=t||0,r=Sh;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}var bh=nT,rT=ns,iT=bh,Ch,vu,wu=0,Du=0;function oT(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=e.node||Ch,s=e.clockseq!==void 0?e.clockseq:vu;if(o==null||s==null){var a=rT();o==null&&(o=Ch=[a[0]|1,a[1],a[2],a[3],a[4],a[5]]),s==null&&(s=vu=(a[6]<<8|a[7])&16383)}var u=e.msecs!==void 0?e.msecs:new Date().getTime(),c=e.nsecs!==void 0?e.nsecs:Du+1,l=u-wu+(c-Du)/1e4;if(l<0&&e.clockseq===void 0&&(s=s+1&16383),(l<0||u>wu)&&e.nsecs===void 0&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");wu=u,Du=c,vu=s,u+=122192928e5;var f=((u&268435455)*1e4+c)%4294967296;i[r++]=f>>>24&255,i[r++]=f>>>16&255,i[r++]=f>>>8&255,i[r++]=f&255;var d=u/4294967296*1e4&268435455;i[r++]=d>>>8&255,i[r++]=d&255,i[r++]=d>>>24&15|16,i[r++]=d>>>16&255,i[r++]=s>>>8|128,i[r++]=s&255;for(var g=0;g<6;++g)i[r+g]=o[g];return t||iT(i)}var sT=oT,aT=ns,uT=bh;function cT(e,t,n){var r=t&&n||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var i=e.random||(e.rng||aT)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,t)for(var o=0;o<16;++o)t[r+o]=i[o];return t||uT(i)}var lT=cT,fT=sT,xh=lT,Eu=xh;Eu.v1=fT,Eu.v4=xh;var dT=Eu,hT=function(e){var t=e,n=e,r=function(a){return a.name==="TimeoutError"?WN:$N},i=function(a){return r(a)<=n},o=function(a){if(!i(a))throw new Error("No retry token available");var u=r(a);return n-=u,u},s=function(a){n+=a??VN,n=Math.min(n,t)};return Object.freeze({hasRetryTokens:i,retrieveRetryTokens:o,releaseRetryTokens:s})},gT=function(e,t){return Math.floor(Math.min(YN,Math.random()*Math.pow(2,t)*e))},pT=function(e){return e?XN(e)||eT(e)||Ah(e)||tT(e):!1},Au=3,MT="standard",yT=function(){function e(t,n){var r,i,o;this.maxAttemptsProvider=t,this.mode=MT,this.retryDecider=(r=n==null?void 0:n.retryDecider)!==null&&r!==void 0?r:pT,this.delayDecider=(i=n==null?void 0:n.delayDecider)!==null&&i!==void 0?i:gT,this.retryQuota=(o=n==null?void 0:n.retryQuota)!==null&&o!==void 0?o:hT(QN)}return e.prototype.shouldRetry=function(t,n,r){return n=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2)}return t}else{if(typeof e.byteLength=="number")return e.byteLength;if(typeof e.size=="number")return e.size}}const DT={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},Oh={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},nt={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},pt={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},En={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class ae{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=ae.getVersionPrecision(t),o=ae.getVersionPrecision(n);let s=Math.max(i,o),a=0;const u=ae.map([t,n],c=>{const l=s-ae.getVersionPrecision(c),f=c+new Array(l+1).join(".0");return ae.map(f.split("."),d=>new Array(20-d.length).join("0")+d).reverse()});for(r&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]{r[u]=s[u]})}return t}static getBrowserAlias(t){return DT[t]}static getBrowserTypeByAlias(t){return Oh[t]||""}}const qe=/version\/(\d+(\.?_?\d+)+)/i,ET=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=ae.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=ae.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=ae.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=ae.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=ae.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=ae.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=ae.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=ae.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=ae.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=ae.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=ae.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=ae.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=ae.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=ae.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=ae.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=ae.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=ae.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=ae.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=ae.getFirstMatch(qe,e)||ae.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=ae.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=ae.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=ae.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=ae.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=ae.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=ae.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=ae.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=ae.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=ae.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=ae.getFirstMatch(qe,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,i=e.search("\\(")!==-1?n:t;return{name:ae.getFirstMatch(i,e),version:ae.getSecondMatch(i,e)}}}],AT=[{test:[/Roku\/DVP/],describe(e){const t=ae.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:pt.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=ae.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:pt.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=ae.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=ae.getWindowsVersionName(t);return{name:pt.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:pt.iOS},n=ae.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=ae.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=ae.getMacOSVersionName(t),r={name:pt.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=ae.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:pt.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=ae.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=ae.getAndroidVersionName(t),r={name:pt.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=ae.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:pt.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=ae.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||ae.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||ae.getFirstMatch(/\bbb(\d+)/i,e);return{name:pt.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=ae.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:pt.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=ae.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:pt.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:pt.Linux}}},{test:[/CrOS/],describe(){return{name:pt.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=ae.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:pt.PlayStation4,version:t}}}],IT=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=ae.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:nt.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:nt.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:nt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:nt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:nt.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:nt.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:nt.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=ae.getFirstMatch(/(ipod|iphone)/i,e);return{type:nt.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:nt.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:nt.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:nt.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:nt.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:nt.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:nt.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:nt.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:nt.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:nt.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:nt.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:nt.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:nt.tv}}}],NT=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:En.Blink};const n=ae.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:En.EdgeHTML,version:n}}},{test:[/trident/i],describe(e){const t={name:En.Trident},n=ae.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:En.Presto},n=ae.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:En.Gecko},n=ae.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:En.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:En.WebKit},n=ae.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class Lh{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=ae.find(ET,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=ae.find(AT,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=ae.find(IT,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=ae.find(NT,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return ae.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(a=>{const u=t[a];typeof u=="string"?(i[a]=u,o+=1):typeof u=="object"&&(n[a]=u,r+=1)}),r>0){const a=Object.keys(n),u=ae.find(a,l=>this.isOS(l));if(u){const l=this.satisfies(n[u]);if(l!==void 0)return l}const c=ae.find(a,l=>this.isPlatform(l));if(c){const l=this.satisfies(n[c]);if(l!==void 0)return l}}if(o>0){const a=Object.keys(i),u=ae.find(a,c=>this.isBrowser(c,!0));if(u!==void 0)return this.compareVersion(i[u])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=ae.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(ae.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! + ***************************************************************************** */var ka=function(e,t){return ka=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},ka(e,t)};function za(e,t){ka(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var De=function(){return De=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]=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 Wn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function ut(){for(var e=[],t=0;t=a){var c=console.log.bind(console);t===Bt.ERROR&&console.error&&(c=console.error.bind(console)),t===Bt.WARN&&console.warn&&(c=console.warn.bind(console));var l="["+t+"] "+this._ts()+" "+this.name,f="";if(i.length===1&&typeof i[0]=="string")f=l+" - "+i[0],c(f);else if(i.length===1)f=l+" "+i[0],c(l,i[0]);else if(typeof i[0]=="string"){var d=i.slice(1);d.length===1&&(d=d[0]),f=l+" - "+i[0]+" "+d,c(l+" - "+i[0],d)}else f=l+" "+i,c(l,i);try{for(var g=bt(this._pluggables),h=g.next();!h.done;h=g.next()){var p=h.value,m={message:f,timestamp:Date.now()};p.pushLogs([m])}}catch(v){n={error:v}}finally{try{h&&!h.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}}},e.prototype.log=function(){for(var t=[],n=0;n-1){var o=i===WA;o||rn.warn("WARNING: "+t+" is protected and dispatching on it can have unintended consequences")}var s={channel:t,payload:De({},n),source:r,patternInfo:[]};try{this._toListeners(s)}catch(a){rn.error(a)}},e.prototype.listen=function(t,n,r){var i=this;r===void 0&&(r="noname");var o;if(VA(n))rn.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),o=n.onHubCapsule.bind(n);else{if(typeof n!="function")throw new Error("No callback supplied to Hub");o=n}if(t instanceof RegExp)this.patterns.push({pattern:t,callback:o});else{var s=this.listeners[t];s||(s=[],this.listeners[t]=s),s.push({name:r,callback:o})}return function(){i._remove(t,o)}},e.prototype._toListeners=function(t){var n=t.channel,r=t.payload,i=this.listeners[n];if(i&&i.forEach(function(s){rn.debug("Dispatching to "+n+" with ",r);try{s.callback(t)}catch(a){rn.error(a)}}),this.patterns.length>0){if(!r.message){rn.warn("Cannot perform pattern matching without a message key");return}var o=r.message;this.patterns.forEach(function(s){var a=o.match(s.pattern);if(a){var u=Wn(a),c=u.slice(1),l=De(De({},t),{patternInfo:c});try{s.callback(l)}catch(f){rn.error(f)}}})}},e}(),on=new HA("__default__"),qA=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,i=e.then(function(o){return r=!0,t=!1,o},function(o){throw n=!0,t=!1,o});return i.isFullfilled=function(){return r},i.isPending=function(){return t},i.isRejected=function(){return n},i},sn=function(){var e=typeof window<"u"&&typeof window.document<"u",t=typeof process<"u"&&process.versions!=null&&process.versions.node!=null;return{isBrowser:e,isNode:t}},mn={},Fo={},Tt={};Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.MAX_HASHABLE_LENGTH=Tt.INIT=Tt.KEY=Tt.DIGEST_LENGTH=Tt.BLOCK_SIZE=void 0,Tt.BLOCK_SIZE=64,Tt.DIGEST_LENGTH=32,Tt.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Tt.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Tt.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.RawSha256=void 0;var Ct=Tt,KA=function(){function e(){this.state=Int32Array.from(Ct.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var n=0,r=t.byteLength;if(this.bytesHashed+=r,this.bytesHashed*8>Ct.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===Ct.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var t=this.bytesHashed*8,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%Ct.BLOCK_SIZE>=Ct.BLOCK_SIZE-8){for(var i=this.bufferLength;i>>24&255,o[i*4+1]=this.state[i]>>>16&255,o[i*4+2]=this.state[i]>>>8&255,o[i*4+3]=this.state[i]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,r=t.state,i=r[0],o=r[1],s=r[2],a=r[3],u=r[4],c=r[5],l=r[6],f=r[7],d=0;d>>17|g<<15)^(g>>>19|g<<13)^g>>>10;g=this.temp[d-15];var p=(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3;this.temp[d]=(h+this.temp[d-7]|0)+(p+this.temp[d-16]|0)}var m=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&l)|0)+(f+(Ct.KEY[d]+this.temp[d]|0)|0)|0,v=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&o^i&s^o&s)|0;f=l,l=c,c=u,u=a+m|0,a=s,s=o,o=i,i=m+v|0}r[0]+=i,r[1]+=o,r[2]+=s,r[3]+=a,r[4]+=u,r[5]+=c,r[6]+=l,r[7]+=f},e}();Yo.RawSha256=KA;var Fa={},Bo={};const GA=e=>{const t=[];for(let n=0,r=e.length;n>6|192,i&63|128);else if(n+1>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else t.push(i>>12|224,i>>6&63|128,i&63|128)}return Uint8Array.from(t)},JA=e=>{let t="";for(let n=0,r=e.length;na.toString(16)).join("%");t+=decodeURIComponent(s)}else t+=String.fromCharCode((i&15)<<12|(e[++n]&63)<<6|e[++n]&63)}return t};function ZA(e){return new TextEncoder().encode(e)}function XA(e){return new TextDecoder("utf-8").decode(e)}const eE=Qr(Object.freeze(Object.defineProperty({__proto__:null,fromUtf8:e=>typeof TextEncoder=="function"?ZA(e):GA(e),toUtf8:e=>typeof TextDecoder=="function"?XA(e):JA(e)},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.convertToBuffer=void 0;var tE=eE,nE=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:tE.fromUtf8;function rE(e){return e instanceof Uint8Array?e:typeof e=="string"?nE(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}Bo.convertToBuffer=rE;var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.isEmptyData=void 0;function iE(e){return typeof e=="string"?e.length===0:e.byteLength===0}Qo.isEmptyData=iE;var $o={};Object.defineProperty($o,"__esModule",{value:!0}),$o.numToUint8=void 0;function oE(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}$o.numToUint8=oE;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.uint32ArrayFrom=void 0;function sE(e){if(!Array.from){for(var t=new Uint32Array(e.length),n=0;nVo.BLOCK_SIZE){var n=new Ya.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(Vo.BLOCK_SIZE);return r.set(t),r}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ce;(0,t.__exportStar)(Fo,e)})(mn);for(var md={},Ho=0;Ho<256;Ho++){var qo=Ho.toString(16).toLowerCase();qo.length===1&&(qo="0"+qo),md[Ho]=qo}function Sr(e){for(var t="",n=0;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=u-c,T=Math.floor,B=String.fromCharCode,z;function H(L){throw RangeError(j[L])}function W(L,F){for(var P=L.length,q=[];P--;)q[P]=F(L[P]);return q}function b(L,F){var P=L.split("@"),q="";P.length>1&&(q=P[0]+"@",L=P[1]),L=L.replace(w,".");var K=L.split("."),ee=W(K,F).join(".");return q+ee}function k(L){for(var F=[],P=0,q=L.length,K,ee;P=55296&&K<=56319&&P65535&&(F-=65536,P+=B(F>>>10&1023|55296),F=56320|F&1023),P+=B(F),P}).join("")}function x(L){return L-48<10?L-22:L-65<26?L-65:L-97<26?L-97:u}function N(L,F){return L+22+75*(L<26)-((F!=0)<<5)}function S(L,F,P){var q=0;for(L=P?T(L/d):L>>1,L+=T(L/F);L>I*l>>1;q+=u)L=T(L/I);return T(q+(I+1)*L/(L+f))}function U(L){var F=[],P=L.length,q,K=0,ee=h,O=g,re,J,pe,V,Q,$,de,ne,fe;for(re=L.lastIndexOf(p),re<0&&(re=0),J=0;J=128&&H("not-basic"),F.push(L.charCodeAt(J));for(pe=re>0?re+1:0;pe=P&&H("invalid-input"),de=x(L.charCodeAt(pe++)),(de>=u||de>T((a-K)/Q))&&H("overflow"),K+=de*Q,ne=$<=O?c:$>=O+l?l:$-O,!(deT(a/fe)&&H("overflow"),Q*=fe;q=F.length+1,O=S(K-V,q,V==0),T(K/q)>a-ee&&H("overflow"),ee+=T(K/q),K%=q,F.splice(K++,0,ee)}return R(F)}function C(L){var F,P,q,K,ee,O,re,J,pe,V,Q,$=[],de,ne,fe,Me;for(L=k(L),de=L.length,F=h,P=0,ee=g,O=0;O=F&&QT((a-P)/ne)&&H("overflow"),P+=(re-F)*ne,F=re,O=0;Oa&&H("overflow"),Q==F){for(J=P,pe=u;V=pe<=ee?c:pe>=ee+l?l:pe-ee,!(J0&&a>s&&(a=s);for(var u=0;u=0?(f=c.substr(0,l),d=c.substr(l+1)):(f=c,d=""),g=decodeURIComponent(f),h=decodeURIComponent(d),fE(i,g)?Array.isArray(i[g])?i[g].push(h):i[g]=[i[g],h]:i[g]=h}return i},Di=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},hE=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(i){var o=encodeURIComponent(Di(i))+n;return Array.isArray(e[i])?e[i].map(function(s){return o+encodeURIComponent(Di(s))}).join(t):o+encodeURIComponent(Di(e[i]))}).join(t):r?encodeURIComponent(Di(r))+n+encodeURIComponent(Di(e)):""};wi.decode=wi.parse=dE,wi.encode=wi.stringify=hE;var gE=Ko,an=lE,vn=Ad;function un(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var pE=/^([a-z0-9.+-]+:)/i,ME=/:[0-9]*$/,yE=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,mE=["<",">",'"',"`"," ","\r",` +`," "],vE=["{","}","|","\\","^","`"].concat(mE),Qa=["'"].concat(vE),vd=["%","/","?",";","#"].concat(Qa),wd=["/","?","#"],wE=255,Dd=/^[+a-z0-9A-Z_-]{0,63}$/,DE=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,AE={javascript:!0,"javascript:":!0},$a={javascript:!0,"javascript:":!0},br={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Wa=wi;function Ad(e,t,n){if(e&&an.isObject(e)&&e instanceof un)return e;var r=new un;return r.parse(e,t,n),r}un.prototype.parse=function(e,t,n){if(!an.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r127?T+="x":T+=I[B];if(!T.match(Dd)){var H=w.slice(0,g),W=w.slice(g+1),b=I.match(DE);b&&(H.push(b[1]),W.unshift(b[2])),W.length&&(a="/"+W.join(".")+a),this.hostname=H.join(".");break}}}this.hostname.length>wE?this.hostname="":this.hostname=this.hostname.toLowerCase(),v||(this.hostname=gE.toASCII(this.hostname));var k=this.port?":"+this.port:"",R=this.hostname||"";this.host=R+k,this.href+=this.host,v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!AE[l])for(var g=0,j=Qa.length;g0?n.host.split("@"):!1;T&&(n.auth=T.shift(),n.host=n.hostname=T.shift())}return n.search=e.search,n.query=e.query,(!an.isNull(n.pathname)||!an.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var B=w.slice(-1)[0],z=(n.host||e.host||w.length>1)&&(B==="."||B==="..")||B==="",H=0,W=w.length;W>=0;W--)B=w[W],B==="."?w.splice(W,1):B===".."?(w.splice(W,1),H++):H&&(w.splice(W,1),H--);if(!m&&!v)for(;H--;H)w.unshift("..");m&&w[0]!==""&&(!w[0]||w[0].charAt(0)!=="/")&&w.unshift(""),z&&w.join("/").substr(-1)!=="/"&&w.push("");var b=w[0]===""||w[0]&&w[0].charAt(0)==="/";if(I){n.hostname=n.host=b?"":w.length?w.shift():"";var T=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1;T&&(n.auth=T.shift(),n.host=n.hostname=T.shift())}return m=m||n.host&&w.length,m&&!b&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),(!an.isNull(n.pathname)||!an.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},un.prototype.parseHost=function(){var e=this.host,t=ME.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Go=new Qt("Util"),Hn=function(e){za(t,e);function t(n){var r=e.call(this,n)||this;return r.nonRetryable=!0,r}return t}(Error),EE=function(e){var t="nonRetryable";return e&&e[t]};function IE(e,t,n,r){return je(this,void 0,void 0,function(){var i=this;return Ee(this,function(o){if(typeof e!="function")throw Error("functionToRetry must be a function");return[2,new Promise(function(s,a){return je(i,void 0,void 0,function(){var u,c,l,f,d,g,h;return Ee(this,function(p){switch(p.label){case 0:u=0,c=!1,f=function(){},r&&r.then(function(){c=!0,clearTimeout(l),f()}),g=function(){var m,v,w,j;return Ee(this,function(I){switch(I.label){case 0:u++,Go.debug(e.name+" attempt #"+u+" with this vars: "+JSON.stringify(t)),I.label=1;case 1:return I.trys.push([1,3,,7]),m={},v=s,[4,e.apply(void 0,ut(t))];case 2:return[2,(m.value=v.apply(void 0,[I.sent()]),m)];case 3:return w=I.sent(),d=w,Go.debug("error on "+e.name,w),EE(w)?(Go.debug(e.name+" non retryable error",w),[2,{value:a(w)}]):(j=n(u,t,w),Go.debug(e.name+" retrying in "+j+" ms"),j===!1||c?[2,{value:a(w)}]:[3,4]);case 4:return[4,new Promise(function(T){f=T,l=setTimeout(f,j)})];case 5:I.sent(),I.label=6;case 6:return[3,7];case 7:return[2]}})},p.label=1;case 1:return c?[3,3]:[5,g()];case 2:return h=p.sent(),typeof h=="object"?[2,h.value]:[3,1];case 3:return a(d),[2]}})})})]})})}var Ed=5*60*1e3;function TE(e){e===void 0&&(e=Ed);var t=100,n=100;return function(r){var i=Math.pow(2,r)*t+n*Math.random();return i>e?!1:i}}var NE=function(e,t,n,r){return n===void 0&&(n=Ed),IE(e,t,TE(n),r)};function jE(e){return e.split("").map(function(t){return t.charCodeAt(0).toString(16).padStart(2,"0")}).join("")}function SE(e){return e.match(/.{2}/g).map(function(t){return String.fromCharCode(parseInt(t,16))}).join("")}var bE=new Qt("Parser"),Id=function(e){var t={};if(e.aws_mobile_analytics_app_id){var n={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};t.Analytics=n}(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(t.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:e.aws_mandatory_sign_in==="enable",signUpVerificationMethod:e.aws_cognito_sign_up_verification_method||"code"});var r;return e.aws_user_files_s3_bucket?r={AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:r=e?e.Storage||e:{},e.Logging&&(t.Logging=De(De({},e.Logging),{region:e.aws_project_region})),e.geo&&(t.Geo=Object.assign({},e.geo),e.geo.amazon_location_service&&(t.Geo={AmazonLocationService:e.geo.amazon_location_service})),t.Analytics=Object.assign({},t.Analytics,e.Analytics),t.Auth=Object.assign({},t.Auth,e.Auth),t.Storage=Object.assign({},r),t.Logging=Object.assign({},t.Logging,e.Logging),bE.debug("parse config",e,"to amplifyconfig",t),t},Va=function(e,t){return Va=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Va(e,t)};function Ha(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Va(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var oe=function(){return oe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}var Td={},Jo={},Ai={},Zo={};Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.isEmptyData=void 0;function xE(e){return typeof e=="string"?e.length===0:e.byteLength===0}Zo.isEmptyData=xE;var qa={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EMPTY_DATA_SHA_256=e.SHA_256_HMAC_ALGO=e.SHA_256_HASH=void 0,e.SHA_256_HASH={name:"SHA-256"},e.SHA_256_HMAC_ALGO={name:"HMAC",hash:e.SHA_256_HASH},e.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])})(qa);var OE=function(e){for(var t=[],n=0,r=e.length;n>6|192,i&63|128);else if(n+1>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else t.push(i>>12|224,i>>6&63|128,i&63|128)}return Uint8Array.from(t)},LE=function(e){for(var t="",n=0,r=e.length;n>=Or;var c=i/4*3;o>>=s%ji;for(var l=Math.floor(s/ji),f=0;f>d)}}return new Uint8Array(n)}function uI(e){for(var t="",n=0;n>c]}t+="==".slice(0,4-a)}return t}var cI=function(e){return typeof Blob=="function"&&e instanceof Blob?lI(e):fI(e)};function lI(e){return je(this,void 0,void 0,function(){var t,n;return Ee(this,function(r){switch(r.label){case 0:return[4,dI(e)];case 1:return t=r.sent(),n=Fd(t),[2,new Uint8Array(n)]}})})}function fI(e){return je(this,void 0,void 0,function(){var t,n,r,i,o,s,a;return Ee(this,function(u){switch(u.label){case 0:t=new Uint8Array(0),n=e.getReader(),r=!1,u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return i=u.sent(),o=i.done,s=i.value,s&&(a=t,t=new Uint8Array(a.length+s.length),t.set(a),t.set(s,a.length)),r=o,[3,1];case 3:return[2,t]}})})}function dI(e){return new Promise(function(t,n){var r=new FileReader;r.onloadend=function(){var i;if(r.readyState!==2)return n(new Error("Reader aborted too early"));var o=(i=r.result)!==null&&i!==void 0?i:"",s=o.indexOf(","),a=s>-1?s+1:o.length;t(o.substring(a))},r.onabort=function(){return n(new Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(e)})}var hI=function(e){return function(){return Promise.reject(e)}},gI=function(e){return function(t,n){return function(r){return je(void 0,void 0,void 0,function(){var i;return Ee(this,function(o){return!((i=e==null?void 0:e.retryStrategy)===null||i===void 0)&&i.mode&&(n.userAgent=ut(n.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(t,r)]})})}}},pI={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},MI=function(e){return{applyToStack:function(t){t.add(gI(e),pI)}}},yI=100,mI=20*1e3,vI=500,wI=500,DI=5,AI=10,EI=1,II="amz-sdk-invocation-id",TI="amz-sdk-request",NI=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],jI=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],SI=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],bI=[500,502,503,504],CI=function(e){return e.$retryable!==void 0},xI=function(e){return NI.includes(e.name)},Yd=function(e){var t,n;return((t=e.$metadata)===null||t===void 0?void 0:t.httpStatusCode)===429||jI.includes(e.name)||((n=e.$retryable)===null||n===void 0?void 0:n.throttling)==!0},OI=function(e){var t;return SI.includes(e.name)||bI.includes(((t=e.$metadata)===null||t===void 0?void 0:t.httpStatusCode)||0)},ts={},Bd={get exports(){return ts},set exports(e){ts=e}},Qd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(Qd){var $d=new Uint8Array(16);Bd.exports=function(){return Qd($d),$d}}else{var Wd=new Array(16);Bd.exports=function(){for(var t=0,n;t<16;t++)t&3||(n=Math.random()*4294967296),Wd[t]=n>>>((t&3)<<3)&255;return Wd}}for(var Vd=[],ns=0;ns<256;++ns)Vd[ns]=(ns+256).toString(16).substr(1);function LI(e,t){var n=t||0,r=Vd;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}var Hd=LI,_I=ts,kI=Hd,qd,ru,iu=0,ou=0;function zI(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=e.node||qd,s=e.clockseq!==void 0?e.clockseq:ru;if(o==null||s==null){var a=_I();o==null&&(o=qd=[a[0]|1,a[1],a[2],a[3],a[4],a[5]]),s==null&&(s=ru=(a[6]<<8|a[7])&16383)}var u=e.msecs!==void 0?e.msecs:new Date().getTime(),c=e.nsecs!==void 0?e.nsecs:ou+1,l=u-iu+(c-ou)/1e4;if(l<0&&e.clockseq===void 0&&(s=s+1&16383),(l<0||u>iu)&&e.nsecs===void 0&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");iu=u,ou=c,ru=s,u+=122192928e5;var f=((u&268435455)*1e4+c)%4294967296;i[r++]=f>>>24&255,i[r++]=f>>>16&255,i[r++]=f>>>8&255,i[r++]=f&255;var d=u/4294967296*1e4&268435455;i[r++]=d>>>8&255,i[r++]=d&255,i[r++]=d>>>24&15|16,i[r++]=d>>>16&255,i[r++]=s>>>8|128,i[r++]=s&255;for(var g=0;g<6;++g)i[r+g]=o[g];return t||kI(i)}var PI=zI,UI=ts,RI=Hd;function FI(e,t,n){var r=t&&n||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var i=e.random||(e.rng||UI)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,t)for(var o=0;o<16;++o)t[r+o]=i[o];return t||RI(i)}var YI=FI,BI=PI,Kd=YI,su=Kd;su.v1=BI,su.v4=Kd;var QI=su,$I=function(e){var t=e,n=e,r=function(a){return a.name==="TimeoutError"?AI:DI},i=function(a){return r(a)<=n},o=function(a){if(!i(a))throw new Error("No retry token available");var u=r(a);return n-=u,u},s=function(a){n+=a??EI,n=Math.min(n,t)};return Object.freeze({hasRetryTokens:i,retrieveRetryTokens:o,releaseRetryTokens:s})},WI=function(e,t){return Math.floor(Math.min(mI,Math.random()*Math.pow(2,t)*e))},VI=function(e){return e?CI(e)||xI(e)||Yd(e)||OI(e):!1},au=3,HI="standard",qI=function(){function e(t,n){var r,i,o;this.maxAttemptsProvider=t,this.mode=HI,this.retryDecider=(r=n==null?void 0:n.retryDecider)!==null&&r!==void 0?r:VI,this.delayDecider=(i=n==null?void 0:n.delayDecider)!==null&&i!==void 0?i:WI,this.retryQuota=(o=n==null?void 0:n.retryQuota)!==null&&o!==void 0?o:$I(wI)}return e.prototype.shouldRetry=function(t,n,r){return n=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2)}return t}else{if(typeof e.byteLength=="number")return e.byteLength;if(typeof e.size=="number")return e.size}}const ZI={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},Gd={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},nt={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},Mt={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Dn={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class ae{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=ae.getVersionPrecision(t),o=ae.getVersionPrecision(n);let s=Math.max(i,o),a=0;const u=ae.map([t,n],c=>{const l=s-ae.getVersionPrecision(c),f=c+new Array(l+1).join(".0");return ae.map(f.split("."),d=>new Array(20-d.length).join("0")+d).reverse()});for(r&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]{r[u]=s[u]})}return t}static getBrowserAlias(t){return ZI[t]}static getBrowserTypeByAlias(t){return Gd[t]||""}}const Ke=/version\/(\d+(\.?_?\d+)+)/i,XI=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=ae.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=ae.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=ae.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=ae.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=ae.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=ae.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=ae.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=ae.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=ae.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=ae.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=ae.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=ae.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=ae.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=ae.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=ae.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=ae.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=ae.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=ae.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=ae.getFirstMatch(Ke,e)||ae.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=ae.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=ae.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=ae.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=ae.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=ae.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=ae.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=ae.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=ae.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=ae.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=ae.getFirstMatch(Ke,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,i=e.search("\\(")!==-1?n:t;return{name:ae.getFirstMatch(i,e),version:ae.getSecondMatch(i,e)}}}],eT=[{test:[/Roku\/DVP/],describe(e){const t=ae.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:Mt.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=ae.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:Mt.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=ae.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=ae.getWindowsVersionName(t);return{name:Mt.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:Mt.iOS},n=ae.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=ae.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=ae.getMacOSVersionName(t),r={name:Mt.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=ae.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:Mt.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=ae.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=ae.getAndroidVersionName(t),r={name:Mt.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=ae.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:Mt.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=ae.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||ae.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||ae.getFirstMatch(/\bbb(\d+)/i,e);return{name:Mt.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=ae.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:Mt.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=ae.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:Mt.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:Mt.Linux}}},{test:[/CrOS/],describe(){return{name:Mt.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=ae.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:Mt.PlayStation4,version:t}}}],tT=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=ae.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:nt.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:nt.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:nt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:nt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:nt.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:nt.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:nt.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=ae.getFirstMatch(/(ipod|iphone)/i,e);return{type:nt.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:nt.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:nt.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:nt.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:nt.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:nt.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:nt.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:nt.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:nt.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:nt.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:nt.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:nt.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:nt.tv}}}],nT=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:Dn.Blink};const n=ae.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Dn.EdgeHTML,version:n}}},{test:[/trident/i],describe(e){const t={name:Dn.Trident},n=ae.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:Dn.Presto},n=ae.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:Dn.Gecko},n=ae.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:Dn.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:Dn.WebKit},n=ae.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class Jd{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=ae.find(XI,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=ae.find(eT,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=ae.find(tT,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=ae.find(nT,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return ae.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(a=>{const u=t[a];typeof u=="string"?(i[a]=u,o+=1):typeof u=="object"&&(n[a]=u,r+=1)}),r>0){const a=Object.keys(n),u=ae.find(a,l=>this.isOS(l));if(u){const l=this.satisfies(n[u]);if(l!==void 0)return l}const c=ae.find(a,l=>this.isPlatform(l));if(c){const l=this.satisfies(n[c]);if(l!==void 0)return l}}if(o>0){const a=Object.keys(i),u=ae.find(a,c=>this.isBrowser(c,!0));if(u!==void 0)return this.compareVersion(i[u])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=ae.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(ae.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! * Bowser - a browser detector * https://github.com/lancedikson/bowser * MIT License | (c) Dustin Diaz 2012-2015 * MIT License | (c) Denis Demchenko 2015-2019 - */class TT{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new Lh(t,n)}static parse(t){return new Lh(t).getResult()}static get BROWSER_MAP(){return Oh}static get ENGINE_MAP(){return En}static get OS_MAP(){return pt}static get PLATFORMS_MAP(){return nt}}var jT=function(e){var t=e.serviceId,n=e.clientVersion;return function(){return Te(void 0,void 0,void 0,function(){var r,i,o,s,a,u,c,l,f;return Ae(this,function(d){return r=!((o=window==null?void 0:window.navigator)===null||o===void 0)&&o.userAgent?TT.parse(window.navigator.userAgent):void 0,i=[["aws-sdk-js",n],["os/"+(((s=r==null?void 0:r.os)===null||s===void 0?void 0:s.name)||"other"),(a=r==null?void 0:r.os)===null||a===void 0?void 0:a.version],["lang/js"],["md/browser",((c=(u=r==null?void 0:r.browser)===null||u===void 0?void 0:u.name)!==null&&c!==void 0?c:"unknown")+"_"+((f=(l=r==null?void 0:r.browser)===null||l===void 0?void 0:l.version)!==null&&f!==void 0?f:"unknown")]],t&&i.push(["api/"+t,n]),[2,i]})})}};function ST(e){var t,n,r={};if(e=e.replace(/^\?/,""),e)try{for(var i=bt(e.split("&")),o=i.next();!o.done;o=i.next()){var s=o.value,a=Wn(s.split("="),2),u=a[0],c=a[1],l=c===void 0?null:c;u=decodeURIComponent(u),l&&(l=decodeURIComponent(l)),u in r?Array.isArray(r[u])?r[u].push(l):r[u]=[r[u],l]:r[u]=l}}catch(f){t={error:f}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}var bT=function(e){var t=new URL(e),n=t.hostname,r=t.pathname,i=t.port,o=t.protocol,s=t.search,a;return s&&(a=ST(s)),{hostname:n,port:i?parseInt(i):void 0,protocol:o,path:r,query:a}},CT=function(e){var t;return De(De({},e),{tls:(t=e.tls)!==null&&t!==void 0?t:!0,endpoint:e.endpoint?xT(e):function(){return OT(e)},isCustomEndpoint:!!e.endpoint})},xT=function(e){var t=e.endpoint,n=e.urlParser;if(typeof t=="string"){var r=Promise.resolve(n(t));return function(){return r}}else if(typeof t=="object"){var i=Promise.resolve(t);return function(){return i}}return t},OT=function(e){return Te(void 0,void 0,void 0,function(){var t,n,r,i,o,s;return Ae(this,function(a){switch(a.label){case 0:return t=e.tls,n=t===void 0?!0:t,[4,e.region()];case 1:if(r=a.sent(),i=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/),!i.test(r))throw new Error("Invalid region in client config");return[4,e.regionInfoProvider(r)];case 2:if(o=((s=a.sent())!==null&&s!==void 0?s:{}).hostname,!o)throw new Error("Cannot resolve hostname from client config");return[2,e.urlParser((n?"https:":"http:")+"//"+o)]}})})},LT=function(e){if(!e.region)throw new Error("Region is missing");return De(De({},e),{region:_T(e.region)})},_T=function(e){if(typeof e=="string"){var t=Promise.resolve(e);return function(){return t}}return e},_h="content-length";function kT(e){var t=this;return function(n){return function(r){return Te(t,void 0,void 0,function(){var i,o,s,a,u;return Ae(this,function(c){return i=r.request,xr.isInstance(i)&&(o=i.body,s=i.headers,o&&Object.keys(s).map(function(l){return l.toLowerCase()}).indexOf(_h)===-1&&(a=e(o),a!==void 0&&(i.headers=De(De({},i.headers),(u={},u[_h]=String(a),u))))),[2,n(De(De({},r),{request:i}))]})})}}}var zT={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},PT=function(e){return{applyToStack:function(t){t.add(kT(e.bodyLengthChecker),zT)}}};function m4(e){return e}var UT=function(e){return function(t){return function(n){return Te(void 0,void 0,void 0,function(){var r,i,o;return Ae(this,function(s){return xr.isInstance(n.request)?(r=n.request,i=(e.requestHandler.metadata||{}).handlerProtocol,o=i===void 0?"":i,o.indexOf("h2")>=0&&!r.headers[":authority"]?(delete r.headers.host,r.headers[":authority"]=""):r.headers.host||(r.headers.host=r.hostname),[2,t(n)]):[2,t(n)]})})}}},RT={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},FT=function(e){return{applyToStack:function(t){t.add(UT(e),RT)}}},YT=function(){return function(e,t){return function(n){return Te(void 0,void 0,void 0,function(){var r,i,o,s,a,u,c,l,f;return Ae(this,function(d){switch(d.label){case 0:return r=t.clientName,i=t.commandName,o=t.inputFilterSensitiveLog,s=t.logger,a=t.outputFilterSensitiveLog,[4,e(n)];case 1:return u=d.sent(),s?(typeof s.info=="function"&&(c=u.output,l=c.$metadata,f=Jd(c,["$metadata"]),s.info({clientName:r,commandName:i,input:o(n.input),output:a(f),metadata:l})),[2,u]):[2,u]}})})}}},BT={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},QT=function(e){return{applyToStack:function(t){t.add(YT(),BT)}}},$T="X-Amz-Algorithm",WT="X-Amz-Credential",kh="X-Amz-Date",VT="X-Amz-SignedHeaders",HT="X-Amz-Expires",zh="X-Amz-Signature",Ph="X-Amz-Security-Token",Uh="authorization",Rh=kh.toLowerCase(),qT="date",KT=[Uh,Rh,qT],GT=zh.toLowerCase(),Iu="x-amz-content-sha256",JT=Ph.toLowerCase(),ZT={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},XT=/^proxy-/,ej=/^sec-/,Nu="AWS4-HMAC-SHA256",tj="AWS4-HMAC-SHA256-PAYLOAD",nj="UNSIGNED-PAYLOAD",rj=50,Fh="aws4_request",ij=60*60*24*7,is={},Tu=[];function ju(e,t,n){return e+"/"+t+"/"+n+"/"+Fh}var oj=function(e,t,n,r,i){return Te(void 0,void 0,void 0,function(){var o,s,a,u,c,l,f,d,g;return Ae(this,function(h){switch(h.label){case 0:return[4,Yh(e,t.secretAccessKey,t.accessKeyId)];case 1:if(o=h.sent(),s=n+":"+r+":"+i+":"+br(o)+":"+t.sessionToken,s in is)return[2,is[s]];for(Tu.push(s);Tu.length>rj;)delete is[Tu.shift()];a="AWS4"+t.secretAccessKey,h.label=2;case 2:h.trys.push([2,7,8,9]),u=bt([n,r,i,Fh]),c=u.next(),h.label=3;case 3:return c.done?[3,6]:(l=c.value,[4,Yh(e,a,l)]);case 4:a=h.sent(),h.label=5;case 5:return c=u.next(),[3,3];case 6:return[3,9];case 7:return f=h.sent(),d={error:f},[3,9];case 8:try{c&&!c.done&&(g=u.return)&&g.call(u)}finally{if(d)throw d.error}return[7];case 9:return[2,is[s]=a]}})})};function Yh(e,t,n){var r=new e(t);return r.update(n),r.digest()}function Bh(e,t,n){var r,i,o=e.headers,s={};try{for(var a=bt(Object.keys(o).sort()),u=a.next();!u.done;u=a.next()){var c=u.value,l=c.toLowerCase();(l in ZT||t!=null&&t.has(l)||XT.test(l)||ej.test(l))&&(!n||n&&!n.has(l))||(s[l]=o[c].trim().replace(/\s+/g," "))}}catch(f){r={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return s}function sj(e){var t,n,r=e.query,i=r===void 0?{}:r,o=[],s={},a=function(f){if(f.toLowerCase()===GT)return"continue";o.push(f);var d=i[f];typeof d=="string"?s[f]=qn(f)+"="+qn(d):Array.isArray(d)&&(s[f]=d.slice(0).sort().reduce(function(g,h){return g.concat([qn(f)+"="+qn(h)])},[]).join("&"))};try{for(var u=bt(Object.keys(i).sort()),c=u.next();!c.done;c=u.next()){var l=c.value;a(l)}}catch(f){t={error:f}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return o.map(function(f){return s[f]}).filter(function(f){return f}).join("&")}var aj=function(e){return typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]"};function Su(e,t){var n=e.headers,r=e.body;return Te(this,void 0,void 0,function(){var i,o,s,a,u,c,l;return Ae(this,function(f){switch(f.label){case 0:try{for(i=bt(Object.keys(n)),o=i.next();!o.done;o=i.next())if(s=o.value,s.toLowerCase()===Iu)return[2,n[s]]}catch(d){c={error:d}}finally{try{o&&!o.done&&(l=i.return)&&l.call(i)}finally{if(c)throw c.error}}return r!=null?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return typeof r=="string"||ArrayBuffer.isView(r)||aj(r)?(a=new t,a.update(r),u=br,[4,a.digest()]):[3,3];case 2:return[2,u.apply(void 0,[f.sent()])];case 3:return[2,nj]}})})}function uj(e,t){var n,r;e=e.toLowerCase();try{for(var i=bt(Object.keys(t)),o=i.next();!o.done;o=i.next()){var s=o.value;if(e===s.toLowerCase())return!0}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1}function Qh(e){var t=e.headers,n=e.query,r=Jd(e,["headers","query"]);return De(De({},r),{headers:De({},t),query:n?cj(n):void 0})}function cj(e){return Object.keys(e).reduce(function(t,n){var r,i=e[n];return De(De({},t),(r={},r[n]=Array.isArray(i)?at(i):i,r))},{})}function lj(e,t){var n,r,i;t===void 0&&(t={});var o=typeof e.clone=="function"?e.clone():Qh(e),s=o.headers,a=o.query,u=a===void 0?{}:a;try{for(var c=bt(Object.keys(s)),l=c.next();!l.done;l=c.next()){var f=l.value,d=f.toLowerCase();d.substr(0,6)==="x-amz-"&&!(!((i=t.unhoistableHeaders)===null||i===void 0)&&i.has(d))&&(u[f]=s[f],delete s[f])}}catch(g){n={error:g}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return De(De({},e),{headers:s,query:u})}function $h(e){var t,n;e=typeof e.clone=="function"?e.clone():Qh(e);try{for(var r=bt(Object.keys(e.headers)),i=r.next();!i.done;i=r.next()){var o=i.value;KT.indexOf(o.toLowerCase())>-1&&delete e.headers[o]}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e}function fj(e){return dj(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function dj(e){return typeof e=="number"?new Date(e*1e3):typeof e=="string"?Number(e)?new Date(Number(e)*1e3):new Date(e):e}var hj=function(){function e(t){var n=t.applyChecksum,r=t.credentials,i=t.region,o=t.service,s=t.sha256,a=t.uriEscapePath,u=a===void 0?!0:a;this.service=o,this.sha256=s,this.uriEscapePath=u,this.applyChecksum=typeof n=="boolean"?n:!0,this.regionProvider=gj(i),this.credentialProvider=pj(r)}return e.prototype.presign=function(t,n){return n===void 0&&(n={}),Te(this,void 0,void 0,function(){var r,i,o,s,a,u,c,l,f,d,g,h,p,m,v,w,j,N,I,B,z,W,$,b;return Ae(this,function(k){switch(k.label){case 0:return r=n.signingDate,i=r===void 0?new Date:r,o=n.expiresIn,s=o===void 0?3600:o,a=n.unsignableHeaders,u=n.unhoistableHeaders,c=n.signableHeaders,l=n.signingRegion,f=n.signingService,[4,this.credentialProvider()];case 1:return d=k.sent(),l==null?[3,2]:(h=l,[3,4]);case 2:return[4,this.regionProvider()];case 3:h=k.sent(),k.label=4;case 4:return g=h,p=os(i),m=p.longDate,v=p.shortDate,s>ij?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(w=ju(v,g,f??this.service),j=lj($h(t),{unhoistableHeaders:u}),d.sessionToken&&(j.query[Ph]=d.sessionToken),j.query[$T]=Nu,j.query[WT]=d.accessKeyId+"/"+w,j.query[kh]=m,j.query[HT]=s.toString(10),N=Bh(j,a,c),j.query[VT]=Wh(N),I=j.query,B=zh,z=this.getSignature,W=[m,w,this.getSigningKey(d,g,v,f)],$=this.createCanonicalRequest,b=[j,N],[4,Su(t,this.sha256)]);case 5:return[4,z.apply(this,W.concat([$.apply(this,b.concat([k.sent()]))]))];case 6:return I[B]=k.sent(),[2,j]}})})},e.prototype.sign=function(t,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return typeof t=="string"?[2,this.signString(t,n)]:t.headers&&t.payload?[2,this.signEvent(t,n)]:[2,this.signRequest(t,n)]})})},e.prototype.signEvent=function(t,n){var r=t.headers,i=t.payload,o=n.signingDate,s=o===void 0?new Date:o,a=n.priorSignature,u=n.signingRegion,c=n.signingService;return Te(this,void 0,void 0,function(){var l,f,d,g,h,p,m,v,w,j,N;return Ae(this,function(I){switch(I.label){case 0:return u==null?[3,1]:(f=u,[3,3]);case 1:return[4,this.regionProvider()];case 2:f=I.sent(),I.label=3;case 3:return l=f,d=os(s),g=d.shortDate,h=d.longDate,p=ju(g,l,c??this.service),[4,Su({headers:{},body:i},this.sha256)];case 4:return m=I.sent(),v=new this.sha256,v.update(r),j=br,[4,v.digest()];case 5:return w=j.apply(void 0,[I.sent()]),N=[tj,h,p,a,w,m].join(` -`),[2,this.signString(N,{signingDate:s,signingRegion:l,signingService:c})]}})})},e.prototype.signString=function(t,n){var r=n===void 0?{}:n,i=r.signingDate,o=i===void 0?new Date:i,s=r.signingRegion,a=r.signingService;return Te(this,void 0,void 0,function(){var u,c,l,f,d,g,h,p;return Ae(this,function(m){switch(m.label){case 0:return[4,this.credentialProvider()];case 1:return u=m.sent(),s==null?[3,2]:(l=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:l=m.sent(),m.label=4;case 4:return c=l,f=os(o).shortDate,h=(g=this.sha256).bind,[4,this.getSigningKey(u,c,f,a)];case 5:return d=new(h.apply(g,[void 0,m.sent()])),d.update(t),p=br,[4,d.digest()];case 6:return[2,p.apply(void 0,[m.sent()])]}})})},e.prototype.signRequest=function(t,n){var r=n===void 0?{}:n,i=r.signingDate,o=i===void 0?new Date:i,s=r.signableHeaders,a=r.unsignableHeaders,u=r.signingRegion,c=r.signingService;return Te(this,void 0,void 0,function(){var l,f,d,g,h,p,m,v,w,j,N;return Ae(this,function(I){switch(I.label){case 0:return[4,this.credentialProvider()];case 1:return l=I.sent(),u==null?[3,2]:(d=u,[3,4]);case 2:return[4,this.regionProvider()];case 3:d=I.sent(),I.label=4;case 4:return f=d,g=$h(t),h=os(o),p=h.longDate,m=h.shortDate,v=ju(m,f,c??this.service),g.headers[Rh]=p,l.sessionToken&&(g.headers[JT]=l.sessionToken),[4,Su(g,this.sha256)];case 5:return w=I.sent(),!uj(Iu,g.headers)&&this.applyChecksum&&(g.headers[Iu]=w),j=Bh(g,a,s),[4,this.getSignature(p,v,this.getSigningKey(l,f,m,c),this.createCanonicalRequest(g,j,w))];case 6:return N=I.sent(),g.headers[Uh]=Nu+" "+("Credential="+l.accessKeyId+"/"+v+", ")+("SignedHeaders="+Wh(j)+", ")+("Signature="+N),[2,g]}})})},e.prototype.createCanonicalRequest=function(t,n,r){var i=Object.keys(n).sort();return t.method+` + */class rT{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new Jd(t,n)}static parse(t){return new Jd(t).getResult()}static get BROWSER_MAP(){return Gd}static get ENGINE_MAP(){return Dn}static get OS_MAP(){return Mt}static get PLATFORMS_MAP(){return nt}}var iT=function(e){var t=e.serviceId,n=e.clientVersion;return function(){return je(void 0,void 0,void 0,function(){var r,i,o,s,a,u,c,l,f;return Ee(this,function(d){return r=!((o=window==null?void 0:window.navigator)===null||o===void 0)&&o.userAgent?rT.parse(window.navigator.userAgent):void 0,i=[["aws-sdk-js",n],["os/"+(((s=r==null?void 0:r.os)===null||s===void 0?void 0:s.name)||"other"),(a=r==null?void 0:r.os)===null||a===void 0?void 0:a.version],["lang/js"],["md/browser",((c=(u=r==null?void 0:r.browser)===null||u===void 0?void 0:u.name)!==null&&c!==void 0?c:"unknown")+"_"+((f=(l=r==null?void 0:r.browser)===null||l===void 0?void 0:l.version)!==null&&f!==void 0?f:"unknown")]],t&&i.push(["api/"+t,n]),[2,i]})})}};function oT(e){var t,n,r={};if(e=e.replace(/^\?/,""),e)try{for(var i=bt(e.split("&")),o=i.next();!o.done;o=i.next()){var s=o.value,a=Wn(s.split("="),2),u=a[0],c=a[1],l=c===void 0?null:c;u=decodeURIComponent(u),l&&(l=decodeURIComponent(l)),u in r?Array.isArray(r[u])?r[u].push(l):r[u]=[r[u],l]:r[u]=l}}catch(f){t={error:f}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}var sT=function(e){var t=new URL(e),n=t.hostname,r=t.pathname,i=t.port,o=t.protocol,s=t.search,a;return s&&(a=oT(s)),{hostname:n,port:i?parseInt(i):void 0,protocol:o,path:r,query:a}},aT=function(e){var t;return De(De({},e),{tls:(t=e.tls)!==null&&t!==void 0?t:!0,endpoint:e.endpoint?uT(e):function(){return cT(e)},isCustomEndpoint:!!e.endpoint})},uT=function(e){var t=e.endpoint,n=e.urlParser;if(typeof t=="string"){var r=Promise.resolve(n(t));return function(){return r}}else if(typeof t=="object"){var i=Promise.resolve(t);return function(){return i}}return t},cT=function(e){return je(void 0,void 0,void 0,function(){var t,n,r,i,o,s;return Ee(this,function(a){switch(a.label){case 0:return t=e.tls,n=t===void 0?!0:t,[4,e.region()];case 1:if(r=a.sent(),i=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/),!i.test(r))throw new Error("Invalid region in client config");return[4,e.regionInfoProvider(r)];case 2:if(o=((s=a.sent())!==null&&s!==void 0?s:{}).hostname,!o)throw new Error("Cannot resolve hostname from client config");return[2,e.urlParser((n?"https:":"http:")+"//"+o)]}})})},lT=function(e){if(!e.region)throw new Error("Region is missing");return De(De({},e),{region:fT(e.region)})},fT=function(e){if(typeof e=="string"){var t=Promise.resolve(e);return function(){return t}}return e},Zd="content-length";function dT(e){var t=this;return function(n){return function(r){return je(t,void 0,void 0,function(){var i,o,s,a,u;return Ee(this,function(c){return i=r.request,Cr.isInstance(i)&&(o=i.body,s=i.headers,o&&Object.keys(s).map(function(l){return l.toLowerCase()}).indexOf(Zd)===-1&&(a=e(o),a!==void 0&&(i.headers=De(De({},i.headers),(u={},u[Zd]=String(a),u))))),[2,n(De(De({},r),{request:i}))]})})}}}var hT={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},gT=function(e){return{applyToStack:function(t){t.add(dT(e.bodyLengthChecker),hT)}}};function Xx(e){return e}var pT=function(e){return function(t){return function(n){return je(void 0,void 0,void 0,function(){var r,i,o;return Ee(this,function(s){return Cr.isInstance(n.request)?(r=n.request,i=(e.requestHandler.metadata||{}).handlerProtocol,o=i===void 0?"":i,o.indexOf("h2")>=0&&!r.headers[":authority"]?(delete r.headers.host,r.headers[":authority"]=""):r.headers.host||(r.headers.host=r.hostname),[2,t(n)]):[2,t(n)]})})}}},MT={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},yT=function(e){return{applyToStack:function(t){t.add(pT(e),MT)}}},mT=function(){return function(e,t){return function(n){return je(void 0,void 0,void 0,function(){var r,i,o,s,a,u,c,l,f;return Ee(this,function(d){switch(d.label){case 0:return r=t.clientName,i=t.commandName,o=t.inputFilterSensitiveLog,s=t.logger,a=t.outputFilterSensitiveLog,[4,e(n)];case 1:return u=d.sent(),s?(typeof s.info=="function"&&(c=u.output,l=c.$metadata,f=pd(c,["$metadata"]),s.info({clientName:r,commandName:i,input:o(n.input),output:a(f),metadata:l})),[2,u]):[2,u]}})})}}},vT={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},wT=function(e){return{applyToStack:function(t){t.add(mT(),vT)}}},DT="X-Amz-Algorithm",AT="X-Amz-Credential",Xd="X-Amz-Date",ET="X-Amz-SignedHeaders",IT="X-Amz-Expires",eh="X-Amz-Signature",th="X-Amz-Security-Token",nh="authorization",rh=Xd.toLowerCase(),TT="date",NT=[nh,rh,TT],jT=eh.toLowerCase(),uu="x-amz-content-sha256",ST=th.toLowerCase(),bT={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},CT=/^proxy-/,xT=/^sec-/,cu="AWS4-HMAC-SHA256",OT="AWS4-HMAC-SHA256-PAYLOAD",LT="UNSIGNED-PAYLOAD",_T=50,ih="aws4_request",kT=60*60*24*7,rs={},lu=[];function fu(e,t,n){return e+"/"+t+"/"+n+"/"+ih}var zT=function(e,t,n,r,i){return je(void 0,void 0,void 0,function(){var o,s,a,u,c,l,f,d,g;return Ee(this,function(h){switch(h.label){case 0:return[4,oh(e,t.secretAccessKey,t.accessKeyId)];case 1:if(o=h.sent(),s=n+":"+r+":"+i+":"+Sr(o)+":"+t.sessionToken,s in rs)return[2,rs[s]];for(lu.push(s);lu.length>_T;)delete rs[lu.shift()];a="AWS4"+t.secretAccessKey,h.label=2;case 2:h.trys.push([2,7,8,9]),u=bt([n,r,i,ih]),c=u.next(),h.label=3;case 3:return c.done?[3,6]:(l=c.value,[4,oh(e,a,l)]);case 4:a=h.sent(),h.label=5;case 5:return c=u.next(),[3,3];case 6:return[3,9];case 7:return f=h.sent(),d={error:f},[3,9];case 8:try{c&&!c.done&&(g=u.return)&&g.call(u)}finally{if(d)throw d.error}return[7];case 9:return[2,rs[s]=a]}})})};function oh(e,t,n){var r=new e(t);return r.update(n),r.digest()}function sh(e,t,n){var r,i,o=e.headers,s={};try{for(var a=bt(Object.keys(o).sort()),u=a.next();!u.done;u=a.next()){var c=u.value,l=c.toLowerCase();(l in bT||t!=null&&t.has(l)||CT.test(l)||xT.test(l))&&(!n||n&&!n.has(l))||(s[l]=o[c].trim().replace(/\s+/g," "))}}catch(f){r={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return s}function PT(e){var t,n,r=e.query,i=r===void 0?{}:r,o=[],s={},a=function(f){if(f.toLowerCase()===jT)return"continue";o.push(f);var d=i[f];typeof d=="string"?s[f]=qn(f)+"="+qn(d):Array.isArray(d)&&(s[f]=d.slice(0).sort().reduce(function(g,h){return g.concat([qn(f)+"="+qn(h)])},[]).join("&"))};try{for(var u=bt(Object.keys(i).sort()),c=u.next();!c.done;c=u.next()){var l=c.value;a(l)}}catch(f){t={error:f}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return o.map(function(f){return s[f]}).filter(function(f){return f}).join("&")}var UT=function(e){return typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]"};function du(e,t){var n=e.headers,r=e.body;return je(this,void 0,void 0,function(){var i,o,s,a,u,c,l;return Ee(this,function(f){switch(f.label){case 0:try{for(i=bt(Object.keys(n)),o=i.next();!o.done;o=i.next())if(s=o.value,s.toLowerCase()===uu)return[2,n[s]]}catch(d){c={error:d}}finally{try{o&&!o.done&&(l=i.return)&&l.call(i)}finally{if(c)throw c.error}}return r!=null?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return typeof r=="string"||ArrayBuffer.isView(r)||UT(r)?(a=new t,a.update(r),u=Sr,[4,a.digest()]):[3,3];case 2:return[2,u.apply(void 0,[f.sent()])];case 3:return[2,LT]}})})}function RT(e,t){var n,r;e=e.toLowerCase();try{for(var i=bt(Object.keys(t)),o=i.next();!o.done;o=i.next()){var s=o.value;if(e===s.toLowerCase())return!0}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1}function ah(e){var t=e.headers,n=e.query,r=pd(e,["headers","query"]);return De(De({},r),{headers:De({},t),query:n?FT(n):void 0})}function FT(e){return Object.keys(e).reduce(function(t,n){var r,i=e[n];return De(De({},t),(r={},r[n]=Array.isArray(i)?ut(i):i,r))},{})}function YT(e,t){var n,r,i;t===void 0&&(t={});var o=typeof e.clone=="function"?e.clone():ah(e),s=o.headers,a=o.query,u=a===void 0?{}:a;try{for(var c=bt(Object.keys(s)),l=c.next();!l.done;l=c.next()){var f=l.value,d=f.toLowerCase();d.substr(0,6)==="x-amz-"&&!(!((i=t.unhoistableHeaders)===null||i===void 0)&&i.has(d))&&(u[f]=s[f],delete s[f])}}catch(g){n={error:g}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return De(De({},e),{headers:s,query:u})}function uh(e){var t,n;e=typeof e.clone=="function"?e.clone():ah(e);try{for(var r=bt(Object.keys(e.headers)),i=r.next();!i.done;i=r.next()){var o=i.value;NT.indexOf(o.toLowerCase())>-1&&delete e.headers[o]}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e}function BT(e){return QT(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function QT(e){return typeof e=="number"?new Date(e*1e3):typeof e=="string"?Number(e)?new Date(Number(e)*1e3):new Date(e):e}var $T=function(){function e(t){var n=t.applyChecksum,r=t.credentials,i=t.region,o=t.service,s=t.sha256,a=t.uriEscapePath,u=a===void 0?!0:a;this.service=o,this.sha256=s,this.uriEscapePath=u,this.applyChecksum=typeof n=="boolean"?n:!0,this.regionProvider=WT(i),this.credentialProvider=VT(r)}return e.prototype.presign=function(t,n){return n===void 0&&(n={}),je(this,void 0,void 0,function(){var r,i,o,s,a,u,c,l,f,d,g,h,p,m,v,w,j,I,T,B,z,H,W,b;return Ee(this,function(k){switch(k.label){case 0:return r=n.signingDate,i=r===void 0?new Date:r,o=n.expiresIn,s=o===void 0?3600:o,a=n.unsignableHeaders,u=n.unhoistableHeaders,c=n.signableHeaders,l=n.signingRegion,f=n.signingService,[4,this.credentialProvider()];case 1:return d=k.sent(),l==null?[3,2]:(h=l,[3,4]);case 2:return[4,this.regionProvider()];case 3:h=k.sent(),k.label=4;case 4:return g=h,p=is(i),m=p.longDate,v=p.shortDate,s>kT?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(w=fu(v,g,f??this.service),j=YT(uh(t),{unhoistableHeaders:u}),d.sessionToken&&(j.query[th]=d.sessionToken),j.query[DT]=cu,j.query[AT]=d.accessKeyId+"/"+w,j.query[Xd]=m,j.query[IT]=s.toString(10),I=sh(j,a,c),j.query[ET]=ch(I),T=j.query,B=eh,z=this.getSignature,H=[m,w,this.getSigningKey(d,g,v,f)],W=this.createCanonicalRequest,b=[j,I],[4,du(t,this.sha256)]);case 5:return[4,z.apply(this,H.concat([W.apply(this,b.concat([k.sent()]))]))];case 6:return T[B]=k.sent(),[2,j]}})})},e.prototype.sign=function(t,n){return je(this,void 0,void 0,function(){return Ee(this,function(r){return typeof t=="string"?[2,this.signString(t,n)]:t.headers&&t.payload?[2,this.signEvent(t,n)]:[2,this.signRequest(t,n)]})})},e.prototype.signEvent=function(t,n){var r=t.headers,i=t.payload,o=n.signingDate,s=o===void 0?new Date:o,a=n.priorSignature,u=n.signingRegion,c=n.signingService;return je(this,void 0,void 0,function(){var l,f,d,g,h,p,m,v,w,j,I;return Ee(this,function(T){switch(T.label){case 0:return u==null?[3,1]:(f=u,[3,3]);case 1:return[4,this.regionProvider()];case 2:f=T.sent(),T.label=3;case 3:return l=f,d=is(s),g=d.shortDate,h=d.longDate,p=fu(g,l,c??this.service),[4,du({headers:{},body:i},this.sha256)];case 4:return m=T.sent(),v=new this.sha256,v.update(r),j=Sr,[4,v.digest()];case 5:return w=j.apply(void 0,[T.sent()]),I=[OT,h,p,a,w,m].join(` +`),[2,this.signString(I,{signingDate:s,signingRegion:l,signingService:c})]}})})},e.prototype.signString=function(t,n){var r=n===void 0?{}:n,i=r.signingDate,o=i===void 0?new Date:i,s=r.signingRegion,a=r.signingService;return je(this,void 0,void 0,function(){var u,c,l,f,d,g,h,p;return Ee(this,function(m){switch(m.label){case 0:return[4,this.credentialProvider()];case 1:return u=m.sent(),s==null?[3,2]:(l=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:l=m.sent(),m.label=4;case 4:return c=l,f=is(o).shortDate,h=(g=this.sha256).bind,[4,this.getSigningKey(u,c,f,a)];case 5:return d=new(h.apply(g,[void 0,m.sent()])),d.update(t),p=Sr,[4,d.digest()];case 6:return[2,p.apply(void 0,[m.sent()])]}})})},e.prototype.signRequest=function(t,n){var r=n===void 0?{}:n,i=r.signingDate,o=i===void 0?new Date:i,s=r.signableHeaders,a=r.unsignableHeaders,u=r.signingRegion,c=r.signingService;return je(this,void 0,void 0,function(){var l,f,d,g,h,p,m,v,w,j,I;return Ee(this,function(T){switch(T.label){case 0:return[4,this.credentialProvider()];case 1:return l=T.sent(),u==null?[3,2]:(d=u,[3,4]);case 2:return[4,this.regionProvider()];case 3:d=T.sent(),T.label=4;case 4:return f=d,g=uh(t),h=is(o),p=h.longDate,m=h.shortDate,v=fu(m,f,c??this.service),g.headers[rh]=p,l.sessionToken&&(g.headers[ST]=l.sessionToken),[4,du(g,this.sha256)];case 5:return w=T.sent(),!RT(uu,g.headers)&&this.applyChecksum&&(g.headers[uu]=w),j=sh(g,a,s),[4,this.getSignature(p,v,this.getSigningKey(l,f,m,c),this.createCanonicalRequest(g,j,w))];case 6:return I=T.sent(),g.headers[nh]=cu+" "+("Credential="+l.accessKeyId+"/"+v+", ")+("SignedHeaders="+ch(j)+", ")+("Signature="+I),[2,g]}})})},e.prototype.createCanonicalRequest=function(t,n,r){var i=Object.keys(n).sort();return t.method+` `+this.getCanonicalPath(t)+` -`+sj(t)+` +`+PT(t)+` `+i.map(function(o){return o+":"+n[o]}).join(` `)+` `+i.join(";")+` -`+r},e.prototype.createStringToSign=function(t,n,r){return Te(this,void 0,void 0,function(){var i,o;return Ae(this,function(s){switch(s.label){case 0:return i=new this.sha256,i.update(r),[4,i.digest()];case 1:return o=s.sent(),[2,Nu+` +`+r},e.prototype.createStringToSign=function(t,n,r){return je(this,void 0,void 0,function(){var i,o;return Ee(this,function(s){switch(s.label){case 0:return i=new this.sha256,i.update(r),[4,i.digest()];case 1:return o=s.sent(),[2,cu+` `+t+` `+n+` -`+br(o)]}})})},e.prototype.getCanonicalPath=function(t){var n=t.path;if(this.uriEscapePath){var r=encodeURIComponent(n.replace(/^\//,""));return"/"+r.replace(/%2F/g,"/")}return n},e.prototype.getSignature=function(t,n,r,i){return Te(this,void 0,void 0,function(){var o,s,a,u,c;return Ae(this,function(l){switch(l.label){case 0:return[4,this.createStringToSign(t,n,i)];case 1:return o=l.sent(),u=(a=this.sha256).bind,[4,r];case 2:return s=new(u.apply(a,[void 0,l.sent()])),s.update(o),c=br,[4,s.digest()];case 3:return[2,c.apply(void 0,[l.sent()])]}})})},e.prototype.getSigningKey=function(t,n,r,i){return oj(this.sha256,t,r,n,i||this.service)},e}(),os=function(e){var t=fj(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},Wh=function(e){return Object.keys(e).sort().join(";")},gj=function(e){if(typeof e=="string"){var t=Promise.resolve(e);return function(){return t}}else return e},pj=function(e){if(typeof e=="object"){var t=Promise.resolve(e);return function(){return t}}else return e};function Mj(e){var t=this,n=e.credentials||e.credentialDefaultProvider(e),r=bu(n),i=e.signingEscapePath,o=i===void 0?!0:i,s=e.systemClockOffset,a=s===void 0?e.systemClockOffset||0:s,u=e.sha256,c;return e.signer?c=bu(e.signer):c=function(){return bu(e.region)().then(function(l){return Te(t,void 0,void 0,function(){return Ae(this,function(f){switch(f.label){case 0:return[4,e.regionInfoProvider(l)];case 1:return[2,[f.sent()||{},l]]}})})}).then(function(l){var f=Wn(l,2),d=f[0],g=f[1],h=d.signingRegion,p=d.signingService;return e.signingRegion=e.signingRegion||h||g,e.signingName=e.signingName||p||e.serviceId,new hj({credentials:r,region:e.signingRegion,service:e.signingName,sha256:u,uriEscapePath:o})})},De(De({},e),{systemClockOffset:a,signingEscapePath:o,credentials:r,signer:c})}function bu(e){if(typeof e=="object"){var t=Promise.resolve(e);return function(){return t}}return e}function yj(e){return De(De({},e),{customUserAgent:typeof e.customUserAgent=="string"?[[e.customUserAgent]]:e.customUserAgent})}var Cu="user-agent",mj="x-amz-user-agent",Vh=" ",vj=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,wj=function(e){return function(t,n){return function(r){return Te(void 0,void 0,void 0,function(){var i,o,s,a,u,c,l,f;return Ae(this,function(d){switch(d.label){case 0:return i=r.request,xr.isInstance(i)?(o=i.headers,s=((l=n==null?void 0:n.userAgent)===null||l===void 0?void 0:l.map(xu))||[],[4,e.defaultUserAgentProvider()]):[2,t(r)];case 1:return a=d.sent().map(xu),u=((f=e==null?void 0:e.customUserAgent)===null||f===void 0?void 0:f.map(xu))||[],o[mj]=at(a,s,u).join(Vh),c=at(a.filter(function(g){return g.startsWith("aws-sdk-")}),u).join(Vh),e.runtime!=="browser"&&c&&(o[Cu]=o[Cu]?o[Cu]+" "+c:c),[2,t(De(De({},r),{request:i}))]}})})}}},xu=function(e){var t=Wn(e,2),n=t[0],r=t[1],i=n.indexOf("/"),o=n.substring(0,i),s=n.substring(i+1);return o==="api"&&(s=s.toLowerCase()),[o,s,r].filter(function(a){return a&&a.length>0}).map(function(a){return a==null?void 0:a.replace(vj,"_")}).join("/")},Dj={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Ej=function(e){return{applyToStack:function(t){t.add(wj(e),Dj)}}},ss=function(){var e=[],t=[],n=new Set,r=function(l){return l.sort(function(f,d){return Hh[d.step]-Hh[f.step]||qh[d.priority||"normal"]-qh[f.priority||"normal"]})},i=function(l){var f=!1,d=function(g){return g.name&&g.name===l?(f=!0,n.delete(l),!1):!0};return e=e.filter(d),t=t.filter(d),f},o=function(l){var f=!1,d=function(g){return g.middleware===l?(f=!0,g.name&&n.delete(g.name),!1):!0};return e=e.filter(d),t=t.filter(d),f},s=function(l){return e.forEach(function(f){l.add(f.middleware,De({},f))}),t.forEach(function(f){l.addRelativeTo(f.middleware,De({},f))}),l},a=function(l){var f=[];return l.before.forEach(function(d){d.before.length===0&&d.after.length===0?f.push(d):f.push.apply(f,at(a(d)))}),f.push(l),l.after.reverse().forEach(function(d){d.before.length===0&&d.after.length===0?f.push(d):f.push.apply(f,at(a(d)))}),f},u=function(){var l=[],f=[],d={};e.forEach(function(h){var p=De(De({},h),{before:[],after:[]});p.name&&(d[p.name]=p),l.push(p)}),t.forEach(function(h){var p=De(De({},h),{before:[],after:[]});p.name&&(d[p.name]=p),f.push(p)}),f.forEach(function(h){if(h.toMiddleware){var p=d[h.toMiddleware];if(p===void 0)throw new Error(h.toMiddleware+" is not found when adding "+(h.name||"anonymous")+" middleware "+h.relation+" "+h.toMiddleware);h.relation==="after"&&p.after.push(h),h.relation==="before"&&p.before.push(h)}});var g=r(l).map(a).reduce(function(h,p){return h.push.apply(h,at(p)),h},[]);return g.map(function(h){return h.middleware})},c={add:function(l,f){f===void 0&&(f={});var d=f.name,g=f.override,h=De({step:"initialize",priority:"normal",middleware:l},f);if(d){if(n.has(d)){if(!g)throw new Error("Duplicate middleware name '"+d+"'");var p=e.findIndex(function(v){return v.name===d}),m=e[p];if(m.step!==h.step||m.priority!==h.priority)throw new Error('"'+d+'" middleware with '+m.priority+" priority in "+m.step+" step cannot be "+("overridden by same-name middleware with "+h.priority+" priority in "+h.step+" step."));e.splice(p,1)}n.add(d)}e.push(h)},addRelativeTo:function(l,f){var d=f.name,g=f.override,h=De({middleware:l},f);if(d){if(n.has(d)){if(!g)throw new Error("Duplicate middleware name '"+d+"'");var p=t.findIndex(function(v){return v.name===d}),m=t[p];if(m.toMiddleware!==h.toMiddleware||m.relation!==h.relation)throw new Error('"'+d+'" middleware '+m.relation+' "'+m.toMiddleware+'" middleware cannot be overridden '+("by same-name middleware "+h.relation+' "'+h.toMiddleware+'" middleware.'));t.splice(p,1)}n.add(d)}t.push(h)},clone:function(){return s(ss())},use:function(l){l.applyToStack(c)},remove:function(l){return typeof l=="string"?i(l):o(l)},removeByTag:function(l){var f=!1,d=function(g){var h=g.tags,p=g.name;return h&&h.includes(l)?(p&&n.delete(p),f=!0,!1):!0};return e=e.filter(d),t=t.filter(d),f},concat:function(l){var f=s(ss());return f.use(l),f},applyToStack:s,resolve:function(l,f){var d,g;try{for(var h=bt(u().reverse()),p=h.next();!p.done;p=h.next()){var m=p.value;l=m(l,f)}}catch(v){d={error:v}}finally{try{p&&!p.done&&(g=h.return)&&g.call(h)}finally{if(d)throw d.error}}return l}};return c},Hh={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},qh={high:3,normal:2,low:1},Aj=function(){function e(t){this.middlewareStack=ss(),this.config=t}return e.prototype.send=function(t,n,r){var i=typeof n!="function"?n:void 0,o=typeof n=="function"?n:r,s=t.resolveMiddleware(this.middlewareStack,this.config,i);if(o)s(t).then(function(a){return o(null,a.output)},function(a){return o(a)}).catch(function(){});else return s(t).then(function(a){return a.output})},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),Kh=function(){function e(){this.middlewareStack=ss()}return e}(),as=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,at([null],arguments)),n=new t;return Object.setPrototypeOf(n,e.prototype),n};as.prototype=Object.create(String.prototype,{constructor:{value:as,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(as,String),function(e){Za(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(n){return n instanceof t?n:n instanceof String||typeof n=="string"?new t(n):new t(JSON.stringify(n))},t}(as);var Ij=function(e,t){return function(n,r){return function(i){return Te(void 0,void 0,void 0,function(){var o,s;return Ae(this,function(a){switch(a.label){case 0:return[4,n(i)];case 1:return o=a.sent().response,[4,t(o,e)];case 2:return s=a.sent(),[2,{response:o,output:s}]}})})}}},Nj=function(e,t){return function(n,r){return function(i){return Te(void 0,void 0,void 0,function(){var o;return Ae(this,function(s){switch(s.label){case 0:return[4,t(i.input,e)];case 1:return o=s.sent(),[2,n(De(De({},i),{request:o}))]}})})}}},Tj={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},jj={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Gh(e,t,n){return{applyToStack:function(r){r.add(Ij(e,n),Tj),r.add(Nj(e,t),jj)}}}var An=new Qt("CognitoCredentials"),Sj=new Promise(function(e,t){if(!an().isBrowser)return An.debug("not in the browser, directly resolved"),e();var n=window.gapi&&window.gapi.auth2?window.gapi.auth2:null;if(n)return An.debug("google api already loaded"),e();setTimeout(function(){return e()},2e3)}),bj=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return Te(this,void 0,void 0,function(){return Ae(this,function(t){switch(t.label){case 0:return this.initialized?[3,2]:(An.debug("need to wait for the Google SDK loaded"),[4,Sj]);case 1:t.sent(),this.initialized=!0,An.debug("finish waiting"),t.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}})})},e.prototype._refreshGoogleTokenImpl=function(){var t=null;return an().isBrowser&&(t=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),t?new Promise(function(n,r){t.getAuthInstance().then(function(i){i||(An.debug("google Auth undefined"),r(new Hn("google Auth undefined")));var o=i.currentUser.get();o.isSignedIn()?(An.debug("refreshing the google access token"),o.reloadAuthResponse().then(function(s){var a=s.id_token,u=s.expires_at;n({token:a,expires_at:u})}).catch(function(s){s&&s.error==="network_error"?r("Network error reloading google auth response"):r(new Hn("Failed to reload google auth response"))})):r(new Hn("User is not signed in with Google"))}).catch(function(i){An.debug("Failed to refresh google token",i),r(new Hn("Failed to refresh google token"))})}):(An.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),Gn=new Qt("CognitoCredentials"),Cj=new Promise(function(e,t){if(!an().isBrowser)return Gn.debug("not in the browser, directly resolved"),e();var n=window.FB;if(n)return Gn.debug("FB SDK already loaded"),e();setTimeout(function(){return e()},2e3)}),xj=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return Te(this,void 0,void 0,function(){return Ae(this,function(t){switch(t.label){case 0:return this.initialized?[3,2]:(Gn.debug("need to wait for the Facebook SDK loaded"),[4,Cj]);case 1:t.sent(),this.initialized=!0,Gn.debug("finish waiting"),t.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}})})},e.prototype._refreshFacebookTokenImpl=function(){var t=null;if(an().isBrowser&&(t=window.FB),!t){var n="no fb sdk available";return Gn.debug(n),Promise.reject(new Hn(n))}return new Promise(function(r,i){t.getLoginStatus(function(o){if(!o||!o.authResponse){var s="no response from facebook when refreshing the jwt token";Gn.debug(s),i(new Hn(s))}else{var a=o.authResponse,u=a.accessToken,c=a.expiresIn,l=new Date,f=c*1e3+l.getTime();if(!u){var s="the jwtToken is undefined";Gn.debug(s),i(new Hn(s))}r({token:u,expires_at:f})}},{scope:"public_profile,email"})})},e}(),Oj=new bj,Lj=new xj,Jn={},_j=function(){function e(){}return e.setItem=function(t,n){return Jn[t]=n,Jn[t]},e.getItem=function(t){return Object.prototype.hasOwnProperty.call(Jn,t)?Jn[t]:void 0},e.removeItem=function(t){return delete Jn[t]},e.clear=function(){return Jn={},Jn},e}(),Jh=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch{this.storageWindow=_j}}return e.prototype.getStorage=function(){return this.storageWindow},e}();const kj={name:"@aws-sdk/client-cognito-identity",description:"AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",version:"3.6.1",scripts:{clean:"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./",prepublishOnly:"yarn build",pretest:"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test:unit":"mocha **/cjs/**/*.spec.js","test:e2e":"mocha **/cjs/**/*.ispec.js && karma start karma.conf.js",test:"yarn test:unit","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json",build:"yarn build:cjs && yarn build:es",postbuild:"downlevel-dts types types/ts3.4"},main:"./dist/cjs/index.js",types:"./types/index.d.ts",module:"./dist/es/index.js",browser:{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.6.1","@aws-sdk/credential-provider-node":"3.6.1","@aws-sdk/fetch-http-handler":"3.6.1","@aws-sdk/hash-node":"3.6.1","@aws-sdk/invalid-dependency":"3.6.1","@aws-sdk/middleware-content-length":"3.6.1","@aws-sdk/middleware-host-header":"3.6.1","@aws-sdk/middleware-logger":"3.6.1","@aws-sdk/middleware-retry":"3.6.1","@aws-sdk/middleware-serde":"3.6.1","@aws-sdk/middleware-signing":"3.6.1","@aws-sdk/middleware-stack":"3.6.1","@aws-sdk/middleware-user-agent":"3.6.1","@aws-sdk/node-config-provider":"3.6.1","@aws-sdk/node-http-handler":"3.6.1","@aws-sdk/protocol-http":"3.6.1","@aws-sdk/smithy-client":"3.6.1","@aws-sdk/types":"3.6.1","@aws-sdk/url-parser":"3.6.1","@aws-sdk/url-parser-native":"3.6.1","@aws-sdk/util-base64-browser":"3.6.1","@aws-sdk/util-base64-node":"3.6.1","@aws-sdk/util-body-length-browser":"3.6.1","@aws-sdk/util-body-length-node":"3.6.1","@aws-sdk/util-user-agent-browser":"3.6.1","@aws-sdk/util-user-agent-node":"3.6.1","@aws-sdk/util-utf8-browser":"3.6.1","@aws-sdk/util-utf8-node":"3.6.1",tslib:"^2.0.0"},devDependencies:{"@aws-sdk/client-documentation-generator":"3.6.1","@aws-sdk/client-iam":"3.6.1","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^12.7.5","downlevel-dts":"0.7.0",jest:"^26.1.0",rimraf:"^3.0.0",typedoc:"^0.19.2",typescript:"~4.1.2"},engines:{node:">=10.0.0"},typesVersions:{"<4.0":{"types/*":["types/ts3.4/*"]}},author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-cognito-identity"}};var Zh="cognito-identity.{region}.amazonaws.com",zj="cognito-identity.{region}.amazonaws.com.cn",Pj="cognito-identity.{region}.c2s.ic.gov",Uj="cognito-identity.{region}.sc2s.sgov.gov",Rj="cognito-identity.{region}.amazonaws.com",Fj=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),Yj=new Set(["cn-north-1","cn-northwest-1"]),Bj=new Set(["us-iso-east-1"]),Qj=new Set(["us-isob-east-1"]),$j=new Set(["us-gov-east-1","us-gov-west-1"]),Wj=function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":n={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":n={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":n={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":n={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":n={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":n={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:Fj.has(e)&&(n={hostname:Zh.replace("{region}",e),partition:"aws"}),Yj.has(e)&&(n={hostname:zj.replace("{region}",e),partition:"aws-cn"}),Bj.has(e)&&(n={hostname:Pj.replace("{region}",e),partition:"aws-iso"}),Qj.has(e)&&(n={hostname:Uj.replace("{region}",e),partition:"aws-iso-b"}),$j.has(e)&&(n={hostname:Rj.replace("{region}",e),partition:"aws-us-gov"}),n===void 0&&(n={hostname:Zh.replace("{region}",e),partition:"aws"})}return Promise.resolve(se({signingService:"cognito-identity"},n))},Xh={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:Wj,serviceId:"Cognito Identity",urlParser:bT},Vj=se(se({},Xh),{runtime:"browser",base64Decoder:Eh,base64Encoder:xN,bodyLengthChecker:wT,credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:jT({serviceId:Xh.serviceId,clientVersion:kj.version}),maxAttempts:Au,region:zN("Region is missing"),requestHandler:new bN,sha256:ah.Sha256,streamCollector:ON,utf8Decoder:uh,utf8Encoder:ch}),Hj=function(e){cu(t,e);function t(n){var r=this,i=se(se({},Vj),n),o=LT(i),s=CT(o),a=Mj(s),u=mT(a),c=u,l=yj(c);return r=e.call(this,l)||this,r.config=l,r.middlewareStack.use(RN(r.config)),r.middlewareStack.use(PT(r.config)),r.middlewareStack.use(FT(r.config)),r.middlewareStack.use(QT(r.config)),r.middlewareStack.use(Ej(r.config)),r}return t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(Aj),eg;(function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"})(eg||(eg={}));var tg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(tg||(tg={}));var ng;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(ng||(ng={}));var rg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(rg||(rg={}));var ig;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(ig||(ig={}));var og;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(og||(og={}));var sg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(sg||(sg={}));var ag;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(ag||(ag={}));var ug;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(ug||(ug={}));var cg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(cg||(cg={}));var lg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(lg||(lg={}));var fg;(function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"})(fg||(fg={}));var dg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(dg||(dg={}));var hg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(hg||(hg={}));var gg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(gg||(gg={}));var pg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(pg||(pg={}));var Mg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Mg||(Mg={}));var yg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(yg||(yg={}));var mg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(mg||(mg={}));var vg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(vg||(vg={}));var Ou;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Ou||(Ou={}));var wg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(wg||(wg={}));var Lu;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Lu||(Lu={}));var Dg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Dg||(Dg={}));var _u;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(_u||(_u={}));var ku;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(ku||(ku={}));var Eg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Eg||(Eg={}));var Ag;(function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"})(Ag||(Ag={}));var Ig;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Ig||(Ig={}));var Ng;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Ng||(Ng={}));var Tg;(function(e){e.RULES="Rules",e.TOKEN="Token"})(Tg||(Tg={}));var jg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(jg||(jg={}));var Sg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Sg||(Sg={}));var bg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(bg||(bg={}));var Cg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Cg||(Cg={}));var xg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(xg||(xg={}));var Og;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Og||(Og={}));var Lg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Lg||(Lg={}));var _g;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(_g||(_g={}));var kg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(kg||(kg={}));var zg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(zg||(zg={}));var Pg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Pg||(Pg={}));var Ug;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Ug||(Ug={}));var Rg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Rg||(Rg={}));var Fg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Fg||(Fg={}));var Yg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Yg||(Yg={}));var Bg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Bg||(Bg={}));var Qg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Qg||(Qg={}));var $g;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})($g||($g={}));var Wg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Wg||(Wg={}));var Vg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Vg||(Vg={}));var Hg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Hg||(Hg={}));var qg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(qg||(qg={}));var Kg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Kg||(Kg={}));var Gg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Gg||(Gg={}));var Jg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Jg||(Jg={}));var Zg;(function(e){e.filterSensitiveLog=function(t){return se({},t)}})(Zg||(Zg={}));var qj=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r;return gt(this,function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},r=JSON.stringify(nS(e)),[2,ap(t,n,"/",void 0,r)]})})},Kj=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r;return gt(this,function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},r=JSON.stringify(rS(e)),[2,ap(t,n,"/",void 0,r)]})})},Gj=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){switch(o.label){case 0:return e.statusCode>=300?[2,Jj(e,t)]:[4,us(e.body,t)];case 1:return n=o.sent(),r={},r=sS(n),i=se({$metadata:$e(e)},r),[2,Promise.resolve(i)]}})})},Jj=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h,p,m,v;return gt(this,function(w){switch(w.label){case 0:return r=[se({},e)],v={},[4,us(e.body,t)];case 1:switch(n=se.apply(void 0,r.concat([(v.body=w.sent(),v)])),o="UnknownError",o=up(e,n.body),s=o,s){case"ExternalServiceException":return[3,2];case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":return[3,4];case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":return[3,6];case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":return[3,8];case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":return[3,10];case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":return[3,12];case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":return[3,14];case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":return[3,16];case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,Xg(n)];case 3:return i=se.apply(void 0,[se.apply(void 0,a.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 4:return u=[{}],[4,ep(n)];case 5:return i=se.apply(void 0,[se.apply(void 0,u.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 6:return c=[{}],[4,eS(n)];case 7:return i=se.apply(void 0,[se.apply(void 0,c.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 8:return l=[{}],[4,tp(n)];case 9:return i=se.apply(void 0,[se.apply(void 0,l.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 10:return f=[{}],[4,np(n)];case 11:return i=se.apply(void 0,[se.apply(void 0,f.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 12:return d=[{}],[4,rp(n)];case 13:return i=se.apply(void 0,[se.apply(void 0,d.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 14:return g=[{}],[4,ip(n)];case 15:return i=se.apply(void 0,[se.apply(void 0,g.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 16:return h=[{}],[4,op(n)];case 17:return i=se.apply(void 0,[se.apply(void 0,h.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 18:p=n.body,o=p.code||p.Code||o,i=se(se({},p),{name:""+o,message:p.message||p.Message||o,$fault:"client",$metadata:$e(e)}),w.label=19;case 19:return m=i.message||i.Message||o,i.message=m,delete i.Message,[2,Promise.reject(Object.assign(new Error(m),i))]}})})},Zj=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){switch(o.label){case 0:return e.statusCode>=300?[2,Xj(e,t)]:[4,us(e.body,t)];case 1:return n=o.sent(),r={},r=aS(n),i=se({$metadata:$e(e)},r),[2,Promise.resolve(i)]}})})},Xj=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h,p,m,v;return gt(this,function(w){switch(w.label){case 0:return r=[se({},e)],v={},[4,us(e.body,t)];case 1:switch(n=se.apply(void 0,r.concat([(v.body=w.sent(),v)])),o="UnknownError",o=up(e,n.body),s=o,s){case"ExternalServiceException":return[3,2];case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":return[3,4];case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":return[3,6];case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":return[3,8];case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":return[3,10];case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":return[3,12];case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":return[3,14];case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":return[3,16];case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,Xg(n)];case 3:return i=se.apply(void 0,[se.apply(void 0,a.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 4:return u=[{}],[4,ep(n)];case 5:return i=se.apply(void 0,[se.apply(void 0,u.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 6:return c=[{}],[4,tp(n)];case 7:return i=se.apply(void 0,[se.apply(void 0,c.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 8:return l=[{}],[4,tS(n)];case 9:return i=se.apply(void 0,[se.apply(void 0,l.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 10:return f=[{}],[4,np(n)];case 11:return i=se.apply(void 0,[se.apply(void 0,f.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 12:return d=[{}],[4,rp(n)];case 13:return i=se.apply(void 0,[se.apply(void 0,d.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 14:return g=[{}],[4,ip(n)];case 15:return i=se.apply(void 0,[se.apply(void 0,g.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 16:return h=[{}],[4,op(n)];case 17:return i=se.apply(void 0,[se.apply(void 0,h.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 18:p=n.body,o=p.code||p.Code||o,i=se(se({},p),{name:""+o,message:p.message||p.Message||o,$fault:"client",$metadata:$e(e)}),w.label=19;case 19:return m=i.message||i.Message||o,i.message=m,delete i.Message,[2,Promise.reject(Object.assign(new Error(m),i))]}})})},Xg=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=oS(n),i=se({name:"ExternalServiceException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},ep=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=uS(n),i=se({name:"InternalErrorException",$fault:"server",$metadata:$e(e)},r),[2,i]})})},eS=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=cS(n),i=se({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},tp=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=lS(n),i=se({name:"InvalidParameterException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},tS=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=fS(n),i=se({name:"LimitExceededException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},np=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=dS(n),i=se({name:"NotAuthorizedException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},rp=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=hS(n),i=se({name:"ResourceConflictException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},ip=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=gS(n),i=se({name:"ResourceNotFoundException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},op=function(e,t){return ht(void 0,void 0,void 0,function(){var n,r,i;return gt(this,function(o){return n=e.body,r=pS(n),i=se({name:"TooManyRequestsException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},nS=function(e,t){return se(se(se({},e.CustomRoleArn!==void 0&&e.CustomRoleArn!==null&&{CustomRoleArn:e.CustomRoleArn}),e.IdentityId!==void 0&&e.IdentityId!==null&&{IdentityId:e.IdentityId}),e.Logins!==void 0&&e.Logins!==null&&{Logins:sp(e.Logins)})},rS=function(e,t){return se(se(se({},e.AccountId!==void 0&&e.AccountId!==null&&{AccountId:e.AccountId}),e.IdentityPoolId!==void 0&&e.IdentityPoolId!==null&&{IdentityPoolId:e.IdentityPoolId}),e.Logins!==void 0&&e.Logins!==null&&{Logins:sp(e.Logins)})},sp=function(e,t){return Object.entries(e).reduce(function(n,r){var i,o=XI(r,2),s=o[0],a=o[1];return a===null?n:se(se({},n),(i={},i[s]=a,i))},{})},iS=function(e,t){return{AccessKeyId:e.AccessKeyId!==void 0&&e.AccessKeyId!==null?e.AccessKeyId:void 0,Expiration:e.Expiration!==void 0&&e.Expiration!==null?new Date(Math.round(e.Expiration*1e3)):void 0,SecretKey:e.SecretKey!==void 0&&e.SecretKey!==null?e.SecretKey:void 0,SessionToken:e.SessionToken!==void 0&&e.SessionToken!==null?e.SessionToken:void 0}},oS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},sS=function(e,t){return{Credentials:e.Credentials!==void 0&&e.Credentials!==null?iS(e.Credentials):void 0,IdentityId:e.IdentityId!==void 0&&e.IdentityId!==null?e.IdentityId:void 0}},aS=function(e,t){return{IdentityId:e.IdentityId!==void 0&&e.IdentityId!==null?e.IdentityId:void 0}},uS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},cS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},lS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},fS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},dS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},hS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},gS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},pS=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},$e=function(e){var t;return{httpStatusCode:e.statusCode,requestId:(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},MS=function(e,t){return e===void 0&&(e=new Uint8Array),e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array)},yS=function(e,t){return MS(e,t).then(function(n){return t.utf8Encoder(n)})},ap=function(e,t,n,r,i){return ht(void 0,void 0,void 0,function(){var o,s,a,u,c,l;return gt(this,function(f){switch(f.label){case 0:return[4,e.endpoint()];case 1:return o=f.sent(),s=o.hostname,a=o.protocol,u=a===void 0?"https":a,c=o.port,l={protocol:u,hostname:s,port:c,method:"POST",path:n,headers:t},r!==void 0&&(l.hostname=r),i!==void 0&&(l.body=i),[2,new xr(l)]}})})},us=function(e,t){return yS(e,t).then(function(n){return n.length?JSON.parse(n):{}})},up=function(e,t){var n=function(o,s){return Object.keys(o).find(function(a){return a.toLowerCase()===s.toLowerCase()})},r=function(o){var s=o;return s.indexOf(":")>=0&&(s=s.split(":")[0]),s.indexOf("#")>=0&&(s=s.split("#")[1]),s},i=n(e.headers,"x-amzn-errortype");return i!==void 0?r(e.headers[i]):t.code!==void 0?r(t.code):t.__type!==void 0?r(t.__type):""},zu=function(e){cu(t,e);function t(n){var r=e.call(this)||this;return r.input=n,r}return t.prototype.resolveMiddleware=function(n,r,i){this.middlewareStack.use(Gh(r,this.serialize,this.deserialize));var o=n.concat(this.middlewareStack),s=r.logger,a="CognitoIdentityClient",u="GetCredentialsForIdentityCommand",c={logger:s,clientName:a,commandName:u,inputFilterSensitiveLog:Ou.filterSensitiveLog,outputFilterSensitiveLog:Lu.filterSensitiveLog},l=r.requestHandler;return o.resolve(function(f){return l.handle(f.request,i||{})},c)},t.prototype.serialize=function(n,r){return qj(n,r)},t.prototype.deserialize=function(n,r){return Gj(n,r)},t}(Kh),Ci=function(e){cu(t,e);function t(n){var r=e.call(this)||this;return r.input=n,r}return t.prototype.resolveMiddleware=function(n,r,i){this.middlewareStack.use(Gh(r,this.serialize,this.deserialize));var o=n.concat(this.middlewareStack),s=r.logger,a="CognitoIdentityClient",u="GetIdCommand",c={logger:s,clientName:a,commandName:u,inputFilterSensitiveLog:_u.filterSensitiveLog,outputFilterSensitiveLog:ku.filterSensitiveLog},l=r.requestHandler;return o.resolve(function(f){return l.handle(f.request,i||{})},c)},t.prototype.serialize=function(n,r){return Kj(n,r)},t.prototype.deserialize=function(n,r){return Zj(n,r)},t}(Kh),cs=function(e){Za(t,e);function t(n,r){r===void 0&&(r=!0);var i=e.call(this,n)||this;return i.tryNextLink=r,i}return t}(Error);function cp(e){return Promise.all(Object.keys(e).reduce(function(t,n){var r=e[n];return typeof r=="string"?t.push([n,r]):t.push(r().then(function(i){return[n,i]})),t},[])).then(function(t){return t.reduce(function(n,r){var i=Wn(r,2),o=i[0],s=i[1];return n[o]=s,n},{})})}function xi(e){var t=this;return function(){return Te(t,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h;return Ae(this,function(p){switch(p.label){case 0:return f=(l=e.client).send,d=zu.bind,h={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,cp(e.logins)]:[3,2];case 1:return g=p.sent(),[3,3];case 2:g=void 0,p.label=3;case 3:return[4,f.apply(l,[new(d.apply(zu,[void 0,(h.Logins=g,h)]))])];case 4:return n=p.sent().Credentials,r=n===void 0?vS():n,i=r.AccessKeyId,o=i===void 0?mS():i,s=r.Expiration,a=r.SecretKey,u=a===void 0?wS():a,c=r.SessionToken,[2,{identityId:e.identityId,accessKeyId:o,secretAccessKey:u,sessionToken:c,expiration:s}]}})})}}function mS(){throw new cs("Response from Amazon Cognito contained no access key ID")}function vS(){throw new cs("Response from Amazon Cognito contained no credentials")}function wS(){throw new cs("Response from Amazon Cognito contained no secret key")}var Pu="IdentityIds",DS=function(){function e(t){t===void 0&&(t="aws:cognito-identity-ids"),this.dbName=t}return e.prototype.getItem=function(t){return this.withObjectStore("readonly",function(n){var r=n.get(t);return new Promise(function(i){r.onerror=function(){return i(null)},r.onsuccess=function(){return i(r.result?r.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(t){return this.withObjectStore("readwrite",function(n){var r=n.delete(t);return new Promise(function(i,o){r.onerror=function(){return o(r.error)},r.onsuccess=function(){return i()}})})},e.prototype.setItem=function(t,n){return this.withObjectStore("readwrite",function(r){var i=r.put({id:t,value:n});return new Promise(function(o,s){i.onerror=function(){return s(i.error)},i.onsuccess=function(){return o()}})})},e.prototype.getDb=function(){var t=self.indexedDB.open(this.dbName,1);return new Promise(function(n,r){t.onsuccess=function(){n(t.result)},t.onerror=function(){r(t.error)},t.onblocked=function(){r(new Error("Unable to access DB"))},t.onupgradeneeded=function(){var i=t.result;i.onerror=function(){r(new Error("Failed to create object store"))},i.createObjectStore(Pu,{keyPath:"id"})}})},e.prototype.withObjectStore=function(t,n){return this.getDb().then(function(r){var i=r.transaction(Pu,t);return i.oncomplete=function(){return r.close()},new Promise(function(o,s){i.onerror=function(){return s(i.error)},o(n(i.objectStore(Pu)))}).catch(function(o){throw r.close(),o})})},e}(),ES=function(){function e(t){t===void 0&&(t={}),this.store=t}return e.prototype.getItem=function(t){return t in this.store?this.store[t]:null},e.prototype.removeItem=function(t){delete this.store[t]},e.prototype.setItem=function(t,n){this.store[t]=n},e}(),AS=new ES;function IS(){return typeof self=="object"&&self.indexedDB?new DS:typeof window=="object"&&window.localStorage?window.localStorage:AS}function NS(e){var t=this,n=e.accountId,r=e.cache,i=r===void 0?IS():r,o=e.client,s=e.customRoleArn,a=e.identityPoolId,u=e.logins,c=e.userIdentifier,l=c===void 0?!u||Object.keys(u).length===0?"ANONYMOUS":void 0:c,f=l?"aws:cognito-identity-credentials:"+a+":"+l:void 0,d=function(){return Te(t,void 0,void 0,function(){var g,h,p,m,v,w,j,N,I;return Ae(this,function(B){switch(B.label){case 0:return h=f,h?[4,i.getItem(f)]:[3,2];case 1:h=B.sent(),B.label=2;case 2:return g=h,g?[3,7]:(w=(v=o).send,j=Ci.bind,I={AccountId:n,IdentityPoolId:a},u?[4,cp(u)]:[3,4]);case 3:return N=B.sent(),[3,5];case 4:N=void 0,B.label=5;case 5:return[4,w.apply(v,[new(j.apply(Ci,[void 0,(I.Logins=N,I)]))])];case 6:p=B.sent().IdentityId,m=p===void 0?TS():p,g=m,f&&Promise.resolve(i.setItem(f,g)).catch(function(){}),B.label=7;case 7:return d=xi({client:o,customRoleArn:s,logins:u,identityId:g}),[2,d()]}})})};return function(){return d().catch(function(g){return Te(t,void 0,void 0,function(){return Ae(this,function(h){throw f&&Promise.resolve(i.removeItem(f)).catch(function(){}),g})})})}}function TS(){throw new cs("Response from Amazon Cognito contained no identity ID")}function Uu(e){var t=new Hj({region:e.region,customUserAgent:hI()});return t.middlewareStack.add(function(n,r){return function(i){return n(jS(i))}},{step:"build",name:"cacheControlMiddleWare"}),t}function jS(e){return De(De({},e),{request:De(De({},e.request),{headers:De(De({},e.request.headers),{"cache-control":"no-store"})})})}var Se=new Qt("Credentials"),SS=50*60*1e3,bS="CognitoIdentityId-",CS=typeof Symbol<"u"&&typeof Symbol.for=="function"?Symbol.for("amplify_default"):"@@amplify_default",xS=function(e,t,n){sn.dispatch("core",{event:e,data:t,message:n},"Credentials",CS)},OS=function(){function e(t){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(t),this._refreshHandlers.google=Oj.refreshGoogleToken,this._refreshHandlers.facebook=Lj.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(t){if(!t)return this._config||{};this._config=Object.assign({},this._config,t);var n=this._config.refreshHandlers;return n&&(this._refreshHandlers=De(De({},this._refreshHandlers),n)),this._storage=this._config.storage,this._storage||(this._storage=new Jh().getStorage()),this._storageSync=Promise.resolve(),typeof this._storage.sync=="function"&&(this._storageSync=this._storage.sync()),xS("credentials_configured",null,"Credentials has been configured successfully"),this._config},e.prototype.get=function(){return Se.debug("getting credentials"),this._pickupCredentials()},e.prototype._getCognitoIdentityIdStorageKey=function(t){return""+bS+t},e.prototype._pickupCredentials=function(){return Se.debug("picking up credentials"),!this._gettingCredPromise||!this._gettingCredPromise.isPending()?(Se.debug("getting new cred promise"),this._gettingCredPromise=yI(this._keepAlive())):Se.debug("getting old cred promise"),this._gettingCredPromise},e.prototype._keepAlive=function(){return Te(this,void 0,void 0,function(){var t,n,r,i,o,s,a,u;return Ae(this,function(c){switch(c.label){case 0:if(Se.debug("checking if credentials exists and not expired"),t=this._credentials,t&&!this._isExpired(t)&&!this._isPastTTL())return Se.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(t)];if(Se.debug("need to get a new credential or refresh the existing one"),n=this.Auth,r=n===void 0?eu.Auth:n,!r||typeof r.currentUserCredentials!="function")return[2,this._setCredentialsForGuest()];if(!(!this._isExpired(t)&&this._isPastTTL()))return[3,6];Se.debug("ttl has passed but token is not yet expired"),c.label=1;case 1:return c.trys.push([1,5,,6]),[4,r.currentUserPoolUser()];case 2:return i=c.sent(),[4,r.currentSession()];case 3:return o=c.sent(),s=o.refreshToken,a=new Promise(function(l,f){i.refreshSession(s,function(d,g){return d?f(d):l(g)})}),[4,a];case 4:return c.sent(),[3,6];case 5:return u=c.sent(),Se.debug("Error attempting to refreshing the session",u),[3,6];case 6:return[2,r.currentUserCredentials()]}})})},e.prototype.refreshFederatedToken=function(t){Se.debug("Getting federated credentials");var n=t.provider,r=t.user,i=t.token,o=t.identity_id,s=t.expires_at;s=new Date(s).getFullYear()===1970?s*1e3:s;var a=this;return Se.debug("checking if federated jwt token expired"),s>new Date().getTime()?(Se.debug("token not expired"),this._setCredentialsFromFederation({provider:n,token:i,user:r,identity_id:o,expires_at:s})):a._refreshHandlers[n]&&typeof a._refreshHandlers[n]=="function"?(Se.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:a._refreshHandlers[n],provider:n,user:r})):(Se.debug("no refresh handler for provider:",n),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(t){var n=this,r=t.refreshHandler,i=t.provider,o=t.user,s=10*1e3;return KI(r,[],s).then(function(a){return Se.debug("refresh federated token sucessfully",a),n._setCredentialsFromFederation({provider:i,token:a.token,user:o,identity_id:a.identity_id,expires_at:a.expires_at})}).catch(function(a){var u=typeof a=="string"&&a.toLowerCase().lastIndexOf("network error",a.length)===0;return u||n.clear(),Se.debug("refresh federated token failed",a),Promise.reject("refreshing federation token failed: "+a)})},e.prototype._isExpired=function(t){if(!t)return Se.debug("no credentials for expiration check"),!0;Se.debug("are these credentials expired?",t);var n=Date.now(),r=t.expiration;return r.getTime()<=n},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){var t;return Te(this,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g=this;return Ae(this,function(h){switch(h.label){case 0:return Se.debug("setting credentials for guest"),!((t=this._config)===null||t===void 0)&&t.identityPoolId||(this._config=Object.assign({},this._config,sh(this._config||{}).Auth)),n=this._config,r=n.identityPoolId,i=n.region,o=n.mandatorySignIn,s=n.identityPoolRegion,o?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:r?!s&&!i?(Se.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(u=this,[4,this._getGuestIdentityId()]):(Se.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return a=u._identityId=h.sent(),c=Uu({region:s||i}),l=void 0,a?(f={identityId:a,client:c},l=xi(f)()):(d=function(){return Te(g,void 0,void 0,function(){var p,m,v;return Ae(this,function(w){switch(w.label){case 0:return[4,c.send(new Ci({IdentityPoolId:r}))];case 1:return p=w.sent().IdentityId,this._identityId=p,m={client:c,identityId:p},v=xi(m),[2,v()]}})})},l=d().catch(function(p){return Te(g,void 0,void 0,function(){return Ae(this,function(m){throw p})})})),[2,this._loadCredentials(l,"guest",!1,null).then(function(p){return p}).catch(function(p){return Te(g,void 0,void 0,function(){var m,v=this;return Ae(this,function(w){switch(w.label){case 0:return p.name==="ResourceNotFoundException"&&p.message==="Identity '"+a+"' not found."?(Se.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]):[3,2];case 1:return w.sent(),m=function(){return Te(v,void 0,void 0,function(){var j,N,I;return Ae(this,function(B){switch(B.label){case 0:return[4,c.send(new Ci({IdentityPoolId:r}))];case 1:return j=B.sent().IdentityId,this._identityId=j,N={client:c,identityId:j},I=xi(N),[2,I()]}})})},l=m().catch(function(j){return Te(v,void 0,void 0,function(){return Ae(this,function(N){throw j})})}),[2,this._loadCredentials(l,"guest",!1,null)];case 2:return[2,p]}})})})]}})})},e.prototype._setCredentialsFromFederation=function(t){var n=t.provider,r=t.token,i=t.identity_id,o={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"},s=o[n]||n;if(!s)return Promise.reject("You must specify a federated provider");var a={};a[s]=r;var u=this._config,c=u.identityPoolId,l=u.region,f=u.identityPoolRegion;if(!c)return Se.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!f&&!l)return Se.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var d=Uu({region:f||l}),g=void 0;if(i){var h={identityId:i,logins:a,client:d};g=xi(h)()}else{var h={logins:a,identityPoolId:c,client:d};g=NS(h)()}return this._loadCredentials(g,"federated",!0,t)},e.prototype._setCredentialsFromSession=function(t){var n=this;Se.debug("set credentials from session");var r=t.getIdToken().getJwtToken(),i=this._config,o=i.region,s=i.userPoolId,a=i.identityPoolId,u=i.identityPoolRegion;if(!a)return Se.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!u&&!o)return Se.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c="cognito-idp."+o+".amazonaws.com/"+s,l={};l[c]=r;var f=Uu({region:u||o}),d=function(){return Te(n,void 0,void 0,function(){var h,p,m,v,w,j,N,I,B,z;return Ae(this,function(W){switch(W.label){case 0:return[4,this._getGuestIdentityId()];case 1:return h=W.sent(),h?[3,3]:[4,f.send(new Ci({IdentityPoolId:a,Logins:l}))];case 2:m=W.sent().IdentityId,p=m,W.label=3;case 3:return[4,f.send(new zu({IdentityId:h||p,Logins:l}))];case 4:return v=W.sent(),w=v.Credentials,j=w.AccessKeyId,N=w.Expiration,I=w.SecretKey,B=w.SessionToken,z=v.IdentityId,this._identityId=z,h?(Se.debug("The guest identity "+h+" has been successfully linked to the logins"),h===z&&Se.debug("The guest identity "+h+" has become the primary identity"),[4,this._removeGuestIdentityId()]):[3,6];case 5:W.sent(),W.label=6;case 6:return[2,{accessKeyId:j,secretAccessKey:I,sessionToken:B,expiration:N,identityId:z}]}})})},g=d().catch(function(h){return Te(n,void 0,void 0,function(){return Ae(this,function(p){throw h})})});return this._loadCredentials(g,"userPool",!0,null)},e.prototype._loadCredentials=function(t,n,r,i){var o=this,s=this;return new Promise(function(a,u){t.then(function(c){return Te(o,void 0,void 0,function(){var l,f,d,g,h;return Ae(this,function(p){switch(p.label){case 0:if(Se.debug("Load credentials successfully",c),this._identityId&&!c.identityId&&(c.identityId=this._identityId),s._credentials=c,s._credentials.authenticated=r,s._credentials_source=n,s._nextCredentialsRefresh=new Date().getTime()+SS,n==="federated"){l=Object.assign({id:this._credentials.identityId},i.user),f=i.provider,d=i.token,g=i.expires_at,h=i.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:f,token:d,user:l,expires_at:g,identity_id:h}))}catch(m){Se.debug("Failed to put federated info into auth storage",m)}}return n!=="guest"?[3,2]:[4,this._setGuestIdentityId(c.identityId)];case 1:p.sent(),p.label=2;case 2:return a(s._credentials),[2]}})})}).catch(function(c){if(c){Se.debug("Failed to load credentials",t),Se.debug("Error loading credentials",c),u(c);return}})})},e.prototype.set=function(t,n){return n==="session"?this._setCredentialsFromSession(t):n==="federation"?this._setCredentialsFromFederation(t):n==="guest"?this._setCredentialsForGuest():(Se.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return Te(this,void 0,void 0,function(){return Ae(this,function(t){return this._credentials=null,this._credentials_source=null,Se.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype._getGuestIdentityId=function(){return Te(this,void 0,void 0,function(){var t,n;return Ae(this,function(r){switch(r.label){case 0:t=this._config.identityPoolId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(t))];case 3:return n=r.sent(),Se.debug("Failed to get the cached guest identityId",n),[3,4];case 4:return[2]}})})},e.prototype._setGuestIdentityId=function(t){return Te(this,void 0,void 0,function(){var n,r;return Ae(this,function(i){switch(i.label){case 0:n=this._config.identityPoolId,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._storageSync];case 2:return i.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(n),t),[3,4];case 3:return r=i.sent(),Se.debug("Failed to cache guest identityId",r),[3,4];case 4:return[2]}})})},e.prototype._removeGuestIdentityId=function(){return Te(this,void 0,void 0,function(){var t;return Ae(this,function(n){return t=this._config.identityPoolId,Se.debug("removing "+this._getCognitoIdentityIdStorageKey(t)+" from storage"),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(t)),[2]})})},e.prototype.shear=function(t){return{accessKeyId:t.accessKeyId,sessionToken:t.sessionToken,secretAccessKey:t.secretAccessKey,identityId:t.identityId,authenticated:t.authenticated}},e}(),lp=new OS(null);eu.register(lp);/*! +`+Sr(o)]}})})},e.prototype.getCanonicalPath=function(t){var n=t.path;if(this.uriEscapePath){var r=encodeURIComponent(n.replace(/^\//,""));return"/"+r.replace(/%2F/g,"/")}return n},e.prototype.getSignature=function(t,n,r,i){return je(this,void 0,void 0,function(){var o,s,a,u,c;return Ee(this,function(l){switch(l.label){case 0:return[4,this.createStringToSign(t,n,i)];case 1:return o=l.sent(),u=(a=this.sha256).bind,[4,r];case 2:return s=new(u.apply(a,[void 0,l.sent()])),s.update(o),c=Sr,[4,s.digest()];case 3:return[2,c.apply(void 0,[l.sent()])]}})})},e.prototype.getSigningKey=function(t,n,r,i){return zT(this.sha256,t,r,n,i||this.service)},e}(),is=function(e){var t=BT(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},ch=function(e){return Object.keys(e).sort().join(";")},WT=function(e){if(typeof e=="string"){var t=Promise.resolve(e);return function(){return t}}else return e},VT=function(e){if(typeof e=="object"){var t=Promise.resolve(e);return function(){return t}}else return e};function HT(e){var t=this,n=e.credentials||e.credentialDefaultProvider(e),r=hu(n),i=e.signingEscapePath,o=i===void 0?!0:i,s=e.systemClockOffset,a=s===void 0?e.systemClockOffset||0:s,u=e.sha256,c;return e.signer?c=hu(e.signer):c=function(){return hu(e.region)().then(function(l){return je(t,void 0,void 0,function(){return Ee(this,function(f){switch(f.label){case 0:return[4,e.regionInfoProvider(l)];case 1:return[2,[f.sent()||{},l]]}})})}).then(function(l){var f=Wn(l,2),d=f[0],g=f[1],h=d.signingRegion,p=d.signingService;return e.signingRegion=e.signingRegion||h||g,e.signingName=e.signingName||p||e.serviceId,new $T({credentials:r,region:e.signingRegion,service:e.signingName,sha256:u,uriEscapePath:o})})},De(De({},e),{systemClockOffset:a,signingEscapePath:o,credentials:r,signer:c})}function hu(e){if(typeof e=="object"){var t=Promise.resolve(e);return function(){return t}}return e}function qT(e){return De(De({},e),{customUserAgent:typeof e.customUserAgent=="string"?[[e.customUserAgent]]:e.customUserAgent})}var gu="user-agent",KT="x-amz-user-agent",lh=" ",GT=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,JT=function(e){return function(t,n){return function(r){return je(void 0,void 0,void 0,function(){var i,o,s,a,u,c,l,f;return Ee(this,function(d){switch(d.label){case 0:return i=r.request,Cr.isInstance(i)?(o=i.headers,s=((l=n==null?void 0:n.userAgent)===null||l===void 0?void 0:l.map(pu))||[],[4,e.defaultUserAgentProvider()]):[2,t(r)];case 1:return a=d.sent().map(pu),u=((f=e==null?void 0:e.customUserAgent)===null||f===void 0?void 0:f.map(pu))||[],o[KT]=ut(a,s,u).join(lh),c=ut(a.filter(function(g){return g.startsWith("aws-sdk-")}),u).join(lh),e.runtime!=="browser"&&c&&(o[gu]=o[gu]?o[gu]+" "+c:c),[2,t(De(De({},r),{request:i}))]}})})}}},pu=function(e){var t=Wn(e,2),n=t[0],r=t[1],i=n.indexOf("/"),o=n.substring(0,i),s=n.substring(i+1);return o==="api"&&(s=s.toLowerCase()),[o,s,r].filter(function(a){return a&&a.length>0}).map(function(a){return a==null?void 0:a.replace(GT,"_")}).join("/")},ZT={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},XT=function(e){return{applyToStack:function(t){t.add(JT(e),ZT)}}},os=function(){var e=[],t=[],n=new Set,r=function(l){return l.sort(function(f,d){return fh[d.step]-fh[f.step]||dh[d.priority||"normal"]-dh[f.priority||"normal"]})},i=function(l){var f=!1,d=function(g){return g.name&&g.name===l?(f=!0,n.delete(l),!1):!0};return e=e.filter(d),t=t.filter(d),f},o=function(l){var f=!1,d=function(g){return g.middleware===l?(f=!0,g.name&&n.delete(g.name),!1):!0};return e=e.filter(d),t=t.filter(d),f},s=function(l){return e.forEach(function(f){l.add(f.middleware,De({},f))}),t.forEach(function(f){l.addRelativeTo(f.middleware,De({},f))}),l},a=function(l){var f=[];return l.before.forEach(function(d){d.before.length===0&&d.after.length===0?f.push(d):f.push.apply(f,ut(a(d)))}),f.push(l),l.after.reverse().forEach(function(d){d.before.length===0&&d.after.length===0?f.push(d):f.push.apply(f,ut(a(d)))}),f},u=function(){var l=[],f=[],d={};e.forEach(function(h){var p=De(De({},h),{before:[],after:[]});p.name&&(d[p.name]=p),l.push(p)}),t.forEach(function(h){var p=De(De({},h),{before:[],after:[]});p.name&&(d[p.name]=p),f.push(p)}),f.forEach(function(h){if(h.toMiddleware){var p=d[h.toMiddleware];if(p===void 0)throw new Error(h.toMiddleware+" is not found when adding "+(h.name||"anonymous")+" middleware "+h.relation+" "+h.toMiddleware);h.relation==="after"&&p.after.push(h),h.relation==="before"&&p.before.push(h)}});var g=r(l).map(a).reduce(function(h,p){return h.push.apply(h,ut(p)),h},[]);return g.map(function(h){return h.middleware})},c={add:function(l,f){f===void 0&&(f={});var d=f.name,g=f.override,h=De({step:"initialize",priority:"normal",middleware:l},f);if(d){if(n.has(d)){if(!g)throw new Error("Duplicate middleware name '"+d+"'");var p=e.findIndex(function(v){return v.name===d}),m=e[p];if(m.step!==h.step||m.priority!==h.priority)throw new Error('"'+d+'" middleware with '+m.priority+" priority in "+m.step+" step cannot be "+("overridden by same-name middleware with "+h.priority+" priority in "+h.step+" step."));e.splice(p,1)}n.add(d)}e.push(h)},addRelativeTo:function(l,f){var d=f.name,g=f.override,h=De({middleware:l},f);if(d){if(n.has(d)){if(!g)throw new Error("Duplicate middleware name '"+d+"'");var p=t.findIndex(function(v){return v.name===d}),m=t[p];if(m.toMiddleware!==h.toMiddleware||m.relation!==h.relation)throw new Error('"'+d+'" middleware '+m.relation+' "'+m.toMiddleware+'" middleware cannot be overridden '+("by same-name middleware "+h.relation+' "'+h.toMiddleware+'" middleware.'));t.splice(p,1)}n.add(d)}t.push(h)},clone:function(){return s(os())},use:function(l){l.applyToStack(c)},remove:function(l){return typeof l=="string"?i(l):o(l)},removeByTag:function(l){var f=!1,d=function(g){var h=g.tags,p=g.name;return h&&h.includes(l)?(p&&n.delete(p),f=!0,!1):!0};return e=e.filter(d),t=t.filter(d),f},concat:function(l){var f=s(os());return f.use(l),f},applyToStack:s,resolve:function(l,f){var d,g;try{for(var h=bt(u().reverse()),p=h.next();!p.done;p=h.next()){var m=p.value;l=m(l,f)}}catch(v){d={error:v}}finally{try{p&&!p.done&&(g=h.return)&&g.call(h)}finally{if(d)throw d.error}}return l}};return c},fh={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},dh={high:3,normal:2,low:1},eN=function(){function e(t){this.middlewareStack=os(),this.config=t}return e.prototype.send=function(t,n,r){var i=typeof n!="function"?n:void 0,o=typeof n=="function"?n:r,s=t.resolveMiddleware(this.middlewareStack,this.config,i);if(o)s(t).then(function(a){return o(null,a.output)},function(a){return o(a)}).catch(function(){});else return s(t).then(function(a){return a.output})},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),hh=function(){function e(){this.middlewareStack=os()}return e}(),ss=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,ut([null],arguments)),n=new t;return Object.setPrototypeOf(n,e.prototype),n};ss.prototype=Object.create(String.prototype,{constructor:{value:ss,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(ss,String),function(e){za(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(n){return n instanceof t?n:n instanceof String||typeof n=="string"?new t(n):new t(JSON.stringify(n))},t}(ss);var tN=function(e,t){return function(n,r){return function(i){return je(void 0,void 0,void 0,function(){var o,s;return Ee(this,function(a){switch(a.label){case 0:return[4,n(i)];case 1:return o=a.sent().response,[4,t(o,e)];case 2:return s=a.sent(),[2,{response:o,output:s}]}})})}}},nN=function(e,t){return function(n,r){return function(i){return je(void 0,void 0,void 0,function(){var o;return Ee(this,function(s){switch(s.label){case 0:return[4,t(i.input,e)];case 1:return o=s.sent(),[2,n(De(De({},i),{request:o}))]}})})}}},rN={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},iN={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function gh(e,t,n){return{applyToStack:function(r){r.add(tN(e,n),rN),r.add(nN(e,t),iN)}}}var An=new Qt("CognitoCredentials"),oN=new Promise(function(e,t){if(!sn().isBrowser)return An.debug("not in the browser, directly resolved"),e();var n=window.gapi&&window.gapi.auth2?window.gapi.auth2:null;if(n)return An.debug("google api already loaded"),e();setTimeout(function(){return e()},2e3)}),sN=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return je(this,void 0,void 0,function(){return Ee(this,function(t){switch(t.label){case 0:return this.initialized?[3,2]:(An.debug("need to wait for the Google SDK loaded"),[4,oN]);case 1:t.sent(),this.initialized=!0,An.debug("finish waiting"),t.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}})})},e.prototype._refreshGoogleTokenImpl=function(){var t=null;return sn().isBrowser&&(t=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),t?new Promise(function(n,r){t.getAuthInstance().then(function(i){i||(An.debug("google Auth undefined"),r(new Hn("google Auth undefined")));var o=i.currentUser.get();o.isSignedIn()?(An.debug("refreshing the google access token"),o.reloadAuthResponse().then(function(s){var a=s.id_token,u=s.expires_at;n({token:a,expires_at:u})}).catch(function(s){s&&s.error==="network_error"?r("Network error reloading google auth response"):r(new Hn("Failed to reload google auth response"))})):r(new Hn("User is not signed in with Google"))}).catch(function(i){An.debug("Failed to refresh google token",i),r(new Hn("Failed to refresh google token"))})}):(An.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),Gn=new Qt("CognitoCredentials"),aN=new Promise(function(e,t){if(!sn().isBrowser)return Gn.debug("not in the browser, directly resolved"),e();var n=window.FB;if(n)return Gn.debug("FB SDK already loaded"),e();setTimeout(function(){return e()},2e3)}),uN=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return je(this,void 0,void 0,function(){return Ee(this,function(t){switch(t.label){case 0:return this.initialized?[3,2]:(Gn.debug("need to wait for the Facebook SDK loaded"),[4,aN]);case 1:t.sent(),this.initialized=!0,Gn.debug("finish waiting"),t.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}})})},e.prototype._refreshFacebookTokenImpl=function(){var t=null;if(sn().isBrowser&&(t=window.FB),!t){var n="no fb sdk available";return Gn.debug(n),Promise.reject(new Hn(n))}return new Promise(function(r,i){t.getLoginStatus(function(o){if(!o||!o.authResponse){var s="no response from facebook when refreshing the jwt token";Gn.debug(s),i(new Hn(s))}else{var a=o.authResponse,u=a.accessToken,c=a.expiresIn,l=new Date,f=c*1e3+l.getTime();if(!u){var s="the jwtToken is undefined";Gn.debug(s),i(new Hn(s))}r({token:u,expires_at:f})}},{scope:"public_profile,email"})})},e}(),cN=new sN,lN=new uN,Jn={},fN=function(){function e(){}return e.setItem=function(t,n){return Jn[t]=n,Jn[t]},e.getItem=function(t){return Object.prototype.hasOwnProperty.call(Jn,t)?Jn[t]:void 0},e.removeItem=function(t){return delete Jn[t]},e.clear=function(){return Jn={},Jn},e}(),ph=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch{this.storageWindow=fN}}return e.prototype.getStorage=function(){return this.storageWindow},e}();const dN={name:"@aws-sdk/client-cognito-identity",description:"AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",version:"3.6.1",scripts:{clean:"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./",prepublishOnly:"yarn build",pretest:"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test:unit":"mocha **/cjs/**/*.spec.js","test:e2e":"mocha **/cjs/**/*.ispec.js && karma start karma.conf.js",test:"yarn test:unit","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json",build:"yarn build:cjs && yarn build:es",postbuild:"downlevel-dts types types/ts3.4"},main:"./dist/cjs/index.js",types:"./types/index.d.ts",module:"./dist/es/index.js",browser:{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.6.1","@aws-sdk/credential-provider-node":"3.6.1","@aws-sdk/fetch-http-handler":"3.6.1","@aws-sdk/hash-node":"3.6.1","@aws-sdk/invalid-dependency":"3.6.1","@aws-sdk/middleware-content-length":"3.6.1","@aws-sdk/middleware-host-header":"3.6.1","@aws-sdk/middleware-logger":"3.6.1","@aws-sdk/middleware-retry":"3.6.1","@aws-sdk/middleware-serde":"3.6.1","@aws-sdk/middleware-signing":"3.6.1","@aws-sdk/middleware-stack":"3.6.1","@aws-sdk/middleware-user-agent":"3.6.1","@aws-sdk/node-config-provider":"3.6.1","@aws-sdk/node-http-handler":"3.6.1","@aws-sdk/protocol-http":"3.6.1","@aws-sdk/smithy-client":"3.6.1","@aws-sdk/types":"3.6.1","@aws-sdk/url-parser":"3.6.1","@aws-sdk/url-parser-native":"3.6.1","@aws-sdk/util-base64-browser":"3.6.1","@aws-sdk/util-base64-node":"3.6.1","@aws-sdk/util-body-length-browser":"3.6.1","@aws-sdk/util-body-length-node":"3.6.1","@aws-sdk/util-user-agent-browser":"3.6.1","@aws-sdk/util-user-agent-node":"3.6.1","@aws-sdk/util-utf8-browser":"3.6.1","@aws-sdk/util-utf8-node":"3.6.1",tslib:"^2.0.0"},devDependencies:{"@aws-sdk/client-documentation-generator":"3.6.1","@aws-sdk/client-iam":"3.6.1","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^12.7.5","downlevel-dts":"0.7.0",jest:"^26.1.0",rimraf:"^3.0.0",typedoc:"^0.19.2",typescript:"~4.1.2"},engines:{node:">=10.0.0"},typesVersions:{"<4.0":{"types/*":["types/ts3.4/*"]}},author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-cognito-identity"}};var Mh="cognito-identity.{region}.amazonaws.com",hN="cognito-identity.{region}.amazonaws.com.cn",gN="cognito-identity.{region}.c2s.ic.gov",pN="cognito-identity.{region}.sc2s.sgov.gov",MN="cognito-identity.{region}.amazonaws.com",yN=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),mN=new Set(["cn-north-1","cn-northwest-1"]),vN=new Set(["us-iso-east-1"]),wN=new Set(["us-isob-east-1"]),DN=new Set(["us-gov-east-1","us-gov-west-1"]),AN=function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":n={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":n={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":n={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":n={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":n={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":n={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:yN.has(e)&&(n={hostname:Mh.replace("{region}",e),partition:"aws"}),mN.has(e)&&(n={hostname:hN.replace("{region}",e),partition:"aws-cn"}),vN.has(e)&&(n={hostname:gN.replace("{region}",e),partition:"aws-iso"}),wN.has(e)&&(n={hostname:pN.replace("{region}",e),partition:"aws-iso-b"}),DN.has(e)&&(n={hostname:MN.replace("{region}",e),partition:"aws-us-gov"}),n===void 0&&(n={hostname:Mh.replace("{region}",e),partition:"aws"})}return Promise.resolve(oe({signingService:"cognito-identity"},n))},yh={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:AN,serviceId:"Cognito Identity",urlParser:sT},EN=oe(oe({},yh),{runtime:"browser",base64Decoder:Fd,base64Encoder:uI,bodyLengthChecker:JI,credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:iT({serviceId:yh.serviceId,clientVersion:dN.version}),maxAttempts:au,region:hI("Region is missing"),requestHandler:new sI,sha256:Td.Sha256,streamCollector:cI,utf8Decoder:Nd,utf8Encoder:jd}),IN=function(e){Ha(t,e);function t(n){var r=this,i=oe(oe({},EN),n),o=lT(i),s=aT(o),a=HT(s),u=KI(a),c=u,l=qT(c);return r=e.call(this,l)||this,r.config=l,r.middlewareStack.use(MI(r.config)),r.middlewareStack.use(gT(r.config)),r.middlewareStack.use(yT(r.config)),r.middlewareStack.use(wT(r.config)),r.middlewareStack.use(XT(r.config)),r}return t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(eN),mh;(function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"})(mh||(mh={}));var vh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(vh||(vh={}));var wh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(wh||(wh={}));var Dh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Dh||(Dh={}));var Ah;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Ah||(Ah={}));var Eh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Eh||(Eh={}));var Ih;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Ih||(Ih={}));var Th;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Th||(Th={}));var Nh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Nh||(Nh={}));var jh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(jh||(jh={}));var Sh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Sh||(Sh={}));var bh;(function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"})(bh||(bh={}));var Ch;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Ch||(Ch={}));var xh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(xh||(xh={}));var Oh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Oh||(Oh={}));var Lh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Lh||(Lh={}));var _h;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(_h||(_h={}));var kh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(kh||(kh={}));var zh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(zh||(zh={}));var Ph;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Ph||(Ph={}));var Mu;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Mu||(Mu={}));var Uh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Uh||(Uh={}));var yu;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(yu||(yu={}));var Rh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Rh||(Rh={}));var mu;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(mu||(mu={}));var vu;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(vu||(vu={}));var Fh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Fh||(Fh={}));var Yh;(function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"})(Yh||(Yh={}));var Bh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Bh||(Bh={}));var Qh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Qh||(Qh={}));var $h;(function(e){e.RULES="Rules",e.TOKEN="Token"})($h||($h={}));var Wh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Wh||(Wh={}));var Vh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Vh||(Vh={}));var Hh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Hh||(Hh={}));var qh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(qh||(qh={}));var Kh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Kh||(Kh={}));var Gh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Gh||(Gh={}));var Jh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Jh||(Jh={}));var Zh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Zh||(Zh={}));var Xh;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Xh||(Xh={}));var eg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(eg||(eg={}));var tg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(tg||(tg={}));var ng;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(ng||(ng={}));var rg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(rg||(rg={}));var ig;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(ig||(ig={}));var og;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(og||(og={}));var sg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(sg||(sg={}));var ag;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(ag||(ag={}));var ug;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(ug||(ug={}));var cg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(cg||(cg={}));var lg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(lg||(lg={}));var fg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(fg||(fg={}));var dg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(dg||(dg={}));var hg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(hg||(hg={}));var gg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(gg||(gg={}));var pg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(pg||(pg={}));var Mg;(function(e){e.filterSensitiveLog=function(t){return oe({},t)}})(Mg||(Mg={}));var TN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r;return pt(this,function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},r=JSON.stringify(LN(e)),[2,Tg(t,n,"/",void 0,r)]})})},NN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r;return pt(this,function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},r=JSON.stringify(_N(e)),[2,Tg(t,n,"/",void 0,r)]})})},jN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){switch(o.label){case 0:return e.statusCode>=300?[2,SN(e,t)]:[4,as(e.body,t)];case 1:return n=o.sent(),r={},r=PN(n),i=oe({$metadata:$e(e)},r),[2,Promise.resolve(i)]}})})},SN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h,p,m,v;return pt(this,function(w){switch(w.label){case 0:return r=[oe({},e)],v={},[4,as(e.body,t)];case 1:switch(n=oe.apply(void 0,r.concat([(v.body=w.sent(),v)])),o="UnknownError",o=Ng(e,n.body),s=o,s){case"ExternalServiceException":return[3,2];case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":return[3,4];case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":return[3,6];case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":return[3,8];case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":return[3,10];case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":return[3,12];case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":return[3,14];case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":return[3,16];case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,yg(n)];case 3:return i=oe.apply(void 0,[oe.apply(void 0,a.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 4:return u=[{}],[4,mg(n)];case 5:return i=oe.apply(void 0,[oe.apply(void 0,u.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 6:return c=[{}],[4,xN(n)];case 7:return i=oe.apply(void 0,[oe.apply(void 0,c.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 8:return l=[{}],[4,vg(n)];case 9:return i=oe.apply(void 0,[oe.apply(void 0,l.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 10:return f=[{}],[4,wg(n)];case 11:return i=oe.apply(void 0,[oe.apply(void 0,f.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 12:return d=[{}],[4,Dg(n)];case 13:return i=oe.apply(void 0,[oe.apply(void 0,d.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 14:return g=[{}],[4,Ag(n)];case 15:return i=oe.apply(void 0,[oe.apply(void 0,g.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 16:return h=[{}],[4,Eg(n)];case 17:return i=oe.apply(void 0,[oe.apply(void 0,h.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 18:p=n.body,o=p.code||p.Code||o,i=oe(oe({},p),{name:""+o,message:p.message||p.Message||o,$fault:"client",$metadata:$e(e)}),w.label=19;case 19:return m=i.message||i.Message||o,i.message=m,delete i.Message,[2,Promise.reject(Object.assign(new Error(m),i))]}})})},bN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){switch(o.label){case 0:return e.statusCode>=300?[2,CN(e,t)]:[4,as(e.body,t)];case 1:return n=o.sent(),r={},r=UN(n),i=oe({$metadata:$e(e)},r),[2,Promise.resolve(i)]}})})},CN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h,p,m,v;return pt(this,function(w){switch(w.label){case 0:return r=[oe({},e)],v={},[4,as(e.body,t)];case 1:switch(n=oe.apply(void 0,r.concat([(v.body=w.sent(),v)])),o="UnknownError",o=Ng(e,n.body),s=o,s){case"ExternalServiceException":return[3,2];case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":return[3,4];case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":return[3,6];case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":return[3,8];case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":return[3,10];case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":return[3,12];case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":return[3,14];case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":return[3,16];case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,yg(n)];case 3:return i=oe.apply(void 0,[oe.apply(void 0,a.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 4:return u=[{}],[4,mg(n)];case 5:return i=oe.apply(void 0,[oe.apply(void 0,u.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 6:return c=[{}],[4,vg(n)];case 7:return i=oe.apply(void 0,[oe.apply(void 0,c.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 8:return l=[{}],[4,ON(n)];case 9:return i=oe.apply(void 0,[oe.apply(void 0,l.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 10:return f=[{}],[4,wg(n)];case 11:return i=oe.apply(void 0,[oe.apply(void 0,f.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 12:return d=[{}],[4,Dg(n)];case 13:return i=oe.apply(void 0,[oe.apply(void 0,d.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 14:return g=[{}],[4,Ag(n)];case 15:return i=oe.apply(void 0,[oe.apply(void 0,g.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 16:return h=[{}],[4,Eg(n)];case 17:return i=oe.apply(void 0,[oe.apply(void 0,h.concat([w.sent()])),{name:o,$metadata:$e(e)}]),[3,19];case 18:p=n.body,o=p.code||p.Code||o,i=oe(oe({},p),{name:""+o,message:p.message||p.Message||o,$fault:"client",$metadata:$e(e)}),w.label=19;case 19:return m=i.message||i.Message||o,i.message=m,delete i.Message,[2,Promise.reject(Object.assign(new Error(m),i))]}})})},yg=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=zN(n),i=oe({name:"ExternalServiceException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},mg=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=RN(n),i=oe({name:"InternalErrorException",$fault:"server",$metadata:$e(e)},r),[2,i]})})},xN=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=FN(n),i=oe({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},vg=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=YN(n),i=oe({name:"InvalidParameterException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},ON=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=BN(n),i=oe({name:"LimitExceededException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},wg=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=QN(n),i=oe({name:"NotAuthorizedException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},Dg=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=$N(n),i=oe({name:"ResourceConflictException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},Ag=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=WN(n),i=oe({name:"ResourceNotFoundException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},Eg=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return pt(this,function(o){return n=e.body,r=VN(n),i=oe({name:"TooManyRequestsException",$fault:"client",$metadata:$e(e)},r),[2,i]})})},LN=function(e,t){return oe(oe(oe({},e.CustomRoleArn!==void 0&&e.CustomRoleArn!==null&&{CustomRoleArn:e.CustomRoleArn}),e.IdentityId!==void 0&&e.IdentityId!==null&&{IdentityId:e.IdentityId}),e.Logins!==void 0&&e.Logins!==null&&{Logins:Ig(e.Logins)})},_N=function(e,t){return oe(oe(oe({},e.AccountId!==void 0&&e.AccountId!==null&&{AccountId:e.AccountId}),e.IdentityPoolId!==void 0&&e.IdentityPoolId!==null&&{IdentityPoolId:e.IdentityPoolId}),e.Logins!==void 0&&e.Logins!==null&&{Logins:Ig(e.Logins)})},Ig=function(e,t){return Object.entries(e).reduce(function(n,r){var i,o=CE(r,2),s=o[0],a=o[1];return a===null?n:oe(oe({},n),(i={},i[s]=a,i))},{})},kN=function(e,t){return{AccessKeyId:e.AccessKeyId!==void 0&&e.AccessKeyId!==null?e.AccessKeyId:void 0,Expiration:e.Expiration!==void 0&&e.Expiration!==null?new Date(Math.round(e.Expiration*1e3)):void 0,SecretKey:e.SecretKey!==void 0&&e.SecretKey!==null?e.SecretKey:void 0,SessionToken:e.SessionToken!==void 0&&e.SessionToken!==null?e.SessionToken:void 0}},zN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},PN=function(e,t){return{Credentials:e.Credentials!==void 0&&e.Credentials!==null?kN(e.Credentials):void 0,IdentityId:e.IdentityId!==void 0&&e.IdentityId!==null?e.IdentityId:void 0}},UN=function(e,t){return{IdentityId:e.IdentityId!==void 0&&e.IdentityId!==null?e.IdentityId:void 0}},RN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},FN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},YN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},BN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},QN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},$N=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},WN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},VN=function(e,t){return{message:e.message!==void 0&&e.message!==null?e.message:void 0}},$e=function(e){var t;return{httpStatusCode:e.statusCode,requestId:(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},HN=function(e,t){return e===void 0&&(e=new Uint8Array),e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array)},qN=function(e,t){return HN(e,t).then(function(n){return t.utf8Encoder(n)})},Tg=function(e,t,n,r,i){return gt(void 0,void 0,void 0,function(){var o,s,a,u,c,l;return pt(this,function(f){switch(f.label){case 0:return[4,e.endpoint()];case 1:return o=f.sent(),s=o.hostname,a=o.protocol,u=a===void 0?"https":a,c=o.port,l={protocol:u,hostname:s,port:c,method:"POST",path:n,headers:t},r!==void 0&&(l.hostname=r),i!==void 0&&(l.body=i),[2,new Cr(l)]}})})},as=function(e,t){return qN(e,t).then(function(n){return n.length?JSON.parse(n):{}})},Ng=function(e,t){var n=function(o,s){return Object.keys(o).find(function(a){return a.toLowerCase()===s.toLowerCase()})},r=function(o){var s=o;return s.indexOf(":")>=0&&(s=s.split(":")[0]),s.indexOf("#")>=0&&(s=s.split("#")[1]),s},i=n(e.headers,"x-amzn-errortype");return i!==void 0?r(e.headers[i]):t.code!==void 0?r(t.code):t.__type!==void 0?r(t.__type):""},wu=function(e){Ha(t,e);function t(n){var r=e.call(this)||this;return r.input=n,r}return t.prototype.resolveMiddleware=function(n,r,i){this.middlewareStack.use(gh(r,this.serialize,this.deserialize));var o=n.concat(this.middlewareStack),s=r.logger,a="CognitoIdentityClient",u="GetCredentialsForIdentityCommand",c={logger:s,clientName:a,commandName:u,inputFilterSensitiveLog:Mu.filterSensitiveLog,outputFilterSensitiveLog:yu.filterSensitiveLog},l=r.requestHandler;return o.resolve(function(f){return l.handle(f.request,i||{})},c)},t.prototype.serialize=function(n,r){return TN(n,r)},t.prototype.deserialize=function(n,r){return jN(n,r)},t}(hh),Si=function(e){Ha(t,e);function t(n){var r=e.call(this)||this;return r.input=n,r}return t.prototype.resolveMiddleware=function(n,r,i){this.middlewareStack.use(gh(r,this.serialize,this.deserialize));var o=n.concat(this.middlewareStack),s=r.logger,a="CognitoIdentityClient",u="GetIdCommand",c={logger:s,clientName:a,commandName:u,inputFilterSensitiveLog:mu.filterSensitiveLog,outputFilterSensitiveLog:vu.filterSensitiveLog},l=r.requestHandler;return o.resolve(function(f){return l.handle(f.request,i||{})},c)},t.prototype.serialize=function(n,r){return NN(n,r)},t.prototype.deserialize=function(n,r){return bN(n,r)},t}(hh),us=function(e){za(t,e);function t(n,r){r===void 0&&(r=!0);var i=e.call(this,n)||this;return i.tryNextLink=r,i}return t}(Error);function jg(e){return Promise.all(Object.keys(e).reduce(function(t,n){var r=e[n];return typeof r=="string"?t.push([n,r]):t.push(r().then(function(i){return[n,i]})),t},[])).then(function(t){return t.reduce(function(n,r){var i=Wn(r,2),o=i[0],s=i[1];return n[o]=s,n},{})})}function bi(e){var t=this;return function(){return je(t,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h;return Ee(this,function(p){switch(p.label){case 0:return f=(l=e.client).send,d=wu.bind,h={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,jg(e.logins)]:[3,2];case 1:return g=p.sent(),[3,3];case 2:g=void 0,p.label=3;case 3:return[4,f.apply(l,[new(d.apply(wu,[void 0,(h.Logins=g,h)]))])];case 4:return n=p.sent().Credentials,r=n===void 0?GN():n,i=r.AccessKeyId,o=i===void 0?KN():i,s=r.Expiration,a=r.SecretKey,u=a===void 0?JN():a,c=r.SessionToken,[2,{identityId:e.identityId,accessKeyId:o,secretAccessKey:u,sessionToken:c,expiration:s}]}})})}}function KN(){throw new us("Response from Amazon Cognito contained no access key ID")}function GN(){throw new us("Response from Amazon Cognito contained no credentials")}function JN(){throw new us("Response from Amazon Cognito contained no secret key")}var Du="IdentityIds",ZN=function(){function e(t){t===void 0&&(t="aws:cognito-identity-ids"),this.dbName=t}return e.prototype.getItem=function(t){return this.withObjectStore("readonly",function(n){var r=n.get(t);return new Promise(function(i){r.onerror=function(){return i(null)},r.onsuccess=function(){return i(r.result?r.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(t){return this.withObjectStore("readwrite",function(n){var r=n.delete(t);return new Promise(function(i,o){r.onerror=function(){return o(r.error)},r.onsuccess=function(){return i()}})})},e.prototype.setItem=function(t,n){return this.withObjectStore("readwrite",function(r){var i=r.put({id:t,value:n});return new Promise(function(o,s){i.onerror=function(){return s(i.error)},i.onsuccess=function(){return o()}})})},e.prototype.getDb=function(){var t=self.indexedDB.open(this.dbName,1);return new Promise(function(n,r){t.onsuccess=function(){n(t.result)},t.onerror=function(){r(t.error)},t.onblocked=function(){r(new Error("Unable to access DB"))},t.onupgradeneeded=function(){var i=t.result;i.onerror=function(){r(new Error("Failed to create object store"))},i.createObjectStore(Du,{keyPath:"id"})}})},e.prototype.withObjectStore=function(t,n){return this.getDb().then(function(r){var i=r.transaction(Du,t);return i.oncomplete=function(){return r.close()},new Promise(function(o,s){i.onerror=function(){return s(i.error)},o(n(i.objectStore(Du)))}).catch(function(o){throw r.close(),o})})},e}(),XN=function(){function e(t){t===void 0&&(t={}),this.store=t}return e.prototype.getItem=function(t){return t in this.store?this.store[t]:null},e.prototype.removeItem=function(t){delete this.store[t]},e.prototype.setItem=function(t,n){this.store[t]=n},e}(),ej=new XN;function tj(){return typeof self=="object"&&self.indexedDB?new ZN:typeof window=="object"&&window.localStorage?window.localStorage:ej}function nj(e){var t=this,n=e.accountId,r=e.cache,i=r===void 0?tj():r,o=e.client,s=e.customRoleArn,a=e.identityPoolId,u=e.logins,c=e.userIdentifier,l=c===void 0?!u||Object.keys(u).length===0?"ANONYMOUS":void 0:c,f=l?"aws:cognito-identity-credentials:"+a+":"+l:void 0,d=function(){return je(t,void 0,void 0,function(){var g,h,p,m,v,w,j,I,T;return Ee(this,function(B){switch(B.label){case 0:return h=f,h?[4,i.getItem(f)]:[3,2];case 1:h=B.sent(),B.label=2;case 2:return g=h,g?[3,7]:(w=(v=o).send,j=Si.bind,T={AccountId:n,IdentityPoolId:a},u?[4,jg(u)]:[3,4]);case 3:return I=B.sent(),[3,5];case 4:I=void 0,B.label=5;case 5:return[4,w.apply(v,[new(j.apply(Si,[void 0,(T.Logins=I,T)]))])];case 6:p=B.sent().IdentityId,m=p===void 0?rj():p,g=m,f&&Promise.resolve(i.setItem(f,g)).catch(function(){}),B.label=7;case 7:return d=bi({client:o,customRoleArn:s,logins:u,identityId:g}),[2,d()]}})})};return function(){return d().catch(function(g){return je(t,void 0,void 0,function(){return Ee(this,function(h){throw f&&Promise.resolve(i.removeItem(f)).catch(function(){}),g})})})}}function rj(){throw new us("Response from Amazon Cognito contained no identity ID")}function Au(e){var t=new IN({region:e.region,customUserAgent:$A()});return t.middlewareStack.add(function(n,r){return function(i){return n(ij(i))}},{step:"build",name:"cacheControlMiddleWare"}),t}function ij(e){return De(De({},e),{request:De(De({},e.request),{headers:De(De({},e.request.headers),{"cache-control":"no-store"})})})}var Se=new Qt("Credentials"),oj=50*60*1e3,sj="CognitoIdentityId-",aj=typeof Symbol<"u"&&typeof Symbol.for=="function"?Symbol.for("amplify_default"):"@@amplify_default",uj=function(e,t,n){on.dispatch("core",{event:e,data:t,message:n},"Credentials",aj)},cj=function(){function e(t){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(t),this._refreshHandlers.google=cN.refreshGoogleToken,this._refreshHandlers.facebook=lN.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(t){if(!t)return this._config||{};this._config=Object.assign({},this._config,t);var n=this._config.refreshHandlers;return n&&(this._refreshHandlers=De(De({},this._refreshHandlers),n)),this._storage=this._config.storage,this._storage||(this._storage=new ph().getStorage()),this._storageSync=Promise.resolve(),typeof this._storage.sync=="function"&&(this._storageSync=this._storage.sync()),uj("credentials_configured",null,"Credentials has been configured successfully"),this._config},e.prototype.get=function(){return Se.debug("getting credentials"),this._pickupCredentials()},e.prototype._getCognitoIdentityIdStorageKey=function(t){return""+sj+t},e.prototype._pickupCredentials=function(){return Se.debug("picking up credentials"),!this._gettingCredPromise||!this._gettingCredPromise.isPending()?(Se.debug("getting new cred promise"),this._gettingCredPromise=qA(this._keepAlive())):Se.debug("getting old cred promise"),this._gettingCredPromise},e.prototype._keepAlive=function(){return je(this,void 0,void 0,function(){var t,n,r,i,o,s,a,u;return Ee(this,function(c){switch(c.label){case 0:if(Se.debug("checking if credentials exists and not expired"),t=this._credentials,t&&!this._isExpired(t)&&!this._isPastTTL())return Se.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(t)];if(Se.debug("need to get a new credential or refresh the existing one"),n=this.Auth,r=n===void 0?Ua.Auth:n,!r||typeof r.currentUserCredentials!="function")return[2,this._setCredentialsForGuest()];if(!(!this._isExpired(t)&&this._isPastTTL()))return[3,6];Se.debug("ttl has passed but token is not yet expired"),c.label=1;case 1:return c.trys.push([1,5,,6]),[4,r.currentUserPoolUser()];case 2:return i=c.sent(),[4,r.currentSession()];case 3:return o=c.sent(),s=o.refreshToken,a=new Promise(function(l,f){i.refreshSession(s,function(d,g){return d?f(d):l(g)})}),[4,a];case 4:return c.sent(),[3,6];case 5:return u=c.sent(),Se.debug("Error attempting to refreshing the session",u),[3,6];case 6:return[2,r.currentUserCredentials()]}})})},e.prototype.refreshFederatedToken=function(t){Se.debug("Getting federated credentials");var n=t.provider,r=t.user,i=t.token,o=t.identity_id,s=t.expires_at;s=new Date(s).getFullYear()===1970?s*1e3:s;var a=this;return Se.debug("checking if federated jwt token expired"),s>new Date().getTime()?(Se.debug("token not expired"),this._setCredentialsFromFederation({provider:n,token:i,user:r,identity_id:o,expires_at:s})):a._refreshHandlers[n]&&typeof a._refreshHandlers[n]=="function"?(Se.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:a._refreshHandlers[n],provider:n,user:r})):(Se.debug("no refresh handler for provider:",n),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(t){var n=this,r=t.refreshHandler,i=t.provider,o=t.user,s=10*1e3;return NE(r,[],s).then(function(a){return Se.debug("refresh federated token sucessfully",a),n._setCredentialsFromFederation({provider:i,token:a.token,user:o,identity_id:a.identity_id,expires_at:a.expires_at})}).catch(function(a){var u=typeof a=="string"&&a.toLowerCase().lastIndexOf("network error",a.length)===0;return u||n.clear(),Se.debug("refresh federated token failed",a),Promise.reject("refreshing federation token failed: "+a)})},e.prototype._isExpired=function(t){if(!t)return Se.debug("no credentials for expiration check"),!0;Se.debug("are these credentials expired?",t);var n=Date.now(),r=t.expiration;return r.getTime()<=n},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){var t;return je(this,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g=this;return Ee(this,function(h){switch(h.label){case 0:return Se.debug("setting credentials for guest"),!((t=this._config)===null||t===void 0)&&t.identityPoolId||(this._config=Object.assign({},this._config,Id(this._config||{}).Auth)),n=this._config,r=n.identityPoolId,i=n.region,o=n.mandatorySignIn,s=n.identityPoolRegion,o?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:r?!s&&!i?(Se.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(u=this,[4,this._getGuestIdentityId()]):(Se.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return a=u._identityId=h.sent(),c=Au({region:s||i}),l=void 0,a?(f={identityId:a,client:c},l=bi(f)()):(d=function(){return je(g,void 0,void 0,function(){var p,m,v;return Ee(this,function(w){switch(w.label){case 0:return[4,c.send(new Si({IdentityPoolId:r}))];case 1:return p=w.sent().IdentityId,this._identityId=p,m={client:c,identityId:p},v=bi(m),[2,v()]}})})},l=d().catch(function(p){return je(g,void 0,void 0,function(){return Ee(this,function(m){throw p})})})),[2,this._loadCredentials(l,"guest",!1,null).then(function(p){return p}).catch(function(p){return je(g,void 0,void 0,function(){var m,v=this;return Ee(this,function(w){switch(w.label){case 0:return p.name==="ResourceNotFoundException"&&p.message==="Identity '"+a+"' not found."?(Se.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]):[3,2];case 1:return w.sent(),m=function(){return je(v,void 0,void 0,function(){var j,I,T;return Ee(this,function(B){switch(B.label){case 0:return[4,c.send(new Si({IdentityPoolId:r}))];case 1:return j=B.sent().IdentityId,this._identityId=j,I={client:c,identityId:j},T=bi(I),[2,T()]}})})},l=m().catch(function(j){return je(v,void 0,void 0,function(){return Ee(this,function(I){throw j})})}),[2,this._loadCredentials(l,"guest",!1,null)];case 2:return[2,p]}})})})]}})})},e.prototype._setCredentialsFromFederation=function(t){var n=t.provider,r=t.token,i=t.identity_id,o={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"},s=o[n]||n;if(!s)return Promise.reject("You must specify a federated provider");var a={};a[s]=r;var u=this._config,c=u.identityPoolId,l=u.region,f=u.identityPoolRegion;if(!c)return Se.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!f&&!l)return Se.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var d=Au({region:f||l}),g=void 0;if(i){var h={identityId:i,logins:a,client:d};g=bi(h)()}else{var h={logins:a,identityPoolId:c,client:d};g=nj(h)()}return this._loadCredentials(g,"federated",!0,t)},e.prototype._setCredentialsFromSession=function(t){var n=this;Se.debug("set credentials from session");var r=t.getIdToken().getJwtToken(),i=this._config,o=i.region,s=i.userPoolId,a=i.identityPoolId,u=i.identityPoolRegion;if(!a)return Se.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!u&&!o)return Se.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c="cognito-idp."+o+".amazonaws.com/"+s,l={};l[c]=r;var f=Au({region:u||o}),d=function(){return je(n,void 0,void 0,function(){var h,p,m,v,w,j,I,T,B,z;return Ee(this,function(H){switch(H.label){case 0:return[4,this._getGuestIdentityId()];case 1:return h=H.sent(),h?[3,3]:[4,f.send(new Si({IdentityPoolId:a,Logins:l}))];case 2:m=H.sent().IdentityId,p=m,H.label=3;case 3:return[4,f.send(new wu({IdentityId:h||p,Logins:l}))];case 4:return v=H.sent(),w=v.Credentials,j=w.AccessKeyId,I=w.Expiration,T=w.SecretKey,B=w.SessionToken,z=v.IdentityId,this._identityId=z,h?(Se.debug("The guest identity "+h+" has been successfully linked to the logins"),h===z&&Se.debug("The guest identity "+h+" has become the primary identity"),[4,this._removeGuestIdentityId()]):[3,6];case 5:H.sent(),H.label=6;case 6:return[2,{accessKeyId:j,secretAccessKey:T,sessionToken:B,expiration:I,identityId:z}]}})})},g=d().catch(function(h){return je(n,void 0,void 0,function(){return Ee(this,function(p){throw h})})});return this._loadCredentials(g,"userPool",!0,null)},e.prototype._loadCredentials=function(t,n,r,i){var o=this,s=this;return new Promise(function(a,u){t.then(function(c){return je(o,void 0,void 0,function(){var l,f,d,g,h;return Ee(this,function(p){switch(p.label){case 0:if(Se.debug("Load credentials successfully",c),this._identityId&&!c.identityId&&(c.identityId=this._identityId),s._credentials=c,s._credentials.authenticated=r,s._credentials_source=n,s._nextCredentialsRefresh=new Date().getTime()+oj,n==="federated"){l=Object.assign({id:this._credentials.identityId},i.user),f=i.provider,d=i.token,g=i.expires_at,h=i.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:f,token:d,user:l,expires_at:g,identity_id:h}))}catch(m){Se.debug("Failed to put federated info into auth storage",m)}}return n!=="guest"?[3,2]:[4,this._setGuestIdentityId(c.identityId)];case 1:p.sent(),p.label=2;case 2:return a(s._credentials),[2]}})})}).catch(function(c){if(c){Se.debug("Failed to load credentials",t),Se.debug("Error loading credentials",c),u(c);return}})})},e.prototype.set=function(t,n){return n==="session"?this._setCredentialsFromSession(t):n==="federation"?this._setCredentialsFromFederation(t):n==="guest"?this._setCredentialsForGuest():(Se.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return je(this,void 0,void 0,function(){return Ee(this,function(t){return this._credentials=null,this._credentials_source=null,Se.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype._getGuestIdentityId=function(){return je(this,void 0,void 0,function(){var t,n;return Ee(this,function(r){switch(r.label){case 0:t=this._config.identityPoolId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(t))];case 3:return n=r.sent(),Se.debug("Failed to get the cached guest identityId",n),[3,4];case 4:return[2]}})})},e.prototype._setGuestIdentityId=function(t){return je(this,void 0,void 0,function(){var n,r;return Ee(this,function(i){switch(i.label){case 0:n=this._config.identityPoolId,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._storageSync];case 2:return i.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(n),t),[3,4];case 3:return r=i.sent(),Se.debug("Failed to cache guest identityId",r),[3,4];case 4:return[2]}})})},e.prototype._removeGuestIdentityId=function(){return je(this,void 0,void 0,function(){var t;return Ee(this,function(n){return t=this._config.identityPoolId,Se.debug("removing "+this._getCognitoIdentityIdStorageKey(t)+" from storage"),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(t)),[2]})})},e.prototype.shear=function(t){return{accessKeyId:t.accessKeyId,sessionToken:t.sessionToken,secretAccessKey:t.secretAccessKey,identityId:t.identityId,authenticated:t.authenticated}},e}(),Sg=new cj(null);Ua.register(Sg);/*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */var fp=kS,dp=zS,LS=decodeURIComponent,_S=encodeURIComponent,ls=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function kS(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},i=e.split(";"),o=r.decode||LS,s=0;s"u"&&(t=!e||e[0]!=="{"&&e[0]!=="["&&e[0]!=='"'),!t}function hp(e,t){t===void 0&&(t={});var n=YS(e);if(FS(n,t.doNotParse))try{return JSON.parse(n)}catch{}return e}function YS(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}var Zn=globalThis&&globalThis.__assign||function(){return Zn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&this.changeListeners.splice(n,1)},e}();const Ru=BS;var gp=an().isBrowser,QS=365*24*60*60*1e3,$S=function(){function e(t){t===void 0&&(t={}),this.cookies=new Ru,this.store=gp?window.localStorage:Object.create(null),this.cookies=t.req?new Ru(t.req.headers.cookie):new Ru,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var t=this;Array.from(new Array(this.length)).map(function(n,r){return t.key(r)}).forEach(function(n){return t.removeItem(n)})},e.prototype.getItem=function(t){return this.getLocalItem(t)},e.prototype.getLocalItem=function(t){return Object.prototype.hasOwnProperty.call(this.store,t)?this.store[t]:null},e.prototype.getUniversalItem=function(t){return this.cookies.get(t)},e.prototype.key=function(t){return Object.keys(this.store)[t]},e.prototype.removeItem=function(t){this.removeLocalItem(t),this.removeUniversalItem(t)},e.prototype.removeLocalItem=function(t){delete this.store[t]},e.prototype.removeUniversalItem=function(t){this.cookies.remove(t,{path:"/"})},e.prototype.setItem=function(t,n){this.setLocalItem(t,n);var r=t.split(".").pop(),i=["LastAuthUser","accessToken","refreshToken","idToken"];i.includes(r??"")&&this.setUniversalItem(t,n,{expires:new Date(Date.now()+QS)})},e.prototype.setLocalItem=function(t,n){this.store[t]=n},e.prototype.setUniversalItem=function(t,n,r){r===void 0&&(r={}),this.cookies.set(t,n,De(De({},r),{path:"/",sameSite:!0,secure:!(gp&&window.location.hostname==="localhost")}))},e}();/*! + */var bg=dj,Cg=hj,lj=decodeURIComponent,fj=encodeURIComponent,cs=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function dj(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},i=e.split(";"),o=r.decode||lj,s=0;s"u"&&(t=!e||e[0]!=="{"&&e[0]!=="["&&e[0]!=='"'),!t}function xg(e,t){t===void 0&&(t={});var n=mj(e);if(yj(n,t.doNotParse))try{return JSON.parse(n)}catch{}return e}function mj(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}var Zn=globalThis&&globalThis.__assign||function(){return Zn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&this.changeListeners.splice(n,1)},e}();const Eu=vj;var Og=sn().isBrowser,wj=365*24*60*60*1e3,Dj=function(){function e(t){t===void 0&&(t={}),this.cookies=new Eu,this.store=Og?window.localStorage:Object.create(null),this.cookies=t.req?new Eu(t.req.headers.cookie):new Eu,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var t=this;Array.from(new Array(this.length)).map(function(n,r){return t.key(r)}).forEach(function(n){return t.removeItem(n)})},e.prototype.getItem=function(t){return this.getLocalItem(t)},e.prototype.getLocalItem=function(t){return Object.prototype.hasOwnProperty.call(this.store,t)?this.store[t]:null},e.prototype.getUniversalItem=function(t){return this.cookies.get(t)},e.prototype.key=function(t){return Object.keys(this.store)[t]},e.prototype.removeItem=function(t){this.removeLocalItem(t),this.removeUniversalItem(t)},e.prototype.removeLocalItem=function(t){delete this.store[t]},e.prototype.removeUniversalItem=function(t){this.cookies.remove(t,{path:"/"})},e.prototype.setItem=function(t,n){this.setLocalItem(t,n);var r=t.split(".").pop(),i=["LastAuthUser","accessToken","refreshToken","idToken"];i.includes(r??"")&&this.setUniversalItem(t,n,{expires:new Date(Date.now()+wj)})},e.prototype.setLocalItem=function(t,n){this.store[t]=n},e.prototype.setUniversalItem=function(t,n,r){r===void 0&&(r={}),this.cookies.set(t,n,De(De({},r),{path:"/",sameSite:!0,secure:!(Og&&window.location.hostname==="localhost")}))},e}();/*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 - */var pp=function(){function e(n){var r=n||{},i=r.ValidationData,o=r.Username,s=r.Password,a=r.AuthParameters,u=r.ClientMetadata;this.validationData=i||{},this.authParameters=a||{},this.clientMetadata=u||{},this.username=o,this.password=s}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),Ke={},fs={};fs.byteLength=HS,fs.toByteArray=KS,fs.fromByteArray=ZS;for(var Kt=[],xt=[],WS=typeof Uint8Array<"u"?Uint8Array:Array,Fu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_r=0,VS=Fu.length;_r0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function HS(e){var t=Mp(e),n=t[0],r=t[1];return(n+r)*3/4-r}function qS(e,t,n){return(t+n)*3/4-n}function KS(e){var t,n=Mp(e),r=n[0],i=n[1],o=new WS(qS(e,r,i)),s=0,a=i>0?r-4:r,u;for(u=0;u>16&255,o[s++]=t>>8&255,o[s++]=t&255;return i===2&&(t=xt[e.charCodeAt(u)]<<2|xt[e.charCodeAt(u+1)]>>4,o[s++]=t&255),i===1&&(t=xt[e.charCodeAt(u)]<<10|xt[e.charCodeAt(u+1)]<<4|xt[e.charCodeAt(u+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255),o}function GS(e){return Kt[e>>18&63]+Kt[e>>12&63]+Kt[e>>6&63]+Kt[e&63]}function JS(e,t,n){for(var r,i=[],o=t;oa?a:s+o));return r===1?(t=e[n-1],i.push(Kt[t>>2]+Kt[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Kt[t>>10]+Kt[t>>4&63]+Kt[t<<2&63]+"=")),i.join("")}var Yu={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Yu.read=function(e,t,n,r,i){var o,s,a=i*8-r-1,u=(1<>1,l=-7,f=n?i-1:0,d=n?-1:1,g=e[t+f];for(f+=d,o=g&(1<<-l)-1,g>>=-l,l+=a;l>0;o=o*256+e[t+f],f+=d,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=s*256+e[t+f],f+=d,l-=8);if(o===0)o=1-c;else{if(o===u)return s?NaN:(g?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-c}return(g?-1:1)*s*Math.pow(2,o-r)},Yu.write=function(e,t,n,r,i,o){var s,a,u,c=o*8-i-1,l=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=r?0:o-1,h=r?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?t+=d/u:t+=d*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s=s+f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[n+g]=a&255,g+=h,a/=256,i-=8);for(s=s<0;e[n+g]=s&255,g+=h,s/=256,c-=8);e[n+g-h]|=p*128};var XS={}.toString,eb=Array.isArray||function(e){return XS.call(e)=="[object Array]"};/*! + */var Lg=function(){function e(n){var r=n||{},i=r.ValidationData,o=r.Username,s=r.Password,a=r.AuthParameters,u=r.ClientMetadata;this.validationData=i||{},this.authParameters=a||{},this.clientMetadata=u||{},this.username=o,this.password=s}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),Ge={},ls={};ls.byteLength=Ij,ls.toByteArray=Nj,ls.fromByteArray=bj;for(var Kt=[],xt=[],Aj=typeof Uint8Array<"u"?Uint8Array:Array,Iu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lr=0,Ej=Iu.length;Lr0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function Ij(e){var t=_g(e),n=t[0],r=t[1];return(n+r)*3/4-r}function Tj(e,t,n){return(t+n)*3/4-n}function Nj(e){var t,n=_g(e),r=n[0],i=n[1],o=new Aj(Tj(e,r,i)),s=0,a=i>0?r-4:r,u;for(u=0;u>16&255,o[s++]=t>>8&255,o[s++]=t&255;return i===2&&(t=xt[e.charCodeAt(u)]<<2|xt[e.charCodeAt(u+1)]>>4,o[s++]=t&255),i===1&&(t=xt[e.charCodeAt(u)]<<10|xt[e.charCodeAt(u+1)]<<4|xt[e.charCodeAt(u+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255),o}function jj(e){return Kt[e>>18&63]+Kt[e>>12&63]+Kt[e>>6&63]+Kt[e&63]}function Sj(e,t,n){for(var r,i=[],o=t;oa?a:s+o));return r===1?(t=e[n-1],i.push(Kt[t>>2]+Kt[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Kt[t>>10]+Kt[t>>4&63]+Kt[t<<2&63]+"=")),i.join("")}var Tu={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Tu.read=function(e,t,n,r,i){var o,s,a=i*8-r-1,u=(1<>1,l=-7,f=n?i-1:0,d=n?-1:1,g=e[t+f];for(f+=d,o=g&(1<<-l)-1,g>>=-l,l+=a;l>0;o=o*256+e[t+f],f+=d,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=s*256+e[t+f],f+=d,l-=8);if(o===0)o=1-c;else{if(o===u)return s?NaN:(g?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-c}return(g?-1:1)*s*Math.pow(2,o-r)},Tu.write=function(e,t,n,r,i,o){var s,a,u,c=o*8-i-1,l=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=r?0:o-1,h=r?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?t+=d/u:t+=d*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s=s+f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[n+g]=a&255,g+=h,a/=256,i-=8);for(s=s<0;e[n+g]=s&255,g+=h,s/=256,c-=8);e[n+g-h]|=p*128};var Cj={}.toString,xj=Array.isArray||function(e){return Cj.call(e)=="[object Array]"};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(e){var t=fs,n=Yu,r=eb;e.Buffer=a,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=Tt.TYPED_ARRAY_SUPPORT!==void 0?Tt.TYPED_ARRAY_SUPPORT:i(),e.kMaxLength=o();function i(){try{var A=new Uint8Array(1);return A.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},A.foo()===42&&typeof A.subarray=="function"&&A.subarray(1,1).byteLength===0}catch{return!1}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(A,y){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return A|0}function v(A){return+A!=A&&(A=0),a.alloc(+A)}a.isBuffer=function(y){return!!(y!=null&&y._isBuffer)},a.compare=function(y,M){if(!a.isBuffer(y)||!a.isBuffer(M))throw new TypeError("Arguments must be Buffers");if(y===M)return 0;for(var E=y.length,Y=M.length,te=0,X=Math.min(E,Y);te>>1;case"base64":return fe(A).length;default:if(E)return V(A).length;y=(""+y).toLowerCase(),E=!0}}a.byteLength=w;function j(A,y,M){var E=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((M===void 0||M>this.length)&&(M=this.length),M<=0)||(M>>>=0,y>>>=0,M<=y))return"";for(A||(A="utf8");;)switch(A){case"hex":return oe(this,y,M);case"utf8":case"utf-8":return T(this,y,M);case"ascii":return C(this,y,M);case"latin1":case"binary":return Z(this,y,M);case"base64":return x(this,y,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,y,M);default:if(E)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),E=!0}}a.prototype._isBuffer=!0;function N(A,y,M){var E=A[y];A[y]=A[M],A[M]=E}a.prototype.swap16=function(){var y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var M=0;M0&&(y=this.toString("hex",0,M).match(/.{2}/g).join(" "),this.length>M&&(y+=" ... ")),""},a.prototype.compare=function(y,M,E,Y,te){if(!a.isBuffer(y))throw new TypeError("Argument must be a Buffer");if(M===void 0&&(M=0),E===void 0&&(E=y?y.length:0),Y===void 0&&(Y=0),te===void 0&&(te=this.length),M<0||E>y.length||Y<0||te>this.length)throw new RangeError("out of range index");if(Y>=te&&M>=E)return 0;if(Y>=te)return-1;if(M>=E)return 1;if(M>>>=0,E>>>=0,Y>>>=0,te>>>=0,this===y)return 0;for(var X=te-Y,we=E-M,Oe=Math.min(X,we),be=this.slice(Y,te),Qe=y.slice(M,E),Ge=0;Ge2147483647?M=2147483647:M<-2147483648&&(M=-2147483648),M=+M,isNaN(M)&&(M=Y?0:A.length-1),M<0&&(M=A.length+M),M>=A.length){if(Y)return-1;M=A.length-1}else if(M<0)if(Y)M=0;else return-1;if(typeof y=="string"&&(y=a.from(y,E)),a.isBuffer(y))return y.length===0?-1:B(A,y,M,E,Y);if(typeof y=="number")return y=y&255,a.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Y?Uint8Array.prototype.indexOf.call(A,y,M):Uint8Array.prototype.lastIndexOf.call(A,y,M):B(A,[y],M,E,Y);throw new TypeError("val must be string, number or Buffer")}function B(A,y,M,E,Y){var te=1,X=A.length,we=y.length;if(E!==void 0&&(E=String(E).toLowerCase(),E==="ucs2"||E==="ucs-2"||E==="utf16le"||E==="utf-16le")){if(A.length<2||y.length<2)return-1;te=2,X/=2,we/=2,M/=2}function Oe(hn,Yr){return te===1?hn[Yr]:hn.readUInt16BE(Yr*te)}var be;if(Y){var Qe=-1;for(be=M;beX&&(M=X-we),be=M;be>=0;be--){for(var Ge=!0,Ee=0;EeY&&(E=Y)):E=Y;var te=y.length;if(te%2!==0)throw new TypeError("Invalid hex string");E>te/2&&(E=te/2);for(var X=0;Xte)&&(E=te),y.length>0&&(E<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");Y||(Y="utf8");for(var X=!1;;)switch(Y){case"hex":return z(this,y,M,E);case"utf8":case"utf-8":return W(this,y,M,E);case"ascii":return $(this,y,M,E);case"latin1":case"binary":return b(this,y,M,E);case"base64":return k(this,y,M,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,y,M,E);default:if(X)throw new TypeError("Unknown encoding: "+Y);Y=(""+Y).toLowerCase(),X=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function x(A,y,M){return y===0&&M===A.length?t.fromByteArray(A):t.fromByteArray(A.slice(y,M))}function T(A,y,M){M=Math.min(A.length,M);for(var E=[],Y=y;Y239?4:te>223?3:te>191?2:1;if(Y+we<=M){var Oe,be,Qe,Ge;switch(we){case 1:te<128&&(X=te);break;case 2:Oe=A[Y+1],(Oe&192)===128&&(Ge=(te&31)<<6|Oe&63,Ge>127&&(X=Ge));break;case 3:Oe=A[Y+1],be=A[Y+2],(Oe&192)===128&&(be&192)===128&&(Ge=(te&15)<<12|(Oe&63)<<6|be&63,Ge>2047&&(Ge<55296||Ge>57343)&&(X=Ge));break;case 4:Oe=A[Y+1],be=A[Y+2],Qe=A[Y+3],(Oe&192)===128&&(be&192)===128&&(Qe&192)===128&&(Ge=(te&15)<<18|(Oe&63)<<12|(be&63)<<6|Qe&63,Ge>65535&&Ge<1114112&&(X=Ge))}}X===null?(X=65533,we=1):X>65535&&(X-=65536,E.push(X>>>10&1023|55296),X=56320|X&1023),E.push(X),Y+=we}return U(E)}var S=4096;function U(A){var y=A.length;if(y<=S)return String.fromCharCode.apply(String,A);for(var M="",E=0;EE)&&(M=E);for(var Y="",te=y;teE&&(y=E),M<0?(M+=E,M<0&&(M=0)):M>E&&(M=E),MM)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUIntLE=function(y,M,E){y=y|0,M=M|0,E||F(y,M,this.length);for(var Y=this[y],te=1,X=0;++X0&&(te*=256);)Y+=this[y+--M]*te;return Y},a.prototype.readUInt8=function(y,M){return M||F(y,1,this.length),this[y]},a.prototype.readUInt16LE=function(y,M){return M||F(y,2,this.length),this[y]|this[y+1]<<8},a.prototype.readUInt16BE=function(y,M){return M||F(y,2,this.length),this[y]<<8|this[y+1]},a.prototype.readUInt32LE=function(y,M){return M||F(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},a.prototype.readUInt32BE=function(y,M){return M||F(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},a.prototype.readIntLE=function(y,M,E){y=y|0,M=M|0,E||F(y,M,this.length);for(var Y=this[y],te=1,X=0;++X=te&&(Y-=Math.pow(2,8*M)),Y},a.prototype.readIntBE=function(y,M,E){y=y|0,M=M|0,E||F(y,M,this.length);for(var Y=M,te=1,X=this[y+--Y];Y>0&&(te*=256);)X+=this[y+--Y]*te;return te*=128,X>=te&&(X-=Math.pow(2,8*M)),X},a.prototype.readInt8=function(y,M){return M||F(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},a.prototype.readInt16LE=function(y,M){M||F(y,2,this.length);var E=this[y]|this[y+1]<<8;return E&32768?E|4294901760:E},a.prototype.readInt16BE=function(y,M){M||F(y,2,this.length);var E=this[y+1]|this[y]<<8;return E&32768?E|4294901760:E},a.prototype.readInt32LE=function(y,M){return M||F(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},a.prototype.readInt32BE=function(y,M){return M||F(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},a.prototype.readFloatLE=function(y,M){return M||F(y,4,this.length),n.read(this,y,!0,23,4)},a.prototype.readFloatBE=function(y,M){return M||F(y,4,this.length),n.read(this,y,!1,23,4)},a.prototype.readDoubleLE=function(y,M){return M||F(y,8,this.length),n.read(this,y,!0,52,8)},a.prototype.readDoubleBE=function(y,M){return M||F(y,8,this.length),n.read(this,y,!1,52,8)};function P(A,y,M,E,Y,te){if(!a.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>Y||yA.length)throw new RangeError("Index out of range")}a.prototype.writeUIntLE=function(y,M,E,Y){if(y=+y,M=M|0,E=E|0,!Y){var te=Math.pow(2,8*E)-1;P(this,y,M,E,te,0)}var X=1,we=0;for(this[M]=y&255;++we=0&&(we*=256);)this[M+X]=y/we&255;return M+E},a.prototype.writeUInt8=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,1,255,0),a.TYPED_ARRAY_SUPPORT||(y=Math.floor(y)),this[M]=y&255,M+1};function K(A,y,M,E){y<0&&(y=65535+y+1);for(var Y=0,te=Math.min(A.length-M,2);Y>>(E?Y:1-Y)*8}a.prototype.writeUInt16LE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[M]=y&255,this[M+1]=y>>>8):K(this,y,M,!0),M+2},a.prototype.writeUInt16BE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>8,this[M+1]=y&255):K(this,y,M,!1),M+2};function G(A,y,M,E){y<0&&(y=4294967295+y+1);for(var Y=0,te=Math.min(A.length-M,4);Y>>(E?Y:3-Y)*8&255}a.prototype.writeUInt32LE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[M+3]=y>>>24,this[M+2]=y>>>16,this[M+1]=y>>>8,this[M]=y&255):G(this,y,M,!0),M+4},a.prototype.writeUInt32BE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>24,this[M+1]=y>>>16,this[M+2]=y>>>8,this[M+3]=y&255):G(this,y,M,!1),M+4},a.prototype.writeIntLE=function(y,M,E,Y){if(y=+y,M=M|0,!Y){var te=Math.pow(2,8*E-1);P(this,y,M,E,te-1,-te)}var X=0,we=1,Oe=0;for(this[M]=y&255;++X>0)-Oe&255;return M+E},a.prototype.writeIntBE=function(y,M,E,Y){if(y=+y,M=M|0,!Y){var te=Math.pow(2,8*E-1);P(this,y,M,E,te-1,-te)}var X=E-1,we=1,Oe=0;for(this[M+X]=y&255;--X>=0&&(we*=256);)y<0&&Oe===0&&this[M+X+1]!==0&&(Oe=1),this[M+X]=(y/we>>0)-Oe&255;return M+E},a.prototype.writeInt8=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,1,127,-128),a.TYPED_ARRAY_SUPPORT||(y=Math.floor(y)),y<0&&(y=255+y+1),this[M]=y&255,M+1},a.prototype.writeInt16LE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[M]=y&255,this[M+1]=y>>>8):K(this,y,M,!0),M+2},a.prototype.writeInt16BE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>8,this[M+1]=y&255):K(this,y,M,!1),M+2},a.prototype.writeInt32LE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[M]=y&255,this[M+1]=y>>>8,this[M+2]=y>>>16,this[M+3]=y>>>24):G(this,y,M,!0),M+4},a.prototype.writeInt32BE=function(y,M,E){return y=+y,M=M|0,E||P(this,y,M,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>24,this[M+1]=y>>>16,this[M+2]=y>>>8,this[M+3]=y&255):G(this,y,M,!1),M+4};function ee(A,y,M,E,Y,te){if(M+E>A.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("Index out of range")}function O(A,y,M,E,Y){return Y||ee(A,y,M,4),n.write(A,y,M,E,23,4),M+4}a.prototype.writeFloatLE=function(y,M,E){return O(this,y,M,!0,E)},a.prototype.writeFloatBE=function(y,M,E){return O(this,y,M,!1,E)};function ie(A,y,M,E,Y){return Y||ee(A,y,M,8),n.write(A,y,M,E,52,8),M+8}a.prototype.writeDoubleLE=function(y,M,E){return ie(this,y,M,!0,E)},a.prototype.writeDoubleBE=function(y,M,E){return ie(this,y,M,!1,E)},a.prototype.copy=function(y,M,E,Y){if(E||(E=0),!Y&&Y!==0&&(Y=this.length),M>=y.length&&(M=y.length),M||(M=0),Y>0&&Y=this.length)throw new RangeError("sourceStart out of bounds");if(Y<0)throw new RangeError("sourceEnd out of bounds");Y>this.length&&(Y=this.length),y.length-M=0;--X)y[X+M]=this[X+E];else if(te<1e3||!a.TYPED_ARRAY_SUPPORT)for(X=0;X>>0,E=E===void 0?this.length:E>>>0,y||(y=0);var X;if(typeof y=="number")for(X=M;X55295&&M<57344){if(!Y){if(M>56319){(y-=3)>-1&&te.push(239,191,189);continue}else if(X+1===E){(y-=3)>-1&&te.push(239,191,189);continue}Y=M;continue}if(M<56320){(y-=3)>-1&&te.push(239,191,189),Y=M;continue}M=(Y-55296<<10|M-56320)+65536}else Y&&(y-=3)>-1&&te.push(239,191,189);if(Y=null,M<128){if((y-=1)<0)break;te.push(M)}else if(M<2048){if((y-=2)<0)break;te.push(M>>6|192,M&63|128)}else if(M<65536){if((y-=3)<0)break;te.push(M>>12|224,M>>6&63|128,M&63|128)}else if(M<1114112){if((y-=4)<0)break;te.push(M>>18|240,M>>12&63|128,M>>6&63|128,M&63|128)}else throw new Error("Invalid code point")}return te}function de(A){for(var y=[],M=0;M>8,Y=M%256,te.push(Y),te.push(E);return te}function fe(A){return t.toByteArray(ge(A))}function ye(A,y,M,E){for(var Y=0;Y=y.length||Y>=A.length);++Y)y[Y+M]=A[Y];return Y}function he(A){return A!==A}})(Ke);var Ot;if(typeof window<"u"&&window.crypto&&(Ot=window.crypto),!Ot&&typeof window<"u"&&window.msCrypto&&(Ot=window.msCrypto),!Ot&&typeof global<"u"&&global.crypto&&(Ot=global.crypto),!Ot&&typeof require=="function")try{Ot=require("crypto")}catch{}function tb(){if(Ot){if(typeof Ot.getRandomValues=="function")try{return Ot.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof Ot.randomBytes=="function")try{return Ot.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")}function nb(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((o&15).toString(16))}return r.join("")}var rb=function(){function e(n,r){n=this.words=n||[],r!=null?this.sigBytes=r:this.sigBytes=n.length*4}var t=e.prototype;return t.random=function(r){for(var i=[],o=0;o=0;){var s=t*this[e++]+n[r]+i;i=Math.floor(s/67108864),n[r++]=s&67108863}return i}function sb(e,t,n,r,i,o){for(var s=t&32767,a=t>>15;--o>=0;){var u=this[e]&32767,c=this[e++]>>15,l=a*u+c*s;u=s*u+((l&32767)<<15)+n[r]+(i&1073741823),i=(u>>>30)+(l>>>15)+a*c+(i>>>30),n[r++]=u&1073741823}return i}function ab(e,t,n,r,i,o){for(var s=t&16383,a=t>>14;--o>=0;){var u=this[e]&16383,c=this[e++]>>14,l=a*u+c*s;u=s*u+((l&16383)<<14)+n[r]+i,i=(u>>28)+(l>>14)+a*c,n[r++]=u&268435455}return i}var mp=typeof navigator<"u";mp&&yp&&navigator.appName=="Microsoft Internet Explorer"?(ve.prototype.am=sb,In=30):mp&&yp&&navigator.appName!="Netscape"?(ve.prototype.am=ob,In=26):(ve.prototype.am=ab,In=28),ve.prototype.DB=In,ve.prototype.DM=(1<=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function fb(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function Qu(e){var t=Mt();return t.fromInt(e),t}function db(e,t){var n;if(t==16)n=4;else if(t==8)n=3;else if(t==2)n=1;else if(t==32)n=5;else if(t==4)n=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;for(var r=e.length,i=!1,o=0;--r>=0;){var s=cb(e,r);if(s<0){e.charAt(r)=="-"&&(i=!0);continue}i=!1,o==0?this[this.t++]=s:o+n>this.DB?(this[this.t-1]|=(s&(1<>this.DB-o):this[this.t-1]|=s<=this.DB&&(o-=this.DB)}this.clamp(),i&&ve.ZERO.subTo(this,this)}function hb(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function gb(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(e==16)t=4;else if(e==8)t=3;else if(e==2)t=1;else if(e==32)t=5;else if(e==4)t=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");var n=(1<0)for(a>a)>0&&(i=!0,o=vp(r));s>=0;)a>(a+=this.DB-t)):(r=this[s]>>(a-=t)&n,a<=0&&(a+=this.DB,--s)),r>0&&(i=!0),i&&(o+=vp(r));return i?o:"0"}function pb(){var e=Mt();return ve.ZERO.subTo(this,e),e}function Mb(){return this.s<0?this.negate():this}function yb(e){var t=this.s-e.s;if(t!=0)return t;var n=this.t;if(t=n-e.t,t!=0)return this.s<0?-t:t;for(;--n>=0;)if((t=this[n]-e[n])!=0)return t;return 0}function $u(e){var t=1,n;return(n=e>>>16)!=0&&(e=n,t+=16),(n=e>>8)!=0&&(e=n,t+=8),(n=e>>4)!=0&&(e=n,t+=4),(n=e>>2)!=0&&(e=n,t+=2),(n=e>>1)!=0&&(e=n,t+=1),t}function mb(){return this.t<=0?0:this.DB*(this.t-1)+$u(this[this.t-1]^this.s&this.DM)}function vb(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function wb(e,t){for(var n=e;n=0;--a)t[a+o+1]=this[a]>>r|s,s=(this[a]&i)<=0;--a)t[a]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()}function Eb(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){t.t=0;return}var r=e%this.DB,i=this.DB-r,o=(1<>r;for(var s=n+1;s>r;r>0&&(t[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function Ib(e,t){var n=this.abs(),r=e.abs(),i=n.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function Tb(e,t,n){var r=e.abs();if(!(r.t<=0)){var i=this.abs();if(i.t0?(r.lShiftTo(u,o),i.lShiftTo(u,n)):(r.copyTo(o),i.copyTo(n));var c=o.t,l=o[c-1];if(l!=0){var f=l*(1<1?o[c-2]>>this.F2:0),d=this.FV/f,g=(1<=0&&(n[n.t++]=1,n.subTo(v,n)),ve.ONE.dlShiftTo(c,v),v.subTo(o,o);o.t=0;){var w=n[--p]==l?this.DM:Math.floor(n[p]*d+(n[p-1]+h)*g);if((n[p]+=o.am(0,w,n,m,0,c))0&&n.rShiftTo(u,n),s<0&&ve.ZERO.subTo(n,n)}}}function jb(e){var t=Mt();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(ve.ZERO)>0&&e.subTo(t,t),t}function Sb(){if(this.t<1)return 0;var e=this[0];if(!(e&1))return 0;var t=e&3;return t=t*(2-(e&15)*t)&15,t=t*(2-(e&255)*t)&255,t=t*(2-((e&65535)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function bb(e){return this.compareTo(e)==0}function Cb(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function xb(e){var t=Mt();return this.addTo(e,t),t}function Ob(e){var t=Mt();return this.subTo(e,t),t}function Lb(e){var t=Mt();return this.multiplyTo(e,t),t}function _b(e){var t=Mt();return this.divRemTo(e,t,null),t}function zr(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t}function zb(e){var t=Mt();return e.copyTo(t),this.reduce(t),t}function Pb(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function Ub(e,t){e.squareTo(t),this.reduce(t)}function Rb(e,t,n){e.multiplyTo(t,n),this.reduce(n)}zr.prototype.convert=kb,zr.prototype.revert=zb,zr.prototype.reduce=Pb,zr.prototype.mulTo=Rb,zr.prototype.sqrTo=Ub;function Fb(e,t,n){var r=e.bitLength(),i,o=Qu(1),s=new zr(t);if(r<=0)return o;r<18?i=1:r<48?i=3:r<144?i=4:r<768?i=5:i=6;var a=new Array,u=3,c=i-1,l=(1<1){var f=Mt();for(s.sqrTo(a[1],f);u<=l;)a[u]=Mt(),s.mulTo(f,a[u-2],a[u]),u+=2}var d=e.t-1,g,h=!0,p=Mt(),m;for(r=$u(e[d])-1;d>=0;){for(r>=c?g=e[d]>>r-c&l:(g=(e[d]&(1<0&&(g|=e[d-1]>>this.DB+r-c)),u=i;!(g&1);)g>>=1,--u;if((r-=u)<0&&(r+=this.DB,--d),h)a[g].copyTo(o),h=!1;else{for(;u>1;)s.sqrTo(o,p),s.sqrTo(p,o),u-=2;u>0?s.sqrTo(o,p):(m=o,o=p,p=m),s.mulTo(p,a[g],o)}for(;d>=0&&!(e[d]&1<=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return E|0}function v(E){return+E!=E&&(E=0),a.alloc(+E)}a.isBuffer=function(y){return!!(y!=null&&y._isBuffer)},a.compare=function(y,M){if(!a.isBuffer(y)||!a.isBuffer(M))throw new TypeError("Arguments must be Buffers");if(y===M)return 0;for(var A=y.length,Y=M.length,te=0,X=Math.min(A,Y);te>>1;case"base64":return fe(E).length;default:if(A)return $(E).length;y=(""+y).toLowerCase(),A=!0}}a.byteLength=w;function j(E,y,M){var A=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((M===void 0||M>this.length)&&(M=this.length),M<=0)||(M>>>=0,y>>>=0,M<=y))return"";for(E||(E="utf8");;)switch(E){case"hex":return ie(this,y,M);case"utf8":case"utf-8":return N(this,y,M);case"ascii":return C(this,y,M);case"latin1":case"binary":return Z(this,y,M);case"base64":return x(this,y,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,y,M);default:if(A)throw new TypeError("Unknown encoding: "+E);E=(E+"").toLowerCase(),A=!0}}a.prototype._isBuffer=!0;function I(E,y,M){var A=E[y];E[y]=E[M],E[M]=A}a.prototype.swap16=function(){var y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var M=0;M0&&(y=this.toString("hex",0,M).match(/.{2}/g).join(" "),this.length>M&&(y+=" ... ")),""},a.prototype.compare=function(y,M,A,Y,te){if(!a.isBuffer(y))throw new TypeError("Argument must be a Buffer");if(M===void 0&&(M=0),A===void 0&&(A=y?y.length:0),Y===void 0&&(Y=0),te===void 0&&(te=this.length),M<0||A>y.length||Y<0||te>this.length)throw new RangeError("out of range index");if(Y>=te&&M>=A)return 0;if(Y>=te)return-1;if(M>=A)return 1;if(M>>>=0,A>>>=0,Y>>>=0,te>>>=0,this===y)return 0;for(var X=te-Y,ve=A-M,Oe=Math.min(X,ve),be=this.slice(Y,te),Qe=y.slice(M,A),Je=0;Je2147483647?M=2147483647:M<-2147483648&&(M=-2147483648),M=+M,isNaN(M)&&(M=Y?0:E.length-1),M<0&&(M=E.length+M),M>=E.length){if(Y)return-1;M=E.length-1}else if(M<0)if(Y)M=0;else return-1;if(typeof y=="string"&&(y=a.from(y,A)),a.isBuffer(y))return y.length===0?-1:B(E,y,M,A,Y);if(typeof y=="number")return y=y&255,a.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Y?Uint8Array.prototype.indexOf.call(E,y,M):Uint8Array.prototype.lastIndexOf.call(E,y,M):B(E,[y],M,A,Y);throw new TypeError("val must be string, number or Buffer")}function B(E,y,M,A,Y){var te=1,X=E.length,ve=y.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(E.length<2||y.length<2)return-1;te=2,X/=2,ve/=2,M/=2}function Oe(dn,Fr){return te===1?dn[Fr]:dn.readUInt16BE(Fr*te)}var be;if(Y){var Qe=-1;for(be=M;beX&&(M=X-ve),be=M;be>=0;be--){for(var Je=!0,Ae=0;AeY&&(A=Y)):A=Y;var te=y.length;if(te%2!==0)throw new TypeError("Invalid hex string");A>te/2&&(A=te/2);for(var X=0;Xte)&&(A=te),y.length>0&&(A<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");Y||(Y="utf8");for(var X=!1;;)switch(Y){case"hex":return z(this,y,M,A);case"utf8":case"utf-8":return H(this,y,M,A);case"ascii":return W(this,y,M,A);case"latin1":case"binary":return b(this,y,M,A);case"base64":return k(this,y,M,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,y,M,A);default:if(X)throw new TypeError("Unknown encoding: "+Y);Y=(""+Y).toLowerCase(),X=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function x(E,y,M){return y===0&&M===E.length?t.fromByteArray(E):t.fromByteArray(E.slice(y,M))}function N(E,y,M){M=Math.min(E.length,M);for(var A=[],Y=y;Y239?4:te>223?3:te>191?2:1;if(Y+ve<=M){var Oe,be,Qe,Je;switch(ve){case 1:te<128&&(X=te);break;case 2:Oe=E[Y+1],(Oe&192)===128&&(Je=(te&31)<<6|Oe&63,Je>127&&(X=Je));break;case 3:Oe=E[Y+1],be=E[Y+2],(Oe&192)===128&&(be&192)===128&&(Je=(te&15)<<12|(Oe&63)<<6|be&63,Je>2047&&(Je<55296||Je>57343)&&(X=Je));break;case 4:Oe=E[Y+1],be=E[Y+2],Qe=E[Y+3],(Oe&192)===128&&(be&192)===128&&(Qe&192)===128&&(Je=(te&15)<<18|(Oe&63)<<12|(be&63)<<6|Qe&63,Je>65535&&Je<1114112&&(X=Je))}}X===null?(X=65533,ve=1):X>65535&&(X-=65536,A.push(X>>>10&1023|55296),X=56320|X&1023),A.push(X),Y+=ve}return U(A)}var S=4096;function U(E){var y=E.length;if(y<=S)return String.fromCharCode.apply(String,E);for(var M="",A=0;AA)&&(M=A);for(var Y="",te=y;teA&&(y=A),M<0?(M+=A,M<0&&(M=0)):M>A&&(M=A),MM)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUIntLE=function(y,M,A){y=y|0,M=M|0,A||F(y,M,this.length);for(var Y=this[y],te=1,X=0;++X0&&(te*=256);)Y+=this[y+--M]*te;return Y},a.prototype.readUInt8=function(y,M){return M||F(y,1,this.length),this[y]},a.prototype.readUInt16LE=function(y,M){return M||F(y,2,this.length),this[y]|this[y+1]<<8},a.prototype.readUInt16BE=function(y,M){return M||F(y,2,this.length),this[y]<<8|this[y+1]},a.prototype.readUInt32LE=function(y,M){return M||F(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},a.prototype.readUInt32BE=function(y,M){return M||F(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},a.prototype.readIntLE=function(y,M,A){y=y|0,M=M|0,A||F(y,M,this.length);for(var Y=this[y],te=1,X=0;++X=te&&(Y-=Math.pow(2,8*M)),Y},a.prototype.readIntBE=function(y,M,A){y=y|0,M=M|0,A||F(y,M,this.length);for(var Y=M,te=1,X=this[y+--Y];Y>0&&(te*=256);)X+=this[y+--Y]*te;return te*=128,X>=te&&(X-=Math.pow(2,8*M)),X},a.prototype.readInt8=function(y,M){return M||F(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},a.prototype.readInt16LE=function(y,M){M||F(y,2,this.length);var A=this[y]|this[y+1]<<8;return A&32768?A|4294901760:A},a.prototype.readInt16BE=function(y,M){M||F(y,2,this.length);var A=this[y+1]|this[y]<<8;return A&32768?A|4294901760:A},a.prototype.readInt32LE=function(y,M){return M||F(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},a.prototype.readInt32BE=function(y,M){return M||F(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},a.prototype.readFloatLE=function(y,M){return M||F(y,4,this.length),n.read(this,y,!0,23,4)},a.prototype.readFloatBE=function(y,M){return M||F(y,4,this.length),n.read(this,y,!1,23,4)},a.prototype.readDoubleLE=function(y,M){return M||F(y,8,this.length),n.read(this,y,!0,52,8)},a.prototype.readDoubleBE=function(y,M){return M||F(y,8,this.length),n.read(this,y,!1,52,8)};function P(E,y,M,A,Y,te){if(!a.isBuffer(E))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>Y||yE.length)throw new RangeError("Index out of range")}a.prototype.writeUIntLE=function(y,M,A,Y){if(y=+y,M=M|0,A=A|0,!Y){var te=Math.pow(2,8*A)-1;P(this,y,M,A,te,0)}var X=1,ve=0;for(this[M]=y&255;++ve=0&&(ve*=256);)this[M+X]=y/ve&255;return M+A},a.prototype.writeUInt8=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,1,255,0),a.TYPED_ARRAY_SUPPORT||(y=Math.floor(y)),this[M]=y&255,M+1};function q(E,y,M,A){y<0&&(y=65535+y+1);for(var Y=0,te=Math.min(E.length-M,2);Y>>(A?Y:1-Y)*8}a.prototype.writeUInt16LE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[M]=y&255,this[M+1]=y>>>8):q(this,y,M,!0),M+2},a.prototype.writeUInt16BE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>8,this[M+1]=y&255):q(this,y,M,!1),M+2};function K(E,y,M,A){y<0&&(y=4294967295+y+1);for(var Y=0,te=Math.min(E.length-M,4);Y>>(A?Y:3-Y)*8&255}a.prototype.writeUInt32LE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[M+3]=y>>>24,this[M+2]=y>>>16,this[M+1]=y>>>8,this[M]=y&255):K(this,y,M,!0),M+4},a.prototype.writeUInt32BE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>24,this[M+1]=y>>>16,this[M+2]=y>>>8,this[M+3]=y&255):K(this,y,M,!1),M+4},a.prototype.writeIntLE=function(y,M,A,Y){if(y=+y,M=M|0,!Y){var te=Math.pow(2,8*A-1);P(this,y,M,A,te-1,-te)}var X=0,ve=1,Oe=0;for(this[M]=y&255;++X>0)-Oe&255;return M+A},a.prototype.writeIntBE=function(y,M,A,Y){if(y=+y,M=M|0,!Y){var te=Math.pow(2,8*A-1);P(this,y,M,A,te-1,-te)}var X=A-1,ve=1,Oe=0;for(this[M+X]=y&255;--X>=0&&(ve*=256);)y<0&&Oe===0&&this[M+X+1]!==0&&(Oe=1),this[M+X]=(y/ve>>0)-Oe&255;return M+A},a.prototype.writeInt8=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,1,127,-128),a.TYPED_ARRAY_SUPPORT||(y=Math.floor(y)),y<0&&(y=255+y+1),this[M]=y&255,M+1},a.prototype.writeInt16LE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[M]=y&255,this[M+1]=y>>>8):q(this,y,M,!0),M+2},a.prototype.writeInt16BE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>8,this[M+1]=y&255):q(this,y,M,!1),M+2},a.prototype.writeInt32LE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[M]=y&255,this[M+1]=y>>>8,this[M+2]=y>>>16,this[M+3]=y>>>24):K(this,y,M,!0),M+4},a.prototype.writeInt32BE=function(y,M,A){return y=+y,M=M|0,A||P(this,y,M,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),a.TYPED_ARRAY_SUPPORT?(this[M]=y>>>24,this[M+1]=y>>>16,this[M+2]=y>>>8,this[M+3]=y&255):K(this,y,M,!1),M+4};function ee(E,y,M,A,Y,te){if(M+A>E.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("Index out of range")}function O(E,y,M,A,Y){return Y||ee(E,y,M,4),n.write(E,y,M,A,23,4),M+4}a.prototype.writeFloatLE=function(y,M,A){return O(this,y,M,!0,A)},a.prototype.writeFloatBE=function(y,M,A){return O(this,y,M,!1,A)};function re(E,y,M,A,Y){return Y||ee(E,y,M,8),n.write(E,y,M,A,52,8),M+8}a.prototype.writeDoubleLE=function(y,M,A){return re(this,y,M,!0,A)},a.prototype.writeDoubleBE=function(y,M,A){return re(this,y,M,!1,A)},a.prototype.copy=function(y,M,A,Y){if(A||(A=0),!Y&&Y!==0&&(Y=this.length),M>=y.length&&(M=y.length),M||(M=0),Y>0&&Y=this.length)throw new RangeError("sourceStart out of bounds");if(Y<0)throw new RangeError("sourceEnd out of bounds");Y>this.length&&(Y=this.length),y.length-M=0;--X)y[X+M]=this[X+A];else if(te<1e3||!a.TYPED_ARRAY_SUPPORT)for(X=0;X>>0,A=A===void 0?this.length:A>>>0,y||(y=0);var X;if(typeof y=="number")for(X=M;X55295&&M<57344){if(!Y){if(M>56319){(y-=3)>-1&&te.push(239,191,189);continue}else if(X+1===A){(y-=3)>-1&&te.push(239,191,189);continue}Y=M;continue}if(M<56320){(y-=3)>-1&&te.push(239,191,189),Y=M;continue}M=(Y-55296<<10|M-56320)+65536}else Y&&(y-=3)>-1&&te.push(239,191,189);if(Y=null,M<128){if((y-=1)<0)break;te.push(M)}else if(M<2048){if((y-=2)<0)break;te.push(M>>6|192,M&63|128)}else if(M<65536){if((y-=3)<0)break;te.push(M>>12|224,M>>6&63|128,M&63|128)}else if(M<1114112){if((y-=4)<0)break;te.push(M>>18|240,M>>12&63|128,M>>6&63|128,M&63|128)}else throw new Error("Invalid code point")}return te}function de(E){for(var y=[],M=0;M>8,Y=M%256,te.push(Y),te.push(A);return te}function fe(E){return t.toByteArray(pe(E))}function Me(E,y,M,A){for(var Y=0;Y=y.length||Y>=E.length);++Y)y[Y+M]=E[Y];return Y}function he(E){return E!==E}})(Ge);var Ot;if(typeof window<"u"&&window.crypto&&(Ot=window.crypto),!Ot&&typeof window<"u"&&window.msCrypto&&(Ot=window.msCrypto),!Ot&&typeof global<"u"&&global.crypto&&(Ot=global.crypto),!Ot&&typeof require=="function")try{Ot=require("crypto")}catch{}function Oj(){if(Ot){if(typeof Ot.getRandomValues=="function")try{return Ot.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof Ot.randomBytes=="function")try{return Ot.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")}function Lj(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((o&15).toString(16))}return r.join("")}var _j=function(){function e(n,r){n=this.words=n||[],r!=null?this.sigBytes=r:this.sigBytes=n.length*4}var t=e.prototype;return t.random=function(r){for(var i=[],o=0;o=0;){var s=t*this[e++]+n[r]+i;i=Math.floor(s/67108864),n[r++]=s&67108863}return i}function Pj(e,t,n,r,i,o){for(var s=t&32767,a=t>>15;--o>=0;){var u=this[e]&32767,c=this[e++]>>15,l=a*u+c*s;u=s*u+((l&32767)<<15)+n[r]+(i&1073741823),i=(u>>>30)+(l>>>15)+a*c+(i>>>30),n[r++]=u&1073741823}return i}function Uj(e,t,n,r,i,o){for(var s=t&16383,a=t>>14;--o>=0;){var u=this[e]&16383,c=this[e++]>>14,l=a*u+c*s;u=s*u+((l&16383)<<14)+n[r]+i,i=(u>>28)+(l>>14)+a*c,n[r++]=u&268435455}return i}var zg=typeof navigator<"u";zg&&kg&&navigator.appName=="Microsoft Internet Explorer"?(me.prototype.am=Pj,En=30):zg&&kg&&navigator.appName!="Netscape"?(me.prototype.am=zj,En=26):(me.prototype.am=Uj,En=28),me.prototype.DB=En,me.prototype.DM=(1<=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function Bj(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function ju(e){var t=yt();return t.fromInt(e),t}function Qj(e,t){var n;if(t==16)n=4;else if(t==8)n=3;else if(t==2)n=1;else if(t==32)n=5;else if(t==4)n=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;for(var r=e.length,i=!1,o=0;--r>=0;){var s=Fj(e,r);if(s<0){e.charAt(r)=="-"&&(i=!0);continue}i=!1,o==0?this[this.t++]=s:o+n>this.DB?(this[this.t-1]|=(s&(1<>this.DB-o):this[this.t-1]|=s<=this.DB&&(o-=this.DB)}this.clamp(),i&&me.ZERO.subTo(this,this)}function $j(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function Wj(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(e==16)t=4;else if(e==8)t=3;else if(e==2)t=1;else if(e==32)t=5;else if(e==4)t=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");var n=(1<0)for(a>a)>0&&(i=!0,o=Pg(r));s>=0;)a>(a+=this.DB-t)):(r=this[s]>>(a-=t)&n,a<=0&&(a+=this.DB,--s)),r>0&&(i=!0),i&&(o+=Pg(r));return i?o:"0"}function Vj(){var e=yt();return me.ZERO.subTo(this,e),e}function Hj(){return this.s<0?this.negate():this}function qj(e){var t=this.s-e.s;if(t!=0)return t;var n=this.t;if(t=n-e.t,t!=0)return this.s<0?-t:t;for(;--n>=0;)if((t=this[n]-e[n])!=0)return t;return 0}function Su(e){var t=1,n;return(n=e>>>16)!=0&&(e=n,t+=16),(n=e>>8)!=0&&(e=n,t+=8),(n=e>>4)!=0&&(e=n,t+=4),(n=e>>2)!=0&&(e=n,t+=2),(n=e>>1)!=0&&(e=n,t+=1),t}function Kj(){return this.t<=0?0:this.DB*(this.t-1)+Su(this[this.t-1]^this.s&this.DM)}function Gj(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function Jj(e,t){for(var n=e;n=0;--a)t[a+o+1]=this[a]>>r|s,s=(this[a]&i)<=0;--a)t[a]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()}function Xj(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){t.t=0;return}var r=e%this.DB,i=this.DB-r,o=(1<>r;for(var s=n+1;s>r;r>0&&(t[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function tS(e,t){var n=this.abs(),r=e.abs(),i=n.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function rS(e,t,n){var r=e.abs();if(!(r.t<=0)){var i=this.abs();if(i.t0?(r.lShiftTo(u,o),i.lShiftTo(u,n)):(r.copyTo(o),i.copyTo(n));var c=o.t,l=o[c-1];if(l!=0){var f=l*(1<1?o[c-2]>>this.F2:0),d=this.FV/f,g=(1<=0&&(n[n.t++]=1,n.subTo(v,n)),me.ONE.dlShiftTo(c,v),v.subTo(o,o);o.t=0;){var w=n[--p]==l?this.DM:Math.floor(n[p]*d+(n[p-1]+h)*g);if((n[p]+=o.am(0,w,n,m,0,c))0&&n.rShiftTo(u,n),s<0&&me.ZERO.subTo(n,n)}}}function iS(e){var t=yt();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(me.ZERO)>0&&e.subTo(t,t),t}function oS(){if(this.t<1)return 0;var e=this[0];if(!(e&1))return 0;var t=e&3;return t=t*(2-(e&15)*t)&15,t=t*(2-(e&255)*t)&255,t=t*(2-((e&65535)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function sS(e){return this.compareTo(e)==0}function aS(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function uS(e){var t=yt();return this.addTo(e,t),t}function cS(e){var t=yt();return this.subTo(e,t),t}function lS(e){var t=yt();return this.multiplyTo(e,t),t}function fS(e){var t=yt();return this.divRemTo(e,t,null),t}function kr(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t}function hS(e){var t=yt();return e.copyTo(t),this.reduce(t),t}function gS(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function pS(e,t){e.squareTo(t),this.reduce(t)}function MS(e,t,n){e.multiplyTo(t,n),this.reduce(n)}kr.prototype.convert=dS,kr.prototype.revert=hS,kr.prototype.reduce=gS,kr.prototype.mulTo=MS,kr.prototype.sqrTo=pS;function yS(e,t,n){var r=e.bitLength(),i,o=ju(1),s=new kr(t);if(r<=0)return o;r<18?i=1:r<48?i=3:r<144?i=4:r<768?i=5:i=6;var a=new Array,u=3,c=i-1,l=(1<1){var f=yt();for(s.sqrTo(a[1],f);u<=l;)a[u]=yt(),s.mulTo(f,a[u-2],a[u]),u+=2}var d=e.t-1,g,h=!0,p=yt(),m;for(r=Su(e[d])-1;d>=0;){for(r>=c?g=e[d]>>r-c&l:(g=(e[d]&(1<0&&(g|=e[d-1]>>this.DB+r-c)),u=i;!(g&1);)g>>=1,--u;if((r-=u)<0&&(r+=this.DB,--d),h)a[g].copyTo(o),h=!1;else{for(;u>1;)s.sqrTo(o,p),s.sqrTo(p,o),u-=2;u>0?s.sqrTo(o,p):(m=o,o=p,p=m),s.mulTo(p,a[g],o)}for(;d>=0&&!(e[d]&1<"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 t1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Oi(e,t){return Oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Oi(e,t)}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}var n1=function(e){Xb(t,e);function t(n,r,i,o){var s;return s=e.call(this,n)||this,s.code=r,s.name=i,s.statusCode=o,s}return t}(ec(Error)),r1=function(){function e(n,r,i){this.endpoint=r||"https://cognito-idp."+n+".amazonaws.com/";var o=i||{},s=o.credentials;this.fetchOptions=s?{credentials:s}:{}}var t=e.prototype;return t.promisifyRequest=function(r,i){var o=this;return new Promise(function(s,a){o.request(r,i,function(u,c){u?a(new n1(u.message,u.code,u.name,u.statusCode)):s(c)})})},t.requestWithRetry=function(r,i,o){var s=this,a=5*1e3;a1(function(u){return new Promise(function(c,l){s.request(r,u,function(f,d){f?l(f):c(d)})})},[i],a).then(function(u){return o(null,u)}).catch(function(u){return o(u)})},t.request=function(r,i,o){var s={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+r,"X-Amz-User-Agent":Np.prototype.userAgent,"Cache-Control":"no-store"},a=Object.assign({},this.fetchOptions,{headers:s,method:"POST",mode:"cors",body:JSON.stringify(i)}),u;fetch(this.endpoint,a).then(function(c){return u=c,c},function(c){throw c instanceof TypeError?new Error("Network error"):c}).then(function(c){return c.json().catch(function(){return{}})}).then(function(c){if(u.ok)return o(null,c);var l=(c.__type||c.code).split("#").pop(),f=new Error(c.message||c.Message||null);return f.name=l,f.code=l,o(f)}).catch(function(c){if(u&&u.headers&&u.headers.get("x-amzn-errortype"))try{var l=u.headers.get("x-amzn-errortype").split(":")[0],f=new Error(u.status?u.status.toString():null);return f.code=l,f.name=l,f.statusCode=u.status,o(f)}catch{return o(c)}else c instanceof Error&&c.message==="Network error"&&(c.code="NetworkError");return o(c)})},e}(),gs={debug:function(){}},i1=function(t){var n="nonRetryable";return t&&t[n]};function Tp(e,t,n,r){if(r===void 0&&(r=1),typeof e!="function")throw Error("functionToRetry must be a function");return gs.debug(e.name+" attempt #"+r+" with args: "+JSON.stringify(t)),e.apply(void 0,t).catch(function(i){if(gs.debug("error on "+e.name,i),i1(i))throw gs.debug(e.name+" non retryable error",i),i;var o=n(r,t,i);if(gs.debug(e.name+" retrying in "+o+" ms"),o!==!1)return new Promise(function(s){return setTimeout(s,o)}).then(function(){return Tp(e,t,n,r+1)});throw i})}function o1(e){var t=100,n=100;return function(r){var i=Math.pow(2,r)*t+n*Math.random();return i>e?!1:i}}var s1=5*60*1e3;function a1(e,t,n){return n===void 0&&(n=s1),Tp(e,t,o1(n))}/*! + */var SS=typeof navigator<"u",Yg=SS?In.isReactNative?"react-native":navigator.userAgent:"nodejs",Pu=function(){function e(n){if(n==null||n.Username==null||n.Pool==null)throw new Error("Username and Pool information are required.");this.username=n.Username||"",this.pool=n.Pool,this.Session=null,this.client=n.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=n.Storage||new Fg().getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var t=e.prototype;return t.setSignInUserSession=function(r){this.clearCachedUserData(),this.signInUserSession=r,this.cacheTokens()},t.getSignInUserSession=function(){return this.signInUserSession},t.getUsername=function(){return this.username},t.getAuthenticationFlowType=function(){return this.authenticationFlowType},t.setAuthenticationFlowType=function(r){this.authenticationFlowType=r},t.initiateAuth=function(r,i){var o=this,s=r.getAuthParameters();s.USERNAME=this.username;var a=Object.keys(r.getValidationData()).length!==0?r.getValidationData():r.getClientMetadata(),u={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:s,ClientMetadata:a};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",u,function(c,l){if(c)return i.onFailure(c);var f=l.ChallengeName,d=l.ChallengeParameters;return f==="CUSTOM_CHALLENGE"?(o.Session=l.Session,i.customChallenge(d)):(o.signInUserSession=o.getCognitoUserSession(l.AuthenticationResult),o.cacheTokens(),i.onSuccess(o.signInUserSession))})},t.authenticateUser=function(r,i){return this.authenticationFlowType==="USER_PASSWORD_AUTH"?this.authenticateUserPlainUsernamePassword(r,i):this.authenticationFlowType==="USER_SRP_AUTH"||this.authenticationFlowType==="CUSTOM_AUTH"?this.authenticateUserDefaultAuth(r,i):i.onFailure(new Error("Authentication flow type is invalid."))},t.authenticateUserDefaultAuth=function(r,i){var o=this,s=new zr(this.pool.getUserPoolName()),a=new Rg,u,c,l={};this.deviceKey!=null&&(l.DEVICE_KEY=this.deviceKey),l.USERNAME=this.username,s.getLargeAValue(function(f,d){f&&i.onFailure(f),l.SRP_A=d.toString(16),o.authenticationFlowType==="CUSTOM_AUTH"&&(l.CHALLENGE_NAME="SRP_A");var g=Object.keys(r.getValidationData()).length!==0?r.getValidationData():r.getClientMetadata(),h={AuthFlow:o.authenticationFlowType,ClientId:o.pool.getClientId(),AuthParameters:l,ClientMetadata:g};o.getUserContextData(o.username)&&(h.UserContextData=o.getUserContextData(o.username)),o.client.request("InitiateAuth",h,function(p,m){if(p)return i.onFailure(p);var v=m.ChallengeParameters;o.username=v.USER_ID_FOR_SRP,o.userDataKey=o.keyPrefix+"."+o.username+".userData",u=new me(v.SRP_B,16),c=new me(v.SALT,16),o.getCachedDeviceKeyAndPassword(),s.getPasswordAuthenticationKey(o.username,r.getPassword(),u,c,function(w,j){w&&i.onFailure(w);var I=a.getNowString(),T=Ge.Buffer.concat([Ge.Buffer.from(o.pool.getUserPoolName(),"utf8"),Ge.Buffer.from(o.username,"utf8"),Ge.Buffer.from(v.SECRET_BLOCK,"base64"),Ge.Buffer.from(I,"utf8")]),B=new mn.Sha256(j);B.update(T);var z=B.digestSync(),H=Ge.Buffer.from(z).toString("base64"),W={};W.USERNAME=o.username,W.PASSWORD_CLAIM_SECRET_BLOCK=v.SECRET_BLOCK,W.TIMESTAMP=I,W.PASSWORD_CLAIM_SIGNATURE=H,o.deviceKey!=null&&(W.DEVICE_KEY=o.deviceKey);var b=function R(x,N){return o.client.request("RespondToAuthChallenge",x,function(S,U){return S&&S.code==="ResourceNotFoundException"&&S.message.toLowerCase().indexOf("device")!==-1?(W.DEVICE_KEY=null,o.deviceKey=null,o.randomPassword=null,o.deviceGroupKey=null,o.clearCachedDeviceKeyAndPassword(),R(x,N)):N(S,U)})},k={ChallengeName:"PASSWORD_VERIFIER",ClientId:o.pool.getClientId(),ChallengeResponses:W,Session:m.Session,ClientMetadata:g};o.getUserContextData()&&(k.UserContextData=o.getUserContextData()),b(k,function(R,x){return R?i.onFailure(R):o.authenticateUserInternal(x,s,i)})})})})},t.authenticateUserPlainUsernamePassword=function(r,i){var o=this,s={};if(s.USERNAME=this.username,s.PASSWORD=r.getPassword(),!s.PASSWORD){i.onFailure(new Error("PASSWORD parameter is required"));return}var a=new zr(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),this.deviceKey!=null&&(s.DEVICE_KEY=this.deviceKey);var u=Object.keys(r.getValidationData()).length!==0?r.getValidationData():r.getClientMetadata(),c={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:s,ClientMetadata:u};this.getUserContextData(this.username)&&(c.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",c,function(l,f){return l?i.onFailure(l):o.authenticateUserInternal(f,a,i)})},t.authenticateUserInternal=function(r,i,o){var s=this,a=r.ChallengeName,u=r.ChallengeParameters;if(a==="SMS_MFA")return this.Session=r.Session,o.mfaRequired(a,u);if(a==="SELECT_MFA_TYPE")return this.Session=r.Session,o.selectMFAType(a,u);if(a==="MFA_SETUP")return this.Session=r.Session,o.mfaSetup(a,u);if(a==="SOFTWARE_TOKEN_MFA")return this.Session=r.Session,o.totpRequired(a,u);if(a==="CUSTOM_CHALLENGE")return this.Session=r.Session,o.customChallenge(u);if(a==="NEW_PASSWORD_REQUIRED"){this.Session=r.Session;var c=null,l=null,f=[],d=i.getNewPasswordRequiredChallengeUserAttributePrefix();if(u&&(c=JSON.parse(r.ChallengeParameters.userAttributes),l=JSON.parse(r.ChallengeParameters.requiredAttributes)),l)for(var g=0;g"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 OS(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ci(e,t){return Ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ci(e,t)}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(e)}var LS=function(e){CS(t,e);function t(n,r,i,o){var s;return s=e.call(this,n)||this,s.code=r,s.name=i,s.statusCode=o,s}return t}(Uu(Error)),_S=function(){function e(n,r,i){this.endpoint=r||"https://cognito-idp."+n+".amazonaws.com/";var o=i||{},s=o.credentials;this.fetchOptions=s?{credentials:s}:{}}var t=e.prototype;return t.promisifyRequest=function(r,i){var o=this;return new Promise(function(s,a){o.request(r,i,function(u,c){u?a(new LS(u.message,u.code,u.name,u.statusCode)):s(c)})})},t.requestWithRetry=function(r,i,o){var s=this,a=5*1e3;US(function(u){return new Promise(function(c,l){s.request(r,u,function(f,d){f?l(f):c(d)})})},[i],a).then(function(u){return o(null,u)}).catch(function(u){return o(u)})},t.request=function(r,i,o){var s={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+r,"X-Amz-User-Agent":Qg.prototype.userAgent,"Cache-Control":"no-store"},a=Object.assign({},this.fetchOptions,{headers:s,method:"POST",mode:"cors",body:JSON.stringify(i)}),u;fetch(this.endpoint,a).then(function(c){return u=c,c},function(c){throw c instanceof TypeError?new Error("Network error"):c}).then(function(c){return c.json().catch(function(){return{}})}).then(function(c){if(u.ok)return o(null,c);var l=(c.__type||c.code).split("#").pop(),f=new Error(c.message||c.Message||null);return f.name=l,f.code=l,o(f)}).catch(function(c){if(u&&u.headers&&u.headers.get("x-amzn-errortype"))try{var l=u.headers.get("x-amzn-errortype").split(":")[0],f=new Error(u.status?u.status.toString():null);return f.code=l,f.name=l,f.statusCode=u.status,o(f)}catch{return o(c)}else c instanceof Error&&c.message==="Network error"&&(c.code="NetworkError");return o(c)})},e}(),hs={debug:function(){}},kS=function(t){var n="nonRetryable";return t&&t[n]};function $g(e,t,n,r){if(r===void 0&&(r=1),typeof e!="function")throw Error("functionToRetry must be a function");return hs.debug(e.name+" attempt #"+r+" with args: "+JSON.stringify(t)),e.apply(void 0,t).catch(function(i){if(hs.debug("error on "+e.name,i),kS(i))throw hs.debug(e.name+" non retryable error",i),i;var o=n(r,t,i);if(hs.debug(e.name+" retrying in "+o+" ms"),o!==!1)return new Promise(function(s){return setTimeout(s,o)}).then(function(){return $g(e,t,n,r+1)});throw i})}function zS(e){var t=100,n=100;return function(r){var i=Math.pow(2,r)*t+n*Math.random();return i>e?!1:i}}var PS=5*60*1e3;function US(e,t,n){return n===void 0&&(n=PS),$g(e,t,zS(n))}/*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 - */var u1=55,c1=function(){function e(n,r){var i=n||{},o=i.UserPoolId,s=i.ClientId,a=i.endpoint,u=i.fetchOptions,c=i.AdvancedSecurityDataCollectionFlag;if(!o||!s)throw new Error("Both UserPoolId and ClientId are required.");if(o.length>u1||!/^[\w-]+_[0-9a-zA-Z]+$/.test(o))throw new Error("Invalid UserPoolId format.");var l=o.split("_")[0];this.userPoolId=o,this.clientId=s,this.client=new r1(l,a,u),this.advancedSecurityDataCollectionFlag=c!==!1,this.storage=n.Storage||new Ep().getStorage(),r&&(this.wrapRefreshSessionCallback=r)}var t=e.prototype;return t.getUserPoolId=function(){return this.userPoolId},t.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},t.getClientId=function(){return this.clientId},t.signUp=function(r,i,o,s,a,u){var c=this,l={ClientId:this.clientId,Username:r,Password:i,UserAttributes:o,ValidationData:s,ClientMetadata:u};this.getUserContextData(r)&&(l.UserContextData=this.getUserContextData(r)),this.client.request("SignUp",l,function(f,d){if(f)return a(f,null);var g={Username:r,Pool:c,Storage:c.storage},h={user:new Xu(g),userConfirmed:d.UserConfirmed,userSub:d.UserSub,codeDeliveryDetails:d.CodeDeliveryDetails};return a(null,h)})},t.getCurrentUser=function(){var r="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",i=this.storage.getItem(r);if(i){var o={Username:i,Pool:this,Storage:this.storage};return new Xu(o)}return null},t.getUserContextData=function(r){if(!(typeof AmazonCognitoAdvancedSecurityData>"u")){var i=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var o=i.getData(r,this.userPoolId,this.clientId);if(o){var s={EncodedData:o};return s}}return{}}},e}(),er={},l1={get exports(){return er},set exports(e){er=e}};/*! + */var RS=55,FS=function(){function e(n,r){var i=n||{},o=i.UserPoolId,s=i.ClientId,a=i.endpoint,u=i.fetchOptions,c=i.AdvancedSecurityDataCollectionFlag;if(!o||!s)throw new Error("Both UserPoolId and ClientId are required.");if(o.length>RS||!/^[\w-]+_[0-9a-zA-Z]+$/.test(o))throw new Error("Invalid UserPoolId format.");var l=o.split("_")[0];this.userPoolId=o,this.clientId=s,this.client=new _S(l,a,u),this.advancedSecurityDataCollectionFlag=c!==!1,this.storage=n.Storage||new Fg().getStorage(),r&&(this.wrapRefreshSessionCallback=r)}var t=e.prototype;return t.getUserPoolId=function(){return this.userPoolId},t.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},t.getClientId=function(){return this.clientId},t.signUp=function(r,i,o,s,a,u){var c=this,l={ClientId:this.clientId,Username:r,Password:i,UserAttributes:o,ValidationData:s,ClientMetadata:u};this.getUserContextData(r)&&(l.UserContextData=this.getUserContextData(r)),this.client.request("SignUp",l,function(f,d){if(f)return a(f,null);var g={Username:r,Pool:c,Storage:c.storage},h={user:new Pu(g),userConfirmed:d.UserConfirmed,userSub:d.UserSub,codeDeliveryDetails:d.CodeDeliveryDetails};return a(null,h)})},t.getCurrentUser=function(){var r="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",i=this.storage.getItem(r);if(i){var o={Username:i,Pool:this,Storage:this.storage};return new Pu(o)}return null},t.getUserContextData=function(r){if(!(typeof AmazonCognitoAdvancedSecurityData>"u")){var i=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var o=i.getData(r,this.userPoolId,this.clientId);if(o){var s={EncodedData:o};return s}}return{}}},e}(),er={},YS={get exports(){return er},set exports(e){er=e}};/*! * JavaScript Cookie v2.2.1 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license - */(function(e,t){(function(n){var r;if(e.exports=n(),r=!0,!r){var i=window.Cookies,o=window.Cookies=n();o.noConflict=function(){return window.Cookies=i,o}}})(function(){function n(){for(var o=0,s={};o"u")){f=n({path:"/"},s.defaults,f),typeof f.expires=="number"&&(f.expires=new Date(new Date*1+f.expires*864e5)),f.expires=f.expires?f.expires.toUTCString():"";try{var d=JSON.stringify(l);/^[\{\[]/.test(d)&&(l=d)}catch{}l=o.write?o.write(l,c):encodeURIComponent(String(l)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var g="";for(var h in f)f[h]&&(g+="; "+h,f[h]!==!0&&(g+="="+f[h].split(";")[0]));return document.cookie=c+"="+l+g}}function u(c,l){if(!(typeof document>"u")){for(var f={},d=document.cookie?document.cookie.split("; "):[],g=0;g0;--r)n+=i[Math.round(Math.random()*(i.length-1))];return n},e.prototype._generateChallenge=function(t){var n=new vn.Sha256;n.update(t);var r=n.digestSync(),i=Ke.Buffer.from(r).toString("base64"),o=this._base64URL(i);return o},e.prototype._base64URL=function(t){return t.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=new Uint8Array(t);if(typeof window<"u"&&window.crypto)window.crypto.getRandomValues(r);else for(var i=0;i"u")){f=n({path:"/"},s.defaults,f),typeof f.expires=="number"&&(f.expires=new Date(new Date*1+f.expires*864e5)),f.expires=f.expires?f.expires.toUTCString():"";try{var d=JSON.stringify(l);/^[\{\[]/.test(d)&&(l=d)}catch{}l=o.write?o.write(l,c):encodeURIComponent(String(l)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var g="";for(var h in f)f[h]&&(g+="; "+h,f[h]!==!0&&(g+="="+f[h].split(";")[0]));return document.cookie=c+"="+l+g}}function u(c,l){if(!(typeof document>"u")){for(var f={},d=document.cookie?document.cookie.split("; "):[],g=0;g0;--r)n+=i[Math.round(Math.random()*(i.length-1))];return n},e.prototype._generateChallenge=function(t){var n=new mn.Sha256;n.update(t);var r=n.digestSync(),i=Ge.Buffer.from(r).toString("base64"),o=this._base64URL(i);return o},e.prototype._base64URL=function(t){return t.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=new Uint8Array(t);if(typeof window<"u"&&window.crypto)window.crypto.getRandomValues(r);else for(var i=0;iS1?(clearInterval(i),xe("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),n._storage.removeItem("amplify-auto-sign-in")):n.signInAfterUserConfirmed(t,null,i)},5e3)},e.prototype.signInAfterUserConfirmed=function(t,n,r){return ce.__awaiter(this,void 0,void 0,function(){var i,o,s=this;return ce.__generator(this,function(a){switch(a.label){case 0:i=this.createCognitoUser(t.getUsername()),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,i.authenticateUser(t,this.authCallbacks(i,function(u){xe("autoSignIn",u,t.getUsername()+" has signed in successfully"),n&&sn.remove("auth",n),r&&(clearInterval(r),s._storage.removeItem("amplify-polling-started")),s._storage.removeItem("amplify-auto-sign-in")},function(u){ue.error(u),s._storage.removeItem("amplify-auto-sign-in")}))];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),ue.error(o),[3,4];case 4:return[2]}})})},e.prototype.confirmSignUp=function(t,n,r){var i=this;if(!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(ze.EmptyUsername);if(!n)return this.rejectAuthError(ze.EmptyCode);var o=this.createCognitoUser(t),s=r&&typeof r.forceAliasCreation=="boolean"?r.forceAliasCreation:!0,a;return r&&r.clientMetadata?a=r.clientMetadata:this._config.clientMetadata&&(a=this._config.clientMetadata),new Promise(function(u,c){o.confirmRegistration(n,s,function(l,f){if(l)c(l);else{xe("confirmSignUp",f,t+" has been confirmed successfully");var d=i.isTrueStorageValue("amplify-auto-sign-in");d&&!i.autoSignInInitiated&&(xe("autoSignIn_failure",null,ze.AutoSignInError),i._storage.removeItem("amplify-auto-sign-in")),u(f)}},a)})},e.prototype.isTrueStorageValue=function(t){var n=this._storage.getItem(t);return n?n==="true":!1},e.prototype.resendSignUp=function(t,n){if(n===void 0&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(ze.EmptyUsername);var r=this.createCognitoUser(t);return new Promise(function(i,o){r.resendConfirmationCode(function(s,a){s?o(s):i(a)},n)})},e.prototype.signIn=function(t,n,r){if(r===void 0&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var i=null,o=null,s={};if(typeof t=="string")i=t,o=n;else if(cI(t))typeof n<"u"&&ue.warn("The password should be defined under the first parameter object!"),i=t.username,o=t.password,s=t.validationData;else return this.rejectAuthError(ze.InvalidUsername);if(!i)return this.rejectAuthError(ze.EmptyUsername);var a=new pp({Username:i,Password:o,ValidationData:s,ClientMetadata:r});return o?this.signInWithPassword(a):this.signInWithoutPassword(a)},e.prototype.authCallbacks=function(t,n,r){var i=this,o=this;return{onSuccess:function(s){return ce.__awaiter(i,void 0,void 0,function(){var a,u,c,l;return ce.__generator(this,function(f){switch(f.label){case 0:ue.debug(s),delete t.challengeName,delete t.challengeParam,f.label=1;case 1:return f.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return f.sent(),[4,this.Credentials.set(s,"session")];case 3:return a=f.sent(),ue.debug("succeed to get cognito credentials",a),[3,9];case 4:return u=f.sent(),ue.debug("cannot get cognito credentials",u),[3,9];case 5:return f.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return c=f.sent(),o.user=c,xe("signIn",c,"A user "+t.getUsername()+" has been signed in"),n(c),[3,8];case 7:return l=f.sent(),ue.error("Failed to get the signed in user",l),r(l),[3,8];case 8:return[7];case 9:return[2]}})})},onFailure:function(s){ue.debug("signIn failure",s),xe("signIn_failure",s,t.getUsername()+" failed to signin"),r(s)},customChallenge:function(s){ue.debug("signIn custom challenge answer required"),t.challengeName="CUSTOM_CHALLENGE",t.challengeParam=s,n(t)},mfaRequired:function(s,a){ue.debug("signIn MFA required"),t.challengeName=s,t.challengeParam=a,n(t)},mfaSetup:function(s,a){ue.debug("signIn mfa setup",s),t.challengeName=s,t.challengeParam=a,n(t)},newPasswordRequired:function(s,a){ue.debug("signIn new password"),t.challengeName="NEW_PASSWORD_REQUIRED",t.challengeParam={userAttributes:s,requiredAttributes:a},n(t)},totpRequired:function(s,a){ue.debug("signIn totpRequired"),t.challengeName=s,t.challengeParam=a,n(t)},selectMFAType:function(s,a){ue.debug("signIn selectMFAType",s),t.challengeName=s,t.challengeParam=a,n(t)}}},e.prototype.signInWithPassword=function(t){var n=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var r=this.createCognitoUser(t.getUsername());return this.pendingSignIn=new Promise(function(i,o){r.authenticateUser(t,n.authCallbacks(r,function(s){n.pendingSignIn=null,i(s)},function(s){n.pendingSignIn=null,o(s)}))}),this.pendingSignIn},e.prototype.signInWithoutPassword=function(t){var n=this,r=this.createCognitoUser(t.getUsername());return r.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(i,o){r.initiateAuth(t,n.authCallbacks(r,i,o))})},e.prototype.getMFAOptions=function(t){return new Promise(function(n,r){t.getMFAOptions(function(i,o){if(i){ue.debug("get MFA Options failed",i),r(i);return}ue.debug("get MFA options success",o),n(o)})})},e.prototype.getPreferredMFA=function(t,n){var r=this,i=this;return new Promise(function(o,s){var a=r._config.clientMetadata,u=n?n.bypassCache:!1;t.getUserData(function(c,l){return ce.__awaiter(r,void 0,void 0,function(){var f,d;return ce.__generator(this,function(g){switch(g.label){case 0:if(!c)return[3,5];if(ue.debug("getting preferred mfa failed",c),!this.isSessionInvalid(c))return[3,4];g.label=1;case 1:return g.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return g.sent(),[3,4];case 3:return f=g.sent(),s(new Error("Session is invalid due to: "+c.message+" and failed to clean up invalid session: "+f.message)),[2];case 4:return s(c),[2];case 5:return d=i._getMfaTypeFromUserData(l),d?(o(d),[2]):(s("invalid MFA Type"),[2])}})})},{bypassCache:u,clientMetadata:a})})},e.prototype._getMfaTypeFromUserData=function(t){var n=null,r=t.PreferredMfaSetting;if(r)n=r;else{var i=t.UserMFASettingList;if(i)i.length===0?n="NOMFA":ue.debug("invalid case for getPreferredMFA",t);else{var o=t.MFAOptions;o?n="SMS_MFA":n="NOMFA"}}return n},e.prototype._getUserData=function(t,n){var r=this;return new Promise(function(i,o){t.getUserData(function(s,a){return ce.__awaiter(r,void 0,void 0,function(){var u;return ce.__generator(this,function(c){switch(c.label){case 0:if(!s)return[3,5];if(ue.debug("getting user data failed",s),!this.isSessionInvalid(s))return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return c.sent(),[3,4];case 3:return u=c.sent(),o(new Error("Session is invalid due to: "+s.message+" and failed to clean up invalid session: "+u.message)),[2];case 4:return o(s),[2];case 5:i(a),c.label=6;case 6:return[2]}})})},n)})},e.prototype.setPreferredMFA=function(t,n){return ce.__awaiter(this,void 0,void 0,function(){var r,i,o,s,a,u,c,l=this;return ce.__generator(this,function(f){switch(f.label){case 0:return r=this._config.clientMetadata,[4,this._getUserData(t,{bypassCache:!0,clientMetadata:r})];case 1:switch(i=f.sent(),o=null,s=null,a=n,a){case"TOTP":return[3,2];case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":return[3,3];case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return s={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return o={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return u=i.UserMFASettingList,[4,this._getMfaTypeFromUserData(i)];case 5:if(c=f.sent(),c==="NOMFA")return[2,Promise.resolve("No change for mfa type")];if(c==="SMS_MFA")o={PreferredMfa:!1,Enabled:!1};else if(c==="SOFTWARE_TOKEN_MFA")s={PreferredMfa:!1,Enabled:!1};else return[2,this.rejectAuthError(ze.InvalidMFA)];return u&&u.length!==0&&u.forEach(function(d){d==="SMS_MFA"?o={PreferredMfa:!1,Enabled:!1}:d==="SOFTWARE_TOKEN_MFA"&&(s={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return ue.debug("no validmfa method provided"),[2,this.rejectAuthError(ze.NoMFA)];case 7:return[2,new Promise(function(d,g){t.setUserMfaPreference(o,s,function(h,p){if(h)return ue.debug("Set user mfa preference error",h),g(h);ue.debug("Set user mfa success",p),ue.debug("Caching the latest user data into local"),t.getUserData(function(m,v){return ce.__awaiter(l,void 0,void 0,function(){var w;return ce.__generator(this,function(j){switch(j.label){case 0:if(!m)return[3,5];if(ue.debug("getting user data failed",m),!this.isSessionInvalid(m))return[3,4];j.label=1;case 1:return j.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return j.sent(),[3,4];case 3:return w=j.sent(),g(new Error("Session is invalid due to: "+m.message+" and failed to clean up invalid session: "+w.message)),[2];case 4:return[2,g(m)];case 5:return[2,d(p)]}})})},{bypassCache:!0,clientMetadata:r})})})]}})})},e.prototype.disableSMS=function(t){return new Promise(function(n,r){t.disableMFA(function(i,o){if(i){ue.debug("disable mfa failed",i),r(i);return}ue.debug("disable mfa succeed",o),n(o)})})},e.prototype.enableSMS=function(t){return new Promise(function(n,r){t.enableMFA(function(i,o){if(i){ue.debug("enable mfa failed",i),r(i);return}ue.debug("enable mfa succeed",o),n(o)})})},e.prototype.setupTOTP=function(t){return new Promise(function(n,r){t.associateSoftwareToken({onFailure:function(i){ue.debug("associateSoftwareToken failed",i),r(i)},associateSecretCode:function(i){ue.debug("associateSoftwareToken success",i),n(i)}})})},e.prototype.verifyTotpToken=function(t,n){ue.debug("verification totp token",t,n);var r;t&&typeof t.getSignInUserSession=="function"&&(r=t.getSignInUserSession());var i=r==null?void 0:r.isValid();return new Promise(function(o,s){t.verifySoftwareToken(n,"My TOTP device",{onFailure:function(a){ue.debug("verifyTotpToken failed",a),s(a)},onSuccess:function(a){i||xe("signIn",t,"A user "+t.getUsername()+" has been signed in"),xe("verify",t,"A user "+t.getUsername()+" has been verified"),ue.debug("verifyTotpToken success",a),o(a)}})})},e.prototype.confirmSignIn=function(t,n,r,i){var o=this;if(i===void 0&&(i=this._config.clientMetadata),!n)return this.rejectAuthError(ze.EmptyCode);var s=this;return new Promise(function(a,u){t.sendMFACode(n,{onSuccess:function(c){return ce.__awaiter(o,void 0,void 0,function(){var l,f,d,g;return ce.__generator(this,function(h){switch(h.label){case 0:ue.debug(c),h.label=1;case 1:return h.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return h.sent(),[4,this.Credentials.set(c,"session")];case 3:return l=h.sent(),ue.debug("succeed to get cognito credentials",l),[3,10];case 4:return f=h.sent(),ue.debug("cannot get cognito credentials",f),[3,10];case 5:s.user=t,h.label=6;case 6:return h.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return d=h.sent(),t.attributes=d.attributes,[3,9];case 8:return g=h.sent(),ue.debug("cannot get updated Cognito User",g),[3,9];case 9:return xe("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 10:return[2]}})})},onFailure:function(c){ue.debug("confirm signIn failure",c),u(c)}},r,i)})},e.prototype.completeNewPassword=function(t,n,r,i){var o=this;if(r===void 0&&(r={}),i===void 0&&(i=this._config.clientMetadata),!n)return this.rejectAuthError(ze.EmptyPassword);var s=this;return new Promise(function(a,u){t.completeNewPasswordChallenge(n,r,{onSuccess:function(c){return ce.__awaiter(o,void 0,void 0,function(){var l,f;return ce.__generator(this,function(d){switch(d.label){case 0:ue.debug(c),d.label=1;case 1:return d.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return d.sent(),[4,this.Credentials.set(c,"session")];case 3:return l=d.sent(),ue.debug("succeed to get cognito credentials",l),[3,6];case 4:return f=d.sent(),ue.debug("cannot get cognito credentials",f),[3,6];case 5:return s.user=t,xe("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 6:return[2]}})})},onFailure:function(c){ue.debug("completeNewPassword failure",c),xe("completeNewPassword_failure",c,o.user+" failed to complete the new password flow"),u(c)},mfaRequired:function(c,l){ue.debug("signIn MFA required"),t.challengeName=c,t.challengeParam=l,a(t)},mfaSetup:function(c,l){ue.debug("signIn mfa setup",c),t.challengeName=c,t.challengeParam=l,a(t)},totpRequired:function(c,l){ue.debug("signIn mfa setup",c),t.challengeName=c,t.challengeParam=l,a(t)}},i)})},e.prototype.sendCustomChallengeAnswer=function(t,n,r){var i=this;return r===void 0&&(r=this._config.clientMetadata),this.userPool?n?new Promise(function(o,s){t.sendCustomChallengeAnswer(n,i.authCallbacks(t,o,s),r)}):this.rejectAuthError(ze.EmptyChallengeResponse):this.rejectNoUserPool()},e.prototype.deleteUserAttributes=function(t,n){var r=this;return new Promise(function(i,o){r.userSession(t).then(function(s){t.deleteAttributes(n,function(a,u){return a?o(a):i(u)})})})},e.prototype.deleteUser=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n,r=this;return ce.__generator(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._storageSync];case 1:return i.sent(),[3,3];case 2:throw t=i.sent(),ue.debug("Failed to sync cache info into memory",t),new Error(t);case 3:return n=this._oAuthHandler&&this._storage.getItem("amplify-signin-with-hostedUI")==="true",[2,new Promise(function(o,s){return ce.__awaiter(r,void 0,void 0,function(){var a,u=this;return ce.__generator(this,function(c){if(this.userPool)if(a=this.userPool.getCurrentUser(),a)a.getSession(function(l,f){return ce.__awaiter(u,void 0,void 0,function(){var d,g=this;return ce.__generator(this,function(h){switch(h.label){case 0:if(!l)return[3,5];if(ue.debug("Failed to get the user session",l),!this.isSessionInvalid(l))return[3,4];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(a)];case 2:return h.sent(),[3,4];case 3:return d=h.sent(),s(new Error("Session is invalid due to: "+l.message+" and failed to clean up invalid session: "+d.message)),[2];case 4:return[2,s(l)];case 5:a.deleteUser(function(p,m){if(p)s(p);else{xe("userDeleted",m,"The authenticated user has been deleted."),a.signOut(),g.user=null;try{g.cleanCachedItems()}catch{ue.debug("failed to clear cached items")}n?g.oAuthSignOutRedirect(o,s):(xe("signOut",g.user,"A user has been signed out"),o(m))}}),h.label=6;case 6:return[2]}})})});else return ue.debug("Failed to get user from user pool"),[2,s(new Error("No current user."))];else ue.debug("no Congito User pool"),s(new Error("Cognito User pool does not exist"));return[2]})})})]}})})},e.prototype.updateUserAttributes=function(t,n,r){var i=this;r===void 0&&(r=this._config.clientMetadata);var o=[],s=this;return new Promise(function(a,u){s.userSession(t).then(function(c){for(var l in n)if(l!=="sub"&&l.indexOf("_verified")<0){var f={Name:l,Value:n[l]};o.push(f)}t.updateAttributes(o,function(d,g,h){if(d)return xe("updateUserAttributes_failure",d,"Failed to update attributes"),u(d);var p=i.createUpdateAttributesResultList(n,h==null?void 0:h.CodeDeliveryDetailsList);return xe("updateUserAttributes",p,"Attributes successfully updated"),a(g)},r)})})},e.prototype.createUpdateAttributesResultList=function(t,n){var r={};return Object.keys(t).forEach(function(i){r[i]={isUpdated:!0};var o=n==null?void 0:n.find(function(s){return s.AttributeName===i});o&&(r[i].isUpdated=!1,r[i].codeDeliveryDetails=o)}),r},e.prototype.userAttributes=function(t){var n=this;return new Promise(function(r,i){n.userSession(t).then(function(o){t.getUserAttributes(function(s,a){s?i(s):r(a)})})})},e.prototype.verifiedContact=function(t){var n=this;return this.userAttributes(t).then(function(r){var i=n.attributesToObject(r),o={},s={};return i.email&&(i.email_verified?s.email=i.email:o.email=i.email),i.phone_number&&(i.phone_number_verified?s.phone_number=i.phone_number:o.phone_number=i.phone_number),{verified:s,unverified:o}})},e.prototype.isErrorWithMessage=function(t){return typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"message")},e.prototype.isTokenRevokedError=function(t){return this.isErrorWithMessage(t)&&t.message==="Access Token has been revoked"},e.prototype.isRefreshTokenRevokedError=function(t){return this.isErrorWithMessage(t)&&t.message==="Refresh Token has been revoked"},e.prototype.isUserDisabledError=function(t){return this.isErrorWithMessage(t)&&t.message==="User is disabled."},e.prototype.isUserDoesNotExistError=function(t){return this.isErrorWithMessage(t)&&t.message==="User does not exist."},e.prototype.isRefreshTokenExpiredError=function(t){return this.isErrorWithMessage(t)&&t.message==="Refresh Token has expired"},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&this._storage.getItem("amplify-signin-with-hostedUI")==="true"},e.prototype.isSessionInvalid=function(t){return this.isUserDisabledError(t)||this.isUserDoesNotExistError(t)||this.isTokenRevokedError(t)||this.isRefreshTokenRevokedError(t)||this.isRefreshTokenExpiredError(t)},e.prototype.cleanUpInvalidSession=function(t){return ce.__awaiter(this,void 0,void 0,function(){var n=this;return ce.__generator(this,function(r){switch(r.label){case 0:t.signOut(),this.user=null,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return r.sent(),[3,4];case 3:return r.sent(),ue.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise(function(i,o){n.oAuthSignOutRedirect(i,o)})]:(xe("signOut",this.user,"A user has been signed out"),[2])}})})},e.prototype.currentUserPoolUser=function(t){var n=this;return this.userPool?new Promise(function(r,i){n._storageSync.then(function(){return ce.__awaiter(n,void 0,void 0,function(){var o,s,a,u,c,l,f,d=this;return ce.__generator(this,function(g){switch(g.label){case 0:return this.isOAuthInProgress()?(ue.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(h){var p=setTimeout(function(){ue.debug("OAuth signIn in progress timeout"),sn.remove("auth",m),h()},N1);sn.listen("auth",m);function m(v){var w=v.payload,j=w.event;(j==="cognitoHostedUI"||j==="cognitoHostedUI_failure")&&(ue.debug("OAuth signIn resolved: "+j),clearTimeout(p),sn.remove("auth",m),h())}})]):[3,2];case 1:g.sent(),g.label=2;case 2:if(o=this.userPool.getCurrentUser(),!o)return ue.debug("Failed to get user from user pool"),i("No current user"),[2];g.label=3;case 3:return g.trys.push([3,7,,8]),[4,this._userSession(o)];case 4:return s=g.sent(),a=t?t.bypassCache:!1,a?[4,this.Credentials.clear()]:[3,6];case 5:g.sent(),g.label=6;case 6:if(u=this._config.clientMetadata,c=s.getAccessToken().decodePayload().scope,l=c===void 0?"":c,l.split(" ").includes(jp))o.getUserData(function(h,p){return ce.__awaiter(d,void 0,void 0,function(){var m,v,w,j,N,I,B;return ce.__generator(this,function(z){switch(z.label){case 0:if(!h)return[3,7];if(ue.debug("getting user data failed",h),!this.isSessionInvalid(h))return[3,5];z.label=1;case 1:return z.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(o)];case 2:return z.sent(),[3,4];case 3:return m=z.sent(),i(new Error("Session is invalid due to: "+h.message+" and failed to clean up invalid session: "+m.message)),[2];case 4:return i(h),[3,6];case 5:r(o),z.label=6;case 6:return[2];case 7:for(v=p.PreferredMfaSetting||"NOMFA",w=[],j=0;j"u"&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return Ga(t)||aI(t)||uI(t)||typeof t>"u"?(i=t||{provider:Fo.Cognito},u=Ga(i)?i.provider:i.customProvider,o=(Ga(i),i.customState),this._config.userPoolId&&(s=$n(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,a=$n(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,a,s,u,o)),[3,4]):[3,1];case 1:u=t;try{c=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user),c&&ue.warn("There is already a signed in user: "+c+` in your app. - You should not call Auth.federatedSignIn method again as it may cause unexpected behavior.`)}catch{}return l=n.token,f=n.identity_id,d=n.expires_at,[4,this.Credentials.set({provider:u,token:l,identity_id:f,user:r,expires_at:d},"federation")];case 2:return g=p.sent(),[4,this.currentAuthenticatedUser()];case 3:return h=p.sent(),xe("signIn",h,"A user "+h.username+" has been signed in"),ue.debug("federated sign in credentials",g),[2,g];case 4:return[2]}})})},e.prototype._handleAuthResponse=function(t){return ce.__awaiter(this,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h,p;return ce.__generator(this,function(m){switch(m.label){case 0:if(this.oAuthFlowInProgress)return ue.debug("Skipping URL "+t+" current flow in progress"),[2];m.label=1;case 1:if(m.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw new Error("OAuth responses require a User Pool defined in config");if(xe("parsingCallbackUrl",{url:t},"The callback url is being parsed"),n=t||(an().isBrowser?window.location.href:""),r=!!(wn(n).query||"").split("&").map(function(v){return v.split("=")}).find(function(v){var w=ce.__read(v,1),j=w[0];return j==="code"||j==="error"}),i=!!(wn(n).hash||"#").substr(1).split("&").map(function(v){return v.split("=")}).find(function(v){var w=ce.__read(v,1),j=w[0];return j==="access_token"||j==="error"}),!(r||i))return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),m.label=2;case 2:return m.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(n)];case 3:return o=m.sent(),s=o.accessToken,a=o.idToken,u=o.refreshToken,c=o.state,l=new Zu({IdToken:new Ku({IdToken:a}),RefreshToken:new Gu({RefreshToken:u}),AccessToken:new Hu({AccessToken:s})}),f=void 0,this._config.identityPoolId?[4,this.Credentials.set(l,"session")]:[3,5];case 4:f=m.sent(),ue.debug("AWS credentials",f),m.label=5;case 5:return d=/-/.test(c),g=this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"]),g.setSignInUserSession(l),window&&typeof window.history<"u"&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),xe("signIn",g,"A user "+g.getUsername()+" has been signed in"),xe("cognitoHostedUI",g,"A user "+g.getUsername()+" has been signed in via Cognito Hosted UI"),d&&(h=c.split("-").splice(1).join("-"),xe("customOAuthState",JI(h),"State for user "+g.getUsername())),[2,f];case 6:return p=m.sent(),ue.debug("Error in cognito hosted auth response",p),window&&typeof window.history<"u"&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),xe("signIn_failure",p,"The OAuth response flow failed"),xe("cognitoHostedUI_failure",p,"A failure occurred when returning to the Cognito Hosted UI"),xe("customState_failure",p,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}})})},e.prototype.essentialCredentials=function(t){return{accessKeyId:t.accessKeyId,sessionToken:t.sessionToken,secretAccessKey:t.secretAccessKey,identityId:t.identityId,authenticated:t.authenticated}},e.prototype.attributesToObject=function(t){var n=this,r={};return t&&t.map(function(i){i.Name==="email_verified"||i.Name==="phone_number_verified"?r[i.Name]=n.isTruthyString(i.Value)||i.Value===!0:r[i.Name]=i.Value}),r},e.prototype.isTruthyString=function(t){return typeof t.toLowerCase=="function"&&t.toLowerCase()==="true"},e.prototype.createCognitoUser=function(t){var n={Username:t,Pool:this.userPool};n.Storage=this._storage;var r=this._config.authenticationFlowType,i=new Xu(n);return r&&i.setAuthenticationFlowType(r),i},e.prototype._isValidAuthStorage=function(t){return!!t&&typeof t.getItem=="function"&&typeof t.setItem=="function"&&typeof t.removeItem=="function"&&typeof t.clear=="function"},e.prototype.noUserPoolErrorHandler=function(t){return t&&(!t.userPoolId||!t.identityPoolId)?ze.MissingAuthConfig:ze.NoConfig},e.prototype.rejectAuthError=function(t){return Promise.reject(new Tn(t))},e.prototype.rejectNoUserPool=function(){var t=this.noUserPoolErrorHandler(this._config);return Promise.reject(new A1(t))},e.prototype.rememberDevice=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n;return ce.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=r.sent(),[3,3];case 2:return n=r.sent(),ue.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(i,o){t.setDeviceStatusRemembered({onSuccess:function(s){i(s)},onFailure:function(s){s.code==="InvalidParameterException"?o(new Tn(ze.DeviceConfig)):s.code==="NetworkError"?o(new Tn(ze.NetworkError)):o(s)}})})]}})})},e.prototype.forgetDevice=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n;return ce.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=r.sent(),[3,3];case 2:return n=r.sent(),ue.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(i,o){t.forgetDevice({onSuccess:function(s){i(s)},onFailure:function(s){s.code==="InvalidParameterException"?o(new Tn(ze.DeviceConfig)):s.code==="NetworkError"?o(new Tn(ze.NetworkError)):o(s)}})})]}})})},e.prototype.fetchDevices=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n;return ce.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=r.sent(),[3,3];case 2:throw n=r.sent(),ue.debug("The user is not authenticated by the error",n),new Error("The user is not authenticated");case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(i,o){var s={onSuccess:function(a){var u=a.Devices.map(function(c){var l=c.DeviceAttributes.find(function(d){var g=d.Name;return g==="device_name"})||{},f={id:c.DeviceKey,name:l.Value};return f});i(u)},onFailure:function(a){a.code==="InvalidParameterException"?o(new Tn(ze.DeviceConfig)):a.code==="NetworkError"?o(new Tn(ze.NetworkError)):o(a)}};t.listDevices(j1,null,s)})]}})})},e}(),jn=new b1(null);eu.register(jn);var Sp={},rc={},bp;function C1(){return bp||(bp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(s){s.Cognito="COGNITO",s.Google="Google",s.Facebook="Facebook",s.Amazon="LoginWithAmazon",s.Apple="SignInWithApple"}(e.CognitoHostedUIIdentityProvider||(e.CognitoHostedUIIdentityProvider={}));function t(s){var a=["provider"];return s&&!!a.find(function(u){return s.hasOwnProperty(u)})}e.isFederatedSignInOptions=t;function n(s){var a=["customProvider"];return s&&!!a.find(function(u){return s.hasOwnProperty(u)})}e.isFederatedSignInOptionsCustom=n;function r(s){var a=["customState"];return s&&!!a.find(function(u){return s.hasOwnProperty(u)})}e.hasCustomState=r;function i(s){return s.redirectSignIn!==void 0}e.isCognitoHostedOpts=i,function(s){s.NoConfig="noConfig",s.MissingAuthConfig="missingAuthConfig",s.EmptyUsername="emptyUsername",s.InvalidUsername="invalidUsername",s.EmptyPassword="emptyPassword",s.EmptyCode="emptyCode",s.SignUpError="signUpError",s.NoMFA="noMFA",s.InvalidMFA="invalidMFA",s.EmptyChallengeResponse="emptyChallengeResponse",s.NoUserSession="noUserSession",s.Default="default",s.DeviceConfig="deviceConfig",s.NetworkError="networkError",s.AutoSignInError="autoSignInError"}(e.AuthErrorTypes||(e.AuthErrorTypes={}));function o(s){return!!s.username}e.isUsernamePasswordOpts=o,function(s){s.API_KEY="API_KEY",s.AWS_IAM="AWS_IAM",s.OPENID_CONNECT="OPENID_CONNECT",s.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",s.AWS_LAMBDA="AWS_LAMBDA"}(e.GRAPHQL_AUTH_MODE||(e.GRAPHQL_AUTH_MODE={}))}(rc)),rc}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ce;t.__exportStar(C1(),e)})(Sp);const x1=()=>{const e=window.location.protocol+"//"+window.location.host+"/verify",t=window.location.protocol+"//"+window.location.host+"/",n={Auth:{region:"ap-northeast-1",userPoolId:"ap-northeast-1_dKhj1aZQy",userPoolWebClientId:"4i0q5hl5u27mili6fnpvjap8fc",mandatorySignIn:!0,oauth:{domain:"auth.wasedatime.com",scope:["email","profile","openid","aws.cognito.signin.user.admin"],redirectSignIn:e,redirectSignOut:t,responseType:"code"}}};jn.configure(n)},O1=async()=>{try{const e=await jn.currentSession();if(e)return e.getIdToken().getJwtToken()}catch{return""}},L1=async()=>{try{const e=await jn.currentSession();if(e)return e.getAccessToken().getJwtToken()}catch{return""}},_1=async()=>{try{const e=await jn.currentSession();if(e)return e.getRefreshToken().getToken()}catch{return""}},k1=async()=>{try{const e=await jn.currentUserInfo();if(e&&e.attributes)return{id:e.attributes.sub,name:e.attributes.preferred_username,picture:e.attributes.picture}}catch{return null}},Cp=()=>{try{jn.federatedSignIn({provider:Sp.CognitoHostedUIIdentityProvider.Google,customState:window.location.pathname+window.location.search})}catch(e){console.log(e)}},z1=()=>{jn.signOut()};var P1=Object.defineProperty,U1=(e,t,n)=>t in e?P1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ic=(e,t,n)=>(U1(e,typeof t!="symbol"?t+"":t,n),n);let R1=class{constructor(){ic(this,"current",this.detect()),ic(this,"handoffState","pending"),ic(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},ln=new R1,Sn=(e,t)=>{ln.isServer?H.useEffect(e,t):H.useLayoutEffect(e,t)};function ps(e){let t=H.useRef(e);return Sn(()=>{t.current=e},[e]),t}function Li(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function oc(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Li(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=oc();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function F1(){let[e]=H.useState(oc);return H.useEffect(()=>()=>e.dispose(),[e]),e}let _t=function(e){let t=ps(e);return H.useCallback((...n)=>t.current(...n),[t])};function Ms(){let[e,t]=H.useState(ln.isHandoffComplete);return e&&ln.isHandoffComplete===!1&&t(!1),H.useEffect(()=>{e!==!0&&t(!0)},[e]),H.useEffect(()=>ln.handoff(),[]),e}var xp;let Fr=(xp=H.useId)!=null?xp:function(){let e=Ms(),[t,n]=H.useState(e?()=>ln.nextId():null);return Sn(()=>{t===null&&n(ln.nextId())},[t]),t!=null?""+t:void 0};function bn(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,bn),r}function Op(e){return ln.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let sc=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var tr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(tr||{}),Lp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Lp||{}),Y1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Y1||{});function B1(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(sc)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var _p=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(_p||{});function Q1(e,t=0){var n;return e===((n=Op(e))==null?void 0:n.body)?!1:bn(t,{[0](){return e.matches(sc)},[1](){let r=e;for(;r!==null;){if(r.matches(sc))return!0;r=r.parentElement}return!1}})}var $1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))($1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function nr(e){e==null||e.focus({preventScroll:!0})}let W1=["textarea","input"].join(",");function V1(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,W1))!=null?n:!1}function H1(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ys(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?n?H1(e):e:B1(e);i.length>0&&s.length>1&&(s=s.filter(g=>!i.includes(g))),r=r??o.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},l=0,f=s.length,d;do{if(l>=f||l+f<=0)return 0;let g=u+l;if(t&16)g=(g+f)%f;else{if(g<0)return 3;if(g>=f)return 1}d=s[g],d==null||d.focus(c),l+=a}while(d!==o.activeElement);return t&6&&V1(d)&&d.select(),2}function ac(e,t,n){let r=ps(t);H.useEffect(()=>{function i(o){r.current(o)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function q1(e,t,n=!0){let r=H.useRef(!1);H.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(s,a){if(!r.current||s.defaultPrevented)return;let u=function l(f){return typeof f=="function"?l(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e),c=a(s);if(c!==null&&c.getRootNode().contains(c)){for(let l of u){if(l===null)continue;let f=l instanceof HTMLElement?l:l.current;if(f!=null&&f.contains(c)||s.composed&&s.composedPath().includes(f))return}return!Q1(c,_p.Loose)&&c.tabIndex!==-1&&s.preventDefault(),t(s,c)}}let o=H.useRef(null);ac("mousedown",s=>{var a,u;r.current&&(o.current=((u=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:u[0])||s.target)},!0),ac("click",s=>{o.current&&(i(s,()=>o.current),o.current=null)},!0),ac("blur",s=>i(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}let kp=Symbol();function K1(e,t=!0){return Object.assign(e,{[kp]:t})}function fn(...e){let t=H.useRef(e);H.useEffect(()=>{t.current=e},[e]);let n=_t(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[kp]))?void 0:n}function zp(...e){return e.filter(Boolean).join(" ")}var uc=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(uc||{}),G1=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(G1||{});function Gt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:s}){let a=Pp(t,e);if(o)return ms(a,n,r,s);let u=i??0;if(u&2){let{static:c=!1,...l}=a;if(c)return ms(l,n,r,s)}if(u&1){let{unmount:c=!0,...l}=a;return bn(c?0:1,{[0](){return null},[1](){return ms({...l,hidden:!0,style:{display:"none"}},n,r,s)}})}return ms(a,n,r,s)}function ms(e,t={},n,r){let{as:i=n,children:o,refName:s="ref",...a}=cc(e,["unmount","static"]),u=e.ref!==void 0?{[s]:e.ref}:{},c=typeof o=="function"?o(t):o;"className"in a&&a.className&&typeof a.className=="function"&&(a.className=a.className(t));let l={};if(t){let f=!1,d=[];for(let[g,h]of Object.entries(t))typeof h=="boolean"&&(f=!0),h===!0&&d.push(g);f&&(l["data-headlessui-state"]=d.join(" "))}if(i===H.Fragment&&Object.keys(Up(a)).length>0){if(!H.isValidElement(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map(h=>` - ${h}`).join(` + `},emptyUsername:{message:ft.EMPTY_USERNAME},invalidUsername:{message:ft.INVALID_USERNAME},emptyPassword:{message:ft.EMPTY_PASSWORD},emptyCode:{message:ft.EMPTY_CODE},signUpError:{message:ft.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:ft.NO_MFA},invalidMFA:{message:ft.INVALID_MFA},emptyChallengeResponse:{message:ft.EMPTY_CHALLENGE},noUserSession:{message:ft.NO_USER_SESSION},deviceConfig:{message:ft.DEVICE_CONFIG},networkError:{message:ft.NETWORK_ERROR},autoSignInError:{message:ft.AUTOSIGNIN_ERROR},default:{message:ft.DEFAULT_MSG}},ue=new Qt("AuthClass"),Wg="aws.cognito.signin.user.admin",nb=10*1e3,rb=typeof Symbol<"u"&&typeof Symbol.for=="function"?Symbol.for("amplify_default"):"@@amplify_default",xe=function(e,t,n){on.dispatch("auth",{event:e,data:t,message:n},"Auth",rb)},ib=60,ob=3*60*1e3,sb=function(){function e(t){var n=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=Sg,this.wrapRefreshSessionCallback=function(r){var i=function(o,s){return s?xe("tokenRefresh",void 0,"New token retrieved"):xe("tokenRefresh_failure",o,"Failed to retrieve new token"),r(o,s)};return i},this.configure(t),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),on.listen("auth",function(r){var i=r.payload,o=i.event;switch(o){case"verify":case"signIn":n._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":n._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":n._storage.setItem("amplify-signin-with-hostedUI","true");break}})}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(t){var n=this;if(!t)return this._config||{};ue.debug("configure Auth");var r=Object.assign({},this._config,Id(t).Auth,t);this._config=r;var i=this._config,o=i.userPoolId,s=i.userPoolWebClientId,a=i.cookieStorage,u=i.oauth,c=i.region,l=i.identityPoolId,f=i.mandatorySignIn,d=i.refreshHandlers,g=i.identityPoolRegion,h=i.clientMetadata,p=i.endpoint,m=i.storage;if(!m)a?this._storage=new BS(a):this._storage=t.ssr?new Dj:new ph().getStorage();else{if(!this._isValidAuthStorage(m))throw ue.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=m}if(this._storageSync=Promise.resolve(),typeof this._storage.sync=="function"&&(this._storageSync=this._storage.sync()),o){var v={UserPoolId:o,ClientId:s,endpoint:p};v.Storage=this._storage,this.userPool=new FS(v,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:f,region:c,userPoolId:o,identityPoolId:l,refreshHandlers:d,storage:this._storage,identityPoolRegion:g});var w=u?$n(this._config.oauth)?u:u.awsCognito:void 0;if(w){var j=Object.assign({cognitoClientId:s,UserPoolId:o,domain:w.domain,scopes:w.scope,redirectSignIn:w.redirectSignIn,redirectSignOut:w.redirectSignOut,responseType:w.responseType,Storage:this._storage,urlOpener:w.urlOpener,clientMetadata:h},w.options);this._oAuthHandler=new JS({scopes:j.scopes,config:j,cognitoClientId:j.cognitoClientId});var I={};ZS(function(B){var z=B.url;I[z]||(I[z]=!0,n._handleAuthResponse(z))})}if(xe("configured",null,"The Auth category has been configured successfully"),!this.autoSignInInitiated&&typeof this._storage.getItem=="function"){var T=this.isTrueStorageValue("amplify-polling-started");T&&(xe("autoSignIn_failure",null,ze.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started")}return this._config},e.prototype.signUp=function(t){for(var n=this,r=[],i=1;iob?(clearInterval(i),xe("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),n._storage.removeItem("amplify-auto-sign-in")):n.signInAfterUserConfirmed(t,null,i)},5e3)},e.prototype.signInAfterUserConfirmed=function(t,n,r){return ce.__awaiter(this,void 0,void 0,function(){var i,o,s=this;return ce.__generator(this,function(a){switch(a.label){case 0:i=this.createCognitoUser(t.getUsername()),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,i.authenticateUser(t,this.authCallbacks(i,function(u){xe("autoSignIn",u,t.getUsername()+" has signed in successfully"),n&&on.remove("auth",n),r&&(clearInterval(r),s._storage.removeItem("amplify-polling-started")),s._storage.removeItem("amplify-auto-sign-in")},function(u){ue.error(u),s._storage.removeItem("amplify-auto-sign-in")}))];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),ue.error(o),[3,4];case 4:return[2]}})})},e.prototype.confirmSignUp=function(t,n,r){var i=this;if(!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(ze.EmptyUsername);if(!n)return this.rejectAuthError(ze.EmptyCode);var o=this.createCognitoUser(t),s=r&&typeof r.forceAliasCreation=="boolean"?r.forceAliasCreation:!0,a;return r&&r.clientMetadata?a=r.clientMetadata:this._config.clientMetadata&&(a=this._config.clientMetadata),new Promise(function(u,c){o.confirmRegistration(n,s,function(l,f){if(l)c(l);else{xe("confirmSignUp",f,t+" has been confirmed successfully");var d=i.isTrueStorageValue("amplify-auto-sign-in");d&&!i.autoSignInInitiated&&(xe("autoSignIn_failure",null,ze.AutoSignInError),i._storage.removeItem("amplify-auto-sign-in")),u(f)}},a)})},e.prototype.isTrueStorageValue=function(t){var n=this._storage.getItem(t);return n?n==="true":!1},e.prototype.resendSignUp=function(t,n){if(n===void 0&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(ze.EmptyUsername);var r=this.createCognitoUser(t);return new Promise(function(i,o){r.resendConfirmationCode(function(s,a){s?o(s):i(a)},n)})},e.prototype.signIn=function(t,n,r){if(r===void 0&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var i=null,o=null,s={};if(typeof t=="string")i=t,o=n;else if(FA(t))typeof n<"u"&&ue.warn("The password should be defined under the first parameter object!"),i=t.username,o=t.password,s=t.validationData;else return this.rejectAuthError(ze.InvalidUsername);if(!i)return this.rejectAuthError(ze.EmptyUsername);var a=new Lg({Username:i,Password:o,ValidationData:s,ClientMetadata:r});return o?this.signInWithPassword(a):this.signInWithoutPassword(a)},e.prototype.authCallbacks=function(t,n,r){var i=this,o=this;return{onSuccess:function(s){return ce.__awaiter(i,void 0,void 0,function(){var a,u,c,l;return ce.__generator(this,function(f){switch(f.label){case 0:ue.debug(s),delete t.challengeName,delete t.challengeParam,f.label=1;case 1:return f.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return f.sent(),[4,this.Credentials.set(s,"session")];case 3:return a=f.sent(),ue.debug("succeed to get cognito credentials",a),[3,9];case 4:return u=f.sent(),ue.debug("cannot get cognito credentials",u),[3,9];case 5:return f.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return c=f.sent(),o.user=c,xe("signIn",c,"A user "+t.getUsername()+" has been signed in"),n(c),[3,8];case 7:return l=f.sent(),ue.error("Failed to get the signed in user",l),r(l),[3,8];case 8:return[7];case 9:return[2]}})})},onFailure:function(s){ue.debug("signIn failure",s),xe("signIn_failure",s,t.getUsername()+" failed to signin"),r(s)},customChallenge:function(s){ue.debug("signIn custom challenge answer required"),t.challengeName="CUSTOM_CHALLENGE",t.challengeParam=s,n(t)},mfaRequired:function(s,a){ue.debug("signIn MFA required"),t.challengeName=s,t.challengeParam=a,n(t)},mfaSetup:function(s,a){ue.debug("signIn mfa setup",s),t.challengeName=s,t.challengeParam=a,n(t)},newPasswordRequired:function(s,a){ue.debug("signIn new password"),t.challengeName="NEW_PASSWORD_REQUIRED",t.challengeParam={userAttributes:s,requiredAttributes:a},n(t)},totpRequired:function(s,a){ue.debug("signIn totpRequired"),t.challengeName=s,t.challengeParam=a,n(t)},selectMFAType:function(s,a){ue.debug("signIn selectMFAType",s),t.challengeName=s,t.challengeParam=a,n(t)}}},e.prototype.signInWithPassword=function(t){var n=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var r=this.createCognitoUser(t.getUsername());return this.pendingSignIn=new Promise(function(i,o){r.authenticateUser(t,n.authCallbacks(r,function(s){n.pendingSignIn=null,i(s)},function(s){n.pendingSignIn=null,o(s)}))}),this.pendingSignIn},e.prototype.signInWithoutPassword=function(t){var n=this,r=this.createCognitoUser(t.getUsername());return r.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(i,o){r.initiateAuth(t,n.authCallbacks(r,i,o))})},e.prototype.getMFAOptions=function(t){return new Promise(function(n,r){t.getMFAOptions(function(i,o){if(i){ue.debug("get MFA Options failed",i),r(i);return}ue.debug("get MFA options success",o),n(o)})})},e.prototype.getPreferredMFA=function(t,n){var r=this,i=this;return new Promise(function(o,s){var a=r._config.clientMetadata,u=n?n.bypassCache:!1;t.getUserData(function(c,l){return ce.__awaiter(r,void 0,void 0,function(){var f,d;return ce.__generator(this,function(g){switch(g.label){case 0:if(!c)return[3,5];if(ue.debug("getting preferred mfa failed",c),!this.isSessionInvalid(c))return[3,4];g.label=1;case 1:return g.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return g.sent(),[3,4];case 3:return f=g.sent(),s(new Error("Session is invalid due to: "+c.message+" and failed to clean up invalid session: "+f.message)),[2];case 4:return s(c),[2];case 5:return d=i._getMfaTypeFromUserData(l),d?(o(d),[2]):(s("invalid MFA Type"),[2])}})})},{bypassCache:u,clientMetadata:a})})},e.prototype._getMfaTypeFromUserData=function(t){var n=null,r=t.PreferredMfaSetting;if(r)n=r;else{var i=t.UserMFASettingList;if(i)i.length===0?n="NOMFA":ue.debug("invalid case for getPreferredMFA",t);else{var o=t.MFAOptions;o?n="SMS_MFA":n="NOMFA"}}return n},e.prototype._getUserData=function(t,n){var r=this;return new Promise(function(i,o){t.getUserData(function(s,a){return ce.__awaiter(r,void 0,void 0,function(){var u;return ce.__generator(this,function(c){switch(c.label){case 0:if(!s)return[3,5];if(ue.debug("getting user data failed",s),!this.isSessionInvalid(s))return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return c.sent(),[3,4];case 3:return u=c.sent(),o(new Error("Session is invalid due to: "+s.message+" and failed to clean up invalid session: "+u.message)),[2];case 4:return o(s),[2];case 5:i(a),c.label=6;case 6:return[2]}})})},n)})},e.prototype.setPreferredMFA=function(t,n){return ce.__awaiter(this,void 0,void 0,function(){var r,i,o,s,a,u,c,l=this;return ce.__generator(this,function(f){switch(f.label){case 0:return r=this._config.clientMetadata,[4,this._getUserData(t,{bypassCache:!0,clientMetadata:r})];case 1:switch(i=f.sent(),o=null,s=null,a=n,a){case"TOTP":return[3,2];case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":return[3,3];case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return s={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return o={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return u=i.UserMFASettingList,[4,this._getMfaTypeFromUserData(i)];case 5:if(c=f.sent(),c==="NOMFA")return[2,Promise.resolve("No change for mfa type")];if(c==="SMS_MFA")o={PreferredMfa:!1,Enabled:!1};else if(c==="SOFTWARE_TOKEN_MFA")s={PreferredMfa:!1,Enabled:!1};else return[2,this.rejectAuthError(ze.InvalidMFA)];return u&&u.length!==0&&u.forEach(function(d){d==="SMS_MFA"?o={PreferredMfa:!1,Enabled:!1}:d==="SOFTWARE_TOKEN_MFA"&&(s={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return ue.debug("no validmfa method provided"),[2,this.rejectAuthError(ze.NoMFA)];case 7:return[2,new Promise(function(d,g){t.setUserMfaPreference(o,s,function(h,p){if(h)return ue.debug("Set user mfa preference error",h),g(h);ue.debug("Set user mfa success",p),ue.debug("Caching the latest user data into local"),t.getUserData(function(m,v){return ce.__awaiter(l,void 0,void 0,function(){var w;return ce.__generator(this,function(j){switch(j.label){case 0:if(!m)return[3,5];if(ue.debug("getting user data failed",m),!this.isSessionInvalid(m))return[3,4];j.label=1;case 1:return j.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return j.sent(),[3,4];case 3:return w=j.sent(),g(new Error("Session is invalid due to: "+m.message+" and failed to clean up invalid session: "+w.message)),[2];case 4:return[2,g(m)];case 5:return[2,d(p)]}})})},{bypassCache:!0,clientMetadata:r})})})]}})})},e.prototype.disableSMS=function(t){return new Promise(function(n,r){t.disableMFA(function(i,o){if(i){ue.debug("disable mfa failed",i),r(i);return}ue.debug("disable mfa succeed",o),n(o)})})},e.prototype.enableSMS=function(t){return new Promise(function(n,r){t.enableMFA(function(i,o){if(i){ue.debug("enable mfa failed",i),r(i);return}ue.debug("enable mfa succeed",o),n(o)})})},e.prototype.setupTOTP=function(t){return new Promise(function(n,r){t.associateSoftwareToken({onFailure:function(i){ue.debug("associateSoftwareToken failed",i),r(i)},associateSecretCode:function(i){ue.debug("associateSoftwareToken success",i),n(i)}})})},e.prototype.verifyTotpToken=function(t,n){ue.debug("verification totp token",t,n);var r;t&&typeof t.getSignInUserSession=="function"&&(r=t.getSignInUserSession());var i=r==null?void 0:r.isValid();return new Promise(function(o,s){t.verifySoftwareToken(n,"My TOTP device",{onFailure:function(a){ue.debug("verifyTotpToken failed",a),s(a)},onSuccess:function(a){i||xe("signIn",t,"A user "+t.getUsername()+" has been signed in"),xe("verify",t,"A user "+t.getUsername()+" has been verified"),ue.debug("verifyTotpToken success",a),o(a)}})})},e.prototype.confirmSignIn=function(t,n,r,i){var o=this;if(i===void 0&&(i=this._config.clientMetadata),!n)return this.rejectAuthError(ze.EmptyCode);var s=this;return new Promise(function(a,u){t.sendMFACode(n,{onSuccess:function(c){return ce.__awaiter(o,void 0,void 0,function(){var l,f,d,g;return ce.__generator(this,function(h){switch(h.label){case 0:ue.debug(c),h.label=1;case 1:return h.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return h.sent(),[4,this.Credentials.set(c,"session")];case 3:return l=h.sent(),ue.debug("succeed to get cognito credentials",l),[3,10];case 4:return f=h.sent(),ue.debug("cannot get cognito credentials",f),[3,10];case 5:s.user=t,h.label=6;case 6:return h.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return d=h.sent(),t.attributes=d.attributes,[3,9];case 8:return g=h.sent(),ue.debug("cannot get updated Cognito User",g),[3,9];case 9:return xe("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 10:return[2]}})})},onFailure:function(c){ue.debug("confirm signIn failure",c),u(c)}},r,i)})},e.prototype.completeNewPassword=function(t,n,r,i){var o=this;if(r===void 0&&(r={}),i===void 0&&(i=this._config.clientMetadata),!n)return this.rejectAuthError(ze.EmptyPassword);var s=this;return new Promise(function(a,u){t.completeNewPasswordChallenge(n,r,{onSuccess:function(c){return ce.__awaiter(o,void 0,void 0,function(){var l,f;return ce.__generator(this,function(d){switch(d.label){case 0:ue.debug(c),d.label=1;case 1:return d.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return d.sent(),[4,this.Credentials.set(c,"session")];case 3:return l=d.sent(),ue.debug("succeed to get cognito credentials",l),[3,6];case 4:return f=d.sent(),ue.debug("cannot get cognito credentials",f),[3,6];case 5:return s.user=t,xe("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 6:return[2]}})})},onFailure:function(c){ue.debug("completeNewPassword failure",c),xe("completeNewPassword_failure",c,o.user+" failed to complete the new password flow"),u(c)},mfaRequired:function(c,l){ue.debug("signIn MFA required"),t.challengeName=c,t.challengeParam=l,a(t)},mfaSetup:function(c,l){ue.debug("signIn mfa setup",c),t.challengeName=c,t.challengeParam=l,a(t)},totpRequired:function(c,l){ue.debug("signIn mfa setup",c),t.challengeName=c,t.challengeParam=l,a(t)}},i)})},e.prototype.sendCustomChallengeAnswer=function(t,n,r){var i=this;return r===void 0&&(r=this._config.clientMetadata),this.userPool?n?new Promise(function(o,s){t.sendCustomChallengeAnswer(n,i.authCallbacks(t,o,s),r)}):this.rejectAuthError(ze.EmptyChallengeResponse):this.rejectNoUserPool()},e.prototype.deleteUserAttributes=function(t,n){var r=this;return new Promise(function(i,o){r.userSession(t).then(function(s){t.deleteAttributes(n,function(a,u){return a?o(a):i(u)})})})},e.prototype.deleteUser=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n,r=this;return ce.__generator(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._storageSync];case 1:return i.sent(),[3,3];case 2:throw t=i.sent(),ue.debug("Failed to sync cache info into memory",t),new Error(t);case 3:return n=this._oAuthHandler&&this._storage.getItem("amplify-signin-with-hostedUI")==="true",[2,new Promise(function(o,s){return ce.__awaiter(r,void 0,void 0,function(){var a,u=this;return ce.__generator(this,function(c){if(this.userPool)if(a=this.userPool.getCurrentUser(),a)a.getSession(function(l,f){return ce.__awaiter(u,void 0,void 0,function(){var d,g=this;return ce.__generator(this,function(h){switch(h.label){case 0:if(!l)return[3,5];if(ue.debug("Failed to get the user session",l),!this.isSessionInvalid(l))return[3,4];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(a)];case 2:return h.sent(),[3,4];case 3:return d=h.sent(),s(new Error("Session is invalid due to: "+l.message+" and failed to clean up invalid session: "+d.message)),[2];case 4:return[2,s(l)];case 5:a.deleteUser(function(p,m){if(p)s(p);else{xe("userDeleted",m,"The authenticated user has been deleted."),a.signOut(),g.user=null;try{g.cleanCachedItems()}catch{ue.debug("failed to clear cached items")}n?g.oAuthSignOutRedirect(o,s):(xe("signOut",g.user,"A user has been signed out"),o(m))}}),h.label=6;case 6:return[2]}})})});else return ue.debug("Failed to get user from user pool"),[2,s(new Error("No current user."))];else ue.debug("no Congito User pool"),s(new Error("Cognito User pool does not exist"));return[2]})})})]}})})},e.prototype.updateUserAttributes=function(t,n,r){var i=this;r===void 0&&(r=this._config.clientMetadata);var o=[],s=this;return new Promise(function(a,u){s.userSession(t).then(function(c){for(var l in n)if(l!=="sub"&&l.indexOf("_verified")<0){var f={Name:l,Value:n[l]};o.push(f)}t.updateAttributes(o,function(d,g,h){if(d)return xe("updateUserAttributes_failure",d,"Failed to update attributes"),u(d);var p=i.createUpdateAttributesResultList(n,h==null?void 0:h.CodeDeliveryDetailsList);return xe("updateUserAttributes",p,"Attributes successfully updated"),a(g)},r)})})},e.prototype.createUpdateAttributesResultList=function(t,n){var r={};return Object.keys(t).forEach(function(i){r[i]={isUpdated:!0};var o=n==null?void 0:n.find(function(s){return s.AttributeName===i});o&&(r[i].isUpdated=!1,r[i].codeDeliveryDetails=o)}),r},e.prototype.userAttributes=function(t){var n=this;return new Promise(function(r,i){n.userSession(t).then(function(o){t.getUserAttributes(function(s,a){s?i(s):r(a)})})})},e.prototype.verifiedContact=function(t){var n=this;return this.userAttributes(t).then(function(r){var i=n.attributesToObject(r),o={},s={};return i.email&&(i.email_verified?s.email=i.email:o.email=i.email),i.phone_number&&(i.phone_number_verified?s.phone_number=i.phone_number:o.phone_number=i.phone_number),{verified:s,unverified:o}})},e.prototype.isErrorWithMessage=function(t){return typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"message")},e.prototype.isTokenRevokedError=function(t){return this.isErrorWithMessage(t)&&t.message==="Access Token has been revoked"},e.prototype.isRefreshTokenRevokedError=function(t){return this.isErrorWithMessage(t)&&t.message==="Refresh Token has been revoked"},e.prototype.isUserDisabledError=function(t){return this.isErrorWithMessage(t)&&t.message==="User is disabled."},e.prototype.isUserDoesNotExistError=function(t){return this.isErrorWithMessage(t)&&t.message==="User does not exist."},e.prototype.isRefreshTokenExpiredError=function(t){return this.isErrorWithMessage(t)&&t.message==="Refresh Token has expired"},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&this._storage.getItem("amplify-signin-with-hostedUI")==="true"},e.prototype.isSessionInvalid=function(t){return this.isUserDisabledError(t)||this.isUserDoesNotExistError(t)||this.isTokenRevokedError(t)||this.isRefreshTokenRevokedError(t)||this.isRefreshTokenExpiredError(t)},e.prototype.cleanUpInvalidSession=function(t){return ce.__awaiter(this,void 0,void 0,function(){var n=this;return ce.__generator(this,function(r){switch(r.label){case 0:t.signOut(),this.user=null,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return r.sent(),[3,4];case 3:return r.sent(),ue.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise(function(i,o){n.oAuthSignOutRedirect(i,o)})]:(xe("signOut",this.user,"A user has been signed out"),[2])}})})},e.prototype.currentUserPoolUser=function(t){var n=this;return this.userPool?new Promise(function(r,i){n._storageSync.then(function(){return ce.__awaiter(n,void 0,void 0,function(){var o,s,a,u,c,l,f,d=this;return ce.__generator(this,function(g){switch(g.label){case 0:return this.isOAuthInProgress()?(ue.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(h){var p=setTimeout(function(){ue.debug("OAuth signIn in progress timeout"),on.remove("auth",m),h()},nb);on.listen("auth",m);function m(v){var w=v.payload,j=w.event;(j==="cognitoHostedUI"||j==="cognitoHostedUI_failure")&&(ue.debug("OAuth signIn resolved: "+j),clearTimeout(p),on.remove("auth",m),h())}})]):[3,2];case 1:g.sent(),g.label=2;case 2:if(o=this.userPool.getCurrentUser(),!o)return ue.debug("Failed to get user from user pool"),i("No current user"),[2];g.label=3;case 3:return g.trys.push([3,7,,8]),[4,this._userSession(o)];case 4:return s=g.sent(),a=t?t.bypassCache:!1,a?[4,this.Credentials.clear()]:[3,6];case 5:g.sent(),g.label=6;case 6:if(u=this._config.clientMetadata,c=s.getAccessToken().decodePayload().scope,l=c===void 0?"":c,l.split(" ").includes(Wg))o.getUserData(function(h,p){return ce.__awaiter(d,void 0,void 0,function(){var m,v,w,j,I,T,B;return ce.__generator(this,function(z){switch(z.label){case 0:if(!h)return[3,7];if(ue.debug("getting user data failed",h),!this.isSessionInvalid(h))return[3,5];z.label=1;case 1:return z.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(o)];case 2:return z.sent(),[3,4];case 3:return m=z.sent(),i(new Error("Session is invalid due to: "+h.message+" and failed to clean up invalid session: "+m.message)),[2];case 4:return i(h),[3,6];case 5:r(o),z.label=6;case 6:return[2];case 7:for(v=p.PreferredMfaSetting||"NOMFA",w=[],j=0;j"u"&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return _a(t)||UA(t)||RA(t)||typeof t>"u"?(i=t||{provider:Ro.Cognito},u=_a(i)?i.provider:i.customProvider,o=(_a(i),i.customState),this._config.userPoolId&&(s=$n(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,a=$n(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,a,s,u,o)),[3,4]):[3,1];case 1:u=t;try{c=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user),c&&ue.warn("There is already a signed in user: "+c+` in your app. + You should not call Auth.federatedSignIn method again as it may cause unexpected behavior.`)}catch{}return l=n.token,f=n.identity_id,d=n.expires_at,[4,this.Credentials.set({provider:u,token:l,identity_id:f,user:r,expires_at:d},"federation")];case 2:return g=p.sent(),[4,this.currentAuthenticatedUser()];case 3:return h=p.sent(),xe("signIn",h,"A user "+h.username+" has been signed in"),ue.debug("federated sign in credentials",g),[2,g];case 4:return[2]}})})},e.prototype._handleAuthResponse=function(t){return ce.__awaiter(this,void 0,void 0,function(){var n,r,i,o,s,a,u,c,l,f,d,g,h,p;return ce.__generator(this,function(m){switch(m.label){case 0:if(this.oAuthFlowInProgress)return ue.debug("Skipping URL "+t+" current flow in progress"),[2];m.label=1;case 1:if(m.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw new Error("OAuth responses require a User Pool defined in config");if(xe("parsingCallbackUrl",{url:t},"The callback url is being parsed"),n=t||(sn().isBrowser?window.location.href:""),r=!!(vn(n).query||"").split("&").map(function(v){return v.split("=")}).find(function(v){var w=ce.__read(v,1),j=w[0];return j==="code"||j==="error"}),i=!!(vn(n).hash||"#").substr(1).split("&").map(function(v){return v.split("=")}).find(function(v){var w=ce.__read(v,1),j=w[0];return j==="access_token"||j==="error"}),!(r||i))return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),m.label=2;case 2:return m.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(n)];case 3:return o=m.sent(),s=o.accessToken,a=o.idToken,u=o.refreshToken,c=o.state,l=new zu({IdToken:new Lu({IdToken:a}),RefreshToken:new _u({RefreshToken:u}),AccessToken:new xu({AccessToken:s})}),f=void 0,this._config.identityPoolId?[4,this.Credentials.set(l,"session")]:[3,5];case 4:f=m.sent(),ue.debug("AWS credentials",f),m.label=5;case 5:return d=/-/.test(c),g=this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"]),g.setSignInUserSession(l),window&&typeof window.history<"u"&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),xe("signIn",g,"A user "+g.getUsername()+" has been signed in"),xe("cognitoHostedUI",g,"A user "+g.getUsername()+" has been signed in via Cognito Hosted UI"),d&&(h=c.split("-").splice(1).join("-"),xe("customOAuthState",SE(h),"State for user "+g.getUsername())),[2,f];case 6:return p=m.sent(),ue.debug("Error in cognito hosted auth response",p),window&&typeof window.history<"u"&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),xe("signIn_failure",p,"The OAuth response flow failed"),xe("cognitoHostedUI_failure",p,"A failure occurred when returning to the Cognito Hosted UI"),xe("customState_failure",p,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}})})},e.prototype.essentialCredentials=function(t){return{accessKeyId:t.accessKeyId,sessionToken:t.sessionToken,secretAccessKey:t.secretAccessKey,identityId:t.identityId,authenticated:t.authenticated}},e.prototype.attributesToObject=function(t){var n=this,r={};return t&&t.map(function(i){i.Name==="email_verified"||i.Name==="phone_number_verified"?r[i.Name]=n.isTruthyString(i.Value)||i.Value===!0:r[i.Name]=i.Value}),r},e.prototype.isTruthyString=function(t){return typeof t.toLowerCase=="function"&&t.toLowerCase()==="true"},e.prototype.createCognitoUser=function(t){var n={Username:t,Pool:this.userPool};n.Storage=this._storage;var r=this._config.authenticationFlowType,i=new Pu(n);return r&&i.setAuthenticationFlowType(r),i},e.prototype._isValidAuthStorage=function(t){return!!t&&typeof t.getItem=="function"&&typeof t.setItem=="function"&&typeof t.removeItem=="function"&&typeof t.clear=="function"},e.prototype.noUserPoolErrorHandler=function(t){return t&&(!t.userPoolId||!t.identityPoolId)?ze.MissingAuthConfig:ze.NoConfig},e.prototype.rejectAuthError=function(t){return Promise.reject(new Tn(t))},e.prototype.rejectNoUserPool=function(){var t=this.noUserPoolErrorHandler(this._config);return Promise.reject(new eb(t))},e.prototype.rememberDevice=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n;return ce.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=r.sent(),[3,3];case 2:return n=r.sent(),ue.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(i,o){t.setDeviceStatusRemembered({onSuccess:function(s){i(s)},onFailure:function(s){s.code==="InvalidParameterException"?o(new Tn(ze.DeviceConfig)):s.code==="NetworkError"?o(new Tn(ze.NetworkError)):o(s)}})})]}})})},e.prototype.forgetDevice=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n;return ce.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=r.sent(),[3,3];case 2:return n=r.sent(),ue.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(i,o){t.forgetDevice({onSuccess:function(s){i(s)},onFailure:function(s){s.code==="InvalidParameterException"?o(new Tn(ze.DeviceConfig)):s.code==="NetworkError"?o(new Tn(ze.NetworkError)):o(s)}})})]}})})},e.prototype.fetchDevices=function(){return ce.__awaiter(this,void 0,void 0,function(){var t,n;return ce.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=r.sent(),[3,3];case 2:throw n=r.sent(),ue.debug("The user is not authenticated by the error",n),new Error("The user is not authenticated");case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(i,o){var s={onSuccess:function(a){var u=a.Devices.map(function(c){var l=c.DeviceAttributes.find(function(d){var g=d.Name;return g==="device_name"})||{},f={id:c.DeviceKey,name:l.Value};return f});i(u)},onFailure:function(a){a.code==="InvalidParameterException"?o(new Tn(ze.DeviceConfig)):a.code==="NetworkError"?o(new Tn(ze.NetworkError)):o(a)}};t.listDevices(ib,null,s)})]}})})},e}(),Nn=new sb(null);Ua.register(Nn);var Vg={},Yu={},Hg;function ab(){return Hg||(Hg=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(s){s.Cognito="COGNITO",s.Google="Google",s.Facebook="Facebook",s.Amazon="LoginWithAmazon",s.Apple="SignInWithApple"}(e.CognitoHostedUIIdentityProvider||(e.CognitoHostedUIIdentityProvider={}));function t(s){var a=["provider"];return s&&!!a.find(function(u){return s.hasOwnProperty(u)})}e.isFederatedSignInOptions=t;function n(s){var a=["customProvider"];return s&&!!a.find(function(u){return s.hasOwnProperty(u)})}e.isFederatedSignInOptionsCustom=n;function r(s){var a=["customState"];return s&&!!a.find(function(u){return s.hasOwnProperty(u)})}e.hasCustomState=r;function i(s){return s.redirectSignIn!==void 0}e.isCognitoHostedOpts=i,function(s){s.NoConfig="noConfig",s.MissingAuthConfig="missingAuthConfig",s.EmptyUsername="emptyUsername",s.InvalidUsername="invalidUsername",s.EmptyPassword="emptyPassword",s.EmptyCode="emptyCode",s.SignUpError="signUpError",s.NoMFA="noMFA",s.InvalidMFA="invalidMFA",s.EmptyChallengeResponse="emptyChallengeResponse",s.NoUserSession="noUserSession",s.Default="default",s.DeviceConfig="deviceConfig",s.NetworkError="networkError",s.AutoSignInError="autoSignInError"}(e.AuthErrorTypes||(e.AuthErrorTypes={}));function o(s){return!!s.username}e.isUsernamePasswordOpts=o,function(s){s.API_KEY="API_KEY",s.AWS_IAM="AWS_IAM",s.OPENID_CONNECT="OPENID_CONNECT",s.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",s.AWS_LAMBDA="AWS_LAMBDA"}(e.GRAPHQL_AUTH_MODE||(e.GRAPHQL_AUTH_MODE={}))}(Yu)),Yu}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ce;t.__exportStar(ab(),e)})(Vg);const ub=()=>{const e=window.location.protocol+"//"+window.location.host+"/verify",t=window.location.protocol+"//"+window.location.host+"/",n={Auth:{region:"ap-northeast-1",userPoolId:"ap-northeast-1_dKhj1aZQy",userPoolWebClientId:"4i0q5hl5u27mili6fnpvjap8fc",mandatorySignIn:!0,oauth:{domain:"auth.wasedatime.com",scope:["email","profile","openid","aws.cognito.signin.user.admin"],redirectSignIn:e,redirectSignOut:t,responseType:"code"}}};Nn.configure(n)},cb=async()=>{try{const e=await Nn.currentSession();if(e)return e.getIdToken().getJwtToken()}catch{return""}},lb=async()=>{try{const e=await Nn.currentSession();if(e)return e.getAccessToken().getJwtToken()}catch{return""}},fb=async()=>{try{const e=await Nn.currentSession();if(e)return e.getRefreshToken().getToken()}catch{return""}},db=async()=>{try{const e=await Nn.currentUserInfo();if(e&&e.attributes)return{id:e.attributes.sub,name:e.attributes.preferred_username,picture:e.attributes.picture}}catch{return null}},qg=()=>{try{Nn.federatedSignIn({provider:Vg.CognitoHostedUIIdentityProvider.Google,customState:window.location.pathname+window.location.search})}catch(e){console.log(e)}},hb=()=>{Nn.signOut()};var gb=Object.defineProperty,pb=(e,t,n)=>t in e?gb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bu=(e,t,n)=>(pb(e,typeof t!="symbol"?t+"":t,n),n);let Mb=class{constructor(){Bu(this,"current",this.detect()),Bu(this,"handoffState","pending"),Bu(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},cn=new Mb,jn=(e,t)=>{cn.isServer?G.useEffect(e,t):G.useLayoutEffect(e,t)};function gs(e){let t=G.useRef(e);return jn(()=>{t.current=e},[e]),t}function xi(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Qu(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return xi(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=Qu();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function yb(){let[e]=G.useState(Qu);return G.useEffect(()=>()=>e.dispose(),[e]),e}let _t=function(e){let t=gs(e);return G.useCallback((...n)=>t.current(...n),[t])};function ps(){let[e,t]=G.useState(cn.isHandoffComplete);return e&&cn.isHandoffComplete===!1&&t(!1),G.useEffect(()=>{e!==!0&&t(!0)},[e]),G.useEffect(()=>cn.handoff(),[]),e}var Kg;let Rr=(Kg=G.useId)!=null?Kg:function(){let e=ps(),[t,n]=G.useState(e?()=>cn.nextId():null);return jn(()=>{t===null&&n(cn.nextId())},[t]),t!=null?""+t:void 0};function Sn(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Sn),r}function Gg(e){return cn.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let $u=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var tr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(tr||{}),Jg=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Jg||{}),mb=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(mb||{});function vb(e=document.body){return e==null?[]:Array.from(e.querySelectorAll($u)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Zg=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Zg||{});function wb(e,t=0){var n;return e===((n=Gg(e))==null?void 0:n.body)?!1:Sn(t,{[0](){return e.matches($u)},[1](){let r=e;for(;r!==null;){if(r.matches($u))return!0;r=r.parentElement}return!1}})}var Db=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Db||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function nr(e){e==null||e.focus({preventScroll:!0})}let Ab=["textarea","input"].join(",");function Eb(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Ab))!=null?n:!1}function Ib(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ms(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?n?Ib(e):e:vb(e);i.length>0&&s.length>1&&(s=s.filter(g=>!i.includes(g))),r=r??o.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},l=0,f=s.length,d;do{if(l>=f||l+f<=0)return 0;let g=u+l;if(t&16)g=(g+f)%f;else{if(g<0)return 3;if(g>=f)return 1}d=s[g],d==null||d.focus(c),l+=a}while(d!==o.activeElement);return t&6&&Eb(d)&&d.select(),2}function Wu(e,t,n){let r=gs(t);G.useEffect(()=>{function i(o){r.current(o)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function Tb(e,t,n=!0){let r=G.useRef(!1);G.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(s,a){if(!r.current||s.defaultPrevented)return;let u=function l(f){return typeof f=="function"?l(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e),c=a(s);if(c!==null&&c.getRootNode().contains(c)){for(let l of u){if(l===null)continue;let f=l instanceof HTMLElement?l:l.current;if(f!=null&&f.contains(c)||s.composed&&s.composedPath().includes(f))return}return!wb(c,Zg.Loose)&&c.tabIndex!==-1&&s.preventDefault(),t(s,c)}}let o=G.useRef(null);Wu("mousedown",s=>{var a,u;r.current&&(o.current=((u=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:u[0])||s.target)},!0),Wu("click",s=>{o.current&&(i(s,()=>o.current),o.current=null)},!0),Wu("blur",s=>i(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}let Xg=Symbol();function Nb(e,t=!0){return Object.assign(e,{[Xg]:t})}function ln(...e){let t=G.useRef(e);G.useEffect(()=>{t.current=e},[e]);let n=_t(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Xg]))?void 0:n}function ep(...e){return e.filter(Boolean).join(" ")}var Vu=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Vu||{}),jb=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(jb||{});function Gt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:s}){let a=tp(t,e);if(o)return ys(a,n,r,s);let u=i??0;if(u&2){let{static:c=!1,...l}=a;if(c)return ys(l,n,r,s)}if(u&1){let{unmount:c=!0,...l}=a;return Sn(c?0:1,{[0](){return null},[1](){return ys({...l,hidden:!0,style:{display:"none"}},n,r,s)}})}return ys(a,n,r,s)}function ys(e,t={},n,r){let{as:i=n,children:o,refName:s="ref",...a}=Hu(e,["unmount","static"]),u=e.ref!==void 0?{[s]:e.ref}:{},c=typeof o=="function"?o(t):o;"className"in a&&a.className&&typeof a.className=="function"&&(a.className=a.className(t));let l={};if(t){let f=!1,d=[];for(let[g,h]of Object.entries(t))typeof h=="boolean"&&(f=!0),h===!0&&d.push(g);f&&(l["data-headlessui-state"]=d.join(" "))}if(i===G.Fragment&&Object.keys(np(a)).length>0){if(!G.isValidElement(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map(h=>` - ${h}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(` `)].join(` -`));let f=c.props,d=typeof(f==null?void 0:f.className)=="function"?(...h)=>zp(f==null?void 0:f.className(...h),a.className):zp(f==null?void 0:f.className,a.className),g=d?{className:d}:{};return H.cloneElement(c,Object.assign({},Pp(c.props,Up(cc(a,["ref"]))),l,u,J1(c.ref,u.ref),g))}return H.createElement(i,Object.assign({},cc(a,["ref"]),i!==H.Fragment&&u,i!==H.Fragment&&l),c)}function J1(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Pp(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...o){let s=n[r];for(let a of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;a(i,...o)}}});return t}function Jt(e){var t;return Object.assign(H.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Up(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function cc(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Z1(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&X1(n)?!1:r}function X1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let eC="div";var vs=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(vs||{});function tC(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Gt({ourProps:i,theirProps:r,slot:{},defaultTag:eC,name:"Hidden"})}let lc=Jt(tC),Rp=H.createContext(null);Rp.displayName="OpenClosedContext";var _i=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(_i||{});function nC(){return H.useContext(Rp)}var Fp=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Fp||{});function fc(e,t){let n=H.useRef([]),r=_t(e);H.useEffect(()=>{let i=[...n.current];for(let[o,s]of t.entries())if(n.current[o]!==s){let a=r(t,i);return n.current=t,a}},[r,...t])}function rC(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function iC(e,t,n){let r=ps(t);H.useEffect(()=>{function i(o){r.current(o)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}var ki=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(ki||{});function oC(){let e=H.useRef(0);return iC("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Yp(){let e=H.useRef(!1);return Sn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function ws(...e){return H.useMemo(()=>Op(...e),[...e])}function Bp(e,t,n,r){let i=ps(n);H.useEffect(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},[e,t,r])}function sC(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Qp(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let aC="div";var $p=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))($p||{});function uC(e,t){let n=H.useRef(null),r=fn(n,t),{initialFocus:i,containers:o,features:s=30,...a}=e;Ms()||(s=1);let u=ws(n);fC({ownerDocument:u},!!(s&16));let c=dC({ownerDocument:u,container:n,initialFocus:i},!!(s&2));hC({ownerDocument:u,container:n,containers:o,previousActiveElement:c},!!(s&8));let l=oC(),f=_t(p=>{let m=n.current;m&&(v=>v())(()=>{bn(l.current,{[ki.Forwards]:()=>{ys(m,tr.First,{skipElements:[p.relatedTarget]})},[ki.Backwards]:()=>{ys(m,tr.Last,{skipElements:[p.relatedTarget]})}})})}),d=F1(),g=H.useRef(!1),h={ref:r,onKeyDown(p){p.key=="Tab"&&(g.current=!0,d.requestAnimationFrame(()=>{g.current=!1}))},onBlur(p){let m=Qp(o);n.current instanceof HTMLElement&&m.add(n.current);let v=p.relatedTarget;v instanceof HTMLElement&&v.dataset.headlessuiFocusGuard!=="true"&&(Wp(m,v)||(g.current?ys(n.current,bn(l.current,{[ki.Forwards]:()=>tr.Next,[ki.Backwards]:()=>tr.Previous})|tr.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&nr(p.target)))}};return H.createElement(H.Fragment,null,!!(s&4)&&H.createElement(lc,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:vs.Focusable}),Gt({ourProps:h,theirProps:a,defaultTag:aC,name:"FocusTrap"}),!!(s&4)&&H.createElement(lc,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:vs.Focusable}))}let cC=Jt(uC),zi=Object.assign(cC,{features:$p}),Cn=[];sC(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Cn[0]!==t.target&&(Cn.unshift(t.target),Cn=Cn.filter(n=>n!=null&&n.isConnected),Cn.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function lC(e=!0){let t=H.useRef(Cn.slice());return fc(([n],[r])=>{r===!0&&n===!1&&Li(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Cn.slice())},[e,Cn,t]),_t(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function fC({ownerDocument:e},t){let n=lC(t);fc(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&nr(n())},[t]);let r=H.useRef(!1);H.useEffect(()=>(r.current=!1,()=>{r.current=!0,Li(()=>{r.current&&nr(n())})}),[])}function dC({ownerDocument:e,container:t,initialFocus:n},r){let i=H.useRef(null),o=Yp();return fc(()=>{if(!r)return;let s=t.current;s&&Li(()=>{if(!o.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){i.current=a;return}}else if(s.contains(a)){i.current=a;return}n!=null&&n.current?nr(n.current):ys(s,tr.First)===Lp.Error&&console.warn("There are no focusable elements inside the "),i.current=e==null?void 0:e.activeElement})},[r]),i}function hC({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let o=Yp();Bp(e==null?void 0:e.defaultView,"focus",s=>{if(!i||!o.current)return;let a=Qp(n);t.current instanceof HTMLElement&&a.add(t.current);let u=r.current;if(!u)return;let c=s.target;c&&c instanceof HTMLElement?Wp(a,c)?(r.current=c,nr(c)):(s.preventDefault(),s.stopPropagation(),nr(u)):nr(r.current)},!0)}function Wp(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Vp=H.createContext(!1);function gC(){return H.useContext(Vp)}function dc(e){return H.createElement(Vp.Provider,{value:e.force},e.children)}function pC(e){let t=gC(),n=H.useContext(Hp),r=ws(e),[i,o]=H.useState(()=>{if(!t&&n!==null||ln.isServer)return null;let s=r==null?void 0:r.getElementById("headlessui-portal-root");if(s)return s;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return H.useEffect(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),H.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),i}let MC=H.Fragment;function yC(e,t){let n=e,r=H.useRef(null),i=fn(K1(l=>{r.current=l}),t),o=ws(r),s=pC(r),[a]=H.useState(()=>{var l;return ln.isServer?null:(l=o==null?void 0:o.createElement("div"))!=null?l:null}),u=Ms(),c=H.useRef(!1);return Sn(()=>{if(c.current=!1,!(!s||!a))return s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a)),()=>{c.current=!0,Li(()=>{var l;c.current&&(!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((l=s.parentElement)==null||l.removeChild(s))))})}},[s,a]),u?!s||!a?null:xn.createPortal(Gt({ourProps:{ref:i},theirProps:n,defaultTag:MC,name:"Portal"}),a):null}let mC=H.Fragment,Hp=H.createContext(null);function vC(e,t){let{target:n,...r}=e,i={ref:fn(t)};return H.createElement(Hp.Provider,{value:n},Gt({ourProps:i,theirProps:r,defaultTag:mC,name:"Popover.Group"}))}let wC=Jt(yC),DC=Jt(vC),hc=Object.assign(wC,{Group:DC}),qp=H.createContext(null);function Kp(){let e=H.useContext(qp);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Kp),t}return e}function EC(){let[e,t]=H.useState([]);return[e.length>0?e.join(" "):void 0,H.useMemo(()=>function(n){let r=_t(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),u=a.indexOf(o);return u!==-1&&a.splice(u,1),a}))),i=H.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return H.createElement(qp.Provider,{value:i},n.children)},[t])]}let AC="p";function IC(e,t){let n=Fr(),{id:r=`headlessui-description-${n}`,...i}=e,o=Kp(),s=fn(t);Sn(()=>o.register(r),[r,o.register]);let a={ref:s,...o.props,id:r};return Gt({ourProps:a,theirProps:i,slot:o.slot||{},defaultTag:AC,name:o.name||"Description"})}let NC=Jt(IC),TC=Object.assign(NC,{}),gc=H.createContext(()=>{});gc.displayName="StackContext";var pc=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(pc||{});function jC(){return H.useContext(gc)}function SC({children:e,onUpdate:t,type:n,element:r,enabled:i}){let o=jC(),s=_t((...a)=>{t==null||t(...a),o(...a)});return Sn(()=>{let a=i===void 0||i===!0;return a&&s(0,n,r),()=>{a&&s(1,n,r)}},[s,n,r,i]),H.createElement(gc.Provider,{value:s},e)}function bC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const CC=typeof Object.is=="function"?Object.is:bC,{useState:xC,useEffect:OC,useLayoutEffect:LC,useDebugValue:_C}=re;function kC(e,t,n){const r=t(),[{inst:i},o]=xC({inst:{value:r,getSnapshot:t}});return LC(()=>{i.value=r,i.getSnapshot=t,Mc(i)&&o({inst:i})},[e,r,t]),OC(()=>(Mc(i)&&o({inst:i}),e(()=>{Mc(i)&&o({inst:i})})),[e]),_C(r),r}function Mc(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!CC(n,r)}catch{return!0}}function zC(e,t,n){return t()}const PC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",UC=!PC,RC=UC?zC:kC,FC="useSyncExternalStore"in re?(e=>e.useSyncExternalStore)(re):RC;function YC(e){return FC(e.subscribe,e.getSnapshot,e.getSnapshot)}function BC(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let s=t[i].call(n,...o);s&&(n=s,r.forEach(a=>a()))}}}function QC(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,o=e-i;n.style(r,"paddingRight",`${o}px`)}}}function $C(){if(!rC())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(s){return r.containers.flatMap(a=>a()).some(a=>a.contains(s))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let o=null;n.addEventListener(t,"click",s=>{if(s.target instanceof HTMLElement)try{let a=s.target.closest("a");if(!a)return;let{hash:u}=new URL(a.href),c=t.querySelector(u);c&&!i(c)&&(o=c)}catch{}},!0),n.addEventListener(t,"touchmove",s=>{s.target instanceof HTMLElement&&!i(s.target)&&s.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})}}}function WC(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function VC(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let rr=BC(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:oc(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:VC(n)},i=[$C(),QC(),WC()];i.forEach(({before:o})=>o==null?void 0:o(r)),i.forEach(({after:o})=>o==null?void 0:o(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});rr.subscribe(()=>{let e=rr.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&rr.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&rr.dispatch("TEARDOWN",n)}});function HC(e,t,n){let r=YC(rr),i=e?r.get(e):void 0,o=i?i.count>0:!1;return Sn(()=>{if(!(!e||!t))return rr.dispatch("PUSH",e,n),()=>rr.dispatch("POP",e,n)},[t,e]),o}let yc=new Map,Pi=new Map;function Gp(e,t=!0){Sn(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var s;if(!r)return;let a=(s=Pi.get(r))!=null?s:1;if(a===1?Pi.delete(r):Pi.set(r,a-1),a!==1)return;let u=yc.get(r);u&&(u["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",u["aria-hidden"]),r.inert=u.inert,yc.delete(r))}let o=(n=Pi.get(r))!=null?n:0;return Pi.set(r,o+1),o!==0||(yc.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}var qC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(qC||{}),KC=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(KC||{});let GC={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Ds=H.createContext(null);Ds.displayName="DialogContext";function Ui(e){let t=H.useContext(Ds);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ui),n}return t}function JC(e,t,n=()=>[document.body]){HC(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function ZC(e,t){return bn(t.type,GC,e,t)}let XC="div",ex=uc.RenderStrategy|uc.Static;function tx(e,t){let n=Fr(),{id:r=`headlessui-dialog-${n}`,open:i,onClose:o,initialFocus:s,__demoMode:a=!1,...u}=e,[c,l]=H.useState(0),f=nC();i===void 0&&f!==null&&(i=(f&_i.Open)===_i.Open);let d=H.useRef(null),g=fn(d,t),h=H.useRef(null),p=ws(d),m=e.hasOwnProperty("open")||f!==null,v=e.hasOwnProperty("onClose");if(!m&&!v)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!m)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!v)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof i!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${i}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let w=i?0:1,[j,N]=H.useReducer(ZC,{titleId:null,descriptionId:null,panelRef:H.createRef()}),I=_t(()=>o(!1)),B=_t(ee=>N({type:0,id:ee})),z=Ms()?a?!1:w===0:!1,W=c>1,$=H.useContext(Ds)!==null,b=W?"parent":"leaf",k=f!==null?(f&_i.Closing)===_i.Closing:!1,R=(()=>$||k?!1:z)(),x=H.useCallback(()=>{var ee,O;return(O=Array.from((ee=p==null?void 0:p.querySelectorAll("body > *"))!=null?ee:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains(h.current)&&ie instanceof HTMLElement))!=null?O:null},[h]);Gp(x,R);let T=(()=>W?!0:z)(),S=H.useCallback(()=>{var ee,O;return(O=Array.from((ee=p==null?void 0:p.querySelectorAll("[data-headlessui-portal]"))!=null?ee:[]).find(ie=>ie.contains(h.current)&&ie instanceof HTMLElement))!=null?O:null},[h]);Gp(S,T);let U=_t(()=>{var ee,O;return[...Array.from((ee=p==null?void 0:p.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))!=null?ee:[]).filter(ie=>!(ie===document.body||ie===document.head||!(ie instanceof HTMLElement)||ie.contains(h.current)||j.panelRef.current&&ie.contains(j.panelRef.current))),(O=j.panelRef.current)!=null?O:d.current]}),C=(()=>!(!z||W))();q1(()=>U(),I,C);let Z=(()=>!(W||w!==0))();Bp(p==null?void 0:p.defaultView,"keydown",ee=>{Z&&(ee.defaultPrevented||ee.key===Fp.Escape&&(ee.preventDefault(),ee.stopPropagation(),I()))});let oe=(()=>!(k||w!==0||$))();JC(p,oe,U),H.useEffect(()=>{if(w!==0||!d.current)return;let ee=new ResizeObserver(O=>{for(let ie of O){let J=ie.target.getBoundingClientRect();J.x===0&&J.y===0&&J.width===0&&J.height===0&&I()}});return ee.observe(d.current),()=>ee.disconnect()},[w,d,I]);let[L,F]=EC(),P=H.useMemo(()=>[{dialogState:w,close:I,setTitleId:B},j],[w,j,I,B]),K=H.useMemo(()=>({open:w===0}),[w]),G={ref:g,id:r,role:"dialog","aria-modal":w===0?!0:void 0,"aria-labelledby":j.titleId,"aria-describedby":L};return H.createElement(SC,{type:"Dialog",enabled:w===0,element:d,onUpdate:_t((ee,O)=>{O==="Dialog"&&bn(ee,{[pc.Add]:()=>l(ie=>ie+1),[pc.Remove]:()=>l(ie=>ie-1)})})},H.createElement(dc,{force:!0},H.createElement(hc,null,H.createElement(Ds.Provider,{value:P},H.createElement(hc.Group,{target:d},H.createElement(dc,{force:!1},H.createElement(F,{slot:K,name:"Dialog.Description"},H.createElement(zi,{initialFocus:s,containers:U,features:z?bn(b,{parent:zi.features.RestoreFocus,leaf:zi.features.All&~zi.features.FocusLock}):zi.features.None},Gt({ourProps:G,theirProps:u,slot:K,defaultTag:XC,features:ex,visible:w===0,name:"Dialog"})))))))),H.createElement(lc,{features:vs.Hidden,ref:h}))}let nx="div";function rx(e,t){let n=Fr(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:o,close:s}]=Ui("Dialog.Overlay"),a=fn(t),u=_t(l=>{if(l.target===l.currentTarget){if(Z1(l.currentTarget))return l.preventDefault();l.preventDefault(),l.stopPropagation(),s()}}),c=H.useMemo(()=>({open:o===0}),[o]);return Gt({ourProps:{ref:a,id:r,"aria-hidden":!0,onClick:u},theirProps:i,slot:c,defaultTag:nx,name:"Dialog.Overlay"})}let ix="div";function ox(e,t){let n=Fr(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:o},s]=Ui("Dialog.Backdrop"),a=fn(t);H.useEffect(()=>{if(s.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[s.panelRef]);let u=H.useMemo(()=>({open:o===0}),[o]);return H.createElement(dc,{force:!0},H.createElement(hc,null,Gt({ourProps:{ref:a,id:r,"aria-hidden":!0},theirProps:i,slot:u,defaultTag:ix,name:"Dialog.Backdrop"})))}let sx="div";function ax(e,t){let n=Fr(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:o},s]=Ui("Dialog.Panel"),a=fn(t,s.panelRef),u=H.useMemo(()=>({open:o===0}),[o]),c=_t(l=>{l.stopPropagation()});return Gt({ourProps:{ref:a,id:r,onClick:c},theirProps:i,slot:u,defaultTag:sx,name:"Dialog.Panel"})}let ux="h2";function cx(e,t){let n=Fr(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:o,setTitleId:s}]=Ui("Dialog.Title"),a=fn(t);H.useEffect(()=>(s(r),()=>s(null)),[r,s]);let u=H.useMemo(()=>({open:o===0}),[o]);return Gt({ourProps:{ref:a,id:r},theirProps:i,slot:u,defaultTag:ux,name:"Dialog.Title"})}let lx=Jt(tx),fx=Jt(ox),dx=Jt(ax),hx=Jt(rx),gx=Jt(cx),Es=Object.assign(lx,{Backdrop:fx,Panel:dx,Overlay:hx,Title:gx,Description:TC});const px={fontSize:"1.2em",padding:"0.5em",margin:"0.5em",background:"#b51e36",borderRadius:"30px",color:"#fff",border:"2px solid #b51e36",":hover":{background:"#fff",color:"#b51e36"},":focus":{outline:"none"}},Mx=({isModalOpen:e,closeModal:t,t:n})=>pe.jsx(Es,{open:e,onClose:()=>t,children:pe.jsxs(Es.Panel,{className:"bg-light-bgMain text-light-text1 dark:bg-dark-bgMain dark:text-dark-text1 dark:border-2 dark:border-dark-text3",style:{borderRadius:"20px",padding:"1em 2em"},children:[pe.jsxs(Es.Title,{style:{fontSize:"24px"},children:[n("user.Sign in"),pe.jsx("hr",{style:{backgroundColor:"#585858",borderColor:"#585858"}})]}),pe.jsxs(Es.Description,{children:[pe.jsxs("div",{className:"px-4 py-4 lg:px-16",children:[pe.jsx("p",{children:n("user.sign in description")}),pe.jsxs("button",{style:px,onClick:Cp,children:[pe.jsx("span",{style:{padding:"0px",paddingRight:"0.5em"},children:pe.jsx(Nl,{})}),n("user.Sign in with WasedaMail")]})]}),pe.jsx("hr",{style:{backgroundColor:"#585858",borderColor:"#585858"}}),pe.jsxs("p",{children:[n("user.agreement on privacy policy 1"),pe.jsx("a",{href:"/privacy-policy",children:pe.jsx("b",{children:n("user.Privacy Policy")})}),n("user.agreement on privacy policy 2"),pe.jsx("a",{href:"/terms-of-service",children:pe.jsx("b",{children:n("user.Terms of Service")})}),n("user.agreement on privacy policy 3")]})]})]})}),yx=oI("translation")(Mx);var Jp=[],mx=Jp.forEach,vx=Jp.slice;function wx(e){return mx.call(vx.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Zp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Dx=function(t,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),s=t+"="+o;if(i.maxAge>0){var a=i.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(a)}if(i.domain){if(!Zp.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain="+i.domain}if(i.path){if(!Zp.test(i.path))throw new TypeError("option path is invalid");s+="; Path="+i.path}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite){var u=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(u){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},Xp={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Dx(t,encodeURIComponent(n),o)},read:function(t){for(var n=t+"=",r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),s=0;s0){var u=o[s].substring(0,a);u===t.lookupQuerystring&&(n=o[s].substring(a+1))}}}return n}},Ri=null,eM=function(){if(Ri!==null)return Ri;try{Ri=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Ri=!1}return Ri},Ix={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&eM()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&eM()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Fi=null,tM=function(){if(Fi!==null)return Fi;try{Fi=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Fi=!1}return Fi},Nx={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&tM()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&tM()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Tx={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},jx={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Sx={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},bx={name:"subdomain",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);r instanceof Array&&(typeof t.lookupFromSubdomainIndex=="number"?n=r[t.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n=r[0].replace("http://","").replace("https://","").replace(".",""))}return n}};function Cx(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var nM=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Qd(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Wd(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=wx(r,this.options||{},Cx()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Ex),this.addDetector(Ax),this.addDetector(Ix),this.addDetector(Nx),this.addDetector(Tx),this.addDetector(jx),this.addDetector(Sx),this.addDetector(bx)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var s=r.detectors[o].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(i=i.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();nM.type="languageDetector";function mc(e){return mc=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},mc(e)}var rM=[],xx=rM.forEach,Ox=rM.slice;function vc(e){return xx.call(Ox.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function iM(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":mc(XMLHttpRequest))==="object"}function Lx(e){return!!e&&typeof e.then=="function"}function _x(e){return Lx(e)?e:Promise.resolve(e)}function kx(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Yi={},zx={get exports(){return Yi},set exports(e){Yi=e}},Bi={},Px={get exports(){return Bi},set exports(e){Bi=e}},oM;function Ux(){return oM||(oM=1,function(e,t){var n=typeof self<"u"?self:Tt,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(s){var a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function u(T){return T&&DataView.prototype.isPrototypeOf(T)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(T){return T&&c.indexOf(Object.prototype.toString.call(T))>-1};function f(T){if(typeof T!="string"&&(T=String(T)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(T))throw new TypeError("Invalid character in header field name");return T.toLowerCase()}function d(T){return typeof T!="string"&&(T=String(T)),T}function g(T){var S={next:function(){var U=T.shift();return{done:U===void 0,value:U}}};return a.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(T){this.map={},T instanceof h?T.forEach(function(S,U){this.append(U,S)},this):Array.isArray(T)?T.forEach(function(S){this.append(S[0],S[1])},this):T&&Object.getOwnPropertyNames(T).forEach(function(S){this.append(S,T[S])},this)}h.prototype.append=function(T,S){T=f(T),S=d(S);var U=this.map[T];this.map[T]=U?U+", "+S:S},h.prototype.delete=function(T){delete this.map[f(T)]},h.prototype.get=function(T){return T=f(T),this.has(T)?this.map[T]:null},h.prototype.has=function(T){return this.map.hasOwnProperty(f(T))},h.prototype.set=function(T,S){this.map[f(T)]=d(S)},h.prototype.forEach=function(T,S){for(var U in this.map)this.map.hasOwnProperty(U)&&T.call(S,this.map[U],U,this)},h.prototype.keys=function(){var T=[];return this.forEach(function(S,U){T.push(U)}),g(T)},h.prototype.values=function(){var T=[];return this.forEach(function(S){T.push(S)}),g(T)},h.prototype.entries=function(){var T=[];return this.forEach(function(S,U){T.push([U,S])}),g(T)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function p(T){if(T.bodyUsed)return Promise.reject(new TypeError("Already read"));T.bodyUsed=!0}function m(T){return new Promise(function(S,U){T.onload=function(){S(T.result)},T.onerror=function(){U(T.error)}})}function v(T){var S=new FileReader,U=m(S);return S.readAsArrayBuffer(T),U}function w(T){var S=new FileReader,U=m(S);return S.readAsText(T),U}function j(T){for(var S=new Uint8Array(T),U=new Array(S.length),C=0;C-1?S:T}function W(T,S){S=S||{};var U=S.body;if(T instanceof W){if(T.bodyUsed)throw new TypeError("Already read");this.url=T.url,this.credentials=T.credentials,S.headers||(this.headers=new h(T.headers)),this.method=T.method,this.mode=T.mode,this.signal=T.signal,!U&&T._bodyInit!=null&&(U=T._bodyInit,T.bodyUsed=!0)}else this.url=String(T);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=z(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&U)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(U)}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function $(T){var S=new FormData;return T.trim().split("&").forEach(function(U){if(U){var C=U.split("="),Z=C.shift().replace(/\+/g," "),oe=C.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Z),decodeURIComponent(oe))}}),S}function b(T){var S=new h,U=T.replace(/\r?\n[\t ]+/g," ");return U.split(/\r?\n/).forEach(function(C){var Z=C.split(":"),oe=Z.shift().trim();if(oe){var L=Z.join(":").trim();S.append(oe,L)}}),S}I.call(W.prototype);function k(T,S){S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in S?S.statusText:"OK",this.headers=new h(S.headers),this.url=S.url||"",this._initBody(T)}I.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var T=new k(null,{status:0,statusText:""});return T.type="error",T};var R=[301,302,303,307,308];k.redirect=function(T,S){if(R.indexOf(S)===-1)throw new RangeError("Invalid status code");return new k(null,{status:S,headers:{location:T}})},s.DOMException=o.DOMException;try{new s.DOMException}catch{s.DOMException=function(S,U){this.message=S,this.name=U;var C=Error(S);this.stack=C.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function x(T,S){return new Promise(function(U,C){var Z=new W(T,S);if(Z.signal&&Z.signal.aborted)return C(new s.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function L(){oe.abort()}oe.onload=function(){var F={status:oe.status,statusText:oe.statusText,headers:b(oe.getAllResponseHeaders()||"")};F.url="responseURL"in oe?oe.responseURL:F.headers.get("X-Request-URL");var P="response"in oe?oe.response:oe.responseText;U(new k(P,F))},oe.onerror=function(){C(new TypeError("Network request failed"))},oe.ontimeout=function(){C(new TypeError("Network request failed"))},oe.onabort=function(){C(new s.DOMException("Aborted","AbortError"))},oe.open(Z.method,Z.url,!0),Z.credentials==="include"?oe.withCredentials=!0:Z.credentials==="omit"&&(oe.withCredentials=!1),"responseType"in oe&&a.blob&&(oe.responseType="blob"),Z.headers.forEach(function(F,P){oe.setRequestHeader(P,F)}),Z.signal&&(Z.signal.addEventListener("abort",L),oe.onreadystatechange=function(){oe.readyState===4&&Z.signal.removeEventListener("abort",L)}),oe.send(typeof Z._bodyInit>"u"?null:Z._bodyInit)})}return x.polyfill=!0,o.fetch||(o.fetch=x,o.Headers=h,o.Request=W,o.Response=k),s.Headers=h,s.Request=W,s.Response=k,s.fetch=x,Object.defineProperty(s,"__esModule",{value:!0}),s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(Px,Bi)),Bi}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Tt<"u"&&Tt.fetch?n=Tt.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof kx<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||Ux();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(zx,Yi);const sM=Yi,aM=DM({__proto__:null,default:sM},[Yi]);function As(e){return As=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},As(e)}var dn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?dn=global.fetch:typeof window<"u"&&window.fetch?dn=window.fetch:dn=fetch);var Qi;iM()&&(typeof global<"u"&&global.XMLHttpRequest?Qi=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(Qi=window.XMLHttpRequest));var Is;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Is=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Is=window.ActiveXObject)),!dn&&aM&&!Qi&&!Is&&(dn=sM||aM),typeof dn!="function"&&(dn=void 0);var wc=function(t,n){if(n&&As(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},uM=function(t,n,r){dn(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},cM=!1,Rx=function(t,n,r,i){t.queryStringParams&&(n=wc(n,t.queryStringParams));var o=vc({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var s=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,a=vc({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},cM?{}:s);try{uM(n,a,i)}catch(u){if(!s||Object.keys(s).length===0||!u.message||u.message.indexOf("not implemented")<0)return i(u);try{Object.keys(s).forEach(function(c){delete a[c]}),uM(n,a,i),cM=!0}catch(c){i(c)}}},Fx=function(t,n,r,i){r&&As(r)==="object"&&(r=wc("",r).slice(1)),t.queryStringParams&&(n=wc(n,t.queryStringParams));try{var o;Qi?o=new Qi:o=new Is("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var s=t.customHeaders;if(s=typeof s=="function"?s():s,s)for(var a in s)o.setRequestHeader(a,s[a]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(u){console&&console.log(u)}},Yx=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},dn&&n.indexOf("file:")!==0)return Rx(t,n,r,i);if(iM()||typeof ActiveXObject=="function")return Fx(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function $i(e){return $i=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},$i(e)}function Bx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lM(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Bx(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return Qx(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=vc(i,this.options||{},Vx()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,s){var a=this,u=this.options.loadPath;typeof this.options.loadPath=="function"&&(u=this.options.loadPath(n,i)),u=_x(u),u.then(function(c){if(!c)return s(null,{});var l=a.services.interpolator.interpolate(c,{lng:n.join("+"),ns:i.join("+")});a.loadUrl(l,s,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var s=this,a=typeof i=="string"?[i]:i,u=typeof o=="string"?[o]:o,c=this.options.parseLoadPayload(a,u);this.options.request(this.options,n,c,function(l,f){if(f&&(f.status>=500&&f.status<600||!f.status))return r("failed loading "+n+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return r("failed loading "+n+"; status code: "+f.status,!1);if(!f&&l&&l.message&&l.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+l.message,!0);if(l)return r(l,!1);var d,g;try{typeof f.data=="string"?d=s.options.parse(f.data,i,o):d=f.data}catch{g="failed parsing "+n+" to json"}if(g)return r(g,!1);r(null,d)})}},{key:"create",value:function(n,r,i,o,s){var a=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var u=this.options.parsePayload(r,i,o),c=0,l=[],f=[];n.forEach(function(d){var g=a.options.addPath;typeof a.options.addPath=="function"&&(g=a.options.addPath(d,r));var h=a.services.interpolator.interpolate(g,{lng:d,ns:r});a.options.request(a.options,h,u,function(p,m){c+=1,l.push(p),f.push(m),c===n.length&&typeof s=="function"&&s(l,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,s=r.logger,a=i.language;if(!(a&&a.toLowerCase()==="cimode")){var u=[],c=function(f){var d=o.toResolveHierarchy(f);d.forEach(function(g){u.indexOf(g)<0&&u.push(g)})};c(a),this.allOptions.preload&&this.allOptions.preload.forEach(function(l){return c(l)}),u.forEach(function(l){n.allOptions.ns.forEach(function(f){i.read(l,f,"read",null,null,function(d,g){d&&s.warn("loading namespace ".concat(f," for language ").concat(l," failed"),d),!d&&g&&s.log("loaded namespace ".concat(f," for language ").concat(l),g),i.loaded("".concat(l,"|").concat(f),d,g)})})})}}}]),e}();dM.type="backend";const Hx={[Xt.EN]:Zs,[Xt.JA]:Xs},qx=({i18n:e,customTranslations:t=Hx})=>{const n={[Xt.EN]:{translation:{...Zs,...t[Xt.EN]}},[Xt.JA]:{translation:{...Xs,...t[Xt.JA]}}},r={order:["localStorage"],lookupLocalStorage:"wasedatime-lng",caches:["localStorage"]};e.use(dM).use(nM).use(KA).init({resources:n,fallbackLng:Xt.EN,keySeparator:".",interpolation:{escapeValue:!1},react:{wait:!0},detection:r})};je.Colors=He,je.GoogleIcon=Nl,je.Header=xA,je.Lang=Xt,je.LanguageMenu=xd,je.LoadingSpinner=_A,je.Logo=_d,je.LogoJp=DA,je.Modal=Bm,je.Overlay=Jc,je.RowWrapper=Iy,je.SignInModal=yx,je.SmallLogo=kd,je.SmallLogoJp=EA,je.ThemeToggle=zd,je.Wrapper=Rs,je.WrapperWithBackground=Ny,je.configAuth=x1,je.en=Zs,je.fontSize=$m,je.getAccessToken=L1,je.getIdToken=O1,je.getRefreshToken=_1,je.getUserAttr=k1,je.height=Qm,je.i18nConfig=qx,je.isScreenType=Vm,je.isThemeType=qm,je.ja=Xs,je.media=vA,je.signIn=Cp,je.signOut=z1,je.sizes=Di,je.useScrollBlock=Il,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})}); +`));let f=c.props,d=typeof(f==null?void 0:f.className)=="function"?(...h)=>ep(f==null?void 0:f.className(...h),a.className):ep(f==null?void 0:f.className,a.className),g=d?{className:d}:{};return G.cloneElement(c,Object.assign({},tp(c.props,np(Hu(a,["ref"]))),l,u,Sb(c.ref,u.ref),g))}return G.createElement(i,Object.assign({},Hu(a,["ref"]),i!==G.Fragment&&u,i!==G.Fragment&&l),c)}function Sb(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function tp(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...o){let s=n[r];for(let a of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;a(i,...o)}}});return t}function Jt(e){var t;return Object.assign(G.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function np(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Hu(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function bb(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&Cb(n)?!1:r}function Cb(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let xb="div";var ms=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ms||{});function Ob(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Gt({ourProps:i,theirProps:r,slot:{},defaultTag:xb,name:"Hidden"})}let qu=Jt(Ob),rp=G.createContext(null);rp.displayName="OpenClosedContext";var Oi=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Oi||{});function Lb(){return G.useContext(rp)}var ip=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ip||{});function Ku(e,t){let n=G.useRef([]),r=_t(e);G.useEffect(()=>{let i=[...n.current];for(let[o,s]of t.entries())if(n.current[o]!==s){let a=r(t,i);return n.current=t,a}},[r,...t])}function _b(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function kb(e,t,n){let r=gs(t);G.useEffect(()=>{function i(o){r.current(o)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}var Li=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Li||{});function zb(){let e=G.useRef(0);return kb("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function op(){let e=G.useRef(!1);return jn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function vs(...e){return G.useMemo(()=>Gg(...e),[...e])}function sp(e,t,n,r){let i=gs(n);G.useEffect(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},[e,t,r])}function Pb(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function ap(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let Ub="div";var up=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(up||{});function Rb(e,t){let n=G.useRef(null),r=ln(n,t),{initialFocus:i,containers:o,features:s=30,...a}=e;ps()||(s=1);let u=vs(n);Bb({ownerDocument:u},!!(s&16));let c=Qb({ownerDocument:u,container:n,initialFocus:i},!!(s&2));$b({ownerDocument:u,container:n,containers:o,previousActiveElement:c},!!(s&8));let l=zb(),f=_t(p=>{let m=n.current;m&&(v=>v())(()=>{Sn(l.current,{[Li.Forwards]:()=>{Ms(m,tr.First,{skipElements:[p.relatedTarget]})},[Li.Backwards]:()=>{Ms(m,tr.Last,{skipElements:[p.relatedTarget]})}})})}),d=yb(),g=G.useRef(!1),h={ref:r,onKeyDown(p){p.key=="Tab"&&(g.current=!0,d.requestAnimationFrame(()=>{g.current=!1}))},onBlur(p){let m=ap(o);n.current instanceof HTMLElement&&m.add(n.current);let v=p.relatedTarget;v instanceof HTMLElement&&v.dataset.headlessuiFocusGuard!=="true"&&(cp(m,v)||(g.current?Ms(n.current,Sn(l.current,{[Li.Forwards]:()=>tr.Next,[Li.Backwards]:()=>tr.Previous})|tr.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&nr(p.target)))}};return G.createElement(G.Fragment,null,!!(s&4)&&G.createElement(qu,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:ms.Focusable}),Gt({ourProps:h,theirProps:a,defaultTag:Ub,name:"FocusTrap"}),!!(s&4)&&G.createElement(qu,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:ms.Focusable}))}let Fb=Jt(Rb),_i=Object.assign(Fb,{features:up}),bn=[];Pb(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&bn[0]!==t.target&&(bn.unshift(t.target),bn=bn.filter(n=>n!=null&&n.isConnected),bn.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Yb(e=!0){let t=G.useRef(bn.slice());return Ku(([n],[r])=>{r===!0&&n===!1&&xi(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=bn.slice())},[e,bn,t]),_t(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Bb({ownerDocument:e},t){let n=Yb(t);Ku(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&nr(n())},[t]);let r=G.useRef(!1);G.useEffect(()=>(r.current=!1,()=>{r.current=!0,xi(()=>{r.current&&nr(n())})}),[])}function Qb({ownerDocument:e,container:t,initialFocus:n},r){let i=G.useRef(null),o=op();return Ku(()=>{if(!r)return;let s=t.current;s&&xi(()=>{if(!o.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){i.current=a;return}}else if(s.contains(a)){i.current=a;return}n!=null&&n.current?nr(n.current):Ms(s,tr.First)===Jg.Error&&console.warn("There are no focusable elements inside the "),i.current=e==null?void 0:e.activeElement})},[r]),i}function $b({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let o=op();sp(e==null?void 0:e.defaultView,"focus",s=>{if(!i||!o.current)return;let a=ap(n);t.current instanceof HTMLElement&&a.add(t.current);let u=r.current;if(!u)return;let c=s.target;c&&c instanceof HTMLElement?cp(a,c)?(r.current=c,nr(c)):(s.preventDefault(),s.stopPropagation(),nr(u)):nr(r.current)},!0)}function cp(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let lp=G.createContext(!1);function Wb(){return G.useContext(lp)}function Gu(e){return G.createElement(lp.Provider,{value:e.force},e.children)}function Vb(e){let t=Wb(),n=G.useContext(fp),r=vs(e),[i,o]=G.useState(()=>{if(!t&&n!==null||cn.isServer)return null;let s=r==null?void 0:r.getElementById("headlessui-portal-root");if(s)return s;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return G.useEffect(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),G.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),i}let Hb=G.Fragment;function qb(e,t){let n=e,r=G.useRef(null),i=ln(Nb(l=>{r.current=l}),t),o=vs(r),s=Vb(r),[a]=G.useState(()=>{var l;return cn.isServer?null:(l=o==null?void 0:o.createElement("div"))!=null?l:null}),u=ps(),c=G.useRef(!1);return jn(()=>{if(c.current=!1,!(!s||!a))return s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a)),()=>{c.current=!0,xi(()=>{var l;c.current&&(!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((l=s.parentElement)==null||l.removeChild(s))))})}},[s,a]),u?!s||!a?null:Cn.createPortal(Gt({ourProps:{ref:i},theirProps:n,defaultTag:Hb,name:"Portal"}),a):null}let Kb=G.Fragment,fp=G.createContext(null);function Gb(e,t){let{target:n,...r}=e,i={ref:ln(t)};return G.createElement(fp.Provider,{value:n},Gt({ourProps:i,theirProps:r,defaultTag:Kb,name:"Popover.Group"}))}let Jb=Jt(qb),Zb=Jt(Gb),Ju=Object.assign(Jb,{Group:Zb}),dp=G.createContext(null);function hp(){let e=G.useContext(dp);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,hp),t}return e}function Xb(){let[e,t]=G.useState([]);return[e.length>0?e.join(" "):void 0,G.useMemo(()=>function(n){let r=_t(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),u=a.indexOf(o);return u!==-1&&a.splice(u,1),a}))),i=G.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return G.createElement(dp.Provider,{value:i},n.children)},[t])]}let e1="p";function t1(e,t){let n=Rr(),{id:r=`headlessui-description-${n}`,...i}=e,o=hp(),s=ln(t);jn(()=>o.register(r),[r,o.register]);let a={ref:s,...o.props,id:r};return Gt({ourProps:a,theirProps:i,slot:o.slot||{},defaultTag:e1,name:o.name||"Description"})}let n1=Jt(t1),r1=Object.assign(n1,{}),Zu=G.createContext(()=>{});Zu.displayName="StackContext";var Xu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Xu||{});function i1(){return G.useContext(Zu)}function o1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let o=i1(),s=_t((...a)=>{t==null||t(...a),o(...a)});return jn(()=>{let a=i===void 0||i===!0;return a&&s(0,n,r),()=>{a&&s(1,n,r)}},[s,n,r,i]),G.createElement(Zu.Provider,{value:s},e)}function s1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const a1=typeof Object.is=="function"?Object.is:s1,{useState:u1,useEffect:c1,useLayoutEffect:l1,useDebugValue:f1}=se;function d1(e,t,n){const r=t(),[{inst:i},o]=u1({inst:{value:r,getSnapshot:t}});return l1(()=>{i.value=r,i.getSnapshot=t,ec(i)&&o({inst:i})},[e,r,t]),c1(()=>(ec(i)&&o({inst:i}),e(()=>{ec(i)&&o({inst:i})})),[e]),f1(r),r}function ec(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!a1(n,r)}catch{return!0}}function h1(e,t,n){return t()}const g1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",p1=!g1,M1=p1?h1:d1,y1="useSyncExternalStore"in se?(e=>e.useSyncExternalStore)(se):M1;function m1(e){return y1(e.subscribe,e.getSnapshot,e.getSnapshot)}function v1(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let s=t[i].call(n,...o);s&&(n=s,r.forEach(a=>a()))}}}function w1(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,o=e-i;n.style(r,"paddingRight",`${o}px`)}}}function D1(){if(!_b())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(s){return r.containers.flatMap(a=>a()).some(a=>a.contains(s))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let o=null;n.addEventListener(t,"click",s=>{if(s.target instanceof HTMLElement)try{let a=s.target.closest("a");if(!a)return;let{hash:u}=new URL(a.href),c=t.querySelector(u);c&&!i(c)&&(o=c)}catch{}},!0),n.addEventListener(t,"touchmove",s=>{s.target instanceof HTMLElement&&!i(s.target)&&s.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})}}}function A1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function E1(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let rr=v1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Qu(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:E1(n)},i=[D1(),w1(),A1()];i.forEach(({before:o})=>o==null?void 0:o(r)),i.forEach(({after:o})=>o==null?void 0:o(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});rr.subscribe(()=>{let e=rr.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&rr.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&rr.dispatch("TEARDOWN",n)}});function I1(e,t,n){let r=m1(rr),i=e?r.get(e):void 0,o=i?i.count>0:!1;return jn(()=>{if(!(!e||!t))return rr.dispatch("PUSH",e,n),()=>rr.dispatch("POP",e,n)},[t,e]),o}let tc=new Map,ki=new Map;function gp(e,t=!0){jn(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var s;if(!r)return;let a=(s=ki.get(r))!=null?s:1;if(a===1?ki.delete(r):ki.set(r,a-1),a!==1)return;let u=tc.get(r);u&&(u["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",u["aria-hidden"]),r.inert=u.inert,tc.delete(r))}let o=(n=ki.get(r))!=null?n:0;return ki.set(r,o+1),o!==0||(tc.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}var T1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(T1||{}),N1=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(N1||{});let j1={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ws=G.createContext(null);ws.displayName="DialogContext";function zi(e){let t=G.useContext(ws);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,zi),n}return t}function S1(e,t,n=()=>[document.body]){I1(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function b1(e,t){return Sn(t.type,j1,e,t)}let C1="div",x1=Vu.RenderStrategy|Vu.Static;function O1(e,t){let n=Rr(),{id:r=`headlessui-dialog-${n}`,open:i,onClose:o,initialFocus:s,__demoMode:a=!1,...u}=e,[c,l]=G.useState(0),f=Lb();i===void 0&&f!==null&&(i=(f&Oi.Open)===Oi.Open);let d=G.useRef(null),g=ln(d,t),h=G.useRef(null),p=vs(d),m=e.hasOwnProperty("open")||f!==null,v=e.hasOwnProperty("onClose");if(!m&&!v)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!m)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!v)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof i!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${i}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let w=i?0:1,[j,I]=G.useReducer(b1,{titleId:null,descriptionId:null,panelRef:G.createRef()}),T=_t(()=>o(!1)),B=_t(ee=>I({type:0,id:ee})),z=ps()?a?!1:w===0:!1,H=c>1,W=G.useContext(ws)!==null,b=H?"parent":"leaf",k=f!==null?(f&Oi.Closing)===Oi.Closing:!1,R=(()=>W||k?!1:z)(),x=G.useCallback(()=>{var ee,O;return(O=Array.from((ee=p==null?void 0:p.querySelectorAll("body > *"))!=null?ee:[]).find(re=>re.id==="headlessui-portal-root"?!1:re.contains(h.current)&&re instanceof HTMLElement))!=null?O:null},[h]);gp(x,R);let N=(()=>H?!0:z)(),S=G.useCallback(()=>{var ee,O;return(O=Array.from((ee=p==null?void 0:p.querySelectorAll("[data-headlessui-portal]"))!=null?ee:[]).find(re=>re.contains(h.current)&&re instanceof HTMLElement))!=null?O:null},[h]);gp(S,N);let U=_t(()=>{var ee,O;return[...Array.from((ee=p==null?void 0:p.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))!=null?ee:[]).filter(re=>!(re===document.body||re===document.head||!(re instanceof HTMLElement)||re.contains(h.current)||j.panelRef.current&&re.contains(j.panelRef.current))),(O=j.panelRef.current)!=null?O:d.current]}),C=(()=>!(!z||H))();Tb(()=>U(),T,C);let Z=(()=>!(H||w!==0))();sp(p==null?void 0:p.defaultView,"keydown",ee=>{Z&&(ee.defaultPrevented||ee.key===ip.Escape&&(ee.preventDefault(),ee.stopPropagation(),T()))});let ie=(()=>!(k||w!==0||W))();S1(p,ie,U),G.useEffect(()=>{if(w!==0||!d.current)return;let ee=new ResizeObserver(O=>{for(let re of O){let J=re.target.getBoundingClientRect();J.x===0&&J.y===0&&J.width===0&&J.height===0&&T()}});return ee.observe(d.current),()=>ee.disconnect()},[w,d,T]);let[L,F]=Xb(),P=G.useMemo(()=>[{dialogState:w,close:T,setTitleId:B},j],[w,j,T,B]),q=G.useMemo(()=>({open:w===0}),[w]),K={ref:g,id:r,role:"dialog","aria-modal":w===0?!0:void 0,"aria-labelledby":j.titleId,"aria-describedby":L};return G.createElement(o1,{type:"Dialog",enabled:w===0,element:d,onUpdate:_t((ee,O)=>{O==="Dialog"&&Sn(ee,{[Xu.Add]:()=>l(re=>re+1),[Xu.Remove]:()=>l(re=>re-1)})})},G.createElement(Gu,{force:!0},G.createElement(Ju,null,G.createElement(ws.Provider,{value:P},G.createElement(Ju.Group,{target:d},G.createElement(Gu,{force:!1},G.createElement(F,{slot:q,name:"Dialog.Description"},G.createElement(_i,{initialFocus:s,containers:U,features:z?Sn(b,{parent:_i.features.RestoreFocus,leaf:_i.features.All&~_i.features.FocusLock}):_i.features.None},Gt({ourProps:K,theirProps:u,slot:q,defaultTag:C1,features:x1,visible:w===0,name:"Dialog"})))))))),G.createElement(qu,{features:ms.Hidden,ref:h}))}let L1="div";function _1(e,t){let n=Rr(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:o,close:s}]=zi("Dialog.Overlay"),a=ln(t),u=_t(l=>{if(l.target===l.currentTarget){if(bb(l.currentTarget))return l.preventDefault();l.preventDefault(),l.stopPropagation(),s()}}),c=G.useMemo(()=>({open:o===0}),[o]);return Gt({ourProps:{ref:a,id:r,"aria-hidden":!0,onClick:u},theirProps:i,slot:c,defaultTag:L1,name:"Dialog.Overlay"})}let k1="div";function z1(e,t){let n=Rr(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:o},s]=zi("Dialog.Backdrop"),a=ln(t);G.useEffect(()=>{if(s.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[s.panelRef]);let u=G.useMemo(()=>({open:o===0}),[o]);return G.createElement(Gu,{force:!0},G.createElement(Ju,null,Gt({ourProps:{ref:a,id:r,"aria-hidden":!0},theirProps:i,slot:u,defaultTag:k1,name:"Dialog.Backdrop"})))}let P1="div";function U1(e,t){let n=Rr(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:o},s]=zi("Dialog.Panel"),a=ln(t,s.panelRef),u=G.useMemo(()=>({open:o===0}),[o]),c=_t(l=>{l.stopPropagation()});return Gt({ourProps:{ref:a,id:r,onClick:c},theirProps:i,slot:u,defaultTag:P1,name:"Dialog.Panel"})}let R1="h2";function F1(e,t){let n=Rr(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:o,setTitleId:s}]=zi("Dialog.Title"),a=ln(t);G.useEffect(()=>(s(r),()=>s(null)),[r,s]);let u=G.useMemo(()=>({open:o===0}),[o]);return Gt({ourProps:{ref:a,id:r},theirProps:i,slot:u,defaultTag:R1,name:"Dialog.Title"})}let Y1=Jt(O1),B1=Jt(z1),Q1=Jt(U1),$1=Jt(_1),W1=Jt(F1),Ds=Object.assign(Y1,{Backdrop:B1,Panel:Q1,Overlay:$1,Title:W1,Description:r1});const V1={width:"70%",fontSize:"1.6em",padding:"0.5em",margin:"0.5em",background:"#b51e36",borderRadius:"30px",color:"#fff",border:"2px solid #b51e36",":hover":{background:"#fff",color:"#b51e36"},":focus":{outline:"none"}},H1=({isModalOpen:e,closeModal:t,t:n})=>ge.jsx(Ds,{open:e,onClose:()=>t,children:ge.jsxs(Ds.Panel,{className:"bg-light-bgMain text-light-text1 dark:bg-dark-bgMain dark:text-dark-text1 dark:border-2 dark:border-dark-text3 rounded-lg p-4 fixed top-1/3 z-50 shadow-xl border-4 border-gray-100",style:{top:"25vh",left:"20vw",width:"60vw",borderRadius:"20px",boxShadow:"0px 0px 10px gray"},children:[ge.jsxs(Ds.Title,{style:{fontSize:"24px",position:"relative"},className:"text-center",children:[ge.jsx("button",{style:{position:"absolute",top:0,right:0,fontSize:50},onClick:t,children:ge.jsx(dl,{})}),n("user.Sign in"),ge.jsx("hr",{style:{backgroundColor:"#585858",borderColor:"#585858"}})]}),ge.jsxs(Ds.Description,{children:[ge.jsxs("div",{className:"px-4 py-4 lg:px-16 text-center",children:[ge.jsx("p",{children:n("user.sign in description")}),ge.jsxs("button",{style:V1,onClick:qg,children:[ge.jsx("span",{style:{float:"left",color:"#fff"},children:ge.jsx(fl,{})}),n("user.Sign in with WasedaMail")]})]}),ge.jsx("hr",{style:{backgroundColor:"#585858",borderColor:"#585858"}}),ge.jsxs("p",{className:"text-center",children:[n("user.agreement on privacy policy 1"),ge.jsx("a",{href:"/privacy-policy",children:ge.jsx("b",{children:n("user.Privacy Policy")})}),n("user.agreement on privacy policy 2"),ge.jsx("a",{href:"/terms-of-service",children:ge.jsx("b",{children:n("user.Terms of Service")})}),n("user.agreement on privacy policy 3")]})]})]})});function q1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pi(e){return Pi=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},Pi(e)}function K1(e,t){if(Pi(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Pi(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function G1(e){var t=K1(e,"string");return Pi(t)==="symbol"?t:String(t)}function pp(e,t){for(var n=0;n0){var a=i.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(a)}if(i.domain){if(!yp.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain="+i.domain}if(i.path){if(!yp.test(i.path))throw new TypeError("option path is invalid");s+="; Path="+i.path}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite){var u=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(u){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},mp={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=tC(t,encodeURIComponent(n),o)},read:function(t){for(var n=t+"=",r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),s=0;s0){var u=o[s].substring(0,a);u===t.lookupQuerystring&&(n=o[s].substring(a+1))}}}return n}},Ui=null,vp=function(){if(Ui!==null)return Ui;try{Ui=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Ui=!1}return Ui},iC={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&vp()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&vp()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Ri=null,wp=function(){if(Ri!==null)return Ri;try{Ri=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ri=!1}return Ri},oC={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&wp()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&wp()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},sC={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},aC={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},uC={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},cC={name:"subdomain",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);r instanceof Array&&(typeof t.lookupFromSubdomainIndex=="number"?n=r[t.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n=r[0].replace("http://","").replace("https://","").replace(".",""))}return n}};function lC(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Dp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};q1(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return J1(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=eC(r,this.options||{},lC()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(nC),this.addDetector(rC),this.addDetector(iC),this.addDetector(oC),this.addDetector(sC),this.addDetector(aC),this.addDetector(uC),this.addDetector(cC)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var s=r.detectors[o].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(i=i.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();Dp.type="languageDetector";function nc(e){return nc=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},nc(e)}var Ap=[],fC=Ap.forEach,dC=Ap.slice;function rc(e){return fC.call(dC.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function Ep(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":nc(XMLHttpRequest))==="object"}function hC(e){return!!e&&typeof e.then=="function"}function gC(e){return hC(e)?e:Promise.resolve(e)}function pC(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Fi={},MC={get exports(){return Fi},set exports(e){Fi=e}},Yi={},yC={get exports(){return Yi},set exports(e){Yi=e}},Ip;function mC(){return Ip||(Ip=1,function(e,t){var n=typeof self<"u"?self:Nt,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(s){var a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function u(N){return N&&DataView.prototype.isPrototypeOf(N)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(N){return N&&c.indexOf(Object.prototype.toString.call(N))>-1};function f(N){if(typeof N!="string"&&(N=String(N)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(N))throw new TypeError("Invalid character in header field name");return N.toLowerCase()}function d(N){return typeof N!="string"&&(N=String(N)),N}function g(N){var S={next:function(){var U=N.shift();return{done:U===void 0,value:U}}};return a.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(N){this.map={},N instanceof h?N.forEach(function(S,U){this.append(U,S)},this):Array.isArray(N)?N.forEach(function(S){this.append(S[0],S[1])},this):N&&Object.getOwnPropertyNames(N).forEach(function(S){this.append(S,N[S])},this)}h.prototype.append=function(N,S){N=f(N),S=d(S);var U=this.map[N];this.map[N]=U?U+", "+S:S},h.prototype.delete=function(N){delete this.map[f(N)]},h.prototype.get=function(N){return N=f(N),this.has(N)?this.map[N]:null},h.prototype.has=function(N){return this.map.hasOwnProperty(f(N))},h.prototype.set=function(N,S){this.map[f(N)]=d(S)},h.prototype.forEach=function(N,S){for(var U in this.map)this.map.hasOwnProperty(U)&&N.call(S,this.map[U],U,this)},h.prototype.keys=function(){var N=[];return this.forEach(function(S,U){N.push(U)}),g(N)},h.prototype.values=function(){var N=[];return this.forEach(function(S){N.push(S)}),g(N)},h.prototype.entries=function(){var N=[];return this.forEach(function(S,U){N.push([U,S])}),g(N)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function p(N){if(N.bodyUsed)return Promise.reject(new TypeError("Already read"));N.bodyUsed=!0}function m(N){return new Promise(function(S,U){N.onload=function(){S(N.result)},N.onerror=function(){U(N.error)}})}function v(N){var S=new FileReader,U=m(S);return S.readAsArrayBuffer(N),U}function w(N){var S=new FileReader,U=m(S);return S.readAsText(N),U}function j(N){for(var S=new Uint8Array(N),U=new Array(S.length),C=0;C-1?S:N}function H(N,S){S=S||{};var U=S.body;if(N instanceof H){if(N.bodyUsed)throw new TypeError("Already read");this.url=N.url,this.credentials=N.credentials,S.headers||(this.headers=new h(N.headers)),this.method=N.method,this.mode=N.mode,this.signal=N.signal,!U&&N._bodyInit!=null&&(U=N._bodyInit,N.bodyUsed=!0)}else this.url=String(N);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=z(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&U)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(U)}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})};function W(N){var S=new FormData;return N.trim().split("&").forEach(function(U){if(U){var C=U.split("="),Z=C.shift().replace(/\+/g," "),ie=C.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Z),decodeURIComponent(ie))}}),S}function b(N){var S=new h,U=N.replace(/\r?\n[\t ]+/g," ");return U.split(/\r?\n/).forEach(function(C){var Z=C.split(":"),ie=Z.shift().trim();if(ie){var L=Z.join(":").trim();S.append(ie,L)}}),S}T.call(H.prototype);function k(N,S){S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in S?S.statusText:"OK",this.headers=new h(S.headers),this.url=S.url||"",this._initBody(N)}T.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var N=new k(null,{status:0,statusText:""});return N.type="error",N};var R=[301,302,303,307,308];k.redirect=function(N,S){if(R.indexOf(S)===-1)throw new RangeError("Invalid status code");return new k(null,{status:S,headers:{location:N}})},s.DOMException=o.DOMException;try{new s.DOMException}catch{s.DOMException=function(S,U){this.message=S,this.name=U;var C=Error(S);this.stack=C.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function x(N,S){return new Promise(function(U,C){var Z=new H(N,S);if(Z.signal&&Z.signal.aborted)return C(new s.DOMException("Aborted","AbortError"));var ie=new XMLHttpRequest;function L(){ie.abort()}ie.onload=function(){var F={status:ie.status,statusText:ie.statusText,headers:b(ie.getAllResponseHeaders()||"")};F.url="responseURL"in ie?ie.responseURL:F.headers.get("X-Request-URL");var P="response"in ie?ie.response:ie.responseText;U(new k(P,F))},ie.onerror=function(){C(new TypeError("Network request failed"))},ie.ontimeout=function(){C(new TypeError("Network request failed"))},ie.onabort=function(){C(new s.DOMException("Aborted","AbortError"))},ie.open(Z.method,Z.url,!0),Z.credentials==="include"?ie.withCredentials=!0:Z.credentials==="omit"&&(ie.withCredentials=!1),"responseType"in ie&&a.blob&&(ie.responseType="blob"),Z.headers.forEach(function(F,P){ie.setRequestHeader(P,F)}),Z.signal&&(Z.signal.addEventListener("abort",L),ie.onreadystatechange=function(){ie.readyState===4&&Z.signal.removeEventListener("abort",L)}),ie.send(typeof Z._bodyInit>"u"?null:Z._bodyInit)})}return x.polyfill=!0,o.fetch||(o.fetch=x,o.Headers=h,o.Request=H,o.Response=k),s.Headers=h,s.Request=H,s.Response=k,s.fetch=x,Object.defineProperty(s,"__esModule",{value:!0}),s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(yC,Yi)),Yi}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Nt<"u"&&Nt.fetch?n=Nt.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof pC<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||mC();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(MC,Fi);const Tp=Fi,Np=Fp({__proto__:null,default:Tp},[Fi]);function As(e){return As=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},As(e)}var fn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?fn=global.fetch:typeof window<"u"&&window.fetch?fn=window.fetch:fn=fetch);var Bi;Ep()&&(typeof global<"u"&&global.XMLHttpRequest?Bi=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(Bi=window.XMLHttpRequest));var Es;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Es=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Es=window.ActiveXObject)),!fn&&Np&&!Bi&&!Es&&(fn=Tp||Np),typeof fn!="function"&&(fn=void 0);var ic=function(t,n){if(n&&As(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},jp=function(t,n,r){fn(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},Sp=!1,vC=function(t,n,r,i){t.queryStringParams&&(n=ic(n,t.queryStringParams));var o=rc({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var s=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,a=rc({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},Sp?{}:s);try{jp(n,a,i)}catch(u){if(!s||Object.keys(s).length===0||!u.message||u.message.indexOf("not implemented")<0)return i(u);try{Object.keys(s).forEach(function(c){delete a[c]}),jp(n,a,i),Sp=!0}catch(c){i(c)}}},wC=function(t,n,r,i){r&&As(r)==="object"&&(r=ic("",r).slice(1)),t.queryStringParams&&(n=ic(n,t.queryStringParams));try{var o;Bi?o=new Bi:o=new Es("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var s=t.customHeaders;if(s=typeof s=="function"?s():s,s)for(var a in s)o.setRequestHeader(a,s[a]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(u){console&&console.log(u)}},DC=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},fn&&n.indexOf("file:")!==0)return vC(t,n,r,i);if(Ep()||typeof ActiveXObject=="function")return wC(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function Qi(e){return Qi=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},Qi(e)}function AC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bp(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};AC(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return EC(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=rc(i,this.options||{},NC()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,s){var a=this,u=this.options.loadPath;typeof this.options.loadPath=="function"&&(u=this.options.loadPath(n,i)),u=gC(u),u.then(function(c){if(!c)return s(null,{});var l=a.services.interpolator.interpolate(c,{lng:n.join("+"),ns:i.join("+")});a.loadUrl(l,s,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var s=this,a=typeof i=="string"?[i]:i,u=typeof o=="string"?[o]:o,c=this.options.parseLoadPayload(a,u);this.options.request(this.options,n,c,function(l,f){if(f&&(f.status>=500&&f.status<600||!f.status))return r("failed loading "+n+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return r("failed loading "+n+"; status code: "+f.status,!1);if(!f&&l&&l.message&&l.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+l.message,!0);if(l)return r(l,!1);var d,g;try{typeof f.data=="string"?d=s.options.parse(f.data,i,o):d=f.data}catch{g="failed parsing "+n+" to json"}if(g)return r(g,!1);r(null,d)})}},{key:"create",value:function(n,r,i,o,s){var a=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var u=this.options.parsePayload(r,i,o),c=0,l=[],f=[];n.forEach(function(d){var g=a.options.addPath;typeof a.options.addPath=="function"&&(g=a.options.addPath(d,r));var h=a.services.interpolator.interpolate(g,{lng:d,ns:r});a.options.request(a.options,h,u,function(p,m){c+=1,l.push(p),f.push(m),c===n.length&&typeof s=="function"&&s(l,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,s=r.logger,a=i.language;if(!(a&&a.toLowerCase()==="cimode")){var u=[],c=function(f){var d=o.toResolveHierarchy(f);d.forEach(function(g){u.indexOf(g)<0&&u.push(g)})};c(a),this.allOptions.preload&&this.allOptions.preload.forEach(function(l){return c(l)}),u.forEach(function(l){n.allOptions.ns.forEach(function(f){i.read(l,f,"read",null,null,function(d,g){d&&s.warn("loading namespace ".concat(f," for language ").concat(l," failed"),d),!d&&g&&s.log("loaded namespace ".concat(f," for language ").concat(l),g),i.loaded("".concat(l,"|").concat(f),d,g)})})})}}}]),e}();xp.type="backend";const jC=e=>e===Js.EN?cl:ll,SC=()=>Dp,bC=()=>xp;Te.Colors=He,Te.CrossIcon=dl,Te.GoogleIcon=fl,Te.Header=LA,Te.Lang=Js,Te.LanguageMenu=ud,Te.LoadingSpinner=zA,Te.Logo=fd,Te.LogoJp=EA,Te.Modal=am,Te.Overlay=kc,Te.RowWrapper=QM,Te.SignInModal=H1,Te.SmallLogo=dd,Te.SmallLogoJp=IA,Te.ThemeToggle=hd,Te.Wrapper=Us,Te.WrapperWithBackground=$M,Te.configAuth=ub,Te.en=cl,Te.fontSize=cm,Te.getAccessToken=lb,Te.getCoreTranslation=jC,Te.getI18nHttpBackend=bC,Te.getI18nLanguageDetector=SC,Te.getIdToken=cb,Te.getRefreshToken=fb,Te.getUserAttr=db,Te.height=um,Te.isScreenType=fm,Te.isThemeType=hm,Te.ja=ll,Te.media=AA,Te.signIn=qg,Te.signOut=hb,Te.sizes=Uo,Te.useScrollBlock=ul,Object.defineProperty(Te,Symbol.toStringTag,{value:"Module"})}); diff --git a/packages/ui/package.json b/packages/ui/package.json index eee4c6804..0024316fe 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -30,12 +30,13 @@ "@emotion/styled": "11.8.1", "@headlessui/react": "^1.7.14", "@mui/material": "5.8.3", + "i18next": "^23.2.3", "i18next-browser-languagedetector": "6.1.4", "i18next-http-backend": "^2.2.0", "lucide-react": "^0.187.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-i18next": "^12.2.2", + "react-i18next": "^13.0.1", "react-modal": "^3.16.1", "react-responsive": "9.0.0-beta.10", "react-router-dom": "^6.11.0", diff --git a/packages/ui/pnpm-lock.yaml b/packages/ui/pnpm-lock.yaml index 5ca8da807..384853d75 100644 --- a/packages/ui/pnpm-lock.yaml +++ b/packages/ui/pnpm-lock.yaml @@ -16,6 +16,9 @@ dependencies: '@mui/material': specifier: 5.8.3 version: 5.8.3(@emotion/react@11.9.0)(@emotion/styled@11.8.1)(@types/react@18.0.28)(react-dom@18.2.0)(react@18.2.0) + i18next: + specifier: ^23.2.3 + version: 23.2.3 i18next-browser-languagedetector: specifier: 6.1.4 version: 6.1.4 @@ -32,8 +35,8 @@ dependencies: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) react-i18next: - specifier: ^12.2.2 - version: 12.2.2(i18next@22.4.15)(react-dom@18.2.0)(react-native@0.71.7)(react@18.2.0) + specifier: ^13.0.1 + version: 13.0.1(i18next@23.2.3)(react-dom@18.2.0)(react-native@0.71.7)(react@18.2.0) react-modal: specifier: ^3.16.1 version: 3.16.1(react-dom@18.2.0)(react@18.2.0) @@ -1876,6 +1879,13 @@ packages: engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.11 + dev: false + + /@babel/runtime@7.22.5: + resolution: {integrity: sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.13.11 /@babel/template@7.20.7: resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} @@ -1934,7 +1944,7 @@ packages: resolution: {integrity: sha512-gxNky50AJL3AlkbjvTARiwAqei6/tNUxDZPSKd+3jqWVM3AmdVTTdpjHorR/an/M0VJqdsuq5oGcFH+rjtyujQ==} dependencies: '@babel/helper-module-imports': 7.21.4 - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@emotion/hash': 0.9.0 '@emotion/memoize': 0.8.0 '@emotion/serialize': 1.1.1 @@ -2571,7 +2581,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@emotion/is-prop-valid': 1.2.0 '@mui/types': 7.2.4(@types/react@18.0.28) '@mui/utils': 5.12.3(react@18.2.0) @@ -2630,7 +2640,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@mui/utils': 5.12.3(react@18.2.0) '@types/react': 18.0.28 prop-types: 15.8.1 @@ -2650,7 +2660,7 @@ packages: '@emotion/styled': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@emotion/cache': 11.10.8 '@emotion/react': 11.9.0(@babel/core@7.21.8)(@types/react@18.0.28)(react@18.2.0) '@emotion/styled': 11.8.1(@babel/core@7.21.8)(@emotion/react@11.9.0)(@types/react@18.0.28)(react@18.2.0) @@ -2675,7 +2685,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@emotion/react': 11.9.0(@babel/core@7.21.8)(@types/react@18.0.28)(react@18.2.0) '@emotion/styled': 11.8.1(@babel/core@7.21.8)(@emotion/react@11.9.0)(@types/react@18.0.28)(react@18.2.0) '@mui/private-theming': 5.12.3(@types/react@18.0.28)(react@18.2.0) @@ -2706,7 +2716,7 @@ packages: peerDependencies: react: ^17.0.0 || ^18.0.0 dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@types/prop-types': 15.7.5 '@types/react-is': 17.0.4 prop-types: 15.8.1 @@ -4021,7 +4031,7 @@ packages: engines: {node: '>=12'} dependencies: '@babel/code-frame': 7.21.4 - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@types/aria-query': 5.0.1 aria-query: 5.1.3 chalk: 4.1.2 @@ -4036,7 +4046,7 @@ packages: peerDependencies: '@testing-library/dom': '>=7.21.4' dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 '@testing-library/dom': 8.20.0 dev: true @@ -4868,7 +4878,7 @@ packages: resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} engines: {node: '>=10', npm: '>=6'} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 cosmiconfig: 7.1.0 resolve: 1.22.2 dev: false @@ -5904,7 +5914,7 @@ packages: /dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 csstype: 3.1.2 dev: false @@ -7115,10 +7125,10 @@ packages: - encoding dev: false - /i18next@22.4.15: - resolution: {integrity: sha512-yYudtbFrrmWKLEhl6jvKUYyYunj4bTBCe2qIUYAxbXoPusY7YmdwPvOE6fx6UIfWvmlbCWDItr7wIs8KEBZ5Zg==} + /i18next@23.2.3: + resolution: {integrity: sha512-5spO7L0rNmW0jFuNhz+gfirlFt1anle4mTy4+gFkgsH0+T3R5++4oncBrzeKa7v8pweRyGBoGmOpboqlxovg6A==} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 dev: false /iconv-lite@0.4.24: @@ -8364,7 +8374,7 @@ packages: /metro-runtime@0.73.9: resolution: {integrity: sha512-d5Hs83FpKB9r8q8Vb95+fa6ESpwysmPr4lL1I2rM2qXAFiO7OAPT9Bc23WmXgidkBtD0uUFdB2lG+H1ATz8rZg==} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 react-refresh: 0.4.3 dev: false @@ -9168,7 +9178,7 @@ packages: resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==} engines: {node: '>=10'} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 dev: true /posix-character-classes@0.1.1: @@ -9565,10 +9575,10 @@ packages: react-is: 18.1.0 dev: true - /react-i18next@12.2.2(i18next@22.4.15)(react-dom@18.2.0)(react-native@0.71.7)(react@18.2.0): - resolution: {integrity: sha512-KBB6buBmVKXUWNxXHdnthp+38gPyBT46hJCAIQ8rX19NFL/m2ahte2KARfIDf2tMnSAL7wwck6eDOd/9zn6aFg==} + /react-i18next@13.0.1(i18next@23.2.3)(react-dom@18.2.0)(react-native@0.71.7)(react@18.2.0): + resolution: {integrity: sha512-gMO6N2GfSfuH7xlHSsZ/mZf+Py9bLm/+EDKIn5fNTuDTjcCcwmMU5UEuGCDk5mdfivbo7ySyYXBN7B9tbGUxiA==} peerDependencies: - i18next: '>= 19.0.0' + i18next: '>= 23.2.3' react: '>= 16.8.0' react-dom: '*' react-native: '*' @@ -9578,9 +9588,9 @@ packages: react-native: optional: true dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 html-parse-stringify: 3.0.1 - i18next: 22.4.15 + i18next: 23.2.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-native: 0.71.7(@babel/core@7.21.8)(@babel/preset-env@7.21.5)(react@18.2.0) @@ -9765,7 +9775,7 @@ packages: react: '>=16.6.0' react-dom: '>=16.6.0' dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 @@ -9902,7 +9912,7 @@ packages: /regenerator-transform@0.15.1: resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} dependencies: - '@babel/runtime': 7.21.5 + '@babel/runtime': 7.22.5 /regex-cache@0.4.4: resolution: {integrity: sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==} diff --git a/packages/ui/src/base/Modal.tsx b/packages/ui/src/base/Modal.tsx index 03a2abde1..d1db1a46e 100644 --- a/packages/ui/src/base/Modal.tsx +++ b/packages/ui/src/base/Modal.tsx @@ -1,10 +1,9 @@ -import React from "react" import ReactModal from "react-modal" import { useScrollBlock } from "@/hooks/useScrollBlock" -ReactModal.setAppElement("#layout") +ReactModal.setAppElement("body") -interface ModalProps extends React.Component { +type ModalProps = { isOpen: boolean children: any closeTimeoutMS?: number diff --git a/packages/ui/src/icons/CrossIcon.tsx b/packages/ui/src/icons/CrossIcon.tsx new file mode 100644 index 000000000..ecda54fa2 --- /dev/null +++ b/packages/ui/src/icons/CrossIcon.tsx @@ -0,0 +1,7 @@ +export const CrossIcon = () => { + return ( + + + + ) +} diff --git a/packages/ui/src/icons/GoogleIcon.tsx b/packages/ui/src/icons/GoogleIcon.tsx index e26073dd5..49569a92f 100644 --- a/packages/ui/src/icons/GoogleIcon.tsx +++ b/packages/ui/src/icons/GoogleIcon.tsx @@ -1,6 +1,6 @@ export const GoogleIcon = () => { return ( - + ) diff --git a/packages/ui/src/icons/index.ts b/packages/ui/src/icons/index.ts index 888620a0e..c6e498924 100644 --- a/packages/ui/src/icons/index.ts +++ b/packages/ui/src/icons/index.ts @@ -1 +1,2 @@ export { GoogleIcon } from "@/icons/GoogleIcon" +export { CrossIcon } from "@/icons/CrossIcon" diff --git a/packages/ui/src/layout/Header.tsx b/packages/ui/src/layout/Header.tsx index 8bc567f83..99ec25ef5 100644 --- a/packages/ui/src/layout/Header.tsx +++ b/packages/ui/src/layout/Header.tsx @@ -1,5 +1,4 @@ import MediaQuery from "react-responsive" -import { useNavigate } from "react-router-dom" import colors from "@/theme/colors.json" import { LanguageMenu } from "@/layout/LanguageMenu" import { sizes } from "@/utils/responsive" @@ -102,8 +101,6 @@ export const Header = ({ theme = "light", setTheme, }: HeaderProps) => { - const navigate = useNavigate() - const searchBar = (
navigate("/home")}> +
{location.href = "/home"}}>
) : ( diff --git a/packages/ui/src/layout/LanguageMenu.tsx b/packages/ui/src/layout/LanguageMenu.tsx index c3eed8485..b2c9709fc 100644 --- a/packages/ui/src/layout/LanguageMenu.tsx +++ b/packages/ui/src/layout/LanguageMenu.tsx @@ -3,8 +3,6 @@ import colors from "@/theme/colors.json" import Menu from "@mui/material/Menu" import MenuItem from "@mui/material/MenuItem" import { Languages } from "lucide-react" -import MediaQuery from "react-responsive" -import { sizes } from "@/utils/responsive" import { ThemeType } from "@/constants/type/theme" const buttonStyle = { @@ -55,15 +53,7 @@ export const LanguageMenu = ({ theme, changeLang }: LanguageMenuProps) => { onClick={handleClick} aria-label="Language toggle" > - - {(matches: any) => - matches ? ( - - ) : ( - - ) - } - + { return ( closeModal}> - + + {t(`user.Sign in`)}
-
+

{t(`user.sign in description`)}


-

+

{t(`user.agreement on privacy policy 1`)} {t(`user.Privacy Policy`)} @@ -64,4 +69,4 @@ const SignInModal = ({ isModalOpen, closeModal, t }: Props) => { ) } -export default withTranslation("translation")(SignInModal) +export default SignInModal diff --git a/packages/ui/src/utils/i18n.ts b/packages/ui/src/utils/i18n.ts index cdfc516f4..a18f85ce3 100644 --- a/packages/ui/src/utils/i18n.ts +++ b/packages/ui/src/utils/i18n.ts @@ -1,58 +1,9 @@ -import { initReactI18next } from "react-i18next" import detector from "i18next-browser-languagedetector" import HttpApi from "i18next-http-backend" -import { Lang } from "@/constants/type/langs" import coreTranslationEn from "@/constants/locales/en.json" import coreTranslationJa from "@/constants/locales/ja.json" +import { Lang } from "@/constants/type/langs" -interface TranslationsTypes { - [key: string]: object -} - -const defaultTranslations = { - [Lang.EN]: coreTranslationEn, - [Lang.JA]: coreTranslationJa, -} - -export const i18nConfig = ({ - i18n, - customTranslations = defaultTranslations, -}: { - i18n: any - customTranslations?: TranslationsTypes -}) => { - const resources = { - [Lang.EN]: { - translation: { ...coreTranslationEn, ...customTranslations[Lang.EN] }, - }, - [Lang.JA]: { - translation: { ...coreTranslationJa, ...customTranslations[Lang.JA] }, - }, - } - - const detectorOptions = { - order: ["localStorage"], - lookupLocalStorage: "wasedatime-lng", - caches: ["localStorage"], - } - - i18n - .use(HttpApi) - .use(detector) - .use(initReactI18next) // passes i18n down to react-i18next - .init({ - resources, - fallbackLng: Lang.EN, - keySeparator: ".", - interpolation: { - // react already safes from xss - escapeValue: false, - }, - // Configure the withNamespaces / NamespacesConsumer to - // not render the content until needed namespaces are loaded. - react: { - wait: true, - }, - detection: detectorOptions, - }) -} +export const getCoreTranslation = (lang: Lang) => lang === Lang.EN ? coreTranslationEn : coreTranslationJa; +export const getI18nLanguageDetector = () => detector; +export const getI18nHttpBackend = () => HttpApi; \ No newline at end of file diff --git a/packages/ui/src/utils/index.ts b/packages/ui/src/utils/index.ts index 9ec3debb7..b7f5538cc 100644 --- a/packages/ui/src/utils/index.ts +++ b/packages/ui/src/utils/index.ts @@ -1,4 +1,4 @@ -export { i18nConfig } from "@/utils/i18n" +export { getCoreTranslation, getI18nHttpBackend, getI18nLanguageDetector } from "@/utils/i18n" export { sizes, media } from "@/utils/responsive" export { configAuth,