@preply/ds-docs 9.1.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{00.LayoutFlex.stories-BYXnY64p.js → 00.LayoutFlex.stories-DB9Y25qw.js} +1 -1
- package/dist/assets/{00.applications-BsH2V3W_.js → 00.applications-C7qyvM1y.js} +1 -1
- package/dist/assets/{00.favicons.guide-eBYOUVUH.js → 00.favicons.guide-BmYhSQZH.js} +1 -1
- package/dist/assets/{00.token-explorer-B2ulyaA-.js → 00.token-explorer-zaz4V88E.js} +1 -1
- package/dist/assets/{00.using-responsive-props-CTjUYXUc.js → 00.using-responsive-props-DKW-uWVH.js} +1 -1
- package/dist/assets/01-2pw2iC19.css +1 -0
- package/dist/assets/01.semantic-tokens-Qf9qY_Sk.js +11 -0
- package/dist/assets/{01.using-shorthand-props-CwDUu5-3.js → 01.using-shorthand-props-BedWZyE3.js} +1 -1
- package/dist/assets/{10.Combinations.stories-DyRUlGlL.js → 10.Combinations.stories-DL8TmNJ4.js} +1 -1
- package/dist/assets/{10.fonts.guide-DeXmgJeZ.js → 10.fonts.guide-DWCtIfPx.js} +1 -1
- package/dist/assets/{10.ssr-Cc4-BW5H.js → 10.ssr-FDyVDtdm.js} +1 -1
- package/dist/assets/11.fonts.explorer-Bh_GOQIH.js +2 -0
- package/dist/assets/{11.ssr.app-router-D1SE_zWj.js → 11.ssr.app-router-C5TwsO2T.js} +1 -1
- package/dist/assets/{20.libraries-DfhUsp74.js → 20.libraries-Cnl2_NKK.js} +1 -1
- package/dist/assets/{2025-q4-ds-cleanup-DGnTtnn3.js → 2025-q4-ds-cleanup-Bpa9AZ8j.js} +1 -1
- package/dist/assets/{30.icons.explorer-D0CP2r0K.js → 30.icons.explorer-BBtz-vBk.js} +3 -3
- package/dist/assets/{30.storybook-fiICi3pf.js → 30.storybook-C9GpdY6w.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-BAusB8PF.js → 40.illustrations.explorer-BRtj5sFB.js} +1 -1
- package/dist/assets/{90.advanced-DcSeiSZJ.js → 90.advanced-hNSc64rO.js} +1 -1
- package/dist/assets/{Accordion-BEPo4ld1.js → Accordion-CedlUpYk.js} +1 -1
- package/dist/assets/{Accordion.stories-BQqvv6_w.js → Accordion.stories-K6mzrdt8.js} +1 -1
- package/dist/assets/{Accordion.tests.stories-CbPTut9X.js → Accordion.tests.stories-B6lTbT6X.js} +1 -1
- package/dist/assets/AlertBanner.primitives.stories-CX03Ob-5.js +14 -0
- package/dist/assets/{AlertBanner.stories-CMG9DJ2x.js → AlertBanner.stories-Cla7i7qF.js} +2 -2
- package/dist/assets/{AlertBannerText-CmhnTe_E.js → AlertBannerAction-CW-WBC-Q.js} +39 -39
- package/dist/assets/{AlertDialog.stories-DizQy7gK.js → AlertDialog.stories-BKmaZZoo.js} +1 -1
- package/dist/assets/{Avatar-DooDODLU.js → Avatar-Dlo9b83e.js} +1 -1
- package/dist/assets/{Avatar.stories-D7qshDw_.js → Avatar.stories-B27rtxK8.js} +1 -1
- package/dist/assets/{AvatarWithStatus.stories-Dj6jZHHV.js → AvatarWithStatus.stories-DBeEaQQL.js} +1 -1
- package/dist/assets/{Badge-e3LEfrfi.css → Badge-BVnE8GHY.css} +1 -1
- package/dist/assets/Badge-CEZW6Ww4.js +10 -0
- package/dist/assets/Badge.stories-ioY8q4d7.js +90 -0
- package/dist/assets/{Box.stories-CHbntlOv.js → Box.stories-udfSjNu1.js} +1 -1
- package/dist/assets/{BubbleCounter.stories-DTv3QqdJ.js → BubbleCounter.stories-D2G7jKKI.js} +1 -1
- package/dist/assets/{Button-KCBOR544.js → Button-DS2bg8PO.js} +3 -3
- package/dist/assets/{Button.stories-pEk6dWrs.js → Button.stories-VD5Bx8BA.js} +1 -1
- package/dist/assets/{Button-6DthIrMV.css → ButtonBase-Bv11I0L0.css} +1 -1
- package/dist/assets/ButtonBase-CPJxprWJ.js +1 -0
- package/dist/assets/{ButtonBase-D1x6yeKi.js → ButtonBase-sV1YoG7h.js} +2 -2
- package/dist/assets/{CalloutBanner.stories-C-mTLhQp.js → CalloutBanner.stories-Cda3BZCl.js} +23 -23
- package/dist/assets/{Checkbox-BpQ-rwun.js → Checkbox-Cmmcg7FL.js} +2 -2
- package/dist/assets/{Checkbox.stories-DsN55u_O.js → Checkbox.stories-B0kQw-sr.js} +1 -1
- package/dist/assets/{Checkbox.tests.stories-Bep_STbH.js → Checkbox.tests.stories-DDyVlpZg.js} +1 -1
- package/dist/assets/{Chips.stories-Da8J7RES.js → Chips.stories-DcxW_jqF.js} +1 -1
- package/dist/assets/{Color-ASIRERSW-DWyFOMGN.js → Color-ASIRERSW-9q9Af87o.js} +1 -1
- package/dist/assets/{ComposingPopovers.stories-qqCHKKj8.js → ComposingPopovers.stories-Co69SyGH.js} +1 -1
- package/dist/assets/{CountryFlag-CSGb4nau.js → CountryFlag-BKEpYyWK.js} +18 -18
- package/dist/assets/{CountryFlag.stories-DQpEMYMX.js → CountryFlag.stories-o-8kmOZA.js} +1 -1
- package/dist/assets/{CountryFlag.test.stories-CzcCUxia.js → CountryFlag.test.stories-CKkoBStk.js} +1 -1
- package/dist/assets/Dialog-DaLOtRn0.js +13 -0
- package/dist/assets/{Dialog.primitives.stories-CSDdsj-9.js → Dialog.primitives.stories-CDU4GhAO.js} +1 -1
- package/dist/assets/Dialog.stories-N8LTxdNu.js +324 -0
- package/dist/assets/{Dialog.test.stories-DngMxsX4.js → Dialog.test.stories-tViVBTuF.js} +6 -6
- package/dist/assets/{DialogActions-DTUDyqFX.js → DialogActions-_9FMsJ9P.js} +34 -34
- package/dist/assets/{DialogTitle-DJPc1ITB.js → DialogCloseButton-CDDeMFIL.js} +63 -63
- package/dist/assets/DialogCloseButton-DXcPNZE4.css +1 -0
- package/dist/assets/DismissibleChips-X4A9KOxs.js +1 -0
- package/dist/assets/{DismissibleChips.stories-Bi-ob_1G.js → DismissibleChips.stories-DbnvLIw0.js} +1 -1
- package/dist/assets/{Divider-CPpmQZmq.js → Divider-WS0wDfQZ.js} +1 -1
- package/dist/assets/{Divider.stories-CfHb5qbc.js → Divider.stories-BO1cg142.js} +1 -1
- package/dist/assets/{DocsRenderer-GHJI37HO-DtP4EKUP.js → DocsRenderer-GHJI37HO-CzsXSkAO.js} +2 -2
- package/dist/assets/{DropdownMenu-N9_otewg.js → DropdownMenu-CB6xg9YD.js} +410 -410
- package/dist/assets/{DropdownMenu.stories-CEAGHTed.js → DropdownMenu.stories-E-6mIs-U.js} +2 -2
- package/dist/assets/{FieldButton-CCXniKhy.js → FieldButton-CYcQXg37.js} +1 -1
- package/dist/assets/{FieldButton.stories-CJM_6H-S.js → FieldButton.stories-UNjMUuGT.js} +1 -1
- package/dist/assets/{FormControl-CygcWV_h.js → FormControl-DgD7Nr_L.js} +1 -1
- package/dist/assets/{FormControl.stories-C5u8y2E-.js → FormControl.stories-DlqjswdS.js} +1 -1
- package/dist/assets/{Heading-Bie8QWaf.js → Heading-BPJGe0Bg.js} +1 -1
- package/dist/assets/{Heading.stories-D0fztdY8.js → Heading.stories-B9_Jr0z3.js} +1 -1
- package/dist/assets/{Icon-RSC-D3qlB5DK.js → Icon-RSC-BcGoz5Ez.js} +1 -1
- package/dist/assets/{Icon-BX3I9JNh.js → Icon-kphbe0CE.js} +2 -2
- package/dist/assets/{Icon.stories-By891-S7.js → Icon.stories-CKAjKBCa.js} +1 -1
- package/dist/assets/IconButton-D4lbFOKH.js +8 -0
- package/dist/assets/{IconTile.stories-Dns_iBHK.js → IconTile.stories-BlATLdyV.js} +1 -1
- package/dist/assets/{Input-DwA6-keB.js → Input-Cp2OkxN8.js} +19 -19
- package/dist/assets/{InputContainer-BM2ePliH.js → InputContainer-BlXlJbfJ.js} +1 -1
- package/dist/assets/{IntegrationWithReactHookForm.stories-mIoeMj7y.js → IntegrationWithReactHookForm.stories-BstJWvGF.js} +1 -1
- package/dist/assets/{IntlFormattedCurrency.stories-7qKke3dW.js → IntlFormattedCurrency.stories-CXBsKa8I.js} +9 -9
- package/dist/assets/{IntlFormattedDateTime.stories-C2pI0ems.js → IntlFormattedDateTime.stories-m5rFuyxv.js} +7 -7
- package/dist/assets/{LayoutFlex-0WdUDfah.js → LayoutFlex-Drgj-jqd.js} +1 -1
- package/dist/assets/{LayoutFlex-BnIoY5YK.js → LayoutFlex-p_p7LCCd.js} +1 -1
- package/dist/assets/{LayoutFlexItem-9sCC-db-.js → LayoutFlexItem-DrxhQlf5.js} +1 -1
- package/dist/assets/{LayoutGrid-DfyCnoOo.js → LayoutGrid-DZv08iKe.js} +1 -1
- package/dist/assets/{LayoutGrid-DqPWofJQ.js → LayoutGrid-eROIp1sZ.js} +1 -1
- package/dist/assets/{LayoutGrid.stories-CPzyKie2.js → LayoutGrid.stories-DAnbCvD6.js} +1 -1
- package/dist/assets/{LayoutGridItem-BhNbXpRk.js → LayoutGridItem-DiU_IdjQ.js} +1 -1
- package/dist/assets/{Link-C686zlPi.js → Link-BHV5DCu-.js} +2 -2
- package/dist/assets/{Link.stories-NTXG_YAN.js → Link.stories-CFRsbzfM.js} +1 -1
- package/dist/assets/{Loader.stories-CobXaiZW.js → Loader.stories-bvaq9oGD.js} +1 -1
- package/dist/assets/MultiSelectChips-CVg9kaKd.js +2 -0
- package/dist/assets/{MultiSelectChips.stories-D8qk9Xh6.js → MultiSelectChips.stories-DOiIDnhX.js} +1 -1
- package/dist/assets/{NativeSelectField.stories-BDO41u_T.js → NativeSelectField.stories-DojmcjvT.js} +23 -23
- package/dist/assets/NumberField-FWK2ErPL.js +6 -0
- package/dist/assets/{NumberField.stories-Dcw2SaBe.js → NumberField.stories-BEVJXeBn.js} +1 -1
- package/dist/assets/{ObserveIntersection-Be6WqdPA.js → ObserveIntersection-MtxhRIzU.js} +2 -2
- package/dist/assets/{ObserveIntersection.stories-DZmhDs2t.js → ObserveIntersection.stories-0f-z6V25.js} +1 -1
- package/dist/assets/{OnboardingTooltip-CsTure6K.js → OnboardingTooltip-DdKwzkB-.js} +1 -1
- package/dist/assets/{OnboardingTooltip.stories-C_B-G4_v.js → OnboardingTooltip.stories-DV2yAiRE.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-CpZhGhGz.js → OnboardingTooltip.tests.stories-32a4fLzf.js} +1 -1
- package/dist/assets/{OnboardingTour-Dsl4caiq.js → OnboardingTour-m4V6QT-X.js} +1 -1
- package/dist/assets/{OnboardingTour.stories-DqC8M1Kd.js → OnboardingTour.stories-dLZBYgbr.js} +2 -2
- package/dist/assets/{OnboardingTour.tests.stories-DGFSuiWj.js → OnboardingTour.tests.stories-BnPXyzmi.js} +1 -1
- package/dist/assets/PasswordField-Bp2beBoD.js +6 -0
- package/dist/assets/{PasswordField.stories-CZeXEfzi.js → PasswordField.stories-BxnBBn2_.js} +1 -1
- package/dist/assets/{PreplyLogo.stories-shAJfg57.js → PreplyLogo.stories-BuK8vK1R.js} +2 -2
- package/dist/assets/{ProgressBar.stories-iYTaP7-a.js → ProgressBar.stories-CwpXa86g.js} +1 -1
- package/dist/assets/{ProgressSteps-Dq6mpMpu.js → ProgressSteps-DCVAFT7X.js} +1 -1
- package/dist/assets/{ProgressSteps.stories-DHMPLYQI.js → ProgressSteps.stories--reXlzAk.js} +1 -1
- package/dist/assets/{PromoDialog-D8vw3Grl.js → PromoDialog-BPWEGGGS.js} +1 -1
- package/dist/assets/{RangeSlider-Bhq0kPco.js → RangeSlider-BKIG-XfV.js} +1 -1
- package/dist/assets/{RangeSlider.stories-g3pQNpDu.js → RangeSlider.stories-Dr7UfAUm.js} +1 -1
- package/dist/assets/{Rating.stories-CjioX0Al.js → Rating.stories-Cmpcr64W.js} +1 -1
- package/dist/assets/{RatingInput.stories-D33p4lyo.js → RatingInput.stories-DWxrhIwu.js} +2 -2
- package/dist/assets/{SelectField-Dndb8yfM.js → SelectField-BRicVVj7.js} +9 -9
- package/dist/assets/{SelectField.stories-CvIWxsEK.js → SelectField.stories-D6sJHBcs.js} +1 -1
- package/dist/assets/{ShowOnIntersection.stories-dFG1F9xz.js → ShowOnIntersection.stories-DT94aTYJ.js} +1 -1
- package/dist/assets/SingleSelectChips-B1d9MkC-.js +2 -0
- package/dist/assets/{SingleSelectChips.stories-CUP8Bkco.js → SingleSelectChips.stories-QdsPQJO8.js} +1 -1
- package/dist/assets/{Slider-BECc3Wis.js → Slider-CVM0huNa.js} +1 -1
- package/dist/assets/{Slider.stories-DjmgzkjU.js → Slider.stories-UCLuhto1.js} +1 -1
- package/dist/assets/{Spinner-lj2QA4al.js → Spinner-BG27lVzS.js} +1 -1
- package/dist/assets/{Stars-jpVWvTeN.js → Stars-St7ZRTZK.js} +1 -1
- package/dist/assets/{Steps-GOg1wsKY.js → Steps-CBqiqb-6.js} +1 -1
- package/dist/assets/{Steps.stories-kIC1j0Ik.js → Steps.stories-DOWMlpTM.js} +1 -1
- package/dist/assets/{Switch-7aX4SIla.js → Switch-DJROHOKs.js} +1 -1
- package/dist/assets/{Switch.stories-DT7OULK4.js → Switch.stories-C9cCCv8l.js} +1 -1
- package/dist/assets/{Text-cq49jjad.js → Text-C8DrHLQF.js} +1 -1
- package/dist/assets/{Text-CmJvwKqR.js → Text-FXv4P3JX.js} +1 -1
- package/dist/assets/{Text.stories-CS1pqas4.js → Text.stories-Cmn2Kn0h.js} +1 -1
- package/dist/assets/TextField--Ctd_eHi.js +6 -0
- package/dist/assets/{TextField.stories-CzFG171A.js → TextField.stories-Bly_tLuN.js} +1 -1
- package/dist/assets/{TextHighlighted.stories-CLRQJAB8.js → TextHighlighted.stories-CdIzDMMS.js} +1 -1
- package/dist/assets/{TextInline.stories-DSzsl_kb.js → TextInline.stories-NWWAzVY1.js} +1 -1
- package/dist/assets/{TextareaField-DBMUxHiI.js → TextareaField-DDEIieQg.js} +23 -23
- package/dist/assets/{TextareaField.stories-CUD2MBoL.js → TextareaField.stories-CyuOlu4z.js} +1 -1
- package/dist/assets/{Toast.stories-DPD668gP.js → Toast.stories-BFWVkg8-.js} +1 -1
- package/dist/assets/{TokyoUIAttach-BtX3U917.js → TokyoUIAttach-Bj2xsZ5E.js} +1 -1
- package/dist/assets/{TokyoUIAvailability7LateNight-CjHQEFhh.js → TokyoUIAvailability7LateNight-CyPCBR0g.js} +1 -1
- package/dist/assets/{TokyoUICheck-DfGyg7qp.js → TokyoUICheck-Cg3ZJnmD.js} +1 -1
- package/dist/assets/{TokyoUICheckmark-CittwpP4.js → TokyoUICheckmark-CPDgq6wU.js} +1 -1
- package/dist/assets/{TokyoUIChevronDown-D9z1Bocr.js → TokyoUIChevronDown-CqAWFBEe.js} +1 -1
- package/dist/assets/{TokyoUIChevronRight-DQBrjC0F.js → TokyoUIChevronRight-UHMBQAxX.js} +1 -1
- package/dist/assets/{TokyoUIClose-C1pVTvLz.js → TokyoUIClose-DoJfpCh8.js} +1 -1
- package/dist/assets/{TokyoUIEmojiFrowning-D-sR3DAq.js → TokyoUIEmojiFrowning-Bztw_WuD.js} +1 -1
- package/dist/assets/{TokyoUIErrorWarning-CDZ53m2_.js → TokyoUIErrorWarning-CE6C7y8g.js} +1 -1
- package/dist/assets/{TokyoUIExerciseClosedGapsJumble-DYuDUGYW.js → TokyoUIExerciseClosedGapsJumble-OGZLJcQZ.js} +1 -1
- package/dist/assets/{TokyoUIEye-Bgb_ZF1l.js → TokyoUIEye-BRl8T4Ci.js} +1 -1
- package/dist/assets/{TokyoUIFav-B1z6F-nK.js → TokyoUIFav-w08HsdRu.js} +1 -1
- package/dist/assets/{TokyoUIInfo-CwPA0O_V.js → TokyoUIInfo-BoGHBgEW.js} +1 -1
- package/dist/assets/{TokyoUILanguage-Cnby-Siw.js → TokyoUILanguage-Bd98PINi.js} +1 -1
- package/dist/assets/{TokyoUILibraryExplore-D3Zqdc29.js → TokyoUILibraryExplore-C-3tnEbW.js} +1 -1
- package/dist/assets/{TokyoUILock-BVVVVd2O.js → TokyoUILock-d81cInRU.js} +1 -1
- package/dist/assets/{TokyoUIMessages-B0IlDk1q.js → TokyoUIMessages-0is9ybHR.js} +1 -1
- package/dist/assets/{TokyoUIMinus-Bev2a7lF.js → TokyoUIMinus-DPJ4shry.js} +1 -1
- package/dist/assets/{TokyoUINotebook-BCMFA3qu.js → TokyoUINotebook-DLrYm4si.js} +1 -1
- package/dist/assets/{TokyoUINotesWithPad-Bi4bu_3q.js → TokyoUINotesWithPad-D6VO7CbF.js} +1 -1
- package/dist/assets/{TokyoUIPhone-CX3CAtW4.js → TokyoUIPhone-bFlwEn-_.js} +1 -1
- package/dist/assets/{TokyoUISettings-BlCV0s5R.js → TokyoUISettings-DhHyIlWv.js} +1 -1
- package/dist/assets/{TokyoUISparkle-C5euAhof.js → TokyoUISparkle-B1jtDvOV.js} +1 -1
- package/dist/assets/{TokyoUIStarFilled-Dm7Rk3-6.js → TokyoUIStarFilled-Cj894376.js} +1 -1
- package/dist/assets/{TokyoUITag-CxUsuh1h.js → TokyoUITag-fMAL09F9.js} +1 -1
- package/dist/assets/{TokyoUIUpload-C50QSO0I.js → TokyoUIUpload-DM2TbvbX.js} +1 -1
- package/dist/assets/{TokyoUIUser-Cb3Rabu0.js → TokyoUIUser-Ba7_NA45.js} +1 -1
- package/dist/assets/{Tooltip-Zk6DNyQp.js → Tooltip-DDtzGgNm.js} +1 -1
- package/dist/assets/{Tooltip.stories-DvCDg7L5.js → Tooltip.stories-j1bsH2PP.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-DhLZuVsr.js → Tooltip.tests.stories-DFas0O9K.js} +1 -1
- package/dist/assets/{VisuallyHidden-lSSiGvdb.js → VisuallyHidden-GZBFKPVs.js} +1 -1
- package/dist/assets/{WithTooltip-IO6J4KBT-BXUfDxdY.js → WithTooltip-IO6J4KBT-2Wz16aqd.js} +1 -1
- package/dist/assets/{align-self-kXdO3hx1.js → align-self-D0ug8REo.js} +1 -1
- package/dist/assets/{axe-D9-qZHEg.js → axe-BcoLkzU-.js} +1 -1
- package/dist/assets/{breakpoints-QW-40zGS.js → breakpoints-BBwYud6y.js} +1 -1
- package/dist/assets/{breakpoints-C7qnntd1.js → breakpoints-BDFtAvFy.js} +1 -1
- package/dist/assets/{breakpoints-Cmpvj56z.js → breakpoints-CIy8w3Dv.js} +1 -1
- package/dist/assets/{changelog-BWMxpTM2.js → changelog-DIkUnuOo.js} +23 -1
- package/dist/assets/{client-DvDoBCIp.js → client-oIdhQPH3.js} +1 -1
- package/dist/assets/{constants-6ClT3n6m.js → constants-Cwb-3GQ_.js} +47 -47
- package/dist/assets/{createRequiredContext-63KJmEaI.js → createRequiredContext-5BPDYgIa.js} +87 -87
- package/dist/assets/fonts-explorer-B5KcfnOG.css +1 -0
- package/dist/assets/fonts-explorer.stories-Bp_9af2z.js +130 -0
- package/dist/assets/{formatter-QJ4M4OGQ-kybJ6bB6.js → formatter-QJ4M4OGQ-D2xZe9AO.js} +1 -1
- package/dist/assets/{getTokenVar-CszfVUbW.js → getTokenVar-B7BEyIpS.js} +1 -1
- package/dist/assets/getTokenVar-B8jDl0Ui.js +1 -0
- package/dist/assets/{gradientBorders-DRFre4M2.js → gradientBorders-B12ps1Or.js} +1 -1
- package/dist/assets/{hover-DLl5EEx6.js → hover-5BxL9d9v.js} +1 -1
- package/dist/assets/{hover-DVoxXiPd.js → hover-CG8OgvC5.js} +1 -1
- package/dist/assets/{hover-D3OYWSUH.js → hover-gsGL4vVH.js} +1 -1
- package/dist/assets/{iframe-CpMEswOF.js → iframe-DjYTJz7A.js} +8 -8
- package/dist/assets/{index-B_7ihsZD.js → index-BII7aPfQ.js} +1 -1
- package/dist/assets/{index-DT-MbRPK.js → index-CUvrBGJo.js} +1 -1
- package/dist/assets/{index-jLr7d-Kb.js → index-C_O4jEc0.js} +1 -1
- package/dist/assets/{index-IVtS1ZoW.js → index-DHDwwoCu.js} +1 -1
- package/dist/assets/{index-dUCHvwfu.js → index-DOwxXd3L.js} +1 -1
- package/dist/assets/{index-Cc28ZUNU.js → index-cpi3YaXo.js} +1 -1
- package/dist/assets/{intro-1RVcci_B.js → intro-BXKxOrdm.js} +1 -1
- package/dist/assets/{layout-relative-Bq7IHzTJ.js → layout-relative-DQF7VcUK.js} +1 -1
- package/dist/assets/{layout-relative.module-1z75aSwo-B4ha7m6U.js → layout-relative.module-1z75aSwo-CsvB7_pT.js} +1 -1
- package/dist/assets/{layout-relative.module-Bhi7U482.js → layout-relative.module-BM7yIsEb.js} +1 -1
- package/dist/assets/{mcp-D4dEnAH6.js → mcp-X-VhpP6n.js} +1 -1
- package/dist/assets/{message-CTdBLxyt.js → message-DiUVdAQd.js} +1 -1
- package/dist/assets/{migrating-from-less-DyPFNe_D.js → migrating-from-less-8Nm2XYdW.js} +1 -1
- package/dist/assets/{playground.stories-Cd-KauE2.js → playground.stories-B4hfD_Uq.js} +1 -1
- package/dist/assets/{react-18-B6ZQhKaW.js → react-18-B4n119qZ.js} +1 -1
- package/dist/assets/{render-icon-c7okze1K.js → render-icon-DZ6hllTG.js} +1 -1
- package/dist/assets/{render-icon-CiYBms-s.js → render-icon-DlE4AZJV.js} +1 -1
- package/dist/assets/{shared-strings-BChji30Y.js → shared-strings-ZccoNgto.js} +1 -1
- package/dist/assets/{styled-components.browser.esm-Cm3dhVk9.js → styled-components.browser.esm-3T8u8x7l.js} +1 -1
- package/dist/assets/{styled-components.browser.esm-DsMoKq9m.js → styled-components.browser.esm-DegKtid9.js} +1 -1
- package/dist/assets/{syntaxhighlighter-IQDEPFLK-ckmVX3NN.js → syntaxhighlighter-IQDEPFLK-B-ddKj4v.js} +1 -1
- package/dist/assets/{text-accent-DZ_ihUdH.js → text-accent-C5-m5mrW.js} +1 -1
- package/dist/assets/{text-centered-B26ac1NU.js → text-centered-CqZrbSb_.js} +1 -1
- package/dist/assets/{text-centered-DiwR-QSx.js → text-centered-D70wah8Y.js} +1 -1
- package/dist/assets/{tokens-DO-XJjoF.js → tokens-BXEYWkXR.js} +1 -1
- package/dist/assets/{tokens-B_sXFQpU.js → tokens-CBFYFIpi.js} +1 -1
- package/dist/assets/{tokens-5M__FcH-.js → tokens-ChCvx9cz.js} +1 -1
- package/dist/assets/{tokens-DTCyqZ0W.js → tokens-Cp4gIGSO.js} +1 -1
- package/dist/assets/{useControllableState-ouxkeS_b.js → useControllableState-DQg81cp5.js} +1 -1
- package/dist/assets/useHostname-By9vNKnQ.js +1 -0
- package/dist/assets/{useMergeRefs-DkQLsYW4.js → useMergeRefs-CL5DIjXV.js} +1 -1
- package/dist/assets/{useMergeRefs-BVh7Ch_S.js → useMergeRefs-jFGYKOXz.js} +1 -1
- package/dist/assets/{useOpenInteractionType-BBP_TXgz.js → useOpenInteractionType-B976GY1b.js} +1 -1
- package/dist/assets/{usePortalElement-Cm2Hqn3J.js → usePortalElement-B3bWjUcx.js} +1 -1
- package/dist/assets/{useStableCallback-DHq1eG2Q.js → useStableCallback-662ysKf2.js} +1 -1
- package/dist/assets/{useToken-CX1vf7pV.js → useToken-CJ7hsZh9.js} +1 -1
- package/dist/assets/{welcome-CNokV_38.js → welcome-bR5y4uLm.js} +1 -1
- package/dist/assets/{zeroheight-8zVSToXs.js → zeroheight-D-Xst36e.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/preview-stats.json +9392 -9440
- package/dist/project.json +1 -1
- package/package.json +5 -5
- package/dist/assets/01-BEFb1grO.css +0 -1
- package/dist/assets/01.semantic-tokens-DaqL26gu.js +0 -11
- package/dist/assets/11.fonts.explorer-ZD_-8450.js +0 -2
- package/dist/assets/AlertBanner.primitives.stories-B8wM25gx.js +0 -14
- package/dist/assets/Badge-BOSHGFZw.js +0 -10
- package/dist/assets/Badge.stories-D2WAGDpD.js +0 -72
- package/dist/assets/Button-C8B7W2Qo.js +0 -1
- package/dist/assets/Dialog-Bmg2gpCM.js +0 -3
- package/dist/assets/Dialog.stories-BfS-yGJK.js +0 -248
- package/dist/assets/DialogTitle-8iZEMHpI.css +0 -1
- package/dist/assets/DismissibleChips-CRFGhm8B.js +0 -1
- package/dist/assets/IconButton-DVKNd7ZK.js +0 -8
- package/dist/assets/MultiSelectChips-DJ1p23QD.js +0 -2
- package/dist/assets/NumberField-DmosE2JM.js +0 -6
- package/dist/assets/PasswordField-DQuar8x2.js +0 -6
- package/dist/assets/SingleSelectChips-BqEBu1qF.js +0 -2
- package/dist/assets/TextField-BkMawuql.js +0 -6
- package/dist/assets/fonts-explorer-BKje7Hq_.css +0 -1
- package/dist/assets/fonts-explorer.stories-DP7h1C3f.js +0 -130
- package/dist/assets/getTokenVar-DntuTYid.js +0 -1
- package/dist/assets/index-9rU-ZrVj.js +0 -75
- package/dist/assets/useHostname-BVhrcDgi.js +0 -1
- /package/dist/assets/{AlertBannerText-Dgo9FikS.css → AlertBannerAction-Dgo9FikS.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{R as U,s as Re,r as b,m as pe,h as We,n as Bt,l as Pt,o as te,p as Mt,q as _t,t as ft}from"./iframe-CpMEswOF.js";import"./preload-helper-Dp1pzeXC.js";var Ht=ft({"../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",o=typeof Map=="function",n=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,a){if(u===a)return!0;if(u&&a&&typeof u=="object"&&typeof a=="object"){if(u.constructor!==a.constructor)return!1;var i,f,p;if(Array.isArray(u)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(!l(u[f],a[f]))return!1;return!0}var c;if(o&&u instanceof Map&&a instanceof Map){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;for(c=u.entries();!(f=c.next()).done;)if(!l(f.value[1],a.get(f.value[0])))return!1;return!0}if(n&&u instanceof Set&&a instanceof Set){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(a)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(u[f]!==a[f])return!1;return!0}if(u.constructor===RegExp)return u.source===a.source&&u.flags===a.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof a.valueOf=="function")return u.valueOf()===a.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof a.toString=="function")return u.toString()===a.toString();if(p=Object.keys(u),i=p.length,i!==Object.keys(a).length)return!1;for(f=i;f--!==0;)if(!Object.prototype.hasOwnProperty.call(a,p[f]))return!1;if(r&&u instanceof Element)return!1;for(f=i;f--!==0;)if(!((p[f]==="_owner"||p[f]==="__v"||p[f]==="__o")&&u.$$typeof)&&!l(u[p[f]],a[p[f]]))return!1;return!0}return u!==u&&a!==a}t.exports=function(u,a){try{return l(u,a)}catch(i){if((i.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw i}}}}),Nt=ft({"../node_modules/warning/warning.js"(e,t){var r=function(){};t.exports=r}}),Vt=We(Pt(),1);const{deprecate:lt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:qt}=__STORYBOOK_MODULE_GLOBAL__;b.createContext();b.createContext();var Ke=function(e){return e.reduce(function(t,r){var o=r[0],n=r[1];return t[o]=n,t},{})},Je=typeof window<"u"&&window.document&&window.document.createElement?b.useLayoutEffect:b.useEffect,$="top",H="bottom",N="right",B="left",je="auto",ye=[$,H,N,B],ie="start",he="end",Ut="clippingParents",ct="viewport",ce="popper",zt="reference",Qe=ye.reduce(function(e,t){return e.concat([t+"-"+ie,t+"-"+he])},[]),pt=[].concat(ye,[je]).reduce(function(e,t){return e.concat([t,t+"-"+ie,t+"-"+he])},[]),It="beforeRead",Yt="read",Xt="afterRead",Ft="beforeMain",Gt="main",Kt="afterMain",Jt="beforeWrite",Qt="write",Zt="afterWrite",er=[It,Yt,Xt,Ft,Gt,Kt,Jt,Qt,Zt];function I(e){return e?(e.nodeName||"").toLowerCase():null}function P(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ne(e){var t=P(e).Element;return e instanceof t||e instanceof Element}function _(e){var t=P(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $e(e){if(typeof ShadowRoot>"u")return!1;var t=P(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!_(s)||!I(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(l){var u=n[l];u===!1?s.removeAttribute(l):s.setAttribute(l,u===!0?"":u)}))})}function rr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),u=l.reduce(function(a,i){return a[i]="",a},{});!_(n)||!I(n)||(Object.assign(n.style,u),Object.keys(s).forEach(function(a){n.removeAttribute(a)}))})}}var dt={name:"applyStyles",enabled:!0,phase:"write",fn:tr,effect:rr,requires:["computeStyles"]};function z(e){return e.split("-")[0]}var re=Math.max,Te=Math.min,ae=Math.round;function ke(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function vt(){return!/^((?!chrome|android).)*safari/i.test(ke())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&_(e)&&(n=e.offsetWidth>0&&ae(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ae(o.height)/e.offsetHeight||1);var l=ne(e)?P(e):window,u=l.visualViewport,a=!vt()&&r,i=(o.left+(a&&u?u.offsetLeft:0))/n,f=(o.top+(a&&u?u.offsetTop:0))/s,p=o.width/n,c=o.height/s;return{width:p,height:c,top:f,right:i+p,bottom:f+c,left:i,x:i,y:f}}function Be(e){var t=se(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&$e(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function F(e){return P(e).getComputedStyle(e)}function nr(e){return["table","td","th"].indexOf(I(e))>=0}function K(e){return((ne(e)?e.ownerDocument:e.document)||window.document).documentElement}function Le(e){return I(e)==="html"?e:e.assignedSlot||e.parentNode||($e(e)?e.host:null)||K(e)}function Ze(e){return!_(e)||F(e).position==="fixed"?null:e.offsetParent}function or(e){var t=/firefox/i.test(ke()),r=/Trident/i.test(ke());if(r&&_(e)){var o=F(e);if(o.position==="fixed")return null}var n=Le(e);for($e(n)&&(n=n.host);_(n)&&["html","body"].indexOf(I(n))<0;){var s=F(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function be(e){for(var t=P(e),r=Ze(e);r&&nr(r)&&F(r).position==="static";)r=Ze(r);return r&&(I(r)==="html"||I(r)==="body"&&F(r).position==="static")?t:r||or(e)||t}function Pe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function de(e,t,r){return re(e,Te(t,r))}function ir(e,t,r){var o=de(e,t,r);return o>r?r:o}function ht(){return{top:0,right:0,bottom:0,left:0}}function gt(e){return Object.assign({},ht(),e)}function yt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ar=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,gt(typeof e!="number"?e:yt(e,ye))};function sr(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,l=r.modifiersData.popperOffsets,u=z(r.placement),a=Pe(u),i=[B,N].indexOf(u)>=0,f=i?"height":"width";if(!(!s||!l)){var p=ar(n.padding,r),c=Be(s),v=a==="y"?$:B,h=a==="y"?H:N,d=r.rects.reference[f]+r.rects.reference[a]-l[a]-r.rects.popper[f],O=l[a]-r.rects.reference[a],E=be(s),C=E?a==="y"?E.clientHeight||0:E.clientWidth||0:0,k=d/2-O/2,m=p[v],w=C-c[f]-p[h],y=C/2-c[f]/2+k,T=de(m,y,w),S=a;r.modifiersData[o]=(t={},t[S]=T,t.centerOffset=T-y,t)}}function ur(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||mt(t.elements.popper,n)&&(t.elements.arrow=n))}var fr={name:"arrow",enabled:!0,phase:"main",fn:sr,effect:ur,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e){return e.split("-")[1]}var lr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cr(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:ae(r*n)/n||0,y:ae(o*n)/n||0}}function et(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,l=e.offsets,u=e.position,a=e.gpuAcceleration,i=e.adaptive,f=e.roundOffsets,p=e.isFixed,c=l.x,v=c===void 0?0:c,h=l.y,d=h===void 0?0:h,O=typeof f=="function"?f({x:v,y:d}):{x:v,y:d};v=O.x,d=O.y;var E=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),k=B,m=$,w=window;if(i){var y=be(r),T="clientHeight",S="clientWidth";if(y===P(r)&&(y=K(r),F(y).position!=="static"&&u==="absolute"&&(T="scrollHeight",S="scrollWidth")),y=y,n===$||(n===B||n===N)&&s===he){m=H;var x=p&&y===w&&w.visualViewport?w.visualViewport.height:y[T];d-=x-o.height,d*=a?1:-1}if(n===B||(n===$||n===H)&&s===he){k=N;var R=p&&y===w&&w.visualViewport?w.visualViewport.width:y[S];v-=R-o.width,v*=a?1:-1}}var L=Object.assign({position:u},i&&lr),j=f===!0?cr({x:v,y:d},P(r)):{x:v,y:d};if(v=j.x,d=j.y,a){var W;return Object.assign({},L,(W={},W[m]=C?"0":"",W[k]=E?"0":"",W.transform=(w.devicePixelRatio||1)<=1?"translate("+v+"px, "+d+"px)":"translate3d("+v+"px, "+d+"px, 0)",W))}return Object.assign({},L,(t={},t[m]=C?d+"px":"",t[k]=E?v+"px":"",t.transform="",t))}function pr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,l=s===void 0?!0:s,u=r.roundOffsets,a=u===void 0?!0:u,i={placement:z(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,et(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,et(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pr,data:{}},Ee={passive:!0};function dr(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,l=o.resize,u=l===void 0?!0:l,a=P(t.elements.popper),i=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&i.forEach(function(f){f.addEventListener("scroll",r.update,Ee)}),u&&a.addEventListener("resize",r.update,Ee),function(){s&&i.forEach(function(f){f.removeEventListener("scroll",r.update,Ee)}),u&&a.removeEventListener("resize",r.update,Ee)}}var wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dr,data:{}},vr={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(e){return e.replace(/left|right|bottom|top/g,function(t){return vr[t]})}var mr={start:"end",end:"start"};function tt(e){return e.replace(/start|end/g,function(t){return mr[t]})}function Me(e){var t=P(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function _e(e){return se(K(e)).left+Me(e).scrollLeft}function hr(e,t){var r=P(e),o=K(e),n=r.visualViewport,s=o.clientWidth,l=o.clientHeight,u=0,a=0;if(n){s=n.width,l=n.height;var i=vt();(i||!i&&t==="fixed")&&(u=n.offsetLeft,a=n.offsetTop)}return{width:s,height:l,x:u+_e(e),y:a}}function gr(e){var t,r=K(e),o=Me(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),l=re(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),u=-o.scrollLeft+_e(e),a=-o.scrollTop;return F(n||r).direction==="rtl"&&(u+=re(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:l,x:u,y:a}}function He(e){var t=F(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function xt(e){return["html","body","#document"].indexOf(I(e))>=0?e.ownerDocument.body:_(e)&&He(e)?e:xt(Le(e))}function ve(e,t){var r;t===void 0&&(t=[]);var o=xt(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=P(o),l=n?[s].concat(s.visualViewport||[],He(o)?o:[]):o,u=t.concat(l);return n?u:u.concat(ve(Le(l)))}function De(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yr(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function rt(e,t,r){return t===ct?De(hr(e,r)):ne(t)?yr(t,r):De(gr(K(e)))}function br(e){var t=ve(Le(e)),r=["absolute","fixed"].indexOf(F(e).position)>=0,o=r&&_(e)?be(e):e;return ne(o)?t.filter(function(n){return ne(n)&&mt(n,o)&&I(n)!=="body"}):[]}function wr(e,t,r,o){var n=t==="clippingParents"?br(e):[].concat(t),s=[].concat(n,[r]),l=s[0],u=s.reduce(function(a,i){var f=rt(e,i,o);return a.top=re(f.top,a.top),a.right=Te(f.right,a.right),a.bottom=Te(f.bottom,a.bottom),a.left=re(f.left,a.left),a},rt(e,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Ot(e){var t=e.reference,r=e.element,o=e.placement,n=o?z(o):null,s=o?ue(o):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,a;switch(n){case $:a={x:l,y:t.y-r.height};break;case H:a={x:l,y:t.y+t.height};break;case N:a={x:t.x+t.width,y:u};break;case B:a={x:t.x-r.width,y:u};break;default:a={x:t.x,y:t.y}}var i=n?Pe(n):null;if(i!=null){var f=i==="y"?"height":"width";switch(s){case ie:a[i]=a[i]-(t[f]/2-r[f]/2);break;case he:a[i]=a[i]+(t[f]/2-r[f]/2);break}}return a}function ge(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,l=s===void 0?e.strategy:s,u=r.boundary,a=u===void 0?Ut:u,i=r.rootBoundary,f=i===void 0?ct:i,p=r.elementContext,c=p===void 0?ce:p,v=r.altBoundary,h=v===void 0?!1:v,d=r.padding,O=d===void 0?0:d,E=gt(typeof O!="number"?O:yt(O,ye)),C=c===ce?zt:ce,k=e.rects.popper,m=e.elements[h?C:c],w=wr(ne(m)?m:m.contextElement||K(e.elements.popper),a,f,l),y=se(e.elements.reference),T=Ot({reference:y,element:k,placement:n}),S=De(Object.assign({},k,T)),x=c===ce?S:y,R={top:w.top-x.top+E.top,bottom:x.bottom-w.bottom+E.bottom,left:w.left-x.left+E.left,right:x.right-w.right+E.right},L=e.modifiersData.offset;if(c===ce&&L){var j=L[n];Object.keys(R).forEach(function(W){var V=[N,H].indexOf(W)>=0?1:-1,g=[$,H].indexOf(W)>=0?"y":"x";R[W]+=j[g]*V})}return R}function xr(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,l=r.padding,u=r.flipVariations,a=r.allowedAutoPlacements,i=a===void 0?pt:a,f=ue(o),p=f?u?Qe:Qe.filter(function(h){return ue(h)===f}):ye,c=p.filter(function(h){return i.indexOf(h)>=0});c.length===0&&(c=p);var v=c.reduce(function(h,d){return h[d]=ge(e,{placement:d,boundary:n,rootBoundary:s,padding:l})[z(d)],h},{});return Object.keys(v).sort(function(h,d){return v[h]-v[d]})}function Or(e){if(z(e)===je)return[];var t=Se(e);return[tt(e),t,tt(t)]}function Er(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!0:l,a=r.fallbackPlacements,i=r.padding,f=r.boundary,p=r.rootBoundary,c=r.altBoundary,v=r.flipVariations,h=v===void 0?!0:v,d=r.allowedAutoPlacements,O=t.options.placement,E=z(O),C=E===O,k=a||(C||!h?[Se(O)]:Or(O)),m=[O].concat(k).reduce(function(Z,X){return Z.concat(z(X)===je?xr(t,{placement:X,boundary:f,rootBoundary:p,padding:i,flipVariations:h,allowedAutoPlacements:d}):X)},[]),w=t.rects.reference,y=t.rects.popper,T=new Map,S=!0,x=m[0],R=0;R<m.length;R++){var L=m[R],j=z(L),W=ue(L)===ie,V=[$,H].indexOf(j)>=0,g=V?"width":"height",A=ge(t,{placement:L,boundary:f,rootBoundary:p,altBoundary:c,padding:i}),D=V?W?N:B:W?H:$;w[g]>y[g]&&(D=Se(D));var Y=Se(D),q=[];if(s&&q.push(A[j]<=0),u&&q.push(A[D]<=0,A[Y]<=0),q.every(function(Z){return Z})){x=L,S=!1;break}T.set(L,q)}if(S)for(var J=h?3:1,Q=function(Z){var X=m.find(function(xe){var le=T.get(xe);if(le)return le.slice(0,Z).every(function(oe){return oe})});if(X)return x=X,"break"},fe=J;fe>0;fe--){var we=Q(fe);if(we==="break")break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}}var Sr={name:"flip",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"],data:{_skip:!1}};function nt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ot(e){return[$,N,H,B].some(function(t){return e[t]>=0})}function Tr(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,l=ge(t,{elementContext:"reference"}),u=ge(t,{altBoundary:!0}),a=nt(l,o),i=nt(u,n,s),f=ot(a),p=ot(i);t.modifiersData[r]={referenceClippingOffsets:a,popperEscapeOffsets:i,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}var Rr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Tr};function Lr(e,t,r){var o=z(e),n=[B,$].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=s[0],u=s[1];return l=l||0,u=(u||0)*n,[B,N].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}function Cr(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,l=pt.reduce(function(f,p){return f[p]=Lr(p,t.rects,s),f},{}),u=l[t.placement],a=u.x,i=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=i),t.modifiersData[o]=l}var Ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Cr};function kr(e){var t=e.state,r=e.name;t.modifiersData[r]=Ot({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:kr,data:{}};function Dr(e){return e==="x"?"y":"x"}function Wr(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!1:l,a=r.boundary,i=r.rootBoundary,f=r.altBoundary,p=r.padding,c=r.tether,v=c===void 0?!0:c,h=r.tetherOffset,d=h===void 0?0:h,O=ge(t,{boundary:a,rootBoundary:i,padding:p,altBoundary:f}),E=z(t.placement),C=ue(t.placement),k=!C,m=Pe(E),w=Dr(m),y=t.modifiersData.popperOffsets,T=t.rects.reference,S=t.rects.popper,x=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,R=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(y){if(s){var W,V=m==="y"?$:B,g=m==="y"?H:N,A=m==="y"?"height":"width",D=y[m],Y=D+O[V],q=D-O[g],J=v?-S[A]/2:0,Q=C===ie?T[A]:S[A],fe=C===ie?-S[A]:-T[A],we=t.elements.arrow,Z=v&&we?Be(we):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ht(),xe=X[V],le=X[g],oe=de(0,T[A],Z[A]),Ct=k?T[A]/2-J-oe-xe-R.mainAxis:Q-oe-xe-R.mainAxis,At=k?-T[A]/2+J+oe+le+R.mainAxis:fe+oe+le+R.mainAxis,Ce=t.elements.arrow&&be(t.elements.arrow),kt=Ce?m==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,Ve=(W=L==null?void 0:L[m])!=null?W:0,Dt=D+Ct-Ve-kt,Wt=D+At-Ve,qe=de(v?Te(Y,Dt):Y,D,v?re(q,Wt):q);y[m]=qe,j[m]=qe-D}if(u){var Ue,jt=m==="x"?$:B,$t=m==="x"?H:N,ee=y[w],Oe=w==="y"?"height":"width",ze=ee+O[jt],Ie=ee-O[$t],Ae=[$,B].indexOf(E)!==-1,Ye=(Ue=L==null?void 0:L[w])!=null?Ue:0,Xe=Ae?ze:ee-T[Oe]-S[Oe]-Ye+R.altAxis,Fe=Ae?ee+T[Oe]+S[Oe]-Ye-R.altAxis:Ie,Ge=v&&Ae?ir(Xe,ee,Fe):de(v?Xe:ze,ee,v?Fe:Ie);y[w]=Ge,j[w]=Ge-ee}t.modifiersData[o]=j}}var jr={name:"preventOverflow",enabled:!0,phase:"main",fn:Wr,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Br(e){return e===P(e)||!_(e)?Me(e):$r(e)}function Pr(e){var t=e.getBoundingClientRect(),r=ae(t.width)/e.offsetWidth||1,o=ae(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Mr(e,t,r){r===void 0&&(r=!1);var o=_(t),n=_(t)&&Pr(t),s=K(t),l=se(e,n,r),u={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!r)&&((I(t)!=="body"||He(s))&&(u=Br(t)),_(t)?(a=se(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):s&&(a.x=_e(s))),{x:l.left+u.scrollLeft-a.x,y:l.top+u.scrollTop-a.y,width:l.width,height:l.height}}function _r(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var a=t.get(u);a&&n(a)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function Hr(e){var t=_r(e);return er.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function Nr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Vr(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var it={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ne(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?it:n;return function(l,u,a){a===void 0&&(a=s);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,c={state:i,setOptions:function(d){var O=typeof d=="function"?d(i.options):d;h(),i.options=Object.assign({},s,i.options,O),i.scrollParents={reference:ne(l)?ve(l):l.contextElement?ve(l.contextElement):[],popper:ve(u)};var E=Hr(Vr([].concat(o,i.options.modifiers)));return i.orderedModifiers=E.filter(function(C){return C.enabled}),v(),c.update()},forceUpdate:function(){if(!p){var d=i.elements,O=d.reference,E=d.popper;if(at(O,E)){i.rects={reference:Mr(O,be(E),i.options.strategy==="fixed"),popper:Be(E)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(S){return i.modifiersData[S.name]=Object.assign({},S.data)});for(var C=0;C<i.orderedModifiers.length;C++){if(i.reset===!0){i.reset=!1,C=-1;continue}var k=i.orderedModifiers[C],m=k.fn,w=k.options,y=w===void 0?{}:w,T=k.name;typeof m=="function"&&(i=m({state:i,options:y,name:T,instance:c})||i)}}}},update:Nr(function(){return new Promise(function(d){c.forceUpdate(),d(i)})}),destroy:function(){h(),p=!0}};if(!at(l,u))return c;c.setOptions(a).then(function(d){!p&&a.onFirstUpdate&&a.onFirstUpdate(d)});function v(){i.orderedModifiers.forEach(function(d){var O=d.name,E=d.options,C=E===void 0?{}:E,k=d.effect;if(typeof k=="function"){var m=k({state:i,name:O,instance:c,options:C}),w=function(){};f.push(m||w)}})}function h(){f.forEach(function(d){return d()}),f=[]}return c}}Ne();var qr=[wt,Et,bt,dt];Ne({defaultModifiers:qr});var Ur=[wt,Et,bt,dt,Ar,Sr,jr,fr,Rr],zr=Ne({defaultModifiers:Ur}),Ir=We(Ht()),Yr=[],Xr=function(e,t,r){r===void 0&&(r={});var o=b.useRef(null),n={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yr},s=b.useState({styles:{popper:{position:n.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],u=s[1],a=b.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var c=p.state,v=Object.keys(c.elements);_t.flushSync(function(){u({styles:Ke(v.map(function(h){return[h,c.styles[h]||{}]})),attributes:Ke(v.map(function(h){return[h,c.attributes[h]]}))})})},requires:["computeStyles"]}},[]),i=b.useMemo(function(){var p={onFirstUpdate:n.onFirstUpdate,placement:n.placement,strategy:n.strategy,modifiers:[].concat(n.modifiers,[a,{name:"applyStyles",enabled:!1}])};return(0,Ir.default)(o.current,p)?o.current||p:(o.current=p,p)},[n.onFirstUpdate,n.placement,n.strategy,n.modifiers,a]),f=b.useRef();return Je(function(){f.current&&f.current.setOptions(i)},[i]),Je(function(){if(!(e==null||t==null)){var p=r.createPopper||zr,c=p(e,t,i);return f.current=c,function(){c.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:l.styles,attributes:l.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}};We(Nt());function St(e){var t=b.useRef(e);return t.current=e,b.useCallback(function(){return t.current},[])}var Fr=function(){};function Gr(e){var t=e.initial,r=e.value,o=e.onChange,n=o===void 0?Fr:o;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=b.useState(t),l=s[0],u=s[1],a=St(l),i=b.useCallback(function(p){var c=a(),v=typeof p=="function"?p(c):p;typeof v.persist=="function"&&v.persist(),u(v),typeof n=="function"&&n(v)},[a,n]),f=r!==void 0;return[f?r:l,f?n:i]}function Tt(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Kr=["styles","attributes"],st={getBoundingClientRect:Tt()},ut={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function Jr(e,t){var r,o,n;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(ut).reduce(function(g,A){var D;return te({},g,(D={},D[A]=g[A]!==void 0?g[A]:ut[A],D))},e),l=b.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),u=te({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||l}),a=b.useState(null),i=a[0],f=a[1],p=b.useState(null),c=p[0],v=p[1],h=Gr({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),d=h[0],O=h[1],E=b.useRef();b.useEffect(function(){return function(){return clearTimeout(E.current)}},[]);var C=Xr(s.followCursor?st:i,c,u),k=C.styles,m=C.attributes,w=Mt(C,Kr),y=w.update,T=St({visible:d,triggerRef:i,tooltipRef:c,finalConfig:s}),S=b.useCallback(function(g){return Array.isArray(s.trigger)?s.trigger.includes(g):s.trigger===g},Array.isArray(s.trigger)?s.trigger:[s.trigger]),x=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!1)},s.delayHide)},[s.delayHide,O]),R=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!0)},s.delayShow)},[s.delayShow,O]),L=b.useCallback(function(){T().visible?x():R()},[T,x,R]);b.useEffect(function(){if(T().finalConfig.closeOnOutsideClick){var g=function(A){var D,Y=T(),q=Y.tooltipRef,J=Y.triggerRef,Q=(A.composedPath==null||(D=A.composedPath())==null?void 0:D[0])||A.target;Q instanceof Node&&q!=null&&J!=null&&!q.contains(Q)&&!J.contains(Q)&&x()};return document.addEventListener("mousedown",g),function(){return document.removeEventListener("mousedown",g)}}},[T,x]),b.useEffect(function(){if(!(i==null||!S("click")))return i.addEventListener("click",L),function(){return i.removeEventListener("click",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("double-click")))return i.addEventListener("dblclick",L),function(){return i.removeEventListener("dblclick",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("right-click"))){var g=function(A){A.preventDefault(),L()};return i.addEventListener("contextmenu",g),function(){return i.removeEventListener("contextmenu",g)}}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("focus")))return i.addEventListener("focus",R),i.addEventListener("blur",x),function(){i.removeEventListener("focus",R),i.removeEventListener("blur",x)}},[i,S,R,x]),b.useEffect(function(){if(!(i==null||!S("hover")))return i.addEventListener("mouseenter",R),i.addEventListener("mouseleave",x),function(){i.removeEventListener("mouseenter",R),i.removeEventListener("mouseleave",x)}},[i,S,R,x]),b.useEffect(function(){if(!(c==null||!S("hover")||!T().finalConfig.interactive))return c.addEventListener("mouseenter",R),c.addEventListener("mouseleave",x),function(){c.removeEventListener("mouseenter",R),c.removeEventListener("mouseleave",x)}},[c,S,R,x,T]);var j=w==null||(r=w.state)==null||(o=r.modifiersData)==null||(n=o.hide)==null?void 0:n.isReferenceHidden;b.useEffect(function(){s.closeOnTriggerHidden&&j&&x()},[s.closeOnTriggerHidden,x,j]),b.useEffect(function(){if(!s.followCursor||i==null)return;function g(A){var D=A.clientX,Y=A.clientY;st.getBoundingClientRect=Tt(D,Y),y==null||y()}return i.addEventListener("mousemove",g),function(){return i.removeEventListener("mousemove",g)}},[s.followCursor,i,y]),b.useEffect(function(){if(!(c==null||y==null||s.mutationObserverOptions==null)){var g=new MutationObserver(y);return g.observe(c,s.mutationObserverOptions),function(){return g.disconnect()}}},[s.mutationObserverOptions,c,y]);var W=function(g){return g===void 0&&(g={}),te({},g,{style:te({},g.style,k.popper)},m.popper,{"data-popper-interactive":s.interactive})},V=function(g){return g===void 0&&(g={}),te({},g,m.arrow,{style:te({},g.style,k.arrow),"data-popper-arrow":!0})};return te({getArrowProps:V,getTooltipProps:W,setTooltipRef:v,setTriggerRef:f,tooltipRef:c,triggerRef:i,visible:d},w)}var{document:me}=qt,M=(0,Vt.default)(1e3)((e,t,r,o=0)=>t.split("-")[0]===e?r:o),G=8,Qr=Re.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${M("top",r,`${G*-1}px`,"auto")}`,top:`${M("bottom",r,`${G*-1}px`,"auto")}`,right:`${M("left",r,`${G*-1}px`,"auto")}`,left:`${M("right",r,`${G*-1}px`,"auto")}`,borderBottomWidth:`${M("top",r,"0",G)}px`,borderTopWidth:`${M("bottom",r,"0",G)}px`,borderRightWidth:`${M("left",r,"0",G)}px`,borderLeftWidth:`${M("right",r,"0",G)}px`,borderTopColor:M("top",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderBottomColor:M("bottom",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderLeftColor:M("left",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderRightColor:M("right",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent")})),Zr=Re.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647,colorScheme:"light dark"}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,filter:`
|
|
1
|
+
import{R as U,s as Re,r as b,m as pe,h as We,n as Bt,l as Pt,o as te,p as Mt,q as _t,t as ft}from"./iframe-DjYTJz7A.js";import"./preload-helper-Dp1pzeXC.js";var Ht=ft({"../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",o=typeof Map=="function",n=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,a){if(u===a)return!0;if(u&&a&&typeof u=="object"&&typeof a=="object"){if(u.constructor!==a.constructor)return!1;var i,f,p;if(Array.isArray(u)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(!l(u[f],a[f]))return!1;return!0}var c;if(o&&u instanceof Map&&a instanceof Map){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;for(c=u.entries();!(f=c.next()).done;)if(!l(f.value[1],a.get(f.value[0])))return!1;return!0}if(n&&u instanceof Set&&a instanceof Set){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(a)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(u[f]!==a[f])return!1;return!0}if(u.constructor===RegExp)return u.source===a.source&&u.flags===a.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof a.valueOf=="function")return u.valueOf()===a.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof a.toString=="function")return u.toString()===a.toString();if(p=Object.keys(u),i=p.length,i!==Object.keys(a).length)return!1;for(f=i;f--!==0;)if(!Object.prototype.hasOwnProperty.call(a,p[f]))return!1;if(r&&u instanceof Element)return!1;for(f=i;f--!==0;)if(!((p[f]==="_owner"||p[f]==="__v"||p[f]==="__o")&&u.$$typeof)&&!l(u[p[f]],a[p[f]]))return!1;return!0}return u!==u&&a!==a}t.exports=function(u,a){try{return l(u,a)}catch(i){if((i.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw i}}}}),Nt=ft({"../node_modules/warning/warning.js"(e,t){var r=function(){};t.exports=r}}),Vt=We(Pt(),1);const{deprecate:lt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:qt}=__STORYBOOK_MODULE_GLOBAL__;b.createContext();b.createContext();var Ke=function(e){return e.reduce(function(t,r){var o=r[0],n=r[1];return t[o]=n,t},{})},Je=typeof window<"u"&&window.document&&window.document.createElement?b.useLayoutEffect:b.useEffect,$="top",H="bottom",N="right",B="left",je="auto",ye=[$,H,N,B],ie="start",he="end",Ut="clippingParents",ct="viewport",ce="popper",zt="reference",Qe=ye.reduce(function(e,t){return e.concat([t+"-"+ie,t+"-"+he])},[]),pt=[].concat(ye,[je]).reduce(function(e,t){return e.concat([t,t+"-"+ie,t+"-"+he])},[]),It="beforeRead",Yt="read",Xt="afterRead",Ft="beforeMain",Gt="main",Kt="afterMain",Jt="beforeWrite",Qt="write",Zt="afterWrite",er=[It,Yt,Xt,Ft,Gt,Kt,Jt,Qt,Zt];function I(e){return e?(e.nodeName||"").toLowerCase():null}function P(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ne(e){var t=P(e).Element;return e instanceof t||e instanceof Element}function _(e){var t=P(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $e(e){if(typeof ShadowRoot>"u")return!1;var t=P(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!_(s)||!I(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(l){var u=n[l];u===!1?s.removeAttribute(l):s.setAttribute(l,u===!0?"":u)}))})}function rr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),u=l.reduce(function(a,i){return a[i]="",a},{});!_(n)||!I(n)||(Object.assign(n.style,u),Object.keys(s).forEach(function(a){n.removeAttribute(a)}))})}}var dt={name:"applyStyles",enabled:!0,phase:"write",fn:tr,effect:rr,requires:["computeStyles"]};function z(e){return e.split("-")[0]}var re=Math.max,Te=Math.min,ae=Math.round;function ke(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function vt(){return!/^((?!chrome|android).)*safari/i.test(ke())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&_(e)&&(n=e.offsetWidth>0&&ae(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ae(o.height)/e.offsetHeight||1);var l=ne(e)?P(e):window,u=l.visualViewport,a=!vt()&&r,i=(o.left+(a&&u?u.offsetLeft:0))/n,f=(o.top+(a&&u?u.offsetTop:0))/s,p=o.width/n,c=o.height/s;return{width:p,height:c,top:f,right:i+p,bottom:f+c,left:i,x:i,y:f}}function Be(e){var t=se(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&$e(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function F(e){return P(e).getComputedStyle(e)}function nr(e){return["table","td","th"].indexOf(I(e))>=0}function K(e){return((ne(e)?e.ownerDocument:e.document)||window.document).documentElement}function Le(e){return I(e)==="html"?e:e.assignedSlot||e.parentNode||($e(e)?e.host:null)||K(e)}function Ze(e){return!_(e)||F(e).position==="fixed"?null:e.offsetParent}function or(e){var t=/firefox/i.test(ke()),r=/Trident/i.test(ke());if(r&&_(e)){var o=F(e);if(o.position==="fixed")return null}var n=Le(e);for($e(n)&&(n=n.host);_(n)&&["html","body"].indexOf(I(n))<0;){var s=F(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function be(e){for(var t=P(e),r=Ze(e);r&&nr(r)&&F(r).position==="static";)r=Ze(r);return r&&(I(r)==="html"||I(r)==="body"&&F(r).position==="static")?t:r||or(e)||t}function Pe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function de(e,t,r){return re(e,Te(t,r))}function ir(e,t,r){var o=de(e,t,r);return o>r?r:o}function ht(){return{top:0,right:0,bottom:0,left:0}}function gt(e){return Object.assign({},ht(),e)}function yt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ar=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,gt(typeof e!="number"?e:yt(e,ye))};function sr(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,l=r.modifiersData.popperOffsets,u=z(r.placement),a=Pe(u),i=[B,N].indexOf(u)>=0,f=i?"height":"width";if(!(!s||!l)){var p=ar(n.padding,r),c=Be(s),v=a==="y"?$:B,h=a==="y"?H:N,d=r.rects.reference[f]+r.rects.reference[a]-l[a]-r.rects.popper[f],O=l[a]-r.rects.reference[a],E=be(s),C=E?a==="y"?E.clientHeight||0:E.clientWidth||0:0,k=d/2-O/2,m=p[v],w=C-c[f]-p[h],y=C/2-c[f]/2+k,T=de(m,y,w),S=a;r.modifiersData[o]=(t={},t[S]=T,t.centerOffset=T-y,t)}}function ur(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||mt(t.elements.popper,n)&&(t.elements.arrow=n))}var fr={name:"arrow",enabled:!0,phase:"main",fn:sr,effect:ur,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e){return e.split("-")[1]}var lr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cr(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:ae(r*n)/n||0,y:ae(o*n)/n||0}}function et(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,l=e.offsets,u=e.position,a=e.gpuAcceleration,i=e.adaptive,f=e.roundOffsets,p=e.isFixed,c=l.x,v=c===void 0?0:c,h=l.y,d=h===void 0?0:h,O=typeof f=="function"?f({x:v,y:d}):{x:v,y:d};v=O.x,d=O.y;var E=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),k=B,m=$,w=window;if(i){var y=be(r),T="clientHeight",S="clientWidth";if(y===P(r)&&(y=K(r),F(y).position!=="static"&&u==="absolute"&&(T="scrollHeight",S="scrollWidth")),y=y,n===$||(n===B||n===N)&&s===he){m=H;var x=p&&y===w&&w.visualViewport?w.visualViewport.height:y[T];d-=x-o.height,d*=a?1:-1}if(n===B||(n===$||n===H)&&s===he){k=N;var R=p&&y===w&&w.visualViewport?w.visualViewport.width:y[S];v-=R-o.width,v*=a?1:-1}}var L=Object.assign({position:u},i&&lr),j=f===!0?cr({x:v,y:d},P(r)):{x:v,y:d};if(v=j.x,d=j.y,a){var W;return Object.assign({},L,(W={},W[m]=C?"0":"",W[k]=E?"0":"",W.transform=(w.devicePixelRatio||1)<=1?"translate("+v+"px, "+d+"px)":"translate3d("+v+"px, "+d+"px, 0)",W))}return Object.assign({},L,(t={},t[m]=C?d+"px":"",t[k]=E?v+"px":"",t.transform="",t))}function pr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,l=s===void 0?!0:s,u=r.roundOffsets,a=u===void 0?!0:u,i={placement:z(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,et(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,et(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pr,data:{}},Ee={passive:!0};function dr(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,l=o.resize,u=l===void 0?!0:l,a=P(t.elements.popper),i=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&i.forEach(function(f){f.addEventListener("scroll",r.update,Ee)}),u&&a.addEventListener("resize",r.update,Ee),function(){s&&i.forEach(function(f){f.removeEventListener("scroll",r.update,Ee)}),u&&a.removeEventListener("resize",r.update,Ee)}}var wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dr,data:{}},vr={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(e){return e.replace(/left|right|bottom|top/g,function(t){return vr[t]})}var mr={start:"end",end:"start"};function tt(e){return e.replace(/start|end/g,function(t){return mr[t]})}function Me(e){var t=P(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function _e(e){return se(K(e)).left+Me(e).scrollLeft}function hr(e,t){var r=P(e),o=K(e),n=r.visualViewport,s=o.clientWidth,l=o.clientHeight,u=0,a=0;if(n){s=n.width,l=n.height;var i=vt();(i||!i&&t==="fixed")&&(u=n.offsetLeft,a=n.offsetTop)}return{width:s,height:l,x:u+_e(e),y:a}}function gr(e){var t,r=K(e),o=Me(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),l=re(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),u=-o.scrollLeft+_e(e),a=-o.scrollTop;return F(n||r).direction==="rtl"&&(u+=re(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:l,x:u,y:a}}function He(e){var t=F(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function xt(e){return["html","body","#document"].indexOf(I(e))>=0?e.ownerDocument.body:_(e)&&He(e)?e:xt(Le(e))}function ve(e,t){var r;t===void 0&&(t=[]);var o=xt(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=P(o),l=n?[s].concat(s.visualViewport||[],He(o)?o:[]):o,u=t.concat(l);return n?u:u.concat(ve(Le(l)))}function De(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yr(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function rt(e,t,r){return t===ct?De(hr(e,r)):ne(t)?yr(t,r):De(gr(K(e)))}function br(e){var t=ve(Le(e)),r=["absolute","fixed"].indexOf(F(e).position)>=0,o=r&&_(e)?be(e):e;return ne(o)?t.filter(function(n){return ne(n)&&mt(n,o)&&I(n)!=="body"}):[]}function wr(e,t,r,o){var n=t==="clippingParents"?br(e):[].concat(t),s=[].concat(n,[r]),l=s[0],u=s.reduce(function(a,i){var f=rt(e,i,o);return a.top=re(f.top,a.top),a.right=Te(f.right,a.right),a.bottom=Te(f.bottom,a.bottom),a.left=re(f.left,a.left),a},rt(e,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Ot(e){var t=e.reference,r=e.element,o=e.placement,n=o?z(o):null,s=o?ue(o):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,a;switch(n){case $:a={x:l,y:t.y-r.height};break;case H:a={x:l,y:t.y+t.height};break;case N:a={x:t.x+t.width,y:u};break;case B:a={x:t.x-r.width,y:u};break;default:a={x:t.x,y:t.y}}var i=n?Pe(n):null;if(i!=null){var f=i==="y"?"height":"width";switch(s){case ie:a[i]=a[i]-(t[f]/2-r[f]/2);break;case he:a[i]=a[i]+(t[f]/2-r[f]/2);break}}return a}function ge(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,l=s===void 0?e.strategy:s,u=r.boundary,a=u===void 0?Ut:u,i=r.rootBoundary,f=i===void 0?ct:i,p=r.elementContext,c=p===void 0?ce:p,v=r.altBoundary,h=v===void 0?!1:v,d=r.padding,O=d===void 0?0:d,E=gt(typeof O!="number"?O:yt(O,ye)),C=c===ce?zt:ce,k=e.rects.popper,m=e.elements[h?C:c],w=wr(ne(m)?m:m.contextElement||K(e.elements.popper),a,f,l),y=se(e.elements.reference),T=Ot({reference:y,element:k,placement:n}),S=De(Object.assign({},k,T)),x=c===ce?S:y,R={top:w.top-x.top+E.top,bottom:x.bottom-w.bottom+E.bottom,left:w.left-x.left+E.left,right:x.right-w.right+E.right},L=e.modifiersData.offset;if(c===ce&&L){var j=L[n];Object.keys(R).forEach(function(W){var V=[N,H].indexOf(W)>=0?1:-1,g=[$,H].indexOf(W)>=0?"y":"x";R[W]+=j[g]*V})}return R}function xr(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,l=r.padding,u=r.flipVariations,a=r.allowedAutoPlacements,i=a===void 0?pt:a,f=ue(o),p=f?u?Qe:Qe.filter(function(h){return ue(h)===f}):ye,c=p.filter(function(h){return i.indexOf(h)>=0});c.length===0&&(c=p);var v=c.reduce(function(h,d){return h[d]=ge(e,{placement:d,boundary:n,rootBoundary:s,padding:l})[z(d)],h},{});return Object.keys(v).sort(function(h,d){return v[h]-v[d]})}function Or(e){if(z(e)===je)return[];var t=Se(e);return[tt(e),t,tt(t)]}function Er(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!0:l,a=r.fallbackPlacements,i=r.padding,f=r.boundary,p=r.rootBoundary,c=r.altBoundary,v=r.flipVariations,h=v===void 0?!0:v,d=r.allowedAutoPlacements,O=t.options.placement,E=z(O),C=E===O,k=a||(C||!h?[Se(O)]:Or(O)),m=[O].concat(k).reduce(function(Z,X){return Z.concat(z(X)===je?xr(t,{placement:X,boundary:f,rootBoundary:p,padding:i,flipVariations:h,allowedAutoPlacements:d}):X)},[]),w=t.rects.reference,y=t.rects.popper,T=new Map,S=!0,x=m[0],R=0;R<m.length;R++){var L=m[R],j=z(L),W=ue(L)===ie,V=[$,H].indexOf(j)>=0,g=V?"width":"height",A=ge(t,{placement:L,boundary:f,rootBoundary:p,altBoundary:c,padding:i}),D=V?W?N:B:W?H:$;w[g]>y[g]&&(D=Se(D));var Y=Se(D),q=[];if(s&&q.push(A[j]<=0),u&&q.push(A[D]<=0,A[Y]<=0),q.every(function(Z){return Z})){x=L,S=!1;break}T.set(L,q)}if(S)for(var J=h?3:1,Q=function(Z){var X=m.find(function(xe){var le=T.get(xe);if(le)return le.slice(0,Z).every(function(oe){return oe})});if(X)return x=X,"break"},fe=J;fe>0;fe--){var we=Q(fe);if(we==="break")break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}}var Sr={name:"flip",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"],data:{_skip:!1}};function nt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ot(e){return[$,N,H,B].some(function(t){return e[t]>=0})}function Tr(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,l=ge(t,{elementContext:"reference"}),u=ge(t,{altBoundary:!0}),a=nt(l,o),i=nt(u,n,s),f=ot(a),p=ot(i);t.modifiersData[r]={referenceClippingOffsets:a,popperEscapeOffsets:i,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}var Rr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Tr};function Lr(e,t,r){var o=z(e),n=[B,$].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=s[0],u=s[1];return l=l||0,u=(u||0)*n,[B,N].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}function Cr(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,l=pt.reduce(function(f,p){return f[p]=Lr(p,t.rects,s),f},{}),u=l[t.placement],a=u.x,i=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=i),t.modifiersData[o]=l}var Ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Cr};function kr(e){var t=e.state,r=e.name;t.modifiersData[r]=Ot({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:kr,data:{}};function Dr(e){return e==="x"?"y":"x"}function Wr(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!1:l,a=r.boundary,i=r.rootBoundary,f=r.altBoundary,p=r.padding,c=r.tether,v=c===void 0?!0:c,h=r.tetherOffset,d=h===void 0?0:h,O=ge(t,{boundary:a,rootBoundary:i,padding:p,altBoundary:f}),E=z(t.placement),C=ue(t.placement),k=!C,m=Pe(E),w=Dr(m),y=t.modifiersData.popperOffsets,T=t.rects.reference,S=t.rects.popper,x=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,R=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(y){if(s){var W,V=m==="y"?$:B,g=m==="y"?H:N,A=m==="y"?"height":"width",D=y[m],Y=D+O[V],q=D-O[g],J=v?-S[A]/2:0,Q=C===ie?T[A]:S[A],fe=C===ie?-S[A]:-T[A],we=t.elements.arrow,Z=v&&we?Be(we):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ht(),xe=X[V],le=X[g],oe=de(0,T[A],Z[A]),Ct=k?T[A]/2-J-oe-xe-R.mainAxis:Q-oe-xe-R.mainAxis,At=k?-T[A]/2+J+oe+le+R.mainAxis:fe+oe+le+R.mainAxis,Ce=t.elements.arrow&&be(t.elements.arrow),kt=Ce?m==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,Ve=(W=L==null?void 0:L[m])!=null?W:0,Dt=D+Ct-Ve-kt,Wt=D+At-Ve,qe=de(v?Te(Y,Dt):Y,D,v?re(q,Wt):q);y[m]=qe,j[m]=qe-D}if(u){var Ue,jt=m==="x"?$:B,$t=m==="x"?H:N,ee=y[w],Oe=w==="y"?"height":"width",ze=ee+O[jt],Ie=ee-O[$t],Ae=[$,B].indexOf(E)!==-1,Ye=(Ue=L==null?void 0:L[w])!=null?Ue:0,Xe=Ae?ze:ee-T[Oe]-S[Oe]-Ye+R.altAxis,Fe=Ae?ee+T[Oe]+S[Oe]-Ye-R.altAxis:Ie,Ge=v&&Ae?ir(Xe,ee,Fe):de(v?Xe:ze,ee,v?Fe:Ie);y[w]=Ge,j[w]=Ge-ee}t.modifiersData[o]=j}}var jr={name:"preventOverflow",enabled:!0,phase:"main",fn:Wr,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Br(e){return e===P(e)||!_(e)?Me(e):$r(e)}function Pr(e){var t=e.getBoundingClientRect(),r=ae(t.width)/e.offsetWidth||1,o=ae(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Mr(e,t,r){r===void 0&&(r=!1);var o=_(t),n=_(t)&&Pr(t),s=K(t),l=se(e,n,r),u={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!r)&&((I(t)!=="body"||He(s))&&(u=Br(t)),_(t)?(a=se(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):s&&(a.x=_e(s))),{x:l.left+u.scrollLeft-a.x,y:l.top+u.scrollTop-a.y,width:l.width,height:l.height}}function _r(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var a=t.get(u);a&&n(a)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function Hr(e){var t=_r(e);return er.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function Nr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Vr(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var it={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ne(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?it:n;return function(l,u,a){a===void 0&&(a=s);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,c={state:i,setOptions:function(d){var O=typeof d=="function"?d(i.options):d;h(),i.options=Object.assign({},s,i.options,O),i.scrollParents={reference:ne(l)?ve(l):l.contextElement?ve(l.contextElement):[],popper:ve(u)};var E=Hr(Vr([].concat(o,i.options.modifiers)));return i.orderedModifiers=E.filter(function(C){return C.enabled}),v(),c.update()},forceUpdate:function(){if(!p){var d=i.elements,O=d.reference,E=d.popper;if(at(O,E)){i.rects={reference:Mr(O,be(E),i.options.strategy==="fixed"),popper:Be(E)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(S){return i.modifiersData[S.name]=Object.assign({},S.data)});for(var C=0;C<i.orderedModifiers.length;C++){if(i.reset===!0){i.reset=!1,C=-1;continue}var k=i.orderedModifiers[C],m=k.fn,w=k.options,y=w===void 0?{}:w,T=k.name;typeof m=="function"&&(i=m({state:i,options:y,name:T,instance:c})||i)}}}},update:Nr(function(){return new Promise(function(d){c.forceUpdate(),d(i)})}),destroy:function(){h(),p=!0}};if(!at(l,u))return c;c.setOptions(a).then(function(d){!p&&a.onFirstUpdate&&a.onFirstUpdate(d)});function v(){i.orderedModifiers.forEach(function(d){var O=d.name,E=d.options,C=E===void 0?{}:E,k=d.effect;if(typeof k=="function"){var m=k({state:i,name:O,instance:c,options:C}),w=function(){};f.push(m||w)}})}function h(){f.forEach(function(d){return d()}),f=[]}return c}}Ne();var qr=[wt,Et,bt,dt];Ne({defaultModifiers:qr});var Ur=[wt,Et,bt,dt,Ar,Sr,jr,fr,Rr],zr=Ne({defaultModifiers:Ur}),Ir=We(Ht()),Yr=[],Xr=function(e,t,r){r===void 0&&(r={});var o=b.useRef(null),n={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yr},s=b.useState({styles:{popper:{position:n.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],u=s[1],a=b.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var c=p.state,v=Object.keys(c.elements);_t.flushSync(function(){u({styles:Ke(v.map(function(h){return[h,c.styles[h]||{}]})),attributes:Ke(v.map(function(h){return[h,c.attributes[h]]}))})})},requires:["computeStyles"]}},[]),i=b.useMemo(function(){var p={onFirstUpdate:n.onFirstUpdate,placement:n.placement,strategy:n.strategy,modifiers:[].concat(n.modifiers,[a,{name:"applyStyles",enabled:!1}])};return(0,Ir.default)(o.current,p)?o.current||p:(o.current=p,p)},[n.onFirstUpdate,n.placement,n.strategy,n.modifiers,a]),f=b.useRef();return Je(function(){f.current&&f.current.setOptions(i)},[i]),Je(function(){if(!(e==null||t==null)){var p=r.createPopper||zr,c=p(e,t,i);return f.current=c,function(){c.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:l.styles,attributes:l.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}};We(Nt());function St(e){var t=b.useRef(e);return t.current=e,b.useCallback(function(){return t.current},[])}var Fr=function(){};function Gr(e){var t=e.initial,r=e.value,o=e.onChange,n=o===void 0?Fr:o;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=b.useState(t),l=s[0],u=s[1],a=St(l),i=b.useCallback(function(p){var c=a(),v=typeof p=="function"?p(c):p;typeof v.persist=="function"&&v.persist(),u(v),typeof n=="function"&&n(v)},[a,n]),f=r!==void 0;return[f?r:l,f?n:i]}function Tt(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Kr=["styles","attributes"],st={getBoundingClientRect:Tt()},ut={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function Jr(e,t){var r,o,n;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(ut).reduce(function(g,A){var D;return te({},g,(D={},D[A]=g[A]!==void 0?g[A]:ut[A],D))},e),l=b.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),u=te({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||l}),a=b.useState(null),i=a[0],f=a[1],p=b.useState(null),c=p[0],v=p[1],h=Gr({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),d=h[0],O=h[1],E=b.useRef();b.useEffect(function(){return function(){return clearTimeout(E.current)}},[]);var C=Xr(s.followCursor?st:i,c,u),k=C.styles,m=C.attributes,w=Mt(C,Kr),y=w.update,T=St({visible:d,triggerRef:i,tooltipRef:c,finalConfig:s}),S=b.useCallback(function(g){return Array.isArray(s.trigger)?s.trigger.includes(g):s.trigger===g},Array.isArray(s.trigger)?s.trigger:[s.trigger]),x=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!1)},s.delayHide)},[s.delayHide,O]),R=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!0)},s.delayShow)},[s.delayShow,O]),L=b.useCallback(function(){T().visible?x():R()},[T,x,R]);b.useEffect(function(){if(T().finalConfig.closeOnOutsideClick){var g=function(A){var D,Y=T(),q=Y.tooltipRef,J=Y.triggerRef,Q=(A.composedPath==null||(D=A.composedPath())==null?void 0:D[0])||A.target;Q instanceof Node&&q!=null&&J!=null&&!q.contains(Q)&&!J.contains(Q)&&x()};return document.addEventListener("mousedown",g),function(){return document.removeEventListener("mousedown",g)}}},[T,x]),b.useEffect(function(){if(!(i==null||!S("click")))return i.addEventListener("click",L),function(){return i.removeEventListener("click",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("double-click")))return i.addEventListener("dblclick",L),function(){return i.removeEventListener("dblclick",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("right-click"))){var g=function(A){A.preventDefault(),L()};return i.addEventListener("contextmenu",g),function(){return i.removeEventListener("contextmenu",g)}}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("focus")))return i.addEventListener("focus",R),i.addEventListener("blur",x),function(){i.removeEventListener("focus",R),i.removeEventListener("blur",x)}},[i,S,R,x]),b.useEffect(function(){if(!(i==null||!S("hover")))return i.addEventListener("mouseenter",R),i.addEventListener("mouseleave",x),function(){i.removeEventListener("mouseenter",R),i.removeEventListener("mouseleave",x)}},[i,S,R,x]),b.useEffect(function(){if(!(c==null||!S("hover")||!T().finalConfig.interactive))return c.addEventListener("mouseenter",R),c.addEventListener("mouseleave",x),function(){c.removeEventListener("mouseenter",R),c.removeEventListener("mouseleave",x)}},[c,S,R,x,T]);var j=w==null||(r=w.state)==null||(o=r.modifiersData)==null||(n=o.hide)==null?void 0:n.isReferenceHidden;b.useEffect(function(){s.closeOnTriggerHidden&&j&&x()},[s.closeOnTriggerHidden,x,j]),b.useEffect(function(){if(!s.followCursor||i==null)return;function g(A){var D=A.clientX,Y=A.clientY;st.getBoundingClientRect=Tt(D,Y),y==null||y()}return i.addEventListener("mousemove",g),function(){return i.removeEventListener("mousemove",g)}},[s.followCursor,i,y]),b.useEffect(function(){if(!(c==null||y==null||s.mutationObserverOptions==null)){var g=new MutationObserver(y);return g.observe(c,s.mutationObserverOptions),function(){return g.disconnect()}}},[s.mutationObserverOptions,c,y]);var W=function(g){return g===void 0&&(g={}),te({},g,{style:te({},g.style,k.popper)},m.popper,{"data-popper-interactive":s.interactive})},V=function(g){return g===void 0&&(g={}),te({},g,m.arrow,{style:te({},g.style,k.arrow),"data-popper-arrow":!0})};return te({getArrowProps:V,getTooltipProps:W,setTooltipRef:v,setTriggerRef:f,tooltipRef:c,triggerRef:i,visible:d},w)}var{document:me}=qt,M=(0,Vt.default)(1e3)((e,t,r,o=0)=>t.split("-")[0]===e?r:o),G=8,Qr=Re.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${M("top",r,`${G*-1}px`,"auto")}`,top:`${M("bottom",r,`${G*-1}px`,"auto")}`,right:`${M("left",r,`${G*-1}px`,"auto")}`,left:`${M("right",r,`${G*-1}px`,"auto")}`,borderBottomWidth:`${M("top",r,"0",G)}px`,borderTopWidth:`${M("bottom",r,"0",G)}px`,borderRightWidth:`${M("left",r,"0",G)}px`,borderLeftWidth:`${M("right",r,"0",G)}px`,borderTopColor:M("top",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderBottomColor:M("bottom",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderLeftColor:M("left",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderRightColor:M("right",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent")})),Zr=Re.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647,colorScheme:"light dark"}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,filter:`
|
|
2
2
|
drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
|
|
3
3
|
drop-shadow(0 1px 3px rgba(0,0,0,0.1))
|
|
4
4
|
`,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),Rt=U.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:o={},tooltipRef:n,color:s,withArrows:l,...u},a)=>U.createElement(Zr,{"data-testid":"tooltip",hasChrome:t,ref:a,...u,color:s},t&&l&&U.createElement(Qr,{placement:e,...o,color:s}),r));Rt.displayName="Tooltip";var en=Re.div`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as e,v as n}from"./iframe-
|
|
1
|
+
import{u as e,v as n}from"./iframe-DjYTJz7A.js";const i="AlignSelf__leDSR",s={AlignSelf:i,"AlignSelf--align-self-start":"AlignSelf--align-self-start__LgwGs","AlignSelf--align-self-center":"AlignSelf--align-self-center__Wse1S","AlignSelf--align-self-end":"AlignSelf--align-self-end__6tikI","AlignSelf--align-self-stretch":"AlignSelf--align-self-stretch__qrMyK","AlignSelf--narrow-l--align-self-start":"AlignSelf--narrow-l--align-self-start__COlwA","AlignSelf--narrow-l--align-self-center":"AlignSelf--narrow-l--align-self-center__ELuDH","AlignSelf--narrow-l--align-self-end":"AlignSelf--narrow-l--align-self-end__sjn-5","AlignSelf--narrow-l--align-self-stretch":"AlignSelf--narrow-l--align-self-stretch__h2h5y","AlignSelf--medium-s--align-self-start":"AlignSelf--medium-s--align-self-start__bfr9R","AlignSelf--medium-s--align-self-center":"AlignSelf--medium-s--align-self-center__liai8","AlignSelf--medium-s--align-self-end":"AlignSelf--medium-s--align-self-end__zUlqW","AlignSelf--medium-s--align-self-stretch":"AlignSelf--medium-s--align-self-stretch__eLaVE","AlignSelf--medium-l--align-self-start":"AlignSelf--medium-l--align-self-start__lMYt4","AlignSelf--medium-l--align-self-center":"AlignSelf--medium-l--align-self-center__7r34b","AlignSelf--medium-l--align-self-end":"AlignSelf--medium-l--align-self-end__7py-F","AlignSelf--medium-l--align-self-stretch":"AlignSelf--medium-l--align-self-stretch__YFiZu","AlignSelf--wide-s--align-self-start":"AlignSelf--wide-s--align-self-start__jBg7e","AlignSelf--wide-s--align-self-center":"AlignSelf--wide-s--align-self-center__6YJoJ","AlignSelf--wide-s--align-self-end":"AlignSelf--wide-s--align-self-end__Gzhkv","AlignSelf--wide-s--align-self-stretch":"AlignSelf--wide-s--align-self-stretch__g8zpq","AlignSelf--wide-l--align-self-start":"AlignSelf--wide-l--align-self-start__gz6yC","AlignSelf--wide-l--align-self-center":"AlignSelf--wide-l--align-self-center__TQLXK","AlignSelf--wide-l--align-self-end":"AlignSelf--wide-l--align-self-end__sfoC5","AlignSelf--wide-l--align-self-stretch":"AlignSelf--wide-l--align-self-stretch__cYlv1"},g="AlignSelf",a=l=>e(s,g,[n("align-self",l)]);export{a as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{au as kT}from"./iframe-
|
|
1
|
+
import{au as kT}from"./iframe-DjYTJz7A.js";var pi={exports:{}};/*! axe v4.10.2
|
|
2
2
|
* Copyright (c) 2015 - 2024 Deque Systems, Inc.
|
|
3
3
|
*
|
|
4
4
|
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,M as t}from"./iframe-
|
|
1
|
+
import{j as e,M as t}from"./iframe-DjYTJz7A.js";import{useMDXComponents as r}from"./index-cpi3YaXo.js";import"./preload-helper-Dp1pzeXC.js";function i(s){const n={a:"a",code:"code",h1:"h1",hr:"hr",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Guides/Custom Components/Less.js/Breakpoints"}),`
|
|
2
2
|
`,e.jsx(n.h1,{id:"lessjs-breakpoints",children:"Less.js: Breakpoints"}),`
|
|
3
3
|
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Note:"})," Storybook renders this page inside of an ",e.jsx(n.code,{children:"iframe"}),"! The width taken into account by the media query is that of the ",e.jsx(n.code,{children:"iframe"})," and not the full viewport window. Hide Storybook's navigation sidebar (or pop out this page) to preview the media query against the full browser width."]}),`
|
|
4
4
|
`,e.jsx(n.hr,{}),`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,M as r}from"./iframe-
|
|
1
|
+
import{j as e,M as r}from"./iframe-DjYTJz7A.js";import{useMDXComponents as i}from"./index-cpi3YaXo.js";import"./preload-helper-Dp1pzeXC.js";function t(o){const n={a:"a",code:"code",h1:"h1",hr:"hr",p:"p",pre:"pre",strong:"strong",...i(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Guides/Custom Components/StyledComponents/Breakpoints"}),`
|
|
2
2
|
`,e.jsx(n.h1,{id:"styledcomponents-breakpoints",children:"StyledComponents: Breakpoints"}),`
|
|
3
3
|
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Note:"})," Storybook renders this page inside of an ",e.jsx(n.code,{children:"iframe"}),"! The width taken into account by the media query is that of the ",e.jsx(n.code,{children:"iframe"})," and not the full viewport window. Hide Storybook's navigation sidebar (or pop out this page) to preview the media query against the full browser width."]}),`
|
|
4
4
|
`,e.jsx(n.hr,{}),`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,M as t}from"./iframe-
|
|
1
|
+
import{j as e,M as t}from"./iframe-DjYTJz7A.js";import{useMDXComponents as i}from"./index-cpi3YaXo.js";import"./preload-helper-Dp1pzeXC.js";function r(s){const n={a:"a",code:"code",h1:"h1",hr:"hr",p:"p",pre:"pre",strong:"strong",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Guides/Custom Components/SCSS/Breakpoints"}),`
|
|
2
2
|
`,e.jsx(n.h1,{id:"scss-breakpoints",children:"SCSS: Breakpoints"}),`
|
|
3
3
|
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Note:"})," Storybook renders this page inside of an ",e.jsx(n.code,{children:"iframe"}),"! The width taken into account by the media query is that of the ",e.jsx(n.code,{children:"iframe"})," and not the full viewport window. Hide Storybook's navigation sidebar (or pop out this page) to preview the media query against the full browser width."]}),`
|
|
4
4
|
`,e.jsx(n.hr,{}),`
|
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
import{j as e,M as o,X as c}from"./iframe-
|
|
1
|
+
import{j as e,M as o,X as c}from"./iframe-DjYTJz7A.js";import{useMDXComponents as i}from"./index-cpi3YaXo.js";import"./preload-helper-Dp1pzeXC.js";const d=`# Changelog
|
|
2
|
+
|
|
3
|
+
## [10.0.0](https://github.com/preply/design-system/compare/v9.1.0...v10.0.0)
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
#### Components
|
|
8
|
+
|
|
9
|
+
- [Web] Remove namespaced Dialog components (\`<Dialog.Root/>\`, \`<Dialog.Title/>\`, etc.) in favor of direct imports (\`<DialogRoot/>\`, \`<DialogTitle/>\`, etc.) ([8233a824](https://github.com/preply/design-system/commit/8233a824))
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
#### Icons
|
|
14
|
+
|
|
15
|
+
- Update \`SparkleReset\` icon ([4e776bfb](https://github.com/preply/design-system/commit/4e776bfb))
|
|
16
|
+
|
|
17
|
+
### Fixes
|
|
18
|
+
|
|
19
|
+
#### Components
|
|
20
|
+
|
|
21
|
+
- [Web/App] Align \`<Badge/>\` with Figma by updating spacing and icon accent behavior when rendering leading icons ([cfeabf0d](https://github.com/preply/design-system/commit/cfeabf0d))
|
|
22
|
+
- [Web] Fix neutral \`<Badge/>\` background ([611f4adc](https://github.com/preply/design-system/commit/611f4adc))
|
|
23
|
+
- [Web] Fix \`<Dialog/>\` height when \`mobileFullHeight\` is \`true\` ([b5326c5](https://github.com/preply/design-system/commit/b5326c5c03eecb25adccc40da40364320363c258))
|
|
2
24
|
|
|
3
25
|
## [9.1.0](https://github.com/preply/design-system/compare/v9.0.1...v9.1.0)
|
|
4
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{at as o}from"./iframe-
|
|
1
|
+
import{at as o}from"./iframe-DjYTJz7A.js";var r={},t;function a(){if(t)return r;t=1;var e=o();return r.createRoot=e.createRoot,r.hydrateRoot=e.hydrateRoot,r}var n=a();export{n as c};
|