From 7d9aa3fff5a04388fbfed9579a6e5094c14ebfaa Mon Sep 17 00:00:00 2001 From: Jason Park <93040528+JasonNotJson@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:10:57 +0900 Subject: [PATCH] fix: fix login error (#469) * fix(deps): update dependency @aws-amplify/auth to v4 (#352) Co-authored-by: Renovate Bot * Feature: Added Dark theme (#365) * Theme provider to Syllabus & context to containers * Add context on components in Syllabus which may require fix for dark mode * feat: replace @reach/router to react-router v6 * feat: update header for all apps * fix: reinstall react-router-dom v6 and history after rebase * feat: add new themes * fix: lock files * feat: install TailwindCSS on Campus * feat: install TailwindCSS on Syllabus * feat: change theme-toggle color according to current theme * fix: change locations of tailwind import; remove unused log * feat: dark theme on Timetable * Feat: Added new sidebar icons from material ui icons * Feat: Separated icons into different component * fix: added package json and pnpm lock updates * feat: pass isDark property to styled components * feat: dark theme on Syllabus (CourseItem not yet) * fix: wrap ThemeProvider on Nav; use new theme colors * fix: use className instead of passing theme as props * feat: dark theme on CourseInfo (not completed) * fix: Made theme types exportable * fix: created sidebar wrapper locally instead of bit * fix: Fixed styling of icon group button * feat: added user profile icon * feat: Added dark mode styling to other links * fix: moved browser router wrapper outside to fix navigation * fix: used const instead of let for navigation hook * fix: fixed import order * feat: CourseInfo dark mode * feat: Made title logo svg into a component * fix: made title logo text colour change when theme toggle * fix: fixed extra stylings when dark mode * fix: updated package versions and pnpm lock file * feat: update loading-spinner & solve background color flicker while loading page in dark mode * feat: added dark mode styling to about us pages * feat: added dark mode styling to extra pages * feat: dark theme to mobile bottom nav * feat: update header & loading-spinner & body tag background color * feat: added dark mode background * fix: fixed title logo on sidebar not changing colours when switching modes * fix: added tab colours when dark mode * fix: added dark mode colours to partner page text * feat: dark mode for Labs * fix: related courses width * feat: update spinner in Syllabus; dark mode for Campus * fix: timetable course item scrollable space height * feat: make timetable course item darker in dark mode * feat: install tailwind in feeds (not used yet) * feat: redirecting page styling * feat: update sign in modal * feat: updated header component and pnpm lock file accordingly * fix: updated colors and header dependencies * fix: eslint fixes for campus folder * feat: added dark mode styling to campus folder * fix: eslint fixes in syllabus folder * fix: updated dark mode styling * fix: updated dark mode syllabus * fix: updated dark mode styling root folder * fix: syllabus border & step arrow color * fix: fixed styling for social media icons in partners * fix: removed unused imports * fix: Or-button dark mode color * fix: remove FilterWarningsPlugin * fix: update lock files * fix: remove -y option * fix: update lock files * fix: update @aws-amplify/auth in syllabus * fix: update loading spinner in Feeds * fix: add theme prop to LoadingSpinner in Feeds Co-authored-by: YHhaoareyou * fix: clear search keywords when onclick related courses * Debug: mobile dark mode debug (#373) * feat: dark mode & new messages on welcome modal * fix: dark mode on sign in modal & user login icon * chore(deps): update dependency eslint-plugin-react to v7.29.4 (#361) Co-authored-by: Renovate Bot * chore(deps): update dependency ts-loader to v9.2.8 (#359) Co-authored-by: Renovate Bot * feat: remove unused dependencies (#377) * Feature/darktheme colors (#378) * feat: added quarterColors for both light and dark mode * feat: Added google analytics to theme changes * fix: fixed user profile icon to make it consistent * fix: code refactoring * fix: code refactoring in syllabus * feat: added dark semantic colors * fix: added colors based on numbers too * fix: added a todo comment * fix: fix semantic text colors dark mode * feat: update quarter switch colors & icons * feat: update timetable course items and color selector with new theme colors Co-authored-by: Nicholas Narmada * Feature: Timetable dark theme (#379) * feat: Dark mode for pro tips and colors selector popup in Timetable * feat: update theme colors dependency for all apps * feat: add the hovering effect to the member cards (#381) * feat: update the hovering effect for member cards * fix: remove unused libraries; fix html background color in dark mode; disable card's hyperlink * fix: makes the code shorter and neater * fix: syllabus pnpm lock file * fix: syllabus pnpm lock file Co-authored-by: YHhaoareyou * Migrate from Webpack to Vite (#382) * feat: vite tested by career folder * feat: replace systemjs import with dynamic import to import vite project * feat: ignore dynamic import problem caused by webpack * feat: Migrate Campus from Webpack to Vite * fix: restore career * feat: register vite app campus by single-spa-layout * feat: migrate Syllabus to vite (error unsolved) * fix: fix lockfile * fix: solve "exportStar not a function", "undefined global" and use Vite envvar * feat: migrate syllabus to vite (done) * remove webpack from all apps except root * feat: migrate root to vite * feat: remove webpack related scripts & solve import-map not supported problem in Safari * feat: import static assets; solve errors of custom props passed to dom * fix: run eslint fix * fix: build script & config * feat: build config & debug global var * fix: output asset files path * feat: disable css code split in build * fix: run eslint fix * feat: preload css from mf apps to root; replace react-s-alert with react-toastify * feat: configure public path & env var for each app * fix: run eslint fix * feat: service-worker * fix: eslint fix * update lock files * fix: missing package * fix: externalize styles from other mf app * fix: campus room badge styles Co-authored-by: AustinZhu * fix: env without using dotenv explicitly (#385) * fix: packages version * fix: change env var name * fix: remove systemjs package; add peer dependencies * fix: feeds domain on staging/prod * Feature: About Us page link from Home page & split Home from Root-config (#387) * fix: remove custom sw * feat: add link to aboutus page from home * fix: eslint * Feature/fix card padding (#388) * fix: fixing the responsive design for members card * fix: fixing the responsive design for members card * fix: font color, repeated className, figure tag * fix: install missing dependency: @aws-amplify/core * fix: remove course function * feat: alert translation * fix: eslint * feat: add workbox runtimeCaching config * Fix service worker to enable it to replace old one (#389) * fix: add cleanupOutdatedCaches option * use custom sw & force update * skipWaiting and claim before cleanupOutdatedCaches * add ts files to NetworkFirst cache * remove ts from cache * register sw on index.html * change sw from ts to js * test updates to trigger build * registerSW in index.html * remove unused code and comment of registering sw * update files to trigger build * feat: add a profile card component; add hover & click effect; add a closing tab on cards (#390) * feat: add a profile card component; add hover & click effect; add closing tab on cards * fix: rename profile card & prop; type for useState * fix: syllabus minor styling issues * Update README.md * Migrate from Webpack to Vite (#386) * fix(deps): update dependency @aws-amplify/auth to v4 (#352) Co-authored-by: Renovate Bot * Feature: Added Dark theme (#365) * Theme provider to Syllabus & context to containers * Add context on components in Syllabus which may require fix for dark mode * feat: replace @reach/router to react-router v6 * feat: update header for all apps * fix: reinstall react-router-dom v6 and history after rebase * feat: add new themes * fix: lock files * feat: install TailwindCSS on Campus * feat: install TailwindCSS on Syllabus * feat: change theme-toggle color according to current theme * fix: change locations of tailwind import; remove unused log * feat: dark theme on Timetable * Feat: Added new sidebar icons from material ui icons * Feat: Separated icons into different component * fix: added package json and pnpm lock updates * feat: pass isDark property to styled components * feat: dark theme on Syllabus (CourseItem not yet) * fix: wrap ThemeProvider on Nav; use new theme colors * fix: use className instead of passing theme as props * feat: dark theme on CourseInfo (not completed) * fix: Made theme types exportable * fix: created sidebar wrapper locally instead of bit * fix: Fixed styling of icon group button * feat: added user profile icon * feat: Added dark mode styling to other links * fix: moved browser router wrapper outside to fix navigation * fix: used const instead of let for navigation hook * fix: fixed import order * feat: CourseInfo dark mode * feat: Made title logo svg into a component * fix: made title logo text colour change when theme toggle * fix: fixed extra stylings when dark mode * fix: updated package versions and pnpm lock file * feat: update loading-spinner & solve background color flicker while loading page in dark mode * feat: added dark mode styling to about us pages * feat: added dark mode styling to extra pages * feat: dark theme to mobile bottom nav * feat: update header & loading-spinner & body tag background color * feat: added dark mode background * fix: fixed title logo on sidebar not changing colours when switching modes * fix: added tab colours when dark mode * fix: added dark mode colours to partner page text * feat: dark mode for Labs * fix: related courses width * feat: update spinner in Syllabus; dark mode for Campus * fix: timetable course item scrollable space height * feat: make timetable course item darker in dark mode * feat: install tailwind in feeds (not used yet) * feat: redirecting page styling * feat: update sign in modal * feat: updated header component and pnpm lock file accordingly * fix: updated colors and header dependencies * fix: eslint fixes for campus folder * feat: added dark mode styling to campus folder * fix: eslint fixes in syllabus folder * fix: updated dark mode styling * fix: updated dark mode syllabus * fix: updated dark mode styling root folder * fix: syllabus border & step arrow color * fix: fixed styling for social media icons in partners * fix: removed unused imports * fix: Or-button dark mode color * fix: remove FilterWarningsPlugin * fix: update lock files * fix: remove -y option * fix: update lock files * fix: update @aws-amplify/auth in syllabus * fix: update loading spinner in Feeds * fix: add theme prop to LoadingSpinner in Feeds Co-authored-by: YHhaoareyou * fix: clear search keywords when onclick related courses * Debug: mobile dark mode debug (#373) * feat: dark mode & new messages on welcome modal * fix: dark mode on sign in modal & user login icon * chore(deps): update dependency eslint-plugin-react to v7.29.4 (#361) Co-authored-by: Renovate Bot * chore(deps): update dependency ts-loader to v9.2.8 (#359) Co-authored-by: Renovate Bot * feat: remove unused dependencies (#377) * Feature/darktheme colors (#378) * feat: added quarterColors for both light and dark mode * feat: Added google analytics to theme changes * fix: fixed user profile icon to make it consistent * fix: code refactoring * fix: code refactoring in syllabus * feat: added dark semantic colors * fix: added colors based on numbers too * fix: added a todo comment * fix: fix semantic text colors dark mode * feat: update quarter switch colors & icons * feat: update timetable course items and color selector with new theme colors Co-authored-by: Nicholas Narmada * Feature: Timetable dark theme (#379) * feat: Dark mode for pro tips and colors selector popup in Timetable * feat: update theme colors dependency for all apps * feat: add the hovering effect to the member cards (#381) * feat: update the hovering effect for member cards * fix: remove unused libraries; fix html background color in dark mode; disable card's hyperlink * fix: makes the code shorter and neater * fix: syllabus pnpm lock file * fix: syllabus pnpm lock file Co-authored-by: YHhaoareyou * Migrate from Webpack to Vite (#382) * feat: vite tested by career folder * feat: replace systemjs import with dynamic import to import vite project * feat: ignore dynamic import problem caused by webpack * feat: Migrate Campus from Webpack to Vite * fix: restore career * feat: register vite app campus by single-spa-layout * feat: migrate Syllabus to vite (error unsolved) * fix: fix lockfile * fix: solve "exportStar not a function", "undefined global" and use Vite envvar * feat: migrate syllabus to vite (done) * remove webpack from all apps except root * feat: migrate root to vite * feat: remove webpack related scripts & solve import-map not supported problem in Safari * feat: import static assets; solve errors of custom props passed to dom * fix: run eslint fix * fix: build script & config * feat: build config & debug global var * fix: output asset files path * feat: disable css code split in build * fix: run eslint fix * feat: preload css from mf apps to root; replace react-s-alert with react-toastify * feat: configure public path & env var for each app * fix: run eslint fix * feat: service-worker * fix: eslint fix * update lock files * fix: missing package * fix: externalize styles from other mf app * fix: campus room badge styles Co-authored-by: AustinZhu * fix: env without using dotenv explicitly (#385) * fix: packages version * fix: change env var name * fix: remove systemjs package; add peer dependencies * fix: feeds domain on staging/prod * Feature: About Us page link from Home page & split Home from Root-config (#387) * fix: remove custom sw * feat: add link to aboutus page from home * fix: eslint * Feature/fix card padding (#388) * fix: fixing the responsive design for members card * fix: fixing the responsive design for members card * fix: font color, repeated className, figure tag * fix: install missing dependency: @aws-amplify/core * fix: remove course function * feat: alert translation * fix: eslint * feat: add workbox runtimeCaching config * Fix service worker to enable it to replace old one (#389) * fix: add cleanupOutdatedCaches option * use custom sw & force update * skipWaiting and claim before cleanupOutdatedCaches * add ts files to NetworkFirst cache * remove ts from cache * register sw on index.html * change sw from ts to js * test updates to trigger build * registerSW in index.html * remove unused code and comment of registering sw * update files to trigger build * feat: add a profile card component; add hover & click effect; add a closing tab on cards (#390) * feat: add a profile card component; add hover & click effect; add closing tab on cards * fix: rename profile card & prop; type for useState * fix: syllabus minor styling issues * Update README.md Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot Co-authored-by: Nicholas Narmada <36405403+nichnarmada@users.noreply.github.com> Co-authored-by: Nicholas Narmada Co-authored-by: Xinyue Tao <96937379+xinyue296@users.noreply.github.com> Co-authored-by: AustinZhu * add script-src-elem to Content Security Policy (#391) * Hotfix (#392) * add script-src-elem to Content Security Policy * fix csp * Hotfix (#393) * add script-src-elem to Content Security Policy * fix csp * add blob:https: to csp * fix blob in csp * fix: remove csp * fix: remove all webpack-related packages & setting * Allow all in CSP * Fix: preload style, csp allow all, refactor index html & env var (#404) * fix style prelload link * refactor index.html & add env variables * remove slash from the end of base path env var * import other mf's css files as external * run eslint fix * run eslint fix * Update README.md (#397) Github -> GitHub * chore(deps): update dependency esbuild to v0.14.43 (#384) Co-authored-by: Renovate Bot * chore(deps): update dependencies * chore(deps): update dependencies * chore(deps): update dependencies * fix: preload & enable styles from other mf app * fix: packages version (fix React to v17) * Language filter for Feeds (#409) * filter feeds by language * feat: styling lang filter button * feat: Back button to Feeds list page * Remove using @apply in css file due to amp style problem * feat: added turbo-repo woooo (#420) * update feeds * update feeds * refactor: refactored project structure * feat: added turborepo * feat: eslint custom config dependency * fix: fix lint script * fix: removed self dependent dependencies * chore: pnpm lock updates * fix: remove dont purge tailwind from script * feat: add turbo scripts to monorepo * fix: fixed folder paths for github actions * fix: fixed campus pnpm-lock file * fix: updated pnpm lock again * fix: updated types for feed info * fix: feeds submodule & root env & campus type mismatch Co-authored-by: YHhaoareyou * feat: adding web hooks for forums * feat: updating meet our team page (#426) * feat: editing meet our team page * feat: adding michael to the MeetOurMembers page * feat: edited my position * feat: changing Jason's role to cheerleader * fix: downgrade pnpm version for test * feat: adding gunjan and aditya to the team * fix: fixing aditya image * feat: adding pam to the team * fix:fixing pnpm lock issues --------- Co-authored-by: YHhaoareyou * Export Bit components to turborepo packages (#428) * feat: created ui package * feat: added tailwind and prettier * chore: file linting * refactor: removed unnecessary files * refactor: configured build * feature: add storybook * feat: import all bit components * refactor: remove unused stories * refactor: updated language menu to newest mui * refactor: refactored media func * refactor: use headlessui for modal * refactor: refactor imports and exports * chore: pnpm build script * chore: added packages * chore: update package json and lock files * refactor: re-added Modal component * refactor: changed import paths internal ui package * refactor: added colors.json to be importable * refactor: changed import path * refactor: updated shared eslint and prettier * chore: reformatted files * refactor: changed type of media func * refactor: removed unused assets * refactor: refactored media functions * refactor: fixed import path * chore: updated vite to latest * chore: updated single-spa and removed unused vite plugin * fix: fixed pnpm lock * fix: removed react-refresh * fix: overrided esbuild version * fix: fixed pnpm lock * refactor: changed loading spinner to func * refactor: changed prettier to cjs file * refactor: updated mui * fix: fixed packages * fix: test version down jpg loader * fix: fixed window and document in theme context * fix: test remove theme context file * fix: fix error document * test commit * fix: use client in component * fix: under reconstruction feeds * fix: next output export --------- Co-authored-by: Nicholas Narmada * Feature: Remove bit from npmrc (#431) * fix: remove bit details from npmrc * fix: remove bit portion of readme * fix: fixing tailwind:build from tailwind to tailwindcss * feat: reorganizing meet our teams list * feat: adding alfonso lien and shiori * chore: ah comeon * chore: what in the hell is a JPG and a jpg * chore: oh Jason focus comeon why are you doing stupid stuff mistaking jpg with png * feat: adding forum into develop (#446) * feat: create single-spa app-parcel for Forum * Add explanation for adding new app-parcel in WasedaTime * Comment out routing for Career * Initialize components for Forum * feat: install tailwind in Forum * Add required utilities to Forum * Add Forum icon to navbar * feature/forum-basic-styling (#415) * feat: added basic styling + dummy data for forum incl. board, comments and comment form * fix: arrangement between each section in Forum * fix: code style by eslint Co-authored-by: YHhaoareyou * Feature/forum-basic-routing (#416) * feat: added basic styling + dummy data for forum incl. board, comments and comment form * pulled forum-basic into this branch * feat: filter posts by boardid, boardmenu routing * feat: "basic routing for posts + boards" * Run pnpm fix * fix: available boards Co-authored-by: YHhaoareyou * Recoil installation and defining global states (#417) * created tag modal component * added recoil in root.components.tsx * feat: define recoil state Co-authored-by: Kyoungjun Han * Feature/forum-create-thread-basic (#418) * feat: conditional create thread text area basic * feat: added tags + group buttons w/ basic toggle * feat: added submit btn (not functional) * changed default state of expanded thread input * feat: menuitems json, createthread styling * added number type for boardindex function * Run pnpm fix * Define boards & tags; change structure of dummy threads & comments * Group filter for Forum (#419) * feature: group filter styling * Update groups * feat: Toggle global states for groups when clicking on items in group menu * fix group items structure * feature: filtering function * fix: move filter functions to another file * init School filter form and add scholl icons * feat: switch open status of school filter modal * feat: tab item title, normal and active style * feat: toggle selected group by school filter * feat: moved forum folder to apps * User auth for Forum (#421) * feat: User login & verify auth when opening thread form and creating new thread * chore: add todo message for implementing submitting new thread API * feat: Add auth for comment form * feat: value and onChange func for new thread form * Customize Header for Forum (will replace Header component in other apps) * fix: default host of each microfrontend * added recoil in root.components.tsx * error report to Hao * fix: modal not showing due to wrong classname and attributes * update for jan 5 2023 * sorry it took so long * debug: recover tags modal display after adopting turbo * feat: set header input form as tag modal button * fix: removed bit from forum * fix: updated eslint config * choreL updated package json * fix: remove bit details from npmrc * fix: remove bit token form npmrc * Fix errors when importing common packages (#432) * fix: temporarily comment out error codes in Feeds * fix: update esbuild and fix tailwind build command * fix: temporarily change the target of ReactModal.setAppElement * fix: commented out translation & navigation function and fix typo of color variables * fix: language switch icon size * fix: move i18n config from packages folder to each microfrontend * fix: recover sign in modal * feat: create single-spa app-parcel for Forum * Add explanation for adding new app-parcel in WasedaTime * Comment out routing for Career * Initialize components for Forum * feat: install tailwind in Forum * Add required utilities to Forum * Add Forum icon to navbar * feature/forum-basic-styling (#415) * feat: added basic styling + dummy data for forum incl. board, comments and comment form * fix: arrangement between each section in Forum * fix: code style by eslint Co-authored-by: YHhaoareyou * Feature/forum-basic-routing (#416) * feat: added basic styling + dummy data for forum incl. board, comments and comment form * pulled forum-basic into this branch * feat: filter posts by boardid, boardmenu routing * feat: "basic routing for posts + boards" * Run pnpm fix * fix: available boards Co-authored-by: YHhaoareyou * Recoil installation and defining global states (#417) * created tag modal component * added recoil in root.components.tsx * feat: define recoil state Co-authored-by: Kyoungjun Han * Feature/forum-create-thread-basic (#418) * feat: conditional create thread text area basic * feat: added tags + group buttons w/ basic toggle * feat: added submit btn (not functional) * changed default state of expanded thread input * feat: menuitems json, createthread styling * added number type for boardindex function * Run pnpm fix * Define boards & tags; change structure of dummy threads & comments * Group filter for Forum (#419) * feature: group filter styling * Update groups * feat: Toggle global states for groups when clicking on items in group menu * fix group items structure * feature: filtering function * fix: move filter functions to another file * init School filter form and add scholl icons * feat: switch open status of school filter modal * feat: tab item title, normal and active style * feat: toggle selected group by school filter * feat: moved forum folder to apps * User auth for Forum (#421) * feat: User login & verify auth when opening thread form and creating new thread * chore: add todo message for implementing submitting new thread API * feat: Add auth for comment form * feat: value and onChange func for new thread form * Customize Header for Forum (will replace Header component in other apps) * fix: default host of each microfrontend * added recoil in root.components.tsx * error report to Hao * fix: modal not showing due to wrong classname and attributes * update for jan 5 2023 * sorry it took so long * debug: recover tags modal display after adopting turbo * feat: set header input form as tag modal button * fix: removed bit from forum * fix: updated eslint config * choreL updated package json * fix: remove bit token form npmrc * fix: i18n config and signInModal in Forum * fix: image config in Feeds * Feature/forum get post (#445) * feat: create single-spa app-parcel for Forum * Add explanation for adding new app-parcel in WasedaTime * Comment out routing for Career * Initialize components for Forum * feat: install tailwind in Forum * Add required utilities to Forum * Add Forum icon to navbar * feature/forum-basic-styling (#415) * feat: added basic styling + dummy data for forum incl. board, comments and comment form * fix: arrangement between each section in Forum * fix: code style by eslint Co-authored-by: YHhaoareyou * Feature/forum-basic-routing (#416) * feat: added basic styling + dummy data for forum incl. board, comments and comment form * pulled forum-basic into this branch * feat: filter posts by boardid, boardmenu routing * feat: "basic routing for posts + boards" * Run pnpm fix * fix: available boards Co-authored-by: YHhaoareyou * Recoil installation and defining global states (#417) * created tag modal component * added recoil in root.components.tsx * feat: define recoil state Co-authored-by: Kyoungjun Han * Feature/forum-create-thread-basic (#418) * feat: conditional create thread text area basic * feat: added tags + group buttons w/ basic toggle * feat: added submit btn (not functional) * changed default state of expanded thread input * feat: menuitems json, createthread styling * added number type for boardindex function * Run pnpm fix * Define boards & tags; change structure of dummy threads & comments * Group filter for Forum (#419) * feature: group filter styling * Update groups * feat: Toggle global states for groups when clicking on items in group menu * fix group items structure * feature: filtering function * fix: move filter functions to another file * init School filter form and add scholl icons * feat: switch open status of school filter modal * feat: tab item title, normal and active style * feat: toggle selected group by school filter * feat: moved forum folder to apps * User auth for Forum (#421) * feat: User login & verify auth when opening thread form and creating new thread * chore: add todo message for implementing submitting new thread API * feat: Add auth for comment form * feat: value and onChange func for new thread form * Customize Header for Forum (will replace Header component in other apps) * fix: default host of each microfrontend * added recoil in root.components.tsx * error report to Hao * fix: modal not showing due to wrong classname and attributes * update for jan 5 2023 * sorry it took so long * debug: recover tags modal display after adopting turbo * feat: set header input form as tag modal button * fix: removed bit from forum * fix: updated eslint config * choreL updated package json * fix: remove bit details from npmrc * fix: remove bit token form npmrc * feat: restarting branch * feat: adding changes to new branch * feat: testing * feat: adding dependency localforage * chores: small edits * feat: finishing migrate from branch to branch * feat: deleting two view sections. * feat: adding tags to post model * fix: fixed tag posting * feat: creating school choosing dropdown * chores: small adjustments * feat: updating dropdown will need to change it to something else * Feature/forum update delete post (#444) * feat: add edit and delete button & call delete api * feat: confirm delete thread modal * feat: thread edit modal (form not yet) * feat: edit thread form completed * fix: fixing out API * feat: figuring shit out * fix: undefined colors variable * feat: adding some actions too * Feature/new layout (#441) * feat: new layout * feat: whole new layout will merge to parent branch to get inifinte scroll * fix: fixing actions to compatible version * feat: infinite scroll to load more threads (#442) Co-authored-by: YHhaoareyou * feat: forum restructuring (#443) * feat: initiating new branch for hastags * feat: working on forum homepage now can call all data * feat: forum home func * yo * chorse: getting rid of stuff * feat: major changes added some refresh functionalities --------- Co-authored-by: Kyoungjun Han * feat: new prop fromRoot for link condition * chore: comment out thread edit function and button * chores: deleting comments * feat: display all threads on forum home page * feat: adding comment delete with refresh * feat: adding icon for views --------- Co-authored-by: YHhaoareyou Co-authored-by: Kyoungjun Han --------- Co-authored-by: YHhaoareyou Co-authored-by: Michael Kaminski <91806277+kamlnskll@users.noreply.github.com> Co-authored-by: Kyoungjun Han Co-authored-by: Nicholas Narmada * fix: forum was commeted out * feat: fixing board conditional * feat: fixing thread tag * feat: adding bread crumbs * feat: working but need to fix issue of mounting * feat: tags searching * feat: examining useEffect * fix: add boardId and tags as dependencies for the first useEffect * fix: scroll function activation * feat: adding search tag box * feat: Add board menu in create thread to forum root * feat: adding school selection * feat: draft of tag menu * feat: tweaking with Nicholas component * fix: fixed styling of menu button and dropdown * fix: fixed Nicholas component * feat: added some functionalities for board to tag filtiering * Revert "Merge branch 'develop' of https://github.com/wasedatime/wasedatime-web into feature/forum-basic" This reverts commit 8f529dd122369328f51fc8180bbc5ddc16b4a614, reversing changes made to b098087ecae7ed8f3226a35d9be23004eedcb116. * feat: reverting changes to original * feat: major update * feat: adding styling * feat: adding more styling I guess i am done * feat: additional tag filtering logic * fix: change feeds folder directory * feat: adding FeedBackBox * chore: replace @vitejs/plugin-react-refresh with @vitejs/plugin-react * feat: styling tags and school button * feat: fixing feed back box --------- Co-authored-by: YHhaoareyou Co-authored-by: Michael Kaminski <91806277+kamlnskll@users.noreply.github.com> Co-authored-by: Kyoungjun Han Co-authored-by: Nicholas Narmada * feat: final check on develop now time to deploy * feat: adding type safety to prevent from accessing null length * feat: adding array safety * fix: adding another type safety for response array * feat: adding some common css to see the change * feat: altering styling * feat: adding responive ness * feat: altered timeline new feature add comment logo no more title and tag * feat: changing our mission * feat: enlarging the fontsize of forums. Currently it was just too small (#453) Also changed the original eventlistener for scrolling back to infinite scroll component * fix: fixing App layout and adding onclikc to fix links (#454) * fix: fixing App layout and adding onclikc to fix links * feat: refactoring threadblock structure * chore: fixing tag typo * feat: fixing finalization * feat: adding max width to thread post card * feat: added comment count (#456) * fix: fix new feature image size * feat: adding forum comment notification functionality (#458) * fix: add Forum route to Root App.tsx * fix: add Forum routes with params in Root * chore: add Forum to sitemap * chore: test hard-coded subpath in Forum * fix: remove hard-coded path and add NotFound in Forum * feat: adding images to forums (#460) * feat: adding image indicator * feat: adding boolean flag for page thread * feat: forum-timstamp (#462) * Added Timestamp * feat: localization to JST from UTC --------- Co-authored-by: KTheAsianimeBoi * fix: fixing idToken retreaval function (#464) * fix: fixing feeds * feat: forum time formating with page thread formating (#466) * feat: disabling feeds and campus * fix:login failed error message and post direct url (#468) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot Co-authored-by: Nicholas Narmada <36405403+nichnarmada@users.noreply.github.com> Co-authored-by: YHhaoareyou Co-authored-by: Nicholas Narmada Co-authored-by: Xinyue Tao <96937379+xinyue296@users.noreply.github.com> Co-authored-by: AustinZhu Co-authored-by: Ikko Ashimine Co-authored-by: Michael Kaminski <91806277+kamlnskll@users.noreply.github.com> Co-authored-by: Kyoungjun Han Co-authored-by: KTheAsianimeBoi Co-authored-by: Umar Farooq <33097722+Umar-Mughal@users.noreply.github.com> --- packages/ui/lib/base/Modal.d.ts | 3 +- packages/ui/lib/icons/CrossIcon.d.ts | 3 +- packages/ui/lib/icons/GoogleIcon.d.ts | 3 +- packages/ui/lib/layout/Header.d.ts | 3 +- packages/ui/lib/layout/LanguageMenu.d.ts | 3 +- packages/ui/lib/layout/LoadingSpinner.d.ts | 3 +- packages/ui/lib/layout/SignInModal.d.ts | 3 +- packages/ui/lib/layout/ThemeToggle.d.ts | 3 +- packages/ui/lib/theme/Logo.d.ts | 9 +- packages/ui/lib/wasedatime-ui.es.js | 26682 ++++++++----------- packages/ui/lib/wasedatime-ui.umd.js | 219 +- packages/ui/src/utils/user.ts | 12 +- 12 files changed, 11953 insertions(+), 14993 deletions(-) diff --git a/packages/ui/lib/base/Modal.d.ts b/packages/ui/lib/base/Modal.d.ts index 1d829f2cb..81e389bac 100644 --- a/packages/ui/lib/base/Modal.d.ts +++ b/packages/ui/lib/base/Modal.d.ts @@ -1,4 +1,3 @@ -/// type ModalProps = { isOpen: boolean; children: any; @@ -8,5 +7,5 @@ type ModalProps = { className?: string; onRequestClose?: () => void; }; -export declare const Modal: ({ isOpen, children, closeTimeoutMS, style, overlayClassName, className, onRequestClose, }: ModalProps) => JSX.Element; +export declare const Modal: ({ isOpen, children, closeTimeoutMS, style, overlayClassName, className, onRequestClose, }: ModalProps) => import("react/jsx-runtime").JSX.Element; export default Modal; diff --git a/packages/ui/lib/icons/CrossIcon.d.ts b/packages/ui/lib/icons/CrossIcon.d.ts index 4c97d21e5..a2b62c80d 100644 --- a/packages/ui/lib/icons/CrossIcon.d.ts +++ b/packages/ui/lib/icons/CrossIcon.d.ts @@ -1,2 +1 @@ -/// -export declare const CrossIcon: () => JSX.Element; +export declare const CrossIcon: () => import("react/jsx-runtime").JSX.Element; diff --git a/packages/ui/lib/icons/GoogleIcon.d.ts b/packages/ui/lib/icons/GoogleIcon.d.ts index 2cbe0a1bd..5dc80f22b 100644 --- a/packages/ui/lib/icons/GoogleIcon.d.ts +++ b/packages/ui/lib/icons/GoogleIcon.d.ts @@ -1,2 +1 @@ -/// -export declare const GoogleIcon: () => JSX.Element; +export declare const GoogleIcon: () => import("react/jsx-runtime").JSX.Element; diff --git a/packages/ui/lib/layout/Header.d.ts b/packages/ui/lib/layout/Header.d.ts index 26583ef9d..54915ae87 100644 --- a/packages/ui/lib/layout/Header.d.ts +++ b/packages/ui/lib/layout/Header.d.ts @@ -1,4 +1,3 @@ -/// import { ThemeType } from '../constants/type/theme'; type HeaderProps = { title: string; @@ -11,5 +10,5 @@ type HeaderProps = { theme?: ThemeType; setTheme: (theme: ThemeType) => void; }; -export declare const Header: ({ title, onInputChange, placeholder, inputText, disabled, isBlur, changeLang, theme, setTheme, }: HeaderProps) => JSX.Element; +export declare const Header: ({ title, onInputChange, placeholder, inputText, disabled, isBlur, changeLang, theme, setTheme, }: HeaderProps) => import("react/jsx-runtime").JSX.Element; export {}; diff --git a/packages/ui/lib/layout/LanguageMenu.d.ts b/packages/ui/lib/layout/LanguageMenu.d.ts index 09648c172..f8b6b26e8 100644 --- a/packages/ui/lib/layout/LanguageMenu.d.ts +++ b/packages/ui/lib/layout/LanguageMenu.d.ts @@ -1,8 +1,7 @@ -/// import { ThemeType } from '../constants/type/theme'; interface LanguageMenuProps { theme: ThemeType; changeLang: (lang: string) => void; } -export declare const LanguageMenu: ({ theme, changeLang }: LanguageMenuProps) => JSX.Element; +export declare const LanguageMenu: ({ theme, changeLang }: LanguageMenuProps) => import("react/jsx-runtime").JSX.Element; export {}; diff --git a/packages/ui/lib/layout/LoadingSpinner.d.ts b/packages/ui/lib/layout/LoadingSpinner.d.ts index 20cfa1e27..e4173d235 100644 --- a/packages/ui/lib/layout/LoadingSpinner.d.ts +++ b/packages/ui/lib/layout/LoadingSpinner.d.ts @@ -1,8 +1,7 @@ -/// import { ThemeType } from '../constants/type/theme'; interface LoadingSpinnerProps { message: string; theme: ThemeType; } -export declare const LoadingSpinner: ({ message, theme }: LoadingSpinnerProps) => JSX.Element; +export declare const LoadingSpinner: ({ message, theme }: LoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element; export {}; diff --git a/packages/ui/lib/layout/SignInModal.d.ts b/packages/ui/lib/layout/SignInModal.d.ts index b5cc6fbe3..655621a7d 100644 --- a/packages/ui/lib/layout/SignInModal.d.ts +++ b/packages/ui/lib/layout/SignInModal.d.ts @@ -1,8 +1,7 @@ -/// import { WithTranslation } from "react-i18next"; interface Props extends WithTranslation { isModalOpen: boolean; closeModal: () => void; } -declare const SignInModal: ({ isModalOpen, closeModal, t }: Props) => JSX.Element; +declare const SignInModal: ({ isModalOpen, closeModal, t }: Props) => import("react/jsx-runtime").JSX.Element; export default SignInModal; diff --git a/packages/ui/lib/layout/ThemeToggle.d.ts b/packages/ui/lib/layout/ThemeToggle.d.ts index e85459f76..a0accc323 100644 --- a/packages/ui/lib/layout/ThemeToggle.d.ts +++ b/packages/ui/lib/layout/ThemeToggle.d.ts @@ -1,8 +1,7 @@ -/// import { ThemeType } from '../constants/type/theme'; interface ThemeToggleProps { theme: ThemeType; setTheme: (theme: ThemeType) => void; } -export declare const ThemeToggle: ({ theme, setTheme }: ThemeToggleProps) => JSX.Element; +export declare const ThemeToggle: ({ theme, setTheme }: ThemeToggleProps) => import("react/jsx-runtime").JSX.Element; export {}; diff --git a/packages/ui/lib/theme/Logo.d.ts b/packages/ui/lib/theme/Logo.d.ts index d14162e0b..63e463ddc 100644 --- a/packages/ui/lib/theme/Logo.d.ts +++ b/packages/ui/lib/theme/Logo.d.ts @@ -1,5 +1,4 @@ -/// -export declare const Logo: () => JSX.Element; -export declare const LogoJp: () => JSX.Element; -export declare const SmallLogo: () => JSX.Element; -export declare const SmallLogoJp: () => JSX.Element; +export declare const Logo: () => import("react/jsx-runtime").JSX.Element; +export declare const LogoJp: () => import("react/jsx-runtime").JSX.Element; +export declare const SmallLogo: () => import("react/jsx-runtime").JSX.Element; +export declare const SmallLogoJp: () => import("react/jsx-runtime").JSX.Element; diff --git a/packages/ui/lib/wasedatime-ui.es.js b/packages/ui/lib/wasedatime-ui.es.js index 5c5b4ce1b..3837a2dc0 100644 --- a/packages/ui/lib/wasedatime-ui.es.js +++ b/packages/ui/lib/wasedatime-ui.es.js @@ -1,47 +1,41 @@ -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) { +import * as te from "react"; +import we, { useRef as Ze, useContext as it, createElement as Nt, createContext as sn, forwardRef as Ba, Fragment as Mn, useLayoutEffect as lf, Children as Hh, isValidElement as Hr, cloneElement as qr, useState as vr, useEffect as dt, useMemo as jt, useReducer as qh, createRef as Kh, useCallback as Yu } from "react"; +import * as Gh from "react-dom"; +import Br, { createPortal as Jh } from "react-dom"; +function Xh(e, t) { for (var n = 0; n < t.length; n++) { const r = t[n]; if (typeof r != "string" && !Array.isArray(r)) { - for (const i in r) - if (i !== "default" && !(i in e)) { - const o = Object.getOwnPropertyDescriptor(r, i); - o && Object.defineProperty(e, i, o.get ? o : { + for (const o in r) + if (o !== "default" && !(o in e)) { + const i = Object.getOwnPropertyDescriptor(r, o); + i && Object.defineProperty(e, o, i.get ? i : { enumerable: !0, - get: () => r[i] + get: () => r[o] }); } } } 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 rh(e) { +var Ft = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function vi(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -function Qi(e) { +function To(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); + return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : 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 : { + var o = Object.getOwnPropertyDescriptor(e, r); + Object.defineProperty(n, r, o.get ? o : { enumerable: !0, get: function() { return e[r]; @@ -49,14 +43,7 @@ function Qi(e) { }); }), n; } -var nr = {}, oM = { - get exports() { - return nr; - }, - set exports(e) { - nr = e; - } -}, Re = {}; +var Ps = { exports: {} }, _e = {}; /** * @license React * react-is.production.min.js @@ -66,76 +53,76 @@ var nr = {}, oM = { * 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 sM() { - if (Tc) - return Re; - 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) { +var Fu; +function Zh() { + if (Fu) + return _e; + Fu = 1; + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), M; + M = Symbol.for("react.module.reference"); + function y(m) { if (typeof m == "object" && m !== null) { - var v = m.$$typeof; - switch (v) { + var w = m.$$typeof; + switch (w) { case e: switch (m = m.type, m) { case n: - case i: + case o: case r: - case c: + case u: case l: return m; default: switch (m = m && m.$$typeof, m) { case a: case s: - case u: + case c: case d: case f: - case o: + case i: return m; default: - return v; + return w; } } case t: - return v; + return w; } } } - return Re.ContextConsumer = s, Re.ContextProvider = o, Re.Element = e, Re.ForwardRef = u, Re.Fragment = n, Re.Lazy = d, Re.Memo = f, Re.Portal = t, Re.Profiler = i, Re.StrictMode = r, Re.Suspense = c, Re.SuspenseList = l, Re.isAsyncMode = function() { + return _e.ContextConsumer = s, _e.ContextProvider = i, _e.Element = e, _e.ForwardRef = c, _e.Fragment = n, _e.Lazy = d, _e.Memo = f, _e.Portal = t, _e.Profiler = o, _e.StrictMode = r, _e.Suspense = u, _e.SuspenseList = l, _e.isAsyncMode = function() { return !1; - }, Re.isConcurrentMode = function() { + }, _e.isConcurrentMode = function() { return !1; - }, Re.isContextConsumer = function(m) { - return p(m) === s; - }, Re.isContextProvider = function(m) { - return p(m) === o; - }, Re.isElement = function(m) { + }, _e.isContextConsumer = function(m) { + return y(m) === s; + }, _e.isContextProvider = function(m) { + return y(m) === i; + }, _e.isElement = function(m) { return typeof m == "object" && m !== null && m.$$typeof === e; - }, Re.isForwardRef = function(m) { - return p(m) === u; - }, Re.isFragment = function(m) { - return p(m) === n; - }, Re.isLazy = function(m) { - return p(m) === d; - }, Re.isMemo = function(m) { - return p(m) === f; - }, Re.isPortal = function(m) { - return p(m) === t; - }, Re.isProfiler = function(m) { - return p(m) === i; - }, Re.isStrictMode = function(m) { - return p(m) === r; - }, Re.isSuspense = function(m) { - return p(m) === c; - }, Re.isSuspenseList = function(m) { - return p(m) === l; - }, Re.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); - }, Re.typeOf = p, Re; -} -var Ue = {}; + }, _e.isForwardRef = function(m) { + return y(m) === c; + }, _e.isFragment = function(m) { + return y(m) === n; + }, _e.isLazy = function(m) { + return y(m) === d; + }, _e.isMemo = function(m) { + return y(m) === f; + }, _e.isPortal = function(m) { + return y(m) === t; + }, _e.isProfiler = function(m) { + return y(m) === o; + }, _e.isStrictMode = function(m) { + return y(m) === r; + }, _e.isSuspense = function(m) { + return y(m) === u; + }, _e.isSuspenseList = function(m) { + return y(m) === l; + }, _e.isValidElementType = function(m) { + return typeof m == "string" || typeof m == "function" || m === n || m === o || m === r || m === u || m === l || m === p || typeof m == "object" && m !== null && (m.$$typeof === d || m.$$typeof === f || m.$$typeof === i || m.$$typeof === s || m.$$typeof === c || m.$$typeof === M || m.getModuleId !== void 0); + }, _e.typeOf = y, _e; +} +var ke = {}; /** * @license React * react-is.development.js @@ -145,105 +132,104 @@ 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 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 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 +var Qu; +function eg() { + return Qu || (Qu = 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"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), M = !1, y = !1, m = !1, w = !1, D = !1, N; + N = Symbol.for("react.module.reference"); + function E(X) { + return !!(typeof X == "string" || typeof X == "function" || X === n || X === o || D || X === r || X === u || X === l || w || X === p || M || y || m || typeof X == "object" && X !== null && (X.$$typeof === d || X.$$typeof === f || X.$$typeof === i || X.$$typeof === s || X.$$typeof === c || // 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)); + X.$$typeof === N || X.getModuleId !== void 0)); } - function N(te) { - if (typeof te == "object" && te !== null) { - var le = te.$$typeof; - switch (le) { + function T(X) { + if (typeof X == "object" && X !== null) { + var ue = X.$$typeof; + switch (ue) { case e: - var pe = te.type; - switch (pe) { + var he = X.type; + switch (he) { case n: - case i: + case o: case r: - case c: + case u: case l: - return pe; + return he; default: - var de = pe && pe.$$typeof; - switch (de) { + var le = he && he.$$typeof; + switch (le) { case a: case s: - case u: + case c: case d: case f: - case o: - return de; - default: + case i: return le; + default: + return ue; } } case t: - return le; + return ue; } } } - 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; + var F = s, _ = i, G = e, Q = c, K = n, Z = d, re = f, U = t, j = o, C = r, V = u, S = l, q = !1, ae = !1; + function O(X) { + return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function F(te) { - return re || (re = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; + function z(X) { + return ae || (ae = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function P(te) { - return N(te) === s; + function Y(X) { + return T(X) === s; } - function q(te) { - return N(te) === o; + function W(X) { + return T(X) === i; } - function K(te) { - return typeof te == "object" && te !== null && te.$$typeof === e; + function B(X) { + return typeof X == "object" && X !== null && X.$$typeof === e; } - function X(te) { - return N(te) === u; + function ee(X) { + return T(X) === c; } - function O(te) { - return N(te) === n; + function b(X) { + return T(X) === n; } - function ne(te) { - return N(te) === d; + function ne(X) { + return T(X) === d; } - function G(te) { - return N(te) === f; + function $(X) { + return T(X) === f; } - function he(te) { - return N(te) === t; + function ie(X) { + return T(X) === t; } - function V(te) { - return N(te) === i; + function P(X) { + return T(X) === o; } - function B(te) { - return N(te) === r; + function L(X) { + return T(X) === r; } - function $(te) { - return N(te) === c; + function R(X) { + return T(X) === u; } - function fe(te) { - return N(te) === l; + function ce(X) { + return T(X) === l; } - 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; + ke.ContextConsumer = F, ke.ContextProvider = _, ke.Element = G, ke.ForwardRef = Q, ke.Fragment = K, ke.Lazy = Z, ke.Memo = re, ke.Portal = U, ke.Profiler = j, ke.StrictMode = C, ke.Suspense = V, ke.SuspenseList = S, ke.isAsyncMode = O, ke.isConcurrentMode = z, ke.isContextConsumer = Y, ke.isContextProvider = W, ke.isElement = B, ke.isForwardRef = ee, ke.isFragment = b, ke.isLazy = ne, ke.isMemo = $, ke.isPortal = ie, ke.isProfiler = P, ke.isStrictMode = L, ke.isSuspense = R, ke.isSuspenseList = ce, ke.isValidElementType = E, ke.typeOf = T; + }()), ke; } -(function(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, 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 ($) { +process.env.NODE_ENV === "production" ? Ps.exports = Zh() : Ps.exports = eg(); +var ti = Ps.exports; +function tg(e) { + function t(Y, W, B, ee, b) { + for (var ne = 0, $ = 0, ie = 0, P = 0, L, R, ce = 0, X = 0, ue, he = ue = L = 0, le = 0, A = 0, g = 0, h = 0, I = B.length, k = I - 1, J, H = "", Me = "", Ee = "", Ie = "", Le; le < I; ) { + if (R = B.charCodeAt(le), le === k && $ + P + ie + ne !== 0 && ($ !== 0 && (R = $ === 47 ? 10 : 47), P = ie = ne = 0, I++, k++), $ + P + ie + ne === 0) { + if (le === k && (0 < A && (H = H.replace(d, "")), 0 < H.trim().length)) { + switch (R) { case 32: case 9: case 59: @@ -251,423 +237,423 @@ function uM(e) { case 10: break; default: - Z += K.charAt(de); + H += B.charAt(le); } - $ = 59; + R = 59; } - switch ($) { + switch (R) { case 123: - for (Z = Z.trim(), B = Z.charCodeAt(0), le = 1, M = ++de; de < A; ) { - switch ($ = K.charCodeAt(de)) { + for (H = H.trim(), L = H.charCodeAt(0), ue = 1, h = ++le; le < I; ) { + switch (R = B.charCodeAt(le)) { case 123: - le++; + ue++; break; case 125: - le--; + ue--; break; case 47: - switch ($ = K.charCodeAt(de + 1)) { + switch (R = B.charCodeAt(le + 1)) { case 42: case 47: e: { - for (pe = de + 1; pe < Y; ++pe) - switch (K.charCodeAt(pe)) { + for (he = le + 1; he < k; ++he) + switch (B.charCodeAt(he)) { case 47: - if ($ === 42 && K.charCodeAt(pe - 1) === 42 && de + 2 !== pe) { - de = pe + 1; + if (R === 42 && B.charCodeAt(he - 1) === 42 && le + 2 !== he) { + le = he + 1; break e; } break; case 10: - if ($ === 47) { - de = pe + 1; + if (R === 47) { + le = he + 1; break e; } } - de = pe; + le = he; } } break; case 91: - $++; + R++; case 40: - $++; + R++; case 34: case 39: - for (; de++ < Y && K.charCodeAt(de) !== $; ) + for (; le++ < k && B.charCodeAt(le) !== R; ) ; } - if (le === 0) + if (ue === 0) break; - de++; + le++; } - switch (le = K.substring(M, de), B === 0 && (B = (Z = Z.replace(f, "").trim()).charCodeAt(0)), B) { + switch (ue = B.substring(h, le), L === 0 && (L = (H = H.replace(f, "").trim()).charCodeAt(0)), L) { case 64: - switch (0 < E && (Z = Z.replace(d, "")), $ = Z.charCodeAt(1), $) { + switch (0 < A && (H = H.replace(d, "")), R = H.charCodeAt(1), R) { case 100: case 109: case 115: case 45: - E = q; + A = W; break; default: - E = R; + A = 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 ($) { + if (ue = t(W, A, ue, R, b + 1), h = ue.length, 0 < q && (A = n(V, H, g), Le = a(3, ue, A, W, U, re, h, R, b, ee), H = A.join(""), Le !== void 0 && (h = (ue = Le.trim()).length) === 0 && (R = 0, ue = "")), 0 < h) + switch (R) { case 115: - Z = Z.replace(Q, s); + H = H.replace(F, s); case 100: case 109: case 45: - le = Z + "{" + le + "}"; + ue = H + "{" + ue + "}"; break; case 107: - Z = Z.replace(w, "$1 $2"), le = Z + "{" + le + "}", le = S === 1 || S === 2 && o("@" + le, 3) ? "@-webkit-" + le + "@" + le : "@" + le; + H = H.replace(D, "$1 $2"), ue = H + "{" + ue + "}", ue = C === 1 || C === 2 && i("@" + ue, 3) ? "@-webkit-" + ue + "@" + ue : "@" + ue; break; default: - le = Z + le, X === 112 && (le = (me += le, "")); + ue = H + ue, ee === 112 && (ue = (Me += ue, "")); } else - le = ""; + ue = ""; break; default: - le = t(q, n(q, Z, y), le, X, O + 1); + ue = t(W, n(W, H, g), ue, ee, b + 1); } - Ce += le, le = y = E = pe = B = 0, Z = "", $ = K.charCodeAt(++de); + Ee += ue, ue = g = A = he = L = 0, H = "", R = B.charCodeAt(++le); break; case 125: case 59: - if (Z = (0 < E ? Z.replace(d, "") : Z).trim(), 1 < (M = Z.length)) - 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) { + if (H = (0 < A ? H.replace(d, "") : H).trim(), 1 < (h = H.length)) + switch (he === 0 && (L = H.charCodeAt(0), L === 45 || 96 < L && 123 > L) && (h = (H = H.replace(" ", ":")).length), 0 < q && (Le = a(1, H, W, Y, U, re, Me.length, ee, b, ee)) !== void 0 && (h = (H = Le.trim()).length) === 0 && (H = "\0\0"), L = H.charCodeAt(0), R = H.charCodeAt(1), L) { case 0: break; case 64: - if ($ === 105 || $ === 99) { - Se += Z + K.charAt(de); + if (R === 105 || R === 99) { + Ie += H + B.charAt(le); break; } default: - Z.charCodeAt(M - 1) !== 58 && (me += i(Z, B, $, Z.charCodeAt(2))); + H.charCodeAt(h - 1) !== 58 && (Me += o(H, L, R, H.charCodeAt(2))); } - y = E = pe = B = 0, Z = "", $ = K.charCodeAt(++de); + g = A = he = L = 0, H = "", R = B.charCodeAt(++le); } } - switch ($) { + switch (R) { case 13: case 10: - 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++; + $ === 47 ? $ = 0 : 1 + L === 0 && ee !== 107 && 0 < H.length && (A = 1, H += "\0"), 0 < q * O && a(0, H, W, Y, U, re, Me.length, ee, b, ee), re = 1, U++; break; case 59: case 125: - if (G + V + he + ne === 0) { - U++; + if ($ + P + ie + ne === 0) { + re++; break; } default: - switch (U++, ee = K.charAt(de), $) { + switch (re++, J = B.charAt(le), R) { case 9: case 32: - if (V + ne + G === 0) - switch (fe) { + if (P + ne + $ === 0) + switch (ce) { case 44: case 58: case 9: case 32: - ee = ""; + J = ""; break; default: - $ !== 32 && (ee = " "); + R !== 32 && (J = " "); } break; case 0: - ee = "\\0"; + J = "\\0"; break; case 12: - ee = "\\f"; + J = "\\f"; break; case 11: - ee = "\\v"; + J = "\\v"; break; case 38: - V + G + ne === 0 && (E = y = 1, ee = "\f" + ee); + P + $ + ne === 0 && (A = g = 1, J = "\f" + J); break; case 108: - if (V + G + ne + T === 0 && 0 < pe) - switch (de - pe) { + if (P + $ + ne + j === 0 && 0 < he) + switch (le - he) { case 2: - fe === 112 && K.charCodeAt(de - 3) === 58 && (T = fe); + ce === 112 && B.charCodeAt(le - 3) === 58 && (j = ce); case 8: - te === 111 && (T = te); + X === 111 && (j = X); } break; case 58: - V + G + ne === 0 && (pe = de); + P + $ + ne === 0 && (he = le); break; case 44: - G + he + V + ne === 0 && (E = 1, ee += "\r"); + $ + ie + P + ne === 0 && (A = 1, J += "\r"); break; case 34: case 39: - G === 0 && (V = V === $ ? 0 : V === 0 ? $ : V); + $ === 0 && (P = P === R ? 0 : P === 0 ? R : P); break; case 91: - V + G + he === 0 && ne++; + P + $ + ie === 0 && ne++; break; case 93: - V + G + he === 0 && ne--; + P + $ + ie === 0 && ne--; break; case 41: - V + G + ne === 0 && he--; + P + $ + ne === 0 && ie--; break; case 40: - if (V + G + ne === 0) { - if (B === 0) - switch (2 * fe + 3 * te) { + if (P + $ + ne === 0) { + if (L === 0) + switch (2 * ce + 3 * X) { case 533: break; default: - B = 1; + L = 1; } - he++; + ie++; } break; case 64: - G + he + V + ne + pe + le === 0 && (le = 1); + $ + ie + P + ne + he + ue === 0 && (ue = 1); break; case 42: case 47: - if (!(0 < V + ne + he)) - switch (G) { + if (!(0 < P + ne + ie)) + switch ($) { case 0: - switch (2 * $ + 3 * K.charCodeAt(de + 1)) { + switch (2 * R + 3 * B.charCodeAt(le + 1)) { case 235: - G = 47; + $ = 47; break; case 220: - M = de, G = 42; + h = le, $ = 42; } break; case 42: - $ === 47 && fe === 42 && M + 2 !== de && (K.charCodeAt(M + 2) === 33 && (me += K.substring(M, de + 1)), ee = "", G = 0); + R === 47 && ce === 42 && h + 2 !== le && (B.charCodeAt(h + 2) === 33 && (Me += B.substring(h, le + 1)), J = "", $ = 0); } } - G === 0 && (Z += ee); + $ === 0 && (H += J); } - te = fe, fe = $, de++; + X = ce, ce = R, le++; } - 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) { + if (h = Me.length, 0 < h) { + if (A = W, 0 < q && (Le = a(2, Me, A, Y, U, re, h, ee, b, ee), Le !== void 0 && (Me = Le).length === 0)) + return Ie + Me + Ee; + if (Me = A.join(",") + "{" + Me + "}", C * j !== 0) { + switch (C !== 2 || i(Me, 2) || (j = 0), j) { case 111: - me = me.replace(I, ":-moz-$1") + me; + Me = Me.replace(E, ":-moz-$1") + Me; break; case 112: - me = me.replace(j, "::-webkit-input-$1") + me.replace(j, "::-moz-$1") + me.replace(j, ":-ms-input-$1") + me; + Me = Me.replace(N, "::-webkit-input-$1") + Me.replace(N, "::-moz-$1") + Me.replace(N, ":-ms-input-$1") + Me; } - T = 0; + j = 0; } } - return Se + me + Ce; + return Ie + Me + Ee; } - function n(P, q, K) { - var X = q.trim().split(m); - q = X; - var O = X.length, ne = P.length; + function n(Y, W, B) { + var ee = W.trim().split(m); + W = ee; + var b = ee.length, ne = Y.length; switch (ne) { case 0: case 1: - var G = 0; - for (P = ne === 0 ? "" : P[0] + " "; G < O; ++G) - q[G] = r(P, q[G], K).trim(); + var $ = 0; + for (Y = ne === 0 ? "" : Y[0] + " "; $ < b; ++$) + W[$] = r(Y, W[$], B).trim(); break; default: - var he = G = 0; - for (q = []; G < O; ++G) - for (var V = 0; V < ne; ++V) - q[he++] = r(P[V] + " ", X[G], K).trim(); + var ie = $ = 0; + for (W = []; $ < b; ++$) + for (var P = 0; P < ne; ++P) + W[ie++] = r(Y[P] + " ", ee[$], B).trim(); } - return q; + return W; } - function r(P, q, K) { - var X = q.charCodeAt(0); - switch (33 > X && (X = (q = q.trim()).charCodeAt(0)), X) { + function r(Y, W, B) { + var ee = W.charCodeAt(0); + switch (33 > ee && (ee = (W = W.trim()).charCodeAt(0)), ee) { case 38: - return q.replace(v, "$1" + P.trim()); + return W.replace(w, "$1" + Y.trim()); case 58: - return P.trim() + q.replace(v, "$1" + P.trim()); + return Y.trim() + W.replace(w, "$1" + Y.trim()); default: - if (0 < 1 * K && 0 < q.indexOf("\f")) - return q.replace(v, (P.charCodeAt(0) === 58 ? "" : "$1") + P.trim()); + if (0 < 1 * B && 0 < W.indexOf("\f")) + return W.replace(w, (Y.charCodeAt(0) === 58 ? "" : "$1") + Y.trim()); } - return P + q; + return Y + W; } - function i(P, q, K, X) { - var O = P + ";", ne = 2 * q + 3 * K + 4 * X; + function o(Y, W, B, ee) { + var b = Y + ";", ne = 2 * W + 3 * B + 4 * ee; if (ne === 944) { - P = O.indexOf(":", 9) + 1; - var G = O.substring(P, O.length - 1).trim(); - return G = O.substring(0, P).trim() + G + ";", S === 1 || S === 2 && o(G, 1) ? "-webkit-" + G + G : G; + Y = b.indexOf(":", 9) + 1; + var $ = b.substring(Y, b.length - 1).trim(); + return $ = b.substring(0, Y).trim() + $ + ";", C === 1 || C === 2 && i($, 1) ? "-webkit-" + $ + $ : $; } - if (S === 0 || S === 2 && !o(O, 1)) - return O; + if (C === 0 || C === 2 && !i(b, 1)) + return b; switch (ne) { case 1015: - return O.charCodeAt(10) === 97 ? "-webkit-" + O + O : O; + return b.charCodeAt(10) === 97 ? "-webkit-" + b + b : b; case 951: - return O.charCodeAt(3) === 116 ? "-webkit-" + O + O : O; + return b.charCodeAt(3) === 116 ? "-webkit-" + b + b : b; case 963: - return O.charCodeAt(5) === 110 ? "-webkit-" + O + O : O; + return b.charCodeAt(5) === 110 ? "-webkit-" + b + b : b; case 1009: - if (O.charCodeAt(4) !== 100) + if (b.charCodeAt(4) !== 100) break; case 969: case 942: - return "-webkit-" + O + O; + return "-webkit-" + b + b; case 978: - return "-webkit-" + O + "-moz-" + O + O; + return "-webkit-" + b + "-moz-" + b + b; case 1019: case 983: - return "-webkit-" + O + "-moz-" + O + "-ms-" + O + O; + return "-webkit-" + b + "-moz-" + b + "-ms-" + b + b; case 883: - if (O.charCodeAt(8) === 45) - return "-webkit-" + O + O; - if (0 < O.indexOf("image-set(", 11)) - return O.replace(k, "$1-webkit-$2") + O; + if (b.charCodeAt(8) === 45) + return "-webkit-" + b + b; + if (0 < b.indexOf("image-set(", 11)) + return b.replace(Z, "$1-webkit-$2") + b; break; case 932: - if (O.charCodeAt(4) === 45) - switch (O.charCodeAt(5)) { + if (b.charCodeAt(4) === 45) + switch (b.charCodeAt(5)) { case 103: - return "-webkit-box-" + O.replace("-grow", "") + "-webkit-" + O + "-ms-" + O.replace("grow", "positive") + O; + return "-webkit-box-" + b.replace("-grow", "") + "-webkit-" + b + "-ms-" + b.replace("grow", "positive") + b; case 115: - return "-webkit-" + O + "-ms-" + O.replace("shrink", "negative") + O; + return "-webkit-" + b + "-ms-" + b.replace("shrink", "negative") + b; case 98: - return "-webkit-" + O + "-ms-" + O.replace("basis", "preferred-size") + O; + return "-webkit-" + b + "-ms-" + b.replace("basis", "preferred-size") + b; } - return "-webkit-" + O + "-ms-" + O + O; + return "-webkit-" + b + "-ms-" + b + b; case 964: - return "-webkit-" + O + "-ms-flex-" + O + O; + return "-webkit-" + b + "-ms-flex-" + b + b; case 1023: - if (O.charCodeAt(8) !== 99) + if (b.charCodeAt(8) !== 99) break; - return G = O.substring(O.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + G + "-webkit-" + O + "-ms-flex-pack" + G + O; + return $ = b.substring(b.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + $ + "-webkit-" + b + "-ms-flex-pack" + $ + b; case 1005: - return h.test(O) ? O.replace(g, ":-webkit-") + O.replace(g, ":-moz-") + O : O; + return M.test(b) ? b.replace(p, ":-webkit-") + b.replace(p, ":-moz-") + b : b; case 1e3: - switch (G = O.substring(13).trim(), q = G.indexOf("-") + 1, G.charCodeAt(0) + G.charCodeAt(q)) { + switch ($ = b.substring(13).trim(), W = $.indexOf("-") + 1, $.charCodeAt(0) + $.charCodeAt(W)) { case 226: - G = O.replace(N, "tb"); + $ = b.replace(T, "tb"); break; case 232: - G = O.replace(N, "tb-rl"); + $ = b.replace(T, "tb-rl"); break; case 220: - G = O.replace(N, "lr"); + $ = b.replace(T, "lr"); break; default: - return O; + return b; } - return "-webkit-" + O + "-ms-" + G + O; + return "-webkit-" + b + "-ms-" + $ + b; case 1017: - if (O.indexOf("sticky", 9) === -1) + if (b.indexOf("sticky", 9) === -1) break; case 975: - switch (q = (O = P).length - 10, G = (O.charCodeAt(q) === 33 ? O.substring(0, q) : O).substring(P.indexOf(":", 7) + 1).trim(), ne = G.charCodeAt(0) + (G.charCodeAt(7) | 0)) { + switch (W = (b = Y).length - 10, $ = (b.charCodeAt(W) === 33 ? b.substring(0, W) : b).substring(Y.indexOf(":", 7) + 1).trim(), ne = $.charCodeAt(0) + ($.charCodeAt(7) | 0)) { case 203: - if (111 > G.charCodeAt(8)) + if (111 > $.charCodeAt(8)) break; case 115: - O = O.replace(G, "-webkit-" + G) + ";" + O; + b = b.replace($, "-webkit-" + $) + ";" + b; break; case 207: case 102: - O = O.replace(G, "-webkit-" + (102 < ne ? "inline-" : "") + "box") + ";" + O.replace(G, "-webkit-" + G) + ";" + O.replace(G, "-ms-" + G + "box") + ";" + O; + b = b.replace($, "-webkit-" + (102 < ne ? "inline-" : "") + "box") + ";" + b.replace($, "-webkit-" + $) + ";" + b.replace($, "-ms-" + $ + "box") + ";" + b; } - return O + ";"; + return b + ";"; case 938: - if (O.charCodeAt(5) === 45) - switch (O.charCodeAt(6)) { + if (b.charCodeAt(5) === 45) + switch (b.charCodeAt(6)) { case 105: - return G = O.replace("-items", ""), "-webkit-" + O + "-webkit-box-" + G + "-ms-flex-" + G + O; + return $ = b.replace("-items", ""), "-webkit-" + b + "-webkit-box-" + $ + "-ms-flex-" + $ + b; case 115: - return "-webkit-" + O + "-ms-flex-item-" + O.replace(H, "") + O; + return "-webkit-" + b + "-ms-flex-item-" + b.replace(G, "") + b; default: - return "-webkit-" + O + "-ms-flex-line-pack" + O.replace("align-content", "").replace(H, "") + O; + return "-webkit-" + b + "-ms-flex-line-pack" + b.replace("align-content", "").replace(G, "") + b; } break; case 973: case 989: - if (O.charCodeAt(3) !== 45 || O.charCodeAt(4) === 122) + if (b.charCodeAt(3) !== 45 || b.charCodeAt(4) === 122) break; case 931: case 953: - if (b.test(P) === !0) - return (G = P.substring(P.indexOf(":") + 1)).charCodeAt(0) === 115 ? i(P.replace("stretch", "fill-available"), q, K, X).replace(":fill-available", ":stretch") : O.replace(G, "-webkit-" + G) + O.replace(G, "-moz-" + G.replace("fill-", "")) + O; + if (K.test(Y) === !0) + return ($ = Y.substring(Y.indexOf(":") + 1)).charCodeAt(0) === 115 ? o(Y.replace("stretch", "fill-available"), W, B, ee).replace(":fill-available", ":stretch") : b.replace($, "-webkit-" + $) + b.replace($, "-moz-" + $.replace("fill-", "")) + b; break; case 962: - if (O = "-webkit-" + O + (O.charCodeAt(5) === 102 ? "-ms-" + O : "") + O, K + X === 211 && O.charCodeAt(13) === 105 && 0 < O.indexOf("transform", 10)) - return O.substring(0, O.indexOf(";", 27) + 1).replace(p, "$1-webkit-$2") + O; + if (b = "-webkit-" + b + (b.charCodeAt(5) === 102 ? "-ms-" + b : "") + b, B + ee === 211 && b.charCodeAt(13) === 105 && 0 < b.indexOf("transform", 10)) + return b.substring(0, b.indexOf(";", 27) + 1).replace(y, "$1-webkit-$2") + b; } - return O; + return b; } - 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), re(q !== 2 ? X : X.replace(W, "$1"), K, q); + function i(Y, W) { + var B = Y.indexOf(W === 1 ? ":" : "{"), ee = Y.substring(0, W !== 3 ? B : 10); + return B = Y.substring(B + 1, Y.length - 1), ae(W !== 2 ? ee : ee.replace(Q, "$1"), B, W); } - 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 s(Y, W) { + var B = o(W, W.charCodeAt(0), W.charCodeAt(1), W.charCodeAt(2)); + return B !== W + ";" ? B.replace(_, " or ($1)").substring(4) : "(" + W + ")"; } - 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)) { + function a(Y, W, B, ee, b, ne, $, ie, P, L) { + for (var R = 0, ce = W, X; R < q; ++R) + switch (X = S[R].call(l, Y, ce, B, ee, b, ne, $, ie, P, L)) { case void 0: case !1: case !0: case null: break; default: - fe = te; + ce = X; } - if (fe !== q) - return fe; + if (ce !== W) + return ce; } - function u(P) { - switch (P) { + function c(Y) { + switch (Y) { case void 0: case null: - J = C.length = 0; + q = S.length = 0; break; default: - if (typeof P == "function") - C[J++] = P; - else if (typeof P == "object") - for (var q = 0, K = P.length; q < K; ++q) - u(P[q]); + if (typeof Y == "function") + S[q++] = Y; + else if (typeof Y == "object") + for (var W = 0, B = Y.length; W < B; ++W) + c(Y[W]); else - L = !!P | 0; + O = !!Y | 0; } - return u; + return c; } - function c(P) { - return P = P.prefix, P !== void 0 && (re = null, P ? typeof P != "function" ? S = 1 : (S = 2, re = P) : S = 0), c; + function u(Y) { + return Y = Y.prefix, Y !== void 0 && (ae = null, Y ? typeof Y != "function" ? C = 1 : (C = 2, ae = Y) : C = 0), u; } - function l(P, q) { - var K = P; - if (33 > K.charCodeAt(0) && (K = K.trim()), F = K, K = [F], 0 < J) { - var X = a(-1, q, K, K, x, U, 0, 0, 0, 0); - X !== void 0 && typeof X == "string" && (q = X); + function l(Y, W) { + var B = Y; + if (33 > B.charCodeAt(0) && (B = B.trim()), z = B, B = [z], 0 < q) { + var ee = a(-1, W, B, B, U, re, 0, 0, 0, 0); + ee !== void 0 && typeof ee == "string" && (W = ee); } - 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 b = t(V, B, W, 0, 0); + return 0 < q && (ee = a(-2, b, B, B, U, re, b.length, 0, 0, 0), ee !== void 0 && (b = ee)), z = "", j = 0, re = U = 1, b; } - 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 f = /^\0+/g, d = /[\0\r\f]/g, p = /: */g, M = /zoo|gra/, y = /([,: ])(transform)/g, m = /,\r+?/g, w = /([\t\r\n ])*\f?&/g, D = /@(k\w+)\s*(\S*)\s*/, N = /::(place)/g, E = /:(read-only)/g, T = /[svh]\w+-[tblr]{2}/, F = /\(\s*(.*)\s*\)/g, _ = /([\s\S]*?);/g, G = /-self|flex-/g, Q = /[^]*?(:[rp][el]a[\w-]+)[^]*/, K = /stretch|:\s*\w+\-(?:conte|avail)/, Z = /([^-])(image-set\()/, re = 1, U = 1, j = 0, C = 1, V = [], S = [], q = 0, ae = null, O = 0, z = ""; + return l.use = c, l.set = u, e !== void 0 && u(e), l; } -var cM = { +var ng = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, @@ -715,25 +701,18 @@ var cM = { strokeOpacity: 1, strokeWidth: 1 }; -function ih(e) { +function ff(e) { var t = /* @__PURE__ */ Object.create(null); return function(n) { return t[n] === void 0 && (t[n] = e(n)), t[n]; }; } -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( +var rg = /^((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)-.*))$/, Rs = /* @__PURE__ */ ff( function(e) { - return lM.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; + return rg.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; } /* Z+1 */ -), Ai = {}, fM = { - get exports() { - return Ai; - }, - set exports(e) { - Ai = e; - } -}, Fe = {}; +), Ys = { exports: {} }, ze = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -742,74 +721,74 @@ var lM = /^((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 Sc; -function dM() { - if (Sc) - return Fe; - 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(N) { - if (typeof N == "object" && N !== null) { - var Q = N.$$typeof; - switch (Q) { +var Bu; +function ig() { + if (Bu) + return ze; + Bu = 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, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = 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, p = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119; + function N(T) { + if (typeof T == "object" && T !== null) { + var F = T.$$typeof; + switch (F) { case t: - switch (N = N.type, N) { - case u: + switch (T = T.type, T) { case c: + case u: case r: - case o: case i: + case o: case f: - return N; + return T; default: - switch (N = N && N.$$typeof, N) { + switch (T = T && T.$$typeof, T) { case a: case l: - case h: - case g: + case M: + case p: case s: - return N; + return T; default: - return Q; + return F; } } case n: - return Q; + return F; } } } - 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; + function E(T) { + return N(T) === u; + } + return ze.AsyncMode = c, ze.ConcurrentMode = u, ze.ContextConsumer = a, ze.ContextProvider = s, ze.Element = t, ze.ForwardRef = l, ze.Fragment = r, ze.Lazy = M, ze.Memo = p, ze.Portal = n, ze.Profiler = i, ze.StrictMode = o, ze.Suspense = f, ze.isAsyncMode = function(T) { + return E(T) || N(T) === c; + }, ze.isConcurrentMode = E, ze.isContextConsumer = function(T) { + return N(T) === a; + }, ze.isContextProvider = function(T) { + return N(T) === s; + }, ze.isElement = function(T) { + return typeof T == "object" && T !== null && T.$$typeof === t; + }, ze.isForwardRef = function(T) { + return N(T) === l; + }, ze.isFragment = function(T) { + return N(T) === r; + }, ze.isLazy = function(T) { + return N(T) === M; + }, ze.isMemo = function(T) { + return N(T) === p; + }, ze.isPortal = function(T) { + return N(T) === n; + }, ze.isProfiler = function(T) { + return N(T) === i; + }, ze.isStrictMode = function(T) { + return N(T) === o; + }, ze.isSuspense = function(T) { + return N(T) === f; + }, ze.isValidElementType = function(T) { + return typeof T == "string" || typeof T == "function" || T === r || T === u || T === i || T === o || T === f || T === d || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === p || T.$$typeof === s || T.$$typeof === a || T.$$typeof === l || T.$$typeof === m || T.$$typeof === w || T.$$typeof === D || T.$$typeof === y); + }, ze.typeOf = N, ze; } -var Ye = {}; +var Ue = {}; /** @license React v16.13.1 * react-is.development.js * @@ -818,93 +797,91 @@ 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 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($) { - 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 I($) { - if (typeof $ == "object" && $ !== null) { - var fe = $.$$typeof; - switch (fe) { +var $u; +function og() { + return $u || ($u = 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, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = 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, p = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119; + function N(R) { + return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + R === r || R === u || R === i || R === o || R === f || R === d || typeof R == "object" && R !== null && (R.$$typeof === M || R.$$typeof === p || R.$$typeof === s || R.$$typeof === a || R.$$typeof === l || R.$$typeof === m || R.$$typeof === w || R.$$typeof === D || R.$$typeof === y); + } + function E(R) { + if (typeof R == "object" && R !== null) { + var ce = R.$$typeof; + switch (ce) { case t: - var te = $.type; - switch (te) { - case u: + var X = R.type; + switch (X) { case c: + case u: case r: - case o: case i: + case o: case f: - return te; + return X; default: - var le = te && te.$$typeof; - switch (le) { + var ue = X && X.$$typeof; + switch (ue) { case a: case l: - case h: - case g: + case M: + case p: case s: - return le; + return ue; default: - return fe; + return ce; } } case n: - return fe; + return ce; } } } - 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; + var T = c, F = u, _ = a, G = s, Q = t, K = l, Z = r, re = M, U = p, j = n, C = i, V = o, S = f, q = !1; + function ae(R) { + return q || (q = !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.")), O(R) || E(R) === c; } - function L($) { - return I($) === c; + function O(R) { + return E(R) === u; } - function F($) { - return I($) === a; + function z(R) { + return E(R) === a; } - function P($) { - return I($) === s; + function Y(R) { + return E(R) === s; } - function q($) { - return typeof $ == "object" && $ !== null && $.$$typeof === t; + function W(R) { + return typeof R == "object" && R !== null && R.$$typeof === t; } - function K($) { - return I($) === l; + function B(R) { + return E(R) === l; } - function X($) { - return I($) === r; + function ee(R) { + return E(R) === r; } - function O($) { - return I($) === h; + function b(R) { + return E(R) === M; } - function ne($) { - return I($) === g; + function ne(R) { + return E(R) === p; } - function G($) { - return I($) === n; + function $(R) { + return E(R) === n; } - function he($) { - return I($) === o; + function ie(R) { + return E(R) === i; } - function V($) { - return I($) === i; + function P(R) { + return E(R) === o; } - function B($) { - return I($) === f; + function L(R) { + return E(R) === f; } - 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; + Ue.AsyncMode = T, Ue.ConcurrentMode = F, Ue.ContextConsumer = _, Ue.ContextProvider = G, Ue.Element = Q, Ue.ForwardRef = K, Ue.Fragment = Z, Ue.Lazy = re, Ue.Memo = U, Ue.Portal = j, Ue.Profiler = C, Ue.StrictMode = V, Ue.Suspense = S, Ue.isAsyncMode = ae, Ue.isConcurrentMode = O, Ue.isContextConsumer = z, Ue.isContextProvider = Y, Ue.isElement = W, Ue.isForwardRef = B, Ue.isFragment = ee, Ue.isLazy = b, Ue.isMemo = ne, Ue.isPortal = $, Ue.isProfiler = ie, Ue.isStrictMode = P, Ue.isSuspense = L, Ue.isValidElementType = N, Ue.typeOf = E; + }()), Ue; } -(function(e) { - process.env.NODE_ENV === "production" ? e.exports = dM() : e.exports = hM(); -})(fM); -var bu = Ai, gM = { +process.env.NODE_ENV === "production" ? Ys.exports = ig() : Ys.exports = og(); +var $a = Ys.exports, Wa = $a, sg = { childContextTypes: !0, contextType: !0, contextTypes: !0, @@ -916,7 +893,7 @@ var bu = Ai, gM = { mixins: !0, propTypes: !0, type: !0 -}, pM = { +}, ag = { name: !0, length: !0, prototype: !0, @@ -924,40 +901,40 @@ var bu = Ai, gM = { callee: !0, arguments: !0, arity: !0 -}, MM = { +}, ug = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 -}, oh = { +}, df = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 -}, 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) { +}, Va = {}; +Va[Wa.ForwardRef] = ug; +Va[Wa.Memo] = df; +function Wu(e) { + return Wa.isMemo(e) ? df : Va[e.$$typeof] || sg; +} +var cg = Object.defineProperty, lg = Object.getOwnPropertyNames, Vu = Object.getOwnPropertySymbols, fg = Object.getOwnPropertyDescriptor, dg = Object.getPrototypeOf, Hu = Object.prototype; +function hf(e, t, n) { if (typeof t != "string") { - if (Oc) { - var r = wM(t); - r && r !== Oc && sh(e, r, n); - } - 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 (!pM[u] && !(n && n[u]) && !(s && s[u]) && !(o && o[u])) { - var c = vM(t, u); + if (Hu) { + var r = dg(t); + r && r !== Hu && hf(e, r, n); + } + var o = lg(t); + Vu && (o = o.concat(Vu(t))); + for (var i = Wu(e), s = Wu(t), a = 0; a < o.length; ++a) { + var c = o[a]; + if (!ag[c] && !(n && n[c]) && !(s && s[c]) && !(i && i[c])) { + var u = fg(t, c); try { - yM(e, u, c); + cg(e, c, u); } catch { } } @@ -965,9 +942,10 @@ function sh(e, t, n) { } return e; } -var DM = sh; -function an() { - return (an = Object.assign || function(e) { +var hg = hf; +const gg = /* @__PURE__ */ vi(hg); +function Jt() { + return (Jt = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) @@ -976,23 +954,23 @@ function an() { return e; }).apply(this, arguments); } -var Lc = function(e, t) { - for (var n = [e[0]], r = 0, i = t.length; r < i; r += 1) +var qu = function(e, t) { + for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]); return n; -}, 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) { +}, Fs = function(e) { + return e !== null && typeof e == "object" && (e.toString ? e.toString() : Object.prototype.toString.call(e)) === "[object Object]" && !ti.typeOf(e); +}, Xi = Object.freeze([]), yn = Object.freeze({}); +function ni(e) { return typeof e == "function"; } -function ja(e) { +function Qs(e) { return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component"; } -function xu(e) { +function Ha(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", 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. +var gr = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", qa = typeof window < "u" && "HTMLElement" in window, pg = !!(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")), Mg = 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,105 +1012,105 @@ 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 IM() { +function yg() { 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); + return t.forEach(function(o) { + e = e.replace(/%[a-z]/, o); }), e; } -function Ur(e) { +function wr(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(IM.apply(void 0, [EM[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(yg.apply(void 0, [Mg[e]].concat(n)).trim()); } -var NM = function() { +var mg = 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 < n; i++) - r += this.groupSizes[i]; + for (var r = 0, o = 0; o < n; o++) + r += this.groupSizes[o]; return r; }, 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 && Ur(16, "" + n); - this.groupSizes = new Uint32Array(s), this.groupSizes.set(i), this.length = s; - for (var a = o; a < s; a++) + for (var o = this.groupSizes, i = o.length, s = i; n >= s; ) + (s <<= 1) < 0 && wr(16, "" + n); + this.groupSizes = new Uint32Array(s), this.groupSizes.set(o), this.length = s; + for (var a = i; a < s; a++) this.groupSizes[a] = 0; } - for (var u = this.indexOfGroup(n + 1), c = 0, l = r.length; c < l; c++) - this.tag.insertRule(u, r[c]) && (this.groupSizes[n]++, u++); + for (var c = this.indexOfGroup(n + 1), u = 0, l = r.length; u < l; u++) + this.tag.insertRule(c, r[u]) && (this.groupSizes[n]++, c++); }, t.clearGroup = function(n) { if (n < this.length) { - var r = this.groupSizes[n], i = this.indexOfGroup(n), o = i + r; + var r = this.groupSizes[n], o = this.indexOfGroup(n), i = o + r; this.groupSizes[n] = 0; - for (var s = i; s < o; s++) - this.tag.deleteRule(i); + for (var s = o; s < i; s++) + this.tag.deleteRule(o); } }, t.getGroup = function(n) { var r = ""; if (n >= this.length || this.groupSizes[n] === 0) return r; - for (var i = this.groupSizes[n], o = this.indexOfGroup(n), s = o + i, a = o; a < s; a++) + for (var o = this.groupSizes[n], i = this.indexOfGroup(n), s = i + o, a = i; a < s; a++) r += this.tag.getRule(a) + `/*!sc*/ `; return r; }, e; -}(), 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); -}, xM = function(e, t) { +}(), Bi = /* @__PURE__ */ new Map(), Zi = /* @__PURE__ */ new Map(), Kr = 1, Si = function(e) { + if (Bi.has(e)) + return Bi.get(e); + for (; Zi.has(Kr); ) + Kr++; + var t = Kr++; + return process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1 << 30) && wr(16, "" + t), Bi.set(e, t), Zi.set(t, e), t; +}, vg = function(e) { + return Zi.get(e); +}, wg = function(e, t) { + t >= Kr && (Kr = t + 1), Bi.set(e, t), Zi.set(t, e); +}, Dg = "style[" + gr + '][data-styled-version="5.3.11"]', Ig = new RegExp("^" + gr + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), Ag = function(e, t, n) { + for (var r, o = n.split(","), i = 0, s = o.length; i < s; i++) + (r = o[i]) && e.registerName(t, r); +}, Eg = function(e, t) { for (var n = (t.textContent || "").split(`/*!sc*/ -`), r = [], i = 0, o = n.length; i < o; i++) { - var s = n[i].trim(); +`), r = [], o = 0, i = n.length; o < i; o++) { + var s = n[o].trim(); if (s) { - var a = s.match(bM); + var a = s.match(Ig); if (a) { - var u = 0 | parseInt(a[1], 10), c = a[2]; - u !== 0 && (jM(c, u), CM(e, c, a[3]), e.getTag().insertRules(u, r)), r.length = 0; + var c = 0 | parseInt(a[1], 10), u = a[2]; + c !== 0 && (wg(u, c), Ag(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0; } else r.push(s); } } -}, OM = function() { +}, Tg = function() { return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null; -}, 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]; - if (l && l.nodeType === 1 && l.hasAttribute(Lr)) +}, gf = function(e) { + var t = document.head, n = e || t, r = document.createElement("style"), o = function(a) { + for (var c = a.childNodes, u = c.length; u >= 0; u--) { + var l = c[u]; + if (l && l.nodeType === 1 && l.hasAttribute(gr)) return l; } - }(n), o = i !== void 0 ? i.nextSibling : null; - r.setAttribute(Lr, "active"), r.setAttribute("data-styled-version", "5.3.10"); - var s = OM(); - return s && r.setAttribute("nonce", s), n.insertBefore(r, o), r; -}, LM = function() { + }(n), i = o !== void 0 ? o.nextSibling : null; + r.setAttribute(gr, "active"), r.setAttribute("data-styled-version", "5.3.11"); + var s = Tg(); + return s && r.setAttribute("nonce", s), n.insertBefore(r, i), r; +}, Ng = function() { function e(n) { - var r = this.element = ah(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 < a; s++) { - var u = o[s]; - if (u.ownerNode === i) - return u; + var r = this.element = gf(n); + r.appendChild(document.createTextNode("")), this.sheet = function(o) { + if (o.sheet) + return o.sheet; + for (var i = document.styleSheets, s = 0, a = i.length; s < a; s++) { + var c = i[s]; + if (c.ownerNode === o) + return c; } - Ur(17); + wr(17); }(r), this.length = 0; } var t = e.prototype; @@ -1148,16 +1126,16 @@ var NM = function() { var r = this.sheet.cssRules[n]; return r !== void 0 && typeof r.cssText == "string" ? r.cssText : ""; }, e; -}(), _M = function() { +}(), jg = function() { function e(n) { - var r = this.element = ah(n); + var r = this.element = gf(n); this.nodes = r.childNodes, this.length = 0; } var t = e.prototype; return t.insertRule = function(n, r) { if (n <= this.length && n >= 0) { - var i = document.createTextNode(r), o = this.nodes[n]; - return this.element.insertBefore(i, o || null), this.length++, !0; + var o = document.createTextNode(r), i = this.nodes[n]; + return this.element.insertBefore(o, i || null), this.length++, !0; } return !1; }, t.deleteRule = function(n) { @@ -1165,7 +1143,7 @@ var NM = function() { }, t.getRule = function(n) { return n < this.length ? this.nodes[n].textContent : ""; }, e; -}(), kM = function() { +}(), bg = function() { function e(n) { this.rules = [], this.length = 0; } @@ -1177,350 +1155,348 @@ var NM = function() { }, t.getRule = function(n) { return n < this.length ? this.rules[n] : ""; }, e; -}(), _c = Ou, zM = { isServer: !Ou, useCSSOMInjection: !AM }, uh = function() { - function e(n, r, i) { - 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" && (xM(o, c), c.parentNode && c.parentNode.removeChild(c)); +}(), Ku = qa, Sg = { isServer: !qa, useCSSOMInjection: !pg }, pf = function() { + function e(n, r, o) { + n === void 0 && (n = yn), r === void 0 && (r = {}), this.options = Jt({}, Sg, {}, n), this.gs = r, this.names = new Map(o), this.server = !!n.isServer, !this.server && qa && Ku && (Ku = !1, function(i) { + for (var s = document.querySelectorAll(Dg), a = 0, c = s.length; a < c; a++) { + var u = s[a]; + u && u.getAttribute(gr) !== "active" && (Eg(i, u), u.parentNode && u.parentNode.removeChild(u)); } }(this)); } e.registerId = function(n) { - return eo(n); + return Si(n); }; var t = e.prototype; return t.reconstructWithOptions = function(n, r) { - return r === void 0 && (r = !0), new e(an({}, this.options, {}, n), this.gs, r && this.names || void 0); + return r === void 0 && (r = !0), new e(Jt({}, this.options, {}, n), this.gs, r && this.names || void 0); }, 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 kM(s) : o ? new LM(s) : new _M(s), new NM(n))); - var n, r, i, o, s; + return this.tag || (this.tag = (o = (r = this.options).isServer, i = r.useCSSOMInjection, s = r.target, n = o ? new bg(s) : i ? new Ng(s) : new jg(s), new mg(n))); + var n, r, o, i, s; }, t.hasNameForId = function(n, r) { return this.names.has(n) && this.names.get(n).has(r); }, t.registerName = function(n, r) { - if (eo(n), this.names.has(n)) + if (Si(n), this.names.has(n)) this.names.get(n).add(r); else { - var i = /* @__PURE__ */ new Set(); - i.add(r), this.names.set(n, i); + var o = /* @__PURE__ */ new Set(); + o.add(r), this.names.set(n, o); } - }, t.insertRules = function(n, r, i) { - this.registerName(n, r), this.getTag().insertRules(eo(n), i); + }, t.insertRules = function(n, r, o) { + this.registerName(n, r), this.getTag().insertRules(Si(n), o); }, t.clearNames = function(n) { this.names.has(n) && this.names.get(n).clear(); }, t.clearRules = function(n) { - this.getTag().clearGroup(eo(n)), this.clearNames(n); + this.getTag().clearGroup(Si(n)), this.clearNames(n); }, t.clearTag = function() { this.tag = void 0; }, t.toString = function() { return function(n) { - for (var r = n.getTag(), i = r.length, o = "", s = 0; s < i; s++) { - var a = TM(s); + for (var r = n.getTag(), o = r.length, i = "", s = 0; s < o; s++) { + var a = vg(s); if (a !== void 0) { - var u = n.names.get(a), c = r.getGroup(s); - if (u && c && u.size) { - var l = Lr + ".g" + s + '[id="' + a + '"]', f = ""; - u !== void 0 && u.forEach(function(d) { + var c = n.names.get(a), u = r.getGroup(s); + if (c && u && c.size) { + var l = gr + ".g" + s + '[id="' + a + '"]', f = ""; + c !== void 0 && c.forEach(function(d) { d.length > 0 && (f += d + ","); - }), o += "" + c + l + '{content:"' + f + `"}/*!sc*/ + }), i += "" + u + l + '{content:"' + f + `"}/*!sc*/ `; } } } - return o; + return i; }(this); }, e; -}(), PM = /(a)(d)/gi, kc = function(e) { +}(), xg = /(a)(d)/gi, Gu = function(e) { return String.fromCharCode(e + (e > 25 ? 39 : 97)); }; -function Sa(e) { +function Bs(e) { var t, n = ""; for (t = Math.abs(e); t > 52; t = t / 52 | 0) - n = kc(t % 52) + n; - return (kc(t % 52) + n).replace(PM, "$1-$2"); + n = Gu(t % 52) + n; + return (Gu(t % 52) + n).replace(xg, "$1-$2"); } -var Qn = function(e, t) { +var bn = function(e, t) { for (var n = t.length; n; ) e = 33 * e ^ t.charCodeAt(--n); return e; -}, ch = function(e) { - return Qn(5381, e); +}, Mf = function(e) { + return bn(5381, e); }; -function RM(e) { +function Cg(e) { for (var t = 0; t < e.length; t += 1) { var n = e[t]; - if (Ei(n) && !xu(n)) + if (ni(n) && !Ha(n)) return !1; } return !0; } -var UM = ch("5.3.10"), FM = function() { +var Og = Mf("5.3.11"), Lg = function() { function e(t, n, r) { - 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); + this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && Cg(t), this.componentId = n, this.baseHash = bn(Og, n), this.baseStyle = r, pf.registerId(n); } return e.prototype.generateAndInjectStyles = function(t, n, r) { - var i = this.componentId, o = []; - if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(t, n, r)), this.isStatic && !r.hash) - if (this.staticRulesId && n.hasNameForId(i, this.staticRulesId)) - o.push(this.staticRulesId); + var o = this.componentId, i = []; + if (this.baseStyle && i.push(this.baseStyle.generateAndInjectStyles(t, n, r)), this.isStatic && !r.hash) + if (this.staticRulesId && n.hasNameForId(o, this.staticRulesId)) + i.push(this.staticRulesId); else { - 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); + var s = pr(this.rules, t, n, r).join(""), a = Bs(bn(this.baseHash, s) >>> 0); + if (!n.hasNameForId(o, a)) { + var c = r(s, "." + a, void 0, o); + n.insertRules(o, a, c); } - o.push(a), this.staticRulesId = a; + i.push(a), this.staticRulesId = a; } else { - 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 = Qn(l, g + d)); - else if (g) { - var h = _r(g, t, n, r), p = Array.isArray(h) ? h.join("") : h; - l = Qn(l, p + d), f += p; + for (var u = this.rules.length, l = bn(this.baseHash, r.hash), f = "", d = 0; d < u; d++) { + var p = this.rules[d]; + if (typeof p == "string") + f += p, process.env.NODE_ENV !== "production" && (l = bn(l, p + d)); + else if (p) { + var M = pr(p, t, n, r), y = Array.isArray(M) ? M.join("") : M; + l = bn(l, y + d), f += y; } } if (f) { - var m = Sa(l >>> 0); - if (!n.hasNameForId(i, m)) { - var v = r(f, "." + m, void 0, i); - n.insertRules(i, m, v); + var m = Bs(l >>> 0); + if (!n.hasNameForId(o, m)) { + var w = r(f, "." + m, void 0, o); + n.insertRules(o, m, w); } - o.push(m); + i.push(m); } } - return o.join(" "); + return i.join(" "); }, e; -}(), 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) +}(), _g = /^\s*\/\/.*$/gm, kg = [":", "[", ".", "#"]; +function zg(e) { + var t, n, r, o, i = e === void 0 ? yn : e, s = i.options, a = s === void 0 ? yn : s, c = i.plugins, u = c === void 0 ? Xi : c, l = new tg(a), f = [], d = function(y) { + function m(w) { + if (w) try { - p(v + "}"); + y(w + "}"); } catch { } } - return function(v, w, j, I, N, Q, z, H, W, b) { - switch (v) { + return function(w, D, N, E, T, F, _, G, Q, K) { + switch (w) { case 1: - if (W === 0 && w.charCodeAt(0) === 64) - return p(w + ";"), ""; + if (Q === 0 && D.charCodeAt(0) === 64) + return y(D + ";"), ""; break; case 2: - if (H === 0) - return w + "/*|*/"; + if (G === 0) + return D + "/*|*/"; break; case 3: - switch (H) { + switch (G) { case 102: case 112: - return p(j[0] + w), ""; + return y(N[0] + D), ""; default: - return w + (b === 0 ? "/*|*/" : ""); + return D + (K === 0 ? "/*|*/" : ""); } case -2: - w.split("/*|*/}").forEach(m); + D.split("/*|*/}").forEach(m); } }; - }(function(p) { - f.push(p); - }), g = function(p, m, v) { - return m === 0 && QM.indexOf(v[n.length]) !== -1 || v.match(i) ? p : "." + t; + }(function(y) { + f.push(y); + }), p = function(y, m, w) { + return m === 0 && kg.indexOf(w[n.length]) !== -1 || w.match(o) ? y : "." + t; }; - function h(p, m, v, w) { - w === void 0 && (w = "&"); - 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)); - }, d, function(p) { - if (p === -2) { + function M(y, m, w, D) { + D === void 0 && (D = "&"); + var N = y.replace(_g, ""), E = m && w ? w + " " + m + " { " + N + " }" : N; + return t = D, n = m, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(w || !m ? "" : m, E); + } + return l.use([].concat(u, [function(y, m, w) { + y === 2 && w.length && w[0].lastIndexOf(n) > 0 && (w[0] = w[0].replace(r, p)); + }, d, function(y) { + if (y === -2) { var m = f; return f = [], m; } - }])), h.hash = c.length ? c.reduce(function(p, m) { - return m.name || Ur(15), Qn(p, m.name); - }, 5381).toString() : "", h; + }])), M.hash = u.length ? u.reduce(function(y, m) { + return m.name || wr(15), bn(y, m.name); + }, 5381).toString() : "", M; } -var lh = Te.createContext(); -lh.Consumer; -var fh = Te.createContext(), $M = (fh.Consumer, new uh()), ba = BM(); -function WM() { - return wt(lh) || $M; +var yf = we.createContext(); +yf.Consumer; +var mf = we.createContext(), Ug = (mf.Consumer, new pf()), $s = zg(); +function Pg() { + return it(yf) || Ug; } -function VM() { - return wt(fh) || ba; +function Rg() { + return it(mf) || $s; } -var HM = function() { +var Yg = function() { function e(t, n) { var r = this; - this.inject = function(i, o) { - 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.inject = function(o, i) { + i === void 0 && (i = $s); + var s = r.name + i.hash; + o.hasNameForId(r.id, s) || o.insertRules(r.id, s, i(r.rules, s, "@keyframes")); }, this.toString = function() { - return Ur(12, String(r.name)); + return wr(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 = ba), this.name + t.hash; + return t === void 0 && (t = $s), this.name + t.hash; }, e; -}(), qM = /([A-Z])/, KM = /([A-Z])/g, GM = /^ms-/, JM = function(e) { +}(), Fg = /([A-Z])/, Qg = /([A-Z])/g, Bg = /^ms-/, $g = function(e) { return "-" + e.toLowerCase(); }; -function zc(e) { - return qM.test(e) ? e.replace(KM, JM).replace(GM, "-ms-") : e; +function Ju(e) { + return Fg.test(e) ? e.replace(Qg, $g).replace(Bg, "-ms-") : e; } -var Pc = function(e) { +var Xu = function(e) { return e == null || e === !1 || e === ""; }; -function _r(e, t, n, r) { +function pr(e, t, n, r) { if (Array.isArray(e)) { - for (var i, o = [], s = 0, a = e.length; s < a; s += 1) - (i = _r(e[s], t, n, r)) !== "" && (Array.isArray(i) ? o.push.apply(o, i) : o.push(i)); - return o; + for (var o, i = [], s = 0, a = e.length; s < a; s += 1) + (o = pr(e[s], t, n, r)) !== "" && (Array.isArray(o) ? i.push.apply(i, o) : i.push(o)); + return i; } - if (Pc(e)) + if (Xu(e)) return ""; - if (xu(e)) + if (Ha(e)) return "." + e.styledComponentId; - if (Ei(e)) { - if (typeof (c = e) != "function" || c.prototype && c.prototype.isReactComponent || !t) + if (ni(e)) { + if (typeof (u = e) != "function" || u.prototype && u.prototype.isReactComponent || !t) return e; - var u = e(t); - 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 = e(t); + return process.env.NODE_ENV !== "production" && ti.isElement(c) && console.warn(Qs(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."), pr(c, t, n, r); } - var c; - return e instanceof HM ? n ? (e.inject(n, r), e.getName(r)) : e : Ta(e) ? function l(f, d) { - var g, h, p = []; + var u; + return e instanceof Yg ? n ? (e.inject(n, r), e.getName(r)) : e : Fs(e) ? function l(f, d) { + var p, M, y = []; for (var m in f) - 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; + f.hasOwnProperty(m) && !Xu(f[m]) && (Array.isArray(f[m]) && f[m].isCss || ni(f[m]) ? y.push(Ju(m) + ":", f[m], ";") : Fs(f[m]) ? y.push.apply(y, l(f[m], m)) : y.push(Ju(m) + ": " + (p = m, (M = f[m]) == null || typeof M == "boolean" || M === "" ? "" : typeof M != "number" || M === 0 || p in ng || p.startsWith("--") ? String(M).trim() : M + "px") + ";")); + return d ? [d + " {"].concat(y, ["}"]) : y; }(e) : e.toString(); } -var Rc = function(e) { +var Zu = function(e) { return Array.isArray(e) && (e.isCss = !0), e; }; -function ZM(e) { +function Wg(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 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))); + return ni(e) || Fs(e) ? Zu(pr(qu(Xi, [e].concat(n)))) : n.length === 0 && e.length === 1 && typeof e[0] == "string" ? e : Zu(pr(qu(e, n))); } -var Uc = /invalid hook call/i, to = /* @__PURE__ */ new Set(), XM = function(e, t) { +var ec = /invalid hook call/i, xi = /* @__PURE__ */ new Set(), Vg = 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. 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 (Uc.test(o)) - i = !1, to.delete(n); + var o = !0; + console.error = function(i) { + if (ec.test(i)) + o = !1, xi.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)); + for (var s = arguments.length, a = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++) + a[c - 1] = arguments[c]; + r.apply(void 0, [i].concat(a)); } - }, ot(), i && !to.has(n) && (console.warn(n), to.add(n)); - } catch (o) { - Uc.test(o.message) && to.delete(n); + }, Ze(), o && !xi.has(n) && (console.warn(n), xi.add(n)); + } catch (i) { + ec.test(i.message) && xi.delete(n); } finally { console.error = r; } } -}, 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, ""); +}, Hg = function(e, t, n) { + return n === void 0 && (n = yn), e.theme !== n.theme && e.theme || t || n.theme; +}, qg = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Kg = /(^-|-$)/g; +function cs(e) { + return e.replace(qg, "-").replace(Kg, ""); } -var ry = function(e) { - return Sa(ch(e) >>> 0); +var Gg = function(e) { + return Bs(Mf(e) >>> 0); }; -function no(e) { +function Ci(e) { return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase()); } -var Ca = function(e) { +var Ws = function(e) { return typeof e == "function" || typeof e == "object" && e !== null && !Array.isArray(e); -}, iy = function(e) { +}, Jg = function(e) { return e !== "__proto__" && e !== "constructor" && e !== "prototype"; }; -function oy(e, t, n) { +function Xg(e, t, n) { var r = e[n]; - Ca(t) && Ca(r) ? dh(r, t) : e[n] = t; + Ws(t) && Ws(r) ? vf(r, t) : e[n] = t; } -function dh(e) { +function vf(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 (Ca(s)) + for (var o = 0, i = n; o < i.length; o++) { + var s = i[o]; + if (Ws(s)) for (var a in s) - iy(a) && oy(e, s[a], a); + Jg(a) && Xg(e, s[a], a); } return e; } -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(" + 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); +var wf = we.createContext(); +wf.Consumer; +var ls = {}; +function Df(e, t, n) { + var r = Ha(e), o = !Ci(e), i = t.attrs, s = i === void 0 ? Xi : i, a = t.componentId, c = a === void 0 ? function(D, N) { + var E = typeof D != "string" ? "sc" : cs(D); + ls[E] = (ls[E] || 0) + 1; + var T = E + "-" + Gg("5.3.11" + E + ls[E]); + return N ? N + "-" + T : T; + }(t.displayName, t.parentComponentId) : a, u = t.displayName, l = u === void 0 ? function(D) { + return Ci(D) ? "styled." + D : "Styled(" + Qs(D) + ")"; + }(e) : u, f = t.displayName && t.componentId ? cs(t.displayName) + "-" + t.componentId : t.componentId || c, d = r && e.attrs ? Array.prototype.concat(e.attrs, s).filter(Boolean) : s, p = t.shouldForwardProp; + r && e.shouldForwardProp && (p = t.shouldForwardProp ? function(D, N, E) { + return e.shouldForwardProp(D, N, E) && t.shouldForwardProp(D, N, E); } : e.shouldForwardProp); - 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 = Tn); - var G = an({}, O, { theme: X }), he = {}; - 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]; - }(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, 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); + var M, y = new Lg(n, f, r ? e.componentStyle : void 0), m = y.isStatic && s.length === 0, w = function(D, N) { + return function(E, T, F, _) { + var G = E.attrs, Q = E.componentStyle, K = E.defaultProps, Z = E.foldedComponentIds, re = E.shouldForwardProp, U = E.styledComponentId, j = E.target, C = function(ee, b, ne) { + ee === void 0 && (ee = yn); + var $ = Jt({}, b, { theme: ee }), ie = {}; + return ne.forEach(function(P) { + var L, R, ce, X = P; + for (L in ni(X) && (X = X($)), X) + $[L] = ie[L] = L === "className" ? (R = ie[L], ce = X[L], R && ce ? R + " " + ce : R || ce) : X[L]; + }), [$, ie]; + }(Hg(T, it(wf), K) || yn, T, G), V = C[0], S = C[1], q = function(ee, b, ne, $) { + var ie = Pg(), P = Rg(), L = b ? ee.generateAndInjectStyles(yn, ie, P) : ee.generateAndInjectStyles(ne, ie, P); + return process.env.NODE_ENV !== "production" && !b && $ && $(L), L; + }(Q, _, V, process.env.NODE_ENV !== "production" ? E.warnTooManyClasses : void 0), ae = F, O = S.$as || T.$as || S.as || T.as || j, z = Ci(O), Y = S !== T ? Jt({}, T, {}, S) : T, W = {}; + for (var B in Y) + B[0] !== "$" && B !== "as" && (B === "forwardedAs" ? W.as = Y[B] : (re ? re(B, Rs, O) : !z || Rs(B)) && (W[B] = Y[B])); + return T.style && S.style !== T.style && (W.style = Jt({}, T.style, {}, S.style)), W.className = Array.prototype.concat(Z, U, q !== U ? q : null, T.className, S.className).filter(Boolean).join(" "), W.ref = ae, Nt(O, W); + }(M, D, N, 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) : 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 w.displayName = l, (M = we.forwardRef(w)).attrs = d, M.componentStyle = y, M.displayName = l, M.shouldForwardProp = p, M.foldedComponentIds = r ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : Xi, M.styledComponentId = f, M.target = r ? e.target : e, M.withComponent = function(D) { + var N = t.componentId, E = function(F, _) { + if (F == null) return {}; - 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"]), 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() { + var G, Q, K = {}, Z = Object.keys(F); + for (Q = 0; Q < Z.length; Q++) + G = Z[Q], _.indexOf(G) >= 0 || (K[G] = F[G]); + return K; + }(t, ["componentId"]), T = N && N + "-" + (Ci(D) ? D : cs(Qs(D))); + return Df(D, Jt({}, E, { attrs: d, componentId: T }), n); + }, Object.defineProperty(M, "defaultProps", { get: function() { return this._foldedDefaultProps; - }, set: function(w) { - 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 + `. + }, set: function(D) { + this._foldedDefaultProps = r ? vf({}, e.defaultProps, D) : D; + } }), process.env.NODE_ENV !== "production" && (Vg(l, f), M.warnTooManyClasses = function(D, N) { + var E = {}, T = !1; + return function(F) { + if (!T && (E[F] = !0, Object.keys(E).length >= 200)) { + var _ = N ? ' with the id of "' + N + '"' : ""; + console.warn("Over 200 classes were generated for component " + D + _ + `. Consider using the attrs method, together with a style object for frequently changed styles. Example: const Component = styled.div.attrs(props => ({ @@ -1529,61 +1505,54 @@ Example: }, }))\`width: 100%;\` - `), N = !0, I = {}; + `), T = !0, E = {}; } }; - }(l, f)), Object.defineProperty(h, "toString", { value: function() { - return "." + h.styledComponentId; - } }), i && DM(h, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), h; -} -var xa = function(e) { - return function t(n, r, i) { - if (i === void 0 && (i = Tn), !nr.isValidElementType(r)) - return Ur(1, String(r)); - var o = function() { - return n(r, i, ZM.apply(void 0, arguments)); + }(l, f)), Object.defineProperty(M, "toString", { value: function() { + return "." + M.styledComponentId; + } }), o && gg(M, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), M; +} +var Vs = function(e) { + return function t(n, r, o) { + if (o === void 0 && (o = yn), !ti.isValidElementType(r)) + return wr(1, String(r)); + var i = function() { + return n(r, o, Wg.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; - }(gh, e); + return i.withConfig = function(s) { + return t(n, r, Jt({}, o, {}, s)); + }, i.attrs = function(s) { + return t(n, r, Jt({}, o, { attrs: Array.prototype.concat(o.attrs, s).filter(Boolean) })); + }, i; + }(Df, 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) { - xa[e] = xa(e); + Vs[e] = Vs(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 Zo = xa, ph = Zo("div")` +const No = Vs, If = No("div")` display: flex; flex-direction: column; flex: 1 0 auto; -`, hO = Zo("div")` +`, oS = No("div")` display: flex; flex-direction: row; flex: 1 0 auto; -`, gO = Zo(ph)` +`, sS = No(If)` background-image: url(${(e) => e.background}); background-position: center, center; background-size: cover; background-repeat: no-repeat; -`, sy = Zo("div")` +`, Zg = No("div")` display: flex; flex-direction: column; flex: 1 0 auto; `; -var ge = {}, ay = { - get exports() { - return ge; - }, - set exports(e) { - ge = e; - } -}, Kr = {}; +var Hs = { exports: {} }, xr = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -1593,25 +1562,25 @@ var ge = {}, ay = { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -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; - 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]); +var tc; +function ep() { + if (tc) + return xr; + tc = 1; + var e = we, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 }; + function s(a, c, u) { + var l, f = {}, d = null, p = null; + u !== void 0 && (d = "" + u), c.key !== void 0 && (d = "" + c.key), c.ref !== void 0 && (p = c.ref); + for (l in c) + r.call(c, l) && !i.hasOwnProperty(l) && (f[l] = c[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 }; + for (l in c = a.defaultProps, c) + f[l] === void 0 && (f[l] = c[l]); + return { $$typeof: t, type: a, key: d, ref: p, props: f, _owner: o.current }; } - return Kr.Fragment = n, Kr.jsx = s, Kr.jsxs = s, Kr; + return xr.Fragment = n, xr.jsx = s, xr.jsxs = s, xr; } -var Gr = {}; +var Cr = {}; /** * @license React * react-jsx-runtime.development.js @@ -1621,91 +1590,91 @@ var Gr = {}; * 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 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") +var nc; +function tp() { + return nc || (nc = 1, process.env.NODE_ENV !== "production" && function() { + var e = we, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), M = Symbol.iterator, y = "@@iterator"; + function m(x) { + if (x === null || typeof x != "object") return null; - var ce = h && _[h] || _[p]; - return typeof ce == "function" ? ce : null; + var se = M && x[M] || x[y]; + return typeof se == "function" ? se : null; } - var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function w(_) { + var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function D(x) { { - 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); + for (var se = arguments.length, ge = new Array(se > 1 ? se - 1 : 0), me = 1; me < se; me++) + ge[me - 1] = arguments[me]; + N("error", x, ge); } } - function j(_, ce, Me) { + function N(x, se, ge) { { - var Ae = v.ReactDebugCurrentFrame, Le = Ae.getStackAddendum(); - Le !== "" && (ce += "%s", Me = Me.concat([Le])); - var He = Me.map(function(Oe) { - return String(Oe); + var me = w.ReactDebugCurrentFrame, Se = me.getStackAddendum(); + Se !== "" && (se += "%s", ge = ge.concat([Se])); + var Qe = ge.map(function(Ne) { + return String(Ne); }); - He.unshift("Warning: " + ce), Function.prototype.apply.call(console[_], console, He); + Qe.unshift("Warning: " + se), Function.prototype.apply.call(console[x], console, Qe); } } - 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 || 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 + var E = !1, T = !1, F = !1, _ = !1, G = !1, Q; + Q = Symbol.for("react.module.reference"); + function K(x) { + return !!(typeof x == "string" || typeof x == "function" || x === r || x === i || G || x === o || x === u || x === l || _ || x === p || E || T || F || typeof x == "object" && x !== null && (x.$$typeof === d || x.$$typeof === f || x.$$typeof === s || x.$$typeof === a || x.$$typeof === c || // 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 === W || _.getModuleId !== void 0)); + x.$$typeof === Q || x.getModuleId !== void 0)); } - function k(_, ce, Me) { - var Ae = _.displayName; - if (Ae) - return Ae; - var Le = ce.displayName || ce.name || ""; - return Le !== "" ? Me + "(" + Le + ")" : Me; + function Z(x, se, ge) { + var me = x.displayName; + if (me) + return me; + var Se = se.displayName || se.name || ""; + return Se !== "" ? ge + "(" + Se + ")" : ge; } - function U(_) { - return _.displayName || "Context"; + function re(x) { + return x.displayName || "Context"; } - function x(_) { - if (_ == null) + function U(x) { + if (x == null) return null; - if (typeof _.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof _ == "function") - return _.displayName || _.name || null; - if (typeof _ == "string") - return _; - switch (_) { + if (typeof x.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof x == "function") + return x.displayName || x.name || null; + if (typeof x == "string") + return x; + switch (x) { case r: return "Fragment"; case n: return "Portal"; - case o: - return "Profiler"; case i: + return "Profiler"; + case o: return "StrictMode"; - case c: + case u: return "Suspense"; case l: return "SuspenseList"; } - if (typeof _ == "object") - switch (_.$$typeof) { + if (typeof x == "object") + switch (x.$$typeof) { case a: - var ce = _; - return U(ce) + ".Consumer"; + var se = x; + return re(se) + ".Consumer"; case s: - var Me = _; - return U(Me._context) + ".Provider"; - case u: - return k(_, _.render, "ForwardRef"); + var ge = x; + return re(ge._context) + ".Provider"; + case c: + return Z(x, x.render, "ForwardRef"); case f: - var Ae = _.displayName || null; - return Ae !== null ? Ae : x(_.type) || "Memo"; + var me = x.displayName || null; + return me !== null ? me : U(x.type) || "Memo"; case d: { - var Le = _, He = Le._payload, Oe = Le._init; + var Se = x, Qe = Se._payload, Ne = Se._init; try { - return x(Oe(He)); + return U(Ne(Qe)); } catch { return null; } @@ -1713,594 +1682,578 @@ function cy() { } return null; } - var T = Object.assign, S = 0, R, C, J, re, L, F, P; - function q() { + var j = Object.assign, C = 0, V, S, q, ae, O, z, Y; + function W() { } - q.__reactDisabledLog = !0; - function K() { + W.__reactDisabledLog = !0; + function B() { { - if (S === 0) { - R = console.log, C = console.info, J = console.warn, re = console.error, L = console.group, F = console.groupCollapsed, P = console.groupEnd; - var _ = { + if (C === 0) { + V = console.log, S = console.info, q = console.warn, ae = console.error, O = console.group, z = console.groupCollapsed, Y = console.groupEnd; + var x = { configurable: !0, enumerable: !0, - value: q, + value: W, writable: !0 }; Object.defineProperties(console, { - info: _, - log: _, - warn: _, - error: _, - group: _, - groupCollapsed: _, - groupEnd: _ + info: x, + log: x, + warn: x, + error: x, + group: x, + groupCollapsed: x, + groupEnd: x }); } - S++; + C++; } } - function X() { + function ee() { { - if (S--, S === 0) { - var _ = { + if (C--, C === 0) { + var x = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { - log: T({}, _, { - value: R + log: j({}, x, { + value: V }), - info: T({}, _, { - value: C + info: j({}, x, { + value: S }), - warn: T({}, _, { - value: J + warn: j({}, x, { + value: q }), - error: T({}, _, { - value: re + error: j({}, x, { + value: ae }), - group: T({}, _, { - value: L + group: j({}, x, { + value: O }), - groupCollapsed: T({}, _, { - value: F + groupCollapsed: j({}, x, { + value: z }), - groupEnd: T({}, _, { - value: P + groupEnd: j({}, x, { + value: Y }) }); } - S < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + C < 0 && D("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } - var O = v.ReactCurrentDispatcher, ne; - function G(_, ce, Me) { + var b = w.ReactCurrentDispatcher, ne; + function $(x, se, ge) { { if (ne === void 0) try { throw Error(); - } catch (Le) { - var Ae = Le.stack.trim().match(/\n( *(at )?)/); - ne = Ae && Ae[1] || ""; + } catch (Se) { + var me = Se.stack.trim().match(/\n( *(at )?)/); + ne = me && me[1] || ""; } return ` -` + ne + _; +` + ne + x; } } - var he = !1, V; + var ie = !1, P; { - var B = typeof WeakMap == "function" ? WeakMap : Map; - V = new B(); + var L = typeof WeakMap == "function" ? WeakMap : Map; + P = new L(); } - function $(_, ce) { - if (!_ || he) + function R(x, se) { + if (!x || ie) return ""; { - var Me = V.get(_); - if (Me !== void 0) - return Me; + var ge = P.get(x); + if (ge !== void 0) + return ge; } - var Ae; - he = !0; - var Le = Error.prepareStackTrace; + var me; + ie = !0; + var Se = Error.prepareStackTrace; Error.prepareStackTrace = void 0; - var He; - He = O.current, O.current = null, K(); + var Qe; + Qe = b.current, b.current = null, B(); try { - if (ce) { - var Oe = function() { + if (se) { + var Ne = function() { throw Error(); }; - if (Object.defineProperty(Oe.prototype, "props", { + if (Object.defineProperty(Ne.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { - Reflect.construct(Oe, []); - } catch (nn) { - Ae = nn; + Reflect.construct(Ne, []); + } catch (Ht) { + me = Ht; } - Reflect.construct(_, [], Oe); + Reflect.construct(x, [], Ne); } else { try { - Oe.call(); - } catch (nn) { - Ae = nn; + Ne.call(); + } catch (Ht) { + me = Ht; } - _.call(Oe.prototype); + x.call(Ne.prototype); } } else { try { throw Error(); - } catch (nn) { - Ae = nn; + } catch (Ht) { + me = Ht; } - _(); + x(); } - } catch (nn) { - if (nn && Ae && typeof nn.stack == "string") { - for (var be = nn.stack.split(` -`), yt = Ae.stack.split(` -`), 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) + } catch (Ht) { + if (Ht && me && typeof Ht.stack == "string") { + for (var Ae = Ht.stack.split(` +`), lt = me.stack.split(` +`), Ge = Ae.length - 1, Je = lt.length - 1; Ge >= 1 && Je >= 0 && Ae[Ge] !== lt[Je]; ) + Je--; + for (; Ge >= 1 && Je >= 0; Ge--, Je--) + if (Ae[Ge] !== lt[Je]) { + if (Ge !== 1 || Je !== 1) do - 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; + if (Ge--, Je--, Je < 0 || Ae[Ge] !== lt[Je]) { + var wt = ` +` + Ae[Ge].replace(" at new ", " at "); + return x.displayName && wt.includes("") && (wt = wt.replace("", x.displayName)), typeof x == "function" && P.set(x, wt), wt; } - while (tt >= 1 && rt >= 0); + while (Ge >= 1 && Je >= 0); break; } } } finally { - he = !1, O.current = He, X(), Error.prepareStackTrace = Le; + ie = !1, b.current = Qe, ee(), Error.prepareStackTrace = Se; } - var dr = _ ? _.displayName || _.name : "", Ec = dr ? G(dr) : ""; - return typeof _ == "function" && V.set(_, Ec), Ec; + var Vn = x ? x.displayName || x.name : "", Ru = Vn ? $(Vn) : ""; + return typeof x == "function" && P.set(x, Ru), Ru; } - function fe(_, ce, Me) { - return $(_, !1); + function ce(x, se, ge) { + return R(x, !1); } - function te(_) { - var ce = _.prototype; - return !!(ce && ce.isReactComponent); + function X(x) { + var se = x.prototype; + return !!(se && se.isReactComponent); } - function le(_, ce, Me) { - if (_ == null) + function ue(x, se, ge) { + if (x == null) return ""; - if (typeof _ == "function") - return $(_, te(_)); - if (typeof _ == "string") - return G(_); - switch (_) { - case c: - return G("Suspense"); + if (typeof x == "function") + return R(x, X(x)); + if (typeof x == "string") + return $(x); + switch (x) { + case u: + return $("Suspense"); case l: - return G("SuspenseList"); + return $("SuspenseList"); } - if (typeof _ == "object") - switch (_.$$typeof) { - case u: - return fe(_.render); + if (typeof x == "object") + switch (x.$$typeof) { + case c: + return ce(x.render); case f: - return le(_.type, ce, Me); + return ue(x.type, se, ge); case d: { - var Ae = _, Le = Ae._payload, He = Ae._init; + var me = x, Se = me._payload, Qe = me._init; try { - return le(He(Le), ce, Me); + return ue(Qe(Se), se, ge); } catch { } } } return ""; } - var pe = Object.prototype.hasOwnProperty, de = {}, E = v.ReactDebugCurrentFrame; - function y(_) { - if (_) { - var ce = _._owner, Me = le(_.type, _._source, ce ? ce.type : null); - E.setExtraStackFrame(Me); + var he = Object.prototype.hasOwnProperty, le = {}, A = w.ReactDebugCurrentFrame; + function g(x) { + if (x) { + var se = x._owner, ge = ue(x.type, x._source, se ? se.type : null); + A.setExtraStackFrame(ge); } else - E.setExtraStackFrame(null); + A.setExtraStackFrame(null); } - function M(_, ce, Me, Ae, Le) { + function h(x, se, ge, me, Se) { { - var He = Function.call.bind(pe); - for (var Oe in _) - if (He(_, Oe)) { - var be = void 0; + var Qe = Function.call.bind(he); + for (var Ne in x) + if (Qe(x, Ne)) { + var Ae = void 0; try { - if (typeof _[Oe] != "function") { - 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; + if (typeof x[Ne] != "function") { + var lt = Error((me || "React class") + ": " + ge + " type `" + Ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[Ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); + throw lt.name = "Invariant Violation", lt; } - be = _[Oe](ce, Oe, Ae, Me, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (tt) { - be = tt; + Ae = x[Ne](se, Ne, me, ge, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); + } catch (Ge) { + Ae = Ge; } - 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)); + Ae && !(Ae instanceof Error) && (g(Se), D("%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).", me || "React class", ge, Ne, typeof Ae), g(null)), Ae instanceof Error && !(Ae.message in le) && (le[Ae.message] = !0, g(Se), D("Failed %s type: %s", ge, Ae.message), g(null)); } } } - var A = Array.isArray; - function Y(_) { - return A(_); + var I = Array.isArray; + function k(x) { + return I(x); } - function ee(_) { + function J(x) { { - var ce = typeof Symbol == "function" && Symbol.toStringTag, Me = ce && _[Symbol.toStringTag] || _.constructor.name || "Object"; - return Me; + var se = typeof Symbol == "function" && Symbol.toStringTag, ge = se && x[Symbol.toStringTag] || x.constructor.name || "Object"; + return ge; } } - function Z(_) { + function H(x) { try { - return me(_), !1; + return Me(x), !1; } catch { return !0; } } - function me(_) { - return "" + _; + function Me(x) { + return "" + x; } - 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(_)), me(_); + function Ee(x) { + if (H(x)) + return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J(x)), Me(x); } - var Se = v.ReactCurrentOwner, Pe = { + var Ie = w.ReactCurrentOwner, Le = { key: !0, ref: !0, __self: !0, __source: !0 - }, Ve, De, tn; - tn = {}; - function lr(_) { - if (pe.call(_, "ref")) { - var ce = Object.getOwnPropertyDescriptor(_, "ref").get; - if (ce && ce.isReactWarning) + }, Fe, ye, Vt; + Vt = {}; + function $n(x) { + if (he.call(x, "ref")) { + var se = Object.getOwnPropertyDescriptor(x, "ref").get; + if (se && se.isReactWarning) return !1; } - return _.ref !== void 0; + return x.ref !== void 0; } - function Xi(_) { - if (pe.call(_, "key")) { - var ce = Object.getOwnPropertyDescriptor(_, "key").get; - if (ce && ce.isReactWarning) + function bi(x) { + if (he.call(x, "key")) { + var se = Object.getOwnPropertyDescriptor(x, "key").get; + if (se && se.isReactWarning) return !1; } - return _.key !== void 0; + return x.key !== void 0; } - function Mc(_, ce) { - if (typeof _.ref == "string" && Se.current && ce && Se.current.stateNode !== ce) { - 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 Ou(x, se) { + if (typeof x.ref == "string" && Ie.current && se && Ie.current.stateNode !== se) { + var ge = U(Ie.current.type); + Vt[ge] || (D('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', U(Ie.current.type), x.ref), Vt[ge] = !0); } } - function Yp(_, ce) { + function kh(x, se) { { - 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)); + var ge = function() { + Fe || (Fe = !0, D("%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)", se)); }; - Me.isReactWarning = !0, Object.defineProperty(_, "key", { - get: Me, + ge.isReactWarning = !0, Object.defineProperty(x, "key", { + get: ge, configurable: !0 }); } } - function Qp(_, ce) { + function zh(x, se) { { - 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)); + var ge = function() { + ye || (ye = !0, D("%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)", se)); }; - Me.isReactWarning = !0, Object.defineProperty(_, "ref", { - get: Me, + ge.isReactWarning = !0, Object.defineProperty(x, "ref", { + get: ge, configurable: !0 }); } } - var Bp = function(_, ce, Me, Ae, Le, He, Oe) { - var be = { + var Uh = function(x, se, ge, me, Se, Qe, Ne) { + var Ae = { // 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: Me, - props: Oe, + type: x, + key: se, + ref: ge, + props: Ne, // Record the component responsible for creating this element. - _owner: He + _owner: Qe }; - return be._store = {}, Object.defineProperty(be._store, "validated", { + return Ae._store = {}, Object.defineProperty(Ae._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 - }), Object.defineProperty(be, "_self", { + }), Object.defineProperty(Ae, "_self", { configurable: !1, enumerable: !1, writable: !1, - value: Ae - }), Object.defineProperty(be, "_source", { + value: me + }), Object.defineProperty(Ae, "_source", { configurable: !1, enumerable: !1, writable: !1, - value: Le - }), Object.freeze && (Object.freeze(be.props), Object.freeze(be)), be; + value: Se + }), Object.freeze && (Object.freeze(Ae.props), Object.freeze(Ae)), Ae; }; - function $p(_, ce, Me, Ae, Le) { + function Ph(x, se, ge, me, Se) { { - var He, Oe = {}, be = null, yt = null; - 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) - pe.call(ce, He) && !Pe.hasOwnProperty(He) && (Oe[He] = ce[He]); - if (_ && _.defaultProps) { - var tt = _.defaultProps; - for (He in tt) - Oe[He] === void 0 && (Oe[He] = tt[He]); + var Qe, Ne = {}, Ae = null, lt = null; + ge !== void 0 && (Ee(ge), Ae = "" + ge), bi(se) && (Ee(se.key), Ae = "" + se.key), $n(se) && (lt = se.ref, Ou(se, Se)); + for (Qe in se) + he.call(se, Qe) && !Le.hasOwnProperty(Qe) && (Ne[Qe] = se[Qe]); + if (x && x.defaultProps) { + var Ge = x.defaultProps; + for (Qe in Ge) + Ne[Qe] === void 0 && (Ne[Qe] = Ge[Qe]); } - if (be || yt) { - var rt = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _; - be && Yp(Oe, rt), yt && Qp(Oe, rt); + if (Ae || lt) { + var Je = typeof x == "function" ? x.displayName || x.name || "Unknown" : x; + Ae && kh(Ne, Je), lt && zh(Ne, Je); } - return Bp(_, be, yt, Le, Ae, Se.current, Oe); + return Uh(x, Ae, lt, Se, me, Ie.current, Ne); } } - var Ls = v.ReactCurrentOwner, yc = v.ReactDebugCurrentFrame; - function fr(_) { - if (_) { - var ce = _._owner, Me = le(_.type, _._source, ce ? ce.type : null); - yc.setExtraStackFrame(Me); + var ss = w.ReactCurrentOwner, Lu = w.ReactDebugCurrentFrame; + function Wn(x) { + if (x) { + var se = x._owner, ge = ue(x.type, x._source, se ? se.type : null); + Lu.setExtraStackFrame(ge); } else - yc.setExtraStackFrame(null); + Lu.setExtraStackFrame(null); } - var _s; - _s = !1; - function ks(_) { - return typeof _ == "object" && _ !== null && _.$$typeof === t; + var as; + as = !1; + function us(x) { + return typeof x == "object" && x !== null && x.$$typeof === t; } - function mc() { + function _u() { { - if (Ls.current) { - var _ = x(Ls.current.type); - if (_) + if (ss.current) { + var x = U(ss.current.type); + if (x) return ` -Check the render method of \`` + _ + "`."; +Check the render method of \`` + x + "`."; } return ""; } } - function Wp(_) { + function Rh(x) { { - if (_ !== void 0) { - var ce = _.fileName.replace(/^.*[\\\/]/, ""), Me = _.lineNumber; + if (x !== void 0) { + var se = x.fileName.replace(/^.*[\\\/]/, ""), ge = x.lineNumber; return ` -Check your code at ` + ce + ":" + Me + "."; +Check your code at ` + se + ":" + ge + "."; } return ""; } } - var vc = {}; - function Vp(_) { + var ku = {}; + function Yh(x) { { - var ce = mc(); - if (!ce) { - var Me = typeof _ == "string" ? _ : _.displayName || _.name; - Me && (ce = ` + var se = _u(); + if (!se) { + var ge = typeof x == "string" ? x : x.displayName || x.name; + ge && (se = ` -Check the top-level render call using <` + Me + ">."); +Check the top-level render call using <` + ge + ">."); } - return ce; + return se; } } - function wc(_, ce) { + function zu(x, se) { { - if (!_._store || _._store.validated || _.key != null) + if (!x._store || x._store.validated || x.key != null) return; - _._store.validated = !0; - var Me = Vp(ce); - if (vc[Me]) + x._store.validated = !0; + var ge = Yh(se); + if (ku[ge]) return; - vc[Me] = !0; - var Ae = ""; - _ && _._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); + ku[ge] = !0; + var me = ""; + x && x._owner && x._owner !== ss.current && (me = " It was passed a child from " + U(x._owner.type) + "."), Wn(x), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ge, me), Wn(null); } } - function Dc(_, ce) { + function Uu(x, se) { { - if (typeof _ != "object") + if (typeof x != "object") return; - if (Y(_)) - for (var Me = 0; Me < _.length; Me++) { - var Ae = _[Me]; - ks(Ae) && wc(Ae, ce); + if (k(x)) + for (var ge = 0; ge < x.length; ge++) { + var me = x[ge]; + us(me) && zu(me, se); } - 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; ) - ks(Oe.value) && wc(Oe.value, ce); + else if (us(x)) + x._store && (x._store.validated = !0); + else if (x) { + var Se = m(x); + if (typeof Se == "function" && Se !== x.entries) + for (var Qe = Se.call(x), Ne; !(Ne = Qe.next()).done; ) + us(Ne.value) && zu(Ne.value, se); } } } - function Hp(_) { + function Fh(x) { { - var ce = _.type; - if (ce == null || typeof ce == "string") + var se = x.type; + if (se == null || typeof se == "string") return; - var Me; - if (typeof ce == "function") - Me = ce.propTypes; - else if (typeof ce == "object" && (ce.$$typeof === u || // Note: Memo only checks outer props here. + var ge; + if (typeof se == "function") + ge = se.propTypes; + else if (typeof se == "object" && (se.$$typeof === c || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. - ce.$$typeof === f)) - Me = ce.propTypes; + se.$$typeof === f)) + ge = se.propTypes; else return; - if (Me) { - var Ae = x(ce); - 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"); + if (ge) { + var me = U(se); + h(ge, x.props, "prop", me, x); + } else if (se.PropTypes !== void 0 && !as) { + as = !0; + var Se = U(se); + D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Se || "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."); + typeof se.getDefaultProps == "function" && !se.getDefaultProps.isReactClassApproved && D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } - function qp(_) { + function Qh(x) { { - 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); + for (var se = Object.keys(x.props), ge = 0; ge < se.length; ge++) { + var me = se[ge]; + if (me !== "children" && me !== "key") { + Wn(x), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", me), Wn(null); break; } } - _.ref !== null && (fr(_), w("Invalid attribute `ref` supplied to `React.Fragment`."), fr(null)); + x.ref !== null && (Wn(x), D("Invalid attribute `ref` supplied to `React.Fragment`."), Wn(null)); } } - function Ac(_, ce, Me, Ae, Le, He) { + function Pu(x, se, ge, me, Se, Qe) { { - 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 = 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 Ne = K(x); + if (!Ne) { + var Ae = ""; + (x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (Ae += " 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 lt = Rh(Se); + lt ? Ae += lt : Ae += _u(); + var Ge; + x === null ? Ge = "null" : k(x) ? Ge = "array" : x !== void 0 && x.$$typeof === t ? (Ge = "<" + (U(x.type) || "Unknown") + " />", Ae = " Did you accidentally export a JSX literal instead of a component?") : Ge = typeof x, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ge, Ae); } - var rt = $p(_, ce, Me, Le, He); - if (rt == null) - return rt; - if (Oe) { - var St = ce.children; - if (St !== void 0) - if (Ae) - if (Y(St)) { - for (var dr = 0; dr < St.length; dr++) - Dc(St[dr], _); - Object.freeze && Object.freeze(St); + var Je = Ph(x, se, ge, Se, Qe); + if (Je == null) + return Je; + if (Ne) { + var wt = se.children; + if (wt !== void 0) + if (me) + if (k(wt)) { + for (var Vn = 0; Vn < wt.length; Vn++) + Uu(wt[Vn], x); + Object.freeze && Object.freeze(wt); } 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."); + D("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 - Dc(St, _); + Uu(wt, x); } - return _ === r ? qp(rt) : Hp(rt), rt; + return x === r ? Qh(Je) : Fh(Je), Je; } } - function Kp(_, ce, Me) { - return Ac(_, ce, Me, !0); + function Bh(x, se, ge) { + return Pu(x, se, ge, !0); } - function Gp(_, ce, Me) { - return Ac(_, ce, Me, !1); + function $h(x, se, ge) { + return Pu(x, se, ge, !1); } - var Jp = Gp, Zp = Kp; - Gr.Fragment = r, Gr.jsx = Jp, Gr.jsxs = Zp; - }()), Gr; + var Wh = $h, Vh = Bh; + Cr.Fragment = r, Cr.jsx = Wh, Cr.jsxs = Vh; + }()), Cr; } -(function(e) { - process.env.NODE_ENV === "production" ? e.exports = uy() : e.exports = cy(); -})(ay); -var So = {}, ly = { - get exports() { - return So; - }, - set exports(e) { - So = e; - } -}, rr = {}, D = {}, Qc = { - get exports() { - return D; - }, - set exports(e) { - D = e; - } -}; +process.env.NODE_ENV === "production" ? Hs.exports = ep() : Hs.exports = tp(); +var fe = Hs.exports, qs = { exports: {} }, Fn = {}, Ks = { exports: {} }; /* object-assign (c) Sindre Sorhus @license MIT */ -var Rs, Bc; -function fy() { - if (Bc) - return Rs; - Bc = 1; +var fs, rc; +function np() { + if (rc) + return fs; + rc = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; - function r(o) { - if (o == null) + function r(i) { + if (i == null) throw new TypeError("Object.assign cannot be called with null or undefined"); - return Object(o); + return Object(i); } - function i() { + function o() { try { if (!Object.assign) return !1; - var o = new String("abc"); - if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5") + var i = new String("abc"); + if (i[5] = "de", Object.getOwnPropertyNames(i)[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) { + var c = Object.getOwnPropertyNames(s).map(function(l) { return s[l]; }); - if (u.join("") !== "0123456789") + if (c.join("") !== "0123456789") return !1; - var c = {}; + var u = {}; return "abcdefghijklmnopqrst".split("").forEach(function(l) { - c[l] = l; - }), Object.keys(Object.assign({}, c)).join("") === "abcdefghijklmnopqrst"; + u[l] = l; + }), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } - return Rs = i() ? Object.assign : function(o, s) { - for (var a, u = r(o), c, l = 1; l < arguments.length; l++) { + return fs = o() ? Object.assign : function(i, s) { + for (var a, c = r(i), u, l = 1; l < arguments.length; l++) { a = Object(arguments[l]); for (var f in a) - t.call(a, f) && (u[f] = a[f]); + t.call(a, f) && (c[f] = a[f]); if (e) { - c = e(a); - for (var d = 0; d < c.length; d++) - n.call(a, c[d]) && (u[c[d]] = a[c[d]]); + u = e(a); + for (var d = 0; d < u.length; d++) + n.call(a, u[d]) && (c[u[d]] = a[u[d]]); } } - return u; - }, Rs; + return c; + }, fs; } -var Us, $c; -function Lu() { - if ($c) - return Us; - $c = 1; +var ds, ic; +function Ka() { + if (ic) + return ds; + ic = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return Us = e, Us; + return ds = e, ds; } -var Fs, Wc; -function Mh() { - return Wc || (Wc = 1, Fs = Function.call.bind(Object.prototype.hasOwnProperty)), Fs; +var hs, oc; +function Af() { + return oc || (oc = 1, hs = Function.call.bind(Object.prototype.hasOwnProperty)), hs; } -var Ys, Vc; -function dy() { - if (Vc) - return Ys; - Vc = 1; +var gs, sc; +function rp() { + if (sc) + return gs; + sc = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var t = Lu(), n = {}, r = Mh(); - e = function(o) { - var s = "Warning: " + o; + var t = Ka(), n = {}, r = Af(); + e = function(i) { + var s = "Warning: " + i; typeof console < "u" && console.error(s); try { throw new Error(s); @@ -2308,312 +2261,312 @@ function dy() { } }; } - function i(o, s, a, u, c) { + function o(i, s, a, c, u) { if (process.env.NODE_ENV !== "production") { - for (var l in o) - if (r(o, l)) { + for (var l in i) + if (r(i, l)) { var f; try { - if (typeof o[l] != "function") { + if (typeof i[l] != "function") { var d = Error( - (u || "React class") + ": " + a + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + (c || "React class") + ": " + a + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); throw d.name = "Invariant Violation", d; } - f = o[l](s, l, u, a, null, t); - } catch (h) { - f = h; + f = i[l](s, l, c, a, null, t); + } catch (M) { + f = M; } if (f && !(f instanceof Error) && e( - (u || "React class") + ": type specification of " + a + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." + (c || "React class") + ": type specification of " + a + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." ), f instanceof Error && !(f.message in n)) { n[f.message] = !0; - var g = c ? c() : ""; + var p = u ? u() : ""; e( - "Failed " + a + " type: " + f.message + (g ?? "") + "Failed " + a + " type: " + f.message + (p ?? "") ); } } } } - return i.resetWarningCache = function() { + return o.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (n = {}); - }, 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() { + }, gs = o, gs; +} +var ps, ac; +function ip() { + if (ac) + return ps; + ac = 1; + var e = $a, t = np(), n = Ka(), r = Af(), o = rp(), i = function() { }; - process.env.NODE_ENV !== "production" && (o = function(a) { - var u = "Warning: " + a; - typeof console < "u" && console.error(u); + process.env.NODE_ENV !== "production" && (i = function(a) { + var c = "Warning: " + a; + typeof console < "u" && console.error(c); try { - throw new Error(u); + throw new Error(c); } catch { } }); function s() { return null; } - 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]); - if (typeof F == "function") - return F; - } - var d = "<>", g = { - array: v("array"), - bigint: v("bigint"), - bool: v("boolean"), - func: v("function"), - number: v("number"), - object: v("object"), - string: v("string"), - symbol: v("symbol"), - any: w(), - arrayOf: j, - element: I(), - elementType: N(), - instanceOf: Q, - node: b(), - objectOf: H, - oneOf: z, - oneOfType: W, - shape: U, - exact: x + return ps = function(a, c) { + var u = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator"; + function f(O) { + var z = O && (u && O[u] || O[l]); + if (typeof z == "function") + return z; + } + var d = "<>", p = { + array: w("array"), + bigint: w("bigint"), + bool: w("boolean"), + func: w("function"), + number: w("number"), + object: w("object"), + string: w("string"), + symbol: w("symbol"), + any: D(), + arrayOf: N, + element: E(), + elementType: T(), + instanceOf: F, + node: K(), + objectOf: G, + oneOf: _, + oneOfType: Q, + shape: re, + exact: U }; - function h(L, F) { - return L === F ? L !== 0 || 1 / L === 1 / F : L !== L && F !== F; + function M(O, z) { + return O === z ? O !== 0 || 1 / O === 1 / z : O !== O && z !== z; } - function p(L, F) { - this.message = L, this.data = F && typeof F == "object" ? F : {}, this.stack = ""; + function y(O, z) { + this.message = O, this.data = z && typeof z == "object" ? z : {}, this.stack = ""; } - p.prototype = Error.prototype; - function m(L) { + y.prototype = Error.prototype; + function m(O) { if (process.env.NODE_ENV !== "production") - var F = {}, P = 0; - function q(X, O, ne, G, he, V, B) { - if (G = G || d, V = V || ne, B !== n) { - if (u) { - var $ = new Error( + var z = {}, Y = 0; + function W(ee, b, ne, $, ie, P, L) { + if ($ = $ || d, P = P || ne, L !== n) { + if (c) { + var R = 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 $.name = "Invariant Violation", $; + throw R.name = "Invariant Violation", R; } 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 `" + 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++); + var ce = $ + ":" + ne; + !z[ce] && // Avoid spamming the console because they are often not actionable except for lib authors + Y < 3 && (i( + "You are manually calling a React.PropTypes validation function for the `" + P + "` prop on `" + $ + "`. 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." + ), z[ce] = !0, Y++); } } - 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); + return b[ne] == null ? ee ? b[ne] === null ? new y("The " + ie + " `" + P + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new y("The " + ie + " `" + P + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : O(b, ne, $, ie, P); } - var K = q.bind(null, !1); - return K.isRequired = q.bind(null, !0), K; - } - function v(L) { - function F(P, q, K, X, O, ne) { - var G = P[q], he = R(G); - if (he !== L) { - var V = C(G); - return new p( - "Invalid " + X + " `" + O + "` of type " + ("`" + V + "` supplied to `" + K + "`, expected ") + ("`" + L + "`."), - { expectedType: L } + var B = W.bind(null, !1); + return B.isRequired = W.bind(null, !0), B; + } + function w(O) { + function z(Y, W, B, ee, b, ne) { + var $ = Y[W], ie = V($); + if (ie !== O) { + var P = S($); + return new y( + "Invalid " + ee + " `" + b + "` of type " + ("`" + P + "` supplied to `" + B + "`, expected ") + ("`" + O + "`."), + { expectedType: O } ); } return null; } - return m(F); + return m(z); } - function w() { + function D() { return m(s); } - function j(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 arrayOf."); - var ne = P[q]; + function N(O) { + function z(Y, W, B, ee, b) { + if (typeof O != "function") + return new y("Property `" + b + "` of component `" + B + "` has invalid PropType notation inside arrayOf."); + var ne = Y[W]; if (!Array.isArray(ne)) { - var G = R(ne); - return new p("Invalid " + X + " `" + O + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected an array.")); + var $ = V(ne); + return new y("Invalid " + ee + " `" + b + "` of type " + ("`" + $ + "` supplied to `" + B + "`, expected an array.")); } - for (var he = 0; he < ne.length; he++) { - var V = L(ne, he, K, X, O + "[" + he + "]", n); - if (V instanceof Error) - return V; + for (var ie = 0; ie < ne.length; ie++) { + var P = O(ne, ie, B, ee, b + "[" + ie + "]", n); + if (P instanceof Error) + return P; } return null; } - return m(F); - } - function I() { - function L(F, P, q, K, X) { - var O = F[P]; - if (!a(O)) { - var ne = R(O); - return new p("Invalid " + K + " `" + X + "` of type " + ("`" + ne + "` supplied to `" + q + "`, expected a single ReactElement.")); + return m(z); + } + function E() { + function O(z, Y, W, B, ee) { + var b = z[Y]; + if (!a(b)) { + var ne = V(b); + return new y("Invalid " + B + " `" + ee + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected a single ReactElement.")); } return null; } - return m(L); - } - function N() { - function L(F, P, q, K, X) { - var O = F[P]; - if (!e.isValidElementType(O)) { - var ne = R(O); - return new p("Invalid " + K + " `" + X + "` of type " + ("`" + ne + "` supplied to `" + q + "`, expected a single ReactElement type.")); + return m(O); + } + function T() { + function O(z, Y, W, B, ee) { + var b = z[Y]; + if (!e.isValidElementType(b)) { + var ne = V(b); + return new y("Invalid " + B + " `" + ee + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected a single ReactElement type.")); } return null; } - return m(L); + return m(O); } - function Q(L) { - function F(P, q, K, X, O) { - if (!(P[q] instanceof L)) { - 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 + "`.")); + function F(O) { + function z(Y, W, B, ee, b) { + if (!(Y[W] instanceof O)) { + var ne = O.name || d, $ = ae(Y[W]); + return new y("Invalid " + ee + " `" + b + "` of type " + ("`" + $ + "` supplied to `" + B + "`, expected ") + ("instance of `" + ne + "`.")); } return null; } - return m(F); + return m(z); } - function z(L) { - if (!Array.isArray(L)) - return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o( + function _(O) { + if (!Array.isArray(O)) + return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i( "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, X, O) { - for (var ne = P[q], G = 0; G < L.length; G++) - if (h(ne, L[G])) + ) : i("Invalid argument supplied to oneOf, expected an array.")), s; + function z(Y, W, B, ee, b) { + for (var ne = Y[W], $ = 0; $ < O.length; $++) + if (M(ne, O[$])) return null; - var he = JSON.stringify(L, function(B, $) { - var fe = C($); - return fe === "symbol" ? String($) : $; + var ie = JSON.stringify(O, function(L, R) { + var ce = S(R); + return ce === "symbol" ? String(R) : R; }); - return new p("Invalid " + X + " `" + O + "` of value `" + String(ne) + "` " + ("supplied to `" + K + "`, expected one of " + he + ".")); + return new y("Invalid " + ee + " `" + b + "` of value `" + String(ne) + "` " + ("supplied to `" + B + "`, expected one of " + ie + ".")); } - return m(F); - } - 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."); - var ne = P[q], G = R(ne); - if (G !== "object") - 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 V = L(ne, he, K, X, O + "." + he, n); - if (V instanceof Error) - return V; + return m(z); + } + function G(O) { + function z(Y, W, B, ee, b) { + if (typeof O != "function") + return new y("Property `" + b + "` of component `" + B + "` has invalid PropType notation inside objectOf."); + var ne = Y[W], $ = V(ne); + if ($ !== "object") + return new y("Invalid " + ee + " `" + b + "` of type " + ("`" + $ + "` supplied to `" + B + "`, expected an object.")); + for (var ie in ne) + if (r(ne, ie)) { + var P = O(ne, ie, B, ee, b + "." + ie, n); + if (P instanceof Error) + return P; } return null; } - return m(F); - } - 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++) { - var P = L[F]; - if (typeof P != "function") - return o( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(P) + " at index " + F + "." + return m(z); + } + function Q(O) { + if (!Array.isArray(O)) + return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s; + for (var z = 0; z < O.length; z++) { + var Y = O[z]; + if (typeof Y != "function") + return i( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + q(Y) + " at index " + z + "." ), s; } - function q(K, X, O, ne, G) { - for (var he = [], V = 0; V < L.length; V++) { - var B = L[V], $ = B(K, X, O, ne, G, n); - if ($ == null) + function W(B, ee, b, ne, $) { + for (var ie = [], P = 0; P < O.length; P++) { + var L = O[P], R = L(B, ee, b, ne, $, n); + if (R == null) return null; - $.data && r($.data, "expectedType") && he.push($.data.expectedType); + R.data && r(R.data, "expectedType") && ie.push(R.data.expectedType); } - var fe = he.length > 0 ? ", expected one of type [" + he.join(", ") + "]" : ""; - return new p("Invalid " + ne + " `" + G + "` supplied to " + ("`" + O + "`" + fe + ".")); + var ce = ie.length > 0 ? ", expected one of type [" + ie.join(", ") + "]" : ""; + return new y("Invalid " + ne + " `" + $ + "` supplied to " + ("`" + b + "`" + ce + ".")); } - return m(q); + return m(W); } - function b() { - function L(F, P, q, K, X) { - return T(F[P]) ? null : new p("Invalid " + K + " `" + X + "` supplied to " + ("`" + q + "`, expected a ReactNode.")); + function K() { + function O(z, Y, W, B, ee) { + return j(z[Y]) ? null : new y("Invalid " + B + " `" + ee + "` supplied to " + ("`" + W + "`, expected a ReactNode.")); } - return m(L); + return m(O); } - 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 Z(O, z, Y, W, B) { + return new y( + (O || "React class") + ": " + z + " type `" + Y + "." + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`." ); } - function U(L) { - function F(P, q, K, X, O) { - var ne = P[q], G = R(ne); - if (G !== "object") - return new p("Invalid " + X + " `" + O + "` of type `" + G + "` " + ("supplied to `" + K + "`, expected `object`.")); - for (var he in L) { - 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; + function re(O) { + function z(Y, W, B, ee, b) { + var ne = Y[W], $ = V(ne); + if ($ !== "object") + return new y("Invalid " + ee + " `" + b + "` of type `" + $ + "` " + ("supplied to `" + B + "`, expected `object`.")); + for (var ie in O) { + var P = O[ie]; + if (typeof P != "function") + return Z(B, ee, b, ie, S(P)); + var L = P(ne, ie, B, ee, b + "." + ie, n); + if (L) + return L; } return null; } - return m(F); - } - function x(L) { - function F(P, q, K, X, O) { - var ne = P[q], G = R(ne); - 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 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 `" + V + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(P[q], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(L), null, " ") + return m(z); + } + function U(O) { + function z(Y, W, B, ee, b) { + var ne = Y[W], $ = V(ne); + if ($ !== "object") + return new y("Invalid " + ee + " `" + b + "` of type `" + $ + "` " + ("supplied to `" + B + "`, expected `object`.")); + var ie = t({}, Y[W], O); + for (var P in ie) { + var L = O[P]; + if (r(O, P) && typeof L != "function") + return Z(B, ee, b, P, S(L)); + if (!L) + return new y( + "Invalid " + ee + " `" + b + "` key `" + P + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(Y[W], null, " ") + ` +Valid keys: ` + JSON.stringify(Object.keys(O), null, " ") ); - var $ = B(ne, V, K, X, O + "." + V, n); - if ($) - return $; + var R = L(ne, P, B, ee, b + "." + P, n); + if (R) + return R; } return null; } - return m(F); + return m(z); } - function T(L) { - switch (typeof L) { + function j(O) { + switch (typeof O) { case "number": case "string": case "undefined": return !0; case "boolean": - return !L; + return !O; case "object": - if (Array.isArray(L)) - return L.every(T); - if (L === null || a(L)) + if (Array.isArray(O)) + return O.every(j); + if (O === null || a(O)) return !0; - var F = f(L); - if (F) { - var P = F.call(L), q; - if (F !== L.entries) { - for (; !(q = P.next()).done; ) - if (!T(q.value)) + var z = f(O); + if (z) { + var Y = z.call(O), W; + if (z !== O.entries) { + for (; !(W = Y.next()).done; ) + if (!j(W.value)) return !1; } else - for (; !(q = P.next()).done; ) { - var K = q.value; - if (K && !T(K[1])) + for (; !(W = Y.next()).done; ) { + var B = W.value; + if (B && !j(B[1])) return !1; } } else @@ -2623,57 +2576,57 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ") return !1; } } - function S(L, F) { - return L === "symbol" ? !0 : F ? F["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && F instanceof Symbol : !1; + function C(O, z) { + return O === "symbol" ? !0 : z ? z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && z instanceof Symbol : !1; } - function R(L) { - var F = typeof L; - return Array.isArray(L) ? "array" : L instanceof RegExp ? "object" : S(F, L) ? "symbol" : F; + function V(O) { + var z = typeof O; + return Array.isArray(O) ? "array" : O instanceof RegExp ? "object" : C(z, O) ? "symbol" : z; } - function C(L) { - if (typeof L > "u" || L === null) - return "" + L; - var F = R(L); - if (F === "object") { - if (L instanceof Date) + function S(O) { + if (typeof O > "u" || O === null) + return "" + O; + var z = V(O); + if (z === "object") { + if (O instanceof Date) return "date"; - if (L instanceof RegExp) + if (O instanceof RegExp) return "regexp"; } - return F; + return z; } - function J(L) { - var F = C(L); - switch (F) { + function q(O) { + var z = S(O); + switch (z) { case "array": case "object": - return "an " + F; + return "an " + z; case "boolean": case "date": case "regexp": - return "a " + F; + return "a " + z; default: - return F; + return z; } } - function re(L) { - return !L.constructor || !L.constructor.name ? d : L.constructor.name; + function ae(O) { + return !O.constructor || !O.constructor.name ? d : O.constructor.name; } - return g.checkPropTypes = i, g.resetWarningCache = i.resetWarningCache, g.PropTypes = g, g; - }, Qs; + return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p; + }, ps; } -var Bs, qc; -function gy() { - if (qc) - return Bs; - qc = 1; - var e = Lu(); +var Ms, uc; +function op() { + if (uc) + return Ms; + uc = 1; + var e = Ka(); function t() { } function n() { } - return n.resetWarningCache = t, Bs = function() { - function r(s, a, u, c, l, f) { + return n.resetWarningCache = t, Ms = function() { + function r(s, a, c, u, 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" @@ -2682,10 +2635,10 @@ function gy() { } } r.isRequired = r; - function i() { + function o() { return r; } - var o = { + var i = { array: r, bigint: r, bool: r, @@ -2695,42 +2648,30 @@ function gy() { string: r, symbol: r, any: r, - arrayOf: i, + arrayOf: o, element: r, elementType: r, - instanceOf: i, + instanceOf: o, node: r, - objectOf: i, - oneOf: i, - oneOfType: i, - shape: i, - exact: i, + objectOf: o, + oneOf: o, + oneOfType: o, + shape: o, + exact: o, checkPropTypes: n, resetWarningCache: t }; - return o.PropTypes = o, o; - }, Bs; + return i.PropTypes = i, i; + }, Ms; } if (process.env.NODE_ENV !== "production") { - var py = Ai, My = !0; - Qc.exports = hy()(py.isElement, My); + var sp = $a, ap = !0; + Ks.exports = ip()(sp.isElement, ap); } else - Qc.exports = gy()(); -var bo = {}, yy = { - get exports() { - return bo; - }, - set exports(e) { - bo = e; - } -}, Wt = {}, Ii = {}, my = { - get exports() { - return Ii; - }, - set exports(e) { - Ii = e; - } -}; + Ks.exports = op()(); +var Ga = Ks.exports; +const v = /* @__PURE__ */ vi(Ga); +var Gs = { exports: {} }, kt = {}, Js = { exports: {} }; (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 @@ -2746,8 +2687,8 @@ var bo = {}, yy = { * * http://api.jqueryui.com/category/ui-core/ */ - var n = "none", r = "contents", i = /input|select|textarea|button|object|iframe/; - function o(f, d) { + var n = "none", r = "contents", o = /input|select|textarea|button|object|iframe/; + function i(f, d) { return d.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow f.scrollWidth <= 0 && f.scrollHeight <= 0; } @@ -2756,158 +2697,152 @@ var bo = {}, yy = { 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; + var p = window.getComputedStyle(f), M = p.getPropertyValue("display"); + return d ? M !== r && i(f, p) : M === 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)) + for (var d = f, p = f.getRootNode && f.getRootNode(); d && d !== document.body; ) { + if (p && d === p && (d = p.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, d) { + var p = f.nodeName.toLowerCase(), M = o.test(p) && !f.disabled || p === "a" && f.href || d; + return M && a(f); } - function c(f) { + function u(f) { var d = f.getAttribute("tabindex"); d === null && (d = void 0); - var g = isNaN(d); - return (g || d >= 0) && u(f, !g); + var p = isNaN(d); + return (p || d >= 0) && c(f, !p); } function l(f) { - var d = [].slice.call(f.querySelectorAll("*"), 0).reduce(function(g, h) { - return g.concat(h.shadowRoot ? l(h.shadowRoot) : [h]); + var d = [].slice.call(f.querySelectorAll("*"), 0).reduce(function(p, M) { + return p.concat(M.shadowRoot ? l(M.shadowRoot) : [M]); }, []); - return d.filter(c); + return d.filter(u); } e.exports = t.default; -})(my, Ii); -Object.defineProperty(Wt, "__esModule", { +})(Js, Js.exports); +var Ef = Js.exports; +Object.defineProperty(kt, "__esModule", { value: !0 }); -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) { +kt.resetState = fp; +kt.log = dp; +kt.handleBlur = ri; +kt.handleFocus = ii; +kt.markForFocusLater = hp; +kt.returnFocus = gp; +kt.popWithoutFocus = pp; +kt.setupScopedFocus = Mp; +kt.teardownScopedFocus = yp; +var up = Ef, cp = lp(up); +function lp(e) { return e && e.__esModule ? e : { default: e }; } -var ir = [], Nr = null, Oa = !1; -function Ay() { - ir = []; +var Qn = [], ar = null, Xs = !1; +function fp() { + Qn = []; } -function Ey() { - process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), ir.forEach(function(e) { +function dp() { + process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), Qn.forEach(function(e) { var t = e || {}; console.log(t.nodeName, t.className, t.id); }), console.log("end focusManager ----------")); } -function Ni() { - Oa = !0; +function ri() { + Xs = !0; } -function Ti() { - if (Oa) { - if (Oa = !1, !Nr) +function ii() { + if (Xs) { + if (Xs = !1, !ar) return; setTimeout(function() { - if (!Nr.contains(document.activeElement)) { - var e = (0, wy.default)(Nr)[0] || Nr; + if (!ar.contains(document.activeElement)) { + var e = (0, cp.default)(ar)[0] || ar; e.focus(); } }, 0); } } -function Iy() { - ir.push(document.activeElement); +function hp() { + Qn.push(document.activeElement); } -function Ny() { +function gp() { var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, t = null; try { - ir.length !== 0 && (t = ir.pop(), t.focus({ preventScroll: e })); + Qn.length !== 0 && (t = Qn.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 Ty() { - ir.length > 0 && ir.pop(); +function pp() { + Qn.length > 0 && Qn.pop(); } -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 Mp(e) { + ar = e, window.addEventListener ? (window.addEventListener("blur", ri, !1), document.addEventListener("focus", ii, !0)) : (window.attachEvent("onBlur", ri), document.attachEvent("onFocus", ii)); } -function Sy() { - Nr = null, window.addEventListener ? (window.removeEventListener("blur", Ni), document.removeEventListener("focus", Ti)) : (window.detachEvent("onBlur", Ni), document.detachEvent("onFocus", Ti)); +function yp() { + ar = null, window.addEventListener ? (window.removeEventListener("blur", ri), document.removeEventListener("focus", ii)) : (window.detachEvent("onBlur", ri), document.detachEvent("onFocus", ii)); } -var Co = {}, by = { - get exports() { - return Co; - }, - set exports(e) { - Co = e; - } -}; +var Zs = { exports: {} }; (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = s; - var n = Ii, r = i(n); - function i(a) { + var n = Ef, r = o(n); + function o(a) { return a && a.__esModule ? a : { default: a }; } - function o() { + function i() { var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document; - return a.activeElement.shadowRoot ? o(a.activeElement.shadowRoot) : a.activeElement; + return a.activeElement.shadowRoot ? i(a.activeElement.shadowRoot) : a.activeElement; } - function s(a, u) { - var c = (0, r.default)(a); - if (!c.length) { - u.preventDefault(); + function s(a, c) { + var u = (0, r.default)(a); + if (!u.length) { + c.preventDefault(); return; } - var l = void 0, f = u.shiftKey, d = c[0], g = c[c.length - 1], h = o(); - if (a === h) { + var l = void 0, f = c.shiftKey, d = u[0], p = u[u.length - 1], M = i(); + if (a === M) { if (!f) return; - l = g; + l = p; } - if (g === h && !f && (l = d), d === h && f && (l = g), l) { - u.preventDefault(), l.focus(); + if (p === M && !f && (l = d), d === M && f && (l = p), l) { + c.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; + var y = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), m = y != null && y[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(); + var w = u.indexOf(M); + if (w > -1 && (w += f ? -1 : 1), l = u[w], typeof l > "u") { + c.preventDefault(), l = f ? p : d, l.focus(); return; } - u.preventDefault(), l.focus(); + c.preventDefault(), l.focus(); } } e.exports = t.default; -})(by, Co); -var Vt = {}, Cy = process.env.NODE_ENV !== "production", yh = function() { +})(Zs, Zs.exports); +var mp = Zs.exports, zt = {}, vp = process.env.NODE_ENV !== "production", Tf = function() { }; -if (Cy) { - var xy = function(t, n) { +if (vp) { + var wp = function(t, n) { var r = arguments.length; n = new Array(r > 1 ? r - 1 : 0); - for (var i = 1; i < r; i++) - n[i - 1] = arguments[i]; - var o = 0, s = "Warning: " + t.replace(/%s/g, function() { - return n[o++]; + for (var o = 1; o < r; o++) + n[o - 1] = arguments[o]; + var i = 0, s = "Warning: " + t.replace(/%s/g, function() { + return n[i++]; }); typeof console < "u" && console.error(s); try { @@ -2915,26 +2850,19 @@ if (Cy) { } catch { } }; - yh = function(e, t, n) { + Tf = function(e, t, n) { var r = arguments.length; n = new Array(r > 2 ? r - 2 : 0); - for (var i = 2; i < r; i++) - n[i - 2] = arguments[i]; + for (var o = 2; o < r; o++) + n[o - 2] = arguments[o]; if (t === void 0) throw new Error( "`warning(condition, format, ...args)` requires a warning message argument" ); - e || xy.apply(null, [t].concat(n)); + e || wp.apply(null, [t].concat(n)); }; } -var Oy = yh, Bt = {}, La = {}, Ly = { - get exports() { - return La; - }, - set exports(e) { - La = e; - } -}; +var Dp = Tf, Lt = {}, Nf = { exports: {} }; /*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. @@ -2950,176 +2878,177 @@ var Oy = yh, Bt = {}, La = {}, Ly = { }; e.exports ? e.exports = n : window.ExecutionEnvironment = n; })(); -})(Ly); -Object.defineProperty(Bt, "__esModule", { +})(Nf); +var Ip = Nf.exports; +Object.defineProperty(Lt, "__esModule", { value: !0 }); -Bt.canUseDOM = Bt.SafeNodeList = Bt.SafeHTMLCollection = void 0; -var _y = La, ky = zy(_y); -function zy(e) { +Lt.canUseDOM = Lt.SafeNodeList = Lt.SafeHTMLCollection = void 0; +var Ap = Ip, Ep = Tp(Ap); +function Tp(e) { return e && e.__esModule ? e : { default: e }; } -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", { +var jo = Ep.default, Np = jo.canUseDOM ? window.HTMLElement : {}; +Lt.SafeHTMLCollection = jo.canUseDOM ? window.HTMLCollection : {}; +Lt.SafeNodeList = jo.canUseDOM ? window.NodeList : {}; +Lt.canUseDOM = jo.canUseDOM; +Lt.default = Np; +Object.defineProperty(zt, "__esModule", { value: !0 }); -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) { +zt.resetState = Cp; +zt.log = Op; +zt.assertNodeList = jf; +zt.setElement = Lp; +zt.validateElement = Ja; +zt.hide = _p; +zt.show = kp; +zt.documentNotReadyOrSSRTesting = zp; +var jp = Dp, bp = xp(jp), Sp = Lt; +function xp(e) { return e && e.__esModule ? e : { default: e }; } -var Et = null; -function Qy() { - Et && (Et.removeAttribute ? Et.removeAttribute("aria-hidden") : Et.length != null ? Et.forEach(function(e) { +var pt = null; +function Cp() { + pt && (pt.removeAttribute ? pt.removeAttribute("aria-hidden") : pt.length != null ? pt.forEach(function(e) { return e.removeAttribute("aria-hidden"); - }) : document.querySelectorAll(Et).forEach(function(e) { + }) : document.querySelectorAll(pt).forEach(function(e) { return e.removeAttribute("aria-hidden"); - })), Et = null; + })), pt = null; } -function By() { +function Op() { if (process.env.NODE_ENV !== "production") { - var e = Et || {}; + var e = pt || {}; console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------"); } } -function mh(e, t) { +function jf(e, t) { if (!e || !e.length) throw new Error("react-modal: No elements were found for selector " + t + "."); } -function $y(e) { +function Lp(e) { var t = e; - if (typeof t == "string" && Fy.canUseDOM) { + if (typeof t == "string" && Sp.canUseDOM) { var n = document.querySelectorAll(t); - mh(n, t), t = n; + jf(n, t), t = n; } - return Et = t || Et, Et; + return pt = t || pt, pt; } -function _u(e) { - var t = e || Et; - 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 Ja(e) { + var t = e || pt; + return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, bp.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 Wy(e) { +function _p(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) { - var s = o.value; + for (var o = Ja(e)[Symbol.iterator](), i; !(t = (i = o.next()).done); t = !0) { + var s = i.value; s.setAttribute("aria-hidden", "true"); } } catch (a) { n = !0, r = a; } finally { try { - !t && i.return && i.return(); + !t && o.return && o.return(); } finally { if (n) throw r; } } } -function Vy(e) { +function kp(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) { - var s = o.value; + for (var o = Ja(e)[Symbol.iterator](), i; !(t = (i = o.next()).done); t = !0) { + var s = i.value; s.removeAttribute("aria-hidden"); } } catch (a) { n = !0, r = a; } finally { try { - !t && i.return && i.return(); + !t && o.return && o.return(); } finally { if (n) throw r; } } } -function Hy() { - Et = null; +function zp() { + pt = null; } -var Fr = {}; -Object.defineProperty(Fr, "__esModule", { +var Dr = {}; +Object.defineProperty(Dr, "__esModule", { value: !0 }); -Fr.resetState = qy; -Fr.log = Ky; -var Zn = {}, Xn = {}; -function Kc(e, t) { +Dr.resetState = Up; +Dr.log = Pp; +var zn = {}, Un = {}; +function cc(e, t) { e.classList.remove(t); } -function qy() { +function Up() { var e = document.getElementsByTagName("html")[0]; - for (var t in Zn) - Kc(e, Zn[t]); + for (var t in zn) + cc(e, zn[t]); var n = document.body; - for (var r in Xn) - Kc(n, Xn[r]); - Zn = {}, Xn = {}; + for (var r in Un) + cc(n, Un[r]); + zn = {}, Un = {}; } -function Ky() { +function Pp() { if (process.env.NODE_ENV !== "production") { var e = document.getElementsByTagName("html")[0].className, t = `Show tracked classes: `; t += " (" + e + `): `; - for (var n in Zn) - t += " " + n + " " + Zn[n] + ` + for (var n in zn) + t += " " + n + " " + zn[n] + ` `; e = document.body.className, t += ` doc.body (` + e + `): `; - for (var r in Xn) - t += " " + r + " " + Xn[r] + ` + for (var r in Un) + t += " " + r + " " + Un[r] + ` `; t += ` `, console.log(t); } } -var Gy = function(t, n) { +var Rp = function(t, n) { return t[n] || (t[n] = 0), t[n] += 1, n; -}, Jy = function(t, n) { +}, Yp = function(t, n) { return t[n] && (t[n] -= 1), n; -}, Zy = function(t, n, r) { - r.forEach(function(i) { - Gy(n, i), t.add(i); +}, Fp = function(t, n, r) { + r.forEach(function(o) { + Rp(n, o), t.add(o); }); -}, Xy = function(t, n, r) { - r.forEach(function(i) { - Jy(n, i), n[i] === 0 && t.remove(i); +}, Qp = function(t, n, r) { + r.forEach(function(o) { + Yp(n, o), n[o] === 0 && t.remove(o); }); }; -Fr.add = function(t, n) { - return Zy(t.classList, t.nodeName.toLowerCase() == "html" ? Zn : Xn, n.split(" ")); +Dr.add = function(t, n) { + return Fp(t.classList, t.nodeName.toLowerCase() == "html" ? zn : Un, n.split(" ")); }; -Fr.remove = function(t, n) { - return Xy(t.classList, t.nodeName.toLowerCase() == "html" ? Zn : Xn, n.split(" ")); +Dr.remove = function(t, n) { + return Qp(t.classList, t.nodeName.toLowerCase() == "html" ? zn : Un, n.split(" ")); }; -var Yr = {}; -Object.defineProperty(Yr, "__esModule", { +var Ir = {}; +Object.defineProperty(Ir, "__esModule", { value: !0 }); -Yr.log = tm; -Yr.resetState = nm; -function em(e, t) { +Ir.log = $p; +Ir.resetState = Wp; +function Bp(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -var vh = function e() { +var bf = function e() { var t = this; - em(this, e), this.register = function(n) { + Bp(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,194 +3072,194 @@ var vh = function e() { ); }); }, this.openInstances = [], this.subscribers = []; -}, xo = new vh(); -function tm() { - console.log("portalOpenInstances ----------"), console.log(xo.openInstances.length), xo.openInstances.forEach(function(e) { +}, eo = new bf(); +function $p() { + console.log("portalOpenInstances ----------"), console.log(eo.openInstances.length), eo.openInstances.forEach(function(e) { return console.log(e); }), console.log("end portalOpenInstances ----------"); } -function nm() { - xo = new vh(); +function Wp() { + eo = new bf(); } -Yr.default = xo; -var ku = {}; -Object.defineProperty(ku, "__esModule", { +Ir.default = eo; +var Xa = {}; +Object.defineProperty(Xa, "__esModule", { value: !0 }); -ku.resetState = sm; -ku.log = am; -var rm = Yr, im = om(rm); -function om(e) { +Xa.resetState = Kp; +Xa.log = Gp; +var Vp = Ir, Hp = qp(Vp); +function qp(e) { return e && e.__esModule ? e : { default: e }; } -var gt = void 0, Yt = void 0, er = []; -function sm() { - for (var e = [gt, Yt], t = 0; t < e.length; t++) { +var ut = void 0, xt = void 0, Pn = []; +function Kp() { + for (var e = [ut, xt], t = 0; t < e.length; t++) { var n = e[t]; n && n.parentNode && n.parentNode.removeChild(n); } - gt = Yt = null, er = []; + ut = xt = null, Pn = []; } -function am() { - console.log("bodyTrap ----------"), console.log(er.length); - for (var e = [gt, Yt], t = 0; t < e.length; t++) { +function Gp() { + console.log("bodyTrap ----------"), console.log(Pn.length); + for (var e = [ut, xt], 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 Gc() { - if (er.length === 0) { +function lc() { + if (Pn.length === 0) { process.env.NODE_ENV !== "production" && console.warn("React-Modal: Open instances > 0 expected"); return; } - er[er.length - 1].focusContent(); + Pn[Pn.length - 1].focusContent(); } -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)); +function Jp(e, t) { + !ut && !xt && (ut = document.createElement("div"), ut.setAttribute("data-react-modal-body-trap", ""), ut.style.position = "absolute", ut.style.opacity = "0", ut.setAttribute("tabindex", "0"), ut.addEventListener("focus", lc), xt = ut.cloneNode(), xt.addEventListener("focus", lc)), Pn = t, Pn.length > 0 ? (document.body.firstChild !== ut && document.body.insertBefore(ut, document.body.firstChild), document.body.lastChild !== xt && document.body.appendChild(xt)) : (ut.parentElement && ut.parentElement.removeChild(ut), xt.parentElement && xt.parentElement.removeChild(xt)); } -im.default.subscribe(um); +Hp.default.subscribe(Jp); (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 }); - var n = Object.assign || function(T) { - for (var S = 1; S < arguments.length; S++) { - var R = arguments[S]; - for (var C in R) - Object.prototype.hasOwnProperty.call(R, C) && (T[C] = R[C]); - } - return T; - }, r = 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 = function() { - function T(S, R) { - for (var C = 0; C < R.length; C++) { - var J = R[C]; - J.enumerable = J.enumerable || !1, J.configurable = !0, "value" in J && (J.writable = !0), Object.defineProperty(S, J.key, J); + var n = Object.assign || function(j) { + for (var C = 1; C < arguments.length; C++) { + var V = arguments[C]; + for (var S in V) + Object.prototype.hasOwnProperty.call(V, S) && (j[S] = V[S]); + } + return j; + }, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(j) { + return typeof j; + } : function(j) { + return j && typeof Symbol == "function" && j.constructor === Symbol && j !== Symbol.prototype ? "symbol" : typeof j; + }, o = function() { + function j(C, V) { + for (var S = 0; S < V.length; S++) { + var q = V[S]; + q.enumerable = q.enumerable || !1, q.configurable = !0, "value" in q && (q.writable = !0), Object.defineProperty(C, q.key, q); } } - return function(S, R, C) { - return R && T(S.prototype, R), C && T(S, C), S; + return function(C, V, S) { + return V && j(C.prototype, V), S && j(C, S), C; }; - }(), 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 = {}; - if (T != null) - for (var R in T) - Object.prototype.hasOwnProperty.call(T, R) && (S[R] = T[R]); - return S.default = T, S; - } - function N(T) { - return T && T.__esModule ? T : { default: T }; - } - function Q(T, S) { - if (!(T instanceof S)) + }(), i = we, s = Ga, a = T(s), c = kt, u = E(c), l = mp, f = T(l), d = zt, p = E(d), M = Dr, y = E(M), m = Lt, w = T(m), D = Ir, N = T(D); + function E(j) { + if (j && j.__esModule) + return j; + var C = {}; + if (j != null) + for (var V in j) + Object.prototype.hasOwnProperty.call(j, V) && (C[V] = j[V]); + return C.default = j, C; + } + function T(j) { + return j && j.__esModule ? j : { default: j }; + } + function F(j, C) { + if (!(j instanceof C)) throw new TypeError("Cannot call a class as a function"); } - function z(T, S) { - if (!T) + function _(j, C) { + if (!j) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return S && (typeof S == "object" || typeof S == "function") ? S : T; + return C && (typeof C == "object" || typeof C == "function") ? C : j; } - 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); + function G(j, C) { + if (typeof C != "function" && C !== null) + throw new TypeError("Super expression must either be null or a function, not " + typeof C); + j.prototype = Object.create(C && C.prototype, { constructor: { value: j, enumerable: !1, writable: !0, configurable: !0 } }), C && (Object.setPrototypeOf ? Object.setPrototypeOf(j, C) : j.__proto__ = C); } - var W = { + var Q = { overlay: "ReactModal__Overlay", content: "ReactModal__Content" - }, b = function(S) { - return S.code === "Tab" || S.keyCode === 9; - }, k = function(S) { - return S.code === "Escape" || S.keyCode === 27; - }, U = 0, x = function(T) { - H(S, T); - function S(R) { - 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, 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() { - C.setState({ afterOpen: !0 }), C.props.isOpen && C.props.onAfterOpen && C.props.onAfterOpen({ - overlayEl: C.overlay, - contentEl: C.content + }, K = function(C) { + return C.code === "Tab" || C.keyCode === 9; + }, Z = function(C) { + return C.code === "Escape" || C.keyCode === 27; + }, re = 0, U = function(j) { + G(C, j); + function C(V) { + F(this, C); + var S = _(this, (C.__proto__ || Object.getPrototypeOf(C)).call(this, V)); + return S.setOverlayRef = function(q) { + S.overlay = q, S.props.overlayRef && S.props.overlayRef(q); + }, S.setContentRef = function(q) { + S.content = q, S.props.contentRef && S.props.contentRef(q); + }, S.afterClose = function() { + var q = S.props, ae = q.appElement, O = q.ariaHideApp, z = q.htmlOpenClassName, Y = q.bodyOpenClassName, W = q.parentSelector, B = W && W().ownerDocument || document; + Y && y.remove(B.body, Y), z && y.remove(B.getElementsByTagName("html")[0], z), O && re > 0 && (re -= 1, re === 0 && p.show(ae)), S.props.shouldFocusAfterRender && (S.props.shouldReturnFocusAfterClose ? (u.returnFocus(S.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), S.props.onAfterClose && S.props.onAfterClose(), N.default.deregister(S); + }, S.open = function() { + S.beforeOpen(), S.state.afterOpen && S.state.beforeClose ? (clearTimeout(S.closeTimer), S.setState({ beforeClose: !1 })) : (S.props.shouldFocusAfterRender && (u.setupScopedFocus(S.node), u.markForFocusLater()), S.setState({ isOpen: !0 }, function() { + S.openAnimationFrame = requestAnimationFrame(function() { + S.setState({ afterOpen: !0 }), S.props.isOpen && S.props.onAfterOpen && S.props.onAfterOpen({ + overlayEl: S.overlay, + contentEl: S.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 J = Date.now() + C.props.closeTimeoutMS; - C.setState({ beforeClose: !0, closesAt: J }, function() { - C.closeTimer = setTimeout(C.closeWithoutTimeout, C.state.closesAt - Date.now()); + }, S.close = function() { + S.props.closeTimeoutMS > 0 ? S.closeWithTimeout() : S.closeWithoutTimeout(); + }, S.focusContent = function() { + return S.content && !S.contentHasFocus() && S.content.focus({ preventScroll: !0 }); + }, S.closeWithTimeout = function() { + var q = Date.now() + S.props.closeTimeoutMS; + S.setState({ beforeClose: !0, closesAt: q }, function() { + S.closeTimer = setTimeout(S.closeWithoutTimeout, S.state.closesAt - Date.now()); }); - }, C.closeWithoutTimeout = function() { - C.setState({ + }, S.closeWithoutTimeout = function() { + S.setState({ beforeClose: !1, isOpen: !1, afterOpen: !1, closesAt: null - }, C.afterClose); - }, C.handleKeyDown = function(J) { - b(J) && (0, f.default)(C.content, J), C.props.shouldCloseOnEsc && k(J) && (J.stopPropagation(), C.requestClose(J)); - }, C.handleOverlayOnClick = function(J) { - C.shouldClose === null && (C.shouldClose = !0), C.shouldClose && C.props.shouldCloseOnOverlayClick && (C.ownerHandlesClose() ? C.requestClose(J) : C.focusContent()), C.shouldClose = null; - }, C.handleContentOnMouseUp = function() { - C.shouldClose = !1; - }, C.handleOverlayOnMouseDown = function(J) { - !C.props.shouldCloseOnOverlayClick && J.target == C.overlay && J.preventDefault(); - }, C.handleContentOnClick = function() { - C.shouldClose = !1; - }, C.handleContentOnMouseDown = function() { - C.shouldClose = !1; - }, C.requestClose = function(J) { - return C.ownerHandlesClose() && C.props.onRequestClose(J); - }, 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(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 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; + }, S.afterClose); + }, S.handleKeyDown = function(q) { + K(q) && (0, f.default)(S.content, q), S.props.shouldCloseOnEsc && Z(q) && (q.stopPropagation(), S.requestClose(q)); + }, S.handleOverlayOnClick = function(q) { + S.shouldClose === null && (S.shouldClose = !0), S.shouldClose && S.props.shouldCloseOnOverlayClick && (S.ownerHandlesClose() ? S.requestClose(q) : S.focusContent()), S.shouldClose = null; + }, S.handleContentOnMouseUp = function() { + S.shouldClose = !1; + }, S.handleOverlayOnMouseDown = function(q) { + !S.props.shouldCloseOnOverlayClick && q.target == S.overlay && q.preventDefault(); + }, S.handleContentOnClick = function() { + S.shouldClose = !1; + }, S.handleContentOnMouseDown = function() { + S.shouldClose = !1; + }, S.requestClose = function(q) { + return S.ownerHandlesClose() && S.props.onRequestClose(q); + }, S.ownerHandlesClose = function() { + return S.props.onRequestClose; + }, S.shouldBeClosed = function() { + return !S.state.isOpen && !S.state.beforeClose; + }, S.contentHasFocus = function() { + return document.activeElement === S.content || S.content.contains(document.activeElement); + }, S.buildClassName = function(q, ae) { + var O = (typeof ae > "u" ? "undefined" : r(ae)) === "object" ? ae : { + base: Q[q], + afterOpen: Q[q] + "--after-open", + beforeClose: Q[q] + "--before-close" + }, z = O.base; + return S.state.afterOpen && (z = z + " " + O.afterOpen), S.state.beforeClose && (z = z + " " + O.beforeClose), typeof ae == "string" && ae ? z + " " + ae : z; + }, S.attributesFromObject = function(q, ae) { + return Object.keys(ae).reduce(function(O, z) { + return O[q + "-" + z] = ae[z], O; }, {}); - }, C.state = { + }, S.state = { afterOpen: !1, beforeClose: !1 - }, C.shouldClose = null, C.moveFromContentToOverlay = null, C; + }, S.shouldClose = null, S.moveFromContentToOverlay = null, S; } - return i(S, [{ + return o(C, [{ key: "componentDidMount", value: function() { this.props.isOpen && this.open(); } }, { key: "componentDidUpdate", - value: function(C, J) { - 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 && !J.isOpen && this.focusContent(); + value: function(S, q) { + process.env.NODE_ENV !== "production" && (S.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), S.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 && !S.isOpen ? this.open() : !this.props.isOpen && S.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !q.isOpen && this.focusContent(); } }, { key: "componentWillUnmount", @@ -3340,27 +3269,27 @@ im.default.subscribe(um); }, { key: "beforeOpen", value: function() { - 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); + var S = this.props, q = S.appElement, ae = S.ariaHideApp, O = S.htmlOpenClassName, z = S.bodyOpenClassName, Y = S.parentSelector, W = Y && Y().ownerDocument || document; + z && y.add(W.body, z), O && y.add(W.getElementsByTagName("html")[0], O), ae && (re += 1, p.hide(q)), N.default.register(this); } // Don't steal focus from inner elements }, { key: "render", value: function() { - 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; + var S = this.props, q = S.id, ae = S.className, O = S.overlayClassName, z = S.defaultStyles, Y = S.children, W = ae ? {} : z.content, B = O ? {} : z.overlay; if (this.shouldBeClosed()) return null; - var X = { + var ee = { ref: this.setOverlayRef, - className: this.buildClassName("overlay", L), - style: n({}, K, this.props.style.overlay), + className: this.buildClassName("overlay", O), + style: n({}, B, this.props.style.overlay), onClick: this.handleOverlayOnClick, onMouseDown: this.handleOverlayOnMouseDown - }, O = n({ - id: J, + }, b = n({ + id: q, ref: this.setContentRef, - style: n({}, q, this.props.style.content), - className: this.buildClassName("content", re), + style: n({}, W, this.props.style.content), + className: this.buildClassName("content", ae), tabIndex: "-1", onKeyDown: this.handleKeyDown, onMouseDown: this.handleContentOnMouseDown, @@ -3370,18 +3299,18 @@ im.default.subscribe(um); "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 - }), ne = this.props.contentElement(O, P); - return this.props.overlayElement(X, ne); + }), ne = this.props.contentElement(b, Y); + return this.props.overlayElement(ee, ne); } - }]), S; - }(o.Component); - x.defaultProps = { + }]), C; + }(i.Component); + U.defaultProps = { style: { overlay: {}, content: {} }, defaultStyles: {} - }, x.propTypes = { + }, U.propTypes = { isOpen: a.default.bool.isRequired, defaultStyles: a.default.shape({ content: a.default.object, @@ -3397,7 +3326,7 @@ im.default.subscribe(um); 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))]), + appElement: a.default.oneOfType([a.default.instanceOf(w.default), a.default.instanceOf(m.SafeHTMLCollection), a.default.instanceOf(m.SafeNodeList), a.default.arrayOf(a.default.instanceOf(w.default))]), onAfterOpen: a.default.func, onAfterClose: a.default.func, onRequestClose: a.default.func, @@ -3418,20 +3347,21 @@ im.default.subscribe(um); overlayElement: a.default.func, contentElement: a.default.func, testId: a.default.string - }, t.default = x, e.exports = t.default; -})(yy, bo); -function wh() { + }, t.default = U, e.exports = t.default; +})(Gs, Gs.exports); +var Xp = Gs.exports; +function Sf() { var e = this.constructor.getDerivedStateFromProps(this.props, this.state); e != null && this.setState(e); } -function Dh(e) { +function xf(e) { function t(n) { var r = this.constructor.getDerivedStateFromProps(e, n); return r ?? null; } this.setState(t.bind(this)); } -function Ah(e, t) { +function Cf(e, t) { try { var n = this.props, r = this.state; this.props = e, this.state = t, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( @@ -3442,71 +3372,71 @@ function Ah(e, t) { this.props = n, this.state = r; } } -wh.__suppressDeprecationWarning = !0; -Dh.__suppressDeprecationWarning = !0; -Ah.__suppressDeprecationWarning = !0; -function cm(e) { +Sf.__suppressDeprecationWarning = !0; +xf.__suppressDeprecationWarning = !0; +Cf.__suppressDeprecationWarning = !0; +function Zp(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()"; + var n = null, r = null, o = 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" ? o = "componentWillUpdate" : typeof t.UNSAFE_componentWillUpdate == "function" && (o = "UNSAFE_componentWillUpdate"), n !== null || r !== null || o !== null) { + var i = 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 ? ` +` + i + " uses " + s + " but also contains the following legacy lifecycles:" + (n !== null ? ` ` + n : "") + (r !== null ? ` - ` + r : "") + (i !== null ? ` - ` + i : "") + ` + ` + r : "") + (o !== null ? ` + ` + o : "") + ` 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 = Dh), typeof t.getSnapshotBeforeUpdate == "function") { + if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = Sf, t.componentWillReceiveProps = xf), 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 = Ah; + t.componentWillUpdate = Cf; var a = t.componentDidUpdate; - t.componentDidUpdate = function(c, l, f) { + t.componentDidUpdate = function(u, l, f) { var d = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : f; - a.call(this, c, l, d); + a.call(this, u, l, d); }; } return e; } -const lm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const eM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - polyfill: cm -}, Symbol.toStringTag, { value: "Module" })), fm = /* @__PURE__ */ Qi(lm); -Object.defineProperty(rr, "__esModule", { + polyfill: Zp +}, Symbol.toStringTag, { value: "Module" })), tM = /* @__PURE__ */ To(eM); +Object.defineProperty(Fn, "__esModule", { value: !0 }); -rr.bodyOpenClassName = rr.portalClassName = void 0; -var Jc = Object.assign || function(e) { +Fn.bodyOpenClassName = Fn.portalClassName = void 0; +var fc = 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; -}, dm = function() { +}, nM = function() { function e(t, n) { for (var r = 0; r < n.length; r++) { - var i = n[r]; - i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i); + var o = n[r]; + o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o); } } return function(t, n, r) { return n && e(t.prototype, n), r && e(t, r), t; }; -}(), 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) { +}(), Of = we, to = wi(Of), rM = Br, no = wi(rM), iM = Ga, ve = wi(iM), oM = Xp, dc = wi(oM), sM = zt, aM = cM(sM), pn = Lt, hc = wi(pn), uM = tM; +function cM(e) { if (e && e.__esModule) return e; var t = {}; @@ -3515,90 +3445,90 @@ function vm(e) { Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]); return t.default = e, t; } -function Bi(e) { +function wi(e) { return e && e.__esModule ? e : { default: e }; } -function wm(e, t) { +function lM(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function el(e, t) { +function gc(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 Dm(e, t) { +function fM(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 Am = rr.portalClassName = "ReactModalPortal", Em = rr.bodyOpenClassName = "ReactModal__Body--open", Rn = In.canUseDOM && Lo.default.createPortal !== void 0, _a = function(t) { +var dM = Fn.portalClassName = "ReactModalPortal", hM = Fn.bodyOpenClassName = "ReactModal__Body--open", Tn = pn.canUseDOM && no.default.createPortal !== void 0, ea = function(t) { return document.createElement(t); -}, tl = function() { - return Rn ? Lo.default.createPortal : Lo.default.unstable_renderSubtreeIntoContainer; +}, pc = function() { + return Tn ? no.default.createPortal : no.default.unstable_renderSubtreeIntoContainer; }; -function ro(e) { +function Oi(e) { return e(); } -var Qr = function(e) { - Dm(t, e); +var Ar = function(e) { + fM(t, e); function t() { - var n, r, i, o; - wm(this, t); - for (var s = arguments.length, a = Array(s), u = 0; u < s; u++) - a[u] = arguments[u]; - 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 = tl(), f = l(i, Oo.default.createElement(Zc.default, Jc({ defaultStyles: t.defaultStyles }, c)), i.node); - i.portalRef(f); - }, r), el(i, o); - } - return dm(t, [{ + var n, r, o, i; + lM(this, t); + for (var s = arguments.length, a = Array(s), c = 0; c < s; c++) + a[c] = arguments[c]; + return i = (r = (o = gc(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(a))), o), o.removePortal = function() { + !Tn && no.default.unmountComponentAtNode(o.node); + var u = Oi(o.props.parentSelector); + u && u.contains(o.node) ? u.removeChild(o.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.'); + }, o.portalRef = function(u) { + o.portal = u; + }, o.renderPortal = function(u) { + var l = pc(), f = l(o, to.default.createElement(dc.default, fc({ defaultStyles: t.defaultStyles }, u)), o.node); + o.portalRef(f); + }, r), gc(o, i); + } + return nM(t, [{ key: "componentDidMount", value: function() { - if (In.canUseDOM) { - Rn || (this.node = _a("div")), this.node.className = this.props.portalClassName; - var r = ro(this.props.parentSelector); - r.appendChild(this.node), !Rn && this.renderPortal(this.props); + if (pn.canUseDOM) { + Tn || (this.node = ea("div")), this.node.className = this.props.portalClassName; + var r = Oi(this.props.parentSelector); + r.appendChild(this.node), !Tn && this.renderPortal(this.props); } } }, { key: "getSnapshotBeforeUpdate", value: function(r) { - var i = ro(r.parentSelector), o = ro(this.props.parentSelector); - return { prevParent: i, nextParent: o }; + var o = Oi(r.parentSelector), i = Oi(this.props.parentSelector); + return { prevParent: o, nextParent: i }; } }, { key: "componentDidUpdate", - value: function(r, i, o) { - 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) && !Rn && this.renderPortal(this.props); + value: function(r, o, i) { + if (pn.canUseDOM) { + var s = this.props, a = s.isOpen, c = s.portalClassName; + r.portalClassName !== c && (this.node.className = c); + var u = i.prevParent, l = i.nextParent; + l !== u && (u.removeChild(this.node), l.appendChild(this.node)), !(!r.isOpen && !a) && !Tn && this.renderPortal(this.props); } } }, { key: "componentWillUnmount", value: function() { - 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(); + if (!(!pn.canUseDOM || !this.node || !this.portal)) { + var r = this.portal.state, o = Date.now(), i = r.isOpen && this.props.closeTimeoutMS && (r.closesAt || o + this.props.closeTimeoutMS); + i ? (r.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, i - o)) : this.removePortal(); } } }, { key: "render", value: function() { - if (!In.canUseDOM || !Rn) + if (!pn.canUseDOM || !Tn) return null; - !this.node && Rn && (this.node = _a("div")); - var r = tl(); - return r(Oo.default.createElement(Zc.default, Jc({ + !this.node && Tn && (this.node = ea("div")); + var r = pc(); + return r(to.default.createElement(dc.default, fc({ ref: this.portalRef, defaultStyles: t.defaultStyles }, this.props)), this.node); @@ -3606,56 +3536,56 @@ var Qr = function(e) { }], [{ key: "setAppElement", value: function(r) { - ym.setElement(r); + aM.setElement(r); } /* eslint-disable react/no-unused-prop-types */ /* eslint-enable react/no-unused-prop-types */ }]), t; -}(Eh.Component); -Qr.propTypes = { - isOpen: Ie.default.bool.isRequired, - style: Ie.default.shape({ - content: Ie.default.object, - overlay: Ie.default.object +}(Of.Component); +Ar.propTypes = { + isOpen: ve.default.bool.isRequired, + style: ve.default.shape({ + content: ve.default.object, + overlay: ve.default.object }), - portalClassName: Ie.default.string, - bodyOpenClassName: Ie.default.string, - htmlOpenClassName: Ie.default.string, - className: Ie.default.oneOfType([Ie.default.string, Ie.default.shape({ - base: Ie.default.string.isRequired, - afterOpen: Ie.default.string.isRequired, - beforeClose: Ie.default.string.isRequired + portalClassName: ve.default.string, + bodyOpenClassName: ve.default.string, + htmlOpenClassName: ve.default.string, + className: ve.default.oneOfType([ve.default.string, ve.default.shape({ + base: ve.default.string.isRequired, + afterOpen: ve.default.string.isRequired, + beforeClose: ve.default.string.isRequired })]), - overlayClassName: Ie.default.oneOfType([Ie.default.string, Ie.default.shape({ - base: Ie.default.string.isRequired, - afterOpen: Ie.default.string.isRequired, - beforeClose: Ie.default.string.isRequired + overlayClassName: ve.default.oneOfType([ve.default.string, ve.default.shape({ + base: ve.default.string.isRequired, + afterOpen: ve.default.string.isRequired, + beforeClose: ve.default.string.isRequired })]), - 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, - ariaHideApp: Ie.default.bool, - shouldFocusAfterRender: Ie.default.bool, - shouldCloseOnOverlayClick: Ie.default.bool, - shouldReturnFocusAfterClose: Ie.default.bool, - preventScroll: Ie.default.bool, - parentSelector: Ie.default.func, - aria: Ie.default.object, - data: Ie.default.object, - role: Ie.default.string, - contentLabel: Ie.default.string, - shouldCloseOnEsc: Ie.default.bool, - overlayRef: Ie.default.func, - contentRef: Ie.default.func, - id: Ie.default.string, - overlayElement: Ie.default.func, - contentElement: Ie.default.func + appElement: ve.default.oneOfType([ve.default.instanceOf(hc.default), ve.default.instanceOf(pn.SafeHTMLCollection), ve.default.instanceOf(pn.SafeNodeList), ve.default.arrayOf(ve.default.instanceOf(hc.default))]), + onAfterOpen: ve.default.func, + onRequestClose: ve.default.func, + closeTimeoutMS: ve.default.number, + ariaHideApp: ve.default.bool, + shouldFocusAfterRender: ve.default.bool, + shouldCloseOnOverlayClick: ve.default.bool, + shouldReturnFocusAfterClose: ve.default.bool, + preventScroll: ve.default.bool, + parentSelector: ve.default.func, + aria: ve.default.object, + data: ve.default.object, + role: ve.default.string, + contentLabel: ve.default.string, + shouldCloseOnEsc: ve.default.bool, + overlayRef: ve.default.func, + contentRef: ve.default.func, + id: ve.default.string, + overlayElement: ve.default.func, + contentElement: ve.default.func }; -Qr.defaultProps = { +Ar.defaultProps = { isOpen: !1, - portalClassName: Am, - bodyOpenClassName: Em, + portalClassName: dM, + bodyOpenClassName: hM, role: "dialog", ariaHideApp: !0, closeTimeoutMS: 0, @@ -3668,21 +3598,21 @@ Qr.defaultProps = { return document.body; }, overlayElement: function(t, n) { - return Oo.default.createElement( + return to.default.createElement( "div", t, n ); }, contentElement: function(t, n) { - return Oo.default.createElement( + return to.default.createElement( "div", t, n ); } }; -Qr.defaultStyles = { +Ar.defaultStyles = { overlay: { position: "fixed", top: 0, @@ -3706,74 +3636,75 @@ Qr.defaultStyles = { padding: "20px" } }; -(0, mm.polyfill)(Qr); -process.env.NODE_ENV !== "production" && (Qr.setCreateHTMLElement = function(e) { - return _a = e; +(0, uM.polyfill)(Ar); +process.env.NODE_ENV !== "production" && (Ar.setCreateHTMLElement = function(e) { + return ea = e; }); -rr.default = Qr; +Fn.default = Ar; (function(e, t) { Object.defineProperty(t, "__esModule", { value: !0 }); - var n = rr, r = i(n); - function i(o) { - return o && o.__esModule ? o : { default: o }; + var n = Fn, r = o(n); + function o(i) { + return i && i.__esModule ? i : { default: i }; } t.default = r.default, e.exports = t.default; -})(ly, So); -const Ih = /* @__PURE__ */ rh(So), nl = document, Im = () => { - const e = ot(!1), t = nl.documentElement, { body: n } = nl; +})(qs, qs.exports); +var gM = qs.exports; +const Lf = /* @__PURE__ */ vi(gM), Mc = document, pM = () => { + const e = Ze(!1), t = Mc.documentElement, { body: n } = Mc; return [() => { if (!n || !n.style || e.current || document == null) return; - const o = window.innerWidth - t.clientWidth, s = parseInt( + const i = 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; + t.style.position = "relative", t.style.overflow = "hidden", n.style.position = "relative", n.style.overflow = "hidden", n.style.paddingRight = `${s + i}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); }]; }; -Ih.setAppElement("body"); -const pO = ({ +Lf.setAppElement("body"); +const aS = ({ isOpen: e, children: t, closeTimeoutMS: n, style: r, - overlayClassName: i, - className: o, + overlayClassName: o, + className: i, onRequestClose: s }) => { - const [a, u] = Im(); - return e ? a() : u(), /* @__PURE__ */ ge.jsx( - Ih, + const [a, c] = pM(); + return e ? a() : c(), /* @__PURE__ */ fe.jsx( + Lf, { isOpen: e, closeTimeoutMS: n, style: r, - overlayClassName: i, - className: o, + overlayClassName: o, + className: i, onRequestClose: s || (() => { }), shouldCloseOnOverlayClick: !0, children: t } ); -}, MO = { +}, uS = { headerHeight: "67px", searchBarHeight: "32px", switchHeight: "32px" -}, yO = { +}, cS = { title: "36px", subtitle: "24px", content: "14px", small: "12px" }; -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 = { +var _f = /* @__PURE__ */ ((e) => (e.EN = "en", e.JA = "ja", e))(_f || {}); +const MM = ["desktop", "tablet", "phone", "phoneMini"], lS = (e) => MM.includes(e), yM = ["light", "dark"], fS = (e) => yM.includes(e), mM = { courseChange: "Course change detected. If you added/deleted courses in another tab, please ", RefreshLink: "click here to refresh to see the changes" -}, Sm = { +}, vM = { mon: "Mon", tue: "Tue", wed: "Wed", @@ -3781,7 +3712,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( fri: "Fri", sat: "Sat", sun: "Sun" -}, bm = { +}, wM = { welcome: "Welcome to WasedaTime!", newFeature: "New feature", userLogin: "User login", @@ -3812,7 +3743,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.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!" -}, Cm = { +}, DM = { timetable: "Timetable", syllabus: "Syllabus", "course info": "Course", @@ -3822,14 +3753,14 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( language: "Language", career: "Career", "corona-info": "COVID19" -}, xm = { +}, IM = { licensed: " Code Licensed ", syllabus: "Syllabus correct as at", update: "" -}, Om = { +}, AM = { title: "WasedaTime", description: "Non-profit, student-run, open-source app aiming to support and improve the campus lives of Waseda University students." -}, Lm = { +}, EM = { welcome: "Welcome to WasedaTime!", "You haven't added any courses": "Hi! You haven't added any courses.", "Go to": "Go to ", @@ -3843,7 +3774,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Spring Semester": "Spring Semester", "Fall Semester": "Fall Semester", undecided: "undecided" -}, _m = { +}, TM = { "Spring Semester": "Spring Semester", "Fall Semester": "Fall Semester", "Added courses are displayed here": "Added courses are displayed here.", @@ -3978,7 +3909,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Share!": "Share!", "Share popup message": "Does this course look good? Share with classmates!", "Share text": "Wanna search for good courses? Try WasedaTime!" -}, km = { +}, NM = { Details: { title: "Details", "Min Year": "Eligible Year", @@ -4038,7 +3969,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "delete review confirmation": "Are you sure to delete the review?", "delete review yes": "Yes, I'm sure", "delete review no": "No" -}, zm = { +}, jM = { "Under Construction": "Under Construction", "Want to help?": "Wanna build an amazing app with us?", "Check out our": "Check out our", @@ -4047,7 +3978,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( or: " or ", "!": "!", "We sincerely welcome any contributors!": "We sincerely welcome any contributors!" -}, Pm = { +}, bM = { busStatus: "Bus Status", Waseda: "Waseda", NishiWaseda: "NishiWaseda", @@ -4063,19 +3994,19 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.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" -}, Rm = { +}, SM = { 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!" -}, Um = { +}, xM = { Intern: "Intern", Articles: "Articles", viewMore: "View More", Entry: "Entry" -}, Fm = { +}, CM = { title: "COVID-19 Statistics", attribution: "Data fetched from Johns Hopkins University CSSE", "New Cases": "New Cases", @@ -4087,7 +4018,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( Tokyo: "Tokyo", "Loading Statistics": "Loading Statistics", "No data": "No data" -}, Ym = { +}, OM = { "Sign in": "Sign in", "Sign Out": "Sign Out", "Sign in with WasedaMail": "Sign in with WasedaMail", @@ -4099,26 +4030,26 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Privacy Policy": "Privacy Policy", "Terms of Service": "Terms of Service", "Keep using without sign in": "Keep using without sign in" -}, 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 = { +}, LM = { + app: mM, + common: vM, + welcome: wM, + navigation: DM, + footer: IM, + about: AM, + timetable: EM, + syllabus: TM, + courseInfo: NM, + room: jM, + bus: bM, + updates: SM, + career: xM, + coronaInfo: CM, + user: OM +}, _M = { courseChange: "科目の変更が検出されました。別のタブで科目を登録/取り消した場合は、変更を反映するために", RefreshLink: "こちらにクリックして再読み込みしてください" -}, $m = { +}, kM = { mon: "月", tue: "火", wed: "水", @@ -4126,7 +4057,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( fri: "金", sat: "土", sun: "日" -}, Wm = { +}, zM = { welcome: "WasedaTime へようこそ!", newFeature: "新機能", userLogin: "ユーザーログイン", @@ -4157,7 +4088,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Schools not imported initially": "アプリのパフォーマンスを維持するため、全学部のシラバスは先に入れておいてありません。", "Import schools request": "お手数ですが、シラバス画面に最初に入る際、好きな学部のシラバスを選択してインポートしてください。", allSchoolsAdded: "全学部・研究科のシラバス検索ができるようになりました!" -}, Vm = { +}, UM = { timetable: "時間割", syllabus: "シラバス", "course info": "授業詳細", @@ -4167,14 +4098,14 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( language: "言語", career: "キャリア", "corona-info": "コロナ" -}, Hm = { +}, PM = { licensed: " ソースコードライセンス ", syllabus: "シラバスは", update: "に更新されました" -}, qm = { +}, RM = { title: "早稲田タイム", description: "早稲田大学の学生のキャンパスライフを支え、向上させることを目的とした非営利・学生運営・オープンソースのアプリ" -}, Km = { +}, YM = { welcome: "WasedaTime へようこそ!", "You haven't added any courses": "授業がありません。", "Go to": "", @@ -4188,7 +4119,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Spring Semester": "春学期", "Fall Semester": "秋学期", undecided: "未定" -}, Gm = { +}, FM = { "Spring Semester": "春学期", "Fall Semester": "秋学期", "Added courses are displayed here": "登録された授業はここに表示されます。", @@ -4323,7 +4254,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Share!": "シェア!", "Share popup message": "良い授業を発見した?クラスメイトにシェアしよう!", "Share text": "良い授業、なかなか見つからない?早稲田タイムで検索しましょう!" -}, Jm = { +}, QM = { Details: { title: "詳細", "Min Year": "配当年次", @@ -4384,7 +4315,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "delete review confirmation": "レビューを削除してよろしいですか?", "delete review yes": "はい、削除します", "delete review no": "いいえ" -}, Zm = { +}, BM = { "Under Construction": "作成中", "Want to help?": "一緒に楽しく開発しませんか?", "Check out our": "興味のある方は ", @@ -4393,7 +4324,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( or: "または", "!": "から!", "We sincerely welcome any contributors!": "" -}, Xm = { +}, $M = { busStatus: "バス運行情報", Waseda: "早稲田", NishiWaseda: "西早稲田", @@ -4409,19 +4340,19 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "and select Add to Home screen": "をクリックして、'ホーム画面に追加' を選択する", "Tap on the bottom-middle icon": "底部中央のアイコン", "Assign a date / time to check the next bus": "日時を指定し、次のバスを検索しましょう" -}, ev = { +}, WM = { header: "2020のシラバスについて", main: "こんにちは!クリックしていただきありがとうございます。", main2: "申し訳ありませんが、2020年のシラバスはまだサポートされていません。早稲田大学のポリシーが更新されたため、現時点では2020のシラバスデータを取得できません。", main3: "私たちは積極的に大学と相談しており、新しい情報をできるだけ早く提供します。多くのお問い合わせをいただきましたが、時間内にご返答できず大変申し訳ございません。", main4: "改めて、あなたに感謝申し上げます。早稲田タイムの使命が継続するように最善を尽くします。", main5: "どうぞ、安全と健康にお気をつけくださいませ。" -}, tv = { +}, VM = { Intern: "インターン", Articles: "記事", viewMore: "インターン内容をもっと見る", Entry: "エントリー" -}, nv = { +}, HM = { title: "新型コロナウイルス感染症情報", attribution: "Johns Hopkins University CSSE より引用", "New Cases": "新規感染数", @@ -4433,7 +4364,7 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( Tokyo: "東京", "Loading Statistics": "読み込み中", "No data": "データなし" -}, rv = { +}, qM = { "Sign in": "ログイン", "Sign Out": "ログアウト", "Sign in with WasedaMail": "早稲田メールでログイン", @@ -4445,39 +4376,32 @@ const Nm = ["desktop", "tablet", "phone", "phoneMini"], mO = (e) => Nm.includes( "Privacy Policy": "プライバシーポリシー", "Terms of Service": "利用規約", "Keep using without sign in": "ログインせずに使用し続ける" -}, 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" }), +}, KM = { + app: _M, + common: kM, + welcome: zM, + navigation: UM, + footer: PM, + about: RM, + timetable: YM, + syllabus: FM, + courseInfo: QM, + room: BM, + bus: $M, + updates: WM, + career: VM, + coronaInfo: HM, + user: qM +}, GM = () => /* @__PURE__ */ fe.jsx("svg", { viewBox: "0 0 50 50", width: "50px", height: "50px", color: "white", children: /* @__PURE__ */ fe.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" }) }), JM = () => /* @__PURE__ */ fe.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__ */ fe.jsx("line", { x1: "24", y1: "6", x2: "6", y2: "24" }), " ", - /* @__PURE__ */ ge.jsx("line", { x1: "6", y1: "6", x2: "24", y2: "24" }) + /* @__PURE__ */ fe.jsx("line", { x1: "6", y1: "6", x2: "24", y2: "24" }) ] }); -var ka = {}, av = { - get exports() { - return ka; - }, - set exports(e) { - ka = e; - } -}; +var kf = { exports: {} }; (function(e, t) { - (function(r, i) { - e.exports = i(Te); - })(zt, (n) => ( + (function(r, o) { + e.exports = o(we); + })(Ft, (n) => ( /******/ (() => { var r = { @@ -4487,104 +4411,104 @@ var ka = {}, av = { !*** ./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(N) { - var Q = N.inverse, z = N.type === "all" || I.type === N.type; - if (z && Q || !(z || Q)) + (a, c) => { + c.match = M, c.parse = y; + var u = /(?:(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)?$/, p = /(dpi|dpcm|dppx)?$/; + function M(N, E) { + return y(N).some(function(T) { + var F = T.inverse, _ = T.type === "all" || E.type === T.type; + if (_ && F || !(_ || F)) return !1; - var H = N.expressions.every(function(W) { - var b = W.feature, k = W.modifier, U = W.value, x = I[b]; - if (!x) + var G = T.expressions.every(function(Q) { + var K = Q.feature, Z = Q.modifier, re = Q.value, U = E[K]; + if (!U) return !1; - switch (b) { + switch (K) { case "orientation": case "scan": - return x.toLowerCase() === U.toLowerCase(); + return U.toLowerCase() === re.toLowerCase(); case "width": case "height": case "device-width": case "device-height": - U = w(U), x = w(x); + re = D(re), U = D(U); break; case "resolution": - U = v(U), x = v(x); + re = w(re), U = w(U); break; case "aspect-ratio": case "device-aspect-ratio": case /* Deprecated */ "device-pixel-ratio": - U = m(U), x = m(x); + re = m(re), U = m(U); break; case "grid": case "color": case "color-index": case "monochrome": - U = parseInt(U, 10) || 1, x = parseInt(x, 10) || 0; + re = parseInt(re, 10) || 1, U = parseInt(U, 10) || 0; break; } - switch (k) { + switch (Z) { case "min": - return x >= U; + return U >= re; case "max": - return x <= U; + return U <= re; default: - return x === U; + return U === re; } }); - return H && !Q || !H && Q; + return G && !F || !G && F; }); } - function p(j) { - 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); + function y(N) { + return N.split(",").map(function(E) { + E = E.trim(); + var T = E.match(u), F = T[1], _ = T[2], G = T[3] || "", Q = {}; + return Q.inverse = !!F && F.toLowerCase() === "not", Q.type = _ ? _.toLowerCase() : "all", G = G.match(/\([^\)]+\)/g) || [], Q.expressions = G.map(function(K) { + var Z = K.match(l), re = Z[1].toLowerCase().match(f); return { - modifier: U[1], - feature: U[2], - value: k[2] + modifier: re[1], + feature: re[2], + value: Z[2] }; - }), W; + }), Q; }); } - function m(j) { - var I = Number(j), N; - return I || (N = j.match(/^(\d+)\s*\/\s*(\d+)$/), I = N[1] / N[2]), I; + function m(N) { + var E = Number(N), T; + return E || (T = N.match(/^(\d+)\s*\/\s*(\d+)$/), E = T[1] / T[2]), E; } - function v(j) { - var I = parseFloat(j), N = String(j).match(g)[1]; - switch (N) { + function w(N) { + var E = parseFloat(N), T = String(N).match(p)[1]; + switch (T) { case "dpcm": - return I / 2.54; + return E / 2.54; case "dppx": - return I * 96; + return E * 96; default: - return I; + return E; } } - function w(j) { - var I = parseFloat(j), N = String(j).match(d)[1]; - switch (N) { + function D(N) { + var E = parseFloat(N), T = String(N).match(d)[1]; + switch (T) { case "em": - return I * 16; + return E * 16; case "rem": - return I * 16; + return E * 16; case "cm": - return I * 96 / 2.54; + return E * 96 / 2.54; case "mm": - return I * 96 / 2.54 / 10; + return E * 96 / 2.54 / 10; case "in": - return I * 96; + return E * 96; case "pt": - return I * 72; + return E * 72; case "pc": - return I * 72 / 12; + return E * 72 / 12; default: - return I; + return E; } } } @@ -4595,23 +4519,23 @@ var ka = {}, av = { !*** ./node_modules/hyphenate-style-name/index.js ***! \****************************************************/ /***/ - (a, u, c) => { - c.r(u), c.d(u, { + (a, c, u) => { + u.r(c), u.d(c, { /* harmony export */ - default: () => p + default: () => y /* harmony export */ }); var l = /[A-Z]/g, f = /^ms-/, d = {}; - function g(m) { + function p(m) { return "-" + m.toLowerCase(); } - function h(m) { + function M(m) { if (d.hasOwnProperty(m)) return d[m]; - var v = m.replace(l, g); - return d[m] = f.test(v) ? "-" + v : v; + var w = m.replace(l, p); + return d[m] = f.test(w) ? "-" + w : w; } - const p = h; + const y = M; } ), /***/ @@ -4620,36 +4544,36 @@ var ka = {}, av = { !*** ./node_modules/matchmediaquery/index.js ***! \***********************************************/ /***/ - (a, u, c) => { - var l = c( + (a, c, u) => { + var l = u( /*! css-mediaquery */ "./node_modules/css-mediaquery/index.js" ).match, f = typeof window < "u" ? window.matchMedia : null; - function d(h, p, m) { - var v = this; + function d(M, y, m) { + var w = this; if (f && !m) { - var w = f.call(window, h); - this.matches = w.matches, this.media = w.media, w.addListener(N); + var D = f.call(window, M); + this.matches = D.matches, this.media = D.media, D.addListener(T); } else - this.matches = l(h, p), this.media = h; - this.addListener = j, this.removeListener = I, this.dispose = Q; - function j(z) { - w && w.addListener(z); + this.matches = l(M, y), this.media = M; + this.addListener = N, this.removeListener = E, this.dispose = F; + function N(_) { + D && D.addListener(_); } - function I(z) { - w && w.removeListener(z); + function E(_) { + D && D.removeListener(_); } - function N(z) { - v.matches = z.matches, v.media = z.media; + function T(_) { + w.matches = _.matches, w.media = _.media; } - function Q() { - w && w.removeListener(N); + function F() { + D && D.removeListener(T); } } - function g(h, p, m) { - return new d(h, p, m); + function p(M, y, m) { + return new d(M, y, m); } - a.exports = g; + a.exports = p; } ), /***/ @@ -4664,43 +4588,43 @@ var ka = {}, av = { (c) Sindre Sorhus @license MIT */ - var u = Object.getOwnPropertySymbols, c = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable; - function f(g) { - if (g == null) + var c = Object.getOwnPropertySymbols, u = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable; + function f(p) { + if (p == null) throw new TypeError("Object.assign cannot be called with null or undefined"); - return Object(g); + return Object(p); } function d() { try { if (!Object.assign) return !1; - var g = new String("abc"); - if (g[5] = "de", Object.getOwnPropertyNames(g)[0] === "5") + var p = new String("abc"); + if (p[5] = "de", Object.getOwnPropertyNames(p)[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]; + for (var M = {}, y = 0; y < 10; y++) + M["_" + String.fromCharCode(y)] = y; + var m = Object.getOwnPropertyNames(M).map(function(D) { + return M[D]; }); if (m.join("") !== "0123456789") return !1; - var v = {}; - return "abcdefghijklmnopqrst".split("").forEach(function(w) { - v[w] = w; - }), Object.keys(Object.assign({}, v)).join("") === "abcdefghijklmnopqrst"; + var w = {}; + return "abcdefghijklmnopqrst".split("").forEach(function(D) { + w[D] = D; + }), Object.keys(Object.assign({}, w)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } - a.exports = d() ? Object.assign : function(g, h) { - for (var p, m = f(g), v, w = 1; w < arguments.length; w++) { - p = Object(arguments[w]); - for (var j in p) - c.call(p, j) && (m[j] = p[j]); - if (u) { - v = u(p); - for (var I = 0; I < v.length; I++) - l.call(p, v[I]) && (m[v[I]] = p[v[I]]); + a.exports = d() ? Object.assign : function(p, M) { + for (var y, m = f(p), w, D = 1; D < arguments.length; D++) { + y = Object(arguments[D]); + for (var N in y) + u.call(y, N) && (m[N] = y[N]); + if (c) { + w = c(y); + for (var E = 0; E < w.length; E++) + l.call(y, w[E]) && (m[w[E]] = y[w[E]]); } } return m; @@ -4713,19 +4637,19 @@ var ka = {}, av = { !*** ./node_modules/prop-types/checkPropTypes.js ***! \***************************************************/ /***/ - (a, u, c) => { + (a, c, u) => { var l = function() { }; { - var f = c( + var f = u( /*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js" - ), d = {}, g = c( + ), d = {}, p = u( /*! ./lib/has */ "./node_modules/prop-types/lib/has.js" ); - l = function(p) { - var m = "Warning: " + p; + l = function(y) { + var m = "Warning: " + y; typeof console < "u" && console.error(m); try { throw new Error(m); @@ -4733,35 +4657,35 @@ var ka = {}, av = { } }; } - function h(p, m, v, w, j) { - for (var I in p) - if (g(p, I)) { - var N; + function M(y, m, w, D, N) { + for (var E in y) + if (p(y, E)) { + var T; try { - 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`." + if (typeof y[E] != "function") { + var F = Error( + (D || "React class") + ": " + w + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof y[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); - throw Q.name = "Invariant Violation", Q; + throw F.name = "Invariant Violation", F; } - N = p[I](m, I, w, v, null, f); - } catch (H) { - N = H; + T = y[E](m, E, D, w, null, f); + } catch (G) { + T = G; } - 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() : ""; + if (T && !(T instanceof Error) && l( + (D || "React class") + ": type specification of " + w + " `" + E + "` 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 _ = N ? N() : ""; l( - "Failed " + v + " type: " + N.message + (z ?? "") + "Failed " + w + " type: " + T.message + (_ ?? "") ); } } } - h.resetWarningCache = function() { + M.resetWarningCache = function() { d = {}; - }, a.exports = h; + }, a.exports = M; } ), /***/ @@ -4770,290 +4694,290 @@ var ka = {}, av = { !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***! \************************************************************/ /***/ - (a, u, c) => { - var l = c( + (a, c, u) => { + var l = u( /*! react-is */ "./node_modules/react-is/index.js" - ), f = c( + ), f = u( /*! object-assign */ "./node_modules/object-assign/index.js" - ), d = c( + ), d = u( /*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js" - ), g = c( + ), p = u( /*! ./lib/has */ "./node_modules/prop-types/lib/has.js" - ), h = c( + ), M = u( /*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js" - ), p = function() { + ), y = function() { }; - p = function(v) { - var w = "Warning: " + v; - typeof console < "u" && console.error(w); + y = function(w) { + var D = "Warning: " + w; + typeof console < "u" && console.error(D); try { - throw new Error(w); + throw new Error(D); } catch { } }; function m() { return null; } - a.exports = function(v, w) { - 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; + a.exports = function(w, D) { + var N = typeof Symbol == "function" && Symbol.iterator, E = "@@iterator"; + function T(P) { + var L = P && (N && P[N] || P[E]); + if (typeof L == "function") + return L; } - var Q = "<>", 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: U(), - arrayOf: x, - element: T(), - elementType: S(), - instanceOf: R, - node: L(), - objectOf: J, - oneOf: C, - oneOfType: re, - shape: P, - exact: q + var F = "<>", _ = { + array: Z("array"), + bigint: Z("bigint"), + bool: Z("boolean"), + func: Z("function"), + number: Z("number"), + object: Z("object"), + string: Z("string"), + symbol: Z("symbol"), + any: re(), + arrayOf: U, + element: j(), + elementType: C(), + instanceOf: V, + node: O(), + objectOf: q, + oneOf: S, + oneOfType: ae, + shape: Y, + exact: W }; - function H(V, B) { - return V === B ? V !== 0 || 1 / V === 1 / B : V !== V && B !== B; + function G(P, L) { + return P === L ? P !== 0 || 1 / P === 1 / L : P !== P && L !== L; } - function W(V, B) { - this.message = V, this.data = B && typeof B == "object" ? B : {}, this.stack = ""; + function Q(P, L) { + this.message = P, this.data = L && typeof L == "object" ? L : {}, this.stack = ""; } - 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( + Q.prototype = Error.prototype; + function K(P) { + var L = {}, R = 0; + function ce(ue, he, le, A, g, h, I) { + if (A = A || F, h = h || le, I !== d) { + if (D) { + var k = 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; + throw k.name = "Invariant Violation", k; } else if (typeof console < "u") { - var ee = E + ":" + de; - !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." - ), B[ee] = !0, $++); + var J = A + ":" + le; + !L[J] && // Avoid spamming the console because they are often not actionable except for lib authors + R < 3 && (y( + "You are manually calling a React.PropTypes validation function for the `" + h + "` 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." + ), L[J] = !0, R++); } } - 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); + return he[le] == null ? ue ? he[le] === null ? new Q("The " + g + " `" + h + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new Q("The " + g + " `" + h + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : P(he, le, A, g, h); } - var te = fe.bind(null, !1); - return te.isRequired = fe.bind(null, !0), te; + var X = ce.bind(null, !1); + return X.isRequired = ce.bind(null, !0), X; } - 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 W( - "Invalid " + le + " `" + pe + "` of type " + ("`" + M + "` supplied to `" + te + "`, expected ") + ("`" + V + "`."), - { expectedType: V } + function Z(P) { + function L(R, ce, X, ue, he, le) { + var A = R[ce], g = b(A); + if (g !== P) { + var h = ne(A); + return new Q( + "Invalid " + ue + " `" + he + "` of type " + ("`" + h + "` supplied to `" + X + "`, expected ") + ("`" + P + "`."), + { expectedType: P } ); } return null; } - return b(B); + return K(L); } - function U() { - return b(m); + function re() { + return K(m); } - 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 W("Invalid " + le + " `" + pe + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected an array.")); + function U(P) { + function L(R, ce, X, ue, he) { + if (typeof P != "function") + return new Q("Property `" + he + "` of component `" + X + "` has invalid PropType notation inside arrayOf."); + var le = R[ce]; + if (!Array.isArray(le)) { + var A = b(le); + return new Q("Invalid " + ue + " `" + he + "` of type " + ("`" + A + "` supplied to `" + X + "`, expected an array.")); } - for (var y = 0; y < de.length; y++) { - var M = V(de, y, te, le, pe + "[" + y + "]", d); - if (M instanceof Error) - return M; + for (var g = 0; g < le.length; g++) { + var h = P(le, g, X, ue, he + "[" + g + "]", d); + if (h instanceof Error) + return h; } return null; } - return b(B); + return K(L); } - function T() { - 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.")); + function j() { + function P(L, R, ce, X, ue) { + var he = L[R]; + if (!w(he)) { + var le = b(he); + return new Q("Invalid " + X + " `" + ue + "` of type " + ("`" + le + "` supplied to `" + ce + "`, expected a single ReactElement.")); } return null; } - return b(V); + return K(P); } - function S() { - 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.")); + function C() { + function P(L, R, ce, X, ue) { + var he = L[R]; + if (!l.isValidElementType(he)) { + var le = b(he); + return new Q("Invalid " + X + " `" + ue + "` of type " + ("`" + le + "` supplied to `" + ce + "`, expected a single ReactElement type.")); } return null; } - return b(V); + return K(P); } - 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 + "`.")); + function V(P) { + function L(R, ce, X, ue, he) { + if (!(R[ce] instanceof P)) { + var le = P.name || F, A = ie(R[ce]); + return new Q("Invalid " + ue + " `" + he + "` of type " + ("`" + A + "` supplied to `" + X + "`, expected ") + ("instance of `" + le + "`.")); } return null; } - return b(B); + return K(L); } - function C(V) { - if (!Array.isArray(V)) - return arguments.length > 1 ? p( + function S(P) { + if (!Array.isArray(P)) + return arguments.length > 1 ? y( "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 B($, fe, te, le, pe) { - for (var de = $[fe], E = 0; E < V.length; E++) - if (H(de, V[E])) + ) : y("Invalid argument supplied to oneOf, expected an array."), m; + function L(R, ce, X, ue, he) { + for (var le = R[ce], A = 0; A < P.length; A++) + if (G(le, P[A])) return null; - var y = JSON.stringify(V, function(A, Y) { - var ee = ne(Y); - return ee === "symbol" ? String(Y) : Y; + var g = JSON.stringify(P, function(I, k) { + var J = ne(k); + return J === "symbol" ? String(k) : k; }); - return new W("Invalid " + le + " `" + pe + "` of value `" + String(de) + "` " + ("supplied to `" + te + "`, expected one of " + y + ".")); + return new Q("Invalid " + ue + " `" + he + "` of value `" + String(le) + "` " + ("supplied to `" + X + "`, expected one of " + g + ".")); } - return b(B); + return K(L); } - 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 W("Invalid " + le + " `" + pe + "` of type " + ("`" + E + "` supplied to `" + te + "`, expected an object.")); - for (var y in de) - if (g(de, y)) { - var M = V(de, y, te, le, pe + "." + y, d); - if (M instanceof Error) - return M; + function q(P) { + function L(R, ce, X, ue, he) { + if (typeof P != "function") + return new Q("Property `" + he + "` of component `" + X + "` has invalid PropType notation inside objectOf."); + var le = R[ce], A = b(le); + if (A !== "object") + return new Q("Invalid " + ue + " `" + he + "` of type " + ("`" + A + "` supplied to `" + X + "`, expected an object.")); + for (var g in le) + if (p(le, g)) { + var h = P(le, g, X, ue, he + "." + g, d); + if (h instanceof Error) + return h; } return null; } - return b(B); + return K(L); } - function re(V) { - if (!Array.isArray(V)) - return p("Invalid argument supplied to oneOfType, expected an instance of array."), m; - 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($) + " at index " + B + "." + function ae(P) { + if (!Array.isArray(P)) + return y("Invalid argument supplied to oneOfType, expected an instance of array."), m; + for (var L = 0; L < P.length; L++) { + var R = P[L]; + if (typeof R != "function") + return y( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(R) + " at index " + L + "." ), m; } - 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) + function ce(X, ue, he, le, A) { + for (var g = [], h = 0; h < P.length; h++) { + var I = P[h], k = I(X, ue, he, le, A, d); + if (k == null) return null; - Y.data && g(Y.data, "expectedType") && y.push(Y.data.expectedType); + k.data && p(k.data, "expectedType") && g.push(k.data.expectedType); } - var ee = y.length > 0 ? ", expected one of type [" + y.join(", ") + "]" : ""; - return new W("Invalid " + de + " `" + E + "` supplied to " + ("`" + pe + "`" + ee + ".")); + var J = g.length > 0 ? ", expected one of type [" + g.join(", ") + "]" : ""; + return new Q("Invalid " + le + " `" + A + "` supplied to " + ("`" + he + "`" + J + ".")); } - return b(fe); + return K(ce); } - function L() { - function V(B, $, fe, te, le) { - return K(B[$]) ? null : new W("Invalid " + te + " `" + le + "` supplied to " + ("`" + fe + "`, expected a ReactNode.")); + function O() { + function P(L, R, ce, X, ue) { + return B(L[R]) ? null : new Q("Invalid " + X + " `" + ue + "` supplied to " + ("`" + ce + "`, expected a ReactNode.")); } - return b(V); + return K(P); } - 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 z(P, L, R, ce, X) { + return new Q( + (P || "React class") + ": " + L + " type `" + R + "." + ce + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + X + "`." ); } - function P(V) { - function B($, fe, te, le, pe) { - var de = $[fe], E = O(de); - if (E !== "object") - 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, pe, y, ne(M)); - var A = M(de, y, te, le, pe + "." + y, d); - if (A) - return A; + function Y(P) { + function L(R, ce, X, ue, he) { + var le = R[ce], A = b(le); + if (A !== "object") + return new Q("Invalid " + ue + " `" + he + "` of type `" + A + "` " + ("supplied to `" + X + "`, expected `object`.")); + for (var g in P) { + var h = P[g]; + if (typeof h != "function") + return z(X, ue, he, g, ne(h)); + var I = h(le, g, X, ue, he + "." + g, d); + if (I) + return I; } return null; } - return b(B); + return K(L); } - function q(V) { - function B($, fe, te, le, pe) { - var de = $[fe], E = O(de); - if (E !== "object") - 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 = V[M]; - if (g(V, M) && typeof A != "function") - return F(te, le, pe, M, ne(A)); - if (!A) - 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, " ") + function W(P) { + function L(R, ce, X, ue, he) { + var le = R[ce], A = b(le); + if (A !== "object") + return new Q("Invalid " + ue + " `" + he + "` of type `" + A + "` " + ("supplied to `" + X + "`, expected `object`.")); + var g = f({}, R[ce], P); + for (var h in g) { + var I = P[h]; + if (p(P, h) && typeof I != "function") + return z(X, ue, he, h, ne(I)); + if (!I) + return new Q( + "Invalid " + ue + " `" + he + "` key `" + h + "` supplied to `" + X + "`.\nBad object: " + JSON.stringify(R[ce], null, " ") + ` +Valid keys: ` + JSON.stringify(Object.keys(P), null, " ") ); - var Y = A(de, M, te, le, pe + "." + M, d); - if (Y) - return Y; + var k = I(le, h, X, ue, he + "." + h, d); + if (k) + return k; } return null; } - return b(B); + return K(L); } - function K(V) { - switch (typeof V) { + function B(P) { + switch (typeof P) { case "number": case "string": case "undefined": return !0; case "boolean": - return !V; + return !P; case "object": - if (Array.isArray(V)) - return V.every(K); - if (V === null || v(V)) + if (Array.isArray(P)) + return P.every(B); + if (P === null || w(P)) return !0; - var B = N(V); - if (B) { - var $ = B.call(V), fe; - if (B !== V.entries) { - for (; !(fe = $.next()).done; ) - if (!K(fe.value)) + var L = T(P); + if (L) { + var R = L.call(P), ce; + if (L !== P.entries) { + for (; !(ce = R.next()).done; ) + if (!B(ce.value)) return !1; } else - for (; !(fe = $.next()).done; ) { - var te = fe.value; - if (te && !K(te[1])) + for (; !(ce = R.next()).done; ) { + var X = ce.value; + if (X && !B(X[1])) return !1; } } else @@ -5063,43 +4987,43 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") return !1; } } - function X(V, B) { - return V === "symbol" ? !0 : B ? B["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && B instanceof Symbol : !1; + function ee(P, L) { + return P === "symbol" ? !0 : L ? L["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && L instanceof Symbol : !1; } - function O(V) { - var B = typeof V; - return Array.isArray(V) ? "array" : V instanceof RegExp ? "object" : X(B, V) ? "symbol" : B; + function b(P) { + var L = typeof P; + return Array.isArray(P) ? "array" : P instanceof RegExp ? "object" : ee(L, P) ? "symbol" : L; } - function ne(V) { - if (typeof V > "u" || V === null) - return "" + V; - var B = O(V); - if (B === "object") { - if (V instanceof Date) + function ne(P) { + if (typeof P > "u" || P === null) + return "" + P; + var L = b(P); + if (L === "object") { + if (P instanceof Date) return "date"; - if (V instanceof RegExp) + if (P instanceof RegExp) return "regexp"; } - return B; + return L; } - function G(V) { - var B = ne(V); - switch (B) { + function $(P) { + var L = ne(P); + switch (L) { case "array": case "object": - return "an " + B; + return "an " + L; case "boolean": case "date": case "regexp": - return "a " + B; + return "a " + L; default: - return B; + return L; } } - function he(V) { - return !V.constructor || !V.constructor.name ? Q : V.constructor.name; + function ie(P) { + return !P.constructor || !P.constructor.name ? F : P.constructor.name; } - return z.checkPropTypes = h, z.resetWarningCache = h.resetWarningCache, z.PropTypes = z, z; + return _.checkPropTypes = M, _.resetWarningCache = M.resetWarningCache, _.PropTypes = _, _; }; } ), @@ -5109,13 +5033,13 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./node_modules/prop-types/index.js ***! \******************************************/ /***/ - (a, u, c) => { + (a, c, u) => { { - var l = c( + var l = u( /*! react-is */ "./node_modules/react-is/index.js" ), f = !0; - a.exports = c( + a.exports = u( /*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js" )(l.isElement, f); @@ -5129,8 +5053,8 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") \*************************************************************/ /***/ (a) => { - var u = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - a.exports = u; + var c = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; + a.exports = c; } ), /***/ @@ -5149,7 +5073,7 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./node_modules/react-is/cjs/react-is.development.js ***! \***********************************************************/ /***/ - (a, u) => { + (a, c) => { /** @license React v16.13.1 * react-is.development.js * @@ -5159,84 +5083,84 @@ Valid keys: ` + JSON.stringify(Object.keys(V), 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, 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 === 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); + var u = typeof Symbol == "function" && Symbol.for, l = u ? Symbol.for("react.element") : 60103, f = u ? Symbol.for("react.portal") : 60106, d = u ? Symbol.for("react.fragment") : 60107, p = u ? Symbol.for("react.strict_mode") : 60108, M = u ? Symbol.for("react.profiler") : 60114, y = u ? Symbol.for("react.provider") : 60109, m = u ? Symbol.for("react.context") : 60110, w = u ? Symbol.for("react.async_mode") : 60111, D = u ? Symbol.for("react.concurrent_mode") : 60111, N = u ? Symbol.for("react.forward_ref") : 60112, E = u ? Symbol.for("react.suspense") : 60113, T = u ? Symbol.for("react.suspense_list") : 60120, F = u ? Symbol.for("react.memo") : 60115, _ = u ? Symbol.for("react.lazy") : 60116, G = u ? Symbol.for("react.block") : 60121, Q = u ? Symbol.for("react.fundamental") : 60117, K = u ? Symbol.for("react.responder") : 60118, Z = u ? Symbol.for("react.scope") : 60119; + function re(I) { + return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + I === d || I === D || I === M || I === p || I === E || I === T || typeof I == "object" && I !== null && (I.$$typeof === _ || I.$$typeof === F || I.$$typeof === y || I.$$typeof === m || I.$$typeof === N || I.$$typeof === Q || I.$$typeof === K || I.$$typeof === Z || I.$$typeof === G); } - function x(A) { - if (typeof A == "object" && A !== null) { - var Y = A.$$typeof; - switch (Y) { + function U(I) { + if (typeof I == "object" && I !== null) { + var k = I.$$typeof; + switch (k) { case l: - var ee = A.type; - switch (ee) { - case v: + var J = I.type; + switch (J) { case w: + case D: case d: - case h: - case g: - case I: - return ee; + case M: + case p: + case E: + return J; default: - var Z = ee && ee.$$typeof; - switch (Z) { + var H = J && J.$$typeof; + switch (H) { case m: - case j: - case z: - case Q: - case p: - return Z; + case N: + case _: + case F: + case y: + return H; default: - return Y; + return k; } } case f: - return Y; + return k; } } } - 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; + var j = w, C = D, V = m, S = y, q = l, ae = N, O = d, z = _, Y = F, W = f, B = M, ee = p, b = E, ne = !1; + function $(I) { + 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.")), ie(I) || U(I) === w; } - function he(A) { - return x(A) === w; + function ie(I) { + return U(I) === D; } - function V(A) { - return x(A) === m; + function P(I) { + return U(I) === m; } - function B(A) { - return x(A) === p; + function L(I) { + return U(I) === y; } - function $(A) { - return typeof A == "object" && A !== null && A.$$typeof === l; + function R(I) { + return typeof I == "object" && I !== null && I.$$typeof === l; } - function fe(A) { - return x(A) === j; + function ce(I) { + return U(I) === N; } - function te(A) { - return x(A) === d; + function X(I) { + return U(I) === d; } - function le(A) { - return x(A) === z; + function ue(I) { + return U(I) === _; } - function pe(A) { - return x(A) === Q; + function he(I) { + return U(I) === F; } - function de(A) { - return x(A) === f; + function le(I) { + return U(I) === f; } - function E(A) { - return x(A) === h; + function A(I) { + return U(I) === M; } - function y(A) { - return x(A) === g; + function g(I) { + return U(I) === p; } - function M(A) { - return x(A) === I; + function h(I) { + return U(I) === E; } - 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; + c.AsyncMode = j, c.ConcurrentMode = C, c.ContextConsumer = V, c.ContextProvider = S, c.Element = q, c.ForwardRef = ae, c.Fragment = O, c.Lazy = z, c.Memo = Y, c.Portal = W, c.Profiler = B, c.StrictMode = ee, c.Suspense = b, c.isAsyncMode = $, c.isConcurrentMode = ie, c.isContextConsumer = P, c.isContextProvider = L, c.isElement = R, c.isForwardRef = ce, c.isFragment = X, c.isLazy = ue, c.isMemo = he, c.isPortal = le, c.isProfiler = A, c.isStrictMode = g, c.isSuspense = h, c.isValidElementType = re, c.typeOf = U; })(); } ), @@ -5246,8 +5170,8 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./node_modules/react-is/index.js ***! \****************************************/ /***/ - (a, u, c) => { - a.exports = c( + (a, c, u) => { + a.exports = u( /*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js" ); @@ -5259,8 +5183,8 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./node_modules/shallow-equal/dist/index.esm.js ***! \******************************************************/ /***/ - (a, u, c) => { - c.r(u), c.d(u, { + (a, c, u) => { + u.r(c), u.d(c, { /* harmony export */ shallowEqualArrays: () => ( /* binding */ @@ -5273,31 +5197,31 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") ) /* harmony export */ }); - function l(d, g) { - if (d === g) + function l(d, p) { + if (d === p) return !0; - if (!d || !g) + if (!d || !p) return !1; - var h = Object.keys(d), p = Object.keys(g), m = h.length; - if (p.length !== m) + var M = Object.keys(d), y = Object.keys(p), m = M.length; + if (y.length !== m) return !1; - for (var v = 0; v < m; v++) { - var w = h[v]; - if (d[w] !== g[w] || !Object.prototype.hasOwnProperty.call(g, w)) + for (var w = 0; w < m; w++) { + var D = M[w]; + if (d[D] !== p[D] || !Object.prototype.hasOwnProperty.call(p, D)) return !1; } return !0; } - function f(d, g) { - if (d === g) + function f(d, p) { + if (d === p) return !0; - if (!d || !g) + if (!d || !p) return !1; - var h = d.length; - if (g.length !== h) + var M = d.length; + if (p.length !== M) return !1; - for (var p = 0; p < h; p++) - if (d[p] !== g[p]) + for (var y = 0; y < M; y++) + if (d[y] !== p[y]) return !1; return !0; } @@ -5309,27 +5233,27 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./src/Component.ts ***! \**************************/ /***/ - function(a, u, c) { - var l = this && this.__rest || function(h, p) { + function(a, c, u) { + var l = this && this.__rest || function(M, y) { var m = {}; - for (var v in h) - Object.prototype.hasOwnProperty.call(h, v) && p.indexOf(v) < 0 && (m[v] = h[v]); - if (h != null && typeof Object.getOwnPropertySymbols == "function") - for (var w = 0, v = Object.getOwnPropertySymbols(h); w < v.length; w++) - p.indexOf(v[w]) < 0 && Object.prototype.propertyIsEnumerable.call(h, v[w]) && (m[v[w]] = h[v[w]]); + for (var w in M) + Object.prototype.hasOwnProperty.call(M, w) && y.indexOf(w) < 0 && (m[w] = M[w]); + if (M != null && typeof Object.getOwnPropertySymbols == "function") + for (var D = 0, w = Object.getOwnPropertySymbols(M); D < w.length; D++) + y.indexOf(w[D]) < 0 && Object.prototype.propertyIsEnumerable.call(M, w[D]) && (m[w[D]] = M[w[D]]); return m; - }, f = this && this.__importDefault || function(h) { - return h && h.__esModule ? h : { default: h }; + }, f = this && this.__importDefault || function(M) { + return M && M.__esModule ? M : { default: M }; }; - Object.defineProperty(u, "__esModule", { value: !0 }); - var d = f(c( + Object.defineProperty(c, "__esModule", { value: !0 }); + var d = f(u( /*! ./useMediaQuery */ "./src/useMediaQuery.ts" - )), g = function(h) { - var p = h.children, m = h.device, v = h.onChange, w = l(h, ["children", "device", "onChange"]), j = (0, d.default)(w, m, v); - return typeof p == "function" ? p(j) : j ? p : null; + )), p = function(M) { + var y = M.children, m = M.device, w = M.onChange, D = l(M, ["children", "device", "onChange"]), N = (0, d.default)(D, m, w); + return typeof y == "function" ? y(N) : N ? y : null; }; - u.default = g; + c.default = p; } ), /***/ @@ -5338,13 +5262,13 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./src/Context.ts ***! \************************/ /***/ - (a, u, c) => { - Object.defineProperty(u, "__esModule", { value: !0 }); - var l = c( + (a, c, u) => { + Object.defineProperty(c, "__esModule", { value: !0 }); + var l = u( /*! react */ "react" ), f = (0, l.createContext)(void 0); - u.default = f; + c.default = f; } ), /***/ @@ -5353,31 +5277,31 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./src/index.ts ***! \**********************/ /***/ - function(a, u, c) { - var l = this && this.__importDefault || function(p) { - return p && p.__esModule ? p : { default: p }; + function(a, c, u) { + var l = this && this.__importDefault || function(y) { + return y && y.__esModule ? y : { default: y }; }; - Object.defineProperty(u, "__esModule", { value: !0 }), u.Context = u.toQuery = u.useMediaQuery = u.default = void 0; - var f = l(c( + Object.defineProperty(c, "__esModule", { value: !0 }), c.Context = c.toQuery = c.useMediaQuery = c.default = void 0; + var f = l(u( /*! ./useMediaQuery */ "./src/useMediaQuery.ts" )); - u.useMediaQuery = f.default; - var d = l(c( + c.useMediaQuery = f.default; + var d = l(u( /*! ./Component */ "./src/Component.ts" )); - u.default = d.default; - var g = l(c( + c.default = d.default; + var p = l(u( /*! ./toQuery */ "./src/toQuery.ts" )); - u.toQuery = g.default; - var h = l(c( + c.toQuery = p.default; + var M = l(u( /*! ./Context */ "./src/Context.ts" )); - u.Context = h.default; + c.Context = M.default; } ), /***/ @@ -5386,77 +5310,77 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./src/mediaQuery.ts ***! \***************************/ /***/ - function(a, u, c) { + function(a, c, u) { var l = this && this.__assign || function() { - 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 l = Object.assign || function(E) { + for (var T, F = 1, _ = arguments.length; F < _; F++) { + T = arguments[F]; + for (var G in T) + Object.prototype.hasOwnProperty.call(T, G) && (E[G] = T[G]); } - return I; + return E; }, l.apply(this, arguments); - }, 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 }; + }, f = this && this.__rest || function(E, T) { + var F = {}; + for (var _ in E) + Object.prototype.hasOwnProperty.call(E, _) && T.indexOf(_) < 0 && (F[_] = E[_]); + if (E != null && typeof Object.getOwnPropertySymbols == "function") + for (var G = 0, _ = Object.getOwnPropertySymbols(E); G < _.length; G++) + T.indexOf(_[G]) < 0 && Object.prototype.propertyIsEnumerable.call(E, _[G]) && (F[_[G]] = E[_[G]]); + return F; + }, d = this && this.__importDefault || function(E) { + return E && E.__esModule ? E : { default: E }; }; - Object.defineProperty(u, "__esModule", { value: !0 }); - var g = d(c( + Object.defineProperty(c, "__esModule", { value: !0 }); + var p = d(u( /*! prop-types */ "./node_modules/prop-types/index.js" - )), h = g.default.oneOfType([ - g.default.string, - g.default.number - ]), p = { - all: g.default.bool, - grid: g.default.bool, - aural: g.default.bool, - braille: g.default.bool, - handheld: g.default.bool, - print: g.default.bool, - projection: g.default.bool, - screen: g.default.bool, - tty: g.default.bool, - tv: g.default.bool, - embossed: g.default.bool + )), M = p.default.oneOfType([ + p.default.string, + p.default.number + ]), y = { + all: p.default.bool, + grid: p.default.bool, + aural: p.default.bool, + braille: p.default.bool, + handheld: p.default.bool, + print: p.default.bool, + projection: p.default.bool, + screen: p.default.bool, + tty: p.default.bool, + tv: p.default.bool, + embossed: p.default.bool }, m = { - orientation: g.default.oneOf([ + orientation: p.default.oneOf([ "portrait", "landscape" ]), - scan: g.default.oneOf([ + scan: p.default.oneOf([ "progressive", "interlace" ]), - aspectRatio: g.default.string, - deviceAspectRatio: g.default.string, - height: h, - deviceHeight: h, - width: h, - deviceWidth: h, - color: g.default.bool, - colorIndex: g.default.bool, - monochrome: g.default.bool, - resolution: h, - type: Object.keys(p) + aspectRatio: p.default.string, + deviceAspectRatio: p.default.string, + height: M, + deviceHeight: M, + width: M, + deviceWidth: M, + color: p.default.bool, + colorIndex: p.default.bool, + monochrome: p.default.bool, + resolution: M, + type: Object.keys(y) }; m.type; - var v = f( + var w = f( m, ["type"] - ), w = l({ minAspectRatio: g.default.string, maxAspectRatio: g.default.string, minDeviceAspectRatio: g.default.string, maxDeviceAspectRatio: g.default.string, minHeight: h, maxHeight: h, minDeviceHeight: h, maxDeviceHeight: h, minWidth: h, maxWidth: h, minDeviceWidth: h, maxDeviceWidth: h, minColor: g.default.number, maxColor: g.default.number, minColorIndex: g.default.number, maxColorIndex: g.default.number, minMonochrome: g.default.number, maxMonochrome: g.default.number, minResolution: h, maxResolution: h }, v), j = l(l({}, p), w); - u.default = { - all: j, - types: p, + ), D = l({ minAspectRatio: p.default.string, maxAspectRatio: p.default.string, minDeviceAspectRatio: p.default.string, maxDeviceAspectRatio: p.default.string, minHeight: M, maxHeight: M, minDeviceHeight: M, maxDeviceHeight: M, minWidth: M, maxWidth: M, minDeviceWidth: M, maxDeviceWidth: M, minColor: p.default.number, maxColor: p.default.number, minColorIndex: p.default.number, maxColorIndex: p.default.number, minMonochrome: p.default.number, maxMonochrome: p.default.number, minResolution: M, maxResolution: M }, w), N = l(l({}, y), D); + c.default = { + all: N, + types: y, matchers: m, - features: w + features: D }; } ), @@ -5466,32 +5390,32 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./src/toQuery.ts ***! \************************/ /***/ - function(a, u, c) { - var l = this && this.__importDefault || function(v) { - return v && v.__esModule ? v : { default: v }; + function(a, c, u) { + var l = this && this.__importDefault || function(w) { + return w && w.__esModule ? w : { default: w }; }; - Object.defineProperty(u, "__esModule", { value: !0 }); - var f = l(c( + Object.defineProperty(c, "__esModule", { value: !0 }); + var f = l(u( /*! hyphenate-style-name */ "./node_modules/hyphenate-style-name/index.js" - )), d = l(c( + )), d = l(u( /*! ./mediaQuery */ "./src/mediaQuery.ts" - )), g = function(v) { - return "not ".concat(v); - }, h = function(v, w) { - var j = (0, f.default)(v); - return typeof w == "number" && (w = "".concat(w, "px")), w === !0 ? j : w === !1 ? g(j) : "(".concat(j, ": ").concat(w, ")"); - }, p = function(v) { - return v.join(" and "); - }, m = function(v) { - var w = []; - return Object.keys(d.default.all).forEach(function(j) { - var I = v[j]; - I != null && w.push(h(j, I)); - }), p(w); + )), p = function(w) { + return "not ".concat(w); + }, M = function(w, D) { + var N = (0, f.default)(w); + return typeof D == "number" && (D = "".concat(D, "px")), D === !0 ? N : D === !1 ? p(N) : "(".concat(N, ": ").concat(D, ")"); + }, y = function(w) { + return w.join(" and "); + }, m = function(w) { + var D = []; + return Object.keys(d.default.all).forEach(function(N) { + var E = w[N]; + E != null && D.push(M(N, E)); + }), y(D); }; - u.default = m; + c.default = m; } ), /***/ @@ -5500,95 +5424,95 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") !*** ./src/useMediaQuery.ts ***! \******************************/ /***/ - function(a, u, c) { - var l = this && this.__importDefault || function(W) { - return W && W.__esModule ? W : { default: W }; + function(a, c, u) { + var l = this && this.__importDefault || function(Q) { + return Q && Q.__esModule ? Q : { default: Q }; }; - Object.defineProperty(u, "__esModule", { value: !0 }); - var f = c( + Object.defineProperty(c, "__esModule", { value: !0 }); + var f = u( /*! react */ "react" - ), d = l(c( + ), d = l(u( /*! matchmediaquery */ "./node_modules/matchmediaquery/index.js" - )), g = l(c( + )), p = l(u( /*! hyphenate-style-name */ "./node_modules/hyphenate-style-name/index.js" - )), h = c( + )), M = u( /*! shallow-equal */ "./node_modules/shallow-equal/dist/index.esm.js" - ), p = l(c( + ), y = l(u( /*! ./toQuery */ "./src/toQuery.ts" - )), m = l(c( + )), m = l(u( /*! ./Context */ "./src/Context.ts" - )), 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)] = W[U], k; + )), w = function(Q) { + return Q.query || (0, y.default)(Q); + }, D = function(Q) { + if (Q) { + var K = Object.keys(Q); + return K.reduce(function(Z, re) { + return Z[(0, p.default)(re)] = Q[re], Z; }, {}); } - }, j = function() { - var W = (0, f.useRef)(!1); + }, N = function() { + var Q = (0, f.useRef)(!1); return (0, f.useEffect)(function() { - W.current = !0; - }, []), W.current; - }, I = function(W) { - var b = (0, f.useContext)(m.default), k = function() { - return w(W) || w(b); - }, U = (0, f.useState)(k), x = U[0], T = U[1]; + Q.current = !0; + }, []), Q.current; + }, E = function(Q) { + var K = (0, f.useContext)(m.default), Z = function() { + return D(Q) || D(K); + }, re = (0, f.useState)(Z), U = re[0], j = re[1]; return (0, f.useEffect)(function() { - var S = k(); - (0, h.shallowEqualObjects)(x, S) || T(S); - }, [W, b]), x; - }, N = function(W) { - var b = function() { - return v(W); - }, k = (0, f.useState)(b), U = k[0], x = k[1]; + var C = Z(); + (0, M.shallowEqualObjects)(U, C) || j(C); + }, [Q, K]), U; + }, T = function(Q) { + var K = function() { + return w(Q); + }, Z = (0, f.useState)(K), re = Z[0], U = Z[1]; return (0, f.useEffect)(function() { - var T = b(); - U !== T && x(T); - }, [W]), U; - }, Q = function(W, b) { - var k = function() { - return (0, d.default)(W, b || {}, !!b); - }, U = (0, f.useState)(k), x = U[0], T = U[1], S = j(); + var j = K(); + re !== j && U(j); + }, [Q]), re; + }, F = function(Q, K) { + var Z = function() { + return (0, d.default)(Q, K || {}, !!K); + }, re = (0, f.useState)(Z), U = re[0], j = re[1], C = N(); return (0, f.useEffect)(function() { - if (S) { - var R = k(); - return T(R), function() { - R && R.dispose(); + if (C) { + var V = Z(); + return j(V), function() { + V && V.dispose(); }; } - }, [W, b]), x; - }, z = function(W) { - var b = (0, f.useState)(W.matches), k = b[0], U = b[1]; + }, [Q, K]), U; + }, _ = function(Q) { + var K = (0, f.useState)(Q.matches), Z = K[0], re = K[1]; return (0, f.useEffect)(function() { - var x = function(T) { - U(T.matches); + var U = function(j) { + re(j.matches); }; - return W.addListener(x), U(W.matches), function() { - W.removeListener(x); + return Q.addListener(U), re(Q.matches), function() { + Q.removeListener(U); }; - }, [W]), k; - }, H = function(W, b, k) { - var U = I(b), x = N(W); - if (!x) + }, [Q]), Z; + }, G = function(Q, K, Z) { + var re = E(K), U = T(Q); + if (!U) throw new Error("Invalid or missing MediaQuery!"); - var T = Q(x, U), S = z(T), R = j(); + var j = F(U, re), C = _(j), V = N(); return (0, f.useEffect)(function() { - R && k && k(S); - }, [S]), (0, f.useEffect)(function() { + V && Z && Z(C); + }, [C]), (0, f.useEffect)(function() { return function() { - T && T.dispose(); + j && j.dispose(); }; - }, []), S; + }, []), C; }; - u.default = H; + c.default = G; } ), /***/ @@ -5602,12 +5526,12 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") } ) /******/ - }, i = {}; - function o(a) { - var u = i[a]; - if (u !== void 0) - return u.exports; - var c = i[a] = { + }, o = {}; + function i(a) { + var c = o[a]; + if (c !== void 0) + return c.exports; + var u = o[a] = { /******/ // no module.id needed /******/ @@ -5616,20 +5540,21 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ") exports: {} /******/ }; - return r[a].call(c.exports, c, c.exports, o), c.exports; + return r[a].call(u.exports, u, u.exports, i), u.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) => { + i.d = (a, c) => { + for (var u in c) + i.o(c, u) && !i.o(a, u) && Object.defineProperty(a, u, { enumerable: !0, get: c[u] }); + }, i.o = (a, c) => Object.prototype.hasOwnProperty.call(a, c), i.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"); + var s = i("./src/index.ts"); return s; })() )); -})(av); -const rl = /* @__PURE__ */ rh(ka), uv = { +})(kf); +var XM = kf.exports; +const yc = /* @__PURE__ */ vi(XM), ZM = { main: "#9E1E32", lighter: "#AB2339", darker: "#8E1729", @@ -5642,7 +5567,7 @@ const rl = /* @__PURE__ */ rh(ka), uv = { card1: "#FFFFFF", card2: "#EEEEEE", card3: "#E5E5E5" -}, cv = { +}, ey = { main: "#CB3243", lighter: "#D5919A", darker: "#1E1315", @@ -5655,10 +5580,10 @@ const rl = /* @__PURE__ */ rh(ka), uv = { card1: "#2C2C2C", card2: "#353535", card3: "#232323" -}, lv = { +}, ty = { sun: "#FFC000", moon: "#F7E7CE" -}, fv = { +}, ny = { dark: { fall: "#9A5306", winter: "#0073A9", @@ -5671,38 +5596,31 @@ const rl = /* @__PURE__ */ rh(ka), uv = { spring: "#FF65D3", summer: "#FF7701" } -}, Je = { - light: uv, - dark: cv, - icon: lv, - quarter: fv +}, $e = { + light: ZM, + dark: ey, + icon: ty, + quarter: ny }; -function ve() { - return ve = Object.assign ? Object.assign.bind() : function(e) { +function de() { + return de = 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; - }, ve.apply(this, arguments); + }, de.apply(this, arguments); } -function ut(e, t) { +function We(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]); + var n = {}, r = Object.keys(e), o, i; + for (i = 0; i < r.length; i++) + o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]); return n; } -var _o = {}, dv = { - get exports() { - return _o; - }, - set exports(e) { - _o = e; - } -}, $e = {}; +var ta = { exports: {} }, Re = {}; /** @license React v17.0.2 * react-is.production.min.js * @@ -5711,77 +5629,77 @@ var _o = {}, dv = { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var il; -function hv() { - if (il) - return $e; - 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; +var mc; +function ry() { + if (mc) + return Re; + mc = 1; + var e = 60103, t = 60106, n = 60107, r = 60108, o = 60114, i = 60109, s = 60110, a = 60112, c = 60113, u = 60120, l = 60115, f = 60116, d = 60121, p = 60122, M = 60117, y = 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"); + var w = Symbol.for; + e = w("react.element"), t = w("react.portal"), n = w("react.fragment"), r = w("react.strict_mode"), o = w("react.profiler"), i = w("react.provider"), s = w("react.context"), a = w("react.forward_ref"), c = w("react.suspense"), u = w("react.suspense_list"), l = w("react.memo"), f = w("react.lazy"), d = w("react.block"), p = w("react.server.block"), M = w("react.fundamental"), y = w("react.debug_trace_mode"), m = w("react.legacy_hidden"); } - function w(x) { - if (typeof x == "object" && x !== null) { - var T = x.$$typeof; - switch (T) { + function D(U) { + if (typeof U == "object" && U !== null) { + var j = U.$$typeof; + switch (j) { case e: - switch (x = x.type, x) { + switch (U = U.type, U) { case n: - case i: + case o: case r: - case u: case c: - return x; + case u: + return U; default: - switch (x = x && x.$$typeof, x) { + switch (U = U && U.$$typeof, U) { case s: case a: case f: case l: - case o: - return x; + case i: + return U; default: - return T; + return j; } } case t: - return T; + return j; } } } - 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() { + var N = i, E = e, T = a, F = n, _ = f, G = l, Q = t, K = o, Z = r, re = c; + return Re.ContextConsumer = s, Re.ContextProvider = N, Re.Element = E, Re.ForwardRef = T, Re.Fragment = F, Re.Lazy = _, Re.Memo = G, Re.Portal = Q, Re.Profiler = K, Re.StrictMode = Z, Re.Suspense = re, Re.isAsyncMode = function() { return !1; - }, $e.isConcurrentMode = function() { + }, Re.isConcurrentMode = function() { return !1; - }, $e.isContextConsumer = function(x) { - return w(x) === s; - }, $e.isContextProvider = function(x) { - return w(x) === o; - }, $e.isElement = function(x) { - return typeof x == "object" && x !== null && x.$$typeof === e; - }, $e.isForwardRef = function(x) { - return w(x) === a; - }, $e.isFragment = function(x) { - return w(x) === n; - }, $e.isLazy = function(x) { - return w(x) === f; - }, $e.isMemo = function(x) { - return w(x) === l; - }, $e.isPortal = function(x) { - return w(x) === t; - }, $e.isProfiler = function(x) { - return w(x) === i; - }, $e.isStrictMode = function(x) { - return w(x) === r; - }, $e.isSuspense = function(x) { - return w(x) === u; - }, $e.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); - }, $e.typeOf = w, $e; -} -var We = {}; + }, Re.isContextConsumer = function(U) { + return D(U) === s; + }, Re.isContextProvider = function(U) { + return D(U) === i; + }, Re.isElement = function(U) { + return typeof U == "object" && U !== null && U.$$typeof === e; + }, Re.isForwardRef = function(U) { + return D(U) === a; + }, Re.isFragment = function(U) { + return D(U) === n; + }, Re.isLazy = function(U) { + return D(U) === f; + }, Re.isMemo = function(U) { + return D(U) === l; + }, Re.isPortal = function(U) { + return D(U) === t; + }, Re.isProfiler = function(U) { + return D(U) === o; + }, Re.isStrictMode = function(U) { + return D(U) === r; + }, Re.isSuspense = function(U) { + return D(U) === c; + }, Re.isValidElementType = function(U) { + return typeof U == "string" || typeof U == "function" || U === n || U === o || U === y || U === r || U === c || U === u || U === m || typeof U == "object" && U !== null && (U.$$typeof === f || U.$$typeof === l || U.$$typeof === i || U.$$typeof === s || U.$$typeof === a || U.$$typeof === M || U.$$typeof === d || U[0] === p); + }, Re.typeOf = D, Re; +} +var Ye = {}; /** @license React v17.0.2 * react-is.development.js * @@ -5790,291 +5708,280 @@ 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 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; +var vc; +function iy() { + return vc || (vc = 1, process.env.NODE_ENV !== "production" && function() { + var e = 60103, t = 60106, n = 60107, r = 60108, o = 60114, i = 60109, s = 60110, a = 60112, c = 60113, u = 60120, l = 60115, f = 60116, d = 60121, p = 60122, M = 60117, y = 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 = Symbol.for; + e = w("react.element"), t = w("react.portal"), n = w("react.fragment"), r = w("react.strict_mode"), o = w("react.profiler"), i = w("react.provider"), s = w("react.context"), a = w("react.forward_ref"), c = w("react.suspense"), u = w("react.suspense_list"), l = w("react.memo"), f = w("react.lazy"), d = w("react.block"), p = w("react.server.block"), M = w("react.fundamental"), w("react.scope"), w("react.opaque.id"), y = w("react.debug_trace_mode"), w("react.offscreen"), m = w("react.legacy_hidden"); } - var w = !1; - 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)); + var D = !1; + function N(L) { + return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || L === y || L === r || L === c || L === u || L === m || D || typeof L == "object" && L !== null && (L.$$typeof === f || L.$$typeof === l || L.$$typeof === i || L.$$typeof === s || L.$$typeof === a || L.$$typeof === M || L.$$typeof === d || L[0] === p)); } - function I(B) { - if (typeof B == "object" && B !== null) { - var $ = B.$$typeof; - switch ($) { + function E(L) { + if (typeof L == "object" && L !== null) { + var R = L.$$typeof; + switch (R) { case e: - var fe = B.type; - switch (fe) { + var ce = L.type; + switch (ce) { case n: - case i: + case o: case r: - case u: case c: - return fe; + case u: + return ce; default: - var te = fe && fe.$$typeof; - switch (te) { + var X = ce && ce.$$typeof; + switch (X) { case s: case a: case f: case l: - case o: - return te; + case i: + return X; default: - return $; + return R; } } case t: - return $; + return R; } } } - 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; + var T = s, F = i, _ = e, G = a, Q = n, K = f, Z = l, re = t, U = o, j = r, C = c, V = !1, S = !1; + function q(L) { + return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - 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 ae(L) { + return S || (S = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function L(B) { - return I(B) === s; + function O(L) { + return E(L) === s; } - function F(B) { - return I(B) === o; + function z(L) { + return E(L) === i; } - function P(B) { - return typeof B == "object" && B !== null && B.$$typeof === e; + function Y(L) { + return typeof L == "object" && L !== null && L.$$typeof === e; } - function q(B) { - return I(B) === a; + function W(L) { + return E(L) === a; } - function K(B) { - return I(B) === n; + function B(L) { + return E(L) === n; } - function X(B) { - return I(B) === f; + function ee(L) { + return E(L) === f; } - function O(B) { - return I(B) === l; + function b(L) { + return E(L) === l; } - function ne(B) { - return I(B) === t; + function ne(L) { + return E(L) === t; } - function G(B) { - return I(B) === i; + function $(L) { + return E(L) === o; } - function he(B) { - return I(B) === r; + function ie(L) { + return E(L) === r; } - function V(B) { - return I(B) === u; + function P(L) { + return E(L) === c; } - 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; + Ye.ContextConsumer = T, Ye.ContextProvider = F, Ye.Element = _, Ye.ForwardRef = G, Ye.Fragment = Q, Ye.Lazy = K, Ye.Memo = Z, Ye.Portal = re, Ye.Profiler = U, Ye.StrictMode = j, Ye.Suspense = C, Ye.isAsyncMode = q, Ye.isConcurrentMode = ae, Ye.isContextConsumer = O, Ye.isContextProvider = z, Ye.isElement = Y, Ye.isForwardRef = W, Ye.isFragment = B, Ye.isLazy = ee, Ye.isMemo = b, Ye.isPortal = ne, Ye.isProfiler = $, Ye.isStrictMode = ie, Ye.isSuspense = P, Ye.isValidElementType = N, Ye.typeOf = E; + }()), Ye; } -(function(e) { - process.env.NODE_ENV === "production" ? e.exports = hv() : e.exports = gv(); -})(dv); -function Th(e) { +process.env.NODE_ENV === "production" ? ta.exports = ry() : ta.exports = iy(); +var zf = ta.exports; +function Uf(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 = Th(e[t])) && (r && (r += " "), r += n); + e[t] && (n = Uf(e[t])) && (r && (r += " "), r += n); else for (t in e) e[t] && (r && (r += " "), r += t); return r; } -function st() { +function tt() { for (var e, t, n = 0, r = ""; n < arguments.length; ) - (e = arguments[n++]) && (t = Th(e)) && (r && (r += " "), r += t); + (e = arguments[n++]) && (t = Uf(e)) && (r && (r += " "), r += t); return r; } -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) { +function Pf(e) { return typeof e == "string"; } -function $i(e, t) { +function Di(e, t) { return process.env.NODE_ENV === "production" ? () => null : function(...r) { return e(...r) || t(...r); }; } -function Ar(e) { +function ir(e) { return e !== null && typeof e == "object" && e.constructor === Object; } -function Sh(e) { - if (!Ar(e)) +function Rf(e) { + if (!ir(e)) return e; const t = {}; return Object.keys(e).forEach((n) => { - t[n] = Sh(e[n]); + t[n] = Rf(e[n]); }), t; } -function un(e, t, n = { +function Xt(e, t, n = { clone: !0 }) { - 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]) ? Sh(t[i]) : t[i] : r[i] = t[i]); + const r = n.clone ? de({}, e) : e; + return ir(e) && ir(t) && Object.keys(t).forEach((o) => { + o !== "__proto__" && (ir(t[o]) && o in e && ir(e[o]) ? r[o] = Xt(e[o], t[o], n) : n.clone ? r[o] = ir(t[o]) ? Rf(t[o]) : t[o] : r[o] = t[o]); }), r; } -function pv(e) { +function oy(e) { const { prototype: t = {} } = e; return !!t.isReactComponent; } -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. +function Yf(e, t, n, r, o) { + const i = e[t], s = o || t; + if (i == null || // When server-side rendering React doesn't warn either. // This is not an accurate check for SSR. // This is only in place for Emotion compat. // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved. typeof window > "u") return null; let a; - const u = o.type; - 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 c = i.type; + return typeof c == "function" && !oy(c) && (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 Ch = $i(D.element, bh); -Ch.isRequired = $i(D.element.isRequired, bh); -const Wi = Ch; -function Mv(e) { +const Ff = Di(v.element, Yf); +Ff.isRequired = Di(v.element.isRequired, Yf); +const Ii = Ff; +function sy(e) { const { prototype: t = {} } = e; return !!t.isReactComponent; } -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. +function ay(e, t, n, r, o) { + const i = e[t], s = o || t; + if (i == null || // When server-side rendering React doesn't warn either. // This is not an accurate check for SSR. // This is only in place for emotion compat. // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved. 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; + return typeof i == "function" && !sy(i) && (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 xh = $i(D.elementType, yv), mv = "exact-prop: ​"; -function Oh(e) { - return process.env.NODE_ENV === "production" ? e : Ge({}, e, { - [mv]: (t) => { +const Qf = Di(v.elementType, ay), uy = "exact-prop: ​"; +function Bf(e) { + return process.env.NODE_ENV === "production" ? e : de({}, e, { + [uy]: (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 ji(e) { +function oi(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 vv = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/; -function wv(e) { - const t = `${e}`.match(vv); +const cy = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/; +function ly(e) { + const t = `${e}`.match(cy); return t && t[1] || ""; } -function Lh(e, t = "") { - return e.displayName || e.name || wv(e) || t; +function $f(e, t = "") { + return e.displayName || e.name || ly(e) || t; } -function sl(e, t, n) { - const r = Lh(t); +function wc(e, t, n) { + const r = $f(t); return e.displayName || (r !== "" ? `${n}(${r})` : n); } -function Dv(e) { +function fy(e) { if (e != null) { if (typeof e == "string") return e; if (typeof e == "function") - return Lh(e, "Component"); + return $f(e, "Component"); if (typeof e == "object") switch (e.$$typeof) { - case nr.ForwardRef: - return sl(e, e.render, "ForwardRef"); - case nr.Memo: - return sl(e, e.type, "memo"); + case ti.ForwardRef: + return wc(e, e.render, "ForwardRef"); + case ti.Memo: + return wc(e, e.type, "memo"); default: return; } } } -function kr(e, t, n, r, i) { +function Mr(e, t, n, r, o) { if (process.env.NODE_ENV === "production") return null; - 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 i = e[t], s = o || t; + return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null; } -const Av = D.oneOfType([D.func, D.object]), _h = Av; -function Mi(e) { +const dy = v.oneOfType([v.func, v.object]), Wf = dy; +function lr(e) { if (typeof e != "string") - throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ji(7)); + throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : oi(7)); return e.charAt(0).toUpperCase() + e.slice(1); } -function al(...e) { - return e.reduce((t, n) => n == null ? t : function(...i) { - t.apply(this, i), n.apply(this, i); +function Dc(...e) { + return e.reduce((t, n) => n == null ? t : function(...o) { + t.apply(this, o), n.apply(this, o); }, () => { }); } -function Ev(e, t = 166) { +function hy(e, t = 166) { let n; - function r(...i) { - const o = () => { - e.apply(this, i); + function r(...o) { + const i = () => { + e.apply(this, o); }; - clearTimeout(n), n = setTimeout(o, t); + clearTimeout(n), n = setTimeout(i, t); } return r.clear = () => { clearTimeout(n); }, r; } -function $t(e) { +function _t(e) { return e && e.ownerDocument || document; } -function Si(e) { - return $t(e).defaultView || window; +function si(e) { + return _t(e).defaultView || window; } -function za(e, t) { +function na(e, t) { typeof e == "function" ? e(t) : e && (e.current = t); } -const Iv = typeof window < "u" ? oe.useLayoutEffect : oe.useEffect, bi = Iv; -function Tr(e) { - const t = oe.useRef(e); - return bi(() => { +const gy = typeof window < "u" ? te.useLayoutEffect : te.useEffect, ai = gy; +function ur(e) { + const t = te.useRef(e); + return ai(() => { t.current = e; - }), oe.useCallback((...n) => ( + }), te.useCallback((...n) => ( // @ts-expect-error hide `this` // tslint:disable-next-line:ban-comma-operator (0, t.current)(...n) ), []); } -function Tt(...e) { - return oe.useMemo(() => e.every((t) => t == null) ? null : (t) => { +function mt(...e) { + return te.useMemo(() => e.every((t) => t == null) ? null : (t) => { e.forEach((n) => { - za(n, t); + na(n, t); }); }, e); } -let es = !0, Pa = !1, ul; -const Nv = { +let bo = !0, ra = !1, Ic; +const py = { text: !0, search: !0, url: !0, @@ -6089,26 +5996,26 @@ const Nv = { datetime: !0, "datetime-local": !0 }; -function Tv(e) { +function My(e) { const { type: t, tagName: n } = e; - return !!(n === "INPUT" && Nv[t] && !e.readOnly || n === "TEXTAREA" && !e.readOnly || e.isContentEditable); + return !!(n === "INPUT" && py[t] && !e.readOnly || n === "TEXTAREA" && !e.readOnly || e.isContentEditable); } -function jv(e) { - e.metaKey || e.altKey || e.ctrlKey || (es = !0); +function yy(e) { + e.metaKey || e.altKey || e.ctrlKey || (bo = !0); } -function $s() { - es = !1; +function ys() { + bo = !1; } -function Sv() { - this.visibilityState === "hidden" && Pa && (es = !0); +function my() { + this.visibilityState === "hidden" && ra && (bo = !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 vy(e) { + e.addEventListener("keydown", yy, !0), e.addEventListener("mousedown", ys, !0), e.addEventListener("pointerdown", ys, !0), e.addEventListener("touchstart", ys, !0), e.addEventListener("visibilitychange", my, !0); } -function Cv(e) { +function wy(e) { const { target: t } = e; @@ -6116,19 +6023,19 @@ function Cv(e) { return t.matches(":focus-visible"); } catch { } - return es || Tv(t); + return bo || My(t); } -function xv() { - const e = oe.useCallback((i) => { - i != null && bv(i.ownerDocument); - }, []), t = oe.useRef(!1); +function Dy() { + const e = te.useCallback((o) => { + o != null && vy(o.ownerDocument); + }, []), t = te.useRef(!1); function n() { - return t.current ? (Pa = !0, window.clearTimeout(ul), ul = window.setTimeout(() => { - Pa = !1; + return t.current ? (ra = !0, window.clearTimeout(Ic), Ic = window.setTimeout(() => { + ra = !1; }, 100), t.current = !1, !0) : !1; } - function r(i) { - return Cv(i) ? (t.current = !0, !0) : !1; + function r(o) { + return wy(o) ? (t.current = !0, !0) : !1; } return { isFocusVisibleRef: t, @@ -6137,11 +6044,11 @@ function xv() { ref: e }; } -function kh(e) { +function Vf(e) { const t = e.documentElement.clientWidth; return Math.abs(window.innerWidth - t); } -function Ov(e) { +function Iy(e) { const t = typeof e; switch (t) { case "number": @@ -6152,59 +6059,59 @@ function Ov(e) { return t; } } -function Lv(e) { +function Ay(e) { return typeof e == "number" && isFinite(e) && Math.floor(e) === e; } -const _v = Number.isInteger || Lv; -function zh(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\`.`); +const Ey = Number.isInteger || Ay; +function Hf(e, t, n, r) { + const o = e[t]; + if (o == null || !Ey(o)) { + const i = Iy(o); + return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`); } return null; } -function Ph(e, t, ...n) { - return e[t] === void 0 ? null : zh(e, t, ...n); +function qf(e, t, ...n) { + return e[t] === void 0 ? null : Hf(e, t, ...n); } -function Ra() { +function ia() { return null; } -Ph.isRequired = zh; -Ra.isRequired = Ra; -const Rh = process.env.NODE_ENV === "production" ? Ra : Ph; -function Uh(e, t) { - const n = Ge({}, t); +qf.isRequired = Hf; +ia.isRequired = ia; +const Kf = process.env.NODE_ENV === "production" ? ia : qf; +function Gf(e, t) { + const n = de({}, t); return Object.keys(e).forEach((r) => { if (r.toString().match(/^(components|slots)$/)) - n[r] = Ge({}, e[r], n[r]); + n[r] = de({}, 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] = Ge({}, o), Object.keys(i).forEach((s) => { - n[r][s] = Uh(i[s], o[s]); + const o = e[r] || {}, i = t[r]; + n[r] = {}, !i || !Object.keys(i) ? n[r] = o : !o || !Object.keys(o) ? n[r] = i : (n[r] = de({}, i), Object.keys(o).forEach((s) => { + n[r][s] = Gf(o[s], i[s]); })); } else n[r] === void 0 && (n[r] = e[r]); }), n; } -function On(e, t, n = void 0) { +function wn(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`. + // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`. // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208 - (i) => { - r[i] = e[i].reduce((o, s) => { + (o) => { + r[o] = e[o].reduce((i, s) => { if (s) { const a = t(s); - a !== "" && o.push(a), n && n[s] && o.push(n[s]); + a !== "" && i.push(a), n && n[s] && i.push(n[s]); } - return o; + return i; }, []).join(" "); } ), r; } -const cl = (e) => e, kv = () => { - let e = cl; +const Ac = (e) => e, Ty = () => { + let e = Ac; return { configure(t) { e = t; @@ -6213,61 +6120,54 @@ const cl = (e) => e, kv = () => { return e(t); }, reset() { - e = cl; + e = Ac; } }; -}, zv = kv(), Pv = zv, Rv = { +}, Ny = Ty(), jy = Ny, by = { active: "active", checked: "checked", completed: "completed", disabled: "disabled", - readOnly: "readOnly", error: "error", expanded: "expanded", focused: "focused", focusVisible: "focusVisible", + open: "open", + readOnly: "readOnly", required: "required", selected: "selected" }; -function Zt(e, t, n = "Mui") { - const r = Rv[t]; - return r ? `${n}-${r}` : `${Pv.generate(e)}-${t}`; +function Bt(e, t, n = "Mui") { + const r = by[t]; + return r ? `${n}-${r}` : `${jy.generate(e)}-${t}`; } -function Pt(e, t, n = "Mui") { +function bt(e, t, n = "Mui") { const r = {}; - return t.forEach((i) => { - r[i] = Zt(e, i, n); + return t.forEach((o) => { + r[o] = Bt(e, o, n); }), r; } -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) { +function Sy(e) { return typeof e == "function" ? e() : e; } -const ko = /* @__PURE__ */ oe.forwardRef(function(t, n) { +const ro = /* @__PURE__ */ te.forwardRef(function(t, n) { const { children: r, - container: i, - disablePortal: o = !1 - } = 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 za(n, s), () => { - za(n, null); + container: o, + disablePortal: i = !1 + } = t, [s, a] = te.useState(null), c = mt(/* @__PURE__ */ te.isValidElement(r) ? r.ref : null, n); + return ai(() => { + i || a(Sy(o) || document.body); + }, [o, i]), ai(() => { + if (s && !i) + return na(n, s), () => { + na(n, null); }; - }, [n, s, o]), o ? /* @__PURE__ */ oe.isValidElement(r) ? /* @__PURE__ */ oe.cloneElement(r, { - ref: u - }) : r : s && /* @__PURE__ */ nM.createPortal(r, s); + }, [n, s, i]), i ? /* @__PURE__ */ te.isValidElement(r) ? /* @__PURE__ */ te.cloneElement(r, { + ref: c + }) : r : s && /* @__PURE__ */ Gh.createPortal(r, s); }); -process.env.NODE_ENV !== "production" && (ko.propTypes = { +process.env.NODE_ENV !== "production" && (ro.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -6275,7 +6175,7 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = { /** * The children to render into the `container`. */ - children: D.node, + children: v.node, /** * An HTML element or function that returns one. * The `container` will have the portal children appended to it. @@ -6283,55 +6183,55 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = { * By default, it uses the body of the top-level document object, * so it's simply `document.body` most of the time. */ - container: D.oneOfType([kr, D.func]), + container: v.oneOfType([Mr, v.func]), /** * The `children` will be under the DOM hierarchy of the parent component. * @default false */ - disablePortal: D.bool + disablePortal: v.bool }); -process.env.NODE_ENV !== "production" && (ko["propTypes"] = Oh(ko.propTypes)); -const Fv = ko; -function Yv(e) { - const t = $t(e); - return t.body === e ? Si(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight; +process.env.NODE_ENV !== "production" && (ro["propTypes"] = Bf(ro.propTypes)); +const xy = ro; +function Cy(e) { + const t = _t(e); + return t.body === e ? si(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight; } -function yi(e, t) { +function Gr(e, t) { t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden"); } -function ll(e) { - return parseInt(Si(e).getComputedStyle(e).paddingRight, 10) || 0; +function Ec(e) { + return parseInt(si(e).getComputedStyle(e).paddingRight, 10) || 0; } -function fl(e, t, n, r = [], i) { - const o = [t, n, ...r], s = ["TEMPLATE", "SCRIPT", "STYLE"]; +function Tc(e, t, n, r = [], o) { + const i = [t, n, ...r], s = ["TEMPLATE", "SCRIPT", "STYLE"]; [].forEach.call(e.children, (a) => { - o.indexOf(a) === -1 && s.indexOf(a.tagName) === -1 && yi(a, i); + i.indexOf(a) === -1 && s.indexOf(a.tagName) === -1 && Gr(a, o); }); } -function Ws(e, t) { +function ms(e, t) { let n = -1; - return e.some((r, i) => t(r) ? (n = i, !0) : !1), n; + return e.some((r, o) => t(r) ? (n = o, !0) : !1), n; } -function Qv(e, t) { +function Oy(e, t) { const n = [], r = e.container; if (!t.disableScrollLock) { - if (Yv(r)) { - const u = kh($t(r)); + if (Cy(r)) { + const c = Vf(_t(r)); n.push({ value: r.style.paddingRight, property: "padding-right", el: r - }), r.style.paddingRight = `${ll(r) + u}px`; - const c = $t(r).querySelectorAll(".mui-fixed"); - [].forEach.call(c, (l) => { + }), r.style.paddingRight = `${Ec(r) + c}px`; + const u = _t(r).querySelectorAll(".mui-fixed"); + [].forEach.call(u, (l) => { n.push({ value: l.style.paddingRight, property: "padding-right", el: l - }), l.style.paddingRight = `${ll(l) + u}px`; + }), l.style.paddingRight = `${Ec(l) + c}px`; }); } - const o = r.parentElement, s = Si(r), a = (o == null ? void 0 : o.nodeName) === "HTML" && s.getComputedStyle(o).overflowY === "scroll" ? o : r; + const i = r.parentElement, s = si(r), a = (i == null ? void 0 : i.nodeName) === "HTML" && s.getComputedStyle(i).overflowY === "scroll" ? i : r; n.push({ value: a.style.overflow, property: "overflow", @@ -6348,21 +6248,21 @@ function Qv(e, t) { } return () => { n.forEach(({ - value: o, + value: i, el: s, property: a }) => { - o ? s.style.setProperty(a, o) : s.style.removeProperty(a); + i ? s.style.setProperty(a, i) : s.style.removeProperty(a); }); }; } -function Bv(e) { +function Ly(e) { const t = []; return [].forEach.call(e.children, (n) => { n.getAttribute("aria-hidden") === "true" && t.push(n); }), t; } -class $v { +class _y { constructor() { this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = []; } @@ -6370,31 +6270,31 @@ class $v { let r = this.modals.indexOf(t); if (r !== -1) return r; - 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({ + r = this.modals.length, this.modals.push(t), t.modalRef && Gr(t.modalRef, !1); + const o = Ly(n); + Tc(n, t.mount, t.modalRef, o, !0); + const i = ms(this.containers, (s) => s.container === n); + return i !== -1 ? (this.containers[i].modals.push(t), r) : (this.containers.push({ modals: [t], container: n, restore: null, - hiddenSiblings: i + hiddenSiblings: o }), r); } mount(t, n) { - const r = Ws(this.containers, (o) => o.modals.indexOf(t) !== -1), i = this.containers[r]; - i.restore || (i.restore = Qv(i, n)); + const r = ms(this.containers, (i) => i.modals.indexOf(t) !== -1), o = this.containers[r]; + o.restore || (o.restore = Oy(o, n)); } remove(t) { const n = this.modals.indexOf(t); if (n === -1) return n; - 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 && yi(t.modalRef, !0), fl(i.container, t.mount, t.modalRef, i.hiddenSiblings, !1), this.containers.splice(r, 1); + const r = ms(this.containers, (i) => i.modals.indexOf(t) !== -1), o = this.containers[r]; + if (o.modals.splice(o.modals.indexOf(t), 1), this.modals.splice(n, 1), o.modals.length === 0) + o.restore && o.restore(), t.modalRef && Gr(t.modalRef, !0), Tc(o.container, t.mount, t.modalRef, o.hiddenSiblings, !1), this.containers.splice(r, 1); else { - const o = i.modals[i.modals.length - 1]; - o.modalRef && yi(o.modalRef, !1); + const i = o.modals[o.modals.length - 1]; + i.modalRef && Gr(i.modalRef, !1); } return n; } @@ -6402,119 +6302,119 @@ class $v { return this.modals.length > 0 && this.modals[this.modals.length - 1] === t; } } -const Wv = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(","); -function Vv(e) { +const ky = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(","); +function zy(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 Hv(e) { +function Uy(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 qv(e) { - return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Hv(e)); +function Py(e) { + return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Uy(e)); } -function Kv(e) { +function Ry(e) { const t = [], n = []; - 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, + return Array.from(e.querySelectorAll(ky)).forEach((r, o) => { + const i = zy(r); + i === -1 || !Py(r) || (i === 0 ? t.push(r) : n.push({ + documentOrder: o, + tabIndex: i, node: r })); - }), n.sort((r, i) => r.tabIndex === i.tabIndex ? r.documentOrder - i.documentOrder : r.tabIndex - i.tabIndex).map((r) => r.node).concat(t); + }), n.sort((r, o) => r.tabIndex === o.tabIndex ? r.documentOrder - o.documentOrder : r.tabIndex - o.tabIndex).map((r) => r.node).concat(t); } -function Gv() { +function Yy() { return !0; } -function zo(e) { +function io(e) { const { children: t, disableAutoFocus: n = !1, disableEnforceFocus: r = !1, - disableRestoreFocus: i = !1, - getTabbable: o = Kv, - isEnabled: s = Gv, + disableRestoreFocus: o = !1, + getTabbable: i = Ry, + isEnabled: s = Yy, open: a - } = 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]), oe.useEffect(() => { - if (!a || !h.current) + } = e, c = te.useRef(), u = te.useRef(null), l = te.useRef(null), f = te.useRef(null), d = te.useRef(null), p = te.useRef(!1), M = te.useRef(null), y = mt(t.ref, M), m = te.useRef(null); + te.useEffect(() => { + !a || !M.current || (p.current = !n); + }, [n, a]), te.useEffect(() => { + if (!a || !M.current) return; - const j = $t(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); + const N = _t(M.current); + return M.current.contains(N.activeElement) || (M.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(` +`)), M.current.setAttribute("tabIndex", -1)), p.current && M.current.focus()), () => { + o || (f.current && f.current.focus && (c.current = !0, f.current.focus()), f.current = null); }; - }, [a]), oe.useEffect(() => { - if (!a || !h.current) + }, [a]), te.useEffect(() => { + if (!a || !M.current) return; - const j = $t(h.current), I = (z) => { + const N = _t(M.current), E = (_) => { const { - current: H - } = h; - if (H !== null) { - if (!j.hasFocus() || r || !s() || u.current) { - u.current = !1; + current: G + } = M; + if (G !== null) { + if (!N.hasFocus() || r || !s() || c.current) { + c.current = !1; return; } - if (!H.contains(j.activeElement)) { - if (z && d.current !== z.target || j.activeElement !== d.current) + if (!G.contains(N.activeElement)) { + if (_ && d.current !== _.target || N.activeElement !== d.current) d.current = null; else if (d.current !== null) return; - if (!g.current) + if (!p.current) return; - let k = []; - if ((j.activeElement === c.current || j.activeElement === l.current) && (k = o(h.current)), k.length > 0) { - 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(); + let Z = []; + if ((N.activeElement === u.current || N.activeElement === l.current) && (Z = i(M.current)), Z.length > 0) { + var Q, K; + const re = !!((Q = m.current) != null && Q.shiftKey && ((K = m.current) == null ? void 0 : K.key) === "Tab"), U = Z[0], j = Z[Z.length - 1]; + re ? j.focus() : U.focus(); } else - H.focus(); + G.focus(); } } - }, N = (z) => { - m.current = z, !(r || !s() || z.key !== "Tab") && j.activeElement === h.current && z.shiftKey && (u.current = !0, l.current.focus()); + }, T = (_) => { + m.current = _, !(r || !s() || _.key !== "Tab") && N.activeElement === M.current && _.shiftKey && (c.current = !0, l.current.focus()); }; - j.addEventListener("focusin", I), j.addEventListener("keydown", N, !0); - const Q = setInterval(() => { - j.activeElement.tagName === "BODY" && I(); + N.addEventListener("focusin", E), N.addEventListener("keydown", T, !0); + const F = setInterval(() => { + N.activeElement.tagName === "BODY" && E(); }, 50); return () => { - clearInterval(Q), j.removeEventListener("focusin", I), j.removeEventListener("keydown", N, !0); + clearInterval(F), N.removeEventListener("focusin", E), N.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; + }, [n, r, o, s, a, i]); + const w = (N) => { + f.current === null && (f.current = N.relatedTarget), p.current = !0, d.current = N.target; + const E = t.props.onFocus; + E && E(N); + }, D = (N) => { + f.current === null && (f.current = N.relatedTarget), p.current = !0; }; - return /* @__PURE__ */ ge.jsxs(oe.Fragment, { - children: [/* @__PURE__ */ ge.jsx("div", { + return /* @__PURE__ */ fe.jsxs(te.Fragment, { + children: [/* @__PURE__ */ fe.jsx("div", { tabIndex: 0, - onFocus: w, - ref: c, + onFocus: D, + ref: u, "data-test": "sentinelStart" - }), /* @__PURE__ */ oe.cloneElement(t, { - ref: p, - onFocus: v - }), /* @__PURE__ */ ge.jsx("div", { + }), /* @__PURE__ */ te.cloneElement(t, { + ref: y, + onFocus: w + }), /* @__PURE__ */ fe.jsx("div", { tabIndex: 0, - onFocus: w, + onFocus: D, ref: l, "data-test": "sentinelEnd" })] }); } -process.env.NODE_ENV !== "production" && (zo.propTypes = { +process.env.NODE_ENV !== "production" && (io.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -6522,7 +6422,7 @@ process.env.NODE_ENV !== "production" && (zo.propTypes = { /** * A single child content element. */ - children: Wi, + children: Ii, /** * If `true`, the trap focus will not automatically shift focus to itself when it opens, and * replace it to the last focused element when it closes. @@ -6532,7 +6432,7 @@ process.env.NODE_ENV !== "production" && (zo.propTypes = { * accessible to assistive technologies, like screen readers. * @default false */ - disableAutoFocus: D.bool, + disableAutoFocus: v.bool, /** * If `true`, the trap focus will not prevent focus from leaving the trap focus while open. * @@ -6540,19 +6440,19 @@ process.env.NODE_ENV !== "production" && (zo.propTypes = { * accessible to assistive technologies, like screen readers. * @default false */ - disableEnforceFocus: D.bool, + disableEnforceFocus: v.bool, /** * If `true`, the trap focus will not restore focus to previously focused element once * trap focus is hidden or unmounted. * @default false */ - disableRestoreFocus: D.bool, + disableRestoreFocus: v.bool, /** * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root. * For instance, you can provide the "tabbable" npm dependency. * @param {HTMLElement} root */ - getTabbable: D.func, + getTabbable: v.func, /** * This prop extends the `open` prop. * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop. @@ -6562,137 +6462,137 @@ process.env.NODE_ENV !== "production" && (zo.propTypes = { * return true; * } */ - isEnabled: D.func, + isEnabled: v.func, /** * If `true`, focus is locked. */ - open: D.bool.isRequired + open: v.bool.isRequired }); -process.env.NODE_ENV !== "production" && (zo["propTypes"] = Oh(zo.propTypes)); -function Jv(e) { - return Zt("MuiModal", e); +process.env.NODE_ENV !== "production" && (io["propTypes"] = Bf(io.propTypes)); +function Fy(e) { + return Bt("MuiModal", e); } -Pt("MuiModal", ["root", "hidden"]); -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) => { +bt("MuiModal", ["root", "hidden"]); +const Qy = ["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"], By = (e) => { const { open: t, exited: n, classes: r } = e; - return On({ + return wn({ root: ["root", !t && n && "hidden"] - }, Jv, r); + }, Fy, r); }; -function ew(e) { +function $y(e) { return typeof e == "function" ? e() : e; } -function tw(e) { +function Wy(e) { return e.children ? e.children.props.hasOwnProperty("in") : !1; } -const nw = new $v(), Fh = /* @__PURE__ */ oe.forwardRef(function(t, n) { +const Vy = new _y(), Jf = /* @__PURE__ */ te.forwardRef(function(t, n) { const { BackdropComponent: r, - BackdropProps: i, - children: o, + BackdropProps: o, + children: i, classes: s, className: a, - closeAfterTransition: u = !1, - component: c = "div", + closeAfterTransition: c = !1, + component: u = "div", components: l = {}, componentsProps: f = {}, container: d, - disableAutoFocus: g = !1, - disableEnforceFocus: h = !1, - disableEscapeKeyDown: p = !1, + disableAutoFocus: p = !1, + disableEnforceFocus: M = !1, + disableEscapeKeyDown: y = !1, disablePortal: m = !1, - disableRestoreFocus: v = !1, - disableScrollLock: w = !1, - hideBackdrop: j = !1, - keepMounted: I = !1, + disableRestoreFocus: w = !1, + disableScrollLock: D = !1, + hideBackdrop: N = !1, + keepMounted: E = !1, // private // eslint-disable-next-line react/prop-types - manager: N = nw, - onBackdropClick: Q, - onClose: z, - onKeyDown: H, - open: W, + manager: T = Vy, + onBackdropClick: F, + onClose: _, + onKeyDown: G, + open: Q, /* eslint-disable react/prop-types */ - theme: b, - onTransitionEnter: k, - onTransitionExited: U - } = 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 = 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(() => () => { + theme: K, + onTransitionEnter: Z, + onTransitionExited: re + } = t, U = We(t, Qy), [j, C] = te.useState(!0), V = te.useRef({}), S = te.useRef(null), q = te.useRef(null), ae = mt(q, n), O = Wy(t), z = () => _t(S.current), Y = () => (V.current.modalRef = q.current, V.current.mountNode = S.current, V.current), W = () => { + T.mount(Y(), { + disableScrollLock: D + }), q.current.scrollTop = 0; + }, B = ur(() => { + const le = $y(d) || z().body; + T.add(Y(), le), q.current && W(); + }), ee = te.useCallback(() => T.isTopModal(Y()), [T]), b = ur((le) => { + S.current = le, le && (Q && ee() ? W() : Gr(q.current, !0)); + }), ne = te.useCallback(() => { + T.remove(Y()); + }, [T]); + te.useEffect(() => () => { ne(); - }, [ne]), oe.useEffect(() => { - W ? K() : (!L || !u) && ne(); - }, [W, ne, L, u, K]); - const G = Ge({}, t, { + }, [ne]), te.useEffect(() => { + Q ? B() : (!O || !c) && ne(); + }, [Q, ne, O, c, B]); + const $ = de({}, t, { classes: s, - closeAfterTransition: u, - disableAutoFocus: g, - disableEnforceFocus: h, - disableEscapeKeyDown: p, + closeAfterTransition: c, + disableAutoFocus: p, + disableEnforceFocus: M, + disableEscapeKeyDown: y, disablePortal: m, - disableRestoreFocus: v, - disableScrollLock: w, - exited: T, - hideBackdrop: j, - keepMounted: I - }), he = Xv(G); - if (!I && !W && (!L || T)) + disableRestoreFocus: w, + disableScrollLock: D, + exited: j, + hideBackdrop: N, + keepMounted: E + }), ie = By($); + if (!E && !Q && (!O || j)) return null; - const V = () => { - S(!1), k && k(); - }, B = () => { - S(!0), U && U(), u && ne(); - }, $ = (de) => { - de.target === de.currentTarget && (Q && Q(de), z && z(de, "backdropClick")); - }, fe = (de) => { - 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 = 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, + const P = () => { + C(!1), Z && Z(); + }, L = () => { + C(!0), re && re(), c && ne(); + }, R = (le) => { + le.target === le.currentTarget && (F && F(le), _ && _(le, "backdropClick")); + }, ce = (le) => { + G && G(le), !(le.key !== "Escape" || !ee()) && (y || (le.stopPropagation(), _ && _(le, "escapeKeyDown"))); + }, X = {}; + i.props.tabIndex === void 0 && (X.tabIndex = "-1"), O && (X.onEnter = Dc(P, i.props.onEnter), X.onExited = Dc(L, i.props.onExited)); + const ue = l.Root || u, he = f.root || {}; + return /* @__PURE__ */ fe.jsx(xy, { + ref: b, container: d, disablePortal: m, - children: /* @__PURE__ */ ge.jsxs(le, Ge({ + children: /* @__PURE__ */ fe.jsxs(ue, de({ role: "presentation" - }, pe, !jh(le) && { - as: c, - ownerState: Ge({}, G, pe.ownerState), - theme: b - }, x, { - ref: re, - onKeyDown: fe, - className: st(he.root, pe.className, a), - children: [!j && r ? /* @__PURE__ */ ge.jsx(r, Ge({ + }, he, !Pf(ue) && { + as: u, + ownerState: de({}, $, he.ownerState), + theme: K + }, U, { + ref: ae, + onKeyDown: ce, + className: tt(ie.root, he.className, a), + children: [!N && r ? /* @__PURE__ */ fe.jsx(r, de({ "aria-hidden": !0, - open: W, - onClick: $ - }, i)) : null, /* @__PURE__ */ ge.jsx(zo, { - disableEnforceFocus: h, - disableAutoFocus: g, - disableRestoreFocus: v, - isEnabled: X, - open: W, - children: /* @__PURE__ */ oe.cloneElement(o, te) + open: Q, + onClick: R + }, o)) : null, /* @__PURE__ */ fe.jsx(io, { + disableEnforceFocus: M, + disableAutoFocus: p, + disableRestoreFocus: w, + isEnabled: ee, + open: Q, + children: /* @__PURE__ */ te.cloneElement(i, X) })] })) }); }); -process.env.NODE_ENV !== "production" && (Fh.propTypes = { +process.env.NODE_ENV !== "production" && (Jf.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -6700,47 +6600,47 @@ process.env.NODE_ENV !== "production" && (Fh.propTypes = { /** * A backdrop component. This prop enables custom backdrop rendering. */ - BackdropComponent: D.elementType, + BackdropComponent: v.elementType, /** * Props applied to the backdrop element. */ - BackdropProps: D.object, + BackdropProps: v.object, /** * A single child content element. */ - children: Wi.isRequired, + children: Ii.isRequired, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string, + className: v.string, /** * When set to true the Modal waits until a nested Transition is completed before closing. * @default false */ - closeAfterTransition: D.bool, + closeAfterTransition: v.bool, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: D.elementType, + component: v.elementType, /** * The components used for each slot inside the Modal. * Either a string to use a HTML element or a component. * @default {} */ - components: D.shape({ - Root: D.elementType + components: v.shape({ + Root: v.elementType }), /** * The props used for each slot inside the Modal. * @default {} */ - componentsProps: D.shape({ - root: D.object + componentsProps: v.shape({ + root: v.object }), /** * An HTML element or function that returns one. @@ -6749,7 +6649,7 @@ process.env.NODE_ENV !== "production" && (Fh.propTypes = { * By default, it uses the body of the top-level document object, * so it's simply `document.body` most of the time. */ - container: D.oneOfType([kr, D.func]), + container: v.oneOfType([Mr, v.func]), /** * If `true`, the modal will not automatically shift focus to itself when it opens, and * replace it to the last focused element when it closes. @@ -6759,7 +6659,7 @@ process.env.NODE_ENV !== "production" && (Fh.propTypes = { * accessible to assistive technologies, like screen readers. * @default false */ - disableAutoFocus: D.bool, + disableAutoFocus: v.bool, /** * If `true`, the modal will not prevent focus from leaving the modal while open. * @@ -6767,45 +6667,45 @@ process.env.NODE_ENV !== "production" && (Fh.propTypes = { * accessible to assistive technologies, like screen readers. * @default false */ - disableEnforceFocus: D.bool, + disableEnforceFocus: v.bool, /** * If `true`, hitting escape will not fire the `onClose` callback. * @default false */ - disableEscapeKeyDown: D.bool, + disableEscapeKeyDown: v.bool, /** * The `children` will be under the DOM hierarchy of the parent component. * @default false */ - disablePortal: D.bool, + disablePortal: v.bool, /** * If `true`, the modal will not restore focus to previously focused element once * modal is hidden or unmounted. * @default false */ - disableRestoreFocus: D.bool, + disableRestoreFocus: v.bool, /** * Disable the scroll lock behavior. * @default false */ - disableScrollLock: D.bool, + disableScrollLock: v.bool, /** * If `true`, the backdrop is not rendered. * @default false */ - hideBackdrop: D.bool, + hideBackdrop: v.bool, /** * Always keep the children in the DOM. * This prop can be useful in SEO situation or * when you want to maximize the responsiveness of the Modal. * @default false */ - keepMounted: D.bool, + keepMounted: v.bool, /** * Callback fired when the backdrop is clicked. * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events. */ - onBackdropClick: D.func, + onBackdropClick: v.func, /** * Callback fired when the component requests to be closed. * The `reason` parameter can optionally be used to control the response to `onClose`. @@ -6813,122 +6713,122 @@ process.env.NODE_ENV !== "production" && (Fh.propTypes = { * @param {object} event The event source of the callback. * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`. */ - onClose: D.func, + onClose: v.func, /** * @ignore */ - onKeyDown: D.func, + onKeyDown: v.func, /** * If `true`, the component is shown. */ - open: D.bool.isRequired + open: v.bool.isRequired }); -const rw = Fh; -function iw(e) { +const Hy = Jf; +function qy(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 ow(e) { +function Ky(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 sw = /* @__PURE__ */ function() { +var Gy = /* @__PURE__ */ function() { function e(n) { var r = this; - this._insertTag = function(i) { - var o; - r.tags.length === 0 ? r.insertionPoint ? o = r.insertionPoint.nextSibling : r.prepend ? o = r.container.firstChild : o = r.before : o = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, o), r.tags.push(i); + this._insertTag = function(o) { + var i; + r.tags.length === 0 ? r.insertionPoint ? i = r.insertionPoint.nextSibling : r.prepend ? i = r.container.firstChild : i = r.before : i = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(o, i), r.tags.push(o); }, this.isSpeedy = n.speedy === void 0 ? process.env.NODE_ENV === "production" : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null; } var t = e.prototype; return t.hydrate = function(r) { r.forEach(this._insertTag); }, t.insert = function(r) { - this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ow(this)); - var i = this.tags[this.tags.length - 1]; + this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ky(this)); + var o = this.tags[this.tags.length - 1]; if (process.env.NODE_ENV !== "production") { - var o = r.charCodeAt(0) === 64 && r.charCodeAt(1) === 105; - o && this._alreadyInsertedOrderInsensitiveRule && console.error(`You're attempting to insert the following rule: -` + 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; + var i = r.charCodeAt(0) === 64 && r.charCodeAt(1) === 105; + i && this._alreadyInsertedOrderInsensitiveRule && console.error(`You're attempting to insert the following rule: +` + 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 || !i; } if (this.isSpeedy) { - var s = iw(i); + var s = qy(o); try { s.insertRule(r, s.cssRules.length); } catch (a) { process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r) && console.error('There was a problem inserting the following rule: "' + r + '"', a); } } else - i.appendChild(document.createTextNode(r)); + o.appendChild(document.createTextNode(r)); this.ctr++; }, t.flush = function() { this.tags.forEach(function(r) { return r.parentNode && r.parentNode.removeChild(r); }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1); }, e; -}(), 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; +}(), at = "-ms-", oo = "-moz-", xe = "-webkit-", Za = "comm", eu = "rule", tu = "decl", Jy = "@import", Xf = "@keyframes", Xy = "@layer", Zy = Math.abs, So = String.fromCharCode, em = Object.assign; +function tm(e, t) { + return rt(e, 0) ^ 45 ? (((t << 2 ^ rt(e, 0)) << 2 ^ rt(e, 1)) << 2 ^ rt(e, 2)) << 2 ^ rt(e, 3) : 0; } -function Qh(e) { +function Zf(e) { return e.trim(); } -function fw(e, t) { +function nm(e, t) { return (e = t.exec(e)) ? e[0] : e; } -function ze(e, t, n) { +function Oe(e, t, n) { return e.replace(t, n); } -function Ua(e, t) { +function oa(e, t) { return e.indexOf(t); } -function lt(e, t) { +function rt(e, t) { return e.charCodeAt(t) | 0; } -function Ci(e, t, n) { +function ui(e, t, n) { return e.slice(t, n); } -function qt(e) { +function Pt(e) { return e.length; } -function Uu(e) { +function nu(e) { return e.length; } -function io(e, t) { +function Li(e, t) { return t.push(e), e; } -function dw(e, t) { +function rm(e, t) { return e.map(t).join(""); } -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: "" }; +var xo = 1, yr = 1, ed = 0, ht = 0, Xe = 0, Er = ""; +function Co(e, t, n, r, o, i, s) { + return { value: e, root: t, parent: n, type: r, props: o, children: i, line: xo, column: yr, length: s, return: "" }; } -function Jr(e, t) { - return cw(rs("", null, null, "", null, null, 0), e, { length: -e.length }, t); +function Or(e, t) { + return em(Co("", null, null, "", null, null, 0), e, { length: -e.length }, t); } -function hw() { - return it; +function im() { + return Xe; } -function gw() { - return it = Dt > 0 ? lt(Br, --Dt) : 0, zr--, it === 10 && (zr = 1, ns--), it; +function om() { + return Xe = ht > 0 ? rt(Er, --ht) : 0, yr--, Xe === 10 && (yr = 1, xo--), Xe; } -function jt() { - return it = Dt < Bh ? lt(Br, Dt++) : 0, zr++, it === 10 && (zr = 1, ns++), it; +function vt() { + return Xe = ht < ed ? rt(Er, ht++) : 0, yr++, Xe === 10 && (yr = 1, xo++), Xe; } -function Jt() { - return lt(Br, Dt); +function Qt() { + return rt(Er, ht); } -function vo() { - return Dt; +function $i() { + return ht; } -function Vi(e, t) { - return Ci(Br, e, t); +function Ai(e, t) { + return ui(Er, e, t); } -function xi(e) { +function ci(e) { switch (e) { case 0: case 9: @@ -6960,278 +6860,282 @@ function xi(e) { } return 0; } -function $h(e) { - return ns = zr = 1, Bh = qt(Br = e), Dt = 0, []; +function td(e) { + return xo = yr = 1, ed = Pt(Er = e), ht = 0, []; } -function Wh(e) { - return Br = "", e; +function nd(e) { + return Er = "", e; } -function wo(e) { - return Qh(Vi(Dt - 1, Fa(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); +function Wi(e) { + return Zf(Ai(ht - 1, sa(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } -function pw(e) { - for (; (it = Jt()) && it < 33; ) - jt(); - return xi(e) > 2 || xi(it) > 3 ? "" : " "; +function sm(e) { + for (; (Xe = Qt()) && Xe < 33; ) + vt(); + return ci(e) > 2 || ci(Xe) > 3 ? "" : " "; } -function Mw(e, t) { - for (; --t && jt() && !(it < 48 || it > 102 || it > 57 && it < 65 || it > 70 && it < 97); ) +function am(e, t) { + for (; --t && vt() && !(Xe < 48 || Xe > 102 || Xe > 57 && Xe < 65 || Xe > 70 && Xe < 97); ) ; - return Vi(e, vo() + (t < 6 && Jt() == 32 && jt() == 32)); + return Ai(e, $i() + (t < 6 && Qt() == 32 && vt() == 32)); } -function Fa(e) { - for (; jt(); ) - switch (it) { +function sa(e) { + for (; vt(); ) + switch (Xe) { case e: - return Dt; + return ht; case 34: case 39: - e !== 34 && e !== 39 && Fa(it); + e !== 34 && e !== 39 && sa(Xe); break; case 40: - e === 41 && Fa(e); + e === 41 && sa(e); break; case 92: - jt(); + vt(); break; } - return Dt; + return ht; } -function yw(e, t) { - for (; jt() && e + it !== 47 + 10; ) - if (e + it === 42 + 42 && Jt() === 47) +function um(e, t) { + for (; vt() && e + Xe !== 47 + 10; ) + if (e + Xe === 42 + 42 && Qt() === 47) break; - return "/*" + Vi(t, Dt - 1) + "*" + ts(e === 47 ? e : jt()); + return "/*" + Ai(t, ht - 1) + "*" + So(e === 47 ? e : vt()); } -function mw(e) { - for (; !xi(Jt()); ) - jt(); - return Vi(e, Dt); +function cm(e) { + for (; !ci(Qt()); ) + vt(); + return Ai(e, ht); } -function vw(e) { - return Wh(Do("", null, null, null, [""], e = $h(e), 0, [0], e)); +function lm(e) { + return nd(Vi("", null, null, null, [""], e = td(e), 0, [0], e)); } -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()) { +function Vi(e, t, n, r, o, i, s, a, c) { + for (var u = 0, l = 0, f = s, d = 0, p = 0, M = 0, y = 1, m = 1, w = 1, D = 0, N = "", E = o, T = i, F = r, _ = N; m; ) + switch (M = D, D = vt()) { case 40: - if (h != 108 && lt(z, f - 1) == 58) { - Ua(z += ze(wo(w), "&", "&\f"), "&\f") != -1 && (v = -1); + if (M != 108 && rt(_, f - 1) == 58) { + oa(_ += Oe(Wi(D), "&", "&\f"), "&\f") != -1 && (w = -1); break; } case 34: case 39: case 91: - z += wo(w); + _ += Wi(D); break; case 9: case 10: case 13: case 32: - z += pw(h); + _ += sm(M); break; case 92: - z += Mw(vo() - 1, 7); + _ += am($i() - 1, 7); continue; case 47: - switch (Jt()) { + switch (Qt()) { case 42: case 47: - io(ww(yw(jt(), vo()), t, n), u); + Li(fm(um(vt(), $i()), t, n), c); break; default: - z += "/"; + _ += "/"; } break; - case 123 * p: - a[c++] = qt(z) * v; - case 125 * p: + case 123 * y: + a[u++] = Pt(_) * w; + case 125 * y: case 59: case 0: - switch (w) { + switch (D) { case 0: case 125: m = 0; case 59 + l: - 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); + w == -1 && (_ = Oe(_, /\f/g, "")), p > 0 && Pt(_) - f && Li(p > 32 ? jc(_ + ";", r, n, f - 1) : jc(Oe(_, " ", "") + ";", r, n, f - 2), c); break; case 59: - z += ";"; + _ += ";"; default: - if (io(Q = dl(z, t, n, c, l, i, a, j, I = [], N = [], f), o), w === 123) + if (Li(F = Nc(_, t, n, u, l, o, a, N, E = [], T = [], f), i), D === 123) if (l === 0) - Do(z, t, Q, Q, I, o, f, a, N); + Vi(_, t, F, F, E, i, f, a, T); else - switch (d === 99 && lt(z, 3) === 110 ? 100 : d) { + switch (d === 99 && rt(_, 3) === 110 ? 100 : d) { case 100: + case 108: case 109: case 115: - 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); + Vi(e, F, F, r && Li(Nc(e, F, F, 0, 0, o, a, N, o, E = [], f), T), o, T, f, a, r ? E : T); break; default: - Do(z, Q, Q, Q, [""], N, 0, a, N); + Vi(_, F, F, F, [""], T, 0, a, T); } } - c = l = g = 0, p = v = 1, j = z = "", f = s; + u = l = p = 0, y = w = 1, N = _ = "", f = s; break; case 58: - f = 1 + qt(z), g = h; + f = 1 + Pt(_), p = M; default: - if (p < 1) { - if (w == 123) - --p; - else if (w == 125 && p++ == 0 && gw() == 125) + if (y < 1) { + if (D == 123) + --y; + else if (D == 125 && y++ == 0 && om() == 125) continue; } - switch (z += ts(w), w * p) { + switch (_ += So(D), D * y) { case 38: - v = l > 0 ? 1 : (z += "\f", -1); + w = l > 0 ? 1 : (_ += "\f", -1); break; case 44: - a[c++] = (qt(z) - 1) * v, v = 1; + a[u++] = (Pt(_) - 1) * w, w = 1; break; case 64: - Jt() === 45 && (z += wo(jt())), d = Jt(), l = f = qt(j = z += mw(vo())), w++; + Qt() === 45 && (_ += Wi(vt())), d = Qt(), l = f = Pt(N = _ += cm($i())), D++; break; case 45: - h === 45 && qt(z) == 2 && (p = 0); + M === 45 && Pt(_) == 2 && (y = 0); } } - return o; + return i; } -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 Nc(e, t, n, r, o, i, s, a, c, u, l) { + for (var f = o - 1, d = o === 0 ? i : [""], p = nu(d), M = 0, y = 0, m = 0; M < r; ++M) + for (var w = 0, D = ui(e, f + 1, f = Zy(y = s[M])), N = e; w < p; ++w) + (N = Zf(y > 0 ? d[w] + " " + D : Oe(D, /&\f/g, d[w]))) && (c[m++] = N); + return Co(e, t, n, o === 0 ? eu : a, c, u, l); } -function ww(e, t, n) { - return rs(e, t, n, zu, ts(hw()), Ci(e, 2, -2), 0); +function fm(e, t, n) { + return Co(e, t, n, Za, So(im()), ui(e, 2, -2), 0); } -function hl(e, t, n, r) { - return rs(e, t, n, Ru, Ci(e, 0, r), Ci(e, r + 1, -1), r); +function jc(e, t, n, r) { + return Co(e, t, n, tu, ui(e, 0, r), ui(e, r + 1, -1), r); } -function br(e, t) { - for (var n = "", r = Uu(e), i = 0; i < r; i++) - n += t(e[i], i, e, t) || ""; +function fr(e, t) { + for (var n = "", r = nu(e), o = 0; o < r; o++) + n += t(e[o], o, e, t) || ""; return n; } -function Dw(e, t, n, r) { +function dm(e, t, n, r) { switch (e.type) { - case aw: - case Ru: + case Xy: + if (e.children.length) + break; + case Jy: + case tu: return e.return = e.return || e.value; - case zu: + case Za: return ""; - case Yh: - return e.return = e.value + "{" + br(e.children, r) + "}"; - case Pu: + case Xf: + return e.return = e.value + "{" + fr(e.children, r) + "}"; + case eu: e.value = e.props.join(","); } - return qt(n = br(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; + return Pt(n = fr(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; } -function Aw(e) { - var t = Uu(e); - return function(n, r, i, o) { +function hm(e) { + var t = nu(e); + return function(n, r, o, i) { for (var s = "", a = 0; a < t; a++) - s += e[a](n, r, i, o) || ""; + s += e[a](n, r, o, i) || ""; return s; }; } -function Ew(e) { +function gm(e) { return function(t) { t.root || (t = t.return) && e(t); }; } -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); -}, Nw = function(t, n) { - var r = -1, i = 44; +var pm = function(t, n, r) { + for (var o = 0, i = 0; o = i, i = Qt(), o === 38 && i === 12 && (n[r] = 1), !ci(i); ) + vt(); + return Ai(t, ht); +}, Mm = function(t, n) { + var r = -1, o = 44; do - switch (xi(i)) { + switch (ci(o)) { case 0: - i === 38 && Jt() === 12 && (n[r] = 1), t[r] += Iw(Dt - 1, n, r); + o === 38 && Qt() === 12 && (n[r] = 1), t[r] += pm(ht - 1, n, r); break; case 2: - t[r] += wo(i); + t[r] += Wi(o); break; case 4: - if (i === 44) { - t[++r] = Jt() === 58 ? "&\f" : "", n[r] = t[r].length; + if (o === 44) { + t[++r] = Qt() === 58 ? "&\f" : "", n[r] = t[r].length; break; } default: - t[r] += ts(i); + t[r] += So(o); } - while (i = jt()); + while (o = vt()); return t; -}, Tw = function(t, n) { - return Wh(Nw($h(t), n)); -}, gl = /* @__PURE__ */ new WeakMap(), jw = function(t) { +}, ym = function(t, n) { + return nd(Mm(td(t), n)); +}, bc = /* @__PURE__ */ new WeakMap(), mm = 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"; ) + for (var n = t.value, r = t.parent, o = 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 && !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]; + if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !bc.get(r)) && !o) { + bc.set(t, !0); + for (var i = [], s = ym(n, i), a = r.props, c = 0, u = 0; c < s.length; c++) + for (var l = 0; l < a.length; l++, u++) + t.props[u] = i[c] ? s[c].replace(/&\f/g, a[l]) : a[l] + " " + s[c]; } } -}, Sw = function(t) { +}, vm = 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 = ""); } -}, 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) { +}, wm = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", Dm = function(t) { + return t.type === "comm" && t.children.indexOf(wm) > -1; +}, Im = function(t) { + return function(n, r, o) { if (!(n.type !== "rule" || t.compat)) { - var o = n.value.match(/(:first|:nth|:nth-last)-child/g); - if (o) { + var i = n.value.match(/(:first|:nth|:nth-last)-child/g); + if (i) { for (var s = !!n.parent, a = s ? n.parent.children : ( // global rule at the root level - i - ), u = a.length - 1; u >= 0; u--) { - var c = a[u]; - if (c.line < n.line) + o + ), c = a.length - 1; c >= 0; c--) { + var u = a[c]; + if (u.line < n.line) break; - if (c.column < n.column) { - if (Cw(c)) + if (u.column < n.column) { + if (Dm(u)) return; break; } } - o.forEach(function(l) { + i.forEach(function(l) { console.error('The pseudo class "' + l + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + l.split("-child")[0] + '-of-type".'); }); } } }; -}, Vh = function(t) { +}, rd = function(t) { return t.type.charCodeAt(1) === 105 && t.type.charCodeAt(0) === 64; -}, Ow = function(t, n) { +}, Am = function(t, n) { for (var r = t - 1; r >= 0; r--) - if (!Vh(n[r])) + if (!rd(n[r])) return !0; return !1; -}, pl = function(t) { +}, Sc = function(t) { t.type = "", t.value = "", t.return = "", t.children = "", t.props = ""; -}, 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))); +}, Em = function(t, n, r) { + rd(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."), Sc(t)) : Am(n, r) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Sc(t))); }; -function Hh(e, t) { - switch (lw(e, t)) { +function id(e, t) { + switch (tm(e, t)) { case 5103: - return _e + "print-" + e + e; + return xe + "print-" + e + e; case 5737: case 4201: case 3177: @@ -7257,44 +7161,44 @@ function Hh(e, t) { case 5365: case 5621: case 3829: - return _e + e + e; + return xe + e + e; case 5349: case 4246: case 4810: case 6968: case 2756: - return _e + e + Po + e + ht + e + e; + return xe + e + oo + e + at + e + e; case 6828: case 4268: - return _e + e + ht + e + e; + return xe + e + at + e + e; case 6165: - return _e + e + ht + "flex-" + e + e; + return xe + e + at + "flex-" + e + e; case 5187: - return _e + e + ze(e, /(\w+).+(:[^]+)/, _e + "box-$1$2" + ht + "flex-$1$2") + e; + return xe + e + Oe(e, /(\w+).+(:[^]+)/, xe + "box-$1$2" + at + "flex-$1$2") + e; case 5443: - return _e + e + ht + "flex-item-" + ze(e, /flex-|-self/, "") + e; + return xe + e + at + "flex-item-" + Oe(e, /flex-|-self/, "") + e; case 4675: - return _e + e + ht + "flex-line-pack" + ze(e, /align-content|flex-|-self/, "") + e; + return xe + e + at + "flex-line-pack" + Oe(e, /align-content|flex-|-self/, "") + e; case 5548: - return _e + e + ht + ze(e, "shrink", "negative") + e; + return xe + e + at + Oe(e, "shrink", "negative") + e; case 5292: - return _e + e + ht + ze(e, "basis", "preferred-size") + e; + return xe + e + at + Oe(e, "basis", "preferred-size") + e; case 6060: - return _e + "box-" + ze(e, "-grow", "") + _e + e + ht + ze(e, "grow", "positive") + e; + return xe + "box-" + Oe(e, "-grow", "") + xe + e + at + Oe(e, "grow", "positive") + e; case 4554: - return _e + ze(e, /([^-])(transform)/g, "$1" + _e + "$2") + e; + return xe + Oe(e, /([^-])(transform)/g, "$1" + xe + "$2") + e; case 6187: - return ze(ze(ze(e, /(zoom-|grab)/, _e + "$1"), /(image-set)/, _e + "$1"), e, "") + e; + return Oe(Oe(Oe(e, /(zoom-|grab)/, xe + "$1"), /(image-set)/, xe + "$1"), e, "") + e; case 5495: case 3959: - return ze(e, /(image-set\([^]*)/, _e + "$1$`$1"); + return Oe(e, /(image-set\([^]*)/, xe + "$1$`$1"); case 4968: - return ze(ze(e, /(.+:)(flex-)?(.*)/, _e + "box-pack:$3" + ht + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _e + e + e; + return Oe(Oe(e, /(.+:)(flex-)?(.*)/, xe + "box-pack:$3" + at + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + xe + e + e; case 4095: case 3583: case 4068: case 2532: - return ze(e, /(.+)-inline(.+)/, _e + "$1$2") + e; + return Oe(e, /(.+)-inline(.+)/, xe + "$1$2") + e; case 8116: case 7059: case 5753: @@ -7307,123 +7211,123 @@ function Hh(e, t) { case 5789: case 5021: case 4765: - if (qt(e) - 1 - t > 6) - switch (lt(e, t + 1)) { + if (Pt(e) - 1 - t > 6) + switch (rt(e, t + 1)) { case 109: - if (lt(e, t + 4) !== 45) + if (rt(e, t + 4) !== 45) break; case 102: - return ze(e, /(.+:)(.+)-([^]+)/, "$1" + _e + "$2-$3$1" + Po + (lt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; + return Oe(e, /(.+:)(.+)-([^]+)/, "$1" + xe + "$2-$3$1" + oo + (rt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: - return ~Ua(e, "stretch") ? Hh(ze(e, "stretch", "fill-available"), t) + e : e; + return ~oa(e, "stretch") ? id(Oe(e, "stretch", "fill-available"), t) + e : e; } break; case 4949: - if (lt(e, t + 1) !== 115) + if (rt(e, t + 1) !== 115) break; case 6444: - switch (lt(e, qt(e) - 3 - (~Ua(e, "!important") && 10))) { + switch (rt(e, Pt(e) - 3 - (~oa(e, "!important") && 10))) { case 107: - return ze(e, ":", ":" + _e) + e; + return Oe(e, ":", ":" + xe) + e; case 101: - return ze(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _e + (lt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _e + "$2$3$1" + ht + "$2box$3") + e; + return Oe(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + xe + (rt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + xe + "$2$3$1" + at + "$2box$3") + e; } break; case 5936: - switch (lt(e, t + 11)) { + switch (rt(e, t + 11)) { case 114: - return _e + e + ht + ze(e, /[svh]\w+-[tblr]{2}/, "tb") + e; + return xe + e + at + Oe(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: - return _e + e + ht + ze(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; + return xe + e + at + Oe(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: - return _e + e + ht + ze(e, /[svh]\w+-[tblr]{2}/, "lr") + e; + return xe + e + at + Oe(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } - return _e + e + ht + e + e; + return xe + e + at + e + e; } return e; } -var _w = function(t, n, r, i) { +var Tm = function(t, n, r, o) { if (t.length > -1 && !t.return) switch (t.type) { - case Ru: - t.return = Hh(t.value, t.length); + case tu: + t.return = id(t.value, t.length); break; - case Yh: - return br([Jr(t, { - value: ze(t.value, "@", "@" + _e) - })], i); - case Pu: + case Xf: + return fr([Or(t, { + value: Oe(t.value, "@", "@" + xe) + })], o); + case eu: if (t.length) - return dw(t.props, function(o) { - switch (fw(o, /(::plac\w+|:read-\w+)/)) { + return rm(t.props, function(i) { + switch (nm(i, /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": - return br([Jr(t, { - props: [ze(o, /:(read-\w+)/, ":" + Po + "$1")] - })], i); + return fr([Or(t, { + props: [Oe(i, /:(read-\w+)/, ":" + oo + "$1")] + })], o); case "::placeholder": - return br([Jr(t, { - props: [ze(o, /:(plac\w+)/, ":" + _e + "input-$1")] - }), Jr(t, { - props: [ze(o, /:(plac\w+)/, ":" + Po + "$1")] - }), Jr(t, { - props: [ze(o, /:(plac\w+)/, ht + "input-$1")] - })], i); + return fr([Or(t, { + props: [Oe(i, /:(plac\w+)/, ":" + xe + "input-$1")] + }), Or(t, { + props: [Oe(i, /:(plac\w+)/, ":" + oo + "$1")] + }), Or(t, { + props: [Oe(i, /:(plac\w+)/, at + "input-$1")] + })], o); } return ""; }); } -}, kw = [_w], zw = function(t) { +}, Nm = [Tm], jm = 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", "")); + Array.prototype.forEach.call(r, function(y) { + var m = y.getAttribute("data-emotion"); + m.indexOf(" ") !== -1 && (document.head.appendChild(y), y.setAttribute("data-s", "")); }); } - var i = t.stylisPlugins || kw; + var o = t.stylisPlugins || Nm; 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 = []; + var i = {}, s, a = []; s = t.container || document.head, Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which // means that the style elements we're looking at are only Emotion 11 server-rendered style elements document.querySelectorAll('style[data-emotion^="' + n + ' "]'), - function(p) { - for (var m = p.getAttribute("data-emotion").split(" "), v = 1; v < m.length; v++) - o[m[v]] = !0; - a.push(p); + function(y) { + for (var m = y.getAttribute("data-emotion").split(" "), w = 1; w < m.length; w++) + i[m[w]] = !0; + a.push(y); } ); - var u, c = [jw, Sw]; - process.env.NODE_ENV !== "production" && c.push(xw({ + var c, u = [mm, vm]; + process.env.NODE_ENV !== "production" && u.push(Im({ get compat() { - return h.compat; + return M.compat; } - }), Lw); + }), Em); { - 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 = Aw(c.concat(i, f)), g = function(m) { - return br(vw(m), d); + var l, f = [dm, process.env.NODE_ENV !== "production" ? function(y) { + y.root || (y.return ? l.insert(y.return) : y.value && y.type !== Za && l.insert(y.value + "{}")); + } : gm(function(y) { + l.insert(y); + })], d = hm(u.concat(o, f)), p = function(m) { + return fr(lm(m), d); }; - u = function(m, v, w, j) { - l = w, process.env.NODE_ENV !== "production" && v.map !== void 0 && (l = { - insert: function(N) { - w.insert(N + v.map); + c = function(m, w, D, N) { + l = D, process.env.NODE_ENV !== "production" && w.map !== void 0 && (l = { + insert: function(T) { + D.insert(T + w.map); } - }), g(m ? m + "{" + v.styles + "}" : v.styles), j && (h.inserted[v.name] = !0); + }), p(m ? m + "{" + w.styles + "}" : w.styles), N && (M.inserted[w.name] = !0); }; } - var h = { + var M = { key: n, - sheet: new sw({ + sheet: new Gy({ key: n, container: s, nonce: t.nonce, @@ -7432,20 +7336,20 @@ If multiple caches share the same key they might "fight" for each other's style insertionPoint: t.insertionPoint }), nonce: t.nonce, - inserted: o, + inserted: i, registered: {}, - insert: u + insert: c }; - return h.sheet.hydrate(a), h; -}, Pw = !0; -function Fu(e, t, n) { + return M.sheet.hydrate(a), M; +}, bm = !0; +function ru(e, t, n) { var r = ""; - return n.split(" ").forEach(function(i) { - e[i] !== void 0 ? t.push(e[i] + ";") : r += i + " "; + return n.split(" ").forEach(function(o) { + e[o] !== void 0 ? t.push(e[o] + ";") : r += o + " "; }), r; } -var is = function(t, n, r) { - var i = t.key + "-" + n.name; +var Oo = function(t, n, r) { + var o = t.key + "-" + n.name; // we only need to add the styles to the registered cache if the // class name could be used further down // the tree but if it's a string tag, we know it won't @@ -7455,25 +7359,25 @@ var is = 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 - 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; + bm === !1) && t.registered[o] === void 0 && (t.registered[o] = n.styles); +}, Lo = function(t, n, r) { + Oo(t, n, r); + var o = t.key + "-" + n.name; if (t.inserted[n.name] === void 0) { - var o = n; + var i = n; do - t.insert(n === o ? "." + i : "", o, t.sheet, !0), o = o.next; - while (o !== void 0); + t.insert(n === i ? "." + o : "", i, t.sheet, !0), i = i.next; + while (i !== void 0); } }; -function Rw(e) { - for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) +function Sm(e) { + for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 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: */ n >>> 24, t = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); - switch (i) { + switch (o) { case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16; case 2: @@ -7485,8 +7389,9 @@ function Rw(e) { return t ^= t >>> 13, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36); } -var Uw = { +var xm = { animationIterationCount: 1, + aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, @@ -7532,48 +7437,48 @@ var Uw = { strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 -}, Ml = `You have illegal escape sequence in your template literal, most likely inside content's property value. +}, xc = `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`, 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) { +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Cm = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Om = /[A-Z]|^ms/g, od = /_EMO_([^_]+?)_([^]*?)_EMO_/g, iu = function(t) { return t.charCodeAt(1) === 45; -}, yl = function(t) { +}, Cc = function(t) { return t != null && typeof t != "boolean"; -}, Vs = /* @__PURE__ */ ih(function(e) { - return Yu(e) ? e : e.replace(Yw, "-$&").toLowerCase(); -}), Ro = function(t, n) { +}, vs = /* @__PURE__ */ ff(function(e) { + return iu(e) ? e : e.replace(Om, "-$&").toLowerCase(); +}), so = function(t, n) { switch (t) { case "animation": case "animationName": if (typeof n == "string") - return n.replace(qh, function(r, i, o) { - return Qt = { - name: i, - styles: o, - next: Qt - }, i; + return n.replace(od, function(r, o, i) { + return Ot = { + name: o, + styles: i, + next: Ot + }, o; }); } - return Uw[t] !== 1 && !Yu(t) && typeof n == "number" && n !== 0 ? n + "px" : n; + return xm[t] !== 1 && !iu(t) && typeof n == "number" && n !== 0 ? n + "px" : n; }; if (process.env.NODE_ENV !== "production") { - 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) !== "'"))) + var Lm = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, _m = ["normal", "none", "initial", "inherit", "unset"], km = so, zm = /^-ms-/, Um = /-(.)/g, Oc = {}; + so = function(t, n) { + if (t === "content" && (typeof n != "string" || _m.indexOf(n) === -1 && !Lm.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 = $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(); + var r = km(t, n); + return r !== "" && !iu(t) && t.indexOf("-") !== -1 && Oc[t] === void 0 && (Oc[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(zm, "ms-").replace(Um, function(o, i) { + return i.toUpperCase(); }) + "?")), r; }; } -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) { +var sd = "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(Kh); + throw new Error(sd); return n; } switch (typeof n) { @@ -7581,170 +7486,170 @@ function Oi(e, t, n) { return ""; case "object": { if (n.anim === 1) - return Qt = { + return Ot = { name: n.name, styles: n.styles, - next: Qt + next: Ot }, n.name; if (n.styles !== void 0) { var r = n.next; if (r !== void 0) for (; r !== void 0; ) - Qt = { + Ot = { name: r.name, styles: r.styles, - next: Qt + next: Ot }, r = r.next; - var i = n.styles + ";"; - return process.env.NODE_ENV !== "production" && n.map !== void 0 && (i += n.map), i; + var o = n.styles + ";"; + return process.env.NODE_ENV !== "production" && n.map !== void 0 && (o += n.map), o; } - return Hw(e, t, n); + return Pm(e, t, n); } case "function": { if (e !== void 0) { - var o = Qt, s = n(e); - return Qt = o, Oi(e, t, s); + var i = Ot, s = n(e); + return Ot = i, 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(qh, function(l, f, d) { - var g = "animation" + a.length; - return a.push("const " + g + " = keyframes`" + d.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + g + "}"; + var a = [], c = n.replace(od, function(l, f, d) { + var p = "animation" + a.length; + return a.push("const " + p + " = keyframes`" + d.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + p + "}"; }); - 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(` + 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, ["`" + c + "`"]).join(` `) + ` You should wrap it with \`css\` like this: -` + ("css`" + u + "`")); +` + ("css`" + c + "`")); } break; } if (t == null) return n; - var c = t[n]; - return c !== void 0 ? c : n; + var u = t[n]; + return u !== void 0 ? u : n; } -function Hw(e, t, n) { +function Pm(e, t, n) { var r = ""; if (Array.isArray(n)) - for (var i = 0; i < n.length; i++) - r += Oi(e, t, n[i]) + ";"; + for (var o = 0; o < n.length; o++) + r += li(e, t, n[o]) + ";"; else - for (var o in n) { - var s = n[o]; + for (var i in n) { + var s = n[i]; if (typeof s != "object") - t != null && t[s] !== void 0 ? r += o + "{" + t[s] + "}" : yl(s) && (r += Vs(o) + ":" + Ro(o, s) + ";"); + t != null && t[s] !== void 0 ? r += i + "{" + t[s] + "}" : Cc(s) && (r += vs(i) + ":" + so(i, s) + ";"); else { - if (o === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production") - throw new Error(Kh); + if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production") + throw new Error(sd); if (Array.isArray(s) && typeof s[0] == "string" && (t == null || t[s[0]] === void 0)) for (var a = 0; a < s.length; a++) - yl(s[a]) && (r += Vs(o) + ":" + Ro(o, s[a]) + ";"); + Cc(s[a]) && (r += vs(i) + ":" + so(i, s[a]) + ";"); else { - var u = Oi(e, t, s); - switch (o) { + var c = li(e, t, s); + switch (i) { case "animation": case "animationName": { - r += Vs(o) + ":" + u + ";"; + r += vs(i) + ":" + c + ";"; break; } default: - process.env.NODE_ENV !== "production" && o === "undefined" && console.error(Fw), r += o + "{" + u + "}"; + process.env.NODE_ENV !== "production" && i === "undefined" && console.error(Cm), r += i + "{" + c + "}"; } } } } return 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) { +var Lc = /label:\s*([^\s;\n{]+)\s*(;|$)/g, ad; +process.env.NODE_ENV !== "production" && (ad = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g); +var Ot, mr = 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 = ""; - Qt = void 0; + var o = !0, i = ""; + Ot = void 0; var s = t[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]); + s == null || s.raw === void 0 ? (o = !1, i += li(r, n, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(xc), i += s[0]); for (var a = 1; a < t.length; 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(Gh, function(d) { - return u = d, ""; - })), vl.lastIndex = 0; - for (var c = "", l; (l = vl.exec(o)) !== null; ) - c += "-" + // $FlowFixMe we know it's not null + i += li(r, n, t[a]), o && (process.env.NODE_ENV !== "production" && s[a] === void 0 && console.error(xc), i += s[a]); + var c; + process.env.NODE_ENV !== "production" && (i = i.replace(ad, function(d) { + return c = d, ""; + })), Lc.lastIndex = 0; + for (var u = "", l; (l = Lc.exec(i)) !== null; ) + u += "-" + // $FlowFixMe we know it's not null l[1]; - var f = Rw(o) + c; + var f = Sm(i) + u; return process.env.NODE_ENV !== "production" ? { name: f, - styles: o, - map: u, - next: Qt, + styles: i, + map: c, + next: Ot, 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: Qt + styles: i, + next: Ot }; -}, qw = {}.hasOwnProperty, Qu = /* @__PURE__ */ xn( +}, Rm = {}.hasOwnProperty, ou = /* @__PURE__ */ sn( // 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__ */ zw({ + typeof HTMLElement < "u" ? /* @__PURE__ */ jm({ key: "css" }) : null ); -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); +process.env.NODE_ENV !== "production" && (ou.displayName = "EmotionCacheContext"); +ou.Provider; +var _o = function(t) { + return /* @__PURE__ */ Ba(function(n, r) { + var o = it(ou); + return t(n, o, r); }); -}, $r = /* @__PURE__ */ xn({}); -process.env.NODE_ENV !== "production" && ($r.displayName = "EmotionThemeContext"); -var Kw = oe["useInsertionEffect"] ? oe["useInsertionEffect"] : function(t) { +}, Tr = /* @__PURE__ */ sn({}); +process.env.NODE_ENV !== "production" && (Tr.displayName = "EmotionThemeContext"); +var Ym = te["useInsertionEffect"] ? te["useInsertionEffect"] : function(t) { t(); }; -function Jh(e) { - Kw(e); +function ud(e) { + Ym(e); } -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 is(n, r, i), Jh(function() { - return os(n, r, i); +var _c = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", kc = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Fm = function(t) { + var n = t.cache, r = t.serialized, o = t.isStringTag; + return Oo(n, r, o), ud(function() { + return Lo(n, r, o); }), null; -}, Jw = /* @__PURE__ */ ss(function(e, t, n) { +}, Qm = /* @__PURE__ */ _o(function(e, t, n) { var r = e.css; typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]); - 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)); + var o = e[_c], i = [r], s = ""; + typeof e.className == "string" ? s = ru(t.registered, i, e.className) : e.className != null && (s = e.className + " "); + var a = mr(i, void 0, it(Tr)); if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) { - var u = e[Dl]; - u && (a = Pr([a, "label:" + u + ";"])); + var c = e[kc]; + c && (a = mr([a, "label:" + c + ";"])); } s += t.key + "-" + a.name; - var c = {}; + var u = {}; for (var l in e) - 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, { + Rm.call(e, l) && l !== "css" && l !== _c && (process.env.NODE_ENV === "production" || l !== kc) && (u[l] = e[l]); + return u.ref = n, u.className = s, /* @__PURE__ */ Nt(Mn, null, /* @__PURE__ */ Nt(Fm, { cache: t, serialized: a, - isStringTag: typeof i == "string" - }), /* @__PURE__ */ kt(i, c)); + isStringTag: typeof o == "string" + }), /* @__PURE__ */ Nt(o, u)); }); -process.env.NODE_ENV !== "production" && (Jw.displayName = "EmotionCssPropInternal"); -var Zw = { +process.env.NODE_ENV !== "production" && (Qm.displayName = "EmotionCssPropInternal"); +var Bm = { name: "@emotion/react", version: "11.9.0", main: "dist/emotion-react.cjs.js", @@ -7819,44 +7724,44 @@ var Zw = { ], umdName: "emotionReact" } -}, 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 +}, zc = te["useInsertionEffect"] ? te["useInsertionEffect"] : lf, Uc = !1, $m = /* @__PURE__ */ _o(function(e, t) { + process.env.NODE_ENV !== "production" && !Uc && // 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?"), 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, + (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?"), Uc = !0); + var n = e.styles, r = mr([n], void 0, it(Tr)), o = Ze(); + return zc(function() { + var i = t.key + "-global", s = new t.sheet.constructor({ + key: i, 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() { + }), a = !1, c = document.querySelector('style[data-emotion="' + i + " " + r.name + '"]'); + return t.sheet.tags.length && (s.before = t.sheet.tags[0]), c !== null && (a = !0, c.setAttribute("data-emotion", i), s.hydrate([c])), o.current = [s, a], function() { s.flush(); }; - }, [t]), Al(function() { - var o = i.current, s = o[0], a = o[1]; + }, [t]), zc(function() { + var i = o.current, s = i[0], a = i[1]; if (a) { - o[1] = !1; + i[1] = !1; return; } - 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(); + if (r.next !== void 0 && Lo(t, r.next, !0), s.tags.length) { + var c = s.tags[s.tags.length - 1].nextElementSibling; + s.before = c, s.flush(); } t.insert("", r, s, !1); }, [t, r.name]), null; }); -process.env.NODE_ENV !== "production" && (Xw.displayName = "EmotionGlobal"); -function e0() { +process.env.NODE_ENV !== "production" && ($m.displayName = "EmotionGlobal"); +function Wm() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; - return Pr(t); + return mr(t); } -var Bu = function() { - var t = e0.apply(void 0, arguments), n = "animation-" + t.name; +var su = function() { + var t = Wm.apply(void 0, arguments), n = "animation-" + t.name; return { name: n, styles: "@keyframes " + n + "{" + t.styles + "}", @@ -7865,157 +7770,157 @@ var Bu = function() { return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; } }; -}, t0 = function e(t) { - for (var n = t.length, r = 0, i = ""; r < n; r++) { - var o = t[r]; - if (o != null) { +}, Vm = function e(t) { + for (var n = t.length, r = 0, o = ""; r < n; r++) { + var i = t[r]; + if (i != null) { var s = void 0; - switch (typeof o) { + switch (typeof i) { case "boolean": break; case "object": { - if (Array.isArray(o)) - s = e(o); + if (Array.isArray(i)) + s = e(i); else { - process.env.NODE_ENV !== "production" && o.styles !== void 0 && o.name !== void 0 && console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component."), s = ""; - for (var a in o) - o[a] && a && (s && (s += " "), s += a); + process.env.NODE_ENV !== "production" && i.styles !== void 0 && i.name !== void 0 && console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component."), s = ""; + for (var a in i) + i[a] && a && (s && (s += " "), s += a); } break; } default: - s = o; + s = i; } - s && (i && (i += " "), i += s); + s && (o && (o += " "), o += s); } } - return i; + return o; }; -function n0(e, t, n) { - var r = [], i = Fu(e, r, n); - return r.length < 2 ? n : i + t(r); +function Hm(e, t, n) { + var r = [], o = ru(e, r, n); + return r.length < 2 ? n : o + t(r); } -var r0 = function(t) { +var qm = function(t) { var n = t.cache, r = t.serializedArr; - return Jh(function() { - for (var i = 0; i < r.length; i++) - os(n, r[i], !1); + return ud(function() { + for (var o = 0; o < r.length; o++) + Lo(n, r[o], !1); }), null; -}, i0 = /* @__PURE__ */ ss(function(e, t) { - var n = !1, r = [], i = function() { +}, Km = /* @__PURE__ */ _o(function(e, t) { + var n = !1, r = [], o = 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++) + for (var u = arguments.length, l = new Array(u), f = 0; f < u; f++) l[f] = arguments[f]; - var d = Pr(l, t.registered); - return r.push(d), is(t, d, !1), t.key + "-" + d.name; - }, o = function() { + var d = mr(l, t.registered); + return r.push(d), Oo(t, d, !1), t.key + "-" + d.name; + }, i = 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++) + for (var u = arguments.length, l = new Array(u), f = 0; f < u; f++) l[f] = arguments[f]; - return n0(t.registered, i, t0(l)); + return Hm(t.registered, o, Vm(l)); }, s = { - css: i, - cx: o, - theme: wt($r) + css: o, + cx: i, + theme: it(Tr) }, a = e.children(s); - return n = !0, /* @__PURE__ */ kt(Nn, null, /* @__PURE__ */ kt(r0, { + return n = !0, /* @__PURE__ */ Nt(Mn, null, /* @__PURE__ */ Nt(qm, { cache: t, serializedArr: r }), a); }); -process.env.NODE_ENV !== "production" && (i0.displayName = "EmotionClassNames"); +process.env.NODE_ENV !== "production" && (Km.displayName = "EmotionClassNames"); if (process.env.NODE_ENV !== "production") { - var Il = !0, o0 = typeof jest < "u"; - if (Il && !o0) { - var Nl = ( + var Pc = !0, Gm = typeof jest < "u"; + if (Pc && !Gm) { + var Rc = ( // $FlowIgnore - 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; + typeof globalThis < "u" ? globalThis : Pc ? window : global + ), Yc = "__EMOTION_REACT_" + Bm.version.split(".")[0] + "__"; + Rc[Yc] && 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."), Rc[Yc] = !0; } } -var s0 = Na, a0 = function(t) { +var Jm = Rs, Xm = function(t) { return t !== "theme"; -}, jl = function(t) { +}, Fc = 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 ? s0 : a0; -}, Sl = function(t, n, r) { - var i; + t.charCodeAt(0) > 96 ? Jm : Xm; +}, Qc = function(t, n, r) { + var o; if (n) { - var o = n.shouldForwardProp; - i = t.__emotion_forwardProp && o ? function(s) { - return t.__emotion_forwardProp(s) && o(s); - } : o; + var i = n.shouldForwardProp; + o = t.__emotion_forwardProp && i ? function(s) { + return t.__emotion_forwardProp(s) && i(s); + } : i; } - return typeof i != "function" && r && (i = t.__emotion_forwardProp), i; -}, u0 = oe["useInsertionEffect"] ? oe["useInsertionEffect"] : function(t) { + return typeof o != "function" && r && (o = t.__emotion_forwardProp), o; +}, Zm = te["useInsertionEffect"] ? te["useInsertionEffect"] : function(t) { t(); }; -function c0(e) { - u0(e); +function ev(e) { + Zm(e); } -var bl = `You have illegal escape sequence in your template literal, most likely inside content's property value. +var Bc = `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`, l0 = function(t) { - var n = t.cache, r = t.serialized, i = t.isStringTag; - return is(n, r, i), c0(function() { - return os(n, r, i); +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, tv = function(t) { + var n = t.cache, r = t.serialized, o = t.isStringTag; + return Oo(n, r, o), ev(function() { + return Lo(n, r, o); }), null; -}, f0 = function e(t, n) { +}, nv = 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 = Sl(t, n, r), u = a || jl(i), c = !u("as"); + var r = t.__emotion_real === t, o = r && t.__emotion_base || t, i, s; + n !== void 0 && (i = n.label, s = n.target); + var a = Qc(t, n, r), c = a || Fc(o), u = !c("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) + if (i !== void 0 && f.push("label:" + i + ";"), 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(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(bl), f.push(l[g], l[0][g]); - } - var h = ss(function(p, m, v) { - var w = c && p.as || i, j = "", I = [], N = p; - if (p.theme == null) { - N = {}; - for (var Q in p) - N[Q] = p[Q]; - N.theme = wt($r); + process.env.NODE_ENV !== "production" && l[0][0] === void 0 && console.error(Bc), f.push(l[0][0]); + for (var d = l.length, p = 1; p < d; p++) + process.env.NODE_ENV !== "production" && l[0][p] === void 0 && console.error(Bc), f.push(l[p], l[0][p]); + } + var M = _o(function(y, m, w) { + var D = u && y.as || o, N = "", E = [], T = y; + if (y.theme == null) { + T = {}; + for (var F in y) + T[F] = y[F]; + T.theme = it(Tr); } - 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 H = c && a === void 0 ? jl(w) : u, W = {}; - for (var b in p) - c && b === "as" || // $FlowFixMe - H(b) && (W[b] = p[b]); - return W.className = j, W.ref = v, /* @__PURE__ */ kt(Nn, null, /* @__PURE__ */ kt(l0, { + typeof y.className == "string" ? N = ru(m.registered, E, y.className) : y.className != null && (N = y.className + " "); + var _ = mr(f.concat(E), m.registered, T); + N += m.key + "-" + _.name, s !== void 0 && (N += " " + s); + var G = u && a === void 0 ? Fc(D) : c, Q = {}; + for (var K in y) + u && K === "as" || // $FlowFixMe + G(K) && (Q[K] = y[K]); + return Q.className = N, Q.ref = w, /* @__PURE__ */ Nt(Mn, null, /* @__PURE__ */ Nt(tv, { cache: m, - serialized: z, - isStringTag: typeof w == "string" - }), /* @__PURE__ */ kt(w, W)); + serialized: _, + isStringTag: typeof D == "string" + }), /* @__PURE__ */ Nt(D, Q)); }); - 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", { + return M.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", M.defaultProps = t.defaultProps, M.__emotion_real = M, M.__emotion_base = o, M.__emotion_styles = f, M.__emotion_forwardProp = a, Object.defineProperty(M, "toString", { value: function() { return s === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + s; } - }), h.withComponent = function(p, m) { - return e(p, ve({}, n, m, { - shouldForwardProp: Sl(h, m, !0) + }), M.withComponent = function(y, m) { + return e(y, de({}, n, m, { + shouldForwardProp: Qc(M, m, !0) })).apply(void 0, f); - }, h; + }, M; }; }; -const d0 = f0; -var h0 = [ +const rv = nv; +var iv = [ "a", "abbr", "address", @@ -8151,38 +8056,38 @@ var h0 = [ "svg", "text", "tspan" -], Ya = d0.bind(); -h0.forEach(function(e) { - Ya[e] = Ya(e); +], aa = rv.bind(); +iv.forEach(function(e) { + aa[e] = aa(e); }); -const g0 = Ya; +const ov = aa; /** - * @mui/styled-engine v5.12.3 + * @mui/styled-engine v5.14.9 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -function p0(e, t) { - const n = g0(e, t); +function sv(e, t) { + const n = ov(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); + const o = typeof e == "string" ? `"${e}"` : "component"; + return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` +`)) : r.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), n(...r); } : n; } -const M0 = (e, t) => { +const av = (e, t) => { Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles)); -}, y0 = ["values", "unit", "step"], m0 = (e) => { +}, uv = ["values", "unit", "step"], cv = (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) => Ge({}, n, { + return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => de({}, n, { [r.key]: r.val }), {}); }; -function v0(e) { +function lv(e) { const { // The breakpoint **start** at this value. // For instance with the first breakpoint xs: [xs, sm). @@ -8200,45 +8105,45 @@ function v0(e) { }, unit: n = "px", step: r = 5 - } = e, i = ur(e, y0), o = m0(t), s = Object.keys(o); + } = e, o = We(e, uv), i = cv(t), s = Object.keys(i); function a(d) { return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${n})`; } - function u(d) { + function c(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 u(d, p) { + const M = s.indexOf(p); + return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${n}) and (max-width:${(M !== -1 && typeof t[s[M]] == "number" ? t[s[M]] : p) - r / 100}${n})`; } function l(d) { - return s.indexOf(d) + 1 < s.length ? c(d, s[s.indexOf(d) + 1]) : a(d); + return s.indexOf(d) + 1 < s.length ? u(d, s[s.indexOf(d) + 1]) : a(d); } function f(d) { - 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"); + const p = s.indexOf(d); + return p === 0 ? a(s[1]) : p === s.length - 1 ? c(s[p]) : u(d, s[s.indexOf(d) + 1]).replace("@media", "@media not all and"); } - return Ge({ + return de({ keys: s, - values: o, + values: i, up: a, - down: u, - between: c, + down: c, + between: u, only: l, not: f, unit: n - }, i); + }, o); } -const w0 = { +const fv = { borderRadius: 4 -}, 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, { +}, dv = fv, hv = process.env.NODE_ENV !== "production" ? v.oneOfType([v.number, v.string, v.object, v.array]) : {}, Dn = hv; +function Jr(e, t) { + return t ? Xt(e, t, { clone: !1 // No need to clone deep, it's way faster. }) : e; } -const $u = { +const au = { xs: 0, // phone sm: 600, @@ -8249,364 +8154,369 @@ const $u = { // desktop xl: 1536 // large screen -}, Cl = { +}, $c = { // 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:${$u[e]}px)` + up: (e) => `@media (min-width:${au[e]}px)` }; -function hn(e, t, n) { +function nn(e, t, n) { const r = e.theme || {}; if (Array.isArray(t)) { - const o = r.breakpoints || Cl; - return t.reduce((s, a, u) => (s[o.up(o.keys[u])] = n(t[u]), s), {}); + const i = r.breakpoints || $c; + return t.reduce((s, a, c) => (s[i.up(i.keys[c])] = n(t[c]), s), {}); } if (typeof t == "object") { - const o = r.breakpoints || Cl; + const i = r.breakpoints || $c; return Object.keys(t).reduce((s, a) => { - if (Object.keys(o.values || $u).indexOf(a) !== -1) { - const u = o.up(a); - s[u] = n(t[a], a); + if (Object.keys(i.values || au).indexOf(a) !== -1) { + const c = i.up(a); + s[c] = n(t[a], a); } else { - const u = a; - s[u] = t[u]; + const c = a; + s[c] = t[c]; } return s; }, {}); } return n(t); } -function E0(e = {}) { +function gv(e = {}) { var t; - return ((t = e.keys) == null ? void 0 : t.reduce((r, i) => { - const o = e.up(i); - return r[o] = {}, r; + return ((t = e.keys) == null ? void 0 : t.reduce((r, o) => { + const i = e.up(o); + return r[i] = {}, r; }, {})) || {}; } -function I0(e, t) { +function pv(e, t) { return e.reduce((n, r) => { - const i = n[r]; - return (!i || Object.keys(i).length === 0) && delete n[r], n; + const o = n[r]; + return (!o || Object.keys(o).length === 0) && delete n[r], n; }, t); } -function as(e, t, n = !0) { +function ko(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); + const r = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e); if (r != null) return r; } - return t.split(".").reduce((r, i) => r && r[i] != null ? r[i] : null, e); + return t.split(".").reduce((r, o) => r && r[o] != null ? r[o] : null, e); } -function Uo(e, t, n, r = n) { - let 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 ao(e, t, n, r = n) { + let o; + return typeof e == "function" ? o = e(n) : Array.isArray(e) ? o = e[n] || r : o = ko(e, n) || r, t && (o = t(o, r, e)), o; } -function Qe(e) { +function Pe(e) { const { prop: t, cssProperty: n = e.prop, themeKey: r, - transform: i - } = e, o = (s) => { + transform: o + } = e, i = (s) => { if (s[t] == null) return null; - const a = s[t], u = s.theme, c = as(u, r) || {}; - return hn(s, a, (f) => { - 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 : { + const a = s[t], c = s.theme, u = ko(c, r) || {}; + return nn(s, a, (f) => { + let d = ao(u, o, f); + return f === d && typeof f == "string" && (d = ao(u, o, `${t}${f === "default" ? "" : lr(f)}`, f)), n === !1 ? d : { [n]: d }; }); }; - return o.propTypes = process.env.NODE_ENV !== "production" ? { - [t]: Ln - } : {}, o.filterProps = [t], o; + return i.propTypes = process.env.NODE_ENV !== "production" ? { + [t]: Dn + } : {}, i.filterProps = [t], i; } -function N0(e) { +function Mv(e) { const t = {}; return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]); } -const T0 = { +const yv = { m: "margin", p: "padding" -}, j0 = { +}, mv = { t: "Top", r: "Right", b: "Bottom", l: "Left", x: ["Left", "Right"], y: ["Top", "Bottom"] -}, xl = { +}, Wc = { marginX: "mx", marginY: "my", paddingX: "px", paddingY: "py" -}, S0 = N0((e) => { +}, vv = Mv((e) => { if (e.length > 2) - if (xl[e]) - e = xl[e]; + if (Wc[e]) + e = Wc[e]; else return [e]; - const [t, n] = e.split(""), r = T0[t], i = j0[n] || ""; - return Array.isArray(i) ? i.map((o) => r + o) : [r + i]; -}), 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 = 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(` + const [t, n] = e.split(""), r = yv[t], o = mv[n] || ""; + return Array.isArray(o) ? o.map((i) => r + i) : [r + o]; +}), zo = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Uo = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], wv = [...zo, ...Uo]; +function Ei(e, t, n, r) { + var o; + const i = (o = ko(e, t, !1)) != null ? o : n; + return typeof i == "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}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.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(` +`))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(` `)), () => { }); } -function Zh(e) { - return Hi(e, "spacing", 8, "spacing"); +function cd(e) { + return Ei(e, "spacing", 8, "spacing"); } -function qi(e, t) { +function Ti(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 C0(e, t) { - return (n) => e.reduce((r, i) => (r[i] = qi(t, n), r), {}); +function Dv(e, t) { + return (n) => e.reduce((r, o) => (r[o] = Ti(t, n), r), {}); } -function x0(e, t, n, r) { +function Iv(e, t, n, r) { if (t.indexOf(n) === -1) return null; - const i = S0(n), o = C0(i, r), s = e[n]; - return hn(e, s, o); + const o = vv(n), i = Dv(o, r), s = e[n]; + return nn(e, s, i); } -function Xh(e, t) { - const n = Zh(e.theme); - return Object.keys(e).map((r) => x0(e, t, r, n)).reduce(mi, {}); +function ld(e, t) { + const n = cd(e.theme); + return Object.keys(e).map((r) => Iv(e, t, r, n)).reduce(Jr, {}); } -function Xe(e) { - return Xh(e, us); +function He(e) { + return ld(e, zo); } -Xe.propTypes = process.env.NODE_ENV !== "production" ? us.reduce((e, t) => (e[t] = Ln, e), {}) : {}; -Xe.filterProps = us; -function et(e) { - return Xh(e, cs); +He.propTypes = process.env.NODE_ENV !== "production" ? zo.reduce((e, t) => (e[t] = Dn, e), {}) : {}; +He.filterProps = zo; +function qe(e) { + return ld(e, Uo); } -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) { +qe.propTypes = process.env.NODE_ENV !== "production" ? Uo.reduce((e, t) => (e[t] = Dn, e), {}) : {}; +qe.filterProps = Uo; +process.env.NODE_ENV !== "production" && wv.reduce((e, t) => (e[t] = Dn, e), {}); +function Av(e = 8) { if (e.mui) return e; - const t = Zh({ + const t = cd({ 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); + }), 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((i) => { + const s = t(i); return typeof s == "number" ? `${s}px` : s; }).join(" ")); return n.mui = !0, n; } -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] ? 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 Po(...e) { + const t = e.reduce((r, o) => (o.filterProps.forEach((i) => { + r[i] = o; + }), r), {}), n = (r) => Object.keys(r).reduce((o, i) => t[i] ? Jr(o, t[i](r)) : o, {}); + return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, n.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), n; } -function Kt(e) { +function Rt(e) { return typeof e != "number" ? e : `${e}px solid`; } -const L0 = Qe({ +const Ev = Pe({ prop: "border", themeKey: "borders", - transform: Kt -}), _0 = Qe({ + transform: Rt +}), Tv = Pe({ prop: "borderTop", themeKey: "borders", - transform: Kt -}), k0 = Qe({ + transform: Rt +}), Nv = Pe({ prop: "borderRight", themeKey: "borders", - transform: Kt -}), z0 = Qe({ + transform: Rt +}), jv = Pe({ prop: "borderBottom", themeKey: "borders", - transform: Kt -}), P0 = Qe({ + transform: Rt +}), bv = Pe({ prop: "borderLeft", themeKey: "borders", - transform: Kt -}), R0 = Qe({ + transform: Rt +}), Sv = Pe({ prop: "borderColor", themeKey: "palette" -}), U0 = Qe({ +}), xv = Pe({ prop: "borderTopColor", themeKey: "palette" -}), F0 = Qe({ +}), Cv = Pe({ prop: "borderRightColor", themeKey: "palette" -}), Y0 = Qe({ +}), Ov = Pe({ prop: "borderBottomColor", themeKey: "palette" -}), Q0 = Qe({ +}), Lv = Pe({ prop: "borderLeftColor", themeKey: "palette" -}), fs = (e) => { +}), Ro = (e) => { if (e.borderRadius !== void 0 && e.borderRadius !== null) { - const t = Hi(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({ - borderRadius: qi(t, r) + const t = Ei(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({ + borderRadius: Ti(t, r) }); - return hn(e, e.borderRadius, n); + return nn(e, e.borderRadius, n); } return null; }; -fs.propTypes = process.env.NODE_ENV !== "production" ? { - borderRadius: Ln +Ro.propTypes = process.env.NODE_ENV !== "production" ? { + borderRadius: Dn } : {}; -fs.filterProps = ["borderRadius"]; -ls(L0, _0, k0, z0, P0, R0, U0, F0, Y0, Q0, fs); -const ds = (e) => { +Ro.filterProps = ["borderRadius"]; +Po(Ev, Tv, Nv, jv, bv, Sv, xv, Cv, Ov, Lv, Ro); +const Yo = (e) => { if (e.gap !== void 0 && e.gap !== null) { - const t = Hi(e.theme, "spacing", 8, "gap"), n = (r) => ({ - gap: qi(t, r) + const t = Ei(e.theme, "spacing", 8, "gap"), n = (r) => ({ + gap: Ti(t, r) }); - return hn(e, e.gap, n); + return nn(e, e.gap, n); } return null; }; -ds.propTypes = process.env.NODE_ENV !== "production" ? { - gap: Ln +Yo.propTypes = process.env.NODE_ENV !== "production" ? { + gap: Dn } : {}; -ds.filterProps = ["gap"]; -const hs = (e) => { +Yo.filterProps = ["gap"]; +const Fo = (e) => { if (e.columnGap !== void 0 && e.columnGap !== null) { - const t = Hi(e.theme, "spacing", 8, "columnGap"), n = (r) => ({ - columnGap: qi(t, r) + const t = Ei(e.theme, "spacing", 8, "columnGap"), n = (r) => ({ + columnGap: Ti(t, r) }); - return hn(e, e.columnGap, n); + return nn(e, e.columnGap, n); } return null; }; -hs.propTypes = process.env.NODE_ENV !== "production" ? { - columnGap: Ln +Fo.propTypes = process.env.NODE_ENV !== "production" ? { + columnGap: Dn } : {}; -hs.filterProps = ["columnGap"]; -const gs = (e) => { +Fo.filterProps = ["columnGap"]; +const Qo = (e) => { if (e.rowGap !== void 0 && e.rowGap !== null) { - const t = Hi(e.theme, "spacing", 8, "rowGap"), n = (r) => ({ - rowGap: qi(t, r) + const t = Ei(e.theme, "spacing", 8, "rowGap"), n = (r) => ({ + rowGap: Ti(t, r) }); - return hn(e, e.rowGap, n); + return nn(e, e.rowGap, n); } return null; }; -gs.propTypes = process.env.NODE_ENV !== "production" ? { - rowGap: Ln +Qo.propTypes = process.env.NODE_ENV !== "production" ? { + rowGap: Dn } : {}; -gs.filterProps = ["rowGap"]; -const B0 = Qe({ +Qo.filterProps = ["rowGap"]; +const _v = Pe({ prop: "gridColumn" -}), $0 = Qe({ +}), kv = Pe({ prop: "gridRow" -}), W0 = Qe({ +}), zv = Pe({ prop: "gridAutoFlow" -}), V0 = Qe({ +}), Uv = Pe({ prop: "gridAutoColumns" -}), H0 = Qe({ +}), Pv = Pe({ prop: "gridAutoRows" -}), q0 = Qe({ +}), Rv = Pe({ prop: "gridTemplateColumns" -}), K0 = Qe({ +}), Yv = Pe({ prop: "gridTemplateRows" -}), G0 = Qe({ +}), Fv = Pe({ prop: "gridTemplateAreas" -}), J0 = Qe({ +}), Qv = Pe({ prop: "gridArea" }); -ls(ds, hs, gs, B0, $0, W0, V0, H0, q0, K0, G0, J0); -function Cr(e, t) { +Po(Yo, Fo, Qo, _v, kv, zv, Uv, Pv, Rv, Yv, Fv, Qv); +function dr(e, t) { return t === "grey" ? t : e; } -const Z0 = Qe({ +const Bv = Pe({ prop: "color", themeKey: "palette", - transform: Cr -}), X0 = Qe({ + transform: dr +}), $v = Pe({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", - transform: Cr -}), eD = Qe({ + transform: dr +}), Wv = Pe({ prop: "backgroundColor", themeKey: "palette", - transform: Cr + transform: dr }); -ls(Z0, X0, eD); -function It(e) { +Po(Bv, $v, Wv); +function Mt(e) { return e <= 1 && e !== 0 ? `${e * 100}%` : e; } -const tD = Qe({ +const Vv = Pe({ prop: "width", - transform: It -}), Wu = (e) => { + transform: Mt +}), uu = (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]) || $u[n] || It(n) + var r, o; + const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || au[n]; + return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? { + maxWidth: `${i}${e.theme.breakpoints.unit}` + } : { + maxWidth: i + } : { + maxWidth: Mt(n) }; }; - return hn(e, e.maxWidth, t); + return nn(e, e.maxWidth, t); } return null; }; -Wu.filterProps = ["maxWidth"]; -const nD = Qe({ +uu.filterProps = ["maxWidth"]; +const Hv = Pe({ prop: "minWidth", - transform: It -}), rD = Qe({ + transform: Mt +}), qv = Pe({ prop: "height", - transform: It -}), iD = Qe({ + transform: Mt +}), Kv = Pe({ prop: "maxHeight", - transform: It -}), oD = Qe({ + transform: Mt +}), Gv = Pe({ prop: "minHeight", - transform: It + transform: Mt }); -Qe({ +Pe({ prop: "size", cssProperty: "width", - transform: It + transform: Mt }); -Qe({ +Pe({ prop: "size", cssProperty: "height", - transform: It + transform: Mt }); -const sD = Qe({ +const Jv = Pe({ prop: "boxSizing" }); -ls(tD, Wu, nD, rD, iD, oD, sD); -const aD = { +Po(Vv, uu, Hv, qv, Kv, Gv, Jv); +const Xv = { // borders border: { themeKey: "borders", - transform: Kt + transform: Rt }, borderTop: { themeKey: "borders", - transform: Kt + transform: Rt }, borderRight: { themeKey: "borders", - transform: Kt + transform: Rt }, borderBottom: { themeKey: "borders", - transform: Kt + transform: Rt }, borderLeft: { themeKey: "borders", - transform: Kt + transform: Rt }, borderColor: { themeKey: "palette" @@ -8625,142 +8535,142 @@ const aD = { }, borderRadius: { themeKey: "shape.borderRadius", - style: fs + style: Ro }, // palette color: { themeKey: "palette", - transform: Cr + transform: dr }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", - transform: Cr + transform: dr }, backgroundColor: { themeKey: "palette", - transform: Cr + transform: dr }, // spacing p: { - style: et + style: qe }, pt: { - style: et + style: qe }, pr: { - style: et + style: qe }, pb: { - style: et + style: qe }, pl: { - style: et + style: qe }, px: { - style: et + style: qe }, py: { - style: et + style: qe }, padding: { - style: et + style: qe }, paddingTop: { - style: et + style: qe }, paddingRight: { - style: et + style: qe }, paddingBottom: { - style: et + style: qe }, paddingLeft: { - style: et + style: qe }, paddingX: { - style: et + style: qe }, paddingY: { - style: et + style: qe }, paddingInline: { - style: et + style: qe }, paddingInlineStart: { - style: et + style: qe }, paddingInlineEnd: { - style: et + style: qe }, paddingBlock: { - style: et + style: qe }, paddingBlockStart: { - style: et + style: qe }, paddingBlockEnd: { - style: et + style: qe }, m: { - style: Xe + style: He }, mt: { - style: Xe + style: He }, mr: { - style: Xe + style: He }, mb: { - style: Xe + style: He }, ml: { - style: Xe + style: He }, mx: { - style: Xe + style: He }, my: { - style: Xe + style: He }, margin: { - style: Xe + style: He }, marginTop: { - style: Xe + style: He }, marginRight: { - style: Xe + style: He }, marginBottom: { - style: Xe + style: He }, marginLeft: { - style: Xe + style: He }, marginX: { - style: Xe + style: He }, marginY: { - style: Xe + style: He }, marginInline: { - style: Xe + style: He }, marginInlineStart: { - style: Xe + style: He }, marginInlineEnd: { - style: Xe + style: He }, marginBlock: { - style: Xe + style: He }, marginBlockStart: { - style: Xe + style: He }, marginBlockEnd: { - style: Xe + style: He }, // display displayPrint: { @@ -8792,13 +8702,13 @@ const aD = { justifySelf: {}, // grid gap: { - style: ds + style: Yo }, rowGap: { - style: gs + style: Qo }, columnGap: { - style: hs + style: Fo }, gridColumn: {}, gridRow: {}, @@ -8824,22 +8734,22 @@ const aD = { }, // sizing width: { - transform: It + transform: Mt }, maxWidth: { - style: Wu + style: uu }, minWidth: { - transform: It + transform: Mt }, height: { - transform: It + transform: Mt }, maxHeight: { - transform: It + transform: Mt }, minHeight: { - transform: It + transform: Mt }, boxSizing: {}, // typography @@ -8863,315 +8773,324 @@ const aD = { cssProperty: !1, themeKey: "typography" } -}, eg = aD; -function uD(...e) { - const t = e.reduce((r, i) => r.concat(Object.keys(i)), []), n = new Set(t); +}, fd = Xv; +function Zv(...e) { + const t = e.reduce((r, o) => r.concat(Object.keys(o)), []), n = new Set(t); return e.every((r) => n.size === Object.keys(r).length); } -function cD(e, t) { +function ew(e, t) { return typeof e == "function" ? e(t) : e; } -function lD() { - function e(n, r, i, o) { +function tw() { + function e(n, r, o, i) { const s = { [n]: r, - theme: i - }, a = o[n]; + theme: o + }, a = i[n]; if (!a) return { [n]: r }; const { - cssProperty: u = n, - themeKey: c, + cssProperty: c = n, + themeKey: u, transform: l, style: f } = a; if (r == null) return null; - if (c === "typography" && r === "inherit") + if (u === "typography" && r === "inherit") return { [n]: r }; - const d = as(i, c) || {}; - return f ? f(s) : hn(s, r, (h) => { - 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 + const d = ko(o, u) || {}; + return f ? f(s) : nn(s, r, (M) => { + let y = ao(d, l, M); + return M === y && typeof M == "string" && (y = ao(d, l, `${n}${M === "default" ? "" : lr(M)}`, M)), c === !1 ? y : { + [c]: y }; }); } function t(n) { var r; const { - sx: i, - theme: o = {} + sx: o, + theme: i = {} } = n || {}; - if (!i) + if (!o) return null; - const s = (r = o.unstable_sxConfig) != null ? r : eg; - function a(u) { - let c = u; - if (typeof u == "function") - c = u(o); - else if (typeof u != "object") - return u; - if (!c) + const s = (r = i.unstable_sxConfig) != null ? r : fd; + function a(c) { + let u = c; + if (typeof c == "function") + u = c(i); + else if (typeof c != "object") + return c; + if (!u) return null; - const l = E0(o.breakpoints), f = Object.keys(l); + const l = gv(i.breakpoints), f = Object.keys(l); let d = l; - return Object.keys(c).forEach((g) => { - const h = cD(c[g], o); - if (h != null) - if (typeof h == "object") - if (s[g]) - d = mi(d, e(g, h, o, s)); + return Object.keys(u).forEach((p) => { + const M = ew(u[p], i); + if (M != null) + if (typeof M == "object") + if (s[p]) + d = Jr(d, e(p, M, i, s)); else { - const p = hn({ - theme: o - }, h, (m) => ({ - [g]: m + const y = nn({ + theme: i + }, M, (m) => ({ + [p]: m })); - uD(p, h) ? d[g] = t({ - sx: h, - theme: o - }) : d = mi(d, p); + Zv(y, M) ? d[p] = t({ + sx: M, + theme: i + }) : d = Jr(d, y); } else - d = mi(d, e(g, h, o, s)); - }), I0(f, d); + d = Jr(d, e(p, M, i, s)); + }), pv(f, d); } - return Array.isArray(i) ? i.map(a) : a(i); + return Array.isArray(o) ? o.map(a) : a(o); } return t; } -const tg = lD(); -tg.filterProps = ["sx"]; -const ng = tg, fD = ["breakpoints", "palette", "spacing", "shape"]; -function Vu(e = {}, ...t) { +const dd = tw(); +dd.filterProps = ["sx"]; +const hd = dd, nw = ["breakpoints", "palette", "spacing", "shape"]; +function cu(e = {}, ...t) { const { breakpoints: n = {}, palette: r = {}, - spacing: i, - shape: o = {} - } = e, s = ur(e, fD), a = v0(n), u = O0(i); - let c = un({ + spacing: o, + shape: i = {} + } = e, s = We(e, nw), a = lv(n), c = Av(o); + let u = Xt({ breakpoints: a, direction: "ltr", components: {}, // Inject component definitions. - palette: Ge({ + palette: de({ mode: "light" }, r), - spacing: u, - shape: Ge({}, D0, o) + spacing: c, + shape: de({}, dv, i) }, s); - 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({ + return u = t.reduce((l, f) => Xt(l, f), u), u.unstable_sxConfig = de({}, fd, s == null ? void 0 : s.unstable_sxConfig), u.unstable_sx = function(f) { + return hd({ sx: f, theme: this }); - }, c; + }, u; } -function dD(e) { +function rw(e) { return Object.keys(e).length === 0; } -function hD(e = null) { - const t = oe.useContext($r); - return !t || dD(t) ? e : t; +function iw(e = null) { + const t = te.useContext(Tr); + return !t || rw(t) ? e : t; } -const gD = Vu(); -function rg(e = gD) { - return hD(e); +const ow = cu(); +function gd(e = ow) { + return iw(e); } -const pD = ["variant"]; -function Ol(e) { +const sw = ["variant"]; +function Vc(e) { return e.length === 0; } -function ig(e) { +function pd(e) { const { variant: t - } = e, n = ur(e, pD); + } = e, n = We(e, sw); let r = t || ""; - return Object.keys(n).sort().forEach((i) => { - i === "color" ? r += Ol(r) ? e[i] : Mi(e[i]) : r += `${Ol(r) ? i : Mi(i)}${Mi(e[i].toString())}`; + return Object.keys(n).sort().forEach((o) => { + o === "color" ? r += Vc(r) ? e[o] : lr(e[o]) : r += `${Vc(r) ? o : lr(o)}${lr(e[o].toString())}`; }), r; } -const MD = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; -function yD(e) { +const aw = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; +function uw(e) { return Object.keys(e).length === 0; } -function mD(e) { +function cw(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 vD = (e, t) => t.components && t.components[e] && t.components[e].styleOverrides ? t.components[e].styleOverrides : null, wD = (e, t) => { +const lw = (e, t) => t.components && t.components[e] && t.components[e].styleOverrides ? t.components[e].styleOverrides : null, fw = (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 = ig(i.props); - r[o] = i.style; + return n.forEach((o) => { + const i = pd(o.props); + r[i] = o.style; }), r; -}, DD = (e, t, n, r) => { - var i, o; +}, dw = (e, t, n, r) => { + var 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[ig(c.props)]); - }), a; + ownerState: i = {} + } = e, s = [], a = n == null || (o = n.components) == null || (o = o[r]) == null ? void 0 : o.variants; + return a && a.forEach((c) => { + let u = !0; + Object.keys(c.props).forEach((l) => { + i[l] !== c.props[l] && e[l] !== c.props[l] && (u = !1); + }), u && s.push(t[pd(c.props)]); + }), s; }; -function Ao(e) { +function Hi(e) { return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"; } -const AD = Vu(), ED = (e) => e.charAt(0).toLowerCase() + e.slice(1); -function Zr({ +const hw = cu(), Hc = (e) => e && e.charAt(0).toLowerCase() + e.slice(1); +function Lr({ defaultTheme: e, theme: t, themeId: n }) { - return yD(t) ? e : t[n] || t; + return uw(t) ? e : t[n] || t; } -function ID(e = {}) { +function gw(e) { + return e ? (t, n) => n[e] : null; +} +function pw(e = {}) { const { themeId: t, - defaultTheme: n = AD, - rootShouldForwardProp: r = Ao, - slotShouldForwardProp: i = Ao - } = e, o = (s) => ng(Ge({}, s, { - theme: Zr(Ge({}, s, { + defaultTheme: n = hw, + rootShouldForwardProp: r = Hi, + slotShouldForwardProp: o = Hi + } = e, i = (s) => hd(de({}, s, { + theme: Lr(de({}, s, { defaultTheme: n, themeId: t })) })); - return o.__mui_systemSx = !0, (s, a = {}) => { - M0(s, (I) => I.filter((N) => !(N != null && N.__mui_systemSx))); + return i.__mui_systemSx = !0, (s, a = {}) => { + av(s, (E) => E.filter((T) => !(T != null && T.__mui_systemSx))); const { - name: u, - slot: c, + name: c, + slot: u, skipVariantsResolver: l, skipSx: f, - overridesResolver: d - } = a, g = ur(a, MD), h = l !== void 0 ? l : c && c !== "Root" || !1, p = f || !1; + // TODO v6: remove `lowercaseFirstLetter()` in the next major release + // For more details: https://github.com/mui/material-ui/pull/37908 + overridesResolver: d = gw(Hc(u)) + } = a, p = We(a, aw), M = l !== void 0 ? l : ( + // TODO v6: remove `Root` in the next major release + // For more details: https://github.com/mui/material-ui/pull/37908 + u && u !== "Root" && u !== "root" || !1 + ), y = f || !1; let m; - 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, + process.env.NODE_ENV !== "production" && c && (m = `${c}-${Hc(u || "Root")}`); + let w = Hi; + u === "Root" || u === "root" ? w = r : u ? w = o : cw(s) && (w = void 0); + const D = sv(s, de({ + shouldForwardProp: w, label: m - }, 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, { + }, p)), N = (E, ...T) => { + const F = T ? T.map((K) => typeof K == "function" && K.__emotion_real !== K ? (Z) => K(de({}, Z, { + theme: Lr(de({}, Z, { defaultTheme: n, themeId: t })) - })) : b) : []; - let z = I; - u && d && Q.push((b) => { - const k = Zr(Ge({}, b, { + })) : K) : []; + let _ = E; + c && d && F.push((K) => { + const Z = Lr(de({}, K, { defaultTheme: n, themeId: t - })), U = vD(u, k); - if (U) { - const x = {}; - return Object.entries(U).forEach(([T, S]) => { - x[T] = typeof S == "function" ? S(Ge({}, b, { - theme: k - })) : S; - }), d(b, x); + })), re = lw(c, Z); + if (re) { + const U = {}; + return Object.entries(re).forEach(([j, C]) => { + U[j] = typeof C == "function" ? C(de({}, K, { + theme: Z + })) : C; + }), d(K, U); } return null; - }), u && !h && Q.push((b) => { - const k = Zr(Ge({}, b, { + }), c && !M && F.push((K) => { + const Z = Lr(de({}, K, { defaultTheme: n, themeId: t })); - 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]; + return dw(K, fw(c, Z), Z, c); + }), y || F.push(i); + const G = F.length - T.length; + if (Array.isArray(E) && G > 0) { + const K = new Array(G).fill(""); + _ = [...E, ...K], _.raw = [...E.raw, ...K]; } else - typeof I == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created + typeof E == "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. - I.__emotion_real !== I && (z = (b) => I(Ge({}, b, { - theme: Zr(Ge({}, b, { + E.__emotion_real !== E && (_ = (K) => E(de({}, K, { + theme: Lr(de({}, K, { defaultTheme: n, themeId: t })) }))); - const W = w(z, ...Q); + const Q = D(_, ...F); if (process.env.NODE_ENV !== "production") { - let b; - u && (b = `${u}${c || ""}`), b === void 0 && (b = `Styled(${Dv(s)})`), W.displayName = b; + let K; + c && (K = `${c}${lr(u || "")}`), K === void 0 && (K = `Styled(${fy(s)})`), Q.displayName = K; } - return s.muiName && (W.muiName = s.muiName), W; + return s.muiName && (Q.muiName = s.muiName), Q; }; - return w.withConfig && (j.withConfig = w.withConfig), j; + return D.withConfig && (N.withConfig = D.withConfig), N; }; } -function ND(e) { +function Mw(e) { const { theme: t, name: n, props: r } = e; - return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : Uh(t.components[n].defaultProps, r); + return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : Gf(t.components[n].defaultProps, r); } -function TD({ +function yw({ props: e, name: t, defaultTheme: n, themeId: r }) { - let i = rg(n); - return r && (i = i[r] || i), ND({ - theme: i, + let o = gd(n); + return r && (o = o[r] || o), Mw({ + theme: o, name: t, props: e }); } -function Hu(e, t = 0, n = 1) { +function lu(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 jD(e) { +function mw(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(", ")})` : ""; + return n && n[0].length === 1 && (n = n.map((r) => r + r)), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, o) => o < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : ""; } -function or(e) { +function Bn(e) { if (e.type) return e; if (e.charAt(0) === "#") - return or(jD(e)); + return Bn(mw(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().` : ji(9, e)); - let r = e.substring(t + 1, e.length - 1), i; +The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : oi(9, e)); + let r = e.substring(t + 1, e.length - 1), o; 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.` : ji(10, i)); + if (r = r.split(" "), o = 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(o) === -1) + throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space. +The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : oi(10, o)); } else r = r.split(","); - return r = r.map((o) => parseFloat(o)), { + return r = r.map((i) => parseFloat(i)), { type: n, values: r, - colorSpace: i + colorSpace: o }; } -function ps(e) { +function Bo(e) { const { type: t, colorSpace: n @@ -9179,42 +9098,42 @@ function ps(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})`; + return t.indexOf("rgb") !== -1 ? r = r.map((o, i) => i < 3 ? parseInt(o, 10) : o) : 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 SD(e) { - e = or(e); +function vw(e) { + e = Bn(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); + } = e, n = t[0], r = t[1] / 100, o = t[2] / 100, i = r * Math.min(o, 1 - o), s = (u, l = (u + n / 30) % 12) => o - i * 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])), ps({ + const c = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)]; + return e.type === "hsla" && (a += "a", c.push(t[3])), Bo({ type: a, - values: u + values: c }); } -function Ll(e) { - e = or(e); - let t = e.type === "hsl" || e.type === "hsla" ? or(SD(e)).values : e.values; +function qc(e) { + e = Bn(e); + let t = e.type === "hsl" || e.type === "hsla" ? Bn(vw(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 _l(e, t) { - const n = Ll(e), r = Ll(t); +function Kc(e, t) { + const n = qc(e), r = qc(t); return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05); } -function jr(e, t) { - 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 cr(e, t) { + return e = Bn(e), t = lu(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Bo(e); } -function bD(e, t) { - if (e = or(e), t = Hu(t), e.type.indexOf("hsl") !== -1) +function ww(e, t) { + if (e = Bn(e), t = lu(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 ps(e); + return Bo(e); } -function CD(e, t) { - if (e = or(e), t = Hu(t), e.type.indexOf("hsl") !== -1) +function Dw(e, t) { + if (e = Bn(e), t = lu(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) @@ -9222,10 +9141,10 @@ function CD(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 ps(e); + return Bo(e); } -function xD(e, t) { - return ve({ +function Iw(e, t) { + return de({ toolbar: { minHeight: 56, [e.up("xs")]: { @@ -9239,10 +9158,10 @@ function xD(e, t) { } }, t); } -const OD = { +const Aw = { black: "#000", white: "#fff" -}, Li = OD, LD = { +}, fi = Aw, Ew = { 50: "#fafafa", 100: "#f5f5f5", 200: "#eeeeee", @@ -9257,7 +9176,7 @@ const OD = { A200: "#eeeeee", A400: "#bdbdbd", A700: "#616161" -}, _D = LD, kD = { +}, Tw = Ew, Nw = { 50: "#f3e5f5", 100: "#e1bee7", 200: "#ce93d8", @@ -9272,7 +9191,7 @@ const OD = { A200: "#e040fb", A400: "#d500f9", A700: "#aa00ff" -}, hr = kD, zD = { +}, Hn = Nw, jw = { 50: "#ffebee", 100: "#ffcdd2", 200: "#ef9a9a", @@ -9287,7 +9206,7 @@ const OD = { A200: "#ff5252", A400: "#ff1744", A700: "#d50000" -}, gr = zD, PD = { +}, qn = jw, bw = { 50: "#fff3e0", 100: "#ffe0b2", 200: "#ffcc80", @@ -9302,7 +9221,7 @@ const OD = { A200: "#ffab40", A400: "#ff9100", A700: "#ff6d00" -}, Xr = PD, RD = { +}, _r = bw, Sw = { 50: "#e3f2fd", 100: "#bbdefb", 200: "#90caf9", @@ -9317,7 +9236,7 @@ const OD = { A200: "#448aff", A400: "#2979ff", A700: "#2962ff" -}, pr = RD, UD = { +}, Kn = Sw, xw = { 50: "#e1f5fe", 100: "#b3e5fc", 200: "#81d4fa", @@ -9332,7 +9251,7 @@ const OD = { A200: "#40c4ff", A400: "#00b0ff", A700: "#0091ea" -}, Mr = UD, FD = { +}, Gn = xw, Cw = { 50: "#e8f5e9", 100: "#c8e6c9", 200: "#a5d6a7", @@ -9347,7 +9266,7 @@ const OD = { A200: "#69f0ae", A400: "#00e676", A700: "#00c853" -}, yr = FD, YD = ["mode", "contrastThreshold", "tonalOffset"], kl = { +}, Jn = Cw, Ow = ["mode", "contrastThreshold", "tonalOffset"], Gc = { // The colors used to style the text. text: { // The most important text. @@ -9362,8 +9281,8 @@ const OD = { // The background colors used to style the surfaces. // Consistency between these values is important. background: { - paper: Li.white, - default: Li.white + paper: fi.white, + default: fi.white }, // The colors used to style the action elements. action: { @@ -9384,9 +9303,9 @@ const OD = { focusOpacity: 0.12, activatedOpacity: 0.12 } -}, Hs = { +}, ws = { text: { - primary: Li.white, + primary: fi.white, secondary: "rgba(255, 255, 255, 0.7)", disabled: "rgba(255, 255, 255, 0.5)", icon: "rgba(255, 255, 255, 0.5)" @@ -9397,7 +9316,7 @@ const OD = { default: "#121212" }, action: { - active: Li.white, + active: fi.white, hover: "rgba(255, 255, 255, 0.08)", hoverOpacity: 0.08, selected: "rgba(255, 255, 255, 0.16)", @@ -9410,105 +9329,105 @@ const OD = { activatedOpacity: 0.24 } }; -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 = CD(e.main, i) : t === "dark" && (e.dark = bD(e.main, o))); +function Jc(e, t, n, r) { + const o = r.light || r, i = r.dark || r * 1.5; + e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = Dw(e.main, o) : t === "dark" && (e.dark = ww(e.main, i))); } -function QD(e = "light") { +function Lw(e = "light") { return e === "dark" ? { - main: pr[200], - light: pr[50], - dark: pr[400] + main: Kn[200], + light: Kn[50], + dark: Kn[400] } : { - main: pr[700], - light: pr[400], - dark: pr[800] + main: Kn[700], + light: Kn[400], + dark: Kn[800] }; } -function BD(e = "light") { +function _w(e = "light") { return e === "dark" ? { - main: hr[200], - light: hr[50], - dark: hr[400] + main: Hn[200], + light: Hn[50], + dark: Hn[400] } : { - main: hr[500], - light: hr[300], - dark: hr[700] + main: Hn[500], + light: Hn[300], + dark: Hn[700] }; } -function $D(e = "light") { +function kw(e = "light") { return e === "dark" ? { - main: gr[500], - light: gr[300], - dark: gr[700] + main: qn[500], + light: qn[300], + dark: qn[700] } : { - main: gr[700], - light: gr[400], - dark: gr[800] + main: qn[700], + light: qn[400], + dark: qn[800] }; } -function WD(e = "light") { +function zw(e = "light") { return e === "dark" ? { - main: Mr[400], - light: Mr[300], - dark: Mr[700] + main: Gn[400], + light: Gn[300], + dark: Gn[700] } : { - main: Mr[700], - light: Mr[500], - dark: Mr[900] + main: Gn[700], + light: Gn[500], + dark: Gn[900] }; } -function VD(e = "light") { +function Uw(e = "light") { return e === "dark" ? { - main: yr[400], - light: yr[300], - dark: yr[700] + main: Jn[400], + light: Jn[300], + dark: Jn[700] } : { - main: yr[800], - light: yr[500], - dark: yr[900] + main: Jn[800], + light: Jn[500], + dark: Jn[900] }; } -function HD(e = "light") { +function Pw(e = "light") { return e === "dark" ? { - main: Xr[400], - light: Xr[300], - dark: Xr[700] + main: _r[400], + light: _r[300], + dark: _r[700] } : { main: "#ed6c02", // closest to orange[800] that pass 3:1. - light: Xr[500], - dark: Xr[900] + light: _r[500], + dark: _r[900] }; } -function qD(e) { +function Rw(e) { const { mode: t = "light", contrastThreshold: n = 3, tonalOffset: r = 0.2 - } = 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 = _l(p, Hs.text.primary) >= n ? Hs.text.primary : kl.text.primary; + } = e, o = We(e, Ow), i = e.primary || Lw(t), s = e.secondary || _w(t), a = e.error || kw(t), c = e.info || zw(t), u = e.success || Uw(t), l = e.warning || Pw(t); + function f(y) { + const m = Kc(y, ws.text.primary) >= n ? ws.text.primary : Gc.text.primary; if (process.env.NODE_ENV !== "production") { - 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(` + const w = Kc(y, m); + w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${m} on ${y}`, "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, + color: y, name: m, - mainShade: v = 500, - lightShade: w = 300, - darkShade: j = 700 + mainShade: w = 500, + lightShade: D = 300, + darkShade: N = 700 }) => { - if (p = ve({}, p), !p.main && p[v] && (p.main = p[v]), !p.hasOwnProperty("main")) + if (y = de({}, y), !y.main && y[w] && (y.main = y[w]), !y.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.` : ji(11, m ? ` (${m})` : "", v)); - if (typeof p.main != "string") +The color object needs to have a \`main\` property or a \`${w}\` property.` : oi(11, m ? ` (${m})` : "", w)); + if (typeof y.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. +\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead. Did you intend to use one of the following approaches? @@ -9520,21 +9439,21 @@ const theme1 = createTheme({ palette: { const theme2 = createTheme({ palette: { primary: { main: green[500] }, -} });` : 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: Hs, - light: kl +} });` : oi(12, m ? ` (${m})` : "", JSON.stringify(y.main))); + return Jc(y, "light", D, r), Jc(y, "dark", N, r), y.contrastText || (y.contrastText = f(y.main)), y; + }, p = { + dark: ws, + light: Gc }; - return process.env.NODE_ENV !== "production" && (g[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), un(ve({ + return process.env.NODE_ENV !== "production" && (p[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Xt(de({ // A collection of common colors. - common: ve({}, Li), + common: de({}, fi), // prevent mutable object. // The palette mode, can be light or dark. mode: t, // The colors used to represent primary interface elements for a user. primary: d({ - color: o, + color: i, name: "primary" }), // The colors used to represent secondary interface elements for a user. @@ -9557,16 +9476,16 @@ const theme2 = createTheme({ palette: { }), // The colors used to present information to the user that is neutral and not necessarily important. info: d({ - color: u, + color: c, name: "info" }), // The colors used to indicate the successful completion of an action that user triggered. success: d({ - color: c, + color: u, name: "success" }), // The grey colors. - grey: _D, + grey: Tw, // Used by `getContrastText()` to maximize the contrast between // the background and the text. contrastThreshold: n, @@ -9578,75 +9497,75 @@ const theme2 = createTheme({ palette: { // two indexes within its tonal palette. // E.g., shift from Red 500 to Red 300 or Red 700. tonalOffset: r - }, g[t]), i); + }, p[t]), o); } -const KD = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; -function GD(e) { +const Yw = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; +function Fw(e) { return Math.round(e * 1e5) / 1e5; } -const Pl = { +const Xc = { textTransform: "uppercase" -}, Rl = '"Roboto", "Helvetica", "Arial", sans-serif'; -function JD(e, t) { +}, Zc = '"Roboto", "Helvetica", "Arial", sans-serif'; +function Qw(e, t) { const n = typeof t == "function" ? t(e) : t, { - fontFamily: r = Rl, + fontFamily: r = Zc, // The default font size of the Material Specification. - fontSize: i = 14, + fontSize: o = 14, // px - fontWeightLight: o = 300, + fontWeightLight: i = 300, fontWeightRegular: s = 400, fontWeightMedium: a = 500, - fontWeightBold: u = 700, + fontWeightBold: c = 700, // Tell MUI what's the font-size on the html element. // 16px is the default font-size used by browsers. - htmlFontSize: c = 16, + htmlFontSize: u = 16, // Apply the CSS properties to all the variants. allVariants: l, pxToRem: f - } = 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, I, N) => ve({ + } = n, d = We(n, Yw); + process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number.")); + const p = o / 14, M = f || ((w) => `${w / u * p}rem`), y = (w, D, N, E, T) => de({ fontFamily: r, - fontWeight: v, - fontSize: h(w), + fontWeight: w, + fontSize: M(D), // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ - lineHeight: j - }, 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), - h4: p(s, 34, 1.235, 0.25), - h5: p(s, 24, 1.334, 0), - h6: p(a, 20, 1.6, 0.15), - subtitle1: p(s, 16, 1.75, 0.15), - 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, Pl), - caption: p(s, 12, 1.66, 0.4), - overline: p(s, 12, 2.66, 1, Pl) + lineHeight: N + }, r === Zc ? { + letterSpacing: `${Fw(E / D)}em` + } : {}, T, l), m = { + h1: y(i, 96, 1.167, -1.5), + h2: y(i, 60, 1.2, -0.5), + h3: y(s, 48, 1.167, 0), + h4: y(s, 34, 1.235, 0.25), + h5: y(s, 24, 1.334, 0), + h6: y(a, 20, 1.6, 0.15), + subtitle1: y(s, 16, 1.75, 0.15), + subtitle2: y(a, 14, 1.57, 0.1), + body1: y(s, 16, 1.5, 0.15), + body2: y(s, 14, 1.43, 0.15), + button: y(a, 14, 1.75, 0.4, Xc), + caption: y(s, 12, 1.66, 0.4), + overline: y(s, 12, 2.66, 1, Xc) }; - return un(ve({ - htmlFontSize: c, - pxToRem: h, + return Xt(de({ + htmlFontSize: u, + pxToRem: M, fontFamily: r, - fontSize: i, - fontWeightLight: o, + fontSize: o, + fontWeightLight: i, fontWeightRegular: s, fontWeightMedium: a, - fontWeightBold: u + fontWeightBold: c }, m), d, { clone: !1 // No need to clone deep }); } -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,${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 Bw = 0.2, $w = 0.14, Ww = 0.12; +function Ve(...e) { + return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Bw})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${$w})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ww})`].join(","); } -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 = { +const Vw = ["none", Ve(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ve(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Ve(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Ve(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Ve(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Ve(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Ve(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Ve(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Ve(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Ve(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Ve(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Ve(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Ve(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Ve(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Ve(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Ve(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Ve(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Ve(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Ve(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Ve(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Ve(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Ve(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Ve(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Ve(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Hw = Vw, qw = ["duration", "easing", "delay"], Kw = { // 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 @@ -9656,7 +9575,7 @@ const tA = ["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)" -}, oA = { +}, Gw = { shortest: 150, shorter: 200, short: 250, @@ -9669,37 +9588,37 @@ const tA = ["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 Ul(e) { +function el(e) { return `${Math.round(e)}ms`; } -function sA(e) { +function Jw(e) { if (!e) return 0; const t = e / 36; return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10); } -function aA(e) { - const t = ve({}, iA, e.easing), n = ve({}, oA, e.duration); - return ve({ - getAutoHeightDuration: sA, - create: (i = ["all"], o = {}) => { +function Xw(e) { + const t = de({}, Kw, e.easing), n = de({}, Gw, e.duration); + return de({ + getAutoHeightDuration: Jw, + create: (o = ["all"], i = {}) => { const { duration: s = n.standard, easing: a = t.easeInOut, - delay: u = 0 - } = o, c = ut(o, rA); + delay: c = 0 + } = i, u = We(i, qw); 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(",")}].`); + !l(o) && !Array.isArray(o) && 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(c) && !l(c) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(u).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(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(","); + return (Array.isArray(o) ? o : [o]).map((l) => `${l} ${typeof s == "string" ? s : el(s)} ${a} ${typeof c == "string" ? c : el(c)}`).join(","); } }, e, { easing: t, duration: n }); } -const uA = { +const Zw = { mobileStepper: 1e3, fab: 1050, speedDial: 1050, @@ -9708,81 +9627,81 @@ const uA = { modal: 1300, snackbar: 1400, tooltip: 1500 -}, cA = uA, lA = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"]; -function fA(e = {}, ...t) { +}, e0 = Zw, t0 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"]; +function n0(e = {}, ...t) { const { mixins: n = {}, palette: r = {}, - transitions: i = {}, - typography: o = {} - } = e, s = ut(e, lA), a = qD(r), u = Vu(e); - let c = un(u, { - mixins: xD(u.breakpoints, n), + transitions: o = {}, + typography: i = {} + } = e, s = We(e, t0), a = Rw(r), c = cu(e); + let u = Xt(c, { + mixins: Iw(c.breakpoints, n), palette: a, // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol. - shadows: nA.slice(), - typography: JD(a, o), - transitions: aA(i), - zIndex: ve({}, cA) + shadows: Hw.slice(), + typography: Qw(a, i), + transitions: Xw(o), + zIndex: de({}, e0) }); - 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) => { - let h; - for (h in d) { - const p = d[h]; - if (l.indexOf(h) !== -1 && Object.keys(p).length > 0) { + if (u = Xt(u, s), u = t.reduce((l, f) => Xt(l, f), u), process.env.NODE_ENV !== "production") { + const l = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (d, p) => { + let M; + for (M in d) { + const y = d[M]; + if (l.indexOf(M) !== -1 && Object.keys(y).length > 0) { if (process.env.NODE_ENV !== "production") { - const m = Zt("", 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({ + const m = Bt("", M); + console.error([`MUI: The \`${p}\` component increases the CSS specificity of the \`${M}\` 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 + [`&.${m}`]: y } }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(` `)); } - d[h] = {}; + d[M] = {}; } } }; - Object.keys(c.components).forEach((d) => { - const g = c.components[d].styleOverrides; - g && d.indexOf("Mui") === 0 && f(g, d); + Object.keys(u.components).forEach((d) => { + const p = u.components[d].styleOverrides; + p && d.indexOf("Mui") === 0 && f(p, d); }); } - return c; + return u; } -const dA = fA(), qu = dA, Ku = (e) => Ao(e) && e !== "classes", hA = ID({ - defaultTheme: qu, - rootShouldForwardProp: Ku -}), At = hA; -function pn({ +const r0 = n0(), fu = r0, du = (e) => Hi(e) && e !== "classes", i0 = pw({ + defaultTheme: fu, + rootShouldForwardProp: du +}), gt = i0; +function an({ props: e, name: t }) { - return TD({ + return yw({ props: e, name: t, - defaultTheme: qu + defaultTheme: fu }); } -const og = /* @__PURE__ */ oe.createContext({}); -process.env.NODE_ENV !== "production" && (og.displayName = "ListContext"); -const Qa = og; -function gA(e) { - return Zt("MuiList", e); +const Md = /* @__PURE__ */ te.createContext({}); +process.env.NODE_ENV !== "production" && (Md.displayName = "ListContext"); +const ua = Md; +function o0(e) { + return Bt("MuiList", e); } -Pt("MuiList", ["root", "padding", "dense", "subheader"]); -const pA = ["children", "className", "component", "dense", "disablePadding", "subheader"], MA = (e) => { +bt("MuiList", ["root", "padding", "dense", "subheader"]); +const s0 = ["children", "className", "component", "dense", "disablePadding", "subheader"], a0 = (e) => { const { classes: t, disablePadding: n, dense: r, - subheader: i + subheader: o } = e; - return On({ - root: ["root", !n && "padding", r && "dense", i && "subheader"] - }, gA, t); -}, yA = At("ul", { + return wn({ + root: ["root", !n && "padding", r && "dense", o && "subheader"] + }, o0, t); +}, u0 = gt("ul", { name: "MuiList", slot: "Root", overridesResolver: (e, t) => { @@ -9793,7 +9712,7 @@ const pA = ["children", "className", "component", "dense", "disablePadding", "su } })(({ ownerState: e -}) => ve({ +}) => de({ listStyle: "none", margin: 0, padding: 0, @@ -9803,37 +9722,37 @@ const pA = ["children", "className", "component", "dense", "disablePadding", "su paddingBottom: 8 }, e.subheader && { paddingTop: 0 -})), sg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +})), yd = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiList" }), { - children: i, - className: o, + children: o, + className: i, component: s = "ul", dense: a = !1, - disablePadding: u = !1, - subheader: c - } = r, l = ut(r, pA), f = oe.useMemo(() => ({ + disablePadding: c = !1, + subheader: u + } = r, l = We(r, s0), f = te.useMemo(() => ({ dense: a - }), [a]), d = ve({}, r, { + }), [a]), d = de({}, r, { component: s, dense: a, - disablePadding: u - }), g = MA(d); - return /* @__PURE__ */ ge.jsx(Qa.Provider, { + disablePadding: c + }), p = a0(d); + return /* @__PURE__ */ fe.jsx(ua.Provider, { value: f, - children: /* @__PURE__ */ ge.jsxs(yA, ve({ + children: /* @__PURE__ */ fe.jsxs(u0, de({ as: s, - className: st(g.root, o), + className: tt(p.root, i), ref: n, ownerState: d }, l, { - children: [c, i] + children: [u, o] })) }); }); -process.env.NODE_ENV !== "production" && (sg.propTypes = { +process.env.NODE_ENV !== "production" && (yd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -9841,142 +9760,142 @@ process.env.NODE_ENV !== "production" && (sg.propTypes = { /** * The content of the component. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string, + className: v.string, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: D.elementType, + component: v.elementType, /** * If `true`, compact vertical padding designed for keyboard and mouse input is used for * the list and list items. * The prop is available to descendant components as the `dense` context. * @default false */ - dense: D.bool, + dense: v.bool, /** * If `true`, vertical padding is removed from the list. * @default false */ - disablePadding: D.bool, + disablePadding: v.bool, /** * The content of the subheader, normally `ListSubheader`. */ - subheader: D.node, + subheader: v.node, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]) + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]) }); -const mA = sg, vA = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]; -function qs(e, t, n) { +const c0 = yd, l0 = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]; +function Ds(e, t, n) { return e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : n ? null : e.firstChild; } -function Fl(e, t, n) { +function tl(e, t, n) { return e === t ? n ? e.firstChild : e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : n ? null : e.lastChild; } -function ag(e, t) { +function md(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 ei(e, t, n, r, i, o) { - let s = !1, a = i(e, t, t ? n : !1); +function kr(e, t, n, r, o, i) { + let s = !1, a = o(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") || !ag(a, o) || u) - a = i(e, a, n); + const c = r ? !1 : a.disabled || a.getAttribute("aria-disabled") === "true"; + if (!a.hasAttribute("tabindex") || !md(a, i) || c) + a = o(e, a, n); else return a.focus(), !0; } return !1; } -const ug = /* @__PURE__ */ oe.forwardRef(function(t, n) { +const vd = /* @__PURE__ */ te.forwardRef(function(t, n) { const { // private // eslint-disable-next-line react/prop-types actions: r, - autoFocus: i = !1, - autoFocusItem: o = !1, + autoFocus: o = !1, + autoFocusItem: i = !1, children: s, className: a, - disabledItemsFocusable: u = !1, - disableListWrap: c = !1, + disabledItemsFocusable: c = !1, + disableListWrap: u = !1, onKeyDown: l, variant: f = "selectedMenu" - } = t, d = ut(t, vA), g = oe.useRef(null), h = oe.useRef({ + } = t, d = We(t, l0), p = te.useRef(null), M = te.useRef({ keys: [], repeating: !0, previousKeyMatched: !0, lastTime: null }); - bi(() => { - i && g.current.focus(); - }, [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})`; + ai(() => { + o && p.current.focus(); + }, [o]), te.useImperativeHandle(r, () => ({ + adjustStyleForScrollbar: (N, E) => { + const T = !p.current.style.width; + if (N.clientHeight < p.current.clientHeight && T) { + const F = `${Vf(_t(N))}px`; + p.current.style[E.direction === "rtl" ? "paddingLeft" : "paddingRight"] = F, p.current.style.width = `calc(100% + ${F})`; } - return g.current; + return p.current; } }), []); - const p = (j) => { - 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 = Tt(g, n); - let v = -1; - 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 y = (N) => { + const E = p.current, T = N.key, F = _t(E).activeElement; + if (T === "ArrowDown") + N.preventDefault(), kr(E, F, u, c, Ds); + else if (T === "ArrowUp") + N.preventDefault(), kr(E, F, u, c, tl); + else if (T === "Home") + N.preventDefault(), kr(E, null, u, c, Ds); + else if (T === "End") + N.preventDefault(), kr(E, null, u, c, tl); + else if (T.length === 1) { + const _ = M.current, G = T.toLowerCase(), Q = performance.now(); + _.keys.length > 0 && (Q - _.lastTime > 500 ? (_.keys = [], _.repeating = !0, _.previousKeyMatched = !0) : _.repeating && G !== _.keys[0] && (_.repeating = !1)), _.lastTime = Q, _.keys.push(G); + const K = F && !_.repeating && md(F, _); + _.previousKeyMatched && (K || kr(E, F, !1, c, Ds, _)) ? N.preventDefault() : _.previousKeyMatched = !1; + } + l && l(N); + }, m = mt(p, n); + let w = -1; + te.Children.forEach(s, (N, E) => { + /* @__PURE__ */ te.isValidElement(N) && (process.env.NODE_ENV !== "production" && zf.isFragment(N) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(` +`)), N.props.disabled || (f === "selectedMenu" && N.props.selected || w === -1) && (w = E)); }); - 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); + const D = te.Children.map(s, (N, E) => { + if (E === w) { + const T = {}; + return i && (T.autoFocus = !0), N.props.tabIndex === void 0 && f === "selectedMenu" && (T.tabIndex = 0), /* @__PURE__ */ te.cloneElement(N, T); } - return j; + return N; }); - return /* @__PURE__ */ ge.jsx(mA, ve({ + return /* @__PURE__ */ fe.jsx(c0, de({ role: "menu", ref: m, className: a, - onKeyDown: p, - tabIndex: i ? 0 : -1 + onKeyDown: y, + tabIndex: o ? 0 : -1 }, d, { - children: w + children: D })); }); -process.env.NODE_ENV !== "production" && (ug.propTypes = { +process.env.NODE_ENV !== "production" && (vd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -9985,65 +9904,65 @@ process.env.NODE_ENV !== "production" && (ug.propTypes = { * If `true`, will focus the `[role="menu"]` container and move into tab order. * @default false */ - autoFocus: D.bool, + autoFocus: v.bool, /** * If `true`, will focus the first menuitem if `variant="menu"` or selected item * if `variant="selectedMenu"`. * @default false */ - autoFocusItem: D.bool, + autoFocusItem: v.bool, /** * MenuList contents, normally `MenuItem`s. */ - children: D.node, + children: v.node, /** * @ignore */ - className: D.string, + className: v.string, /** * If `true`, will allow focus on disabled items. * @default false */ - disabledItemsFocusable: D.bool, + disabledItemsFocusable: v.bool, /** * If `true`, the menu items will not wrap focus. * @default false */ - disableListWrap: D.bool, + disableListWrap: v.bool, /** * @ignore */ - onKeyDown: D.func, + onKeyDown: v.func, /** * The variant to use. Use `menu` to prevent selected items from impacting the initial focus * and the vertical alignment relative to the anchor element. * @default 'selectedMenu' */ - variant: D.oneOf(["menu", "selectedMenu"]) + variant: v.oneOf(["menu", "selectedMenu"]) }); -const wA = ug; -function Ms() { - const e = rg(qu); - return process.env.NODE_ENV !== "production" && oe.useDebugValue(e), e; +const f0 = vd; +function $o() { + const e = gd(fu); + return process.env.NODE_ENV !== "production" && te.useDebugValue(e), e; } -function DA(e) { - return Zt("MuiPaper", e); +function d0(e) { + return Bt("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 AA = ["className", "component", "elevation", "square", "variant"], Yl = (e) => { +bt("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 h0 = ["className", "component", "elevation", "square", "variant"], nl = (e) => { let t; return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, (t / 100).toFixed(2); -}, EA = (e) => { +}, g0 = (e) => { const { square: t, elevation: n, variant: r, - classes: i - } = e, o = { + classes: o + } = e, i = { root: ["root", r, !t && "rounded", r === "elevation" && `elevation${n}`] }; - return On(o, DA, i); -}, IA = At("div", { + return wn(i, d0, o); +}, p0 = gt("div", { name: "MuiPaper", slot: "Root", overridesResolver: (e, t) => { @@ -10057,7 +9976,7 @@ const AA = ["className", "component", "elevation", "square", "variant"], Yl = (e ownerState: t }) => { var n; - return ve({ + return de({ backgroundColor: (e.vars || e).palette.background.paper, color: (e.vars || e).palette.text.primary, transition: e.transitions.create("box-shadow") @@ -10065,38 +9984,38 @@ const AA = ["className", "component", "elevation", "square", "variant"], Yl = (e borderRadius: e.shape.borderRadius }, t.variant === "outlined" && { border: `1px solid ${(e.vars || e).palette.divider}` - }, t.variant === "elevation" && ve({ + }, t.variant === "elevation" && de({ boxShadow: (e.vars || e).shadows[t.elevation] }, !e.vars && e.palette.mode === "dark" && { - backgroundImage: `linear-gradient(${jr("#fff", Yl(t.elevation))}, ${jr("#fff", Yl(t.elevation))})` + backgroundImage: `linear-gradient(${cr("#fff", nl(t.elevation))}, ${cr("#fff", nl(t.elevation))})` }, e.vars && { backgroundImage: (n = e.vars.overlays) == null ? void 0 : n[t.elevation] })); -}), cg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +}), wd = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiPaper" }), { - className: i, - component: o = "div", + className: o, + component: i = "div", elevation: s = 1, square: a = !1, - variant: u = "elevation" - } = r, c = ut(r, AA), l = ve({}, r, { - component: o, + variant: c = "elevation" + } = r, u = We(r, h0), l = de({}, r, { + component: i, elevation: s, square: a, - variant: u - }), 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, + variant: c + }), f = g0(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(` +`)), /* @__PURE__ */ fe.jsx(p0, de({ + as: i, ownerState: l, - className: st(f.root, i), + className: tt(f.root, o), ref: n - }, c)); + }, u)); }); -process.env.NODE_ENV !== "production" && (cg.propTypes = { +process.env.NODE_ENV !== "production" && (wd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -10104,26 +10023,26 @@ process.env.NODE_ENV !== "production" && (cg.propTypes = { /** * The content of the component. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string, + className: v.string, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: D.elementType, + component: v.elementType, /** * Shadow depth, corresponds to `dp` in the spec. * It accepts values between 0 and 24 inclusive. * @default 1 */ - elevation: $i(Rh, (e) => { + elevation: Di(Kf, (e) => { const { elevation: t, variant: n @@ -10134,180 +10053,180 @@ process.env.NODE_ENV !== "production" && (cg.propTypes = { * If `true`, rounded corners are disabled. * @default false */ - square: D.bool, + square: v.bool, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]), + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]), /** * The variant to use. * @default 'elevation' */ - variant: D.oneOfType([D.oneOf(["elevation", "outlined"]), D.string]) + variant: v.oneOfType([v.oneOf(["elevation", "outlined"]), v.string]) }); -const lg = cg; -function Ba(e, t) { - return Ba = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { - return r.__proto__ = i, r; - }, Ba(e, t); +const Dd = wd; +function ca(e, t) { + return ca = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) { + return r.__proto__ = o, r; + }, ca(e, t); } -function fg(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Ba(e, t); +function Id(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ca(e, t); } -const Ql = { +const rl = { disabled: !1 }; -var NA = process.env.NODE_ENV !== "production" ? D.oneOfType([D.number, D.shape({ - enter: D.number, - exit: D.number, - appear: D.number +var M0 = process.env.NODE_ENV !== "production" ? v.oneOfType([v.number, v.shape({ + enter: v.number, + exit: v.number, + appear: v.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 +process.env.NODE_ENV !== "production" && v.oneOfType([v.string, v.shape({ + enter: v.string, + exit: v.string, + active: v.string +}), v.shape({ + enter: v.string, + enterDone: v.string, + enterActive: v.string, + exit: v.string, + exitDone: v.string, + exitActive: v.string })]); -const Fo = Te.createContext(null); -var TA = function(t) { +const uo = we.createContext(null); +var y0 = function(t) { return t.scrollTop; -}, 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 = 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 === ci ? { - status: Un +}, $r = "unmounted", Nn = "exited", jn = "entering", or = "entered", la = "exiting", un = /* @__PURE__ */ function(e) { + Id(t, e); + function t(r, o) { + var i; + i = e.call(this, r, o) || this; + var s = o, a = s && !s.isMounting ? r.enter : r.appear, c; + return i.appearStatus = null, r.in ? a ? (c = Nn, i.appearStatus = jn) : c = or : r.unmountOnExit || r.mountOnEnter ? c = $r : c = Nn, i.state = { + status: c + }, i.nextCallback = null, i; + } + t.getDerivedStateFromProps = function(o, i) { + var s = o.in; + return s && i.status === $r ? { + status: Nn } : 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) { + }, n.componentDidUpdate = function(o) { + var i = null; + if (o !== this.props) { var s = this.state.status; - this.props.in ? s !== Fn && s !== Er && (o = Fn) : (s === Fn || s === Er) && (o = $a); + this.props.in ? s !== jn && s !== or && (i = jn) : (s === jn || s === or) && (i = la); } - this.updateStatus(!1, o); + this.updateStatus(!1, i); }, 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, + var o = this.props.timeout, i, s, a; + return i = s = a = o, o != null && typeof o != "number" && (i = o.exit, s = o.enter, a = o.appear !== void 0 ? o.appear : s), { + exit: i, enter: s, appear: a }; - }, n.updateStatus = function(i, o) { - if (i === void 0 && (i = !1), o !== null) - if (this.cancelNextCallback(), o === Fn) { + }, n.updateStatus = function(o, i) { + if (o === void 0 && (o = !1), i !== null) + if (this.cancelNextCallback(), i === jn) { if (this.props.unmountOnExit || this.props.mountOnEnter) { - var s = this.props.nodeRef ? this.props.nodeRef.current : ui.findDOMNode(this); - s && TA(s); + var s = this.props.nodeRef ? this.props.nodeRef.current : Br.findDOMNode(this); + s && y0(s); } - this.performEnter(i); + this.performEnter(o); } else this.performExit(); else - this.props.unmountOnExit && this.state.status === Un && this.setState({ - status: ci + this.props.unmountOnExit && this.state.status === Nn && this.setState({ + status: $r }); - }, n.performEnter = function(i) { - 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) { + }, n.performEnter = function(o) { + var i = this, s = this.props.enter, a = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [a] : [Br.findDOMNode(this), a], u = c[0], l = c[1], f = this.getTimeouts(), d = a ? f.appear : f.enter; + if (!o && !s || rl.disabled) { this.safeSetState({ - status: Er + status: or }, function() { - o.props.onEntered(c); + i.props.onEntered(u); }); return; } - this.props.onEnter(c, l), this.safeSetState({ - status: Fn + this.props.onEnter(u, l), this.safeSetState({ + status: jn }, function() { - o.props.onEntering(c, l), o.onTransitionEnd(d, function() { - o.safeSetState({ - status: Er + i.props.onEntering(u, l), i.onTransitionEnd(d, function() { + i.safeSetState({ + status: or }, function() { - o.props.onEntered(c, l); + i.props.onEntered(u, l); }); }); }); }, n.performExit = function() { - var i = this, o = this.props.exit, s = this.getTimeouts(), a = this.props.nodeRef ? void 0 : ui.findDOMNode(this); - if (!o || Ql.disabled) { + var o = this, i = this.props.exit, s = this.getTimeouts(), a = this.props.nodeRef ? void 0 : Br.findDOMNode(this); + if (!i || rl.disabled) { this.safeSetState({ - status: Un + status: Nn }, function() { - i.props.onExited(a); + o.props.onExited(a); }); return; } this.props.onExit(a), this.safeSetState({ - status: $a + status: la }, function() { - i.props.onExiting(a), i.onTransitionEnd(s.exit, function() { - i.safeSetState({ - status: Un + o.props.onExiting(a), o.onTransitionEnd(s.exit, function() { + o.safeSetState({ + status: Nn }, function() { - i.props.onExited(a); + o.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; + }, n.safeSetState = function(o, i) { + i = this.setNextCallback(i), this.setState(o, i); + }, n.setNextCallback = function(o) { + var i = this, s = !0; return this.nextCallback = function(a) { - s && (s = !1, o.nextCallback = null, i(a)); + s && (s = !1, i.nextCallback = null, o(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 : ui.findDOMNode(this), a = i == null && !this.props.addEndListener; + }, n.onTransitionEnd = function(o, i) { + this.setNextCallback(i); + var s = this.props.nodeRef ? this.props.nodeRef.current : Br.findDOMNode(this), a = o == 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); + var c = this.props.nodeRef ? [this.nextCallback] : [s, this.nextCallback], u = c[0], l = c[1]; + this.props.addEndListener(u, l); } - i != null && setTimeout(this.nextCallback, i); + o != null && setTimeout(this.nextCallback, o); }, n.render = function() { - var i = this.state.status; - if (i === ci) + var o = this.state.status; + if (o === $r) 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 = ur(o, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); + var i = this.props, s = i.children; + i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef; + var a = We(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); return ( // allows for nested Transitions - /* @__PURE__ */ Te.createElement(Fo.Provider, { + /* @__PURE__ */ we.createElement(uo.Provider, { value: null - }, typeof s == "function" ? s(i, a) : Te.cloneElement(Te.Children.only(s), a)) + }, typeof s == "function" ? s(o, a) : we.cloneElement(we.Children.only(s), a)) ); }, t; -}(Te.Component); -Mn.contextType = Fo; -Mn.propTypes = process.env.NODE_ENV !== "production" ? { +}(we.Component); +un.contextType = uo; +un.propTypes = process.env.NODE_ENV !== "production" ? { /** * A React reference to DOM element that need to transition: * https://stackoverflow.com/a/51127130/4671932 @@ -10319,10 +10238,10 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * (see * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)). */ - nodeRef: D.shape({ - current: typeof Element > "u" ? D.any : function(e, t, n, r, i, o) { + nodeRef: v.shape({ + current: typeof Element > "u" ? v.any : function(e, t, n, r, o, i) { var s = e[t]; - return D.instanceOf(s && "ownerDocument" in s ? s.ownerDocument.defaultView.Element : Element)(e, t, n, r, i, o); + return v.instanceOf(s && "ownerDocument" in s ? s.ownerDocument.defaultView.Element : Element)(e, t, n, r, o, i); } }), /** @@ -10339,23 +10258,23 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * ``` */ - children: D.oneOfType([D.func.isRequired, D.element.isRequired]).isRequired, + children: v.oneOfType([v.func.isRequired, v.element.isRequired]).isRequired, /** * Show the component; triggers the enter or exit states */ - in: D.bool, + in: v.bool, /** * By default the child component is mounted immediately along with * the parent `Transition` component. If you want to "lazy mount" the component on the * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay * mounted, even on "exited", unless you also specify `unmountOnExit`. */ - mountOnEnter: D.bool, + mountOnEnter: v.bool, /** * By default the child component stays mounted after it reaches the `'exited'` state. * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting. */ - unmountOnExit: D.bool, + unmountOnExit: v.bool, /** * By default the child component does not perform the enter transition when * it first mounts, regardless of the value of `in`. If you want this @@ -10367,15 +10286,15 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * > additional `.appear-*` classes, that way you can choose to style it * > differently. */ - appear: D.bool, + appear: v.bool, /** * Enable or disable enter transitions. */ - enter: D.bool, + enter: v.bool, /** * Enable or disable exit transitions. */ - exit: D.bool, + exit: v.bool, /** * The duration of the transition, in milliseconds. * Required unless `addEndListener` is provided. @@ -10403,11 +10322,11 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * @type {number | { enter?: number, exit?: number, appear?: number }} */ timeout: function(t) { - var n = NA; + var n = M0; 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]; - return n.apply(void 0, [t].concat(i)); + for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) + o[i - 1] = arguments[i]; + return n.apply(void 0, [t].concat(o)); }, /** * Add a custom transition end trigger. Called with the transitioning @@ -10423,7 +10342,7 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * }} * ``` */ - addEndListener: D.func, + addEndListener: v.func, /** * Callback fired before the "entering" status is applied. An extra parameter * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount @@ -10432,7 +10351,7 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(node: HtmlElement, isAppearing: bool) -> void */ - onEnter: D.func, + onEnter: v.func, /** * Callback fired after the "entering" status is applied. An extra parameter * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount @@ -10441,7 +10360,7 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(node: HtmlElement, isAppearing: bool) */ - onEntering: D.func, + onEntering: v.func, /** * Callback fired after the "entered" status is applied. An extra parameter * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount @@ -10450,7 +10369,7 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(node: HtmlElement, isAppearing: bool) -> void */ - onEntered: D.func, + onEntered: v.func, /** * Callback fired before the "exiting" status is applied. * @@ -10458,7 +10377,7 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(node: HtmlElement) -> void */ - onExit: D.func, + onExit: v.func, /** * Callback fired after the "exiting" status is applied. * @@ -10466,7 +10385,7 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(node: HtmlElement) -> void */ - onExiting: D.func, + onExiting: v.func, /** * Callback fired after the "exited" status is applied. * @@ -10474,124 +10393,124 @@ Mn.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(node: HtmlElement) -> void */ - onExited: D.func + onExited: v.func } : {}; -function mr() { +function Xn() { } -Mn.defaultProps = { +un.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, appear: !1, enter: !0, exit: !0, - onEnter: mr, - onEntering: mr, - onEntered: mr, - onExit: mr, - onExiting: mr, - onExited: mr + onEnter: Xn, + onEntering: Xn, + onEntered: Xn, + onExit: Xn, + onExiting: Xn, + onExited: Xn }; -Mn.UNMOUNTED = ci; -Mn.EXITED = Un; -Mn.ENTERING = Fn; -Mn.ENTERED = Er; -Mn.EXITING = $a; -const dg = Mn; -function jA(e) { +un.UNMOUNTED = $r; +un.EXITED = Nn; +un.ENTERING = jn; +un.ENTERED = or; +un.EXITING = la; +const Ad = un; +function m0(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } -function Gu(e, t) { - var n = function(o) { - return t && hi(o) ? t(o) : o; +function hu(e, t) { + var n = function(i) { + return t && Hr(i) ? t(i) : i; }, r = /* @__PURE__ */ Object.create(null); - return e && Xp.map(e, function(i) { - return i; - }).forEach(function(i) { - r[i.key] = n(i); + return e && Hh.map(e, function(o) { + return o; + }).forEach(function(o) { + r[o.key] = n(o); }), r; } -function SA(e, t) { +function v0(e, t) { e = e || {}, t = t || {}; function n(l) { return l in t ? t[l] : e[l]; } - var r = /* @__PURE__ */ Object.create(null), i = []; - for (var o in e) - o in t ? i.length && (r[o] = i, i = []) : i.push(o); + var r = /* @__PURE__ */ Object.create(null), o = []; + for (var i in e) + i in t ? o.length && (r[i] = o, o = []) : o.push(i); var s, a = {}; - for (var u in t) { - if (r[u]) - for (s = 0; s < r[u].length; s++) { - var c = r[u][s]; - a[r[u][s]] = n(c); + for (var c in t) { + if (r[c]) + for (s = 0; s < r[c].length; s++) { + var u = r[c][s]; + a[r[c][s]] = n(u); } - a[u] = n(u); + a[c] = n(c); } - for (s = 0; s < i.length; s++) - a[i[s]] = n(i[s]); + for (s = 0; s < o.length; s++) + a[o[s]] = n(o[s]); return a; } -function Hn(e, t, n) { +function On(e, t, n) { return n[t] != null ? n[t] : e.props[t]; } -function bA(e, t) { - return Gu(e.children, function(n) { - return gi(n, { +function w0(e, t) { + return hu(e.children, function(n) { + return qr(n, { onExited: t.bind(null, n), in: !0, - appear: Hn(n, "appear", e), - enter: Hn(n, "enter", e), - exit: Hn(n, "exit", e) + appear: On(n, "appear", e), + enter: On(n, "enter", e), + exit: On(n, "exit", e) }); }); } -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 (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, { +function D0(e, t, n) { + var r = hu(e.children), o = v0(t, r); + return Object.keys(o).forEach(function(i) { + var s = o[i]; + if (Hr(s)) { + var a = i in t, c = i in r, u = t[i], l = Hr(u) && !u.props.in; + c && (!a || l) ? o[i] = qr(s, { onExited: n.bind(null, s), in: !0, - exit: Hn(s, "exit", e), - enter: Hn(s, "enter", e) - }) : !u && a && !l ? i[o] = gi(s, { + exit: On(s, "exit", e), + enter: On(s, "enter", e) + }) : !c && a && !l ? o[i] = qr(s, { in: !1 - }) : u && a && hi(c) && (i[o] = gi(s, { + }) : c && a && Hr(u) && (o[i] = qr(s, { onExited: n.bind(null, s), - in: c.props.in, - exit: Hn(s, "exit", e), - enter: Hn(s, "enter", e) + in: u.props.in, + exit: On(s, "exit", e), + enter: On(s, "enter", e) })); } - }), i; + }), o; } -var xA = Object.values || function(e) { +var I0 = Object.values || function(e) { return Object.keys(e).map(function(t) { return e[t]; }); -}, OA = { +}, A0 = { component: "div", childFactory: function(t) { return t; } -}, 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(jA(o)); - return o.state = { +}, gu = /* @__PURE__ */ function(e) { + Id(t, e); + function t(r, o) { + var i; + i = e.call(this, r, o) || this; + var s = i.handleExited.bind(m0(i)); + return i.state = { contextValue: { isMounting: !0 }, handleExited: s, firstRender: !0 - }, o; + }, i; } var n = t.prototype; return n.componentDidMount = function() { @@ -10602,30 +10521,30 @@ var xA = Object.values || function(e) { }); }, n.componentWillUnmount = function() { this.mounted = !1; - }, t.getDerivedStateFromProps = function(i, o) { - var s = o.children, a = o.handleExited, u = o.firstRender; + }, t.getDerivedStateFromProps = function(o, i) { + var s = i.children, a = i.handleExited, c = i.firstRender; return { - children: u ? bA(i, a) : CA(i, s, a), + children: c ? w0(o, a) : D0(o, s, a), firstRender: !1 }; - }, n.handleExited = function(i, o) { - 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 = Ge({}, a.children); - return delete u[i.key], { - children: u + }, n.handleExited = function(o, i) { + var s = hu(this.props.children); + o.key in s || (o.props.onExited && o.props.onExited(i), this.mounted && this.setState(function(a) { + var c = de({}, a.children); + return delete c[o.key], { + children: c }; })); }, n.render = function() { - 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(Fo.Provider, { - value: u - }, /* @__PURE__ */ Te.createElement(o, a, c)); + var o = this.props, i = o.component, s = o.childFactory, a = We(o, ["component", "childFactory"]), c = this.state.contextValue, u = I0(this.state.children).map(s); + return delete a.appear, delete a.enter, delete a.exit, i === null ? /* @__PURE__ */ we.createElement(uo.Provider, { + value: c + }, u) : /* @__PURE__ */ we.createElement(uo.Provider, { + value: c + }, /* @__PURE__ */ we.createElement(i, a, u)); }, t; -}(Te.Component); -Ju.propTypes = process.env.NODE_ENV !== "production" ? { +}(we.Component); +gu.propTypes = process.env.NODE_ENV !== "production" ? { /** * `` renders a `
` by default. You can change this * behavior by providing a `component` prop. @@ -10633,7 +10552,7 @@ Ju.propTypes = process.env.NODE_ENV !== "production" ? { * you can pass in `component={null}`. This is useful if the wrapping div * borks your css styles. */ - component: D.any, + component: v.any, /** * A set of `` components, that are toggled `in` and out as they * leave. the `` will inject specific transition props, so @@ -10647,25 +10566,25 @@ Ju.propTypes = process.env.NODE_ENV !== "production" ? { * the transition child as you change its content, this will cause * `TransitionGroup` to transition the child out and back in. */ - children: D.node, + children: v.node, /** * A convenience prop that enables or disables appear animations * for all children. Note that specifying this will override any defaults set * on individual children Transitions. */ - appear: D.bool, + appear: v.bool, /** * A convenience prop that enables or disables enter animations * for all children. Note that specifying this will override any defaults set * on individual children Transitions. */ - enter: D.bool, + enter: v.bool, /** * A convenience prop that enables or disables exit animations * for all children. Note that specifying this will override any defaults set * on individual children Transitions. */ - exit: D.bool, + exit: v.bool, /** * You may need to apply reactive updates to a child as it is exiting. * This is generally done by using `cloneElement` however in the case of an exiting @@ -10676,130 +10595,130 @@ Ju.propTypes = process.env.NODE_ENV !== "production" ? { * * @type Function(child: ReactElement) -> ReactElement */ - childFactory: D.func + childFactory: v.func } : {}; -Ju.defaultProps = OA; -const LA = Ju, hg = (e) => e.scrollTop; -function Yo(e, t) { +gu.defaultProps = A0; +const E0 = gu, Ed = (e) => e.scrollTop; +function co(e, t) { var n, r; const { - timeout: i, - easing: o, + timeout: o, + easing: i, 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, + duration: (n = s.transitionDuration) != null ? n : typeof o == "number" ? o : o[t.mode] || 0, + easing: (r = s.transitionTimingFunction) != null ? r : typeof i == "object" ? i[t.mode] : i, delay: s.transitionDelay }; } -const _A = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]; -function Wa(e) { +const T0 = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]; +function fa(e) { return `scale(${e}, ${e ** 2})`; } -const kA = { +const N0 = { entering: { opacity: 1, - transform: Wa(1) + transform: fa(1) }, entered: { opacity: 1, transform: "none" } -}, 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) { +}, Is = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent), pu = /* @__PURE__ */ te.forwardRef(function(t, n) { const { addEndListener: r, - appear: i = !0, - children: o, + appear: o = !0, + children: i, easing: s, in: a, - onEnter: u, - onEntered: c, + onEnter: c, + onEntered: u, onEntering: l, onExit: f, onExited: d, - onExiting: g, - style: h, - timeout: p = "auto", + onExiting: p, + style: M, + timeout: y = "auto", // eslint-disable-next-line react/prop-types - 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 = N.current; - C === void 0 ? R(J) : R(J, C); - } - }, W = H(l), b = H((R, C) => { - hg(R); + TransitionComponent: m = Ad + } = t, w = We(t, T0), D = te.useRef(), N = te.useRef(), E = $o(), T = te.useRef(null), F = mt(i.ref, n), _ = mt(T, F), G = (V) => (S) => { + if (V) { + const q = T.current; + S === void 0 ? V(q) : V(q, S); + } + }, Q = G(l), K = G((V, S) => { + Ed(V); const { - duration: J, - delay: re, - easing: L - } = Yo({ - style: h, - timeout: p, + duration: q, + delay: ae, + easing: O + } = co({ + style: M, + timeout: y, easing: s }, { mode: "enter" }); - let F; - p === "auto" ? (F = I.transitions.getAutoHeightDuration(R.clientHeight), j.current = F) : F = J, R.style.transition = [I.transitions.create("opacity", { - duration: F, - delay: re - }), I.transitions.create("transform", { - duration: Ks ? F : F * 0.666, - delay: re, - easing: L - })].join(","), u && u(R, C); - }), k = H(c), U = H(g), x = H((R) => { + let z; + y === "auto" ? (z = E.transitions.getAutoHeightDuration(V.clientHeight), N.current = z) : z = q, V.style.transition = [E.transitions.create("opacity", { + duration: z, + delay: ae + }), E.transitions.create("transform", { + duration: Is ? z : z * 0.666, + delay: ae, + easing: O + })].join(","), c && c(V, S); + }), Z = G(u), re = G(p), U = G((V) => { const { - duration: C, - delay: J, - easing: re - } = Yo({ - style: h, - timeout: p, + duration: S, + delay: q, + easing: ae + } = co({ + style: M, + timeout: y, easing: s }, { mode: "exit" }); - let L; - p === "auto" ? (L = I.transitions.getAutoHeightDuration(R.clientHeight), j.current = L) : L = C, R.style.transition = [I.transitions.create("opacity", { - duration: L, - delay: J - }), 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); + let O; + y === "auto" ? (O = E.transitions.getAutoHeightDuration(V.clientHeight), N.current = O) : O = S, V.style.transition = [E.transitions.create("opacity", { + duration: O, + delay: q + }), E.transitions.create("transform", { + duration: Is ? O : O * 0.666, + delay: Is ? q : q || O * 0.333, + easing: ae + })].join(","), V.style.opacity = 0, V.style.transform = fa(0.75), f && f(V); + }), j = G(d), C = (V) => { + y === "auto" && (D.current = setTimeout(V, N.current || 0)), r && r(T.current, V); }; - return oe.useEffect(() => () => { - clearTimeout(w.current); - }, []), /* @__PURE__ */ ge.jsx(m, ve({ - appear: i, + return te.useEffect(() => () => { + clearTimeout(D.current); + }, []), /* @__PURE__ */ fe.jsx(m, de({ + appear: o, in: a, - nodeRef: N, - onEnter: b, - onEntered: k, - onEntering: W, - onExit: x, - onExited: T, - onExiting: U, - addEndListener: S, - timeout: p === "auto" ? null : p - }, v, { - children: (R, C) => /* @__PURE__ */ oe.cloneElement(o, ve({ - style: ve({ + nodeRef: T, + onEnter: K, + onEntered: Z, + onEntering: Q, + onExit: U, + onExited: j, + onExiting: re, + addEndListener: C, + timeout: y === "auto" ? null : y + }, w, { + children: (V, S) => /* @__PURE__ */ te.cloneElement(i, de({ + style: de({ opacity: 0, - transform: Wa(0.75), - visibility: R === "exited" && !a ? "hidden" : void 0 - }, kA[R], h, o.props.style), - ref: z - }, C)) + transform: fa(0.75), + visibility: V === "exited" && !a ? "hidden" : void 0 + }, N0[V], M, i.props.style), + ref: _ + }, S)) })); }); -process.env.NODE_ENV !== "production" && (Zu.propTypes = { +process.env.NODE_ENV !== "production" && (pu.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -10809,57 +10728,57 @@ process.env.NODE_ENV !== "production" && (Zu.propTypes = { * node and a done callback. Allows for more fine grained transition end * logic. Note: Timeouts are still used as a fallback if provided. */ - addEndListener: D.func, + addEndListener: v.func, /** * Perform the enter transition when it first mounts if `in` is also `true`. * Set this to `false` to disable this behavior. * @default true */ - appear: D.bool, + appear: v.bool, /** * A single child content element. */ - children: Wi.isRequired, + children: Ii.isRequired, /** * The transition timing function. * You may specify a single easing or a object containing enter and exit values. */ - easing: D.oneOfType([D.shape({ - enter: D.string, - exit: D.string - }), D.string]), + easing: v.oneOfType([v.shape({ + enter: v.string, + exit: v.string + }), v.string]), /** * If `true`, the component will transition in. */ - in: D.bool, + in: v.bool, /** * @ignore */ - onEnter: D.func, + onEnter: v.func, /** * @ignore */ - onEntered: D.func, + onEntered: v.func, /** * @ignore */ - onEntering: D.func, + onEntering: v.func, /** * @ignore */ - onExit: D.func, + onExit: v.func, /** * @ignore */ - onExited: D.func, + onExited: v.func, /** * @ignore */ - onExiting: D.func, + onExiting: v.func, /** * @ignore */ - style: D.object, + style: v.object, /** * The duration for the transition, in milliseconds. * You may specify a single timeout for all transitions, or individually with an object. @@ -10867,90 +10786,90 @@ process.env.NODE_ENV !== "production" && (Zu.propTypes = { * Set to 'auto' to automatically calculate transition time based on height. * @default 'auto' */ - timeout: D.oneOfType([D.oneOf(["auto"]), D.number, D.shape({ - appear: D.number, - enter: D.number, - exit: D.number + timeout: v.oneOfType([v.oneOf(["auto"]), v.number, v.shape({ + appear: v.number, + enter: v.number, + exit: v.number })]) }); -Zu.muiSupportAuto = !0; -const zA = Zu, PA = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], RA = { +pu.muiSupportAuto = !0; +const j0 = pu, b0 = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], S0 = { entering: { opacity: 1 }, entered: { opacity: 1 } -}, gg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = Ms(), i = { +}, Td = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = $o(), o = { enter: r.transitions.duration.enteringScreen, exit: r.transitions.duration.leavingScreen }, { - addEndListener: o, + addEndListener: i, appear: s = !0, children: a, - easing: u, - in: c, + easing: c, + in: u, onEnter: l, onEntered: f, onEntering: d, - onExit: g, - onExited: h, - onExiting: p, + onExit: p, + onExited: M, + onExiting: y, style: m, - timeout: v = i, + timeout: w = o, // eslint-disable-next-line react/prop-types - 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 = I.current; - R === void 0 ? S(C) : S(C, R); - } - }, H = z(d), W = z((S, R) => { - hg(S); - const C = Yo({ + TransitionComponent: D = Ad + } = t, N = We(t, b0), E = te.useRef(null), T = mt(a.ref, n), F = mt(E, T), _ = (C) => (V) => { + if (C) { + const S = E.current; + V === void 0 ? C(S) : C(S, V); + } + }, G = _(d), Q = _((C, V) => { + Ed(C); + const S = co({ style: m, - timeout: v, - easing: u + timeout: w, + easing: c }, { mode: "enter" }); - 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 = Yo({ + C.style.webkitTransition = r.transitions.create("opacity", S), C.style.transition = r.transitions.create("opacity", S), l && l(C, V); + }), K = _(f), Z = _(y), re = _((C) => { + const V = co({ style: m, - timeout: v, - easing: u + timeout: w, + easing: c }, { mode: "exit" }); - 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(I.current, S); + C.style.webkitTransition = r.transitions.create("opacity", V), C.style.transition = r.transitions.create("opacity", V), p && p(C); + }), U = _(M), j = (C) => { + i && i(E.current, C); }; - return /* @__PURE__ */ ge.jsx(w, ve({ + return /* @__PURE__ */ fe.jsx(D, de({ appear: s, - in: c, - nodeRef: I, - onEnter: W, - onEntered: b, - onEntering: H, - onExit: U, - onExited: x, - onExiting: k, - addEndListener: T, - timeout: v - }, j, { - children: (S, R) => /* @__PURE__ */ oe.cloneElement(a, ve({ - style: ve({ + in: u, + nodeRef: E, + onEnter: Q, + onEntered: K, + onEntering: G, + onExit: re, + onExited: U, + onExiting: Z, + addEndListener: j, + timeout: w + }, N, { + children: (C, V) => /* @__PURE__ */ te.cloneElement(a, de({ + style: de({ opacity: 0, - visibility: S === "exited" && !c ? "hidden" : void 0 - }, RA[S], m, a.props.style), - ref: Q - }, R)) + visibility: C === "exited" && !u ? "hidden" : void 0 + }, S0[C], m, a.props.style), + ref: F + }, V)) })); }); -process.env.NODE_ENV !== "production" && (gg.propTypes = { +process.env.NODE_ENV !== "production" && (Td.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -10960,57 +10879,57 @@ process.env.NODE_ENV !== "production" && (gg.propTypes = { * node and a done callback. Allows for more fine grained transition end * logic. Note: Timeouts are still used as a fallback if provided. */ - addEndListener: D.func, + addEndListener: v.func, /** * Perform the enter transition when it first mounts if `in` is also `true`. * Set this to `false` to disable this behavior. * @default true */ - appear: D.bool, + appear: v.bool, /** * A single child content element. */ - children: Wi.isRequired, + children: Ii.isRequired, /** * The transition timing function. * You may specify a single easing or a object containing enter and exit values. */ - easing: D.oneOfType([D.shape({ - enter: D.string, - exit: D.string - }), D.string]), + easing: v.oneOfType([v.shape({ + enter: v.string, + exit: v.string + }), v.string]), /** * If `true`, the component will transition in. */ - in: D.bool, + in: v.bool, /** * @ignore */ - onEnter: D.func, + onEnter: v.func, /** * @ignore */ - onEntered: D.func, + onEntered: v.func, /** * @ignore */ - onEntering: D.func, + onEntering: v.func, /** * @ignore */ - onExit: D.func, + onExit: v.func, /** * @ignore */ - onExited: D.func, + onExited: v.func, /** * @ignore */ - onExiting: D.func, + onExiting: v.func, /** * @ignore */ - style: D.object, + style: v.object, /** * The duration for the transition, in milliseconds. * You may specify a single timeout for all transitions, or individually with an object. @@ -11019,26 +10938,26 @@ process.env.NODE_ENV !== "production" && (gg.propTypes = { * exit: theme.transitions.duration.leavingScreen, * } */ - timeout: D.oneOfType([D.number, D.shape({ - appear: D.number, - enter: D.number, - exit: D.number + timeout: v.oneOfType([v.number, v.shape({ + appear: v.number, + enter: v.number, + exit: v.number })]) }); -const UA = gg; -function FA(e) { - return Zt("MuiBackdrop", e); +const x0 = Td; +function C0(e) { + return Bt("MuiBackdrop", e); } -Pt("MuiBackdrop", ["root", "invisible"]); -const YA = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"], QA = (e) => { +bt("MuiBackdrop", ["root", "invisible"]); +const O0 = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"], L0 = (e) => { const { classes: t, invisible: n } = e; - return On({ + return wn({ root: ["root", n && "invisible"] - }, FA, t); -}, BA = At("div", { + }, C0, t); +}, _0 = gt("div", { name: "MuiBackdrop", slot: "Root", overridesResolver: (e, t) => { @@ -11049,7 +10968,7 @@ const YA = ["children", "component", "components", "componentsProps", "className } })(({ ownerState: e -}) => ve({ +}) => de({ position: "fixed", display: "flex", alignItems: "center", @@ -11062,42 +10981,42 @@ const YA = ["children", "component", "components", "componentsProps", "className WebkitTapHighlightColor: "transparent" }, e.invisible && { backgroundColor: "transparent" -})), pg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - var r, i; - const o = pn({ +})), Nd = /* @__PURE__ */ te.forwardRef(function(t, n) { + var r, o; + const i = an({ props: t, name: "MuiBackdrop" }), { children: s, component: a = "div", - components: u = {}, - componentsProps: c = {}, + components: c = {}, + componentsProps: u = {}, className: l, invisible: f = !1, open: d, - transitionDuration: g, + transitionDuration: p, // eslint-disable-next-line react/prop-types - TransitionComponent: h = UA - } = o, p = ut(o, YA), m = ve({}, o, { + TransitionComponent: M = x0 + } = i, y = We(i, O0), m = de({}, i, { component: a, invisible: f - }), v = QA(m); - return /* @__PURE__ */ ge.jsx(h, ve({ + }), w = L0(m); + return /* @__PURE__ */ fe.jsx(M, de({ in: d, - timeout: g - }, p, { - children: /* @__PURE__ */ ge.jsx(BA, { + timeout: p + }, y, { + children: /* @__PURE__ */ fe.jsx(_0, { "aria-hidden": !0, - as: (r = u.Root) != null ? r : a, - className: st(v.root, l), - ownerState: ve({}, m, (i = c.root) == null ? void 0 : i.ownerState), - classes: v, + as: (r = c.Root) != null ? r : a, + className: tt(w.root, l), + ownerState: de({}, m, (o = u.root) == null ? void 0 : o.ownerState), + classes: w, ref: n, children: s }) })); }); -process.env.NODE_ENV !== "production" && (pg.propTypes = { +process.env.NODE_ENV !== "production" && (Nd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11105,60 +11024,60 @@ process.env.NODE_ENV !== "production" && (pg.propTypes = { /** * The content of the component. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string, + className: v.string, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: D.elementType, + component: v.elementType, /** * The components used for each slot inside the Backdrop. * Either a string to use a HTML element or a component. * @default {} */ - components: D.shape({ - Root: D.elementType + components: v.shape({ + Root: v.elementType }), /** * The props used for each slot inside the Backdrop. * @default {} */ - componentsProps: D.shape({ - root: D.object + componentsProps: v.shape({ + root: v.object }), /** * If `true`, the backdrop is invisible. * It can be used when rendering a popover or a custom select component. * @default false */ - invisible: D.bool, + invisible: v.bool, /** * If `true`, the component is shown. */ - open: D.bool.isRequired, + open: v.bool.isRequired, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]), + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]), /** * The duration for the transition, in milliseconds. * You may specify a single timeout for all transitions, or individually with an object. */ - transitionDuration: D.oneOfType([D.number, D.shape({ - appear: D.number, - enter: D.number, - exit: D.number + transitionDuration: v.oneOfType([v.number, v.shape({ + appear: v.number, + enter: v.number, + exit: v.number })]) }); -const $A = pg, WA = ["BackdropComponent", "closeAfterTransition", "children", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted"], VA = (e) => e.classes, HA = At("div", { +const k0 = Nd, z0 = ["BackdropComponent", "closeAfterTransition", "children", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted"], U0 = (e) => e.classes, P0 = gt("div", { name: "MuiModal", slot: "Root", overridesResolver: (e, t) => { @@ -11170,7 +11089,7 @@ const $A = pg, WA = ["BackdropComponent", "closeAfterTransition", "children", "c })(({ theme: e, ownerState: t -}) => ve({ +}) => de({ position: "fixed", zIndex: (e.vars || e).zIndex.modal, right: 0, @@ -11179,64 +11098,64 @@ const $A = pg, WA = ["BackdropComponent", "closeAfterTransition", "children", "c left: 0 }, !t.open && t.exited && { visibility: "hidden" -})), qA = At($A, { +})), R0 = gt(k0, { name: "MuiModal", slot: "Backdrop", overridesResolver: (e, t) => t.backdrop })({ zIndex: -1 -}), Mg = /* @__PURE__ */ oe.forwardRef(function(t, n) { +}), jd = /* @__PURE__ */ te.forwardRef(function(t, n) { var r; - const i = pn({ + const o = an({ name: "MuiModal", props: t }), { - BackdropComponent: o = qA, + BackdropComponent: i = R0, closeAfterTransition: s = !1, children: a, - components: u = {}, - componentsProps: c = {}, + components: c = {}, + componentsProps: u = {}, disableAutoFocus: l = !1, disableEnforceFocus: f = !1, disableEscapeKeyDown: d = !1, - disablePortal: g = !1, - disableRestoreFocus: h = !1, - disableScrollLock: p = !1, + disablePortal: p = !1, + disableRestoreFocus: M = !1, + disableScrollLock: y = !1, hideBackdrop: m = !1, - keepMounted: v = !1 - } = i, w = ut(i, WA), [j, I] = oe.useState(!0), N = { + keepMounted: w = !1 + } = o, D = We(o, z0), [N, E] = te.useState(!0), T = { closeAfterTransition: s, disableAutoFocus: l, disableEnforceFocus: f, disableEscapeKeyDown: d, - disablePortal: g, - disableRestoreFocus: h, - disableScrollLock: p, + disablePortal: p, + disableRestoreFocus: M, + disableScrollLock: y, hideBackdrop: m, - keepMounted: v - }, Q = ve({}, i, N, { - exited: j - }), z = VA(Q); - return /* @__PURE__ */ ge.jsx(rw, ve({ - components: ve({ - Root: HA - }, u), + keepMounted: w + }, F = de({}, o, T, { + exited: N + }), _ = U0(F); + return /* @__PURE__ */ fe.jsx(Hy, de({ + components: de({ + Root: P0 + }, c), componentsProps: { - root: ve({}, c.root, (!u.Root || !jh(u.Root)) && { - ownerState: ve({}, (r = c.root) == null ? void 0 : r.ownerState) + root: de({}, u.root, (!c.Root || !Pf(c.Root)) && { + ownerState: de({}, (r = u.root) == null ? void 0 : r.ownerState) }) }, - BackdropComponent: o, - onTransitionEnter: () => I(!1), - onTransitionExited: () => I(!0), + BackdropComponent: i, + onTransitionEnter: () => E(!1), + onTransitionExited: () => E(!0), ref: n - }, w, { - classes: z - }, N, { + }, D, { + classes: _ + }, T, { children: a })); }); -process.env.NODE_ENV !== "production" && (Mg.propTypes = { +process.env.NODE_ENV !== "production" && (jd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11253,38 +11172,38 @@ process.env.NODE_ENV !== "production" && (Mg.propTypes = { * zIndex: -1, * }) */ - BackdropComponent: D.elementType, + BackdropComponent: v.elementType, /** * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element. */ - BackdropProps: D.object, + BackdropProps: v.object, /** * A single child content element. */ - children: Wi.isRequired, + children: Ii.isRequired, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * When set to true the Modal waits until a nested Transition is completed before closing. * @default false */ - closeAfterTransition: D.bool, + closeAfterTransition: v.bool, /** * The components used for each slot inside the Modal. * Either a string to use a HTML element or a component. * @default {} */ - components: D.shape({ - Root: D.elementType + components: v.shape({ + Root: v.elementType }), /** * The props used for each slot inside the Modal. * @default {} */ - componentsProps: D.shape({ - root: D.object + componentsProps: v.shape({ + root: v.object }), /** * An HTML element or function that returns one. @@ -11293,7 +11212,7 @@ process.env.NODE_ENV !== "production" && (Mg.propTypes = { * By default, it uses the body of the top-level document object, * so it's simply `document.body` most of the time. */ - container: D.oneOfType([kr, D.func]), + container: v.oneOfType([Mr, v.func]), /** * If `true`, the modal will not automatically shift focus to itself when it opens, and * replace it to the last focused element when it closes. @@ -11303,7 +11222,7 @@ process.env.NODE_ENV !== "production" && (Mg.propTypes = { * accessible to assistive technologies, like screen readers. * @default false */ - disableAutoFocus: D.bool, + disableAutoFocus: v.bool, /** * If `true`, the modal will not prevent focus from leaving the modal while open. * @@ -11311,45 +11230,45 @@ process.env.NODE_ENV !== "production" && (Mg.propTypes = { * accessible to assistive technologies, like screen readers. * @default false */ - disableEnforceFocus: D.bool, + disableEnforceFocus: v.bool, /** * If `true`, hitting escape will not fire the `onClose` callback. * @default false */ - disableEscapeKeyDown: D.bool, + disableEscapeKeyDown: v.bool, /** * The `children` will be under the DOM hierarchy of the parent component. * @default false */ - disablePortal: D.bool, + disablePortal: v.bool, /** * If `true`, the modal will not restore focus to previously focused element once * modal is hidden or unmounted. * @default false */ - disableRestoreFocus: D.bool, + disableRestoreFocus: v.bool, /** * Disable the scroll lock behavior. * @default false */ - disableScrollLock: D.bool, + disableScrollLock: v.bool, /** * If `true`, the backdrop is not rendered. * @default false */ - hideBackdrop: D.bool, + hideBackdrop: v.bool, /** * Always keep the children in the DOM. * This prop can be useful in SEO situation or * when you want to maximize the responsiveness of the Modal. * @default false */ - keepMounted: D.bool, + keepMounted: v.bool, /** * Callback fired when the backdrop is clicked. * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events. */ - onBackdropClick: D.func, + onBackdropClick: v.func, /** * Callback fired when the component requests to be closed. * The `reason` parameter can optionally be used to control the response to `onClose`. @@ -11357,49 +11276,49 @@ process.env.NODE_ENV !== "production" && (Mg.propTypes = { * @param {object} event The event source of the callback. * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`. */ - onClose: D.func, + onClose: v.func, /** * If `true`, the component is shown. */ - open: D.bool.isRequired, + open: v.bool.isRequired, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]) + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]) }); -const KA = Mg; -function GA(e) { - return Zt("MuiPopover", e); +const Y0 = jd; +function F0(e) { + return Bt("MuiPopover", e); } -Pt("MuiPopover", ["root", "paper"]); -const JA = ["onEntering"], ZA = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]; -function Bl(e, t) { +bt("MuiPopover", ["root", "paper"]); +const Q0 = ["onEntering"], B0 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]; +function il(e, t) { let n = 0; return typeof t == "number" ? n = t : t === "center" ? n = e.height / 2 : t === "bottom" && (n = e.height), n; } -function $l(e, t) { +function ol(e, t) { let n = 0; return typeof t == "number" ? n = t : t === "center" ? n = e.width / 2 : t === "right" && (n = e.width), n; } -function Wl(e) { +function sl(e) { return [e.horizontal, e.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" "); } -function Eo(e) { +function qi(e) { return typeof e == "function" ? e() : e; } -const XA = (e) => { +const $0 = (e) => { const { classes: t } = e; - return On({ + return wn({ root: ["root"], paper: ["paper"] - }, GA, t); -}, eE = At(KA, { + }, F0, t); +}, W0 = gt(Y0, { name: "MuiPopover", slot: "Root", overridesResolver: (e, t) => t.root -})({}), tE = At(lg, { +})({}), V0 = gt(Dd, { name: "MuiPopover", slot: "Paper", overridesResolver: (e, t) => t.paper @@ -11415,150 +11334,150 @@ const XA = (e) => { maxHeight: "calc(100% - 32px)", // We disable the focus ring for mouse, touch and keyboard users. outline: 0 -}), yg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +}), bd = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiPopover" }), { - action: i, - anchorEl: o, + action: o, + anchorEl: i, anchorOrigin: s = { vertical: "top", horizontal: "left" }, anchorPosition: a, - anchorReference: u = "anchorEl", - children: c, + anchorReference: c = "anchorEl", + children: u, className: l, container: f, elevation: d = 8, - marginThreshold: g = 16, - open: h, - PaperProps: p = {}, + marginThreshold: p = 16, + open: M, + PaperProps: y = {}, transformOrigin: m = { vertical: "top", horizontal: "left" }, - TransitionComponent: v = zA, - transitionDuration: w = "auto", + TransitionComponent: w = j0, + transitionDuration: D = "auto", TransitionProps: { - onEntering: j + onEntering: N } = {} - } = r, I = ut(r.TransitionProps, JA), N = ut(r, ZA), Q = oe.useRef(), z = Tt(Q, p.ref), H = ve({}, r, { + } = r, E = We(r.TransitionProps, Q0), T = We(r, B0), F = te.useRef(), _ = mt(F, y.ref), G = de({}, r, { anchorOrigin: s, - anchorReference: u, + anchorReference: c, elevation: d, - marginThreshold: g, - PaperProps: p, + marginThreshold: p, + PaperProps: y, transformOrigin: m, - TransitionComponent: v, - transitionDuration: w, - TransitionProps: I - }), W = XA(H), b = oe.useCallback(() => { - if (u === "anchorPosition") + TransitionComponent: w, + transitionDuration: D, + TransitionProps: E + }), Q = $0(G), K = te.useCallback(() => { + if (c === "anchorPosition") return process.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using .')), a; - const C = Eo(o), J = C && C.nodeType === 1 ? C : $t(Q.current).body, re = J.getBoundingClientRect(); + const S = qi(i), q = S && S.nodeType === 1 ? S : _t(F.current).body, ae = q.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(` + const O = q.getBoundingClientRect(); + process.env.NODE_ENV !== "test" && O.top === 0 && O.left === 0 && O.right === 0 && O.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: re.top + Bl(re, s.vertical), - left: re.left + $l(re, s.horizontal) + top: ae.top + il(ae, s.vertical), + left: ae.left + ol(ae, s.horizontal) }; - }, [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 - }, re = k(J); - if (u === "none") + }, [i, s.horizontal, s.vertical, a, c]), Z = te.useCallback((S) => ({ + vertical: il(S, m.vertical), + horizontal: ol(S, m.horizontal) + }), [m.horizontal, m.vertical]), re = te.useCallback((S) => { + const q = { + width: S.offsetWidth, + height: S.offsetHeight + }, ae = Z(q); + if (c === "none") return { top: null, left: null, - transformOrigin: Wl(re) + transformOrigin: sl(ae) }; - const L = b(); - 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, re.vertical += G; - } else if (q > O) { - const G = q - O; - 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, re.horizontal += G; - } else if (K > ne) { - const G = K - ne; - P -= G, re.horizontal += G; + const O = K(); + let z = O.top - ae.vertical, Y = O.left - ae.horizontal; + const W = z + q.height, B = Y + q.width, ee = si(qi(i)), b = ee.innerHeight - p, ne = ee.innerWidth - p; + if (z < p) { + const $ = z - p; + z -= $, ae.vertical += $; + } else if (W > b) { + const $ = W - b; + z -= $, ae.vertical += $; + } + if (process.env.NODE_ENV !== "production" && q.height > b && q.height && b && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${q.height - b}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(` +`)), Y < p) { + const $ = Y - p; + Y -= $, ae.horizontal += $; + } else if (B > ne) { + const $ = B - ne; + Y -= $, ae.horizontal += $; } return { - top: `${Math.round(F)}px`, - left: `${Math.round(P)}px`, - transformOrigin: Wl(re) + top: `${Math.round(z)}px`, + left: `${Math.round(Y)}px`, + transformOrigin: sl(ae) }; - }, [o, u, b, k, g]), x = oe.useCallback(() => { - const C = Q.current; - if (!C) + }, [i, c, K, Z, p]), U = te.useCallback(() => { + const S = F.current; + if (!S) return; - const J = U(C); - J.top !== null && (C.style.top = J.top), J.left !== null && (C.style.left = J.left), C.style.transformOrigin = J.transformOrigin; - }, [U]), T = (C, J) => { - j && j(C, J), x(); + const q = re(S); + q.top !== null && (S.style.top = q.top), q.left !== null && (S.style.left = q.left), S.style.transformOrigin = q.transformOrigin; + }, [re]), j = (S, q) => { + N && N(S, q), U(); }; - oe.useEffect(() => { - h && x(); - }), oe.useImperativeHandle(i, () => h ? { + te.useEffect(() => { + M && U(); + }), te.useImperativeHandle(o, () => M ? { updatePosition: () => { - x(); + U(); } - } : null, [h, x]), oe.useEffect(() => { - if (!h) + } : null, [M, U]), te.useEffect(() => { + if (!M) return; - const C = Ev(() => { - x(); - }), J = Si(o); - return J.addEventListener("resize", C), () => { - C.clear(), J.removeEventListener("resize", C); + const S = hy(() => { + U(); + }), q = si(i); + return q.addEventListener("resize", S), () => { + S.clear(), q.removeEventListener("resize", S); }; - }, [o, h, x]); - let S = w; - w === "auto" && !v.muiSupportAuto && (S = void 0); - const R = f || (o ? $t(Eo(o)).body : void 0); - return /* @__PURE__ */ ge.jsx(eE, ve({ + }, [i, M, U]); + let C = D; + D === "auto" && !w.muiSupportAuto && (C = void 0); + const V = f || (i ? _t(qi(i)).body : void 0); + return /* @__PURE__ */ fe.jsx(W0, de({ BackdropProps: { invisible: !0 }, - className: st(W.root, l), - container: R, - open: h, + className: tt(Q.root, l), + container: V, + open: M, ref: n, - ownerState: H - }, N, { - children: /* @__PURE__ */ ge.jsx(v, ve({ + ownerState: G + }, T, { + children: /* @__PURE__ */ fe.jsx(w, de({ appear: !0, - in: h, - onEntering: T, - timeout: S - }, I, { - children: /* @__PURE__ */ ge.jsx(tE, ve({ + in: M, + onEntering: j, + timeout: C + }, E, { + children: /* @__PURE__ */ fe.jsx(V0, de({ elevation: d - }, p, { - ref: z, - className: st(W.paper, p.className), - children: c + }, y, { + ref: _, + className: tt(Q.paper, y.className), + children: u })) })) })); }); -process.env.NODE_ENV !== "production" && (yg.propTypes = { +process.env.NODE_ENV !== "production" && (bd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11567,14 +11486,14 @@ process.env.NODE_ENV !== "production" && (yg.propTypes = { * A ref for imperative actions. * It currently only supports updatePosition() action. */ - action: _h, + action: Wf, /** * 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) => { + anchorEl: Di(v.oneOfType([Mr, v.func]), (e) => { if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) { - const t = Eo(e.anchorEl); + const t = qi(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) @@ -11599,36 +11518,36 @@ process.env.NODE_ENV !== "production" && (yg.propTypes = { * horizontal: 'left', * } */ - 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 + anchorOrigin: v.shape({ + horizontal: v.oneOfType([v.oneOf(["center", "left", "right"]), v.number]).isRequired, + vertical: v.oneOfType([v.oneOf(["bottom", "center", "top"]), v.number]).isRequired }), /** * This is the position that may be used to set the position of the popover. * The coordinates are relative to the application's client area. */ - anchorPosition: D.shape({ - left: D.number.isRequired, - top: D.number.isRequired + anchorPosition: v.shape({ + left: v.number.isRequired, + top: v.number.isRequired }), /** * This determines which anchor prop to refer to when setting * the position of the popover. * @default 'anchorEl' */ - anchorReference: D.oneOf(["anchorEl", "anchorPosition", "none"]), + anchorReference: v.oneOf(["anchorEl", "anchorPosition", "none"]), /** * The content of the component. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string, + className: v.string, /** * An HTML element, component instance, or function that returns either. * The `container` will passed to the Modal component. @@ -11636,37 +11555,37 @@ process.env.NODE_ENV !== "production" && (yg.propTypes = { * By default, it uses the body of the anchorEl's top-level document object, * so it's simply `document.body` most of the time. */ - container: D.oneOfType([kr, D.func]), + container: v.oneOfType([Mr, v.func]), /** * The elevation of the popover. * @default 8 */ - elevation: Rh, + elevation: Kf, /** * Specifies how close to the edge of the window the popover can appear. * @default 16 */ - marginThreshold: D.number, + marginThreshold: v.number, /** * Callback fired when the component requests to be closed. * The `reason` parameter can optionally be used to control the response to `onClose`. */ - onClose: D.func, + onClose: v.func, /** * If `true`, the component is shown. */ - open: D.bool.isRequired, + open: v.bool.isRequired, /** * Props applied to the [`Paper`](/material-ui/api/paper/) element. * @default {} */ - PaperProps: D.shape({ - component: xh + PaperProps: v.shape({ + component: Qf }), /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]), + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]), /** * This is the point on the popover which * will attach to the anchor's origin. @@ -11679,58 +11598,58 @@ process.env.NODE_ENV !== "production" && (yg.propTypes = { * horizontal: 'left', * } */ - 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 + transformOrigin: v.shape({ + horizontal: v.oneOfType([v.oneOf(["center", "left", "right"]), v.number]).isRequired, + vertical: v.oneOfType([v.oneOf(["bottom", "center", "top"]), v.number]).isRequired }), /** * The component used for the transition. * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component. * @default Grow */ - TransitionComponent: D.elementType, + TransitionComponent: v.elementType, /** * Set to 'auto' to automatically calculate transition time based on height. * @default 'auto' */ - transitionDuration: D.oneOfType([D.oneOf(["auto"]), D.number, D.shape({ - appear: D.number, - enter: D.number, - exit: D.number + transitionDuration: v.oneOfType([v.oneOf(["auto"]), v.number, v.shape({ + appear: v.number, + enter: v.number, + exit: v.number })]), /** * Props applied to the transition element. * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component. * @default {} */ - TransitionProps: D.object + TransitionProps: v.object }); -const nE = yg; -function rE(e) { - return Zt("MuiMenu", e); +const H0 = bd; +function q0(e) { + return Bt("MuiMenu", e); } -Pt("MuiMenu", ["root", "paper", "list"]); -const iE = ["onEntering"], oE = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"], sE = { +bt("MuiMenu", ["root", "paper", "list"]); +const K0 = ["onEntering"], G0 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"], J0 = { vertical: "top", horizontal: "right" -}, aE = { +}, X0 = { vertical: "top", horizontal: "left" -}, uE = (e) => { +}, Z0 = (e) => { const { classes: t } = e; - return On({ + return wn({ root: ["root"], paper: ["paper"], list: ["list"] - }, rE, t); -}, cE = At(nE, { - shouldForwardProp: (e) => Ku(e) || e === "classes", + }, q0, t); +}, eD = gt(H0, { + shouldForwardProp: (e) => du(e) || e === "classes", name: "MuiMenu", slot: "Root", overridesResolver: (e, t) => t.root -})({}), lE = At(lg, { +})({}), tD = gt(Dd, { name: "MuiMenu", slot: "Paper", overridesResolver: (e, t) => t.paper @@ -11741,86 +11660,86 @@ const iE = ["onEntering"], oE = ["autoFocus", "children", "disableAutoFocusItem" maxHeight: "calc(100% - 96px)", // Add iOS momentum scrolling for iOS < 13.0 WebkitOverflowScrolling: "touch" -}), fE = At(wA, { +}), nD = gt(f0, { name: "MuiMenu", slot: "List", overridesResolver: (e, t) => t.list })({ // We disable the focus ring for mouse, touch and keyboard users. outline: 0 -}), mg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +}), Sd = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiMenu" }), { - autoFocus: i = !0, - children: o, + autoFocus: o = !0, + children: i, disableAutoFocusItem: s = !1, MenuListProps: a = {}, - onClose: u, - open: c, + onClose: c, + open: u, PaperProps: l = {}, PopoverClasses: f, transitionDuration: d = "auto", TransitionProps: { - onEntering: g + onEntering: p } = {}, - variant: h = "selectedMenu" - } = r, p = ut(r.TransitionProps, iE), m = ut(r, oE), v = Ms(), w = v.direction === "rtl", j = ve({}, r, { - autoFocus: i, + variant: M = "selectedMenu" + } = r, y = We(r.TransitionProps, K0), m = We(r, G0), w = $o(), D = w.direction === "rtl", N = de({}, r, { + autoFocus: o, disableAutoFocusItem: s, MenuListProps: a, - onEntering: g, + onEntering: p, PaperProps: l, transitionDuration: d, - TransitionProps: p, - variant: h - }), 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")); + TransitionProps: y, + variant: M + }), E = Z0(N), T = o && !s && u, F = te.useRef(null), _ = (K, Z) => { + F.current && F.current.adjustStyleForScrollbar(K, w), p && p(K, Z); + }, G = (K) => { + K.key === "Tab" && (K.preventDefault(), c && c(K, "tabKeyDown")); }; - 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({ + let Q = -1; + return te.Children.map(i, (K, Z) => { + /* @__PURE__ */ te.isValidElement(K) && (process.env.NODE_ENV !== "production" && zf.isFragment(K) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(` +`)), K.props.disabled || (M === "selectedMenu" && K.props.selected || Q === -1) && (Q = Z)); + }), /* @__PURE__ */ fe.jsx(eD, de({ classes: f, - onClose: u, + onClose: c, anchorOrigin: { vertical: "bottom", - horizontal: w ? "right" : "left" + horizontal: D ? "right" : "left" }, - transformOrigin: w ? sE : aE, - PaperProps: ve({ - component: lE + transformOrigin: D ? J0 : X0, + PaperProps: de({ + component: tD }, l, { - classes: ve({}, l.classes, { - root: I.paper + classes: de({}, l.classes, { + root: E.paper }) }), - className: I.root, - open: c, + className: E.root, + open: u, ref: n, transitionDuration: d, - TransitionProps: ve({ - onEntering: z - }, p), - ownerState: j + TransitionProps: de({ + onEntering: _ + }, y), + ownerState: N }, m, { - children: /* @__PURE__ */ ge.jsx(fE, ve({ - onKeyDown: H, - actions: Q, - autoFocus: i && (W === -1 || s), - autoFocusItem: N, - variant: h + children: /* @__PURE__ */ fe.jsx(nD, de({ + onKeyDown: G, + actions: F, + autoFocus: o && (Q === -1 || s), + autoFocusItem: T, + variant: M }, a, { - className: st(I.list, a.className), - children: o + className: tt(E.list, a.className), + children: i })) })); }); -process.env.NODE_ENV !== "production" && (mg.propTypes = { +process.env.NODE_ENV !== "production" && (Sd.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -11829,7 +11748,7 @@ process.env.NODE_ENV !== "production" && (mg.propTypes = { * An HTML element, or a function that returns one. * It's used to set the position of the menu. */ - anchorEl: D.oneOfType([kr, D.func]), + anchorEl: v.oneOfType([Mr, v.func]), /** * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled * children are not focusable. If you set this prop to `false` focus will be placed @@ -11837,15 +11756,15 @@ process.env.NODE_ENV !== "production" && (mg.propTypes = { * and should only be considered if you manage focus otherwise. * @default true */ - autoFocus: D.bool, + autoFocus: v.bool, /** * Menu contents, normally `MenuItem`s. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * When opening the menu will not focus the active item but the `[role="menu"]` * unless `autoFocus` is also set to `false`. Not using the default means not @@ -11853,128 +11772,128 @@ process.env.NODE_ENV !== "production" && (mg.propTypes = { * accessibility implications. * @default false */ - disableAutoFocusItem: D.bool, + disableAutoFocusItem: v.bool, /** * Props applied to the [`MenuList`](/material-ui/api/menu-list/) element. * @default {} */ - MenuListProps: D.object, + MenuListProps: v.object, /** * Callback fired when the component requests to be closed. * * @param {object} event The event source of the callback. * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`. */ - onClose: D.func, + onClose: v.func, /** * If `true`, the component is shown. */ - open: D.bool.isRequired, + open: v.bool.isRequired, /** * @ignore */ - PaperProps: D.object, + PaperProps: v.object, /** * `classes` prop applied to the [`Popover`](/material-ui/api/popover/) element. */ - PopoverClasses: D.object, + PopoverClasses: v.object, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]), + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]), /** * The length of the transition in `ms`, or 'auto' * @default 'auto' */ - transitionDuration: D.oneOfType([D.oneOf(["auto"]), D.number, D.shape({ - appear: D.number, - enter: D.number, - exit: D.number + transitionDuration: v.oneOfType([v.oneOf(["auto"]), v.number, v.shape({ + appear: v.number, + enter: v.number, + exit: v.number })]), /** * Props applied to the transition element. * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component. * @default {} */ - TransitionProps: D.object, + TransitionProps: v.object, /** * The variant to use. Use `menu` to prevent selected items from impacting the initial focus. * @default 'selectedMenu' */ - variant: D.oneOf(["menu", "selectedMenu"]) + variant: v.oneOf(["menu", "selectedMenu"]) }); -const dE = mg; -function vg(e) { +const rD = Sd; +function xd(e) { const { className: t, classes: n, pulsate: r = !1, - rippleX: i, - rippleY: o, + rippleX: o, + rippleY: i, rippleSize: s, in: a, - onExited: u, - timeout: c - } = e, [l, f] = oe.useState(!1), d = st(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), g = { + onExited: c, + timeout: u + } = e, [l, f] = te.useState(!1), d = tt(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), p = { 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), oe.useEffect(() => { - if (!a && u != null) { - const p = setTimeout(u, c); + top: -(s / 2) + i, + left: -(s / 2) + o + }, M = tt(n.child, l && n.childLeaving, r && n.childPulsate); + return !a && !l && f(!0), te.useEffect(() => { + if (!a && c != null) { + const y = setTimeout(c, u); return () => { - clearTimeout(p); + clearTimeout(y); }; } - }, [u, a, c]), /* @__PURE__ */ ge.jsx("span", { + }, [c, a, u]), /* @__PURE__ */ fe.jsx("span", { className: d, - style: g, - children: /* @__PURE__ */ ge.jsx("span", { - className: h + style: p, + children: /* @__PURE__ */ fe.jsx("span", { + className: M }) }); } -process.env.NODE_ENV !== "production" && (vg.propTypes = { +process.env.NODE_ENV !== "production" && (xd.propTypes = { /** * Override or extend the styles applied to the component. * See [CSS API](#css) below for more details. */ - classes: D.object.isRequired, - className: D.string, + classes: v.object.isRequired, + className: v.string, /** * @ignore - injected from TransitionGroup */ - in: D.bool, + in: v.bool, /** * @ignore - injected from TransitionGroup */ - onExited: D.func, + onExited: v.func, /** * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element. */ - pulsate: D.bool, + pulsate: v.bool, /** * Diameter of the ripple. */ - rippleSize: D.number, + rippleSize: v.number, /** * Horizontal position of the ripple center. */ - rippleX: D.number, + rippleX: v.number, /** * Vertical position of the ripple center. */ - rippleY: D.number, + rippleY: v.number, /** * exit delay */ - timeout: D.number.isRequired + timeout: v.number.isRequired }); -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` +const iD = bt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), At = iD, oD = ["center", "classes", "className"]; +let Wo = (e) => e, al, ul, cl, ll; +const da = 550, sD = 80, aD = su(al || (al = Wo` 0% { transform: scale(0); opacity: 0.1; @@ -11984,7 +11903,7 @@ const Va = 550, pE = 80, ME = Bu(Vl || (Vl = ys` transform: scale(1); opacity: 0.3; } -`)), yE = Bu(Hl || (Hl = ys` +`)), uD = su(ul || (ul = Wo` 0% { opacity: 1; } @@ -11992,7 +11911,7 @@ const Va = 550, pE = 80, ME = Bu(Vl || (Vl = ys` 100% { opacity: 0; } -`)), mE = Bu(ql || (ql = ys` +`)), cD = su(cl || (cl = Wo` 0% { transform: scale(1); } @@ -12004,7 +11923,7 @@ const Va = 550, pE = 80, ME = Bu(Vl || (Vl = ys` 100% { transform: scale(1); } -`)), vE = At("span", { +`)), lD = gt("span", { name: "MuiTouchRipple", slot: "Root" })({ @@ -12017,10 +11936,10 @@ const Va = 550, pE = 80, ME = Bu(Vl || (Vl = ys` bottom: 0, left: 0, borderRadius: "inherit" -}), wE = At(vg, { +}), fD = gt(xd, { name: "MuiTouchRipple", slot: "Ripple" -})(Kl || (Kl = ys` +})(ll || (ll = Wo` opacity: 0; position: absolute; @@ -12063,163 +11982,163 @@ const Va = 550, pE = 80, ME = Bu(Vl || (Vl = ys` animation-iteration-count: infinite; animation-delay: 200ms; } -`), xt.rippleVisible, ME, Va, ({ +`), At.rippleVisible, aD, da, ({ theme: e -}) => e.transitions.easing.easeInOut, xt.ripplePulsate, ({ +}) => e.transitions.easing.easeInOut, At.ripplePulsate, ({ theme: e -}) => e.transitions.duration.shorter, xt.child, xt.childLeaving, yE, Va, ({ +}) => e.transitions.duration.shorter, At.child, At.childLeaving, uD, da, ({ theme: e -}) => e.transitions.easing.easeInOut, xt.childPulsate, mE, ({ +}) => e.transitions.easing.easeInOut, At.childPulsate, cD, ({ theme: e -}) => e.transitions.easing.easeInOut), wg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +}) => e.transitions.easing.easeInOut), Cd = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiTouchRipple" }), { - center: i = !1, - classes: o = {}, + center: o = !1, + classes: i = {}, className: s - } = r, a = ut(r, gE), [u, c] = oe.useState([]), l = oe.useRef(0), f = oe.useRef(null); - oe.useEffect(() => { + } = r, a = We(r, oD), [c, u] = te.useState([]), l = te.useRef(0), f = te.useRef(null); + te.useEffect(() => { f.current && (f.current(), f.current = null); - }, [u]); - const d = oe.useRef(!1), g = oe.useRef(null), h = oe.useRef(null), p = oe.useRef(null); - oe.useEffect(() => () => { - clearTimeout(g.current); + }, [c]); + const d = te.useRef(!1), p = te.useRef(null), M = te.useRef(null), y = te.useRef(null); + te.useEffect(() => () => { + clearTimeout(p.current); }, []); - const m = oe.useCallback((I) => { + const m = te.useCallback((E) => { const { - pulsate: N, - rippleX: Q, - rippleY: z, - rippleSize: H, - cb: W - } = I; - c((b) => [...b, /* @__PURE__ */ ge.jsx(wE, { + pulsate: T, + rippleX: F, + rippleY: _, + rippleSize: G, + cb: Q + } = E; + u((K) => [...K, /* @__PURE__ */ fe.jsx(fD, { classes: { - 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) + ripple: tt(i.ripple, At.ripple), + rippleVisible: tt(i.rippleVisible, At.rippleVisible), + ripplePulsate: tt(i.ripplePulsate, At.ripplePulsate), + child: tt(i.child, At.child), + childLeaving: tt(i.childLeaving, At.childLeaving), + childPulsate: tt(i.childPulsate, At.childPulsate) }, - timeout: Va, - pulsate: N, - rippleX: Q, - rippleY: z, - rippleSize: H - }, l.current)]), l.current += 1, f.current = W; - }, [o]), v = oe.useCallback((I = {}, N = {}, Q) => { + timeout: da, + pulsate: T, + rippleX: F, + rippleY: _, + rippleSize: G + }, l.current)]), l.current += 1, f.current = Q; + }, [i]), w = te.useCallback((E = {}, T = {}, F) => { const { - pulsate: z = !1, - center: H = i || N.pulsate, - fakeElement: W = !1 + pulsate: _ = !1, + center: G = o || T.pulsate, + fakeElement: Q = !1 // For test purposes - } = N; - if ((I == null ? void 0 : I.type) === "mousedown" && d.current) { + } = T; + if ((E == null ? void 0 : E.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() : { + (E == null ? void 0 : E.type) === "touchstart" && (d.current = !0); + const K = Q ? null : y.current, Z = K ? K.getBoundingClientRect() : { width: 0, height: 0, left: 0, top: 0 }; - let U, x, T; - 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); + let re, U, j; + if (G || E === void 0 || E.clientX === 0 && E.clientY === 0 || !E.clientX && !E.touches) + re = Math.round(Z.width / 2), U = Math.round(Z.height / 2); else { const { - clientX: S, - clientY: R - } = I.touches ? I.touches[0] : I; - U = Math.round(S - k.left), x = Math.round(R - k.top); + clientX: C, + clientY: V + } = E.touches ? E.touches[0] : E; + re = Math.round(C - Z.left), U = Math.round(V - Z.top); } - if (H) - T = Math.sqrt((2 * k.width ** 2 + k.height ** 2) / 3), T % 2 === 0 && (T += 1); + if (G) + j = Math.sqrt((2 * Z.width ** 2 + Z.height ** 2) / 3), j % 2 === 0 && (j += 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); + const C = Math.max(Math.abs((K ? K.clientWidth : 0) - re), re) * 2 + 2, V = Math.max(Math.abs((K ? K.clientHeight : 0) - U), U) * 2 + 2; + j = Math.sqrt(C ** 2 + V ** 2); } - I != null && I.touches ? h.current === null && (h.current = () => { + E != null && E.touches ? M.current === null && (M.current = () => { m({ - pulsate: z, - rippleX: U, - rippleY: x, - rippleSize: T, - cb: Q + pulsate: _, + rippleX: re, + rippleY: U, + rippleSize: j, + cb: F }); - }, g.current = setTimeout(() => { - h.current && (h.current(), h.current = null); - }, pE)) : m({ - pulsate: z, - rippleX: U, - rippleY: x, - rippleSize: T, - cb: Q + }, p.current = setTimeout(() => { + M.current && (M.current(), M.current = null); + }, sD)) : m({ + pulsate: _, + rippleX: re, + rippleY: U, + rippleSize: j, + cb: F }); - }, [i, m]), w = oe.useCallback(() => { - v({}, { + }, [o, m]), D = te.useCallback(() => { + w({}, { pulsate: !0 }); - }, [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(I, N); + }, [w]), N = te.useCallback((E, T) => { + if (clearTimeout(p.current), (E == null ? void 0 : E.type) === "touchend" && M.current) { + M.current(), M.current = null, p.current = setTimeout(() => { + N(E, T); }); return; } - h.current = null, c((Q) => Q.length > 0 ? Q.slice(1) : Q), f.current = N; + M.current = null, u((F) => F.length > 0 ? F.slice(1) : F), f.current = T; }, []); - return oe.useImperativeHandle(n, () => ({ - pulsate: w, - start: v, - stop: j - }), [w, v, j]), /* @__PURE__ */ ge.jsx(vE, ve({ - className: st(o.root, xt.root, s), - ref: p + return te.useImperativeHandle(n, () => ({ + pulsate: D, + start: w, + stop: N + }), [D, w, N]), /* @__PURE__ */ fe.jsx(lD, de({ + className: tt(i.root, At.root, s), + ref: y }, a, { - children: /* @__PURE__ */ ge.jsx(LA, { + children: /* @__PURE__ */ fe.jsx(E0, { component: null, exit: !0, - children: u + children: c }) })); }); -process.env.NODE_ENV !== "production" && (wg.propTypes = { +process.env.NODE_ENV !== "production" && (Cd.propTypes = { /** * If `true`, the ripple starts at the center of the component * rather than at the point of interaction. */ - center: D.bool, + center: v.bool, /** * Override or extend the styles applied to the component. * See [CSS API](#css) below for more details. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string + className: v.string }); -const DE = wg; -function AE(e) { - return Zt("MuiButtonBase", e); +const dD = Cd; +function hD(e) { + return Bt("MuiButtonBase", 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 gD = bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), pD = gD, MD = ["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"], yD = (e) => { const { disabled: t, focusVisible: n, focusVisibleClassName: r, - classes: i - } = e, s = On({ + classes: o + } = e, s = wn({ root: ["root", t && "disabled", n && "focusVisible"] - }, AE, i); + }, hD, o); return n && r && (s.root += ` ${r}`), s; -}, jE = At("button", { +}, mD = gt("button", { name: "MuiButtonBase", slot: "Root", overridesResolver: (e, t) => t.root @@ -12254,7 +12173,7 @@ const EE = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), IE = EE, N borderStyle: "none" // Remove Firefox dotted outline. }, - [`&.${IE.disabled}`]: { + [`&.${pD.disabled}`]: { pointerEvents: "none", // Disable link interactions cursor: "default" @@ -12262,129 +12181,129 @@ const EE = Pt("MuiButtonBase", ["root", "disabled", "focusVisible"]), IE = EE, N "@media print": { colorAdjust: "exact" } -}), Dg = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +}), Od = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiButtonBase" }), { - action: i, - centerRipple: o = !1, + action: o, + centerRipple: i = !1, children: s, className: a, - component: u = "button", - disabled: c = !1, + component: c = "button", + disabled: u = !1, disableRipple: l = !1, disableTouchRipple: f = !1, focusRipple: d = !1, - LinkComponent: g = "a", - onBlur: h, - onClick: p, + LinkComponent: p = "a", + onBlur: M, + onClick: y, onContextMenu: m, - onDragLeave: v, - onFocus: w, - onFocusVisible: j, - onKeyDown: I, - onKeyUp: N, - onMouseDown: Q, - onMouseLeave: z, - onMouseUp: H, - onTouchEnd: W, - onTouchMove: b, - onTouchStart: k, - tabIndex: U = 0, - TouchRippleProps: x, - touchRippleRef: T, - type: S - } = 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 - } = xv(), [K, X] = oe.useState(!1); - c && K && X(!1), oe.useImperativeHandle(i, () => ({ + onDragLeave: w, + onFocus: D, + onFocusVisible: N, + onKeyDown: E, + onKeyUp: T, + onMouseDown: F, + onMouseLeave: _, + onMouseUp: G, + onTouchEnd: Q, + onTouchMove: K, + onTouchStart: Z, + tabIndex: re = 0, + TouchRippleProps: U, + touchRippleRef: j, + type: C + } = r, V = We(r, MD), S = te.useRef(null), q = te.useRef(null), ae = mt(q, j), { + isFocusVisibleRef: O, + onFocus: z, + onBlur: Y, + ref: W + } = Dy(), [B, ee] = te.useState(!1); + u && B && ee(!1), te.useImperativeHandle(o, () => ({ focusVisible: () => { - X(!0), C.current.focus(); + ee(!0), S.current.focus(); } }), []); - const [O, ne] = oe.useState(!1); - oe.useEffect(() => { + const [b, ne] = te.useState(!1); + te.useEffect(() => { ne(!0); }, []); - const G = O && !l && !c; - 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 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), 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 = 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(), 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); - })), N && N(De), p && De.target === De.currentTarget && M() && De.key === " " && !De.defaultPrevented && p(De); + const $ = b && !l && !u; + te.useEffect(() => { + B && d && !l && b && q.current.pulsate(); + }, [l, d, B, b]); + function ie(ye, Vt, $n = f) { + return ur((bi) => (Vt && Vt(bi), !$n && q.current && q.current[ye](bi), !0)); + } + const P = ie("start", F), L = ie("stop", m), R = ie("stop", w), ce = ie("stop", G), X = ie("stop", (ye) => { + B && ye.preventDefault(), _ && _(ye); + }), ue = ie("start", Z), he = ie("stop", Q), le = ie("stop", K), A = ie("stop", (ye) => { + Y(ye), O.current === !1 && ee(!1), M && M(ye); + }, !1), g = ur((ye) => { + S.current || (S.current = ye.currentTarget), z(ye), O.current === !0 && (ee(!0), N && N(ye)), D && D(ye); + }), h = () => { + const ye = S.current; + return c && c !== "button" && !(ye.tagName === "A" && ye.href); + }, I = te.useRef(!1), k = ur((ye) => { + d && !I.current && B && q.current && ye.key === " " && (I.current = !0, q.current.stop(ye, () => { + q.current.start(ye); + })), ye.target === ye.currentTarget && h() && ye.key === " " && ye.preventDefault(), E && E(ye), ye.target === ye.currentTarget && h() && ye.key === "Enter" && !u && (ye.preventDefault(), y && y(ye)); + }), J = ur((ye) => { + d && ye.key === " " && q.current && B && !ye.defaultPrevented && (I.current = !1, q.current.stop(ye, () => { + q.current.pulsate(ye); + })), T && T(ye), y && ye.target === ye.currentTarget && h() && ye.key === " " && !ye.defaultPrevented && y(ye); }); - let Z = u; - Z === "button" && (R.href || R.to) && (Z = g); - 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(` + let H = c; + H === "button" && (V.href || V.to) && (H = p); + const Me = {}; + H === "button" ? (Me.type = C === void 0 ? "button" : C, Me.disabled = u) : (!V.href && !V.to && (Me.role = "button"), u && (Me["aria-disabled"] = u)); + const Ee = mt(W, S), Ie = mt(n, Ee); + process.env.NODE_ENV !== "production" && te.useEffect(() => { + $ && !q.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 = ve({}, r, { - centerRipple: o, - component: u, - disabled: c, + }, [$]); + const Le = de({}, r, { + centerRipple: i, + component: c, + disabled: u, disableRipple: l, disableTouchRipple: f, focusRipple: d, - tabIndex: U, - focusVisible: K - }), Ve = TE(Pe); - return /* @__PURE__ */ ge.jsxs(jE, ve({ - as: Z, - className: st(Ve.root, a), - ownerState: Pe, - onBlur: E, - onClick: p, - onContextMenu: B, - onFocus: y, - onKeyDown: Y, - onKeyUp: ee, - onMouseDown: V, - onMouseLeave: te, - onMouseUp: fe, - onDragLeave: $, - onTouchEnd: pe, - onTouchMove: de, - onTouchStart: le, - ref: Se, - tabIndex: c ? -1 : U, - type: S - }, me, R, { - children: [s, G ? ( + tabIndex: re, + focusVisible: B + }), Fe = yD(Le); + return /* @__PURE__ */ fe.jsxs(mD, de({ + as: H, + className: tt(Fe.root, a), + ownerState: Le, + onBlur: A, + onClick: y, + onContextMenu: L, + onFocus: g, + onKeyDown: k, + onKeyUp: J, + onMouseDown: P, + onMouseLeave: X, + onMouseUp: ce, + onDragLeave: R, + onTouchEnd: he, + onTouchMove: le, + onTouchStart: ue, + ref: Ie, + tabIndex: u ? -1 : re, + type: C + }, Me, V, { + children: [s, $ ? ( /* TouchRipple is only needed client-side, x2 boost on the server. */ - /* @__PURE__ */ ge.jsx(DE, ve({ - ref: re, - center: o - }, x)) + /* @__PURE__ */ fe.jsx(dD, de({ + ref: ae, + center: i + }, U)) ) : null] })); }); -process.env.NODE_ENV !== "production" && (Dg.propTypes = { +process.env.NODE_ENV !== "production" && (Od.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -12393,35 +12312,35 @@ process.env.NODE_ENV !== "production" && (Dg.propTypes = { * A ref for imperative actions. * It currently only supports `focusVisible()` action. */ - action: _h, + action: Wf, /** * If `true`, the ripples are centered. * They won't start at the cursor interaction position. * @default false */ - centerRipple: D.bool, + centerRipple: v.bool, /** * The content of the component. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * @ignore */ - className: D.string, + className: v.string, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: xh, + component: Qf, /** * If `true`, the component is disabled. * @default false */ - disabled: D.bool, + disabled: v.bool, /** * If `true`, the ripple effect is disabled. * @@ -12429,17 +12348,17 @@ process.env.NODE_ENV !== "production" && (Dg.propTypes = { * to highlight the element by applying separate styles with the `.Mui-focusVisible` class. * @default false */ - disableRipple: D.bool, + disableRipple: v.bool, /** * If `true`, the touch ripple effect is disabled. * @default false */ - disableTouchRipple: D.bool, + disableTouchRipple: v.bool, /** * If `true`, the base button will have a keyboard focus ripple. * @default false */ - focusRipple: D.bool, + focusRipple: v.bool, /** * This prop can help identify which element has keyboard focus. * The class name will be applied when the element gains the focus through keyboard interaction. @@ -12448,130 +12367,130 @@ process.env.NODE_ENV !== "production" && (Dg.propTypes = { * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components * if needed. */ - focusVisibleClassName: D.string, + focusVisibleClassName: v.string, /** * @ignore */ - href: D.any, + href: v.any, /** * The component used to render a link when the `href` prop is provided. * @default 'a' */ - LinkComponent: D.elementType, + LinkComponent: v.elementType, /** * @ignore */ - onBlur: D.func, + onBlur: v.func, /** * @ignore */ - onClick: D.func, + onClick: v.func, /** * @ignore */ - onContextMenu: D.func, + onContextMenu: v.func, /** * @ignore */ - onDragLeave: D.func, + onDragLeave: v.func, /** * @ignore */ - onFocus: D.func, + onFocus: v.func, /** * Callback fired when the component is focused with a keyboard. * We trigger a `onFocus` callback too. */ - onFocusVisible: D.func, + onFocusVisible: v.func, /** * @ignore */ - onKeyDown: D.func, + onKeyDown: v.func, /** * @ignore */ - onKeyUp: D.func, + onKeyUp: v.func, /** * @ignore */ - onMouseDown: D.func, + onMouseDown: v.func, /** * @ignore */ - onMouseLeave: D.func, + onMouseLeave: v.func, /** * @ignore */ - onMouseUp: D.func, + onMouseUp: v.func, /** * @ignore */ - onTouchEnd: D.func, + onTouchEnd: v.func, /** * @ignore */ - onTouchMove: D.func, + onTouchMove: v.func, /** * @ignore */ - onTouchStart: D.func, + onTouchStart: v.func, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]), + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]), /** * @default 0 */ - tabIndex: D.number, + tabIndex: v.number, /** * Props applied to the `TouchRipple` element. */ - TouchRippleProps: D.object, + TouchRippleProps: v.object, /** * A ref that points to the `TouchRipple` element. */ - touchRippleRef: D.oneOfType([D.func, D.shape({ - current: D.shape({ - pulsate: D.func.isRequired, - start: D.func.isRequired, - stop: D.func.isRequired + touchRippleRef: v.oneOfType([v.func, v.shape({ + current: v.shape({ + pulsate: v.func.isRequired, + start: v.func.isRequired, + stop: v.func.isRequired }) })]), /** * @ignore */ - type: D.oneOfType([D.oneOf(["button", "reset", "submit"]), D.string]) + type: v.oneOfType([v.oneOf(["button", "reset", "submit"]), v.string]) }); -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 vD = Od, wD = bt("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), fl = wD, DD = bt("MuiListItemIcon", ["root", "alignItemsFlexStart"]), dl = DD, ID = bt("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), hl = ID; +function AD(e) { + return Bt("MuiMenuItem", e); } -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 ED = bt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), zr = ED, TD = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex"], ND = (e, t) => { const { ownerState: n } = e; return [t.root, n.dense && t.dense, n.divider && t.divider, !n.disableGutters && t.gutters]; -}, zE = (e) => { +}, jD = (e) => { const { disabled: t, dense: n, divider: r, - disableGutters: i, - selected: o, + disableGutters: o, + selected: i, classes: s - } = e, u = On({ - root: ["root", n && "dense", t && "disabled", !i && "gutters", r && "divider", o && "selected"] - }, OE, s); - return ve({}, s, u); -}, PE = At(SE, { - shouldForwardProp: (e) => Ku(e) || e === "classes", + } = e, c = wn({ + root: ["root", n && "dense", t && "disabled", !o && "gutters", r && "divider", i && "selected"] + }, AD, s); + return de({}, s, c); +}, bD = gt(vD, { + shouldForwardProp: (e) => du(e) || e === "classes", name: "MuiMenuItem", slot: "Root", - overridesResolver: kE + overridesResolver: ND })(({ theme: e, ownerState: t -}) => ve({}, e.typography.body1, { +}) => de({}, e.typography.body1, { display: "flex", justifyContent: "flex-start", alignItems: "center", @@ -12597,96 +12516,96 @@ const LE = Pt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi backgroundColor: "transparent" } }, - [`&.${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), - [`&.${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) + [`&.${zr.selected}`]: { + backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : cr(e.palette.primary.main, e.palette.action.selectedOpacity), + [`&.${zr.focusVisible}`]: { + backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : cr(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity) } }, - [`&.${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), + [`&.${zr.selected}:hover`]: { + backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : cr(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) + backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : cr(e.palette.primary.main, e.palette.action.selectedOpacity) } }, - [`&.${ti.focusVisible}`]: { + [`&.${zr.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus }, - [`&.${ti.disabled}`]: { + [`&.${zr.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity }, - [`& + .${Gl.root}`]: { + [`& + .${fl.root}`]: { marginTop: e.spacing(1), marginBottom: e.spacing(1) }, - [`& + .${Gl.inset}`]: { + [`& + .${fl.inset}`]: { marginLeft: 52 }, - [`& .${Zl.root}`]: { + [`& .${hl.root}`]: { marginTop: 0, marginBottom: 0 }, - [`& .${Zl.inset}`]: { + [`& .${hl.inset}`]: { paddingLeft: 36 }, - [`& .${Jl.root}`]: { + [`& .${dl.root}`]: { minWidth: 36 } }, !t.dense && { [e.breakpoints.up("sm")]: { minHeight: "auto" } -}, t.dense && ve({ +}, t.dense && de({ minHeight: 32, // https://material.io/components/menus#specs > Dense paddingTop: 4, paddingBottom: 4 }, e.typography.body2, { - [`& .${Jl.root} svg`]: { + [`& .${dl.root} svg`]: { fontSize: "1.25rem" } -}))), Ag = /* @__PURE__ */ oe.forwardRef(function(t, n) { - const r = pn({ +}))), Ld = /* @__PURE__ */ te.forwardRef(function(t, n) { + const r = an({ props: t, name: "MuiMenuItem" }), { - autoFocus: i = !1, - component: o = "li", + autoFocus: o = !1, + component: i = "li", dense: s = !1, divider: a = !1, - disableGutters: u = !1, - focusVisibleClassName: c, + disableGutters: c = !1, + focusVisibleClassName: u, role: l = "menuitem", tabIndex: f - } = r, d = ut(r, _E), g = oe.useContext(Qa), h = { - dense: s || g.dense || !1, - disableGutters: u - }, 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 = ve({}, r, { - dense: h.dense, + } = r, d = We(r, TD), p = te.useContext(ua), M = { + dense: s || p.dense || !1, + disableGutters: c + }, y = te.useRef(null); + ai(() => { + o && (y.current ? y.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered.")); + }, [o]); + const m = de({}, r, { + dense: M.dense, divider: a, - disableGutters: u - }), v = zE(r), w = Tt(p, n); - let j; - return r.disabled || (j = f !== void 0 ? f : -1), /* @__PURE__ */ ge.jsx(Qa.Provider, { - value: h, - children: /* @__PURE__ */ ge.jsx(PE, ve({ - ref: w, + disableGutters: c + }), w = jD(r), D = mt(y, n); + let N; + return r.disabled || (N = f !== void 0 ? f : -1), /* @__PURE__ */ fe.jsx(ua.Provider, { + value: M, + children: /* @__PURE__ */ fe.jsx(bD, de({ + ref: D, role: l, - tabIndex: j, - component: o, - focusVisibleClassName: st(v.focusVisible, c) + tabIndex: N, + component: i, + focusVisibleClassName: tt(w.focusVisible, u) }, d, { ownerState: m, - classes: v + classes: w })) }); }); -process.env.NODE_ENV !== "production" && (Ag.propTypes = { +process.env.NODE_ENV !== "production" && (Ld.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit the d.ts file and run "yarn proptypes" | @@ -12696,40 +12615,40 @@ process.env.NODE_ENV !== "production" && (Ag.propTypes = { * Focus will also be triggered if the value changes from false to true. * @default false */ - autoFocus: D.bool, + autoFocus: v.bool, /** * The content of the component. */ - children: D.node, + children: v.node, /** * Override or extend the styles applied to the component. */ - classes: D.object, + classes: v.object, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ - component: D.elementType, + component: v.elementType, /** * If `true`, compact vertical padding designed for keyboard and mouse input is used. * The prop defaults to the value inherited from the parent Menu component. * @default false */ - dense: D.bool, + dense: v.bool, /** * @ignore */ - disabled: D.bool, + disabled: v.bool, /** * If `true`, the left and right padding is removed. * @default false */ - disableGutters: D.bool, + disableGutters: v.bool, /** * If `true`, a 1px light border is added to the bottom of the menu item. * @default false */ - divider: D.bool, + divider: v.bool, /** * This prop can help identify which element has keyboard focus. * The class name will be applied when the element gains the focus through keyboard interaction. @@ -12738,26 +12657,26 @@ process.env.NODE_ENV !== "production" && (Ag.propTypes = { * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components * if needed. */ - focusVisibleClassName: D.string, + focusVisibleClassName: v.string, /** * @ignore */ - role: D.string, + role: v.string, /** * @ignore */ - selected: D.bool, + selected: v.bool, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ - sx: D.oneOfType([D.arrayOf(D.oneOfType([D.func, D.object, D.bool])), D.func, D.object]), + sx: v.oneOfType([v.arrayOf(v.oneOfType([v.func, v.object, v.bool])), v.func, v.object]), /** * @default 0 */ - tabIndex: D.number + tabIndex: v.number }); -const Xl = Ag; -var RE = { +const gl = Ld; +var SD = { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, @@ -12768,37 +12687,37 @@ var RE = { strokeLinecap: "round", strokeLinejoin: "round" }; -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( +const xD = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Mu = (e, t) => { + const n = Ba( + ({ color: r = "currentColor", size: o = 24, strokeWidth: i = 2, absoluteStrokeWidth: s, children: a, ...c }, u) => Nt( "svg", { - ref: c, - ...RE, - width: i, - height: i, + ref: u, + ...SD, + width: o, + height: o, stroke: r, - strokeWidth: s ? Number(o) * 24 / Number(i) : o, - className: `lucide lucide-${UE(e)}`, - ...u + strokeWidth: s ? Number(i) * 24 / Number(o) : i, + className: `lucide lucide-${xD(e)}`, + ...c }, [ - ...t.map(([l, f]) => kt(l, f)), + ...t.map(([l, f]) => Nt(l, f)), ...(Array.isArray(a) ? a : [a]) || [] ] ) ); return n.displayName = `${e}`, n; -}, FE = Xu("Languages", [ +}, CD = Mu("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" }] -]), YE = Xu("Moon", [ +]), OD = Mu("Moon", [ ["path", { d: "M12 3a6.364 6.364 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "1rit1i" }] -]), QE = Xu("Sun", [ +]), LD = Mu("Sun", [ ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }], ["path", { d: "M12 2v2", key: "tus03m" }], ["path", { d: "M12 20v2", key: "1lh1kg" }], @@ -12808,7 +12727,7 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( ["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" }] -]), BE = { +]), _D = { display: "flex", flexDirection: "column", alignItems: "center", @@ -12817,58 +12736,58 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( padding: "0px", margin: "0px 1rem", backgroundColor: "inherit" -}, $E = ({ theme: e, changeLang: t }) => { - const [n, r] = Te.useState(null), i = (a) => { +}, kD = ({ theme: e, changeLang: t }) => { + const [n, r] = we.useState(null), o = (a) => { a.preventDefault(), r(a.currentTarget); - }, o = () => { + }, i = () => { r(null); - }, s = (a, u) => { - a.preventDefault(), t(u), window.dispatchEvent(new Event("storage")), o(); + }, s = (a, c) => { + a.preventDefault(), t(c), window.dispatchEvent(new Event("storage")), i(); }; - return /* @__PURE__ */ ge.jsxs("div", { style: { float: "right" }, children: [ - /* @__PURE__ */ ge.jsx( + return /* @__PURE__ */ fe.jsxs("div", { style: { float: "right" }, children: [ + /* @__PURE__ */ fe.jsx( "button", { style: { - ...BE, - color: e === "light" ? Je.light.main : Je.dark.text2 + ..._D, + color: e === "light" ? $e.light.main : $e.dark.text2 }, - onClick: i, + onClick: o, "aria-label": "Language toggle", - children: /* @__PURE__ */ ge.jsx(FE, { size: 32 }) + children: /* @__PURE__ */ fe.jsx(CD, { size: 32 }) } ), - /* @__PURE__ */ ge.jsxs( - dE, + /* @__PURE__ */ fe.jsxs( + rD, { id: "language-menu", anchorEl: n, open: !!n, - onClose: o, + onClose: i, disableAutoFocusItem: !0, classes: { - paper: e === "light" ? Je.light.bgSide : Je.dark.bgSide + paper: e === "light" ? $e.light.bgSide : $e.dark.bgSide }, children: [ - /* @__PURE__ */ ge.jsx( - Xl, + /* @__PURE__ */ fe.jsx( + gl, { style: { fontSize: "0.8em", padding: "5px 12px", - color: e === "light" ? Je.light.text2 : Je.dark.text2 + color: e === "light" ? $e.light.text2 : $e.dark.text2 }, onClick: (a) => s(a, "ja"), children: "日本語" } ), - /* @__PURE__ */ ge.jsx( - Xl, + /* @__PURE__ */ fe.jsx( + gl, { style: { fontSize: "0.8em", padding: "5px 12px", - color: e === "light" ? Je.light.text2 : Je.dark.text2 + color: e === "light" ? $e.light.text2 : $e.dark.text2 }, onClick: (a) => s(a, "en"), children: "English" @@ -12878,42 +12797,42 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( } ) ] }); -}, Ha = { +}, ha = { desktop: 992, tablet: 768, phone: 480, phoneMini: 375 -}, wO = (e, t) => ` - @media screen and (max-width: ${Ha[e] / 16}em) { +}, dS = (e, t) => ` + @media screen and (max-width: ${ha[e] / 16}em) { ${t}; } - `, Eg = "data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwLCAwLCA0MDAsNDA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yNC41ODAgQyAxMzMuNTk5IDIyMy45MzEsMTMxLjY1NiAyMjMuODg5LDEyNy4wMDAgMjI0LjQzMiAiIHN0cm9rZT0ibm9uZSIgZmlsbD0iIzhjMWMyYyIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9nPjwvc3ZnPg==", zD = () => /* @__PURE__ */ fe.jsx( "img", { - src: Eg, + src: _d, alt: "WasedaTime English Logo", style: { width: 120, height: 120 } } -), DO = () => /* @__PURE__ */ ge.jsx( +), hS = () => /* @__PURE__ */ fe.jsx( "img", { - src: Ig, + src: kd, alt: "WasedaTime Japanese Logo", style: { width: 120, height: 120 } } -), VE = () => /* @__PURE__ */ ge.jsx( +), UD = () => /* @__PURE__ */ fe.jsx( "img", { - src: Eg, + src: _d, alt: "WasedaTime English Small Logo", style: { width: 50, height: 50 } } -), AO = () => /* @__PURE__ */ ge.jsx("img", { src: Ig, style: { width: 50, height: 50 } }), HE = ({ theme: e, setTheme: t }) => { +), gS = () => /* @__PURE__ */ fe.jsx("img", { src: kd, style: { width: 50, height: 50 } }), PD = ({ theme: e, setTheme: t }) => { const n = { - light: /* @__PURE__ */ ge.jsx(QE, { color: Je.icon.sun }), - dark: /* @__PURE__ */ ge.jsx(YE, { color: Je.icon.moon }) + light: /* @__PURE__ */ fe.jsx(LD, { color: $e.icon.sun }), + dark: /* @__PURE__ */ fe.jsx(OD, { color: $e.icon.moon }) }; - return /* @__PURE__ */ ge.jsx( + return /* @__PURE__ */ fe.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", @@ -12921,8 +12840,8 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( children: n[e] } ); -}, qE = (e, t) => { - const n = e ? "#FAFAFA30" : Je.light.bgSide, r = e ? "#24252770" : Je.dark.bgSide; +}, RD = (e, t) => { + const n = e ? "#FAFAFA30" : $e.light.bgSide, r = e ? "#24252770" : $e.dark.bgSide; return { height: "67px", width: "100%", @@ -12930,7 +12849,7 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( borderWidth: 0, borderBottomWidth: 2, borderStyle: "solid", - borderColor: t === "light" ? Je.light.bgSide : Je.dark.bgSide, + borderColor: t === "light" ? $e.light.bgSide : $e.dark.bgSide, background: t === "light" ? n : r, backdropFilter: e ? "blur(5px)" : "none", position: "fixed", @@ -12941,25 +12860,25 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( display: "flex", flexDirection: "row" }; -}, KE = { +}, YD = { flex: "5", paddingRight: "0px" -}, GE = { +}, FD = { flex: "3", padding: "0px 0px 0px 1em" -}, JE = { +}, QD = { flex: "8", margin: "auto 0px" -}, ZE = { +}, BD = { flex: "10", margin: "auto 0px" -}, XE = { +}, $D = { flex: "3", margin: "auto 0px", display: "flex", flexDirection: "row", justifyContent: "flex-end" -}, eI = (e) => ({ +}, WD = (e) => ({ width: "100%", borderRadius: "25px", height: "40px", @@ -12967,48 +12886,48 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( outline: "none", borderWidth: 1, borderStyle: "solid", - 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) => ({ + borderColor: e === "light" ? $e.light.bgSide : $e.dark.text3, + backgroundColor: e === "light" ? $e.light.bgMain : $e.dark.text3, + color: e === "light" ? $e.light.text1 : $e.dark.text1 +}), VD = (e) => ({ fontWeight: 500, paddingLeft: "100px", fontSize: "32px", - color: e === "light" ? Je.light.text1 : Je.dark.text1 -}), EO = ({ + color: e === "light" ? $e.light.text1 : $e.dark.text1 +}), pS = ({ title: e, onInputChange: t, placeholder: n, inputText: r, - disabled: i, - isBlur: o, + disabled: o, + isBlur: i, changeLang: s, theme: a = "light", - setTheme: u + setTheme: c }) => { - const c = /* @__PURE__ */ ge.jsx("label", { style: { marginLeft: "0" }, children: /* @__PURE__ */ ge.jsx( + const u = /* @__PURE__ */ fe.jsx("label", { style: { marginLeft: "0" }, children: /* @__PURE__ */ fe.jsx( "input", { - style: eI(a), + style: WD(a), placeholder: n || "Search...", onChange: t ? (l) => t(l.target.value) : () => { }, value: r || "", - disabled: i, + disabled: o, autoFocus: !0 } ) }); - 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: () => { + return /* @__PURE__ */ fe.jsxs("header", { style: RD(i, a), children: [ + /* @__PURE__ */ fe.jsx(yc, { maxWidth: ha.tablet, children: (l) => l ? /* @__PURE__ */ fe.jsx("div", { style: FD, 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 }) + }, children: /* @__PURE__ */ fe.jsx(UD, {}) }) : /* @__PURE__ */ fe.jsx("header", { style: YD, children: /* @__PURE__ */ fe.jsx("h2", { style: VD(a), children: e }) }) }), + /* @__PURE__ */ fe.jsx(yc, { maxWidth: ha.tablet, children: (l) => l ? /* @__PURE__ */ fe.jsx("div", { style: BD, children: u }) : /* @__PURE__ */ fe.jsx("div", { style: QD, children: u }) }), + /* @__PURE__ */ fe.jsxs("div", { style: $D, children: [ + /* @__PURE__ */ fe.jsx(PD, { theme: a, setTheme: c }), + /* @__PURE__ */ fe.jsx(kD, { theme: a, changeLang: s }) ] }) ] }); -}, nI = /* @__PURE__ */ ge.jsx("style", { children: ` +}, HD = /* @__PURE__ */ fe.jsx("style", { children: ` @keyframes loadingSpinnerSpin { from { transform: rotate(0deg); @@ -13020,22 +12939,22 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( transform: rotate(360deg); } } - ` }), rI = { + ` }), qD = { display: "block", width: "100px", height: "100px", transition: "transform(0, 12vh)", animation: "loadingSpinnerSpin 3s linear infinite" -}, IO = ({ message: e, theme: t }) => { - const [n, r] = ar(""); +}, MS = ({ message: e, theme: t }) => { + const [n, r] = vr(""); return dt(() => { setTimeout(() => { r( "Slow network is detected. Please wait we're almost done 💪" ); }, 4e3); - }), /* @__PURE__ */ ge.jsx(ph, { style: { flex: "1 0 0" }, children: /* @__PURE__ */ ge.jsxs( - sy, + }), /* @__PURE__ */ fe.jsx(If, { style: { flex: "1 0 0" }, children: /* @__PURE__ */ fe.jsxs( + Zg, { style: { alignItems: "center", @@ -13043,26 +12962,26 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( padding: "25px" }, children: [ - nI, - /* @__PURE__ */ ge.jsx("div", { style: rI, children: /* @__PURE__ */ ge.jsx(WE, {}) }), - /* @__PURE__ */ ge.jsx( + HD, + /* @__PURE__ */ fe.jsx("div", { style: qD, children: /* @__PURE__ */ fe.jsx(zD, {}) }), + /* @__PURE__ */ fe.jsx( "p", { style: { fontSize: "2rem", textAlign: "center", - color: t === "light" ? Je.light.text2 : Je.dark.text2 + color: t === "light" ? $e.light.text2 : $e.dark.text2 }, children: e || "Loading..." } ), - /* @__PURE__ */ ge.jsx( + /* @__PURE__ */ fe.jsx( "p", { style: { fontSize: "2rem", textAlign: "center", - color: t === "light" ? Je.light.text2 : Je.dark.text2 + color: t === "light" ? $e.light.text2 : $e.dark.text2 }, children: n } @@ -13071,14 +12990,6 @@ const UE = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Xu = ( } ) }); }; -var ue = {}, iI = { - get exports() { - return ue; - }, - set exports(e) { - ue = e; - } -}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -13093,461 +13004,158 @@ 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, 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 !== 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(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) { - W(b, k); - function U() { - this.constructor = b; - } - b.prototype = k === null ? Object.create(k) : (U.prototype = k.prototype, new U()); - }, n = Object.assign || function(b) { - for (var k, U = 1, x = arguments.length; U < x; U++) { - k = arguments[U]; - for (var T in k) - Object.prototype.hasOwnProperty.call(k, T) && (b[T] = k[T]); - } - return b; - }, r = function(b, k) { - var U = {}; - for (var x in b) - Object.prototype.hasOwnProperty.call(b, x) && k.indexOf(x) < 0 && (U[x] = b[x]); - if (b != null && typeof Object.getOwnPropertySymbols == "function") - for (var T = 0, x = Object.getOwnPropertySymbols(b); T < x.length; T++) - k.indexOf(x[T]) < 0 && Object.prototype.propertyIsEnumerable.call(b, x[T]) && (U[x[T]] = b[x[T]]); - return U; - }, i = function(b, k, U, x) { - var T = arguments.length, S = T < 3 ? k : x === null ? x = Object.getOwnPropertyDescriptor(k, U) : x, R; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - S = Reflect.decorate(b, k, U, x); - else - for (var C = b.length - 1; C >= 0; C--) - (R = b[C]) && (S = (T < 3 ? R(S) : T > 3 ? R(k, U, S) : R(k, U)) || S); - return T > 3 && S && Object.defineProperty(k, U, S), S; - }, o = function(b, k) { - return function(U, x) { - k(U, x, b); - }; - }, s = function(b, k) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") - return Reflect.metadata(b, k); - }, a = function(b, k, U, x) { - function T(S) { - return S instanceof U ? S : new U(function(R) { - R(S); - }); - } - return new (U || (U = Promise))(function(S, R) { - function C(L) { - try { - re(x.next(L)); - } catch (F) { - R(F); - } - } - function J(L) { - try { - re(x.throw(L)); - } catch (F) { - R(F); - } - } - function re(L) { - L.done ? S(L.value) : T(L.value).then(C, J); - } - re((x = x.apply(b, k || [])).next()); - }); - }, u = function(b, k) { - var U = { label: 0, sent: function() { - if (S[0] & 1) - throw S[1]; - return S[1]; - }, trys: [], ops: [] }, x, T, S, R; - return R = { next: C(0), throw: C(1), return: C(2) }, typeof Symbol == "function" && (R[Symbol.iterator] = function() { - return this; - }), R; - function C(re) { - return function(L) { - return J([re, L]); - }; - } - function J(re) { - if (x) - throw new TypeError("Generator is already executing."); - for (; U; ) - try { - 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 && (re = [re[0] & 2, S.value]), re[0]) { - case 0: - case 1: - S = re; - break; - case 4: - return U.label++, { value: re[1], done: !1 }; - case 5: - U.label++, T = re[1], re = [0]; - continue; - case 7: - re = U.ops.pop(), U.trys.pop(); - continue; - default: - if (S = U.trys, !(S = S.length > 0 && S[S.length - 1]) && (re[0] === 6 || re[0] === 2)) { - U = 0; - continue; - } - if (re[0] === 3 && (!S || re[1] > S[0] && re[1] < S[3])) { - U.label = re[1]; - break; - } - 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(re); - break; - } - S[2] && U.ops.pop(), U.trys.pop(); - continue; - } - re = k.call(b, U); - } catch (L) { - re = [6, L], T = 0; - } finally { - x = S = 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]; - }, c = function(b, k) { - for (var U in b) - U !== "default" && !k.hasOwnProperty(U) && (k[U] = b[U]); - }, l = function(b) { - var k = typeof Symbol == "function" && Symbol.iterator, U = k && b[k], x = 0; - if (U) - return U.call(b); - if (b && typeof b.length == "number") - return { - next: function() { - return b && x >= 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 U = typeof Symbol == "function" && b[Symbol.iterator]; - if (!U) - return b; - var x = U.call(b), T, S = [], R; - try { - for (; (k === void 0 || k-- > 0) && !(T = x.next()).done; ) - S.push(T.value); - } catch (C) { - R = { error: C }; - } finally { - try { - T && !T.done && (U = x.return) && U.call(x); - } finally { - if (R) - throw R.error; - } - } - return S; - }, d = function() { - for (var b = [], k = 0; k < arguments.length; k++) - b = b.concat(f(arguments[k])); - return b; - }, g = function() { - for (var b = 0, k = 0, U = arguments.length; k < U; k++) - b += arguments[k].length; - for (var x = Array(b), T = 0, k = 0; k < U; k++) - for (var S = arguments[k], R = 0, C = S.length; R < C; R++, T++) - x[T] = S[R]; - return x; - }, h = function(b) { - return this instanceof h ? (this.v = b, this) : new h(b); - }, p = function(b, k, U) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); - var x = U.apply(b, k || []), T, S = []; - return T = {}, R("next"), R("throw"), R("return"), T[Symbol.asyncIterator] = function() { - return this; - }, T; - function R(P) { - x[P] && (T[P] = function(q) { - return new Promise(function(K, X) { - S.push([P, q, K, X]) > 1 || C(P, q); - }); - }); - } - function C(P, q) { - try { - J(x[P](q)); - } catch (K) { - F(S[0][3], K); - } - } - function J(P) { - P.value instanceof h ? Promise.resolve(P.value.v).then(re, L) : F(S[0][2], P); - } - function re(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, U; - 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(R) { - return (U = !U) ? { value: h(b[T](R)), done: T === "return" } : S ? S(R) : R; - } : S; - } - }, v = function(b) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); - var k = b[Symbol.asyncIterator], U; - return k ? k.call(b) : (b = typeof l == "function" ? l(b) : b[Symbol.iterator](), U = {}, x("next"), x("throw"), x("return"), U[Symbol.asyncIterator] = function() { - return this; - }, U); - function x(S) { - U[S] = b[S] && function(R) { - return new Promise(function(C, J) { - R = b[S](R), T(C, J, R.done, R.value); - }); - }; - } - function T(S, R, C, J) { - Promise.resolve(J).then(function(re) { - S({ value: re, done: C }); - }, R); - } - }, 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 U in b) - Object.hasOwnProperty.call(b, U) && (k[U] = b[U]); - return k.default = b, k; - }, I = function(b) { - return b && b.__esModule ? b : { default: b }; - }, N = function(b, k) { - if (!k.has(b)) - throw new TypeError("attempted to get private field on non-instance"); - return k.get(b); - }, 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; - }, 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); - }); -})(iI); -var Qo; -(function(e) { - e.Cognito = "COGNITO", e.Google = "Google", e.Facebook = "Facebook", e.Amazon = "LoginWithAmazon", e.Apple = "SignInWithApple"; -})(Qo || (Qo = {})); -function Gs(e) { - var t = ["provider"]; - return e && !!t.find(function(n) { - return e.hasOwnProperty(n); - }); -} -function oI(e) { - var t = ["customProvider"]; - return e && !!t.find(function(n) { - return e.hasOwnProperty(n); - }); -} -function sI(e) { - var t = ["customState"]; - return e && !!t.find(function(n) { - return e.hasOwnProperty(n); - }); -} -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 aI(e) { - return !!e.username; -} -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"; -})(ef || (ef = {})); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -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 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]); - }, qa(e, t); -}; -function ec(e, t) { - qa(e, t); - function n() { - this.constructor = e; - } - e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n()); -} -var we = function() { - return we = 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]); +var ga = function(e, t) { + return ga = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) { + n.__proto__ = r; + } || function(n, r) { + for (var o in r) + r.hasOwnProperty(o) && (n[o] = r[o]); + }, ga(e, t); +}; +function yu(e, t) { + ga(e, t); + function n() { + this.constructor = e; + } + e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n()); +} +var et = function() { + return et = Object.assign || function(t) { + for (var n, r = 1, o = arguments.length; r < o; r++) { + n = arguments[r]; + for (var i in n) + Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]); } return t; - }, we.apply(this, arguments); + }, et.apply(this, arguments); }; -function Ng(e, t) { +function KD(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (e != null && typeof Object.getOwnPropertySymbols == "function") - for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) - t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]); + for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++) + t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); return n; } -function Ne(e, t, n, r) { - function i(o) { - return o instanceof n ? o : new n(function(s) { - s(o); +function GD(e, t, n, r) { + var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + i = Reflect.decorate(e, t, n, r); + else + for (var a = e.length - 1; a >= 0; a--) + (s = e[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, n, i) : s(t, n)) || i); + return o > 3 && i && Object.defineProperty(t, n, i), i; +} +function JD(e, t) { + return function(n, r) { + t(n, r, e); + }; +} +function XD(e, t) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") + return Reflect.metadata(e, t); +} +function je(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); }); } - return new (n || (n = Promise))(function(o, s) { + return new (n || (n = Promise))(function(i, s) { function a(l) { try { - c(r.next(l)); + u(r.next(l)); } catch (f) { s(f); } } - function u(l) { + function c(l) { try { - c(r.throw(l)); + u(r.throw(l)); } catch (f) { s(f); } } - function c(l) { - l.done ? o(l.value) : i(l.value).then(a, u); + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); } - c((r = r.apply(e, t || [])).next()); + u((r = r.apply(e, t || [])).next()); }); } -function Ee(e, t) { +function be(e, t) { var n = { label: 0, sent: function() { - if (o[0] & 1) - throw o[1]; - return o[1]; - }, trys: [], ops: [] }, r, i, o, s; + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { return this; }), s; - function a(c) { + function a(u) { return function(l) { - return u([c, l]); + return c([u, l]); }; } - function u(c) { + function c(u) { if (r) throw new TypeError("Generator is already executing."); for (; n; ) try { - if (r = 1, i && (o = c[0] & 2 ? i.return : c[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, c[1])).done) - return o; - switch (i = 0, o && (c = [c[0] & 2, o.value]), c[0]) { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { case 0: case 1: - o = c; + i = u; break; case 4: - return n.label++, { value: c[1], done: !1 }; + return n.label++, { value: u[1], done: !1 }; case 5: - n.label++, i = c[1], c = [0]; + n.label++, o = u[1], u = [0]; continue; case 7: - c = n.ops.pop(), n.trys.pop(); + u = n.ops.pop(), n.trys.pop(); continue; default: - if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (c[0] === 6 || c[0] === 2)) { + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { n = 0; continue; } - if (c[0] === 3 && (!o || c[1] > o[0] && c[1] < o[3])) { - n.label = c[1]; + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; break; } - if (c[0] === 6 && n.label < o[1]) { - n.label = o[1], o = c; + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; break; } - if (o && n.label < o[2]) { - n.label = o[2], n.ops.push(c); + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); break; } - o[2] && n.ops.pop(), n.trys.pop(); + i[2] && n.ops.pop(), n.trys.pop(); continue; } - c = t.call(e, n); + u = t.call(e, n); } catch (l) { - c = [6, l], i = 0; + u = [6, l], o = 0; } finally { - r = o = 0; + r = i = 0; } - if (c[0] & 5) - throw c[1]; - return { value: c[0] ? c[1] : void 0, done: !0 }; + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; } } -function Rt(e) { +function ZD(e, t, n, r) { + r === void 0 && (r = n), e[r] = t[n]; +} +function eI(e, t) { + for (var n in e) + n !== "default" && !t.hasOwnProperty(n) && (t[n] = e[n]); +} +function pa(e) { var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0; if (n) return n.call(e); @@ -13559,46 +13167,248 @@ function Rt(e) { }; throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); } -function cr(e, t) { +function Ct(e, t) { var n = typeof Symbol == "function" && e[Symbol.iterator]; if (!n) return e; - var r = n.call(e), i, o = [], s; + var r = n.call(e), o, i = [], s; try { - for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) - o.push(i.value); + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); } catch (a) { s = { error: a }; } finally { try { - i && !i.done && (n = r.return) && n.call(r); + o && !o.done && (n = r.return) && n.call(r); } finally { if (s) throw s.error; } } - return o; + return i; } -function at() { +function tI() { for (var e = [], t = 0; t < arguments.length; t++) - e = e.concat(cr(arguments[t])); + e = e.concat(Ct(arguments[t])); return e; } -var uI = "Logging", tf = { +function nI() { + for (var e = 0, t = 0, n = arguments.length; t < n; t++) + e += arguments[t].length; + for (var r = Array(e), o = 0, t = 0; t < n; t++) + for (var i = arguments[t], s = 0, a = i.length; s < a; s++, o++) + r[o] = i[s]; + return r; +} +function di(e) { + return this instanceof di ? (this.v = e, this) : new di(e); +} +function rI(e, t, n) { + if (!Symbol.asyncIterator) + throw new TypeError("Symbol.asyncIterator is not defined."); + var r = n.apply(e, t || []), o, i = []; + return o = {}, s("next"), s("throw"), s("return"), o[Symbol.asyncIterator] = function() { + return this; + }, o; + function s(d) { + r[d] && (o[d] = function(p) { + return new Promise(function(M, y) { + i.push([d, p, M, y]) > 1 || a(d, p); + }); + }); + } + function a(d, p) { + try { + c(r[d](p)); + } catch (M) { + f(i[0][3], M); + } + } + function c(d) { + d.value instanceof di ? Promise.resolve(d.value.v).then(u, l) : f(i[0][2], d); + } + function u(d) { + a("next", d); + } + function l(d) { + a("throw", d); + } + function f(d, p) { + d(p), i.shift(), i.length && a(i[0][0], i[0][1]); + } +} +function iI(e) { + var t, n; + return t = {}, r("next"), r("throw", function(o) { + throw o; + }), r("return"), t[Symbol.iterator] = function() { + return this; + }, t; + function r(o, i) { + t[o] = e[o] ? function(s) { + return (n = !n) ? { value: di(e[o](s)), done: o === "return" } : i ? i(s) : s; + } : i; + } +} +function oI(e) { + if (!Symbol.asyncIterator) + throw new TypeError("Symbol.asyncIterator is not defined."); + var t = e[Symbol.asyncIterator], n; + return t ? t.call(e) : (e = typeof pa == "function" ? pa(e) : e[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() { + return this; + }, n); + function r(i) { + n[i] = e[i] && function(s) { + return new Promise(function(a, c) { + s = e[i](s), o(a, c, s.done, s.value); + }); + }; + } + function o(i, s, a, c) { + Promise.resolve(c).then(function(u) { + i({ value: u, done: a }); + }, s); + } +} +function sI(e, t) { + return Object.defineProperty ? Object.defineProperty(e, "raw", { value: t }) : e.raw = t, e; +} +function aI(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var n in e) + Object.hasOwnProperty.call(e, n) && (t[n] = e[n]); + return t.default = e, t; +} +function uI(e) { + return e && e.__esModule ? e : { default: e }; +} +function cI(e, t) { + if (!t.has(e)) + throw new TypeError("attempted to get private field on non-instance"); + return t.get(e); +} +function lI(e, t, n) { + if (!t.has(e)) + throw new TypeError("attempted to set private field on non-instance"); + return t.set(e, n), n; +} +const fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + get __assign() { + return et; + }, + __asyncDelegator: iI, + __asyncGenerator: rI, + __asyncValues: oI, + __await: di, + __awaiter: je, + __classPrivateFieldGet: cI, + __classPrivateFieldSet: lI, + __createBinding: ZD, + __decorate: GD, + __exportStar: eI, + __extends: yu, + __generator: be, + __importDefault: uI, + __importStar: aI, + __makeTemplateObject: sI, + __metadata: XD, + __param: JD, + __read: Ct, + __rest: KD, + __spread: tI, + __spreadArrays: nI, + __values: pa +}, Symbol.toStringTag, { value: "Module" })); +var lo; +(function(e) { + e.Cognito = "COGNITO", e.Google = "Google", e.Facebook = "Facebook", e.Amazon = "LoginWithAmazon", e.Apple = "SignInWithApple"; +})(lo || (lo = {})); +function As(e) { + var t = ["provider"]; + return e && !!t.find(function(n) { + return e.hasOwnProperty(n); + }); +} +function dI(e) { + var t = ["customProvider"]; + return e && !!t.find(function(n) { + return e.hasOwnProperty(n); + }); +} +function hI(e) { + var t = ["customState"]; + return e && !!t.find(function(n) { + return e.hasOwnProperty(n); + }); +} +function Ln(e) { + return e.redirectSignIn !== void 0; +} +var Ce; +(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"; +})(Ce || (Ce = {})); +function gI(e) { + return !!e.username; +} +var pl; +(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"; +})(pl || (pl = {})); +var pI = "Logging", MI = globalThis && globalThis.__values || function(e) { + var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0; + if (n) + return n.call(e); + if (e && typeof e.length == "number") + return { + next: function() { + return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }; + } + }; + throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); +}, Zn = globalThis && globalThis.__read || function(e, t) { + var n = typeof Symbol == "function" && e[Symbol.iterator]; + if (!n) + return e; + var r = n.call(e), o, i = [], s; + try { + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (a) { + s = { error: a }; + } finally { + try { + o && !o.done && (n = r.return) && n.call(r); + } finally { + if (s) + throw s.error; + } + } + return i; +}, er = globalThis && globalThis.__spreadArray || function(e, t, n) { + if (n || arguments.length === 2) + for (var r = 0, o = t.length, i; r < o; r++) + (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]); + return e.concat(i || Array.prototype.slice.call(t)); +}, Ml = { VERBOSE: 1, DEBUG: 2, INFO: 3, WARN: 4, ERROR: 5 -}, Ft; +}, St; (function(e) { e.DEBUG = "DEBUG", e.ERROR = "ERROR", e.INFO = "INFO", e.WARN = "WARN", e.VERBOSE = "VERBOSE"; -})(Ft || (Ft = {})); -var Ht = ( +})(St || (St = {})); +var Ut = ( /** @class */ function() { function e(t, n) { - n === void 0 && (n = Ft.WARN), this.name = t, this.level = n, this._pluggables = []; + n === void 0 && (n = St.WARN), this.name = t, this.level = n, this._pluggables = []; } return e.prototype._padding = function(t) { return t < 10 ? "0" + t : "" + t; @@ -13608,34 +13418,34 @@ var Ht = ( }, e.prototype.configure = function(t) { return t ? (this._config = t, this._config) : this._config; }, e.prototype._log = function(t) { - for (var n, r, i = [], o = 1; o < arguments.length; o++) - i[o - 1] = arguments[o]; + for (var n, r, o = [], i = 1; i < arguments.length; i++) + o[i - 1] = arguments[i]; var s = this.level; e.LOG_LEVEL && (s = e.LOG_LEVEL), typeof window < "u" && window.LOG_LEVEL && (s = window.LOG_LEVEL); - 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)); - 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); + var a = Ml[s], c = Ml[t]; + if (c >= a) { + var u = console.log.bind(console); + t === St.ERROR && console.error && (u = console.error.bind(console)), t === St.WARN && console.warn && (u = console.warn.bind(console)); + var l = "[".concat(t, "] ").concat(this._ts(), " ").concat(this.name), f = ""; + if (o.length === 1 && typeof o[0] == "string") + f = "".concat(l, " - ").concat(o[0]), u(f); + else if (o.length === 1) + f = "".concat(l, " ").concat(o[0]), u(l, o[0]); + else if (typeof o[0] == "string") { + var d = o.slice(1); + d.length === 1 && (d = d[0]), f = "".concat(l, " - ").concat(o[0], " ").concat(d), u("".concat(l, " - ").concat(o[0]), d); } else - f = l + " " + i, c(l, i); + f = "".concat(l, " ").concat(o), u(l, o); try { - for (var g = Rt(this._pluggables), h = g.next(); !h.done; h = g.next()) { - var p = h.value, m = { message: f, timestamp: Date.now() }; - p.pushLogs([m]); + for (var p = MI(this._pluggables), M = p.next(); !M.done; M = p.next()) { + var y = M.value, m = { message: f, timestamp: Date.now() }; + y.pushLogs([m]); } - } catch (v) { - n = { error: v }; + } catch (w) { + n = { error: w }; } finally { try { - h && !h.done && (r = g.return) && r.call(g); + M && !M.done && (r = p.return) && r.call(p); } finally { if (n) throw n.error; @@ -13645,49 +13455,68 @@ var Ht = ( }, e.prototype.log = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, at([Ft.INFO], t)); + this._log.apply(this, er([St.INFO], Zn(t), !1)); }, e.prototype.info = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, at([Ft.INFO], t)); + this._log.apply(this, er([St.INFO], Zn(t), !1)); }, e.prototype.warn = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, at([Ft.WARN], t)); + this._log.apply(this, er([St.WARN], Zn(t), !1)); }, e.prototype.error = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, at([Ft.ERROR], t)); + this._log.apply(this, er([St.ERROR], Zn(t), !1)); }, e.prototype.debug = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, at([Ft.DEBUG], t)); + this._log.apply(this, er([St.DEBUG], Zn(t), !1)); }, e.prototype.verbose = function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - this._log.apply(this, at([Ft.VERBOSE], t)); + this._log.apply(this, er([St.VERBOSE], Zn(t), !1)); }, e.prototype.addPluggable = function(t) { - t && t.getCategoryName() === uI && (this._pluggables.push(t), t.configure(this._config)); + t && t.getCategoryName() === pI && (this._pluggables.push(t), t.configure(this._config)); }, e.prototype.listPluggables = function() { return this._pluggables; }, e.LOG_LEVEL = null, e; }() -), Js = new Ht("Amplify"), cI = ( +), yI = globalThis && globalThis.__read || function(e, t) { + var n = typeof Symbol == "function" && e[Symbol.iterator]; + if (!n) + return e; + var r = n.call(e), o, i = [], s; + try { + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (a) { + s = { error: a }; + } finally { + try { + o && !o.done && (n = r.return) && n.call(r); + } finally { + if (s) + throw s.error; + } + } + return i; +}, Es = new Ut("Amplify"), mI = ( /** @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; + 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 = Ut, this.ServiceWorker = null; } return e.prototype.register = function(t) { - 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); + Es.debug("component registered in amplify", t), this._components.push(t), typeof t.getModuleName == "function" ? (this._modules[t.getModuleName()] = t, this[t.getModuleName()] = t) : Es.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), Js.debug("amplify config", this._config), Object.entries(this._modules).forEach(function(r) { - var i = cr(r, 2); - i[0]; - var o = i[1]; - Object.keys(o).forEach(function(s) { - n._modules[s] && (o[s] = n._modules[s]); + return t ? (this._config = Object.assign(this._config, t), Es.debug("amplify config", this._config), Object.entries(this._modules).forEach(function(r) { + var o = yI(r, 2); + o[0]; + var i = o[1]; + Object.keys(i).forEach(function(s) { + n._modules[s] && (i[s] = n._modules[s]); }); }), this._components.map(function(r) { r.configure(n._config); @@ -13698,28 +13527,270 @@ var Ht = ( }); }, e; }() -), tc = new cI(), lI = "5.1.12", Ka = "aws-amplify/" + lI, Yn = { - userAgent: Ka + " js", - product: "", - navigator: null, - isReactNative: !1 +), mu = new mI(), Ke; +(function(e) { + e.WebUnknown = "0", e.React = "1", e.NextJs = "2", e.Angular = "3", e.VueJs = "4", e.Nuxt = "5", e.Svelte = "6", e.ServerSideUnknown = "100", e.ReactSSR = "101", e.NextJsSSR = "102", e.AngularSSR = "103", e.VueJsSSR = "104", e.NuxtSSR = "105", e.SvelteSSR = "106", e.ReactNative = "201", e.Expo = "202"; +})(Ke || (Ke = {})); +var Ma; +(function(e) { + e.API = "api", e.Auth = "auth", e.Analytics = "analytics", e.DataStore = "datastore", e.Geo = "geo", e.InAppMessaging = "inappmessaging", e.Interactions = "interactions", e.Predictions = "predictions", e.PubSub = "pubsub", e.PushNotification = "pushnotification", e.Storage = "storage"; +})(Ma || (Ma = {})); +var yl; +(function(e) { + e.Record = "1", e.UpdateEndpoint = "2"; +})(yl || (yl = {})); +var ml; +(function(e) { + e.GraphQl = "1", e.Get = "2", e.Post = "3", e.Put = "4", e.Patch = "5", e.Del = "6", e.Head = "7"; +})(ml || (ml = {})); +var ya; +(function(e) { + e.FederatedSignIn = "30"; +})(ya || (ya = {})); +var vl; +(function(e) { + e.Subscribe = "1", e.GraphQl = "2"; +})(vl || (vl = {})); +var wl; +(function(e) { + e.None = "0"; +})(wl || (wl = {})); +var Dl; +(function(e) { + e.None = "0"; +})(Dl || (Dl = {})); +var Il; +(function(e) { + e.None = "0"; +})(Il || (Il = {})); +var Al; +(function(e) { + e.Convert = "1", e.Identify = "2", e.Interpret = "3"; +})(Al || (Al = {})); +var El; +(function(e) { + e.Subscribe = "1"; +})(El || (El = {})); +var Tl; +(function(e) { + e.None = "0"; +})(Tl || (Tl = {})); +var Nl; +(function(e) { + e.Put = "1", e.Get = "2", e.List = "3", e.Copy = "4", e.Remove = "5", e.GetProperties = "6"; +})(Nl || (Nl = {})); +var zd = "5.3.11", Vo = function() { + return typeof global < "u"; +}, Nr = function() { + return typeof window < "u"; +}, Ud = function() { + return typeof document < "u"; +}, vu = function() { + return typeof process < "u"; +}, hi = function(e, t) { + return !!Object.keys(e).find(function(n) { + return n.startsWith(t); + }); }; -if (typeof navigator < "u" && navigator.product) - switch (Yn.product = navigator.product || "", Yn.navigator = navigator || null, navigator.product) { - case "ReactNative": - Yn.userAgent = Ka + " react-native", Yn.isReactNative = !0; - break; - default: - Yn.userAgent = Ka + " js", Yn.isReactNative = !1; - break; - } -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) { +function vI() { + var e = function(r) { + return r.startsWith("_react") || r.startsWith("__react"); + }, t = function(r) { + return Object.keys(r).find(e); + }, n = function() { + return Array.from(document.querySelectorAll("[id]")); + }; + return Ud() && n().some(t); +} +function wI() { + return vu() && typeof process.env < "u" && !!Object.keys(process.env).find(function(e) { + return e.includes("react"); + }); +} +function DI() { + return Nr() && hi(window, "__VUE"); +} +function II() { + return Vo() && hi(global, "__VUE"); +} +function AI() { + return Nr() && hi(window, "__SVELTE"); +} +function EI() { + return vu() && typeof process.env < "u" && !!Object.keys(process.env).find(function(e) { + return e.includes("svelte"); + }); +} +function TI() { + return Nr() && window.next && typeof window.next == "object"; +} +function NI() { + return Vo() && (hi(global, "__next") || hi(global, "__NEXT")); +} +function jI() { + return Nr() && // @ts-ignore + (window.__NUXT__ !== void 0 || window.$nuxt !== void 0); +} +function bI() { + return Vo() && typeof global.__NUXT_PATHS__ < "u"; +} +function SI() { + var e = !!(Ud() && document.querySelector("[ng-version]")), t = !!// @ts-ignore + (Nr() && typeof window.ng < "u"); + return e || t; +} +function xI() { + var e; + return vu() && typeof process.env == "object" && ((e = process.env.npm_lifecycle_script) === null || e === void 0 ? void 0 : e.startsWith("ng ")) || !1; +} +function CI() { + return typeof navigator < "u" && typeof navigator.product < "u" && navigator.product === "ReactNative"; +} +function OI() { + return Vo() && typeof global.expo < "u"; +} +function LI() { + return Nr(); +} +var _I = [ + // First, detect mobile + { platform: Ke.Expo, detectionMethod: OI }, + { platform: Ke.ReactNative, detectionMethod: CI }, + // Next, detect web frameworks + { platform: Ke.NextJs, detectionMethod: TI }, + { platform: Ke.Nuxt, detectionMethod: jI }, + { platform: Ke.Angular, detectionMethod: SI }, + { platform: Ke.React, detectionMethod: vI }, + { platform: Ke.VueJs, detectionMethod: DI }, + { platform: Ke.Svelte, detectionMethod: AI }, + { platform: Ke.WebUnknown, detectionMethod: LI }, + // Last, detect ssr frameworks + { platform: Ke.NextJsSSR, detectionMethod: NI }, + { platform: Ke.NuxtSSR, detectionMethod: bI }, + { platform: Ke.ReactSSR, detectionMethod: wI }, + { platform: Ke.VueJsSSR, detectionMethod: II }, + { platform: Ke.AngularSSR, detectionMethod: xI }, + { platform: Ke.SvelteSSR, detectionMethod: EI } +]; +function kI() { + var e; + return ((e = _I.find(function(t) { + return t.detectionMethod(); + })) === null || e === void 0 ? void 0 : e.platform) || Ke.ServerSideUnknown; +} +var Xr, Ki = [], fo = !1, zI = 10, UI = 10, PI = 1e3, wu = function() { + if (!Xr) { + if (Xr = kI(), fo) + for (; Ki.length; ) + Ki.pop()(); + else + Ki.forEach(function(e) { + return e(); + }); + jl(Ke.ServerSideUnknown, zI), jl(Ke.WebUnknown, UI); + } + return Xr; +}, Pd = function(e) { + fo || Ki.push(e); +}; +function RI() { + Xr = void 0; +} +function jl(e, t) { + Xr === e && !fo && setTimeout(function() { + RI(), fo = !0, setTimeout(wu, PI); + }, t); +} +var YI = globalThis && globalThis.__read || function(e, t) { + var n = typeof Symbol == "function" && e[Symbol.iterator]; + if (!n) + return e; + var r = n.call(e), o, i = [], s; + try { + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (a) { + s = { error: a }; + } finally { + try { + o && !o.done && (n = r.return) && n.call(r); + } finally { + if (s) + throw s.error; + } + } + return i; +}, Rd = "aws-amplify", FI = ( + /** @class */ + function() { + function e() { + this.userAgent = "".concat(Rd, "/").concat(zd); + } + return Object.defineProperty(e.prototype, "framework", { + get: function() { + return wu(); + }, + enumerable: !1, + configurable: !0 + }), Object.defineProperty(e.prototype, "isReactNative", { + get: function() { + return this.framework === Ke.ReactNative || this.framework === Ke.Expo; + }, + enumerable: !1, + configurable: !0 + }), e.prototype.observeFrameworkChanges = function(t) { + Pd(t); + }, e; + }() +), Ts = new FI(), QI = function(e) { + var t = e === void 0 ? {} : e, n = t.category, r = t.action; + t.framework; + var o = [[Rd, zd]]; + return n && o.push([n, r]), o.push(["framework", wu()]), o; +}, Du = function(e) { + var t = QI(e), n = t.map(function(r) { + var o = YI(r, 2), i = o[0], s = o[1]; + return "".concat(i, "/").concat(s); + }).join(" "); + return n; +}, Zr = globalThis && globalThis.__assign || function() { + return Zr = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, Zr.apply(this, arguments); +}, Ns = globalThis && globalThis.__read || function(e, t) { + var n = typeof Symbol == "function" && e[Symbol.iterator]; + if (!n) + return e; + var r = n.call(e), o, i = [], s; + try { + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (a) { + s = { error: a }; + } finally { + try { + o && !o.done && (n = r.return) && n.call(r); + } finally { + if (s) + throw s.error; + } + } + return i; +}, bl = globalThis && globalThis.__spreadArray || function(e, t, n) { + if (n || arguments.length === 2) + for (var r = 0, o = t.length, i; r < o; r++) + (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]); + return e.concat(i || Array.prototype.slice.call(t)); +}, qt = new Ut("Hub"), BI = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default"; +function $I(e) { return e.onHubCapsule !== void 0; } -var gI = ( +var WI = ( /** @class */ function() { function e(t) { @@ -13737,128 +13808,357 @@ var gI = ( } return e.prototype._remove = function(t, n) { if (t instanceof RegExp) { - var r = this.patterns.find(function(o) { - var s = o.pattern; + var r = this.patterns.find(function(i) { + var s = i.pattern; return s.source === t.source; }); if (!r) { - rn.warn("No listeners for " + t); + qt.warn("No listeners for ".concat(t)); return; } - this.patterns = at(this.patterns.filter(function(o) { - return o !== r; - })); + this.patterns = bl([], Ns(this.patterns.filter(function(i) { + return i !== r; + })), !1); } else { - var i = this.listeners[t]; - if (!i) { - rn.warn("No listeners for " + t); + var o = this.listeners[t]; + if (!o) { + qt.warn("No listeners for ".concat(t)); return; } - this.listeners[t] = at(i.filter(function(o) { - var s = o.callback; + this.listeners[t] = bl([], Ns(o.filter(function(i) { + var s = i.callback; return s !== n; - })); + })), !1); } }, e.prototype.remove = function(t, n) { this._remove(t, n); - }, e.prototype.dispatch = function(t, n, r, i) { + }, e.prototype.dispatch = function(t, n, r, o) { if (r === void 0 && (r = ""), this.protectedChannels.indexOf(t) > -1) { - var o = i === dI; - o || rn.warn("WARNING: " + t + " is protected and dispatching on it can have unintended consequences"); + var i = o === BI; + i || qt.warn("WARNING: ".concat(t, " is protected and dispatching on it can have unintended consequences")); } var s = { channel: t, - payload: we({}, n), + payload: Zr({}, n), source: r, patternInfo: [] }; try { this._toListeners(s); } catch (a) { - rn.error(a); + qt.error(a); } }, e.prototype.listen = function(t, n, r) { - var i = this; + var o = this; r === void 0 && (r = "noname"); - var o; - if (hI(n)) - rn.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."), o = n.onHubCapsule.bind(n); + var i; + if ($I(n)) + qt.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."), i = n.onHubCapsule.bind(n); else { if (typeof n != "function") throw new Error("No callback supplied to Hub"); - o = n; + i = n; } if (t instanceof RegExp) this.patterns.push({ pattern: t, - callback: o + callback: i }); else { var s = this.listeners[t]; s || (s = [], this.listeners[t] = s), s.push({ name: r, - callback: o + callback: i }); } return function() { - i._remove(t, o); + o._remove(t, i); }; }, 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); + var n = t.channel, r = t.payload, o = this.listeners[n]; + if (o && o.forEach(function(s) { + qt.debug("Dispatching to ".concat(n, " with "), r); try { s.callback(t); } catch (a) { - rn.error(a); + qt.error(a); } }), this.patterns.length > 0) { if (!r.message) { - rn.warn("Cannot perform pattern matching without a message key"); + qt.warn("Cannot perform pattern matching without a message key"); return; } - var o = r.message; + var i = r.message; this.patterns.forEach(function(s) { - var a = o.match(s.pattern); + var a = i.match(s.pattern); if (a) { - var u = cr(a), c = u.slice(1), l = we(we({}, t), { patternInfo: c }); + var c = Ns(a), u = c.slice(1), l = Zr(Zr({}, t), { patternInfo: u }); try { s.callback(l); } catch (f) { - rn.error(f); + qt.error(f); } } }); } }, e; }() -), on = new gI("__default__"), pI = function(e) { +), Kt = new WI("__default__"), VI = 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; + var t = !0, n = !1, r = !1, o = e.then(function(i) { + return r = !0, t = !1, i; + }, function(i) { + throw n = !0, t = !1, i; }); - return i.isFullfilled = function() { + return o.isFullfilled = function() { return r; - }, i.isPending = function() { + }, o.isPending = function() { return t; - }, i.isRejected = function() { + }, o.isRejected = function() { return n; - }, i; -}, gn = function() { + }, o; +}, rn = 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 }; -}, 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; -Nt.DIGEST_LENGTH = 32; -Nt.KEY = new Uint32Array([ +}, HI = globalThis && globalThis.__extends || function() { + var e = function(t, n) { + return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, e(t, n); + }; + return function(t, n) { + if (typeof n != "function" && n !== null) + throw new TypeError("Class extends value " + String(n) + " is not a constructor or null"); + e(t, n); + function r() { + this.constructor = t; + } + t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r()); + }; +}(), Sl = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, js = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, qI = globalThis && globalThis.__read || function(e, t) { + var n = typeof Symbol == "function" && e[Symbol.iterator]; + if (!n) + return e; + var r = n.call(e), o, i = [], s; + try { + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (a) { + s = { error: a }; + } finally { + try { + o && !o.done && (n = r.return) && n.call(r); + } finally { + if (s) + throw s.error; + } + } + return i; +}, KI = globalThis && globalThis.__spreadArray || function(e, t, n) { + if (n || arguments.length === 2) + for (var r = 0, o = t.length, i; r < o; r++) + (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]); + return e.concat(i || Array.prototype.slice.call(t)); +}, _i = new Ut("Util"), _n = ( + /** @class */ + function(e) { + HI(t, e); + function t(n) { + var r = e.call(this, n) || this; + return r.nonRetryable = !0, r; + } + return t; + }(Error) +), GI = function(e) { + var t = "nonRetryable"; + return e && e[t]; +}; +function JI(e, t, n, r) { + return Sl(this, void 0, void 0, function() { + var o = this; + return js(this, function(i) { + if (typeof e != "function") + throw Error("functionToRetry must be a function"); + return [2, new Promise(function(s, a) { + return Sl(o, void 0, void 0, function() { + var c, u, l, f, d, p, M; + return js(this, function(y) { + switch (y.label) { + case 0: + c = 0, u = !1, f = function() { + }, r && r.then(function() { + u = !0, clearTimeout(l), f(); + }), p = function() { + var m, w, D, N; + return js(this, function(E) { + switch (E.label) { + case 0: + c++, _i.debug("".concat(e.name, " attempt #").concat(c, " with this vars: ").concat(JSON.stringify(t))), E.label = 1; + case 1: + return E.trys.push([1, 3, , 7]), m = {}, w = s, [4, e.apply(void 0, KI([], qI(t), !1))]; + case 2: + return [2, (m.value = w.apply(void 0, [E.sent()]), m)]; + case 3: + return D = E.sent(), d = D, _i.debug("error on ".concat(e.name), D), GI(D) ? (_i.debug("".concat(e.name, " non retryable error"), D), [2, { value: a(D) }]) : (N = n(c, t, D), _i.debug("".concat(e.name, " retrying in ").concat(N, " ms")), N === !1 || u ? [2, { value: a(D) }] : [3, 4]); + case 4: + return [4, new Promise(function(T) { + f = T, l = setTimeout(f, N); + })]; + case 5: + E.sent(), E.label = 6; + case 6: + return [3, 7]; + case 7: + return [ + 2 + /*return*/ + ]; + } + }); + }, y.label = 1; + case 1: + return u ? [3, 3] : [5, p()]; + case 2: + return M = y.sent(), typeof M == "object" ? [2, M.value] : [3, 1]; + case 3: + return a(d), [ + 2 + /*return*/ + ]; + } + }); + }); + })]; + }); + }); +} +var Yd = 5 * 60 * 1e3; +function Fd(e) { + e === void 0 && (e = Yd); + var t = 100, n = 100; + return function(r) { + var o = Math.pow(2, r) * t + n * Math.random(); + return o > e ? !1 : o; + }; +} +var XI = function(e, t, n, r) { + return n === void 0 && (n = Yd), JI(e, t, Fd(n), r); +}; +function ZI(e) { + return e.split("").map(function(t) { + return t.charCodeAt(0).toString(16).padStart(2, "0"); + }).join(""); +} +function eA(e) { + return e.match(/.{2}/g).map(function(t) { + return String.fromCharCode(parseInt(t, 16)); + }).join(""); +} +var Rn = {}; +const Iu = /* @__PURE__ */ To(fI); +var Ho = {}, yt = {}; +Object.defineProperty(yt, "__esModule", { value: !0 }); +yt.MAX_HASHABLE_LENGTH = yt.INIT = yt.KEY = yt.DIGEST_LENGTH = yt.BLOCK_SIZE = void 0; +yt.BLOCK_SIZE = 64; +yt.DIGEST_LENGTH = 32; +yt.KEY = new Uint32Array([ 1116352408, 1899447441, 3049323471, @@ -13924,7 +14224,7 @@ Nt.KEY = new Uint32Array([ 3204031479, 3329325298 ]); -Nt.INIT = [ +yt.INIT = [ 1779033703, 3144134277, 1013904242, @@ -13934,121 +14234,121 @@ Nt.INIT = [ 528734635, 1541459225 ]; -Nt.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1; -var vs = {}; -Object.defineProperty(vs, "__esModule", { value: !0 }); -vs.RawSha256 = void 0; -var bt = Nt, MI = ( +yt.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1; +var qo = {}; +Object.defineProperty(qo, "__esModule", { value: !0 }); +qo.RawSha256 = void 0; +var Dt = yt, tA = ( /** @class */ function() { function e() { - 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; + this.state = Int32Array.from(Dt.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 > bt.MAX_HASHABLE_LENGTH) + if (this.bytesHashed += r, this.bytesHashed * 8 > Dt.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 === bt.BLOCK_SIZE && (this.hashBuffer(), this.bufferLength = 0); + this.buffer[this.bufferLength++] = t[n++], r--, this.bufferLength === Dt.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 % bt.BLOCK_SIZE >= bt.BLOCK_SIZE - 8) { - for (var i = this.bufferLength; i < bt.BLOCK_SIZE; i++) - n.setUint8(i, 0); + if (n.setUint8(this.bufferLength++, 128), r % Dt.BLOCK_SIZE >= Dt.BLOCK_SIZE - 8) { + for (var o = this.bufferLength; o < Dt.BLOCK_SIZE; o++) + n.setUint8(o, 0); this.hashBuffer(), this.bufferLength = 0; } - for (var i = this.bufferLength; i < bt.BLOCK_SIZE - 8; i++) - n.setUint8(i, 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 = this.bufferLength; o < Dt.BLOCK_SIZE - 8; o++) + n.setUint8(o, 0); + n.setUint32(Dt.BLOCK_SIZE - 8, Math.floor(t / 4294967296), !0), n.setUint32(Dt.BLOCK_SIZE - 4, t), this.hashBuffer(), this.finished = !0; } - 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; + for (var i = new Uint8Array(Dt.DIGEST_LENGTH), o = 0; o < 8; o++) + i[o * 4] = this.state[o] >>> 24 & 255, i[o * 4 + 1] = this.state[o] >>> 16 & 255, i[o * 4 + 2] = this.state[o] >>> 8 & 255, i[o * 4 + 3] = this.state[o] >>> 0 & 255; + return i; }, 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 < bt.BLOCK_SIZE; d++) { + for (var t = this, n = t.buffer, r = t.state, o = r[0], i = r[1], s = r[2], a = r[3], c = r[4], u = r[5], l = r[6], f = r[7], d = 0; d < Dt.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 { - var g = this.temp[d - 2], h = (g >>> 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 p = this.temp[d - 2], M = (p >>> 17 | p << 15) ^ (p >>> 19 | p << 13) ^ p >>> 10; + p = this.temp[d - 15]; + var y = (p >>> 7 | p << 25) ^ (p >>> 18 | p << 14) ^ p >>> 3; + this.temp[d] = (M + this.temp[d - 7] | 0) + (y + 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 + (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; + var m = (((c >>> 6 | c << 26) ^ (c >>> 11 | c << 21) ^ (c >>> 25 | c << 7)) + (c & u ^ ~c & l) | 0) + (f + (Dt.KEY[d] + this.temp[d] | 0) | 0) | 0, w = ((o >>> 2 | o << 30) ^ (o >>> 13 | o << 19) ^ (o >>> 22 | o << 10)) + (o & i ^ o & s ^ i & s) | 0; + f = l, l = u, u = c, c = a + m | 0, a = s, s = i, i = o, o = m + w | 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; + r[0] += o, r[1] += i, r[2] += s, r[3] += a, r[4] += c, r[5] += u, r[6] += l, r[7] += f; }, e; }() ); -vs.RawSha256 = MI; -var nc = {}, ws = {}; -const yI = (e) => { +qo.RawSha256 = tA; +var Qd = {}, Ko = {}; +const nA = (e) => { const t = []; for (let n = 0, r = e.length; n < r; n++) { - const i = e.charCodeAt(n); - if (i < 128) - t.push(i); - else if (i < 2048) - t.push(i >> 6 | 192, i & 63 | 128); - else if (n + 1 < e.length && (i & 64512) === 55296 && (e.charCodeAt(n + 1) & 64512) === 56320) { - const o = 65536 + ((i & 1023) << 10) + (e.charCodeAt(++n) & 1023); - t.push(o >> 18 | 240, o >> 12 & 63 | 128, o >> 6 & 63 | 128, o & 63 | 128); + const o = e.charCodeAt(n); + if (o < 128) + t.push(o); + else if (o < 2048) + t.push(o >> 6 | 192, o & 63 | 128); + else if (n + 1 < e.length && (o & 64512) === 55296 && (e.charCodeAt(n + 1) & 64512) === 56320) { + const i = 65536 + ((o & 1023) << 10) + (e.charCodeAt(++n) & 1023); + t.push(i >> 18 | 240, i >> 12 & 63 | 128, i >> 6 & 63 | 128, i & 63 | 128); } else - t.push(i >> 12 | 224, i >> 6 & 63 | 128, i & 63 | 128); + t.push(o >> 12 | 224, o >> 6 & 63 | 128, o & 63 | 128); } return Uint8Array.from(t); -}, mI = (e) => { +}, rA = (e) => { let t = ""; for (let n = 0, r = e.length; n < r; n++) { - const i = e[n]; - if (i < 128) - t += String.fromCharCode(i); - else if (192 <= i && i < 224) { - const o = e[++n]; - t += String.fromCharCode((i & 31) << 6 | o & 63); - } else if (240 <= i && i < 365) { - const s = "%" + [i, e[++n], e[++n], e[++n]].map((a) => a.toString(16)).join("%"); + const o = e[n]; + if (o < 128) + t += String.fromCharCode(o); + else if (192 <= o && o < 224) { + const i = e[++n]; + t += String.fromCharCode((o & 31) << 6 | i & 63); + } else if (240 <= o && o < 365) { + const s = "%" + [o, e[++n], e[++n], e[++n]].map((a) => a.toString(16)).join("%"); t += decodeURIComponent(s); } else - t += String.fromCharCode((i & 15) << 12 | (e[++n] & 63) << 6 | e[++n] & 63); + t += String.fromCharCode((o & 15) << 12 | (e[++n] & 63) << 6 | e[++n] & 63); } return t; }; -function vI(e) { +function iA(e) { return new TextEncoder().encode(e); } -function wI(e) { +function oA(e) { return new TextDecoder("utf-8").decode(e); } -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({ +const sA = (e) => typeof TextEncoder == "function" ? iA(e) : nA(e), aA = (e) => typeof TextDecoder == "function" ? oA(e) : rA(e), uA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - 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) { + fromUtf8: sA, + toUtf8: aA +}, Symbol.toStringTag, { value: "Module" })), cA = /* @__PURE__ */ To(uA); +Object.defineProperty(Ko, "__esModule", { value: !0 }); +Ko.convertToBuffer = void 0; +var lA = cA, fA = typeof Buffer < "u" && Buffer.from ? function(e) { return Buffer.from(e, "utf8"); -} : 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); -} -ws.convertToBuffer = jI; -var Ds = {}; -Object.defineProperty(Ds, "__esModule", { value: !0 }); -Ds.isEmptyData = void 0; -function SI(e) { +} : lA.fromUtf8; +function dA(e) { + return e instanceof Uint8Array ? e : typeof e == "string" ? fA(e) : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength / Uint8Array.BYTES_PER_ELEMENT) : new Uint8Array(e); +} +Ko.convertToBuffer = dA; +var Go = {}; +Object.defineProperty(Go, "__esModule", { value: !0 }); +Go.isEmptyData = void 0; +function hA(e) { return typeof e == "string" ? e.length === 0 : e.byteLength === 0; } -Ds.isEmptyData = SI; -var As = {}; -Object.defineProperty(As, "__esModule", { value: !0 }); -As.numToUint8 = void 0; -function bI(e) { +Go.isEmptyData = hA; +var Jo = {}; +Object.defineProperty(Jo, "__esModule", { value: !0 }); +Jo.numToUint8 = void 0; +function gA(e) { return new Uint8Array([ (e & 4278190080) >> 24, (e & 16711680) >> 16, @@ -14056,11 +14356,11 @@ function bI(e) { e & 255 ]); } -As.numToUint8 = bI; -var Es = {}; -Object.defineProperty(Es, "__esModule", { value: !0 }); -Es.uint32ArrayFrom = void 0; -function CI(e) { +Jo.numToUint8 = gA; +var Xo = {}; +Object.defineProperty(Xo, "__esModule", { value: !0 }); +Xo.uint32ArrayFrom = void 0; +function pA(e) { if (!Array.from) { for (var t = new Uint32Array(e.length), n = 0; n < e.length; ) t[n] = e[n]; @@ -14068,47 +14368,47 @@ function CI(e) { } return Uint32Array.from(e); } -Es.uint32ArrayFrom = CI; +Xo.uint32ArrayFrom = pA; (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }), e.uint32ArrayFrom = e.numToUint8 = e.isEmptyData = e.convertToBuffer = void 0; - var t = ws; + var t = Ko; Object.defineProperty(e, "convertToBuffer", { enumerable: !0, get: function() { return t.convertToBuffer; } }); - var n = Ds; + var n = Go; Object.defineProperty(e, "isEmptyData", { enumerable: !0, get: function() { return n.isEmptyData; } }); - var r = As; + var r = Jo; Object.defineProperty(e, "numToUint8", { enumerable: !0, get: function() { return r.numToUint8; } }); - var i = Es; + var o = Xo; Object.defineProperty(e, "uint32ArrayFrom", { enumerable: !0, get: function() { - return i.uint32ArrayFrom; + return o.uint32ArrayFrom; } }); -})(nc); -Object.defineProperty(ms, "__esModule", { value: !0 }); -ms.Sha256 = void 0; -var nf = ue, Bo = Nt, Ga = vs, Ja = nc, xI = ( +})(Qd); +Object.defineProperty(Ho, "__esModule", { value: !0 }); +Ho.Sha256 = void 0; +var xl = Iu, ho = yt, ma = qo, va = Qd, MA = ( /** @class */ function() { function e(t) { - if (this.hash = new Ga.RawSha256(), t) { - this.outer = new Ga.RawSha256(); - var n = OI(t), r = new Uint8Array(Bo.BLOCK_SIZE); + if (this.hash = new ma.RawSha256(), t) { + this.outer = new ma.RawSha256(); + var n = yA(t), r = new Uint8Array(ho.BLOCK_SIZE); r.set(n); - for (var i = 0; i < Bo.BLOCK_SIZE; i++) - n[i] ^= 54, r[i] ^= 92; + for (var o = 0; o < ho.BLOCK_SIZE; o++) + n[o] ^= 54, r[o] ^= 92; this.hash.update(n), this.outer.update(r); - for (var i = 0; i < n.byteLength; i++) - n[i] = 0; + for (var o = 0; o < n.byteLength; o++) + n[o] = 0; } } return e.prototype.update = function(t) { - if (!((0, Ja.isEmptyData)(t) || this.error)) + if (!((0, va.isEmptyData)(t) || this.error)) try { - this.hash.update((0, Ja.convertToBuffer)(t)); + this.hash.update((0, va.convertToBuffer)(t)); } catch (n) { this.error = n; } @@ -14117,1277 +14417,886 @@ var nf = ue, Bo = Nt, Ga = vs, Ja = nc, xI = ( 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, nf.__awaiter)(this, void 0, void 0, function() { - return (0, nf.__generator)(this, function(t) { + return (0, xl.__awaiter)(this, void 0, void 0, function() { + return (0, xl.__generator)(this, function(t) { return [2, this.digestSync()]; }); }); }, e; }() ); -ms.Sha256 = xI; -function OI(e) { - var t = (0, Ja.convertToBuffer)(e); - if (t.byteLength > Bo.BLOCK_SIZE) { - var n = new Ga.RawSha256(); +Ho.Sha256 = MA; +function yA(e) { + var t = (0, va.convertToBuffer)(e); + if (t.byteLength > ho.BLOCK_SIZE) { + var n = new ma.RawSha256(); n.update(t), t = n.digest(); } - var r = new Uint8Array(Bo.BLOCK_SIZE); + var r = new Uint8Array(ho.BLOCK_SIZE); return r.set(t), r; } (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }); - var t = ue; - (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 += Tg[e[n]]; - return t; -} -var $o = {}, LI = { - get exports() { - return $o; - }, - set exports(e) { - $o = e; + var t = Iu; + (0, t.__exportStar)(Ho, e); +})(Rn); +var go = globalThis && globalThis.__assign || function() { + return go = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, go.apply(this, arguments); +}, mA = new Ut("Parser"), Bd = 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; } -}; -/*! https://mths.be/punycode v1.3.2 by @mathias */ -(function(e, t) { - (function(n) { - var r = t && !t.nodeType && t, i = e && !e.nodeType && e, o = typeof zt == "object" && zt; - (o.global === o || o.window === o || o.self === o) && (n = o); - var s, a = 2147483647, u = 36, c = 1, l = 26, f = 38, d = 700, g = 72, h = 128, p = "-", m = /^xn--/, v = /[^\x20-\x7E]/, w = /[\x2E\u3002\uFF0E\uFF61]/g, j = { - overflow: "Overflow: input needs wider integers to process", - "not-basic": "Illegal input >= 0x80 (not a basic code point)", - "invalid-input": "Invalid input" - }, I = u - c, N = Math.floor, Q = 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("."), X = W(K, F).join("."); - return q + X; - } - function k(L) { - for (var F = [], P = 0, q = L.length, K, X; P < q; ) - K = L.charCodeAt(P++), K >= 55296 && K <= 56319 && P < q ? (X = L.charCodeAt(P++), (X & 64512) == 56320 ? F.push(((K & 1023) << 10) + (X & 1023) + 65536) : (F.push(K), P--)) : F.push(K); - return F; - } - function U(L) { - return W(L, function(F) { - var P = ""; - return F > 65535 && (F -= 65536, P += Q(F >>> 10 & 1023 | 55296), F = 56320 | F & 1023), P += Q(F), P; - }).join(""); + (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 } - 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 q = 0; - 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, V, B, $, fe, te, le; - for (ne = L.lastIndexOf(p), ne < 0 && (ne = 0), G = 0; G < ne; ++G) - L.charCodeAt(G) >= 128 && H("not-basic"), F.push(L.charCodeAt(G)); - for (he = ne > 0 ? ne + 1 : 0; he < P; ) { - 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); + } : r = e ? e.Storage || e : {}, e.Logging && (t.Logging = go(go({}, 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), mA.debug("parse config", e, "to amplifyconfig", t), t; +}, vA = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); } - return U(F); - } - function C(L) { - 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) - 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) - 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; + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); } - return $.join(""); } - function J(L) { - return b(L, function(F) { - return m.test(F) ? R(F.slice(4).toLowerCase()) : F; - }); + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); } - function re(L) { - return b(L, function(F) { - return v.test(F) ? "xn--" + C(F) : F; - }); - } - if (s = { - /** - * A string representing the current Punycode.js version number. - * @memberOf punycode - * @type String - */ - version: "1.3.2", - /** - * An object of methods to convert from JavaScript's internal character - * representation (UCS-2) to Unicode code points, and back. - * @see - * @memberOf punycode - * @type Object - */ - ucs2: { - decode: k, - encode: U - }, - decode: R, - encode: C, - toASCII: re, - toUnicode: J - }, r && i) - if (e.exports == r) - i.exports = s; - else - for (z in s) - s.hasOwnProperty(z) && (r[z] = s[z]); - else - n.punycode = s; - })(zt); -})(LI, $o); -var _I = { - isString: function(e) { - return typeof e == "string"; - }, - isObject: function(e) { - return typeof e == "object" && e !== null; - }, - isNull: function(e) { - return e === null; - }, - isNullOrUndefined: function(e) { - return e == null; - } -}, _i = {}; -function kI(e, t) { - return Object.prototype.hasOwnProperty.call(e, t); -} -var zI = function(e, t, n, r) { - t = t || "&", n = n || "="; - var i = {}; - if (typeof e != "string" || e.length === 0) - return i; - var o = /\+/g; - e = e.split(t); - var s = 1e3; - r && typeof r.maxKeys == "number" && (s = r.maxKeys); - var a = e.length; - 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), kI(i, g) ? Array.isArray(i[g]) ? i[g].push(h) : i[g] = [i[g], h] : i[g] = h; - } - return i; -}, ni = function(e) { - switch (typeof e) { - case "string": - return e; - case "boolean": - return e ? "true" : "false"; - case "number": - return isFinite(e) ? e : ""; - default: - return ""; - } -}, 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(ni(i)) + n; - return Array.isArray(e[i]) ? e[i].map(function(s) { - return o + encodeURIComponent(ni(s)); - }).join(t) : o + encodeURIComponent(ni(e[i])); - }).join(t) : r ? encodeURIComponent(ni(r)) + n + encodeURIComponent(ni(e)) : ""; -}; -_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 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 -}, Xa = { - javascript: !0, - "javascript:": !0 -}, xr = { - http: !0, - https: !0, - ftp: !0, - gopher: !0, - file: !0, - "http:": !0, - "https:": !0, - "ftp:": !0, - "gopher:": !0, - "file:": !0 -}, eu = _i; -function jg(e, t, n) { - if (e && sn.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 (!sn.isString(e)) - throw new TypeError("Parameter 'url' must be a string, not " + typeof e); - var r = e.indexOf("?"), i = r !== -1 && r < e.indexOf("#") ? "?" : "#", o = e.split(i), s = /\\/g; - o[0] = o[0].replace(s, "/"), e = o.join(i); - var a = e; - if (a = a.trim(), !n && e.split("#").length === 1) { - 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 = eu.parse(this.search.substr(1)) : this.query = this.search.substr(1)) : t && (this.search = "", this.query = {}), this; - } - var c = UI.exec(a); - if (c) { - c = c[0]; - var l = c.toLowerCase(); - this.protocol = l, a = a.substr(c.length); - } - if (n || c || a.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var f = a.substr(0, 2) === "//"; - f && !(c && Xa[c]) && (a = a.substr(2), this.slashes = !0); - } - 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 < 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 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 > $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 (!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); - } - } - 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 = 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; - } - return this.href = this.format(), this; -}; -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 = 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(jg(e, !1, !0)).format(); -}; -cn.prototype.resolveObject = function(e) { - if (sn.isString(e)) { - var t = new cn(); - t.parse(e, !1, !0), e = t; - } - for (var n = new cn(), r = Object.keys(this), i = 0; i < r.length; i++) { - var o = r[i]; - n[o] = this[o]; - } - if (n.hash = e.hash, e.href === "") - return n.href = n.format(), n; - if (e.slashes && !e.protocol) { - for (var s = Object.keys(e), a = 0; a < s.length; a++) { - var u = s[a]; - u !== "protocol" && (n[u] = e[u]); - } - return xr[n.protocol] && n.hostname && !n.pathname && (n.path = n.pathname = "/"), n.href = n.format(), n; - } - if (e.protocol && e.protocol !== n.protocol) { - if (!xr[e.protocol]) { - for (var c = Object.keys(e), l = 0; l < c.length; l++) { - var f = c[l]; - n[f] = e[f]; - } - return n.href = n.format(), n; - } - 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("/"); - } else - n.pathname = e.pathname; - if (n.search = e.search, n.query = e.query, n.host = e.host || "", n.auth = e.auth, n.hostname = e.hostname || e.host, n.port = e.port, n.pathname || n.search) { - var d = n.pathname || "", g = n.search || ""; - n.path = d + g; - } - 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("/") || [], 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 (I) { - n.hostname = n.host = w.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 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 (; 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 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 = 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 ao = new Ht("Util"), Kn = ( - /** @class */ - function(e) { - ec(t, e); - function t(n) { - var r = e.call(this, n) || this; - return r.nonRetryable = !0, r; - } - return t; - }(Error) -), HI = function(e) { - var t = "nonRetryable"; - return e && e[t]; -}; -function qI(e, t, n, r) { - return Ne(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 Ne(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++, ao.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, at(t))]; - case 2: - return [2, (m.value = v.apply(void 0, [I.sent()]), m)]; - case 3: - 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(N) { - f = N, l = setTimeout(f, j); - })]; - case 5: - I.sent(), I.label = 6; - case 6: - return [3, 7]; - case 7: - return [ - 2 - /*return*/ - ]; - } - }); - }, 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 - /*return*/ - ]; - } - }); - }); - })]; - }); - }); -} -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 GI = function(e, t, n, r) { - return n === void 0 && (n = Sg), qI(e, t, KI(n), r); -}; -function JI(e) { - return e.split("").map(function(t) { - return t.charCodeAt(0).toString(16).padStart(2, "0"); - }).join(""); -} -function ZI(e) { - return e.match(/.{2}/g).map(function(t) { - return String.fromCharCode(parseInt(t, 16)); - }).join(""); -} -var XI = new Ht("Parser"), bg = 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 = 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), 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]); - }, tu(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"); - tu(e, t); - function n() { - this.constructor = e; - } - e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n()); -} -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; - }, ie.apply(this, arguments); -}; -function pt(e, t, n, r) { - function i(o) { - return o instanceof n ? o : new n(function(s) { - s(o); - }); - } - return new (n || (n = Promise))(function(o, s) { - function a(l) { - try { - c(r.next(l)); - } catch (f) { - s(f); - } - } - function u(l) { - try { - c(r.throw(l)); - } catch (f) { - s(f); - } - } - function c(l) { - l.done ? o(l.value) : i(l.value).then(a, u); - } - c((r = r.apply(e, t || [])).next()); + u((r = r.apply(e, t || [])).next()); }); -} -function Mt(e, t) { +}, wA = globalThis && globalThis.__generator || function(e, t) { var n = { label: 0, sent: function() { - if (o[0] & 1) - throw o[1]; - return o[1]; - }, trys: [], ops: [] }, r, i, o, s; + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { return this; }), s; - function a(c) { + function a(u) { return function(l) { - return u([c, l]); + return c([u, l]); }; } - function u(c) { + function c(u) { if (r) throw new TypeError("Generator is already executing."); - for (; s && (s = 0, c[0] && (n = 0)), n; ) + for (; s && (s = 0, u[0] && (n = 0)), n; ) try { - if (r = 1, i && (o = c[0] & 2 ? i.return : c[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, c[1])).done) - return o; - switch (i = 0, o && (c = [c[0] & 2, o.value]), c[0]) { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { case 0: case 1: - o = c; + i = u; break; case 4: - return n.label++, { value: c[1], done: !1 }; + return n.label++, { value: u[1], done: !1 }; case 5: - n.label++, i = c[1], c = [0]; + n.label++, o = u[1], u = [0]; continue; case 7: - c = n.ops.pop(), n.trys.pop(); + u = n.ops.pop(), n.trys.pop(); continue; default: - if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (c[0] === 6 || c[0] === 2)) { + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { n = 0; continue; } - if (c[0] === 3 && (!o || c[1] > o[0] && c[1] < o[3])) { - n.label = c[1]; + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; break; } - if (c[0] === 6 && n.label < o[1]) { - n.label = o[1], o = c; + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; break; } - if (o && n.label < o[2]) { - n.label = o[2], n.ops.push(c); + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); break; } - o[2] && n.ops.pop(), n.trys.pop(); + i[2] && n.ops.pop(), n.trys.pop(); continue; } - c = t.call(e, n); + u = t.call(e, n); } catch (l) { - c = [6, l], i = 0; + u = [6, l], o = 0; } finally { - r = o = 0; + r = i = 0; } - if (c[0] & 5) - throw c[1]; - return { value: c[0] ? c[1] : void 0, done: !0 }; + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; } -} -function eN(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; -} -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; -} -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", - 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 - ]); -})(ic); -var nN = function(e) { - for (var t = [], n = 0, r = e.length; n < r; n++) { - var i = e.charCodeAt(n); - if (i < 128) - t.push(i); - else if (i < 2048) - t.push(i >> 6 | 192, i & 63 | 128); - else if (n + 1 < e.length && (i & 64512) === 55296 && (e.charCodeAt(n + 1) & 64512) === 56320) { - var o = 65536 + ((i & 1023) << 10) + (e.charCodeAt(++n) & 1023); - t.push(o >> 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); -}, rN = function(e) { - for (var t = "", n = 0, r = e.length; n < r; n++) { - var i = e[n]; - if (i < 128) - t += String.fromCharCode(i); - else if (192 <= i && i < 224) { - var o = e[++n]; - t += String.fromCharCode((i & 31) << 6 | o & 63); - } else if (240 <= i && i < 365) { - var s = [i, e[++n], e[++n], e[++n]], a = "%" + s.map(function(u) { - return u.toString(16); - }).join("%"); - t += decodeURIComponent(a); - } else - t += String.fromCharCode((i & 15) << 12 | (e[++n] & 63) << 6 | e[++n] & 63); - } - return t; -}; -function iN(e) { - return new TextEncoder().encode(e); -} -function oN(e) { - return new TextDecoder("utf-8").decode(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 sN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - 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 lN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - locateWindow: cN -}, Symbol.toStringTag, { value: "Module" })), oc = /* @__PURE__ */ Qi(lN); -Object.defineProperty(Ki, "__esModule", { value: !0 }); -Ki.Sha256 = void 0; -var fN = Ns, Lg = ic, dN = aN, nu = oc, hN = ( +}, fn = new Ut("CognitoCredentials"), DA = new Promise(function(e, t) { + if (!rn().isBrowser) + return fn.debug("not in the browser, directly resolved"), e(); + var n = window.gapi && window.gapi.auth2 ? window.gapi.auth2 : null; + if (n) + return fn.debug("google api already loaded"), e(); + setTimeout(function() { + return e(); + }, 2e3); +}), IA = ( /** @class */ function() { - function e(t) { - 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, nu.locateWindow)().msCrypto.subtle.digest("SHA-256")); + function e() { + this.initialized = !1, this.refreshGoogleToken = this.refreshGoogleToken.bind(this), this._refreshGoogleTokenImpl = this._refreshGoogleTokenImpl.bind(this); } - return e.prototype.update = function(t) { - var n = this; - (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(_g(t)), r; - }), this.operation.catch(function() { - })); - }, e.prototype.digest = function() { - return this.operation.then(function(t) { - return new Promise(function(n, r) { - t.onerror = function() { - r(new Error("Error encountered finalizing hash")); - }, t.oncomplete = function() { - t.result && n(new Uint8Array(t.result)), r(new Error("Error encountered finalizing hash")); - }, t.finish(); + return e.prototype.refreshGoogleToken = function() { + return vA(this, void 0, void 0, function() { + return wA(this, function(t) { + switch (t.label) { + case 0: + return this.initialized ? [3, 2] : (fn.debug("need to wait for the Google SDK loaded"), [4, DA]); + case 1: + t.sent(), this.initialized = !0, fn.debug("finish waiting"), t.label = 2; + case 2: + return [2, this._refreshGoogleTokenImpl()]; + } }); }); + }, e.prototype._refreshGoogleTokenImpl = function() { + var t = null; + return rn().isBrowser && (t = window.gapi && window.gapi.auth2 ? window.gapi.auth2 : null), t ? new Promise(function(n, r) { + t.getAuthInstance().then(function(o) { + o || (fn.debug("google Auth undefined"), r(new _n("google Auth undefined"))); + var i = o.currentUser.get(); + i.isSignedIn() ? (fn.debug("refreshing the google access token"), i.reloadAuthResponse().then(function(s) { + var a = s.id_token, c = s.expires_at; + n({ token: a, expires_at: c }); + }).catch(function(s) { + s && s.error === "network_error" ? r("Network error reloading google auth response") : r(new _n("Failed to reload google auth response")); + })) : r(new _n("User is not signed in with Google")); + }).catch(function(o) { + fn.debug("Failed to refresh google token", o), r(new _n("Failed to refresh google token")); + }); + }) : (fn.debug("no gapi auth2 available"), Promise.reject("no gapi auth2 available")); }, e; }() -); -Ki.Sha256 = hN; -function gN(e) { - return new Promise(function(t, n) { - 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() { - n(new Error("ImportKey failed to import key.")); - }; - }); -} -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 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, Zs.locateWindow)().crypto.subtle.importKey("raw", (0, uo.convertToBuffer)(t), co.SHA_256_HMAC_ALGO, !1, ["sign"]).then(n, r); - }), this.key.catch(function() { - })); +), AA = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } } - return e.prototype.update = function(t) { - 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; + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); } - }, e.prototype.digest = function() { - var t = this; - return this.key ? this.key.then(function(n) { - return (0, Zs.locateWindow)().crypto.subtle.sign(co.SHA_256_HMAC_ALGO, n, t.toHash).then(function(r) { - return new Uint8Array(r); - }); - }) : (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 = pN; -var kg = {}, Ut = {}, af; -function MN() { - if (af) - return Ut; - af = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.supportsZeroByteGCM = Ut.supportsSubtleCrypto = Ut.supportsSecureRandom = Ut.supportsWebCrypto = void 0; - var e = ue, t = [ - "decrypt", - "digest", - "encrypt", - "exportKey", - "generateKey", - "importKey", - "sign", - "verify" - ]; - function n(s) { - if (r(s) && typeof s.crypto.subtle == "object") { - var a = s.crypto.subtle; - return i(a); } - return !1; - } - Ut.supportsWebCrypto = n; - function r(s) { - if (typeof s == "object" && typeof s.crypto == "object") { - var a = s.crypto.getRandomValues; - return typeof a == "function"; + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); } - return !1; - } - Ut.supportsSecureRandom = r; - function i(s) { - return s && t.every(function(a) { - return typeof s[a] == "function"; - }); + u((r = r.apply(e, t || [])).next()); + }); +}, EA = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; } - Ut.supportsSubtleCrypto = i; - function o(s) { - return e.__awaiter(this, void 0, void 0, function() { - var a, u; - return e.__generator(this, function(c) { - switch (c.label) { + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { case 0: - if (!i(s)) - return [2, !1]; - c.label = 1; case 1: - return c.trys.push([1, 4, , 5]), [4, s.generateKey({ name: "AES-GCM", length: 128 }, !1, ["encrypt"])]; - case 2: - return a = c.sent(), [4, s.encrypt({ - name: "AES-GCM", - iv: new Uint8Array(Array(12)), - additionalData: new Uint8Array(Array(16)), - tagLength: 128 - }, a, new Uint8Array(0))]; - case 3: - return u = c.sent(), [2, u.byteLength === 16]; + i = u; + break; case 4: - return c.sent(), [2, !1]; + return n.label++, { value: u[1], done: !1 }; case 5: - return [ - 2 - /*return*/ - ]; + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; } - }); - }); - } - return Ut.supportsZeroByteGCM = o, Ut; -} -(function(e) { - Object.defineProperty(e, "__esModule", { value: !0 }); - var t = ue; - 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", - "encrypt", - "exportKey", - "generateKey", - "importKey", - "sign", - "verify" - ]; - function t(r) { - return "MSInputMethodContext" in r && "msCrypto" in r; - } - function n(r) { - if (t(r) && r.msCrypto.subtle !== void 0) { - var i = r.msCrypto, o = i.getRandomValues, s = i.subtle; - return e.map(function(a) { - return s[a]; - }).concat(o).every(function(a) { - return typeof a == "function"; - }); - } - return !1; + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; } - return ri.isMsWindow = n, ri; -} -(function(e) { - Object.defineProperty(e, "__esModule", { value: !0 }); - var t = ue; - 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 = ( +}, Sn = new Ut("CognitoCredentials"), TA = new Promise(function(e, t) { + if (!rn().isBrowser) + return Sn.debug("not in the browser, directly resolved"), e(); + var n = window.FB; + if (n) + return Sn.debug("FB SDK already loaded"), e(); + setTimeout(function() { + return e(); + }, 2e3); +}), NA = ( /** @class */ function() { - function e(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); + function e() { + this.initialized = !1, this.refreshFacebookToken = this.refreshFacebookToken.bind(this), this._refreshFacebookTokenImpl = this._refreshFacebookTokenImpl.bind(this); } - return e.prototype.update = function(t, n) { - this.hash.update(t, n); - }, e.prototype.digest = function() { - return this.hash.digest(); + return e.prototype.refreshFacebookToken = function() { + return AA(this, void 0, void 0, function() { + return EA(this, function(t) { + switch (t.label) { + case 0: + return this.initialized ? [3, 2] : (Sn.debug("need to wait for the Facebook SDK loaded"), [4, TA]); + case 1: + t.sent(), this.initialized = !0, Sn.debug("finish waiting"), t.label = 2; + case 2: + return [2, this._refreshFacebookTokenImpl()]; + } + }); + }); + }, e.prototype._refreshFacebookTokenImpl = function() { + var t = null; + if (rn().isBrowser && (t = window.FB), !t) { + var n = "no fb sdk available"; + return Sn.debug(n), Promise.reject(new _n(n)); + } + return new Promise(function(r, o) { + t.getLoginStatus(function(i) { + if (!i || !i.authResponse) { + var s = "no response from facebook when refreshing the jwt token"; + Sn.debug(s), o(new _n(s)); + } else { + var a = i.authResponse, c = a.accessToken, u = a.expiresIn, l = /* @__PURE__ */ new Date(), f = u * 1e3 + l.getTime(); + if (!c) { + var s = "the jwtToken is undefined"; + Sn.debug(s), o(new _n(s)); + } + r({ + token: c, + expires_at: f + }); + } + }, { scope: "public_profile,email" }); + }); }, e; }() -); -Is.Sha256 = jN; -(function(e) { - Object.defineProperty(e, "__esModule", { value: !0 }), e.WebCryptoSha256 = e.Ie11Sha256 = void 0; - var t = ue; - (0, t.__exportStar)(Is, e); - var n = Ki; - Object.defineProperty(e, "Ie11Sha256", { enumerable: !0, get: function() { - return n.Sha256; - } }); - var r = Gi; - Object.defineProperty(e, "WebCryptoSha256", { enumerable: !0, get: function() { - return r.Sha256; - } }); -})(Cg); -var gf = ( +), jA = new IA(), bA = new NA(), An = {}, SA = ( /** @class */ function() { - function e(t) { - this.statusCode = t.statusCode, this.headers = t.headers || {}, this.body = t.body; + function e() { } - return e.isInstance = function(t) { - if (!t) - return !1; - var n = t; - return typeof n.statusCode == "number" && typeof n.headers == "object"; + return e.setItem = function(t, n) { + return An[t] = n, An[t]; + }, e.getItem = function(t) { + return Object.prototype.hasOwnProperty.call(An, t) ? An[t] : void 0; + }, e.removeItem = function(t) { + return delete An[t]; + }, e.clear = function() { + return An = {}, An; }, e; }() -), Rr = ( +), $d = ( /** @class */ function() { - function e(t) { - this.method = t.method || "GET", this.hostname = t.hostname || "localhost", this.port = t.port, this.query = t.query || {}, this.headers = t.headers || {}, this.body = t.body, this.protocol = t.protocol ? t.protocol.substr(-1) !== ":" ? t.protocol + ":" : t.protocol : "https:", this.path = t.path ? t.path.charAt(0) !== "/" ? "/" + t.path : t.path : "/"; + 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 = SA; + } } - return e.isInstance = function(t) { - if (!t) - return !1; - var n = t; - 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 = SN(t.query)), t; + return e.prototype.getStorage = function() { + return this.storageWindow; }, 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) ? at(i) : i, r)); - }, {}); -} -var Gn = function(e) { - return encodeURIComponent(e).replace(/[!'()*]/g, bN); -}, bN = function(e) { - return "%" + e.charCodeAt(0).toString(16).toUpperCase(); -}; -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 = Gn(s), Array.isArray(a)) - for (var u = 0, c = a.length; u < c; u++) - r.push(s + "=" + Gn(a[u])); - else { - var l = s; - (a || typeof a == "string") && (l += "=" + Gn(a)), r.push(l); +), Wd = { + id: "aws", + outputs: { + dnsSuffix: "amazonaws.com" + }, + regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$", + regions: ["aws-global"] +}, xA = { + partitions: [ + Wd, + { + id: "aws-cn", + outputs: { + dnsSuffix: "amazonaws.com.cn" + }, + regionRegex: "^cn\\-\\w+\\-\\d+$", + regions: ["aws-cn-global"] + } + ] +}, CA = globalThis && globalThis.__values || function(e) { + var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0; + if (n) + return n.call(e); + if (e && typeof e.length == "number") + return { + next: function() { + return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }; } + }; + throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); +}, OA = function(e) { + var t, n, r = xA.partitions; + try { + for (var o = CA(r), i = o.next(); !i.done; i = o.next()) { + var s = i.value, a = s.regions, c = s.outputs, u = s.regionRegex, l = new RegExp(u); + if (a.includes(e) || l.test(e)) + return c.dnsSuffix; } } catch (f) { t = { error: f }; } finally { try { - o && !o.done && (n = i.return) && n.call(i); + i && !i.done && (n = o.return) && n.call(o); } finally { if (t) throw t.error; } } - return r.join("&"); -} -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"); - r.name = "TimeoutError", n(r); - }, e); - }); -} -var ON = ( - /** @class */ - function() { - function e(t) { - var n = t === void 0 ? {} : t, r = n.requestTimeout; - this.requestTimeout = r; - } - return e.prototype.destroy = function() { - }, e.prototype.handle = function(t, n) { - var r = n === void 0 ? {} : n, i = r.abortSignal, o = this.requestTimeout; - if (i != null && i.aborted) { - var s = new Error("Request aborted"); - return s.name = "AbortError", Promise.reject(s); - } - var a = t.path; - if (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 = { - body: d, - headers: new Headers(t.headers), - method: l - }; - typeof AbortController < "u" && (g.signal = i); - var h = new Request(f, g), p = [ - fetch(h).then(function(m) { - var v, w, j = m.headers, I = {}; - try { - for (var N = Rt(j.entries()), Q = N.next(); !Q.done; Q = N.next()) { - var z = Q.value; - I[z[0]] = z[1]; - } - } catch (W) { - v = { error: W }; - } finally { - try { - Q && !Q.done && (w = N.return) && w.call(N); - } finally { - if (v) - throw v.error; - } - } - var H = m.body !== void 0; - return H ? { - response: new gf({ - headers: I, - statusCode: m.status, - body: m.body - }) - } : m.blob().then(function(W) { - return { - response: new gf({ - headers: I, - statusCode: m.status, - body: W - }) - }; - }); - }), - xN(o) - ]; - return i && p.push(new Promise(function(m, v) { - i.onabort = function() { - var w = new Error("Request aborted"); - w.name = "AbortError", v(w); - }; - })), Promise.race(p); - }, e; - }() -), 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, 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++) { - 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 |= sr[e[a]] << (u - a) * Or, s += Or) : o >>= Or; - var c = i / 4 * 3; - 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 _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) * 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 += Wr[(r & LN << c) >> c]; - } - t += "==".slice(0, 4 - a); - } - return t; -} -var kN = function(e) { - return typeof Blob == "function" && e instanceof Blob ? zN(e) : PN(e); + return Wd.outputs.dnsSuffix; }; -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, RN(e)]; - case 1: - return t = r.sent(), n = Pg(t), [2, new Uint8Array(n)]; - } - }); - }); -} -function PN(e) { - return Ne(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 RN(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); +function LA(e, t) { + return t = t || {}, new Promise(function(n, r) { + var o = new XMLHttpRequest(), i = [], s = [], a = {}, c = function() { + return { ok: (o.status / 100 | 0) == 2, statusText: o.statusText, status: o.status, url: o.responseURL, text: function() { + return Promise.resolve(o.responseText); + }, json: function() { + return Promise.resolve(o.responseText).then(JSON.parse); + }, blob: function() { + return Promise.resolve(new Blob([o.response])); + }, clone: c, headers: { keys: function() { + return i; + }, entries: function() { + return s; + }, get: function(l) { + return a[l.toLowerCase()]; + }, has: function(l) { + return l.toLowerCase() in a; + } } }; + }; + for (var u in o.open(t.method || "get", e, !0), o.onload = function() { + o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(l, f, d) { + i.push(f = f.toLowerCase()), s.push([f, d]), a[f] = a[f] ? a[f] + "," + d : d; + }), n(c()); + }, o.onerror = r, o.withCredentials = t.credentials == "include", t.headers) + o.setRequestHeader(u, t.headers[u]); + o.send(t.body || null); }); } -var UN = function(e) { +const _A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + default: LA +}, Symbol.toStringTag, { value: "Module" })), Cl = /* @__PURE__ */ To(_A); +self.fetch || (self.fetch = Cl.default || Cl); +var bs = function(e) { + var t; return function() { - return Promise.reject(e); + return t || (t = e()), t; }; -}, 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 = at(n.userAgent || [], [["cfg/retry-mode", e.retryStrategy.mode]])), [2, e.retryStrategy.retry(t, r)]; +}, po = globalThis && globalThis.__assign || function() { + return po = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, po.apply(this, arguments); +}, kA = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, zA = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, UA = function(e) { + return !["HEAD", "GET", "DELETE"].includes(e.toUpperCase()); +}, PA = function(e, t) { + var n = e.url, r = e.method, o = e.headers, i = e.body, s = t.abortSignal; + return kA(void 0, void 0, void 0, function() { + var a, c, u, l, f, d, p; + return zA(this, function(M) { + switch (M.label) { + case 0: + return M.trys.push([0, 2, , 3]), [4, fetch(n, { + method: r, + headers: o, + body: UA(r) ? i : void 0, + signal: s + })]; + case 1: + return a = M.sent(), [3, 3]; + case 2: + throw c = M.sent(), c instanceof TypeError ? new Error("Network error") : c; + case 3: + return u = {}, (d = a.headers) === null || d === void 0 || d.forEach(function(y, m) { + u[m.toLowerCase()] = y; + }), l = { + statusCode: a.status, + headers: u, + body: null + }, f = Object.assign((p = a.body) !== null && p !== void 0 ? p : {}, { + text: bs(function() { + return a.text(); + }), + blob: bs(function() { + return a.blob(); + }), + json: bs(function() { + return a.json(); + }) + }), [2, po(po({}, l), { body: f })]; + } + }); + }); +}, Mo = globalThis && globalThis.__assign || function() { + return Mo = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, Mo.apply(this, arguments); +}, RA = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, YA = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, FA = 3, QA = function(e) { + var t = e.maxAttempts, n = t === void 0 ? FA : t, r = e.retryDecider, o = e.computeDelay, i = e.abortSignal; + if (n < 1) + throw new Error("maxAttempts must be greater than 0"); + return function(s, a) { + return function(u) { + var l; + return RA(this, void 0, void 0, function() { + var f, d, p, M, y, m; + return YA(this, function(w) { + switch (w.label) { + case 0: + d = (l = a.attemptsCount) !== null && l !== void 0 ? l : 0, M = function() { + if (p) + return Ol(p, d), p; + throw Ol(f, d), f; + }, w.label = 1; + case 1: + if (!(!(i != null && i.aborted) && d < n)) + return [3, 11]; + w.label = 2; + case 2: + return w.trys.push([2, 4, , 5]), [4, s(u)]; + case 3: + return p = w.sent(), f = void 0, [3, 5]; + case 4: + return y = w.sent(), f = y, p = void 0, [3, 5]; + case 5: + return d = a.attemptsCount > d ? a.attemptsCount : d + 1, a.attemptsCount = d, [4, r(p, f)]; + case 6: + return w.sent() ? !(i != null && i.aborted) && d < n ? (m = o(d), [4, BA(m, i)]) : [3, 8] : [3, 9]; + case 7: + w.sent(), w.label = 8; + case 8: + return [3, 1]; + case 9: + return [2, M()]; + case 10: + return [3, 1]; + case 11: + if (i != null && i.aborted) + throw new Error("Request aborted."); + return [2, M()]; + } }); }); }; }; -}, YN = { - name: "retryMiddleware", - tags: ["RETRY"], - step: "finalizeRequest", - priority: "high", - override: !0 -}, QN = function(e) { - return { - applyToStack: function(t) { - t.add(FN(e), YN); - } - }; -}, 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 = [ +}, BA = function(e, t) { + if (t != null && t.aborted) + return Promise.resolve(); + var n, r, o = new Promise(function(i) { + r = i, n = setTimeout(i, e); + }); + return t == null || t.addEventListener("abort", function i(s) { + clearTimeout(n), t == null || t.removeEventListener("abort", i), r(); + }), o; +}, Ol = function(e, t) { + var n; + Object.prototype.toString.call(e) === "[object Object]" && (e.$metadata = Mo(Mo({}, (n = e.$metadata) !== null && n !== void 0 ? n : {}), { attempts: t })); +}, Ll = 5 * 60 * 1e3, $A = function(e) { + var t = Fd(Ll), n = t(e); + return n === !1 ? Ll : n; +}, WA = [ "AuthFailure", "InvalidSignatureException", "RequestExpired", "RequestInTheFuture", "RequestTimeTooSkewed", - "SignatureDoesNotMatch" -], XN = [ + "SignatureDoesNotMatch", + "BadRequestException" + // API Gateway +], VA = function(e) { + return WA.includes(e); +}, HA = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, qA = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, KA = function(e) { + return function(t, n) { + return HA(void 0, void 0, void 0, function() { + var r, o, i, s; + return qA(this, function(a) { + switch (a.label) { + case 0: + return n == null ? [3, 1] : (o = n, [3, 3]); + case 1: + return [4, e(t)]; + case 2: + o = a.sent(), a.label = 3; + case 3: + return r = ((s = o) !== null && s !== void 0 ? s : {}).name, i = t == null ? void 0 : t.statusCode, [2, ZA(n) || XA(i, r) || VA(r) || eE(i, r)]; + } + }); + }); + }; +}, GA = [ "BandwidthLimitExceeded", "EC2ThrottledException", "LimitExceededException", @@ -15400,4201 +15309,883 @@ var UN = function(e) { "ThrottledException", "Throttling", "ThrottlingException", - "TooManyRequestsException", - "TransactionInProgressException" -], eT = ["AbortError", "TimeoutError", "RequestTimeout", "RequestTimeoutException"], tT = [500, 502, 503, 504], nT = function(e) { - return e.$retryable !== void 0; -}, 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 || XN.includes(e.name) || ((n = e.$retryable) === null || n === void 0 ? void 0 : n.throttling) == !0; -}, iT = function(e) { - var t; - return eT.includes(e.name) || tT.includes(((t = e.$metadata) === null || t === void 0 ? void 0 : t.httpStatusCode) || 0); -}, Wo = {}, pf = { - get exports() { - return Wo; - }, - set exports(e) { - Wo = e; - } -}, 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 mf = new Array(16); - pf.exports = function() { - for (var t = 0, n; t < 16; t++) - t & 3 || (n = Math.random() * 4294967296), mf[t] = n >>> ((t & 3) << 3) & 255; - return mf; - }; -} -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++]], - 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 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 || vf, s = e.clockseq !== void 0 ? e.clockseq : ra; - if (o == null || s == null) { - var a = sT(); - o == null && (o = vf = [ - a[0] | 1, - a[1], - a[2], - a[3], - a[4], - a[5] - ]), 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 : 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"); - 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 || aT(i); -} -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 || 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 || fT(i); -} -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" ? qN : HN; - }, 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 ?? KN, n = Math.min(n, t); - }; - return Object.freeze({ - hasRetryTokens: i, - retrieveRetryTokens: o, - releaseRetryTokens: s - }); -}, 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 = 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); + "TooManyRequestsException" +], JA = [ + "TimeoutError", + "RequestTimeout", + "RequestTimeoutException" +], XA = function(e, t) { + return e === 429 || GA.includes(t); +}, ZA = function(e) { + return (e == null ? void 0 : e.name) === "Network error"; +}, eE = function(e, t) { + return [500, 502, 503, 504].includes(e) || JA.includes(t); +}, tE = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } } - return e.prototype.shouldRetry = function(t, n, r) { - return n < r && this.retryDecider(t) && this.retryQuota.hasRetryTokens(t); - }, e.prototype.getMaxAttempts = function() { - return Ne(this, void 0, void 0, function() { - var t; - return Ee(this, function(n) { - switch (n.label) { - case 0: - return n.trys.push([0, 2, , 3]), [4, this.maxAttemptsProvider()]; - case 1: - return t = n.sent(), [3, 3]; - case 2: - return n.sent(), t = uc, [3, 3]; - case 3: - return [2, t]; - } - }); - }); - }, e.prototype.retry = function(t, n) { - return Ne(this, void 0, void 0, function() { - var r, i, o, s, a, u, c, l; - return Ee(this, function(f) { - switch (f.label) { - case 0: - return i = 0, o = 0, [4, this.getMaxAttempts()]; - case 1: - 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]), 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(Rg(p) ? WN : BN, i), o += m, [4, new Promise(function(w) { - return setTimeout(w, m); - })]) : [3, 4]; - case 3: - return v.sent(), [2, "continue"]; - case 4: - throw p.$metadata || (p.$metadata = {}), p.$metadata.attempts = i, p.$metadata.totalRetryDelay = o, p; - case 5: - return [ - 2 - /*return*/ - ]; - } - }); - }, c = this, f.label = 2; - case 2: - return [5, u()]; - case 3: - return l = f.sent(), typeof l == "object" ? [2, l.value] : [3, 2]; - case 4: - return [ - 2 - /*return*/ - ]; - } - }); - }); - }, e; - }() -), 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; + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, nE = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); }; } - return e; -}; -function ET(e) { - if (typeof e == "string") { - for (var t = e.length, n = t - 1; n >= 0; n--) { - var r = e.charCodeAt(n); - r > 127 && r <= 2047 ? t++ : r > 2047 && r <= 65535 && (t += 2); + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, rE = function(e) { + var t = e.userAgentHeader, n = t === void 0 ? "x-amz-user-agent" : t, r = e.userAgentValue, o = r === void 0 ? "" : r; + return function(i) { + return function(a) { + return tE(this, void 0, void 0, function() { + var c, u, l; + return nE(this, function(f) { + switch (f.label) { + case 0: + return o.trim().length !== 0 ? [3, 2] : [4, i(a)]; + case 1: + return c = f.sent(), [2, c]; + case 2: + return u = n.toLowerCase(), a.headers[u] = a.headers[u] ? "".concat(a.headers[u], " ").concat(o) : o, [4, i(a)]; + case 3: + return l = f.sent(), [2, l]; + } + }); + }); + }; + }; +}, Vd = function(e, t) { + return function(n, r) { + for (var o = {}, i = function(u) { + return e(u, r); + }, s = t.length - 1; s >= 0; s--) { + var a = t[s], c = a(r); + i = c(i, o); } - return t; - } else { - if (typeof e.byteLength == "number") - return e.byteLength; - if (typeof e.size == "number") - return e.size; - } -} -const IT = { - "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" -}, Qg = { - 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" -}, mn = { - EdgeHTML: "EdgeHTML", - Blink: "Blink", - Trident: "Trident", - Presto: "Presto", - Gecko: "Gecko", - WebKit: "WebKit" -}; -class se { - /** - * Get first matched item for a string - * @param {RegExp} regexp - * @param {String} ua - * @return {Array|{index: number, input: string}|*|boolean|string} - */ - static getFirstMatch(t, n) { - const r = n.match(t); - return r && r.length > 0 && r[1] || ""; - } - /** - * Get second matched item for a string - * @param regexp - * @param {String} ua - * @return {Array|{index: number, input: string}|*|boolean|string} - */ - static getSecondMatch(t, n) { - const r = n.match(t); - return r && r.length > 1 && r[2] || ""; - } - /** - * Match a regexp and return a constant or undefined - * @param {RegExp} regexp - * @param {String} ua - * @param {*} _const Any const that will be returned if regexp matches the string - * @return {*} - */ - 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; + return i(n); + }; +}, iE = Vd(PA, [rE, QA]), yo = globalThis && globalThis.__assign || function() { + return yo = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); } + return e; + }, yo.apply(this, arguments); +}, Zo = function(e) { + var t, n, r = e.headers, o = e.statusCode; + return yo(yo({}, oE(e) ? e.$metadata : {}), { httpStatusCode: o, requestId: (n = (t = r["x-amzn-requestid"]) !== null && t !== void 0 ? t : r["x-amzn-request-id"]) !== null && n !== void 0 ? n : r["x-amz-request-id"], extendedRequestId: r["x-amz-id-2"], cfId: r["x-amz-cf-id"] }); +}, oE = function(e) { + return typeof (e == null ? void 0 : e.$metadata) == "object"; +}, Hd = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); } - /** - * Get macOS version name - * 10.5 - Leopard - * 10.6 - Snow Leopard - * 10.7 - Lion - * 10.8 - Mountain Lion - * 10.9 - Mavericks - * 10.10 - Yosemite - * 10.11 - El Capitan - * 10.12 - Sierra - * 10.13 - High Sierra - * 10.14 - Mojave - * 10.15 - Catalina - * - * @example - * getMacOSVersionName("10.14") // 'Mojave' - * - * @param {string} version - * @return {string} versionName - */ - 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; + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); } - } - /** - * Get Android version name - * 1.5 - Cupcake - * 1.6 - Donut - * 2.0 - Eclair - * 2.1 - Eclair - * 2.2 - Froyo - * 2.x - Gingerbread - * 3.x - Honeycomb - * 4.0 - Ice Cream Sandwich - * 4.1 - Jelly Bean - * 4.4 - KitKat - * 5.x - Lollipop - * 6.x - Marshmallow - * 7.x - Nougat - * 8.x - Oreo - * 9.x - Pie - * - * @example - * getAndroidVersionName("7.0") // 'Nougat' - * - * @param {string} version - * @return {string} versionName - */ - 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"; - } - } - /** - * Get version precisions count - * - * @example - * getVersionPrecision("1.10.3") // 3 - * - * @param {string} version - * @return {number} - */ - static getVersionPrecision(t) { - return t.split(".").length; - } - /** - * Calculate browser version weight - * - * @example - * compareVersions('1.10.2.1', '1.8.2.1.90') // 1 - * compareVersions('1.010.2.1', '1.09.2.1.90'); // 1 - * compareVersions('1.10.2.1', '1.10.2.1'); // 0 - * compareVersions('1.10.2.1', '1.0800.2'); // -1 - * compareVersions('1.10.2.1', '1.10', true); // 0 - * - * @param {String} versionA versions versions to compare - * @param {String} versionB versions versions to compare - * @param {boolean} [isLoose] enable loose comparison - * @return {Number} comparison result: -1 when versionA is lower, - * 1 when versionA is bigger, 0 when both equal - */ - /* eslint consistent-return: 1 */ - static compareVersions(t, n, r = !1) { - const i = se.getVersionPrecision(t), o = se.getVersionPrecision(n); - let s = Math.max(i, o), a = 0; - const u = se.map([t, n], (c) => { - const l = s - se.getVersionPrecision(c), f = c + new Array(l + 1).join(".0"); - return se.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] < u[1][s]) - return -1; } - } - /** - * Array::map polyfill - * - * @param {Array} arr - * @param {Function} iterator - * @return {Array} - */ - static map(t, n) { - const r = []; - let i; - if (Array.prototype.map) - return Array.prototype.map.call(t, n); - for (i = 0; i < t.length; i += 1) - r.push(n(t[i])); - return r; - } - /** - * Array::find polyfill - * - * @param {Array} arr - * @param {Function} predicate - * @return {Array} - */ - static find(t, n) { - let r, i; - if (Array.prototype.find) - return Array.prototype.find.call(t, n); - for (r = 0, i = t.length; r < i; r += 1) { - const o = t[r]; - if (n(o, r)) - return o; + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } } - } - /** - * Object::assign polyfill - * - * @param {Object} obj - * @param {Object} ...objs - * @return {Object} - */ - static assign(t, ...n) { - const r = t; - let i, o; - if (Object.assign) - return Object.assign(t, ...n); - for (i = 0, o = n.length; i < o; i += 1) { - const s = n[i]; - typeof s == "object" && s !== null && Object.keys(s).forEach((u) => { - r[u] = s[u]; - }); + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); } - return t; - } - /** - * Get short version/alias for a browser name - * - * @example - * getBrowserAlias('Microsoft Edge') // edge - * - * @param {string} browserName - * @return {string} - */ - static getBrowserAlias(t) { - return IT[t]; + u((r = r.apply(e, t || [])).next()); + }); +}, qd = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; } - /** - * Get short version/alias for a browser name - * - * @example - * getBrowserAlias('edge') // Microsoft Edge - * - * @param {string} browserAlias - * @return {string} - */ - static getBrowserTypeByAlias(t) { - return Qg[t] || ""; + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; } -} -const qe = /version\/(\d+(\.?_?\d+)+)/i, NT = [ - /* Googlebot */ - { - test: [/googlebot/i], - describe(e) { - const t = { - name: "Googlebot" - }, n = se.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - /* Opera < 13.0 */ - { - test: [/opera/i], - describe(e) { - const t = { - name: "Opera" - }, n = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - /* Opera > 13.0 */ - { - test: [/opr\/|opios/i], - describe(e) { - const t = { - name: "Opera" - }, n = se.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/SamsungBrowser/i], - describe(e) { - const t = { - name: "Samsung Internet for Android" - }, n = se.getFirstMatch(qe, e) || se.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 = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/MZBrowser/i], - describe(e) { - const t = { - name: "MZ Browser" - }, n = se.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/focus/i], - describe(e) { - const t = { - name: "Focus" - }, n = se.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/swing/i], - describe(e) { - const t = { - name: "Swing" - }, n = se.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/coast/i], - describe(e) { - const t = { - name: "Opera Coast" - }, n = se.getFirstMatch(qe, e) || se.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 = se.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/yabrowser/i], - describe(e) { - const t = { - name: "Yandex Browser" - }, n = se.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/ucbrowser/i], - describe(e) { - const t = { - name: "UC Browser" - }, n = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/Maxthon|mxios/i], - describe(e) { - const t = { - name: "Maxthon" - }, n = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/epiphany/i], - describe(e) { - const t = { - name: "Epiphany" - }, n = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/puffin/i], - describe(e) { - const t = { - name: "Puffin" - }, n = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/sleipnir/i], - describe(e) { - const t = { - name: "Sleipnir" - }, n = se.getFirstMatch(qe, e) || se.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 = se.getFirstMatch(qe, e) || se.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/micromessenger/i], - describe(e) { - const t = { - name: "WeChat" - }, n = se.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e) || se.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 = se.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/msie|trident/i], - describe(e) { - const t = { - name: "Internet Explorer" - }, n = se.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/\sedg\//i], - describe(e) { - const t = { - name: "Microsoft Edge" - }, n = se.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 = se.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/vivaldi/i], - describe(e) { - const t = { - name: "Vivaldi" - }, n = se.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/seamonkey/i], - describe(e) { - const t = { - name: "SeaMonkey" - }, n = se.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/sailfish/i], - describe(e) { - const t = { - name: "Sailfish" - }, n = se.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 = se.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/phantom/i], - describe(e) { - const t = { - name: "PhantomJS" - }, n = se.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/slimerjs/i], - describe(e) { - const t = { - name: "SlimerJS" - }, n = se.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 = se.getFirstMatch(qe, e) || se.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 = se.getFirstMatch(qe, e) || se.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 = se.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; +}, sE = globalThis && globalThis.__read || function(e, t) { + var n = typeof Symbol == "function" && e[Symbol.iterator]; + if (!n) + return e; + var r = n.call(e), o, i = [], s; + try { + for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (a) { + s = { error: a }; + } finally { + try { + o && !o.done && (n = r.return) && n.call(r); + } finally { + if (s) + throw s.error; } - }, - { - test: [/tizen/i], - describe(e) { - const t = { - name: "Tizen" - }, n = se.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/qupzilla/i], - describe(e) { - const t = { - name: "QupZilla" - }, n = se.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/firefox|iceweasel|fxios/i], - describe(e) { - const t = { - name: "Firefox" - }, n = se.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 = se.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/MiuiBrowser/i], - describe(e) { - const t = { - name: "Miui" - }, n = se.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - { - test: [/chromium/i], - describe(e) { - const t = { - name: "Chromium" - }, n = se.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e) || se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - { - test: [/chrome|crios|crmo/i], - describe(e) { - const t = { - name: "Chrome" - }, n = se.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 = se.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - /* Android Browser */ - { - 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 = se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - /* PlayStation 4 */ - { - test: [/playstation 4/i], - describe(e) { - const t = { - name: "PlayStation 4" - }, n = se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - /* Safari */ - { - test: [/safari|applewebkit/i], - describe(e) { - const t = { - name: "Safari" - }, n = se.getFirstMatch(qe, e); - return n && (t.version = n), t; - } - }, - /* Something else */ - { - test: [/.*/i], - describe(e) { - const t = /^(.*)\/(.*) /, n = /^(.*)\/(.*)[ \t]\((.*)/, i = e.search("\\(") !== -1 ? n : t; - return { - name: se.getFirstMatch(i, e), - version: se.getSecondMatch(i, e) - }; - } - } -], TT = [ - /* Roku */ - { - test: [/Roku\/DVP/], - describe(e) { - const t = se.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, e); - return { - name: mt.Roku, - version: t - }; - } - }, - /* Windows Phone */ - { - test: [/windows phone/i], - describe(e) { - const t = se.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e); - return { - name: mt.WindowsPhone, - version: t - }; - } - }, - /* Windows */ - { - test: [/windows /i], - describe(e) { - const t = se.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e), n = se.getWindowsVersionName(t); - return { - name: mt.Windows, - version: t, - versionName: n - }; - } - }, - /* Firefox on iPad */ - { - test: [/Macintosh(.*?) FxiOS(.*?)\//], - describe(e) { - const t = { - name: mt.iOS - }, n = se.getSecondMatch(/(Version\/)(\d[\d.]+)/, e); - return n && (t.version = n), t; - } - }, - /* macOS */ - { - test: [/macintosh/i], - describe(e) { - const t = se.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e).replace(/[_\s]/g, "."), n = se.getMacOSVersionName(t), r = { - name: mt.MacOS, - version: t - }; - return n && (r.versionName = n), r; - } - }, - /* iOS */ - { - test: [/(ipod|iphone|ipad)/i], - describe(e) { - const t = se.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e).replace(/[_\s]/g, "."); - return { - name: mt.iOS, - version: t - }; - } - }, - /* Android */ - { - test(e) { - const t = !e.test(/like android/i), n = e.test(/android/i); - return t && n; - }, - describe(e) { - const t = se.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e), n = se.getAndroidVersionName(t), r = { - name: mt.Android, - version: t - }; - return n && (r.versionName = n), r; - } - }, - /* WebOS */ - { - test: [/(web|hpw)[o0]s/i], - describe(e) { - const t = se.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e), n = { - name: mt.WebOS - }; - return t && t.length && (n.version = t), n; - } - }, - /* BlackBerry */ - { - test: [/blackberry|\bbb\d+/i, /rim\stablet/i], - describe(e) { - const t = se.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e) || se.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e) || se.getFirstMatch(/\bbb(\d+)/i, e); - return { - name: mt.BlackBerry, - version: t - }; - } - }, - /* Bada */ - { - test: [/bada/i], - describe(e) { - const t = se.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e); - return { - name: mt.Bada, - version: t - }; - } - }, - /* Tizen */ - { - test: [/tizen/i], - describe(e) { - const t = se.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e); - return { - name: mt.Tizen, - version: t - }; - } - }, - /* Linux */ - { - test: [/linux/i], - describe() { - return { - name: mt.Linux - }; - } - }, - /* Chrome OS */ - { - test: [/CrOS/], - describe() { - return { - name: mt.ChromeOS - }; - } - }, - /* Playstation 4 */ - { - test: [/PlayStation 4/], - describe(e) { - const t = se.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e); - return { - name: mt.PlayStation4, - version: t - }; - } - } -], jT = [ - /* Googlebot */ - { - test: [/googlebot/i], - describe() { - return { - type: "bot", - vendor: "Google" - }; - } - }, - /* Huawei */ - { - test: [/huawei/i], - describe(e) { - const t = se.getFirstMatch(/(can-l01)/i, e) && "Nova", n = { - type: nt.mobile, - vendor: "Huawei" - }; - return t && (n.model = t), n; - } - }, - /* Nexus Tablet */ - { - test: [/nexus\s*(?:7|8|9|10).*/i], - describe() { - return { - type: nt.tablet, - vendor: "Nexus" - }; - } - }, - /* iPad */ - { - test: [/ipad/i], - describe() { - return { - type: nt.tablet, - vendor: "Apple", - model: "iPad" - }; - } - }, - /* Firefox on iPad */ - { - test: [/Macintosh(.*?) FxiOS(.*?)\//], - describe() { - return { - type: nt.tablet, - vendor: "Apple", - model: "iPad" - }; - } - }, - /* Amazon Kindle Fire */ - { - test: [/kftt build/i], - describe() { - return { - type: nt.tablet, - vendor: "Amazon", - model: "Kindle Fire HD 7" - }; - } - }, - /* Another Amazon Tablet with Silk */ - { - test: [/silk/i], - describe() { - return { - type: nt.tablet, - vendor: "Amazon" - }; - } - }, - /* Tablet */ - { - test: [/tablet(?! pc)/i], - describe() { - return { - type: nt.tablet - }; - } - }, - /* iPod/iPhone */ - { - test(e) { - const t = e.test(/ipod|iphone/i), n = e.test(/like (ipod|iphone)/i); - return t && !n; - }, - describe(e) { - const t = se.getFirstMatch(/(ipod|iphone)/i, e); - return { - type: nt.mobile, - vendor: "Apple", - model: t - }; - } - }, - /* Nexus Mobile */ - { - test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], - describe() { - return { - type: nt.mobile, - vendor: "Nexus" - }; - } - }, - /* Mobile */ - { - test: [/[^-]mobi/i], - describe() { - return { - type: nt.mobile - }; - } - }, - /* BlackBerry */ - { - test(e) { - return e.getBrowserName(!0) === "blackberry"; - }, - describe() { - return { - type: nt.mobile, - vendor: "BlackBerry" - }; - } - }, - /* Bada */ - { - test(e) { - return e.getBrowserName(!0) === "bada"; - }, - describe() { - return { - type: nt.mobile - }; - } - }, - /* Windows Phone */ - { - test(e) { - return e.getBrowserName() === "windows phone"; - }, - describe() { - return { - type: nt.mobile, - vendor: "Microsoft" - }; - } - }, - /* Android Tablet */ - { - test(e) { - const t = Number(String(e.getOSVersion()).split(".")[0]); - return e.getOSName(!0) === "android" && t >= 3; - }, - describe() { - return { - type: nt.tablet - }; - } - }, - /* Android Mobile */ - { - test(e) { - return e.getOSName(!0) === "android"; - }, - describe() { - return { - type: nt.mobile - }; - } - }, - /* desktop */ - { - test(e) { - return e.getOSName(!0) === "macos"; - }, - describe() { - return { - type: nt.desktop, - vendor: "Apple" - }; - } - }, - /* Windows */ - { - test(e) { - return e.getOSName(!0) === "windows"; - }, - describe() { - return { - type: nt.desktop - }; - } - }, - /* Linux */ - { - test(e) { - return e.getOSName(!0) === "linux"; - }, - describe() { - return { - type: nt.desktop - }; - } - }, - /* PlayStation 4 */ - { - test(e) { - return e.getOSName(!0) === "playstation 4"; - }, - describe() { - return { - type: nt.tv - }; - } - }, - /* Roku */ - { - test(e) { - return e.getOSName(!0) === "roku"; - }, - describe() { - return { - type: nt.tv - }; - } - } -], ST = [ - /* EdgeHTML */ - { - test(e) { - return e.getBrowserName(!0) === "microsoft edge"; - }, - describe(e) { - if (/\sedg\//i.test(e)) - return { - name: mn.Blink - }; - const n = se.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e); - return { - name: mn.EdgeHTML, - version: n - }; - } - }, - /* Trident */ - { - test: [/trident/i], - describe(e) { - const t = { - name: mn.Trident - }, n = se.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - /* Presto */ - { - test(e) { - return e.test(/presto/i); - }, - describe(e) { - const t = { - name: mn.Presto - }, n = se.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - /* Gecko */ - { - test(e) { - const t = e.test(/gecko/i), n = e.test(/like gecko/i); - return t && !n; - }, - describe(e) { - const t = { - name: mn.Gecko - }, n = se.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - }, - /* Blink */ - { - test: [/(apple)?webkit\/537\.36/i], - describe() { - return { - name: mn.Blink - }; - } - }, - /* WebKit */ - { - test: [/(apple)?webkit/i], - describe(e) { - const t = { - name: mn.WebKit - }, n = se.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e); - return n && (t.version = n), t; - } - } -]; -class wf { - /** - * Create instance of Parser - * - * @param {String} UA User-Agent string - * @param {Boolean} [skipParsing=false] parser can skip parsing in purpose of performance - * improvements if you need to make a more particular parsing - * like {@link Parser#parseBrowser} or {@link Parser#parsePlatform} - * - * @throw {Error} in case of empty UA String - * - * @constructor - */ - 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(); - } - /** - * Get UserAgent string of current Parser instance - * @return {String} User-Agent String of the current object - * - * @public - */ - getUA() { - return this._ua; - } - /** - * Test a UA string for a regexp - * @param {RegExp} regex - * @return {Boolean} - */ - test(t) { - return t.test(this._ua); - } - /** - * Get parsed browser object - * @return {Object} - */ - parseBrowser() { - this.parsedResult.browser = {}; - const t = se.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.browser = t.describe(this.getUA())), this.parsedResult.browser; - } - /** - * Get parsed browser object - * @return {Object} - * - * @public - */ - getBrowser() { - return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser(); - } - /** - * Get browser's name - * @return {String} Browser's name or an empty string - * - * @public - */ - getBrowserName(t) { - return t ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || ""; - } - /** - * Get browser's version - * @return {String} version of browser - * - * @public - */ - getBrowserVersion() { - return this.getBrowser().version; - } - /** - * Get OS - * @return {Object} - * - * @example - * this.getOS(); - * { - * name: 'macOS', - * version: '10.11.12' - * } - */ - getOS() { - return this.parsedResult.os ? this.parsedResult.os : this.parseOS(); - } - /** - * Parse OS and save it to this.parsedResult.os - * @return {*|{}} - */ - parseOS() { - this.parsedResult.os = {}; - const t = se.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.os = t.describe(this.getUA())), this.parsedResult.os; - } - /** - * Get OS name - * @param {Boolean} [toLowerCase] return lower-cased value - * @return {String} name of the OS — macOS, Windows, Linux, etc. - */ - getOSName(t) { - const { name: n } = this.getOS(); - return t ? String(n).toLowerCase() || "" : n || ""; - } - /** - * Get OS version - * @return {String} full version with dots ('10.11.12', '5.6', etc) - */ - getOSVersion() { - return this.getOS().version; - } - /** - * Get parsed platform - * @return {{}} - */ - getPlatform() { - return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform(); - } - /** - * Get platform name - * @param {Boolean} [toLowerCase=false] - * @return {*} - */ - getPlatformType(t = !1) { - const { type: n } = this.getPlatform(); - return t ? String(n).toLowerCase() || "" : n || ""; - } - /** - * Get parsed platform - * @return {{}} - */ - parsePlatform() { - this.parsedResult.platform = {}; - const t = se.find(jT, (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; - } - /** - * Get parsed engine - * @return {{}} - */ - getEngine() { - return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine(); - } - /** - * Get engines's name - * @return {String} Engines's name or an empty string - * - * @public - */ - getEngineName(t) { - return t ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || ""; - } - /** - * Get parsed platform - * @return {{}} - */ - parseEngine() { - this.parsedResult.engine = {}; - const t = se.find(ST, (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 full information about the browser - * @returns {Parser} - */ - parse() { - return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this; - } - /** - * Get parsed result - * @return {ParsedResult} - */ - getResult() { - return se.assign({}, this.parsedResult); - } - /** - * Check if parsed browser matches certain conditions - * - * @param {Object} checkTree It's one or two layered object, - * which can include a platform or an OS on the first layer - * and should have browsers specs on the bottom-laying layer - * - * @returns {Boolean|undefined} Whether the browser satisfies the set conditions or not. - * Returns `undefined` when the browser is no described in the checkTree object. - * - * @example - * const browser = Bowser.getParser(window.navigator.userAgent); - * if (browser.satisfies({chrome: '>118.01.1322' })) - * // or with os - * if (browser.satisfies({windows: { chrome: '>118.01.1322' } })) - * // or with platforms - * if (browser.satisfies({desktop: { chrome: '>118.01.1322' } })) - */ - 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 = se.find(a, (l) => this.isOS(l)); - if (u) { - const l = this.satisfies(n[u]); - if (l !== void 0) - return l; - } - const c = se.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 = se.find(a, (c) => this.isBrowser(c, !0)); - if (u !== void 0) - return this.compareVersion(i[u]); - } - } - /** - * Check if the browser name equals the passed string - * @param browserName The string to compare with the browser name - * @param [includingAlias=false] The flag showing whether alias will be included into comparison - * @returns {boolean} - */ - isBrowser(t, n = !1) { - const r = this.getBrowserName().toLowerCase(); - let i = t.toLowerCase(); - const o = se.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( - se.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 anything? Check if the browser is called "anything", - * the OS called "anything" or the platform called "anything" - * @param {String} anything - * @param [includingAlias=false] The flag showing whether alias will be included into comparison - * @returns {Boolean} - */ - is(t, n = !1) { - return this.isBrowser(t, n) || this.isOS(t) || this.isPlatform(t); - } - /** - * Check if any of the given values satisfies this.is(anything) - * @param {String[]} anythings - * @returns {Boolean} - */ - 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 bT { - /** - * Creates a {@link Parser} instance - * - * @param {String} UA UserAgent string - * @param {Boolean} [skipParsing=false] Will make the Parser postpone parsing until you ask it - * explicitly. Same as `skipParsing` for {@link Parser}. - * @returns {Parser} - * @throws {Error} when UA is not a String - * - * @example - * const parser = Bowser.getParser(window.navigator.userAgent); - * const result = parser.getResult(); - */ - static getParser(t, n = !1) { - if (typeof t != "string") - throw new Error("UserAgent should be a string"); - return new wf(t, n); - } - /** - * Creates a {@link Parser} instance and runs {@link Parser.getResult} immediately - * - * @param UA - * @return {ParsedResult} - * - * @example - * const result = Bowser.parse(window.navigator.userAgent); - */ - static parse(t) { - return new wf(t).getResult(); - } - static get BROWSER_MAP() { - return Qg; - } - static get ENGINE_MAP() { - return mn; - } - static get OS_MAP() { - return mt; - } - static get PLATFORMS_MAP() { - return nt; - } -} -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 ? bT.parse(window.navigator.userAgent) : void 0, i = [ - // sdk-metadata - ["aws-sdk-js", n], - // os-metadata - ["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], - // language-metadata - // ECMAScript edition doesn't matter in JS. - ["lang/js"], - // browser vendor and version. - ["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 xT(e) { - var t, n, r = {}; - if (e = e.replace(/^\?/, ""), e) - try { - for (var i = Rt(e.split("&")), o = i.next(); !o.done; o = i.next()) { - var s = o.value, a = cr(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 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 = xT(s)), { - hostname: n, - port: i ? parseInt(i) : void 0, - protocol: o, - path: r, - query: a - }; -}, LT = function(e) { - var t; - 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 }); -}, _T = 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; -}, kT = function(e) { - return Ne(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)]; - } - }); - }); -}, zT = function(e) { - if (!e.region) - throw new Error("Region is missing"); - return we(we({}, e), { region: PT(e.region) }); -}, PT = function(e) { - if (typeof e == "string") { - var t = Promise.resolve(e); - return function() { - return t; - }; - } - return 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, Rr.isInstance(i) && (o = i.body, s = i.headers, o && Object.keys(s).map(function(l) { - return l.toLowerCase(); - }).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 UT = { - step: "build", - tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], - name: "contentLengthMiddleware", - override: !0 -}, FT = function(e) { - return { - applyToStack: function(t) { - t.add(RT(e.bodyLengthChecker), UT); - } - }; -}; -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 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)]; - }); - }); - }; - }; -}, QT = { - name: "hostHeaderMiddleware", - step: "build", - priority: "low", - tags: ["HOST"], - override: !0 -}, BT = function(e) { - return { - applyToStack: function(t) { - t.add(YT(e), QT); - } - }; -}, $T = function() { - return function(e, t) { - return function(n) { - return Ne(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 = Ng(c, ["$metadata"]), s.info({ - clientName: r, - commandName: i, - input: o(n.input), - output: a(f), - metadata: l - })), [2, u]) : [2, u]; - } - }); - }); - }; - }; -}, WT = { - name: "loggerMiddleware", - tags: ["LOGGER"], - step: "initialize", - override: !0 -}, VT = function(e) { - return { - applyToStack: function(t) { - t.add($T(), WT); - } - }; -}, 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, - 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 -}, 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 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, Af(e, t.secretAccessKey, t.accessKeyId)]; - case 1: - 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, qg]), c = u.next(), h.label = 3; - case 3: - return c.done ? [3, 6] : (l = c.value, [4, Af(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 - /*endfinally*/ - ]; - case 9: - return [2, fo[s] = a]; - } - }); - }); -}; -function Af(e, t, n) { - var r = new e(t); - return r.update(n), r.digest(); -} -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 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 }; - } finally { - try { - u && !u.done && (i = a.return) && i.call(a); - } finally { - if (r) - throw r.error; - } - } - return s; -} -function cj(e) { - var t, n, r = e.query, i = r === void 0 ? {} : r, o = [], s = {}, a = function(f) { - if (f.toLowerCase() === XT) - return "continue"; - o.push(f); - var d = i[f]; - 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 { - for (var u = Rt(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 lj = function(e) { - return typeof ArrayBuffer == "function" && e instanceof ArrayBuffer || Object.prototype.toString.call(e) === "[object ArrayBuffer]"; -}; -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; - return Ee(this, function(f) { - switch (f.label) { - case 0: - try { - for (i = Rt(Object.keys(n)), o = i.next(); !o.done; o = i.next()) - if (s = o.value, s.toLowerCase() === ru) - 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) || 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, oj]; - } - }); - }); -} -function fj(e, t) { - var n, r; - e = e.toLowerCase(); - try { - for (var i = Rt(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 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 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) ? at(i) : i, r)); - }, {}); -} -function hj(e, t) { - var n, r, i; - t === void 0 && (t = {}); - 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(); - 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 we(we({}, e), { - headers: s, - query: u - }); -} -function If(e) { - var t, n; - 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; - ZT.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 gj(e) { - return pj(e).toISOString().replace(/\.\d{3}Z$/, "Z"); -} -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 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 = 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, I, N, Q, z, H, W, b; - return Ee(this, function(k) { - switch (k.label) { - case 0: - return r = n.signingDate, i = r === void 0 ? /* @__PURE__ */ 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 = 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) - ], W = this.createCanonicalRequest, b = [j, I], [4, ca(t, this.sha256)]); - case 5: - return [4, z.apply(this, H.concat([W.apply(this, b.concat([k.sent()]))]))]; - case 6: - return N[Q] = k.sent(), [2, j]; - } - }); - }); - }, e.prototype.sign = function(t, n) { - return Ne(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 ? /* @__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, 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 = N.sent(), N.label = 3; - case 3: - 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 = N.sent(), v = new this.sha256(), v.update(r), j = Sr, [4, v.digest()]; - case 5: - return w = j.apply(void 0, [N.sent()]), I = [ - ij, - 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 ? /* @__PURE__ */ new Date() : i, s = r.signingRegion, a = r.signingService; - return Ne(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 = 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: - 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 ? /* @__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, I; - return Ee(this, function(N) { - switch (N.label) { - case 0: - return [4, this.credentialProvider()]; - case 1: - return l = N.sent(), u == null ? [3, 2] : (d = u, [3, 4]); - case 2: - return [4, this.regionProvider()]; - case 3: - d = N.sent(), N.label = 4; - case 4: - 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 = 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 I = N.sent(), g.headers[Vg] = sa + " " + ("Credential=" + l.accessKeyId + "/" + v + ", ") + ("SignedHeaders=" + Nf(j) + ", ") + ("Signature=" + I), [2, g]; - } - }); - }); - }, e.prototype.createCanonicalRequest = function(t, n, r) { - var i = Object.keys(n).sort(); - return t.method + ` -` + this.getCanonicalPath(t) + ` -` + cj(t) + ` -` + i.map(function(o) { - return o + ":" + n[o]; - }).join(` -`) + ` - -` + i.join(";") + ` -` + r; - }, e.prototype.createStringToSign = function(t, n, r) { - return Ne(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, sa + ` -` + t + ` -` + n + ` -` + 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 Ne(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 uj(this.sha256, t, r, n, i || this.service); - }, e; - }() -), ho = function(e) { - var t = gj(e).replace(/[\-:]/g, ""); - return { - longDate: t, - shortDate: t.substr(0, 8) - }; -}, Nf = function(e) { - return Object.keys(e).sort().join(";"); -}, yj = function(e) { - if (typeof e == "string") { - var t = Promise.resolve(e); - return function() { - return t; - }; - } else - return e; -}, mj = function(e) { - if (typeof e == "object") { - var t = Promise.resolve(e); - return function() { - return t; - }; - } else - return e; -}; -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) { - case 0: - return [4, e.regionInfoProvider(l)]; - case 1: - return [2, [f.sent() || {}, l]]; - } - }); - }); - }).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 Mj({ - credentials: r, - region: e.signingRegion, - service: e.signingName, - sha256: u, - uriEscapePath: o - }); - }); - }, we(we({}, e), { - systemClockOffset: a, - signingEscapePath: o, - credentials: r, - signer: c - }); -} -function la(e) { - if (typeof e == "object") { - var t = Promise.resolve(e); - return function() { - return t; - }; - } - return e; -} -function wj(e) { - return we(we({}, e), { customUserAgent: typeof e.customUserAgent == "string" ? [[e.customUserAgent]] : e.customUserAgent }); -} -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() { - var i, o, s, a, u, c, l, f; - return Ee(this, function(d) { - switch (d.label) { - case 0: - 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(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(Tf), e.runtime !== "browser" && c && (o[fa] = o[fa] ? o[fa] + " " + c : c), [2, t(we(we({}, r), { request: i }))]; - } - }); - }); - }; - }; -}, 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(Aj, "_"); - }).join("/"); -}, Ij = { - name: "getUserAgentMiddleware", - step: "build", - priority: "low", - tags: ["SET_USER_AGENT", "USER_AGENT"], - override: !0 -}, Nj = function(e) { - return { - applyToStack: function(t) { - t.add(Ej(e), Ij); - } - }; -}, Vo = function() { - var e = [], t = [], n = /* @__PURE__ */ new Set(), r = function(l) { - return l.sort(function(f, d) { - return jf[d.step] - jf[f.step] || Sf[d.priority || "normal"] - Sf[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, we({}, f)); - }), t.forEach(function(f) { - l.addRelativeTo(f.middleware, we({}, 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 = we(we({}, h), { before: [], after: [] }); - p.name && (d[p.name] = p), l.push(p); - }), t.forEach(function(h) { - var p = we(we({}, 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 = we({ 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 = we({ 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(Vo()); - }, - 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(Vo()); - return f.use(l), f; - }, - applyToStack: s, - resolve: function(l, f) { - var d, g; - try { - for (var h = Rt(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; -}, jf = { - initialize: 5, - serialize: 4, - build: 3, - finalizeRequest: 2, - deserialize: 1 -}, Sf = { - high: 3, - normal: 2, - low: 1 -}, Tj = ( - /** @class */ - function() { - function e(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); - if (o) - s(t).then(function(a) { - return o(null, a.output); - }, function(a) { - return o(a); - }).catch( - // prevent any errors thrown in the callback from triggering an - // unhandled promise rejection - function() { - } - ); - else - return s(t).then(function(a) { - return a.output; - }); - }, e.prototype.destroy = function() { - this.config.requestHandler.destroy && this.config.requestHandler.destroy(); - }, e; - }() -), Gg = ( - /** @class */ - function() { - function e() { - this.middlewareStack = Vo(); - } - return e; - }() -), 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; -}; -Ho.prototype = Object.create(String.prototype, { - constructor: { - value: Ho, - enumerable: !1, - writable: !0, - configurable: !0 - } -}); -Object.setPrototypeOf(Ho, String); -(function(e) { - ec(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; -})(Ho); -var jj = function(e, t) { - return function(n, r) { - return function(i) { - return Ne(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 - }]; - } - }); - }); - }; - }; -}, Sj = function(e, t) { - return function(n, r) { - return function(i) { - return Ne(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(we(we({}, i), { request: o }))]; - } - }); - }); - }; - }; -}, bj = { - name: "deserializerMiddleware", - step: "deserialize", - tags: ["DESERIALIZER"], - override: !0 -}, Cj = { - name: "serializerMiddleware", - step: "serialize", - tags: ["SERIALIZER"], - override: !0 -}; -function Jg(e, t, n) { - return { - applyToStack: function(r) { - r.add(jj(e, n), bj), r.add(Sj(e, t), Cj); - } - }; -} -var Dn = new Ht("CognitoCredentials"), xj = new Promise(function(e, t) { - if (!gn().isBrowser) - return Dn.debug("not in the browser, directly resolved"), e(); - var n = window.gapi && window.gapi.auth2 ? window.gapi.auth2 : null; - if (n) - return Dn.debug("google api already loaded"), e(); - setTimeout(function() { - return e(); - }, 2e3); -}), Oj = ( - /** @class */ - function() { - function e() { - this.initialized = !1, this.refreshGoogleToken = this.refreshGoogleToken.bind(this), this._refreshGoogleTokenImpl = this._refreshGoogleTokenImpl.bind(this); - } - return e.prototype.refreshGoogleToken = function() { - return Ne(this, void 0, void 0, function() { - return Ee(this, function(t) { - switch (t.label) { - case 0: - return this.initialized ? [3, 2] : (Dn.debug("need to wait for the Google SDK loaded"), [4, xj]); - case 1: - t.sent(), this.initialized = !0, Dn.debug("finish waiting"), t.label = 2; - case 2: - return [2, this._refreshGoogleTokenImpl()]; - } - }); - }); - }, e.prototype._refreshGoogleTokenImpl = function() { - 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 || (Dn.debug("google Auth undefined"), r(new Kn("google Auth undefined"))); - var o = i.currentUser.get(); - 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 Kn("Failed to reload google auth response")); - })) : r(new Kn("User is not signed in with Google")); - }).catch(function(i) { - Dn.debug("Failed to refresh google token", i), r(new Kn("Failed to refresh google token")); - }); - }) : (Dn.debug("no gapi auth2 available"), Promise.reject("no gapi auth2 available")); - }, e; - }() -), Bn = new Ht("CognitoCredentials"), Lj = new Promise(function(e, t) { - if (!gn().isBrowser) - return Bn.debug("not in the browser, directly resolved"), e(); - var n = window.FB; - if (n) - return Bn.debug("FB SDK already loaded"), e(); - setTimeout(function() { - return e(); - }, 2e3); -}), _j = ( - /** @class */ - function() { - function e() { - this.initialized = !1, this.refreshFacebookToken = this.refreshFacebookToken.bind(this), this._refreshFacebookTokenImpl = this._refreshFacebookTokenImpl.bind(this); - } - return e.prototype.refreshFacebookToken = function() { - return Ne(this, void 0, void 0, function() { - return Ee(this, function(t) { - switch (t.label) { - case 0: - return this.initialized ? [3, 2] : (Bn.debug("need to wait for the Facebook SDK loaded"), [4, Lj]); - case 1: - t.sent(), this.initialized = !0, Bn.debug("finish waiting"), t.label = 2; - case 2: - return [2, this._refreshFacebookTokenImpl()]; - } - }); - }); - }, e.prototype._refreshFacebookTokenImpl = function() { - var t = null; - if (gn().isBrowser && (t = window.FB), !t) { - var n = "no fb sdk available"; - 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"; - 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"; - Bn.debug(s), i(new Kn(s)); - } - r({ - token: u, - expires_at: f - }); - } - }, { scope: "public_profile,email" }); - }); - }, e; - }() -), kj = new Oj(), zj = new _j(), zn = {}, Pj = ( - /** @class */ - function() { - function e() { - } - return e.setItem = function(t, n) { - return zn[t] = n, zn[t]; - }, e.getItem = function(t) { - return Object.prototype.hasOwnProperty.call(zn, t) ? zn[t] : void 0; - }, e.removeItem = function(t) { - return delete zn[t]; - }, e.clear = function() { - return zn = {}, zn; - }, e; - }() -), 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 = Pj; - } - } - return e.prototype.getStorage = function() { - return this.storageWindow; - }, e; - }() -); -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", - 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" -}, Qj = "./dist/cjs/index.js", Bj = "./types/index.d.ts", $j = "./dist/es/index.js", Wj = { - "./runtimeConfig": "./runtimeConfig.browser" -}, Vj = !1, Hj = { - "@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" -}, qj = { - "@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" -}, Kj = { - node: ">=10.0.0" -}, Gj = { - "<4.0": { - "types/*": [ - "types/ts3.4/*" - ] - } -}, Jj = { - name: "AWS SDK for JavaScript Team", - url: "https://aws.amazon.com/javascript/" -}, 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" -}, tS = { - name: Rj, - description: Uj, - version: Fj, - scripts: Yj, - main: Qj, - types: Bj, - module: $j, - browser: Wj, - "react-native": { - "./runtimeConfig": "./runtimeConfig.native" - }, - sideEffects: Vj, - dependencies: Hj, - devDependencies: qj, - engines: Kj, - typesVersions: Gj, - author: Jj, - license: Zj, - homepage: Xj, - repository: eS -}; -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", - "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" -]), 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": - 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: - sS.has(e) && (n = { - hostname: bf.replace("{region}", e), - partition: "aws" - }), aS.has(e) && (n = { - hostname: nS.replace("{region}", e), - partition: "aws-cn" - }), uS.has(e) && (n = { - hostname: rS.replace("{region}", e), - partition: "aws-iso" - }), cS.has(e) && (n = { - hostname: iS.replace("{region}", e), - partition: "aws-iso-b" - }), lS.has(e) && (n = { - hostname: oS.replace("{region}", e), - partition: "aws-us-gov" - }), n === void 0 && (n = { - hostname: bf.replace("{region}", e), - partition: "aws" - }); } - return Promise.resolve(ie({ signingService: "cognito-identity" }, n)); -}, Cf = { - apiVersion: "2014-06-30", - disableHostPrefix: !1, - logger: {}, - regionInfoProvider: fS, - serviceId: "Cognito Identity", - 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: 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) { - rc(t, e); - function t(n) { - 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; - }(Tj) -), xf; -(function(e) { - e.AUTHENTICATED_ROLE = "AuthenticatedRole", e.DENY = "Deny"; -})(xf || (xf = {})); -var Of; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Of || (Of = {})); -var Lf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Lf || (Lf = {})); -var _f; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(_f || (_f = {})); -var kf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(kf || (kf = {})); -var zf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(zf || (zf = {})); -var Pf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Pf || (Pf = {})); -var Rf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Rf || (Rf = {})); -var Uf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Uf || (Uf = {})); -var Ff; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Ff || (Ff = {})); -var Yf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Yf || (Yf = {})); -var Qf; -(function(e) { - e.ACCESS_DENIED = "AccessDenied", e.INTERNAL_SERVER_ERROR = "InternalServerError"; -})(Qf || (Qf = {})); -var Bf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Bf || (Bf = {})); -var $f; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})($f || ($f = {})); -var Wf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Wf || (Wf = {})); -var Vf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Vf || (Vf = {})); -var Hf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Hf || (Hf = {})); -var qf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(qf || (qf = {})); -var Kf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Kf || (Kf = {})); -var Gf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Gf || (Gf = {})); -var iu; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(iu || (iu = {})); -var Jf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Jf || (Jf = {})); -var ou; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(ou || (ou = {})); -var Zf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Zf || (Zf = {})); -var su; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(su || (su = {})); -var au; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(au || (au = {})); -var Xf; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Xf || (Xf = {})); -var ed; -(function(e) { - e.CONTAINS = "Contains", e.EQUALS = "Equals", e.NOT_EQUAL = "NotEqual", e.STARTS_WITH = "StartsWith"; -})(ed || (ed = {})); -var td; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(td || (td = {})); -var nd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(nd || (nd = {})); -var rd; -(function(e) { - e.RULES = "Rules", e.TOKEN = "Token"; -})(rd || (rd = {})); -var id; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(id || (id = {})); -var od; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(od || (od = {})); -var sd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(sd || (sd = {})); -var ad; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(ad || (ad = {})); -var ud; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(ud || (ud = {})); -var cd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(cd || (cd = {})); -var ld; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(ld || (ld = {})); -var fd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(fd || (fd = {})); -var dd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(dd || (dd = {})); -var hd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(hd || (hd = {})); -var gd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(gd || (gd = {})); -var pd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(pd || (pd = {})); -var Md; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Md || (Md = {})); -var yd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(yd || (yd = {})); -var md; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(md || (md = {})); -var vd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(vd || (vd = {})); -var wd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(wd || (wd = {})); -var Dd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Dd || (Dd = {})); -var Ad; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Ad || (Ad = {})); -var Ed; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Ed || (Ed = {})); -var Id; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Id || (Id = {})); -var Nd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Nd || (Nd = {})); -var Td; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Td || (Td = {})); -var jd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(jd || (jd = {})); -var Sd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, t); - }; -})(Sd || (Sd = {})); -var bd; -(function(e) { - e.filterSensitiveLog = function(t) { - return ie({}, 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(AS(e)), [2, ap(t, n, "/", void 0, r)]; - }); - }); -}, 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(ES(e)), [2, ap(t, n, "/", void 0, r)]; - }); - }); -}, 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, yS(e, t)] : [4, Ts(e.body, t)]; - case 1: - return n = o.sent(), r = {}, r = TS(n), i = ie({ $metadata: Be(e) }, r), [2, Promise.resolve(i)]; - } - }); - }); -}, 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 = [ie({}, e)], v = {}, [4, Ts(e.body, t)]; - case 1: - 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": - 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 = ie.apply(void 0, [ie.apply(void 0, a.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; - case 4: - return u = [{}], [4, ep(n)]; - case 5: - 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, wS(n)]; - case 7: - 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, tp(n)]; - case 9: - 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, np(n)]; - case 11: - 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, rp(n)]; - case 13: - 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, ip(n)]; - case 15: - 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, op(n)]; - case 17: - 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 = 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))]; - } - }); - }); -}, 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, vS(e, t)] : [4, Ts(e.body, t)]; - case 1: - return n = o.sent(), r = {}, r = jS(n), i = ie({ $metadata: Be(e) }, r), [2, Promise.resolve(i)]; - } - }); - }); -}, 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) { + return i; +}, Au = function(e) { + return Hd(void 0, void 0, void 0, function() { + var t, n, r, o, i, s, a, c, u, l; + return qd(this, function(f) { + switch (f.label) { case 0: - return r = [ie({}, e)], v = {}, [4, Ts(e.body, t)]; - case 1: - 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": - 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 = ie.apply(void 0, [ie.apply(void 0, a.concat([w.sent()])), { name: o, $metadata: Be(e) }]), [3, 19]; - case 4: - return u = [{}], [4, ep(n)]; - case 5: - 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, tp(n)]; - case 7: - 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, DS(n)]; - case 9: - 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, np(n)]; - case 11: - 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, rp(n)]; - case 13: - 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, ip(n)]; - case 15: - 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, op(n)]; - case 17: - 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 = 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))]; - } - }); - }); -}, 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 = NS(n), i = ie({ name: "ExternalServiceException", $fault: "client", $metadata: Be(e) }, r), [2, i]; - }); - }); -}, 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 = SS(n), i = ie({ name: "InternalErrorException", $fault: "server", $metadata: Be(e) }, r), [2, i]; - }); - }); -}, 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 = bS(n), i = ie({ name: "InvalidIdentityPoolConfigurationException", $fault: "client", $metadata: Be(e) }, r), [2, i]; - }); - }); -}, 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 = CS(n), i = ie({ name: "InvalidParameterException", $fault: "client", $metadata: Be(e) }, r), [2, i]; - }); - }); -}, 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 = xS(n), i = ie({ name: "LimitExceededException", $fault: "client", $metadata: Be(e) }, r), [2, i]; - }); - }); -}, 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 = OS(n), i = ie({ name: "NotAuthorizedException", $fault: "client", $metadata: Be(e) }, r), [2, i]; - }); - }); -}, 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 = LS(n), i = ie({ name: "ResourceConflictException", $fault: "client", $metadata: Be(e) }, r), [2, i]; + return !e || e.statusCode < 300 ? [ + 2 + /*return*/ + ] : [4, Eu(e)]; + case 1: + return t = f.sent(), n = function(d) { + var p = sE(d.toString().split(/[\,\:]+/), 1), M = p[0]; + return M.includes("#") ? M.split("#")[1] : M; + }, r = n((c = (a = (s = e.headers["x-amzn-errortype"]) !== null && s !== void 0 ? s : t.code) !== null && a !== void 0 ? a : t.__type) !== null && c !== void 0 ? c : "UnknownError"), o = (l = (u = t.message) !== null && u !== void 0 ? u : t.Message) !== null && l !== void 0 ? l : "Unknown error", i = new Error(o), [2, Object.assign(i, { + name: r, + $metadata: Zo(e) + })]; + } }); }); -}, 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 = _S(n), i = ie({ name: "ResourceNotFoundException", $fault: "client", $metadata: Be(e) }, r), [2, i]; +}, Eu = function(e) { + return Hd(void 0, void 0, void 0, function() { + var t; + return qd(this, function(n) { + switch (n.label) { + case 0: + if (!e.body) + throw new Error("Missing response payload"); + return [4, e.body.json()]; + case 1: + return t = n.sent(), [2, Object.assign(t, { + $metadata: Zo(e) + })]; + } }); }); -}, 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 = kS(n), i = ie({ name: "TooManyRequestsException", $fault: "client", $metadata: Be(e) }, r), [2, i]; +}, aE = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); }); -}, 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 = eN(r, 2), s = o[0], a = o[1]; - return a === null ? n : ie(ie({}, 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 - }; -}, NS = function(e, t) { - return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 - }; -}, TS = 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 - }; -}, jS = function(e, t) { - return { - IdentityId: e.IdentityId !== void 0 && e.IdentityId !== null ? e.IdentityId : void 0 - }; -}, SS = function(e, t) { - return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 - }; -}, bS = 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 - }; -}, xS = function(e, t) { - return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 - }; -}, OS = function(e, t) { - return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 - }; -}, LS = function(e, t) { +}, uE = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, cE = "cognito-identity", lE = function(e) { + var t = e.region; return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 + url: new URL("https://cognito-identity.".concat(t, ".").concat(OA(t))) }; -}, _S = function(e, t) { - return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 +}, fE = function() { + return function(e, t) { + return function(r) { + return aE(this, void 0, void 0, function() { + return uE(this, function(o) { + return r.headers["cache-control"] = "no-store", [2, e(r)]; + }); + }); + }; }; -}, kS = function(e, t) { +}, Kd = Vd(iE, [fE]), Tu = { + service: cE, + endpointResolver: lE, + retryDecider: KA(Au), + computeDelay: $A, + userAgentValue: Du() +}; +Pd(function() { + Tu.userAgentValue = Du(); +}); +var Gd = function(e) { return { - message: e.message !== void 0 && e.message !== null ? e.message : void 0 + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSCognitoIdentityService.".concat(e) }; -}, Be = function(e) { - var t; +}, Jd = function(e, t, n) { + var r = e.url; 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"] + headers: t, + url: r, + body: n, + method: "POST" }; -}, zS = function(e, t) { - return e === void 0 && (e = new Uint8Array()), e instanceof Uint8Array ? Promise.resolve(e) : t.streamCollector(e) || Promise.resolve(new Uint8Array()); -}, PS = function(e, t) { - return zS(e, t).then(function(n) { - return t.utf8Encoder(n); - }); -}, 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) { - 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 Rr(l)]; - } - }); - }); -}, Ts = function(e, t) { - return PS(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(); +}, ei = globalThis && globalThis.__assign || function() { + return ei = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, ei.apply(this, arguments); +}, dE = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); }); - }, 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) : ""; -}, uu = ( - /** @class */ - function(e) { - rc(t, e); - function t(n) { - var r = ( - // Start section: command_constructor - e.call(this) || this - ); - return r.input = n, r; - } - return t.prototype.resolveMiddleware = function(n, r, i) { - 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: 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 gS(n, r); - }, t.prototype.deserialize = function(n, r) { - return MS(n, r); - }, t; - }(Gg) -), wi = ( - /** @class */ - function(e) { - rc(t, e); - function t(n) { - var r = ( - // Start section: command_constructor - e.call(this) || this - ); - return r.input = n, r; - } - return t.prototype.resolveMiddleware = function(n, r, i) { - 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: 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 pS(n, r); - }, t.prototype.deserialize = function(n, r) { - return mS(n, r); - }, t; - }(Gg) -), js = ( - /** @class */ - function(e) { - ec(t, e); - function t(n, r) { - r === void 0 && (r = !0); - var i = e.call(this, n) || this; - return i.tryNextLink = r, i; + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } } - 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 = cr(r, 2), o = i[0], s = i[1]; - return n[o] = s, n; - }, {}); + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); }); -} -function li(e) { - var t = this; - return function() { - return Ne(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) { +}, hE = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, Xd = function(e, t, n, r) { + return function(o, i) { + return dE(void 0, void 0, void 0, function() { + var s, a, c, u; + return hE(this, function(l) { + switch (l.label) { case 0: - return f = (l = e.client).send, d = uu.bind, h = { - CustomRoleArn: e.customRoleArn, - IdentityId: e.identityId - }, e.logins ? [4, cp(e.logins)] : [3, 2]; + return s = ei(ei({}, r), o), [4, s.endpointResolver(s, i)]; case 1: - return g = p.sent(), [3, 3]; + return a = l.sent(), [4, t(i, a)]; case 2: - g = void 0, p.label = 3; + return c = l.sent(), [4, e(c, ei({}, s))]; case 3: - return [4, f.apply(l, [new (d.apply(uu, [void 0, (h.Logins = g, h)]))()])]; + return u = l.sent(), [4, n(u)]; case 4: - 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, - sessionToken: c, - expiration: s - }]; + return [2, l.sent()]; } }); }); }; -} -function RS() { - throw new js("Response from Amazon Cognito contained no access key ID"); -} -function US() { - throw new js("Response from Amazon Cognito contained no credentials"); -} -function FS() { - throw new js("Response from Amazon Cognito contained no secret key"); -} -var ha = "IdentityIds", YS = ( - /** @class */ - 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(ha, { keyPath: "id" }); - }; - }); - }, e.prototype.withObjectStore = function(t, n) { - return this.getDb().then(function(r) { - 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(ha))); - }).catch(function(o) { - throw r.close(), o; - }); - }); - }, e; - }() -), QS = ( - /** @class */ - function() { - function e(t) { - t === void 0 && (t = {}), this.store = t; +}, gE = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, pE = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, ME = function(e, t) { + var n = Gd("GetId"), r = JSON.stringify(e); + return Jd(t, n, r); +}, yE = function(e) { + return gE(void 0, void 0, void 0, function() { + var t, n; + return pE(this, function(r) { + switch (r.label) { + case 0: + return e.statusCode >= 300 ? [4, Au(e)] : [3, 2]; + case 1: + throw t = r.sent(), t; + case 2: + return [4, Eu(e)]; + case 3: + return n = r.sent(), [2, { + IdentityId: n.IdentityId, + $metadata: Zo(e) + }]; + } + }); + }); +}, ki = Xd(Kd, ME, yE, Tu), mE = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); + }); + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } } - 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; - }() -), BS = new QS(); -function $S() { - return typeof self == "object" && self.indexedDB ? new YS() : typeof window == "object" && window.localStorage ? window.localStorage : BS; -} -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, I, N; - return Ee(this, function(Q) { - switch (Q.label) { + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); + }); +}, vE = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); + }; + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { case 0: - return h = f, h ? [4, i.getItem(f)] : [3, 2]; case 1: - h = Q.sent(), Q.label = 2; - case 2: - return g = h, g ? [3, 7] : (w = (v = o).send, j = wi.bind, N = { - AccountId: n, - IdentityPoolId: a - }, u ? [4, cp(u)] : [3, 4]); - case 3: - return I = Q.sent(), [3, 5]; + i = u; + break; case 4: - I = void 0, Q.label = 5; + return n.label++, { value: u[1], done: !1 }; case 5: - return [4, w.apply(v, [new (j.apply(wi, [void 0, (N.Logins = I, N)]))()])]; - case 6: - p = Q.sent().IdentityId, m = p === void 0 ? VS() : p, g = m, f && Promise.resolve(i.setItem(f, g)).catch(function() { - }), Q.label = 7; + n.label++, o = u[1], u = [0]; + continue; case 7: - return d = li({ - client: o, - customRoleArn: s, - logins: u, - identityId: g - }), [2, d()]; + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; } - }); + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, wE = function(e, t) { + var n = Gd("GetCredentialsForIdentity"), r = JSON.stringify(e); + return Jd(t, n, r); +}, DE = function(e) { + return mE(void 0, void 0, void 0, function() { + var t, n; + return vE(this, function(r) { + switch (r.label) { + case 0: + return e.statusCode >= 300 ? [4, Au(e)] : [3, 2]; + case 1: + throw t = r.sent(), t; + case 2: + return [4, Eu(e)]; + case 3: + return n = r.sent(), [2, { + IdentityId: n.IdentityId, + Credentials: IE(n.Credentials), + $metadata: Zo(e) + }]; + } }); + }); +}, IE = function(e) { + return e === void 0 && (e = {}), { + AccessKeyId: e.AccessKeyId, + SecretKey: e.SecretKey, + SessionToken: e.SessionToken, + Expiration: new Date(e.Expiration * 1e3) }; - return function() { - return d().catch(function(g) { - return Ne(t, void 0, void 0, function() { - return Ee(this, function(h) { - throw f && Promise.resolve(i.removeItem(f)).catch(function() { - }), g; - }); - }); +}, zi = Xd(Kd, wE, DE, Tu), mo = globalThis && globalThis.__assign || function() { + return mo = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, mo.apply(this, arguments); +}, ot = globalThis && globalThis.__awaiter || function(e, t, n, r) { + function o(i) { + return i instanceof n ? i : new n(function(s) { + s(i); }); - }; -} -function VS() { - throw new js("Response from Amazon Cognito contained no identity ID"); -} -function ga(e) { - var t = new hS({ - region: e.region, - customUserAgent: fI() + } + return new (n || (n = Promise))(function(i, s) { + function a(l) { + try { + u(r.next(l)); + } catch (f) { + s(f); + } + } + function c(l) { + try { + u(r.throw(l)); + } catch (f) { + s(f); + } + } + function u(l) { + l.done ? i(l.value) : o(l.value).then(a, c); + } + u((r = r.apply(e, t || [])).next()); }); - return t.middlewareStack.add(function(n, r) { - return function(i) { - return n(HS(i)); +}, st = globalThis && globalThis.__generator || function(e, t) { + var n = { label: 0, sent: function() { + if (i[0] & 1) + throw i[1]; + return i[1]; + }, trys: [], ops: [] }, r, o, i, s; + return s = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this; + }), s; + function a(u) { + return function(l) { + return c([u, l]); }; - }, { - step: "build", - name: "cacheControlMiddleWare" - }), t; -} -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"), 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 = ( + } + function c(u) { + if (r) + throw new TypeError("Generator is already executing."); + for (; s && (s = 0, u[0] && (n = 0)), n; ) + try { + if (r = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) + return i; + switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, o = u[1], u = [0]; + continue; + case 7: + u = n.ops.pop(), n.trys.pop(); + continue; + default: + if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + n.label = i[1], i = u; + break; + } + if (i && n.label < i[2]) { + n.label = i[2], n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (l) { + u = [6, l], o = 0; + } finally { + r = i = 0; + } + if (u[0] & 5) + throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; + } +}, De = new Ut("Credentials"), AE = 50 * 60 * 1e3, EE = "CognitoIdentityId-", TE = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", NE = function(e, t, n) { + Kt.dispatch("core", { event: e, data: t, message: n }, "Credentials", TE); +}, jE = ( /** @class */ function() { function e(t) { - this._gettingCredPromise = null, this._refreshHandlers = {}, this.Auth = void 0, this.configure(t), this._refreshHandlers.google = kj.refreshGoogleToken, this._refreshHandlers.facebook = zj.refreshFacebookToken; + this._gettingCredPromise = null, this._refreshHandlers = {}, this.Auth = void 0, this.configure(t), this._refreshHandlers.google = jA.refreshGoogleToken, this._refreshHandlers.facebook = bA.refreshFacebookToken; } return e.prototype.getModuleName = function() { return "Credentials"; @@ -19605,156 +16196,167 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G 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 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; + return n && (this._refreshHandlers = mo(mo({}, this._refreshHandlers), n)), this._storage = this._config.storage, this._storage || (this._storage = new $d().getStorage()), this._storageSync = Promise.resolve(), typeof this._storage.sync == "function" && (this._storageSync = this._storage.sync()), NE("credentials_configured", null, "Credentials has been configured successfully"), this._config; }, e.prototype.get = function() { - return je.debug("getting credentials"), this._pickupCredentials(); + return De.debug("getting credentials"), this._pickupCredentials(); }, e.prototype._getCognitoIdentityIdStorageKey = function(t) { - return "" + KS + t; + return "".concat(EE).concat(t); }, e.prototype._pickupCredentials = function() { - 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; + return De.debug("picking up credentials"), !this._gettingCredPromise || !this._gettingCredPromise.isPending() ? (De.debug("getting new cred promise"), this._gettingCredPromise = VI(this._keepAlive())) : De.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; - return Ee(this, function(c) { - switch (c.label) { + return ot(this, void 0, void 0, function() { + var t, n, r, o, i, s, a, c; + return st(this, function(u) { + switch (u.label) { 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 ? tc.Auth : n, !r || typeof r.currentUserCredentials != "function") + if (De.debug("checking if credentials exists and not expired"), t = this._credentials, t && !this._isExpired(t) && !this._isPastTTL()) + return De.debug("credentials not changed and not expired, directly return"), [2, Promise.resolve(t)]; + if (De.debug("need to get a new credential or refresh the existing one"), n = this.Auth, r = n === void 0 ? mu.Auth : n, !r || typeof r.currentUserCredentials != "function") return [2, this._setCredentialsForGuest()]; if (!(!this._isExpired(t) && this._isPastTTL())) return [3, 6]; - je.debug("ttl has passed but token is not yet expired"), c.label = 1; + De.debug("ttl has passed but token is not yet expired"), u.label = 1; case 1: - return c.trys.push([1, 5, , 6]), [4, r.currentUserPoolUser()]; + return u.trys.push([1, 5, , 6]), [4, r.currentUserPoolUser()]; case 2: - return i = c.sent(), [4, r.currentSession()]; + return o = u.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); + return i = u.sent(), s = i.refreshToken, a = new Promise(function(l, f) { + o.refreshSession(s, function(d, p) { + return d ? f(d) : l(p); }); }), [4, a]; case 4: - return c.sent(), [3, 6]; + return u.sent(), [3, 6]; case 5: - return u = c.sent(), je.debug("Error attempting to refreshing the session", u), [3, 6]; + return c = u.sent(), De.debug("Error attempting to refreshing the session", c), [3, 6]; case 6: return [2, r.currentUserCredentials()]; } }); }); }, e.prototype.refreshFederatedToken = function(t) { - je.debug("Getting federated credentials"); - var n = t.provider, r = t.user, i = t.token, o = t.identity_id, s = t.expires_at; + De.debug("Getting federated credentials"); + var n = t.provider, r = t.user, o = t.token, i = t.identity_id, s = t.expires_at; s = new Date(s).getFullYear() === 1970 ? s * 1e3 : s; var a = this; - return je.debug("checking if federated jwt token expired"), s > (/* @__PURE__ */ new Date()).getTime() ? (je.debug("token not expired"), this._setCredentialsFromFederation({ + return De.debug("checking if federated jwt token expired"), s > (/* @__PURE__ */ new Date()).getTime() ? (De.debug("token not expired"), this._setCredentialsFromFederation({ provider: n, - token: i, + token: o, user: r, - identity_id: o, + identity_id: i, expires_at: s - })) : a._refreshHandlers[n] && typeof a._refreshHandlers[n] == "function" ? (je.debug("getting refreshed jwt token from federation provider"), this._providerRefreshWithRetry({ + })) : a._refreshHandlers[n] && typeof a._refreshHandlers[n] == "function" ? (De.debug("getting refreshed jwt token from federation provider"), this._providerRefreshWithRetry({ refreshHandler: a._refreshHandlers[n], provider: n, user: r - })) : (je.debug("no refresh handler for provider:", n), this.clear(), Promise.reject("no refresh handler for provider")); + })) : (De.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 GI(r, [], s).then(function(a) { - return je.debug("refresh federated token sucessfully", a), n._setCredentialsFromFederation({ - provider: i, + var n = this, r = t.refreshHandler, o = t.provider, i = t.user, s = 10 * 1e3; + return XI(r, [], s).then(function(a) { + return De.debug("refresh federated token sucessfully", a), n._setCredentialsFromFederation({ + provider: o, token: a.token, - user: o, + user: i, 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(), je.debug("refresh federated token failed", a), Promise.reject("refreshing federation token failed: " + a); + var c = typeof a == "string" && a.toLowerCase().lastIndexOf("network error", a.length) === 0; + return c || n.clear(), De.debug("refresh federated token failed", a), Promise.reject("refreshing federation token failed: " + a); }); }, e.prototype._isExpired = function(t) { if (!t) - return je.debug("no credentials for expiration check"), !0; - je.debug("are these credentials expired?", t); + return De.debug("no credentials for expiration check"), !0; + De.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 Ne(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) { + return ot(this, void 0, void 0, function() { + var n, r, o, i, s, a, c, u, l, f, d = this; + return st(this, function(p) { + switch (p.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, 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")]); + return De.debug("setting credentials for guest"), !((t = this._config) === null || t === void 0) && t.identityPoolId || (this._config = Object.assign({}, this._config, Bd(this._config || {}).Auth)), n = this._config, r = n.identityPoolId, o = n.region, i = n.mandatorySignIn, s = n.identityPoolRegion, i ? [2, Promise.reject("cannot get guest credentials when mandatory signin enabled")] : r ? !s && !o ? (De.debug("region is not configured for getting the credentials"), [2, Promise.reject("region is not configured for getting the credentials")]) : (c = this, [4, this._getGuestIdentityId()]) : (De.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 = ga({ - region: s || i - }), l = void 0, a ? (f = { - identityId: a, - client: c - }, 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) { + return a = c._identityId = p.sent(), u = { region: s ?? o }, l = function() { + return ot(d, void 0, void 0, function() { + var M, y; + return st(this, function(m) { + switch (m.label) { case 0: - return [4, c.send(new wi({ + return a ? [3, 2] : [4, ki(u, { IdentityPoolId: r - }))]; + })]; case 1: - return p = w.sent().IdentityId, this._identityId = p, m = { - client: c, - identityId: p - }, v = li(m), [2, v()]; + M = m.sent().IdentityId, this._identityId = M, m.label = 2; + case 2: + return [4, zi(u, { + IdentityId: this._identityId + })]; + case 3: + return y = m.sent().Credentials, [2, { + identityId: this._identityId, + accessKeyId: y.AccessKeyId, + secretAccessKey: y.SecretKey, + sessionToken: y.SessionToken, + expiration: y.Expiration + }]; } }); }); - }, l = d().catch(function(p) { - return Ne(g, void 0, void 0, function() { - return Ee(this, function(m) { - throw p; + }, f = l().catch(function(M) { + return ot(d, void 0, void 0, function() { + return st(this, function(y) { + throw M; }); }); - })), [2, this._loadCredentials(l, "guest", !1, null).then(function(p) { - return p; - }).catch(function(p) { - return Ne(g, void 0, void 0, function() { - var m, v = this; - return Ee(this, function(w) { + }), [2, this._loadCredentials(f, "guest", !1, null).then(function(M) { + return M; + }).catch(function(M) { + return ot(d, void 0, void 0, function() { + var y, m = this; + return st(this, function(w) { switch (w.label) { case 0: - return p.name === "ResourceNotFoundException" && p.message === "Identity '" + a + "' not found." ? (je.debug("Failed to load guest credentials"), [4, this._removeGuestIdentityId()]) : [3, 2]; + return M.name === "ResourceNotFoundException" && M.message === "Identity '".concat(a, "' not found.") ? (De.debug("Failed to load guest credentials"), [4, this._removeGuestIdentityId()]) : [3, 2]; case 1: - return w.sent(), m = function() { - return Ne(v, void 0, void 0, function() { - var j, I, N; - return Ee(this, function(Q) { - switch (Q.label) { + return w.sent(), y = function() { + return ot(m, void 0, void 0, function() { + var D, N; + return st(this, function(E) { + switch (E.label) { case 0: - return [4, c.send(new wi({ + return [4, ki(u, { IdentityPoolId: r - }))]; + })]; case 1: - return j = Q.sent().IdentityId, this._identityId = j, I = { - client: c, - identityId: j - }, N = li(I), [2, N()]; + return D = E.sent().IdentityId, this._identityId = D, [4, zi(u, { + IdentityId: D + })]; + case 2: + return N = E.sent().Credentials, [2, { + identityId: D, + accessKeyId: N.AccessKeyId, + secretAccessKey: N.SecretKey, + sessionToken: N.SessionToken, + expiration: N.Expiration + }]; } }); }); - }, l = m().catch(function(j) { - return Ne(v, void 0, void 0, function() { - return Ee(this, function(I) { - throw j; + }, f = y().catch(function(D) { + return ot(m, void 0, void 0, function() { + return st(this, function(N) { + throw D; }); }); - }), [2, this._loadCredentials(l, "guest", !1, null)]; + }), [2, this._loadCredentials(f, "guest", !1, null)]; case 2: - return [2, p]; + return [2, M]; } }); }); @@ -19763,120 +16365,135 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G }); }); }, e.prototype._setCredentialsFromFederation = function(t) { - var n = t.provider, r = t.token, i = t.identity_id, o = { + var n = this, r = t.provider, o = t.token, i = t.identity_id, s = { google: "accounts.google.com", facebook: "graph.facebook.com", amazon: "www.amazon.com", developer: "cognito-identity.amazonaws.com" - }, s = o[n] || n; - if (!s) + }, a = s[r] || r; + if (!a) 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 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 = ga({ - region: f || l - }), g = void 0; - if (i) { - var h = { - identityId: i, - logins: a, - client: d - }; - g = li(h)(); - } else { - var h = { - logins: a, - identityPoolId: c, - client: d - }; - g = WS(h)(); - } - return this._loadCredentials(g, "federated", !0, t); + var c = {}; + c[a] = o; + var u = this._config, l = u.identityPoolId, f = u.region, d = u.identityPoolRegion; + if (!l) + return De.debug("No Cognito Federated Identity pool provided"), Promise.reject("No Cognito Federated Identity pool provided"); + if (!d && !f) + return De.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials"); + var p = { region: d ?? f }, M = function() { + return ot(n, void 0, void 0, function() { + var m, w; + return st(this, function(D) { + switch (D.label) { + case 0: + return i ? [3, 2] : [4, ki(p, { + IdentityPoolId: l, + Logins: c + })]; + case 1: + m = D.sent().IdentityId, i = m, D.label = 2; + case 2: + return [4, zi(p, { + IdentityId: i, + Logins: c + })]; + case 3: + return w = D.sent().Credentials, [2, { + identityId: i, + accessKeyId: w.AccessKeyId, + secretAccessKey: w.SecretKey, + sessionToken: w.SessionToken, + expiration: w.Expiration + }]; + } + }); + }); + }, y = M().catch(function(m) { + return ot(n, void 0, void 0, function() { + return st(this, function(w) { + throw m; + }); + }); + }); + return this._loadCredentials(y, "federated", !0, t); }, e.prototype._setCredentialsFromSession = function(t) { var n = this; - je.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; + De.debug("set credentials from session"); + var r = t.getIdToken().getJwtToken(), o = this._config, i = o.region, s = o.userPoolId, a = o.identityPoolId, c = o.identityPoolRegion; if (!a) - return je.debug("No Cognito Federated Identity pool provided"), Promise.reject("No Cognito Federated Identity pool provided"); - if (!u && !o) - 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 = ga({ - region: u || o - }), d = function() { - return Ne(n, void 0, void 0, function() { - var h, p, m, v, w, j, I, N, Q, z; - return Ee(this, function(H) { - switch (H.label) { + return De.debug("No Cognito Federated Identity pool provided"), Promise.reject("No Cognito Federated Identity pool provided"); + if (!c && !i) + return De.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials"); + var u = "cognito-idp." + i + ".amazonaws.com/" + s, l = {}; + l[u] = r; + var f = { region: c ?? i }, d = function() { + return ot(n, void 0, void 0, function() { + var M, y, m, w, D, N, E, T, F, _; + return st(this, function(G) { + switch (G.label) { case 0: return [4, this._getGuestIdentityId()]; case 1: - return h = H.sent(), h ? [3, 3] : [4, f.send(new wi({ + return M = G.sent(), M ? [3, 3] : [4, ki(f, { IdentityPoolId: a, Logins: l - }))]; + })]; case 2: - m = H.sent().IdentityId, p = m, H.label = 3; + m = G.sent().IdentityId, y = m, G.label = 3; case 3: - return [4, f.send(new uu({ - IdentityId: h || p, + return [4, zi(f, { + IdentityId: M || y, Logins: l - }))]; + })]; case 4: - 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]; + return w = G.sent(), D = w.Credentials, N = D.AccessKeyId, E = D.Expiration, T = D.SecretKey, F = D.SessionToken, _ = w.IdentityId, this._identityId = _, M ? (De.debug("The guest identity ".concat(M, " has been successfully linked to the logins")), M === _ && De.debug("The guest identity ".concat(M, " has become the primary identity")), [4, this._removeGuestIdentityId()]) : [3, 6]; case 5: - H.sent(), H.label = 6; + G.sent(), G.label = 6; case 6: return [2, { - accessKeyId: j, - secretAccessKey: N, - sessionToken: Q, - expiration: I, - identityId: z + accessKeyId: N, + secretAccessKey: T, + sessionToken: F, + expiration: E, + identityId: _ }]; } }); }); - }, g = d().catch(function(h) { - return Ne(n, void 0, void 0, function() { - return Ee(this, function(p) { - throw h; + }, p = d().catch(function(M) { + return ot(n, void 0, void 0, function() { + return st(this, function(y) { + throw M; }); }); }); - 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 Ne(o, void 0, void 0, function() { - var l, f, d, g, h; - return Ee(this, function(p) { - switch (p.label) { + return this._loadCredentials(p, "userPool", !0, null); + }, e.prototype._loadCredentials = function(t, n, r, o) { + var i = this, s = this; + return new Promise(function(a, c) { + t.then(function(u) { + return ot(i, void 0, void 0, function() { + var l, f, d, p, M; + return st(this, function(y) { + switch (y.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() + 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; + if (De.debug("Load credentials successfully", u), this._identityId && !u.identityId && (u.identityId = this._identityId), s._credentials = u, s._credentials.authenticated = r, s._credentials_source = n, s._nextCredentialsRefresh = (/* @__PURE__ */ new Date()).getTime() + AE, n === "federated") { + l = Object.assign({ id: this._credentials.identityId }, o.user), f = o.provider, d = o.token, p = o.expires_at, M = o.identity_id; try { this._storage.setItem("aws-amplify-federatedInfo", JSON.stringify({ provider: f, token: d, user: l, - expires_at: g, - identity_id: h + expires_at: p, + identity_id: M })); } catch (m) { - je.debug("Failed to put federated info into auth storage", m); + De.debug("Failed to put federated info into auth storage", m); } } - return n !== "guest" ? [3, 2] : [4, this._setGuestIdentityId(c.identityId)]; + return n !== "guest" ? [3, 2] : [4, this._setGuestIdentityId(u.identityId)]; case 1: - p.sent(), p.label = 2; + y.sent(), y.label = 2; case 2: return a(s._credentials), [ 2 @@ -19885,28 +16502,28 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G } }); }); - }).catch(function(c) { - if (c) { - je.debug("Failed to load credentials", t), je.debug("Error loading credentials", c), u(c); + }).catch(function(u) { + if (u) { + De.debug("Failed to load credentials", t), De.debug("Error loading credentials", u), c(u); return; } }); }); }, e.prototype.set = function(t, n) { - return n === "session" ? this._setCredentialsFromSession(t) : n === "federation" ? this._setCredentialsFromFederation(t) : n === "guest" ? this._setCredentialsForGuest() : (je.debug("no source specified for setting credentials"), Promise.reject("invalid source")); + return n === "session" ? this._setCredentialsFromSession(t) : n === "federation" ? this._setCredentialsFromFederation(t) : n === "guest" ? this._setCredentialsForGuest() : (De.debug("no source specified for setting credentials"), Promise.reject("invalid source")); }, e.prototype.clear = function() { - return Ne(this, void 0, void 0, function() { - return Ee(this, function(t) { - return this._credentials = null, this._credentials_source = null, je.debug("removing aws-amplify-federatedInfo from storage"), this._storage.removeItem("aws-amplify-federatedInfo"), [ + return ot(this, void 0, void 0, function() { + return st(this, function(t) { + return this._credentials = null, this._credentials_source = null, De.debug("removing aws-amplify-federatedInfo from storage"), this._storage.removeItem("aws-amplify-federatedInfo"), [ 2 /*return*/ ]; }); }); }, e.prototype._getGuestIdentityId = function() { - return Ne(this, void 0, void 0, function() { + return ot(this, void 0, void 0, function() { var t, n; - return Ee(this, function(r) { + return st(this, function(r) { switch (r.label) { case 0: t = this._config.identityPoolId, r.label = 1; @@ -19915,7 +16532,7 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G case 2: return r.sent(), [2, this._storage.getItem(this._getCognitoIdentityIdStorageKey(t))]; case 3: - return n = r.sent(), je.debug("Failed to get the cached guest identityId", n), [3, 4]; + return n = r.sent(), De.debug("Failed to get the cached guest identityId", n), [3, 4]; case 4: return [ 2 @@ -19925,18 +16542,18 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G }); }); }, e.prototype._setGuestIdentityId = function(t) { - return Ne(this, void 0, void 0, function() { + return ot(this, void 0, void 0, function() { var n, r; - return Ee(this, function(i) { - switch (i.label) { + return st(this, function(o) { + switch (o.label) { case 0: - n = this._config.identityPoolId, i.label = 1; + n = this._config.identityPoolId, o.label = 1; case 1: - return i.trys.push([1, 3, , 4]), [4, this._storageSync]; + return o.trys.push([1, 3, , 4]), [4, this._storageSync]; case 2: - return i.sent(), this._storage.setItem(this._getCognitoIdentityIdStorageKey(n), t), [3, 4]; + return o.sent(), this._storage.setItem(this._getCognitoIdentityIdStorageKey(n), t), [3, 4]; case 3: - return r = i.sent(), je.debug("Failed to cache guest identityId", r), [3, 4]; + return r = o.sent(), De.debug("Failed to cache guest identityId", r), [3, 4]; case 4: return [ 2 @@ -19946,10 +16563,10 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G }); }); }, e.prototype._removeGuestIdentityId = function() { - return Ne(this, void 0, void 0, function() { + return ot(this, void 0, void 0, function() { var t; - return Ee(this, function(n) { - return t = this._config.identityPoolId, je.debug("removing " + this._getCognitoIdentityIdStorageKey(t) + " from storage"), this._storage.removeItem(this._getCognitoIdentityIdStorageKey(t)), [ + return st(this, function(n) { + return t = this._config.identityPoolId, De.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(t), " from storage")), this._storage.removeItem(this._getCognitoIdentityIdStorageKey(t)), [ 2 /*return*/ ]; @@ -19965,40 +16582,40 @@ var je = new Ht("Credentials"), qS = 50 * 60 * 1e3, KS = "CognitoIdentityId-", G }; }, e; }() -), lp = new ZS(null); -tc.register(lp); +), Zd = new jE(null); +mu.register(Zd); /*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ -var fp = tb, Cd = nb, XS = decodeURIComponent, eb = encodeURIComponent, go = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; -function tb(e, t) { +var eh = xE, _l = CE, bE = decodeURIComponent, SE = encodeURIComponent, Ui = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; +function xE(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 || 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] = rb(l, o); + for (var n = {}, r = t || {}, o = e.split(";"), i = r.decode || bE, s = 0; s < o.length; s++) { + var a = o[s], c = a.indexOf("="); + if (!(c < 0)) { + var u = a.substring(0, c).trim(); + if (n[u] == null) { + var l = a.substring(c + 1, a.length).trim(); + l[0] === '"' && (l = l.slice(1, -1)), n[u] = OE(l, i); } } } return n; } -function nb(e, t, n) { - var r = n || {}, i = r.encode || eb; - if (typeof i != "function") +function CE(e, t, n) { + var r = n || {}, o = r.encode || SE; + if (typeof o != "function") throw new TypeError("option encode is invalid"); - if (!go.test(e)) + if (!Ui.test(e)) throw new TypeError("argument name is invalid"); - var o = i(t); - if (o && !go.test(o)) + var i = o(t); + if (i && !Ui.test(i)) throw new TypeError("argument val is invalid"); - var s = e + "=" + o; + var s = e + "=" + i; if (r.maxAge != null) { var a = r.maxAge - 0; if (isNaN(a) || !isFinite(a)) @@ -20006,12 +16623,12 @@ function nb(e, t, n) { s += "; Max-Age=" + Math.floor(a); } if (r.domain) { - if (!go.test(r.domain)) + if (!Ui.test(r.domain)) throw new TypeError("option domain is invalid"); s += "; Domain=" + r.domain; } if (r.path) { - if (!go.test(r.path)) + if (!Ui.test(r.path)) throw new TypeError("option path is invalid"); s += "; Path=" + r.path; } @@ -20021,8 +16638,8 @@ function nb(e, t, n) { s += "; Expires=" + r.expires.toUTCString(); } if (r.httpOnly && (s += "; HttpOnly"), r.secure && (s += "; Secure"), r.sameSite) { - var u = typeof r.sameSite == "string" ? r.sameSite.toLowerCase() : r.sameSite; - switch (u) { + var c = typeof r.sameSite == "string" ? r.sameSite.toLowerCase() : r.sameSite; + switch (c) { case !0: s += "; SameSite=Strict"; break; @@ -20041,73 +16658,73 @@ function nb(e, t, n) { } return s; } -function rb(e, t) { +function OE(e, t) { try { return t(e); } catch { return e; } } -function ib() { +function LE() { return typeof document == "object" && typeof document.cookie == "string"; } -function ob(e, t) { - return typeof e == "string" ? fp(e, t) : typeof e == "object" && e !== null ? e : {}; +function _E(e, t) { + return typeof e == "string" ? eh(e, t) : typeof e == "object" && e !== null ? e : {}; } -function sb(e, t) { +function kE(e, t) { return typeof t > "u" && (t = !e || e[0] !== "{" && e[0] !== "[" && e[0] !== '"'), !t; } -function xd(e, t) { +function kl(e, t) { t === void 0 && (t = {}); - var n = ab(e); - if (sb(n, t.doNotParse)) + var n = zE(e); + if (kE(n, t.doNotParse)) try { return JSON.parse(n); } catch { } return e; } -function ab(e) { +function zE(e) { return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e; } -var $n = globalThis && globalThis.__assign || function() { - return $n = Object.assign || function(e) { +var xn = globalThis && globalThis.__assign || function() { + return xn = 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]); + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); } return e; - }, $n.apply(this, arguments); -}, ub = ( + }, xn.apply(this, arguments); +}, UE = ( /** @class */ function() { function e(t, n) { var r = this; - this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.cookies = ob(t, n), new Promise(function() { - r.HAS_DOCUMENT_COOKIE = ib(); + this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.cookies = _E(t, n), new Promise(function() { + r.HAS_DOCUMENT_COOKIE = LE(); }).catch(function() { }); } return e.prototype._updateBrowserValues = function(t) { - this.HAS_DOCUMENT_COOKIE && (this.cookies = fp(document.cookie, t)); + this.HAS_DOCUMENT_COOKIE && (this.cookies = eh(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), xd(this.cookies[t], n); + return n === void 0 && (n = {}), this._updateBrowserValues(r), kl(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] = xd(this.cookies[i], t); + for (var o in this.cookies) + r[o] = kl(this.cookies[o], t); return r; }, e.prototype.set = function(t, n, r) { - var i; - 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 }); + var o; + typeof n == "object" && (n = JSON.stringify(n)), this.cookies = xn(xn({}, this.cookies), (o = {}, o[t] = n, o)), this.HAS_DOCUMENT_COOKIE && (document.cookie = _l(t, n, r)), this._emitChange({ name: t, value: n, options: r }); }, e.prototype.remove = function(t, 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 }); + var r = n = xn(xn({}, n), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 }); + this.cookies = xn({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = _l(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) { @@ -20116,18 +16733,27 @@ var $n = globalThis && globalThis.__assign || function() { }, e; }() ); -const pa = ub; -var Od = gn().isBrowser, cb = 365 * 24 * 60 * 60 * 1e3, lb = ( +const Ss = UE; +var vo = globalThis && globalThis.__assign || function() { + return vo = Object.assign || function(e) { + for (var t, n = 1, r = arguments.length; n < r; n++) { + t = arguments[n]; + for (var o in t) + Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); + } + return e; + }, vo.apply(this, arguments); +}, zl = rn().isBrowser, PE = 365 * 24 * 60 * 60 * 1e3, RE = ( /** @class */ function() { function e(t) { - 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()); + t === void 0 && (t = {}), this.cookies = new Ss(), this.store = zl ? window.localStorage : /* @__PURE__ */ Object.create(null), this.cookies = t.req ? new Ss(decodeURIComponent(t.req.headers.cookie)) : new Ss(), Object.assign(this.store, this.cookies.getAll()); } return Object.defineProperty(e.prototype, "length", { get: function() { return Object.entries(this.store).length; }, - enumerable: !0, + enumerable: !1, configurable: !0 }), e.prototype.clear = function() { var t = this; @@ -20154,7 +16780,7 @@ var Od = gn().isBrowser, cb = 365 * 24 * 60 * 60 * 1e3, lb = ( }); }, e.prototype.setItem = function(t, n) { this.setLocalItem(t, n); - var r = t.split(".").pop(), i = [ + var r = t.split(".").pop(), o = [ "LastAuthUser", "accessToken", // refreshToken originates on the client, but SSR pages won't fail when this expires @@ -20162,31 +16788,36 @@ var Od = gn().isBrowser, cb = 365 * 24 * 60 * 60 * 1e3, lb = ( "refreshToken", // Required for CognitoUserSession "idToken" + // userData is used when `Auth.currentAuthenticatedUser({ bypassCache: false })`. + // Can be persisted to speed up calls to `Auth.currentAuthenticatedUser()` + // 'userData', + // Ignoring clockDrift on the server for now, but needs testing + // 'clockDrift', ]; - i.includes(r ?? "") && this.setUniversalItem(t, n, { - expires: new Date(Date.now() + cb) + o.includes(r ?? "") && this.setUniversalItem(t, n, { + expires: new Date(Date.now() + PE) }); }, 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, we(we({}, r), { + r === void 0 && (r = {}), this.cookies.set(t, n, vo(vo({}, r), { path: "/", // `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: !(Od && window.location.hostname === "localhost") + secure: !(zl && window.location.hostname === "localhost") })); }, e; }() -); +), YE = "x-amz-user-agent"; /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Ld = /* @__PURE__ */ function() { +var Ul = /* @__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; + var r = n || {}, o = r.ValidationData, i = r.Username, s = r.Password, a = r.AuthParameters, c = r.ClientMetadata; + this.validationData = o || {}, this.authParameters = a || {}, this.clientMetadata = c || {}, this.username = i, this.password = s; } var t = e.prototype; return t.getUsername = function() { @@ -20200,16 +16831,16 @@ var Ld = /* @__PURE__ */ function() { }, t.getClientMetadata = function() { return this.clientMetadata; }, 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) { +}(), Be = {}, es = {}; +es.byteLength = BE; +es.toByteArray = WE; +es.fromByteArray = qE; +var Yt = [], It = [], FE = typeof Uint8Array < "u" ? Uint8Array : Array, xs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +for (var tr = 0, QE = xs.length; tr < QE; ++tr) + Yt[tr] = xs[tr], It[xs.charCodeAt(tr)] = tr; +It["-".charCodeAt(0)] = 62; +It["_".charCodeAt(0)] = 63; +function th(e) { var t = e.length; if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); @@ -20218,63 +16849,63 @@ function dp(e) { var r = n === t ? 0 : 4 - n % 4; return [n, r]; } -function hb(e) { - var t = dp(e), n = t[0], r = t[1]; +function BE(e) { + var t = th(e), n = t[0], r = t[1]; return (n + r) * 3 / 4 - r; } -function gb(e, t, n) { +function $E(e, t, n) { return (t + n) * 3 / 4 - n; } -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 = 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 Mb(e) { - return Gt[e >> 18 & 63] + Gt[e >> 12 & 63] + Gt[e >> 6 & 63] + Gt[e & 63]; -} -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(Mb(r)); - return i.join(""); -} -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(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 cc = {}; +function WE(e) { + var t, n = th(e), r = n[0], o = n[1], i = new FE($E(e, r, o)), s = 0, a = o > 0 ? r - 4 : r, c; + for (c = 0; c < a; c += 4) + t = It[e.charCodeAt(c)] << 18 | It[e.charCodeAt(c + 1)] << 12 | It[e.charCodeAt(c + 2)] << 6 | It[e.charCodeAt(c + 3)], i[s++] = t >> 16 & 255, i[s++] = t >> 8 & 255, i[s++] = t & 255; + return o === 2 && (t = It[e.charCodeAt(c)] << 2 | It[e.charCodeAt(c + 1)] >> 4, i[s++] = t & 255), o === 1 && (t = It[e.charCodeAt(c)] << 10 | It[e.charCodeAt(c + 1)] << 4 | It[e.charCodeAt(c + 2)] >> 2, i[s++] = t >> 8 & 255, i[s++] = t & 255), i; +} +function VE(e) { + return Yt[e >> 18 & 63] + Yt[e >> 12 & 63] + Yt[e >> 6 & 63] + Yt[e & 63]; +} +function HE(e, t, n) { + for (var r, o = [], i = t; i < n; i += 3) + r = (e[i] << 16 & 16711680) + (e[i + 1] << 8 & 65280) + (e[i + 2] & 255), o.push(VE(r)); + return o.join(""); +} +function qE(e) { + for (var t, n = e.length, r = n % 3, o = [], i = 16383, s = 0, a = n - r; s < a; s += i) + o.push(HE(e, s, s + i > a ? a : s + i)); + return r === 1 ? (t = e[n - 1], o.push( + Yt[t >> 2] + Yt[t << 4 & 63] + "==" + )) : r === 2 && (t = (e[n - 2] << 8) + e[n - 1], o.push( + Yt[t >> 10] + Yt[t >> 4 & 63] + Yt[t << 2 & 63] + "=" + )), o.join(""); +} +var Nu = {}; /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -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) +Nu.read = function(e, t, n, r, o) { + var i, s, a = o * 8 - r - 1, c = (1 << a) - 1, u = c >> 1, l = -7, f = n ? o - 1 : 0, d = n ? -1 : 1, p = e[t + f]; + for (f += d, i = p & (1 << -l) - 1, p >>= -l, l += a; l > 0; i = i * 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) + for (s = i & (1 << -l) - 1, i >>= -l, l += r; l > 0; s = s * 256 + e[t + f], f += d, l -= 8) ; - if (o === 0) - o = 1 - c; + if (i === 0) + i = 1 - u; else { - if (o === u) - return s ? NaN : (g ? -1 : 1) * (1 / 0); - s = s + Math.pow(2, r), o = o - c; + if (i === c) + return s ? NaN : (p ? -1 : 1) * (1 / 0); + s = s + Math.pow(2, r), i = i - u; } - return (g ? -1 : 1) * s * Math.pow(2, o - r); + return (p ? -1 : 1) * s * Math.pow(2, i - r); }; -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) +Nu.write = function(e, t, n, r, o, i) { + var s, a, c, u = i * 8 - o - 1, l = (1 << u) - 1, f = l >> 1, d = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = r ? 0 : i - 1, M = r ? 1 : -1, y = 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 * (c = Math.pow(2, -s)) < 1 && (s--, c *= 2), s + f >= 1 ? t += d / c : t += d * Math.pow(2, 1 - f), t * c >= 2 && (s++, c /= 2), s + f >= l ? (a = 0, s = l) : s + f >= 1 ? (a = (t * c - 1) * Math.pow(2, o), s = s + f) : (a = t * Math.pow(2, f - 1) * Math.pow(2, o), s = 0)); o >= 8; e[n + p] = a & 255, p += M, a /= 256, o -= 8) ; - for (s = s << i | a, c += i; c > 0; e[n + g] = s & 255, g += h, s /= 256, c -= 8) + for (s = s << o | a, u += o; u > 0; e[n + p] = s & 255, p += M, s /= 256, u -= 8) ; - e[n + g - h] |= p * 128; + e[n + p - M] |= y * 128; }; -var vb = {}.toString, wb = Array.isArray || function(e) { - return vb.call(e) == "[object Array]"; +var KE = {}.toString, GE = Array.isArray || function(e) { + return KE.call(e) == "[object Array]"; }; /*! * The buffer module from node.js, for the browser. @@ -20283,135 +16914,135 @@ var vb = {}.toString, wb = Array.isArray || function(e) { * @license MIT */ (function(e) { - 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() { + var t = es, n = Nu, r = GE; + e.Buffer = a, e.SlowBuffer = w, e.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT = Ft.TYPED_ARRAY_SUPPORT !== void 0 ? Ft.TYPED_ARRAY_SUPPORT : o(), e.kMaxLength = i(); + function o() { try { - var E = new Uint8Array(1); - return E.__proto__ = { __proto__: Uint8Array.prototype, foo: function() { + var A = new Uint8Array(1); + return A.__proto__ = { __proto__: Uint8Array.prototype, foo: function() { return 42; - } }, E.foo() === 42 && // typed array instances can be augmented - typeof E.subarray == "function" && // chrome 9-10 lack `subarray` - E.subarray(1, 1).byteLength === 0; + } }, A.foo() === 42 && // typed array instances can be augmented + typeof A.subarray == "function" && // chrome 9-10 lack `subarray` + A.subarray(1, 1).byteLength === 0; } catch { return !1; } } - function o() { + function i() { return a.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823; } - function s(E, y) { - if (o() < y) + function s(A, g) { + if (i() < g) throw new RangeError("Invalid typed array length"); - return a.TYPED_ARRAY_SUPPORT ? (E = new Uint8Array(y), E.__proto__ = a.prototype) : (E === null && (E = new a(y)), E.length = y), E; + return a.TYPED_ARRAY_SUPPORT ? (A = new Uint8Array(g), A.__proto__ = a.prototype) : (A === null && (A = new a(g)), A.length = g), A; } - function a(E, y, M) { + function a(A, g, h) { if (!a.TYPED_ARRAY_SUPPORT && !(this instanceof a)) - return new a(E, y, M); - if (typeof E == "number") { - if (typeof y == "string") + return new a(A, g, h); + if (typeof A == "number") { + if (typeof g == "string") throw new Error( "If encoding is specified then the first argument must be a string" ); - return f(this, E); + return f(this, A); } - return u(this, E, y, M); + return c(this, A, g, h); } - a.poolSize = 8192, a._augment = function(E) { - return E.__proto__ = a.prototype, E; + a.poolSize = 8192, a._augment = function(A) { + return A.__proto__ = a.prototype, A; }; - function u(E, y, M, A) { - if (typeof y == "number") + function c(A, g, h, I) { + if (typeof g == "number") throw new TypeError('"value" argument must not be a number'); - return typeof ArrayBuffer < "u" && y instanceof ArrayBuffer ? h(E, y, M, A) : typeof y == "string" ? d(E, y, M) : p(E, y); + return typeof ArrayBuffer < "u" && g instanceof ArrayBuffer ? M(A, g, h, I) : typeof g == "string" ? d(A, g, h) : y(A, g); } - a.from = function(E, y, M) { - return u(null, E, y, M); + a.from = function(A, g, h) { + return c(null, A, g, h); }, a.TYPED_ARRAY_SUPPORT && (a.prototype.__proto__ = Uint8Array.prototype, a.__proto__ = Uint8Array, typeof Symbol < "u" && Symbol.species && a[Symbol.species] === a && Object.defineProperty(a, Symbol.species, { value: null, configurable: !0 })); - function c(E) { - if (typeof E != "number") + function u(A) { + if (typeof A != "number") throw new TypeError('"size" argument must be a number'); - if (E < 0) + if (A < 0) throw new RangeError('"size" argument must not be negative'); } - function l(E, y, M, A) { - return c(y), y <= 0 ? s(E, y) : M !== void 0 ? typeof A == "string" ? s(E, y).fill(M, A) : s(E, y).fill(M) : s(E, y); + function l(A, g, h, I) { + return u(g), g <= 0 ? s(A, g) : h !== void 0 ? typeof I == "string" ? s(A, g).fill(h, I) : s(A, g).fill(h) : s(A, g); } - a.alloc = function(E, y, M) { - return l(null, E, y, M); + a.alloc = function(A, g, h) { + return l(null, A, g, h); }; - function f(E, y) { - if (c(y), E = s(E, y < 0 ? 0 : m(y) | 0), !a.TYPED_ARRAY_SUPPORT) - for (var M = 0; M < y; ++M) - E[M] = 0; - return E; - } - a.allocUnsafe = function(E) { - return f(null, E); - }, a.allocUnsafeSlow = function(E) { - return f(null, E); + function f(A, g) { + if (u(g), A = s(A, g < 0 ? 0 : m(g) | 0), !a.TYPED_ARRAY_SUPPORT) + for (var h = 0; h < g; ++h) + A[h] = 0; + return A; + } + a.allocUnsafe = function(A) { + return f(null, A); + }, a.allocUnsafeSlow = function(A) { + return f(null, A); }; - function d(E, y, M) { - if ((typeof M != "string" || M === "") && (M = "utf8"), !a.isEncoding(M)) + function d(A, g, h) { + if ((typeof h != "string" || h === "") && (h = "utf8"), !a.isEncoding(h)) throw new TypeError('"encoding" must be a valid string encoding'); - var A = w(y, M) | 0; - E = s(E, A); - var Y = E.write(y, M); - return Y !== A && (E = E.slice(0, Y)), E; - } - function g(E, y) { - var M = y.length < 0 ? 0 : m(y.length) | 0; - E = s(E, M); - for (var A = 0; A < M; A += 1) - E[A] = y[A] & 255; - return E; - } - function h(E, y, M, A) { - if (y.byteLength, M < 0 || y.byteLength < M) + var I = D(g, h) | 0; + A = s(A, I); + var k = A.write(g, h); + return k !== I && (A = A.slice(0, k)), A; + } + function p(A, g) { + var h = g.length < 0 ? 0 : m(g.length) | 0; + A = s(A, h); + for (var I = 0; I < h; I += 1) + A[I] = g[I] & 255; + return A; + } + function M(A, g, h, I) { + if (g.byteLength, h < 0 || g.byteLength < h) throw new RangeError("'offset' is out of bounds"); - if (y.byteLength < M + (A || 0)) + if (g.byteLength < h + (I || 0)) throw new RangeError("'length' is out of bounds"); - return M === void 0 && A === void 0 ? y = new Uint8Array(y) : A === void 0 ? y = new Uint8Array(y, M) : y = new Uint8Array(y, M, A), a.TYPED_ARRAY_SUPPORT ? (E = y, E.__proto__ = a.prototype) : E = g(E, y), E; + return h === void 0 && I === void 0 ? g = new Uint8Array(g) : I === void 0 ? g = new Uint8Array(g, h) : g = new Uint8Array(g, h, I), a.TYPED_ARRAY_SUPPORT ? (A = g, A.__proto__ = a.prototype) : A = p(A, g), A; } - function p(E, y) { - if (a.isBuffer(y)) { - var M = m(y.length) | 0; - return E = s(E, M), E.length === 0 || y.copy(E, 0, 0, M), E; + function y(A, g) { + if (a.isBuffer(g)) { + var h = m(g.length) | 0; + return A = s(A, h), A.length === 0 || g.copy(A, 0, 0, h), A; } - if (y) { - if (typeof ArrayBuffer < "u" && y.buffer instanceof ArrayBuffer || "length" in y) - return typeof y.length != "number" || de(y.length) ? s(E, 0) : g(E, y); - if (y.type === "Buffer" && r(y.data)) - return g(E, y.data); + if (g) { + if (typeof ArrayBuffer < "u" && g.buffer instanceof ArrayBuffer || "length" in g) + return typeof g.length != "number" || le(g.length) ? s(A, 0) : p(A, g); + if (g.type === "Buffer" && r(g.data)) + return p(A, g.data); } throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object."); } - function m(E) { - if (E >= o()) - throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o().toString(16) + " bytes"); - return E | 0; + function m(A) { + if (A >= i()) + throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + i().toString(16) + " bytes"); + return A | 0; } - function v(E) { - return +E != E && (E = 0), a.alloc(+E); + function w(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)) + a.isBuffer = function(g) { + return !!(g != null && g._isBuffer); + }, a.compare = function(g, h) { + if (!a.isBuffer(g) || !a.isBuffer(h)) throw new TypeError("Arguments must be Buffers"); - if (y === M) + if (g === h) return 0; - for (var A = y.length, Y = M.length, ee = 0, Z = Math.min(A, Y); ee < Z; ++ee) - if (y[ee] !== M[ee]) { - A = y[ee], Y = M[ee]; + for (var I = g.length, k = h.length, J = 0, H = Math.min(I, k); J < H; ++J) + if (g[J] !== h[J]) { + I = g[J], k = h[J]; break; } - return A < Y ? -1 : Y < A ? 1 : 0; - }, a.isEncoding = function(y) { - switch (String(y).toLowerCase()) { + return I < k ? -1 : k < I ? 1 : 0; + }, a.isEncoding = function(g) { + switch (String(g).toLowerCase()) { case "hex": case "utf8": case "utf-8": @@ -20427,269 +17058,269 @@ var vb = {}.toString, wb = Array.isArray || function(e) { default: return !1; } - }, a.concat = function(y, M) { - if (!r(y)) + }, a.concat = function(g, h) { + if (!r(g)) throw new TypeError('"list" argument must be an Array of Buffers'); - if (y.length === 0) + if (g.length === 0) return a.alloc(0); - var A; - if (M === void 0) - for (M = 0, A = 0; A < y.length; ++A) - M += y[A].length; - var Y = a.allocUnsafe(M), ee = 0; - for (A = 0; A < y.length; ++A) { - var Z = y[A]; - if (!a.isBuffer(Z)) + var I; + if (h === void 0) + for (h = 0, I = 0; I < g.length; ++I) + h += g[I].length; + var k = a.allocUnsafe(h), J = 0; + for (I = 0; I < g.length; ++I) { + var H = g[I]; + if (!a.isBuffer(H)) throw new TypeError('"list" argument must be an Array of Buffers'); - Z.copy(Y, ee), ee += Z.length; + H.copy(k, J), J += H.length; } - return Y; + return k; }; - function w(E, y) { - if (a.isBuffer(E)) - return E.length; - if (typeof ArrayBuffer < "u" && typeof ArrayBuffer.isView == "function" && (ArrayBuffer.isView(E) || E instanceof ArrayBuffer)) - return E.byteLength; - typeof E != "string" && (E = "" + E); - var M = E.length; - if (M === 0) + function D(A, g) { + if (a.isBuffer(A)) + return A.length; + if (typeof ArrayBuffer < "u" && typeof ArrayBuffer.isView == "function" && (ArrayBuffer.isView(A) || A instanceof ArrayBuffer)) + return A.byteLength; + typeof A != "string" && (A = "" + A); + var h = A.length; + if (h === 0) return 0; - for (var A = !1; ; ) - switch (y) { + for (var I = !1; ; ) + switch (g) { case "ascii": case "latin1": case "binary": - return M; + return h; case "utf8": case "utf-8": case void 0: - return $(E).length; + return R(A).length; case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return M * 2; + return h * 2; case "hex": - return M >>> 1; + return h >>> 1; case "base64": - return le(E).length; + return ue(A).length; default: - if (A) - return $(E).length; - y = ("" + y).toLowerCase(), A = !0; + if (I) + return R(A).length; + g = ("" + g).toLowerCase(), I = !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)) + a.byteLength = D; + function N(A, g, h) { + var I = !1; + if ((g === void 0 || g < 0) && (g = 0), g > this.length || ((h === void 0 || h > this.length) && (h = this.length), h <= 0) || (h >>>= 0, g >>>= 0, h <= g)) return ""; - for (E || (E = "utf8"); ; ) - switch (E) { + for (A || (A = "utf8"); ; ) + switch (A) { case "hex": - return re(this, y, M); + return ae(this, g, h); case "utf8": case "utf-8": - return T(this, y, M); + return j(this, g, h); case "ascii": - return C(this, y, M); + return S(this, g, h); case "latin1": case "binary": - return J(this, y, M); + return q(this, g, h); case "base64": - return x(this, y, M); + return U(this, g, h); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return L(this, y, M); + return O(this, g, h); default: - if (A) - throw new TypeError("Unknown encoding: " + E); - E = (E + "").toLowerCase(), A = !0; + if (I) + throw new TypeError("Unknown encoding: " + A); + A = (A + "").toLowerCase(), I = !0; } } a.prototype._isBuffer = !0; - function I(E, y, M) { - var A = E[y]; - E[y] = E[M], E[M] = A; + function E(A, g, h) { + var I = A[g]; + A[g] = A[h], A[h] = I; } a.prototype.swap16 = function() { - var y = this.length; - if (y % 2 !== 0) + var g = this.length; + if (g % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); - for (var M = 0; M < y; M += 2) - I(this, M, M + 1); + for (var h = 0; h < g; h += 2) + E(this, h, h + 1); return this; }, a.prototype.swap32 = function() { - var y = this.length; - if (y % 4 !== 0) + var g = this.length; + if (g % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); - for (var M = 0; M < y; M += 4) - I(this, M, M + 3), I(this, M + 1, M + 2); + for (var h = 0; h < g; h += 4) + E(this, h, h + 3), E(this, h + 1, h + 2); return this; }, a.prototype.swap64 = function() { - var y = this.length; - if (y % 8 !== 0) + var g = this.length; + if (g % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); - for (var M = 0; M < y; M += 8) - I(this, M, M + 7), I(this, M + 1, M + 6), I(this, M + 2, M + 5), I(this, M + 3, M + 4); + for (var h = 0; h < g; h += 8) + E(this, h, h + 7), E(this, h + 1, h + 6), E(this, h + 2, h + 5), E(this, h + 3, h + 4); return this; }, a.prototype.toString = function() { - var y = this.length | 0; - return y === 0 ? "" : arguments.length === 0 ? T(this, 0, y) : j.apply(this, arguments); - }, a.prototype.equals = function(y) { - if (!a.isBuffer(y)) + var g = this.length | 0; + return g === 0 ? "" : arguments.length === 0 ? j(this, 0, g) : N.apply(this, arguments); + }, a.prototype.equals = function(g) { + if (!a.isBuffer(g)) throw new TypeError("Argument must be a Buffer"); - return this === y ? !0 : a.compare(this, y) === 0; + return this === g ? !0 : a.compare(this, g) === 0; }, a.prototype.inspect = function() { - var y = "", M = e.INSPECT_MAX_BYTES; - return this.length > 0 && (y = this.toString("hex", 0, M).match(/.{2}/g).join(" "), this.length > M && (y += " ... ")), ""; - }, a.prototype.compare = function(y, M, A, Y, ee) { - if (!a.isBuffer(y)) + var g = "", h = e.INSPECT_MAX_BYTES; + return this.length > 0 && (g = this.toString("hex", 0, h).match(/.{2}/g).join(" "), this.length > h && (g += " ... ")), ""; + }, a.prototype.compare = function(g, h, I, k, J) { + if (!a.isBuffer(g)) 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), ee === void 0 && (ee = this.length), M < 0 || A > y.length || Y < 0 || ee > this.length) + if (h === void 0 && (h = 0), I === void 0 && (I = g ? g.length : 0), k === void 0 && (k = 0), J === void 0 && (J = this.length), h < 0 || I > g.length || k < 0 || J > this.length) throw new RangeError("out of range index"); - if (Y >= ee && M >= A) + if (k >= J && h >= I) return 0; - if (Y >= ee) + if (k >= J) return -1; - if (M >= A) + if (h >= I) return 1; - if (M >>>= 0, A >>>= 0, Y >>>= 0, ee >>>= 0, this === y) + if (h >>>= 0, I >>>= 0, k >>>= 0, J >>>= 0, this === g) return 0; - 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], me = Pe[Ve]; + for (var H = J - k, Me = I - h, Ee = Math.min(H, Me), Ie = this.slice(k, J), Le = g.slice(h, I), Fe = 0; Fe < Ee; ++Fe) + if (Ie[Fe] !== Le[Fe]) { + H = Ie[Fe], Me = Le[Fe]; break; } - return Z < me ? -1 : me < Z ? 1 : 0; + return H < Me ? -1 : Me < H ? 1 : 0; }; - function N(E, y, M, A, Y) { - if (E.length === 0) + function T(A, g, h, I, k) { + if (A.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) { - if (Y) + if (typeof h == "string" ? (I = h, h = 0) : h > 2147483647 ? h = 2147483647 : h < -2147483648 && (h = -2147483648), h = +h, isNaN(h) && (h = k ? 0 : A.length - 1), h < 0 && (h = A.length + h), h >= A.length) { + if (k) return -1; - M = E.length - 1; - } else if (M < 0) - if (Y) - M = 0; + h = A.length - 1; + } else if (h < 0) + if (k) + h = 0; else return -1; - if (typeof y == "string" && (y = a.from(y, A)), a.isBuffer(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) : Q(E, [y], M, A, Y); + if (typeof g == "string" && (g = a.from(g, I)), a.isBuffer(g)) + return g.length === 0 ? -1 : F(A, g, h, I, k); + if (typeof g == "number") + return g = g & 255, a.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? k ? Uint8Array.prototype.indexOf.call(A, g, h) : Uint8Array.prototype.lastIndexOf.call(A, g, h) : F(A, [g], h, I, k); throw new TypeError("val must be string, number or Buffer"); } - 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) + function F(A, g, h, I, k) { + var J = 1, H = A.length, Me = g.length; + if (I !== void 0 && (I = String(I).toLowerCase(), I === "ucs2" || I === "ucs-2" || I === "utf16le" || I === "utf-16le")) { + if (A.length < 2 || g.length < 2) return -1; - ee = 2, Z /= 2, me /= 2, M /= 2; - } - function Ce(tn, lr) { - return ee === 1 ? tn[lr] : tn.readUInt16BE(lr * ee); - } - var Se; - if (Y) { - 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 === me) - return Pe * ee; + J = 2, H /= 2, Me /= 2, h /= 2; + } + function Ee(Vt, $n) { + return J === 1 ? Vt[$n] : Vt.readUInt16BE($n * J); + } + var Ie; + if (k) { + var Le = -1; + for (Ie = h; Ie < H; Ie++) + if (Ee(A, Ie) === Ee(g, Le === -1 ? 0 : Ie - Le)) { + if (Le === -1 && (Le = Ie), Ie - Le + 1 === Me) + return Le * J; } else - Pe !== -1 && (Se -= Se - Pe), Pe = -1; + Le !== -1 && (Ie -= Ie - Le), Le = -1; } else - 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; + for (h + Me > H && (h = H - Me), Ie = h; Ie >= 0; Ie--) { + for (var Fe = !0, ye = 0; ye < Me; ye++) + if (Ee(A, Ie + ye) !== Ee(g, ye)) { + Fe = !1; break; } - if (Ve) - return Se; + if (Fe) + return Ie; } return -1; } - a.prototype.includes = function(y, M, A) { - return this.indexOf(y, M, A) !== -1; - }, a.prototype.indexOf = function(y, M, A) { - return N(this, y, M, A, !0); - }, a.prototype.lastIndexOf = function(y, M, A) { - return N(this, y, M, A, !1); + a.prototype.includes = function(g, h, I) { + return this.indexOf(g, h, I) !== -1; + }, a.prototype.indexOf = function(g, h, I) { + return T(this, g, h, I, !0); + }, a.prototype.lastIndexOf = function(g, h, I) { + return T(this, g, h, I, !1); }; - function z(E, y, M, A) { - M = Number(M) || 0; - var Y = E.length - M; - A ? (A = Number(A), A > Y && (A = Y)) : A = Y; - var ee = y.length; - if (ee % 2 !== 0) + function _(A, g, h, I) { + h = Number(h) || 0; + var k = A.length - h; + I ? (I = Number(I), I > k && (I = k)) : I = k; + var J = g.length; + if (J % 2 !== 0) throw new TypeError("Invalid hex string"); - A > ee / 2 && (A = ee / 2); - for (var Z = 0; Z < A; ++Z) { - var me = parseInt(y.substr(Z * 2, 2), 16); - if (isNaN(me)) - return Z; - E[M + Z] = me; + I > J / 2 && (I = J / 2); + for (var H = 0; H < I; ++H) { + var Me = parseInt(g.substr(H * 2, 2), 16); + if (isNaN(Me)) + return H; + A[h + H] = Me; } - return Z; + return H; } - function H(E, y, M, A) { - return pe($(y, E.length - M), E, M, A); + function G(A, g, h, I) { + return he(R(g, A.length - h), A, h, I); } - function W(E, y, M, A) { - return pe(fe(y), E, M, A); + function Q(A, g, h, I) { + return he(ce(g), A, h, I); } - function b(E, y, M, A) { - return W(E, y, M, A); + function K(A, g, h, I) { + return Q(A, g, h, I); } - function k(E, y, M, A) { - return pe(le(y), E, M, A); + function Z(A, g, h, I) { + return he(ue(g), A, h, I); } - function U(E, y, M, A) { - return pe(te(y, E.length - M), E, M, A); + function re(A, g, h, I) { + return he(X(g, A.length - h), A, h, I); } - a.prototype.write = function(y, M, A, Y) { - if (M === void 0) - Y = "utf8", A = this.length, M = 0; - else if (A === void 0 && typeof M == "string") - Y = M, A = this.length, M = 0; - else if (isFinite(M)) - M = M | 0, isFinite(A) ? (A = A | 0, Y === void 0 && (Y = "utf8")) : (Y = A, A = void 0); + a.prototype.write = function(g, h, I, k) { + if (h === void 0) + k = "utf8", I = this.length, h = 0; + else if (I === void 0 && typeof h == "string") + k = h, I = this.length, h = 0; + else if (isFinite(h)) + h = h | 0, isFinite(I) ? (I = I | 0, k === void 0 && (k = "utf8")) : (k = I, I = void 0); else throw new Error( "Buffer.write(string, encoding, offset[, length]) is no longer supported" ); - var ee = this.length - M; - if ((A === void 0 || A > ee) && (A = ee), y.length > 0 && (A < 0 || M < 0) || M > this.length) + var J = this.length - h; + if ((I === void 0 || I > J) && (I = J), g.length > 0 && (I < 0 || h < 0) || h > this.length) throw new RangeError("Attempt to write outside buffer bounds"); - Y || (Y = "utf8"); - for (var Z = !1; ; ) - switch (Y) { + k || (k = "utf8"); + for (var H = !1; ; ) + switch (k) { case "hex": - return z(this, y, M, A); + return _(this, g, h, I); case "utf8": case "utf-8": - return H(this, y, M, A); + return G(this, g, h, I); case "ascii": - return W(this, y, M, A); + return Q(this, g, h, I); case "latin1": case "binary": - return b(this, y, M, A); + return K(this, g, h, I); case "base64": - return k(this, y, M, A); + return Z(this, g, h, I); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return U(this, y, M, A); + return re(this, g, h, I); default: - if (Z) - throw new TypeError("Unknown encoding: " + Y); - Y = ("" + Y).toLowerCase(), Z = !0; + if (H) + throw new TypeError("Unknown encoding: " + k); + k = ("" + k).toLowerCase(), H = !0; } }, a.prototype.toJSON = function() { return { @@ -20697,496 +17328,496 @@ var vb = {}.toString, wb = Array.isArray || function(e) { 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 T(E, y, M) { - M = Math.min(E.length, M); - for (var A = [], Y = y; Y < 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 (me) { + function U(A, g, h) { + return g === 0 && h === A.length ? t.fromByteArray(A) : t.fromByteArray(A.slice(g, h)); + } + function j(A, g, h) { + h = Math.min(A.length, h); + for (var I = [], k = g; k < h; ) { + var J = A[k], H = null, Me = J > 239 ? 4 : J > 223 ? 3 : J > 191 ? 2 : 1; + if (k + Me <= h) { + var Ee, Ie, Le, Fe; + switch (Me) { case 1: - ee < 128 && (Z = ee); + J < 128 && (H = J); break; case 2: - Ce = E[Y + 1], (Ce & 192) === 128 && (Ve = (ee & 31) << 6 | Ce & 63, Ve > 127 && (Z = Ve)); + Ee = A[k + 1], (Ee & 192) === 128 && (Fe = (J & 31) << 6 | Ee & 63, Fe > 127 && (H = Fe)); break; case 3: - Ce = E[Y + 1], Se = E[Y + 2], (Ce & 192) === 128 && (Se & 192) === 128 && (Ve = (ee & 15) << 12 | (Ce & 63) << 6 | Se & 63, Ve > 2047 && (Ve < 55296 || Ve > 57343) && (Z = Ve)); + Ee = A[k + 1], Ie = A[k + 2], (Ee & 192) === 128 && (Ie & 192) === 128 && (Fe = (J & 15) << 12 | (Ee & 63) << 6 | Ie & 63, Fe > 2047 && (Fe < 55296 || Fe > 57343) && (H = Fe)); break; case 4: - 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)); + Ee = A[k + 1], Ie = A[k + 2], Le = A[k + 3], (Ee & 192) === 128 && (Ie & 192) === 128 && (Le & 192) === 128 && (Fe = (J & 15) << 18 | (Ee & 63) << 12 | (Ie & 63) << 6 | Le & 63, Fe > 65535 && Fe < 1114112 && (H = Fe)); } } - 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; + H === null ? (H = 65533, Me = 1) : H > 65535 && (H -= 65536, I.push(H >>> 10 & 1023 | 55296), H = 56320 | H & 1023), I.push(H), k += Me; } - return R(A); + return V(I); } - var S = 4096; - function R(E) { - var y = E.length; - if (y <= S) - return String.fromCharCode.apply(String, E); - for (var M = "", A = 0; A < y; ) - M += String.fromCharCode.apply( + var C = 4096; + function V(A) { + var g = A.length; + if (g <= C) + return String.fromCharCode.apply(String, A); + for (var h = "", I = 0; I < g; ) + h += String.fromCharCode.apply( String, - E.slice(A, A += S) + A.slice(I, I += C) ); - return M; - } - function C(E, y, M) { - var A = ""; - M = Math.min(E.length, M); - for (var Y = y; Y < M; ++Y) - A += String.fromCharCode(E[Y] & 127); - return A; - } - function J(E, y, M) { - var A = ""; - M = Math.min(E.length, M); - for (var Y = y; Y < M; ++Y) - A += String.fromCharCode(E[Y]); - return A; - } - 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 += B(E[ee]); - return Y; - } - function L(E, y, M) { - for (var A = E.slice(y, M), Y = "", ee = 0; ee < A.length; ee += 2) - Y += String.fromCharCode(A[ee] + A[ee + 1] * 256); - return Y; - } - a.prototype.slice = function(y, M) { - var A = this.length; - y = ~~y, M = M === void 0 ? A : ~~M, y < 0 ? (y += A, y < 0 && (y = 0)) : y > A && (y = A), M < 0 ? (M += A, M < 0 && (M = 0)) : M > A && (M = A), M < y && (M = y); - var Y; + return h; + } + function S(A, g, h) { + var I = ""; + h = Math.min(A.length, h); + for (var k = g; k < h; ++k) + I += String.fromCharCode(A[k] & 127); + return I; + } + function q(A, g, h) { + var I = ""; + h = Math.min(A.length, h); + for (var k = g; k < h; ++k) + I += String.fromCharCode(A[k]); + return I; + } + function ae(A, g, h) { + var I = A.length; + (!g || g < 0) && (g = 0), (!h || h < 0 || h > I) && (h = I); + for (var k = "", J = g; J < h; ++J) + k += L(A[J]); + return k; + } + function O(A, g, h) { + for (var I = A.slice(g, h), k = "", J = 0; J < I.length; J += 2) + k += String.fromCharCode(I[J] + I[J + 1] * 256); + return k; + } + a.prototype.slice = function(g, h) { + var I = this.length; + g = ~~g, h = h === void 0 ? I : ~~h, g < 0 ? (g += I, g < 0 && (g = 0)) : g > I && (g = I), h < 0 ? (h += I, h < 0 && (h = 0)) : h > I && (h = I), h < g && (h = g); + var k; if (a.TYPED_ARRAY_SUPPORT) - Y = this.subarray(y, M), Y.__proto__ = a.prototype; + k = this.subarray(g, h), k.__proto__ = a.prototype; else { - var ee = M - y; - Y = new a(ee, void 0); - for (var Z = 0; Z < ee; ++Z) - Y[Z] = this[Z + y]; + var J = h - g; + k = new a(J, void 0); + for (var H = 0; H < J; ++H) + k[H] = this[H + g]; } - return Y; + return k; }; - function F(E, y, M) { - if (E % 1 !== 0 || E < 0) + function z(A, g, h) { + if (A % 1 !== 0 || A < 0) throw new RangeError("offset is not uint"); - if (E + y > M) + if (A + g > h) 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], ee = 1, Z = 0; ++Z < M && (ee *= 256); ) - Y += this[y + Z] * ee; - return Y; - }, a.prototype.readUIntBE = function(y, M, A) { - y = y | 0, M = M | 0, A || F(y, M, this.length); - for (var Y = this[y + --M], ee = 1; M > 0 && (ee *= 256); ) - Y += this[y + --M] * ee; - 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], ee = 1, Z = 0; ++Z < M && (ee *= 256); ) - Y += this[y + Z] * ee; - return ee *= 128, Y >= ee && (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, ee = 1, Z = this[y + --Y]; Y > 0 && (ee *= 256); ) - Z += this[y + --Y] * ee; - return ee *= 128, Z >= ee && (Z -= Math.pow(2, 8 * M)), Z; - }, 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); + a.prototype.readUIntLE = function(g, h, I) { + g = g | 0, h = h | 0, I || z(g, h, this.length); + for (var k = this[g], J = 1, H = 0; ++H < h && (J *= 256); ) + k += this[g + H] * J; + return k; + }, a.prototype.readUIntBE = function(g, h, I) { + g = g | 0, h = h | 0, I || z(g, h, this.length); + for (var k = this[g + --h], J = 1; h > 0 && (J *= 256); ) + k += this[g + --h] * J; + return k; + }, a.prototype.readUInt8 = function(g, h) { + return h || z(g, 1, this.length), this[g]; + }, a.prototype.readUInt16LE = function(g, h) { + return h || z(g, 2, this.length), this[g] | this[g + 1] << 8; + }, a.prototype.readUInt16BE = function(g, h) { + return h || z(g, 2, this.length), this[g] << 8 | this[g + 1]; + }, a.prototype.readUInt32LE = function(g, h) { + return h || z(g, 4, this.length), (this[g] | this[g + 1] << 8 | this[g + 2] << 16) + this[g + 3] * 16777216; + }, a.prototype.readUInt32BE = function(g, h) { + return h || z(g, 4, this.length), this[g] * 16777216 + (this[g + 1] << 16 | this[g + 2] << 8 | this[g + 3]); + }, a.prototype.readIntLE = function(g, h, I) { + g = g | 0, h = h | 0, I || z(g, h, this.length); + for (var k = this[g], J = 1, H = 0; ++H < h && (J *= 256); ) + k += this[g + H] * J; + return J *= 128, k >= J && (k -= Math.pow(2, 8 * h)), k; + }, a.prototype.readIntBE = function(g, h, I) { + g = g | 0, h = h | 0, I || z(g, h, this.length); + for (var k = h, J = 1, H = this[g + --k]; k > 0 && (J *= 256); ) + H += this[g + --k] * J; + return J *= 128, H >= J && (H -= Math.pow(2, 8 * h)), H; + }, a.prototype.readInt8 = function(g, h) { + return h || z(g, 1, this.length), this[g] & 128 ? (255 - this[g] + 1) * -1 : this[g]; + }, a.prototype.readInt16LE = function(g, h) { + h || z(g, 2, this.length); + var I = this[g] | this[g + 1] << 8; + return I & 32768 ? I | 4294901760 : I; + }, a.prototype.readInt16BE = function(g, h) { + h || z(g, 2, this.length); + var I = this[g + 1] | this[g] << 8; + return I & 32768 ? I | 4294901760 : I; + }, a.prototype.readInt32LE = function(g, h) { + return h || z(g, 4, this.length), this[g] | this[g + 1] << 8 | this[g + 2] << 16 | this[g + 3] << 24; + }, a.prototype.readInt32BE = function(g, h) { + return h || z(g, 4, this.length), this[g] << 24 | this[g + 1] << 16 | this[g + 2] << 8 | this[g + 3]; + }, a.prototype.readFloatLE = function(g, h) { + return h || z(g, 4, this.length), n.read(this, g, !0, 23, 4); + }, a.prototype.readFloatBE = function(g, h) { + return h || z(g, 4, this.length), n.read(this, g, !1, 23, 4); + }, a.prototype.readDoubleLE = function(g, h) { + return h || z(g, 8, this.length), n.read(this, g, !0, 52, 8); + }, a.prototype.readDoubleBE = function(g, h) { + return h || z(g, 8, this.length), n.read(this, g, !1, 52, 8); }; - function P(E, y, M, A, Y, ee) { - if (!a.isBuffer(E)) + function Y(A, g, h, I, k, J) { + if (!a.isBuffer(A)) throw new TypeError('"buffer" argument must be a Buffer instance'); - if (y > Y || y < ee) + if (g > k || g < J) throw new RangeError('"value" argument is out of bounds'); - if (M + A > E.length) + if (h + I > A.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 ee = Math.pow(2, 8 * A) - 1; - P(this, y, M, A, ee, 0); - } - 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, 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; + a.prototype.writeUIntLE = function(g, h, I, k) { + if (g = +g, h = h | 0, I = I | 0, !k) { + var J = Math.pow(2, 8 * I) - 1; + Y(this, g, h, I, J, 0); + } + var H = 1, Me = 0; + for (this[h] = g & 255; ++Me < I && (H *= 256); ) + this[h + Me] = g / H & 255; + return h + I; + }, a.prototype.writeUIntBE = function(g, h, I, k) { + if (g = +g, h = h | 0, I = I | 0, !k) { + var J = Math.pow(2, 8 * I) - 1; + Y(this, g, h, I, J, 0); + } + var H = I - 1, Me = 1; + for (this[h + H] = g & 255; --H >= 0 && (Me *= 256); ) + this[h + H] = g / Me & 255; + return h + I; + }, a.prototype.writeUInt8 = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 1, 255, 0), a.TYPED_ARRAY_SUPPORT || (g = Math.floor(g)), this[h] = g & 255, h + 1; }; - function q(E, y, M, A) { - y < 0 && (y = 65535 + y + 1); - for (var Y = 0, ee = Math.min(E.length - M, 2); Y < ee; ++Y) - E[M + Y] = (y & 255 << 8 * (A ? Y : 1 - 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 W(A, g, h, I) { + g < 0 && (g = 65535 + g + 1); + for (var k = 0, J = Math.min(A.length - h, 2); k < J; ++k) + A[h + k] = (g & 255 << 8 * (I ? k : 1 - k)) >>> (I ? k : 1 - k) * 8; + } + a.prototype.writeUInt16LE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 2, 65535, 0), a.TYPED_ARRAY_SUPPORT ? (this[h] = g & 255, this[h + 1] = g >>> 8) : W(this, g, h, !0), h + 2; + }, a.prototype.writeUInt16BE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 2, 65535, 0), a.TYPED_ARRAY_SUPPORT ? (this[h] = g >>> 8, this[h + 1] = g & 255) : W(this, g, h, !1), h + 2; }; - function K(E, y, M, A) { - y < 0 && (y = 4294967295 + y + 1); - for (var Y = 0, ee = Math.min(E.length - M, 4); Y < ee; ++Y) - E[M + Y] = 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 ee = Math.pow(2, 8 * A - 1); - P(this, y, M, A, ee - 1, -ee); - } - 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, 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; - }, 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 B(A, g, h, I) { + g < 0 && (g = 4294967295 + g + 1); + for (var k = 0, J = Math.min(A.length - h, 4); k < J; ++k) + A[h + k] = g >>> (I ? k : 3 - k) * 8 & 255; + } + a.prototype.writeUInt32LE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 4, 4294967295, 0), a.TYPED_ARRAY_SUPPORT ? (this[h + 3] = g >>> 24, this[h + 2] = g >>> 16, this[h + 1] = g >>> 8, this[h] = g & 255) : B(this, g, h, !0), h + 4; + }, a.prototype.writeUInt32BE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 4, 4294967295, 0), a.TYPED_ARRAY_SUPPORT ? (this[h] = g >>> 24, this[h + 1] = g >>> 16, this[h + 2] = g >>> 8, this[h + 3] = g & 255) : B(this, g, h, !1), h + 4; + }, a.prototype.writeIntLE = function(g, h, I, k) { + if (g = +g, h = h | 0, !k) { + var J = Math.pow(2, 8 * I - 1); + Y(this, g, h, I, J - 1, -J); + } + var H = 0, Me = 1, Ee = 0; + for (this[h] = g & 255; ++H < I && (Me *= 256); ) + g < 0 && Ee === 0 && this[h + H - 1] !== 0 && (Ee = 1), this[h + H] = (g / Me >> 0) - Ee & 255; + return h + I; + }, a.prototype.writeIntBE = function(g, h, I, k) { + if (g = +g, h = h | 0, !k) { + var J = Math.pow(2, 8 * I - 1); + Y(this, g, h, I, J - 1, -J); + } + var H = I - 1, Me = 1, Ee = 0; + for (this[h + H] = g & 255; --H >= 0 && (Me *= 256); ) + g < 0 && Ee === 0 && this[h + H + 1] !== 0 && (Ee = 1), this[h + H] = (g / Me >> 0) - Ee & 255; + return h + I; + }, a.prototype.writeInt8 = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 1, 127, -128), a.TYPED_ARRAY_SUPPORT || (g = Math.floor(g)), g < 0 && (g = 255 + g + 1), this[h] = g & 255, h + 1; + }, a.prototype.writeInt16LE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 2, 32767, -32768), a.TYPED_ARRAY_SUPPORT ? (this[h] = g & 255, this[h + 1] = g >>> 8) : W(this, g, h, !0), h + 2; + }, a.prototype.writeInt16BE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 2, 32767, -32768), a.TYPED_ARRAY_SUPPORT ? (this[h] = g >>> 8, this[h + 1] = g & 255) : W(this, g, h, !1), h + 2; + }, a.prototype.writeInt32LE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 4, 2147483647, -2147483648), a.TYPED_ARRAY_SUPPORT ? (this[h] = g & 255, this[h + 1] = g >>> 8, this[h + 2] = g >>> 16, this[h + 3] = g >>> 24) : B(this, g, h, !0), h + 4; + }, a.prototype.writeInt32BE = function(g, h, I) { + return g = +g, h = h | 0, I || Y(this, g, h, 4, 2147483647, -2147483648), g < 0 && (g = 4294967295 + g + 1), a.TYPED_ARRAY_SUPPORT ? (this[h] = g >>> 24, this[h + 1] = g >>> 16, this[h + 2] = g >>> 8, this[h + 3] = g & 255) : B(this, g, h, !1), h + 4; }; - function X(E, y, M, A, Y, ee) { - if (M + A > E.length) + function ee(A, g, h, I, k, J) { + if (h + I > A.length) throw new RangeError("Index out of range"); - if (M < 0) + if (h < 0) throw new RangeError("Index out of range"); } - function O(E, y, M, A, Y) { - return Y || X(E, y, M, 4), n.write(E, y, M, A, 23, 4), M + 4; + function b(A, g, h, I, k) { + return k || ee(A, g, h, 4), n.write(A, g, h, I, 23, 4), h + 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); + a.prototype.writeFloatLE = function(g, h, I) { + return b(this, g, h, !0, I); + }, a.prototype.writeFloatBE = function(g, h, I) { + return b(this, g, h, !1, I); }; - function ne(E, y, M, A, Y) { - return Y || X(E, y, M, 8), n.write(E, y, M, A, 52, 8), M + 8; - } - a.prototype.writeDoubleLE = function(y, M, A) { - return ne(this, y, M, !0, A); - }, a.prototype.writeDoubleBE = function(y, M, A) { - return ne(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 < A && (Y = A), Y === A || y.length === 0 || this.length === 0) + function ne(A, g, h, I, k) { + return k || ee(A, g, h, 8), n.write(A, g, h, I, 52, 8), h + 8; + } + a.prototype.writeDoubleLE = function(g, h, I) { + return ne(this, g, h, !0, I); + }, a.prototype.writeDoubleBE = function(g, h, I) { + return ne(this, g, h, !1, I); + }, a.prototype.copy = function(g, h, I, k) { + if (I || (I = 0), !k && k !== 0 && (k = this.length), h >= g.length && (h = g.length), h || (h = 0), k > 0 && k < I && (k = I), k === I || g.length === 0 || this.length === 0) return 0; - if (M < 0) + if (h < 0) throw new RangeError("targetStart out of bounds"); - if (A < 0 || A >= this.length) + if (I < 0 || I >= this.length) throw new RangeError("sourceStart out of bounds"); - if (Y < 0) + if (k < 0) throw new RangeError("sourceEnd out of bounds"); - Y > this.length && (Y = this.length), y.length - M < Y - A && (Y = y.length - M + A); - var ee = Y - A, Z; - if (this === y && A < M && M < Y) - for (Z = ee - 1; Z >= 0; --Z) - y[Z + M] = this[Z + A]; - else if (ee < 1e3 || !a.TYPED_ARRAY_SUPPORT) - for (Z = 0; Z < ee; ++Z) - y[Z + M] = this[Z + A]; + k > this.length && (k = this.length), g.length - h < k - I && (k = g.length - h + I); + var J = k - I, H; + if (this === g && I < h && h < k) + for (H = J - 1; H >= 0; --H) + g[H + h] = this[H + I]; + else if (J < 1e3 || !a.TYPED_ARRAY_SUPPORT) + for (H = 0; H < J; ++H) + g[H + h] = this[H + I]; else Uint8Array.prototype.set.call( - y, - this.subarray(A, A + ee), - M + g, + this.subarray(I, I + J), + h ); - return ee; - }, a.prototype.fill = function(y, M, A, Y) { - if (typeof y == "string") { - if (typeof M == "string" ? (Y = M, M = 0, A = this.length) : typeof A == "string" && (Y = A, A = this.length), y.length === 1) { - var ee = y.charCodeAt(0); - ee < 256 && (y = ee); + return J; + }, a.prototype.fill = function(g, h, I, k) { + if (typeof g == "string") { + if (typeof h == "string" ? (k = h, h = 0, I = this.length) : typeof I == "string" && (k = I, I = this.length), g.length === 1) { + var J = g.charCodeAt(0); + J < 256 && (g = J); } - if (Y !== void 0 && typeof Y != "string") + if (k !== void 0 && typeof k != "string") throw new TypeError("encoding must be a string"); - if (typeof Y == "string" && !a.isEncoding(Y)) - throw new TypeError("Unknown encoding: " + Y); + if (typeof k == "string" && !a.isEncoding(k)) + throw new TypeError("Unknown encoding: " + k); } else - typeof y == "number" && (y = y & 255); - if (M < 0 || this.length < M || this.length < A) + typeof g == "number" && (g = g & 255); + if (h < 0 || this.length < h || this.length < I) throw new RangeError("Out of range index"); - if (A <= M) + if (I <= h) return this; - M = M >>> 0, A = A === void 0 ? this.length : A >>> 0, y || (y = 0); - var Z; - if (typeof y == "number") - for (Z = M; Z < A; ++Z) - this[Z] = y; + h = h >>> 0, I = I === void 0 ? this.length : I >>> 0, g || (g = 0); + var H; + if (typeof g == "number") + for (H = h; H < I; ++H) + this[H] = g; else { - var me = a.isBuffer(y) ? y : $(new a(y, Y).toString()), Ce = me.length; - for (Z = 0; Z < A - M; ++Z) - this[Z + M] = me[Z % Ce]; + var Me = a.isBuffer(g) ? g : R(new a(g, k).toString()), Ee = Me.length; + for (H = 0; H < I - h; ++H) + this[H + h] = Me[H % Ee]; } return this; }; - var G = /[^+\/0-9A-Za-z-_]/g; - function he(E) { - if (E = V(E).replace(G, ""), E.length < 2) + var $ = /[^+\/0-9A-Za-z-_]/g; + function ie(A) { + if (A = P(A).replace($, ""), A.length < 2) return ""; - for (; E.length % 4 !== 0; ) - E = E + "="; - return E; - } - function V(E) { - return E.trim ? E.trim() : E.replace(/^\s+|\s+$/g, ""); - } - function B(E) { - return E < 16 ? "0" + E.toString(16) : E.toString(16); - } - 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) { - if (!Y) { - if (M > 56319) { - (y -= 3) > -1 && ee.push(239, 191, 189); + for (; A.length % 4 !== 0; ) + A = A + "="; + return A; + } + function P(A) { + return A.trim ? A.trim() : A.replace(/^\s+|\s+$/g, ""); + } + function L(A) { + return A < 16 ? "0" + A.toString(16) : A.toString(16); + } + function R(A, g) { + g = g || 1 / 0; + for (var h, I = A.length, k = null, J = [], H = 0; H < I; ++H) { + if (h = A.charCodeAt(H), h > 55295 && h < 57344) { + if (!k) { + if (h > 56319) { + (g -= 3) > -1 && J.push(239, 191, 189); continue; - } else if (Z + 1 === A) { - (y -= 3) > -1 && ee.push(239, 191, 189); + } else if (H + 1 === I) { + (g -= 3) > -1 && J.push(239, 191, 189); continue; } - Y = M; + k = h; continue; } - if (M < 56320) { - (y -= 3) > -1 && ee.push(239, 191, 189), Y = M; + if (h < 56320) { + (g -= 3) > -1 && J.push(239, 191, 189), k = h; continue; } - M = (Y - 55296 << 10 | M - 56320) + 65536; + h = (k - 55296 << 10 | h - 56320) + 65536; } else - Y && (y -= 3) > -1 && ee.push(239, 191, 189); - if (Y = null, M < 128) { - if ((y -= 1) < 0) + k && (g -= 3) > -1 && J.push(239, 191, 189); + if (k = null, h < 128) { + if ((g -= 1) < 0) break; - ee.push(M); - } else if (M < 2048) { - if ((y -= 2) < 0) + J.push(h); + } else if (h < 2048) { + if ((g -= 2) < 0) break; - ee.push( - M >> 6 | 192, - M & 63 | 128 + J.push( + h >> 6 | 192, + h & 63 | 128 ); - } else if (M < 65536) { - if ((y -= 3) < 0) + } else if (h < 65536) { + if ((g -= 3) < 0) break; - ee.push( - M >> 12 | 224, - M >> 6 & 63 | 128, - M & 63 | 128 + J.push( + h >> 12 | 224, + h >> 6 & 63 | 128, + h & 63 | 128 ); - } else if (M < 1114112) { - if ((y -= 4) < 0) + } else if (h < 1114112) { + if ((g -= 4) < 0) break; - ee.push( - M >> 18 | 240, - M >> 12 & 63 | 128, - M >> 6 & 63 | 128, - M & 63 | 128 + J.push( + h >> 18 | 240, + h >> 12 & 63 | 128, + h >> 6 & 63 | 128, + h & 63 | 128 ); } else throw new Error("Invalid code point"); } - return ee; + return J; } - function fe(E) { - for (var y = [], M = 0; M < E.length; ++M) - y.push(E.charCodeAt(M) & 255); - return y; + function ce(A) { + for (var g = [], h = 0; h < A.length; ++h) + g.push(A.charCodeAt(h) & 255); + return g; } - function te(E, y) { - for (var M, A, Y, ee = [], Z = 0; Z < E.length && !((y -= 2) < 0); ++Z) - M = E.charCodeAt(Z), A = M >> 8, Y = M % 256, ee.push(Y), ee.push(A); - return ee; + function X(A, g) { + for (var h, I, k, J = [], H = 0; H < A.length && !((g -= 2) < 0); ++H) + h = A.charCodeAt(H), I = h >> 8, k = h % 256, J.push(k), J.push(I); + return J; } - function le(E) { - return t.toByteArray(he(E)); + function ue(A) { + return t.toByteArray(ie(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; + function he(A, g, h, I) { + for (var k = 0; k < I && !(k + h >= g.length || k >= A.length); ++k) + g[k + h] = A[k]; + return k; } - function de(E) { - return E !== E; + function le(A) { + return A !== A; } -})(Ke); -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") +})(Be); +var Et; +typeof window < "u" && window.crypto && (Et = window.crypto); +!Et && typeof window < "u" && window.msCrypto && (Et = window.msCrypto); +!Et && typeof global < "u" && global.crypto && (Et = global.crypto); +if (!Et && typeof require == "function") try { - Ot = require("crypto"); + Et = require("crypto"); } catch { } -function Db() { - if (Ot) { - if (typeof Ot.getRandomValues == "function") +function JE() { + if (Et) { + if (typeof Et.getRandomValues == "function") try { - return Ot.getRandomValues(new Uint32Array(1))[0]; + return Et.getRandomValues(new Uint32Array(1))[0]; } catch { } - if (typeof Ot.randomBytes == "function") + if (typeof Et.randomBytes == "function") try { - return Ot.randomBytes(4).readInt32LE(); + return Et.randomBytes(4).readInt32LE(); } catch { } } throw new Error("Native crypto module could not be used to get secure random number."); } -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)); +function XE(e) { + for (var t = e.words, n = e.sigBytes, r = [], o = 0; o < n; o++) { + var i = t[o >>> 2] >>> 24 - o % 4 * 8 & 255; + r.push((i >>> 4).toString(16)), r.push((i & 15).toString(16)); } return r.join(""); } -var Eb = /* @__PURE__ */ function() { +var ZE = /* @__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(Db()); - return new e(i, r); + for (var o = [], i = 0; i < r; i += 4) + o.push(JE()); + return new e(o, r); }, t.toString = function() { - return Ab(this); + return XE(this); }, e; }(); -function ye(e, t) { +function pe(e, t) { e != null && this.fromString(e, t); } -function vt() { - return new ye(null); +function ft() { + return new pe(null); } -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; +var mn, eT = 244837814094590, Pl = (eT & 16777215) == 15715070; +function tT(e, t, n, r, o, i) { + for (; --i >= 0; ) { + var s = t * this[e++] + n[r] + o; + o = Math.floor(s / 67108864), n[r++] = s & 67108863; } - return i; + return 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; +function nT(e, t, n, r, o, i) { + for (var s = t & 32767, a = t >> 15; --i >= 0; ) { + var c = this[e] & 32767, u = this[e++] >> 15, l = a * c + u * s; + c = s * c + ((l & 32767) << 15) + n[r] + (o & 1073741823), o = (c >>> 30) + (l >>> 15) + a * u + (o >>> 30), n[r++] = c & 1073741823; } - return i; + return 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; +function rT(e, t, n, r, o, i) { + for (var s = t & 16383, a = t >> 14; --i >= 0; ) { + var c = this[e] & 16383, u = this[e++] >> 14, l = a * c + u * s; + c = s * c + ((l & 16383) << 14) + n[r] + o, o = (c >> 28) + (l >> 14) + a * u, n[r++] = c & 268435455; } - return i; + return o; } -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)]; +var Rl = typeof navigator < "u"; +Rl && Pl && navigator.appName == "Microsoft Internet Explorer" ? (pe.prototype.am = nT, mn = 30) : Rl && Pl && navigator.appName != "Netscape" ? (pe.prototype.am = tT, mn = 26) : (pe.prototype.am = rT, mn = 28); +pe.prototype.DB = mn; +pe.prototype.DM = (1 << mn) - 1; +pe.prototype.DV = 1 << mn; +var ju = 52; +pe.prototype.FV = Math.pow(2, ju); +pe.prototype.F1 = ju - mn; +pe.prototype.F2 = 2 * mn - ju; +var iT = "0123456789abcdefghijklmnopqrstuvwxyz", ts = new Array(), jr, Tt; +jr = "0".charCodeAt(0); +for (Tt = 0; Tt <= 9; ++Tt) + ts[jr++] = Tt; +jr = "a".charCodeAt(0); +for (Tt = 10; Tt < 36; ++Tt) + ts[jr++] = Tt; +jr = "A".charCodeAt(0); +for (Tt = 10; Tt < 36; ++Tt) + ts[jr++] = Tt; +function Yl(e) { + return iT.charAt(e); +} +function oT(e, t) { + var n = ts[e.charCodeAt(t)]; return n ?? -1; } -function Cb(e) { +function sT(e) { for (var t = this.t - 1; t >= 0; --t) e[t] = this[t]; e.t = this.t, e.s = this.s; } -function xb(e) { +function aT(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 fc(e) { - var t = vt(); +function bu(e) { + var t = ft(); return t.fromInt(e), t; } -function Ob(e, t) { +function uT(e, t) { var n; if (t == 16) n = 4; @@ -21201,21 +17832,21 @@ function Ob(e, t) { 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 = bb(e, r); + for (var r = e.length, o = !1, i = 0; --r >= 0; ) { + var s = oT(e, r); if (s < 0) { - e.charAt(r) == "-" && (i = !0); + e.charAt(r) == "-" && (o = !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); + o = !1, i == 0 ? this[this.t++] = s : i + n > this.DB ? (this[this.t - 1] |= (s & (1 << this.DB - i) - 1) << i, this[this.t++] = s >> this.DB - i) : this[this.t - 1] |= s << i, i += n, i >= this.DB && (i -= this.DB); } - this.clamp(), i && ye.ZERO.subTo(this, this); + this.clamp(), o && pe.ZERO.subTo(this, this); } -function Lb() { +function cT() { for (var e = this.s & this.DM; this.t > 0 && this[this.t - 1] == e; ) --this.t; } -function _b(e) { +function lT(e) { if (this.s < 0) return "-" + this.negate().toString(e); var t; @@ -21231,20 +17862,20 @@ function _b(e) { t = 2; else 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; + var n = (1 << t) - 1, r, o = !1, i = "", 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 = 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"; + for (a < this.DB && (r = this[s] >> a) > 0 && (o = !0, i = Yl(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 && (o = !0), o && (i += Yl(r)); + return o ? i : "0"; } -function kb() { - var e = vt(); - return ye.ZERO.subTo(this, e), e; +function fT() { + var e = ft(); + return pe.ZERO.subTo(this, e), e; } -function zb() { +function dT() { return this.s < 0 ? this.negate() : this; } -function Pb(e) { +function hT(e) { var t = this.s - e.s; if (t != 0) return t; @@ -21256,14 +17887,14 @@ function Pb(e) { return t; return 0; } -function dc(e) { +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 Rb() { - return this.t <= 0 ? 0 : this.DB * (this.t - 1) + dc(this[this.t - 1] ^ this.s & this.DM); +function gT() { + return this.t <= 0 ? 0 : this.DB * (this.t - 1) + Su(this[this.t - 1] ^ this.s & this.DM); } -function Ub(e, t) { +function pT(e, t) { var n; for (n = this.t - 1; n >= 0; --n) t[n + e] = this[n]; @@ -21271,34 +17902,34 @@ function Ub(e, t) { t[n] = 0; t.t = this.t + e, t.s = this.s; } -function Fb(e, t) { +function MT(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 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; +function yT(e, t) { + var n = e % this.DB, r = this.DB - n, o = (1 << r) - 1, i = 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; - for (a = o - 1; a >= 0; --a) + t[a + i + 1] = this[a] >> r | s, s = (this[a] & o) << n; + for (a = i - 1; a >= 0; --a) t[a] = 0; - t[o] = s, t.t = this.t + o + 1, t.s = this.s, t.clamp(); + t[i] = s, t.t = this.t + i + 1, t.s = this.s, t.clamp(); } -function Qb(e, t) { +function mT(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) - 1; + var r = e % this.DB, o = this.DB - r, i = (1 << r) - 1; t[0] = this[n] >> r; for (var s = n + 1; s < this.t; ++s) - 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(); + t[s - n - 1] |= (this[s] & i) << o, t[s - n] = this[s] >> r; + r > 0 && (t[this.t - n - 1] |= (this.s & i) << o), t.t = this.t - n, t.clamp(); } -function Bb(e, t) { - for (var n = 0, r = 0, i = Math.min(e.t, this.t); n < i; ) +function vT(e, t) { + for (var n = 0, r = 0, o = Math.min(e.t, this.t); n < o; ) r += this[n] - e[n], t[n++] = r & this.DM, r >>= this.DB; if (e.t < this.t) { for (r -= e.s; n < this.t; ) @@ -21311,15 +17942,15 @@ function Bb(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 $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 && ye.ZERO.subTo(t, t); +function wT(e, t) { + var n = this.abs(), r = e.abs(), o = n.t; + for (t.t = o + r.t; --o >= 0; ) + t[o] = 0; + for (o = 0; o < r.t; ++o) + t[o + n.t] = n.am(0, r[o], t, o, 0, n.t); + t.s = 0, t.clamp(), this.s != e.s && pe.ZERO.subTo(t, t); } -function Wb(e) { +function DT(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) { @@ -21328,37 +17959,37 @@ function Wb(e) { } e.t > 0 && (e[e.t - 1] += t.am(n, t[n], e, 2 * n, 0, 1)), e.s = 0, e.clamp(); } -function Vb(e, t, n) { +function IT(e, t, n) { var r = e.abs(); if (!(r.t <= 0)) { - var i = this.abs(); - if (i.t < r.t) { + var o = this.abs(); + if (o.t < r.t) { t != null && t.fromInt(0), n != null && this.copyTo(n); return; } - n == null && (n = vt()); - 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]; + n == null && (n = ft()); + var i = ft(), s = this.s, a = e.s, c = this.DB - Su(r[r.t - 1]); + c > 0 ? (r.lShiftTo(c, i), o.lShiftTo(c, n)) : (r.copyTo(i), o.copyTo(n)); + var u = i.t, l = i[u - 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)), ye.ONE.dlShiftTo(c, v), v.subTo(o, o); o.t < c; ) - o[o.t++] = 0; + var f = l * (1 << this.F1) + (u > 1 ? i[u - 2] >> this.F2 : 0), d = this.FV / f, p = (1 << this.F1) / f, M = 1 << this.F2, y = n.t, m = y - u, w = t ?? ft(); + for (i.dlShiftTo(m, w), n.compareTo(w) >= 0 && (n[n.t++] = 1, n.subTo(w, n)), pe.ONE.dlShiftTo(u, w), w.subTo(i, i); i.t < u; ) + i[i.t++] = 0; for (; --m >= 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)) < w) - for (o.dlShiftTo(m, v), n.subTo(v, n); n[p] < --w; ) - n.subTo(v, n); + var D = n[--y] == l ? this.DM : Math.floor(n[y] * d + (n[y - 1] + M) * p); + if ((n[y] += i.am(0, D, n, m, 0, u)) < D) + for (i.dlShiftTo(m, w), n.subTo(w, n); n[y] < --D; ) + n.subTo(w, 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); + t != null && (n.drShiftTo(u, t), s != a && pe.ZERO.subTo(t, t)), n.t = u, n.clamp(), c > 0 && n.rShiftTo(c, n), s < 0 && pe.ZERO.subTo(n, n); } } } -function Hb(e) { - var t = vt(); - return this.abs().divRemTo(e, null, t), this.s < 0 && t.compareTo(ye.ZERO) > 0 && e.subTo(t, t), t; +function AT(e) { + var t = ft(); + return this.abs().divRemTo(e, null, t), this.s < 0 && t.compareTo(pe.ZERO) > 0 && e.subTo(t, t), t; } -function qb() { +function ET() { if (this.t < 1) return 0; var e = this[0]; @@ -21367,11 +17998,11 @@ function qb() { 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 Kb(e) { +function TT(e) { return this.compareTo(e) == 0; } -function Gb(e, t) { - for (var n = 0, r = 0, i = Math.min(e.t, this.t); n < i; ) +function NT(e, t) { + for (var n = 0, r = 0, o = Math.min(e.t, this.t); n < o; ) r += this[n] + e[n], t[n++] = r & this.DM, r >>= this.DB; if (e.t < this.t) { for (r += e.s; n < this.t; ) @@ -21384,34 +18015,34 @@ function Gb(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 Jb(e) { - var t = vt(); +function jT(e) { + var t = ft(); return this.addTo(e, t), t; } -function Zb(e) { - var t = vt(); +function bT(e) { + var t = ft(); return this.subTo(e, t), t; } -function Xb(e) { - var t = vt(); +function ST(e) { + var t = ft(); return this.multiplyTo(e, t), t; } -function e1(e) { - var t = vt(); +function xT(e) { + var t = ft(); return this.divRemTo(e, t, null), t; } -function Hr(e) { +function br(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 t1(e) { - var t = vt(); - 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 CT(e) { + var t = ft(); + return e.abs().dlShiftTo(this.m.t, t), t.divRemTo(this.m, null, t), e.s < 0 && t.compareTo(pe.ZERO) > 0 && this.m.subTo(t, t), t; } -function n1(e) { - var t = vt(); +function OT(e) { + var t = ft(); return e.copyTo(t), this.reduce(t), t; } -function r1(e) { +function LT(e) { for (; e.t <= this.mt2; ) e[e.t++] = 0; for (var t = 0; t < this.m.t; ++t) { @@ -21421,176 +18052,176 @@ function r1(e) { } e.clamp(), e.drShiftTo(this.m.t, e), e.compareTo(this.m) >= 0 && e.subTo(this.m, e); } -function i1(e, t) { +function _T(e, t) { e.squareTo(t), this.reduce(t); } -function o1(e, t, n) { +function kT(e, t, n) { e.multiplyTo(t, n), this.reduce(n); } -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); +br.prototype.convert = CT; +br.prototype.revert = OT; +br.prototype.reduce = LT; +br.prototype.mulTo = kT; +br.prototype.sqrTo = _T; +function zT(e, t, n) { + var r = e.bitLength(), o, i = bu(1), s = new br(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 << i) - 1; - if (a[1] = s.convert(this), i > 1) { - var f = vt(); - for (s.sqrTo(a[1], f); u <= l; ) - 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 = 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) - a[g].copyTo(o), h = !1; + return i; + r < 18 ? o = 1 : r < 48 ? o = 3 : r < 144 ? o = 4 : r < 768 ? o = 5 : o = 6; + var a = new Array(), c = 3, u = o - 1, l = (1 << o) - 1; + if (a[1] = s.convert(this), o > 1) { + var f = ft(); + for (s.sqrTo(a[1], f); c <= l; ) + a[c] = ft(), s.mulTo(f, a[c - 2], a[c]), c += 2; + } + var d = e.t - 1, p, M = !0, y = ft(), m; + for (r = Su(e[d]) - 1; d >= 0; ) { + for (r >= u ? p = e[d] >> r - u & l : (p = (e[d] & (1 << r + 1) - 1) << u - r, d > 0 && (p |= e[d - 1] >> this.DB + r - u)), c = o; !(p & 1); ) + p >>= 1, --c; + if ((r -= c) < 0 && (r += this.DB, --d), M) + a[p].copyTo(i), M = !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 (; c > 1; ) + s.sqrTo(i, y), s.sqrTo(y, i), c -= 2; + c > 0 ? s.sqrTo(i, y) : (m = i, i = y, y = m), s.mulTo(y, a[p], i); } for (; d >= 0 && !(e[d] & 1 << r); ) - s.sqrTo(o, p), m = o, o = p, p = m, --r < 0 && (r = this.DB - 1, --d); - } - var v = s.revert(o); - return n(null, v), v; -} -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); + s.sqrTo(i, y), m = i, i = y, y = m, --r < 0 && (r = this.DB - 1, --d); + } + var w = s.revert(i); + return n(null, w), w; +} +pe.prototype.copyTo = sT; +pe.prototype.fromInt = aT; +pe.prototype.fromString = uT; +pe.prototype.clamp = cT; +pe.prototype.dlShiftTo = pT; +pe.prototype.drShiftTo = MT; +pe.prototype.lShiftTo = yT; +pe.prototype.rShiftTo = mT; +pe.prototype.subTo = vT; +pe.prototype.multiplyTo = wT; +pe.prototype.squareTo = DT; +pe.prototype.divRemTo = IT; +pe.prototype.invDigit = ET; +pe.prototype.addTo = NT; +pe.prototype.toString = lT; +pe.prototype.negate = fT; +pe.prototype.abs = dT; +pe.prototype.compareTo = hT; +pe.prototype.bitLength = gT; +pe.prototype.mod = AT; +pe.prototype.equals = TT; +pe.prototype.add = jT; +pe.prototype.subtract = bT; +pe.prototype.multiply = ST; +pe.prototype.divide = xT; +pe.prototype.modPow = zT; +pe.ZERO = bu(0); +pe.ONE = bu(1); /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -function ya(e) { - return Ke.Buffer.from(new Eb().random(e).toString(), "hex"); +function Cs(e) { + return Be.Buffer.from(new ZE().random(e).toString(), "hex"); } -var a1 = /^[89a-f]/i, u1 = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF", c1 = "userAttributes.", wr = /* @__PURE__ */ function() { +var UT = /^[89a-f]/i, PT = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF", RT = "userAttributes.", nr = /* @__PURE__ */ function() { function e(n) { - 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; + this.N = new pe(PT, 16), this.g = new pe("2", 16), this.k = new pe(this.hexHash("" + this.padHex(this.N) + this.padHex(this.g)), 16), this.smallAValue = this.generateRandomSmallA(), this.getLargeAValue(function() { + }), this.infoBits = Be.Buffer.from("Caldera Derived Key", "utf8"), this.poolName = n; } var t = e.prototype; return t.getSmallAValue = function() { return this.smallAValue; }, t.getLargeAValue = function(r) { - var i = this; - this.largeAValue ? r(null, this.largeAValue) : this.calculateA(this.smallAValue, function(o, s) { - o && r(o, null), i.largeAValue = s, r(null, i.largeAValue); + var o = this; + this.largeAValue ? r(null, this.largeAValue) : this.calculateA(this.smallAValue, function(i, s) { + i && r(i, null), o.largeAValue = s, r(null, o.largeAValue); }); }, t.generateRandomSmallA = function() { - var r = ya(128).toString("hex"), i = new ye(r, 16); - return i; + var r = Cs(128).toString("hex"), o = new pe(r, 16); + return o; }, t.generateRandomString = function() { - return ya(40).toString("base64"); + return Cs(40).toString("base64"); }, t.getRandomPassword = function() { return this.randomPassword; }, t.getSaltDevices = function() { return this.SaltToHashDevices; }, t.getVerifierDevices = function() { return this.verifierDevices; - }, t.generateHashDevice = function(r, i, o) { + }, t.generateHashDevice = function(r, o, i) { var s = this; this.randomPassword = this.generateRandomString(); - 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); + var a = "" + r + o + ":" + this.randomPassword, c = this.hash(a), u = Cs(16).toString("hex"); + this.SaltToHashDevices = this.padHex(new pe(u, 16)), this.g.modPow(new pe(this.hexHash(this.SaltToHashDevices + c), 16), this.N, function(l, f) { + l && i(l, null), s.verifierDevices = s.padHex(f), i(null, null); }); - }, t.calculateA = function(r, i) { - var o = this; + }, t.calculateA = function(r, o) { + var i = this; this.g.modPow(r, this.N, function(s, 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); + s && o(s, null), a.mod(i.N).equals(pe.ZERO) && o(new Error("Illegal paramater. A mod N cannot be 0."), null), o(null, a); }); - }, t.calculateU = function(r, i) { - this.UHexHash = this.hexHash(this.padHex(r) + this.padHex(i)); - var o = new ye(this.UHexHash, 16); - return o; + }, t.calculateU = function(r, o) { + this.UHexHash = this.hexHash(this.padHex(r) + this.padHex(o)); + var i = new pe(this.UHexHash, 16); + return i; }, t.hash = function(r) { - var i = new jn.Sha256(); - i.update(r); - var o = i.digestSync(), s = Ke.Buffer.from(o).toString("hex"); + var o = new Rn.Sha256(); + o.update(r); + var i = o.digestSync(), s = Be.Buffer.from(i).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 jn.Sha256(i); + return this.hash(Be.Buffer.from(r, "hex")); + }, t.computehkdf = function(r, o) { + var i = Be.Buffer.concat([this.infoBits, Be.Buffer.from(String.fromCharCode(1), "utf8")]), s = new Rn.Sha256(o); s.update(r); - var a = s.digestSync(), u = new jn.Sha256(a); - u.update(o); - var c = u.digestSync(), l = c, f = l.slice(0, 16); + var a = s.digestSync(), c = new Rn.Sha256(a); + c.update(i); + var u = c.digestSync(), l = u, f = l.slice(0, 16); return f; - }, t.getPasswordAuthenticationKey = function(r, i, o, s, a) { - var u = this; - if (o.mod(this.N).equals(ye.ZERO)) + }, t.getPasswordAuthenticationKey = function(r, o, i, s, a) { + var c = this; + if (i.mod(this.N).equals(pe.ZERO)) throw new Error("B cannot be zero."); - if (this.UValue = this.calculateU(this.largeAValue, o), this.UValue.equals(ye.ZERO)) + if (this.UValue = this.calculateU(this.largeAValue, i), this.UValue.equals(pe.ZERO)) throw new Error("U cannot be zero."); - 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) { + var u = "" + this.poolName + r + ":" + o, l = this.hash(u), f = new pe(this.hexHash(this.padHex(s) + l), 16); + this.calculateS(f, i, function(d, p) { d && a(d, null); - var h = u.computehkdf(Ke.Buffer.from(u.padHex(g), "hex"), Ke.Buffer.from(u.padHex(u.UValue), "hex")); - a(null, h); + var M = c.computehkdf(Be.Buffer.from(c.padHex(p), "hex"), Be.Buffer.from(c.padHex(c.UValue), "hex")); + a(null, M); }); - }, t.calculateS = function(r, i, o) { + }, t.calculateS = function(r, o, i) { var s = this; - this.g.modPow(r, this.N, function(a, u) { - a && o(a, null); - var c = i.subtract(s.k.multiply(u)); - c.modPow(s.smallAValue.add(s.UValue.multiply(r)), s.N, function(l, f) { - l && o(l, null), o(null, f.mod(s.N)); + this.g.modPow(r, this.N, function(a, c) { + a && i(a, null); + var u = o.subtract(s.k.multiply(c)); + u.modPow(s.smallAValue.add(s.UValue.multiply(r)), s.N, function(l, f) { + l && i(l, null), i(null, f.mod(s.N)); }); }); }, t.getNewPasswordRequiredChallengeUserAttributePrefix = function() { - return c1; + return RT; }, t.padHex = function(r) { - if (!(r instanceof ye)) + if (!(r instanceof pe)) throw new Error("Not a BigInteger"); - 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 ye(s, 16).add(ye.ONE); - o = a.toString(16), o.toUpperCase().startsWith("FF8") && (o = o.substring(2)); + var o = r.compareTo(pe.ZERO) < 0, i = r.abs().toString(16); + if (i = i.length % 2 !== 0 ? "0" + i : i, i = UT.test(i) ? "00" + i : i, o) { + var s = i.split("").map(function(c) { + var u = ~parseInt(c, 16) & 15; + return "0123456789ABCDEF".charAt(u); + }).join(""), a = new pe(s, 16).add(pe.ONE); + i = a.toString(16), i.toUpperCase().startsWith("FF8") && (i = i.substring(2)); } - return o; + return i; }, e; }(); /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var hp = /* @__PURE__ */ function() { +var nh = /* @__PURE__ */ function() { function e(n) { this.jwtToken = n || "", this.payload = this.decodePayload(); } @@ -21604,90 +18235,78 @@ var hp = /* @__PURE__ */ function() { }, t.decodePayload = function() { var r = this.jwtToken.split(".")[1]; try { - return JSON.parse(Ke.Buffer.from(r, "base64").toString("utf8")); + return JSON.parse(Be.Buffer.from(r, "base64").toString("utf8")); } catch { return {}; } }, e; }(); -function l1(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, cu(e, t); +function YT(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, wa(e, t); } -function cu(e, t) { - return cu = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { - return r.__proto__ = i, r; - }, cu(e, t); +function wa(e, t) { + return wa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) { + return r.__proto__ = o, r; + }, wa(e, t); } -var lu = /* @__PURE__ */ function(e) { - l1(t, e); +var Da = /* @__PURE__ */ function(e) { + YT(t, e); function t(n) { - var r = n === void 0 ? {} : n, i = r.AccessToken; - return e.call(this, i || "") || this; + var r = n === void 0 ? {} : n, o = r.AccessToken; + return e.call(this, o || "") || this; } return t; -}(hp); -function f1(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, fu(e, t); +}(nh); +function FT(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Ia(e, t); } -function fu(e, t) { - return fu = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { - return r.__proto__ = i, r; - }, fu(e, t); +function Ia(e, t) { + return Ia = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) { + return r.__proto__ = o, r; + }, Ia(e, t); } -var du = /* @__PURE__ */ function(e) { - f1(t, e); +var Aa = /* @__PURE__ */ function(e) { + FT(t, e); function t(n) { - var r = n === void 0 ? {} : n, i = r.IdToken; - return e.call(this, i || "") || this; + var r = n === void 0 ? {} : n, o = r.IdToken; + return e.call(this, o || "") || this; } return t; -}(hp); +}(nh); /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var hu = /* @__PURE__ */ function() { +var Ea = /* @__PURE__ */ function() { function e(n) { - var r = n === void 0 ? {} : n, i = r.RefreshToken; - this.token = i || ""; + var r = n === void 0 ? {} : n, o = r.RefreshToken; + this.token = o || ""; } var t = e.prototype; return t.getToken = function() { return this.token; }, e; -}(), d1 = "5.0.4"; +}(), QT = "5.0.4"; /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var gu = "aws-amplify/" + d1, An = { - userAgent: gu + " js", - product: "", - navigator: null, - isReactNative: !1 -}; -if (typeof navigator < "u" && navigator.product) - switch (An.product = navigator.product || "", An.navigator = navigator || null, navigator.product) { - case "ReactNative": - An.userAgent = gu + " react-native", An.isReactNative = !0; - break; - default: - An.userAgent = gu + " js", An.isReactNative = !1; - break; - } -var h1 = function() { - return An.userAgent; +var BT = "aws-amplify/" + QT, rh = { + userAgent: BT, + isReactNative: typeof navigator < "u" && navigator.product === "ReactNative" +}, $T = function() { + return rh.userAgent; }; /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var pu = /* @__PURE__ */ function() { +var Ta = /* @__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) + var r = n === void 0 ? {} : n, o = r.IdToken, i = r.RefreshToken, s = r.AccessToken, a = r.ClockDrift; + if (s == null || o == null) throw new Error("Id token and Access Token must be present."); - this.idToken = i, this.refreshToken = o, this.accessToken = s, this.clockDrift = a === void 0 ? this.calculateClockDrift() : a; + this.idToken = o, this.refreshToken = i, this.accessToken = s, this.clockDrift = a === void 0 ? this.calculateClockDrift() : a; } var t = e.prototype; return t.getIdToken = function() { @@ -21699,29 +18318,29 @@ var pu = /* @__PURE__ */ function() { }, t.getClockDrift = function() { return this.clockDrift; }, t.calculateClockDrift = function() { - var r = Math.floor(/* @__PURE__ */ new Date() / 1e3), i = Math.min(this.accessToken.getIssuedAt(), this.idToken.getIssuedAt()); - return r - i; + var r = Math.floor(/* @__PURE__ */ new Date() / 1e3), o = Math.min(this.accessToken.getIssuedAt(), this.idToken.getIssuedAt()); + return r - o; }, t.isValid = function() { - var r = Math.floor(/* @__PURE__ */ new Date() / 1e3), i = r - this.clockDrift; - return i < this.accessToken.getExpiration() && i < this.idToken.getExpiration(); + var r = Math.floor(/* @__PURE__ */ new Date() / 1e3), o = r - this.clockDrift; + return o < this.accessToken.getExpiration() && o < this.idToken.getExpiration(); }, e; }(); /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -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() { +var WT = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], VT = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], Fl = /* @__PURE__ */ function() { function e() { } var t = e.prototype; return t.getNowString = function() { - var r = /* @__PURE__ */ new Date(), i = p1[r.getUTCDay()], o = g1[r.getUTCMonth()], s = r.getUTCDate(), a = r.getUTCHours(); + var r = /* @__PURE__ */ new Date(), o = VT[r.getUTCDay()], i = WT[r.getUTCMonth()], s = r.getUTCDate(), a = r.getUTCHours(); a < 10 && (a = "0" + a); - var u = r.getUTCMinutes(); - u < 10 && (u = "0" + u); - var c = r.getUTCSeconds(); + var c = r.getUTCMinutes(); c < 10 && (c = "0" + c); - var l = r.getUTCFullYear(), f = i + " " + o + " " + s + " " + a + ":" + u + ":" + c + " UTC " + l; + var u = r.getUTCSeconds(); + u < 10 && (u = "0" + u); + var l = r.getUTCFullYear(), f = o + " " + i + " " + s + " " + a + ":" + c + ":" + u + " UTC " + l; return f; }, e; }(); @@ -21729,10 +18348,10 @@ var g1 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Ir = /* @__PURE__ */ function() { +var sr = /* @__PURE__ */ function() { function e(n) { - var r = n === void 0 ? {} : n, i = r.Name, o = r.Value; - this.Name = i || "", this.Value = o || ""; + var r = n === void 0 ? {} : n, o = r.Name, i = r.Value; + this.Name = o || "", this.Value = i || ""; } var t = e.prototype; return t.getValue = function() { @@ -21756,24 +18375,24 @@ var Ir = /* @__PURE__ */ function() { * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var Pn = {}, M1 = /* @__PURE__ */ function() { +var En = {}, HT = /* @__PURE__ */ function() { function e() { } return e.setItem = function(n, r) { - return Pn[n] = r, Pn[n]; + return En[n] = r, En[n]; }, e.getItem = function(n) { - return Object.prototype.hasOwnProperty.call(Pn, n) ? Pn[n] : void 0; + return Object.prototype.hasOwnProperty.call(En, n) ? En[n] : void 0; }, e.removeItem = function(n) { - return delete Pn[n]; + return delete En[n]; }, e.clear = function() { - return Pn = {}, Pn; + return En = {}, En; }, e; -}(), gp = /* @__PURE__ */ function() { +}(), ih = /* @__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 = M1; + this.storageWindow = HT; } } var t = e.prototype; @@ -21785,11 +18404,11 @@ var Pn = {}, M1 = /* @__PURE__ */ function() { * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : navigator.userAgent : "nodejs", Mu = /* @__PURE__ */ function() { +var qT = typeof navigator < "u", Ql = qT ? rh.isReactNative ? "react-native" : navigator.userAgent : "nodejs", Na = /* @__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 gp().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 ih().getStorage(), this.keyPrefix = "CognitoIdentityServiceProvider." + this.pool.getClientId(), this.userDataKey = this.keyPrefix + "." + this.username + ".userData"; } var t = e.prototype; return t.setSignInUserSession = function(r) { @@ -21802,128 +18421,128 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n return this.authenticationFlowType; }, t.setAuthenticationFlowType = function(r) { this.authenticationFlowType = r; - }, t.initiateAuth = function(r, i) { - var o = this, s = r.getAuthParameters(); + }, t.initiateAuth = function(r, o) { + var i = this, s = r.getAuthParameters(); s.USERNAME = this.username; - var a = Object.keys(r.getValidationData()).length !== 0 ? r.getValidationData() : r.getClientMetadata(), u = { + var a = Object.keys(r.getValidationData()).length !== 0 ? r.getValidationData() : r.getClientMetadata(), c = { 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); + this.getUserContextData() && (c.UserContextData = this.getUserContextData()), this.client.request("InitiateAuth", c, function(u, l) { + if (u) + return o.onFailure(u); 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)); + return f === "CUSTOM_CHALLENGE" ? (i.Session = l.Session, o.customChallenge(d)) : (i.signInUserSession = i.getCognitoUserSession(l.AuthenticationResult), i.cacheTokens(), o.onSuccess(i.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 wr(this.pool.getUserPoolName()), a = new Pd(), u, c, l = {}; + }, t.authenticateUser = function(r, o) { + return this.authenticationFlowType === "USER_PASSWORD_AUTH" ? this.authenticateUserPlainUsernamePassword(r, o) : this.authenticationFlowType === "USER_SRP_AUTH" || this.authenticationFlowType === "CUSTOM_AUTH" ? this.authenticateUserDefaultAuth(r, o) : o.onFailure(new Error("Authentication flow type is invalid.")); + }, t.authenticateUserDefaultAuth = function(r, o) { + var i = this, s = new nr(this.pool.getUserPoolName()), a = new Fl(), c, u, 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(), + f && o.onFailure(f), l.SRP_A = d.toString(16), i.authenticationFlowType === "CUSTOM_AUTH" && (l.CHALLENGE_NAME = "SRP_A"); + var p = Object.keys(r.getValidationData()).length !== 0 ? r.getValidationData() : r.getClientMetadata(), M = { + AuthFlow: i.authenticationFlowType, + ClientId: i.pool.getClientId(), AuthParameters: l, - ClientMetadata: g + ClientMetadata: p }; - 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 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 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 ? (W.DEVICE_KEY = null, o.deviceKey = null, o.randomPassword = null, o.deviceGroupKey = null, o.clearCachedDeviceKeyAndPassword(), U(x, T)) : T(S, R); + i.getUserContextData(i.username) && (M.UserContextData = i.getUserContextData(i.username)), i.client.request("InitiateAuth", M, function(y, m) { + if (y) + return o.onFailure(y); + var w = m.ChallengeParameters; + i.username = w.USER_ID_FOR_SRP, i.userDataKey = i.keyPrefix + "." + i.username + ".userData", c = new pe(w.SRP_B, 16), u = new pe(w.SALT, 16), i.getCachedDeviceKeyAndPassword(), s.getPasswordAuthenticationKey(i.username, r.getPassword(), c, u, function(D, N) { + D && o.onFailure(D); + var E = a.getNowString(), T = Be.Buffer.concat([Be.Buffer.from(i.pool.getUserPoolName(), "utf8"), Be.Buffer.from(i.username, "utf8"), Be.Buffer.from(w.SECRET_BLOCK, "base64"), Be.Buffer.from(E, "utf8")]), F = new Rn.Sha256(N); + F.update(T); + var _ = F.digestSync(), G = Be.Buffer.from(_).toString("base64"), Q = {}; + Q.USERNAME = i.username, Q.PASSWORD_CLAIM_SECRET_BLOCK = w.SECRET_BLOCK, Q.TIMESTAMP = E, Q.PASSWORD_CLAIM_SIGNATURE = G, i.deviceKey != null && (Q.DEVICE_KEY = i.deviceKey); + var K = function re(U, j) { + return i.client.request("RespondToAuthChallenge", U, function(C, V) { + return C && C.code === "ResourceNotFoundException" && C.message.toLowerCase().indexOf("device") !== -1 ? (Q.DEVICE_KEY = null, i.deviceKey = null, i.randomPassword = null, i.deviceGroupKey = null, i.clearCachedDeviceKeyAndPassword(), re(U, j)) : j(C, V); }); - }, k = { + }, Z = { ChallengeName: "PASSWORD_VERIFIER", - ClientId: o.pool.getClientId(), - ChallengeResponses: W, + ClientId: i.pool.getClientId(), + ChallengeResponses: Q, Session: m.Session, - ClientMetadata: g + ClientMetadata: p }; - o.getUserContextData() && (k.UserContextData = o.getUserContextData()), b(k, function(U, x) { - return U ? i.onFailure(U) : o.authenticateUserInternal(x, s, i); + i.getUserContextData() && (Z.UserContextData = i.getUserContextData()), K(Z, function(re, U) { + return re ? o.onFailure(re) : i.authenticateUserInternal(U, s, o); }); }); }); }); - }, t.authenticateUserPlainUsernamePassword = function(r, i) { - var o = this, s = {}; + }, t.authenticateUserPlainUsernamePassword = function(r, o) { + var i = this, s = {}; if (s.USERNAME = this.username, s.PASSWORD = r.getPassword(), !s.PASSWORD) { - i.onFailure(new Error("PASSWORD parameter is required")); + o.onFailure(new Error("PASSWORD parameter is required")); return; } - var a = new wr(this.pool.getUserPoolName()); + var a = new nr(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 = { + var c = Object.keys(r.getValidationData()).length !== 0 ? r.getValidationData() : r.getClientMetadata(), u = { AuthFlow: "USER_PASSWORD_AUTH", ClientId: this.pool.getClientId(), AuthParameters: s, - ClientMetadata: u + ClientMetadata: c }; - 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); + this.getUserContextData(this.username) && (u.UserContextData = this.getUserContextData(this.username)), this.client.request("InitiateAuth", u, function(l, f) { + return l ? o.onFailure(l) : i.authenticateUserInternal(f, a, o); }); - }, t.authenticateUserInternal = function(r, i, o) { - var s = this, a = r.ChallengeName, u = r.ChallengeParameters; + }, t.authenticateUserInternal = function(r, o, i) { + var s = this, a = r.ChallengeName, c = r.ChallengeParameters; if (a === "SMS_MFA") - return this.Session = r.Session, o.mfaRequired(a, u); + return this.Session = r.Session, i.mfaRequired(a, c); if (a === "SELECT_MFA_TYPE") - return this.Session = r.Session, o.selectMFAType(a, u); + return this.Session = r.Session, i.selectMFAType(a, c); if (a === "MFA_SETUP") - return this.Session = r.Session, o.mfaSetup(a, u); + return this.Session = r.Session, i.mfaSetup(a, c); if (a === "SOFTWARE_TOKEN_MFA") - return this.Session = r.Session, o.totpRequired(a, u); + return this.Session = r.Session, i.totpRequired(a, c); if (a === "CUSTOM_CHALLENGE") - return this.Session = r.Session, o.customChallenge(u); + return this.Session = r.Session, i.customChallenge(c); 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 < l.length; g++) - f[g] = l[g].substr(d.length); - return o.newPasswordRequired(c, f); + var u = null, l = null, f = [], d = o.getNewPasswordRequiredChallengeUserAttributePrefix(); + if (c && (u = JSON.parse(r.ChallengeParameters.userAttributes), l = JSON.parse(r.ChallengeParameters.requiredAttributes)), l) + for (var p = 0; p < l.length; p++) + f[p] = l[p].substr(d.length); + return i.newPasswordRequired(u, f); } if (a === "DEVICE_SRP_AUTH") { - this.Session = r.Session, this.getDeviceResponse(o); + this.Session = r.Session, this.getDeviceResponse(i); return; } this.signInUserSession = this.getCognitoUserSession(r.AuthenticationResult), this.challengeName = a, this.cacheTokens(); - var h = r.AuthenticationResult.NewDeviceMetadata; - if (h == null) - return o.onSuccess(this.signInUserSession); - i.generateHashDevice(r.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, r.AuthenticationResult.NewDeviceMetadata.DeviceKey, function(p) { - if (p) - return o.onFailure(p); + var M = r.AuthenticationResult.NewDeviceMetadata; + if (M == null) + return i.onSuccess(this.signInUserSession); + o.generateHashDevice(r.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, r.AuthenticationResult.NewDeviceMetadata.DeviceKey, function(y) { + if (y) + return i.onFailure(y); var m = { - Salt: Ke.Buffer.from(i.getSaltDevices(), "hex").toString("base64"), - PasswordVerifier: Ke.Buffer.from(i.getVerifierDevices(), "hex").toString("base64") + Salt: Be.Buffer.from(o.getSaltDevices(), "hex").toString("base64"), + PasswordVerifier: Be.Buffer.from(o.getVerifierDevices(), "hex").toString("base64") }; - s.verifierDevices = m.PasswordVerifier, s.deviceGroupKey = h.DeviceGroupKey, s.randomPassword = i.getRandomPassword(), s.client.request("ConfirmDevice", { - DeviceKey: h.DeviceKey, + s.verifierDevices = m.PasswordVerifier, s.deviceGroupKey = M.DeviceGroupKey, s.randomPassword = o.getRandomPassword(), s.client.request("ConfirmDevice", { + DeviceKey: M.DeviceKey, AccessToken: s.signInUserSession.getAccessToken().getJwtToken(), DeviceSecretVerifierConfig: m, - 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)); + DeviceName: Ql + }, function(w, D) { + return w ? i.onFailure(w) : (s.deviceKey = r.AuthenticationResult.NewDeviceMetadata.DeviceKey, s.cacheDeviceKeyAndPassword(), D.UserConfirmationNecessary === !0 ? i.onSuccess(s.signInUserSession, D.UserConfirmationNecessary) : i.onSuccess(s.signInUserSession)); }); }); - }, t.completeNewPasswordChallenge = function(r, i, o, s) { + }, t.completeNewPasswordChallenge = function(r, o, i, s) { var a = this; if (!r) - return o.onFailure(new Error("New password is required.")); - var u = new wr(this.pool.getUserPoolName()), c = u.getNewPasswordRequiredChallengeUserAttributePrefix(), l = {}; - i && Object.keys(i).forEach(function(d) { - l[c + d] = i[d]; + return i.onFailure(new Error("New password is required.")); + var c = new nr(this.pool.getUserPoolName()), u = c.getNewPasswordRequiredChallengeUserAttributePrefix(), l = {}; + o && Object.keys(o).forEach(function(d) { + l[u + d] = o[d]; }), l.NEW_PASSWORD = r, l.USERNAME = this.username; var f = { ChallengeName: "NEW_PASSWORD_REQUIRED", @@ -21932,174 +18551,174 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n Session: this.Session, ClientMetadata: s }; - this.getUserContextData() && (f.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", f, function(d, g) { - return d ? o.onFailure(d) : a.authenticateUserInternal(g, u, o); + this.getUserContextData() && (f.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", f, function(d, p) { + return d ? i.onFailure(d) : a.authenticateUserInternal(p, c, i); }); - }, t.getDeviceResponse = function(r, i) { - 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); + }, t.getDeviceResponse = function(r, o) { + var i = this, s = new nr(this.deviceGroupKey), a = new Fl(), c = {}; + c.USERNAME = this.username, c.DEVICE_KEY = this.deviceKey, s.getLargeAValue(function(u, l) { + u && r.onFailure(u), c.SRP_A = l.toString(16); var f = { ChallengeName: "DEVICE_SRP_AUTH", - ClientId: o.pool.getClientId(), - ChallengeResponses: u, - ClientMetadata: i, - Session: o.Session + ClientId: i.pool.getClientId(), + ChallengeResponses: c, + ClientMetadata: o, + Session: i.Session }; - o.getUserContextData() && (f.UserContextData = o.getUserContextData()), o.client.request("RespondToAuthChallenge", f, function(d, g) { + i.getUserContextData() && (f.UserContextData = i.getUserContextData()), i.client.request("RespondToAuthChallenge", f, function(d, p) { if (d) return r.onFailure(d); - 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(), 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 = { + var M = p.ChallengeParameters, y = new pe(M.SRP_B, 16), m = new pe(M.SALT, 16); + s.getPasswordAuthenticationKey(i.deviceKey, i.randomPassword, y, m, function(w, D) { + if (w) + return r.onFailure(w); + var N = a.getNowString(), E = Be.Buffer.concat([Be.Buffer.from(i.deviceGroupKey, "utf8"), Be.Buffer.from(i.deviceKey, "utf8"), Be.Buffer.from(M.SECRET_BLOCK, "base64"), Be.Buffer.from(N, "utf8")]), T = new Rn.Sha256(D); + T.update(E); + var F = T.digestSync(), _ = Be.Buffer.from(F).toString("base64"), G = {}; + G.USERNAME = i.username, G.PASSWORD_CLAIM_SECRET_BLOCK = M.SECRET_BLOCK, G.TIMESTAMP = N, G.PASSWORD_CLAIM_SIGNATURE = _, G.DEVICE_KEY = i.deviceKey; + var Q = { ChallengeName: "DEVICE_PASSWORD_VERIFIER", - ClientId: o.pool.getClientId(), - ChallengeResponses: H, - Session: g.Session + ClientId: i.pool.getClientId(), + ChallengeResponses: G, + Session: p.Session }; - 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)); + i.getUserContextData() && (Q.UserContextData = i.getUserContextData()), i.client.request("RespondToAuthChallenge", Q, function(K, Z) { + return K ? r.onFailure(K) : (i.signInUserSession = i.getCognitoUserSession(Z.AuthenticationResult), i.cacheTokens(), r.onSuccess(i.signInUserSession)); }); }); }); }); - }, t.confirmRegistration = function(r, i, o, s) { + }, t.confirmRegistration = function(r, o, i, s) { var a = { ClientId: this.pool.getClientId(), ConfirmationCode: r, Username: this.username, - ForceAliasCreation: i, + ForceAliasCreation: o, ClientMetadata: s }; - this.getUserContextData() && (a.UserContextData = this.getUserContextData()), this.client.request("ConfirmSignUp", a, function(u) { - return u ? o(u, null) : o(null, "SUCCESS"); + this.getUserContextData() && (a.UserContextData = this.getUserContextData()), this.client.request("ConfirmSignUp", a, function(c) { + return c ? i(c, null) : i(null, "SUCCESS"); }); - }, t.sendCustomChallengeAnswer = function(r, i, o) { + }, t.sendCustomChallengeAnswer = function(r, o, i) { var s = this, a = {}; a.USERNAME = this.username, a.ANSWER = r; - var u = new wr(this.pool.getUserPoolName()); + var c = new nr(this.pool.getUserPoolName()); this.getCachedDeviceKeyAndPassword(), this.deviceKey != null && (a.DEVICE_KEY = this.deviceKey); - var c = { + var u = { ChallengeName: "CUSTOM_CHALLENGE", ChallengeResponses: a, ClientId: this.pool.getClientId(), Session: this.Session, - ClientMetadata: o + ClientMetadata: i }; - this.getUserContextData() && (c.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", c, function(l, f) { - return l ? i.onFailure(l) : s.authenticateUserInternal(f, u, i); + this.getUserContextData() && (u.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", u, function(l, f) { + return l ? o.onFailure(l) : s.authenticateUserInternal(f, c, o); }); - }, t.sendMFACode = function(r, i, o, s) { - var a = this, u = {}; - u.USERNAME = this.username, u.SMS_MFA_CODE = r; - var c = o || "SMS_MFA"; - c === "SOFTWARE_TOKEN_MFA" && (u.SOFTWARE_TOKEN_MFA_CODE = r), this.deviceKey != null && (u.DEVICE_KEY = this.deviceKey); + }, t.sendMFACode = function(r, o, i, s) { + var a = this, c = {}; + c.USERNAME = this.username, c.SMS_MFA_CODE = r; + var u = i || "SMS_MFA"; + u === "SOFTWARE_TOKEN_MFA" && (c.SOFTWARE_TOKEN_MFA_CODE = r), this.deviceKey != null && (c.DEVICE_KEY = this.deviceKey); var l = { - ChallengeName: c, - ChallengeResponses: u, + ChallengeName: u, + ChallengeResponses: c, ClientId: this.pool.getClientId(), Session: this.Session, ClientMetadata: s }; this.getUserContextData() && (l.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", l, function(f, d) { if (f) - return i.onFailure(f); - var g = d.ChallengeName; - if (g === "DEVICE_SRP_AUTH") { - a.getDeviceResponse(i); + return o.onFailure(f); + var p = d.ChallengeName; + if (p === "DEVICE_SRP_AUTH") { + a.getDeviceResponse(o); return; } if (a.signInUserSession = a.getCognitoUserSession(d.AuthenticationResult), a.cacheTokens(), d.AuthenticationResult.NewDeviceMetadata == null) - return i.onSuccess(a.signInUserSession); - var h = new wr(a.pool.getUserPoolName()); - h.generateHashDevice(d.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, d.AuthenticationResult.NewDeviceMetadata.DeviceKey, function(p) { - if (p) - return i.onFailure(p); + return o.onSuccess(a.signInUserSession); + var M = new nr(a.pool.getUserPoolName()); + M.generateHashDevice(d.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, d.AuthenticationResult.NewDeviceMetadata.DeviceKey, function(y) { + if (y) + return o.onFailure(y); var m = { - Salt: Ke.Buffer.from(h.getSaltDevices(), "hex").toString("base64"), - PasswordVerifier: Ke.Buffer.from(h.getVerifierDevices(), "hex").toString("base64") + Salt: Be.Buffer.from(M.getSaltDevices(), "hex").toString("base64"), + PasswordVerifier: Be.Buffer.from(M.getVerifierDevices(), "hex").toString("base64") }; - a.verifierDevices = m.PasswordVerifier, a.deviceGroupKey = d.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, a.randomPassword = h.getRandomPassword(), a.client.request("ConfirmDevice", { + a.verifierDevices = m.PasswordVerifier, a.deviceGroupKey = d.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, a.randomPassword = M.getRandomPassword(), a.client.request("ConfirmDevice", { DeviceKey: d.AuthenticationResult.NewDeviceMetadata.DeviceKey, AccessToken: a.signInUserSession.getAccessToken().getJwtToken(), DeviceSecretVerifierConfig: m, - 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)); + DeviceName: Ql + }, function(w, D) { + return w ? o.onFailure(w) : (a.deviceKey = d.AuthenticationResult.NewDeviceMetadata.DeviceKey, a.cacheDeviceKeyAndPassword(), D.UserConfirmationNecessary === !0 ? o.onSuccess(a.signInUserSession, D.UserConfirmationNecessary) : o.onSuccess(a.signInUserSession)); }); }); }); - }, t.changePassword = function(r, i, o, s) { + }, t.changePassword = function(r, o, i, s) { if (!(this.signInUserSession != null && this.signInUserSession.isValid())) - return o(new Error("User is not authenticated"), null); + return i(new Error("User is not authenticated"), null); this.client.request("ChangePassword", { PreviousPassword: r, - ProposedPassword: i, + ProposedPassword: o, AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), ClientMetadata: s }, function(a) { - return a ? o(a, null) : o(null, "SUCCESS"); + return a ? i(a, null) : i(null, "SUCCESS"); }); }, t.enableMFA = function(r) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) return r(new Error("User is not authenticated"), null); - var i = [], o = { + var o = [], i = { DeliveryMedium: "SMS", AttributeName: "phone_number" }; - i.push(o), this.client.request("SetUserSettings", { - MFAOptions: i, + o.push(i), this.client.request("SetUserSettings", { + MFAOptions: o, AccessToken: this.signInUserSession.getAccessToken().getJwtToken() }, function(s) { return s ? r(s, null) : r(null, "SUCCESS"); }); - }, t.setUserMfaPreference = function(r, i, o) { + }, t.setUserMfaPreference = function(r, o, i) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) - return o(new Error("User is not authenticated"), null); + return i(new Error("User is not authenticated"), null); this.client.request("SetUserMFAPreference", { SMSMfaSettings: r, - SoftwareTokenMfaSettings: i, + SoftwareTokenMfaSettings: o, AccessToken: this.signInUserSession.getAccessToken().getJwtToken() }, function(s) { - return s ? o(s, null) : o(null, "SUCCESS"); + return s ? i(s, null) : i(null, "SUCCESS"); }); }, t.disableMFA = function(r) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) return r(new Error("User is not authenticated"), null); - var i = []; + var o = []; this.client.request("SetUserSettings", { - MFAOptions: i, + MFAOptions: o, AccessToken: this.signInUserSession.getAccessToken().getJwtToken() - }, function(o) { - return o ? r(o, null) : r(null, "SUCCESS"); + }, function(i) { + return i ? r(i, null) : r(null, "SUCCESS"); }); - }, t.deleteUser = function(r, i) { - var o = this; + }, t.deleteUser = function(r, o) { + var i = this; if (this.signInUserSession == null || !this.signInUserSession.isValid()) return r(new Error("User is not authenticated"), null); this.client.request("DeleteUser", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), - ClientMetadata: i + ClientMetadata: o }, function(s) { - return s ? r(s, null) : (o.clearCachedUser(), r(null, "SUCCESS")); + return s ? r(s, null) : (i.clearCachedUser(), r(null, "SUCCESS")); }); - }, t.updateAttributes = function(r, i, o) { + }, t.updateAttributes = function(r, o, i) { var s = this; if (this.signInUserSession == null || !this.signInUserSession.isValid()) - return i(new Error("User is not authenticated"), null); + return o(new Error("User is not authenticated"), null); this.client.request("UpdateUserAttributes", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), UserAttributes: r, - ClientMetadata: o - }, function(a, u) { - return a ? i(a, null) : s.getUserData(function() { - return i(null, "SUCCESS", u); + ClientMetadata: i + }, function(a, c) { + return a ? o(a, null) : s.getUserData(function() { + return o(null, "SUCCESS", c); }, { bypassCache: !0 }); @@ -22109,15 +18728,15 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n return r(new Error("User is not authenticated"), null); this.client.request("GetUser", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken() - }, function(i, o) { - if (i) - return r(i, null); - for (var s = [], a = 0; a < o.UserAttributes.length; a++) { - var u = { - Name: o.UserAttributes[a].Name, - Value: o.UserAttributes[a].Value - }, c = new Ir(u); - s.push(c); + }, function(o, i) { + if (o) + return r(o, null); + for (var s = [], a = 0; a < i.UserAttributes.length; a++) { + var c = { + Name: i.UserAttributes[a].Name, + Value: i.UserAttributes[a].Value + }, u = new sr(c); + s.push(u); } return r(null, s); }); @@ -22126,21 +18745,21 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n return r(new Error("User is not authenticated"), null); this.client.request("GetUser", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken() - }, function(i, o) { - return i ? r(i, null) : r(null, o.MFAOptions); + }, function(o, i) { + return o ? r(o, null) : r(null, i.MFAOptions); }); }, t.createGetUserRequest = function() { return this.client.promisifyRequest("GetUser", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken() }); }, t.refreshSessionIfPossible = function(r) { - var i = this; - return r === void 0 && (r = {}), new Promise(function(o) { - var s = i.signInUserSession.getRefreshToken(); - s && s.getToken() ? i.refreshSession(s, o, r.clientMetadata) : o(); - }); - }, t.getUserData = function(r, i) { var o = this; + return r === void 0 && (r = {}), new Promise(function(i) { + var s = o.signInUserSession.getRefreshToken(); + s && s.getToken() ? o.refreshSession(s, i, r.clientMetadata) : i(); + }); + }, t.getUserData = function(r, o) { + var i = this; if (!(this.signInUserSession != null && this.signInUserSession.isValid())) return this.clearCachedUserData(), r(new Error("User is not authenticated"), null); var s = this.getUserDataFromCache(); @@ -22150,9 +18769,9 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n }).catch(r); return; } - if (this.isFetchUserDataAndTokenRequired(i)) { + if (this.isFetchUserDataAndTokenRequired(o)) { this.fetchUserData().then(function(a) { - return o.refreshSessionIfPossible(i).then(function() { + return i.refreshSessionIfPossible(o).then(function() { return a; }); }).then(function(a) { @@ -22171,88 +18790,88 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n var r = this.storage.getItem(this.userDataKey); return r; }, t.isFetchUserDataAndTokenRequired = function(r) { - var i = r || {}, o = i.bypassCache, s = o === void 0 ? !1 : o; + var o = r || {}, i = o.bypassCache, s = i === void 0 ? !1 : i; return s; }, t.fetchUserData = function() { var r = this; - return this.createGetUserRequest().then(function(i) { - return r.cacheUserData(i), i; + return this.createGetUserRequest().then(function(o) { + return r.cacheUserData(o), o; }); - }, t.deleteAttributes = function(r, i) { - var o = this; + }, t.deleteAttributes = function(r, o) { + var i = this; if (!(this.signInUserSession != null && this.signInUserSession.isValid())) - return i(new Error("User is not authenticated"), null); + return o(new Error("User is not authenticated"), null); this.client.request("DeleteUserAttributes", { UserAttributeNames: r, AccessToken: this.signInUserSession.getAccessToken().getJwtToken() }, function(s) { - return s ? i(s, null) : o.getUserData(function() { - return i(null, "SUCCESS"); + return s ? o(s, null) : i.getUserData(function() { + return o(null, "SUCCESS"); }, { bypassCache: !0 }); }); - }, t.resendConfirmationCode = function(r, i) { - var o = { + }, t.resendConfirmationCode = function(r, o) { + var i = { ClientId: this.pool.getClientId(), Username: this.username, - ClientMetadata: i + ClientMetadata: o }; - this.client.request("ResendConfirmationCode", o, function(s, a) { + this.client.request("ResendConfirmationCode", i, function(s, a) { return s ? r(s, null) : r(null, a); }); - }, t.getSession = function(r, i) { - if (i === void 0 && (i = {}), this.username == null) + }, t.getSession = function(r, o) { + if (o === void 0 && (o = {}), this.username == null) return r(new Error("Username is null. Cannot retrieve a new session"), null); if (this.signInUserSession != null && this.signInUserSession.isValid()) 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"; + var i = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, s = i + ".idToken", a = i + ".accessToken", c = i + ".refreshToken", u = i + ".clockDrift"; if (this.storage.getItem(s)) { - var l = new du({ + var l = new Aa({ IdToken: this.storage.getItem(s) - }), f = new lu({ + }), f = new Da({ AccessToken: this.storage.getItem(a) - }), d = new hu({ - RefreshToken: this.storage.getItem(u) - }), g = parseInt(this.storage.getItem(c), 0) || 0, h = { + }), d = new Ea({ + RefreshToken: this.storage.getItem(c) + }), p = parseInt(this.storage.getItem(u), 0) || 0, M = { IdToken: l, AccessToken: f, RefreshToken: d, - ClockDrift: g - }, p = new pu(h); - if (p.isValid()) - return this.signInUserSession = p, r(null, this.signInUserSession); + ClockDrift: p + }, y = new Ta(M); + if (y.isValid()) + return this.signInUserSession = y, r(null, this.signInUserSession); if (!d.getToken()) return r(new Error("Cannot retrieve a new session. Please authenticate."), null); - this.refreshSession(d, r, i.clientMetadata); + this.refreshSession(d, r, o.clientMetadata); } else r(new Error("Local storage is missing an ID Token, Please authenticate"), null); - }, t.refreshSession = function(r, i, o) { - var s = this, a = this.pool.wrapRefreshSessionCallback ? this.pool.wrapRefreshSessionCallback(i) : i, u = {}; - u.REFRESH_TOKEN = r.getToken(); - var c = "CognitoIdentityServiceProvider." + this.pool.getClientId(), l = c + ".LastAuthUser"; + }, t.refreshSession = function(r, o, i) { + var s = this, a = this.pool.wrapRefreshSessionCallback ? this.pool.wrapRefreshSessionCallback(o) : o, c = {}; + c.REFRESH_TOKEN = r.getToken(); + var u = "CognitoIdentityServiceProvider." + this.pool.getClientId(), l = u + ".LastAuthUser"; if (this.storage.getItem(l)) { this.username = this.storage.getItem(l); - var f = c + "." + this.username + ".deviceKey"; - this.deviceKey = this.storage.getItem(f), u.DEVICE_KEY = this.deviceKey; + var f = u + "." + this.username + ".deviceKey"; + this.deviceKey = this.storage.getItem(f), c.DEVICE_KEY = this.deviceKey; } var d = { ClientId: this.pool.getClientId(), AuthFlow: "REFRESH_TOKEN_AUTH", - AuthParameters: u, - ClientMetadata: o + AuthParameters: c, + ClientMetadata: i }; - this.getUserContextData() && (d.UserContextData = this.getUserContextData()), this.client.request("InitiateAuth", d, function(g, h) { - if (g) - return g.code === "NotAuthorizedException" && s.clearCachedUser(), a(g, null); - if (h) { - var p = h.AuthenticationResult; - return Object.prototype.hasOwnProperty.call(p, "RefreshToken") || (p.RefreshToken = r.getToken()), s.signInUserSession = s.getCognitoUserSession(p), s.cacheTokens(), a(null, s.signInUserSession); + this.getUserContextData() && (d.UserContextData = this.getUserContextData()), this.client.request("InitiateAuth", d, function(p, M) { + if (p) + return p.code === "NotAuthorizedException" && s.clearCachedUser(), a(p, null); + if (M) { + var y = M.AuthenticationResult; + return Object.prototype.hasOwnProperty.call(y, "RefreshToken") || (y.RefreshToken = r.getToken()), s.signInUserSession = s.getCognitoUserSession(y), s.cacheTokens(), a(null, s.signInUserSession); } }); }, t.cacheTokens = function() { - var r = "CognitoIdentityServiceProvider." + this.pool.getClientId(), i = r + "." + this.username + ".idToken", o = r + "." + this.username + ".accessToken", s = r + "." + this.username + ".refreshToken", a = r + "." + this.username + ".clockDrift", u = r + ".LastAuthUser"; - this.storage.setItem(i, this.signInUserSession.getIdToken().getJwtToken()), this.storage.setItem(o, this.signInUserSession.getAccessToken().getJwtToken()), this.storage.setItem(s, this.signInUserSession.getRefreshToken().getToken()), this.storage.setItem(a, "" + this.signInUserSession.getClockDrift()), this.storage.setItem(u, this.username); + var r = "CognitoIdentityServiceProvider." + this.pool.getClientId(), o = r + "." + this.username + ".idToken", i = r + "." + this.username + ".accessToken", s = r + "." + this.username + ".refreshToken", a = r + "." + this.username + ".clockDrift", c = r + ".LastAuthUser"; + this.storage.setItem(o, this.signInUserSession.getIdToken().getJwtToken()), this.storage.setItem(i, this.signInUserSession.getAccessToken().getJwtToken()), this.storage.setItem(s, this.signInUserSession.getRefreshToken().getToken()), this.storage.setItem(a, "" + this.signInUserSession.getClockDrift()), this.storage.setItem(c, this.username); }, t.cacheUserData = function(r) { this.storage.setItem(this.userDataKey, JSON.stringify(r)); }, t.clearCachedUserData = function() { @@ -22260,63 +18879,63 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n }, t.clearCachedUser = function() { this.clearCachedTokens(), this.clearCachedUserData(); }, t.cacheDeviceKeyAndPassword = function() { - var r = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, i = r + ".deviceKey", o = r + ".randomPasswordKey", s = r + ".deviceGroupKey"; - this.storage.setItem(i, this.deviceKey), this.storage.setItem(o, this.randomPassword), this.storage.setItem(s, this.deviceGroupKey); + var r = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, o = r + ".deviceKey", i = r + ".randomPasswordKey", s = r + ".deviceGroupKey"; + this.storage.setItem(o, this.deviceKey), this.storage.setItem(i, this.randomPassword), this.storage.setItem(s, this.deviceGroupKey); }, t.getCachedDeviceKeyAndPassword = function() { - var r = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, i = r + ".deviceKey", o = r + ".randomPasswordKey", s = r + ".deviceGroupKey"; - this.storage.getItem(i) && (this.deviceKey = this.storage.getItem(i), this.randomPassword = this.storage.getItem(o), this.deviceGroupKey = this.storage.getItem(s)); + var r = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, o = r + ".deviceKey", i = r + ".randomPasswordKey", s = r + ".deviceGroupKey"; + this.storage.getItem(o) && (this.deviceKey = this.storage.getItem(o), this.randomPassword = this.storage.getItem(i), this.deviceGroupKey = this.storage.getItem(s)); }, t.clearCachedDeviceKeyAndPassword = function() { - var r = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, i = r + ".deviceKey", o = r + ".randomPasswordKey", s = r + ".deviceGroupKey"; - this.storage.removeItem(i), this.storage.removeItem(o), this.storage.removeItem(s); + var r = "CognitoIdentityServiceProvider." + this.pool.getClientId() + "." + this.username, o = r + ".deviceKey", i = r + ".randomPasswordKey", s = r + ".deviceGroupKey"; + this.storage.removeItem(o), this.storage.removeItem(i), this.storage.removeItem(s); }, t.clearCachedTokens = function() { - 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); + var r = "CognitoIdentityServiceProvider." + this.pool.getClientId(), o = r + "." + this.username + ".idToken", i = r + "." + this.username + ".accessToken", s = r + "." + this.username + ".refreshToken", a = r + ".LastAuthUser", c = r + "." + this.username + ".clockDrift"; + this.storage.removeItem(o), this.storage.removeItem(i), this.storage.removeItem(s), this.storage.removeItem(a), this.storage.removeItem(c); }, t.getCognitoUserSession = function(r) { - var i = new du(r), o = new lu(r), s = new hu(r), a = { - IdToken: i, - AccessToken: o, + var o = new Aa(r), i = new Da(r), s = new Ea(r), a = { + IdToken: o, + AccessToken: i, RefreshToken: s }; - return new pu(a); - }, t.forgotPassword = function(r, i) { - var o = { + return new Ta(a); + }, t.forgotPassword = function(r, o) { + var i = { ClientId: this.pool.getClientId(), Username: this.username, - ClientMetadata: i + ClientMetadata: o }; - this.getUserContextData() && (o.UserContextData = this.getUserContextData()), this.client.request("ForgotPassword", o, function(s, a) { + this.getUserContextData() && (i.UserContextData = this.getUserContextData()), this.client.request("ForgotPassword", i, function(s, a) { return s ? r.onFailure(s) : typeof r.inputVerificationCode == "function" ? r.inputVerificationCode(a) : r.onSuccess(a); }); - }, t.confirmPassword = function(r, i, o, s) { + }, t.confirmPassword = function(r, o, i, s) { var a = { ClientId: this.pool.getClientId(), Username: this.username, ConfirmationCode: r, - Password: i, + Password: o, ClientMetadata: s }; - this.getUserContextData() && (a.UserContextData = this.getUserContextData()), this.client.request("ConfirmForgotPassword", a, function(u) { - return u ? o.onFailure(u) : o.onSuccess("SUCCESS"); + this.getUserContextData() && (a.UserContextData = this.getUserContextData()), this.client.request("ConfirmForgotPassword", a, function(c) { + return c ? i.onFailure(c) : i.onSuccess("SUCCESS"); }); - }, t.getAttributeVerificationCode = function(r, i, o) { + }, t.getAttributeVerificationCode = function(r, o, i) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) - return i.onFailure(new Error("User is not authenticated")); + return o.onFailure(new Error("User is not authenticated")); this.client.request("GetUserAttributeVerificationCode", { AttributeName: r, AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), - ClientMetadata: o + ClientMetadata: i }, function(s, a) { - return s ? i.onFailure(s) : typeof i.inputVerificationCode == "function" ? i.inputVerificationCode(a) : i.onSuccess("SUCCESS"); + return s ? o.onFailure(s) : typeof o.inputVerificationCode == "function" ? o.inputVerificationCode(a) : o.onSuccess("SUCCESS"); }); - }, t.verifyAttribute = function(r, i, o) { + }, t.verifyAttribute = function(r, o, i) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) - return o.onFailure(new Error("User is not authenticated")); + return i.onFailure(new Error("User is not authenticated")); this.client.request("VerifyUserAttribute", { AttributeName: r, - Code: i, + Code: o, AccessToken: this.signInUserSession.getAccessToken().getJwtToken() }, function(s) { - return s ? o.onFailure(s) : o.onSuccess("SUCCESS"); + return s ? i.onFailure(s) : i.onSuccess("SUCCESS"); }); }, t.getDevice = function(r) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) @@ -22324,24 +18943,24 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n this.client.request("GetDevice", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), DeviceKey: this.deviceKey - }, function(i, o) { - return i ? r.onFailure(i) : r.onSuccess(o); + }, function(o, i) { + return o ? r.onFailure(o) : r.onSuccess(i); }); - }, t.forgetSpecificDevice = function(r, i) { + }, t.forgetSpecificDevice = function(r, o) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) - return i.onFailure(new Error("User is not authenticated")); + return o.onFailure(new Error("User is not authenticated")); this.client.request("ForgetDevice", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), DeviceKey: r - }, function(o) { - return o ? i.onFailure(o) : i.onSuccess("SUCCESS"); + }, function(i) { + return i ? o.onFailure(i) : o.onSuccess("SUCCESS"); }); }, t.forgetDevice = function(r) { - var i = this; + var o = this; this.forgetSpecificDevice(this.deviceKey, { onFailure: r.onFailure, onSuccess: function(s) { - return i.deviceKey = null, i.deviceGroupKey = null, i.randomPassword = null, i.clearCachedDeviceKeyAndPassword(), r.onSuccess(s); + return o.deviceKey = null, o.deviceGroupKey = null, o.randomPassword = null, o.clearCachedDeviceKeyAndPassword(), r.onSuccess(s); } }); }, t.setDeviceStatusRemembered = function(r) { @@ -22351,8 +18970,8 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), DeviceKey: this.deviceKey, DeviceRememberedStatus: "remembered" - }, function(i) { - return i ? r.onFailure(i) : r.onSuccess("SUCCESS"); + }, function(o) { + return o ? r.onFailure(o) : r.onSuccess("SUCCESS"); }); }, t.setDeviceStatusNotRemembered = function(r) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) @@ -22361,39 +18980,39 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), DeviceKey: this.deviceKey, DeviceRememberedStatus: "not_remembered" - }, function(i) { - return i ? r.onFailure(i) : r.onSuccess("SUCCESS"); + }, function(o) { + return o ? r.onFailure(o) : r.onSuccess("SUCCESS"); }); - }, t.listDevices = function(r, i, o) { + }, t.listDevices = function(r, o, i) { if (this.signInUserSession == null || !this.signInUserSession.isValid()) - return o.onFailure(new Error("User is not authenticated")); + return i.onFailure(new Error("User is not authenticated")); var s = { AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), Limit: r }; - i && (s.PaginationToken = i), this.client.request("ListDevices", s, function(a, u) { - return a ? o.onFailure(a) : o.onSuccess(u); + o && (s.PaginationToken = o), this.client.request("ListDevices", s, function(a, c) { + return a ? i.onFailure(a) : i.onSuccess(c); }); }, t.globalSignOut = function(r) { - var i = this; + var o = this; if (this.signInUserSession == null || !this.signInUserSession.isValid()) return r.onFailure(new Error("User is not authenticated")); this.client.request("GlobalSignOut", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken() - }, function(o) { - return o ? r.onFailure(o) : (i.clearCachedUser(), r.onSuccess("SUCCESS")); + }, function(i) { + return i ? r.onFailure(i) : (o.clearCachedUser(), r.onSuccess("SUCCESS")); }); }, t.signOut = function(r) { - var i = this; + var o = this; if (!r || typeof r != "function") { this.cleanClientData(); return; } - this.getSession(function(o, s) { - if (o) - return r(o); - i.revokeTokens(function(a) { - i.cleanClientData(), r(a); + this.getSession(function(i, s) { + if (i) + return r(i); + o.revokeTokens(function(a) { + o.cleanClientData(), r(a); }); }); }, t.revokeTokens = function(r) { @@ -22401,12 +19020,12 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n }), typeof r != "function") throw new Error("Invalid revokeTokenCallback. It should be a function."); if (!this.signInUserSession) { - var i = new Error("User is not authenticated"); - return r(i); + var o = new Error("User is not authenticated"); + return r(o); } if (!this.signInUserSession.getAccessToken()) { - var o = new Error("No Access token available"); - return r(o); + var i = new Error("No Access token available"); + return r(i); } var s = this.signInUserSession.getRefreshToken().getToken(), a = this.signInUserSession.getAccessToken(); if (this.isSessionRevocable(a) && s) @@ -22418,25 +19037,25 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n }, t.isSessionRevocable = function(r) { if (r && typeof r.decodePayload == "function") try { - var i = r.decodePayload(), o = i.origin_jti; - return !!o; + var o = r.decodePayload(), i = o.origin_jti; + return !!i; } catch { } return !1; }, t.cleanClientData = function() { this.signInUserSession = null, this.clearCachedUser(); }, t.revokeToken = function(r) { - var i = r.token, o = r.callback; + var o = r.token, i = r.callback; this.client.requestWithRetry("RevokeToken", { - Token: i, + Token: o, ClientId: this.pool.getClientId() }, function(s) { if (s) - return o(s); - o(); + return i(s); + i(); }); - }, t.sendMFASelectionAnswer = function(r, i) { - var o = this, s = {}; + }, t.sendMFASelectionAnswer = function(r, o) { + var i = this, s = {}; s.USERNAME = this.username, s.ANSWER = r; var a = { ChallengeName: "SELECT_MFA_TYPE", @@ -22444,124 +19063,99 @@ var y1 = typeof navigator < "u", Rd = y1 ? An.isReactNative ? "react-native" : n ClientId: this.pool.getClientId(), Session: this.Session }; - this.getUserContextData() && (a.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", a, function(u, c) { - if (u) - return i.onFailure(u); - if (o.Session = c.Session, r === "SMS_MFA") - return i.mfaRequired(c.ChallengeName, c.ChallengeParameters); + this.getUserContextData() && (a.UserContextData = this.getUserContextData()), this.client.request("RespondToAuthChallenge", a, function(c, u) { + if (c) + return o.onFailure(c); + if (i.Session = u.Session, r === "SMS_MFA") + return o.mfaRequired(u.ChallengeName, u.ChallengeParameters); if (r === "SOFTWARE_TOKEN_MFA") - return i.totpRequired(c.ChallengeName, c.ChallengeParameters); + return o.totpRequired(u.ChallengeName, u.ChallengeParameters); }); }, t.getUserContextData = function() { var r = this.pool; return r.getUserContextData(this.username); }, t.associateSoftwareToken = function(r) { - var i = this; + var o = this; this.signInUserSession != null && this.signInUserSession.isValid() ? this.client.request("AssociateSoftwareToken", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken() - }, function(o, s) { - return o ? r.onFailure(o) : r.associateSecretCode(s.SecretCode); + }, function(i, s) { + return i ? r.onFailure(i) : r.associateSecretCode(s.SecretCode); }) : this.client.request("AssociateSoftwareToken", { Session: this.Session - }, function(o, s) { - return o ? r.onFailure(o) : (i.Session = s.Session, r.associateSecretCode(s.SecretCode)); + }, function(i, s) { + return i ? r.onFailure(i) : (o.Session = s.Session, r.associateSecretCode(s.SecretCode)); }); - }, t.verifySoftwareToken = function(r, i, o) { + }, t.verifySoftwareToken = function(r, o, i) { var s = this; this.signInUserSession != null && this.signInUserSession.isValid() ? this.client.request("VerifySoftwareToken", { AccessToken: this.signInUserSession.getAccessToken().getJwtToken(), UserCode: r, - FriendlyDeviceName: i - }, function(a, u) { - return a ? o.onFailure(a) : o.onSuccess(u); + FriendlyDeviceName: o + }, function(a, c) { + return a ? i.onFailure(a) : i.onSuccess(c); }) : this.client.request("VerifySoftwareToken", { Session: this.Session, UserCode: r, - FriendlyDeviceName: i - }, function(a, u) { + FriendlyDeviceName: o + }, function(a, c) { if (a) - return o.onFailure(a); - s.Session = u.Session; - var c = {}; - c.USERNAME = s.username; + return i.onFailure(a); + s.Session = c.Session; + var u = {}; + u.USERNAME = s.username; var l = { ChallengeName: "MFA_SETUP", ClientId: s.pool.getClientId(), - ChallengeResponses: c, + ChallengeResponses: u, Session: s.Session }; s.getUserContextData() && (l.UserContextData = s.getUserContextData()), s.client.request("RespondToAuthChallenge", l, function(f, d) { - return f ? o.onFailure(f) : (s.signInUserSession = s.getCognitoUserSession(d.AuthenticationResult), s.cacheTokens(), o.onSuccess(s.signInUserSession)); + return f ? i.onFailure(f) : (s.signInUserSession = s.getCognitoUserSession(d.AuthenticationResult), s.cacheTokens(), i.onSuccess(s.signInUserSession)); }); }); }, e; -}(); -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() { - return Promise.resolve(i.responseText); - }, json: function() { - return Promise.resolve(i.responseText).then(JSON.parse); - }, blob: function() { - return Promise.resolve(new Blob([i.response])); - }, clone: u, headers: { keys: function() { - return o; - }, entries: function() { - return s; - }, get: function(l) { - return a[l.toLowerCase()]; - }, has: function(l) { - return l.toLowerCase() in a; - } } }; - }; - for (var c in i.open(t.method || "get", e, !0), i.onload = function() { - i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(l, f, d) { - o.push(f = f.toLowerCase()), s.push([f, d]), a[f] = a[f] ? a[f] + "," + d : d; - }), n(u()); - }, i.onerror = r, i.withCredentials = t.credentials == "include", t.headers) - i.setRequestHeader(c, t.headers[c]); - i.send(t.body || null); - }); -} -const v1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - default: m1 -}, Symbol.toStringTag, { value: "Module" })), Ud = /* @__PURE__ */ Qi(v1); -self.fetch || (self.fetch = Ud.default || Ud); -function pp() { -} -pp.prototype.userAgent = h1(); -function w1(e, t) { - e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Pi(e, t); +}(), KT = "auth"; +function hn() { +} +hn.prototype.userAgent = $T(); +var GT = function() { + hn.category = KT; +}, Bl = function(t) { + hn.framework = t; +}, JT = function(t) { + var n = hn.category ? " " + hn.category : "", r = hn.framework ? " framework/" + hn.framework : "", o = "" + hn.prototype.userAgent + n + r; + return o; +}; +function XT(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, gi(e, t); } -function yu(e) { +function ja(e) { var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0; - return yu = function(r) { - if (r === null || !A1(r)) + return ja = function(r) { + if (r === null || !eN(r)) return r; if (typeof r != "function") throw new TypeError("Super expression must either be null or a function"); if (typeof t < "u") { if (t.has(r)) return t.get(r); - t.set(r, i); + t.set(r, o); } - function i() { - return Io(r, arguments, mu(this).constructor); + function o() { + return Gi(r, arguments, ba(this).constructor); } - return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Pi(i, r); - }, yu(e); + return o.prototype = Object.create(r.prototype, { constructor: { value: o, enumerable: !1, writable: !0, configurable: !0 } }), gi(o, r); + }, ja(e); } -function Io(e, t, n) { - return D1() ? Io = Reflect.construct.bind() : Io = function(i, o, s) { +function Gi(e, t, n) { + return ZT() ? Gi = Reflect.construct.bind() : Gi = function(o, i, s) { var a = [null]; - a.push.apply(a, o); - var u = Function.bind.apply(i, a), c = new u(); - return s && Pi(c, s.prototype), c; - }, Io.apply(null, arguments); + a.push.apply(a, i); + var c = Function.bind.apply(o, a), u = new c(); + return s && gi(u, s.prototype), u; + }, Gi.apply(null, arguments); } -function D1() { +function ZT() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") @@ -22573,140 +19167,140 @@ function D1() { return !1; } } -function A1(e) { +function eN(e) { return Function.toString.call(e).indexOf("[native code]") !== -1; } -function Pi(e, t) { - return Pi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) { - return r.__proto__ = i, r; - }, Pi(e, t); +function gi(e, t) { + return gi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) { + return r.__proto__ = o, r; + }, gi(e, t); } -function mu(e) { - return mu = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) { +function ba(e) { + return ba = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) { return n.__proto__ || Object.getPrototypeOf(n); - }, mu(e); + }, ba(e); } -var E1 = /* @__PURE__ */ function(e) { - w1(t, e); - function t(n, r, i, o) { +var tN = /* @__PURE__ */ function(e) { + XT(t, e); + function t(n, r, o, i) { var s; - return s = e.call(this, n) || this, s.code = r, s.name = i, s.statusCode = o, s; + return s = e.call(this, n) || this, s.code = r, s.name = o, s.statusCode = i, s; } return t; -}(/* @__PURE__ */ yu(Error)), I1 = /* @__PURE__ */ function() { - function e(n, r, i) { +}(/* @__PURE__ */ ja(Error)), nN = /* @__PURE__ */ function() { + function e(n, r, o) { this.endpoint = r || "https://cognito-idp." + n + ".amazonaws.com/"; - var o = i || {}, s = o.credentials; + var i = o || {}, s = i.credentials; this.fetchOptions = s ? { credentials: s } : {}; } var t = e.prototype; - return t.promisifyRequest = function(r, i) { - var o = this; + return t.promisifyRequest = function(r, o) { + var i = this; return new Promise(function(s, a) { - o.request(r, i, function(u, c) { - u ? a(new E1(u.message, u.code, u.name, u.statusCode)) : s(c); + i.request(r, o, function(c, u) { + c ? a(new tN(c.message, c.code, c.name, c.statusCode)) : s(u); }); }); - }, t.requestWithRetry = function(r, i, o) { + }, t.requestWithRetry = function(r, o, i) { var s = this, a = 5 * 1e3; - S1(function(u) { - return new Promise(function(c, l) { - s.request(r, u, function(f, d) { - f ? l(f) : c(d); + sN(function(c) { + return new Promise(function(u, l) { + s.request(r, c, function(f, d) { + f ? l(f) : u(d); }); }); - }, [i], a).then(function(u) { - return o(null, u); - }).catch(function(u) { - return o(u); + }, [o], a).then(function(c) { + return i(null, c); + }).catch(function(c) { + return i(c); }); - }, t.request = function(r, i, o) { + }, t.request = function(r, o, i) { var s = { "Content-Type": "application/x-amz-json-1.1", "X-Amz-Target": "AWSCognitoIdentityProviderService." + r, - "X-Amz-User-Agent": pp.prototype.userAgent, + "X-Amz-User-Agent": JT(), "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() { + body: JSON.stringify(o) + }), c; + fetch(this.endpoint, a).then(function(u) { + return c = u, u; + }, function(u) { + throw u instanceof TypeError ? new Error("Network error") : u; + }).then(function(u) { + return u.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")) + }).then(function(u) { + if (c.ok) + return i(null, u); + var l = (u.__type || u.code).split("#").pop(), f = new Error(u.message || u.Message || null); + return f.name = l, f.code = l, i(f); + }).catch(function(u) { + if (c && c.headers && c.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); + var l = c.headers.get("x-amzn-errortype").split(":")[0], f = new Error(c.status ? c.status.toString() : null); + return f.code = l, f.name = l, f.statusCode = c.status, i(f); } catch { - return o(c); + return i(u); } else - c instanceof Error && c.message === "Network error" && (c.code = "NetworkError"); - return o(c); + u instanceof Error && u.message === "Network error" && (u.code = "NetworkError"); + return i(u); }); }, e; -}(), po = { +}(), Pi = { debug: function() { } -}, N1 = function(t) { +}, rN = function(t) { var n = "nonRetryable"; return t && t[n]; }; -function Mp(e, t, n, r) { +function oh(e, t, n, r) { if (r === void 0 && (r = 1), typeof e != "function") throw Error("functionToRetry must be a function"); - 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 (po.debug(e.name + " retrying in " + o + " ms"), o !== !1) + return Pi.debug(e.name + " attempt #" + r + " with args: " + JSON.stringify(t)), e.apply(void 0, t).catch(function(o) { + if (Pi.debug("error on " + e.name, o), rN(o)) + throw Pi.debug(e.name + " non retryable error", o), o; + var i = n(r, t, o); + if (Pi.debug(e.name + " retrying in " + i + " ms"), i !== !1) return new Promise(function(s) { - return setTimeout(s, o); + return setTimeout(s, i); }).then(function() { - return Mp(e, t, n, r + 1); + return oh(e, t, n, r + 1); }); - throw i; + throw o; }); } -function T1(e) { +function iN(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 o = Math.pow(2, r) * t + n * Math.random(); + return o > e ? !1 : o; }; } -var j1 = 5 * 60 * 1e3; -function S1(e, t, n) { - return n === void 0 && (n = j1), Mp(e, t, T1(n)); +var oN = 5 * 60 * 1e3; +function sN(e, t, n) { + return n === void 0 && (n = oN), oh(e, t, iN(n)); } /*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -var b1 = 55, C1 = /* @__PURE__ */ function() { +var aN = 55, uN = /* @__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) + var o = n || {}, i = o.UserPoolId, s = o.ClientId, a = o.endpoint, c = o.fetchOptions, u = o.AdvancedSecurityDataCollectionFlag; + if (!i || !s) throw new Error("Both UserPoolId and ClientId are required."); - if (o.length > b1 || !/^[\w-]+_[0-9a-zA-Z]+$/.test(o)) + if (i.length > aN || !/^[\w-]+_[0-9a-zA-Z]+$/.test(i)) throw new Error("Invalid UserPoolId format."); - var l = o.split("_")[0]; - 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 l = i.split("_")[0]; + this.userPoolId = i, this.clientId = s, this.client = new nN(l, a, c), this.advancedSecurityDataCollectionFlag = u !== !1, this.storage = n.Storage || new ih().getStorage(), r && (this.wrapRefreshSessionCallback = r); } var t = e.prototype; return t.getUserPoolId = function() { @@ -22715,318 +19309,670 @@ var b1 = 55, C1 = /* @__PURE__ */ 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 = { + }, t.signUp = function(r, o, i, s, a, c) { + var u = this, l = { ClientId: this.clientId, Username: r, - Password: i, - UserAttributes: o, + Password: o, + UserAttributes: i, ValidationData: s, - ClientMetadata: u + ClientMetadata: c }; this.getUserContextData(r) && (l.UserContextData = this.getUserContextData(r)), this.client.request("SignUp", l, function(f, d) { if (f) return a(f, null); - var g = { + var p = { Username: r, - Pool: c, - Storage: c.storage - }, h = { - user: new Mu(g), + Pool: u, + Storage: u.storage + }, M = { + user: new Na(p), userConfirmed: d.UserConfirmed, userSub: d.UserSub, codeDeliveryDetails: d.CodeDeliveryDetails }; - return a(null, h); + return a(null, M); }); }, t.getCurrentUser = function() { - var r = "CognitoIdentityServiceProvider." + this.clientId + ".LastAuthUser", i = this.storage.getItem(r); - if (i) { - var o = { - Username: i, + var r = "CognitoIdentityServiceProvider." + this.clientId + ".LastAuthUser", o = this.storage.getItem(r); + if (o) { + var i = { + Username: o, Pool: this, Storage: this.storage }; - return new Mu(o); + return new Na(i); + } + return null; + }, t.getUserContextData = function(r) { + if (!(typeof AmazonCognitoAdvancedSecurityData > "u")) { + var o = AmazonCognitoAdvancedSecurityData; + if (this.advancedSecurityDataCollectionFlag) { + var i = o.getData(r, this.userPoolId, this.clientId); + if (i) { + var s = { + EncodedData: i + }; + return s; + } + } + return {}; + } + }, e; +}(), sh = { exports: {} }; +/*! + * 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 o = window.Cookies, i = window.Cookies = n(); + i.noConflict = function() { + return window.Cookies = o, i; + }; + } + })(function() { + function n() { + for (var i = 0, s = {}; i < arguments.length; i++) { + var a = arguments[i]; + for (var c in a) + s[c] = a[c]; + } + return s; + } + function r(i) { + return i.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent); + } + function o(i) { + function s() { + } + function a(u, l, f) { + if (!(typeof document > "u")) { + f = n({ + path: "/" + }, s.defaults, f), typeof f.expires == "number" && (f.expires = new Date(/* @__PURE__ */ 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 = i.write ? i.write(l, u) : encodeURIComponent(String(l)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), u = encodeURIComponent(String(u)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape); + var p = ""; + for (var M in f) + f[M] && (p += "; " + M, f[M] !== !0 && (p += "=" + f[M].split(";")[0])); + return document.cookie = u + "=" + l + p; + } + } + function c(u, l) { + if (!(typeof document > "u")) { + for (var f = {}, d = document.cookie ? document.cookie.split("; ") : [], p = 0; p < d.length; p++) { + var M = d[p].split("="), y = M.slice(1).join("="); + !l && y.charAt(0) === '"' && (y = y.slice(1, -1)); + try { + var m = r(M[0]); + if (y = (i.read || i)(y, m) || r(y), l) + try { + y = JSON.parse(y); + } catch { + } + if (f[m] = y, u === m) + break; + } catch { + } + } + return u ? f[u] : f; + } + } + return s.set = a, s.get = function(u) { + return c( + u, + !1 + /* read as raw */ + ); + }, s.getJSON = function(u) { + return c( + u, + !0 + /* read as json */ + ); + }, s.remove = function(u, l) { + a(u, "", n(l, { + expires: -1 + })); + }, s.defaults = {}, s.withConverter = o, s; + } + return o(function() { + }); + }); +})(sh); +var Ur = sh.exports, cN = /* @__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)) + throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".'); + if (n.sameSite === "none" && !this.secure) + throw new Error("sameSite = None requires the Secure attribute in latest browser versions."); + this.sameSite = n.sameSite; + } else + this.sameSite = null; + } + var t = e.prototype; + return t.setItem = function(r, o) { + var i = { + path: this.path, + expires: this.expires, + domain: this.domain, + secure: this.secure + }; + return this.sameSite && (i.sameSite = this.sameSite), Ur.set(r, o, i), Ur.get(r); + }, t.getItem = function(r) { + return Ur.get(r); + }, t.removeItem = function(r) { + var o = { + path: this.path, + expires: this.expires, + domain: this.domain, + secure: this.secure + }; + return this.sameSite && (o.sameSite = this.sameSite), Ur.remove(r, o); + }, t.clear = function() { + for (var r = Ur.get(), o = Object.keys(r).length, i = 0; i < o; ++i) + this.removeItem(Object.keys(r)[i]); + return {}; + }, e; +}(), wo = { exports: {} }; +/*! https://mths.be/punycode v1.3.2 by @mathias */ +wo.exports; +(function(e, t) { + (function(n) { + var r = t && !t.nodeType && t, o = e && !e.nodeType && e, i = typeof Ft == "object" && Ft; + (i.global === i || i.window === i || i.self === i) && (n = i); + var s, a = 2147483647, c = 36, u = 1, l = 26, f = 38, d = 700, p = 72, M = 128, y = "-", m = /^xn--/, w = /[^\x20-\x7E]/, D = /[\x2E\u3002\uFF0E\uFF61]/g, N = { + overflow: "Overflow: input needs wider integers to process", + "not-basic": "Illegal input >= 0x80 (not a basic code point)", + "invalid-input": "Invalid input" + }, E = c - u, T = Math.floor, F = String.fromCharCode, _; + function G(O) { + throw RangeError(N[O]); + } + function Q(O, z) { + for (var Y = O.length, W = []; Y--; ) + W[Y] = z(O[Y]); + return W; + } + function K(O, z) { + var Y = O.split("@"), W = ""; + Y.length > 1 && (W = Y[0] + "@", O = Y[1]), O = O.replace(D, "."); + var B = O.split("."), ee = Q(B, z).join("."); + return W + ee; + } + function Z(O) { + for (var z = [], Y = 0, W = O.length, B, ee; Y < W; ) + B = O.charCodeAt(Y++), B >= 55296 && B <= 56319 && Y < W ? (ee = O.charCodeAt(Y++), (ee & 64512) == 56320 ? z.push(((B & 1023) << 10) + (ee & 1023) + 65536) : (z.push(B), Y--)) : z.push(B); + return z; + } + function re(O) { + return Q(O, function(z) { + var Y = ""; + return z > 65535 && (z -= 65536, Y += F(z >>> 10 & 1023 | 55296), z = 56320 | z & 1023), Y += F(z), Y; + }).join(""); + } + function U(O) { + return O - 48 < 10 ? O - 22 : O - 65 < 26 ? O - 65 : O - 97 < 26 ? O - 97 : c; + } + function j(O, z) { + return O + 22 + 75 * (O < 26) - ((z != 0) << 5); + } + function C(O, z, Y) { + var W = 0; + for (O = Y ? T(O / d) : O >> 1, O += T(O / z); O > E * l >> 1; W += c) + O = T(O / E); + return T(W + (E + 1) * O / (O + f)); + } + function V(O) { + var z = [], Y = O.length, W, B = 0, ee = M, b = p, ne, $, ie, P, L, R, ce, X, ue; + for (ne = O.lastIndexOf(y), ne < 0 && (ne = 0), $ = 0; $ < ne; ++$) + O.charCodeAt($) >= 128 && G("not-basic"), z.push(O.charCodeAt($)); + for (ie = ne > 0 ? ne + 1 : 0; ie < Y; ) { + for (P = B, L = 1, R = c; ie >= Y && G("invalid-input"), ce = U(O.charCodeAt(ie++)), (ce >= c || ce > T((a - B) / L)) && G("overflow"), B += ce * L, X = R <= b ? u : R >= b + l ? l : R - b, !(ce < X); R += c) + ue = c - X, L > T(a / ue) && G("overflow"), L *= ue; + W = z.length + 1, b = C(B - P, W, P == 0), T(B / W) > a - ee && G("overflow"), ee += T(B / W), B %= W, z.splice(B++, 0, ee); + } + return re(z); + } + function S(O) { + var z, Y, W, B, ee, b, ne, $, ie, P, L, R = [], ce, X, ue, he; + for (O = Z(O), ce = O.length, z = M, Y = 0, ee = p, b = 0; b < ce; ++b) + L = O[b], L < 128 && R.push(F(L)); + for (W = B = R.length, B && R.push(y); W < ce; ) { + for (ne = a, b = 0; b < ce; ++b) + L = O[b], L >= z && L < ne && (ne = L); + for (X = W + 1, ne - z > T((a - Y) / X) && G("overflow"), Y += (ne - z) * X, z = ne, b = 0; b < ce; ++b) + if (L = O[b], L < z && ++Y > a && G("overflow"), L == z) { + for ($ = Y, ie = c; P = ie <= ee ? u : ie >= ee + l ? l : ie - ee, !($ < P); ie += c) + he = $ - P, ue = c - P, R.push( + F(j(P + he % ue, 0)) + ), $ = T(he / ue); + R.push(F(j($, 0))), ee = C(Y, X, W == B), Y = 0, ++W; + } + ++Y, ++z; + } + return R.join(""); + } + function q(O) { + return K(O, function(z) { + return m.test(z) ? V(z.slice(4).toLowerCase()) : z; + }); + } + function ae(O) { + return K(O, function(z) { + return w.test(z) ? "xn--" + S(z) : z; + }); + } + if (s = { + /** + * A string representing the current Punycode.js version number. + * @memberOf punycode + * @type String + */ + version: "1.3.2", + /** + * An object of methods to convert from JavaScript's internal character + * representation (UCS-2) to Unicode code points, and back. + * @see + * @memberOf punycode + * @type Object + */ + ucs2: { + decode: Z, + encode: re + }, + decode: V, + encode: S, + toASCII: ae, + toUnicode: q + }, r && o) + if (e.exports == r) + o.exports = s; + else + for (_ in s) + s.hasOwnProperty(_) && (r[_] = s[_]); + else + n.punycode = s; + })(Ft); +})(wo, wo.exports); +var lN = wo.exports, fN = { + isString: function(e) { + return typeof e == "string"; + }, + isObject: function(e) { + return typeof e == "object" && e !== null; + }, + isNull: function(e) { + return e === null; + }, + isNullOrUndefined: function(e) { + return e == null; + } +}, pi = {}; +function dN(e, t) { + return Object.prototype.hasOwnProperty.call(e, t); +} +var hN = function(e, t, n, r) { + t = t || "&", n = n || "="; + var o = {}; + if (typeof e != "string" || e.length === 0) + return o; + var i = /\+/g; + e = e.split(t); + var s = 1e3; + r && typeof r.maxKeys == "number" && (s = r.maxKeys); + var a = e.length; + s > 0 && a > s && (a = s); + for (var c = 0; c < a; ++c) { + var u = e[c].replace(i, "%20"), l = u.indexOf(n), f, d, p, M; + l >= 0 ? (f = u.substr(0, l), d = u.substr(l + 1)) : (f = u, d = ""), p = decodeURIComponent(f), M = decodeURIComponent(d), dN(o, p) ? Array.isArray(o[p]) ? o[p].push(M) : o[p] = [o[p], M] : o[p] = M; + } + return o; +}, Pr = function(e) { + switch (typeof e) { + case "string": + return e; + case "boolean": + return e ? "true" : "false"; + case "number": + return isFinite(e) ? e : ""; + default: + return ""; + } +}, gN = function(e, t, n, r) { + return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(o) { + var i = encodeURIComponent(Pr(o)) + n; + return Array.isArray(e[o]) ? e[o].map(function(s) { + return i + encodeURIComponent(Pr(s)); + }).join(t) : i + encodeURIComponent(Pr(e[o])); + }).join(t) : r ? encodeURIComponent(Pr(r)) + n + encodeURIComponent(Pr(e)) : ""; +}; +pi.decode = pi.parse = hN; +pi.encode = pi.stringify = gN; +var pN = lN, Gt = fN, dn = ah; +function Zt() { + 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 MN = /^([a-z0-9.+-]+:)/i, yN = /:[0-9]*$/, mN = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, vN = ["<", ">", '"', "`", " ", "\r", ` +`, " "], wN = ["{", "}", "|", "\\", "^", "`"].concat(vN), Sa = ["'"].concat(wN), $l = ["%", "/", "?", ";", "#"].concat(Sa), Wl = ["/", "?", "#"], DN = 255, Vl = /^[+a-z0-9A-Z_-]{0,63}$/, IN = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, AN = { + javascript: !0, + "javascript:": !0 +}, xa = { + javascript: !0, + "javascript:": !0 +}, hr = { + http: !0, + https: !0, + ftp: !0, + gopher: !0, + file: !0, + "http:": !0, + "https:": !0, + "ftp:": !0, + "gopher:": !0, + "file:": !0 +}, Ca = pi; +function ah(e, t, n) { + if (e && Gt.isObject(e) && e instanceof Zt) + return e; + var r = new Zt(); + return r.parse(e, t, n), r; +} +Zt.prototype.parse = function(e, t, n) { + if (!Gt.isString(e)) + throw new TypeError("Parameter 'url' must be a string, not " + typeof e); + var r = e.indexOf("?"), o = r !== -1 && r < e.indexOf("#") ? "?" : "#", i = e.split(o), s = /\\/g; + i[0] = i[0].replace(s, "/"), e = i.join(o); + var a = e; + if (a = a.trim(), !n && e.split("#").length === 1) { + var c = mN.exec(a); + if (c) + return this.path = a, this.href = a, this.pathname = c[1], c[2] ? (this.search = c[2], t ? this.query = Ca.parse(this.search.substr(1)) : this.query = this.search.substr(1)) : t && (this.search = "", this.query = {}), this; + } + var u = MN.exec(a); + if (u) { + u = u[0]; + var l = u.toLowerCase(); + this.protocol = l, a = a.substr(u.length); + } + if (n || u || a.match(/^\/\/[^@\/]+@[^@\/]+/)) { + var f = a.substr(0, 2) === "//"; + f && !(u && xa[u]) && (a = a.substr(2), this.slashes = !0); + } + if (!xa[u] && (f || u && !hr[u])) { + for (var d = -1, p = 0; p < Wl.length; p++) { + var M = a.indexOf(Wl[p]); + M !== -1 && (d === -1 || M < d) && (d = M); } - 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; + var y, m; + d === -1 ? m = a.lastIndexOf("@") : m = a.lastIndexOf("@", d), m !== -1 && (y = a.slice(0, m), a = a.slice(m + 1), this.auth = decodeURIComponent(y)), d = -1; + for (var p = 0; p < $l.length; p++) { + var M = a.indexOf($l[p]); + M !== -1 && (d === -1 || M < d) && (d = M); + } + d === -1 && (d = a.length), this.host = a.slice(0, d), a = a.slice(d), this.parseHost(), this.hostname = this.hostname || ""; + var w = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]"; + if (!w) + for (var D = this.hostname.split(/\./), p = 0, N = D.length; p < N; p++) { + var E = D[p]; + if (E && !E.match(Vl)) { + for (var T = "", F = 0, _ = E.length; F < _; F++) + E.charCodeAt(F) > 127 ? T += "x" : T += E[F]; + if (!T.match(Vl)) { + var G = D.slice(0, p), Q = D.slice(p + 1), K = E.match(IN); + K && (G.push(K[1]), Q.unshift(K[2])), Q.length && (a = "/" + Q.join(".") + a), this.hostname = G.join("."); + break; + } } } - return {}; + this.hostname.length > DN ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), w || (this.hostname = pN.toASCII(this.hostname)); + var Z = this.port ? ":" + this.port : "", re = this.hostname || ""; + this.host = re + Z, this.href += this.host, w && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), a[0] !== "/" && (a = "/" + a)); + } + if (!AN[l]) + for (var p = 0, N = Sa.length; p < N; p++) { + var U = Sa[p]; + if (a.indexOf(U) !== -1) { + var j = encodeURIComponent(U); + j === U && (j = escape(U)), a = a.split(U).join(j); + } } - }, e; -}(), Wn = {}, x1 = { - get exports() { - return Wn; - }, - set exports(e) { - Wn = e; + var C = a.indexOf("#"); + C !== -1 && (this.hash = a.substr(C), a = a.slice(0, C)); + var V = a.indexOf("?"); + if (V !== -1 ? (this.search = a.substr(V), this.query = a.substr(V + 1), t && (this.query = Ca.parse(this.query)), a = a.slice(0, V)) : t && (this.search = "", this.query = {}), a && (this.pathname = a), hr[l] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { + var Z = this.pathname || "", S = this.search || ""; + this.path = Z + S; } + return this.href = this.format(), this; }; -/*! - * 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; - }; +Zt.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 || "", o = !1, i = ""; + this.host ? o = e + this.host : this.hostname && (o = e + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (o += ":" + this.port)), this.query && Gt.isObject(this.query) && Object.keys(this.query).length && (i = Ca.stringify(this.query)); + var s = this.search || i && "?" + i || ""; + return t && t.substr(-1) !== ":" && (t += ":"), this.slashes || (!t || hr[t]) && o !== !1 ? (o = "//" + (o || ""), n && n.charAt(0) !== "/" && (n = "/" + n)) : o || (o = ""), 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 + o + n + s + r; +}; +Zt.prototype.resolve = function(e) { + return this.resolveObject(ah(e, !1, !0)).format(); +}; +Zt.prototype.resolveObject = function(e) { + if (Gt.isString(e)) { + var t = new Zt(); + t.parse(e, !1, !0), e = t; + } + for (var n = new Zt(), r = Object.keys(this), o = 0; o < r.length; o++) { + var i = r[o]; + n[i] = this[i]; + } + if (n.hash = e.hash, e.href === "") + return n.href = n.format(), n; + if (e.slashes && !e.protocol) { + for (var s = Object.keys(e), a = 0; a < s.length; a++) { + var c = s[a]; + c !== "protocol" && (n[c] = e[c]); } - })(function() { - function n() { - for (var o = 0, s = {}; o < arguments.length; o++) { - var a = arguments[o]; - for (var u in a) - s[u] = a[u]; + return hr[n.protocol] && n.hostname && !n.pathname && (n.path = n.pathname = "/"), n.href = n.format(), n; + } + if (e.protocol && e.protocol !== n.protocol) { + if (!hr[e.protocol]) { + for (var u = Object.keys(e), l = 0; l < u.length; l++) { + var f = u[l]; + n[f] = e[f]; } - return s; + return n.href = n.format(), n; } - function r(o) { - return o.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent); + if (n.protocol = e.protocol, !e.host && !xa[e.protocol]) { + for (var N = (e.pathname || "").split("/"); N.length && !(e.host = N.shift()); ) + ; + e.host || (e.host = ""), e.hostname || (e.hostname = ""), N[0] !== "" && N.unshift(""), N.length < 2 && N.unshift(""), n.pathname = N.join("/"); + } else + n.pathname = e.pathname; + if (n.search = e.search, n.query = e.query, n.host = e.host || "", n.auth = e.auth, n.hostname = e.hostname || e.host, n.port = e.port, n.pathname || n.search) { + var d = n.pathname || "", p = n.search || ""; + n.path = d + p; } - function i(o) { - function s() { - } - function a(c, l, f) { - if (!(typeof document > "u")) { - f = n({ - path: "/" - }, s.defaults, f), typeof f.expires == "number" && (f.expires = new Date(/* @__PURE__ */ 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; g < d.length; g++) { - var h = d[g].split("="), p = h.slice(1).join("="); - !l && p.charAt(0) === '"' && (p = p.slice(1, -1)); - try { - var m = r(h[0]); - if (p = (o.read || o)(p, m) || r(p), l) - try { - p = JSON.parse(p); - } catch { - } - if (f[m] = p, c === m) - break; - } catch { - } - } - return c ? f[c] : f; - } - } - return s.set = a, s.get = function(c) { - return u( - c, - !1 - /* read as raw */ - ); - }, s.getJSON = function(c) { - return u( - c, - !0 - /* read as json */ - ); - }, s.remove = function(c, l) { - a(c, "", n(l, { - expires: -1 - })); - }, s.defaults = {}, s.withConverter = i, s; + return n.slashes = n.slashes || e.slashes, n.href = n.format(), n; + } + var M = n.pathname && n.pathname.charAt(0) === "/", y = e.host || e.pathname && e.pathname.charAt(0) === "/", m = y || M || n.host && e.pathname, w = m, D = n.pathname && n.pathname.split("/") || [], N = e.pathname && e.pathname.split("/") || [], E = n.protocol && !hr[n.protocol]; + if (E && (n.hostname = "", n.port = null, n.host && (D[0] === "" ? D[0] = n.host : D.unshift(n.host)), n.host = "", e.protocol && (e.hostname = null, e.port = null, e.host && (N[0] === "" ? N[0] = e.host : N.unshift(e.host)), e.host = null), m = m && (N[0] === "" || D[0] === "")), y) + 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, D = N; + else if (N.length) + D || (D = []), D.pop(), D = D.concat(N), n.search = e.search, n.query = e.query; + else if (!Gt.isNullOrUndefined(e.search)) { + if (E) { + n.hostname = n.host = D.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 i(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)) - throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".'); - if (n.sameSite === "none" && !this.secure) - throw new Error("sameSite = None requires the Secure attribute in latest browser versions."); - this.sameSite = n.sameSite; - } else - this.sameSite = null; + return n.search = e.search, n.query = e.query, (!Gt.isNull(n.pathname) || !Gt.isNull(n.search)) && (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.href = n.format(), n; } - var t = e.prototype; - return t.setItem = function(r, i) { - var o = { - path: this.path, - expires: this.expires, - domain: this.domain, - secure: this.secure - }; - return this.sameSite && (o.sameSite = this.sameSite), Wn.set(r, i, o), Wn.get(r); - }, t.getItem = function(r) { - return Wn.get(r); - }, t.removeItem = function(r) { - var i = { - path: this.path, - expires: this.expires, - domain: this.domain, - secure: this.secure - }; - return this.sameSite && (i.sameSite = this.sameSite), Wn.remove(r, i); - }, t.clear = function() { - for (var r = Wn.get(), i = Object.keys(r).length, o = 0; o < i; ++o) - this.removeItem(Object.keys(r)[o]); - return {}; - }, e; -}(), L1 = "_self", _1 = function(e) { - var t = window.open(e, L1); + if (!D.length) + return n.pathname = null, n.search ? n.path = "/" + n.search : n.path = null, n.href = n.format(), n; + for (var F = D.slice(-1)[0], _ = (n.host || e.host || D.length > 1) && (F === "." || F === "..") || F === "", G = 0, Q = D.length; Q >= 0; Q--) + F = D[Q], F === "." ? D.splice(Q, 1) : F === ".." ? (D.splice(Q, 1), G++) : G && (D.splice(Q, 1), G--); + if (!m && !w) + for (; G--; G) + D.unshift(".."); + m && D[0] !== "" && (!D[0] || D[0].charAt(0) !== "/") && D.unshift(""), _ && D.join("/").substr(-1) !== "/" && D.push(""); + var K = D[0] === "" || D[0] && D[0].charAt(0) === "/"; + if (E) { + n.hostname = n.host = K ? "" : D.length ? D.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 && D.length, m && !K && D.unshift(""), D.length ? n.pathname = D.join("/") : (n.pathname = null, n.path = null), (!Gt.isNull(n.pathname) || !Gt.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; +}; +Zt.prototype.parseHost = function() { + var e = this.host, t = yN.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 EN = "_self", TN = function(e) { + var t = window.open(e, EN); return t ? Promise.resolve(t) : Promise.reject(); -}, k1 = function(e) { +}, NN = function(e) { window.sessionStorage.setItem("oauth_state", e); -}, z1 = function() { +}, jN = function() { var e = window.sessionStorage.getItem("oauth_state"); return window.sessionStorage.removeItem("oauth_state"), e; -}, P1 = function(e) { +}, bN = function(e) { window.sessionStorage.setItem("ouath_pkce_key", e); -}, R1 = function() { +}, SN = function() { var e = window.sessionStorage.getItem("ouath_pkce_key"); return window.sessionStorage.removeItem("ouath_pkce_key"), e; -}, 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 = ( +}, xN = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", Os = function(e, t, n) { + Kt.dispatch("auth", { event: e, data: t, message: n }, "Auth", xN); +}, rr = new Ut("OAuth"), CN = ( /** @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 || _1, this._config = n, this._cognitoClientId = r, !this.isValidScopes(o)) + var n = t.config, r = t.cognitoClientId, o = t.scopes, i = o === void 0 ? [] : o; + if (this._urlOpener = n.urlOpener || TN, this._config = n, this._cognitoClientId = r, !this.isValidScopes(i)) throw Error("scopes must be a String Array"); - this._scopes = o; + this._scopes = i; } return e.prototype.isValidScopes = function(t) { return Array.isArray(t) && t.every(function(n) { return typeof n == "string"; }); - }, e.prototype.oauthSignIn = function(t, n, r, i, o, s) { - 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); - 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); - }).join("&"), h = "https://" + n + "/oauth2/authorize?" + g; - Dr.debug("Redirecting to " + h), this._urlOpener(h, r); + }, e.prototype.oauthSignIn = function(t, n, r, o, i, s) { + t === void 0 && (t = "code"), i === void 0 && (i = lo.Cognito); + var a = this._generateState(32), c = s ? a + "-" + ZI(s) : a; + NN(c); + var u = this._generateRandom(128); + bN(u); + var l = this._generateChallenge(u), f = "S256", d = this._scopes.join(" "), p = Object.entries(et(et({ redirect_uri: r, response_type: t, client_id: o, identity_provider: i, scope: d, state: c }, t === "code" ? { code_challenge: l } : {}), t === "code" ? { code_challenge_method: f } : {})).map(function(y) { + var m = Ct(y, 2), w = m[0], D = m[1]; + return encodeURIComponent(w) + "=" + encodeURIComponent(D); + }).join("&"), M = "https://" + n + "/oauth2/authorize?" + p; + rr.debug("Redirecting to " + M), this._urlOpener(M, r); }, e.prototype._handleCodeFlow = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { - var n, r, i, o, s, a, u, c, l, f, d, g, h, p; - return ue.__generator(this, function(m) { - switch (m.label) { + return je(this, void 0, void 0, function() { + var n, r, o, i, s, a, c, u, l, f, d, p, M, y, m, w; + return be(this, function(D) { + switch (D.label) { case 0: - return n = (wn(t).query || "").split("&").map(function(v) { - return v.split("="); - }).reduce(function(v, w) { - 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 ? [ + return n = (dn(t).query || "").split("&").map(function(N) { + return N.split("="); + }).reduce(function(N, E) { + var T, F = Ct(E, 2), _ = F[0], G = F[1]; + return et(et({}, N), (T = {}, T[_] = G, T)); + }, { code: void 0 }).code, r = dn(t).pathname || "/", o = dn(this._config.redirectSignIn).pathname || "/", !n || r !== o ? [ 2 /*return*/ - ] : (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({ + ] : (i = "https://" + this._config.domain + "/oauth2/token", Os("codeFlow", {}, "Retrieving tokens from " + i), s = Ln(this._config) ? this._cognitoClientId : this._config.clientID, a = Ln(this._config) ? this._config.redirectSignIn : this._config.redirectUri, c = SN(), u = et({ 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], I = w[1]; - return encodeURIComponent(j) + "=" + encodeURIComponent(I); - }).join("&"), [4, fetch(o, { + }, c ? { code_verifier: c } : {}), rr.debug("Calling token endpoint: " + i + " with", u), l = Object.entries(u).map(function(N) { + var E = Ct(N, 2), T = E[0], F = E[1]; + return encodeURIComponent(T) + "=" + encodeURIComponent(F); + }).join("&"), f = { + category: Ma.Auth, + action: ya.FederatedSignIn + }, [4, fetch(i, { method: "POST", - headers: { + headers: (w = { "Content-Type": "application/x-www-form-urlencoded" - }, + }, w[YE] = Du(f), w), body: l })]); case 1: - return [4, m.sent().json()]; + return [4, D.sent().json()]; case 2: - if (f = m.sent(), d = f.access_token, g = f.refresh_token, h = f.id_token, p = f.error, p) - throw new Error(p); + if (d = D.sent(), p = d.access_token, M = d.refresh_token, y = d.id_token, m = d.error, m) + throw new Error(m); return [2, { - accessToken: d, - refreshToken: g, - idToken: h + accessToken: p, + refreshToken: M, + idToken: y }]; } }); }); }, e.prototype._handleImplicitFlow = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { - var n, r, i; - return ue.__generator(this, function(o) { - return n = (wn(t).hash || "#").substr(1).split("&").map(function(s) { + return je(this, void 0, void 0, function() { + var n, r, o; + return be(this, function(i) { + return n = (dn(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]; - return ue.__assign(ue.__assign({}, s), (u = {}, u[l] = f, u)); + var c, u = Ct(a, 2), l = u[0], f = u[1]; + return et(et({}, s), (c = {}, c[l] = f, c)); }, { id_token: void 0, access_token: void 0 - }), 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, + }), r = n.id_token, o = n.access_token, Os("implicitFlow", {}, "Got tokens from " + t), rr.debug("Retrieving implicit tokens from " + t + " with"), [2, { + accessToken: o, idToken: r, refreshToken: null }]; }); }); }, e.prototype.handleAuthResponse = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { - var n, r, i, o, s, a, u; - return ue.__generator(this, function(c) { - switch (c.label) { + return je(this, void 0, void 0, function() { + var n, r, o, i, s, a, c; + return be(this, function(u) { + switch (u.label) { case 0: - if (c.trys.push([0, 5, , 6]), n = t ? ue.__assign(ue.__assign({}, (wn(t).hash || "#").substr(1).split("&").map(function(l) { + if (u.trys.push([0, 5, , 6]), n = t ? et(et({}, (dn(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; - }, {})), (wn(t).query || "").split("&").map(function(l) { + var d = Ct(f, 2), p = d[0], M = d[1]; + return l[p] = M, l; + }, {})), (dn(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]; - return l[g] = h, l; - }, {})) : {}, r = n.error, i = n.error_description, r) - throw new Error(i); - return o = this._validateState(n), Dr.debug("Starting " + this._config.responseType + " flow with " + t), this._config.responseType !== "code" ? [3, 2] : (s = [{}], [4, this._handleCodeFlow(t)]); + var d = Ct(f, 2), p = d[0], M = d[1]; + return l[p] = M, l; + }, {})) : {}, r = n.error, o = n.error_description, r) + throw new Error(o); + return i = this._validateState(n), rr.debug("Starting " + this._config.responseType + " flow with " + t), this._config.responseType !== "code" ? [3, 2] : (s = [{}], [4, this._handleCodeFlow(t)]); case 1: - return [2, ue.__assign.apply(void 0, [ue.__assign.apply(void 0, s.concat([c.sent()])), { state: o }])]; + return [2, et.apply(void 0, [et.apply(void 0, s.concat([u.sent()])), { state: i }])]; case 2: return a = [{}], [4, this._handleImplicitFlow(t)]; case 3: - return [2, ue.__assign.apply(void 0, [ue.__assign.apply(void 0, a.concat([c.sent()])), { state: o }])]; + return [2, et.apply(void 0, [et.apply(void 0, a.concat([u.sent()])), { state: i }])]; case 4: return [3, 6]; case 5: - throw u = c.sent(), Dr.debug("Error handling auth response.", u), u; + throw c = u.sent(), rr.debug("Error handling auth response.", c), c; case 6: return [ 2 @@ -23037,33 +19983,33 @@ var O1 = /* @__PURE__ */ function() { }); }, e.prototype._validateState = function(t) { if (t) { - var n = z1(), r = t.state; + var n = jN(), r = t.state; if (n && n !== r) throw new Error("Invalid state in OAuth flow"); return r; } }, e.prototype.signOut = function() { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var t, n, r; - return ue.__generator(this, function(i) { - 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({ + return be(this, function(o) { + return t = "https://" + this._config.domain + "/logout?", n = Ln(this._config) ? this._cognitoClientId : this._config.oauth.clientID, r = Ln(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("&"), ma("oAuthSignOut", { oAuth: "signOut" }, "Signing out from " + t), Dr.debug("Signing out from " + t), [2, this._urlOpener(t, r)]; + }).map(function(i) { + var s = Ct(i, 2), a = s[0], c = s[1]; + return a + "=" + c; + }).join("&"), Os("oAuthSignOut", { oAuth: "signOut" }, "Signing out from " + t), rr.debug("Signing out from " + t), [2, this._urlOpener(t, r)]; }); }); }, e.prototype._generateState = function(t) { - for (var n = "", r = t, i = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; r > 0; --r) - n += i[Math.round(Math.random() * (i.length - 1))]; + for (var n = "", r = t, o = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; r > 0; --r) + n += o[Math.round(Math.random() * (o.length - 1))]; return n; }, e.prototype._generateChallenge = function(t) { - var n = new jn.Sha256(); + var n = new Rn.Sha256(); n.update(t); - var r = n.digestSync(), i = Ke.Buffer.from(r).toString("base64"), o = this._base64URL(i); - return o; + var r = n.digestSync(), o = Be.Buffer.from(r).toString("base64"), i = this._base64URL(o); + return i; }, e.prototype._base64URL = function(t) { return t.replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_"); }, e.prototype._generateRandom = function(t) { @@ -23071,52 +20017,52 @@ var O1 = /* @__PURE__ */ function() { if (typeof window < "u" && window.crypto) window.crypto.getRandomValues(r); else - for (var i = 0; i < t; i += 1) - r[i] = Math.random() * n.length | 0; + for (var o = 0; o < t; o += 1) + r[o] = Math.random() * n.length | 0; return this._bufferToString(r); }, e.prototype._bufferToString = function(t) { - for (var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", r = [], i = 0; i < t.byteLength; i += 1) { - var o = t[i] % n.length; - r.push(n[o]); + for (var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", r = [], o = 0; o < t.byteLength; o += 1) { + var i = t[o] % n.length; + r.push(n[i]); } return r.join(""); }, e; }() ); -const Y1 = F1, Q1 = function(e) { - if (gn().isBrowser && window.location) { +const ON = CN, LN = function(e) { + if (rn().isBrowser && window.location) { var t = window.location.href; e({ url: t }); - } else if (!gn().isNode) + } else if (!rn().isNode) throw new Error("Not supported"); }; -var ct; +var nt; (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 B1 = new Ht("AuthError"), vn = ( +})(nt || (nt = {})); +var _N = new Ut("AuthError"), ln = ( /** @class */ function(e) { - ue.__extends(t, e); + yu(t, e); function t(n) { - 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; + var r = this, o = zN[n], i = o.message, s = o.log; + return r = e.call(this, i) || this, r.constructor = t, Object.setPrototypeOf(r, t.prototype), r.name = "AuthError", r.log = s || i, _N.error(r.log), r; } return t; }(Error) -), $1 = ( +), kN = ( /** @class */ function(e) { - ue.__extends(t, e); + yu(t, e); function t(n) { var r = e.call(this, n) || this; return r.constructor = t, Object.setPrototypeOf(r, t.prototype), r.name = "NoUserPoolError", r; } return t; - }(vn) -), W1 = { + }(ln) +), zN = { noConfig: { - message: ct.DEFAULT_MSG, + message: nt.DEFAULT_MSG, log: ` Error: Amplify has not been configured correctly. This error is typically caused by one of the following scenarios: @@ -23129,7 +20075,7 @@ var B1 = new Ht("AuthError"), vn = ( ` }, missingAuthConfig: { - message: ct.DEFAULT_MSG, + message: nt.DEFAULT_MSG, log: ` Error: Amplify has not been configured correctly. The configuration object is missing required auth properties. @@ -23142,61 +20088,61 @@ var B1 = new Ht("AuthError"), vn = ( ` }, emptyUsername: { - message: ct.EMPTY_USERNAME + message: nt.EMPTY_USERNAME }, // TODO: should include a list of valid sign-in types invalidUsername: { - message: ct.INVALID_USERNAME + message: nt.INVALID_USERNAME }, emptyPassword: { - message: ct.EMPTY_PASSWORD + message: nt.EMPTY_PASSWORD }, emptyCode: { - message: ct.EMPTY_CODE + message: nt.EMPTY_CODE }, signUpError: { - message: ct.SIGN_UP_ERROR, + message: nt.SIGN_UP_ERROR, log: "The first parameter should either be non-null string or object" }, noMFA: { - message: ct.NO_MFA + message: nt.NO_MFA }, invalidMFA: { - message: ct.INVALID_MFA + message: nt.INVALID_MFA }, emptyChallengeResponse: { - message: ct.EMPTY_CHALLENGE + message: nt.EMPTY_CHALLENGE }, noUserSession: { - message: ct.NO_USER_SESSION + message: nt.NO_USER_SESSION }, deviceConfig: { - message: ct.DEVICE_CONFIG + message: nt.DEVICE_CONFIG }, networkError: { - message: ct.NETWORK_ERROR + message: nt.NETWORK_ERROR }, autoSignInError: { - message: ct.AUTOSIGNIN_ERROR + message: nt.AUTOSIGNIN_ERROR }, default: { - message: ct.DEFAULT_MSG + message: nt.DEFAULT_MSG } -}, 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 = ( +}, oe = new Ut("AuthClass"), Hl = "aws.cognito.signin.user.admin", UN = 10 * 1e3, PN = typeof Symbol < "u" && typeof Symbol.for == "function" ? Symbol.for("amplify_default") : "@@amplify_default", Te = function(e, t, n) { + Kt.dispatch("auth", { event: e, data: t, message: n }, "Auth", PN); +}, RN = 60, YN = 3 * 60 * 1e3, FN = ( /** @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 = 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); + this.userPool = null, this.user = null, this.oAuthFlowInProgress = !1, this.autoSignInInitiated = !1, this.inflightSessionPromise = null, this.inflightSessionPromiseCounter = 0, this.Credentials = Zd, this.wrapRefreshSessionCallback = function(r) { + var o = function(i, s) { + return s ? Te("tokenRefresh", void 0, "New token retrieved") : Te("tokenRefresh_failure", i, "Failed to retrieve new token"), r(i, 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) { + return o; + }, this.configure(t), this.currentCredentials = this.currentCredentials.bind(this), this.currentUserCredentials = this.currentUserCredentials.bind(this), Kt.listen("auth", function(r) { + var o = r.payload, i = o.event; + switch (i) { case "verify": case "signIn": n._storage.setItem("amplify-signin-with-hostedUI", "false"); @@ -23208,6 +20154,8 @@ var B1 = new Ht("AuthError"), vn = ( n._storage.setItem("amplify-signin-with-hostedUI", "true"); break; } + }), GT(), Bl(Ts.framework), Ts.observeFrameworkChanges(function() { + Bl(Ts.framework); }); } return e.prototype.getModuleName = function() { @@ -23216,136 +20164,136 @@ var B1 = new Ht("AuthError"), vn = ( var n = this; if (!t) return this._config || {}; - ae.debug("configure Auth"); - var r = Object.assign({}, this._config, bg(t).Auth, t); + oe.debug("configure Auth"); + var r = Object.assign({}, this._config, Bd(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; + var o = this._config, i = o.userPoolId, s = o.userPoolWebClientId, a = o.cookieStorage, c = o.oauth, u = o.region, l = o.identityPoolId, f = o.mandatorySignIn, d = o.refreshHandlers, p = o.identityPoolRegion, M = o.clientMetadata, y = o.endpoint, m = o.storage; if (!m) - a ? this._storage = new O1(a) : this._storage = t.ssr ? new lb() : new Zg().getStorage(); + a ? this._storage = new cN(a) : this._storage = t.ssr ? new RE() : new $d().getStorage(); else { if (!this._isValidAuthStorage(m)) - throw ae.error("The storage in the Auth config is not valid!"), new Error("Empty storage object"); + throw oe.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, + if (this._storageSync = Promise.resolve(), typeof this._storage.sync == "function" && (this._storageSync = this._storage.sync()), i) { + var w = { + UserPoolId: i, ClientId: s, - endpoint: p + endpoint: y }; - v.Storage = this._storage, this.userPool = new C1(v, this.wrapRefreshSessionCallback); + w.Storage = this._storage, this.userPool = new uN(w, this.wrapRefreshSessionCallback); } this.Credentials.configure({ mandatorySignIn: f, - region: c, - userPoolId: o, + region: u, + userPoolId: i, identityPoolId: l, refreshHandlers: d, storage: this._storage, - identityPoolRegion: g + identityPoolRegion: p }); - var w = u ? qn(this._config.oauth) ? u : u.awsCognito : void 0; - if (w) { - var j = Object.assign({ + var D = c ? Ln(this._config.oauth) ? c : c.awsCognito : void 0; + if (D) { + var N = Object.assign({ cognitoClientId: s, - UserPoolId: o, - domain: w.domain, - scopes: w.scope, - redirectSignIn: w.redirectSignIn, - redirectSignOut: w.redirectSignOut, - responseType: w.responseType, + UserPoolId: i, + domain: D.domain, + scopes: D.scope, + redirectSignIn: D.redirectSignIn, + redirectSignOut: D.redirectSignOut, + responseType: D.responseType, Storage: this._storage, - urlOpener: w.urlOpener, - clientMetadata: h - }, w.options); - this._oAuthHandler = new Y1({ - scopes: j.scopes, - config: j, - cognitoClientId: j.cognitoClientId + urlOpener: D.urlOpener, + clientMetadata: M + }, D.options); + this._oAuthHandler = new ON({ + scopes: N.scopes, + config: N, + cognitoClientId: N.cognitoClientId }); - var I = {}; - Q1(function(Q) { - var z = Q.url; - I[z] || (I[z] = !0, n._handleAuthResponse(z)); + var E = {}; + LN(function(F) { + var _ = F.url; + E[_] || (E[_] = !0, n._handleAuthResponse(_)); }); } - if (xe("configured", null, "The Auth category has been configured successfully"), !this.autoSignInInitiated && typeof this._storage.getItem == "function") { - 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"); + if (Te("configured", null, "The Auth category has been configured successfully"), !this.autoSignInInitiated && typeof this._storage.getItem == "function") { + var T = this.isTrueStorageValue("amplify-polling-started"); + T && (Te("autoSignIn_failure", null, Ce.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; i < arguments.length; i++) - r[i - 1] = arguments[i]; - var o, s, a; + for (var n = this, r = [], o = 1; o < arguments.length; o++) + r[o - 1] = arguments[o]; + var i, s, a; if (!this.userPool) return this.rejectNoUserPool(); - var u = null, c = null, l = [], f = null, d, g = { enabled: !1 }, h = {}, p = {}; + var c = null, u = null, l = [], f = null, d, p = { enabled: !1 }, M = {}, y = {}; if (t && typeof t == "string") { - u = t, c = r ? r[0] : null; - var m = r ? r[1] : null, v = r ? r[2] : null; - m && l.push(new Ir({ Name: "email", Value: m })), v && l.push(new Ir({ + c = t, u = r ? r[0] : null; + var m = r ? r[1] : null, w = r ? r[2] : null; + m && l.push(new sr({ Name: "email", Value: m })), w && l.push(new sr({ Name: "phone_number", - Value: v + Value: w })); } 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(I) { - l.push(new Ir({ Name: I, Value: w[I] })); + c = t.username, u = t.password, t && t.clientMetadata ? d = t.clientMetadata : this._config.clientMetadata && (d = this._config.clientMetadata); + var D = t.attributes; + D && Object.keys(D).map(function(E) { + l.push(new sr({ Name: E, Value: D[E] })); }); - var j = t.validationData; - j && (f = [], Object.keys(j).map(function(I) { - f.push(new Ir({ - Name: I, - Value: j[I] + var N = t.validationData; + N && (f = [], Object.keys(N).map(function(E) { + f.push(new sr({ + Name: E, + Value: N[E] })); - })), 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 : {}); + })), p = (i = t.autoSignIn) !== null && i !== void 0 ? i : { enabled: !1 }, p.enabled && (this._storage.setItem("amplify-auto-sign-in", "true"), M = (s = p.validationData) !== null && s !== void 0 ? s : {}, y = (a = p.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(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)); + return this.rejectAuthError(Ce.SignUpError); + return c ? u ? (oe.debug("signUp attrs:", l), oe.debug("signUp validation data:", f), new Promise(function(E, T) { + n.userPool.signUp(c, u, l, f, function(F, _) { + F ? (Te("signUp_failure", F, c + " failed to signup"), T(F)) : (Te("signUp", _, c + " has signed up successfully"), p.enabled && n.handleAutoSignIn(c, u, M, y, _), E(_)); }, d); - })) : this.rejectAuthError(ke.EmptyPassword) : this.rejectAuthError(ke.EmptyUsername); - }, e.prototype.handleAutoSignIn = function(t, n, r, i, o) { + })) : this.rejectAuthError(Ce.EmptyPassword) : this.rejectAuthError(Ce.EmptyUsername); + }, e.prototype.handleAutoSignIn = function(t, n, r, o, i) { this.autoSignInInitiated = !0; - var s = new Ld({ + var s = new Ul({ Username: t, Password: n, ValidationData: r, - ClientMetadata: i + ClientMetadata: o }); - o.userConfirmed ? this.signInAfterUserConfirmed(s) : this._config.signUpVerificationMethod === "link" ? this.handleLinkAutoSignIn(s) : this.handleCodeAutoSignIn(s); + i.userConfirmed ? this.signInAfterUserConfirmed(s) : this._config.signUpVerificationMethod === "link" ? this.handleLinkAutoSignIn(s) : this.handleCodeAutoSignIn(s); }, e.prototype.handleCodeAutoSignIn = function(t) { - var n = this, r = function(i) { - var o = i.payload; - o.event === "confirmSignUp" && n.signInAfterUserConfirmed(t, r); + var n = this, r = function(o) { + var i = o.payload; + i.event === "confirmSignUp" && n.signInAfterUserConfirmed(t, r); }; - on.listen("auth", r); + Kt.listen("auth", r); }, e.prototype.handleLinkAutoSignIn = function(t) { var n = this; this._storage.setItem("amplify-polling-started", "true"); - var r = Date.now(), i = setInterval(function() { - 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); + var r = Date.now(), o = setInterval(function() { + Date.now() - r > YN ? (clearInterval(o), Te("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, o); }, 5e3); }, e.prototype.signInAfterUserConfirmed = function(t, n, r) { - return ue.__awaiter(this, void 0, void 0, function() { - var i, o, s = this; - return ue.__generator(this, function(a) { + return je(this, void 0, void 0, function() { + var o, i, s = this; + return be(this, function(a) { switch (a.label) { case 0: - i = this.createCognitoUser(t.getUsername()), a.label = 1; + o = 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) { - ae.error(u), s._storage.removeItem("amplify-auto-sign-in"); + return a.trys.push([1, 3, , 4]), [4, o.authenticateUser(t, this.authCallbacks(o, function(c) { + Te("autoSignIn", c, t.getUsername() + " has signed in successfully"), n && Kt.remove("auth", n), r && (clearInterval(r), s._storage.removeItem("amplify-polling-started")), s._storage.removeItem("amplify-auto-sign-in"); + }, function(c) { + oe.error(c), s._storage.removeItem("amplify-auto-sign-in"); }))]; case 2: return a.sent(), [3, 4]; case 3: - return o = a.sent(), ae.error(o), [3, 4]; + return i = a.sent(), oe.error(i), [3, 4]; case 4: return [ 2 @@ -23355,22 +20303,22 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.confirmSignUp = function(t, n, r) { - var i = this; + var o = this; if (!this.userPool) return this.rejectNoUserPool(); if (!t) - return this.rejectAuthError(ke.EmptyUsername); + return this.rejectAuthError(Ce.EmptyUsername); if (!n) - return this.rejectAuthError(ke.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) { + return this.rejectAuthError(Ce.EmptyCode); + var i = 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(c, u) { + i.confirmRegistration(n, s, function(l, f) { if (l) - c(l); + u(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, ke.AutoSignInError), i._storage.removeItem("amplify-auto-sign-in")), u(f); + Te("confirmSignUp", f, t + " has been confirmed successfully"); + var d = o.isTrueStorageValue("amplify-auto-sign-in"); + d && !o.autoSignInInitiated && (Te("autoSignIn_failure", null, Ce.AutoSignInError), o._storage.removeItem("amplify-auto-sign-in")), c(f); } }, a); }); @@ -23381,56 +20329,56 @@ var B1 = new Ht("AuthError"), vn = ( if (n === void 0 && (n = this._config.clientMetadata), !this.userPool) return this.rejectNoUserPool(); if (!t) - return this.rejectAuthError(ke.EmptyUsername); + return this.rejectAuthError(Ce.EmptyUsername); var r = this.createCognitoUser(t); - return new Promise(function(i, o) { + return new Promise(function(o, i) { r.resendConfirmationCode(function(s, a) { - s ? o(s) : i(a); + s ? i(s) : o(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 = {}; + var o = null, i = null, s = {}; if (typeof t == "string") - i = t, o = n; - 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; + o = t, i = n; + else if (gI(t)) + typeof n < "u" && oe.warn("The password should be defined under the first parameter object!"), o = t.username, i = t.password, s = t.validationData; else - return this.rejectAuthError(ke.InvalidUsername); - if (!i) - return this.rejectAuthError(ke.EmptyUsername); - var a = new Ld({ - Username: i, - Password: o, + return this.rejectAuthError(Ce.InvalidUsername); + if (!o) + return this.rejectAuthError(Ce.EmptyUsername); + var a = new Ul({ + Username: o, + Password: i, ValidationData: s, ClientMetadata: r }); - return o ? this.signInWithPassword(a) : this.signInWithoutPassword(a); + return i ? this.signInWithPassword(a) : this.signInWithoutPassword(a); }, e.prototype.authCallbacks = function(t, n, r) { - var i = this, o = this; + var o = this, i = this; return { onSuccess: function(s) { - return ue.__awaiter(i, void 0, void 0, function() { - var a, u, c, l; - return ue.__generator(this, function(f) { + return je(o, void 0, void 0, function() { + var a, c, u, l; + return be(this, function(f) { switch (f.label) { case 0: - ae.debug(s), delete t.challengeName, delete t.challengeParam, f.label = 1; + oe.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(), ae.debug("succeed to get cognito credentials", a), [3, 9]; + return a = f.sent(), oe.debug("succeed to get cognito credentials", a), [3, 9]; case 4: - return u = f.sent(), ae.debug("cannot get cognito credentials", u), [3, 9]; + return c = f.sent(), oe.debug("cannot get cognito credentials", c), [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]; + return u = f.sent(), i.user = u, Te("signIn", u, "A user " + t.getUsername() + " has been signed in"), n(u), [3, 8]; case 7: - return l = f.sent(), ae.error("Failed to get the signed in user", l), r(l), [3, 8]; + return l = f.sent(), oe.error("Failed to get the signed in user", l), r(l), [3, 8]; case 8: return [ 7 @@ -23446,28 +20394,28 @@ var B1 = new Ht("AuthError"), vn = ( }); }, onFailure: function(s) { - ae.debug("signIn failure", s), xe("signIn_failure", s, t.getUsername() + " failed to signin"), r(s); + oe.debug("signIn failure", s), Te("signIn_failure", s, t.getUsername() + " failed to signin"), r(s); }, customChallenge: function(s) { - ae.debug("signIn custom challenge answer required"), t.challengeName = "CUSTOM_CHALLENGE", t.challengeParam = s, n(t); + oe.debug("signIn custom challenge answer required"), t.challengeName = "CUSTOM_CHALLENGE", t.challengeParam = s, n(t); }, mfaRequired: function(s, a) { - ae.debug("signIn MFA required"), t.challengeName = s, t.challengeParam = a, n(t); + oe.debug("signIn MFA required"), t.challengeName = s, t.challengeParam = a, n(t); }, mfaSetup: function(s, a) { - ae.debug("signIn mfa setup", s), t.challengeName = s, t.challengeParam = a, n(t); + oe.debug("signIn mfa setup", s), t.challengeName = s, t.challengeParam = a, n(t); }, newPasswordRequired: function(s, a) { - ae.debug("signIn new password"), t.challengeName = "NEW_PASSWORD_REQUIRED", t.challengeParam = { + oe.debug("signIn new password"), t.challengeName = "NEW_PASSWORD_REQUIRED", t.challengeParam = { userAttributes: s, requiredAttributes: a }, n(t); }, totpRequired: function(s, a) { - ae.debug("signIn totpRequired"), t.challengeName = s, t.challengeParam = a, n(t); + oe.debug("signIn totpRequired"), t.challengeName = s, t.challengeParam = a, n(t); }, selectMFAType: function(s, a) { - ae.debug("signIn selectMFAType", s), t.challengeName = s, t.challengeParam = a, n(t); + oe.debug("signIn selectMFAType", s), t.challengeName = s, t.challengeParam = a, n(t); } }; }, e.prototype.signInWithPassword = function(t) { @@ -23475,59 +20423,59 @@ var B1 = new Ht("AuthError"), vn = ( 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) { + return this.pendingSignIn = new Promise(function(o, i) { r.authenticateUser(t, n.authCallbacks(r, function(s) { - n.pendingSignIn = null, i(s); - }, function(s) { n.pendingSignIn = null, o(s); + }, function(s) { + n.pendingSignIn = null, i(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)); + return r.setAuthenticationFlowType("CUSTOM_AUTH"), new Promise(function(o, i) { + r.initiateAuth(t, n.authCallbacks(r, o, i)); }); }, e.prototype.getMFAOptions = function(t) { return new Promise(function(n, r) { - t.getMFAOptions(function(i, o) { - if (i) { - ae.debug("get MFA Options failed", i), r(i); + t.getMFAOptions(function(o, i) { + if (o) { + oe.debug("get MFA Options failed", o), r(o); return; } - ae.debug("get MFA options success", o), n(o); + oe.debug("get MFA options success", i), n(i); }); }); }, 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 ue.__awaiter(r, void 0, void 0, function() { + var r = this, o = this; + return new Promise(function(i, s) { + var a = r._config.clientMetadata, c = n ? n.bypassCache : !1; + t.getUserData(function(u, l) { + return je(r, void 0, void 0, function() { var f, d; - return ue.__generator(this, function(g) { - switch (g.label) { + return be(this, function(p) { + switch (p.label) { case 0: - if (!c) + if (!u) return [3, 5]; - if (ae.debug("getting preferred mfa failed", c), !this.isSessionInvalid(c)) + if (oe.debug("getting preferred mfa failed", u), !this.isSessionInvalid(u)) return [3, 4]; - g.label = 1; + p.label = 1; case 1: - return g.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(t)]; + return p.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(t)]; case 2: - return g.sent(), [3, 4]; + return p.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)), [ + return f = p.sent(), s(new Error("Session is invalid due to: " + u.message + " and failed to clean up invalid session: " + f.message)), [ 2 /*return*/ ]; case 4: - return s(c), [ + return s(u), [ 2 /*return*/ ]; case 5: - return d = i._getMfaTypeFromUserData(l), d ? (o(d), [ + return d = o._getMfaTypeFromUserData(l), d ? (i(d), [ 2 /*return*/ ]) : (s("invalid MFA Type"), [ @@ -23537,52 +20485,52 @@ var B1 = new Ht("AuthError"), vn = ( } }); }); - }, { bypassCache: u, clientMetadata: a }); + }, { bypassCache: c, 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" : ae.debug("invalid case for getPreferredMFA", t); + var o = t.UserMFASettingList; + if (o) + o.length === 0 ? n = "NOMFA" : oe.debug("invalid case for getPreferredMFA", t); else { - var o = t.MFAOptions; - o ? n = "SMS_MFA" : n = "NOMFA"; + var i = t.MFAOptions; + i ? n = "SMS_MFA" : n = "NOMFA"; } } return n; }, e.prototype._getUserData = function(t, n) { var r = this; - return new Promise(function(i, o) { + return new Promise(function(o, i) { t.getUserData(function(s, a) { - return ue.__awaiter(r, void 0, void 0, function() { - var u; - return ue.__generator(this, function(c) { - switch (c.label) { + return je(r, void 0, void 0, function() { + var c; + return be(this, function(u) { + switch (u.label) { case 0: if (!s) return [3, 5]; - if (ae.debug("getting user data failed", s), !this.isSessionInvalid(s)) + if (oe.debug("getting user data failed", s), !this.isSessionInvalid(s)) return [3, 4]; - c.label = 1; + u.label = 1; case 1: - return c.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(t)]; + return u.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(t)]; case 2: - return c.sent(), [3, 4]; + return u.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)), [ + return c = u.sent(), i(new Error("Session is invalid due to: " + s.message + " and failed to clean up invalid session: " + c.message)), [ 2 /*return*/ ]; case 4: - return o(s), [ + return i(s), [ 2 /*return*/ ]; case 5: - i(a), c.label = 6; + o(a), u.label = 6; case 6: return [ 2 @@ -23594,9 +20542,9 @@ var B1 = new Ht("AuthError"), vn = ( }, n); }); }, e.prototype.setPreferredMFA = function(t, n) { - return ue.__awaiter(this, void 0, void 0, function() { - var r, i, o, s, a, u, c, l = this; - return ue.__generator(this, function(f) { + return je(this, void 0, void 0, function() { + var r, o, i, s, a, c, u, l = this; + return be(this, function(f) { switch (f.label) { case 0: return r = this._config.clientMetadata, [4, this._getUserData(t, { @@ -23604,7 +20552,7 @@ var B1 = new Ht("AuthError"), vn = ( clientMetadata: r })]; case 1: - switch (i = f.sent(), o = null, s = null, a = n, a) { + switch (o = f.sent(), i = null, s = null, a = n, a) { case "TOTP": return [3, 2]; case "SOFTWARE_TOKEN_MFA": @@ -23623,29 +20571,29 @@ var B1 = new Ht("AuthError"), vn = ( Enabled: !0 }, [3, 7]; case 3: - return o = { + return i = { PreferredMfa: !0, Enabled: !0 }, [3, 7]; case 4: - return u = i.UserMFASettingList, [4, this._getMfaTypeFromUserData(i)]; + return c = o.UserMFASettingList, [4, this._getMfaTypeFromUserData(o)]; case 5: - if (c = f.sent(), c === "NOMFA") + if (u = f.sent(), u === "NOMFA") return [2, Promise.resolve("No change for mfa type")]; - if (c === "SMS_MFA") - o = { + if (u === "SMS_MFA") + i = { PreferredMfa: !1, Enabled: !1 }; - else if (c === "SOFTWARE_TOKEN_MFA") + else if (u === "SOFTWARE_TOKEN_MFA") s = { PreferredMfa: !1, Enabled: !1 }; else - return [2, this.rejectAuthError(ke.InvalidMFA)]; - return u && u.length !== 0 && u.forEach(function(d) { - d === "SMS_MFA" ? o = { + return [2, this.rejectAuthError(Ce.InvalidMFA)]; + return c && c.length !== 0 && c.forEach(function(d) { + d === "SMS_MFA" ? i = { PreferredMfa: !1, Enabled: !1 } : d === "SOFTWARE_TOKEN_MFA" && (s = { @@ -23654,36 +20602,36 @@ var B1 = new Ht("AuthError"), vn = ( }); }), [3, 7]; case 6: - return ae.debug("no validmfa method provided"), [2, this.rejectAuthError(ke.NoMFA)]; + return oe.debug("no validmfa method provided"), [2, this.rejectAuthError(Ce.NoMFA)]; case 7: - return [2, new Promise(function(d, g) { - t.setUserMfaPreference(o, s, function(h, p) { - if (h) - return ae.debug("Set user mfa preference error", h), g(h); - ae.debug("Set user mfa success", p), ae.debug("Caching the latest user data into local"), t.getUserData(function(m, v) { - return ue.__awaiter(l, void 0, void 0, function() { - var w; - return ue.__generator(this, function(j) { - switch (j.label) { + return [2, new Promise(function(d, p) { + t.setUserMfaPreference(i, s, function(M, y) { + if (M) + return oe.debug("Set user mfa preference error", M), p(M); + oe.debug("Set user mfa success", y), oe.debug("Caching the latest user data into local"), t.getUserData(function(m, w) { + return je(l, void 0, void 0, function() { + var D; + return be(this, function(N) { + switch (N.label) { case 0: if (!m) return [3, 5]; - if (ae.debug("getting user data failed", m), !this.isSessionInvalid(m)) + if (oe.debug("getting user data failed", m), !this.isSessionInvalid(m)) return [3, 4]; - j.label = 1; + N.label = 1; case 1: - return j.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(t)]; + return N.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(t)]; case 2: - return j.sent(), [3, 4]; + return N.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)), [ + return D = N.sent(), p(new Error("Session is invalid due to: " + m.message + " and failed to clean up invalid session: " + D.message)), [ 2 /*return*/ ]; case 4: - return [2, g(m)]; + return [2, p(m)]; case 5: - return [2, d(p)]; + return [2, d(y)]; } }); }); @@ -23698,82 +20646,82 @@ var B1 = new Ht("AuthError"), vn = ( }); }, e.prototype.disableSMS = function(t) { return new Promise(function(n, r) { - t.disableMFA(function(i, o) { - if (i) { - ae.debug("disable mfa failed", i), r(i); + t.disableMFA(function(o, i) { + if (o) { + oe.debug("disable mfa failed", o), r(o); return; } - ae.debug("disable mfa succeed", o), n(o); + oe.debug("disable mfa succeed", i), n(i); }); }); }, e.prototype.enableSMS = function(t) { return new Promise(function(n, r) { - t.enableMFA(function(i, o) { - if (i) { - ae.debug("enable mfa failed", i), r(i); + t.enableMFA(function(o, i) { + if (o) { + oe.debug("enable mfa failed", o), r(o); return; } - ae.debug("enable mfa succeed", o), n(o); + oe.debug("enable mfa succeed", i), n(i); }); }); }, e.prototype.setupTOTP = function(t) { return new Promise(function(n, r) { t.associateSoftwareToken({ - onFailure: function(i) { - ae.debug("associateSoftwareToken failed", i), r(i); + onFailure: function(o) { + oe.debug("associateSoftwareToken failed", o), r(o); }, - associateSecretCode: function(i) { - ae.debug("associateSoftwareToken success", i), n(i); + associateSecretCode: function(o) { + oe.debug("associateSoftwareToken success", o), n(o); } }); }); }, e.prototype.verifyTotpToken = function(t, n) { - ae.debug("verification totp token", t, n); + oe.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) { + var o = r == null ? void 0 : r.isValid(); + return new Promise(function(i, s) { t.verifySoftwareToken(n, "My TOTP device", { onFailure: function(a) { - ae.debug("verifyTotpToken failed", a), s(a); + oe.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"), ae.debug("verifyTotpToken success", a), o(a); + o || Te("signIn", t, "A user " + t.getUsername() + " has been signed in"), Te("verify", t, "A user " + t.getUsername() + " has been verified"), oe.debug("verifyTotpToken success", a), i(a); } }); }); - }, e.prototype.confirmSignIn = function(t, n, r, i) { - var o = this; - if (i === void 0 && (i = this._config.clientMetadata), !n) - return this.rejectAuthError(ke.EmptyCode); + }, e.prototype.confirmSignIn = function(t, n, r, o) { + var i = this; + if (o === void 0 && (o = this._config.clientMetadata), !n) + return this.rejectAuthError(Ce.EmptyCode); var s = this; - return new Promise(function(a, u) { + return new Promise(function(a, c) { t.sendMFACode(n, { - onSuccess: function(c) { - return ue.__awaiter(o, void 0, void 0, function() { - var l, f, d, g; - return ue.__generator(this, function(h) { - switch (h.label) { + onSuccess: function(u) { + return je(i, void 0, void 0, function() { + var l, f, d, p; + return be(this, function(M) { + switch (M.label) { case 0: - ae.debug(c), h.label = 1; + oe.debug(u), M.label = 1; case 1: - return h.trys.push([1, 4, 5, 10]), [4, this.Credentials.clear()]; + return M.trys.push([1, 4, 5, 10]), [4, this.Credentials.clear()]; case 2: - return h.sent(), [4, this.Credentials.set(c, "session")]; + return M.sent(), [4, this.Credentials.set(u, "session")]; case 3: - return l = h.sent(), ae.debug("succeed to get cognito credentials", l), [3, 10]; + return l = M.sent(), oe.debug("succeed to get cognito credentials", l), [3, 10]; case 4: - return f = h.sent(), ae.debug("cannot get cognito credentials", f), [3, 10]; + return f = M.sent(), oe.debug("cannot get cognito credentials", f), [3, 10]; case 5: - s.user = t, h.label = 6; + s.user = t, M.label = 6; case 6: - return h.trys.push([6, 8, , 9]), [4, this.currentUserPoolUser()]; + return M.trys.push([6, 8, , 9]), [4, this.currentUserPoolUser()]; case 7: - return d = h.sent(), t.attributes = d.attributes, [3, 9]; + return d = M.sent(), t.attributes = d.attributes, [3, 9]; case 8: - return g = h.sent(), ae.debug("cannot get updated Cognito User", g), [3, 9]; + return p = M.sent(), oe.debug("cannot get updated Cognito User", p), [3, 9]; case 9: - return xe("signIn", t, "A user " + t.getUsername() + " has been signed in"), a(t), [ + return Te("signIn", t, "A user " + t.getUsername() + " has been signed in"), a(t), [ 7 /*endfinally*/ ]; @@ -23786,35 +20734,35 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, - onFailure: function(c) { - ae.debug("confirm signIn failure", c), u(c); + onFailure: function(u) { + oe.debug("confirm signIn failure", u), c(u); } - }, r, i); + }, r, o); }); - }, 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(ke.EmptyPassword); + }, e.prototype.completeNewPassword = function(t, n, r, o) { + var i = this; + if (r === void 0 && (r = {}), o === void 0 && (o = this._config.clientMetadata), !n) + return this.rejectAuthError(Ce.EmptyPassword); var s = this; - return new Promise(function(a, u) { + return new Promise(function(a, c) { t.completeNewPasswordChallenge(n, r, { - onSuccess: function(c) { - return ue.__awaiter(o, void 0, void 0, function() { + onSuccess: function(u) { + return je(i, void 0, void 0, function() { var l, f; - return ue.__generator(this, function(d) { + return be(this, function(d) { switch (d.label) { case 0: - ae.debug(c), d.label = 1; + oe.debug(u), 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")]; + return d.sent(), [4, this.Credentials.set(u, "session")]; case 3: - return l = d.sent(), ae.debug("succeed to get cognito credentials", l), [3, 6]; + return l = d.sent(), oe.debug("succeed to get cognito credentials", l), [3, 6]; case 4: - return f = d.sent(), ae.debug("cannot get cognito credentials", f), [3, 6]; + return f = d.sent(), oe.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), [ + return s.user = t, Te("signIn", t, "A user " + t.getUsername() + " has been signed in"), a(t), [ 7 /*endfinally*/ ]; @@ -23827,88 +20775,88 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, - onFailure: function(c) { - ae.debug("completeNewPassword failure", c), xe("completeNewPassword_failure", c, o.user + " failed to complete the new password flow"), u(c); + onFailure: function(u) { + oe.debug("completeNewPassword failure", u), Te("completeNewPassword_failure", u, i.user + " failed to complete the new password flow"), c(u); }, - mfaRequired: function(c, l) { - ae.debug("signIn MFA required"), t.challengeName = c, t.challengeParam = l, a(t); + mfaRequired: function(u, l) { + oe.debug("signIn MFA required"), t.challengeName = u, t.challengeParam = l, a(t); }, - mfaSetup: function(c, l) { - ae.debug("signIn mfa setup", c), t.challengeName = c, t.challengeParam = l, a(t); + mfaSetup: function(u, l) { + oe.debug("signIn mfa setup", u), t.challengeName = u, t.challengeParam = l, a(t); }, - totpRequired: function(c, l) { - ae.debug("signIn mfa setup", c), t.challengeName = c, t.challengeParam = l, a(t); + totpRequired: function(u, l) { + oe.debug("signIn mfa setup", u), t.challengeName = u, t.challengeParam = l, a(t); } - }, i); + }, o); }); }, 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(ke.EmptyChallengeResponse) : this.rejectNoUserPool(); + var o = this; + return r === void 0 && (r = this._config.clientMetadata), this.userPool ? n ? new Promise(function(i, s) { + t.sendCustomChallengeAnswer(n, o.authCallbacks(t, i, s), r); + }) : this.rejectAuthError(Ce.EmptyChallengeResponse) : this.rejectNoUserPool(); }, e.prototype.deleteUserAttributes = function(t, n) { var r = this; - return new Promise(function(i, o) { + return new Promise(function(o, i) { r.userSession(t).then(function(s) { - t.deleteAttributes(n, function(a, u) { - return a ? o(a) : i(u); + t.deleteAttributes(n, function(a, c) { + return a ? i(a) : o(c); }); }); }); }, e.prototype.deleteUser = function() { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var t, n, r = this; - return ue.__generator(this, function(i) { - switch (i.label) { + return be(this, function(o) { + switch (o.label) { case 0: - return i.trys.push([0, 2, , 3]), [4, this._storageSync]; + return o.trys.push([0, 2, , 3]), [4, this._storageSync]; case 1: - return i.sent(), [3, 3]; + return o.sent(), [3, 3]; case 2: - throw t = i.sent(), ae.debug("Failed to sync cache info into memory", t), new Error(t); + throw t = o.sent(), oe.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 ue.__awaiter(r, void 0, void 0, function() { - var a, u = this; - return ue.__generator(this, function(c) { + return n = this._oAuthHandler && this._storage.getItem("amplify-signin-with-hostedUI") === "true", [2, new Promise(function(i, s) { + return je(r, void 0, void 0, function() { + var a, c = this; + return be(this, function(u) { if (this.userPool) if (a = this.userPool.getCurrentUser(), a) a.getSession(function(l, f) { - return ue.__awaiter(u, void 0, void 0, function() { - var d, g = this; - return ue.__generator(this, function(h) { - switch (h.label) { + return je(c, void 0, void 0, function() { + var d, p = this; + return be(this, function(M) { + switch (M.label) { case 0: if (!l) return [3, 5]; - if (ae.debug("Failed to get the user session", l), !this.isSessionInvalid(l)) + if (oe.debug("Failed to get the user session", l), !this.isSessionInvalid(l)) return [3, 4]; - h.label = 1; + M.label = 1; case 1: - return h.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(a)]; + return M.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(a)]; case 2: - return h.sent(), [3, 4]; + return M.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)), [ + return d = M.sent(), s(new Error("Session is invalid due to: " + l.message + " and failed to clean up invalid session: " + d.message)), [ 2 /*return*/ ]; case 4: return [2, s(l)]; case 5: - a.deleteUser(function(p, m) { - if (p) - s(p); + a.deleteUser(function(y, m) { + if (y) + s(y); else { - xe("userDeleted", m, "The authenticated user has been deleted."), a.signOut(), g.user = null; + Te("userDeleted", m, "The authenticated user has been deleted."), a.signOut(), p.user = null; try { - g.cleanCachedItems(); + p.cleanCachedItems(); } catch { - ae.debug("failed to clear cached items"); + oe.debug("failed to clear cached items"); } - n ? g.oAuthSignOutRedirect(o, s) : (xe("signOut", g.user, "A user has been signed out"), o(m)); + n ? p.oAuthSignOutRedirect(i, s) : (Te("signOut", p.user, "A user has been signed out"), i(m)); } - }), h.label = 6; + }), M.label = 6; case 6: return [ 2 @@ -23919,9 +20867,9 @@ var B1 = new Ht("AuthError"), vn = ( }); }); else - return ae.debug("Failed to get user from user pool"), [2, s(new Error("No current user."))]; + return oe.debug("Failed to get user from user pool"), [2, s(new Error("No current user."))]; else - ae.debug("no Congito User pool"), s(new Error("Cognito User pool does not exist")); + oe.debug("no Congito User pool"), s(new Error("Cognito User pool does not exist")); return [ 2 /*return*/ @@ -23933,54 +20881,54 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.updateUserAttributes = function(t, n, r) { - var i = this; + var o = this; r === void 0 && (r = this._config.clientMetadata); - var o = [], s = this; - return new Promise(function(a, u) { - s.userSession(t).then(function(c) { + var i = [], s = this; + return new Promise(function(a, c) { + s.userSession(t).then(function(u) { for (var l in n) if (l !== "sub" && l.indexOf("_verified") < 0) { var f = { Name: l, Value: n[l] }; - o.push(f); + i.push(f); } - t.updateAttributes(o, function(d, g, h) { + t.updateAttributes(i, function(d, p, M) { 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); + return Te("updateUserAttributes_failure", d, "Failed to update attributes"), c(d); + var y = o.createUpdateAttributesResultList(n, M == null ? void 0 : M.CodeDeliveryDetailsList); + return Te("updateUserAttributes", y, "Attributes successfully updated"), a(p); }, r); }); }); }, e.prototype.createUpdateAttributesResultList = function(t, n) { var r = {}; - return Object.keys(t).forEach(function(i) { - r[i] = { + return Object.keys(t).forEach(function(o) { + r[o] = { isUpdated: !0 }; - var o = n == null ? void 0 : n.find(function(s) { - return s.AttributeName === i; + var i = n == null ? void 0 : n.find(function(s) { + return s.AttributeName === o; }); - o && (r[i].isUpdated = !1, r[i].codeDeliveryDetails = o); + i && (r[o].isUpdated = !1, r[o].codeDeliveryDetails = i); }), r; }, e.prototype.userAttributes = function(t) { var n = this; - return new Promise(function(r, i) { - n.userSession(t).then(function(o) { + return new Promise(function(r, o) { + n.userSession(t).then(function(i) { t.getUserAttributes(function(s, a) { - s ? i(s) : r(a); + s ? o(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), { + var o = n.attributesToObject(r), i = {}, s = {}; + return o.email && (o.email_verified ? s.email = o.email : i.email = o.email), o.phone_number && (o.phone_number_verified ? s.phone_number = o.phone_number : i.phone_number = o.phone_number), { verified: s, - unverified: o + unverified: i }; }); }, e.prototype.isErrorWithMessage = function(t) { @@ -23995,14 +20943,16 @@ var B1 = new Ht("AuthError"), vn = ( 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.isPasswordResetRequiredError = function(t) { + return this.isErrorWithMessage(t) && t.message === "Password reset required for the user"; }, 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); + return this.isUserDisabledError(t) || this.isUserDoesNotExistError(t) || this.isTokenRevokedError(t) || this.isRefreshTokenRevokedError(t) || this.isRefreshTokenExpiredError(t) || this.isPasswordResetRequiredError(t); }, e.prototype.cleanUpInvalidSession = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var n = this; - return ue.__generator(this, function(r) { + return be(this, function(r) { switch (r.label) { case 0: t.signOut(), this.user = null, r.label = 1; @@ -24011,11 +20961,11 @@ var B1 = new Ht("AuthError"), vn = ( case 2: return r.sent(), [3, 4]; case 3: - return r.sent(), ae.debug("failed to clear cached items"), [3, 4]; + return r.sent(), oe.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"), [ + return this.isSignedInHostedUI() ? [2, new Promise(function(o, i) { + n.oAuthSignOutRedirect(o, i); + })] : (Te("signOut", this.user, "A user has been signed out"), [ 2 /*return*/ ]); @@ -24024,85 +20974,85 @@ var B1 = new Ht("AuthError"), vn = ( }); }, e.prototype.currentUserPoolUser = function(t) { var n = this; - return this.userPool ? new Promise(function(r, i) { + return this.userPool ? new Promise(function(r, o) { n._storageSync.then(function() { - return ue.__awaiter(n, void 0, void 0, function() { - var o, s, a, u, c, l, f, d = this; - return ue.__generator(this, function(g) { - switch (g.label) { + return je(n, void 0, void 0, function() { + var i, s, a, c, u, l, f, d = this; + return be(this, function(p) { + switch (p.label) { case 0: - 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(); - }, V1); - on.listen("auth", m); - function m(v) { - var w = v.payload, j = w.event; - (j === "cognitoHostedUI" || j === "cognitoHostedUI_failure") && (ae.debug("OAuth signIn resolved: " + j), clearTimeout(p), on.remove("auth", m), h()); + return this.isOAuthInProgress() ? (oe.debug("OAuth signIn in progress, waiting for resolution..."), [4, new Promise(function(M) { + var y = setTimeout(function() { + oe.debug("OAuth signIn in progress timeout"), Kt.remove("auth", m), M(); + }, UN); + Kt.listen("auth", m); + function m(w) { + var D = w.payload, N = D.event; + (N === "cognitoHostedUI" || N === "cognitoHostedUI_failure") && (oe.debug("OAuth signIn resolved: " + N), clearTimeout(y), Kt.remove("auth", m), M()); } })]) : [3, 2]; case 1: - g.sent(), g.label = 2; + p.sent(), p.label = 2; case 2: - if (o = this.userPool.getCurrentUser(), !o) - return ae.debug("Failed to get user from user pool"), i("No current user"), [ + if (i = this.userPool.getCurrentUser(), !i) + return oe.debug("Failed to get user from user pool"), o("No current user"), [ 2 /*return*/ ]; - g.label = 3; + p.label = 3; case 3: - return g.trys.push([3, 7, , 8]), [4, this._userSession(o)]; + return p.trys.push([3, 7, , 8]), [4, this._userSession(i)]; case 4: - return s = g.sent(), a = t ? t.bypassCache : !1, a ? [4, this.Credentials.clear()] : [3, 6]; + return s = p.sent(), a = t ? t.bypassCache : !1, a ? [4, this.Credentials.clear()] : [3, 6]; case 5: - g.sent(), g.label = 6; + p.sent(), p.label = 6; case 6: - 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, I, N, Q; - return ue.__generator(this, function(z) { - switch (z.label) { + if (c = this._config.clientMetadata, u = s.getAccessToken().decodePayload().scope, l = u === void 0 ? "" : u, l.split(" ").includes(Hl)) + i.getUserData(function(M, y) { + return je(d, void 0, void 0, function() { + var m, w, D, N, E, T, F; + return be(this, function(_) { + switch (_.label) { case 0: - if (!h) + if (!M) return [3, 7]; - if (ae.debug("getting user data failed", h), !this.isSessionInvalid(h)) + if (oe.debug("getting user data failed", M), !this.isSessionInvalid(M)) return [3, 5]; - z.label = 1; + _.label = 1; case 1: - return z.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(o)]; + return _.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(i)]; case 2: - return z.sent(), [3, 4]; + return _.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)), [ + return m = _.sent(), o(new Error("Session is invalid due to: " + M.message + " and failed to clean up invalid session: " + m.message)), [ 2 /*return*/ ]; case 4: - return i(h), [3, 6]; + return o(M), [3, 6]; case 5: - r(o), z.label = 6; + r(i), _.label = 6; case 6: return [ 2 /*return*/ ]; case 7: - for (v = p.PreferredMfaSetting || "NOMFA", w = [], j = 0; j < p.UserAttributes.length; j++) - I = { - Name: p.UserAttributes[j].Name, - Value: p.UserAttributes[j].Value - }, N = new Ir(I), w.push(N); - return Q = this.attributesToObject(w), Object.assign(o, { attributes: Q, preferredMFA: v }), [2, r(o)]; + for (w = y.PreferredMfaSetting || "NOMFA", D = [], N = 0; N < y.UserAttributes.length; N++) + E = { + Name: y.UserAttributes[N].Name, + Value: y.UserAttributes[N].Value + }, T = new sr(E), D.push(T); + return F = this.attributesToObject(D), Object.assign(i, { attributes: F, preferredMFA: w }), [2, r(i)]; } }); }); - }, { bypassCache: a, clientMetadata: u }); + }, { bypassCache: a, clientMetadata: c }); else - 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 oe.debug("Unable to get the user data because the " + Hl + " is not in the scopes of the access token"), [2, r(i)]; return [3, 8]; case 7: - return f = g.sent(), i(f), [3, 8]; + return f = p.sent(), o(f), [3, 8]; case 8: return [ 2 @@ -24111,76 +21061,76 @@ var B1 = new Ht("AuthError"), vn = ( } }); }); - }).catch(function(o) { - return ae.debug("Failed to sync cache info into memory", o), i(o); + }).catch(function(i) { + return oe.debug("Failed to sync cache info into memory", i), o(i); }); }) : this.rejectNoUserPool(); }, e.prototype.isOAuthInProgress = function() { return this.oAuthFlowInProgress; }, e.prototype.currentAuthenticatedUser = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { - var n, r, i, o, s; - return ue.__generator(this, function(a) { + return je(this, void 0, void 0, function() { + var n, r, o, i, s; + return be(this, function(a) { switch (a.label) { case 0: - ae.debug("getting current authenticated user"), n = null, a.label = 1; + oe.debug("getting current authenticated user"), n = null, a.label = 1; case 1: return a.trys.push([1, 3, , 4]), [4, this._storageSync]; case 2: return a.sent(), [3, 4]; case 3: - throw r = a.sent(), ae.debug("Failed to sync cache info into memory", r), r; + throw r = a.sent(), oe.debug("Failed to sync cache info into memory", r), r; case 4: try { - i = JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")), i && (n = ue.__assign(ue.__assign({}, i.user), { token: i.token })); + o = JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")), o && (n = et(et({}, o.user), { token: o.token })); } catch { - ae.debug("cannot load federated user from auth storage"); + oe.debug("cannot load federated user from auth storage"); } - return n ? (this.user = n, ae.debug("get current authenticated federated user", this.user), [2, this.user]) : [3, 5]; + return n ? (this.user = n, oe.debug("get current authenticated federated user", this.user), [2, this.user]) : [3, 5]; case 5: - ae.debug("get current authenticated userpool user"), o = null, a.label = 6; + oe.debug("get current authenticated userpool user"), i = null, a.label = 6; case 6: return a.trys.push([6, 8, , 9]), [4, this.currentUserPoolUser(t)]; case 7: - return o = a.sent(), [3, 9]; + return i = a.sent(), [3, 9]; case 8: - return s = a.sent(), s === "No userPool" && ae.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"), ae.debug("The user is not authenticated by the error", s), [2, Promise.reject("The user is not authenticated")]; + return s = a.sent(), s === "No userPool" && oe.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"), oe.debug("The user is not authenticated by the error", s), [2, Promise.reject("The user is not authenticated")]; case 9: - return this.user = o, [2, this.user]; + return this.user = i, [2, this.user]; } }); }); }, e.prototype.currentSession = function() { var t = this; - return ae.debug("Getting current session"), this.userPool ? new Promise(function(n, r) { - t.currentUserPoolUser().then(function(i) { - t.userSession(i).then(function(o) { - n(o); - }).catch(function(o) { - ae.debug("Failed to get the current session", o), r(o); + return oe.debug("Getting current session"), this.userPool ? new Promise(function(n, r) { + t.currentUserPoolUser().then(function(o) { + t.userSession(o).then(function(i) { + n(i); + }).catch(function(i) { + oe.debug("Failed to get the current session", i), r(i); }); - }).catch(function(i) { - ae.debug("Failed to get the current user", i), r(i); + }).catch(function(o) { + oe.debug("Failed to get the current user", o), r(o); }); }) : Promise.reject(new Error("No User Pool in the configuration.")); }, e.prototype._userSession = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { - var n, r, i = this; - return ue.__generator(this, function(o) { - switch (o.label) { + return je(this, void 0, void 0, function() { + var n, r, o = this; + return be(this, function(i) { + switch (i.label) { case 0: if (!t) - return ae.debug("the user is null"), [2, this.rejectAuthError(ke.NoUserSession)]; + return oe.debug("the user is null"), [2, this.rejectAuthError(Ce.NoUserSession)]; n = this._config.clientMetadata, this.inflightSessionPromiseCounter === 0 && (this.inflightSessionPromise = new Promise(function(s, a) { - t.getSession(function(u, c) { - return ue.__awaiter(i, void 0, void 0, function() { + t.getSession(function(c, u) { + return je(o, void 0, void 0, function() { var l; - return ue.__generator(this, function(f) { + return be(this, function(f) { switch (f.label) { case 0: - if (!u) + if (!c) return [3, 5]; - if (ae.debug("Failed to get the session from user", t), !this.isSessionInvalid(u)) + if (oe.debug("Failed to get the session from user", t), !this.isSessionInvalid(c)) return [3, 4]; f.label = 1; case 1: @@ -24188,17 +21138,17 @@ var B1 = new Ht("AuthError"), vn = ( case 2: return f.sent(), [3, 4]; case 3: - return l = f.sent(), a(new Error("Session is invalid due to: " + u.message + " and failed to clean up invalid session: " + l.message)), [ + return l = f.sent(), a(new Error("Session is invalid due to: " + c.message + " and failed to clean up invalid session: " + l.message)), [ 2 /*return*/ ]; case 4: - return a(u), [ + return a(c), [ 2 /*return*/ ]; case 5: - return ae.debug("Succeed to get the user session", c), s(c), [ + return oe.debug("Succeed to get the user session", u), s(u), [ 2 /*return*/ ]; @@ -24206,11 +21156,11 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, { clientMetadata: n }); - })), this.inflightSessionPromiseCounter++, o.label = 1; + })), this.inflightSessionPromiseCounter++, i.label = 1; case 1: - return o.trys.push([1, , 3, 4]), [4, this.inflightSessionPromise]; + return i.trys.push([1, , 3, 4]), [4, this.inflightSessionPromise]; case 2: - return r = o.sent(), t.signInUserSession = r, [2, r]; + return r = i.sent(), t.signInUserSession = r, [2, r]; case 3: return this.inflightSessionPromiseCounter--, [ 7 @@ -24227,57 +21177,57 @@ var B1 = new Ht("AuthError"), vn = ( }, e.prototype.userSession = function(t) { return this._userSession(t); }, e.prototype.currentUserCredentials = function() { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var t, n, r = this; - return ue.__generator(this, function(i) { - switch (i.label) { + return be(this, function(o) { + switch (o.label) { case 0: - ae.debug("Getting current user credentials"), i.label = 1; + oe.debug("Getting current user credentials"), o.label = 1; case 1: - return i.trys.push([1, 3, , 4]), [4, this._storageSync]; + return o.trys.push([1, 3, , 4]), [4, this._storageSync]; case 2: - return i.sent(), [3, 4]; + return o.sent(), [3, 4]; case 3: - throw t = i.sent(), ae.debug("Failed to sync cache info into memory", t), t; + throw t = o.sent(), oe.debug("Failed to sync cache info into memory", t), t; case 4: n = null; try { n = JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")); - } catch (o) { - ae.debug("failed to get or parse item aws-amplify-federatedInfo", o); + } catch (i) { + oe.debug("failed to get or parse item aws-amplify-federatedInfo", i); } - return n ? [2, this.Credentials.refreshFederatedToken(n)] : [2, this.currentSession().then(function(o) { - return ae.debug("getting session success", o), r.Credentials.set(o, "session"); + return n ? [2, this.Credentials.refreshFederatedToken(n)] : [2, this.currentSession().then(function(i) { + return oe.debug("getting session success", i), r.Credentials.set(i, "session"); }).catch(function() { - return ae.debug("getting guest credentials"), r.Credentials.set(null, "guest"); + return oe.debug("getting guest credentials"), r.Credentials.set(null, "guest"); })]; } }); }); }, e.prototype.currentCredentials = function() { - return ae.debug("getting current credentials"), this.Credentials.get(); + return oe.debug("getting current credentials"), this.Credentials.get(); }, e.prototype.verifyUserAttribute = function(t, n, r) { - return r === void 0 && (r = this._config.clientMetadata), new Promise(function(i, o) { + return r === void 0 && (r = this._config.clientMetadata), new Promise(function(o, i) { t.getAttributeVerificationCode(n, { onSuccess: function(s) { - return i(s); + return o(s); }, onFailure: function(s) { - return o(s); + return i(s); } }, r); }); }, e.prototype.verifyUserAttributeSubmit = function(t, n, r) { - return r ? new Promise(function(i, o) { + return r ? new Promise(function(o, i) { t.verifyAttribute(n, r, { onSuccess: function(s) { - i(s); + o(s); }, onFailure: function(s) { - o(s); + i(s); } }); - }) : this.rejectAuthError(ke.EmptyCode); + }) : this.rejectAuthError(Ce.EmptyCode); }, e.prototype.verifyCurrentUserAttribute = function(t) { var n = this; return n.currentUserPoolUser().then(function(r) { @@ -24285,57 +21235,57 @@ var B1 = new Ht("AuthError"), vn = ( }); }, e.prototype.verifyCurrentUserAttributeSubmit = function(t, n) { var r = this; - return r.currentUserPoolUser().then(function(i) { - return r.verifyUserAttributeSubmit(i, t, n); + return r.currentUserPoolUser().then(function(o) { + return r.verifyUserAttributeSubmit(o, t, n); }); }, e.prototype.cognitoIdentitySignOut = function(t, n) { - return ue.__awaiter(this, void 0, void 0, function() { - var r, i, o = this; - return ue.__generator(this, function(s) { + return je(this, void 0, void 0, function() { + var r, o, i = this; + return be(this, function(s) { switch (s.label) { case 0: return s.trys.push([0, 2, , 3]), [4, this._storageSync]; case 1: return s.sent(), [3, 3]; case 2: - throw r = s.sent(), ae.debug("Failed to sync cache info into memory", r), r; + throw r = s.sent(), oe.debug("Failed to sync cache info into memory", r), r; case 3: - return i = this._oAuthHandler && this._storage.getItem("amplify-signin-with-hostedUI") === "true", [2, new Promise(function(a, u) { + return o = this._oAuthHandler && this._storage.getItem("amplify-signin-with-hostedUI") === "true", [2, new Promise(function(a, c) { if (t && t.global) { - ae.debug("user global sign out", n); - var c = o._config.clientMetadata; + oe.debug("user global sign out", n); + var u = i._config.clientMetadata; n.getSession(function(l, f) { - return ue.__awaiter(o, void 0, void 0, function() { - var d, g = this; - return ue.__generator(this, function(h) { - switch (h.label) { + return je(i, void 0, void 0, function() { + var d, p = this; + return be(this, function(M) { + switch (M.label) { case 0: if (!l) return [3, 5]; - if (ae.debug("failed to get the user session", l), !this.isSessionInvalid(l)) + if (oe.debug("failed to get the user session", l), !this.isSessionInvalid(l)) return [3, 4]; - h.label = 1; + M.label = 1; case 1: - return h.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(n)]; + return M.trys.push([1, 3, , 4]), [4, this.cleanUpInvalidSession(n)]; case 2: - return h.sent(), [3, 4]; + return M.sent(), [3, 4]; case 3: - return d = h.sent(), u(new Error("Session is invalid due to: " + l.message + " and failed to clean up invalid session: " + d.message)), [ + return d = M.sent(), c(new Error("Session is invalid due to: " + l.message + " and failed to clean up invalid session: " + d.message)), [ 2 /*return*/ ]; case 4: - return [2, u(l)]; + return [2, c(l)]; case 5: return n.globalSignOut({ - onSuccess: function(p) { - if (ae.debug("global sign out success"), i) - g.oAuthSignOutRedirect(a, u); + onSuccess: function(y) { + if (oe.debug("global sign out success"), o) + p.oAuthSignOutRedirect(a, c); else return a(); }, - onFailure: function(p) { - return ae.debug("global sign out failed", p), u(p); + onFailure: function(y) { + return oe.debug("global sign out failed", y), c(y); } }), [ 2 @@ -24344,11 +21294,11 @@ var B1 = new Ht("AuthError"), vn = ( } }); }); - }, { clientMetadata: c }); + }, { clientMetadata: u }); } else - ae.debug("user sign out", n), n.signOut(function() { - if (i) - o.oAuthSignOutRedirect(a, u); + oe.debug("user sign out", n), n.signOut(function() { + if (o) + i.oAuthSignOutRedirect(a, c); else return a(); }); @@ -24357,7 +21307,7 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.oAuthSignOutRedirect = function(t, n) { - var r = gn().isBrowser; + var r = rn().isBrowser; r ? this.oAuthSignOutRedirectOrReject(n) : this.oAuthSignOutAndResolve(t); }, e.prototype.oAuthSignOutAndResolve = function(t) { this._oAuthHandler.signOut(), t(); @@ -24366,28 +21316,28 @@ var B1 = new Ht("AuthError"), vn = ( return t(Error("Signout timeout fail")); }, 3e3); }, e.prototype.signOut = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var n; - return ue.__generator(this, function(r) { + return be(this, function(r) { switch (r.label) { case 0: return r.trys.push([0, 2, , 3]), [4, this.cleanCachedItems()]; case 1: return r.sent(), [3, 3]; case 2: - return r.sent(), ae.debug("failed to clear cached items"), [3, 3]; + return r.sent(), oe.debug("failed to clear cached items"), [3, 3]; case 3: return this.userPool ? (n = this.userPool.getCurrentUser(), n ? [4, this.cognitoIdentitySignOut(t, n)] : [3, 5]) : [3, 7]; case 4: return r.sent(), [3, 6]; case 5: - ae.debug("no current Cognito user"), r.label = 6; + oe.debug("no current Cognito user"), r.label = 6; case 6: return [3, 8]; case 7: - ae.debug("no Cognito User pool"), r.label = 8; + oe.debug("no Cognito User pool"), r.label = 8; case 8: - return xe("signOut", this.user, "A user has been signed out"), this.user = null, [ + return Te("signOut", this.user, "A user has been signed out"), this.user = null, [ 2 /*return*/ ]; @@ -24395,8 +21345,8 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.cleanCachedItems = function() { - return ue.__awaiter(this, void 0, void 0, function() { - return ue.__generator(this, function(t) { + return je(this, void 0, void 0, function() { + return be(this, function(t) { switch (t.label) { case 0: return [4, this.Credentials.clear()]; @@ -24408,87 +21358,87 @@ var B1 = new Ht("AuthError"), vn = ( } }); }); - }, e.prototype.changePassword = function(t, n, r, i) { - var o = this; - return i === void 0 && (i = this._config.clientMetadata), new Promise(function(s, a) { - o.userSession(t).then(function(u) { - t.changePassword(n, r, function(c, l) { - return c ? (ae.debug("change password failure", c), a(c)) : s(l); - }, i); + }, e.prototype.changePassword = function(t, n, r, o) { + var i = this; + return o === void 0 && (o = this._config.clientMetadata), new Promise(function(s, a) { + i.userSession(t).then(function(c) { + t.changePassword(n, r, function(u, l) { + return u ? (oe.debug("change password failure", u), a(u)) : s(l); + }, o); }); }); }, e.prototype.forgotPassword = function(t, n) { if (n === void 0 && (n = this._config.clientMetadata), !this.userPool) return this.rejectNoUserPool(); if (!t) - return this.rejectAuthError(ke.EmptyUsername); + return this.rejectAuthError(Ce.EmptyUsername); var r = this.createCognitoUser(t); - return new Promise(function(i, o) { + return new Promise(function(o, i) { r.forgotPassword({ onSuccess: function() { - i(); + o(); }, onFailure: function(s) { - ae.debug("forgot password failure", s), xe("forgotPassword_failure", s, t + " forgotPassword failed"), o(s); + oe.debug("forgot password failure", s), Te("forgotPassword_failure", s, t + " forgotPassword failed"), i(s); }, inputVerificationCode: function(s) { - xe("forgotPassword", r, t + " has initiated forgot password flow"), i(s); + Te("forgotPassword", r, t + " has initiated forgot password flow"), o(s); } }, n); }); - }, e.prototype.forgotPasswordSubmit = function(t, n, r, i) { - if (i === void 0 && (i = this._config.clientMetadata), !this.userPool) + }, e.prototype.forgotPasswordSubmit = function(t, n, r, o) { + if (o === void 0 && (o = this._config.clientMetadata), !this.userPool) return this.rejectNoUserPool(); if (!t) - return this.rejectAuthError(ke.EmptyUsername); + return this.rejectAuthError(Ce.EmptyUsername); if (!n) - return this.rejectAuthError(ke.EmptyCode); + return this.rejectAuthError(Ce.EmptyCode); if (!r) - return this.rejectAuthError(ke.EmptyPassword); - var o = this.createCognitoUser(t); + return this.rejectAuthError(Ce.EmptyPassword); + var i = this.createCognitoUser(t); return new Promise(function(s, a) { - o.confirmPassword(n, r, { - onSuccess: function(u) { - xe("forgotPasswordSubmit", o, t + " forgotPasswordSubmit successful"), s(u); + i.confirmPassword(n, r, { + onSuccess: function(c) { + Te("forgotPasswordSubmit", i, t + " forgotPasswordSubmit successful"), s(c); }, - onFailure: function(u) { - xe("forgotPasswordSubmit_failure", u, t + " forgotPasswordSubmit failed"), a(u); + onFailure: function(c) { + Te("forgotPasswordSubmit_failure", c, t + " forgotPasswordSubmit failed"), a(c); } - }, i); + }, o); }); }, e.prototype.currentUserInfo = function() { - return ue.__awaiter(this, void 0, void 0, function() { - var t, u, n, r, i, o, s, a, u; - return ue.__generator(this, function(c) { - switch (c.label) { + return je(this, void 0, void 0, function() { + var t, c, n, r, o, i, s, a, c; + return be(this, function(u) { + switch (u.label) { case 0: return t = this.Credentials.getCredSource(), !t || t === "aws" || t === "userPool" ? [4, this.currentUserPoolUser().catch(function(l) { - return ae.error(l); + return oe.error(l); })] : [3, 9]; case 1: - if (u = c.sent(), !u) + if (c = u.sent(), !c) return [2, null]; - c.label = 2; + u.label = 2; case 2: - return c.trys.push([2, 8, , 9]), [4, this.userAttributes(u)]; + return u.trys.push([2, 8, , 9]), [4, this.userAttributes(c)]; case 3: - n = c.sent(), r = this.attributesToObject(n), i = null, c.label = 4; + n = u.sent(), r = this.attributesToObject(n), o = null, u.label = 4; case 4: - return c.trys.push([4, 6, , 7]), [4, this.currentCredentials()]; + return u.trys.push([4, 6, , 7]), [4, this.currentCredentials()]; case 5: - return i = c.sent(), [3, 7]; + return o = u.sent(), [3, 7]; case 6: - return o = c.sent(), ae.debug("Failed to retrieve credentials while getting current user info", o), [3, 7]; + return i = u.sent(), oe.debug("Failed to retrieve credentials while getting current user info", i), [3, 7]; case 7: return s = { - id: i ? i.identityId : void 0, - username: u.getUsername(), + id: o ? o.identityId : void 0, + username: c.getUsername(), attributes: r }, [2, s]; case 8: - return a = c.sent(), ae.error("currentUserInfo error", a), [2, {}]; + return a = u.sent(), oe.error("currentUserInfo error", a), [2, {}]; case 9: - return t === "federated" ? (u = this.user, [2, u || {}]) : [ + return t === "federated" ? (c = this.user, [2, c || {}]) : [ 2 /*return*/ ]; @@ -24496,30 +21446,30 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.federatedSignIn = function(t, n, r) { - return ue.__awaiter(this, void 0, void 0, function() { - var i, u, o, s, a, u, c, l, f, d, g, h; - return ue.__generator(this, function(p) { - switch (p.label) { + return je(this, void 0, void 0, function() { + var o, c, i, s, a, c, u, l, f, d, p, M; + return be(this, function(y) { + switch (y.label) { case 0: if (!this._config.identityPoolId && !this._config.userPoolId) 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 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]; + return As(t) || dI(t) || hI(t) || typeof t > "u" ? (o = t || { + provider: lo.Cognito + }, c = As(o) ? o.provider : o.customProvider, i = (As(o), o.customState), this._config.userPoolId && (s = Ln(this._config.oauth) ? this._config.userPoolWebClientId : this._config.oauth.clientID, a = Ln(this._config.oauth) ? this._config.oauth.redirectSignIn : this._config.oauth.redirectUri, this._oAuthHandler.oauthSignIn(this._config.oauth.responseType, this._config.oauth.domain, a, s, c, i)), [3, 4]) : [3, 1]; case 1: - u = t; + c = t; try { - c = JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user), c && ae.warn("There is already a signed in user: " + c + ` in your app. + u = JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user), u && oe.warn("There is already a signed in user: " + u + ` 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")]; + return l = n.token, f = n.identity_id, d = n.expires_at, [4, this.Credentials.set({ provider: c, token: l, identity_id: f, user: r, expires_at: d }, "federation")]; case 2: - return g = p.sent(), [4, this.currentAuthenticatedUser()]; + return p = y.sent(), [4, this.currentAuthenticatedUser()]; case 3: - return h = p.sent(), xe("signIn", h, "A user " + h.username + " has been signed in"), ae.debug("federated sign in credentials", g), [2, g]; + return M = y.sent(), Te("signIn", M, "A user " + M.username + " has been signed in"), oe.debug("federated sign in credentials", p), [2, p]; case 4: return [ 2 @@ -24529,13 +21479,13 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype._handleAuthResponse = function(t) { - return ue.__awaiter(this, void 0, void 0, function() { - var n, r, i, o, s, a, u, c, l, f, d, g, h, p; - return ue.__generator(this, function(m) { + return je(this, void 0, void 0, function() { + var n, r, o, i, s, a, c, u, l, f, d, p, M, y; + return be(this, function(m) { switch (m.label) { case 0: if (this.oAuthFlowInProgress) - return ae.debug("Skipping URL " + t + " current flow in progress"), [ + return oe.debug("Skipping URL " + t + " current flow in progress"), [ 2 /*return*/ ]; @@ -24543,37 +21493,37 @@ var B1 = new Ht("AuthError"), vn = ( 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 = !!(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 = !!(wn(n).hash || "#").substr(1).split("&").map(function(v) { - return v.split("="); - }).find(function(v) { - var w = ue.__read(v, 1), j = w[0]; - return j === "access_token" || j === "error"; - }), !(r || i)) + if (Te("parsingCallbackUrl", { url: t }, "The callback url is being parsed"), n = t || (rn().isBrowser ? window.location.href : ""), r = !!(dn(n).query || "").split("&").map(function(w) { + return w.split("="); + }).find(function(w) { + var D = Ct(w, 1), N = D[0]; + return N === "code" || N === "error"; + }), o = !!(dn(n).hash || "#").substr(1).split("&").map(function(w) { + return w.split("="); + }).find(function(w) { + var D = Ct(w, 1), N = D[0]; + return N === "access_token" || N === "error"; + }), !(r || o)) 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 pu({ - IdToken: new du({ IdToken: a }), - RefreshToken: new hu({ - RefreshToken: u + return i = m.sent(), s = i.accessToken, a = i.idToken, c = i.refreshToken, u = i.state, l = new Ta({ + IdToken: new Aa({ IdToken: a }), + RefreshToken: new Ea({ + RefreshToken: c }), - AccessToken: new lu({ + AccessToken: new Da({ 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; + f = m.sent(), oe.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", ZI(h), "State for user " + g.getUsername())), [2, f]; + return d = /-/.test(u), p = this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"]), p.setSignInUserSession(l), window && typeof window.history < "u" && window.history.replaceState({}, null, this._config.oauth.redirectSignIn), Te("signIn", p, "A user " + p.getUsername() + " has been signed in"), Te("cognitoHostedUI", p, "A user " + p.getUsername() + " has been signed in via Cognito Hosted UI"), d && (M = u.split("-").splice(1).join("-"), Te("customOAuthState", eA(M), "State for user " + p.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]; + return y = m.sent(), oe.debug("Error in cognito hosted auth response", y), window && typeof window.history < "u" && window.history.replaceState({}, null, this._config.oauth.redirectSignIn), Te("signIn_failure", y, "The OAuth response flow failed"), Te("cognitoHostedUI_failure", y, "A failure occurred when returning to the Cognito Hosted UI"), Te("customState_failure", y, "A failure occurred when returning state"), [3, 7]; case 7: return [3, 9]; case 8: @@ -24599,8 +21549,8 @@ var B1 = new Ht("AuthError"), vn = ( }; }, 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; + return t && t.map(function(o) { + o.Name === "email_verified" || o.Name === "phone_number_verified" ? r[o.Name] = n.isTruthyString(o.Value) || o.Value === !0 : r[o.Name] = o.Value; }), r; }, e.prototype.isTruthyString = function(t) { return typeof t.toLowerCase == "function" && t.toLowerCase() === "true"; @@ -24610,36 +21560,36 @@ var B1 = new Ht("AuthError"), vn = ( Pool: this.userPool }; n.Storage = this._storage; - var r = this._config.authenticationFlowType, i = new Mu(n); - return r && i.setAuthenticationFlowType(r), i; + var r = this._config.authenticationFlowType, o = new Na(n); + return r && o.setAuthenticationFlowType(r), o; }, 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; + return t && (!t.userPoolId || !t.identityPoolId) ? Ce.MissingAuthConfig : Ce.NoConfig; }, e.prototype.rejectAuthError = function(t) { - return Promise.reject(new vn(t)); + return Promise.reject(new ln(t)); }, e.prototype.rejectNoUserPool = function() { var t = this.noUserPoolErrorHandler(this._config); - return Promise.reject(new $1(t)); + return Promise.reject(new kN(t)); }, e.prototype.rememberDevice = function() { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var t, n; - return ue.__generator(this, function(r) { + return be(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(), ae.debug("The user is not authenticated by the error", n), [2, Promise.reject("The user is not authenticated")]; + return n = r.sent(), oe.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) { + return t.getCachedDeviceKeyAndPassword(), [2, new Promise(function(o, i) { t.setDeviceStatusRemembered({ onSuccess: function(s) { - i(s); + o(s); }, onFailure: function(s) { - s.code === "InvalidParameterException" ? o(new vn(ke.DeviceConfig)) : s.code === "NetworkError" ? o(new vn(ke.NetworkError)) : o(s); + s.code === "InvalidParameterException" ? i(new ln(Ce.DeviceConfig)) : s.code === "NetworkError" ? i(new ln(Ce.NetworkError)) : i(s); } }); })]; @@ -24647,24 +21597,24 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.forgetDevice = function() { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var t, n; - return ue.__generator(this, function(r) { + return be(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(), ae.debug("The user is not authenticated by the error", n), [2, Promise.reject("The user is not authenticated")]; + return n = r.sent(), oe.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) { + return t.getCachedDeviceKeyAndPassword(), [2, new Promise(function(o, i) { t.forgetDevice({ onSuccess: function(s) { - i(s); + o(s); }, onFailure: function(s) { - s.code === "InvalidParameterException" ? o(new vn(ke.DeviceConfig)) : s.code === "NetworkError" ? o(new vn(ke.NetworkError)) : o(s); + s.code === "InvalidParameterException" ? i(new ln(Ce.DeviceConfig)) : s.code === "NetworkError" ? i(new ln(Ce.NetworkError)) : i(s); } }); })]; @@ -24672,93 +21622,96 @@ var B1 = new Ht("AuthError"), vn = ( }); }); }, e.prototype.fetchDevices = function() { - return ue.__awaiter(this, void 0, void 0, function() { + return je(this, void 0, void 0, function() { var t, n; - return ue.__generator(this, function(r) { + return be(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(), ae.debug("The user is not authenticated by the error", n), new Error("The user is not authenticated"); + throw n = r.sent(), oe.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) { + return t.getCachedDeviceKeyAndPassword(), [2, new Promise(function(o, i) { 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"; + var c = a.Devices.map(function(u) { + var l = u.DeviceAttributes.find(function(d) { + var p = d.Name; + return p === "device_name"; }) || {}, f = { - id: c.DeviceKey, + id: u.DeviceKey, name: l.Value }; return f; }); - i(u); + o(c); }, onFailure: function(a) { - a.code === "InvalidParameterException" ? o(new vn(ke.DeviceConfig)) : a.code === "NetworkError" ? o(new vn(ke.NetworkError)) : o(a); + a.code === "InvalidParameterException" ? i(new ln(Ce.DeviceConfig)) : a.code === "NetworkError" ? i(new ln(Ce.NetworkError)) : i(a); } }; - t.listDevices(q1, null, s); + t.listDevices(RN, null, s); })]; } }); }); }, e; }() -), _n = new G1(null); -tc.register(_n); -var yp = {}, va = {}, Yd; -function J1() { - return Yd || (Yd = 1, function(e) { +), In = new FN(null); +mu.register(In); +var uh = {}, Ls = {}, ql; +function QN() { + return ql || (ql = 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); + return s && !!a.find(function(c) { + return s.hasOwnProperty(c); }); } e.isFederatedSignInOptions = t; function n(s) { var a = ["customProvider"]; - return s && !!a.find(function(u) { - return s.hasOwnProperty(u); + return s && !!a.find(function(c) { + return s.hasOwnProperty(c); }); } e.isFederatedSignInOptionsCustom = n; function r(s) { var a = ["customState"]; - return s && !!a.find(function(u) { - return s.hasOwnProperty(u); + return s && !!a.find(function(c) { + return s.hasOwnProperty(c); }); } e.hasCustomState = r; - function i(s) { + function o(s) { return s.redirectSignIn !== void 0; } - e.isCognitoHostedOpts = i, function(s) { + e.isCognitoHostedOpts = o, 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) { + function i(s) { return !!s.username; } - e.isUsernamePasswordOpts = o, function(s) { + e.isUsernamePasswordOpts = i, 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 = {})); - }(va)), va; + }(Ls)), Ls; } (function(e) { Object.defineProperty(e, "__esModule", { value: !0 }); - var t = ue; - t.__exportStar(J1(), e); -})(yp); -const NO = () => { - const e = window.location.protocol + "//" + window.location.host + "/verify", t = window.location.protocol + "//" + window.location.host + "/", n = { + var t = Iu; + t.__exportStar(QN(), e); +})(uh); +const BN = () => { + const e = window.location.search; + let t = window.location.protocol + "//" + window.location.host + "/verify"; + window.location.search.includes("error_description") && (t = window.location.protocol + "//" + window.location.host + "/verify" + e); + const n = window.location.protocol + "//" + window.location.host + "/", r = { Auth: { // REQUIRED - Amazon Cognito Region region: "ap-northeast-1", @@ -24771,41 +21724,41 @@ const NO = () => { oauth: { domain: "auth.wasedatime.com", scope: ["email", "profile", "openid", "aws.cognito.signin.user.admin"], - redirectSignIn: e, - redirectSignOut: t, + redirectSignIn: t, + redirectSignOut: n, responseType: "code" // or 'token', note that REFRESH token will only be generated when the responseType is code } } }; - _n.configure(n); -}, TO = async () => { + In.configure(r); +}, yS = async () => { try { - const e = await _n.currentSession(); + const e = await In.currentSession(); if (e) return e.getIdToken().getJwtToken(); } catch { return ""; } -}, jO = async () => { +}, mS = async () => { try { - const e = await _n.currentSession(); + const e = await In.currentSession(); if (e) return e.getAccessToken().getJwtToken(); } catch { return ""; } -}, SO = async () => { +}, vS = async () => { try { - const e = await _n.currentSession(); + const e = await In.currentSession(); if (e) return e.getRefreshToken().getToken(); } catch { return ""; } -}, bO = async () => { +}, wS = async () => { try { - const e = await _n.currentUserInfo(); + const e = await In.currentUserInfo(); if (e && e.attributes) return { id: e.attributes.sub, @@ -24815,22 +21768,23 @@ const NO = () => { } catch { return null; } -}, Z1 = () => { +}, $N = () => { + BN(); try { - _n.federatedSignIn({ - provider: yp.CognitoHostedUIIdentityProvider.Google, + In.federatedSignIn({ + provider: uh.CognitoHostedUIIdentityProvider.Google, customState: window.location.pathname + window.location.search }); } catch (e) { console.log(e); } -}, CO = () => { - _n.signOut(); +}, DS = () => { + In.signOut(); }; -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 { +var WN = Object.defineProperty, VN = (e, t, n) => t in e ? WN(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _s = (e, t, n) => (VN(e, typeof t != "symbol" ? t + "" : t, n), n); +let HN = class { constructor() { - wa(this, "current", this.detect()), wa(this, "handoffState", "pending"), wa(this, "currentId", 0); + _s(this, "current", this.detect()), _s(this, "handoffState", "pending"), _s(this, "currentId", 0); } set(t) { this.current !== t && (this.handoffState = "pending", this.currentId = 0, this.current = t); @@ -24856,23 +21810,23 @@ let tC = class { get isHandoffComplete() { return this.handoffState === "complete"; } -}, ln = new tC(), kn = (e, t) => { - ln.isServer ? dt(e, t) : nh(e, t); +}, en = new HN(), on = (e, t) => { + en.isServer ? dt(e, t) : lf(e, t); }; -function Cs(e) { - let t = ot(e); - return kn(() => { +function ns(e) { + let t = Ze(e); + return on(() => { t.current = e; }, [e]), t; } -function Ji(e) { +function rs(e) { typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => { throw t; })); } -function hc() { - let e = [], t = { addEventListener(n, r, i, o) { - return n.addEventListener(r, i, o), t.add(() => n.removeEventListener(r, i, o)); +function is() { + let e = [], t = { addEventListener(n, r, o, i) { + return n.addEventListener(r, o, i), t.add(() => n.removeEventListener(r, o, i)); }, requestAnimationFrame(...n) { let r = requestAnimationFrame(...n); return t.add(() => cancelAnimationFrame(r)); @@ -24883,25 +21837,25 @@ function hc() { return t.add(() => clearTimeout(r)); }, microTask(...n) { let r = { current: !0 }; - return Ji(() => { + return rs(() => { 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 }); + }, style(n, r, o) { + let i = n.style.getPropertyValue(r); + return Object.assign(n.style, { [r]: o }), this.add(() => { + Object.assign(n.style, { [r]: i }); }); }, group(n) { - let r = hc(); + let r = is(); 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(); + for (let o of e.splice(r, 1)) + o(); }; }, dispose() { for (let n of e.splice(0)) @@ -24909,91 +21863,96 @@ function hc() { } }; return t; } -function nC() { - let [e] = ar(hc); +function qN() { + let [e] = vr(is); return dt(() => () => e.dispose(), [e]), e; } -let _t = function(e) { - let t = Cs(e); - return Te.useCallback((...n) => t.current(...n), [t]); +let ct = function(e) { + let t = ns(e); + return we.useCallback((...n) => t.current(...n), [t]); }; -function xs() { - let [e, t] = ar(ln.isHandoffComplete); - return e && ln.isHandoffComplete === !1 && t(!1), dt(() => { - e !== !0 && t(!0); - }, [e]), dt(() => ln.handoff(), []), e; -} -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()); +function KN() { + let e = typeof document > "u"; + return "useSyncExternalStore" in te ? ((t) => t.useSyncExternalStore)(te)(() => () => { + }, () => !1, () => !e) : !1; +} +function os() { + let e = KN(), [t, n] = te.useState(en.isHandoffComplete); + return t && en.isHandoffComplete === !1 && n(!1), te.useEffect(() => { + t !== !0 && n(!0); + }, [t]), te.useEffect(() => en.handoff(), []), e ? !1 : t; +} +var Kl; +let Sr = (Kl = we.useId) != null ? Kl : function() { + let e = os(), [t, n] = we.useState(e ? () => en.nextId() : null); + return on(() => { + t === null && n(en.nextId()); }, [t]), t != null ? "" + t : void 0; }; -function Cn(e, t, ...n) { +function vn(e, t, ...n) { if (e in t) { - let i = t[e]; - return typeof i == "function" ? i(...n) : i; + let o = t[e]; + return typeof o == "function" ? o(...n) : o; } - 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, Cn), r; + let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`); + throw Error.captureStackTrace && Error.captureStackTrace(r, vn), r; } -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; +function ch(e) { + return en.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document; } -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))); +let Oa = ["[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 Cn = ((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))(Cn || {}), lh = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(lh || {}), GN = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(GN || {}); +function JN(e = document.body) { + return e == null ? [] : Array.from(e.querySelectorAll(Oa)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER))); } -var wp = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(wp || {}); -function oC(e, t = 0) { +var fh = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(fh || {}); +function XN(e, t = 0) { var n; - return e === ((n = mp(e)) == null ? void 0 : n.body) ? !1 : Cn(t, { [0]() { - return e.matches(vu); - }, [1]() { + return e === ((n = ch(e)) == null ? void 0 : n.body) ? !1 : vn(t, { 0() { + return e.matches(Oa); + }, 1() { let r = e; for (; r !== null; ) { - if (r.matches(vu)) + if (r.matches(Oa)) return !0; r = r.parentElement; } return !1; } }); } -var sC = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(sC || {}); +var ZN = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(ZN || {}); 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 tr(e) { +function Yn(e) { e == null || e.focus({ preventScroll: !0 }); } -let aC = ["textarea", "input"].join(","); -function uC(e) { +let ej = ["textarea", "input"].join(","); +function tj(e) { var t, n; - return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, aC)) != null ? n : !1; + return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, ej)) != null ? n : !1; } -function cC(e, t = (n) => n) { +function nj(e, t = (n) => n) { return e.slice().sort((n, r) => { - let i = t(n), o = t(r); - if (i === null || o === null) + let o = t(n), i = t(r); + if (o === null || i === null) return 0; - let s = i.compareDocumentPosition(o); + let s = o.compareDocumentPosition(i); return s & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : s & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0; }); } -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; +function Ji(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) { + let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, s = Array.isArray(e) ? n ? nj(e) : e : JN(e); + o.length > 0 && s.length > 1 && (s = s.filter((p) => !o.includes(p))), r = r ?? i.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 = (() => { + })(), c = (() => { if (t & 1) return 0; if (t & 2) @@ -25003,176 +21962,189 @@ function No(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: i = [] } 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; + })(), u = t & 32 ? { preventScroll: !0 } : {}, l = 0, f = s.length, d; do { if (l >= f || l + f <= 0) return 0; - let g = u + l; + let p = c + l; if (t & 16) - g = (g + f) % f; + p = (p + f) % f; else { - if (g < 0) + if (p < 0) return 3; - if (g >= f) + if (p >= f) return 1; } - d = s[g], d == null || d.focus(c), l += a; - } while (d !== o.activeElement); - return t & 6 && uC(d) && d.select(), 2; + d = s[p], d == null || d.focus(u), l += a; + } while (d !== i.activeElement); + return t & 6 && tj(d) && d.select(), 2; +} +function Ri(e, t, n) { + let r = ns(t); + dt(() => { + function o(i) { + r.current(i); + } + return document.addEventListener(e, o, n), () => document.removeEventListener(e, o, n); + }, [e, n]); } -function Da(e, t, n) { - let r = Cs(t); +function dh(e, t, n) { + let r = ns(t); dt(() => { - function i(o) { - r.current(o); + function o(i) { + r.current(i); } - return document.addEventListener(e, i, n), () => document.removeEventListener(e, i, n); + return window.addEventListener(e, o, n), () => window.removeEventListener(e, o, n); }, [e, n]); } -function lC(e, t, n = !0) { - let r = ot(!1); +function rj(e, t, n = !0) { + let r = Ze(!1); dt(() => { requestAnimationFrame(() => { r.current = n; }); }, [n]); - function i(s, a) { + function o(s, a) { if (!r.current || s.defaultPrevented) return; + let c = a(s); + if (c === null || !c.getRootNode().contains(c) || !c.isConnected) + 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 !oC(c, wp.Loose) && c.tabIndex !== -1 && s.preventDefault(), t(s, c); + }(e); + 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; } - } - 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), Da("click", (s) => { - o.current && (i(s, () => o.current), o.current = null); - }, !0), Da("blur", (s) => i(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0); -} -let Dp = Symbol(); -function fC(e, t = !0) { - return Object.assign(e, { [Dp]: t }); -} -function yn(...e) { - let t = ot(e); + return !XN(c, fh.Loose) && c.tabIndex !== -1 && s.preventDefault(), t(s, c); + } + let i = Ze(null); + Ri("pointerdown", (s) => { + var a, c; + r.current && (i.current = ((c = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : c[0]) || s.target); + }, !0), Ri("mousedown", (s) => { + var a, c; + r.current && (i.current = ((c = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : c[0]) || s.target); + }, !0), Ri("click", (s) => { + i.current && (o(s, () => i.current), i.current = null); + }, !0), Ri("touchend", (s) => o(s, () => s.target instanceof HTMLElement ? s.target : null), !0), dh("blur", (s) => o(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0); +} +let hh = Symbol(); +function ij(e, t = !0) { + return Object.assign(e, { [hh]: t }); +} +function cn(...e) { + let t = Ze(e); dt(() => { t.current = e; }, [e]); - let n = _t((r) => { - for (let i of t.current) - i != null && (typeof i == "function" ? i(r) : i.current = r); + let n = ct((r) => { + for (let o of t.current) + o != null && (typeof o == "function" ? o(r) : o.current = r); }); - return e.every((r) => r == null || (r == null ? void 0 : r[Dp])) ? void 0 : n; -} -function Bd(...e) { - return e.filter(Boolean).join(" "); -} -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 = Ap(t, e); - if (o) - return Mo(a, n, r, s); - let u = i ?? 0; - if (u & 2) { - let { static: c = !1, ...l } = a; - if (c) - return Mo(l, n, r, s); + return e.every((r) => r == null || (r == null ? void 0 : r[hh])) ? void 0 : n; +} +function Gl(...e) { + return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" "); +} +var La = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(La || {}), oj = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(oj || {}); +function $t({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: s }) { + let a = gh(t, e); + if (i) + return Yi(a, n, r, s); + let c = o ?? 0; + if (c & 2) { + let { static: u = !1, ...l } = a; + if (u) + return Yi(l, n, r, s); } - if (u & 1) { - let { unmount: c = !0, ...l } = a; - return Cn(c ? 0 : 1, { [0]() { + if (c & 1) { + let { unmount: u = !0, ...l } = a; + return vn(u ? 0 : 1, { 0() { return null; - }, [1]() { - return Mo({ ...l, hidden: !0, style: { display: "none" } }, n, r, s); + }, 1() { + return Yi({ ...l, hidden: !0, style: { display: "none" } }, n, r, s); } }); } - return Mo(a, n, r, s); + return Yi(a, n, r, s); } -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; +function Yi(e, t = {}, n, r) { + let { as: o = n, children: i, refName: s = "ref", ...a } = ks(e, ["unmount", "static"]), c = e.ref !== void 0 ? { [s]: e.ref } : {}, u = typeof i == "function" ? i(t) : i; "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); + for (let [p, M] of Object.entries(t)) + typeof M == "boolean" && (f = !0), M === !0 && d.push(p); f && (l["data-headlessui-state"] = d.join(" ")); } - 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(` + if (o === Mn && Object.keys(Jl(a)).length > 0) { + if (!Hr(u) || Array.isArray(u) && u.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((M) => ` - ${M}`).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((M) => ` - ${M}`).join(` `)].join(` `)); - 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)); + let f = u.props, d = typeof (f == null ? void 0 : f.className) == "function" ? (...M) => Gl(f == null ? void 0 : f.className(...M), a.className) : Gl(f == null ? void 0 : f.className, a.className), p = d ? { className: d } : {}; + return qr(u, Object.assign({}, gh(u.props, Jl(ks(a, ["ref"]))), l, c, sj(u.ref, c.ref), p)); } - return kt(i, Object.assign({}, Aa(a, ["ref"]), i !== Nn && u, i !== Nn && l), c); + return Nt(o, Object.assign({}, ks(a, ["ref"]), o !== Mn && c, o !== Mn && l), u); } -function hC(...e) { +function sj(...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 Ap(...e) { +function gh(...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]; + for (let o in r) + o.startsWith("on") && typeof r[o] == "function" ? (n[o] != null || (n[o] = []), n[o].push(r[o])) : t[o] = r[o]; 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) { + Object.assign(t, { [r](o, ...i) { let s = n[r]; for (let a of s) { - if ((i instanceof Event || (i == null ? void 0 : i.nativeEvent) instanceof Event) && i.defaultPrevented) + if ((o instanceof Event || (o == null ? void 0 : o.nativeEvent) instanceof Event) && o.defaultPrevented) return; - a(i, ...o); + a(o, ...i); } } }); return t; } -function en(e) { +function Wt(e) { var t; - return Object.assign(Su(e), { displayName: (t = e.displayName) != null ? t : e.name }); + return Object.assign(Ba(e), { displayName: (t = e.displayName) != null ? t : e.name }); } -function $d(e) { +function Jl(e) { let t = Object.assign({}, e); for (let n in t) t[n] === void 0 && delete t[n]; return t; } -function Aa(e, t = []) { +function ks(e, t = []) { let n = Object.assign({}, e); for (let r of t) r in n && delete n[r]; return n; } -function gC(e) { +function aj(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 && pC(n) ? !1 : r; + return r && uj(n) ? !1 : r; } -function pC(e) { +function uj(e) { if (!e) return !1; let t = e.previousElementSibling; @@ -25183,75 +22155,74 @@ function pC(e) { } return !0; } -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: 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); +let cj = "div"; +var Do = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(Do || {}); +function lj(e, t) { + let { features: n = 1, ...r } = e, o = { 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 $t({ ourProps: o, theirProps: r, slot: {}, defaultTag: cj, name: "Hidden" }); +} +let _a = Wt(lj), ph = sn(null); +ph.displayName = "OpenClosedContext"; +var Wr = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Wr || {}); +function fj() { + return it(ph); +} +var Mh = ((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))(Mh || {}); +function xu(e, t) { + let n = Ze([]), r = ct(e); dt(() => { - let i = [...n.current]; - for (let [o, s] of t.entries()) - if (n.current[o] !== s) { - let a = r(t, i); + let o = [...n.current]; + for (let [i, s] of t.entries()) + if (n.current[i] !== s) { + let a = r(t, o); return n.current = t, a; } }, [r, ...t]); } -function vC() { +function dj() { return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0; } -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]); +function Ni(...e) { + return jt(() => ch(...e), [...e]); } -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) => { +var Vr = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Vr || {}); +function hj() { + let e = Ze(0); + return dh("keydown", (t) => { t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0); }, !0), e; } -function Np() { - let e = ot(!1); - return kn(() => (e.current = !0, () => { +function yh() { + let e = Ze(!1); + return on(() => (e.current = !0, () => { e.current = !1; }), []), e; } -function Os(...e) { - return dn(() => mp(...e), [...e]); -} -function Tp(e, t, n, r) { - let i = Cs(n); +function mh(e, t, n, r) { + let o = ns(n); dt(() => { e = e ?? window; - function o(s) { - i.current(s); + function i(s) { + o.current(s); } - return e.addEventListener(t, o, r), () => e.removeEventListener(t, o, r); + return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r); }, [e, t, r]); } -function AC(e) { +function gj(e) { function t() { document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t)); } typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t()); } -function jp(e) { +function vh(e) { + let t = ct(e), n = Ze(!1); + dt(() => (n.current = !1, () => { + n.current = !0, rs(() => { + n.current && t(); + }); + }), [t]); +} +function wh(e) { if (!e) return /* @__PURE__ */ new Set(); if (typeof e == "function") @@ -25261,119 +22232,115 @@ function jp(e) { n.current instanceof HTMLElement && t.add(n.current); return t; } -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 pj = "div"; +var Dh = ((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))(Dh || {}); +function Mj(e, t) { + let n = Ze(null), r = cn(n, t), { initialFocus: o, containers: i, features: s = 30, ...a } = e; + os() || (s = 1); + let c = Ni(n); + vj({ ownerDocument: c }, !!(s & 16)); + let u = wj({ ownerDocument: c, container: n, initialFocus: o }, !!(s & 2)); + Dj({ ownerDocument: c, container: n, containers: i, previousActiveElement: u }, !!(s & 8)); + let l = hj(), f = ct((y) => { let m = n.current; - m && ((v) => v())(() => { - Cn(l.current, { [di.Forwards]: () => { - No(m, Vn.First, { skipElements: [p.relatedTarget] }); - }, [di.Backwards]: () => { - No(m, Vn.Last, { skipElements: [p.relatedTarget] }); + m && ((w) => w())(() => { + vn(l.current, { [Vr.Forwards]: () => { + Ji(m, Cn.First, { skipElements: [y.relatedTarget] }); + }, [Vr.Backwards]: () => { + Ji(m, Cn.Last, { skipElements: [y.relatedTarget] }); } }); }); - }), d = nC(), g = ot(!1), h = { ref: r, onKeyDown(p) { - p.key == "Tab" && (g.current = !0, d.requestAnimationFrame(() => { - g.current = !1; + }), d = qN(), p = Ze(!1), M = { ref: r, onKeyDown(y) { + y.key == "Tab" && (p.current = !0, d.requestAnimationFrame(() => { + p.current = !1; })); - }, onBlur(p) { - let m = jp(o); + }, onBlur(y) { + let m = wh(i); n.current instanceof HTMLElement && m.add(n.current); - let v = p.relatedTarget; - 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))); + let w = y.relatedTarget; + w instanceof HTMLElement && w.dataset.headlessuiFocusGuard !== "true" && (Ih(m, w) || (p.current ? Ji(n.current, vn(l.current, { [Vr.Forwards]: () => Cn.Next, [Vr.Backwards]: () => Cn.Previous }) | Cn.WrapAround, { relativeTo: y.target }) : y.target instanceof HTMLElement && Yn(y.target))); } }; - 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 })); + return we.createElement(we.Fragment, null, !!(s & 4) && we.createElement(_a, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: f, features: Do.Focusable }), $t({ ourProps: M, theirProps: a, defaultTag: pj, name: "FocusTrap" }), !!(s & 4) && we.createElement(_a, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: f, features: Do.Focusable })); } -let NC = en(IC), ii = Object.assign(NC, { features: Sp }), En = []; -AC(() => { +let yj = Wt(Mj), Rr = Object.assign(yj, { features: Dh }), gn = []; +gj(() => { function e(t) { - 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)); + t.target instanceof HTMLElement && t.target !== document.body && gn[0] !== t.target && (gn.unshift(t.target), gn = gn.filter((n) => n != null && n.isConnected), gn.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 TC(e = !0) { - let t = ot(En.slice()); - return gc(([n], [r]) => { - r === !0 && n === !1 && Ji(() => { +function mj(e = !0) { + let t = Ze(gn.slice()); + return xu(([n], [r]) => { + r === !0 && n === !1 && rs(() => { t.current.splice(0); - }), r === !1 && n === !0 && (t.current = En.slice()); - }, [e, En, t]), _t(() => { + }), r === !1 && n === !0 && (t.current = gn.slice()); + }, [e, gn, t]), ct(() => { var n; return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null; }); } -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 = ot(!1); - dt(() => (r.current = !1, () => { - r.current = !0, Ji(() => { - r.current && tr(n()); - }); - }), []); +function vj({ ownerDocument: e }, t) { + let n = mj(t); + xu(() => { + t || (e == null ? void 0 : e.activeElement) === (e == null ? void 0 : e.body) && Yn(n()); + }, [t]), vh(() => { + t && Yn(n()); + }); } -function SC({ ownerDocument: e, container: t, initialFocus: n }, r) { - let i = ot(null), o = Np(); - return gc(() => { +function wj({ ownerDocument: e, container: t, initialFocus: n }, r) { + let o = Ze(null), i = yh(); + return xu(() => { if (!r) return; let s = t.current; - s && Ji(() => { - if (!o.current) + s && rs(() => { + if (!i.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; + o.current = a; return; } } else if (s.contains(a)) { - i.current = a; + o.current = a; return; } - 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; + n != null && n.current ? Yn(n.current) : Ji(s, Cn.First) === lh.Error && console.warn("There are no focusable elements inside the "), o.current = e == null ? void 0 : e.activeElement; }); - }, [r]), i; + }, [r]), o; } -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) +function Dj({ ownerDocument: e, container: t, containers: n, previousActiveElement: r }, o) { + let i = yh(); + mh(e == null ? void 0 : e.defaultView, "focus", (s) => { + if (!o || !i.current) return; - let a = jp(n); + let a = wh(n); t.current instanceof HTMLElement && a.add(t.current); - let u = r.current; - if (!u) + let c = r.current; + if (!c) return; - let c = s.target; - c && c instanceof HTMLElement ? bp(a, c) ? (r.current = c, tr(c)) : (s.preventDefault(), s.stopPropagation(), tr(u)) : tr(r.current); + let u = s.target; + u && u instanceof HTMLElement ? Ih(a, u) ? (r.current = u, Yn(u)) : (s.preventDefault(), s.stopPropagation(), Yn(c)) : Yn(r.current); }, !0); } -function bp(e, t) { +function Ih(e, t) { for (let n of e) if (n.contains(t)) return !0; return !1; } -let Cp = xn(!1); -function CC() { - return wt(Cp); +let Ah = sn(!1); +function Ij() { + return it(Ah); } -function Au(e) { - return Te.createElement(Cp.Provider, { value: e.force }, e.children); +function ka(e) { + return we.createElement(Ah.Provider, { value: e.force }, e.children); } -function xC(e) { - let t = CC(), n = wt(xp), r = Os(e), [i, o] = ar(() => { - if (!t && n !== null || ln.isServer) +function Aj(e) { + let t = Ij(), n = it(Eh), r = Ni(e), [o, i] = vr(() => { + if (!t && n !== null || en.isServer) return null; let s = r == null ? void 0 : r.getElementById("headlessui-portal-root"); if (s) @@ -25384,332 +22351,364 @@ function xC(e) { return a.setAttribute("id", "headlessui-portal-root"), r.body.appendChild(a); }); return dt(() => { - i !== null && (r != null && r.body.contains(i) || r == null || r.body.appendChild(i)); - }, [i, r]), dt(() => { - t || n !== null && o(n.current); - }, [n, o, t]), i; -} -let OC = Nn; -function LC(e, t) { - let n = e, r = ot(null), i = yn(fC((l) => { + o !== null && (r != null && r.body.contains(o) || r == null || r.body.appendChild(o)); + }, [o, r]), dt(() => { + t || n !== null && i(n.current); + }, [n, i, t]), o; +} +let Ej = Mn; +function Tj(e, t) { + let n = e, r = Ze(null), o = cn(ij((l) => { r.current = l; - }), t), o = Os(r), s = xC(r), [a] = ar(() => { + }), t), i = Ni(r), s = Aj(r), [a] = vr(() => { var l; - return ln.isServer ? null : (l = o == null ? void 0 : o.createElement("div")) != null ? l : null; - }), 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(() => { - 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 : rM(Xt({ ourProps: { ref: i }, theirProps: n, defaultTag: OC, name: "Portal" }), a) : null; -} -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 zC = en(LC), PC = en(kC), Eu = Object.assign(zC, { Group: PC }), Op = xn(null); -function Lp() { - let e = wt(Op); + return en.isServer ? null : (l = i == null ? void 0 : i.createElement("div")) != null ? l : null; + }), c = it(za), u = os(); + return on(() => { + !s || !a || s.contains(a) || (a.setAttribute("data-headlessui-portal", ""), s.appendChild(a)); + }, [s, a]), on(() => { + if (a && c) + return c.register(a); + }, [c, a]), vh(() => { + var l; + !s || !a || (a instanceof Node && s.contains(a) && s.removeChild(a), s.childNodes.length <= 0 && ((l = s.parentElement) == null || l.removeChild(s))); + }), u ? !s || !a ? null : Jh($t({ ourProps: { ref: o }, theirProps: n, defaultTag: Ej, name: "Portal" }), a) : null; +} +let Nj = Mn, Eh = sn(null); +function jj(e, t) { + let { target: n, ...r } = e, o = { ref: cn(t) }; + return we.createElement(Eh.Provider, { value: n }, $t({ ourProps: o, theirProps: r, defaultTag: Nj, name: "Popover.Group" })); +} +let za = sn(null); +function bj() { + let e = it(za), t = Ze([]), n = ct((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = ct((i) => { + let s = t.current.indexOf(i); + s !== -1 && t.current.splice(s, 1), e && e.unregister(i); + }), o = jt(() => ({ register: n, unregister: r, portals: t }), [n, r, t]); + return [t, jt(() => function({ children: i }) { + return we.createElement(za.Provider, { value: o }, i); + }, [o])]; +} +let Sj = Wt(Tj), xj = Wt(jj), Ua = Object.assign(Sj, { Group: xj }), Th = sn(null); +function Nh() { + let e = it(Th); 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, Lp), t; + throw Error.captureStackTrace && Error.captureStackTrace(t, Nh), t; } return e; } -function RC() { - let [e, t] = ar([]); - return [e.length > 0 ? e.join(" ") : void 0, dn(() => 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 = dn(() => ({ register: r, slot: n.slot, name: n.name, props: n.props }), [r, n.slot, n.name, n.props]); - return Te.createElement(Op.Provider, { value: i }, n.children); +function Cj() { + let [e, t] = vr([]); + return [e.length > 0 ? e.join(" ") : void 0, jt(() => function(n) { + let r = ct((i) => (t((s) => [...s, i]), () => t((s) => { + let a = s.slice(), c = a.indexOf(i); + return c !== -1 && a.splice(c, 1), a; + }))), o = jt(() => ({ register: r, slot: n.slot, name: n.name, props: n.props }), [r, n.slot, n.name, n.props]); + return we.createElement(Th.Provider, { value: o }, n.children); }, [t])]; } -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: UC, name: o.name || "Description" }); +let Oj = "p"; +function Lj(e, t) { + let n = Sr(), { id: r = `headlessui-description-${n}`, ...o } = e, i = Nh(), s = cn(t); + on(() => i.register(r), [r, i.register]); + let a = { ref: s, ...i.props, id: r }; + return $t({ ourProps: a, theirProps: o, slot: i.slot || {}, defaultTag: Oj, name: i.name || "Description" }); } -let YC = en(FC), QC = Object.assign(YC, {}), pc = xn(() => { +let _j = Wt(Lj), kj = Object.assign(_j, {}), Cu = sn(() => { }); -pc.displayName = "StackContext"; -var Iu = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Iu || {}); -function BC() { - return wt(pc); -} -function $C({ children: e, onUpdate: t, type: n, element: r, enabled: i }) { - let o = BC(), s = _t((...a) => { - t == null || t(...a), o(...a); +Cu.displayName = "StackContext"; +var Pa = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Pa || {}); +function zj() { + return it(Cu); +} +function Uj({ children: e, onUpdate: t, type: n, element: r, enabled: o }) { + let i = zj(), s = ct((...a) => { + t == null || t(...a), i(...a); }); - return kn(() => { - let a = i === void 0 || i === !0; + return on(() => { + let a = o === void 0 || o === !0; return a && s(0, n, r), () => { a && s(1, n, r); }; - }, [s, n, r, i]), Te.createElement(pc.Provider, { value: s }, e); + }, [s, n, r, o]), we.createElement(Cu.Provider, { value: s }, e); } -function WC(e, t) { +function Pj(e, t) { return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; } -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; +const Rj = typeof Object.is == "function" ? Object.is : Pj, { useState: Yj, useEffect: Fj, useLayoutEffect: Qj, useDebugValue: Bj } = te; +function $j(e, t, n) { + const r = t(), [{ inst: o }, i] = Yj({ inst: { value: r, getSnapshot: t } }); + return Qj(() => { + o.value = r, o.getSnapshot = t, zs(o) && i({ inst: o }); + }, [e, r, t]), Fj(() => (zs(o) && i({ inst: o }), e(() => { + zs(o) && i({ inst: o }); + })), [e]), Bj(r), r; } -function Ea(e) { +function zs(e) { const t = e.getSnapshot, n = e.value; try { const r = t(); - return !VC(n, r); + return !Rj(n, r); } catch { return !0; } } -function ZC(e, t, n) { +function Wj(e, t, n) { return t(); } -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); +const Vj = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Hj = !Vj, qj = Hj ? Wj : $j, Kj = "useSyncExternalStore" in te ? ((e) => e.useSyncExternalStore)(te) : qj; +function Gj(e) { + return Kj(e.subscribe, e.getSnapshot, e.getSnapshot); } -function ix(e, t) { +function Jj(e, t) { let n = e(), r = /* @__PURE__ */ 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); + }, subscribe(o) { + return r.add(o), () => r.delete(o); + }, dispatch(o, ...i) { + let s = t[o].call(n, ...i); s && (n = s, r.forEach((a) => a())); } }; } -function ox() { +function Xj() { 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`); + let r = t.documentElement, o = r.clientWidth - r.offsetWidth, i = e - o; + n.style(r, "paddingRight", `${i}px`); } }; } -function sx() { - if (!vC()) +function Zj() { + if (!dj()) 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)); + function o(i) { + return r.containers.flatMap((s) => s()).some((s) => s.contains(i)); } - 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); + n.microTask(() => { + if (window.getComputedStyle(t.documentElement).scrollBehavior !== "auto") { + let s = is(); + s.style(t.documentElement, "scroll-behavior", "auto"), n.add(() => n.microTask(() => s.dispose())); + } + n.style(t.body, "marginTop", `-${e}px`), window.scrollTo(0, 0); + let i = null; + n.addEventListener(t, "click", (s) => { + if (s.target instanceof HTMLElement) + try { + let a = s.target.closest("a"); + if (!a) + return; + let { hash: c } = new URL(a.href), u = t.querySelector(c); + u && !o(u) && (i = u); + } catch { + } + }, !0), n.addEventListener(t, "touchmove", (s) => { + s.target instanceof HTMLElement && !o(s.target) && s.preventDefault(); + }, { passive: !1 }), n.add(() => { + window.scrollTo(0, window.pageYOffset + e), i && i.isConnected && (i.scrollIntoView({ block: "nearest" }), i = null); + }); }); } }; } -function ax() { +function eb() { return { before({ doc: e, d: t }) { t.style(e.documentElement, "overflow", "hidden"); } }; } -function ux(e) { +function tb(e) { let t = {}; for (let n of e) Object.assign(t, n(t)); return t; } -let Jn = ix(() => /* @__PURE__ */ new Map(), { PUSH(e, t) { +let kn = Jj(() => /* @__PURE__ */ new Map(), { PUSH(e, t) { var n; - let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: hc(), meta: /* @__PURE__ */ new Set() }; + let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: is(), 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: 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)); + let r = { doc: e, d: t, meta: tb(n) }, o = [Zj(), Xj(), eb()]; + o.forEach(({ before: i }) => i == null ? void 0 : i(r)), o.forEach(({ after: i }) => i == null ? void 0 : i(r)); }, SCROLL_ALLOW({ d: e }) { e.dispose(); }, TEARDOWN({ doc: e }) { this.delete(e); } }); -Jn.subscribe(() => { - let e = Jn.getSnapshot(), t = /* @__PURE__ */ new Map(); +kn.subscribe(() => { + let e = kn.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) && Jn.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Jn.dispatch("TEARDOWN", n); + let r = t.get(n.doc) === "hidden", o = n.count !== 0; + (o && !r || !o && r) && kn.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && kn.dispatch("TEARDOWN", n); } }); -function cx(e, t, n) { - let r = rx(Jn), i = e ? r.get(e) : void 0, o = i ? i.count > 0 : !1; - return kn(() => { +function nb(e, t, n) { + let r = Gj(kn), o = e ? r.get(e) : void 0, i = o ? o.count > 0 : !1; + return on(() => { if (!(!e || !t)) - return Jn.dispatch("PUSH", e, n), () => Jn.dispatch("POP", e, n); - }, [t, e]), o; + return kn.dispatch("PUSH", e, n), () => kn.dispatch("POP", e, n); + }, [t, e]), i; } -let Ia = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(); -function Wd(e, t = !0) { - kn(() => { +let Us = /* @__PURE__ */ new Map(), Yr = /* @__PURE__ */ new Map(); +function Xl(e, t = !0) { + on(() => { var n; if (!t) return; let r = typeof e == "function" ? e() : e.current; if (!r) return; - function i() { + function o() { var s; if (!r) return; - let a = (s = oi.get(r)) != null ? s : 1; - if (a === 1 ? oi.delete(r) : oi.set(r, a - 1), a !== 1) + let a = (s = Yr.get(r)) != null ? s : 1; + if (a === 1 ? Yr.delete(r) : Yr.set(r, a - 1), a !== 1) return; - 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 c = Us.get(r); + c && (c["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", c["aria-hidden"]), r.inert = c.inert, Us.delete(r)); } - 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; + let i = (n = Yr.get(r)) != null ? n : 0; + return Yr.set(r, i + 1), i !== 0 || (Us.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0), o; }, [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) { +function rb({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) { + var r; + let o = Ze((r = n == null ? void 0 : n.current) != null ? r : null), i = Ni(o), s = ct(() => { + var a; + let c = []; + for (let u of e) + u !== null && (u instanceof HTMLElement ? c.push(u) : "current" in u && u.current instanceof HTMLElement && c.push(u.current)); + if (t != null && t.current) + for (let u of t.current) + c.push(u); + for (let u of (a = i == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? a : []) + u !== document.body && u !== document.head && u instanceof HTMLElement && u.id !== "headlessui-portal-root" && (u.contains(o.current) || c.some((l) => u.contains(l)) || c.push(u)); + return c; + }); + return { resolveContainers: s, contains: ct((a) => s().some((c) => c.contains(a))), mainTreeNodeRef: o, MainTreeNode: jt(() => function() { + return n != null ? null : we.createElement(_a, { features: Do.Hidden, ref: o }); + }, [o, n]) }; +} +var ib = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(ib || {}), ob = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(ob || {}); +let sb = { 0(e, t) { return e.titleId === t.id ? e : { ...e, titleId: t.id }; -} }, Ko = xn(null); -Ko.displayName = "DialogContext"; -function Zi(e) { - let t = wt(Ko); +} }, Io = sn(null); +Io.displayName = "DialogContext"; +function ji(e) { + let t = it(Io); if (t === null) { let n = new Error(`<${e} /> is missing a parent component.`); - throw Error.captureStackTrace && Error.captureStackTrace(n, Zi), n; + throw Error.captureStackTrace && Error.captureStackTrace(n, ji), n; } return t; } -function hx(e, t, n = () => [document.body]) { - cx(e, t, (r) => { - var i; - return { containers: [...(i = r.containers) != null ? i : [], n] }; +function ab(e, t, n = () => [document.body]) { + nb(e, t, (r) => { + var o; + return { containers: [...(o = r.containers) != null ? o : [], n] }; }); } -function gx(e, t) { - return Cn(t.type, dx, e, t); +function ub(e, t) { + return vn(t.type, sb, e, t); } -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) +let cb = "div", lb = La.RenderStrategy | La.Static; +function fb(e, t) { + var n; + let r = Sr(), { id: o = `headlessui-dialog-${r}`, open: i, onClose: s, initialFocus: a, __demoMode: c = !1, ...u } = e, [l, f] = vr(0), d = fj(); + i === void 0 && d !== null && (i = (d & Wr.Open) === Wr.Open); + let p = Ze(null), M = cn(p, t), y = Ni(p), m = e.hasOwnProperty("open") || d !== null, w = e.hasOwnProperty("onClose"); + if (!m && !w) 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) + if (!w) 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] = 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]); - 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]); - 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 || 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())); + if (typeof s != "function") + throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${s}`); + let D = i ? 0 : 1, [N, E] = qh(ub, { titleId: null, descriptionId: null, panelRef: Kh() }), T = ct(() => s(!1)), F = ct((ie) => E({ type: 0, id: ie })), _ = os() ? c ? !1 : D === 0 : !1, G = l > 1, Q = it(Io) !== null, [K, Z] = bj(), { resolveContainers: re, mainTreeNodeRef: U, MainTreeNode: j } = rb({ portals: K, defaultContainers: [(n = N.panelRef.current) != null ? n : p.current] }), C = G ? "parent" : "leaf", V = d !== null ? (d & Wr.Closing) === Wr.Closing : !1, S = (() => Q || V ? !1 : _)(), q = Yu(() => { + var ie, P; + return (P = Array.from((ie = y == null ? void 0 : y.querySelectorAll("body > *")) != null ? ie : []).find((L) => L.id === "headlessui-portal-root" ? !1 : L.contains(U.current) && L instanceof HTMLElement)) != null ? P : null; + }, [U]); + Xl(q, S); + let ae = (() => G ? !0 : _)(), O = Yu(() => { + var ie, P; + return (P = Array.from((ie = y == null ? void 0 : y.querySelectorAll("[data-headlessui-portal]")) != null ? ie : []).find((L) => L.contains(U.current) && L instanceof HTMLElement)) != null ? P : null; + }, [U]); + Xl(O, ae); + let z = (() => !(!_ || G))(); + rj(re, T, z); + let Y = (() => !(G || D !== 0))(); + mh(y == null ? void 0 : y.defaultView, "keydown", (ie) => { + Y && (ie.defaultPrevented || ie.key === Mh.Escape && (ie.preventDefault(), ie.stopPropagation(), T())); }); - let re = (() => !(k || w !== 0 || W))(); - hx(p, re, R), dt(() => { - if (w !== 0 || !d.current) + let W = (() => !(V || D !== 0 || Q))(); + ab(y, W, re), dt(() => { + if (D !== 0 || !p.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 && N(); + let ie = new ResizeObserver((P) => { + for (let L of P) { + let R = L.target.getBoundingClientRect(); + R.x === 0 && R.y === 0 && R.width === 0 && R.height === 0 && T(); } }); - return X.observe(d.current), () => X.disconnect(); - }, [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) => { + return ie.observe(p.current), () => ie.disconnect(); + }, [D, p, T]); + let [B, ee] = Cj(), b = jt(() => [{ dialogState: D, close: T, setTitleId: F }, N], [D, N, T, F]), ne = jt(() => ({ open: D === 0 }), [D]), $ = { ref: M, id: o, role: "dialog", "aria-modal": D === 0 ? !0 : void 0, "aria-labelledby": N.titleId, "aria-describedby": B }; + return we.createElement(Uj, { type: "Dialog", enabled: D === 0, element: p, onUpdate: ct((ie, P) => { + P === "Dialog" && vn(ie, { [Pa.Add]: () => f((L) => L + 1), [Pa.Remove]: () => f((L) => L - 1) }); + }) }, we.createElement(ka, { force: !0 }, we.createElement(Ua, null, we.createElement(Io.Provider, { value: b }, we.createElement(Ua.Group, { target: p }, we.createElement(ka, { force: !1 }, we.createElement(ee, { slot: ne, name: "Dialog.Description" }, we.createElement(Rr, { initialFocus: a, containers: re, features: _ ? vn(C, { parent: Rr.features.RestoreFocus, leaf: Rr.features.All & ~Rr.features.FocusLock }) : Rr.features.None }, we.createElement(Z, null, $t({ ourProps: $, theirProps: u, slot: ne, defaultTag: cb, features: lb, visible: D === 0, name: "Dialog" }))))))))), we.createElement(j, null)); +} +let db = "div"; +function hb(e, t) { + let n = Sr(), { id: r = `headlessui-dialog-overlay-${n}`, ...o } = e, [{ dialogState: i, close: s }] = ji("Dialog.Overlay"), a = cn(t), c = ct((l) => { if (l.target === l.currentTarget) { - if (gC(l.currentTarget)) + if (aj(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: mx, name: "Dialog.Overlay" }); + }), u = jt(() => ({ open: i === 0 }), [i]); + return $t({ ourProps: { ref: a, id: r, "aria-hidden": !0, onClick: c }, theirProps: o, slot: u, defaultTag: db, name: "Dialog.Overlay" }); } -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); +let gb = "div"; +function pb(e, t) { + let n = Sr(), { id: r = `headlessui-dialog-backdrop-${n}`, ...o } = e, [{ dialogState: i }, s] = ji("Dialog.Backdrop"), a = cn(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(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 c = jt(() => ({ open: i === 0 }), [i]); + return we.createElement(ka, { force: !0 }, we.createElement(Ua, null, $t({ ourProps: { ref: a, id: r, "aria-hidden": !0 }, theirProps: o, slot: c, defaultTag: gb, name: "Dialog.Backdrop" }))); } -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) => { +let Mb = "div"; +function yb(e, t) { + let n = Sr(), { id: r = `headlessui-dialog-panel-${n}`, ...o } = e, [{ dialogState: i }, s] = ji("Dialog.Panel"), a = cn(t, s.panelRef), c = jt(() => ({ open: i === 0 }), [i]), u = ct((l) => { l.stopPropagation(); }); - return Xt({ ourProps: { ref: a, id: r, onClick: c }, theirProps: i, slot: u, defaultTag: Ax, name: "Dialog.Panel" }); + return $t({ ourProps: { ref: a, id: r, onClick: u }, theirProps: o, slot: c, defaultTag: Mb, name: "Dialog.Panel" }); } -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); +let mb = "h2"; +function vb(e, t) { + let n = Sr(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: s }] = ji("Dialog.Title"), a = cn(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: Ix, name: "Dialog.Title" }); + let c = jt(() => ({ open: i === 0 }), [i]); + return $t({ ourProps: { ref: a, id: r }, theirProps: o, slot: c, defaultTag: mb, name: "Dialog.Title" }); } -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 = { +let wb = Wt(fb), Db = Wt(pb), Ib = Wt(yb), Ab = Wt(hb), Eb = Wt(vb), Fi = Object.assign(wb, { Backdrop: Db, Panel: Ib, Overlay: Ab, Title: Eb, Description: kj }); +const Tb = { width: "70%", fontSize: "1.6em", padding: "0.5em", @@ -25725,111 +22724,112 @@ const xx = { ":focus": { outline: "none" } -}, OO = ({ isModalOpen: e, closeModal: t, t: n }) => /* @__PURE__ */ ge.jsx(yo, { open: e, onClose: () => t, children: /* @__PURE__ */ ge.jsxs( - yo.Panel, +}, AS = ({ isModalOpen: e, closeModal: t, t: n }) => /* @__PURE__ */ fe.jsx(Fi, { open: e, onClose: () => t, children: /* @__PURE__ */ fe.jsxs( + Fi.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: [ - /* @__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, {}) }), + /* @__PURE__ */ fe.jsxs(Fi.Title, { style: { fontSize: "24px", position: "relative" }, className: "text-center", children: [ + /* @__PURE__ */ fe.jsx("button", { style: { position: "absolute", top: 0, right: 0, fontSize: 50 }, onClick: t, children: /* @__PURE__ */ fe.jsx(JM, {}) }), n("user.Sign in"), - /* @__PURE__ */ ge.jsx("hr", { style: { backgroundColor: "#585858", borderColor: "#585858" } }) + /* @__PURE__ */ fe.jsx("hr", { style: { backgroundColor: "#585858", borderColor: "#585858" } }) ] }), - /* @__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: xx, onClick: Z1, children: [ - /* @__PURE__ */ ge.jsx("span", { style: { float: "left", color: "#fff" }, children: /* @__PURE__ */ ge.jsx(ov, {}) }), + /* @__PURE__ */ fe.jsxs(Fi.Description, { children: [ + /* @__PURE__ */ fe.jsxs("div", { className: "px-4 py-4 lg:px-16 text-center", children: [ + /* @__PURE__ */ fe.jsx("p", { children: n("user.sign in description") }), + /* @__PURE__ */ fe.jsxs("button", { style: Tb, onClick: $N, children: [ + /* @__PURE__ */ fe.jsx("span", { style: { float: "left", color: "#fff" }, children: /* @__PURE__ */ fe.jsx(GM, {}) }), n("user.Sign in with WasedaMail") ] }) ] }), - /* @__PURE__ */ ge.jsx("hr", { style: { backgroundColor: "#585858", borderColor: "#585858" } }), - /* @__PURE__ */ ge.jsxs("p", { className: "text-center", children: [ + /* @__PURE__ */ fe.jsx("hr", { style: { backgroundColor: "#585858", borderColor: "#585858" } }), + /* @__PURE__ */ fe.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") }) }), + /* @__PURE__ */ fe.jsx("a", { href: "/privacy-policy", children: /* @__PURE__ */ fe.jsx("b", { children: n("user.Privacy Policy") }) }), n("user.agreement on privacy policy 2"), - /* @__PURE__ */ ge.jsx("a", { href: "/terms-of-service", children: /* @__PURE__ */ ge.jsx("b", { children: n("user.Terms of Service") }) }), + /* @__PURE__ */ fe.jsx("a", { href: "/terms-of-service", children: /* @__PURE__ */ fe.jsx("b", { children: n("user.Terms of Service") }) }), n("user.agreement on privacy policy 3") ] }) ] }) ] } ) }); -function Ox(e, t) { +function Nb(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) { +function Mi(e) { + "@babel/helpers - typeof"; + return Mi = 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); + }, Mi(e); } -function Lx(e, t) { - if (Ri(e) !== "object" || e === null) +function jb(e, t) { + if (Mi(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") + if (Mi(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 bb(e) { + var t = jb(e, "string"); + return Mi(t) === "symbol" ? t : String(t); } -function Vd(e, t) { +function Zl(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); + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, bb(r.key), r); } } -function kx(e, t, n) { - return t && Vd(e.prototype, t), n && Vd(e, n), Object.defineProperty(e, "prototype", { +function Sb(e, t, n) { + return t && Zl(e.prototype, t), n && Zl(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) { +var jh = [], xb = jh.forEach, Cb = jh.slice; +function Ob(e) { + return xb.call(Cb.call(arguments, 1), function(t) { if (t) for (var n in t) e[n] === void 0 && (e[n] = t[n]); }), e; } -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; - if (i.maxAge > 0) { - var a = i.maxAge - 0; +var ef = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Lb = function(t, n, r) { + var o = r || {}; + o.path = o.path || "/"; + var i = encodeURIComponent(n), s = t + "=" + i; + if (o.maxAge > 0) { + var a = o.maxAge - 0; if (isNaN(a)) throw new Error("maxAge should be a Number"); s += "; Max-Age=" + Math.floor(a); } - if (i.domain) { - if (!Hd.test(i.domain)) + if (o.domain) { + if (!ef.test(o.domain)) throw new TypeError("option domain is invalid"); - s += "; Domain=" + i.domain; + s += "; Domain=" + o.domain; } - if (i.path) { - if (!Hd.test(i.path)) + if (o.path) { + if (!ef.test(o.path)) throw new TypeError("option path is invalid"); - s += "; Path=" + i.path; + s += "; Path=" + o.path; } - if (i.expires) { - if (typeof i.expires.toUTCString != "function") + if (o.expires) { + if (typeof o.expires.toUTCString != "function") throw new TypeError("option expires is invalid"); - s += "; Expires=" + i.expires.toUTCString(); + s += "; Expires=" + o.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) { + if (o.httpOnly && (s += "; HttpOnly"), o.secure && (s += "; Secure"), o.sameSite) { + var c = typeof o.sameSite == "string" ? o.sameSite.toLowerCase() : o.sameSite; + switch (c) { case !0: s += "; SameSite=Strict"; break; @@ -25847,105 +22847,105 @@ var Hd = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ux = function(t, n, r) { } } return s; -}, qd = { - create: function(t, n, r, i) { - var o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { +}, tf = { + create: function(t, n, r, o) { + var i = 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 = Ux(t, encodeURIComponent(n), o); + r && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + r * 60 * 1e3)), o && (i.domain = o), document.cookie = Lb(t, encodeURIComponent(n), i); }, read: function(t) { - for (var n = t + "=", r = document.cookie.split(";"), i = 0; i < r.length; i++) { - for (var o = r[i]; o.charAt(0) === " "; ) - o = o.substring(1, o.length); - if (o.indexOf(n) === 0) - return o.substring(n.length, o.length); + for (var n = t + "=", r = document.cookie.split(";"), o = 0; o < r.length; o++) { + for (var i = r[o]; i.charAt(0) === " "; ) + i = i.substring(1, i.length); + if (i.indexOf(n) === 0) + return i.substring(n.length, i.length); } return null; }, remove: function(t) { this.create(t, "", -1); } -}, Fx = { +}, _b = { name: "cookie", lookup: function(t) { var n; if (t.lookupCookie && typeof document < "u") { - var r = qd.read(t.lookupCookie); + var r = tf.read(t.lookupCookie); r && (n = r); } return n; }, cacheUserLanguage: function(t, n) { - n.lookupCookie && typeof document < "u" && qd.create(n.lookupCookie, t, n.cookieMinutes, n.cookieDomain, n.cookieOptions); + n.lookupCookie && typeof document < "u" && tf.create(n.lookupCookie, t, n.cookieMinutes, n.cookieDomain, n.cookieOptions); } -}, Yx = { +}, kb = { name: "querystring", lookup: function(t) { var n; if (typeof window < "u") { var r = window.location.search; !window.location.search && window.location.hash && window.location.hash.indexOf("?") > -1 && (r = window.location.hash.substring(window.location.hash.indexOf("?"))); - for (var i = r.substring(1), o = i.split("&"), s = 0; s < o.length; s++) { - var a = o[s].indexOf("="); + for (var o = r.substring(1), i = o.split("&"), s = 0; s < i.length; s++) { + var a = i[s].indexOf("="); if (a > 0) { - var u = o[s].substring(0, a); - u === t.lookupQuerystring && (n = o[s].substring(a + 1)); + var c = i[s].substring(0, a); + c === t.lookupQuerystring && (n = i[s].substring(a + 1)); } } } return n; } -}, si = null, Kd = function() { - if (si !== null) - return si; +}, Fr = null, nf = function() { + if (Fr !== null) + return Fr; try { - si = window !== "undefined" && window.localStorage !== null; + Fr = window !== "undefined" && window.localStorage !== null; var t = "i18next.translate.boo"; window.localStorage.setItem(t, "foo"), window.localStorage.removeItem(t); } catch { - si = !1; + Fr = !1; } - return si; -}, Qx = { + return Fr; +}, zb = { name: "localStorage", lookup: function(t) { var n; - if (t.lookupLocalStorage && Kd()) { + if (t.lookupLocalStorage && nf()) { var r = window.localStorage.getItem(t.lookupLocalStorage); r && (n = r); } return n; }, cacheUserLanguage: function(t, n) { - n.lookupLocalStorage && Kd() && window.localStorage.setItem(n.lookupLocalStorage, t); + n.lookupLocalStorage && nf() && window.localStorage.setItem(n.lookupLocalStorage, t); } -}, ai = null, Gd = function() { - if (ai !== null) - return ai; +}, Qr = null, rf = function() { + if (Qr !== null) + return Qr; try { - ai = window !== "undefined" && window.sessionStorage !== null; + Qr = window !== "undefined" && window.sessionStorage !== null; var t = "i18next.translate.boo"; window.sessionStorage.setItem(t, "foo"), window.sessionStorage.removeItem(t); } catch { - ai = !1; + Qr = !1; } - return ai; -}, Bx = { + return Qr; +}, Ub = { name: "sessionStorage", lookup: function(t) { var n; - if (t.lookupSessionStorage && Gd()) { + if (t.lookupSessionStorage && rf()) { var r = window.sessionStorage.getItem(t.lookupSessionStorage); r && (n = r); } return n; }, cacheUserLanguage: function(t, n) { - n.lookupSessionStorage && Gd() && window.sessionStorage.setItem(n.lookupSessionStorage, t); + n.lookupSessionStorage && rf() && window.sessionStorage.setItem(n.lookupSessionStorage, t); } -}, $x = { +}, Pb = { name: "navigator", lookup: function(t) { var n = []; @@ -25957,13 +22957,13 @@ var Hd = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ux = function(t, n, r) { } return n.length > 0 ? n : void 0; } -}, Wx = { +}, Rb = { 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; } -}, Vx = { +}, Yb = { name: "path", lookup: function(t) { var n; @@ -25979,7 +22979,7 @@ var Hd = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ux = function(t, n, r) { } return n; } -}, Hx = { +}, Fb = { name: "subdomain", lookup: function(t) { var n; @@ -25990,7 +22990,7 @@ var Hd = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ux = function(t, n, r) { return n; } }; -function qx() { +function Qb() { return { order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"], lookupQuerystring: "lng", @@ -26004,16 +23004,16 @@ function qx() { //cookieDomain: 'myDomain' }; } -var kp = /* @__PURE__ */ function() { +var bh = /* @__PURE__ */ function() { function e(t) { var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - Ox(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n); + Nb(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n); } - return kx(e, [{ + return Sb(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 = 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); + var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; + this.services = n, this.options = Ob(r, this.options || {}, Qb()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = o, this.addDetector(_b), this.addDetector(kb), this.addDetector(zb), this.addDetector(Ub), this.addDetector(Pb), this.addDetector(Rb), this.addDetector(Yb), this.addDetector(Fb); } }, { key: "addDetector", @@ -26025,95 +23025,82 @@ var kp = /* @__PURE__ */ function() { 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)); + var o = []; + return n.forEach(function(i) { + if (r.detectors[i]) { + var s = r.detectors[i].lookup(r.options); + s && typeof s == "string" && (s = [s]), s && (o = o.concat(s)); } - }), this.services.languageUtils.getBestMatchFromCodes ? i : i.length > 0 ? i[0] : null; + }), this.services.languageUtils.getBestMatchFromCodes ? o : o.length > 0 ? o[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); + var o = this; + r || (r = this.options.caches), r && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(n) > -1 || r.forEach(function(i) { + o.detectors[i] && o.detectors[i].cacheUserLanguage(n, o.options); })); } }]), e; }(); -kp.type = "languageDetector"; -function Nu(e) { - return Nu = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { +bh.type = "languageDetector"; +function Ra(e) { + "@babel/helpers - typeof"; + return Ra = 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; - }, Nu(e); + }, Ra(e); } -var zp = [], Kx = zp.forEach, Gx = zp.slice; -function Tu(e) { - return Kx.call(Gx.call(arguments, 1), function(t) { +var Sh = [], Bb = Sh.forEach, $b = Sh.slice; +function Ya(e) { + return Bb.call($b.call(arguments, 1), function(t) { if (t) for (var n in t) e[n] === void 0 && (e[n] = t[n]); }), e; } -function Pp() { - return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Nu(XMLHttpRequest)) === "object"; +function xh() { + return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Ra(XMLHttpRequest)) === "object"; } -function Jx(e) { +function Wb(e) { return !!e && typeof e.then == "function"; } -function Zx(e) { - return Jx(e) ? e : Promise.resolve(e); +function Vb(e) { + return Wb(e) ? e : Promise.resolve(e); } -function Xx(e) { +function Hb(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 = {}, eO = { - get exports() { - return Ui; - }, - set exports(e) { - Ui = e; - } -}, Di = {}, tO = { - get exports() { - return Di; - }, - set exports(e) { - Di = e; - } -}, Jd; -function nO() { - return Jd || (Jd = 1, function(e, t) { - var n = typeof self < "u" ? self : zt, r = function() { - function o() { +var Fa = { exports: {} }, Qi = { exports: {} }, of; +function qb() { + return of || (of = 1, function(e, t) { + var n = typeof self < "u" ? self : Ft, r = function() { + function i() { this.fetch = !1, this.DOMException = n.DOMException; } - return o.prototype = n, new o(); + return i.prototype = n, new i(); }(); - (function(o) { + (function(i) { (function(s) { var a = { - searchParams: "URLSearchParams" in o, - iterable: "Symbol" in o && "iterator" in Symbol, - blob: "FileReader" in o && "Blob" in o && function() { + searchParams: "URLSearchParams" in i, + iterable: "Symbol" in i && "iterator" in Symbol, + blob: "FileReader" in i && "Blob" in i && function() { try { return new Blob(), !0; } catch { return !1; } }(), - formData: "FormData" in o, - arrayBuffer: "ArrayBuffer" in o + formData: "FormData" in i, + arrayBuffer: "ArrayBuffer" in i }; - function u(T) { - return T && DataView.prototype.isPrototypeOf(T); + function c(j) { + return j && DataView.prototype.isPrototypeOf(j); } if (a.arrayBuffer) - var c = [ + var u = [ "[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", @@ -26123,108 +23110,108 @@ function nO() { "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]" - ], l = ArrayBuffer.isView || function(T) { - return T && c.indexOf(Object.prototype.toString.call(T)) > -1; + ], l = ArrayBuffer.isView || function(j) { + return j && u.indexOf(Object.prototype.toString.call(j)) > -1; }; - function f(T) { - if (typeof T != "string" && (T = String(T)), /[^a-z0-9\-#$%&'*+.^_`|~]/i.test(T)) + function f(j) { + if (typeof j != "string" && (j = String(j)), /[^a-z0-9\-#$%&'*+.^_`|~]/i.test(j)) throw new TypeError("Invalid character in header field name"); - return T.toLowerCase(); + return j.toLowerCase(); } - function d(T) { - return typeof T != "string" && (T = String(T)), T; + function d(j) { + return typeof j != "string" && (j = String(j)), j; } - function g(T) { - var S = { + function p(j) { + var C = { next: function() { - var R = T.shift(); - return { done: R === void 0, value: R }; + var V = j.shift(); + return { done: V === void 0, value: V }; } }; - return a.iterable && (S[Symbol.iterator] = function() { - return S; - }), S; + return a.iterable && (C[Symbol.iterator] = function() { + return C; + }), C; } - function h(T) { - this.map = {}, T instanceof h ? T.forEach(function(S, R) { - this.append(R, 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]); + function M(j) { + this.map = {}, j instanceof M ? j.forEach(function(C, V) { + this.append(V, C); + }, this) : Array.isArray(j) ? j.forEach(function(C) { + this.append(C[0], C[1]); + }, this) : j && Object.getOwnPropertyNames(j).forEach(function(C) { + this.append(C, j[C]); }, this); } - h.prototype.append = function(T, S) { - T = f(T), S = d(S); - var R = this.map[T]; - this.map[T] = R ? R + ", " + 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 R in this.map) - this.map.hasOwnProperty(R) && T.call(S, this.map[R], R, this); - }, h.prototype.keys = function() { - var T = []; - return this.forEach(function(S, R) { - T.push(R); - }), 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, R) { - T.push([R, S]); - }), g(T); - }, a.iterable && (h.prototype[Symbol.iterator] = h.prototype.entries); - function p(T) { - if (T.bodyUsed) + M.prototype.append = function(j, C) { + j = f(j), C = d(C); + var V = this.map[j]; + this.map[j] = V ? V + ", " + C : C; + }, M.prototype.delete = function(j) { + delete this.map[f(j)]; + }, M.prototype.get = function(j) { + return j = f(j), this.has(j) ? this.map[j] : null; + }, M.prototype.has = function(j) { + return this.map.hasOwnProperty(f(j)); + }, M.prototype.set = function(j, C) { + this.map[f(j)] = d(C); + }, M.prototype.forEach = function(j, C) { + for (var V in this.map) + this.map.hasOwnProperty(V) && j.call(C, this.map[V], V, this); + }, M.prototype.keys = function() { + var j = []; + return this.forEach(function(C, V) { + j.push(V); + }), p(j); + }, M.prototype.values = function() { + var j = []; + return this.forEach(function(C) { + j.push(C); + }), p(j); + }, M.prototype.entries = function() { + var j = []; + return this.forEach(function(C, V) { + j.push([V, C]); + }), p(j); + }, a.iterable && (M.prototype[Symbol.iterator] = M.prototype.entries); + function y(j) { + if (j.bodyUsed) return Promise.reject(new TypeError("Already read")); - T.bodyUsed = !0; + j.bodyUsed = !0; } - function m(T) { - return new Promise(function(S, R) { - T.onload = function() { - S(T.result); - }, T.onerror = function() { - R(T.error); + function m(j) { + return new Promise(function(C, V) { + j.onload = function() { + C(j.result); + }, j.onerror = function() { + V(j.error); }; }); } - function v(T) { - var S = new FileReader(), R = m(S); - return S.readAsArrayBuffer(T), R; + function w(j) { + var C = new FileReader(), V = m(C); + return C.readAsArrayBuffer(j), V; } - function w(T) { - var S = new FileReader(), R = m(S); - return S.readAsText(T), R; + function D(j) { + var C = new FileReader(), V = m(C); + return C.readAsText(j), V; } - function j(T) { - for (var S = new Uint8Array(T), R = new Array(S.length), C = 0; C < S.length; C++) - R[C] = String.fromCharCode(S[C]); - return R.join(""); + function N(j) { + for (var C = new Uint8Array(j), V = new Array(C.length), S = 0; S < C.length; S++) + V[S] = String.fromCharCode(C[S]); + return V.join(""); } - 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 E(j) { + if (j.slice) + return j.slice(0); + var C = new Uint8Array(j.byteLength); + return C.set(new Uint8Array(j)), C.buffer; } - 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 = 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")); + function T() { + return this.bodyUsed = !1, this._initBody = function(j) { + this._bodyInit = j, j ? typeof j == "string" ? this._bodyText = j : a.blob && Blob.prototype.isPrototypeOf(j) ? this._bodyBlob = j : a.formData && FormData.prototype.isPrototypeOf(j) ? this._bodyFormData = j : a.searchParams && URLSearchParams.prototype.isPrototypeOf(j) ? this._bodyText = j.toString() : a.arrayBuffer && a.blob && c(j) ? (this._bodyArrayBuffer = E(j.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : a.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(j) || l(j)) ? this._bodyArrayBuffer = E(j) : this._bodyText = j = Object.prototype.toString.call(j) : this._bodyText = "", this.headers.get("content-type") || (typeof j == "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(j) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")); }, a.blob && (this.blob = function() { - var T = p(this); - if (T) - return T; + var j = y(this); + if (j) + return j; if (this._bodyBlob) return Promise.resolve(this._bodyBlob); if (this._bodyArrayBuffer) @@ -26233,283 +23220,286 @@ function nO() { throw new Error("could not read FormData body as blob"); return Promise.resolve(new Blob([this._bodyText])); }, this.arrayBuffer = function() { - return this._bodyArrayBuffer ? p(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(v); + return this._bodyArrayBuffer ? y(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(w); }), this.text = function() { - var T = p(this); - if (T) - return T; + var j = y(this); + if (j) + return j; if (this._bodyBlob) - return w(this._bodyBlob); + return D(this._bodyBlob); if (this._bodyArrayBuffer) - return Promise.resolve(j(this._bodyArrayBuffer)); + return Promise.resolve(N(this._bodyArrayBuffer)); if (this._bodyFormData) throw new Error("could not read FormData body as text"); return Promise.resolve(this._bodyText); }, a.formData && (this.formData = function() { - return this.text().then(W); + return this.text().then(Q); }), this.json = function() { return this.text().then(JSON.parse); }, this; } - var Q = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; - function z(T) { - var S = T.toUpperCase(); - return Q.indexOf(S) > -1 ? S : T; + var F = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; + function _(j) { + var C = j.toUpperCase(); + return F.indexOf(C) > -1 ? C : j; } - function H(T, S) { - S = S || {}; - var R = S.body; - if (T instanceof H) { - if (T.bodyUsed) + function G(j, C) { + C = C || {}; + var V = C.body; + if (j instanceof G) { + if (j.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); + this.url = j.url, this.credentials = j.credentials, C.headers || (this.headers = new M(j.headers)), this.method = j.method, this.mode = j.mode, this.signal = j.signal, !V && j._bodyInit != null && (V = j._bodyInit, j.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") && R) + this.url = String(j); + if (this.credentials = C.credentials || this.credentials || "same-origin", (C.headers || !this.headers) && (this.headers = new M(C.headers)), this.method = _(C.method || this.method || "GET"), this.mode = C.mode || this.mode || null, this.signal = C.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && V) throw new TypeError("Body not allowed for GET or HEAD requests"); - this._initBody(R); + this._initBody(V); } - H.prototype.clone = function() { - return new H(this, { body: this._bodyInit }); + G.prototype.clone = function() { + return new G(this, { body: this._bodyInit }); }; - 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, " "), re = C.join("=").replace(/\+/g, " "); - S.append(decodeURIComponent(J), decodeURIComponent(re)); + function Q(j) { + var C = new FormData(); + return j.trim().split("&").forEach(function(V) { + if (V) { + var S = V.split("="), q = S.shift().replace(/\+/g, " "), ae = S.join("=").replace(/\+/g, " "); + C.append(decodeURIComponent(q), decodeURIComponent(ae)); } - }), S; + }), C; } - 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(":"), re = J.shift().trim(); - if (re) { - var L = J.join(":").trim(); - S.append(re, L); + function K(j) { + var C = new M(), V = j.replace(/\r?\n[\t ]+/g, " "); + return V.split(/\r?\n/).forEach(function(S) { + var q = S.split(":"), ae = q.shift().trim(); + if (ae) { + var O = q.join(":").trim(); + C.append(ae, O); } - }), S; + }), C; } - 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); + T.call(G.prototype); + function Z(j, C) { + C || (C = {}), this.type = "default", this.status = C.status === void 0 ? 200 : C.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in C ? C.statusText : "OK", this.headers = new M(C.headers), this.url = C.url || "", this._initBody(j); } - N.call(k.prototype), k.prototype.clone = function() { - return new k(this._bodyInit, { + T.call(Z.prototype), Z.prototype.clone = function() { + return new Z(this._bodyInit, { status: this.status, statusText: this.statusText, - headers: new h(this.headers), + headers: new M(this.headers), url: this.url }); - }, k.error = function() { - var T = new k(null, { status: 0, statusText: "" }); - return T.type = "error", T; + }, Z.error = function() { + var j = new Z(null, { status: 0, statusText: "" }); + return j.type = "error", j; }; - var U = [301, 302, 303, 307, 308]; - k.redirect = function(T, S) { - if (U.indexOf(S) === -1) + var re = [301, 302, 303, 307, 308]; + Z.redirect = function(j, C) { + if (re.indexOf(C) === -1) throw new RangeError("Invalid status code"); - return new k(null, { status: S, headers: { location: T } }); - }, s.DOMException = o.DOMException; + return new Z(null, { status: C, headers: { location: j } }); + }, s.DOMException = i.DOMException; try { new s.DOMException(); } catch { - s.DOMException = function(S, R) { - this.message = S, this.name = R; - var C = Error(S); - this.stack = C.stack; + s.DOMException = function(C, V) { + this.message = C, this.name = V; + var S = Error(C); + this.stack = S.stack; }, s.DOMException.prototype = Object.create(Error.prototype), s.DOMException.prototype.constructor = s.DOMException; } - function x(T, S) { - return new Promise(function(R, C) { - var J = new H(T, S); - if (J.signal && J.signal.aborted) - return C(new s.DOMException("Aborted", "AbortError")); - var re = new XMLHttpRequest(); - function L() { - re.abort(); + function U(j, C) { + return new Promise(function(V, S) { + var q = new G(j, C); + if (q.signal && q.signal.aborted) + return S(new s.DOMException("Aborted", "AbortError")); + var ae = new XMLHttpRequest(); + function O() { + ae.abort(); } - re.onload = function() { - var F = { - status: re.status, - statusText: re.statusText, - headers: b(re.getAllResponseHeaders() || "") + ae.onload = function() { + var z = { + status: ae.status, + statusText: ae.statusText, + headers: K(ae.getAllResponseHeaders() || "") }; - 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)); - }, re.onerror = function() { - C(new TypeError("Network request failed")); - }, re.ontimeout = function() { - C(new TypeError("Network request failed")); - }, re.onabort = function() { - C(new s.DOMException("Aborted", "AbortError")); - }, 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); + z.url = "responseURL" in ae ? ae.responseURL : z.headers.get("X-Request-URL"); + var Y = "response" in ae ? ae.response : ae.responseText; + V(new Z(Y, z)); + }, ae.onerror = function() { + S(new TypeError("Network request failed")); + }, ae.ontimeout = function() { + S(new TypeError("Network request failed")); + }, ae.onabort = function() { + S(new s.DOMException("Aborted", "AbortError")); + }, ae.open(q.method, q.url, !0), q.credentials === "include" ? ae.withCredentials = !0 : q.credentials === "omit" && (ae.withCredentials = !1), "responseType" in ae && a.blob && (ae.responseType = "blob"), q.headers.forEach(function(z, Y) { + ae.setRequestHeader(Y, z); + }), q.signal && (q.signal.addEventListener("abort", O), ae.onreadystatechange = function() { + ae.readyState === 4 && q.signal.removeEventListener("abort", O); + }), ae.send(typeof q._bodyInit > "u" ? null : q._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; + return U.polyfill = !0, i.fetch || (i.fetch = U, i.Headers = M, i.Request = G, i.Response = Z), s.Headers = M, s.Request = G, s.Response = Z, s.fetch = U, 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; - }(tO, Di)), Di; + var o = r; + t = o.fetch, t.default = o.fetch, t.fetch = o.fetch, t.Headers = o.Headers, t.Request = o.Request, t.Response = o.Response, e.exports = t; + }(Qi, Qi.exports)), Qi.exports; } (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 Xx < "u" && (typeof window > "u" || typeof window.document > "u")) { - var r = n || nO(); + if (typeof fetch == "function" && (typeof Ft < "u" && Ft.fetch ? n = Ft.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof Hb < "u" && (typeof window > "u" || typeof window.document > "u")) { + var r = n || qb(); r.default && (r = r.default), t.default = r, e.exports = t.default; } -})(eO, Ui); -const Rp = Ui, Zd = /* @__PURE__ */ iM({ +})(Fa, Fa.exports); +var Ch = Fa.exports; +const Oh = /* @__PURE__ */ vi(Ch), sf = /* @__PURE__ */ Xh({ __proto__: null, - default: Rp -}, [Ui]); -function Go(e) { - return Go = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { + default: Oh +}, [Ch]); +function Ao(e) { + "@babel/helpers - typeof"; + return Ao = 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; - }, 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; -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 ju = function(t, n) { - if (n && Go(n) === "object") { + }, Ao(e); +} +var tn; +typeof fetch == "function" && (typeof global < "u" && global.fetch ? tn = global.fetch : typeof window < "u" && window.fetch ? tn = window.fetch : tn = fetch); +var yi; +xh() && (typeof global < "u" && global.XMLHttpRequest ? yi = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (yi = window.XMLHttpRequest)); +var Eo; +typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? Eo = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (Eo = window.ActiveXObject)); +!tn && sf && !yi && !Eo && (tn = Oh || sf); +typeof tn != "function" && (tn = void 0); +var Qa = function(t, n) { + if (n && Ao(n) === "object") { var r = ""; - for (var i in n) - r += "&" + encodeURIComponent(i) + "=" + encodeURIComponent(n[i]); + for (var o in n) + r += "&" + encodeURIComponent(o) + "=" + encodeURIComponent(n[o]); if (!r) return t; t = t + (t.indexOf("?") !== -1 ? "&" : "?") + r.slice(1); } return t; -}, Xd = function(t, n, r) { - fn(t, n).then(function(i) { - if (!i.ok) - return r(i.statusText || "Error", { - status: i.status +}, af = function(t, n, r) { + var o = function(s) { + if (!s.ok) + return r(s.statusText || "Error", { + status: s.status }); - i.text().then(function(o) { + s.text().then(function(a) { r(null, { - status: i.status, - data: o + status: s.status, + data: a }); }).catch(r); - }).catch(r); -}, 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 = Tu({ + }; + typeof fetch == "function" ? fetch(t, n).then(o).catch(r) : tn(t, n).then(o).catch(r); +}, uf = !1, Kb = function(t, n, r, o) { + t.queryStringParams && (n = Qa(n, t.queryStringParams)); + var i = Ya({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders); + r && (i["Content-Type"] = "application/json"); + var s = typeof t.requestOptions == "function" ? t.requestOptions(r) : t.requestOptions, a = Ya({ method: r ? "POST" : "GET", body: r ? t.stringify(r) : void 0, - headers: o - }, eh ? {} : s); + headers: i + }, uf ? {} : s); try { - Xd(n, a, i); - } catch (u) { - if (!s || Object.keys(s).length === 0 || !u.message || u.message.indexOf("not implemented") < 0) - return i(u); + af(n, a, o); + } catch (c) { + if (!s || Object.keys(s).length === 0 || !c.message || c.message.indexOf("not implemented") < 0) + return o(c); try { - Object.keys(s).forEach(function(c) { - delete a[c]; - }), Xd(n, a, i), eh = !0; - } catch (c) { - i(c); + Object.keys(s).forEach(function(u) { + delete a[u]; + }), af(n, a, o), uf = !0; + } catch (u) { + o(u); } } -}, iO = function(t, n, r, i) { - r && Go(r) === "object" && (r = ju("", r).slice(1)), t.queryStringParams && (n = ju(n, t.queryStringParams)); +}, Gb = function(t, n, r, o) { + r && Ao(r) === "object" && (r = Qa("", r).slice(1)), t.queryStringParams && (n = Qa(n, t.queryStringParams)); try { - var o; - 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 i; + yi ? i = new yi() : i = new Eo("MSXML2.XMLHTTP.3.0"), i.open(r ? "POST" : "GET", n, 1), t.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!t.withCredentials, r && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.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 + i.setRequestHeader(a, s[a]); + i.onreadystatechange = function() { + i.readyState > 3 && o(i.status >= 400 ? i.statusText : null, { + status: i.status, + data: i.responseText }); - }, o.send(r); - } catch (u) { - console && console.log(u); - } -}, oO = function(t, n, r, i) { - if (typeof r == "function" && (i = r, r = void 0), i = i || function() { - }, fn && n.indexOf("file:") !== 0) - 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!")); + }, i.send(r); + } catch (c) { + console && console.log(c); + } +}, Jb = function(t, n, r, o) { + if (typeof r == "function" && (o = r, r = void 0), o = o || function() { + }, tn && n.indexOf("file:") !== 0) + return Kb(t, n, r, o); + if (xh() || typeof ActiveXObject == "function") + return Gb(t, n, r, o); + o(new Error("No fetch and no xhr implementation found!")); }; -function Yi(e) { - return Yi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { +function mi(e) { + "@babel/helpers - typeof"; + return mi = 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; - }, Yi(e); + }, mi(e); } -function sO(e, t) { +function Xb(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } -function th(e, t) { +function cf(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, Up(r.key), r); + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Lh(r.key), r); } } -function aO(e, t, n) { - return t && th(e.prototype, t), n && th(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; +function Zb(e, t, n) { + return t && cf(e.prototype, t), n && cf(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), 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 eS(e, t, n) { + return t = Lh(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } -function Up(e) { - var t = cO(e, "string"); - return Yi(t) === "symbol" ? t : String(t); +function Lh(e) { + var t = tS(e, "string"); + return mi(t) === "symbol" ? t : String(t); } -function cO(e, t) { - if (Yi(e) !== "object" || e === null) +function tS(e, t) { + if (mi(e) !== "object" || e === null) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var r = n.call(e, t || "default"); - if (Yi(r) !== "object") + if (mi(r) !== "object") return r; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } -var lO = function() { +var nS = function() { return { loadPath: "/locales/{{lng}}/{{ns}}.json", addPath: "/locales/add/{{lng}}/{{ns}}", - allowMultiLoading: !1, parse: function(n) { return JSON.parse(n); }, stringify: JSON.stringify, - parsePayload: function(n, r, i) { - return uO({}, r, i || ""); + parsePayload: function(n, r, o) { + return eS({}, r, o || ""); }, parseLoadPayload: function(n, r) { }, - request: oO, + request: Jb, reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3, customHeaders: {}, queryStringParams: {}, @@ -26522,48 +23512,48 @@ var lO = function() { cache: "default" } }; -}, Fp = function() { +}, _h = 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] : {}; - sO(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r); + Xb(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r); } - return aO(e, [{ + return Zb(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 = Tu(i, this.options || {}, lO()), this.allOptions = o, this.services && this.options.reloadInterval && setInterval(function() { + var r = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; + this.services = n, this.options = Ya(o, this.options || {}, nS()), this.allOptions = i, 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); + value: function(n, r, o) { + this._readAny(n, n, r, r, o); } }, { key: "read", - value: function(n, r, i) { - this._readAny([n], n, [r], r, i); + value: function(n, r, o) { + this._readAny([n], n, [r], r, o); } }, { 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 = Zx(u), u.then(function(c) { - if (!c) + value: function(n, r, o, i, s) { + var a = this, c = this.options.loadPath; + typeof this.options.loadPath == "function" && (c = this.options.loadPath(n, o)), c = Vb(c), c.then(function(u) { + if (!u) return s(null, {}); - var l = a.services.interpolator.interpolate(c, { + var l = a.services.interpolator.interpolate(u, { lng: n.join("+"), - ns: i.join("+") + ns: o.join("+") }); - a.loadUrl(l, s, r, o); + a.loadUrl(l, s, r, i); }); } }, { 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) { + value: function(n, r, o, i) { + var s = this, a = typeof o == "string" ? [o] : o, c = typeof i == "string" ? [i] : i, u = this.options.parseLoadPayload(a, c); + this.options.request(this.options, n, u, 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) @@ -26572,33 +23562,33 @@ var lO = function() { return r("failed loading " + n + ": " + l.message, !0); if (l) return r(l, !1); - var d, g; + var d, p; try { - typeof f.data == "string" ? d = s.options.parse(f.data, i, o) : d = f.data; + typeof f.data == "string" ? d = s.options.parse(f.data, o, i) : d = f.data; } catch { - g = "failed parsing " + n + " to json"; + p = "failed parsing " + n + " to json"; } - if (g) - return r(g, !1); + if (p) + return r(p, !1); r(null, d); }); } }, { key: "create", - value: function(n, r, i, o, s) { + value: function(n, r, o, i, 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 = []; + var c = this.options.parsePayload(r, o, i), u = 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, { + var p = a.options.addPath; + typeof a.options.addPath == "function" && (p = a.options.addPath(d, r)); + var M = a.services.interpolator.interpolate(p, { 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); + a.options.request(a.options, M, c, function(y, m) { + u += 1, l.push(y), f.push(m), u === n.length && typeof s == "function" && s(l, f); }); }); } @@ -26606,20 +23596,20 @@ var lO = function() { }, { key: "reload", value: function() { - var n = this, r = this.services, i = r.backendConnector, o = r.languageUtils, s = r.logger, a = i.language; + var n = this, r = this.services, o = r.backendConnector, i = r.languageUtils, s = r.logger, a = o.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); + var c = [], u = function(f) { + var d = i.toResolveHierarchy(f); + d.forEach(function(p) { + c.indexOf(p) < 0 && c.push(p); }); }; - c(a), this.allOptions.preload && this.allOptions.preload.forEach(function(l) { - return c(l); - }), u.forEach(function(l) { + u(a), this.allOptions.preload && this.allOptions.preload.forEach(function(l) { + return u(l); + }), c.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); + o.read(l, f, "read", null, null, function(d, p) { + d && s.warn("loading namespace ".concat(f, " for language ").concat(l, " failed"), d), !d && p && s.log("loaded namespace ".concat(f, " for language ").concat(l), p), o.loaded("".concat(l, "|").concat(f), d, p); }); }); }); @@ -26627,44 +23617,44 @@ var lO = function() { } }]), e; }(); -Fp.type = "backend"; -const LO = (e) => e === Nh.EN ? Qm : iv, _O = () => kp, kO = () => Fp; +_h.type = "backend"; +const ES = (e) => e === _f.EN ? LM : KM, TS = () => bh, NS = () => _h; export { - 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 + $e as Colors, + JM as CrossIcon, + GM as GoogleIcon, + pS as Header, + _f as Lang, + kD as LanguageMenu, + MS as LoadingSpinner, + zD as Logo, + hS as LogoJp, + aS as Modal, + Zg as Overlay, + oS as RowWrapper, + AS as SignInModal, + UD as SmallLogo, + gS as SmallLogoJp, + PD as ThemeToggle, + If as Wrapper, + sS as WrapperWithBackground, + BN as configAuth, + LM as en, + cS as fontSize, + mS as getAccessToken, + ES as getCoreTranslation, + NS as getI18nHttpBackend, + TS as getI18nLanguageDetector, + yS as getIdToken, + vS as getRefreshToken, + wS as getUserAttr, + uS as height, + lS as isScreenType, + fS as isThemeType, + KM as ja, + dS as media, + $N as signIn, + DS as signOut, + ha as sizes, + pM as useScrollBlock }; diff --git a/packages/ui/lib/wasedatime-ui.umd.js b/packages/ui/lib/wasedatime-ui.umd.js index 1f86bf3cf..e4f7a5eec 100644 --- a/packages/ui/lib/wasedatime-ui.umd.js +++ b/packages/ui/lib/wasedatime-ui.umd.js @@ -1,4 +1,4 @@ -(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={};/** +(function(we,F){typeof exports=="object"&&typeof module<"u"?F(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],F):(we=typeof globalThis<"u"?globalThis:we||self,F(we["wasedatime-ui"]={},we.React,we.ReactDOM))})(this,function(we,F,yn){"use strict";function Eu(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 zh(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const ne=Eu(F),Uh=Eu(yn);var _t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Er(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vi(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Xo={exports:{}},_e={};/** * @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 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={};/** + */var Tu;function Ph(){if(Tu)return _e;Tu=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),M;M=Symbol.for("react.module.reference");function y(m){if(typeof m=="object"&&m!==null){var w=m.$$typeof;switch(w){case e:switch(m=m.type,m){case n:case o:case r:case u:case l:return m;default:switch(m=m&&m.$$typeof,m){case a:case s:case c:case d:case f:case i:return m;default:return w}}case t:return w}}}return _e.ContextConsumer=s,_e.ContextProvider=i,_e.Element=e,_e.ForwardRef=c,_e.Fragment=n,_e.Lazy=d,_e.Memo=f,_e.Portal=t,_e.Profiler=o,_e.StrictMode=r,_e.Suspense=u,_e.SuspenseList=l,_e.isAsyncMode=function(){return!1},_e.isConcurrentMode=function(){return!1},_e.isContextConsumer=function(m){return y(m)===s},_e.isContextProvider=function(m){return y(m)===i},_e.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},_e.isForwardRef=function(m){return y(m)===c},_e.isFragment=function(m){return y(m)===n},_e.isLazy=function(m){return y(m)===d},_e.isMemo=function(m){return y(m)===f},_e.isPortal=function(m){return y(m)===t},_e.isProfiler=function(m){return y(m)===o},_e.isStrictMode=function(m){return y(m)===r},_e.isSuspense=function(m){return y(m)===u},_e.isSuspenseList=function(m){return y(m)===l},_e.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===o||m===r||m===u||m===l||m===p||typeof m=="object"&&m!==null&&(m.$$typeof===d||m.$$typeof===f||m.$$typeof===i||m.$$typeof===s||m.$$typeof===c||m.$$typeof===M||m.getModuleId!==void 0)},_e.typeOf=y,_e}var ke={};/** * @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 fc;function $p(){return fc||(fc=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 I(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 T(ne){if(typeof ne=="object"&&ne!==null){var fe=ne.$$typeof;switch(fe){case e:var Me=ne.type;switch(Me){case n:case i:case r:case c:case l:return Me;default:var he=Me&&Me.$$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,H=e,W=u,b=n,k=d,R=f,x=t,N=i,S=r,U=c,C=l,Z=!1,ie=!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 ie||(ie=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function P(ne){return T(ne)===s}function q(ne){return T(ne)===o}function K(ne){return typeof ne=="object"&&ne!==null&&ne.$$typeof===e}function ee(ne){return T(ne)===u}function O(ne){return T(ne)===n}function re(ne){return T(ne)===d}function J(ne){return T(ne)===f}function pe(ne){return T(ne)===t}function V(ne){return T(ne)===i}function Q(ne){return T(ne)===r}function $(ne){return T(ne)===c}function de(ne){return T(ne)===l}Re.ContextConsumer=B,Re.ContextProvider=z,Re.Element=H,Re.ForwardRef=W,Re.Fragment=b,Re.Lazy=k,Re.Memo=R,Re.Portal=x,Re.Profiler=N,Re.StrictMode=S,Re.Suspense=U,Re.SuspenseList=C,Re.isAsyncMode=L,Re.isConcurrentMode=F,Re.isContextConsumer=P,Re.isContextProvider=q,Re.isElement=K,Re.isForwardRef=ee,Re.isFragment=O,Re.isLazy=re,Re.isMemo=J,Re.isPortal=pe,Re.isProfiler=V,Re.isStrictMode=Q,Re.isSuspense=$,Re.isSuspenseList=de,Re.isValidElementType=I,Re.typeOf=T}()),Re}(function(e){process.env.NODE_ENV==="production"?e.exports=Qp():e.exports=$p()})(Bp);function Wp(e){function t(P,q,K,ee,O){for(var re=0,J=0,pe=0,V=0,Q,$,de=0,ne=0,fe,Me=fe=Q=0,he=0,E=0,y=0,M=0,A=K.length,Y=A-1,te,X="",ve="",Oe="",be="",Qe;heQ)&&(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],0L)&&(h=(q=q.replace(" ",":")).length),0te&&(te=(V=V.trim()).charCodeAt(0)),te){case 38:return V.replace(w,"$1"+Y.trim());case 58:return Y.trim()+V.replace(w,"$1"+Y.trim());default:if(0<1*$&&0W.charCodeAt(8))break;case 115:b=b.replace(W,"-webkit-"+W)+";"+b;break;case 207:case 102:b=b.replace(W,"-webkit-"+(102$.charCodeAt(0)&&($=$.trim()),z=$,$=[z],01?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?t-1:0),r=1;r0?" Args: "+n.join(", "):"")):new Error(ng.apply(void 0,[tg[e]].concat(n)).trim())}var rg=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,o=0;o=this.groupSizes.length){for(var o=this.groupSizes,i=o.length,s=i;n>=s;)(s<<=1)<0&&Yn(16,""+n);this.groupSizes=new Uint32Array(s),this.groupSizes.set(o),this.length=s;for(var a=i;a=this.length||this.groupSizes[n]===0)return r;for(var o=this.groupSizes[n],i=this.indexOfGroup(n),s=i+o,a=i;a1<<30)&&Yn(16,""+t),Di.set(e,t),Ii.set(t,e),t},ig=function(e){return Ii.get(e)},og=function(e,t){t>=jr&&(jr=t+1),Di.set(e,t),Ii.set(t,e)},sg="style["+Rn+'][data-styled-version="5.3.11"]',ag=new RegExp("^"+Rn+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),ug=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i=0;u--){var l=c[u];if(l&&l.nodeType===1&&l.hasAttribute(Rn))return l}}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(Rn,"active"),r.setAttribute("data-styled-version","5.3.11");var s=lg();return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),r},fg=function(){function e(n){var r=this.element=zu(n);r.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var i=document.styleSheets,s=0,a=i.length;s=0){var o=document.createTextNode(r),i=this.nodes[n];return this.element.insertBefore(o,i||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+",")}),i+=""+u+l+'{content:"'+f+`"}/*!sc*/ +`}}}return i}(this)},e}(),pg=/(a)(d)/gi,Ru=function(e){return String.fromCharCode(e+(e>25?39:97))};function us(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ru(t%52)+n;return(Ru(t%52)+n).replace(pg,"$1-$2")}var mn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Yu=function(e){return mn(5381,e)};function Mg(e){for(var t=0;t>>0);if(!n.hasNameForId(o,a)){var c=r(s,"."+a,void 0,o);n.insertRules(o,a,c)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,l=mn(this.baseHash,r.hash),f="",d=0;d>>0);if(!n.hasNameForId(o,m)){var w=r(f,"."+m,void 0,o);n.insertRules(o,m,w)}i.push(m)}}return i.join(" ")},e}(),vg=/^\s*\/\/.*$/gm,wg=[":","[",".","#"];function Dg(e){var t,n,r,o,i=e===void 0?on:e,s=i.options,a=s===void 0?on:s,c=i.plugins,u=c===void 0?wi:c,l=new Yh(a),f=[],d=function(y){function m(w){if(w)try{y(w+"}")}catch{}}return function(w,D,N,E,T,Q,_,J,B,G){switch(w){case 1:if(B===0&&D.charCodeAt(0)===64)return y(D+";"),"";break;case 2:if(J===0)return D+"/*|*/";break;case 3:switch(J){case 102:case 112:return y(N[0]+D),"";default:return D+(G===0?"/*|*/":"")}case-2:D.split("/*|*/}").forEach(m)}}}(function(y){f.push(y)}),p=function(y,m,w){return m===0&&wg.indexOf(w[n.length])!==-1||w.match(o)?y:"."+t};function M(y,m,w,D){D===void 0&&(D="&");var N=y.replace(vg,""),E=m&&w?w+" "+m+" { "+N+" }":N;return t=D,n=m,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(w||!m?"":m,E)}return l.use([].concat(u,[function(y,m,w){y===2&&w.length&&w[0].lastIndexOf(n)>0&&(w[0]=w[0].replace(r,p))},d,function(y){if(y===-2){var m=f;return f=[],m}}])),M.hash=u.length?u.reduce(function(y,m){return m.name||Yn(15),mn(y,m.name)},5381).toString():"",M}var Fu=F.createContext();Fu.Consumer;var Qu=F.createContext(),Ig=(Qu.Consumer,new Pu),cs=Dg();function Ag(){return F.useContext(Fu)||Ig}function Eg(){return F.useContext(Qu)||cs}var Tg=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=cs);var s=r.name+i.hash;o.hasNameForId(r.id,s)||o.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.toString=function(){return Yn(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=cs),this.name+t.hash},e}(),Ng=/([A-Z])/,jg=/([A-Z])/g,bg=/^ms-/,Sg=function(e){return"-"+e.toLowerCase()};function Bu(e){return Ng.test(e)?e.replace(jg,Sg).replace(bg,"-ms-"):e}var $u=function(e){return e==null||e===!1||e===""};function Fn(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],s=0,a=e.length;s1?t-1:0),r=1;r1?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+`. +To resolve this only create new StyledComponents outside of any render method and function component.`,r=console.error;try{var o=!0;console.error=function(i){if(Vu.test(i))o=!1,Ei.delete(n);else{for(var s=arguments.length,a=new Array(s>1?s-1:0),c=1;c?@[\\\]^`{|}~-]+/g,_g=/(^-|-$)/g;function ls(e){return e.replace(Lg,"-").replace(_g,"")}var kg=function(e){return us(Yu(e)>>>0)};function Ti(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var fs=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},zg=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function Ug(e,t,n){var r=e[n];fs(t)&&fs(r)?Hu(r,t):e[n]=t}function Hu(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(G[J]=Q[J]);return G}(t,["componentId"]),T=N&&N+"-"+(Ti(D)?D:ls(os(D)));return Ku(D,Qt({},E,{attrs:d,componentId:T}),n)},Object.defineProperty(M,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(D){this._foldedDefaultProps=r?Hu({},e.defaultProps,D):D}}),process.env.NODE_ENV!=="production"&&(Cg(l,f),M.warnTooManyClasses=function(D,N){var E={},T=!1;return function(Q){if(!T&&(E[Q]=!0,Object.keys(E).length>=200)){var _=N?' with the id of "'+N+'"':"";console.warn("Over 200 classes were generated for component "+D+_+`. 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%;\` - `),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. + `),T=!0,E={}}}}(l,f)),Object.defineProperty(M,"toString",{value:function(){return"."+M.styledComponentId}}),o&&Zh(M,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),M}var hs=function(e){return function t(n,r,o){if(o===void 0&&(o=on),!Tr.isValidElementType(r))return Yn(1,String(r));var i=function(){return n(r,o,xg.apply(void 0,arguments))};return i.withConfig=function(s){return t(n,r,Qt({},o,{},s))},i.attrs=function(s){return t(n,r,Qt({},o,{attrs:Array.prototype.concat(o.attrs,s).filter(Boolean)}))},i}(Ku,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){hs[e]=hs(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 Gi=Ps,Us=Gi("div")` +See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const Ni=hs,gs=Ni("div")` display: flex; flex-direction: column; flex: 1 0 auto; -`,QM=Gi("div")` +`,Pg=Ni("div")` display: flex; flex-direction: row; flex: 1 0 auto; -`,$M=Gi(Us)` +`,Rg=Ni(gs)` background-image: url(${e=>e.background}); background-position: center, center; background-size: cover; background-repeat: no-repeat; -`,kc=Gi("div")` +`,Gu=Ni("div")` display: flex; flex-direction: column; flex: 1 0 auto; -`;var ge={},WM={get exports(){return ge},set exports(e){ge=e}},Hr={};/** +`;var ps={exports:{}},br={};/** * @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 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={};/** + */var Ju;function Yg(){if(Ju)return br;Ju=1;var e=F,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(a,c,u){var l,f={},d=null,p=null;u!==void 0&&(d=""+u),c.key!==void 0&&(d=""+c.key),c.ref!==void 0&&(p=c.ref);for(l in c)r.call(c,l)&&!i.hasOwnProperty(l)&&(f[l]=c[l]);if(a&&a.defaultProps)for(l in c=a.defaultProps,c)f[l]===void 0&&(f[l]=c[l]);return{$$typeof:t,type:a,key:d,ref:p,props:f,_owner:o.current}}return br.Fragment=n,br.jsx=s,br.jsxs=s,br}var Sr={};/** * @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 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` + */var Xu;function Fg(){return Xu||(Xu=1,process.env.NODE_ENV!=="production"&&function(){var e=F,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),M=Symbol.iterator,y="@@iterator";function m(x){if(x===null||typeof x!="object")return null;var ae=M&&x[M]||x[y];return typeof ae=="function"?ae:null}var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function D(x){{for(var ae=arguments.length,pe=new Array(ae>1?ae-1:0),ve=1;ve=1&&Ze>=0&&Ee[Je]!==lt[Ze];)Ze--;for(;Je>=1&&Ze>=0;Je--,Ze--)if(Ee[Je]!==lt[Ze]){if(Je!==1||Ze!==1)do if(Je--,Ze--,Ze<0||Ee[Je]!==lt[Ze]){var Et=` +`+Ee[Je].replace(" at new "," at ");return x.displayName&&Et.includes("")&&(Et=Et.replace("",x.displayName)),typeof x=="function"&&P.set(x,Et),Et}while(Je>=1&&Ze>=0);break}}}finally{oe=!1,b.current=We,te(),Error.prepareStackTrace=Le}var Ar=x?x.displayName||x.name:"",kh=Ar?W(Ar):"";return typeof x=="function"&&P.set(x,kh),kh}function le(x,ae,pe){return R(x,!1)}function Z(x){var ae=x.prototype;return!!(ae&&ae.isReactComponent)}function ce(x,ae,pe){if(x==null)return"";if(typeof x=="function")return R(x,Z(x));if(typeof x=="string")return W(x);switch(x){case u:return W("Suspense");case l:return W("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case c:return le(x.render);case f:return ce(x.type,ae,pe);case d:{var ve=x,Le=ve._payload,We=ve._init;try{return ce(We(Le),ae,pe)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,fe={},A=w.ReactDebugCurrentFrame;function g(x){if(x){var ae=x._owner,pe=ce(x.type,x._source,ae?ae.type:null);A.setExtraStackFrame(pe)}else A.setExtraStackFrame(null)}function h(x,ae,pe,ve,Le){{var We=Function.call.bind(ge);for(var je in x)if(We(x,je)){var Ee=void 0;try{if(typeof x[je]!="function"){var lt=Error((ve||"React class")+": "+pe+" type `"+je+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[je]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw lt.name="Invariant Violation",lt}Ee=x[je](ae,je,ve,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Je){Ee=Je}Ee&&!(Ee instanceof Error)&&(g(Le),D("%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).",ve||"React class",pe,je,typeof Ee),g(null)),Ee instanceof Error&&!(Ee.message in fe)&&(fe[Ee.message]=!0,g(Le),D("Failed %s type: %s",pe,Ee.message),g(null))}}}var I=Array.isArray;function k(x){return I(x)}function X(x){{var ae=typeof Symbol=="function"&&Symbol.toStringTag,pe=ae&&x[Symbol.toStringTag]||x.constructor.name||"Object";return pe}}function q(x){try{return ye(x),!1}catch{return!0}}function ye(x){return""+x}function Ne(x){if(q(x))return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",X(x)),ye(x)}var Ae=w.ReactCurrentOwner,Re={key:!0,ref:!0,__self:!0,__source:!0},$e,me,nn;nn={};function Dr(x){if(ge.call(x,"ref")){var ae=Object.getOwnPropertyDescriptor(x,"ref").get;if(ae&&ae.isReactWarning)return!1}return x.ref!==void 0}function Jo(x){if(ge.call(x,"key")){var ae=Object.getOwnPropertyDescriptor(x,"key").get;if(ae&&ae.isReactWarning)return!1}return x.key!==void 0}function bh(x,ae){if(typeof x.ref=="string"&&Ae.current&&ae&&Ae.current.stateNode!==ae){var pe=U(Ae.current.type);nn[pe]||(D('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',U(Ae.current.type),x.ref),nn[pe]=!0)}}function Fj(x,ae){{var pe=function(){$e||($e=!0,D("%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)",ae))};pe.isReactWarning=!0,Object.defineProperty(x,"key",{get:pe,configurable:!0})}}function Qj(x,ae){{var pe=function(){me||(me=!0,D("%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)",ae))};pe.isReactWarning=!0,Object.defineProperty(x,"ref",{get:pe,configurable:!0})}}var Bj=function(x,ae,pe,ve,Le,We,je){var Ee={$$typeof:t,type:x,key:ae,ref:pe,props:je,_owner:We};return Ee._store={},Object.defineProperty(Ee._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ee,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ve}),Object.defineProperty(Ee,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Le}),Object.freeze&&(Object.freeze(Ee.props),Object.freeze(Ee)),Ee};function $j(x,ae,pe,ve,Le){{var We,je={},Ee=null,lt=null;pe!==void 0&&(Ne(pe),Ee=""+pe),Jo(ae)&&(Ne(ae.key),Ee=""+ae.key),Dr(ae)&&(lt=ae.ref,bh(ae,Le));for(We in ae)ge.call(ae,We)&&!Re.hasOwnProperty(We)&&(je[We]=ae[We]);if(x&&x.defaultProps){var Je=x.defaultProps;for(We in Je)je[We]===void 0&&(je[We]=Je[We])}if(Ee||lt){var Ze=typeof x=="function"?x.displayName||x.name||"Unknown":x;Ee&&Fj(je,Ze),lt&&Qj(je,Ze)}return Bj(x,Ee,lt,Le,ve,Ae.current,je)}}var Du=w.ReactCurrentOwner,Sh=w.ReactDebugCurrentFrame;function Ir(x){if(x){var ae=x._owner,pe=ce(x.type,x._source,ae?ae.type:null);Sh.setExtraStackFrame(pe)}else Sh.setExtraStackFrame(null)}var Iu;Iu=!1;function Au(x){return typeof x=="object"&&x!==null&&x.$$typeof===t}function xh(){{if(Du.current){var x=U(Du.current.type);if(x)return` -Check the render method of \``+_+"`."}return""}}function _C(_){{if(_!==void 0){var le=_.fileName.replace(/^.*[\\\/]/,""),ye=_.lineNumber;return` +Check the render method of \``+x+"`."}return""}}function Wj(x){{if(x!==void 0){var ae=x.fileName.replace(/^.*[\\\/]/,""),pe=x.lineNumber;return` -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 your code at `+ae+":"+pe+"."}return""}}var Ch={};function Vj(x){{var ae=xh();if(!ae){var pe=typeof x=="string"?x:x.displayName||x.name;pe&&(ae=` -Check the top-level render call using <`+ye+">.")}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;Br.")}return ae}}function Oh(x,ae){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var pe=Vj(ae);if(Ch[pe])return;Ch[pe]=!0;var ve="";x&&x._owner&&x._owner!==Du.current&&(ve=" It was passed a child from "+U(x._owner.type)+"."),Ir(x),D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,ve),Ir(null)}}function Lh(x,ae){{if(typeof x!="object")return;if(k(x))for(var pe=0;pe",Ee=" Did you accidentally export a JSX literal instead of a component?"):Je=typeof x,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Je,Ee)}var Ze=$j(x,ae,pe,Le,We);if(Ze==null)return Ze;if(je){var Et=ae.children;if(Et!==void 0)if(ve)if(k(Et)){for(var Ar=0;Ar1?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;/*! +*/var ms,Zu;function Qg(){if(Zu)return ms;Zu=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var c=Object.getOwnPropertyNames(s).map(function(l){return s[l]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(l){u[l]=l}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ms=o()?Object.assign:function(i,s){for(var a,c=r(i),u,l=1;l1?i("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])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function z(Y,V,$,te,b){for(var re=Y[V],W=0;W0?", expected one of type ["+oe.join(", ")+"]":"";return new y("Invalid "+re+" `"+W+"` supplied to "+("`"+b+"`"+le+"."))}return m(V)}function G(){function O(z,Y,V,$,te){return j(z[Y])?null:new y("Invalid "+$+" `"+te+"` supplied to "+("`"+V+"`, expected a ReactNode."))}return m(O)}function ee(O,z,Y,V,$){return new y((O||"React class")+": "+z+" type `"+Y+"."+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+$+"`.")}function ie(O){function z(Y,V,$,te,b){var re=Y[V],W=H(re);if(W!=="object")return new y("Invalid "+te+" `"+b+"` of type `"+W+"` "+("supplied to `"+$+"`, expected `object`."));for(var oe in O){var P=O[oe];if(typeof P!="function")return ee($,te,b,oe,S(P));var L=P(re,oe,$,te,b+"."+oe,n);if(L)return L}return null}return m(z)}function U(O){function z(Y,V,$,te,b){var re=Y[V],W=H(re);if(W!=="object")return new y("Invalid "+te+" `"+b+"` of type `"+W+"` "+("supplied to `"+$+"`, expected `object`."));var oe=t({},Y[V],O);for(var P in oe){var L=O[P];if(r(O,P)&&typeof L!="function")return ee($,te,b,P,S(L));if(!L)return new y("Invalid "+te+" `"+b+"` key `"+P+"` supplied to `"+$+"`.\nBad object: "+JSON.stringify(Y[V],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(O),null," "));var R=L(re,P,$,te,b+"."+P,n);if(R)return R}return null}return m(z)}function j(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(j);if(O===null||a(O))return!0;var z=f(O);if(z){var Y=z.call(O),V;if(z!==O.entries){for(;!(V=Y.next()).done;)if(!j(V.value))return!1}else for(;!(V=Y.next()).done;){var $=V.value;if($&&!j($[1]))return!1}}else return!1;return!0;default:return!1}}function C(O,z){return O==="symbol"?!0:z?z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol:!1}function H(O){var z=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":C(z,O)?"symbol":z}function S(O){if(typeof O>"u"||O===null)return""+O;var z=H(O);if(z==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return z}function K(O){var z=S(O);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function ue(O){return!O.constructor||!O.constructor.name?d:O.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},As}var Es,oc;function Wg(){if(oc)return Es;oc=1;var e=ws();function t(){}function n(){}return n.resetWarningCache=t,Es=function(){function r(s,a,c,u,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 o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},Es}if(process.env.NODE_ENV!=="production"){var Vg=ts,Hg=!0;ys.exports=$g()(Vg.isElement,Hg)}else ys.exports=Wg()();var Ts=ys.exports;const v=Er(Ts);var Ns={exports:{}},Tt={},js={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;/*! * Adapted from jQuery UI core * * http://jqueryui.com @@ -145,84 +145,84 @@ Valid keys: `+JSON.stringify(Object.keys(L),null," "));var $=Q(re,V,K,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})(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)&&c(f,!p)}function l(f){var d=[].slice.call(f.querySelectorAll("*"),0).reduce(function(p,M){return p.concat(M.shadowRoot?l(M.shadowRoot):[M])},[]);return d.filter(u)}e.exports=t.default})(js,js.exports);var sc=js.exports;Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.resetState=Jg,Tt.log=Xg,Tt.handleBlur=xr,Tt.handleFocus=Cr,Tt.markForFocusLater=Zg,Tt.returnFocus=ep,Tt.popWithoutFocus=tp,Tt.setupScopedFocus=np,Tt.teardownScopedFocus=rp;var qg=sc,Kg=Gg(qg);function Gg(e){return e&&e.__esModule?e:{default:e}}var wn=[],Qn=null,bs=!1;function Jg(){wn=[]}function Xg(){process.env.NODE_ENV!=="production"&&(console.log("focusManager ----------"),wn.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))}function xr(){bs=!0}function Cr(){if(bs){if(bs=!1,!Qn)return;setTimeout(function(){if(!Qn.contains(document.activeElement)){var e=(0,Kg.default)(Qn)[0]||Qn;e.focus()}},0)}}function Zg(){wn.push(document.activeElement)}function ep(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{wn.length!==0&&(t=wn.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 tp(){wn.length>0&&wn.pop()}function np(e){Qn=e,window.addEventListener?(window.addEventListener("blur",xr,!1),document.addEventListener("focus",Cr,!0)):(window.attachEvent("onBlur",xr),document.attachEvent("onFocus",Cr))}function rp(){Qn=null,window.addEventListener?(window.removeEventListener("blur",xr),document.removeEventListener("focus",Cr)):(window.detachEvent("onBlur",xr),document.detachEvent("onFocus",Cr))}var Ss={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=sc,r=o(n);function o(a){return a&&a.__esModule?a:{default:a}}function i(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return a.activeElement.shadowRoot?i(a.activeElement.shadowRoot):a.activeElement}function s(a,c){var u=(0,r.default)(a);if(!u.length){c.preventDefault();return}var l=void 0,f=c.shiftKey,d=u[0],p=u[u.length-1],M=i();if(a===M){if(!f)return;l=p}if(p===M&&!f&&(l=d),d===M&&f&&(l=p),l){c.preventDefault(),l.focus();return}var y=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),m=y!=null&&y[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(m){var w=u.indexOf(M);if(w>-1&&(w+=f?-1:1),l=u[w],typeof l>"u"){c.preventDefault(),l=f?p:d,l.focus();return}c.preventDefault(),l.focus()}}e.exports=t.default})(Ss,Ss.exports);var ip=Ss.exports,Nt={},op=process.env.NODE_ENV!=="production",ac=function(){};if(op){var sp=function(t,n){var r=arguments.length;n=new Array(r>1?r-1:0);for(var o=1;o2?r-2:0);for(var o=2;o 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. +`,console.log(t)}}var Tp=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},Np=function(t,n){return t[n]&&(t[n]-=1),n},jp=function(t,n,r){r.forEach(function(o){Tp(n,o),t.add(o)})},bp=function(t,n,r){r.forEach(function(o){Np(n,o),n[o]===0&&t.remove(o)})};Bn.add=function(t,n){return jp(t.classList,t.nodeName.toLowerCase()=="html"?Dn:In,n.split(" "))},Bn.remove=function(t,n){return bp(t.classList,t.nodeName.toLowerCase()=="html"?Dn:In,n.split(" "))};var $n={};Object.defineProperty($n,"__esModule",{value:!0}),$n.log=xp,$n.resetState=Cp;function Sp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var fc=function e(){var t=this;Sp(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=[]},bi=new fc;function xp(){console.log("portalOpenInstances ----------"),console.log(bi.openInstances.length),bi.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function Cp(){bi=new fc}$n.default=bi;var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.resetState=kp,Cs.log=zp;var Op=$n,Lp=_p(Op);function _p(e){return e&&e.__esModule?e:{default:e}}var it=void 0,bt=void 0,An=[];function kp(){for(var e=[it,bt],t=0;t 0 expected");return}An[An.length-1].focusContent()}function Up(e,t){!it&&!bt&&(it=document.createElement("div"),it.setAttribute("data-react-modal-body-trap",""),it.style.position="absolute",it.style.opacity="0",it.setAttribute("tabindex","0"),it.addEventListener("focus",dc),bt=it.cloneNode(),bt.addEventListener("focus",dc)),An=t,An.length>0?(document.body.firstChild!==it&&document.body.insertBefore(it,document.body.firstChild),document.body.lastChild!==bt&&document.body.appendChild(bt)):(it.parentElement&&it.parentElement.removeChild(it),bt.parentElement&&bt.parentElement.removeChild(bt))}Lp.default.subscribe(Up),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(j){for(var C=1;C0&&(ie-=1,ie===0&&p.show(ue)),S.props.shouldFocusAfterRender&&(S.props.shouldReturnFocusAfterClose?(u.returnFocus(S.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),S.props.onAfterClose&&S.props.onAfterClose(),N.default.deregister(S)},S.open=function(){S.beforeOpen(),S.state.afterOpen&&S.state.beforeClose?(clearTimeout(S.closeTimer),S.setState({beforeClose:!1})):(S.props.shouldFocusAfterRender&&(u.setupScopedFocus(S.node),u.markForFocusLater()),S.setState({isOpen:!0},function(){S.openAnimationFrame=requestAnimationFrame(function(){S.setState({afterOpen:!0}),S.props.isOpen&&S.props.onAfterOpen&&S.props.onAfterOpen({overlayEl:S.overlay,contentEl:S.content})})}))},S.close=function(){S.props.closeTimeoutMS>0?S.closeWithTimeout():S.closeWithoutTimeout()},S.focusContent=function(){return S.content&&!S.contentHasFocus()&&S.content.focus({preventScroll:!0})},S.closeWithTimeout=function(){var K=Date.now()+S.props.closeTimeoutMS;S.setState({beforeClose:!0,closesAt:K},function(){S.closeTimer=setTimeout(S.closeWithoutTimeout,S.state.closesAt-Date.now())})},S.closeWithoutTimeout=function(){S.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},S.afterClose)},S.handleKeyDown=function(K){G(K)&&(0,f.default)(S.content,K),S.props.shouldCloseOnEsc&&ee(K)&&(K.stopPropagation(),S.requestClose(K))},S.handleOverlayOnClick=function(K){S.shouldClose===null&&(S.shouldClose=!0),S.shouldClose&&S.props.shouldCloseOnOverlayClick&&(S.ownerHandlesClose()?S.requestClose(K):S.focusContent()),S.shouldClose=null},S.handleContentOnMouseUp=function(){S.shouldClose=!1},S.handleOverlayOnMouseDown=function(K){!S.props.shouldCloseOnOverlayClick&&K.target==S.overlay&&K.preventDefault()},S.handleContentOnClick=function(){S.shouldClose=!1},S.handleContentOnMouseDown=function(){S.shouldClose=!1},S.requestClose=function(K){return S.ownerHandlesClose()&&S.props.onRequestClose(K)},S.ownerHandlesClose=function(){return S.props.onRequestClose},S.shouldBeClosed=function(){return!S.state.isOpen&&!S.state.beforeClose},S.contentHasFocus=function(){return document.activeElement===S.content||S.content.contains(document.activeElement)},S.buildClassName=function(K,ue){var O=(typeof ue>"u"?"undefined":r(ue))==="object"?ue:{base:B[K],afterOpen:B[K]+"--after-open",beforeClose:B[K]+"--before-close"},z=O.base;return S.state.afterOpen&&(z=z+" "+O.afterOpen),S.state.beforeClose&&(z=z+" "+O.beforeClose),typeof ue=="string"&&ue?z+" "+ue:z},S.attributesFromObject=function(K,ue){return Object.keys(ue).reduce(function(O,z){return O[K+"-"+z]=ue[z],O},{})},S.state={afterOpen:!1,beforeClose:!1},S.shouldClose=null,S.moveFromContentToOverlay=null,S}return o(C,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(S,K){process.env.NODE_ENV!=="production"&&(S.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),S.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&&!S.isOpen?this.open():!this.props.isOpen&&S.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!K.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var S=this.props,K=S.appElement,ue=S.ariaHideApp,O=S.htmlOpenClassName,z=S.bodyOpenClassName,Y=S.parentSelector,V=Y&&Y().ownerDocument||document;z&&y.add(V.body,z),O&&y.add(V.getElementsByTagName("html")[0],O),ue&&(ie+=1,p.hide(K)),N.default.register(this)}},{key:"render",value:function(){var S=this.props,K=S.id,ue=S.className,O=S.overlayClassName,z=S.defaultStyles,Y=S.children,V=ue?{}:z.content,$=O?{}:z.overlay;if(this.shouldBeClosed())return null;var te={ref:this.setOverlayRef,className:this.buildClassName("overlay",O),style:n({},$,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},b=n({id:K,ref:this.setContentRef,style:n({},V,this.props.style.content),className:this.buildClassName("content",ue),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(b,Y);return this.props.overlayElement(te,re)}}]),C}(i.Component);U.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},U.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(w.default),a.default.instanceOf(m.SafeHTMLCollection),a.default.instanceOf(m.SafeNodeList),a.default.arrayOf(a.default.instanceOf(w.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=U,e.exports=t.default}(Ns,Ns.exports);var Pp=Ns.exports;function hc(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function gc(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r??null}this.setState(t.bind(this))}function pc(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}}hc.__suppressDeprecationWarning=!0,gc.__suppressDeprecationWarning=!0,pc.__suppressDeprecationWarning=!0;function Rp(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,o=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"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),n!==null||r!==null||o!==null){var i=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?` +`+i+" uses "+s+" but also contains the following legacy lifecycles:"+(n!==null?` `+n:"")+(r!==null?` - `+r:"")+(i!==null?` - `+i:"")+` + `+r:"")+(o!==null?` + `+o:"")+` 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=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=>{/* +https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=hc,t.componentWillReceiveProps=gc),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=pc;var a=t.componentDidUpdate;t.componentDidUpdate=function(u,l,f){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;a.call(this,u,l,d)}}return e}const Yp=vi(Object.freeze(Object.defineProperty({__proto__:null,polyfill:Rp},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(vn,"__esModule",{value:!0}),vn.bodyOpenClassName=vn.portalClassName=void 0;var Mc=Object.assign||function(e){for(var t=1;t{const e=F.useRef(!1),t=Ac.documentElement,{body:n}=Ac;return[()=>{if(!n||!n.style||e.current||document==null)return;const i=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+i}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)}]};Ic.setAppElement("body");const eM=({isOpen:e,children:t,closeTimeoutMS:n,style:r,overlayClassName:o,className:i,onRequestClose:s})=>{const[a,c]=Ec();return e?a():c(),de.jsx(Ic,{isOpen:e,closeTimeoutMS:n,style:r,overlayClassName:o,className:i,onRequestClose:s||(()=>{}),shouldCloseOnOverlayClick:!0,children:t})},tM={headerHeight:"67px",searchBarHeight:"32px",switchHeight:"32px"},nM={title:"36px",subtitle:"24px",content:"14px",small:"12px"};var Ls=(e=>(e.EN="en",e.JA="ja",e))(Ls||{});const rM=["desktop","tablet","phone","phoneMini"],iM=e=>rM.includes(e),oM=["light","dark"],sM=e=>oM.includes(e),Tc={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"}},Nc={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":"ログインせずに使用し続ける"}},jc=()=>de.jsx("svg",{viewBox:"0 0 50 50",width:"50px",height:"50px",color:"white",children:de.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"})}),bc=()=>de.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:[de.jsx("line",{x1:"24",y1:"6",x2:"6",y2:"24"})," ",de.jsx("line",{x1:"6",y1:"6",x2:"24",y2:"24"})]});var Sc={exports:{}};(function(e,t){(function(r,o){e.exports=o(F)})(_t,n=>(()=>{var r={"./node_modules/css-mediaquery/index.js":(a,c)=>{c.match=M,c.parse=y;var u=/(?:(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)?$/,p=/(dpi|dpcm|dppx)?$/;function M(N,E){return y(N).some(function(T){var Q=T.inverse,_=T.type==="all"||E.type===T.type;if(_&&Q||!(_||Q))return!1;var J=T.expressions.every(function(B){var G=B.feature,ee=B.modifier,ie=B.value,U=E[G];if(!U)return!1;switch(G){case"orientation":case"scan":return U.toLowerCase()===ie.toLowerCase();case"width":case"height":case"device-width":case"device-height":ie=D(ie),U=D(U);break;case"resolution":ie=w(ie),U=w(U);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":ie=m(ie),U=m(U);break;case"grid":case"color":case"color-index":case"monochrome":ie=parseInt(ie,10)||1,U=parseInt(U,10)||0;break}switch(ee){case"min":return U>=ie;case"max":return U<=ie;default:return U===ie}});return J&&!Q||!J&&Q})}function y(N){return N.split(",").map(function(E){E=E.trim();var T=E.match(u),Q=T[1],_=T[2],J=T[3]||"",B={};return B.inverse=!!Q&&Q.toLowerCase()==="not",B.type=_?_.toLowerCase():"all",J=J.match(/\([^\)]+\)/g)||[],B.expressions=J.map(function(G){var ee=G.match(l),ie=ee[1].toLowerCase().match(f);return{modifier:ie[1],feature:ie[2],value:ee[2]}}),B})}function m(N){var E=Number(N),T;return E||(T=N.match(/^(\d+)\s*\/\s*(\d+)$/),E=T[1]/T[2]),E}function w(N){var E=parseFloat(N),T=String(N).match(p)[1];switch(T){case"dpcm":return E/2.54;case"dppx":return E*96;default:return E}}function D(N){var E=parseFloat(N),T=String(N).match(d)[1];switch(T){case"em":return E*16;case"rem":return E*16;case"cm":return E*96/2.54;case"mm":return E*96/2.54/10;case"in":return E*96;case"pt":return E*72;case"pc":return E*72/12;default:return E}}},"./node_modules/hyphenate-style-name/index.js":(a,c,u)=>{u.r(c),u.d(c,{default:()=>y});var l=/[A-Z]/g,f=/^ms-/,d={};function p(m){return"-"+m.toLowerCase()}function M(m){if(d.hasOwnProperty(m))return d[m];var w=m.replace(l,p);return d[m]=f.test(w)?"-"+w:w}const y=M},"./node_modules/matchmediaquery/index.js":(a,c,u)=>{var l=u("./node_modules/css-mediaquery/index.js").match,f=typeof window<"u"?window.matchMedia:null;function d(M,y,m){var w=this;if(f&&!m){var D=f.call(window,M);this.matches=D.matches,this.media=D.media,D.addListener(T)}else this.matches=l(M,y),this.media=M;this.addListener=N,this.removeListener=E,this.dispose=Q;function N(_){D&&D.addListener(_)}function E(_){D&&D.removeListener(_)}function T(_){w.matches=_.matches,w.media=_.media}function Q(){D&&D.removeListener(T)}}function p(M,y,m){return new d(M,y,m)}a.exports=p},"./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 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 +*/var c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function f(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function d(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var M={},y=0;y<10;y++)M["_"+String.fromCharCode(y)]=y;var m=Object.getOwnPropertyNames(M).map(function(D){return M[D]});if(m.join("")!=="0123456789")return!1;var w={};return"abcdefghijklmnopqrst".split("").forEach(function(D){w[D]=D}),Object.keys(Object.assign({},w)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}a.exports=d()?Object.assign:function(p,M){for(var y,m=f(p),w,D=1;D{var l=function(){};{var f=u("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),d={},p=u("./node_modules/prop-types/lib/has.js");l=function(y){var m="Warning: "+y;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}}}function M(y,m,w,D,N){for(var E in y)if(p(y,E)){var T;try{if(typeof y[E]!="function"){var Q=Error((D||"React class")+": "+w+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Q.name="Invariant Violation",Q}T=y[E](m,E,D,w,null,f)}catch(J){T=J}if(T&&!(T instanceof Error)&&l((D||"React class")+": type specification of "+w+" `"+E+"` 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 _=N?N():"";l("Failed "+w+" type: "+T.message+(_??""))}}}M.resetWarningCache=function(){d={}},a.exports=M},"./node_modules/prop-types/factoryWithTypeCheckers.js":(a,c,u)=>{var l=u("./node_modules/react-is/index.js"),f=u("./node_modules/object-assign/index.js"),d=u("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),p=u("./node_modules/prop-types/lib/has.js"),M=u("./node_modules/prop-types/checkPropTypes.js"),y=function(){};y=function(w){var D="Warning: "+w;typeof console<"u"&&console.error(D);try{throw new Error(D)}catch{}};function m(){return null}a.exports=function(w,D){var N=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function T(P){var L=P&&(N&&P[N]||P[E]);if(typeof L=="function")return L}var Q="<>",_={array:ee("array"),bigint:ee("bigint"),bool:ee("boolean"),func:ee("function"),number:ee("number"),object:ee("object"),string:ee("string"),symbol:ee("symbol"),any:ie(),arrayOf:U,element:j(),elementType:C(),instanceOf:H,node:O(),objectOf:K,oneOf:S,oneOfType:ue,shape:Y,exact:V};function J(P,L){return P===L?P!==0||1/P===1/L:P!==P&&L!==L}function B(P,L){this.message=P,this.data=L&&typeof L=="object"?L:{},this.stack=""}B.prototype=Error.prototype;function G(P){var L={},R=0;function le(ce,ge,fe,A,g,h,I){if(A=A||Q,h=h||fe,I!==d){if(D){var k=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 k.name="Invariant Violation",k}else if(typeof console<"u"){var X=A+":"+fe;!L[X]&&R<3&&(y("You are manually calling a React.PropTypes validation function for the `"+h+"` 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."),L[X]=!0,R++)}}return ge[fe]==null?ce?ge[fe]===null?new B("The "+g+" `"+h+"` is marked as required "+("in `"+A+"`, but its value is `null`.")):new B("The "+g+" `"+h+"` is marked as required in "+("`"+A+"`, but its value is `undefined`.")):null:P(ge,fe,A,g,h)}var Z=le.bind(null,!1);return Z.isRequired=le.bind(null,!0),Z}function ee(P){function L(R,le,Z,ce,ge,fe){var A=R[le],g=b(A);if(g!==P){var h=re(A);return new B("Invalid "+ce+" `"+ge+"` of type "+("`"+h+"` supplied to `"+Z+"`, expected ")+("`"+P+"`."),{expectedType:P})}return null}return G(L)}function ie(){return G(m)}function U(P){function L(R,le,Z,ce,ge){if(typeof P!="function")return new B("Property `"+ge+"` of component `"+Z+"` has invalid PropType notation inside arrayOf.");var fe=R[le];if(!Array.isArray(fe)){var A=b(fe);return new B("Invalid "+ce+" `"+ge+"` of type "+("`"+A+"` supplied to `"+Z+"`, expected an array."))}for(var g=0;g1?y("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])."):y("Invalid argument supplied to oneOf, expected an array."),m;function L(R,le,Z,ce,ge){for(var fe=R[le],A=0;A0?", expected one of type ["+g.join(", ")+"]":"";return new B("Invalid "+fe+" `"+A+"` supplied to "+("`"+ge+"`"+X+"."))}return G(le)}function O(){function P(L,R,le,Z,ce){return $(L[R])?null:new B("Invalid "+Z+" `"+ce+"` supplied to "+("`"+le+"`, expected a ReactNode."))}return G(P)}function z(P,L,R,le,Z){return new B((P||"React class")+": "+L+" type `"+R+"."+le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Z+"`.")}function Y(P){function L(R,le,Z,ce,ge){var fe=R[le],A=b(fe);if(A!=="object")return new B("Invalid "+ce+" `"+ge+"` of type `"+A+"` "+("supplied to `"+Z+"`, expected `object`."));for(var g in P){var h=P[g];if(typeof h!="function")return z(Z,ce,ge,g,re(h));var I=h(fe,g,Z,ce,ge+"."+g,d);if(I)return I}return null}return G(L)}function V(P){function L(R,le,Z,ce,ge){var fe=R[le],A=b(fe);if(A!=="object")return new B("Invalid "+ce+" `"+ge+"` of type `"+A+"` "+("supplied to `"+Z+"`, expected `object`."));var g=f({},R[le],P);for(var h in g){var I=P[h];if(p(P,h)&&typeof I!="function")return z(Z,ce,ge,h,re(I));if(!I)return new B("Invalid "+ce+" `"+ge+"` key `"+h+"` supplied to `"+Z+"`.\nBad object: "+JSON.stringify(R[le],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(P),null," "));var k=I(fe,h,Z,ce,ge+"."+h,d);if(k)return k}return null}return G(L)}function $(P){switch(typeof P){case"number":case"string":case"undefined":return!0;case"boolean":return!P;case"object":if(Array.isArray(P))return P.every($);if(P===null||w(P))return!0;var L=T(P);if(L){var R=L.call(P),le;if(L!==P.entries){for(;!(le=R.next()).done;)if(!$(le.value))return!1}else for(;!(le=R.next()).done;){var Z=le.value;if(Z&&!$(Z[1]))return!1}}else return!1;return!0;default:return!1}}function te(P,L){return P==="symbol"?!0:L?L["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&L instanceof Symbol:!1}function b(P){var L=typeof P;return Array.isArray(P)?"array":P instanceof RegExp?"object":te(L,P)?"symbol":L}function re(P){if(typeof P>"u"||P===null)return""+P;var L=b(P);if(L==="object"){if(P instanceof Date)return"date";if(P instanceof RegExp)return"regexp"}return L}function W(P){var L=re(P);switch(L){case"array":case"object":return"an "+L;case"boolean":case"date":case"regexp":return"a "+L;default:return L}}function oe(P){return!P.constructor||!P.constructor.name?Q:P.constructor.name}return _.checkPropTypes=M,_.resetWarningCache=M.resetWarningCache,_.PropTypes=_,_}},"./node_modules/prop-types/index.js":(a,c,u)=>{{var l=u("./node_modules/react-is/index.js"),f=!0;a.exports=u("./node_modules/prop-types/factoryWithTypeCheckers.js")(l.isElement,f)}},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":a=>{var c="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";a.exports=c},"./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,c)=>{/** @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,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 + */(function(){var u=typeof Symbol=="function"&&Symbol.for,l=u?Symbol.for("react.element"):60103,f=u?Symbol.for("react.portal"):60106,d=u?Symbol.for("react.fragment"):60107,p=u?Symbol.for("react.strict_mode"):60108,M=u?Symbol.for("react.profiler"):60114,y=u?Symbol.for("react.provider"):60109,m=u?Symbol.for("react.context"):60110,w=u?Symbol.for("react.async_mode"):60111,D=u?Symbol.for("react.concurrent_mode"):60111,N=u?Symbol.for("react.forward_ref"):60112,E=u?Symbol.for("react.suspense"):60113,T=u?Symbol.for("react.suspense_list"):60120,Q=u?Symbol.for("react.memo"):60115,_=u?Symbol.for("react.lazy"):60116,J=u?Symbol.for("react.block"):60121,B=u?Symbol.for("react.fundamental"):60117,G=u?Symbol.for("react.responder"):60118,ee=u?Symbol.for("react.scope"):60119;function ie(I){return typeof I=="string"||typeof I=="function"||I===d||I===D||I===M||I===p||I===E||I===T||typeof I=="object"&&I!==null&&(I.$$typeof===_||I.$$typeof===Q||I.$$typeof===y||I.$$typeof===m||I.$$typeof===N||I.$$typeof===B||I.$$typeof===G||I.$$typeof===ee||I.$$typeof===J)}function U(I){if(typeof I=="object"&&I!==null){var k=I.$$typeof;switch(k){case l:var X=I.type;switch(X){case w:case D:case d:case M:case p:case E:return X;default:var q=X&&X.$$typeof;switch(q){case m:case N:case _:case Q:case y:return q;default:return k}}case f:return k}}}var j=w,C=D,H=m,S=y,K=l,ue=N,O=d,z=_,Y=Q,V=f,$=M,te=p,b=E,re=!1;function W(I){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.")),oe(I)||U(I)===w}function oe(I){return U(I)===D}function P(I){return U(I)===m}function L(I){return U(I)===y}function R(I){return typeof I=="object"&&I!==null&&I.$$typeof===l}function le(I){return U(I)===N}function Z(I){return U(I)===d}function ce(I){return U(I)===_}function ge(I){return U(I)===Q}function fe(I){return U(I)===f}function A(I){return U(I)===M}function g(I){return U(I)===p}function h(I){return U(I)===E}c.AsyncMode=j,c.ConcurrentMode=C,c.ContextConsumer=H,c.ContextProvider=S,c.Element=K,c.ForwardRef=ue,c.Fragment=O,c.Lazy=z,c.Memo=Y,c.Portal=V,c.Profiler=$,c.StrictMode=te,c.Suspense=b,c.isAsyncMode=W,c.isConcurrentMode=oe,c.isContextConsumer=P,c.isContextProvider=L,c.isElement=R,c.isForwardRef=le,c.isFragment=Z,c.isLazy=ce,c.isMemo=ge,c.isPortal=fe,c.isProfiler=A,c.isStrictMode=g,c.isSuspense=h,c.isValidElementType=ie,c.typeOf=U})()},"./node_modules/react-is/index.js":(a,c,u)=>{a.exports=u("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(a,c,u)=>{u.r(c),u.d(c,{shallowEqualArrays:()=>f,shallowEqualObjects:()=>l});function l(d,p){if(d===p)return!0;if(!d||!p)return!1;var M=Object.keys(d),y=Object.keys(p),m=M.length;if(y.length!==m)return!1;for(var w=0;w{Object.defineProperty(c,"__esModule",{value:!0});var l=u("react"),f=(0,l.createContext)(void 0);c.default=f},"./src/index.ts":function(a,c,u){var l=this&&this.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(c,"__esModule",{value:!0}),c.Context=c.toQuery=c.useMediaQuery=c.default=void 0;var f=l(u("./src/useMediaQuery.ts"));c.useMediaQuery=f.default;var d=l(u("./src/Component.ts"));c.default=d.default;var p=l(u("./src/toQuery.ts"));c.toQuery=p.default;var M=l(u("./src/Context.ts"));c.Context=M.default},"./src/mediaQuery.ts":function(a,c,u){var l=this&&this.__assign||function(){return l=Object.assign||function(E){for(var T,Q=1,_=arguments.length;Q<_;Q++){T=arguments[Q];for(var J in T)Object.prototype.hasOwnProperty.call(T,J)&&(E[J]=T[J])}return E},l.apply(this,arguments)},f=this&&this.__rest||function(E,T){var Q={};for(var _ in E)Object.prototype.hasOwnProperty.call(E,_)&&T.indexOf(_)<0&&(Q[_]=E[_]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,_=Object.getOwnPropertySymbols(E);J<_.length;J++)T.indexOf(_[J])<0&&Object.prototype.propertyIsEnumerable.call(E,_[J])&&(Q[_[J]]=E[_[J]]);return Q},d=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(c,"__esModule",{value:!0});var p=d(u("./node_modules/prop-types/index.js")),M=p.default.oneOfType([p.default.string,p.default.number]),y={all:p.default.bool,grid:p.default.bool,aural:p.default.bool,braille:p.default.bool,handheld:p.default.bool,print:p.default.bool,projection:p.default.bool,screen:p.default.bool,tty:p.default.bool,tv:p.default.bool,embossed:p.default.bool},m={orientation:p.default.oneOf(["portrait","landscape"]),scan:p.default.oneOf(["progressive","interlace"]),aspectRatio:p.default.string,deviceAspectRatio:p.default.string,height:M,deviceHeight:M,width:M,deviceWidth:M,color:p.default.bool,colorIndex:p.default.bool,monochrome:p.default.bool,resolution:M,type:Object.keys(y)};m.type;var w=f(m,["type"]),D=l({minAspectRatio:p.default.string,maxAspectRatio:p.default.string,minDeviceAspectRatio:p.default.string,maxDeviceAspectRatio:p.default.string,minHeight:M,maxHeight:M,minDeviceHeight:M,maxDeviceHeight:M,minWidth:M,maxWidth:M,minDeviceWidth:M,maxDeviceWidth:M,minColor:p.default.number,maxColor:p.default.number,minColorIndex:p.default.number,maxColorIndex:p.default.number,minMonochrome:p.default.number,maxMonochrome:p.default.number,minResolution:M,maxResolution:M},w),N=l(l({},y),D);c.default={all:N,types:y,matchers:m,features:D}},"./src/toQuery.ts":function(a,c,u){var l=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(c,"__esModule",{value:!0});var f=l(u("./node_modules/hyphenate-style-name/index.js")),d=l(u("./src/mediaQuery.ts")),p=function(w){return"not ".concat(w)},M=function(w,D){var N=(0,f.default)(w);return typeof D=="number"&&(D="".concat(D,"px")),D===!0?N:D===!1?p(N):"(".concat(N,": ").concat(D,")")},y=function(w){return w.join(" and ")},m=function(w){var D=[];return Object.keys(d.default.all).forEach(function(N){var E=w[N];E!=null&&D.push(M(N,E))}),y(D)};c.default=m},"./src/useMediaQuery.ts":function(a,c,u){var l=this&&this.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(c,"__esModule",{value:!0});var f=u("react"),d=l(u("./node_modules/matchmediaquery/index.js")),p=l(u("./node_modules/hyphenate-style-name/index.js")),M=u("./node_modules/shallow-equal/dist/index.esm.js"),y=l(u("./src/toQuery.ts")),m=l(u("./src/Context.ts")),w=function(B){return B.query||(0,y.default)(B)},D=function(B){if(B){var G=Object.keys(B);return G.reduce(function(ee,ie){return ee[(0,p.default)(ie)]=B[ie],ee},{})}},N=function(){var B=(0,f.useRef)(!1);return(0,f.useEffect)(function(){B.current=!0},[]),B.current},E=function(B){var G=(0,f.useContext)(m.default),ee=function(){return D(B)||D(G)},ie=(0,f.useState)(ee),U=ie[0],j=ie[1];return(0,f.useEffect)(function(){var C=ee();(0,M.shallowEqualObjects)(U,C)||j(C)},[B,G]),U},T=function(B){var G=function(){return w(B)},ee=(0,f.useState)(G),ie=ee[0],U=ee[1];return(0,f.useEffect)(function(){var j=G();ie!==j&&U(j)},[B]),ie},Q=function(B,G){var ee=function(){return(0,d.default)(B,G||{},!!G)},ie=(0,f.useState)(ee),U=ie[0],j=ie[1],C=N();return(0,f.useEffect)(function(){if(C){var H=ee();return j(H),function(){H&&H.dispose()}}},[B,G]),U},_=function(B){var G=(0,f.useState)(B.matches),ee=G[0],ie=G[1];return(0,f.useEffect)(function(){var U=function(j){ie(j.matches)};return B.addListener(U),ie(B.matches),function(){B.removeListener(U)}},[B]),ee},J=function(B,G,ee){var ie=E(G),U=T(B);if(!U)throw new Error("Invalid or missing MediaQuery!");var j=Q(U,ie),C=_(j),H=N();return(0,f.useEffect)(function(){H&&ee&&ee(C)},[C]),(0,f.useEffect)(function(){return function(){j&&j.dispose()}},[]),C};c.default=J},react:a=>{a.exports=n}},o={};function i(a){var c=o[a];if(c!==void 0)return c.exports;var u=o[a]={exports:{}};return r[a].call(u.exports,u,u.exports,i),u.exports}i.d=(a,c)=>{for(var u in c)i.o(c,u)&&!i.o(a,u)&&Object.defineProperty(a,u,{enumerable:!0,get:c[u]})},i.o=(a,c)=>Object.prototype.hasOwnProperty.call(a,c),i.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var s=i("./src/index.ts");return s})())})(Sc);var aM=Sc.exports;const xc=Er(aM),Qe={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 he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var _s={exports:{}},Ye={};/** @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 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 + */var Cc;function uM(){if(Cc)return Ye;Cc=1;var e=60103,t=60106,n=60107,r=60108,o=60114,i=60109,s=60110,a=60112,c=60113,u=60120,l=60115,f=60116,d=60121,p=60122,M=60117,y=60129,m=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;e=w("react.element"),t=w("react.portal"),n=w("react.fragment"),r=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),a=w("react.forward_ref"),c=w("react.suspense"),u=w("react.suspense_list"),l=w("react.memo"),f=w("react.lazy"),d=w("react.block"),p=w("react.server.block"),M=w("react.fundamental"),y=w("react.debug_trace_mode"),m=w("react.legacy_hidden")}function D(U){if(typeof U=="object"&&U!==null){var j=U.$$typeof;switch(j){case e:switch(U=U.type,U){case n:case o:case r:case c:case u:return U;default:switch(U=U&&U.$$typeof,U){case s:case a:case f:case l:case i:return U;default:return j}}case t:return j}}}var N=i,E=e,T=a,Q=n,_=f,J=l,B=t,G=o,ee=r,ie=c;return Ye.ContextConsumer=s,Ye.ContextProvider=N,Ye.Element=E,Ye.ForwardRef=T,Ye.Fragment=Q,Ye.Lazy=_,Ye.Memo=J,Ye.Portal=B,Ye.Profiler=G,Ye.StrictMode=ee,Ye.Suspense=ie,Ye.isAsyncMode=function(){return!1},Ye.isConcurrentMode=function(){return!1},Ye.isContextConsumer=function(U){return D(U)===s},Ye.isContextProvider=function(U){return D(U)===i},Ye.isElement=function(U){return typeof U=="object"&&U!==null&&U.$$typeof===e},Ye.isForwardRef=function(U){return D(U)===a},Ye.isFragment=function(U){return D(U)===n},Ye.isLazy=function(U){return D(U)===f},Ye.isMemo=function(U){return D(U)===l},Ye.isPortal=function(U){return D(U)===t},Ye.isProfiler=function(U){return D(U)===o},Ye.isStrictMode=function(U){return D(U)===r},Ye.isSuspense=function(U){return D(U)===c},Ye.isValidElementType=function(U){return typeof U=="string"||typeof U=="function"||U===n||U===o||U===y||U===r||U===c||U===u||U===m||typeof U=="object"&&U!==null&&(U.$$typeof===f||U.$$typeof===l||U.$$typeof===i||U.$$typeof===s||U.$$typeof===a||U.$$typeof===M||U.$$typeof===d||U[0]===p)},Ye.typeOf=D,Ye}var Fe={};/** @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 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. + */var Oc;function cM(){return Oc||(Oc=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,n=60107,r=60108,o=60114,i=60109,s=60110,a=60112,c=60113,u=60120,l=60115,f=60116,d=60121,p=60122,M=60117,y=60129,m=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;e=w("react.element"),t=w("react.portal"),n=w("react.fragment"),r=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),a=w("react.forward_ref"),c=w("react.suspense"),u=w("react.suspense_list"),l=w("react.memo"),f=w("react.lazy"),d=w("react.block"),p=w("react.server.block"),M=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),y=w("react.debug_trace_mode"),w("react.offscreen"),m=w("react.legacy_hidden")}var D=!1;function N(L){return!!(typeof L=="string"||typeof L=="function"||L===n||L===o||L===y||L===r||L===c||L===u||L===m||D||typeof L=="object"&&L!==null&&(L.$$typeof===f||L.$$typeof===l||L.$$typeof===i||L.$$typeof===s||L.$$typeof===a||L.$$typeof===M||L.$$typeof===d||L[0]===p))}function E(L){if(typeof L=="object"&&L!==null){var R=L.$$typeof;switch(R){case e:var le=L.type;switch(le){case n:case o:case r:case c:case u:return le;default:var Z=le&&le.$$typeof;switch(Z){case s:case a:case f:case l:case i:return Z;default:return R}}case t:return R}}}var T=s,Q=i,_=e,J=a,B=n,G=f,ee=l,ie=t,U=o,j=r,C=c,H=!1,S=!1;function K(L){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ue(L){return S||(S=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function O(L){return E(L)===s}function z(L){return E(L)===i}function Y(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function V(L){return E(L)===a}function $(L){return E(L)===n}function te(L){return E(L)===f}function b(L){return E(L)===l}function re(L){return E(L)===t}function W(L){return E(L)===o}function oe(L){return E(L)===r}function P(L){return E(L)===c}Fe.ContextConsumer=T,Fe.ContextProvider=Q,Fe.Element=_,Fe.ForwardRef=J,Fe.Fragment=B,Fe.Lazy=G,Fe.Memo=ee,Fe.Portal=ie,Fe.Profiler=U,Fe.StrictMode=j,Fe.Suspense=C,Fe.isAsyncMode=K,Fe.isConcurrentMode=ue,Fe.isContextConsumer=O,Fe.isContextProvider=z,Fe.isElement=Y,Fe.isForwardRef=V,Fe.isFragment=$,Fe.isLazy=te,Fe.isMemo=b,Fe.isPortal=re,Fe.isProfiler=W,Fe.isStrictMode=oe,Fe.isSuspense=P,Fe.isValidElementType=N,Fe.typeOf=E}()),Fe}process.env.NODE_ENV==="production"?_s.exports=uM():_s.exports=cM();var Lc=_s.exports;function _c(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 Vn(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function zc(e){if(!Vn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=zc(e[n])}),t}function Bt(e,t,n={clone:!0}){const r=n.clone?he({},e):e;return Vn(e)&&Vn(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Vn(t[o])&&o in e&&Vn(e[o])?r[o]=Bt(e[o],t[o],n):n.clone?r[o]=Vn(t[o])?zc(t[o]):t[o]:r[o]=t[o])}),r}function lM(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Uc(e,t,n,r,o){const i=e[t],s=o||t;if(i==null||typeof window>"u")return null;let a;const c=i.type;return typeof c=="function"&&!lM(c)&&(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 Pc=Lr(v.element,Uc);Pc.isRequired=Lr(v.element.isRequired,Uc);const _r=Pc;function fM(e){const{prototype:t={}}=e;return!!t.isReactComponent}function dM(e,t,n,r,o){const i=e[t],s=o||t;if(i==null||typeof window>"u")return null;let a;return typeof i=="function"&&!fM(i)&&(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 Rc=Lr(v.elementType,dM),hM="exact-prop: ​";function Yc(e){return process.env.NODE_ENV==="production"?e:he({},e,{[hM]: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 kr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function yM(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function St(e){return e&&e.ownerDocument||document}function zr(e){return St(e).defaultView||window}function ks(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Ur=typeof window<"u"?ne.useLayoutEffect:ne.useEffect;function Kn(e){const t=ne.useRef(e);return Ur(()=>{t.current=e}),ne.useCallback((...n)=>(0,t.current)(...n),[])}function gt(...e){return ne.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ks(n,t)})},e)}let Oi=!0,zs=!1,Wc;const mM={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 vM(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&mM[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function wM(e){e.metaKey||e.altKey||e.ctrlKey||(Oi=!0)}function Us(){Oi=!1}function DM(){this.visibilityState==="hidden"&&zs&&(Oi=!0)}function IM(e){e.addEventListener("keydown",wM,!0),e.addEventListener("mousedown",Us,!0),e.addEventListener("pointerdown",Us,!0),e.addEventListener("touchstart",Us,!0),e.addEventListener("visibilitychange",DM,!0)}function AM(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Oi||vM(t)}function EM(){const e=ne.useCallback(o=>{o!=null&&IM(o.ownerDocument)},[]),t=ne.useRef(!1);function n(){return t.current?(zs=!0,window.clearTimeout(Wc),Wc=window.setTimeout(()=>{zs=!1},100),t.current=!1,!0):!1}function r(o){return AM(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Vc(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function TM(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 NM(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const jM=Number.isInteger||NM;function Hc(e,t,n,r){const o=e[t];if(o==null||!jM(o)){const i=TM(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function qc(e,t,...n){return e[t]===void 0?null:Hc(e,t,...n)}function Ps(){return null}qc.isRequired=Hc,Ps.isRequired=Ps;const Kc=process.env.NODE_ENV==="production"?Ps:qc;function Gc(e,t){const n=he({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=he({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=he({},i),Object.keys(o).forEach(s=>{n[r][s]=Gc(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function an(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const Jc=e=>e,bM=(()=>{let e=Jc;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Jc}}})(),SM={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function kt(e,t,n="Mui"){const r=SM[t];return r?`${n}-${r}`:`${bM.generate(e)}-${t}`}function mt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=kt(e,o,n)}),r}function xM(e){return typeof e=="function"?e():e}const Li=ne.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=ne.useState(null),c=gt(ne.isValidElement(r)?r.ref:null,n);return Ur(()=>{i||a(xM(o)||document.body)},[o,i]),Ur(()=>{if(s&&!i)return ks(n,s),()=>{ks(n,null)}},[n,s,i]),i?ne.isValidElement(r)?ne.cloneElement(r,{ref:c}):r:s&&Uh.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(Li.propTypes={children:v.node,container:v.oneOfType([Hn,v.func]),disablePortal:v.bool}),process.env.NODE_ENV!=="production"&&(Li["propTypes"]=Yc(Li.propTypes));const CM=Li;function OM(e){const t=St(e);return t.body===e?zr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Pr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Xc(e){return parseInt(zr(e).getComputedStyle(e).paddingRight,10)||0}function Zc(e,t,n,r=[],o){const i=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,a=>{i.indexOf(a)===-1&&s.indexOf(a.tagName)===-1&&Pr(a,o)})}function Rs(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function LM(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(OM(r)){const c=Vc(St(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Xc(r)+c}px`;const u=St(r).querySelectorAll(".mui-fixed");[].forEach.call(u,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Xc(l)+c}px`})}const i=r.parentElement,s=zr(r),a=(i==null?void 0:i.nodeName)==="HTML"&&s.getComputedStyle(i).overflowY==="scroll"?i: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:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function _M(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class kM{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&&Pr(t.modalRef,!1);const o=_M(n);Zc(n,t.mount,t.modalRef,o,!0);const i=Rs(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Rs(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=LM(o,n))}remove(t){const n=this.modals.indexOf(t);if(n===-1)return n;const r=Rs(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&Pr(t.modalRef,!0),Zc(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const i=o.modals[o.modals.length-1];i.modalRef&&Pr(i.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const zM=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function UM(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 PM(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 RM(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||PM(e))}function YM(e){const t=[],n=[];return Array.from(e.querySelectorAll(zM)).forEach((r,o)=>{const i=UM(r);i===-1||!RM(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function FM(){return!0}function _i(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=YM,isEnabled:s=FM,open:a}=e,c=ne.useRef(),u=ne.useRef(null),l=ne.useRef(null),f=ne.useRef(null),d=ne.useRef(null),p=ne.useRef(!1),M=ne.useRef(null),y=gt(t.ref,M),m=ne.useRef(null);ne.useEffect(()=>{!a||!M.current||(p.current=!n)},[n,a]),ne.useEffect(()=>{if(!a||!M.current)return;const N=St(M.current);return M.current.contains(N.activeElement)||(M.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(` +`)),M.current.setAttribute("tabIndex",-1)),p.current&&M.current.focus()),()=>{o||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}},[a]),ne.useEffect(()=>{if(!a||!M.current)return;const N=St(M.current),E=_=>{const{current:J}=M;if(J!==null){if(!N.hasFocus()||r||!s()||c.current){c.current=!1;return}if(!J.contains(N.activeElement)){if(_&&d.current!==_.target||N.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!p.current)return;let ee=[];if((N.activeElement===u.current||N.activeElement===l.current)&&(ee=i(M.current)),ee.length>0){var B,G;const ie=!!((B=m.current)!=null&&B.shiftKey&&((G=m.current)==null?void 0:G.key)==="Tab"),U=ee[0],j=ee[ee.length-1];ie?j.focus():U.focus()}else J.focus()}}},T=_=>{m.current=_,!(r||!s()||_.key!=="Tab")&&N.activeElement===M.current&&_.shiftKey&&(c.current=!0,l.current.focus())};N.addEventListener("focusin",E),N.addEventListener("keydown",T,!0);const Q=setInterval(()=>{N.activeElement.tagName==="BODY"&&E()},50);return()=>{clearInterval(Q),N.removeEventListener("focusin",E),N.removeEventListener("keydown",T,!0)}},[n,r,o,s,a,i]);const w=N=>{f.current===null&&(f.current=N.relatedTarget),p.current=!0,d.current=N.target;const E=t.props.onFocus;E&&E(N)},D=N=>{f.current===null&&(f.current=N.relatedTarget),p.current=!0};return de.jsxs(ne.Fragment,{children:[de.jsx("div",{tabIndex:0,onFocus:D,ref:u,"data-test":"sentinelStart"}),ne.cloneElement(t,{ref:y,onFocus:w}),de.jsx("div",{tabIndex:0,onFocus:D,ref:l,"data-test":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(_i.propTypes={children:_r,disableAutoFocus:v.bool,disableEnforceFocus:v.bool,disableRestoreFocus:v.bool,getTabbable:v.func,isEnabled:v.func,open:v.bool.isRequired}),process.env.NODE_ENV!=="production"&&(_i["propTypes"]=Yc(_i.propTypes));function QM(e){return kt("MuiModal",e)}mt("MuiModal",["root","hidden"]);const BM=["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"],$M=e=>{const{open:t,exited:n,classes:r}=e;return an({root:["root",!t&&n&&"hidden"]},QM,r)};function WM(e){return typeof e=="function"?e():e}function VM(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const HM=new kM,el=ne.forwardRef(function(t,n){const{BackdropComponent:r,BackdropProps:o,children:i,classes:s,className:a,closeAfterTransition:c=!1,component:u="div",components:l={},componentsProps:f={},container:d,disableAutoFocus:p=!1,disableEnforceFocus:M=!1,disableEscapeKeyDown:y=!1,disablePortal:m=!1,disableRestoreFocus:w=!1,disableScrollLock:D=!1,hideBackdrop:N=!1,keepMounted:E=!1,manager:T=HM,onBackdropClick:Q,onClose:_,onKeyDown:J,open:B,theme:G,onTransitionEnter:ee,onTransitionExited:ie}=t,U=Ve(t,BM),[j,C]=ne.useState(!0),H=ne.useRef({}),S=ne.useRef(null),K=ne.useRef(null),ue=gt(K,n),O=VM(t),z=()=>St(S.current),Y=()=>(H.current.modalRef=K.current,H.current.mountNode=S.current,H.current),V=()=>{T.mount(Y(),{disableScrollLock:D}),K.current.scrollTop=0},$=Kn(()=>{const fe=WM(d)||z().body;T.add(Y(),fe),K.current&&V()}),te=ne.useCallback(()=>T.isTopModal(Y()),[T]),b=Kn(fe=>{S.current=fe,fe&&(B&&te()?V():Pr(K.current,!0))}),re=ne.useCallback(()=>{T.remove(Y())},[T]);ne.useEffect(()=>()=>{re()},[re]),ne.useEffect(()=>{B?$():(!O||!c)&&re()},[B,re,O,c,$]);const W=he({},t,{classes:s,closeAfterTransition:c,disableAutoFocus:p,disableEnforceFocus:M,disableEscapeKeyDown:y,disablePortal:m,disableRestoreFocus:w,disableScrollLock:D,exited:j,hideBackdrop:N,keepMounted:E}),oe=$M(W);if(!E&&!B&&(!O||j))return null;const P=()=>{C(!1),ee&&ee()},L=()=>{C(!0),ie&&ie(),c&&re()},R=fe=>{fe.target===fe.currentTarget&&(Q&&Q(fe),_&&_(fe,"backdropClick"))},le=fe=>{J&&J(fe),!(fe.key!=="Escape"||!te())&&(y||(fe.stopPropagation(),_&&_(fe,"escapeKeyDown")))},Z={};i.props.tabIndex===void 0&&(Z.tabIndex="-1"),O&&(Z.onEnter=$c(P,i.props.onEnter),Z.onExited=$c(L,i.props.onExited));const ce=l.Root||u,ge=f.root||{};return de.jsx(CM,{ref:b,container:d,disablePortal:m,children:de.jsxs(ce,he({role:"presentation"},ge,!kc(ce)&&{as:u,ownerState:he({},W,ge.ownerState),theme:G},U,{ref:ue,onKeyDown:le,className:et(oe.root,ge.className,a),children:[!N&&r?de.jsx(r,he({"aria-hidden":!0,open:B,onClick:R},o)):null,de.jsx(_i,{disableEnforceFocus:M,disableAutoFocus:p,disableRestoreFocus:w,isEnabled:te,open:B,children:ne.cloneElement(i,Z)})]}))})});process.env.NODE_ENV!=="production"&&(el.propTypes={BackdropComponent:v.elementType,BackdropProps:v.object,children:_r.isRequired,classes:v.object,className:v.string,closeAfterTransition:v.bool,component:v.elementType,components:v.shape({Root:v.elementType}),componentsProps:v.shape({root:v.object}),container:v.oneOfType([Hn,v.func]),disableAutoFocus:v.bool,disableEnforceFocus:v.bool,disableEscapeKeyDown:v.bool,disablePortal:v.bool,disableRestoreFocus:v.bool,disableScrollLock:v.bool,hideBackdrop:v.bool,keepMounted:v.bool,onBackdropClick:v.func,onClose:v.func,onKeyDown:v.func,open:v.bool.isRequired});const qM=el;function KM(e){if(e.sheet)return e.sheet;for(var t=0;t0?nt(Jn,--ft):0,Gn--,Xe===10&&(Gn=1,Pi--),Xe}function pt(){return Xe=ft2||Qr(Xe)>3?"":" "}function uy(e,t){for(;--t&&pt()&&!(Xe<48||Xe>102||Xe>57&&Xe<65||Xe>70&&Xe<97););return Fr(e,Yi()+(t<6&&Ut()==32&&pt()==32))}function Ws(e){for(;pt();)switch(Xe){case e:return ft;case 34:case 39:e!==34&&e!==39&&Ws(Xe);break;case 40:e===41&&Ws(e);break;case 92:pt();break}return ft}function cy(e,t){for(;pt()&&e+Xe!==47+10;)if(e+Xe===42+42&&Ut()===47)break;return"/*"+Fr(t,ft-1)+"*"+zi(e===47?e:pt())}function ly(e){for(;!Qr(Ut());)pt();return Fr(e,ft)}function fy(e){return ol(Qi("",null,null,null,[""],e=il(e),0,[0],e))}function Qi(e,t,n,r,o,i,s,a,c){for(var u=0,l=0,f=s,d=0,p=0,M=0,y=1,m=1,w=1,D=0,N="",E=o,T=i,Q=r,_=N;m;)switch(M=D,D=pt()){case 40:if(M!=108&&nt(_,f-1)==58){Bs(_+=Ce(Fi(D),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:_+=Fi(D);break;case 9:case 10:case 13:case 32:_+=ay(M);break;case 92:_+=uy(Yi()-1,7);continue;case 47:switch(Ut()){case 42:case 47:Ui(dy(cy(pt(),Yi()),t,n),c);break;default:_+="/"}break;case 123*y:a[u++]=zt(_)*w;case 125*y:case 59:case 0:switch(D){case 0:case 125:m=0;case 59+l:w==-1&&(_=Ce(_,/\f/g,"")),p>0&&zt(_)-f&&Ui(p>32?al(_+";",r,n,f-1):al(Ce(_," ","")+";",r,n,f-2),c);break;case 59:_+=";";default:if(Ui(Q=sl(_,t,n,u,l,o,a,N,E=[],T=[],f),i),D===123)if(l===0)Qi(_,t,Q,Q,E,i,f,a,T);else switch(d===99&&nt(_,3)===110?100:d){case 100:case 108:case 109:case 115:Qi(e,Q,Q,r&&Ui(sl(e,Q,Q,0,0,o,a,N,o,E=[],f),T),o,T,f,a,r?E:T);break;default:Qi(_,Q,Q,Q,[""],T,0,a,T)}}u=l=p=0,y=w=1,N=_="",f=s;break;case 58:f=1+zt(_),p=M;default:if(y<1){if(D==123)--y;else if(D==125&&y++==0&&sy()==125)continue}switch(_+=zi(D),D*y){case 38:w=l>0?1:(_+="\f",-1);break;case 44:a[u++]=(zt(_)-1)*w,w=1;break;case 64:Ut()===45&&(_+=Fi(pt())),d=Ut(),l=f=zt(N=_+=ly(Yi())),D++;break;case 45:M===45&&zt(_)==2&&(y=0)}}return i}function sl(e,t,n,r,o,i,s,a,c,u,l){for(var f=o-1,d=o===0?i:[""],p=$s(d),M=0,y=0,m=0;M0?d[w]+" "+D:Ce(D,/&\f/g,d[w])))&&(c[m++]=N);return Ri(e,t,n,o===0?Fs:a,c,u,l)}function dy(e,t,n){return Ri(e,t,n,Ys,zi(oy()),Rr(e,2,-2),0)}function al(e,t,n,r){return Ri(e,t,n,Qs,Rr(e,0,r),Rr(e,r+1,-1),r)}function Xn(e,t){for(var n="",r=$s(e),o=0;o-1},Ay=function(t){return function(n,r,o){if(!(n.type!=="rule"||t.compat)){var i=n.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var s=!!n.parent,a=s?n.parent.children:o,c=a.length-1;c>=0;c--){var u=a[c];if(u.line=0;r--)if(!cl(n[r]))return!0;return!1},ll=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Ty=function(t,n,r){cl(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."),ll(t)):Ey(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ll(t)))};function fl(e,t){switch(ny(e,t)){case 5103:return xe+"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 xe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return xe+e+ki+e+ot+e+e;case 6828:case 4268:return xe+e+ot+e+e;case 6165:return xe+e+ot+"flex-"+e+e;case 5187:return xe+e+Ce(e,/(\w+).+(:[^]+)/,xe+"box-$1$2"+ot+"flex-$1$2")+e;case 5443:return xe+e+ot+"flex-item-"+Ce(e,/flex-|-self/,"")+e;case 4675:return xe+e+ot+"flex-line-pack"+Ce(e,/align-content|flex-|-self/,"")+e;case 5548:return xe+e+ot+Ce(e,"shrink","negative")+e;case 5292:return xe+e+ot+Ce(e,"basis","preferred-size")+e;case 6060:return xe+"box-"+Ce(e,"-grow","")+xe+e+ot+Ce(e,"grow","positive")+e;case 4554:return xe+Ce(e,/([^-])(transform)/g,"$1"+xe+"$2")+e;case 6187:return Ce(Ce(Ce(e,/(zoom-|grab)/,xe+"$1"),/(image-set)/,xe+"$1"),e,"")+e;case 5495:case 3959:return Ce(e,/(image-set\([^]*)/,xe+"$1$`$1");case 4968:return Ce(Ce(e,/(.+:)(flex-)?(.*)/,xe+"box-pack:$3"+ot+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xe+e+e;case 4095:case 3583:case 4068:case 2532:return Ce(e,/(.+)-inline(.+)/,xe+"$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(zt(e)-1-t>6)switch(nt(e,t+1)){case 109:if(nt(e,t+4)!==45)break;case 102:return Ce(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+ki+(nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Bs(e,"stretch")?fl(Ce(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(nt(e,t+1)!==115)break;case 6444:switch(nt(e,zt(e)-3-(~Bs(e,"!important")&&10))){case 107:return Ce(e,":",":"+xe)+e;case 101:return Ce(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(nt(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+ot+"$2box$3")+e}break;case 5936:switch(nt(e,t+11)){case 114:return xe+e+ot+Ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+ot+Ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+ot+Ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+ot+e+e}return e}var Ny=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Qs:t.return=fl(t.value,t.length);break;case tl:return Xn([Yr(t,{value:Ce(t.value,"@","@"+xe)})],o);case Fs:if(t.length)return iy(t.props,function(i){switch(ry(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xn([Yr(t,{props:[Ce(i,/:(read-\w+)/,":"+ki+"$1")]})],o);case"::placeholder":return Xn([Yr(t,{props:[Ce(i,/:(plac\w+)/,":"+xe+"input-$1")]}),Yr(t,{props:[Ce(i,/:(plac\w+)/,":"+ki+"$1")]}),Yr(t,{props:[Ce(i,/:(plac\w+)/,ot+"input-$1")]})],o)}return""})}},jy=[Ny],by=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(y){var m=y.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||jy;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 i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var m=y.getAttribute("data-emotion").split(" "),w=1;w=4;++r,o-=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(o){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 Cy={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},dl=`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`,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(` +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Oy="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Ly=/[A-Z]|^ms/g,hl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Hs=function(t){return t.charCodeAt(1)===45},gl=function(t){return t!=null&&typeof t!="boolean"},qs=ju(function(e){return Hs(e)?e:e.replace(Ly,"-$&").toLowerCase()}),Wi=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(hl,function(r,o,i){return xt={name:o,styles:i,next:xt},o})}return Cy[t]!==1&&!Hs(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var _y=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ky=["normal","none","initial","inherit","unset"],zy=Wi,Uy=/^-ms-/,Py=/-(.)/g,pl={};Wi=function(t,n){if(t==="content"&&(typeof n!="string"||ky.indexOf(n)===-1&&!_y.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=zy(t,n);return r!==""&&!Hs(t)&&t.indexOf("-")!==-1&&pl[t]===void 0&&(pl[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Uy,"ms-").replace(Py,function(o,i){return i.toUpperCase()})+"?")),r}}var Ml="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Br(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(Ml);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return xt={name:n.name,styles:n.styles,next:xt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)xt={name:r.name,styles:r.styles,next:xt},r=r.next;var o=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(o+=n.map),o}return Ry(e,t,n)}case"function":{if(e!==void 0){var i=xt,s=n(e);return xt=i,Br(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=[],c=n.replace(hl,function(l,f,d){var p="animation"+a.length;return a.push("const "+p+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});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,["`"+c+"`"]).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 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. +`+("css`"+c+"`"))}break}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function Ry(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=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"}},Il=ne["useInsertionEffect"]?ne["useInsertionEffect"]:F.useLayoutEffect,Al=!1,Wy=Vi(function(e,t){process.env.NODE_ENV!=="production"&&!Al&&(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?"),Al=!0);var n=e.styles,r=Zn([n],void 0,F.useContext(er)),o=F.useRef();return Il(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,c=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(a=!0,c.setAttribute("data-emotion",i),s.hydrate([c])),o.current=[s,a],function(){s.flush()}},[t]),Il(function(){var i=o.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(r.next!==void 0&&$i(t,r.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(Wy.displayName="EmotionGlobal");function Vy(){for(var e=arguments.length,t=new Array(e),n=0;n component."),s="";for(var a in i)i[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=i}s&&(o&&(o+=" "),o+=s)}}return o};function qy(e,t,n){var r=[],o=Vs(e,r,n);return r.length<2?n:o+t(r)}var Ky=function(t){var n=t.cache,r=t.serializedArr;return vl(function(){for(var o=0;o96?Xy:Zy},bl=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},em=ne["useInsertionEffect"]?ne["useInsertionEffect"]:function(t){t()};function tm(e){em(e)}var Sl=`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`,cw=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return mo(n,r,i),uw(function(){return vo(n,r,i)}),null},lw=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=ff(t,n,r),u=a||lf(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(df),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 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(` + */function am(e,t){const n=sm(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` +`)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}const um=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},cm=["values","unit","step"],lm=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)=>he({},n,{[r.key]:r.val}),{})};function fm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ve(e,cm),i=lm(t),s=Object.keys(i);function a(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function c(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function u(d,p){const M=s.indexOf(p);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(M!==-1&&typeof t[s[M]]=="number"?t[s[M]]:p)-r/100}${n})`}function l(d){return s.indexOf(d)+1`@media (min-width:${Xs[e]}px)`};function $t(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||xl;return t.reduce((s,a,c)=>(s[i.up(i.keys[c])]=n(t[c]),s),{})}if(typeof t=="object"){const i=r.breakpoints||xl;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Xs).indexOf(a)!==-1){const c=i.up(a);s[c]=n(t[a],a)}else{const c=a;s[c]=t[c]}return s},{})}return n(t)}function hm(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function gm(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Hi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function qi(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Hi(e,n)||r,t&&(o=t(o,r,e)),o}function Pe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],c=s.theme,u=Hi(c,r)||{};return $t(s,a,f=>{let d=qi(u,o,f);return f===d&&typeof f=="string"&&(d=qi(u,o,`${t}${f==="default"?"":qn(f)}`,f)),n===!1?d:{[n]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:un}:{},i.filterProps=[t],i}function pm(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Mm={m:"margin",p:"padding"},ym={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Cl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},mm=pm(e=>{if(e.length>2)if(Cl[e])e=Cl[e];else return[e];const[t,n]=e.split(""),r=Mm[t],o=ym[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Ki=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vm=[...Ki,...Gi];function Wr(e,t,n,r){var o;const i=(o=Hi(e,t,!1))!=null?o:n;return typeof i=="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}.`),i*s):Array.isArray(i)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>i.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${s} > ${i.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 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. +`))),i[s]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(` +`)),()=>{})}function Ol(e){return Wr(e,"spacing",8,"spacing")}function Vr(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 wm(e,t){return n=>e.reduce((r,o)=>(r[o]=Vr(t,n),r),{})}function Dm(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=mm(n),i=wm(o,r),s=e[n];return $t(e,s,i)}function Ll(e,t){const n=Ol(e.theme);return Object.keys(e).map(r=>Dm(e,t,r,n)).reduce($r,{})}function qe(e){return Ll(e,Ki)}qe.propTypes=process.env.NODE_ENV!=="production"?Ki.reduce((e,t)=>(e[t]=un,e),{}):{},qe.filterProps=Ki;function Ke(e){return Ll(e,Gi)}Ke.propTypes=process.env.NODE_ENV!=="production"?Gi.reduce((e,t)=>(e[t]=un,e),{}):{},Ke.filterProps=Gi,process.env.NODE_ENV!=="production"&&vm.reduce((e,t)=>(e[t]=un,e),{});function Im(e=8){if(e.mui)return e;const t=Ol({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(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function Ji(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?$r(o,t[i](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Pt(e){return typeof e!="number"?e:`${e}px solid`}const Am=Pe({prop:"border",themeKey:"borders",transform:Pt}),Em=Pe({prop:"borderTop",themeKey:"borders",transform:Pt}),Tm=Pe({prop:"borderRight",themeKey:"borders",transform:Pt}),Nm=Pe({prop:"borderBottom",themeKey:"borders",transform:Pt}),jm=Pe({prop:"borderLeft",themeKey:"borders",transform:Pt}),bm=Pe({prop:"borderColor",themeKey:"palette"}),Sm=Pe({prop:"borderTopColor",themeKey:"palette"}),xm=Pe({prop:"borderRightColor",themeKey:"palette"}),Cm=Pe({prop:"borderBottomColor",themeKey:"palette"}),Om=Pe({prop:"borderLeftColor",themeKey:"palette"}),Xi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Wr(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Vr(t,r)});return $t(e,e.borderRadius,n)}return null};Xi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:un}:{},Xi.filterProps=["borderRadius"],Ji(Am,Em,Tm,Nm,jm,bm,Sm,xm,Cm,Om,Xi);const Zi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Wr(e.theme,"spacing",8,"gap"),n=r=>({gap:Vr(t,r)});return $t(e,e.gap,n)}return null};Zi.propTypes=process.env.NODE_ENV!=="production"?{gap:un}:{},Zi.filterProps=["gap"];const eo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Wr(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Vr(t,r)});return $t(e,e.columnGap,n)}return null};eo.propTypes=process.env.NODE_ENV!=="production"?{columnGap:un}:{},eo.filterProps=["columnGap"];const to=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Wr(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Vr(t,r)});return $t(e,e.rowGap,n)}return null};to.propTypes=process.env.NODE_ENV!=="production"?{rowGap:un}:{},to.filterProps=["rowGap"];const Lm=Pe({prop:"gridColumn"}),_m=Pe({prop:"gridRow"}),km=Pe({prop:"gridAutoFlow"}),zm=Pe({prop:"gridAutoColumns"}),Um=Pe({prop:"gridAutoRows"}),Pm=Pe({prop:"gridTemplateColumns"}),Rm=Pe({prop:"gridTemplateRows"}),Ym=Pe({prop:"gridTemplateAreas"}),Fm=Pe({prop:"gridArea"});Ji(Zi,eo,to,Lm,_m,km,zm,Um,Pm,Rm,Ym,Fm);function tr(e,t){return t==="grey"?t:e}const Qm=Pe({prop:"color",themeKey:"palette",transform:tr}),Bm=Pe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:tr}),$m=Pe({prop:"backgroundColor",themeKey:"palette",transform:tr});Ji(Qm,Bm,$m);function Mt(e){return e<=1&&e!==0?`${e*100}%`:e}const Wm=Pe({prop:"width",transform:Mt}),Zs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Xs[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Mt(n)}};return $t(e,e.maxWidth,t)}return null};Zs.filterProps=["maxWidth"];const Vm=Pe({prop:"minWidth",transform:Mt}),Hm=Pe({prop:"height",transform:Mt}),qm=Pe({prop:"maxHeight",transform:Mt}),Km=Pe({prop:"minHeight",transform:Mt});Pe({prop:"size",cssProperty:"width",transform:Mt}),Pe({prop:"size",cssProperty:"height",transform:Mt});const Gm=Pe({prop:"boxSizing"});Ji(Wm,Zs,Vm,Hm,qm,Km,Gm);const _l={border:{themeKey:"borders",transform:Pt},borderTop:{themeKey:"borders",transform:Pt},borderRight:{themeKey:"borders",transform:Pt},borderBottom:{themeKey:"borders",transform:Pt},borderLeft:{themeKey:"borders",transform:Pt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Xi},color:{themeKey:"palette",transform:tr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:tr},backgroundColor:{themeKey:"palette",transform:tr},p:{style:Ke},pt:{style:Ke},pr:{style:Ke},pb:{style:Ke},pl:{style:Ke},px:{style:Ke},py:{style:Ke},padding:{style:Ke},paddingTop:{style:Ke},paddingRight:{style:Ke},paddingBottom:{style:Ke},paddingLeft:{style:Ke},paddingX:{style:Ke},paddingY:{style:Ke},paddingInline:{style:Ke},paddingInlineStart:{style:Ke},paddingInlineEnd:{style:Ke},paddingBlock:{style:Ke},paddingBlockStart:{style:Ke},paddingBlockEnd:{style:Ke},m:{style:qe},mt:{style:qe},mr:{style:qe},mb:{style:qe},ml:{style:qe},mx:{style:qe},my:{style:qe},margin:{style:qe},marginTop:{style:qe},marginRight:{style:qe},marginBottom:{style:qe},marginLeft:{style:qe},marginX:{style:qe},marginY:{style:qe},marginInline:{style:qe},marginInlineStart:{style:qe},marginInlineEnd:{style:qe},marginBlock:{style:qe},marginBlockStart:{style:qe},marginBlockEnd:{style:qe},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:Zi},rowGap:{style:to},columnGap:{style:eo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Mt},maxWidth:{style:Zs},minWidth:{transform:Mt},height:{transform:Mt},maxHeight:{transform:Mt},minHeight:{transform:Mt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Jm(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Xm(e,t){return typeof e=="function"?e(t):e}function Zm(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:c=n,themeKey:u,transform:l,style:f}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=Hi(o,u)||{};return f?f(s):$t(s,r,M=>{let y=qi(d,l,M);return M===y&&typeof M=="string"&&(y=qi(d,l,`${n}${M==="default"?"":qn(M)}`,M)),c===!1?y:{[c]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:_l;function a(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const l=hm(i.breakpoints),f=Object.keys(l);let d=l;return Object.keys(u).forEach(p=>{const M=Xm(u[p],i);if(M!=null)if(typeof M=="object")if(s[p])d=$r(d,e(p,M,i,s));else{const y=$t({theme:i},M,m=>({[p]:m}));Jm(y,M)?d[p]=t({sx:M,theme:i}):d=$r(d,y)}else d=$r(d,e(p,M,i,s))}),gm(f,d)}return Array.isArray(o)?o.map(a):a(o)}return t}const kl=Zm();kl.filterProps=["sx"];const zl=kl,ev=["breakpoints","palette","spacing","shape"];function ea(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Ve(e,ev),a=fm(n),c=Im(o);let u=Bt({breakpoints:a,direction:"ltr",components:{},palette:he({mode:"light"},r),spacing:c,shape:he({},dm,i)},s);return u=t.reduce((l,f)=>Bt(l,f),u),u.unstable_sxConfig=he({},_l,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(f){return zl({sx:f,theme:this})},u}function tv(e){return Object.keys(e).length===0}function nv(e=null){const t=ne.useContext(er);return!t||tv(t)?e:t}const rv=ea();function Ul(e=rv){return nv(e)}const iv=["variant"];function Pl(e){return e.length===0}function Rl(e){const{variant:t}=e,n=Ve(e,iv);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=Pl(r)?e[o]:qn(e[o]):r+=`${Pl(r)?o:qn(o)}${qn(e[o].toString())}`}),r}const ov=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function sv(e){return Object.keys(e).length===0}function av(e){return typeof e=="string"&&e.charCodeAt(0)>96}const uv=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,cv=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const i=Rl(o.props);r[i]=o.style}),r},lv=(e,t,n,r)=>{var o;const{ownerState:i={}}=e,s=[],a=n==null||(o=n.components)==null||(o=o[r])==null?void 0:o.variants;return a&&a.forEach(c=>{let u=!0;Object.keys(c.props).forEach(l=>{i[l]!==c.props[l]&&e[l]!==c.props[l]&&(u=!1)}),u&&s.push(t[Rl(c.props)])}),s};function no(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const fv=ea(),Yl=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Hr({defaultTheme:e,theme:t,themeId:n}){return sv(t)?e:t[n]||t}function dv(e){return e?(t,n)=>n[e]:null}function hv(e={}){const{themeId:t,defaultTheme:n=fv,rootShouldForwardProp:r=no,slotShouldForwardProp:o=no}=e,i=s=>zl(he({},s,{theme:Hr(he({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{um(s,E=>E.filter(T=>!(T!=null&&T.__mui_systemSx)));const{name:c,slot:u,skipVariantsResolver:l,skipSx:f,overridesResolver:d=dv(Yl(u))}=a,p=Ve(a,ov),M=l!==void 0?l:u&&u!=="Root"&&u!=="root"||!1,y=f||!1;let m;process.env.NODE_ENV!=="production"&&c&&(m=`${c}-${Yl(u||"Root")}`);let w=no;u==="Root"||u==="root"?w=r:u?w=o:av(s)&&(w=void 0);const D=am(s,he({shouldForwardProp:w,label:m},p)),N=(E,...T)=>{const Q=T?T.map(G=>typeof G=="function"&&G.__emotion_real!==G?ee=>G(he({},ee,{theme:Hr(he({},ee,{defaultTheme:n,themeId:t}))})):G):[];let _=E;c&&d&&Q.push(G=>{const ee=Hr(he({},G,{defaultTheme:n,themeId:t})),ie=uv(c,ee);if(ie){const U={};return Object.entries(ie).forEach(([j,C])=>{U[j]=typeof C=="function"?C(he({},G,{theme:ee})):C}),d(G,U)}return null}),c&&!M&&Q.push(G=>{const ee=Hr(he({},G,{defaultTheme:n,themeId:t}));return lv(G,cv(c,ee),ee,c)}),y||Q.push(i);const J=Q.length-T.length;if(Array.isArray(E)&&J>0){const G=new Array(J).fill("");_=[...E,...G],_.raw=[...E.raw,...G]}else typeof E=="function"&&E.__emotion_real!==E&&(_=G=>E(he({},G,{theme:Hr(he({},G,{defaultTheme:n,themeId:t}))})));const B=D(_,...Q);if(process.env.NODE_ENV!=="production"){let G;c&&(G=`${c}${qn(u||"")}`),G===void 0&&(G=`Styled(${MM(s)})`),B.displayName=G}return s.muiName&&(B.muiName=s.muiName),B};return D.withConfig&&(N.withConfig=D.withConfig),N}}function gv(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Gc(t.components[n].defaultProps,r)}function pv({props:e,name:t,defaultTheme:n,themeId:r}){let o=Ul(n);return r&&(o=o[r]||o),gv({theme:o,name:t,props:e})}function ta(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 Mv(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,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Tn(e){if(e.type)return e;if(e.charAt(0)==="#")return Tn(Mv(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().`:kr(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=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(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space. +The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:kr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function ro(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):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 yv(e){e=Tn(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,l=(u+n/30)%12)=>o-i*Math.max(Math.min(l-3,9-l,1),-1);let a="rgb";const c=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",c.push(t[3])),ro({type:a,values:c})}function Fl(e){e=Tn(e);let t=e.type==="hsl"||e.type==="hsla"?Tn(yv(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 Ql(e,t){const n=Fl(e),r=Fl(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function nr(e,t){return e=Tn(e),t=ta(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ro(e)}function mv(e,t){if(e=Tn(e),t=ta(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 ro(e)}function vv(e,t){if(e=Tn(e),t=ta(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 ro(e)}function wv(e,t){return he({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const qr={black:"#000",white:"#fff"},Dv={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"},rr={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"},ir={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"},Kr={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"},or={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"},sr={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"},ar={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"},Iv=["mode","contrastThreshold","tonalOffset"],Bl={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:qr.white,default:qr.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}},na={text:{primary:qr.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:qr.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 $l(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=vv(e.main,o):t==="dark"&&(e.dark=mv(e.main,i)))}function Av(e="light"){return e==="dark"?{main:or[200],light:or[50],dark:or[400]}:{main:or[700],light:or[400],dark:or[800]}}function Ev(e="light"){return e==="dark"?{main:rr[200],light:rr[50],dark:rr[400]}:{main:rr[500],light:rr[300],dark:rr[700]}}function Tv(e="light"){return e==="dark"?{main:ir[500],light:ir[300],dark:ir[700]}:{main:ir[700],light:ir[400],dark:ir[800]}}function Nv(e="light"){return e==="dark"?{main:sr[400],light:sr[300],dark:sr[700]}:{main:sr[700],light:sr[500],dark:sr[900]}}function jv(e="light"){return e==="dark"?{main:ar[400],light:ar[300],dark:ar[700]}:{main:ar[800],light:ar[500],dark:ar[900]}}function bv(e="light"){return e==="dark"?{main:Kr[400],light:Kr[300],dark:Kr[700]}:{main:"#ed6c02",light:Kr[500],dark:Kr[900]}}function Sv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ve(e,Iv),i=e.primary||Av(t),s=e.secondary||Ev(t),a=e.error||Tv(t),c=e.info||Nv(t),u=e.success||jv(t),l=e.warning||bv(t);function f(y){const m=Ql(y,na.text.primary)>=n?na.text.primary:Bl.text.primary;if(process.env.NODE_ENV!=="production"){const w=Ql(y,m);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${m} on ${y}`,"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:y,name:m,mainShade:w=500,lightShade:D=300,darkShade:N=700})=>{if(y=he({},y),!y.main&&y[w]&&(y.main=y[w]),!y.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 \`${w}\` property.`:kr(11,m?` (${m})`:"",w));if(typeof y.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(y.main)}\` was provided instead. Did you intend to use one of the following approaches? @@ -234,15 +234,15 @@ const theme1 = createTheme({ palette: { const theme2 = createTheme({ palette: { primary: { main: green[500] }, -} });`: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(` +} });`:kr(12,m?` (${m})`:"",JSON.stringify(y.main)));return $l(y,"light",D,r),$l(y,"dark",N,r),y.contrastText||(y.contrastText=f(y.main)),y},p={dark:na,light:Bl};return process.env.NODE_ENV!=="production"&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Bt(he({common:he({},qr),mode:t,primary:d({color:i,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:c,name:"info"}),success:d({color:u,name:"success"}),grey:Dv,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},p[t]),o)}const xv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Cv(e){return Math.round(e*1e5)/1e5}const Wl={textTransform:"uppercase"},Vl='"Roboto", "Helvetica", "Arial", sans-serif';function Ov(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Vl,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:l,pxToRem:f}=n,d=Ve(n,xv);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=o/14,M=f||(w=>`${w/u*p}rem`),y=(w,D,N,E,T)=>he({fontFamily:r,fontWeight:w,fontSize:M(D),lineHeight:N},r===Vl?{letterSpacing:`${Cv(E/D)}em`}:{},T,l),m={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(a,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(a,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(a,14,1.75,.4,Wl),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,Wl)};return Bt(he({htmlFontSize:u,pxToRem:M,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:c},m),d,{clone:!1})}const Lv=.2,_v=.14,kv=.12;function He(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Lv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_v})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${kv})`].join(",")}const zv=["none",He(0,2,1,-1,0,1,1,0,0,1,3,0),He(0,3,1,-2,0,2,2,0,0,1,5,0),He(0,3,3,-2,0,3,4,0,0,1,8,0),He(0,2,4,-1,0,4,5,0,0,1,10,0),He(0,3,5,-1,0,5,8,0,0,1,14,0),He(0,3,5,-1,0,6,10,0,0,1,18,0),He(0,4,5,-2,0,7,10,1,0,2,16,1),He(0,5,5,-3,0,8,10,1,0,3,14,2),He(0,5,6,-3,0,9,12,1,0,3,16,2),He(0,6,6,-3,0,10,14,1,0,4,18,3),He(0,6,7,-4,0,11,15,1,0,4,20,3),He(0,7,8,-4,0,12,17,2,0,5,22,4),He(0,7,8,-4,0,13,19,2,0,5,24,4),He(0,7,9,-4,0,14,21,2,0,5,26,4),He(0,8,9,-5,0,15,22,2,0,6,28,5),He(0,8,10,-5,0,16,24,2,0,6,30,5),He(0,8,11,-5,0,17,26,2,0,6,32,5),He(0,9,11,-5,0,18,28,2,0,7,34,6),He(0,9,12,-6,0,19,29,2,0,7,36,6),He(0,10,13,-6,0,20,31,3,0,8,38,7),He(0,10,13,-6,0,21,33,3,0,8,40,7),He(0,10,14,-6,0,22,35,3,0,8,42,7),He(0,11,14,-7,0,23,36,3,0,9,44,8),He(0,11,15,-7,0,24,38,3,0,9,46,8)],Uv=["duration","easing","delay"],Pv={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)"},Rv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hl(e){return`${Math.round(e)}ms`}function Yv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Fv(e){const t=he({},Pv,e.easing),n=he({},Rv,e.duration);return he({getAutoHeightDuration:Yv,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:c=0}=i,u=Ve(i,Uv);if(process.env.NODE_ENV!=="production"){const l=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!l(o)&&!Array.isArray(o)&&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(c)&&!l(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof s=="string"?s:Hl(s)} ${a} ${typeof c=="string"?c:Hl(c)}`).join(",")}},e,{easing:t,duration:n})}const Qv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Bv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function $v(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=Ve(e,Bv),a=Sv(r),c=ea(e);let u=Bt(c,{mixins:wv(c.breakpoints,n),palette:a,shadows:zv.slice(),typography:Ov(a,i),transitions:Fv(o),zIndex:he({},Qv)});if(u=Bt(u,s),u=t.reduce((l,f)=>Bt(l,f),u),process.env.NODE_ENV!=="production"){const l=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,p)=>{let M;for(M in d){const y=d[M];if(l.indexOf(M)!==-1&&Object.keys(y).length>0){if(process.env.NODE_ENV!=="production"){const m=kt("",M);console.error([`MUI: The \`${p}\` component increases the CSS specificity of the \`${M}\` 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}`]:y}},null,2),"","https://mui.com/r/state-classes-guide"].join(` +`))}d[M]={}}}};Object.keys(u.components).forEach(d=>{const p=u.components[d].styleOverrides;p&&d.indexOf("Mui")===0&&f(p,d)})}return u}const ra=$v(),ia=e=>no(e)&&e!=="classes",dt=hv({defaultTheme:ra,rootShouldForwardProp:ia});function Wt({props:e,name:t}){return pv({props:e,name:t,defaultTheme:ra})}const ql=ne.createContext({});process.env.NODE_ENV!=="production"&&(ql.displayName="ListContext");const oa=ql;function Wv(e){return kt("MuiList",e)}mt("MuiList",["root","padding","dense","subheader"]);const Vv=["children","className","component","dense","disablePadding","subheader"],Hv=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return an({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Wv,t)},qv=dt("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})=>he({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Kl=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:c=!1,subheader:u}=r,l=Ve(r,Vv),f=ne.useMemo(()=>({dense:a}),[a]),d=he({},r,{component:s,dense:a,disablePadding:c}),p=Hv(d);return de.jsx(oa.Provider,{value:f,children:de.jsxs(qv,he({as:s,className:et(p.root,i),ref:n,ownerState:d},l,{children:[u,o]}))})});process.env.NODE_ENV!=="production"&&(Kl.propTypes={children:v.node,classes:v.object,className:v.string,component:v.elementType,dense:v.bool,disablePadding:v.bool,subheader:v.node,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object])});const Kv=Kl,Gv=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function sa(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Gl(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Jl(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 Gr(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const c=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!Jl(a,i)||c)a=o(e,a,n);else return a.focus(),!0}return!1}const Xl=ne.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:l,variant:f="selectedMenu"}=t,d=Ve(t,Gv),p=ne.useRef(null),M=ne.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ur(()=>{o&&p.current.focus()},[o]),ne.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(N,E)=>{const T=!p.current.style.width;if(N.clientHeight{const E=p.current,T=N.key,Q=St(E).activeElement;if(T==="ArrowDown")N.preventDefault(),Gr(E,Q,u,c,sa);else if(T==="ArrowUp")N.preventDefault(),Gr(E,Q,u,c,Gl);else if(T==="Home")N.preventDefault(),Gr(E,null,u,c,sa);else if(T==="End")N.preventDefault(),Gr(E,null,u,c,Gl);else if(T.length===1){const _=M.current,J=T.toLowerCase(),B=performance.now();_.keys.length>0&&(B-_.lastTime>500?(_.keys=[],_.repeating=!0,_.previousKeyMatched=!0):_.repeating&&J!==_.keys[0]&&(_.repeating=!1)),_.lastTime=B,_.keys.push(J);const G=Q&&!_.repeating&&Jl(Q,_);_.previousKeyMatched&&(G||Gr(E,Q,!1,c,sa,_))?N.preventDefault():_.previousKeyMatched=!1}l&&l(N)},m=gt(p,n);let w=-1;ne.Children.forEach(s,(N,E)=>{ne.isValidElement(N)&&(process.env.NODE_ENV!=="production"&&Lc.isFragment(N)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(` +`)),N.props.disabled||(f==="selectedMenu"&&N.props.selected||w===-1)&&(w=E))});const D=ne.Children.map(s,(N,E)=>{if(E===w){const T={};return i&&(T.autoFocus=!0),N.props.tabIndex===void 0&&f==="selectedMenu"&&(T.tabIndex=0),ne.cloneElement(N,T)}return N});return de.jsx(Kv,he({role:"menu",ref:m,className:a,onKeyDown:y,tabIndex:o?0:-1},d,{children:D}))});process.env.NODE_ENV!=="production"&&(Xl.propTypes={autoFocus:v.bool,autoFocusItem:v.bool,children:v.node,className:v.string,disabledItemsFocusable:v.bool,disableListWrap:v.bool,onKeyDown:v.func,variant:v.oneOf(["menu","selectedMenu"])});const Jv=Xl;function io(){const e=Ul(ra);return process.env.NODE_ENV!=="production"&&ne.useDebugValue(e),e}function Xv(e){return kt("MuiPaper",e)}mt("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 Zv=["className","component","elevation","square","variant"],Zl=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},ew=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return an(i,Xv,o)},tw=dt("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 he({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"&&he({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${nr("#fff",Zl(t.elevation))}, ${nr("#fff",Zl(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),ef=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:a=!1,variant:c="elevation"}=r,u=Ve(r,Zv),l=he({},r,{component:i,elevation:s,square:a,variant:c}),f=ew(l);return process.env.NODE_ENV!=="production"&&io().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(` +`)),de.jsx(tw,he({as:i,ownerState:l,className:et(f.root,o),ref:n},u))});process.env.NODE_ENV!=="production"&&(ef.propTypes={children:v.node,classes:v.object,className:v.string,component:v.elementType,elevation:Lr(Kc,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:v.bool,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object]),variant:v.oneOfType([v.oneOf(["elevation","outlined"]),v.string])});const tf=ef;function aa(e,t){return aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},aa(e,t)}function nf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,aa(e,t)}const rf={disabled:!1};var nw=process.env.NODE_ENV!=="production"?v.oneOfType([v.number,v.shape({enter:v.number,exit:v.number,appear:v.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&v.oneOfType([v.string,v.shape({enter:v.string,exit:v.string,active:v.string}),v.shape({enter:v.string,enterDone:v.string,enterActive:v.string,exit:v.string,exitDone:v.string,exitActive:v.string})]);const oo=F.createContext(null);var rw=function(t){return t.scrollTop},Jr="unmounted",Nn="exited",jn="entering",ur="entered",ua="exiting",Vt=function(e){nf(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,c;return i.appearStatus=null,r.in?a?(c=Nn,i.appearStatus=jn):c=ur:r.unmountOnExit||r.mountOnEnter?c=Jr:c=Nn,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Jr?{status:Nn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==jn&&s!==ur&&(i=jn):(s===jn||s===ur)&&(i=ua)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===jn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:yn.findDOMNode(this);s&&rw(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Nn&&this.setState({status:Jr})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,c=this.props.nodeRef?[a]:[yn.findDOMNode(this),a],u=c[0],l=c[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!o&&!s||rf.disabled){this.safeSetState({status:ur},function(){i.props.onEntered(u)});return}this.props.onEnter(u,l),this.safeSetState({status:jn},function(){i.props.onEntering(u,l),i.onTransitionEnd(d,function(){i.safeSetState({status:ur},function(){i.props.onEntered(u,l)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:yn.findDOMNode(this);if(!i||rf.disabled){this.safeSetState({status:Nn},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:ua},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Nn},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:yn.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=c[0],l=c[1];this.props.addEndListener(u,l)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Jr)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=Ve(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return F.createElement(oo.Provider,{value:null},typeof s=="function"?s(o,a):F.cloneElement(F.Children.only(s),a))},t}(F.Component);Vt.contextType=oo,Vt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:v.shape({current:typeof Element>"u"?v.any:function(e,t,n,r,o,i){var s=e[t];return v.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:v.oneOfType([v.func.isRequired,v.element.isRequired]).isRequired,in:v.bool,mountOnEnter:v.bool,unmountOnExit:v.bool,appear:v.bool,enter:v.bool,exit:v.bool,timeout:function(t){var n=nw;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;ie.scrollTop;function so(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}const fw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function fa(e){return`scale(${e}, ${e**2})`}const dw={entering:{opacity:1,transform:fa(1)},entered:{opacity:1,transform:"none"}},da=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),ha=ne.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:c,onEntered:u,onEntering:l,onExit:f,onExited:d,onExiting:p,style:M,timeout:y="auto",TransitionComponent:m=of}=t,w=Ve(t,fw),D=ne.useRef(),N=ne.useRef(),E=io(),T=ne.useRef(null),Q=gt(i.ref,n),_=gt(T,Q),J=H=>S=>{if(H){const K=T.current;S===void 0?H(K):H(K,S)}},B=J(l),G=J((H,S)=>{sf(H);const{duration:K,delay:ue,easing:O}=so({style:M,timeout:y,easing:s},{mode:"enter"});let z;y==="auto"?(z=E.transitions.getAutoHeightDuration(H.clientHeight),N.current=z):z=K,H.style.transition=[E.transitions.create("opacity",{duration:z,delay:ue}),E.transitions.create("transform",{duration:da?z:z*.666,delay:ue,easing:O})].join(","),c&&c(H,S)}),ee=J(u),ie=J(p),U=J(H=>{const{duration:S,delay:K,easing:ue}=so({style:M,timeout:y,easing:s},{mode:"exit"});let O;y==="auto"?(O=E.transitions.getAutoHeightDuration(H.clientHeight),N.current=O):O=S,H.style.transition=[E.transitions.create("opacity",{duration:O,delay:K}),E.transitions.create("transform",{duration:da?O:O*.666,delay:da?K:K||O*.333,easing:ue})].join(","),H.style.opacity=0,H.style.transform=fa(.75),f&&f(H)}),j=J(d),C=H=>{y==="auto"&&(D.current=setTimeout(H,N.current||0)),r&&r(T.current,H)};return ne.useEffect(()=>()=>{clearTimeout(D.current)},[]),de.jsx(m,he({appear:o,in:a,nodeRef:T,onEnter:G,onEntered:ee,onEntering:B,onExit:U,onExited:j,onExiting:ie,addEndListener:C,timeout:y==="auto"?null:y},w,{children:(H,S)=>ne.cloneElement(i,he({style:he({opacity:0,transform:fa(.75),visibility:H==="exited"&&!a?"hidden":void 0},dw[H],M,i.props.style),ref:_},S))}))});process.env.NODE_ENV!=="production"&&(ha.propTypes={addEndListener:v.func,appear:v.bool,children:_r.isRequired,easing:v.oneOfType([v.shape({enter:v.string,exit:v.string}),v.string]),in:v.bool,onEnter:v.func,onEntered:v.func,onEntering:v.func,onExit:v.func,onExited:v.func,onExiting:v.func,style:v.object,timeout:v.oneOfType([v.oneOf(["auto"]),v.number,v.shape({appear:v.number,enter:v.number,exit:v.number})])}),ha.muiSupportAuto=!0;const hw=ha,gw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pw={entering:{opacity:1},entered:{opacity:1}},af=ne.forwardRef(function(t,n){const r=io(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:c,in:u,onEnter:l,onEntered:f,onEntering:d,onExit:p,onExited:M,onExiting:y,style:m,timeout:w=o,TransitionComponent:D=of}=t,N=Ve(t,gw),E=ne.useRef(null),T=gt(a.ref,n),Q=gt(E,T),_=C=>H=>{if(C){const S=E.current;H===void 0?C(S):C(S,H)}},J=_(d),B=_((C,H)=>{sf(C);const S=so({style:m,timeout:w,easing:c},{mode:"enter"});C.style.webkitTransition=r.transitions.create("opacity",S),C.style.transition=r.transitions.create("opacity",S),l&&l(C,H)}),G=_(f),ee=_(y),ie=_(C=>{const H=so({style:m,timeout:w,easing:c},{mode:"exit"});C.style.webkitTransition=r.transitions.create("opacity",H),C.style.transition=r.transitions.create("opacity",H),p&&p(C)}),U=_(M),j=C=>{i&&i(E.current,C)};return de.jsx(D,he({appear:s,in:u,nodeRef:E,onEnter:B,onEntered:G,onEntering:J,onExit:ie,onExited:U,onExiting:ee,addEndListener:j,timeout:w},N,{children:(C,H)=>ne.cloneElement(a,he({style:he({opacity:0,visibility:C==="exited"&&!u?"hidden":void 0},pw[C],m,a.props.style),ref:Q},H))}))});process.env.NODE_ENV!=="production"&&(af.propTypes={addEndListener:v.func,appear:v.bool,children:_r.isRequired,easing:v.oneOfType([v.shape({enter:v.string,exit:v.string}),v.string]),in:v.bool,onEnter:v.func,onEntered:v.func,onEntering:v.func,onExit:v.func,onExited:v.func,onExiting:v.func,style:v.object,timeout:v.oneOfType([v.number,v.shape({appear:v.number,enter:v.number,exit:v.number})])});const Mw=af;function yw(e){return kt("MuiBackdrop",e)}mt("MuiBackdrop",["root","invisible"]);const mw=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],vw=e=>{const{classes:t,invisible:n}=e;return an({root:["root",n&&"invisible"]},yw,t)},ww=dt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>he({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"})),uf=ne.forwardRef(function(t,n){var r,o;const i=Wt({props:t,name:"MuiBackdrop"}),{children:s,component:a="div",components:c={},componentsProps:u={},className:l,invisible:f=!1,open:d,transitionDuration:p,TransitionComponent:M=Mw}=i,y=Ve(i,mw),m=he({},i,{component:a,invisible:f}),w=vw(m);return de.jsx(M,he({in:d,timeout:p},y,{children:de.jsx(ww,{"aria-hidden":!0,as:(r=c.Root)!=null?r:a,className:et(w.root,l),ownerState:he({},m,(o=u.root)==null?void 0:o.ownerState),classes:w,ref:n,children:s})}))});process.env.NODE_ENV!=="production"&&(uf.propTypes={children:v.node,classes:v.object,className:v.string,component:v.elementType,components:v.shape({Root:v.elementType}),componentsProps:v.shape({root:v.object}),invisible:v.bool,open:v.bool.isRequired,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object]),transitionDuration:v.oneOfType([v.number,v.shape({appear:v.number,enter:v.number,exit:v.number})])});const Dw=uf,Iw=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],Aw=e=>e.classes,Ew=dt("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})=>he({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Tw=dt(Dw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),cf=ne.forwardRef(function(t,n){var r;const o=Wt({name:"MuiModal",props:t}),{BackdropComponent:i=Tw,closeAfterTransition:s=!1,children:a,components:c={},componentsProps:u={},disableAutoFocus:l=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:M=!1,disableScrollLock:y=!1,hideBackdrop:m=!1,keepMounted:w=!1}=o,D=Ve(o,Iw),[N,E]=ne.useState(!0),T={closeAfterTransition:s,disableAutoFocus:l,disableEnforceFocus:f,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:M,disableScrollLock:y,hideBackdrop:m,keepMounted:w},Q=he({},o,T,{exited:N}),_=Aw(Q);return de.jsx(qM,he({components:he({Root:Ew},c),componentsProps:{root:he({},u.root,(!c.Root||!kc(c.Root))&&{ownerState:he({},(r=u.root)==null?void 0:r.ownerState)})},BackdropComponent:i,onTransitionEnter:()=>E(!1),onTransitionExited:()=>E(!0),ref:n},D,{classes:_},T,{children:a}))});process.env.NODE_ENV!=="production"&&(cf.propTypes={BackdropComponent:v.elementType,BackdropProps:v.object,children:_r.isRequired,classes:v.object,closeAfterTransition:v.bool,components:v.shape({Root:v.elementType}),componentsProps:v.shape({root:v.object}),container:v.oneOfType([Hn,v.func]),disableAutoFocus:v.bool,disableEnforceFocus:v.bool,disableEscapeKeyDown:v.bool,disablePortal:v.bool,disableRestoreFocus:v.bool,disableScrollLock:v.bool,hideBackdrop:v.bool,keepMounted:v.bool,onBackdropClick:v.func,onClose:v.func,open:v.bool.isRequired,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object])});const Nw=cf;function jw(e){return kt("MuiPopover",e)}mt("MuiPopover",["root","paper"]);const bw=["onEntering"],Sw=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function lf(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function ff(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function df(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ao(e){return typeof e=="function"?e():e}const xw=e=>{const{classes:t}=e;return an({root:["root"],paper:["paper"]},jw,t)},Cw=dt(Nw,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ow=dt(tf,{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}),hf=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:c="anchorEl",children:u,className:l,container:f,elevation:d=8,marginThreshold:p=16,open:M,PaperProps:y={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:w=hw,transitionDuration:D="auto",TransitionProps:{onEntering:N}={}}=r,E=Ve(r.TransitionProps,bw),T=Ve(r,Sw),Q=ne.useRef(),_=gt(Q,y.ref),J=he({},r,{anchorOrigin:s,anchorReference:c,elevation:d,marginThreshold:p,PaperProps:y,transformOrigin:m,TransitionComponent:w,transitionDuration:D,TransitionProps:E}),B=xw(J),G=ne.useCallback(()=>{if(c==="anchorPosition")return process.env.NODE_ENV!=="production"&&(a||console.error('MUI: You need to provide a `anchorPosition` prop when using .')),a;const S=ao(i),K=S&&S.nodeType===1?S:St(Q.current).body,ue=K.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const O=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&O.top===0&&O.left===0&&O.right===0&&O.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:ue.top+lf(ue,s.vertical),left:ue.left+ff(ue,s.horizontal)}},[i,s.horizontal,s.vertical,a,c]),ee=ne.useCallback(S=>({vertical:lf(S,m.vertical),horizontal:ff(S,m.horizontal)}),[m.horizontal,m.vertical]),ie=ne.useCallback(S=>{const K={width:S.offsetWidth,height:S.offsetHeight},ue=ee(K);if(c==="none")return{top:null,left:null,transformOrigin:df(ue)};const O=G();let z=O.top-ue.vertical,Y=O.left-ue.horizontal;const V=z+K.height,$=Y+K.width,te=zr(ao(i)),b=te.innerHeight-p,re=te.innerWidth-p;if(zb){const W=V-b;z-=W,ue.vertical+=W}if(process.env.NODE_ENV!=="production"&&K.height>b&&K.height&&b&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${K.height-b}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(` +`)),Yre){const W=$-re;Y-=W,ue.horizontal+=W}return{top:`${Math.round(z)}px`,left:`${Math.round(Y)}px`,transformOrigin:df(ue)}},[i,c,G,ee,p]),U=ne.useCallback(()=>{const S=Q.current;if(!S)return;const K=ie(S);K.top!==null&&(S.style.top=K.top),K.left!==null&&(S.style.left=K.left),S.style.transformOrigin=K.transformOrigin},[ie]),j=(S,K)=>{N&&N(S,K),U()};ne.useEffect(()=>{M&&U()}),ne.useImperativeHandle(o,()=>M?{updatePosition:()=>{U()}}:null,[M,U]),ne.useEffect(()=>{if(!M)return;const S=yM(()=>{U()}),K=zr(i);return K.addEventListener("resize",S),()=>{S.clear(),K.removeEventListener("resize",S)}},[i,M,U]);let C=D;D==="auto"&&!w.muiSupportAuto&&(C=void 0);const H=f||(i?St(ao(i)).body:void 0);return de.jsx(Cw,he({BackdropProps:{invisible:!0},className:et(B.root,l),container:H,open:M,ref:n,ownerState:J},T,{children:de.jsx(w,he({appear:!0,in:M,onEntering:j,timeout:C},E,{children:de.jsx(Ow,he({elevation:d},y,{ref:_,className:et(B.paper,y.className),children:u}))}))}))});process.env.NODE_ENV!=="production"&&(hf.propTypes={action:Bc,anchorEl:Lr(v.oneOfType([Hn,v.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=ao(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: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` +`))}return null}),anchorOrigin:v.shape({horizontal:v.oneOfType([v.oneOf(["center","left","right"]),v.number]).isRequired,vertical:v.oneOfType([v.oneOf(["bottom","center","top"]),v.number]).isRequired}),anchorPosition:v.shape({left:v.number.isRequired,top:v.number.isRequired}),anchorReference:v.oneOf(["anchorEl","anchorPosition","none"]),children:v.node,classes:v.object,className:v.string,container:v.oneOfType([Hn,v.func]),elevation:Kc,marginThreshold:v.number,onClose:v.func,open:v.bool.isRequired,PaperProps:v.shape({component:Rc}),sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object]),transformOrigin:v.shape({horizontal:v.oneOfType([v.oneOf(["center","left","right"]),v.number]).isRequired,vertical:v.oneOfType([v.oneOf(["bottom","center","top"]),v.number]).isRequired}),TransitionComponent:v.elementType,transitionDuration:v.oneOfType([v.oneOf(["auto"]),v.number,v.shape({appear:v.number,enter:v.number,exit:v.number})]),TransitionProps:v.object});const Lw=hf;function _w(e){return kt("MuiMenu",e)}mt("MuiMenu",["root","paper","list"]);const kw=["onEntering"],zw=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Uw={vertical:"top",horizontal:"right"},Pw={vertical:"top",horizontal:"left"},Rw=e=>{const{classes:t}=e;return an({root:["root"],paper:["paper"],list:["list"]},_w,t)},Yw=dt(Lw,{shouldForwardProp:e=>ia(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fw=dt(tf,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Qw=dt(Jv,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),gf=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,disableAutoFocusItem:s=!1,MenuListProps:a={},onClose:c,open:u,PaperProps:l={},PopoverClasses:f,transitionDuration:d="auto",TransitionProps:{onEntering:p}={},variant:M="selectedMenu"}=r,y=Ve(r.TransitionProps,kw),m=Ve(r,zw),w=io(),D=w.direction==="rtl",N=he({},r,{autoFocus:o,disableAutoFocusItem:s,MenuListProps:a,onEntering:p,PaperProps:l,transitionDuration:d,TransitionProps:y,variant:M}),E=Rw(N),T=o&&!s&&u,Q=ne.useRef(null),_=(G,ee)=>{Q.current&&Q.current.adjustStyleForScrollbar(G,w),p&&p(G,ee)},J=G=>{G.key==="Tab"&&(G.preventDefault(),c&&c(G,"tabKeyDown"))};let B=-1;return ne.Children.map(i,(G,ee)=>{ne.isValidElement(G)&&(process.env.NODE_ENV!=="production"&&Lc.isFragment(G)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(` +`)),G.props.disabled||(M==="selectedMenu"&&G.props.selected||B===-1)&&(B=ee))}),de.jsx(Yw,he({classes:f,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:D?"right":"left"},transformOrigin:D?Uw:Pw,PaperProps:he({component:Fw},l,{classes:he({},l.classes,{root:E.paper})}),className:E.root,open:u,ref:n,transitionDuration:d,TransitionProps:he({onEntering:_},y),ownerState:N},m,{children:de.jsx(Qw,he({onKeyDown:J,actions:Q,autoFocus:o&&(B===-1||s),autoFocusItem:T,variant:M},a,{className:et(E.list,a.className),children:i}))}))});process.env.NODE_ENV!=="production"&&(gf.propTypes={anchorEl:v.oneOfType([Hn,v.func]),autoFocus:v.bool,children:v.node,classes:v.object,disableAutoFocusItem:v.bool,MenuListProps:v.object,onClose:v.func,open:v.bool.isRequired,PaperProps:v.object,PopoverClasses:v.object,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object]),transitionDuration:v.oneOfType([v.oneOf(["auto"]),v.number,v.shape({appear:v.number,enter:v.number,exit:v.number})]),TransitionProps:v.object,variant:v.oneOf(["menu","selectedMenu"])});const Bw=gf;function pf(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:a,onExited:c,timeout:u}=e,[l,f]=ne.useState(!1),d=et(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},M=et(n.child,l&&n.childLeaving,r&&n.childPulsate);return!a&&!l&&f(!0),ne.useEffect(()=>{if(!a&&c!=null){const y=setTimeout(c,u);return()=>{clearTimeout(y)}}},[c,a,u]),de.jsx("span",{className:d,style:p,children:de.jsx("span",{className:M})})}process.env.NODE_ENV!=="production"&&(pf.propTypes={classes:v.object.isRequired,className:v.string,in:v.bool,onExited:v.func,pulsate:v.bool,rippleSize:v.number,rippleX:v.number,rippleY:v.number,timeout:v.number.isRequired});const vt=mt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),$w=["center","classes","className"];let uo=e=>e,Mf,yf,mf,vf;const ga=550,Ww=80,Vw=Gs(Mf||(Mf=uo` 0% { transform: scale(0); opacity: 0.1; @@ -252,7 +252,7 @@ const theme2 = createTheme({ palette: { transform: scale(1); opacity: 0.3; } -`)),eA=ga(Zf||(Zf=Po` +`)),Hw=Gs(yf||(yf=uo` 0% { opacity: 1; } @@ -260,7 +260,7 @@ const theme2 = createTheme({ palette: { 100% { opacity: 0; } -`)),tA=ga(Xf||(Xf=Po` +`)),qw=Gs(mf||(mf=uo` 0% { transform: scale(1); } @@ -272,7 +272,7 @@ const theme2 = createTheme({ palette: { 100% { transform: scale(1); } -`)),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` +`)),Kw=dt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Gw=dt(pf,{name:"MuiTouchRipple",slot:"Ripple"})(vf||(vf=uo` opacity: 0; position: absolute; @@ -315,12 +315,12 @@ const theme2 = createTheme({ palette: { animation-iteration-count: infinite; animation-delay: 200ms; } -`),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) { +`),vt.rippleVisible,Vw,ga,({theme:e})=>e.transitions.easing.easeInOut,vt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vt.child,vt.childLeaving,Hw,ga,({theme:e})=>e.transitions.easing.easeInOut,vt.childPulsate,qw,({theme:e})=>e.transitions.easing.easeInOut),wf=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=Ve(r,$w),[c,u]=ne.useState([]),l=ne.useRef(0),f=ne.useRef(null);ne.useEffect(()=>{f.current&&(f.current(),f.current=null)},[c]);const d=ne.useRef(!1),p=ne.useRef(null),M=ne.useRef(null),y=ne.useRef(null);ne.useEffect(()=>()=>{clearTimeout(p.current)},[]);const m=ne.useCallback(E=>{const{pulsate:T,rippleX:Q,rippleY:_,rippleSize:J,cb:B}=E;u(G=>[...G,de.jsx(Gw,{classes:{ripple:et(i.ripple,vt.ripple),rippleVisible:et(i.rippleVisible,vt.rippleVisible),ripplePulsate:et(i.ripplePulsate,vt.ripplePulsate),child:et(i.child,vt.child),childLeaving:et(i.childLeaving,vt.childLeaving),childPulsate:et(i.childPulsate,vt.childPulsate)},timeout:ga,pulsate:T,rippleX:Q,rippleY:_,rippleSize:J},l.current)]),l.current+=1,f.current=B},[i]),w=ne.useCallback((E={},T={},Q)=>{const{pulsate:_=!1,center:J=o||T.pulsate,fakeElement:B=!1}=T;if((E==null?void 0:E.type)==="mousedown"&&d.current){d.current=!1;return}(E==null?void 0:E.type)==="touchstart"&&(d.current=!0);const G=B?null:y.current,ee=G?G.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ie,U,j;if(J||E===void 0||E.clientX===0&&E.clientY===0||!E.clientX&&!E.touches)ie=Math.round(ee.width/2),U=Math.round(ee.height/2);else{const{clientX:C,clientY:H}=E.touches?E.touches[0]:E;ie=Math.round(C-ee.left),U=Math.round(H-ee.top)}if(J)j=Math.sqrt((2*ee.width**2+ee.height**2)/3),j%2===0&&(j+=1);else{const C=Math.max(Math.abs((G?G.clientWidth:0)-ie),ie)*2+2,H=Math.max(Math.abs((G?G.clientHeight:0)-U),U)*2+2;j=Math.sqrt(C**2+H**2)}E!=null&&E.touches?M.current===null&&(M.current=()=>{m({pulsate:_,rippleX:ie,rippleY:U,rippleSize:j,cb:Q})},p.current=setTimeout(()=>{M.current&&(M.current(),M.current=null)},Ww)):m({pulsate:_,rippleX:ie,rippleY:U,rippleSize:j,cb:Q})},[o,m]),D=ne.useCallback(()=>{w({},{pulsate:!0})},[w]),N=ne.useCallback((E,T)=>{if(clearTimeout(p.current),(E==null?void 0:E.type)==="touchend"&&M.current){M.current(),M.current=null,p.current=setTimeout(()=>{N(E,T)});return}M.current=null,u(Q=>Q.length>0?Q.slice(1):Q),f.current=T},[]);return ne.useImperativeHandle(n,()=>({pulsate:D,start:w,stop:N}),[D,w,N]),de.jsx(Kw,he({className:et(i.root,vt.root,s),ref:y},a,{children:de.jsx(lw,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(wf.propTypes={center:v.bool,classes:v.object,className:v.string});const Jw=wf;function Xw(e){return kt("MuiButtonBase",e)}const Zw=mt("MuiButtonBase",["root","disabled","focusVisible"]),e0=["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"],t0=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=an({root:["root",t&&"disabled",n&&"focusVisible"]},Xw,o);return n&&r&&(s.root+=` ${r}`),s},n0=dt("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"},[`&.${Zw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Df=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:c="button",disabled:u=!1,disableRipple:l=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:M,onClick:y,onContextMenu:m,onDragLeave:w,onFocus:D,onFocusVisible:N,onKeyDown:E,onKeyUp:T,onMouseDown:Q,onMouseLeave:_,onMouseUp:J,onTouchEnd:B,onTouchMove:G,onTouchStart:ee,tabIndex:ie=0,TouchRippleProps:U,touchRippleRef:j,type:C}=r,H=Ve(r,e0),S=ne.useRef(null),K=ne.useRef(null),ue=gt(K,j),{isFocusVisibleRef:O,onFocus:z,onBlur:Y,ref:V}=EM(),[$,te]=ne.useState(!1);u&&$&&te(!1),ne.useImperativeHandle(o,()=>({focusVisible:()=>{te(!0),S.current.focus()}}),[]);const[b,re]=ne.useState(!1);ne.useEffect(()=>{re(!0)},[]);const W=b&&!l&&!u;ne.useEffect(()=>{$&&d&&!l&&b&&K.current.pulsate()},[l,d,$,b]);function oe(me,nn,Dr=f){return Kn(Jo=>(nn&&nn(Jo),!Dr&&K.current&&K.current[me](Jo),!0))}const P=oe("start",Q),L=oe("stop",m),R=oe("stop",w),le=oe("stop",J),Z=oe("stop",me=>{$&&me.preventDefault(),_&&_(me)}),ce=oe("start",ee),ge=oe("stop",B),fe=oe("stop",G),A=oe("stop",me=>{Y(me),O.current===!1&&te(!1),M&&M(me)},!1),g=Kn(me=>{S.current||(S.current=me.currentTarget),z(me),O.current===!0&&(te(!0),N&&N(me)),D&&D(me)}),h=()=>{const me=S.current;return c&&c!=="button"&&!(me.tagName==="A"&&me.href)},I=ne.useRef(!1),k=Kn(me=>{d&&!I.current&&$&&K.current&&me.key===" "&&(I.current=!0,K.current.stop(me,()=>{K.current.start(me)})),me.target===me.currentTarget&&h()&&me.key===" "&&me.preventDefault(),E&&E(me),me.target===me.currentTarget&&h()&&me.key==="Enter"&&!u&&(me.preventDefault(),y&&y(me))}),X=Kn(me=>{d&&me.key===" "&&K.current&&$&&!me.defaultPrevented&&(I.current=!1,K.current.stop(me,()=>{K.current.pulsate(me)})),T&&T(me),y&&me.target===me.currentTarget&&h()&&me.key===" "&&!me.defaultPrevented&&y(me)});let q=c;q==="button"&&(H.href||H.to)&&(q=p);const ye={};q==="button"?(ye.type=C===void 0?"button":C,ye.disabled=u):(!H.href&&!H.to&&(ye.role="button"),u&&(ye["aria-disabled"]=u));const Ne=gt(V,S),Ae=gt(n,Ne);process.env.NODE_ENV!=="production"&&ne.useEffect(()=>{W&&!K.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(` +`))},[W]);const Re=he({},r,{centerRipple:i,component:c,disabled:u,disableRipple:l,disableTouchRipple:f,focusRipple:d,tabIndex:ie,focusVisible:$}),$e=t0(Re);return de.jsxs(n0,he({as:q,className:et($e.root,a),ownerState:Re,onBlur:A,onClick:y,onContextMenu:L,onFocus:g,onKeyDown:k,onKeyUp:X,onMouseDown:P,onMouseLeave:Z,onMouseUp:le,onDragLeave:R,onTouchEnd:ge,onTouchMove:fe,onTouchStart:ce,ref:Ae,tabIndex:u?-1:ie,type:C},ye,H,{children:[s,W?de.jsx(Jw,he({ref:ue,center:i},U)):null]}))});process.env.NODE_ENV!=="production"&&(Df.propTypes={action:Bc,centerRipple:v.bool,children:v.node,classes:v.object,className:v.string,component:Rc,disabled:v.bool,disableRipple:v.bool,disableTouchRipple:v.bool,focusRipple:v.bool,focusVisibleClassName:v.string,href:v.any,LinkComponent:v.elementType,onBlur:v.func,onClick:v.func,onContextMenu:v.func,onDragLeave:v.func,onFocus:v.func,onFocusVisible:v.func,onKeyDown:v.func,onKeyUp:v.func,onMouseDown:v.func,onMouseLeave:v.func,onMouseUp:v.func,onTouchEnd:v.func,onTouchMove:v.func,onTouchStart:v.func,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object]),tabIndex:v.number,TouchRippleProps:v.object,touchRippleRef:v.oneOfType([v.func,v.shape({current:v.shape({pulsate:v.func.isRequired,start:v.func.isRequired,stop:v.func.isRequired})})]),type:v.oneOfType([v.oneOf(["button","reset","submit"]),v.string])});const r0=Df,If=mt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Af=mt("MuiListItemIcon",["root","alignItemsFlexStart"]),Ef=mt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function i0(e){return kt("MuiMenuItem",e)}const Xr=mt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),o0=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],s0=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},a0=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,c=an({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},i0,s);return he({},s,c)},u0=dt(r0,{shouldForwardProp:e=>ia(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:s0})(({theme:e,ownerState:t})=>he({},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"}},[`&.${Xr.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:nr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Xr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:nr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Xr.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:nr(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})`:nr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Xr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${If.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${If.inset}`]:{marginLeft:52},[`& .${Ef.root}`]:{marginTop:0,marginBottom:0},[`& .${Ef.inset}`]:{paddingLeft:36},[`& .${Af.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&he({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Af.root} svg`]:{fontSize:"1.25rem"}}))),Tf=ne.forwardRef(function(t,n){const r=Wt({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:c=!1,focusVisibleClassName:u,role:l="menuitem",tabIndex:f}=r,d=Ve(r,o0),p=ne.useContext(oa),M={dense:s||p.dense||!1,disableGutters:c},y=ne.useRef(null);Ur(()=>{o&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const m=he({},r,{dense:M.dense,divider:a,disableGutters:c}),w=a0(r),D=gt(y,n);let N;return r.disabled||(N=f!==void 0?f:-1),de.jsx(oa.Provider,{value:M,children:de.jsx(u0,he({ref:D,role:l,tabIndex:N,component:i,focusVisibleClassName:et(w.focusVisible,u)},d,{ownerState:m,classes:w}))})});process.env.NODE_ENV!=="production"&&(Tf.propTypes={autoFocus:v.bool,children:v.node,classes:v.object,component:v.elementType,dense:v.bool,disabled:v.bool,disableGutters:v.bool,divider:v.bool,focusVisibleClassName:v.string,role:v.string,selected:v.bool,sx:v.oneOfType([v.arrayOf(v.oneOfType([v.func,v.object,v.bool])),v.func,v.object]),tabIndex:v.number});const Nf=Tf;var c0={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 l0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),pa=(e,t)=>{const n=F.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:s,children:a,...c},u)=>F.createElement("svg",{ref:u,...c0,width:o,height:o,stroke:r,strokeWidth:s?Number(i)*24/Number(o):i,className:`lucide lucide-${l0(e)}`,...c},[...t.map(([l,f])=>F.createElement(l,f)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},f0=pa("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"}]]),d0=pa("Moon",[["path",{d:"M12 3a6.364 6.364 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"1rit1i"}]]),h0=pa("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"}]]),g0={display:"flex",flexDirection:"column",alignItems:"center",border:"none",outline:"none",padding:"0px",margin:"0px 1rem",backgroundColor:"inherit"},jf=({theme:e,changeLang:t})=>{const[n,r]=F.useState(null),o=a=>{a.preventDefault(),r(a.currentTarget)},i=()=>{r(null)},s=(a,c)=>{a.preventDefault(),t(c),window.dispatchEvent(new Event("storage")),i()};return de.jsxs("div",{style:{float:"right"},children:[de.jsx("button",{style:{...g0,color:e==="light"?Qe.light.main:Qe.dark.text2},onClick:o,"aria-label":"Language toggle",children:de.jsx(f0,{size:32})}),de.jsxs(Bw,{id:"language-menu",anchorEl:n,open:!!n,onClose:i,disableAutoFocusItem:!0,classes:{paper:e==="light"?Qe.light.bgSide:Qe.dark.bgSide},children:[de.jsx(Nf,{style:{fontSize:"0.8em",padding:"5px 12px",color:e==="light"?Qe.light.text2:Qe.dark.text2},onClick:a=>s(a,"ja"),children:"日本語"}),de.jsx(Nf,{style:{fontSize:"0.8em",padding:"5px 12px",color:e==="light"?Qe.light.text2:Qe.dark.text2},onClick:a=>s(a,"en"),children:"English"})]})]})},co={desktop:992,tablet:768,phone:480,phoneMini:375},p0=(e,t)=>` + @media screen and (max-width: ${co[e]/16}em) { ${t}; } - `,cd="data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8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jQuNjExLDEyMS41MjMgMjI0LjgzNywxMTguMjUyIDIyNC45MzMgTCAxMTIuMzA0IDIyNS4xMDggMTEwLjc5OSAyMjcuNzAyIEMgMTA5Ljk3MiAyMjkuMTI5LDEwOC4zNjYgMjMxLjY3MywxMDcuMjMxIDIzMy4zNTQgQyAxMDUuODYwIDIzNS4zODcsMTA1LjM0MCAyMzYuNDY0LDEwNS42ODQgMjM2LjU2NyBDIDEwNS45NjggMjM2LjY1MiwxMDcuNzMwIDIzNy4wMzAsMTA5LjYwMCAyMzcuNDA3IEMgMTEzLjU5NSAyMzguMjEyLDExNy45NzEgMjM5LjYxOCwxMjEuNjAwIDI0MS4yNjMgTCAxMjQuMjAwIDI0Mi40NDIgMTI1LjEwOSAyNDEuMzIxIEMgMTI3Ljg5NyAyMzcuODgzLDEzNC4yNjggMjI1LjY3NywxMzMuODQ4IDIyNC41ODAgQyAxMzMuNTk5IDIyMy45MzEsMTMxLjY1NiAyMjMuODg5LDEyNy4wMDAgMjI0LjQzMiAiIHN0cm9rZT0ibm9uZSIgZmlsbD0iIzhjMWMyYyIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+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:` + `,bf="data:image/svg+xml;base64,PHN2ZyBpZD0ic3ZnIiB2ZXJ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AwMCAyMjQuNDMyIEMgMTI1LjQ2MCAyMjQuNjExLDEyMS41MjMgMjI0LjgzNywxMTguMjUyIDIyNC45MzMgTCAxMTIuMzA0IDIyNS4xMDggMTEwLjc5OSAyMjcuNzAyIEMgMTA5Ljk3MiAyMjkuMTI5LDEwOC4zNjYgMjMxLjY3MywxMDcuMjMxIDIzMy4zNTQgQyAxMDUuODYwIDIzNS4zODcsMTA1LjM0MCAyMzYuNDY0LDEwNS42ODQgMjM2LjU2NyBDIDEwNS45NjggMjM2LjY1MiwxMDcuNzMwIDIzNy4wMzAsMTA5LjYwMCAyMzcuNDA3IEMgMTEzLjU5NSAyMzguMjEyLDExNy45NzEgMjM5LjYxOCwxMjEuNjAwIDI0MS4yNjMgTCAxMjQuMjAwIDI0Mi40NDIgMTI1LjEwOSAyNDEuMzIxIEMgMTI3Ljg5NyAyMzcuODgzLDEzNC4yNjggMjI1LjY3NywxMzMuODQ4IDIyNC41ODAgQyAxMzMuNTk5IDIyMy45MzEsMTMxLjY1NiAyMjMuODg5LDEyNy4wMDAgMjI0LjQzMiAiIHN0cm9rZT0ibm9uZSIgZmlsbD0iIzhjMWMyYyIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9nPjwvc3ZnPg==",xf=()=>de.jsx("img",{src:bf,alt:"WasedaTime English Logo",style:{width:120,height:120}}),M0=()=>de.jsx("img",{src:Sf,alt:"WasedaTime Japanese Logo",style:{width:120,height:120}}),Cf=()=>de.jsx("img",{src:bf,alt:"WasedaTime English Small Logo",style:{width:50,height:50}}),y0=()=>de.jsx("img",{src:Sf,style:{width:50,height:50}}),Of=({theme:e,setTheme:t})=>{const n={light:de.jsx(h0,{color:Qe.icon.sun}),dark:de.jsx(d0,{color:Qe.icon.moon})};return de.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]})},m0=(e,t)=>{const n=e?"#FAFAFA30":Qe.light.bgSide,r=e?"#24252770":Qe.dark.bgSide;return{height:"67px",width:"100%",padding:"8px 0px",borderWidth:0,borderBottomWidth:2,borderStyle:"solid",borderColor:t==="light"?Qe.light.bgSide:Qe.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"}},v0={flex:"5",paddingRight:"0px"},w0={flex:"3",padding:"0px 0px 0px 1em"},D0={flex:"8",margin:"auto 0px"},I0={flex:"10",margin:"auto 0px"},A0={flex:"3",margin:"auto 0px",display:"flex",flexDirection:"row",justifyContent:"flex-end"},E0=e=>({width:"100%",borderRadius:"25px",height:"40px",padding:"0px 1em",outline:"none",borderWidth:1,borderStyle:"solid",borderColor:e==="light"?Qe.light.bgSide:Qe.dark.text3,backgroundColor:e==="light"?Qe.light.bgMain:Qe.dark.text3,color:e==="light"?Qe.light.text1:Qe.dark.text1}),T0=e=>({fontWeight:500,paddingLeft:"100px",fontSize:"32px",color:e==="light"?Qe.light.text1:Qe.dark.text1}),N0=({title:e,onInputChange:t,placeholder:n,inputText:r,disabled:o,isBlur:i,changeLang:s,theme:a="light",setTheme:c})=>{const u=de.jsx("label",{style:{marginLeft:"0"},children:de.jsx("input",{style:E0(a),placeholder:n||"Search...",onChange:t?l=>t(l.target.value):()=>{},value:r||"",disabled:o,autoFocus:!0})});return de.jsxs("header",{style:m0(i,a),children:[de.jsx(xc,{maxWidth:co.tablet,children:l=>l?de.jsx("div",{style:w0,onClick:()=>{location.href="/home"},children:de.jsx(Cf,{})}):de.jsx("header",{style:v0,children:de.jsx("h2",{style:T0(a),children:e})})}),de.jsx(xc,{maxWidth:co.tablet,children:l=>l?de.jsx("div",{style:I0,children:u}):de.jsx("div",{style:D0,children:u})}),de.jsxs("div",{style:A0,children:[de.jsx(Of,{theme:a,setTheme:c}),de.jsx(jf,{theme:a,changeLang:s})]})]})},j0=de.jsx("style",{children:` @keyframes loadingSpinnerSpin { from { transform: rotate(0deg); @@ -332,7 +332,7 @@ const theme2 = createTheme({ palette: { transform: rotate(360deg); } } - `}),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}};/*! ***************************************************************************** + `}),b0={display:"block",width:"100px",height:"100px",transition:"transform(0, 12vh)",animation:"loadingSpinnerSpin 3s linear infinite"},S0=({message:e,theme:t})=>{const[n,r]=F.useState("");return F.useEffect(()=>{setTimeout(()=>{r("Slow network is detected. Please wait we're almost done 💪")},4e3)}),de.jsx(gs,{style:{flex:"1 0 0"},children:de.jsxs(Gu,{style:{alignItems:"center",justifyContent:"center",padding:"25px"},children:[j0,de.jsx("div",{style:b0,children:de.jsx(xf,{})}),de.jsx("p",{style:{fontSize:"2rem",textAlign:"center",color:t==="light"?Qe.light.text2:Qe.dark.text2},children:e||"Loading..."}),de.jsx("p",{style:{fontSize:"2rem",textAlign:"center",color:t==="light"?Qe.light.text2:Qe.dark.text2},children:n})]})})};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -345,86 +345,57 @@ const theme2 = createTheme({ palette: { 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,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 - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - 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 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 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)+` -`+PT(t)+` -`+i.map(function(o){return o+":"+n[o]}).join(` -`)+` - -`+i.join(";")+` -`+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+` -`+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);/*! + ***************************************************************************** */var Ma=function(e,t){return Ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])},Ma(e,t)};function ya(e,t){Ma(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var tt=function(){return tt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function O0(e,t){return function(n,r){t(n,r,e)}}function L0(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function be(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Se(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[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 Ct(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function z0(){for(var e=[],t=0;t1||a(d,p)})})}function a(d,p){try{c(r[d](p))}catch(M){f(i[0][3],M)}}function c(d){d.value instanceof Zr?Promise.resolve(d.value.v).then(u,l):f(i[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,p){d(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function R0(e){var t,n;return t={},r("next"),r("throw",function(o){throw o}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(o,i){t[o]=e[o]?function(s){return(n=!n)?{value:Zr(e[o](s)),done:o==="return"}:i?i(s):s}:i}}function Y0(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ma=="function"?ma(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}function F0(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Q0(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function B0(e){return e&&e.__esModule?e:{default:e}}function $0(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function W0(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}const V0=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return tt},__asyncDelegator:R0,__asyncGenerator:P0,__asyncValues:Y0,__await:Zr,__awaiter:be,__classPrivateFieldGet:$0,__classPrivateFieldSet:W0,__createBinding:_0,__decorate:C0,__exportStar:k0,__extends:ya,__generator:Se,__importDefault:B0,__importStar:Q0,__makeTemplateObject:F0,__metadata:L0,__param:O0,__read:Ct,__rest:x0,__spread:z0,__spreadArrays:U0,__values:ma},Symbol.toStringTag,{value:"Module"}));var lo;(function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"})(lo||(lo={}));function va(e){var t=["provider"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function H0(e){var t=["customProvider"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function q0(e){var t=["customState"];return e&&!!t.find(function(n){return e.hasOwnProperty(n)})}function Sn(e){return e.redirectSignIn!==void 0}var Oe;(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"})(Oe||(Oe={}));function K0(e){return!!e.username}var Lf;(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"})(Lf||(Lf={}));var G0="Logging",J0=globalThis&&globalThis.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},lr=globalThis&&globalThis.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},fr=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r=a){var u=console.log.bind(console);t===Ot.ERROR&&console.error&&(u=console.error.bind(console)),t===Ot.WARN&&console.warn&&(u=console.warn.bind(console));var l="[".concat(t,"] ").concat(this._ts()," ").concat(this.name),f="";if(o.length===1&&typeof o[0]=="string")f="".concat(l," - ").concat(o[0]),u(f);else if(o.length===1)f="".concat(l," ").concat(o[0]),u(l,o[0]);else if(typeof o[0]=="string"){var d=o.slice(1);d.length===1&&(d=d[0]),f="".concat(l," - ").concat(o[0]," ").concat(d),u("".concat(l," - ").concat(o[0]),d)}else f="".concat(l," ").concat(o),u(l,o);try{for(var p=J0(this._pluggables),M=p.next();!M.done;M=p.next()){var y=M.value,m={message:f,timestamp:Date.now()};y.pushLogs([m])}}catch(w){n={error:w}}finally{try{M&&!M.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}}},e.prototype.log=function(){for(var t=[],n=0;n0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},wa=new Lt("Amplify"),Z0=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=Lt,this.ServiceWorker=null}return e.prototype.register=function(t){wa.debug("component registered in amplify",t),this._components.push(t),typeof t.getModuleName=="function"?(this._modules[t.getModuleName()]=t,this[t.getModuleName()]=t):wa.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),wa.debug("amplify config",this._config),Object.entries(this._modules).forEach(function(r){var o=X0(r,2);o[0];var i=o[1];Object.keys(i).forEach(function(s){n._modules[s]&&(i[s]=n._modules[s])})}),this._components.map(function(r){r.configure(n._config)}),this._config):this._config},e.prototype.addPluggable=function(t){t&&t.getCategory&&typeof t.getCategory=="function"&&this._components.map(function(n){n.addPluggable&&typeof n.addPluggable=="function"&&n.addPluggable(t)})},e}(),Da=new Z0,Ge;(function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"})(Ge||(Ge={}));var Ia;(function(e){e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"})(Ia||(Ia={}));var kf;(function(e){e.Record="1",e.UpdateEndpoint="2"})(kf||(kf={}));var zf;(function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"})(zf||(zf={}));var Aa;(function(e){e.FederatedSignIn="30"})(Aa||(Aa={}));var Uf;(function(e){e.Subscribe="1",e.GraphQl="2"})(Uf||(Uf={}));var Pf;(function(e){e.None="0"})(Pf||(Pf={}));var Rf;(function(e){e.None="0"})(Rf||(Rf={}));var Yf;(function(e){e.None="0"})(Yf||(Yf={}));var Ff;(function(e){e.Convert="1",e.Identify="2",e.Interpret="3"})(Ff||(Ff={}));var Qf;(function(e){e.Subscribe="1"})(Qf||(Qf={}));var Bf;(function(e){e.None="0"})(Bf||(Bf={}));var $f;(function(e){e.Put="1",e.Get="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6"})($f||($f={}));var Wf="5.3.11",fo=function(){return typeof global<"u"},dr=function(){return typeof window<"u"},Vf=function(){return typeof document<"u"},Ea=function(){return typeof process<"u"},ei=function(e,t){return!!Object.keys(e).find(function(n){return n.startsWith(t)})};function eD(){var e=function(r){return r.startsWith("_react")||r.startsWith("__react")},t=function(r){return Object.keys(r).find(e)},n=function(){return Array.from(document.querySelectorAll("[id]"))};return Vf()&&n().some(t)}function tD(){return Ea()&&typeof process.env<"u"&&!!Object.keys(process.env).find(function(e){return e.includes("react")})}function nD(){return dr()&&ei(window,"__VUE")}function rD(){return fo()&&ei(global,"__VUE")}function iD(){return dr()&&ei(window,"__SVELTE")}function oD(){return Ea()&&typeof process.env<"u"&&!!Object.keys(process.env).find(function(e){return e.includes("svelte")})}function sD(){return dr()&&window.next&&typeof window.next=="object"}function aD(){return fo()&&(ei(global,"__next")||ei(global,"__NEXT"))}function uD(){return dr()&&(window.__NUXT__!==void 0||window.$nuxt!==void 0)}function cD(){return fo()&&typeof global.__NUXT_PATHS__<"u"}function lD(){var e=!!(Vf()&&document.querySelector("[ng-version]")),t=!!(dr()&&typeof window.ng<"u");return e||t}function fD(){var e;return Ea()&&typeof process.env=="object"&&((e=process.env.npm_lifecycle_script)===null||e===void 0?void 0:e.startsWith("ng "))||!1}function dD(){return typeof navigator<"u"&&typeof navigator.product<"u"&&navigator.product==="ReactNative"}function hD(){return fo()&&typeof global.expo<"u"}function gD(){return dr()}var pD=[{platform:Ge.Expo,detectionMethod:hD},{platform:Ge.ReactNative,detectionMethod:dD},{platform:Ge.NextJs,detectionMethod:sD},{platform:Ge.Nuxt,detectionMethod:uD},{platform:Ge.Angular,detectionMethod:lD},{platform:Ge.React,detectionMethod:eD},{platform:Ge.VueJs,detectionMethod:nD},{platform:Ge.Svelte,detectionMethod:iD},{platform:Ge.WebUnknown,detectionMethod:gD},{platform:Ge.NextJsSSR,detectionMethod:aD},{platform:Ge.NuxtSSR,detectionMethod:cD},{platform:Ge.ReactSSR,detectionMethod:tD},{platform:Ge.VueJsSSR,detectionMethod:rD},{platform:Ge.AngularSSR,detectionMethod:fD},{platform:Ge.SvelteSSR,detectionMethod:oD}];function MD(){var e;return((e=pD.find(function(t){return t.detectionMethod()}))===null||e===void 0?void 0:e.platform)||Ge.ServerSideUnknown}var ti,ho=[],go=!1,yD=10,mD=10,vD=1e3,Ta=function(){if(!ti){if(ti=MD(),go)for(;ho.length;)ho.pop()();else ho.forEach(function(e){return e()});qf(Ge.ServerSideUnknown,yD),qf(Ge.WebUnknown,mD)}return ti},Hf=function(e){go||ho.push(e)};function wD(){ti=void 0}function qf(e,t){ti===e&&!go&&setTimeout(function(){wD(),go=!0,setTimeout(Ta,vD)},t)}var DD=globalThis&&globalThis.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Kf="aws-amplify",ID=function(){function e(){this.userAgent="".concat(Kf,"/").concat(Wf)}return Object.defineProperty(e.prototype,"framework",{get:function(){return Ta()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isReactNative",{get:function(){return this.framework===Ge.ReactNative||this.framework===Ge.Expo},enumerable:!1,configurable:!0}),e.prototype.observeFrameworkChanges=function(t){Hf(t)},e}(),Na=new ID,AD=function(e){var t=e===void 0?{}:e,n=t.category,r=t.action;t.framework;var o=[[Kf,Wf]];return n&&o.push([n,r]),o.push(["framework",Ta()]),o},ja=function(e){var t=AD(e),n=t.map(function(r){var o=DD(r,2),i=o[0],s=o[1];return"".concat(i,"/").concat(s)}).join(" ");return n},ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Gf=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r-1){var i=o===ED;i||Ht.warn("WARNING: ".concat(t," is protected and dispatching on it can have unintended consequences"))}var s={channel:t,payload:ni({},n),source:r,patternInfo:[]};try{this._toListeners(s)}catch(a){Ht.error(a)}},e.prototype.listen=function(t,n,r){var o=this;r===void 0&&(r="noname");var i;if(TD(n))Ht.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),i=n.onHubCapsule.bind(n);else{if(typeof n!="function")throw new Error("No callback supplied to Hub");i=n}if(t instanceof RegExp)this.patterns.push({pattern:t,callback:i});else{var s=this.listeners[t];s||(s=[],this.listeners[t]=s),s.push({name:r,callback:i})}return function(){o._remove(t,i)}},e.prototype._toListeners=function(t){var n=t.channel,r=t.payload,o=this.listeners[n];if(o&&o.forEach(function(s){Ht.debug("Dispatching to ".concat(n," with "),r);try{s.callback(t)}catch(a){Ht.error(a)}}),this.patterns.length>0){if(!r.message){Ht.warn("Cannot perform pattern matching without a message key");return}var i=r.message;this.patterns.forEach(function(s){var a=i.match(s.pattern);if(a){var c=ba(a),u=c.slice(1),l=ni(ni({},t),{patternInfo:u});try{s.callback(l)}catch(f){Ht.error(f)}}})}},e}(),qt=new ND("__default__"),jD=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,o=e.then(function(i){return r=!0,t=!1,i},function(i){throw n=!0,t=!1,i});return o.isFullfilled=function(){return r},o.isPending=function(){return t},o.isRejected=function(){return n},o},Kt=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}},bD=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Jf=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})},Sa=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},xD=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;re?!1:o}}var LD=function(e,t,n,r){return n===void 0&&(n=Xf),OD(e,t,Zf(n),r)};function _D(e){return e.split("").map(function(t){return t.charCodeAt(0).toString(16).padStart(2,"0")}).join("")}function kD(e){return e.match(/.{2}/g).map(function(t){return String.fromCharCode(parseInt(t,16))}).join("")}var Cn={};const xa=vi(V0);var Mo={},yt={};Object.defineProperty(yt,"__esModule",{value:!0}),yt.MAX_HASHABLE_LENGTH=yt.INIT=yt.KEY=yt.DIGEST_LENGTH=yt.BLOCK_SIZE=void 0,yt.BLOCK_SIZE=64,yt.DIGEST_LENGTH=32,yt.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]),yt.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],yt.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1;var yo={};Object.defineProperty(yo,"__esModule",{value:!0}),yo.RawSha256=void 0;var wt=yt,zD=function(){function e(){this.state=Int32Array.from(wt.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>wt.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===wt.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%wt.BLOCK_SIZE>=wt.BLOCK_SIZE-8){for(var o=this.bufferLength;o>>24&255,i[o*4+1]=this.state[o]>>>16&255,i[o*4+2]=this.state[o]>>>8&255,i[o*4+3]=this.state[o]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,r=t.state,o=r[0],i=r[1],s=r[2],a=r[3],c=r[4],u=r[5],l=r[6],f=r[7],d=0;d>>17|p<<15)^(p>>>19|p<<13)^p>>>10;p=this.temp[d-15];var y=(p>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[d]=(M+this.temp[d-7]|0)+(y+this.temp[d-16]|0)}var m=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&u^~c&l)|0)+(f+(wt.KEY[d]+this.temp[d]|0)|0)|0,w=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&i^o&s^i&s)|0;f=l,l=u,u=c,c=a+m|0,a=s,s=i,i=o,o=m+w|0}r[0]+=o,r[1]+=i,r[2]+=s,r[3]+=a,r[4]+=c,r[5]+=u,r[6]+=l,r[7]+=f},e}();yo.RawSha256=zD;var ed={},mo={};const UD=e=>{const t=[];for(let n=0,r=e.length;n>6|192,o&63|128);else if(n+1>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else t.push(o>>12|224,o>>6&63|128,o&63|128)}return Uint8Array.from(t)},PD=e=>{let t="";for(let n=0,r=e.length;na.toString(16)).join("%");t+=decodeURIComponent(s)}else t+=String.fromCharCode((o&15)<<12|(e[++n]&63)<<6|e[++n]&63)}return t};function RD(e){return new TextEncoder().encode(e)}function YD(e){return new TextDecoder("utf-8").decode(e)}const FD=vi(Object.freeze(Object.defineProperty({__proto__:null,fromUtf8:e=>typeof TextEncoder=="function"?RD(e):UD(e),toUtf8:e=>typeof TextDecoder=="function"?YD(e):PD(e)},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(mo,"__esModule",{value:!0}),mo.convertToBuffer=void 0;var QD=FD,BD=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:QD.fromUtf8;function $D(e){return e instanceof Uint8Array?e:typeof e=="string"?BD(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}mo.convertToBuffer=$D;var vo={};Object.defineProperty(vo,"__esModule",{value:!0}),vo.isEmptyData=void 0;function WD(e){return typeof e=="string"?e.length===0:e.byteLength===0}vo.isEmptyData=WD;var wo={};Object.defineProperty(wo,"__esModule",{value:!0}),wo.numToUint8=void 0;function VD(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}wo.numToUint8=VD;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.uint32ArrayFrom=void 0;function HD(e){if(!Array.from){for(var t=new Uint32Array(e.length),n=0;nIo.BLOCK_SIZE){var n=new Ca.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(Io.BLOCK_SIZE);return r.set(t),r}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=xa;(0,t.__exportStar)(Mo,e)})(Cn);var Ao=globalThis&&globalThis.__assign||function(){return Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[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.")},lI=function(e){var t,n,r=uI.partitions;try{for(var o=cI(r),i=o.next();!i.done;i=o.next()){var s=i.value,a=s.regions,c=s.outputs,u=s.regionRegex,l=new RegExp(u);if(a.includes(e)||l.test(e))return c.dnsSuffix}}catch(f){t={error:f}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return id.outputs.dnsSuffix};function fI(e,t){return t=t||{},new Promise(function(n,r){var o=new XMLHttpRequest,i=[],s=[],a={},c=function(){return{ok:(o.status/100|0)==2,statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:c,headers:{keys:function(){return i},entries:function(){return s},get:function(l){return a[l.toLowerCase()]},has:function(l){return l.toLowerCase()in a}}}};for(var u in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(l,f,d){i.push(f=f.toLowerCase()),s.push([f,d]),a[f]=a[f]?a[f]+","+d:d}),n(c())},o.onerror=r,o.withCredentials=t.credentials=="include",t.headers)o.setRequestHeader(u,t.headers[u]);o.send(t.body||null)})}const od=vi(Object.freeze(Object.defineProperty({__proto__:null,default:fI},Symbol.toStringTag,{value:"Module"})));self.fetch||(self.fetch=od.default||od);var La=function(e){var t;return function(){return t||(t=e()),t}},Eo=globalThis&&globalThis.__assign||function(){return Eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]d?a.attemptsCount:d+1,a.attemptsCount=d,[4,r(p,f)];case 6:return w.sent()?!(i!=null&&i.aborted)&&d0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=0;s--){var a=t[s],c=a(r);i=c(i,o)}return i(n)}},kI=ud(pI,[_I,vI]),No=globalThis&&globalThis.__assign||function(){return No=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},_a=function(e){return cd(void 0,void 0,void 0,function(){var t,n,r,o,i,s,a,c,u,l;return ld(this,function(f){switch(f.label){case 0:return!e||e.statusCode<300?[2]:[4,ka(e)];case 1:return t=f.sent(),n=function(d){var p=UI(d.toString().split(/[\,\:]+/),1),M=p[0];return M.includes("#")?M.split("#")[1]:M},r=n((c=(a=(s=e.headers["x-amzn-errortype"])!==null&&s!==void 0?s:t.code)!==null&&a!==void 0?a:t.__type)!==null&&c!==void 0?c:"UnknownError"),o=(l=(u=t.message)!==null&&u!==void 0?u:t.Message)!==null&&l!==void 0?l:"Unknown error",i=new Error(o),[2,Object.assign(i,{name:r,$metadata:jo(e)})]}})})},ka=function(e){return cd(void 0,void 0,void 0,function(){var t;return ld(this,function(n){switch(n.label){case 0:if(!e.body)throw new Error("Missing response payload");return[4,e.body.json()];case 1:return t=n.sent(),[2,Object.assign(t,{$metadata:jo(e)})]}})})},PI=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})},RI=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=300?[4,_a(e)]:[3,2];case 1:throw t=r.sent(),t;case 2:return[4,ka(e)];case 3:return n=r.sent(),[2,{IdentityId:n.IdentityId,$metadata:jo(e)}]}})})},bo=gd(fd,HI,qI,za),KI=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})},GI=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=300?[4,_a(e)]:[3,2];case 1:throw t=r.sent(),t;case 2:return[4,ka(e)];case 3:return n=r.sent(),[2,{IdentityId:n.IdentityId,Credentials:ZI(n.Credentials),$metadata:jo(e)}]}})})},ZI=function(e){return e===void 0&&(e={}),{AccessKeyId:e.AccessKeyId,SecretKey:e.SecretKey,SessionToken:e.SessionToken,Expiration:new Date(e.Expiration*1e3)}},So=gd(fd,JI,XI,za),xo=globalThis&&globalThis.__assign||function(){return xo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]new Date().getTime()?(Ie.debug("token not expired"),this._setCredentialsFromFederation({provider:n,token:o,user:r,identity_id:i,expires_at:s})):a._refreshHandlers[n]&&typeof a._refreshHandlers[n]=="function"?(Ie.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:a._refreshHandlers[n],provider:n,user:r})):(Ie.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,o=t.provider,i=t.user,s=10*1e3;return LD(r,[],s).then(function(a){return Ie.debug("refresh federated token sucessfully",a),n._setCredentialsFromFederation({provider:o,token:a.token,user:i,identity_id:a.identity_id,expires_at:a.expires_at})}).catch(function(a){var c=typeof a=="string"&&a.toLowerCase().lastIndexOf("network error",a.length)===0;return c||n.clear(),Ie.debug("refresh federated token failed",a),Promise.reject("refreshing federation token failed: "+a)})},e.prototype._isExpired=function(t){if(!t)return Ie.debug("no credentials for expiration check"),!0;Ie.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 st(this,void 0,void 0,function(){var n,r,o,i,s,a,c,u,l,f,d=this;return at(this,function(p){switch(p.label){case 0:return Ie.debug("setting credentials for guest"),!((t=this._config)===null||t===void 0)&&t.identityPoolId||(this._config=Object.assign({},this._config,nd(this._config||{}).Auth)),n=this._config,r=n.identityPoolId,o=n.region,i=n.mandatorySignIn,s=n.identityPoolRegion,i?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:r?!s&&!o?(Ie.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(c=this,[4,this._getGuestIdentityId()]):(Ie.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return a=c._identityId=p.sent(),u={region:s??o},l=function(){return st(d,void 0,void 0,function(){var M,y;return at(this,function(m){switch(m.label){case 0:return a?[3,2]:[4,bo(u,{IdentityPoolId:r})];case 1:M=m.sent().IdentityId,this._identityId=M,m.label=2;case 2:return[4,So(u,{IdentityId:this._identityId})];case 3:return y=m.sent().Credentials,[2,{identityId:this._identityId,accessKeyId:y.AccessKeyId,secretAccessKey:y.SecretKey,sessionToken:y.SessionToken,expiration:y.Expiration}]}})})},f=l().catch(function(M){return st(d,void 0,void 0,function(){return at(this,function(y){throw M})})}),[2,this._loadCredentials(f,"guest",!1,null).then(function(M){return M}).catch(function(M){return st(d,void 0,void 0,function(){var y,m=this;return at(this,function(w){switch(w.label){case 0:return M.name==="ResourceNotFoundException"&&M.message==="Identity '".concat(a,"' not found.")?(Ie.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]):[3,2];case 1:return w.sent(),y=function(){return st(m,void 0,void 0,function(){var D,N;return at(this,function(E){switch(E.label){case 0:return[4,bo(u,{IdentityPoolId:r})];case 1:return D=E.sent().IdentityId,this._identityId=D,[4,So(u,{IdentityId:D})];case 2:return N=E.sent().Credentials,[2,{identityId:D,accessKeyId:N.AccessKeyId,secretAccessKey:N.SecretKey,sessionToken:N.SessionToken,expiration:N.Expiration}]}})})},f=y().catch(function(D){return st(m,void 0,void 0,function(){return at(this,function(N){throw D})})}),[2,this._loadCredentials(f,"guest",!1,null)];case 2:return[2,M]}})})})]}})})},e.prototype._setCredentialsFromFederation=function(t){var n=this,r=t.provider,o=t.token,i=t.identity_id,s={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"},a=s[r]||r;if(!a)return Promise.reject("You must specify a federated provider");var c={};c[a]=o;var u=this._config,l=u.identityPoolId,f=u.region,d=u.identityPoolRegion;if(!l)return Ie.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!d&&!f)return Ie.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var p={region:d??f},M=function(){return st(n,void 0,void 0,function(){var m,w;return at(this,function(D){switch(D.label){case 0:return i?[3,2]:[4,bo(p,{IdentityPoolId:l,Logins:c})];case 1:m=D.sent().IdentityId,i=m,D.label=2;case 2:return[4,So(p,{IdentityId:i,Logins:c})];case 3:return w=D.sent().Credentials,[2,{identityId:i,accessKeyId:w.AccessKeyId,secretAccessKey:w.SecretKey,sessionToken:w.SessionToken,expiration:w.Expiration}]}})})},y=M().catch(function(m){return st(n,void 0,void 0,function(){return at(this,function(w){throw m})})});return this._loadCredentials(y,"federated",!0,t)},e.prototype._setCredentialsFromSession=function(t){var n=this;Ie.debug("set credentials from session");var r=t.getIdToken().getJwtToken(),o=this._config,i=o.region,s=o.userPoolId,a=o.identityPoolId,c=o.identityPoolRegion;if(!a)return Ie.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!c&&!i)return Ie.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var u="cognito-idp."+i+".amazonaws.com/"+s,l={};l[u]=r;var f={region:c??i},d=function(){return st(n,void 0,void 0,function(){var M,y,m,w,D,N,E,T,Q,_;return at(this,function(J){switch(J.label){case 0:return[4,this._getGuestIdentityId()];case 1:return M=J.sent(),M?[3,3]:[4,bo(f,{IdentityPoolId:a,Logins:l})];case 2:m=J.sent().IdentityId,y=m,J.label=3;case 3:return[4,So(f,{IdentityId:M||y,Logins:l})];case 4:return w=J.sent(),D=w.Credentials,N=D.AccessKeyId,E=D.Expiration,T=D.SecretKey,Q=D.SessionToken,_=w.IdentityId,this._identityId=_,M?(Ie.debug("The guest identity ".concat(M," has been successfully linked to the logins")),M===_&&Ie.debug("The guest identity ".concat(M," has become the primary identity")),[4,this._removeGuestIdentityId()]):[3,6];case 5:J.sent(),J.label=6;case 6:return[2,{accessKeyId:N,secretAccessKey:T,sessionToken:Q,expiration:E,identityId:_}]}})})},p=d().catch(function(M){return st(n,void 0,void 0,function(){return at(this,function(y){throw M})})});return this._loadCredentials(p,"userPool",!0,null)},e.prototype._loadCredentials=function(t,n,r,o){var i=this,s=this;return new Promise(function(a,c){t.then(function(u){return st(i,void 0,void 0,function(){var l,f,d,p,M;return at(this,function(y){switch(y.label){case 0:if(Ie.debug("Load credentials successfully",u),this._identityId&&!u.identityId&&(u.identityId=this._identityId),s._credentials=u,s._credentials.authenticated=r,s._credentials_source=n,s._nextCredentialsRefresh=new Date().getTime()+eA,n==="federated"){l=Object.assign({id:this._credentials.identityId},o.user),f=o.provider,d=o.token,p=o.expires_at,M=o.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:f,token:d,user:l,expires_at:p,identity_id:M}))}catch(m){Ie.debug("Failed to put federated info into auth storage",m)}}return n!=="guest"?[3,2]:[4,this._setGuestIdentityId(u.identityId)];case 1:y.sent(),y.label=2;case 2:return a(s._credentials),[2]}})})}).catch(function(u){if(u){Ie.debug("Failed to load credentials",t),Ie.debug("Error loading credentials",u),c(u);return}})})},e.prototype.set=function(t,n){return n==="session"?this._setCredentialsFromSession(t):n==="federation"?this._setCredentialsFromFederation(t):n==="guest"?this._setCredentialsForGuest():(Ie.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return st(this,void 0,void 0,function(){return at(this,function(t){return this._credentials=null,this._credentials_source=null,Ie.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype._getGuestIdentityId=function(){return st(this,void 0,void 0,function(){var t,n;return at(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(),Ie.debug("Failed to get the cached guest identityId",n),[3,4];case 4:return[2]}})})},e.prototype._setGuestIdentityId=function(t){return st(this,void 0,void 0,function(){var n,r;return at(this,function(o){switch(o.label){case 0:n=this._config.identityPoolId,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this._storageSync];case 2:return o.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(n),t),[3,4];case 3:return r=o.sent(),Ie.debug("Failed to cache guest identityId",r),[3,4];case 4:return[2]}})})},e.prototype._removeGuestIdentityId=function(){return st(this,void 0,void 0,function(){var t;return at(this,function(n){return t=this._config.identityPoolId,Ie.debug("removing ".concat(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}(),pd=new iA(null);Da.register(pd);/*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */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}();/*! + */var Md=aA,yd=uA,oA=decodeURIComponent,sA=encodeURIComponent,Co=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function aA(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},o=e.split(";"),i=r.decode||oA,s=0;s"u"&&(t=!e||e[0]!=="{"&&e[0]!=="["&&e[0]!=='"'),!t}function md(e,t){t===void 0&&(t={});var n=hA(e);if(dA(n,t.doNotParse))try{return JSON.parse(n)}catch{}return e}function hA(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}var _n=globalThis&&globalThis.__assign||function(){return _n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&this.changeListeners.splice(n,1)},e}();const Ua=gA;var Oo=globalThis&&globalThis.__assign||function(){return Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)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]"};/*! + */var wd=function(){function e(n){var r=n||{},o=r.ValidationData,i=r.Username,s=r.Password,a=r.AuthParameters,c=r.ClientMetadata;this.validationData=o||{},this.authParameters=a||{},this.clientMetadata=c||{},this.username=i,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}(),Be={},Lo={};Lo.byteLength=wA,Lo.toByteArray=IA,Lo.fromByteArray=TA;for(var Rt=[],Dt=[],mA=typeof Uint8Array<"u"?Uint8Array:Array,Pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hr=0,vA=Pa.length;hr0)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 wA(e){var t=Dd(e),n=t[0],r=t[1];return(n+r)*3/4-r}function DA(e,t,n){return(t+n)*3/4-n}function IA(e){var t,n=Dd(e),r=n[0],o=n[1],i=new mA(DA(e,r,o)),s=0,a=o>0?r-4:r,c;for(c=0;c>16&255,i[s++]=t>>8&255,i[s++]=t&255;return o===2&&(t=Dt[e.charCodeAt(c)]<<2|Dt[e.charCodeAt(c+1)]>>4,i[s++]=t&255),o===1&&(t=Dt[e.charCodeAt(c)]<<10|Dt[e.charCodeAt(c+1)]<<4|Dt[e.charCodeAt(c+2)]>>2,i[s++]=t>>8&255,i[s++]=t&255),i}function AA(e){return Rt[e>>18&63]+Rt[e>>12&63]+Rt[e>>6&63]+Rt[e&63]}function EA(e,t,n){for(var r,o=[],i=t;ia?a:s+i));return r===1?(t=e[n-1],o.push(Rt[t>>2]+Rt[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],o.push(Rt[t>>10]+Rt[t>>4&63]+Rt[t<<2&63]+"=")),o.join("")}var Ra={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Ra.read=function(e,t,n,r,o){var i,s,a=o*8-r-1,c=(1<>1,l=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=i*256+e[t+f],f+=d,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=s*256+e[t+f],f+=d,l-=8);if(i===0)i=1-u;else{if(i===c)return s?NaN:(p?-1:1)*(1/0);s=s+Math.pow(2,r),i=i-u}return(p?-1:1)*s*Math.pow(2,i-r)},Ra.write=function(e,t,n,r,o,i){var s,a,c,u=i*8-o-1,l=(1<>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,M=r?1:-1,y=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*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+f>=1?t+=d/c:t+=d*Math.pow(2,1-f),t*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*c-1)*Math.pow(2,o),s=s+f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=a&255,p+=M,a/=256,o-=8);for(s=s<0;e[n+p]=s&255,p+=M,s/=256,u-=8);e[n+p-M]|=y*128};var NA={}.toString,jA=Array.isArray||function(e){return NA.call(e)=="[object Array]"};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(e){var t=ls,n=Tu,r=xj;e.Buffer=a,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=Nt.TYPED_ARRAY_SUPPORT!==void 0?Nt.TYPED_ARRAY_SUPPORT:i(),e.kMaxLength=o();function i(){try{var E=new Uint8Array(1);return E.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},E.foo()===42&&typeof E.subarray=="function"&&E.subarray(1,1).byteLength===0}catch{return!1}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(E,y){if(o()=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<=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return A|0}function w(A){return+A!=A&&(A=0),a.alloc(+A)}a.isBuffer=function(g){return!!(g!=null&&g._isBuffer)},a.compare=function(g,h){if(!a.isBuffer(g)||!a.isBuffer(h))throw new TypeError("Arguments must be Buffers");if(g===h)return 0;for(var I=g.length,k=h.length,X=0,q=Math.min(I,k);X>>1;case"base64":return ce(A).length;default:if(I)return R(A).length;g=(""+g).toLowerCase(),I=!0}}a.byteLength=D;function N(A,g,h){var I=!1;if((g===void 0||g<0)&&(g=0),g>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,g>>>=0,h<=g))return"";for(A||(A="utf8");;)switch(A){case"hex":return ue(this,g,h);case"utf8":case"utf-8":return j(this,g,h);case"ascii":return S(this,g,h);case"latin1":case"binary":return K(this,g,h);case"base64":return U(this,g,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,g,h);default:if(I)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),I=!0}}a.prototype._isBuffer=!0;function E(A,g,h){var I=A[g];A[g]=A[h],A[h]=I}a.prototype.swap16=function(){var g=this.length;if(g%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var h=0;h0&&(g=this.toString("hex",0,h).match(/.{2}/g).join(" "),this.length>h&&(g+=" ... ")),""},a.prototype.compare=function(g,h,I,k,X){if(!a.isBuffer(g))throw new TypeError("Argument must be a Buffer");if(h===void 0&&(h=0),I===void 0&&(I=g?g.length:0),k===void 0&&(k=0),X===void 0&&(X=this.length),h<0||I>g.length||k<0||X>this.length)throw new RangeError("out of range index");if(k>=X&&h>=I)return 0;if(k>=X)return-1;if(h>=I)return 1;if(h>>>=0,I>>>=0,k>>>=0,X>>>=0,this===g)return 0;for(var q=X-k,ye=I-h,Ne=Math.min(q,ye),Ae=this.slice(k,X),Re=g.slice(h,I),$e=0;$e2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,isNaN(h)&&(h=k?0:A.length-1),h<0&&(h=A.length+h),h>=A.length){if(k)return-1;h=A.length-1}else if(h<0)if(k)h=0;else return-1;if(typeof g=="string"&&(g=a.from(g,I)),a.isBuffer(g))return g.length===0?-1:Q(A,g,h,I,k);if(typeof g=="number")return g=g&255,a.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?k?Uint8Array.prototype.indexOf.call(A,g,h):Uint8Array.prototype.lastIndexOf.call(A,g,h):Q(A,[g],h,I,k);throw new TypeError("val must be string, number or Buffer")}function Q(A,g,h,I,k){var X=1,q=A.length,ye=g.length;if(I!==void 0&&(I=String(I).toLowerCase(),I==="ucs2"||I==="ucs-2"||I==="utf16le"||I==="utf-16le")){if(A.length<2||g.length<2)return-1;X=2,q/=2,ye/=2,h/=2}function Ne(nn,Dr){return X===1?nn[Dr]:nn.readUInt16BE(Dr*X)}var Ae;if(k){var Re=-1;for(Ae=h;Aeq&&(h=q-ye),Ae=h;Ae>=0;Ae--){for(var $e=!0,me=0;mek&&(I=k)):I=k;var X=g.length;if(X%2!==0)throw new TypeError("Invalid hex string");I>X/2&&(I=X/2);for(var q=0;qX)&&(I=X),g.length>0&&(I<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");k||(k="utf8");for(var q=!1;;)switch(k){case"hex":return _(this,g,h,I);case"utf8":case"utf-8":return J(this,g,h,I);case"ascii":return B(this,g,h,I);case"latin1":case"binary":return G(this,g,h,I);case"base64":return ee(this,g,h,I);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,g,h,I);default:if(q)throw new TypeError("Unknown encoding: "+k);k=(""+k).toLowerCase(),q=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(A,g,h){return g===0&&h===A.length?t.fromByteArray(A):t.fromByteArray(A.slice(g,h))}function j(A,g,h){h=Math.min(A.length,h);for(var I=[],k=g;k239?4:X>223?3:X>191?2:1;if(k+ye<=h){var Ne,Ae,Re,$e;switch(ye){case 1:X<128&&(q=X);break;case 2:Ne=A[k+1],(Ne&192)===128&&($e=(X&31)<<6|Ne&63,$e>127&&(q=$e));break;case 3:Ne=A[k+1],Ae=A[k+2],(Ne&192)===128&&(Ae&192)===128&&($e=(X&15)<<12|(Ne&63)<<6|Ae&63,$e>2047&&($e<55296||$e>57343)&&(q=$e));break;case 4:Ne=A[k+1],Ae=A[k+2],Re=A[k+3],(Ne&192)===128&&(Ae&192)===128&&(Re&192)===128&&($e=(X&15)<<18|(Ne&63)<<12|(Ae&63)<<6|Re&63,$e>65535&&$e<1114112&&(q=$e))}}q===null?(q=65533,ye=1):q>65535&&(q-=65536,I.push(q>>>10&1023|55296),q=56320|q&1023),I.push(q),k+=ye}return H(I)}var C=4096;function H(A){var g=A.length;if(g<=C)return String.fromCharCode.apply(String,A);for(var h="",I=0;II)&&(h=I);for(var k="",X=g;XI&&(g=I),h<0?(h+=I,h<0&&(h=0)):h>I&&(h=I),hh)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUIntLE=function(g,h,I){g=g|0,h=h|0,I||z(g,h,this.length);for(var k=this[g],X=1,q=0;++q0&&(X*=256);)k+=this[g+--h]*X;return k},a.prototype.readUInt8=function(g,h){return h||z(g,1,this.length),this[g]},a.prototype.readUInt16LE=function(g,h){return h||z(g,2,this.length),this[g]|this[g+1]<<8},a.prototype.readUInt16BE=function(g,h){return h||z(g,2,this.length),this[g]<<8|this[g+1]},a.prototype.readUInt32LE=function(g,h){return h||z(g,4,this.length),(this[g]|this[g+1]<<8|this[g+2]<<16)+this[g+3]*16777216},a.prototype.readUInt32BE=function(g,h){return h||z(g,4,this.length),this[g]*16777216+(this[g+1]<<16|this[g+2]<<8|this[g+3])},a.prototype.readIntLE=function(g,h,I){g=g|0,h=h|0,I||z(g,h,this.length);for(var k=this[g],X=1,q=0;++q=X&&(k-=Math.pow(2,8*h)),k},a.prototype.readIntBE=function(g,h,I){g=g|0,h=h|0,I||z(g,h,this.length);for(var k=h,X=1,q=this[g+--k];k>0&&(X*=256);)q+=this[g+--k]*X;return X*=128,q>=X&&(q-=Math.pow(2,8*h)),q},a.prototype.readInt8=function(g,h){return h||z(g,1,this.length),this[g]&128?(255-this[g]+1)*-1:this[g]},a.prototype.readInt16LE=function(g,h){h||z(g,2,this.length);var I=this[g]|this[g+1]<<8;return I&32768?I|4294901760:I},a.prototype.readInt16BE=function(g,h){h||z(g,2,this.length);var I=this[g+1]|this[g]<<8;return I&32768?I|4294901760:I},a.prototype.readInt32LE=function(g,h){return h||z(g,4,this.length),this[g]|this[g+1]<<8|this[g+2]<<16|this[g+3]<<24},a.prototype.readInt32BE=function(g,h){return h||z(g,4,this.length),this[g]<<24|this[g+1]<<16|this[g+2]<<8|this[g+3]},a.prototype.readFloatLE=function(g,h){return h||z(g,4,this.length),n.read(this,g,!0,23,4)},a.prototype.readFloatBE=function(g,h){return h||z(g,4,this.length),n.read(this,g,!1,23,4)},a.prototype.readDoubleLE=function(g,h){return h||z(g,8,this.length),n.read(this,g,!0,52,8)},a.prototype.readDoubleBE=function(g,h){return h||z(g,8,this.length),n.read(this,g,!1,52,8)};function Y(A,g,h,I,k,X){if(!a.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(g>k||gA.length)throw new RangeError("Index out of range")}a.prototype.writeUIntLE=function(g,h,I,k){if(g=+g,h=h|0,I=I|0,!k){var X=Math.pow(2,8*I)-1;Y(this,g,h,I,X,0)}var q=1,ye=0;for(this[h]=g&255;++ye=0&&(ye*=256);)this[h+q]=g/ye&255;return h+I},a.prototype.writeUInt8=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,1,255,0),a.TYPED_ARRAY_SUPPORT||(g=Math.floor(g)),this[h]=g&255,h+1};function V(A,g,h,I){g<0&&(g=65535+g+1);for(var k=0,X=Math.min(A.length-h,2);k>>(I?k:1-k)*8}a.prototype.writeUInt16LE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[h]=g&255,this[h+1]=g>>>8):V(this,g,h,!0),h+2},a.prototype.writeUInt16BE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[h]=g>>>8,this[h+1]=g&255):V(this,g,h,!1),h+2};function $(A,g,h,I){g<0&&(g=4294967295+g+1);for(var k=0,X=Math.min(A.length-h,4);k>>(I?k:3-k)*8&255}a.prototype.writeUInt32LE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[h+3]=g>>>24,this[h+2]=g>>>16,this[h+1]=g>>>8,this[h]=g&255):$(this,g,h,!0),h+4},a.prototype.writeUInt32BE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[h]=g>>>24,this[h+1]=g>>>16,this[h+2]=g>>>8,this[h+3]=g&255):$(this,g,h,!1),h+4},a.prototype.writeIntLE=function(g,h,I,k){if(g=+g,h=h|0,!k){var X=Math.pow(2,8*I-1);Y(this,g,h,I,X-1,-X)}var q=0,ye=1,Ne=0;for(this[h]=g&255;++q>0)-Ne&255;return h+I},a.prototype.writeIntBE=function(g,h,I,k){if(g=+g,h=h|0,!k){var X=Math.pow(2,8*I-1);Y(this,g,h,I,X-1,-X)}var q=I-1,ye=1,Ne=0;for(this[h+q]=g&255;--q>=0&&(ye*=256);)g<0&&Ne===0&&this[h+q+1]!==0&&(Ne=1),this[h+q]=(g/ye>>0)-Ne&255;return h+I},a.prototype.writeInt8=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,1,127,-128),a.TYPED_ARRAY_SUPPORT||(g=Math.floor(g)),g<0&&(g=255+g+1),this[h]=g&255,h+1},a.prototype.writeInt16LE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[h]=g&255,this[h+1]=g>>>8):V(this,g,h,!0),h+2},a.prototype.writeInt16BE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[h]=g>>>8,this[h+1]=g&255):V(this,g,h,!1),h+2},a.prototype.writeInt32LE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[h]=g&255,this[h+1]=g>>>8,this[h+2]=g>>>16,this[h+3]=g>>>24):$(this,g,h,!0),h+4},a.prototype.writeInt32BE=function(g,h,I){return g=+g,h=h|0,I||Y(this,g,h,4,2147483647,-2147483648),g<0&&(g=4294967295+g+1),a.TYPED_ARRAY_SUPPORT?(this[h]=g>>>24,this[h+1]=g>>>16,this[h+2]=g>>>8,this[h+3]=g&255):$(this,g,h,!1),h+4};function te(A,g,h,I,k,X){if(h+I>A.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function b(A,g,h,I,k){return k||te(A,g,h,4),n.write(A,g,h,I,23,4),h+4}a.prototype.writeFloatLE=function(g,h,I){return b(this,g,h,!0,I)},a.prototype.writeFloatBE=function(g,h,I){return b(this,g,h,!1,I)};function re(A,g,h,I,k){return k||te(A,g,h,8),n.write(A,g,h,I,52,8),h+8}a.prototype.writeDoubleLE=function(g,h,I){return re(this,g,h,!0,I)},a.prototype.writeDoubleBE=function(g,h,I){return re(this,g,h,!1,I)},a.prototype.copy=function(g,h,I,k){if(I||(I=0),!k&&k!==0&&(k=this.length),h>=g.length&&(h=g.length),h||(h=0),k>0&&k=this.length)throw new RangeError("sourceStart out of bounds");if(k<0)throw new RangeError("sourceEnd out of bounds");k>this.length&&(k=this.length),g.length-h=0;--q)g[q+h]=this[q+I];else if(X<1e3||!a.TYPED_ARRAY_SUPPORT)for(q=0;q>>0,I=I===void 0?this.length:I>>>0,g||(g=0);var q;if(typeof g=="number")for(q=h;q55295&&h<57344){if(!k){if(h>56319){(g-=3)>-1&&X.push(239,191,189);continue}else if(q+1===I){(g-=3)>-1&&X.push(239,191,189);continue}k=h;continue}if(h<56320){(g-=3)>-1&&X.push(239,191,189),k=h;continue}h=(k-55296<<10|h-56320)+65536}else k&&(g-=3)>-1&&X.push(239,191,189);if(k=null,h<128){if((g-=1)<0)break;X.push(h)}else if(h<2048){if((g-=2)<0)break;X.push(h>>6|192,h&63|128)}else if(h<65536){if((g-=3)<0)break;X.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((g-=4)<0)break;X.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return X}function le(A){for(var g=[],h=0;h>8,k=h%256,X.push(k),X.push(I);return X}function ce(A){return t.toByteArray(oe(A))}function ge(A,g,h,I){for(var k=0;k=g.length||k>=A.length);++k)g[k+h]=A[k];return k}function fe(A){return A!==A}})(Be);var It;if(typeof window<"u"&&window.crypto&&(It=window.crypto),!It&&typeof window<"u"&&window.msCrypto&&(It=window.msCrypto),!It&&typeof global<"u"&&global.crypto&&(It=global.crypto),!It&&typeof require=="function")try{It=require("crypto")}catch{}function bA(){if(It){if(typeof It.getRandomValues=="function")try{return It.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof It.randomBytes=="function")try{return It.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")}function SA(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((i&15).toString(16))}return r.join("")}var xA=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 o=[],i=0;i=0;){var s=t*this[e++]+n[r]+o;o=Math.floor(s/67108864),n[r++]=s&67108863}return o}function LA(e,t,n,r,o,i){for(var s=t&32767,a=t>>15;--i>=0;){var c=this[e]&32767,u=this[e++]>>15,l=a*c+u*s;c=s*c+((l&32767)<<15)+n[r]+(o&1073741823),o=(c>>>30)+(l>>>15)+a*u+(o>>>30),n[r++]=c&1073741823}return o}function _A(e,t,n,r,o,i){for(var s=t&16383,a=t>>14;--i>=0;){var c=this[e]&16383,u=this[e++]>>14,l=a*c+u*s;c=s*c+((l&16383)<<14)+n[r]+o,o=(c>>28)+(l>>14)+a*u,n[r++]=c&268435455}return o}var Ad=typeof navigator<"u";Ad&&Id&&navigator.appName=="Microsoft Internet Explorer"?(Me.prototype.am=LA,ln=30):Ad&&Id&&navigator.appName!="Netscape"?(Me.prototype.am=OA,ln=26):(Me.prototype.am=_A,ln=28),Me.prototype.DB=ln,Me.prototype.DM=(1<=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function PA(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 Fa(e){var t=ct();return t.fromInt(e),t}function RA(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,o=!1,i=0;--r>=0;){var s=zA(e,r);if(s<0){e.charAt(r)=="-"&&(o=!0);continue}o=!1,i==0?this[this.t++]=s:i+n>this.DB?(this[this.t-1]|=(s&(1<>this.DB-i):this[this.t-1]|=s<=this.DB&&(i-=this.DB)}this.clamp(),o&&Me.ZERO.subTo(this,this)}function YA(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function FA(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&&(o=!0,i=Ed(r));s>=0;)a>(a+=this.DB-t)):(r=this[s]>>(a-=t)&n,a<=0&&(a+=this.DB,--s)),r>0&&(o=!0),o&&(i+=Ed(r));return o?i:"0"}function QA(){var e=ct();return Me.ZERO.subTo(this,e),e}function BA(){return this.s<0?this.negate():this}function $A(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 Qa(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 WA(){return this.t<=0?0:this.DB*(this.t-1)+Qa(this[this.t-1]^this.s&this.DM)}function VA(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 HA(e,t){for(var n=e;n=0;--a)t[a+i+1]=this[a]>>r|s,s=(this[a]&o)<=0;--a)t[a]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()}function KA(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,o=this.DB-r,i=(1<>r;for(var s=n+1;s>r;r>0&&(t[this.t-n-1]|=(this.s&i)<>=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 JA(e,t){var n=this.abs(),r=e.abs(),o=n.t;for(t.t=o+r.t;--o>=0;)t[o]=0;for(o=0;o=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 ZA(e,t,n){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t0?(r.lShiftTo(c,i),o.lShiftTo(c,n)):(r.copyTo(i),o.copyTo(n));var u=i.t,l=i[u-1];if(l!=0){var f=l*(1<1?i[u-2]>>this.F2:0),d=this.FV/f,p=(1<=0&&(n[n.t++]=1,n.subTo(w,n)),Me.ONE.dlShiftTo(u,w),w.subTo(i,i);i.t=0;){var D=n[--y]==l?this.DM:Math.floor(n[y]*d+(n[y-1]+M)*p);if((n[y]+=i.am(0,D,n,m,0,u))0&&n.rShiftTo(c,n),s<0&&Me.ZERO.subTo(n,n)}}}function eE(e){var t=ct();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(Me.ZERO)>0&&e.subTo(t,t),t}function tE(){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 nE(e){return this.compareTo(e)==0}function rE(e,t){for(var n=0,r=0,o=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 iE(e){var t=ct();return this.addTo(e,t),t}function oE(e){var t=ct();return this.subTo(e,t),t}function sE(e){var t=ct();return this.multiplyTo(e,t),t}function aE(e){var t=ct();return this.divRemTo(e,t,null),t}function pr(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 cE(e){var t=ct();return e.copyTo(t),this.reduce(t),t}function lE(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 fE(e,t){e.squareTo(t),this.reduce(t)}function dE(e,t,n){e.multiplyTo(t,n),this.reduce(n)}pr.prototype.convert=uE,pr.prototype.revert=cE,pr.prototype.reduce=lE,pr.prototype.mulTo=dE,pr.prototype.sqrTo=fE;function hE(e,t,n){var r=e.bitLength(),o,i=Fa(1),s=new pr(t);if(r<=0)return i;r<18?o=1:r<48?o=3:r<144?o=4:r<768?o=5:o=6;var a=new Array,c=3,u=o-1,l=(1<1){var f=ct();for(s.sqrTo(a[1],f);c<=l;)a[c]=ct(),s.mulTo(f,a[c-2],a[c]),c+=2}var d=e.t-1,p,M=!0,y=ct(),m;for(r=Qa(e[d])-1;d>=0;){for(r>=u?p=e[d]>>r-u&l:(p=(e[d]&(1<0&&(p|=e[d-1]>>this.DB+r-u)),c=o;!(p&1);)p>>=1,--c;if((r-=c)<0&&(r+=this.DB,--d),M)a[p].copyTo(i),M=!1;else{for(;c>1;)s.sqrTo(i,y),s.sqrTo(y,i),c-=2;c>0?s.sqrTo(i,y):(m=i,i=y,y=m),s.mulTo(y,a[p],i)}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 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))}/*! + */var TE=typeof navigator<"u",Sd=TE?Nd.isReactNative?"react-native":navigator.userAgent:"nodejs",Ga=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 bd().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,o){var i=this,s=r.getAuthParameters();s.USERNAME=this.username;var a=Object.keys(r.getValidationData()).length!==0?r.getValidationData():r.getClientMetadata(),c={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:s,ClientMetadata:a};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",c,function(u,l){if(u)return o.onFailure(u);var f=l.ChallengeName,d=l.ChallengeParameters;return f==="CUSTOM_CHALLENGE"?(i.Session=l.Session,o.customChallenge(d)):(i.signInUserSession=i.getCognitoUserSession(l.AuthenticationResult),i.cacheTokens(),o.onSuccess(i.signInUserSession))})},t.authenticateUser=function(r,o){return this.authenticationFlowType==="USER_PASSWORD_AUTH"?this.authenticateUserPlainUsernamePassword(r,o):this.authenticationFlowType==="USER_SRP_AUTH"||this.authenticationFlowType==="CUSTOM_AUTH"?this.authenticateUserDefaultAuth(r,o):o.onFailure(new Error("Authentication flow type is invalid."))},t.authenticateUserDefaultAuth=function(r,o){var i=this,s=new Mr(this.pool.getUserPoolName()),a=new jd,c,u,l={};this.deviceKey!=null&&(l.DEVICE_KEY=this.deviceKey),l.USERNAME=this.username,s.getLargeAValue(function(f,d){f&&o.onFailure(f),l.SRP_A=d.toString(16),i.authenticationFlowType==="CUSTOM_AUTH"&&(l.CHALLENGE_NAME="SRP_A");var p=Object.keys(r.getValidationData()).length!==0?r.getValidationData():r.getClientMetadata(),M={AuthFlow:i.authenticationFlowType,ClientId:i.pool.getClientId(),AuthParameters:l,ClientMetadata:p};i.getUserContextData(i.username)&&(M.UserContextData=i.getUserContextData(i.username)),i.client.request("InitiateAuth",M,function(y,m){if(y)return o.onFailure(y);var w=m.ChallengeParameters;i.username=w.USER_ID_FOR_SRP,i.userDataKey=i.keyPrefix+"."+i.username+".userData",c=new Me(w.SRP_B,16),u=new Me(w.SALT,16),i.getCachedDeviceKeyAndPassword(),s.getPasswordAuthenticationKey(i.username,r.getPassword(),c,u,function(D,N){D&&o.onFailure(D);var E=a.getNowString(),T=Be.Buffer.concat([Be.Buffer.from(i.pool.getUserPoolName(),"utf8"),Be.Buffer.from(i.username,"utf8"),Be.Buffer.from(w.SECRET_BLOCK,"base64"),Be.Buffer.from(E,"utf8")]),Q=new Cn.Sha256(N);Q.update(T);var _=Q.digestSync(),J=Be.Buffer.from(_).toString("base64"),B={};B.USERNAME=i.username,B.PASSWORD_CLAIM_SECRET_BLOCK=w.SECRET_BLOCK,B.TIMESTAMP=E,B.PASSWORD_CLAIM_SIGNATURE=J,i.deviceKey!=null&&(B.DEVICE_KEY=i.deviceKey);var G=function ie(U,j){return i.client.request("RespondToAuthChallenge",U,function(C,H){return C&&C.code==="ResourceNotFoundException"&&C.message.toLowerCase().indexOf("device")!==-1?(B.DEVICE_KEY=null,i.deviceKey=null,i.randomPassword=null,i.deviceGroupKey=null,i.clearCachedDeviceKeyAndPassword(),ie(U,j)):j(C,H)})},ee={ChallengeName:"PASSWORD_VERIFIER",ClientId:i.pool.getClientId(),ChallengeResponses:B,Session:m.Session,ClientMetadata:p};i.getUserContextData()&&(ee.UserContextData=i.getUserContextData()),G(ee,function(ie,U){return ie?o.onFailure(ie):i.authenticateUserInternal(U,s,o)})})})})},t.authenticateUserPlainUsernamePassword=function(r,o){var i=this,s={};if(s.USERNAME=this.username,s.PASSWORD=r.getPassword(),!s.PASSWORD){o.onFailure(new Error("PASSWORD parameter is required"));return}var a=new Mr(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),this.deviceKey!=null&&(s.DEVICE_KEY=this.deviceKey);var c=Object.keys(r.getValidationData()).length!==0?r.getValidationData():r.getClientMetadata(),u={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:s,ClientMetadata:c};this.getUserContextData(this.username)&&(u.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",u,function(l,f){return l?o.onFailure(l):i.authenticateUserInternal(f,a,o)})},t.authenticateUserInternal=function(r,o,i){var s=this,a=r.ChallengeName,c=r.ChallengeParameters;if(a==="SMS_MFA")return this.Session=r.Session,i.mfaRequired(a,c);if(a==="SELECT_MFA_TYPE")return this.Session=r.Session,i.selectMFAType(a,c);if(a==="MFA_SETUP")return this.Session=r.Session,i.mfaSetup(a,c);if(a==="SOFTWARE_TOKEN_MFA")return this.Session=r.Session,i.totpRequired(a,c);if(a==="CUSTOM_CHALLENGE")return this.Session=r.Session,i.customChallenge(c);if(a==="NEW_PASSWORD_REQUIRED"){this.Session=r.Session;var u=null,l=null,f=[],d=o.getNewPasswordRequiredChallengeUserAttributePrefix();if(c&&(u=JSON.parse(r.ChallengeParameters.userAttributes),l=JSON.parse(r.ChallengeParameters.requiredAttributes)),l)for(var p=0;p"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 CE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ii(e,t){return ii=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},ii(e,t)}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}var OE=function(e){SE(t,e);function t(n,r,o,i){var s;return s=e.call(this,n)||this,s.code=r,s.name=o,s.statusCode=i,s}return t}(Ja(Error)),LE=function(){function e(n,r,o){this.endpoint=r||"https://cognito-idp."+n+".amazonaws.com/";var i=o||{},s=i.credentials;this.fetchOptions=s?{credentials:s}:{}}var t=e.prototype;return t.promisifyRequest=function(r,o){var i=this;return new Promise(function(s,a){i.request(r,o,function(c,u){c?a(new OE(c.message,c.code,c.name,c.statusCode)):s(u)})})},t.requestWithRetry=function(r,o,i){var s=this,a=5*1e3;UE(function(c){return new Promise(function(u,l){s.request(r,c,function(f,d){f?l(f):u(d)})})},[o],a).then(function(c){return i(null,c)}).catch(function(c){return i(c)})},t.request=function(r,o,i){var s={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+r,"X-Amz-User-Agent":bE(),"Cache-Control":"no-store"},a=Object.assign({},this.fetchOptions,{headers:s,method:"POST",mode:"cors",body:JSON.stringify(o)}),c;fetch(this.endpoint,a).then(function(u){return c=u,u},function(u){throw u instanceof TypeError?new Error("Network error"):u}).then(function(u){return u.json().catch(function(){return{}})}).then(function(u){if(c.ok)return i(null,u);var l=(u.__type||u.code).split("#").pop(),f=new Error(u.message||u.Message||null);return f.name=l,f.code=l,i(f)}).catch(function(u){if(c&&c.headers&&c.headers.get("x-amzn-errortype"))try{var l=c.headers.get("x-amzn-errortype").split(":")[0],f=new Error(c.status?c.status.toString():null);return f.code=l,f.name=l,f.statusCode=c.status,i(f)}catch{return i(u)}else u instanceof Error&&u.message==="Network error"&&(u.code="NetworkError");return i(u)})},e}(),zo={debug:function(){}},_E=function(t){var n="nonRetryable";return t&&t[n]};function Cd(e,t,n,r){if(r===void 0&&(r=1),typeof e!="function")throw Error("functionToRetry must be a function");return zo.debug(e.name+" attempt #"+r+" with args: "+JSON.stringify(t)),e.apply(void 0,t).catch(function(o){if(zo.debug("error on "+e.name,o),_E(o))throw zo.debug(e.name+" non retryable error",o),o;var i=n(r,t,o);if(zo.debug(e.name+" retrying in "+i+" ms"),i!==!1)return new Promise(function(s){return setTimeout(s,i)}).then(function(){return Cd(e,t,n,r+1)});throw o})}function kE(e){var t=100,n=100;return function(r){var o=Math.pow(2,r)*t+n*Math.random();return o>e?!1:o}}var zE=5*60*1e3;function UE(e,t,n){return n===void 0&&(n=zE),Cd(e,t,kE(n))}/*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 - */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}};/*! + */var PE=55,RE=function(){function e(n,r){var o=n||{},i=o.UserPoolId,s=o.ClientId,a=o.endpoint,c=o.fetchOptions,u=o.AdvancedSecurityDataCollectionFlag;if(!i||!s)throw new Error("Both UserPoolId and ClientId are required.");if(i.length>PE||!/^[\w-]+_[0-9a-zA-Z]+$/.test(i))throw new Error("Invalid UserPoolId format.");var l=i.split("_")[0];this.userPoolId=i,this.clientId=s,this.client=new LE(l,a,c),this.advancedSecurityDataCollectionFlag=u!==!1,this.storage=n.Storage||new bd().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,o,i,s,a,c){var u=this,l={ClientId:this.clientId,Username:r,Password:o,UserAttributes:i,ValidationData:s,ClientMetadata:c};this.getUserContextData(r)&&(l.UserContextData=this.getUserContextData(r)),this.client.request("SignUp",l,function(f,d){if(f)return a(f,null);var p={Username:r,Pool:u,Storage:u.storage},M={user:new Ga(p),userConfirmed:d.UserConfirmed,userSub:d.UserSub,codeDeliveryDetails:d.CodeDeliveryDetails};return a(null,M)})},t.getCurrentUser=function(){var r="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",o=this.storage.getItem(r);if(o){var i={Username:o,Pool:this,Storage:this.storage};return new Ga(i)}return null},t.getUserContextData=function(r){if(!(typeof AmazonCognitoAdvancedSecurityData>"u")){var o=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var i=o.getData(r,this.userPoolId,this.clientId);if(i){var s={EncodedData:i};return s}}return{}}},e}(),Od={exports:{}};/*! * 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 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;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=i.write?i.write(l,u):encodeURIComponent(String(l)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),u=encodeURIComponent(String(u)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var p="";for(var M in f)f[M]&&(p+="; "+M,f[M]!==!0&&(p+="="+f[M].split(";")[0]));return document.cookie=u+"="+l+p}}function c(u,l){if(!(typeof document>"u")){for(var f={},d=document.cookie?document.cookie.split("; "):[],p=0;p= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=c-u,T=Math.floor,Q=String.fromCharCode,_;function J(O){throw RangeError(N[O])}function B(O,z){for(var Y=O.length,V=[];Y--;)V[Y]=z(O[Y]);return V}function G(O,z){var Y=O.split("@"),V="";Y.length>1&&(V=Y[0]+"@",O=Y[1]),O=O.replace(D,".");var $=O.split("."),te=B($,z).join(".");return V+te}function ee(O){for(var z=[],Y=0,V=O.length,$,te;Y=55296&&$<=56319&&Y65535&&(z-=65536,Y+=Q(z>>>10&1023|55296),z=56320|z&1023),Y+=Q(z),Y}).join("")}function U(O){return O-48<10?O-22:O-65<26?O-65:O-97<26?O-97:c}function j(O,z){return O+22+75*(O<26)-((z!=0)<<5)}function C(O,z,Y){var V=0;for(O=Y?T(O/d):O>>1,O+=T(O/z);O>E*l>>1;V+=c)O=T(O/E);return T(V+(E+1)*O/(O+f))}function H(O){var z=[],Y=O.length,V,$=0,te=M,b=p,re,W,oe,P,L,R,le,Z,ce;for(re=O.lastIndexOf(y),re<0&&(re=0),W=0;W=128&&J("not-basic"),z.push(O.charCodeAt(W));for(oe=re>0?re+1:0;oe=Y&&J("invalid-input"),le=U(O.charCodeAt(oe++)),(le>=c||le>T((a-$)/L))&&J("overflow"),$+=le*L,Z=R<=b?u:R>=b+l?l:R-b,!(leT(a/ce)&&J("overflow"),L*=ce;V=z.length+1,b=C($-P,V,P==0),T($/V)>a-te&&J("overflow"),te+=T($/V),$%=V,z.splice($++,0,te)}return ie(z)}function S(O){var z,Y,V,$,te,b,re,W,oe,P,L,R=[],le,Z,ce,ge;for(O=ee(O),le=O.length,z=M,Y=0,te=p,b=0;b=z&&LT((a-Y)/Z)&&J("overflow"),Y+=(re-z)*Z,z=re,b=0;ba&&J("overflow"),L==z){for(W=Y,oe=c;P=oe<=te?u:oe>=te+l?l:oe-te,!(W0&&a>s&&(a=s);for(var c=0;c=0?(f=u.substr(0,l),d=u.substr(l+1)):(f=u,d=""),p=decodeURIComponent(f),M=decodeURIComponent(d),BE(o,p)?Array.isArray(o[p])?o[p].push(M):o[p]=[o[p],M]:o[p]=M}return o},ai=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},WE=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(o){var i=encodeURIComponent(ai(o))+n;return Array.isArray(e[o])?e[o].map(function(s){return i+encodeURIComponent(ai(s))}).join(t):i+encodeURIComponent(ai(e[o]))}).join(t):r?encodeURIComponent(ai(r))+n+encodeURIComponent(ai(e)):""};si.decode=si.parse=$E,si.encode=si.stringify=WE;var VE=FE,Gt=QE,dn=zd;function Jt(){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 HE=/^([a-z0-9.+-]+:)/i,qE=/:[0-9]*$/,KE=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,GE=["<",">",'"',"`"," ","\r",` +`," "],JE=["{","}","|","\\","^","`"].concat(GE),Za=["'"].concat(JE),Ld=["%","/","?",";","#"].concat(Za),_d=["/","?","#"],XE=255,kd=/^[+a-z0-9A-Z_-]{0,63}$/,ZE=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,eT={javascript:!0,"javascript:":!0},eu={javascript:!0,"javascript:":!0},mr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},tu=si;function zd(e,t,n){if(e&&Gt.isObject(e)&&e instanceof Jt)return e;var r=new Jt;return r.parse(e,t,n),r}Jt.prototype.parse=function(e,t,n){if(!Gt.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=r!==-1&&r127?T+="x":T+=E[Q];if(!T.match(kd)){var J=D.slice(0,p),B=D.slice(p+1),G=E.match(ZE);G&&(J.push(G[1]),B.unshift(G[2])),B.length&&(a="/"+B.join(".")+a),this.hostname=J.join(".");break}}}this.hostname.length>XE?this.hostname="":this.hostname=this.hostname.toLowerCase(),w||(this.hostname=VE.toASCII(this.hostname));var ee=this.port?":"+this.port:"",ie=this.hostname||"";this.host=ie+ee,this.href+=this.host,w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!eT[l])for(var p=0,N=Za.length;p0?n.host.split("@"):!1;T&&(n.auth=T.shift(),n.host=n.hostname=T.shift())}return n.search=e.search,n.query=e.query,(!Gt.isNull(n.pathname)||!Gt.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!D.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var Q=D.slice(-1)[0],_=(n.host||e.host||D.length>1)&&(Q==="."||Q==="..")||Q==="",J=0,B=D.length;B>=0;B--)Q=D[B],Q==="."?D.splice(B,1):Q===".."?(D.splice(B,1),J++):J&&(D.splice(B,1),J--);if(!m&&!w)for(;J--;J)D.unshift("..");m&&D[0]!==""&&(!D[0]||D[0].charAt(0)!=="/")&&D.unshift(""),_&&D.join("/").substr(-1)!=="/"&&D.push("");var G=D[0]===""||D[0]&&D[0].charAt(0)==="/";if(E){n.hostname=n.host=G?"":D.length?D.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&&D.length,m&&!G&&D.unshift(""),D.length?n.pathname=D.join("/"):(n.pathname=null,n.path=null),(!Gt.isNull(n.pathname)||!Gt.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},Jt.prototype.parseHost=function(){var e=this.host,t=qE.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 tT="_self",nT=function(e){var t=window.open(e,tT);return t?Promise.resolve(t):Promise.reject()},rT=function(e){window.sessionStorage.setItem("oauth_state",e)},iT=function(){var e=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),e},oT=function(e){window.sessionStorage.setItem("ouath_pkce_key",e)},sT=function(){var e=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),e},aT=typeof Symbol<"u"&&typeof Symbol.for=="function"?Symbol.for("amplify_default"):"@@amplify_default",nu=function(e,t,n){qt.dispatch("auth",{event:e,data:t,message:n},"Auth",aT)},vr=new Lt("OAuth"),uT=function(){function e(t){var n=t.config,r=t.cognitoClientId,o=t.scopes,i=o===void 0?[]:o;if(this._urlOpener=n.urlOpener||nT,this._config=n,this._cognitoClientId=r,!this.isValidScopes(i))throw Error("scopes must be a String Array");this._scopes=i}return e.prototype.isValidScopes=function(t){return Array.isArray(t)&&t.every(function(n){return typeof n=="string"})},e.prototype.oauthSignIn=function(t,n,r,o,i,s){t===void 0&&(t="code"),i===void 0&&(i=lo.Cognito);var a=this._generateState(32),c=s?a+"-"+_D(s):a;rT(c);var u=this._generateRandom(128);oT(u);var l=this._generateChallenge(u),f="S256",d=this._scopes.join(" "),p=Object.entries(tt(tt({redirect_uri:r,response_type:t,client_id:o,identity_provider:i,scope:d,state:c},t==="code"?{code_challenge:l}:{}),t==="code"?{code_challenge_method:f}:{})).map(function(y){var m=Ct(y,2),w=m[0],D=m[1];return encodeURIComponent(w)+"="+encodeURIComponent(D)}).join("&"),M="https://"+n+"/oauth2/authorize?"+p;vr.debug("Redirecting to "+M),this._urlOpener(M,r)},e.prototype._handleCodeFlow=function(t){return be(this,void 0,void 0,function(){var n,r,o,i,s,a,c,u,l,f,d,p,M,y,m,w;return Se(this,function(D){switch(D.label){case 0:return n=(dn(t).query||"").split("&").map(function(N){return N.split("=")}).reduce(function(N,E){var T,Q=Ct(E,2),_=Q[0],J=Q[1];return tt(tt({},N),(T={},T[_]=J,T))},{code:void 0}).code,r=dn(t).pathname||"/",o=dn(this._config.redirectSignIn).pathname||"/",!n||r!==o?[2]:(i="https://"+this._config.domain+"/oauth2/token",nu("codeFlow",{},"Retrieving tokens from "+i),s=Sn(this._config)?this._cognitoClientId:this._config.clientID,a=Sn(this._config)?this._config.redirectSignIn:this._config.redirectUri,c=sT(),u=tt({grant_type:"authorization_code",code:n,client_id:s,redirect_uri:a},c?{code_verifier:c}:{}),vr.debug("Calling token endpoint: "+i+" with",u),l=Object.entries(u).map(function(N){var E=Ct(N,2),T=E[0],Q=E[1];return encodeURIComponent(T)+"="+encodeURIComponent(Q)}).join("&"),f={category:Ia.Auth,action:Aa.FederatedSignIn},[4,fetch(i,{method:"POST",headers:(w={"Content-Type":"application/x-www-form-urlencoded"},w[yA]=ja(f),w),body:l})]);case 1:return[4,D.sent().json()];case 2:if(d=D.sent(),p=d.access_token,M=d.refresh_token,y=d.id_token,m=d.error,m)throw new Error(m);return[2,{accessToken:p,refreshToken:M,idToken:y}]}})})},e.prototype._handleImplicitFlow=function(t){return be(this,void 0,void 0,function(){var n,r,o;return Se(this,function(i){return n=(dn(t).hash||"#").substr(1).split("&").map(function(s){return s.split("=")}).reduce(function(s,a){var c,u=Ct(a,2),l=u[0],f=u[1];return tt(tt({},s),(c={},c[l]=f,c))},{id_token:void 0,access_token:void 0}),r=n.id_token,o=n.access_token,nu("implicitFlow",{},"Got tokens from "+t),vr.debug("Retrieving implicit tokens from "+t+" with"),[2,{accessToken:o,idToken:r,refreshToken:null}]})})},e.prototype.handleAuthResponse=function(t){return be(this,void 0,void 0,function(){var n,r,o,i,s,a,c;return Se(this,function(u){switch(u.label){case 0:if(u.trys.push([0,5,,6]),n=t?tt(tt({},(dn(t).hash||"#").substr(1).split("&").map(function(l){return l.split("=")}).reduce(function(l,f){var d=Ct(f,2),p=d[0],M=d[1];return l[p]=M,l},{})),(dn(t).query||"").split("&").map(function(l){return l.split("=")}).reduce(function(l,f){var d=Ct(f,2),p=d[0],M=d[1];return l[p]=M,l},{})):{},r=n.error,o=n.error_description,r)throw new Error(o);return i=this._validateState(n),vr.debug("Starting "+this._config.responseType+" flow with "+t),this._config.responseType!=="code"?[3,2]:(s=[{}],[4,this._handleCodeFlow(t)]);case 1:return[2,tt.apply(void 0,[tt.apply(void 0,s.concat([u.sent()])),{state:i}])];case 2:return a=[{}],[4,this._handleImplicitFlow(t)];case 3:return[2,tt.apply(void 0,[tt.apply(void 0,a.concat([u.sent()])),{state:i}])];case 4:return[3,6];case 5:throw c=u.sent(),vr.debug("Error handling auth response.",c),c;case 6:return[2]}})})},e.prototype._validateState=function(t){if(t){var n=iT(),r=t.state;if(n&&n!==r)throw new Error("Invalid state in OAuth flow");return r}},e.prototype.signOut=function(){return be(this,void 0,void 0,function(){var t,n,r;return Se(this,function(o){return t="https://"+this._config.domain+"/logout?",n=Sn(this._config)?this._cognitoClientId:this._config.oauth.clientID,r=Sn(this._config)?this._config.redirectSignOut:this._config.returnTo,t+=Object.entries({client_id:n,logout_uri:encodeURIComponent(r)}).map(function(i){var s=Ct(i,2),a=s[0],c=s[1];return a+"="+c}).join("&"),nu("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+t),vr.debug("Signing out from "+t),[2,this._urlOpener(t,r)]})})},e.prototype._generateState=function(t){for(var n="",r=t,o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";r>0;--r)n+=o[Math.round(Math.random()*(o.length-1))];return n},e.prototype._generateChallenge=function(t){var n=new Cn.Sha256;n.update(t);var r=n.digestSync(),o=Be.Buffer.from(r).toString("base64"),i=this._base64URL(o);return i},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 o=0;oob?(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(` + `},emptyUsername:{message:rt.EMPTY_USERNAME},invalidUsername:{message:rt.INVALID_USERNAME},emptyPassword:{message:rt.EMPTY_PASSWORD},emptyCode:{message:rt.EMPTY_CODE},signUpError:{message:rt.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:rt.NO_MFA},invalidMFA:{message:rt.INVALID_MFA},emptyChallengeResponse:{message:rt.EMPTY_CHALLENGE},noUserSession:{message:rt.NO_USER_SESSION},deviceConfig:{message:rt.DEVICE_CONFIG},networkError:{message:rt.NETWORK_ERROR},autoSignInError:{message:rt.AUTOSIGNIN_ERROR},default:{message:rt.DEFAULT_MSG}},se=new Lt("AuthClass"),Ud="aws.cognito.signin.user.admin",gT=10*1e3,pT=typeof Symbol<"u"&&typeof Symbol.for=="function"?Symbol.for("amplify_default"):"@@amplify_default",Te=function(e,t,n){qt.dispatch("auth",{event:e,data:t,message:n},"Auth",pT)},MT=60,yT=3*60*1e3,mT=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=pd,this.wrapRefreshSessionCallback=function(r){var o=function(i,s){return s?Te("tokenRefresh",void 0,"New token retrieved"):Te("tokenRefresh_failure",i,"Failed to retrieve new token"),r(i,s)};return o},this.configure(t),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),qt.listen("auth",function(r){var o=r.payload,i=o.event;switch(i){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}}),jE(),xd(Na.framework),Na.observeFrameworkChanges(function(){xd(Na.framework)})}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(t){var n=this;if(!t)return this._config||{};se.debug("configure Auth");var r=Object.assign({},this._config,nd(t).Auth,t);this._config=r;var o=this._config,i=o.userPoolId,s=o.userPoolWebClientId,a=o.cookieStorage,c=o.oauth,u=o.region,l=o.identityPoolId,f=o.mandatorySignIn,d=o.refreshHandlers,p=o.identityPoolRegion,M=o.clientMetadata,y=o.endpoint,m=o.storage;if(!m)a?this._storage=new YE(a):this._storage=t.ssr?new MA:new rd().getStorage();else{if(!this._isValidAuthStorage(m))throw se.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()),i){var w={UserPoolId:i,ClientId:s,endpoint:y};w.Storage=this._storage,this.userPool=new RE(w,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:f,region:u,userPoolId:i,identityPoolId:l,refreshHandlers:d,storage:this._storage,identityPoolRegion:p});var D=c?Sn(this._config.oauth)?c:c.awsCognito:void 0;if(D){var N=Object.assign({cognitoClientId:s,UserPoolId:i,domain:D.domain,scopes:D.scope,redirectSignIn:D.redirectSignIn,redirectSignOut:D.redirectSignOut,responseType:D.responseType,Storage:this._storage,urlOpener:D.urlOpener,clientMetadata:M},D.options);this._oAuthHandler=new cT({scopes:N.scopes,config:N,cognitoClientId:N.cognitoClientId});var E={};lT(function(Q){var _=Q.url;E[_]||(E[_]=!0,n._handleAuthResponse(_))})}if(Te("configured",null,"The Auth category has been configured successfully"),!this.autoSignInInitiated&&typeof this._storage.getItem=="function"){var T=this.isTrueStorageValue("amplify-polling-started");T&&(Te("autoSignIn_failure",null,Oe.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=[],o=1;oyT?(clearInterval(o),Te("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,o)},5e3)},e.prototype.signInAfterUserConfirmed=function(t,n,r){return be(this,void 0,void 0,function(){var o,i,s=this;return Se(this,function(a){switch(a.label){case 0:o=this.createCognitoUser(t.getUsername()),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,o.authenticateUser(t,this.authCallbacks(o,function(c){Te("autoSignIn",c,t.getUsername()+" has signed in successfully"),n&&qt.remove("auth",n),r&&(clearInterval(r),s._storage.removeItem("amplify-polling-started")),s._storage.removeItem("amplify-auto-sign-in")},function(c){se.error(c),s._storage.removeItem("amplify-auto-sign-in")}))];case 2:return a.sent(),[3,4];case 3:return i=a.sent(),se.error(i),[3,4];case 4:return[2]}})})},e.prototype.confirmSignUp=function(t,n,r){var o=this;if(!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(Oe.EmptyUsername);if(!n)return this.rejectAuthError(Oe.EmptyCode);var i=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(c,u){i.confirmRegistration(n,s,function(l,f){if(l)u(l);else{Te("confirmSignUp",f,t+" has been confirmed successfully");var d=o.isTrueStorageValue("amplify-auto-sign-in");d&&!o.autoSignInInitiated&&(Te("autoSignIn_failure",null,Oe.AutoSignInError),o._storage.removeItem("amplify-auto-sign-in")),c(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(Oe.EmptyUsername);var r=this.createCognitoUser(t);return new Promise(function(o,i){r.resendConfirmationCode(function(s,a){s?i(s):o(a)},n)})},e.prototype.signIn=function(t,n,r){if(r===void 0&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var o=null,i=null,s={};if(typeof t=="string")o=t,i=n;else if(K0(t))typeof n<"u"&&se.warn("The password should be defined under the first parameter object!"),o=t.username,i=t.password,s=t.validationData;else return this.rejectAuthError(Oe.InvalidUsername);if(!o)return this.rejectAuthError(Oe.EmptyUsername);var a=new wd({Username:o,Password:i,ValidationData:s,ClientMetadata:r});return i?this.signInWithPassword(a):this.signInWithoutPassword(a)},e.prototype.authCallbacks=function(t,n,r){var o=this,i=this;return{onSuccess:function(s){return be(o,void 0,void 0,function(){var a,c,u,l;return Se(this,function(f){switch(f.label){case 0:se.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(),se.debug("succeed to get cognito credentials",a),[3,9];case 4:return c=f.sent(),se.debug("cannot get cognito credentials",c),[3,9];case 5:return f.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return u=f.sent(),i.user=u,Te("signIn",u,"A user "+t.getUsername()+" has been signed in"),n(u),[3,8];case 7:return l=f.sent(),se.error("Failed to get the signed in user",l),r(l),[3,8];case 8:return[7];case 9:return[2]}})})},onFailure:function(s){se.debug("signIn failure",s),Te("signIn_failure",s,t.getUsername()+" failed to signin"),r(s)},customChallenge:function(s){se.debug("signIn custom challenge answer required"),t.challengeName="CUSTOM_CHALLENGE",t.challengeParam=s,n(t)},mfaRequired:function(s,a){se.debug("signIn MFA required"),t.challengeName=s,t.challengeParam=a,n(t)},mfaSetup:function(s,a){se.debug("signIn mfa setup",s),t.challengeName=s,t.challengeParam=a,n(t)},newPasswordRequired:function(s,a){se.debug("signIn new password"),t.challengeName="NEW_PASSWORD_REQUIRED",t.challengeParam={userAttributes:s,requiredAttributes:a},n(t)},totpRequired:function(s,a){se.debug("signIn totpRequired"),t.challengeName=s,t.challengeParam=a,n(t)},selectMFAType:function(s,a){se.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(o,i){r.authenticateUser(t,n.authCallbacks(r,function(s){n.pendingSignIn=null,o(s)},function(s){n.pendingSignIn=null,i(s)}))}),this.pendingSignIn},e.prototype.signInWithoutPassword=function(t){var n=this,r=this.createCognitoUser(t.getUsername());return r.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(o,i){r.initiateAuth(t,n.authCallbacks(r,o,i))})},e.prototype.getMFAOptions=function(t){return new Promise(function(n,r){t.getMFAOptions(function(o,i){if(o){se.debug("get MFA Options failed",o),r(o);return}se.debug("get MFA options success",i),n(i)})})},e.prototype.getPreferredMFA=function(t,n){var r=this,o=this;return new Promise(function(i,s){var a=r._config.clientMetadata,c=n?n.bypassCache:!1;t.getUserData(function(u,l){return be(r,void 0,void 0,function(){var f,d;return Se(this,function(p){switch(p.label){case 0:if(!u)return[3,5];if(se.debug("getting preferred mfa failed",u),!this.isSessionInvalid(u))return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return p.sent(),[3,4];case 3:return f=p.sent(),s(new Error("Session is invalid due to: "+u.message+" and failed to clean up invalid session: "+f.message)),[2];case 4:return s(u),[2];case 5:return d=o._getMfaTypeFromUserData(l),d?(i(d),[2]):(s("invalid MFA Type"),[2])}})})},{bypassCache:c,clientMetadata:a})})},e.prototype._getMfaTypeFromUserData=function(t){var n=null,r=t.PreferredMfaSetting;if(r)n=r;else{var o=t.UserMFASettingList;if(o)o.length===0?n="NOMFA":se.debug("invalid case for getPreferredMFA",t);else{var i=t.MFAOptions;i?n="SMS_MFA":n="NOMFA"}}return n},e.prototype._getUserData=function(t,n){var r=this;return new Promise(function(o,i){t.getUserData(function(s,a){return be(r,void 0,void 0,function(){var c;return Se(this,function(u){switch(u.label){case 0:if(!s)return[3,5];if(se.debug("getting user data failed",s),!this.isSessionInvalid(s))return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return u.sent(),[3,4];case 3:return c=u.sent(),i(new Error("Session is invalid due to: "+s.message+" and failed to clean up invalid session: "+c.message)),[2];case 4:return i(s),[2];case 5:o(a),u.label=6;case 6:return[2]}})})},n)})},e.prototype.setPreferredMFA=function(t,n){return be(this,void 0,void 0,function(){var r,o,i,s,a,c,u,l=this;return Se(this,function(f){switch(f.label){case 0:return r=this._config.clientMetadata,[4,this._getUserData(t,{bypassCache:!0,clientMetadata:r})];case 1:switch(o=f.sent(),i=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 i={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return c=o.UserMFASettingList,[4,this._getMfaTypeFromUserData(o)];case 5:if(u=f.sent(),u==="NOMFA")return[2,Promise.resolve("No change for mfa type")];if(u==="SMS_MFA")i={PreferredMfa:!1,Enabled:!1};else if(u==="SOFTWARE_TOKEN_MFA")s={PreferredMfa:!1,Enabled:!1};else return[2,this.rejectAuthError(Oe.InvalidMFA)];return c&&c.length!==0&&c.forEach(function(d){d==="SMS_MFA"?i={PreferredMfa:!1,Enabled:!1}:d==="SOFTWARE_TOKEN_MFA"&&(s={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return se.debug("no validmfa method provided"),[2,this.rejectAuthError(Oe.NoMFA)];case 7:return[2,new Promise(function(d,p){t.setUserMfaPreference(i,s,function(M,y){if(M)return se.debug("Set user mfa preference error",M),p(M);se.debug("Set user mfa success",y),se.debug("Caching the latest user data into local"),t.getUserData(function(m,w){return be(l,void 0,void 0,function(){var D;return Se(this,function(N){switch(N.label){case 0:if(!m)return[3,5];if(se.debug("getting user data failed",m),!this.isSessionInvalid(m))return[3,4];N.label=1;case 1:return N.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return N.sent(),[3,4];case 3:return D=N.sent(),p(new Error("Session is invalid due to: "+m.message+" and failed to clean up invalid session: "+D.message)),[2];case 4:return[2,p(m)];case 5:return[2,d(y)]}})})},{bypassCache:!0,clientMetadata:r})})})]}})})},e.prototype.disableSMS=function(t){return new Promise(function(n,r){t.disableMFA(function(o,i){if(o){se.debug("disable mfa failed",o),r(o);return}se.debug("disable mfa succeed",i),n(i)})})},e.prototype.enableSMS=function(t){return new Promise(function(n,r){t.enableMFA(function(o,i){if(o){se.debug("enable mfa failed",o),r(o);return}se.debug("enable mfa succeed",i),n(i)})})},e.prototype.setupTOTP=function(t){return new Promise(function(n,r){t.associateSoftwareToken({onFailure:function(o){se.debug("associateSoftwareToken failed",o),r(o)},associateSecretCode:function(o){se.debug("associateSoftwareToken success",o),n(o)}})})},e.prototype.verifyTotpToken=function(t,n){se.debug("verification totp token",t,n);var r;t&&typeof t.getSignInUserSession=="function"&&(r=t.getSignInUserSession());var o=r==null?void 0:r.isValid();return new Promise(function(i,s){t.verifySoftwareToken(n,"My TOTP device",{onFailure:function(a){se.debug("verifyTotpToken failed",a),s(a)},onSuccess:function(a){o||Te("signIn",t,"A user "+t.getUsername()+" has been signed in"),Te("verify",t,"A user "+t.getUsername()+" has been verified"),se.debug("verifyTotpToken success",a),i(a)}})})},e.prototype.confirmSignIn=function(t,n,r,o){var i=this;if(o===void 0&&(o=this._config.clientMetadata),!n)return this.rejectAuthError(Oe.EmptyCode);var s=this;return new Promise(function(a,c){t.sendMFACode(n,{onSuccess:function(u){return be(i,void 0,void 0,function(){var l,f,d,p;return Se(this,function(M){switch(M.label){case 0:se.debug(u),M.label=1;case 1:return M.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return M.sent(),[4,this.Credentials.set(u,"session")];case 3:return l=M.sent(),se.debug("succeed to get cognito credentials",l),[3,10];case 4:return f=M.sent(),se.debug("cannot get cognito credentials",f),[3,10];case 5:s.user=t,M.label=6;case 6:return M.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return d=M.sent(),t.attributes=d.attributes,[3,9];case 8:return p=M.sent(),se.debug("cannot get updated Cognito User",p),[3,9];case 9:return Te("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 10:return[2]}})})},onFailure:function(u){se.debug("confirm signIn failure",u),c(u)}},r,o)})},e.prototype.completeNewPassword=function(t,n,r,o){var i=this;if(r===void 0&&(r={}),o===void 0&&(o=this._config.clientMetadata),!n)return this.rejectAuthError(Oe.EmptyPassword);var s=this;return new Promise(function(a,c){t.completeNewPasswordChallenge(n,r,{onSuccess:function(u){return be(i,void 0,void 0,function(){var l,f;return Se(this,function(d){switch(d.label){case 0:se.debug(u),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(u,"session")];case 3:return l=d.sent(),se.debug("succeed to get cognito credentials",l),[3,6];case 4:return f=d.sent(),se.debug("cannot get cognito credentials",f),[3,6];case 5:return s.user=t,Te("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 6:return[2]}})})},onFailure:function(u){se.debug("completeNewPassword failure",u),Te("completeNewPassword_failure",u,i.user+" failed to complete the new password flow"),c(u)},mfaRequired:function(u,l){se.debug("signIn MFA required"),t.challengeName=u,t.challengeParam=l,a(t)},mfaSetup:function(u,l){se.debug("signIn mfa setup",u),t.challengeName=u,t.challengeParam=l,a(t)},totpRequired:function(u,l){se.debug("signIn mfa setup",u),t.challengeName=u,t.challengeParam=l,a(t)}},o)})},e.prototype.sendCustomChallengeAnswer=function(t,n,r){var o=this;return r===void 0&&(r=this._config.clientMetadata),this.userPool?n?new Promise(function(i,s){t.sendCustomChallengeAnswer(n,o.authCallbacks(t,i,s),r)}):this.rejectAuthError(Oe.EmptyChallengeResponse):this.rejectNoUserPool()},e.prototype.deleteUserAttributes=function(t,n){var r=this;return new Promise(function(o,i){r.userSession(t).then(function(s){t.deleteAttributes(n,function(a,c){return a?i(a):o(c)})})})},e.prototype.deleteUser=function(){return be(this,void 0,void 0,function(){var t,n,r=this;return Se(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this._storageSync];case 1:return o.sent(),[3,3];case 2:throw t=o.sent(),se.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(i,s){return be(r,void 0,void 0,function(){var a,c=this;return Se(this,function(u){if(this.userPool)if(a=this.userPool.getCurrentUser(),a)a.getSession(function(l,f){return be(c,void 0,void 0,function(){var d,p=this;return Se(this,function(M){switch(M.label){case 0:if(!l)return[3,5];if(se.debug("Failed to get the user session",l),!this.isSessionInvalid(l))return[3,4];M.label=1;case 1:return M.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(a)];case 2:return M.sent(),[3,4];case 3:return d=M.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(y,m){if(y)s(y);else{Te("userDeleted",m,"The authenticated user has been deleted."),a.signOut(),p.user=null;try{p.cleanCachedItems()}catch{se.debug("failed to clear cached items")}n?p.oAuthSignOutRedirect(i,s):(Te("signOut",p.user,"A user has been signed out"),i(m))}}),M.label=6;case 6:return[2]}})})});else return se.debug("Failed to get user from user pool"),[2,s(new Error("No current user."))];else se.debug("no Congito User pool"),s(new Error("Cognito User pool does not exist"));return[2]})})})]}})})},e.prototype.updateUserAttributes=function(t,n,r){var o=this;r===void 0&&(r=this._config.clientMetadata);var i=[],s=this;return new Promise(function(a,c){s.userSession(t).then(function(u){for(var l in n)if(l!=="sub"&&l.indexOf("_verified")<0){var f={Name:l,Value:n[l]};i.push(f)}t.updateAttributes(i,function(d,p,M){if(d)return Te("updateUserAttributes_failure",d,"Failed to update attributes"),c(d);var y=o.createUpdateAttributesResultList(n,M==null?void 0:M.CodeDeliveryDetailsList);return Te("updateUserAttributes",y,"Attributes successfully updated"),a(p)},r)})})},e.prototype.createUpdateAttributesResultList=function(t,n){var r={};return Object.keys(t).forEach(function(o){r[o]={isUpdated:!0};var i=n==null?void 0:n.find(function(s){return s.AttributeName===o});i&&(r[o].isUpdated=!1,r[o].codeDeliveryDetails=i)}),r},e.prototype.userAttributes=function(t){var n=this;return new Promise(function(r,o){n.userSession(t).then(function(i){t.getUserAttributes(function(s,a){s?o(s):r(a)})})})},e.prototype.verifiedContact=function(t){var n=this;return this.userAttributes(t).then(function(r){var o=n.attributesToObject(r),i={},s={};return o.email&&(o.email_verified?s.email=o.email:i.email=o.email),o.phone_number&&(o.phone_number_verified?s.phone_number=o.phone_number:i.phone_number=o.phone_number),{verified:s,unverified:i}})},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.isPasswordResetRequiredError=function(t){return this.isErrorWithMessage(t)&&t.message==="Password reset required for the user"},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)||this.isPasswordResetRequiredError(t)},e.prototype.cleanUpInvalidSession=function(t){return be(this,void 0,void 0,function(){var n=this;return Se(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(),se.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise(function(o,i){n.oAuthSignOutRedirect(o,i)})]:(Te("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,o){n._storageSync.then(function(){return be(n,void 0,void 0,function(){var i,s,a,c,u,l,f,d=this;return Se(this,function(p){switch(p.label){case 0:return this.isOAuthInProgress()?(se.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(M){var y=setTimeout(function(){se.debug("OAuth signIn in progress timeout"),qt.remove("auth",m),M()},gT);qt.listen("auth",m);function m(w){var D=w.payload,N=D.event;(N==="cognitoHostedUI"||N==="cognitoHostedUI_failure")&&(se.debug("OAuth signIn resolved: "+N),clearTimeout(y),qt.remove("auth",m),M())}})]):[3,2];case 1:p.sent(),p.label=2;case 2:if(i=this.userPool.getCurrentUser(),!i)return se.debug("Failed to get user from user pool"),o("No current user"),[2];p.label=3;case 3:return p.trys.push([3,7,,8]),[4,this._userSession(i)];case 4:return s=p.sent(),a=t?t.bypassCache:!1,a?[4,this.Credentials.clear()]:[3,6];case 5:p.sent(),p.label=6;case 6:if(c=this._config.clientMetadata,u=s.getAccessToken().decodePayload().scope,l=u===void 0?"":u,l.split(" ").includes(Ud))i.getUserData(function(M,y){return be(d,void 0,void 0,function(){var m,w,D,N,E,T,Q;return Se(this,function(_){switch(_.label){case 0:if(!M)return[3,7];if(se.debug("getting user data failed",M),!this.isSessionInvalid(M))return[3,5];_.label=1;case 1:return _.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(i)];case 2:return _.sent(),[3,4];case 3:return m=_.sent(),o(new Error("Session is invalid due to: "+M.message+" and failed to clean up invalid session: "+m.message)),[2];case 4:return o(M),[3,6];case 5:r(i),_.label=6;case 6:return[2];case 7:for(w=y.PreferredMfaSetting||"NOMFA",D=[],N=0;N"u"&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return va(t)||H0(t)||q0(t)||typeof t>"u"?(o=t||{provider:lo.Cognito},c=va(o)?o.provider:o.customProvider,i=(va(o),o.customState),this._config.userPoolId&&(s=Sn(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,a=Sn(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,a,s,c,i)),[3,4]):[3,1];case 1:c=t;try{u=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user),u&&se.warn("There is already a signed in user: "+u+` 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:c,token:l,identity_id:f,user:r,expires_at:d},"federation")];case 2:return p=y.sent(),[4,this.currentAuthenticatedUser()];case 3:return M=y.sent(),Te("signIn",M,"A user "+M.username+" has been signed in"),se.debug("federated sign in credentials",p),[2,p];case 4:return[2]}})})},e.prototype._handleAuthResponse=function(t){return be(this,void 0,void 0,function(){var n,r,o,i,s,a,c,u,l,f,d,p,M,y;return Se(this,function(m){switch(m.label){case 0:if(this.oAuthFlowInProgress)return se.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(Te("parsingCallbackUrl",{url:t},"The callback url is being parsed"),n=t||(Kt().isBrowser?window.location.href:""),r=!!(dn(n).query||"").split("&").map(function(w){return w.split("=")}).find(function(w){var D=Ct(w,1),N=D[0];return N==="code"||N==="error"}),o=!!(dn(n).hash||"#").substr(1).split("&").map(function(w){return w.split("=")}).find(function(w){var D=Ct(w,1),N=D[0];return N==="access_token"||N==="error"}),!(r||o))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 i=m.sent(),s=i.accessToken,a=i.idToken,c=i.refreshToken,u=i.state,l=new Ka({IdToken:new Ha({IdToken:a}),RefreshToken:new qa({RefreshToken:c}),AccessToken:new Wa({AccessToken:s})}),f=void 0,this._config.identityPoolId?[4,this.Credentials.set(l,"session")]:[3,5];case 4:f=m.sent(),se.debug("AWS credentials",f),m.label=5;case 5:return d=/-/.test(u),p=this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"]),p.setSignInUserSession(l),window&&typeof window.history<"u"&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),Te("signIn",p,"A user "+p.getUsername()+" has been signed in"),Te("cognitoHostedUI",p,"A user "+p.getUsername()+" has been signed in via Cognito Hosted UI"),d&&(M=u.split("-").splice(1).join("-"),Te("customOAuthState",kD(M),"State for user "+p.getUsername())),[2,f];case 6:return y=m.sent(),se.debug("Error in cognito hosted auth response",y),window&&typeof window.history<"u"&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),Te("signIn_failure",y,"The OAuth response flow failed"),Te("cognitoHostedUI_failure",y,"A failure occurred when returning to the Cognito Hosted UI"),Te("customState_failure",y,"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(o){o.Name==="email_verified"||o.Name==="phone_number_verified"?r[o.Name]=n.isTruthyString(o.Value)||o.Value===!0:r[o.Name]=o.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,o=new Ga(n);return r&&o.setAuthenticationFlowType(r),o},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)?Oe.MissingAuthConfig:Oe.NoConfig},e.prototype.rejectAuthError=function(t){return Promise.reject(new hn(t))},e.prototype.rejectNoUserPool=function(){var t=this.noUserPoolErrorHandler(this._config);return Promise.reject(new dT(t))},e.prototype.rememberDevice=function(){return be(this,void 0,void 0,function(){var t,n;return Se(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(),se.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(o,i){t.setDeviceStatusRemembered({onSuccess:function(s){o(s)},onFailure:function(s){s.code==="InvalidParameterException"?i(new hn(Oe.DeviceConfig)):s.code==="NetworkError"?i(new hn(Oe.NetworkError)):i(s)}})})]}})})},e.prototype.forgetDevice=function(){return be(this,void 0,void 0,function(){var t,n;return Se(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(),se.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(o,i){t.forgetDevice({onSuccess:function(s){o(s)},onFailure:function(s){s.code==="InvalidParameterException"?i(new hn(Oe.DeviceConfig)):s.code==="NetworkError"?i(new hn(Oe.NetworkError)):i(s)}})})]}})})},e.prototype.fetchDevices=function(){return be(this,void 0,void 0,function(){var t,n;return Se(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(),se.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(o,i){var s={onSuccess:function(a){var c=a.Devices.map(function(u){var l=u.DeviceAttributes.find(function(d){var p=d.Name;return p==="device_name"})||{},f={id:u.DeviceKey,name:l.Value};return f});o(c)},onFailure:function(a){a.code==="InvalidParameterException"?i(new hn(Oe.DeviceConfig)):a.code==="NetworkError"?i(new hn(Oe.NetworkError)):i(a)}};t.listDevices(MT,null,s)})]}})})},e}(),gn=new mT(null);Da.register(gn);var Pd={},ru={},Rd;function vT(){return Rd||(Rd=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(c){return s.hasOwnProperty(c)})}e.isFederatedSignInOptions=t;function n(s){var a=["customProvider"];return s&&!!a.find(function(c){return s.hasOwnProperty(c)})}e.isFederatedSignInOptionsCustom=n;function r(s){var a=["customState"];return s&&!!a.find(function(c){return s.hasOwnProperty(c)})}e.hasCustomState=r;function o(s){return s.redirectSignIn!==void 0}e.isCognitoHostedOpts=o,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 i(s){return!!s.username}e.isUsernamePasswordOpts=i,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={}))}(ru)),ru}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=xa;t.__exportStar(vT(),e)})(Pd);const Yd=()=>{const e=window.location.search;let t=window.location.protocol+"//"+window.location.host+"/verify";window.location.search.includes("error_description")&&(t=window.location.protocol+"//"+window.location.host+"/verify"+e);const n=window.location.protocol+"//"+window.location.host+"/",r={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:t,redirectSignOut:n,responseType:"code"}}};gn.configure(r)},wT=async()=>{try{const e=await gn.currentSession();if(e)return e.getIdToken().getJwtToken()}catch{return""}},DT=async()=>{try{const e=await gn.currentSession();if(e)return e.getAccessToken().getJwtToken()}catch{return""}},IT=async()=>{try{const e=await gn.currentSession();if(e)return e.getRefreshToken().getToken()}catch{return""}},AT=async()=>{try{const e=await gn.currentUserInfo();if(e&&e.attributes)return{id:e.attributes.sub,name:e.attributes.preferred_username,picture:e.attributes.picture}}catch{return null}},Fd=()=>{Yd();try{gn.federatedSignIn({provider:Pd.CognitoHostedUIIdentityProvider.Google,customState:window.location.pathname+window.location.search})}catch(e){console.log(e)}},ET=()=>{gn.signOut()};var TT=Object.defineProperty,NT=(e,t,n)=>t in e?TT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iu=(e,t,n)=>(NT(e,typeof t!="symbol"?t+"":t,n),n);let jT=class{constructor(){iu(this,"current",this.detect()),iu(this,"handoffState","pending"),iu(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"}},Xt=new jT,Zt=(e,t)=>{Xt.isServer?F.useEffect(e,t):F.useLayoutEffect(e,t)};function Po(e){let t=F.useRef(e);return Zt(()=>{t.current=e},[e]),t}function Ro(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Yo(){let e=[],t={addEventListener(n,r,o,i){return n.addEventListener(r,o,i),t.add(()=>n.removeEventListener(r,o,i))},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 Ro(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=Yo();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function bT(){let[e]=F.useState(Yo);return F.useEffect(()=>()=>e.dispose(),[e]),e}let ut=function(e){let t=Po(e);return F.useCallback((...n)=>t.current(...n),[t])};function ST(){let e=typeof document>"u";return"useSyncExternalStore"in ne?(t=>t.useSyncExternalStore)(ne)(()=>()=>{},()=>!1,()=>!e):!1}function Fo(){let e=ST(),[t,n]=ne.useState(Xt.isHandoffComplete);return t&&Xt.isHandoffComplete===!1&&n(!1),ne.useEffect(()=>{t!==!0&&n(!0)},[t]),ne.useEffect(()=>Xt.handoff(),[]),e?!1:t}var Qd;let wr=(Qd=F.useId)!=null?Qd:function(){let e=Fo(),[t,n]=F.useState(e?()=>Xt.nextId():null);return Zt(()=>{t===null&&n(Xt.nextId())},[t]),t!=null?""+t:void 0};function pn(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,pn),r}function Bd(e){return Xt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let ou=["[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 zn=(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))(zn||{}),$d=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))($d||{}),xT=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(xT||{});function CT(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ou)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Wd=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Wd||{});function OT(e,t=0){var n;return e===((n=Bd(e))==null?void 0:n.body)?!1:pn(t,{0(){return e.matches(ou)},1(){let r=e;for(;r!==null;){if(r.matches(ou))return!0;r=r.parentElement}return!1}})}var LT=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(LT||{});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 Un(e){e==null||e.focus({preventScroll:!0})}let _T=["textarea","input"].join(",");function kT(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,_T))!=null?n:!1}function zT(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),i=t(r);if(o===null||i===null)return 0;let s=o.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Qo(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?n?zT(e):e:CT(e);o.length>0&&s.length>1&&(s=s.filter(p=>!o.includes(p))),r=r??i.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")})(),c=(()=>{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")})(),u=t&32?{preventScroll:!0}:{},l=0,f=s.length,d;do{if(l>=f||l+f<=0)return 0;let p=c+l;if(t&16)p=(p+f)%f;else{if(p<0)return 3;if(p>=f)return 1}d=s[p],d==null||d.focus(u),l+=a}while(d!==i.activeElement);return t&6&&kT(d)&&d.select(),2}function Bo(e,t,n){let r=Po(t);F.useEffect(()=>{function o(i){r.current(i)}return document.addEventListener(e,o,n),()=>document.removeEventListener(e,o,n)},[e,n])}function Vd(e,t,n){let r=Po(t);F.useEffect(()=>{function o(i){r.current(i)}return window.addEventListener(e,o,n),()=>window.removeEventListener(e,o,n)},[e,n])}function UT(e,t,n=!0){let r=F.useRef(!1);F.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function o(s,a){if(!r.current||s.defaultPrevented)return;let c=a(s);if(c===null||!c.getRootNode().contains(c)||!c.isConnected)return;let u=function l(f){return typeof f=="function"?l(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e);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!OT(c,Wd.Loose)&&c.tabIndex!==-1&&s.preventDefault(),t(s,c)}let i=F.useRef(null);Bo("pointerdown",s=>{var a,c;r.current&&(i.current=((c=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:c[0])||s.target)},!0),Bo("mousedown",s=>{var a,c;r.current&&(i.current=((c=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:c[0])||s.target)},!0),Bo("click",s=>{i.current&&(o(s,()=>i.current),i.current=null)},!0),Bo("touchend",s=>o(s,()=>s.target instanceof HTMLElement?s.target:null),!0),Vd("blur",s=>o(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}let Hd=Symbol();function PT(e,t=!0){return Object.assign(e,{[Hd]:t})}function en(...e){let t=F.useRef(e);F.useEffect(()=>{t.current=e},[e]);let n=ut(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Hd]))?void 0:n}function qd(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var su=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(su||{}),RT=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(RT||{});function Yt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:s}){let a=Kd(t,e);if(i)return $o(a,n,r,s);let c=o??0;if(c&2){let{static:u=!1,...l}=a;if(u)return $o(l,n,r,s)}if(c&1){let{unmount:u=!0,...l}=a;return pn(u?0:1,{0(){return null},1(){return $o({...l,hidden:!0,style:{display:"none"}},n,r,s)}})}return $o(a,n,r,s)}function $o(e,t={},n,r){let{as:o=n,children:i,refName:s="ref",...a}=au(e,["unmount","static"]),c=e.ref!==void 0?{[s]:e.ref}:{},u=typeof i=="function"?i(t):i;"className"in a&&a.className&&typeof a.className=="function"&&(a.className=a.className(t));let l={};if(t){let f=!1,d=[];for(let[p,M]of Object.entries(t))typeof M=="boolean"&&(f=!0),M===!0&&d.push(p);f&&(l["data-headlessui-state"]=d.join(" "))}if(o===F.Fragment&&Object.keys(Gd(a)).length>0){if(!F.isValidElement(u)||Array.isArray(u)&&u.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(M=>` - ${M}`).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(M=>` - ${M}`).join(` `)].join(` -`));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"})}); +`));let f=u.props,d=typeof(f==null?void 0:f.className)=="function"?(...M)=>qd(f==null?void 0:f.className(...M),a.className):qd(f==null?void 0:f.className,a.className),p=d?{className:d}:{};return F.cloneElement(u,Object.assign({},Kd(u.props,Gd(au(a,["ref"]))),l,c,YT(u.ref,c.ref),p))}return F.createElement(o,Object.assign({},au(a,["ref"]),o!==F.Fragment&&c,o!==F.Fragment&&l),u)}function YT(...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 Kd(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];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](o,...i){let s=n[r];for(let a of s){if((o instanceof Event||(o==null?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;a(o,...i)}}});return t}function Ft(e){var t;return Object.assign(F.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Gd(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function au(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function FT(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&&QT(n)?!1:r}function QT(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let BT="div";var Wo=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Wo||{});function $T(e,t){let{features:n=1,...r}=e,o={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 Yt({ourProps:o,theirProps:r,slot:{},defaultTag:BT,name:"Hidden"})}let uu=Ft($T),Jd=F.createContext(null);Jd.displayName="OpenClosedContext";var ui=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ui||{});function WT(){return F.useContext(Jd)}var Xd=(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))(Xd||{});function cu(e,t){let n=F.useRef([]),r=ut(e);F.useEffect(()=>{let o=[...n.current];for(let[i,s]of t.entries())if(n.current[i]!==s){let a=r(t,o);return n.current=t,a}},[r,...t])}function VT(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ci(...e){return F.useMemo(()=>Bd(...e),[...e])}var li=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(li||{});function HT(){let e=F.useRef(0);return Vd("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Zd(){let e=F.useRef(!1);return Zt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function eh(e,t,n,r){let o=Po(n);F.useEffect(()=>{e=e??window;function i(s){o.current(s)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function qT(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function th(e){let t=ut(e),n=F.useRef(!1);F.useEffect(()=>(n.current=!1,()=>{n.current=!0,Ro(()=>{n.current&&t()})}),[t])}function nh(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 KT="div";var rh=(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))(rh||{});function GT(e,t){let n=F.useRef(null),r=en(n,t),{initialFocus:o,containers:i,features:s=30,...a}=e;Fo()||(s=1);let c=ci(n);ZT({ownerDocument:c},!!(s&16));let u=eN({ownerDocument:c,container:n,initialFocus:o},!!(s&2));tN({ownerDocument:c,container:n,containers:i,previousActiveElement:u},!!(s&8));let l=HT(),f=ut(y=>{let m=n.current;m&&(w=>w())(()=>{pn(l.current,{[li.Forwards]:()=>{Qo(m,zn.First,{skipElements:[y.relatedTarget]})},[li.Backwards]:()=>{Qo(m,zn.Last,{skipElements:[y.relatedTarget]})}})})}),d=bT(),p=F.useRef(!1),M={ref:r,onKeyDown(y){y.key=="Tab"&&(p.current=!0,d.requestAnimationFrame(()=>{p.current=!1}))},onBlur(y){let m=nh(i);n.current instanceof HTMLElement&&m.add(n.current);let w=y.relatedTarget;w instanceof HTMLElement&&w.dataset.headlessuiFocusGuard!=="true"&&(ih(m,w)||(p.current?Qo(n.current,pn(l.current,{[li.Forwards]:()=>zn.Next,[li.Backwards]:()=>zn.Previous})|zn.WrapAround,{relativeTo:y.target}):y.target instanceof HTMLElement&&Un(y.target)))}};return F.createElement(F.Fragment,null,!!(s&4)&&F.createElement(uu,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:Wo.Focusable}),Yt({ourProps:M,theirProps:a,defaultTag:KT,name:"FocusTrap"}),!!(s&4)&&F.createElement(uu,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:Wo.Focusable}))}let JT=Ft(GT),fi=Object.assign(JT,{features:rh}),Mn=[];qT(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Mn[0]!==t.target&&(Mn.unshift(t.target),Mn=Mn.filter(n=>n!=null&&n.isConnected),Mn.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 XT(e=!0){let t=F.useRef(Mn.slice());return cu(([n],[r])=>{r===!0&&n===!1&&Ro(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Mn.slice())},[e,Mn,t]),ut(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function ZT({ownerDocument:e},t){let n=XT(t);cu(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&Un(n())},[t]),th(()=>{t&&Un(n())})}function eN({ownerDocument:e,container:t,initialFocus:n},r){let o=F.useRef(null),i=Zd();return cu(()=>{if(!r)return;let s=t.current;s&&Ro(()=>{if(!i.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){o.current=a;return}}else if(s.contains(a)){o.current=a;return}n!=null&&n.current?Un(n.current):Qo(s,zn.First)===$d.Error&&console.warn("There are no focusable elements inside the "),o.current=e==null?void 0:e.activeElement})},[r]),o}function tN({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let i=Zd();eh(e==null?void 0:e.defaultView,"focus",s=>{if(!o||!i.current)return;let a=nh(n);t.current instanceof HTMLElement&&a.add(t.current);let c=r.current;if(!c)return;let u=s.target;u&&u instanceof HTMLElement?ih(a,u)?(r.current=u,Un(u)):(s.preventDefault(),s.stopPropagation(),Un(c)):Un(r.current)},!0)}function ih(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let oh=F.createContext(!1);function nN(){return F.useContext(oh)}function lu(e){return F.createElement(oh.Provider,{value:e.force},e.children)}function rN(e){let t=nN(),n=F.useContext(sh),r=ci(e),[o,i]=F.useState(()=>{if(!t&&n!==null||Xt.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 F.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),F.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),o}let iN=F.Fragment;function oN(e,t){let n=e,r=F.useRef(null),o=en(PT(l=>{r.current=l}),t),i=ci(r),s=rN(r),[a]=F.useState(()=>{var l;return Xt.isServer?null:(l=i==null?void 0:i.createElement("div"))!=null?l:null}),c=F.useContext(fu),u=Fo();return Zt(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),Zt(()=>{if(a&&c)return c.register(a)},[c,a]),th(()=>{var l;!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((l=s.parentElement)==null||l.removeChild(s)))}),u?!s||!a?null:yn.createPortal(Yt({ourProps:{ref:o},theirProps:n,defaultTag:iN,name:"Portal"}),a):null}let sN=F.Fragment,sh=F.createContext(null);function aN(e,t){let{target:n,...r}=e,o={ref:en(t)};return F.createElement(sh.Provider,{value:n},Yt({ourProps:o,theirProps:r,defaultTag:sN,name:"Popover.Group"}))}let fu=F.createContext(null);function uN(){let e=F.useContext(fu),t=F.useRef([]),n=ut(i=>(t.current.push(i),e&&e.register(i),()=>r(i))),r=ut(i=>{let s=t.current.indexOf(i);s!==-1&&t.current.splice(s,1),e&&e.unregister(i)}),o=F.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,F.useMemo(()=>function({children:i}){return F.createElement(fu.Provider,{value:o},i)},[o])]}let cN=Ft(oN),lN=Ft(aN),du=Object.assign(cN,{Group:lN}),ah=F.createContext(null);function uh(){let e=F.useContext(ah);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,uh),t}return e}function fN(){let[e,t]=F.useState([]);return[e.length>0?e.join(" "):void 0,F.useMemo(()=>function(n){let r=ut(i=>(t(s=>[...s,i]),()=>t(s=>{let a=s.slice(),c=a.indexOf(i);return c!==-1&&a.splice(c,1),a}))),o=F.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return F.createElement(ah.Provider,{value:o},n.children)},[t])]}let dN="p";function hN(e,t){let n=wr(),{id:r=`headlessui-description-${n}`,...o}=e,i=uh(),s=en(t);Zt(()=>i.register(r),[r,i.register]);let a={ref:s,...i.props,id:r};return Yt({ourProps:a,theirProps:o,slot:i.slot||{},defaultTag:dN,name:i.name||"Description"})}let gN=Ft(hN),pN=Object.assign(gN,{}),hu=F.createContext(()=>{});hu.displayName="StackContext";var gu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(gu||{});function MN(){return F.useContext(hu)}function yN({children:e,onUpdate:t,type:n,element:r,enabled:o}){let i=MN(),s=ut((...a)=>{t==null||t(...a),i(...a)});return Zt(()=>{let a=o===void 0||o===!0;return a&&s(0,n,r),()=>{a&&s(1,n,r)}},[s,n,r,o]),F.createElement(hu.Provider,{value:s},e)}function mN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const vN=typeof Object.is=="function"?Object.is:mN,{useState:wN,useEffect:DN,useLayoutEffect:IN,useDebugValue:AN}=ne;function EN(e,t,n){const r=t(),[{inst:o},i]=wN({inst:{value:r,getSnapshot:t}});return IN(()=>{o.value=r,o.getSnapshot=t,pu(o)&&i({inst:o})},[e,r,t]),DN(()=>(pu(o)&&i({inst:o}),e(()=>{pu(o)&&i({inst:o})})),[e]),AN(r),r}function pu(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!vN(n,r)}catch{return!0}}function TN(e,t,n){return t()}const NN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jN=!NN,bN=jN?TN:EN,SN="useSyncExternalStore"in ne?(e=>e.useSyncExternalStore)(ne):bN;function xN(e){return SN(e.subscribe,e.getSnapshot,e.getSnapshot)}function CN(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...i){let s=t[o].call(n,...i);s&&(n=s,r.forEach(a=>a()))}}}function ON(){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,o=r.clientWidth-r.offsetWidth,i=e-o;n.style(r,"paddingRight",`${i}px`)}}}function LN(){if(!VT())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(i){return r.containers.flatMap(s=>s()).some(s=>s.contains(i))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let s=Yo();s.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>s.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let i=null;n.addEventListener(t,"click",s=>{if(s.target instanceof HTMLElement)try{let a=s.target.closest("a");if(!a)return;let{hash:c}=new URL(a.href),u=t.querySelector(c);u&&!o(u)&&(i=u)}catch{}},!0),n.addEventListener(t,"touchmove",s=>{s.target instanceof HTMLElement&&!o(s.target)&&s.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}}function _N(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function kN(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Pn=CN(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Yo(),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:kN(n)},o=[LN(),ON(),_N()];o.forEach(({before:i})=>i==null?void 0:i(r)),o.forEach(({after:i})=>i==null?void 0:i(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Pn.subscribe(()=>{let e=Pn.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",o=n.count!==0;(o&&!r||!o&&r)&&Pn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Pn.dispatch("TEARDOWN",n)}});function zN(e,t,n){let r=xN(Pn),o=e?r.get(e):void 0,i=o?o.count>0:!1;return Zt(()=>{if(!(!e||!t))return Pn.dispatch("PUSH",e,n),()=>Pn.dispatch("POP",e,n)},[t,e]),i}let Mu=new Map,di=new Map;function ch(e,t=!0){Zt(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function o(){var s;if(!r)return;let a=(s=di.get(r))!=null?s:1;if(a===1?di.delete(r):di.set(r,a-1),a!==1)return;let c=Mu.get(r);c&&(c["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",c["aria-hidden"]),r.inert=c.inert,Mu.delete(r))}let i=(n=di.get(r))!=null?n:0;return di.set(r,i+1),i!==0||(Mu.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),o},[e,t])}function UN({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let o=F.useRef((r=n==null?void 0:n.current)!=null?r:null),i=ci(o),s=ut(()=>{var a;let c=[];for(let u of e)u!==null&&(u instanceof HTMLElement?c.push(u):"current"in u&&u.current instanceof HTMLElement&&c.push(u.current));if(t!=null&&t.current)for(let u of t.current)c.push(u);for(let u of(a=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?a:[])u!==document.body&&u!==document.head&&u instanceof HTMLElement&&u.id!=="headlessui-portal-root"&&(u.contains(o.current)||c.some(l=>u.contains(l))||c.push(u));return c});return{resolveContainers:s,contains:ut(a=>s().some(c=>c.contains(a))),mainTreeNodeRef:o,MainTreeNode:F.useMemo(()=>function(){return n!=null?null:F.createElement(uu,{features:Wo.Hidden,ref:o})},[o,n])}}var PN=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(PN||{}),RN=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(RN||{});let YN={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Vo=F.createContext(null);Vo.displayName="DialogContext";function hi(e){let t=F.useContext(Vo);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,hi),n}return t}function FN(e,t,n=()=>[document.body]){zN(e,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function QN(e,t){return pn(t.type,YN,e,t)}let BN="div",$N=su.RenderStrategy|su.Static;function WN(e,t){var n;let r=wr(),{id:o=`headlessui-dialog-${r}`,open:i,onClose:s,initialFocus:a,__demoMode:c=!1,...u}=e,[l,f]=F.useState(0),d=WT();i===void 0&&d!==null&&(i=(d&ui.Open)===ui.Open);let p=F.useRef(null),M=en(p,t),y=ci(p),m=e.hasOwnProperty("open")||d!==null,w=e.hasOwnProperty("onClose");if(!m&&!w)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(!w)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 s!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${s}`);let D=i?0:1,[N,E]=F.useReducer(QN,{titleId:null,descriptionId:null,panelRef:F.createRef()}),T=ut(()=>s(!1)),Q=ut(oe=>E({type:0,id:oe})),_=Fo()?c?!1:D===0:!1,J=l>1,B=F.useContext(Vo)!==null,[G,ee]=uN(),{resolveContainers:ie,mainTreeNodeRef:U,MainTreeNode:j}=UN({portals:G,defaultContainers:[(n=N.panelRef.current)!=null?n:p.current]}),C=J?"parent":"leaf",H=d!==null?(d&ui.Closing)===ui.Closing:!1,S=(()=>B||H?!1:_)(),K=F.useCallback(()=>{var oe,P;return(P=Array.from((oe=y==null?void 0:y.querySelectorAll("body > *"))!=null?oe:[]).find(L=>L.id==="headlessui-portal-root"?!1:L.contains(U.current)&&L instanceof HTMLElement))!=null?P:null},[U]);ch(K,S);let ue=(()=>J?!0:_)(),O=F.useCallback(()=>{var oe,P;return(P=Array.from((oe=y==null?void 0:y.querySelectorAll("[data-headlessui-portal]"))!=null?oe:[]).find(L=>L.contains(U.current)&&L instanceof HTMLElement))!=null?P:null},[U]);ch(O,ue);let z=(()=>!(!_||J))();UT(ie,T,z);let Y=(()=>!(J||D!==0))();eh(y==null?void 0:y.defaultView,"keydown",oe=>{Y&&(oe.defaultPrevented||oe.key===Xd.Escape&&(oe.preventDefault(),oe.stopPropagation(),T()))});let V=(()=>!(H||D!==0||B))();FN(y,V,ie),F.useEffect(()=>{if(D!==0||!p.current)return;let oe=new ResizeObserver(P=>{for(let L of P){let R=L.target.getBoundingClientRect();R.x===0&&R.y===0&&R.width===0&&R.height===0&&T()}});return oe.observe(p.current),()=>oe.disconnect()},[D,p,T]);let[$,te]=fN(),b=F.useMemo(()=>[{dialogState:D,close:T,setTitleId:Q},N],[D,N,T,Q]),re=F.useMemo(()=>({open:D===0}),[D]),W={ref:M,id:o,role:"dialog","aria-modal":D===0?!0:void 0,"aria-labelledby":N.titleId,"aria-describedby":$};return F.createElement(yN,{type:"Dialog",enabled:D===0,element:p,onUpdate:ut((oe,P)=>{P==="Dialog"&&pn(oe,{[gu.Add]:()=>f(L=>L+1),[gu.Remove]:()=>f(L=>L-1)})})},F.createElement(lu,{force:!0},F.createElement(du,null,F.createElement(Vo.Provider,{value:b},F.createElement(du.Group,{target:p},F.createElement(lu,{force:!1},F.createElement(te,{slot:re,name:"Dialog.Description"},F.createElement(fi,{initialFocus:a,containers:ie,features:_?pn(C,{parent:fi.features.RestoreFocus,leaf:fi.features.All&~fi.features.FocusLock}):fi.features.None},F.createElement(ee,null,Yt({ourProps:W,theirProps:u,slot:re,defaultTag:BN,features:$N,visible:D===0,name:"Dialog"}))))))))),F.createElement(j,null))}let VN="div";function HN(e,t){let n=wr(),{id:r=`headlessui-dialog-overlay-${n}`,...o}=e,[{dialogState:i,close:s}]=hi("Dialog.Overlay"),a=en(t),c=ut(l=>{if(l.target===l.currentTarget){if(FT(l.currentTarget))return l.preventDefault();l.preventDefault(),l.stopPropagation(),s()}}),u=F.useMemo(()=>({open:i===0}),[i]);return Yt({ourProps:{ref:a,id:r,"aria-hidden":!0,onClick:c},theirProps:o,slot:u,defaultTag:VN,name:"Dialog.Overlay"})}let qN="div";function KN(e,t){let n=wr(),{id:r=`headlessui-dialog-backdrop-${n}`,...o}=e,[{dialogState:i},s]=hi("Dialog.Backdrop"),a=en(t);F.useEffect(()=>{if(s.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[s.panelRef]);let c=F.useMemo(()=>({open:i===0}),[i]);return F.createElement(lu,{force:!0},F.createElement(du,null,Yt({ourProps:{ref:a,id:r,"aria-hidden":!0},theirProps:o,slot:c,defaultTag:qN,name:"Dialog.Backdrop"})))}let GN="div";function JN(e,t){let n=wr(),{id:r=`headlessui-dialog-panel-${n}`,...o}=e,[{dialogState:i},s]=hi("Dialog.Panel"),a=en(t,s.panelRef),c=F.useMemo(()=>({open:i===0}),[i]),u=ut(l=>{l.stopPropagation()});return Yt({ourProps:{ref:a,id:r,onClick:u},theirProps:o,slot:c,defaultTag:GN,name:"Dialog.Panel"})}let XN="h2";function ZN(e,t){let n=wr(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:i,setTitleId:s}]=hi("Dialog.Title"),a=en(t);F.useEffect(()=>(s(r),()=>s(null)),[r,s]);let c=F.useMemo(()=>({open:i===0}),[i]);return Yt({ourProps:{ref:a,id:r},theirProps:o,slot:c,defaultTag:XN,name:"Dialog.Title"})}let ej=Ft(WN),tj=Ft(KN),nj=Ft(JN),rj=Ft(HN),ij=Ft(ZN),Ho=Object.assign(ej,{Backdrop:tj,Panel:nj,Overlay:rj,Title:ij,Description:pN});const oj={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"}},sj=({isModalOpen:e,closeModal:t,t:n})=>de.jsx(Ho,{open:e,onClose:()=>t,children:de.jsxs(Ho.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:[de.jsxs(Ho.Title,{style:{fontSize:"24px",position:"relative"},className:"text-center",children:[de.jsx("button",{style:{position:"absolute",top:0,right:0,fontSize:50},onClick:t,children:de.jsx(bc,{})}),n("user.Sign in"),de.jsx("hr",{style:{backgroundColor:"#585858",borderColor:"#585858"}})]}),de.jsxs(Ho.Description,{children:[de.jsxs("div",{className:"px-4 py-4 lg:px-16 text-center",children:[de.jsx("p",{children:n("user.sign in description")}),de.jsxs("button",{style:oj,onClick:Fd,children:[de.jsx("span",{style:{float:"left",color:"#fff"},children:de.jsx(jc,{})}),n("user.Sign in with WasedaMail")]})]}),de.jsx("hr",{style:{backgroundColor:"#585858",borderColor:"#585858"}}),de.jsxs("p",{className:"text-center",children:[n("user.agreement on privacy policy 1"),de.jsx("a",{href:"/privacy-policy",children:de.jsx("b",{children:n("user.Privacy Policy")})}),n("user.agreement on privacy policy 2"),de.jsx("a",{href:"/terms-of-service",children:de.jsx("b",{children:n("user.Terms of Service")})}),n("user.agreement on privacy policy 3")]})]})]})});function aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gi(e){"@babel/helpers - typeof";return gi=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},gi(e)}function uj(e,t){if(gi(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(gi(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cj(e){var t=uj(e,"string");return gi(t)==="symbol"?t:String(t)}function lh(e,t){for(var n=0;n0){var a=o.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(a)}if(o.domain){if(!dh.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!dh.test(o.path))throw new TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){if(typeof o.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(s+="; HttpOnly"),o.secure&&(s+="; Secure"),o.sameSite){var c=typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite;switch(c){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},hh={create:function(t,n,r,o){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+r*60*1e3)),o&&(i.domain=o),document.cookie=gj(t,encodeURIComponent(n),i)},read:function(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=r.substring(1),i=o.split("&"),s=0;s0){var c=i[s].substring(0,a);c===t.lookupQuerystring&&(n=i[s].substring(a+1))}}}return n}},pi=null,gh=function(){if(pi!==null)return pi;try{pi=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{pi=!1}return pi},yj={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&gh()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&gh()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Mi=null,ph=function(){if(Mi!==null)return Mi;try{Mi=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Mi=!1}return Mi},mj={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&ph()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&ph()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},vj={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},wj={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}},Dj={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}},Ij={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 Aj(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Mh=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};aj(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return lj(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=hj(r,this.options||{},Aj()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(pj),this.addDetector(Mj),this.addDetector(yj),this.addDetector(mj),this.addDetector(vj),this.addDetector(wj),this.addDetector(Dj),this.addDetector(Ij)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var o=[];return n.forEach(function(i){if(r.detectors[i]){var s=r.detectors[i].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(o=o.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var o=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(i){o.detectors[i]&&o.detectors[i].cacheUserLanguage(n,o.options)}))}}]),e}();Mh.type="languageDetector";function yu(e){"@babel/helpers - typeof";return yu=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},yu(e)}var yh=[],Ej=yh.forEach,Tj=yh.slice;function mu(e){return Ej.call(Tj.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function mh(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":yu(XMLHttpRequest))==="object"}function Nj(e){return!!e&&typeof e.then=="function"}function jj(e){return Nj(e)?e:Promise.resolve(e)}function bj(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 vu={exports:{}},qo={exports:{}},vh;function Sj(){return vh||(vh=1,function(e,t){var n=typeof self<"u"?self:_t,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(s){var a={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function c(j){return j&&DataView.prototype.isPrototypeOf(j)}if(a.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(j){return j&&u.indexOf(Object.prototype.toString.call(j))>-1};function f(j){if(typeof j!="string"&&(j=String(j)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(j))throw new TypeError("Invalid character in header field name");return j.toLowerCase()}function d(j){return typeof j!="string"&&(j=String(j)),j}function p(j){var C={next:function(){var H=j.shift();return{done:H===void 0,value:H}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function M(j){this.map={},j instanceof M?j.forEach(function(C,H){this.append(H,C)},this):Array.isArray(j)?j.forEach(function(C){this.append(C[0],C[1])},this):j&&Object.getOwnPropertyNames(j).forEach(function(C){this.append(C,j[C])},this)}M.prototype.append=function(j,C){j=f(j),C=d(C);var H=this.map[j];this.map[j]=H?H+", "+C:C},M.prototype.delete=function(j){delete this.map[f(j)]},M.prototype.get=function(j){return j=f(j),this.has(j)?this.map[j]:null},M.prototype.has=function(j){return this.map.hasOwnProperty(f(j))},M.prototype.set=function(j,C){this.map[f(j)]=d(C)},M.prototype.forEach=function(j,C){for(var H in this.map)this.map.hasOwnProperty(H)&&j.call(C,this.map[H],H,this)},M.prototype.keys=function(){var j=[];return this.forEach(function(C,H){j.push(H)}),p(j)},M.prototype.values=function(){var j=[];return this.forEach(function(C){j.push(C)}),p(j)},M.prototype.entries=function(){var j=[];return this.forEach(function(C,H){j.push([H,C])}),p(j)},a.iterable&&(M.prototype[Symbol.iterator]=M.prototype.entries);function y(j){if(j.bodyUsed)return Promise.reject(new TypeError("Already read"));j.bodyUsed=!0}function m(j){return new Promise(function(C,H){j.onload=function(){C(j.result)},j.onerror=function(){H(j.error)}})}function w(j){var C=new FileReader,H=m(C);return C.readAsArrayBuffer(j),H}function D(j){var C=new FileReader,H=m(C);return C.readAsText(j),H}function N(j){for(var C=new Uint8Array(j),H=new Array(C.length),S=0;S-1?C:j}function J(j,C){C=C||{};var H=C.body;if(j instanceof J){if(j.bodyUsed)throw new TypeError("Already read");this.url=j.url,this.credentials=j.credentials,C.headers||(this.headers=new M(j.headers)),this.method=j.method,this.mode=j.mode,this.signal=j.signal,!H&&j._bodyInit!=null&&(H=j._bodyInit,j.bodyUsed=!0)}else this.url=String(j);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new M(C.headers)),this.method=_(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&H)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(H)}J.prototype.clone=function(){return new J(this,{body:this._bodyInit})};function B(j){var C=new FormData;return j.trim().split("&").forEach(function(H){if(H){var S=H.split("="),K=S.shift().replace(/\+/g," "),ue=S.join("=").replace(/\+/g," ");C.append(decodeURIComponent(K),decodeURIComponent(ue))}}),C}function G(j){var C=new M,H=j.replace(/\r?\n[\t ]+/g," ");return H.split(/\r?\n/).forEach(function(S){var K=S.split(":"),ue=K.shift().trim();if(ue){var O=K.join(":").trim();C.append(ue,O)}}),C}T.call(J.prototype);function ee(j,C){C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in C?C.statusText:"OK",this.headers=new M(C.headers),this.url=C.url||"",this._initBody(j)}T.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new M(this.headers),url:this.url})},ee.error=function(){var j=new ee(null,{status:0,statusText:""});return j.type="error",j};var ie=[301,302,303,307,308];ee.redirect=function(j,C){if(ie.indexOf(C)===-1)throw new RangeError("Invalid status code");return new ee(null,{status:C,headers:{location:j}})},s.DOMException=i.DOMException;try{new s.DOMException}catch{s.DOMException=function(C,H){this.message=C,this.name=H;var S=Error(C);this.stack=S.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function U(j,C){return new Promise(function(H,S){var K=new J(j,C);if(K.signal&&K.signal.aborted)return S(new s.DOMException("Aborted","AbortError"));var ue=new XMLHttpRequest;function O(){ue.abort()}ue.onload=function(){var z={status:ue.status,statusText:ue.statusText,headers:G(ue.getAllResponseHeaders()||"")};z.url="responseURL"in ue?ue.responseURL:z.headers.get("X-Request-URL");var Y="response"in ue?ue.response:ue.responseText;H(new ee(Y,z))},ue.onerror=function(){S(new TypeError("Network request failed"))},ue.ontimeout=function(){S(new TypeError("Network request failed"))},ue.onabort=function(){S(new s.DOMException("Aborted","AbortError"))},ue.open(K.method,K.url,!0),K.credentials==="include"?ue.withCredentials=!0:K.credentials==="omit"&&(ue.withCredentials=!1),"responseType"in ue&&a.blob&&(ue.responseType="blob"),K.headers.forEach(function(z,Y){ue.setRequestHeader(Y,z)}),K.signal&&(K.signal.addEventListener("abort",O),ue.onreadystatechange=function(){ue.readyState===4&&K.signal.removeEventListener("abort",O)}),ue.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return U.polyfill=!0,i.fetch||(i.fetch=U,i.Headers=M,i.Request=J,i.Response=ee),s.Headers=M,s.Request=J,s.Response=ee,s.fetch=U,Object.defineProperty(s,"__esModule",{value:!0}),s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}(qo,qo.exports)),qo.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof _t<"u"&&_t.fetch?n=_t.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof bj<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||Sj();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(vu,vu.exports);var wh=vu.exports;const Dh=Er(wh),Ih=zh({__proto__:null,default:Dh},[wh]);function Ko(e){"@babel/helpers - typeof";return Ko=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},Ko(e)}var tn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?tn=global.fetch:typeof window<"u"&&window.fetch?tn=window.fetch:tn=fetch);var yi;mh()&&(typeof global<"u"&&global.XMLHttpRequest?yi=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(yi=window.XMLHttpRequest));var Go;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Go=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Go=window.ActiveXObject)),!tn&&Ih&&!yi&&!Go&&(tn=Dh||Ih),typeof tn!="function"&&(tn=void 0);var wu=function(t,n){if(n&&Ko(n)==="object"){var r="";for(var o in n)r+="&"+encodeURIComponent(o)+"="+encodeURIComponent(n[o]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},Ah=function(t,n,r){var o=function(s){if(!s.ok)return r(s.statusText||"Error",{status:s.status});s.text().then(function(a){r(null,{status:s.status,data:a})}).catch(r)};typeof fetch=="function"?fetch(t,n).then(o).catch(r):tn(t,n).then(o).catch(r)},Eh=!1,xj=function(t,n,r,o){t.queryStringParams&&(n=wu(n,t.queryStringParams));var i=mu({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(i["Content-Type"]="application/json");var s=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,a=mu({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},Eh?{}:s);try{Ah(n,a,o)}catch(c){if(!s||Object.keys(s).length===0||!c.message||c.message.indexOf("not implemented")<0)return o(c);try{Object.keys(s).forEach(function(u){delete a[u]}),Ah(n,a,o),Eh=!0}catch(u){o(u)}}},Cj=function(t,n,r,o){r&&Ko(r)==="object"&&(r=wu("",r).slice(1)),t.queryStringParams&&(n=wu(n,t.queryStringParams));try{var i;yi?i=new yi:i=new Go("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var s=t.customHeaders;if(s=typeof s=="function"?s():s,s)for(var a in s)i.setRequestHeader(a,s[a]);i.onreadystatechange=function(){i.readyState>3&&o(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(c){console&&console.log(c)}},Oj=function(t,n,r,o){if(typeof r=="function"&&(o=r,r=void 0),o=o||function(){},tn&&n.indexOf("file:")!==0)return xj(t,n,r,o);if(mh()||typeof ActiveXObject=="function")return Cj(t,n,r,o);o(new Error("No fetch and no xhr implementation found!"))};function mi(e){"@babel/helpers - typeof";return mi=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},mi(e)}function Lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Lj(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return _j(e,[{key:"init",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=mu(o,this.options||{},Uj()),this.allOptions=i,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,o){this._readAny(n,n,r,r,o)}},{key:"read",value:function(n,r,o){this._readAny([n],n,[r],r,o)}},{key:"_readAny",value:function(n,r,o,i,s){var a=this,c=this.options.loadPath;typeof this.options.loadPath=="function"&&(c=this.options.loadPath(n,o)),c=jj(c),c.then(function(u){if(!u)return s(null,{});var l=a.services.interpolator.interpolate(u,{lng:n.join("+"),ns:o.join("+")});a.loadUrl(l,s,r,i)})}},{key:"loadUrl",value:function(n,r,o,i){var s=this,a=typeof o=="string"?[o]:o,c=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(a,c);this.options.request(this.options,n,u,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,p;try{typeof f.data=="string"?d=s.options.parse(f.data,o,i):d=f.data}catch{p="failed parsing "+n+" to json"}if(p)return r(p,!1);r(null,d)})}},{key:"create",value:function(n,r,o,i,s){var a=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var c=this.options.parsePayload(r,o,i),u=0,l=[],f=[];n.forEach(function(d){var p=a.options.addPath;typeof a.options.addPath=="function"&&(p=a.options.addPath(d,r));var M=a.services.interpolator.interpolate(p,{lng:d,ns:r});a.options.request(a.options,M,c,function(y,m){u+=1,l.push(y),f.push(m),u===n.length&&typeof s=="function"&&s(l,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,o=r.backendConnector,i=r.languageUtils,s=r.logger,a=o.language;if(!(a&&a.toLowerCase()==="cimode")){var c=[],u=function(f){var d=i.toResolveHierarchy(f);d.forEach(function(p){c.indexOf(p)<0&&c.push(p)})};u(a),this.allOptions.preload&&this.allOptions.preload.forEach(function(l){return u(l)}),c.forEach(function(l){n.allOptions.ns.forEach(function(f){o.read(l,f,"read",null,null,function(d,p){d&&s.warn("loading namespace ".concat(f," for language ").concat(l," failed"),d),!d&&p&&s.log("loaded namespace ".concat(f," for language ").concat(l),p),o.loaded("".concat(l,"|").concat(f),d,p)})})})}}}]),e}();jh.type="backend";const Pj=e=>e===Ls.EN?Tc:Nc,Rj=()=>Mh,Yj=()=>jh;we.Colors=Qe,we.CrossIcon=bc,we.GoogleIcon=jc,we.Header=N0,we.Lang=Ls,we.LanguageMenu=jf,we.LoadingSpinner=S0,we.Logo=xf,we.LogoJp=M0,we.Modal=eM,we.Overlay=Gu,we.RowWrapper=Pg,we.SignInModal=sj,we.SmallLogo=Cf,we.SmallLogoJp=y0,we.ThemeToggle=Of,we.Wrapper=gs,we.WrapperWithBackground=Rg,we.configAuth=Yd,we.en=Tc,we.fontSize=nM,we.getAccessToken=DT,we.getCoreTranslation=Pj,we.getI18nHttpBackend=Yj,we.getI18nLanguageDetector=Rj,we.getIdToken=wT,we.getRefreshToken=IT,we.getUserAttr=AT,we.height=tM,we.isScreenType=iM,we.isThemeType=sM,we.ja=Nc,we.media=p0,we.signIn=Fd,we.signOut=ET,we.sizes=co,we.useScrollBlock=Ec,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})}); diff --git a/packages/ui/src/utils/user.ts b/packages/ui/src/utils/user.ts index 8a5c7657b..e0d96f9a7 100644 --- a/packages/ui/src/utils/user.ts +++ b/packages/ui/src/utils/user.ts @@ -2,8 +2,15 @@ import { Auth } from "@aws-amplify/auth" import { CognitoHostedUIIdentityProvider } from "@aws-amplify/auth/lib/types" export const configAuth = () => { - const authRedirectPath = - window.location.protocol + "//" + window.location.host + "/verify" + + const queryString = window.location.search + + let authRedirectPath = + window.location.protocol + "//" + window.location.host + "/verify" + if(window.location.search.includes("error_description")) { + authRedirectPath = window.location.protocol + "//" + window.location.host + "/verify" + queryString + } + const authSignOutPath = window.location.protocol + "//" + window.location.host + "/" @@ -74,6 +81,7 @@ export const getUserAttr = async () => { } export const signIn = () => { + configAuth() try { Auth.federatedSignIn({ provider: CognitoHostedUIIdentityProvider.Google,