@arc-ui/components 12.0.0-beta.22 → 12.0.0-beta.24
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/lib/Alert/Alert.cjs +38 -37
- package/lib/Alert/Alert.mjs +38 -37
- package/lib/Alert/styles.css +1 -1
- package/lib/Align/Align.cjs +4 -3
- package/lib/Align/Align.mjs +2 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/AppButton.cjs +5 -4
- package/lib/AppButton/AppButton.mjs +3 -2
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/Avatar.cjs +9 -7
- package/lib/Avatar/Avatar.mjs +9 -7
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/AvatarGroup.cjs +14 -12
- package/lib/AvatarGroup/AvatarGroup.mjs +9 -7
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/Badge.cjs +3 -2
- package/lib/Badge/Badge.mjs +3 -2
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +14 -12
- package/lib/Banner/Banner.mjs +12 -10
- package/lib/Box/Box.cjs +4 -3
- package/lib/Box/Box.mjs +4 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/BrandLogo.cjs +4 -3
- package/lib/BrandLogo/BrandLogo.mjs +4 -3
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +18 -8
- package/lib/Breadcrumbs/Breadcrumbs.mjs +16 -6
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +6 -5
- package/lib/Button/Button.mjs +6 -5
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +11 -10
- package/lib/ButtonGroup/ButtonGroup.mjs +8 -7
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +6 -5
- package/lib/ButtonV2/ButtonV2.mjs +6 -5
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +12 -10
- package/lib/Calendar/Calendar.mjs +12 -10
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/CardFooter.cjs +5 -4
- package/lib/CardFooter/CardFooter.mjs +5 -4
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/CardHeading.cjs +6 -4
- package/lib/CardHeading/CardHeading.mjs +6 -4
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +17 -10
- package/lib/Carousel/Carousel.mjs +13 -6
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +54 -13
- package/lib/Checkbox/Checkbox.mjs +56 -11
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.cjs +19 -0
- package/lib/CheckboxIcon/CheckboxIcon.mjs +13 -0
- package/lib/CheckboxIcon/styles.css +1 -0
- package/lib/ClientSideVisible/ClientSideVisible.cjs +8 -0
- package/lib/ClientSideVisible/ClientSideVisible.mjs +2 -0
- package/lib/Columns/Columns.cjs +7 -6
- package/lib/Columns/Columns.mjs +3 -2
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +284 -18
- package/lib/ComboBox/ComboBox.mjs +287 -17
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +8 -8
- package/lib/ContentSwitcher/ContentSwitcher.mjs +8 -8
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +10 -9
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +10 -9
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +365 -51
- package/lib/DatePicker/DatePicker.mjs +339 -26
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/Disclosure.cjs +8 -6
- package/lib/Disclosure/Disclosure.mjs +6 -4
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/DisclosureMini.cjs +6 -5
- package/lib/DisclosureMini/DisclosureMini.mjs +6 -5
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/Download.cjs +7 -6
- package/lib/Download/Download.mjs +7 -6
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +154 -18
- package/lib/Drawer/Drawer.mjs +154 -18
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/Elevation.cjs +9 -5
- package/lib/Elevation/Elevation.mjs +8 -4
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/Filter.cjs +7 -6
- package/lib/Filter/Filter.mjs +4 -3
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/FormControl.cjs +8 -7
- package/lib/FormControl/FormControl.mjs +8 -7
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +12 -10
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +10 -8
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +96 -197
- package/lib/GradientPageBackground/GradientPageBackground.mjs +96 -197
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/Grid.cjs +3 -2
- package/lib/Grid/Grid.mjs +3 -2
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/Group.cjs +7 -6
- package/lib/Group/Group.mjs +3 -2
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/Heading.cjs +5 -3
- package/lib/Heading/Heading.mjs +5 -3
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +14 -12
- package/lib/HeroBanner/HeroBanner.mjs +14 -12
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +78 -9
- package/lib/HeroButton/HeroButton.mjs +81 -8
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/Hidden.cjs +3 -2
- package/lib/Hidden/Hidden.mjs +3 -2
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +14 -12
- package/lib/HorizontalCard/HorizontalCard.mjs +11 -9
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/Icon.cjs +4 -3
- package/lib/Icon/Icon.mjs +4 -3
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/Image.cjs +3 -2
- package/lib/Image/Image.mjs +3 -2
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +15 -13
- package/lib/ImpactCard/ImpactCard.mjs +13 -11
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +32 -22
- package/lib/InformationCard/InformationCard.mjs +27 -17
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/Link.cjs +6 -5
- package/lib/Link/Link.mjs +6 -5
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/Markup.cjs +5 -4
- package/lib/Markup/Markup.mjs +3 -2
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +56 -15
- package/lib/MediaCard/MediaCard.mjs +58 -13
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +1513 -73
- package/lib/Menu/Menu.mjs +1480 -59
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +22 -20
- package/lib/Modal/Modal.mjs +18 -16
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +859 -114
- package/lib/NavigationHeader/NavigationHeader.mjs +836 -91
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/Pagination.cjs +10 -9
- package/lib/Pagination/Pagination.mjs +6 -5
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/PaginationSimple.cjs +7 -6
- package/lib/PaginationSimple/PaginationSimple.mjs +5 -4
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/Popover.cjs +8 -7
- package/lib/Popover/Popover.mjs +8 -7
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/Poster.cjs +10 -9
- package/lib/Poster/Poster.mjs +4 -3
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/ProgressBar.cjs +15 -13
- package/lib/ProgressBar/ProgressBar.mjs +10 -8
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +6 -6
- package/lib/ProgressStepper/ProgressStepper.mjs +6 -6
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +142 -11
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +144 -9
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +57 -15
- package/lib/RadioCardGroup/RadioCardGroup.mjs +55 -14
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +59 -15
- package/lib/RadioGroup/RadioGroup.mjs +56 -13
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/Rule.cjs +4 -3
- package/lib/Rule/Rule.mjs +4 -3
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +11 -18
- package/lib/ScrollToTop/ScrollToTop.mjs +11 -18
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/Section.cjs +3 -2
- package/lib/Section/Section.mjs +3 -2
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +25 -17
- package/lib/Select/Select.mjs +25 -17
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticHeading/SemanticHeading.cjs +10 -0
- package/lib/SemanticHeading/SemanticHeading.mjs +4 -0
- package/lib/SemanticHeading/styles.css +1 -0
- package/lib/SiteFooter/SiteFooter.cjs +13 -12
- package/lib/SiteFooter/SiteFooter.mjs +7 -6
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +28 -26
- package/lib/SiteFooterV2/SiteFooterV2.mjs +15 -13
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +457 -31
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +440 -15
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/Skeleton.cjs +4 -3
- package/lib/Skeleton/Skeleton.mjs +2 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/SkipLink.cjs +5 -4
- package/lib/SkipLink/SkipLink.mjs +4 -3
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/Spinner.cjs +3 -2
- package/lib/Spinner/Spinner.mjs +3 -2
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/Surface.cjs +3 -2
- package/lib/Surface/Surface.mjs +3 -2
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.cjs +14 -13
- package/lib/Switch/Switch.mjs +12 -11
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +27 -26
- package/lib/TabbedBanner/TabbedBanner.mjs +23 -22
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +12 -11
- package/lib/Tabs/Tabs.mjs +6 -5
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +18 -15
- package/lib/Tag/Tag.mjs +17 -14
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +12 -10
- package/lib/TemplateBanner/TemplateBanner.mjs +12 -10
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/Text.cjs +4 -3
- package/lib/Text/Text.mjs +4 -3
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +12 -62
- package/lib/TextArea/TextArea.mjs +10 -60
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +10 -9
- package/lib/TextInput/TextInput.mjs +10 -9
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +5 -4
- package/lib/Theme/Theme.mjs +3 -2
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/ThemeIcon.cjs +4 -3
- package/lib/ThemeIcon/ThemeIcon.mjs +4 -3
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +12 -11
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +8 -7
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/Toast.cjs +12 -9
- package/lib/Toast/Toast.mjs +9 -6
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +6 -5
- package/lib/Tooltip/Tooltip.mjs +6 -5
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/Truncate.cjs +4 -3
- package/lib/Truncate/Truncate.mjs +2 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +13 -11
- package/lib/TypographyCard/TypographyCard.mjs +12 -10
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/UniversalHeader.cjs +7 -6
- package/lib/UniversalHeader/UniversalHeader.mjs +3 -2
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/VerticalSpace.cjs +3 -2
- package/lib/VerticalSpace/VerticalSpace.mjs +3 -2
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +27 -26
- package/lib/VideoPlayer/VideoPlayer.mjs +26 -25
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/Visible.cjs +3 -2
- package/lib/Visible/Visible.mjs +3 -2
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/VisuallyHidden.cjs +3 -2
- package/lib/VisuallyHidden/VisuallyHidden.mjs +3 -2
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Avatar-CrUioj_6.cjs → Avatar-CecZTQdk.cjs} +11 -10
- package/lib/_shared/cjs/Badge-DX5PjtiZ.cjs +15 -0
- package/lib/_shared/cjs/BannerImage-qK8-w9rt.cjs +13 -0
- package/lib/_shared/cjs/{Box-COPXU1Jf.cjs → Box-Va2g7Gdp.cjs} +5 -4
- package/lib/_shared/cjs/{BrandLogo-D5wlIFmm.cjs → BrandLogo-coNfTwRv.cjs} +5 -4
- package/lib/_shared/cjs/{Button-uD9mR8w-.cjs → Button-MXE2zSmS.cjs} +9 -8
- package/lib/_shared/cjs/ButtonV2-BJlwsXlN.cjs +58 -0
- package/lib/_shared/cjs/{Calendar-B-va25n2.cjs → Calendar-CFUNKEyb.cjs} +35 -41
- package/lib/_shared/cjs/{CardFooter-ChphRFHe.cjs → CardFooter-BPtRFaCy.cjs} +5 -16
- package/lib/_shared/cjs/{CardHeading-Cl0D1Khp.cjs → CardHeading-1-dcxBUr.cjs} +4 -3
- package/lib/_shared/cjs/CheckboxIcon-B94mtYCX.cjs +52 -0
- package/lib/_shared/cjs/ClientSideVisible-BhW-T6kb.cjs +16 -0
- package/lib/_shared/cjs/{Combination-B-rSVLfT.cjs → Combination-6m6aOXZq.cjs} +9 -9
- package/lib/_shared/cjs/{ContentSwitcherDropdown-U5ZTbJTe.cjs → ContentSwitcherDropdown-BtEnzdMw.cjs} +23 -12
- package/lib/_shared/cjs/{ContentSwitcherList-bCEzIPN2.cjs → ContentSwitcherList-BgAW2IhJ.cjs} +19 -7
- package/lib/_shared/cjs/{DisclosureMini-CtvDxVaG.cjs → DisclosureMini-KEuIc8tE.cjs} +7 -6
- package/lib/_shared/cjs/{Download-CrIytI74.cjs → Download-NY3tbv9Q.cjs} +8 -5
- package/lib/_shared/cjs/{FormControl-BPnKQrCm.cjs → FormControl-DiERJpGW.cjs} +16 -13
- package/lib/_shared/cjs/GridRow-l_SePUqV.cjs +45 -0
- package/lib/_shared/cjs/{Heading-BEMSkLYR.cjs → Heading-CoiZ2EmD.cjs} +7 -8
- package/lib/_shared/cjs/{Hidden-Vsv1-xWO.cjs → Hidden-BN0Q0NpZ.cjs} +4 -3
- package/lib/_shared/cjs/{Icon-CzhyKqMd.cjs → Icon-Dk2XHa7V.cjs} +5 -4
- package/lib/_shared/cjs/{Image-C1pcrfnN.cjs → Image-CSe0KpDN.cjs} +8 -7
- package/lib/_shared/cjs/{Link-7xUgVf1I.cjs → Link-PWpx-rRO.cjs} +13 -10
- package/lib/_shared/cjs/{Popover-C5mmMkYU.cjs → Popover-hpvmhKV8.cjs} +9 -7
- package/lib/_shared/cjs/{ProgressStepper-BL9Y5c4X.cjs → ProgressStepper-DTZQabiV.cjs} +142 -10
- package/lib/_shared/cjs/{Rule-DMQsi2L6.cjs → Rule-jmvOpci7.cjs} +4 -3
- package/lib/_shared/cjs/{Section-wUVdzmGA.cjs → Section-BorWFfNe.cjs} +4 -3
- package/lib/_shared/cjs/SemanticHeading-BPXN_z49.cjs +12 -0
- package/lib/_shared/cjs/Spinner-427lpnHI.cjs +17 -0
- package/lib/_shared/cjs/{Surface-BFx1yNsq.cjs → Surface-DIU5ciDT.cjs} +6 -5
- package/lib/_shared/cjs/{TemplateBanner-CImrJ9ON.cjs → TemplateBanner-BlmWfDQD.cjs} +15 -14
- package/lib/_shared/cjs/{Text-Cr5nmYmx.cjs → Text-jwsn80lQ.cjs} +5 -4
- package/lib/_shared/cjs/{TextInput-ByySubi5.cjs → TextInput-B0JrZhOo.cjs} +13 -12
- package/lib/_shared/cjs/{ThemeIcon-BoxbjTaQ.cjs → ThemeIcon-Def4RZfK.cjs} +5 -4
- package/lib/_shared/cjs/{Tooltip-BPHL0ELI.cjs → Tooltip-CEb7YEP2.cjs} +10 -9
- package/lib/_shared/cjs/{VerticalSpace-BJvST6WP.cjs → VerticalSpace-DLQUYsvc.cjs} +5 -3
- package/lib/_shared/cjs/{Visible-vchtZSfm.cjs → Visible-DZWtZ5qG.cjs} +4 -3
- package/lib/_shared/cjs/VisuallyHidden-CQg3cOVK.cjs +15 -0
- package/lib/_shared/cjs/{arc-breakpoints-DWUgmeLA.cjs → arc-breakpoints-BDA1EnFK.cjs} +11 -1
- package/lib/_shared/cjs/filter-attrs-D19P2s1V.cjs +15 -0
- package/lib/_shared/cjs/{index-Dv1xvB_E.cjs → index-BGGFOAAx.cjs} +1 -1
- package/lib/_shared/cjs/{index-CaO6cOF0.cjs → index-BWfgSvRQ.cjs} +3 -3
- package/lib/_shared/cjs/{index-C_Rl7v2g.cjs → index-CDVpHNP8.cjs} +3 -3
- package/lib/_shared/cjs/{index-EFXw1jWg.cjs → index-CklPiHsS.cjs} +1 -1
- package/lib/_shared/cjs/{index-DAr_oO4-.cjs → index-D9onmVh5.cjs} +2 -2
- package/lib/_shared/cjs/{index-Bt7hfZBc.cjs → index-KrMgv4q_.cjs} +1 -1
- package/lib/_shared/cjs/{index.es-DlNskPlN.cjs → index.es-VcVPUNjD.cjs} +1 -1
- package/lib/_shared/cjs/{filter-attrs-eK6E_34o.cjs → tslib.es6-CCZ3TN_7.cjs} +0 -13
- package/lib/_shared/cjs/use-media-query-DqZqShGX.cjs +58 -0
- package/lib/_shared/esm/{Avatar-Fb1E5MA9.mjs → Avatar-Cyqjgj85.mjs} +6 -5
- package/lib/_shared/esm/{Badge-BZ7E0zcQ.mjs → Badge-C_3PBa0p.mjs} +2 -1
- package/lib/_shared/esm/{BannerImage-BTsixvUH.mjs → BannerImage-CgjgaYkJ.mjs} +2 -2
- package/lib/_shared/esm/{Box-BYm_GTct.mjs → Box-C8iK8x5c.mjs} +3 -2
- package/lib/_shared/esm/{BrandLogo-_2Z_8I2Y.mjs → BrandLogo-Dc-d_8ZN.mjs} +3 -2
- package/lib/_shared/esm/{Button-BxuM3_gz.mjs → Button-BpQQut8P.mjs} +5 -4
- package/lib/_shared/esm/{ButtonV2-DwYBAojW.mjs → ButtonV2-C4a_kkhh.mjs} +16 -13
- package/lib/_shared/esm/{Calendar-Bd2_eT1Y.mjs → Calendar-CFdUlPXh.mjs} +14 -20
- package/lib/_shared/esm/{CardFooter-fsAY4cc6.mjs → CardFooter-BpVSztgE.mjs} +5 -16
- package/lib/_shared/esm/{CardHeading-_setRRjq.mjs → CardHeading-q6k7obu0.mjs} +4 -3
- package/lib/_shared/esm/CheckboxIcon-Bzto2Tke.mjs +50 -0
- package/lib/_shared/esm/ClientSideVisible-D_iBE-3U.mjs +14 -0
- package/lib/_shared/esm/{Combination-BpO6XTeS.mjs → Combination-BQ4XBtF-.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-BCkuAfwC.mjs → ContentSwitcherDropdown-DgrN4Bdb.mjs} +21 -10
- package/lib/_shared/esm/{ContentSwitcherList-bCQz0qkU.mjs → ContentSwitcherList-i4m4nAzP.mjs} +15 -4
- package/lib/_shared/esm/{DisclosureMini-B9LzsQC2.mjs → DisclosureMini-ClSe9sSt.mjs} +5 -4
- package/lib/_shared/esm/{Download-DFz_1HCG.mjs → Download-BD8Bigeq.mjs} +8 -5
- package/lib/_shared/esm/{FormControl-CWyrVi1u.mjs → FormControl-Pc1aHUNM.mjs} +13 -10
- package/lib/_shared/esm/{GridRow-Ddt5CtFn.mjs → GridRow-vjacXnq0.mjs} +3 -2
- package/lib/_shared/esm/{Heading-CxHWefi7.mjs → Heading-B9cbwfoz.mjs} +7 -8
- package/lib/_shared/esm/{Hidden-DsrAaC0z.mjs → Hidden-CGRhG3dU.mjs} +2 -1
- package/lib/_shared/esm/{Icon-CcPOJcQm.mjs → Icon-CCUbr_AO.mjs} +3 -2
- package/lib/_shared/esm/{Image-Dl8oH1Rn.mjs → Image-LemsonUX.mjs} +4 -3
- package/lib/_shared/esm/{Link-Biyg9qBH.mjs → Link-ogbR4K3O.mjs} +8 -5
- package/lib/_shared/esm/{Popover-8FfvgL4c.mjs → Popover-D0ePWPz_.mjs} +8 -6
- package/lib/_shared/esm/{ProgressStepper-CLBtBNy2.mjs → ProgressStepper-CujHLQsm.mjs} +137 -5
- package/lib/_shared/esm/{Rule-3gdMHH-R.mjs → Rule-I1w3EaZi.mjs} +3 -2
- package/lib/_shared/esm/{Section-DDygQ5Az.mjs → Section-COc1l3mp.mjs} +4 -3
- package/lib/_shared/esm/SemanticHeading-1tLcSJYD.mjs +10 -0
- package/lib/_shared/esm/{Spinner-Cd7LiPTy.mjs → Spinner-DvngCIwx.mjs} +2 -1
- package/lib/_shared/esm/{Surface-Colbp3Zx.mjs → Surface-C69KVzkY.mjs} +2 -1
- package/lib/_shared/esm/{TemplateBanner-DeHjliNP.mjs → TemplateBanner-DEYOSosH.mjs} +12 -11
- package/lib/_shared/esm/{Text-CBlnm5CT.mjs → Text-BAzOkkzN.mjs} +3 -2
- package/lib/_shared/esm/{TextInput-Dk7qNGoh.mjs → TextInput-CjDG2cIX.mjs} +8 -7
- package/lib/_shared/esm/{ThemeIcon-CN_Ed5b1.mjs → ThemeIcon-B0SruPZC.mjs} +3 -2
- package/lib/_shared/esm/{Tooltip-Dc82Ht7G.mjs → Tooltip-BpSzN3Tx.mjs} +7 -6
- package/lib/_shared/esm/{VerticalSpace-Duhm0zXP.mjs → VerticalSpace-BLWB02I7.mjs} +4 -2
- package/lib/_shared/esm/{Visible-B13QJn7R.mjs → Visible-B0d79VWZ.mjs} +2 -1
- package/lib/_shared/esm/{VisuallyHidden-DqAgoqJo.mjs → VisuallyHidden-aSQ4RA1o.mjs} +2 -1
- package/lib/_shared/esm/arc-breakpoints-Bs-at7wk.mjs +26 -0
- package/lib/_shared/esm/filter-attrs-v_SweZXP.mjs +13 -0
- package/lib/_shared/esm/{index-DLovItWo.mjs → index-BFKdmv_g.mjs} +1 -1
- package/lib/_shared/esm/{index-BDWwJ5x2.mjs → index-BWkI4Dwz.mjs} +1 -1
- package/lib/_shared/esm/{index-J5IHetgg.mjs → index-CN4hP3Wu.mjs} +2 -2
- package/lib/_shared/esm/{index-CxrL7jIX.mjs → index-Do2wfP-X.mjs} +3 -3
- package/lib/_shared/esm/{index-DXTwueLZ.mjs → index-GCEHSsY8.mjs} +1 -1
- package/lib/_shared/esm/{index-BbAu4d3T.mjs → index-u47CK8Y0.mjs} +1 -1
- package/lib/_shared/esm/{index-CYUcQl4W.mjs → index-vnVJe9rH.mjs} +3 -3
- package/lib/_shared/esm/{index.es-C3WqfFKH.mjs → index.es-tyrXzvpp.mjs} +2 -2
- package/lib/_shared/esm/{filter-attrs-B6CM-NUr.mjs → tslib.es6-w7hdJ3oZ.mjs} +1 -13
- package/lib/_shared/esm/use-media-query-BmsMeo2M.mjs +56 -0
- package/lib/index.cjs +1244 -999
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +349 -142
- package/lib/index.d.mts +349 -142
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1244 -1001
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +6 -14
- package/lib/use-media-query/use-media-query.cjs +1 -1
- package/lib/use-media-query/use-media-query.mjs +1 -1
- package/package.json +9 -8
- package/lib/_shared/cjs/Badge-CQVEPH9v.cjs +0 -14
- package/lib/_shared/cjs/BannerImage-kdAKagG-.cjs +0 -13
- package/lib/_shared/cjs/BreadcrumbsLink-CDmk3Y3m.cjs +0 -18
- package/lib/_shared/cjs/ButtonV2-Bta5SVVY.cjs +0 -55
- package/lib/_shared/cjs/Checkbox-DfZMjO1Y.cjs +0 -88
- package/lib/_shared/cjs/ComboBox-BGUhlqx1.cjs +0 -281
- package/lib/_shared/cjs/ContentSwitcherTab-B387Qs3I.cjs +0 -14
- package/lib/_shared/cjs/DatePicker-Dt4faA_N.cjs +0 -334
- package/lib/_shared/cjs/GridRow-BW2ZGtND.cjs +0 -44
- package/lib/_shared/cjs/HeroButton-CrzkTUwP.cjs +0 -82
- package/lib/_shared/cjs/MediaCard-BEZFbiYO.cjs +0 -57
- package/lib/_shared/cjs/MenuItemMultiLevelContent-vLr6hSBm.cjs +0 -1328
- package/lib/_shared/cjs/ProgressStepperOverflow-BAGZNC26.cjs +0 -142
- package/lib/_shared/cjs/RadioCardGroupInput-CeUM3yPS.cjs +0 -53
- package/lib/_shared/cjs/RadioGroupInput-w2qkfsnG.cjs +0 -54
- package/lib/_shared/cjs/SiteHeaderV2NavItemWithSubNav-CagFKPEa.cjs +0 -445
- package/lib/_shared/cjs/Spinner-bbrOwxv2.cjs +0 -16
- package/lib/_shared/cjs/VisuallyHidden-B4XCvPYP.cjs +0 -14
- package/lib/_shared/cjs/index-CqYNiqix.cjs +0 -137
- package/lib/_shared/cjs/kebabCase-D5yA6u-V.cjs +0 -743
- package/lib/_shared/cjs/keynames-Cx13-hWr.cjs +0 -8
- package/lib/_shared/cjs/use-media-query-BsUfHjPZ.cjs +0 -41
- package/lib/_shared/esm/BreadcrumbsLink-BxTurGNa.mjs +0 -16
- package/lib/_shared/esm/Checkbox-CwOHzlQF.mjs +0 -86
- package/lib/_shared/esm/ComboBox-CRlJjeev.mjs +0 -279
- package/lib/_shared/esm/ContentSwitcherTab-CfC3PGeZ.mjs +0 -12
- package/lib/_shared/esm/DatePicker-DT4OEzxP.mjs +0 -324
- package/lib/_shared/esm/HeroButton-jdjjV_Gf.mjs +0 -80
- package/lib/_shared/esm/MediaCard-DqMaNWsE.mjs +0 -55
- package/lib/_shared/esm/MenuItemMultiLevelContent-JTOHqpzg.mjs +0 -1296
- package/lib/_shared/esm/ProgressStepperOverflow-fPkLltVO.mjs +0 -140
- package/lib/_shared/esm/RadioCardGroupInput-D7W28geB.mjs +0 -50
- package/lib/_shared/esm/RadioGroupInput-zAWSV29m.mjs +0 -50
- package/lib/_shared/esm/SiteHeaderV2NavItemWithSubNav-CxGwdV6u.mjs +0 -439
- package/lib/_shared/esm/arc-breakpoints-D5hR5m3t.mjs +0 -21
- package/lib/_shared/esm/index-CL6dwOYV.mjs +0 -135
- package/lib/_shared/esm/kebabCase-CCEMRBfd.mjs +0 -737
- package/lib/_shared/esm/keynames-B5whqsjh.mjs +0 -8
- package/lib/_shared/esm/use-media-query-DmKuIDEM.mjs +0 -39
package/lib/index.cjs
CHANGED
|
@@ -356,17 +356,6 @@ var AlignItem = function (_a) {
|
|
|
356
356
|
return React.createElement("div", { className: "arc-Align-item" }, children);
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
/**
|
|
360
|
-
* Do not edit directly
|
|
361
|
-
* Generated on Fri, 15 Aug 2025 18:14:58 GMT
|
|
362
|
-
*/
|
|
363
|
-
var ArcSizeBreakpointsXs = "320px";
|
|
364
|
-
var ArcSizeBreakpointsS = "636px";
|
|
365
|
-
var ArcSizeBreakpointsM = "768px";
|
|
366
|
-
var ArcSizeBreakpointsL = "1024px";
|
|
367
|
-
var ArcSizeBreakpointsXl = "1280px";
|
|
368
|
-
var ArcSizeBreakpointsXxl = "1440px";
|
|
369
|
-
|
|
370
359
|
var defaultContext$3 = { surface: "light" };
|
|
371
360
|
var Context$3 = React.createContext(defaultContext$3);
|
|
372
361
|
var Provider$5 = Context$3.Provider;
|
|
@@ -508,7 +497,9 @@ var Link = function (_a) {
|
|
|
508
497
|
};
|
|
509
498
|
var LinkElement = isButton ? "button" : href ? "a" : "span";
|
|
510
499
|
return (React.createElement(LinkElement, __assign({}, elementProps[LinkElement], filterAttrs(props)),
|
|
511
|
-
React.createElement("div", { className: "arc-Link-wrapper"
|
|
500
|
+
React.createElement("div", { className: classNames("arc-Link-wrapper", {
|
|
501
|
+
"arc-Link--isButton": isButton,
|
|
502
|
+
}) },
|
|
512
503
|
React.createElement(VisuallyHidden$2, null,
|
|
513
504
|
screenReaderText || children,
|
|
514
505
|
isExternalLink && " (Opens in new window)"),
|
|
@@ -520,214 +511,32 @@ var Link = function (_a) {
|
|
|
520
511
|
isExternalLink && (React.createElement(ThemeIcon, { icon: "linkExternal", size: size === "s" ? 20 : 24 }))))));
|
|
521
512
|
};
|
|
522
513
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
var Heading = function (_a) {
|
|
527
|
-
var _b;
|
|
528
|
-
var _c = _a.align, align = _c === void 0 ? "left" : _c, _d = _a.casing, casing = _d === void 0 ? "auto" : _d, _e = _a.color, color = _e === void 0 ? "auto" : _e, children = _a.children, level = _a.level, isInline = _a.isInline, _f = _a.fontStyle, fontStyle = _f === void 0 ? "default" : _f, _g = _a.isResponsive, isResponsive = _g === void 0 ? true : _g, size = _a.size, id = _a.id, props = __rest(_a, ["align", "casing", "color", "children", "level", "isInline", "fontStyle", "isResponsive", "size", "id"]);
|
|
529
|
-
var surface = React.useContext(Context$3).surface;
|
|
530
|
-
var Element = "span";
|
|
531
|
-
if (level) {
|
|
532
|
-
Element = "h".concat(level);
|
|
533
|
-
}
|
|
534
|
-
return (React.createElement(Element, __assign({ id: id, className: classNames(" arc-Heading arc-Heading--".concat(camelcase(fontStyle)), (_b = {
|
|
535
|
-
"arc-Heading--inline": isInline,
|
|
536
|
-
"arc-Heading--fixedSize": isResponsive === false
|
|
537
|
-
},
|
|
538
|
-
_b[suffixModifier("arc-Heading--align", align)] = align && align !== "left",
|
|
539
|
-
_b["arc-Heading--size".concat(size && size.toUpperCase())] = size,
|
|
540
|
-
_b["arc-Heading--casingNone"] = casing === "none",
|
|
541
|
-
_b["arc-Heading--colorBrand"] = color === "brand",
|
|
542
|
-
_b["arc-Heading--onDarkSurface"] = surface === "dark",
|
|
543
|
-
_b["arc-Heading--isInline"] = isInline,
|
|
544
|
-
_b)) }, filterAttrs(props)), children));
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
549
|
-
*/
|
|
550
|
-
var useAriaDescribedby = function (_a) {
|
|
551
|
-
var id = _a.id, _b = _a.idError, idError = _b === void 0 ? "".concat(id, "-error") : _b, _c = _a.idHelper, idHelper = _c === void 0 ? "".concat(id, "-helper") : _c, _d = _a.idDisclosure, idDisclosure = _d === void 0 ? "".concat(id, "-disclosure") : _d, errorMessage = _a.errorMessage, helper = _a.helper, disclosureText = _a.disclosureText;
|
|
552
|
-
if (!id) {
|
|
553
|
-
return {
|
|
554
|
-
ariaDescribedby: undefined,
|
|
555
|
-
idHelper: undefined,
|
|
556
|
-
idError: undefined,
|
|
557
|
-
idDisclosure: undefined,
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
var ariaDescribedbyArr = [];
|
|
561
|
-
if (errorMessage) {
|
|
562
|
-
ariaDescribedbyArr.push(idError);
|
|
563
|
-
}
|
|
564
|
-
if (helper) {
|
|
565
|
-
ariaDescribedbyArr.push(idHelper);
|
|
566
|
-
}
|
|
567
|
-
if (disclosureText) {
|
|
568
|
-
ariaDescribedbyArr.push(idDisclosure);
|
|
569
|
-
}
|
|
570
|
-
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
571
|
-
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* Detect interaction mode
|
|
576
|
-
*/
|
|
577
|
-
var useInteractionMode = function () {
|
|
578
|
-
var _a = React.useState("pointer"), interactionMode = _a[0], setInteractionMode = _a[1];
|
|
579
|
-
React.useEffect(function () {
|
|
580
|
-
var onKeyDown = function (event) {
|
|
581
|
-
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
582
|
-
return;
|
|
583
|
-
}
|
|
584
|
-
setInteractionMode("keyboard");
|
|
585
|
-
};
|
|
586
|
-
var onPointerDown = function () {
|
|
587
|
-
setInteractionMode("pointer");
|
|
588
|
-
};
|
|
589
|
-
if (typeof window !== "undefined") {
|
|
590
|
-
document.addEventListener("keydown", onKeyDown, true);
|
|
591
|
-
document.addEventListener("click", onPointerDown, true);
|
|
592
|
-
}
|
|
593
|
-
return function () {
|
|
594
|
-
if (typeof window !== "undefined") {
|
|
595
|
-
document.removeEventListener("keydown", onKeyDown);
|
|
596
|
-
document.removeEventListener("click", onPointerDown);
|
|
597
|
-
}
|
|
598
|
-
};
|
|
599
|
-
}, []);
|
|
600
|
-
return { interactionMode: interactionMode };
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
605
|
-
*/
|
|
606
|
-
var useNumericInput = function (props) {
|
|
607
|
-
var type = props.type === "number" ? "text" : props.type;
|
|
608
|
-
var inputMode = props.inputMode;
|
|
609
|
-
if (!props.inputMode) {
|
|
610
|
-
if (props.type === "email") {
|
|
611
|
-
inputMode = "email";
|
|
612
|
-
}
|
|
613
|
-
else if (props.type === "number") {
|
|
614
|
-
inputMode = "numeric";
|
|
615
|
-
}
|
|
616
|
-
else if (props.type === "tel") {
|
|
617
|
-
inputMode = "tel";
|
|
618
|
-
}
|
|
619
|
-
else if (props.type === "url") {
|
|
620
|
-
inputMode = "url";
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
var pattern = props.pattern;
|
|
624
|
-
if (!props.pattern && props.type === "number") {
|
|
625
|
-
pattern = "[0-9]*";
|
|
626
|
-
}
|
|
627
|
-
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
628
|
-
};
|
|
629
|
-
|
|
630
|
-
var usePagination = function (pageCount, selectedPage) {
|
|
631
|
-
var formatValues = function (range) {
|
|
632
|
-
return range.map(function (value) { return value.toString(); });
|
|
633
|
-
};
|
|
634
|
-
return React.useMemo(function () {
|
|
635
|
-
if (pageCount > 7 && selectedPage < 5) {
|
|
636
|
-
// show 1 - 5 the right dots are visible.
|
|
637
|
-
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
638
|
-
"...",
|
|
639
|
-
pageCount,
|
|
640
|
-
], false));
|
|
641
|
-
}
|
|
642
|
-
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
643
|
-
// show numbers to the end but the left dots are visible
|
|
644
|
-
return formatValues(__spreadArray([
|
|
645
|
-
1,
|
|
646
|
-
"..."
|
|
647
|
-
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
648
|
-
}
|
|
649
|
-
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
650
|
-
// show selected page with one number either side and both the left and the right dots are visible.
|
|
651
|
-
return formatValues([
|
|
652
|
-
1,
|
|
653
|
-
"...",
|
|
654
|
-
selectedPage - 1,
|
|
655
|
-
selectedPage,
|
|
656
|
-
selectedPage + 1,
|
|
657
|
-
"...",
|
|
658
|
-
pageCount,
|
|
659
|
-
]);
|
|
660
|
-
}
|
|
661
|
-
// show all pages from pageCount
|
|
662
|
-
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
663
|
-
}, [pageCount, selectedPage]);
|
|
664
|
-
};
|
|
665
|
-
|
|
666
|
-
var useThemeElement = function () {
|
|
667
|
-
var _a = React.useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
668
|
-
var setThemeElement = function (el) {
|
|
669
|
-
el &&
|
|
670
|
-
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
671
|
-
};
|
|
672
|
-
return [themeElement, setThemeElement];
|
|
673
|
-
};
|
|
674
|
-
|
|
675
|
-
var useUniqueString = function (value) {
|
|
676
|
-
var id = React.useId();
|
|
677
|
-
return "".concat(value, "-").concat(id);
|
|
678
|
-
};
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* @typedef MediaQueryOutputs
|
|
682
|
-
* @param {boolean} matches - does the document match the media query?
|
|
683
|
-
*/
|
|
684
|
-
/**
|
|
685
|
-
* Handle with care!
|
|
686
|
-
*
|
|
687
|
-
* If you need to change something in the browser based on @media query, you
|
|
688
|
-
* probably don’t need this hook. Use CSS media queries instead.
|
|
689
|
-
*
|
|
690
|
-
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
691
|
-
* these rare cases, use this hook to make media query matches available
|
|
692
|
-
* to React JavaScript code.
|
|
693
|
-
*
|
|
694
|
-
* @param {string} mediaQuery - the media query to parse
|
|
695
|
-
* @returns {MediaQueryOutputs}
|
|
696
|
-
*/
|
|
697
|
-
var useMediaQuery = function (mediaQuery) {
|
|
698
|
-
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
699
|
-
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
700
|
-
React.useEffect(function () {
|
|
701
|
-
setMatches(typeof window !== "undefined"
|
|
702
|
-
? window.matchMedia(mediaQuery).matches
|
|
703
|
-
: false);
|
|
704
|
-
}, [mediaQuery]);
|
|
705
|
-
React.useEffect(function () {
|
|
706
|
-
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
707
|
-
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
708
|
-
if (mediaQueryList) {
|
|
709
|
-
mediaQueryList.addListener(onMatchMedia);
|
|
710
|
-
}
|
|
711
|
-
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
712
|
-
}, [mediaQueryList]);
|
|
713
|
-
return matches;
|
|
514
|
+
var SemanticHeading = function (_a) {
|
|
515
|
+
var children = _a.children, level = _a.level, className = _a.className, props = __rest(_a, ["children", "level", "className"]);
|
|
516
|
+
return React.createElement(level ? "h".concat(level) : "span", __assign({ className: classNames("arc-SemanticHeading", className) }, props), children);
|
|
714
517
|
};
|
|
715
518
|
|
|
716
519
|
/** Use `Alert` to inform the user of important changes or actions. */
|
|
717
520
|
var Alert = function (_a) {
|
|
718
|
-
var _b
|
|
719
|
-
var heading = _a.heading, headingLevel = _a.headingLevel, description = _a.description, links = _a.links,
|
|
720
|
-
var
|
|
521
|
+
var _b;
|
|
522
|
+
var heading = _a.heading, headingLevel = _a.headingLevel, description = _a.description, links = _a.links, _c = _a.status, status = _c === void 0 ? "general" : _c, isDismissable = _a.isDismissable, onDismiss = _a.onDismiss, icon = _a.icon, _d = _a.isMeasured, isMeasured = _d === void 0 ? false : _d, _e = _a.autoFocusOnMount, autoFocusOnMount = _e === void 0 ? false : _e, _f = _a.role, role = _f === void 0 ? "alert" : _f, props = __rest(_a, ["heading", "headingLevel", "description", "links", "status", "isDismissable", "onDismiss", "icon", "isMeasured", "autoFocusOnMount", "role"]);
|
|
523
|
+
var headingId = React.useId();
|
|
524
|
+
var descriptionId = React.useId();
|
|
721
525
|
var alertRef = React.useRef(null);
|
|
526
|
+
var _g = React.useState(false), isDismissed = _g[0], setIsDismissed = _g[1];
|
|
722
527
|
React.useEffect(function () {
|
|
723
528
|
var _a;
|
|
724
529
|
autoFocusOnMount && ((_a = alertRef.current) === null || _a === void 0 ? void 0 : _a.focus());
|
|
725
530
|
}, [autoFocusOnMount]);
|
|
726
|
-
var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
|
|
727
531
|
var onDismissHandler = function () {
|
|
728
532
|
setIsDismissed(true);
|
|
729
533
|
onDismiss && onDismiss();
|
|
730
534
|
};
|
|
535
|
+
var handleLinkClick = function (e, link) {
|
|
536
|
+
var _a;
|
|
537
|
+
e.preventDefault();
|
|
538
|
+
(_a = link.onClick) === null || _a === void 0 ? void 0 : _a.call(link, e);
|
|
539
|
+
};
|
|
731
540
|
var statusIcons = {
|
|
732
541
|
general: "alertGeneral",
|
|
733
542
|
error: "alertError",
|
|
@@ -737,35 +546,31 @@ var Alert = function (_a) {
|
|
|
737
546
|
if (isDismissed) {
|
|
738
547
|
return null;
|
|
739
548
|
}
|
|
740
|
-
return (React.createElement(
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
React.createElement(
|
|
549
|
+
return (React.createElement(Surface, { background: "light-brand-01", isTransparent: true },
|
|
550
|
+
React.createElement("div", __assign({ className: classNames("arc-Alert", (_b = {},
|
|
551
|
+
_b["arc-Alert--".concat(status)] = status !== "general",
|
|
552
|
+
_b)), role: role, tabIndex: -1, "aria-labelledby": headingId, "aria-describedby": descriptionId, ref: alertRef }, filterAttrs(props)),
|
|
553
|
+
isDismissable && (React.createElement("button", { "aria-label": "dismiss alert", className: "arc-Alert-dismiss", onClick: onDismissHandler, tabIndex: 0 },
|
|
554
|
+
React.createElement(ThemeIcon, { size: 24, icon: "alertDismiss" }))),
|
|
555
|
+
React.createElement("div", { className: "arc-Alert-icon" }, icon ? (React.createElement(Icon$1, { size: 24, icon: icon })) : (React.createElement(ThemeIcon, { size: 24, icon: statusIcons[status] }))),
|
|
556
|
+
React.createElement("div", { className: "arc-Alert-content" },
|
|
557
|
+
React.createElement(SemanticHeading, { className: classNames("arc-Alert-heading", {
|
|
558
|
+
"arc-Alert-heading--isDismissable": isDismissable,
|
|
559
|
+
}), id: headingId, level: headingLevel },
|
|
749
560
|
React.createElement(VisuallyHidden$2, null,
|
|
750
561
|
status,
|
|
751
562
|
" alert."),
|
|
752
|
-
heading)
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
React.createElement("ul", null, links === null || links === void 0 ? void 0 : links.map(function (link, index) {
|
|
563
|
+
heading),
|
|
564
|
+
description ? (React.isValidElement(description) ? (React.createElement("div", { className: "arc-Alert-description", id: descriptionId }, description)) : (React.createElement("div", { className: "arc-Alert-description" },
|
|
565
|
+
React.createElement(Text, { isMeasured: isMeasured, size: "s", id: descriptionId }, description)))) : null,
|
|
566
|
+
React.createElement("ul", { className: "arc-Alert-links" }, links === null || links === void 0 ? void 0 : links.map(function (link, index) {
|
|
757
567
|
var _a;
|
|
758
|
-
return (React.createElement("li", { key: index },
|
|
568
|
+
return (React.createElement("li", { key: index, className: "arc-Alert-link" },
|
|
759
569
|
React.createElement(Link, __assign({ href: link.href, "aria-label": link.screenReaderText, target: link.target, size: "s" }, (link.onClick && {
|
|
760
|
-
onClick: function (e) {
|
|
761
|
-
e.preventDefault();
|
|
762
|
-
link.onClick && link.onClick(e);
|
|
763
|
-
},
|
|
570
|
+
onClick: function (e) { return handleLinkClick(e, link); },
|
|
764
571
|
isButton: true,
|
|
765
572
|
})), (_a = link.children) !== null && _a !== void 0 ? _a : "")));
|
|
766
|
-
}))))
|
|
767
|
-
isDismissable && (React.createElement("button", { "aria-label": "dismiss alert", className: "arc-Alert-dismiss", onClick: onDismissHandler, tabIndex: 0 },
|
|
768
|
-
React.createElement(ThemeIcon, { size: 24, icon: "alertDismiss" })))));
|
|
573
|
+
}))))));
|
|
769
574
|
};
|
|
770
575
|
|
|
771
576
|
var GooglePlayIcon = function () { return (React.createElement("svg", { "aria-hidden": true, role: "presentation", xmlns: "http://www.w3.org/2000/svg", id: "artwork", version: "1.1", height: "48", width: "162", viewBox: "0 0 135 40" },
|
|
@@ -840,7 +645,7 @@ var ConditionalWrapper = function (_a) {
|
|
|
840
645
|
*/
|
|
841
646
|
var Image = function (_a) {
|
|
842
647
|
var _b;
|
|
843
|
-
var alt = _a.alt, _c = _a.fadeOnLoad, fadeOnLoad = _c === void 0 ? false : _c, _d = _a.anchor, anchor = _d === void 0 ? "C" : _d, children = _a.children, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest(_a, ["alt", "fadeOnLoad", "anchor", "children", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
|
|
648
|
+
var alt = _a.alt, _c = _a.fadeOnLoad, fadeOnLoad = _c === void 0 ? false : _c, _d = _a.anchor, anchor = _d === void 0 ? "C" : _d, children = _a.children, fetchPriority = _a.fetchPriority, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest(_a, ["alt", "fadeOnLoad", "anchor", "children", "fetchPriority", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
|
|
844
649
|
var _e = React.useState(false), visible = _e[0], setVisible = _e[1];
|
|
845
650
|
var imageRef = function (el) {
|
|
846
651
|
if (el) {
|
|
@@ -851,7 +656,7 @@ var Image = function (_a) {
|
|
|
851
656
|
"arc-Image-img--fade": fadeOnLoad,
|
|
852
657
|
"arc-Image-img--fadeVisible": fadeOnLoad && visible,
|
|
853
658
|
};
|
|
854
|
-
var img = (React.createElement("img", { ref: imageRef, className: classNames("arc-Image-img", animationClasses), alt: alt, height: fit === "cover" ? undefined : height, loading: loading, sizes: children ? undefined : sizes, src: src, srcSet: children ? undefined : srcSet, width: fit === "cover" ? undefined : width }));
|
|
659
|
+
var img = (React.createElement("img", { ref: imageRef, className: classNames("arc-Image-img", animationClasses), alt: alt, height: fit === "cover" ? undefined : height, loading: loading, sizes: children ? undefined : sizes, src: src, srcSet: children ? undefined : srcSet, width: fit === "cover" ? undefined : width, fetchPriority: fetchPriority }));
|
|
855
660
|
return (React.createElement("div", __assign({ className: classNames((_b = {
|
|
856
661
|
"arc-Image": true,
|
|
857
662
|
"arc-Image--cover": fit === "cover"
|
|
@@ -871,6 +676,27 @@ var fitOptions = ["cover"];
|
|
|
871
676
|
var loadingOptions = ["eager", "lazy"];
|
|
872
677
|
var overlayOptions = ["scrimBottomDark"];
|
|
873
678
|
|
|
679
|
+
/**
|
|
680
|
+
* Use `Heading` to display heading text.
|
|
681
|
+
*/
|
|
682
|
+
var Heading = function (_a) {
|
|
683
|
+
var _b;
|
|
684
|
+
var _c = _a.align, align = _c === void 0 ? "left" : _c, _d = _a.casing, casing = _d === void 0 ? "auto" : _d, _e = _a.color, color = _e === void 0 ? "auto" : _e, children = _a.children, level = _a.level, isInline = _a.isInline, _f = _a.fontStyle, fontStyle = _f === void 0 ? "default" : _f, _g = _a.isResponsive, isResponsive = _g === void 0 ? true : _g, _h = _a.isWordWrap, isWordWrap = _h === void 0 ? true : _h, size = _a.size, id = _a.id, props = __rest(_a, ["align", "casing", "color", "children", "level", "isInline", "fontStyle", "isResponsive", "isWordWrap", "size", "id"]);
|
|
685
|
+
var surface = React.useContext(Context$3).surface;
|
|
686
|
+
return (React.createElement(SemanticHeading, __assign({ id: id, level: level, className: classNames("arc-Heading", "arc-Heading--".concat(camelcase(fontStyle)), (_b = {
|
|
687
|
+
"arc-Heading--wrap": isWordWrap,
|
|
688
|
+
"arc-Heading--inline": isInline,
|
|
689
|
+
"arc-Heading--fixedSize": isResponsive === false
|
|
690
|
+
},
|
|
691
|
+
_b[suffixModifier("arc-Heading--align", align)] = align && align !== "left",
|
|
692
|
+
_b["arc-Heading--size".concat(size && size.toUpperCase())] = size,
|
|
693
|
+
_b["arc-Heading--casingNone"] = casing === "none",
|
|
694
|
+
_b["arc-Heading--colorBrand"] = color === "brand",
|
|
695
|
+
_b["arc-Heading--onDarkSurface"] = surface === "dark",
|
|
696
|
+
_b["arc-Heading--isInline"] = isInline,
|
|
697
|
+
_b)) }, filterAttrs(props)), children));
|
|
698
|
+
};
|
|
699
|
+
|
|
874
700
|
var AvatarContent = function (_a) {
|
|
875
701
|
var img = _a.img, initials = _a.initials, _b = _a.size, size = _b === void 0 ? "xl" : _b;
|
|
876
702
|
var textSize = {
|
|
@@ -935,7 +761,7 @@ var Badge = function (_a) {
|
|
|
935
761
|
*/
|
|
936
762
|
var VerticalSpace = function (_a) {
|
|
937
763
|
var _b;
|
|
938
|
-
var _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? "24" : _d, sizeS = _a.sizeS, sizeM = _a.sizeM, sizeL = _a.sizeL, sizeXL = _a.sizeXL, props = __rest(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL"]);
|
|
764
|
+
var _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? "24" : _d, sizeS = _a.sizeS, sizeM = _a.sizeM, sizeL = _a.sizeL, sizeXL = _a.sizeXL, sizeXXL = _a.sizeXXL, props = __rest(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL", "sizeXXL"]);
|
|
939
765
|
return (React.createElement("div", __assign({ className: classNames((_b = {
|
|
940
766
|
"arc-VerticalSpace": true
|
|
941
767
|
},
|
|
@@ -944,6 +770,7 @@ var VerticalSpace = function (_a) {
|
|
|
944
770
|
_b["arc-VerticalSpace--sizeM".concat(sizeM)] = sizeM,
|
|
945
771
|
_b["arc-VerticalSpace--sizeL".concat(sizeL)] = sizeL,
|
|
946
772
|
_b["arc-VerticalSpace--sizeXL".concat(sizeXL)] = sizeXL,
|
|
773
|
+
_b["arc-VerticalSpace--sizeXXL".concat(sizeXXL)] = sizeXXL,
|
|
947
774
|
_b["arc-VerticalSpace--debugVisible"] = isDebugVisible,
|
|
948
775
|
_b)) }, filterAttrs(props))));
|
|
949
776
|
};
|
|
@@ -966,7 +793,7 @@ var Box = function (_a) {
|
|
|
966
793
|
};
|
|
967
794
|
|
|
968
795
|
/**
|
|
969
|
-
* Use `Grid` to compose layouts on a 12-column grid.
|
|
796
|
+
* Use `Grid` to compose layouts on a 12-column grid. Aligns with sibling `Section` components.
|
|
970
797
|
*/
|
|
971
798
|
var Grid = function (_a) {
|
|
972
799
|
var children = _a.children, isFluid = _a.isFluid, isDebugVisible = _a.isDebugVisible, isGutterless = _a.isGutterless, _b = _a.isExtended, isExtended = _b === void 0 ? false : _b, props = __rest(_a, ["children", "isFluid", "isDebugVisible", "isGutterless", "isExtended"]);
|
|
@@ -1027,7 +854,7 @@ var BannerRow = function (_a) {
|
|
|
1027
854
|
};
|
|
1028
855
|
|
|
1029
856
|
var TemplateBanner = function (_a) {
|
|
1030
|
-
var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img,
|
|
857
|
+
var heading = _a.heading, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, label = _a.label, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, text = _a.text, img = _a.img, _d = _a.contentRatio, contentRatio = _d === void 0 ? "1/1" : _d, children = _a.children, _e = _a.alignment, alignment = _e === void 0 ? "center" : _e, additionalTopMargin = _a.additionalTopMargin, _f = _a.minHeight, minHeight = _f === void 0 ? 454 : _f, minHeightM = _a.minHeightM, minHeightL = _a.minHeightL, minHeightXL = _a.minHeightXL, _g = _a.headingSize, headingSize = _g === void 0 ? "xl" : _g, _h = _a.isReversed, isReversed = _h === void 0 ? false : _h, _j = _a.isElevated, isElevated = _j === void 0 ? false : _j, _k = _a.headingLevel, headingLevel = _k === void 0 ? "2" : _k, _l = _a.type, type = _l === void 0 ? "light" : _l, props = __rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
|
|
1031
858
|
var backgrounds = {
|
|
1032
859
|
dark: "dark-brand-02",
|
|
1033
860
|
light: "light-white",
|
|
@@ -1070,13 +897,13 @@ var TemplateBanner = function (_a) {
|
|
|
1070
897
|
"arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
|
|
1071
898
|
}) },
|
|
1072
899
|
label && (React.createElement(React.Fragment, null,
|
|
1073
|
-
React.createElement(Heading, { level:
|
|
900
|
+
React.createElement(Heading, { level: labelLevel, fontStyle: "overline", isWordWrap: false }, label),
|
|
1074
901
|
React.createElement(VerticalSpace, { size: "8" }))),
|
|
1075
|
-
React.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
|
|
902
|
+
React.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: false }, heading),
|
|
1076
903
|
text && (React.createElement(React.Fragment, null,
|
|
1077
904
|
React.createElement(VerticalSpace, { size: "16" }),
|
|
1078
905
|
React.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
|
|
1079
|
-
children && (React.createElement(
|
|
906
|
+
children && (React.createElement("span", null,
|
|
1080
907
|
React.createElement(VerticalSpace, { size: "32" }),
|
|
1081
908
|
children)))),
|
|
1082
909
|
img && contentRatio !== "1/0" && (React.createElement(GridCol, __assign({ "data-testid": "arc-TemplateBanner-imageCol", align: img.fit !== "cover"
|
|
@@ -1922,7 +1749,7 @@ var Spinner = function (_a) {
|
|
|
1922
1749
|
};
|
|
1923
1750
|
|
|
1924
1751
|
var ButtonV2 = React.forwardRef(function (_a, ref) {
|
|
1925
|
-
var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, isSpan = _a.isSpan, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconPosition", "size", "ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "isFullWidth", "isLoading", "isSpan", "onClick", "href", "id", "rel", "target", "type", "form"]);
|
|
1752
|
+
var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, iconActive = _a.iconActive, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, isSpan = _a.isSpan, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconActive", "iconPosition", "size", "ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "isFullWidth", "isLoading", "isSpan", "onClick", "href", "id", "rel", "target", "type", "form"]);
|
|
1926
1753
|
var surface = React.useContext(Context$3).surface;
|
|
1927
1754
|
var ButtonElement = isSpan ? "span" : "button";
|
|
1928
1755
|
var iconSizes = {
|
|
@@ -1949,21 +1776,23 @@ var ButtonV2 = React.forwardRef(function (_a, ref) {
|
|
|
1949
1776
|
return "auto";
|
|
1950
1777
|
}
|
|
1951
1778
|
};
|
|
1952
|
-
var
|
|
1779
|
+
var renderButtonContent = function () { return (React.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
1953
1780
|
"arc-ButtonV2-inner--iconBeforeText": iconPosition === "beforeText",
|
|
1954
1781
|
}) },
|
|
1955
1782
|
label && React.createElement("span", { className: "arc-ButtonV2-label" }, label),
|
|
1956
1783
|
isLoading && (React.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
1957
1784
|
React.createElement(Spinner, { size: size }))),
|
|
1958
|
-
icon && !isLoading && (React.createElement(
|
|
1959
|
-
React.createElement(
|
|
1785
|
+
icon && !isLoading && (React.createElement(React.Fragment, null,
|
|
1786
|
+
React.createElement("span", { className: classNames("arc-ButtonV2-icon", {
|
|
1787
|
+
"arc-ButtonV2-icon--hasActive": iconActive,
|
|
1788
|
+
}) },
|
|
1789
|
+
React.createElement(Icon$1, { color: getIconColor(buttonStyle), size: iconSizes[size], icon: icon })),
|
|
1790
|
+
iconActive && (React.createElement("span", { className: "arc-ButtonV2-icon--active" },
|
|
1791
|
+
React.createElement(Icon$1, { color: getIconColor(buttonStyle), size: iconSizes[size], icon: iconActive }))))))); };
|
|
1960
1792
|
if (href && !isLoading) {
|
|
1961
|
-
return (React.createElement("a", __assign({}, commonProps, { className: ButtonV2Classes, href: href, rel: rel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, target: target }),
|
|
1793
|
+
return (React.createElement("a", __assign({}, commonProps, { className: ButtonV2Classes, href: href, rel: rel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, target: target }), renderButtonContent()));
|
|
1962
1794
|
}
|
|
1963
|
-
return (React.createElement(ButtonElement, __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, disabled: isLoading, type: type, form: form }),
|
|
1964
|
-
React.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
1965
|
-
"arc-ButtonV2-inner--iconBeforeText": iconPosition === "beforeText",
|
|
1966
|
-
}) }, buttonContent)));
|
|
1795
|
+
return (React.createElement(ButtonElement, __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, disabled: isLoading, type: type, form: form }), renderButtonContent()));
|
|
1967
1796
|
});
|
|
1968
1797
|
|
|
1969
1798
|
var ButtonGroup = function (_a) {
|
|
@@ -2171,6 +2000,203 @@ function startOfMonth(dirtyDate) {
|
|
|
2171
2000
|
return date;
|
|
2172
2001
|
}
|
|
2173
2002
|
|
|
2003
|
+
/**
|
|
2004
|
+
* Do not edit directly
|
|
2005
|
+
* Generated on Fri, 24 Oct 2025 10:49:57 GMT
|
|
2006
|
+
*/
|
|
2007
|
+
var ArcSizeBreakpointsXs = "320px";
|
|
2008
|
+
var ArcSizeBreakpointsS = "636px";
|
|
2009
|
+
var ArcSizeBreakpointsM = "768px";
|
|
2010
|
+
var ArcSizeBreakpointsL = "1024px";
|
|
2011
|
+
var ArcSizeBreakpointsXl = "1280px";
|
|
2012
|
+
var ArcSizeBreakpointsXxl = "1440px";
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
2016
|
+
*/
|
|
2017
|
+
var useAriaDescribedby = function (_a) {
|
|
2018
|
+
var id = _a.id, _b = _a.idError, idError = _b === void 0 ? "".concat(id, "-error") : _b, _c = _a.idHelper, idHelper = _c === void 0 ? "".concat(id, "-helper") : _c, _d = _a.idDisclosure, idDisclosure = _d === void 0 ? "".concat(id, "-disclosure") : _d, errorMessage = _a.errorMessage, helper = _a.helper, disclosureText = _a.disclosureText;
|
|
2019
|
+
if (!id) {
|
|
2020
|
+
return {
|
|
2021
|
+
ariaDescribedby: undefined,
|
|
2022
|
+
idHelper: undefined,
|
|
2023
|
+
idError: undefined,
|
|
2024
|
+
idDisclosure: undefined,
|
|
2025
|
+
};
|
|
2026
|
+
}
|
|
2027
|
+
var ariaDescribedbyArr = [];
|
|
2028
|
+
if (errorMessage) {
|
|
2029
|
+
ariaDescribedbyArr.push(idError);
|
|
2030
|
+
}
|
|
2031
|
+
if (helper) {
|
|
2032
|
+
ariaDescribedbyArr.push(idHelper);
|
|
2033
|
+
}
|
|
2034
|
+
if (disclosureText) {
|
|
2035
|
+
ariaDescribedbyArr.push(idDisclosure);
|
|
2036
|
+
}
|
|
2037
|
+
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
2038
|
+
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
2039
|
+
};
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* Detect interaction mode
|
|
2043
|
+
*/
|
|
2044
|
+
var useInteractionMode = function () {
|
|
2045
|
+
var _a = React.useState("pointer"), interactionMode = _a[0], setInteractionMode = _a[1];
|
|
2046
|
+
React.useEffect(function () {
|
|
2047
|
+
var onKeyDown = function (event) {
|
|
2048
|
+
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
2049
|
+
return;
|
|
2050
|
+
}
|
|
2051
|
+
setInteractionMode("keyboard");
|
|
2052
|
+
};
|
|
2053
|
+
var onPointerDown = function () {
|
|
2054
|
+
setInteractionMode("pointer");
|
|
2055
|
+
};
|
|
2056
|
+
if (typeof window !== "undefined") {
|
|
2057
|
+
document.addEventListener("keydown", onKeyDown, true);
|
|
2058
|
+
document.addEventListener("click", onPointerDown, true);
|
|
2059
|
+
}
|
|
2060
|
+
return function () {
|
|
2061
|
+
if (typeof window !== "undefined") {
|
|
2062
|
+
document.removeEventListener("keydown", onKeyDown);
|
|
2063
|
+
document.removeEventListener("click", onPointerDown);
|
|
2064
|
+
}
|
|
2065
|
+
};
|
|
2066
|
+
}, []);
|
|
2067
|
+
return { interactionMode: interactionMode };
|
|
2068
|
+
};
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
2072
|
+
*/
|
|
2073
|
+
var useNumericInput = function (props) {
|
|
2074
|
+
var type = props.type === "number" ? "text" : props.type;
|
|
2075
|
+
var inputMode = props.inputMode;
|
|
2076
|
+
if (!props.inputMode) {
|
|
2077
|
+
if (props.type === "email") {
|
|
2078
|
+
inputMode = "email";
|
|
2079
|
+
}
|
|
2080
|
+
else if (props.type === "number") {
|
|
2081
|
+
inputMode = "numeric";
|
|
2082
|
+
}
|
|
2083
|
+
else if (props.type === "tel") {
|
|
2084
|
+
inputMode = "tel";
|
|
2085
|
+
}
|
|
2086
|
+
else if (props.type === "url") {
|
|
2087
|
+
inputMode = "url";
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
var pattern = props.pattern;
|
|
2091
|
+
if (!props.pattern && props.type === "number") {
|
|
2092
|
+
pattern = "[0-9]*";
|
|
2093
|
+
}
|
|
2094
|
+
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
2095
|
+
};
|
|
2096
|
+
|
|
2097
|
+
var usePagination = function (pageCount, selectedPage) {
|
|
2098
|
+
var formatValues = function (range) {
|
|
2099
|
+
return range.map(function (value) { return value.toString(); });
|
|
2100
|
+
};
|
|
2101
|
+
return React.useMemo(function () {
|
|
2102
|
+
if (pageCount > 7 && selectedPage < 5) {
|
|
2103
|
+
// show 1 - 5 the right dots are visible.
|
|
2104
|
+
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
2105
|
+
"...",
|
|
2106
|
+
pageCount,
|
|
2107
|
+
], false));
|
|
2108
|
+
}
|
|
2109
|
+
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
2110
|
+
// show numbers to the end but the left dots are visible
|
|
2111
|
+
return formatValues(__spreadArray([
|
|
2112
|
+
1,
|
|
2113
|
+
"..."
|
|
2114
|
+
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
2115
|
+
}
|
|
2116
|
+
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
2117
|
+
// show selected page with one number either side and both the left and the right dots are visible.
|
|
2118
|
+
return formatValues([
|
|
2119
|
+
1,
|
|
2120
|
+
"...",
|
|
2121
|
+
selectedPage - 1,
|
|
2122
|
+
selectedPage,
|
|
2123
|
+
selectedPage + 1,
|
|
2124
|
+
"...",
|
|
2125
|
+
pageCount,
|
|
2126
|
+
]);
|
|
2127
|
+
}
|
|
2128
|
+
// show all pages from pageCount
|
|
2129
|
+
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
2130
|
+
}, [pageCount, selectedPage]);
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
var useThemeElement = function () {
|
|
2134
|
+
var _a = React.useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
2135
|
+
var setThemeElement = function (el) {
|
|
2136
|
+
el &&
|
|
2137
|
+
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
2138
|
+
};
|
|
2139
|
+
return [themeElement, setThemeElement];
|
|
2140
|
+
};
|
|
2141
|
+
|
|
2142
|
+
var useUniqueString = function (value) {
|
|
2143
|
+
var id = React.useId();
|
|
2144
|
+
return "".concat(value, "-").concat(id);
|
|
2145
|
+
};
|
|
2146
|
+
|
|
2147
|
+
var IS_SERVER = typeof window === "undefined";
|
|
2148
|
+
/**
|
|
2149
|
+
* @typedef MediaQueryOutputs
|
|
2150
|
+
* @param {boolean} matches - does the document match the media query?
|
|
2151
|
+
*/
|
|
2152
|
+
/**
|
|
2153
|
+
* Handle with care!
|
|
2154
|
+
*
|
|
2155
|
+
* If you need to change something in the browser based on @media query, you
|
|
2156
|
+
* probably don’t need this hook. Use CSS media queries instead.
|
|
2157
|
+
*
|
|
2158
|
+
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
2159
|
+
* these rare cases, use this hook to make media query matches available
|
|
2160
|
+
* to React JavaScript code.
|
|
2161
|
+
*
|
|
2162
|
+
* @param {string} mediaQuery - the media query to parse
|
|
2163
|
+
* @returns {MediaQueryOutputs}
|
|
2164
|
+
*/
|
|
2165
|
+
var useMediaQuery = function (mediaQuery) {
|
|
2166
|
+
var getMatches = function (query) {
|
|
2167
|
+
if (IS_SERVER) {
|
|
2168
|
+
return false;
|
|
2169
|
+
}
|
|
2170
|
+
return window.matchMedia(query).matches;
|
|
2171
|
+
};
|
|
2172
|
+
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
2173
|
+
// Handles the change event of the media query.
|
|
2174
|
+
var handleChange = function () {
|
|
2175
|
+
setMatches(getMatches(mediaQuery));
|
|
2176
|
+
};
|
|
2177
|
+
React.useEffect(function () {
|
|
2178
|
+
var matchMedia = window.matchMedia(mediaQuery);
|
|
2179
|
+
// Triggered at the first client-side load and if query changes
|
|
2180
|
+
handleChange();
|
|
2181
|
+
// Use deprecated `addListener` and `removeListener` to support Safari < 14 (#135)
|
|
2182
|
+
if (matchMedia.addListener) {
|
|
2183
|
+
matchMedia.addListener(handleChange);
|
|
2184
|
+
}
|
|
2185
|
+
else {
|
|
2186
|
+
matchMedia.addEventListener("change", handleChange);
|
|
2187
|
+
}
|
|
2188
|
+
return function () {
|
|
2189
|
+
if (matchMedia.removeListener) {
|
|
2190
|
+
matchMedia.removeListener(handleChange);
|
|
2191
|
+
}
|
|
2192
|
+
else {
|
|
2193
|
+
matchMedia.removeEventListener("change", handleChange);
|
|
2194
|
+
}
|
|
2195
|
+
};
|
|
2196
|
+
}, [mediaQuery]);
|
|
2197
|
+
return matches;
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2174
2200
|
var containsDate = function (dates, compareDate) {
|
|
2175
2201
|
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2176
2202
|
};
|
|
@@ -5485,33 +5511,18 @@ var CalendarDayGrid = function (_a) {
|
|
|
5485
5511
|
React.createElement("tbody", { onKeyDown: handleKeyDown }, getWeeksInMonth(month).map(function (week, i) { return (React.createElement("tr", { key: "".concat(month.getTime(), "-week-").concat(i) }, week.map(function (day) { return (React.createElement(CalendarDayNumber, { ref: autoFocusRef, shouldRender: isSameMonth(month, day), key: day.getTime(), date: day, isFocusWithinDayGrid: isFocusWithinDayGrid })); }))); }))))); })));
|
|
5486
5512
|
};
|
|
5487
5513
|
|
|
5488
|
-
/**
|
|
5489
|
-
* Do not edit directly
|
|
5490
|
-
* Generated file
|
|
5491
|
-
*/
|
|
5492
|
-
|
|
5493
|
-
const BtIconChevronLeftMid =
|
|
5494
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='m7.621 8 2.849 2.852a.673.673 0 0 1-.732 1.097.7.7 0 0 1-.218-.145L6.196 8.476a.673.673 0 0 1 0-.951L9.52 4.197a.67.67 0 0 1 1.146.476c0 .178-.07.349-.196.475z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
5495
|
-
|
|
5496
|
-
/**
|
|
5497
|
-
* Do not edit directly
|
|
5498
|
-
* Generated file
|
|
5499
|
-
*/
|
|
5500
|
-
|
|
5501
|
-
const BtIconChevronRightMid =
|
|
5502
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='M9.045 8 6.197 5.148a.673.673 0 0 1 .731-1.097.7.7 0 0 1 .218.146l3.324 3.328a.673.673 0 0 1 0 .95l-3.324 3.329A.67.67 0 0 1 6 11.328c0-.178.07-.35.197-.476z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
5503
|
-
|
|
5504
5514
|
var CalendarNavButton = function (_a) {
|
|
5505
5515
|
var isDisabled = _a.isDisabled, onClick = _a.onClick, direction = _a.direction, ariaLabel = _a.ariaLabel;
|
|
5506
5516
|
var icons = {
|
|
5507
|
-
previous:
|
|
5508
|
-
next:
|
|
5517
|
+
previous: "calendarLeft",
|
|
5518
|
+
next: "calendarRight",
|
|
5509
5519
|
};
|
|
5510
5520
|
return (React.createElement("button", { "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick, type: "button", className: classNames("arc-CalendarNavButton", {
|
|
5511
5521
|
"arc-CalendarNavButton--previous": direction === "previous",
|
|
5512
5522
|
"arc-CalendarNavButton--next": direction === "next",
|
|
5513
5523
|
}) },
|
|
5514
|
-
React.createElement(
|
|
5524
|
+
React.createElement("div", { className: "arc-CalendarNavButton-icon" },
|
|
5525
|
+
React.createElement(ThemeIcon, { icon: icons[direction] }))));
|
|
5515
5526
|
};
|
|
5516
5527
|
|
|
5517
5528
|
var CalendarDoubleMonthView = function (_a) {
|
|
@@ -7788,18 +7799,18 @@ function useEmblaCarousel(options = {}, plugins = []) {
|
|
|
7788
7799
|
useEmblaCarousel.globalOptions = undefined;
|
|
7789
7800
|
|
|
7790
7801
|
var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
|
|
7791
|
-
var S_BREAKPOINT
|
|
7792
|
-
var M_BREAKPOINT
|
|
7793
|
-
var L_BREAKPOINT
|
|
7794
|
-
var XL_BREAKPOINT
|
|
7802
|
+
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7803
|
+
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7804
|
+
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7805
|
+
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7795
7806
|
|
|
7796
7807
|
var getOptions = function (itemsToScroll, loop, responsive) {
|
|
7797
7808
|
var breakpoints = [
|
|
7798
7809
|
[XS_BREAKPOINT, "xs"],
|
|
7799
|
-
[S_BREAKPOINT
|
|
7800
|
-
[M_BREAKPOINT
|
|
7801
|
-
[L_BREAKPOINT
|
|
7802
|
-
[XL_BREAKPOINT
|
|
7810
|
+
[S_BREAKPOINT, "s"],
|
|
7811
|
+
[M_BREAKPOINT, "m"],
|
|
7812
|
+
[L_BREAKPOINT, "l"],
|
|
7813
|
+
[XL_BREAKPOINT, "xl"],
|
|
7803
7814
|
];
|
|
7804
7815
|
var breakpointOptions = breakpoints.reduce(function (acc, _a) {
|
|
7805
7816
|
var _b;
|
|
@@ -7870,10 +7881,10 @@ var Carousel = function (_a) {
|
|
|
7870
7881
|
var _k = React.useState(true), prevButtonEnabled = _k[0], setPrevButtonEnabled = _k[1];
|
|
7871
7882
|
var _l = React.useState(true), nextButtonEnabled = _l[0], setNextButtonEnabled = _l[1];
|
|
7872
7883
|
var isMinWidthArcBreakpointXs = useMediaQuery(XS_BREAKPOINT);
|
|
7873
|
-
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT
|
|
7874
|
-
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT
|
|
7875
|
-
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT
|
|
7876
|
-
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT
|
|
7884
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
7885
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
7886
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
7887
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
7877
7888
|
var slideWidth = getSlideWidth({
|
|
7878
7889
|
screenSizes: {
|
|
7879
7890
|
xl: isMinWidthArcBreakpointXl,
|
|
@@ -7993,14 +8004,14 @@ var Provider$4 = Context$2.Provider;
|
|
|
7993
8004
|
*/
|
|
7994
8005
|
var FormControl = function (_a) {
|
|
7995
8006
|
var _b;
|
|
7996
|
-
var children = _a.children, _c = _a.elementType, ElementType = _c === void 0 ? "div" : _c, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, supplementaryInfo = _a.supplementaryInfo, id = _a.id, label = _a.label, _d = _a.labelSize, labelSize = _d === void 0 ? "l" : _d, _e = _a.labelPosition, labelPosition = _e === void 0 ? "top" : _e, _f = _a.requirementStatus, requirementStatus = _f === void 0 ? "optional" : _f, _g = _a.helperUnderLabel, helperUnderLabel = _g === void 0 ? false : _g, isDisabled = _a.isDisabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "supplementaryInfo", "id", "label", "labelSize", "labelPosition", "requirementStatus", "helperUnderLabel", "isDisabled", "hideLabel", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
8007
|
+
var children = _a.children, _c = _a.elementType, ElementType = _c === void 0 ? "div" : _c, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, supplementaryInfo = _a.supplementaryInfo, id = _a.id, label = _a.label, _d = _a.labelSize, labelSize = _d === void 0 ? "l" : _d, _e = _a.labelPosition, labelPosition = _e === void 0 ? "top" : _e, _f = _a.requirementStatus, requirementStatus = _f === void 0 ? "optional" : _f, _g = _a.helperUnderLabel, helperUnderLabel = _g === void 0 ? false : _g, isDisabled = _a.isDisabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, _j = _a.isErrorAlert, isErrorAlert = _j === void 0 ? false : _j, props = __rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "supplementaryInfo", "id", "label", "labelSize", "labelPosition", "requirementStatus", "helperUnderLabel", "isDisabled", "hideLabel", "disclosureTitle", "disclosureText", "onClickDisclosure", "isErrorAlert"]);
|
|
7997
8008
|
var surface = React.useContext(Context$3).surface;
|
|
7998
|
-
var
|
|
8009
|
+
var _k = useAriaDescribedby({
|
|
7999
8010
|
disclosureText: disclosureText,
|
|
8000
8011
|
errorMessage: errorMessage,
|
|
8001
8012
|
helper: helper,
|
|
8002
8013
|
id: htmlFor || id, // `htmlFor` is preference to keep this deterministic with TextInput
|
|
8003
|
-
}), ariaDescribedby =
|
|
8014
|
+
}), ariaDescribedby = _k.ariaDescribedby, idError = _k.idError, idHelper = _k.idHelper, idDisclosure = _k.idDisclosure;
|
|
8004
8015
|
var LabelType = ElementType === "div" ? "label" : "legend";
|
|
8005
8016
|
var elementProps = {};
|
|
8006
8017
|
var labelProps = {};
|
|
@@ -8041,7 +8052,8 @@ var FormControl = function (_a) {
|
|
|
8041
8052
|
label && (React.createElement("span", { className: classNames("arc-FormControl-labelText", {
|
|
8042
8053
|
"arc-FormControl-labelText--withOptional": requirementStatus === "optional",
|
|
8043
8054
|
}) }, label)),
|
|
8044
|
-
requirementStatus === "optional" && (React.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)"))
|
|
8055
|
+
requirementStatus === "optional" && (React.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)")),
|
|
8056
|
+
LabelType === "legend" && (React.createElement(VisuallyHidden$2, null, "".concat(errorMessage ? "Error. " + errorMessage : "", ". ").concat(helper))))),
|
|
8045
8057
|
helperUnderLabel && helper && (React.createElement("div", { className: "arc-FormControl-helper arc-FormControl-helper--underLabel", id: idHelper }, helper)),
|
|
8046
8058
|
children,
|
|
8047
8059
|
React.createElement("div", { className: classNames("arc-FormControl-info", {
|
|
@@ -8049,78 +8061,86 @@ var FormControl = function (_a) {
|
|
|
8049
8061
|
}) },
|
|
8050
8062
|
((helper && !helperUnderLabel) ||
|
|
8051
8063
|
errorMessage ||
|
|
8052
|
-
disclosureTitle) && (React.createElement("div", { className: "arc-FormControl-helperContainer" }, errorMessage ? (React.createElement("div", { className: "arc-FormControl-error", id: idError },
|
|
8064
|
+
disclosureTitle) && (React.createElement("div", { className: "arc-FormControl-helperContainer" }, errorMessage ? (React.createElement("div", { className: "arc-FormControl-error", id: idError, role: isErrorAlert ? "alert" : undefined },
|
|
8053
8065
|
React.createElement("span", { className: "arc-FormControl-error--icon" },
|
|
8066
|
+
React.createElement(VisuallyHidden$2, null, "Error."),
|
|
8054
8067
|
React.createElement(ThemeIcon, { icon: "formControlAlert" })),
|
|
8055
8068
|
errorMessage)) : (!helperUnderLabel &&
|
|
8056
8069
|
(disclosureTitle ? (React.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize === "m" ? "l" : labelSize, id: idDisclosure }, disclosureText)) : (helper && (React.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))),
|
|
8057
8070
|
supplementaryInfo && (React.createElement("div", { className: "arc-FormControl-supplementaryInfo" }, supplementaryInfo))))));
|
|
8058
8071
|
};
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
var Checkbox = React.forwardRef(function (_a, ref) {
|
|
8064
|
-
var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, _e = _a.hideLabel, hideLabel = _e === void 0 ? false : _e, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _f = _a.size, size = _f === void 0 ? "m" : _f, value = _a.value, _g = _a.checkboxAlignment, checkboxAlignment = _g === void 0 ? "center" : _g, _h = _a.indeterminate, indeterminate = _h === void 0 ? false : _h, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "hideLabel", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment", "indeterminate"]);
|
|
8065
|
-
var requirementStatus = React.useContext(Context$2).requirementStatus;
|
|
8066
|
-
var surface = React.useContext(Context$3).surface;
|
|
8067
|
-
var _j = useAriaDescribedby({
|
|
8068
|
-
id: id,
|
|
8069
|
-
errorMessage: errorMessage,
|
|
8070
|
-
}), ariaDescribedby = _j.ariaDescribedby, idError = _j.idError;
|
|
8072
|
+
|
|
8073
|
+
var CheckboxIcon = function (_a) {
|
|
8074
|
+
var id = _a.id, name = _a.name, checked = _a.checked, _b = _a.indeterminate, indeterminate = _b === void 0 ? false : _b, isDisabled = _a.isDisabled, isRequired = _a.isRequired, _c = _a.size, size = _c === void 0 ? "m" : _c, value = _a.value, error = _a.error, ariaDescribedBy = _a.ariaDescribedBy, onBlur = _a.onBlur, onChange = _a.onChange, props = __rest(_a, ["id", "name", "checked", "indeterminate", "isDisabled", "isRequired", "size", "value", "error", "ariaDescribedBy", "onBlur", "onChange"]);
|
|
8075
|
+
var requirementStatus = React.useContext(Context$2).requirementStatus;
|
|
8071
8076
|
var internalRef = React.useRef(null);
|
|
8072
|
-
var
|
|
8073
|
-
internalRef.current = el;
|
|
8074
|
-
if (typeof ref === "object" && ref !== null) {
|
|
8075
|
-
ref.current = el;
|
|
8076
|
-
}
|
|
8077
|
-
else if (typeof ref === "function") {
|
|
8078
|
-
ref(el);
|
|
8079
|
-
}
|
|
8080
|
-
};
|
|
8077
|
+
var surface = React.useContext(Context$3).surface;
|
|
8081
8078
|
React.useEffect(function () {
|
|
8082
8079
|
if (internalRef.current) {
|
|
8083
8080
|
internalRef.current.indeterminate = indeterminate;
|
|
8084
8081
|
}
|
|
8085
8082
|
}, [indeterminate, checked]);
|
|
8086
8083
|
var tickSize = {
|
|
8087
|
-
s:
|
|
8088
|
-
m:
|
|
8084
|
+
s: 14,
|
|
8085
|
+
m: 18,
|
|
8089
8086
|
};
|
|
8090
|
-
var
|
|
8091
|
-
var checkedProps =
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
checkedProps.defaultChecked = true;
|
|
8097
|
-
}
|
|
8087
|
+
var isControlled = typeof checked !== "undefined" && typeof onChange === "function";
|
|
8088
|
+
var checkedProps = isControlled
|
|
8089
|
+
? { checked: checked }
|
|
8090
|
+
: checked
|
|
8091
|
+
? { defaultChecked: true }
|
|
8092
|
+
: {};
|
|
8098
8093
|
if (!checked && onChange) {
|
|
8099
8094
|
indeterminate = false;
|
|
8100
8095
|
}
|
|
8101
8096
|
if (requirementStatus === "required") {
|
|
8102
8097
|
isRequired = true;
|
|
8103
8098
|
}
|
|
8104
|
-
return (React.createElement("
|
|
8099
|
+
return (React.createElement("label", { htmlFor: id, className: classNames({
|
|
8100
|
+
"arc-CheckboxIcon": true,
|
|
8101
|
+
"arc-CheckboxIcon--disabled": isDisabled,
|
|
8102
|
+
"arc-CheckboxIcon--invalid": error,
|
|
8103
|
+
"arc-CheckboxIcon--small": size === "s",
|
|
8104
|
+
"arc-CheckboxIcon--onDarkSurface": surface === "dark",
|
|
8105
|
+
}) },
|
|
8106
|
+
React.createElement("input", __assign({ "aria-describedby": ariaDescribedBy ? ariaDescribedBy : error ? "id-error" : undefined, "aria-invalid": error, "aria-checked": checked && !indeterminate
|
|
8107
|
+
? true
|
|
8108
|
+
: indeterminate && checked
|
|
8109
|
+
? "mixed"
|
|
8110
|
+
: false, className: classNames("arc-CheckboxIcon-input"), disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: internalRef, required: isRequired, type: "checkbox", value: value }, checkedProps, props)),
|
|
8111
|
+
React.createElement("span", { className: classNames("arc-CheckboxIcon-box") }, indeterminate ? (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "none" },
|
|
8112
|
+
React.createElement("rect", { x: "4", y: "8", width: "7.51", height: "1", rx: "0.5", fill: "currentColor" }))) : (React.createElement(ThemeIcon, { icon: "checkboxChecked", size: tickSize[size] })))));
|
|
8113
|
+
};
|
|
8114
|
+
|
|
8115
|
+
/**
|
|
8116
|
+
* Use `Checkbox` to allow users to select individual options.
|
|
8117
|
+
*/
|
|
8118
|
+
var Checkbox = React.forwardRef(function (_a) {
|
|
8119
|
+
var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, _e = _a.hideLabel, hideLabel = _e === void 0 ? false : _e, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _f = _a.size, size = _f === void 0 ? "m" : _f, value = _a.value, _g = _a.checkboxAlignment, checkboxAlignment = _g === void 0 ? "center" : _g, _h = _a.indeterminate, indeterminate = _h === void 0 ? false : _h, _j = _a.isError, isError = _j === void 0 ? false : _j, _k = _a.isErrorAlert, isErrorAlert = _k === void 0 ? false : _k, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "hideLabel", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment", "indeterminate", "isError", "isErrorAlert"]);
|
|
8120
|
+
var requirementStatus = React.useContext(Context$2).requirementStatus;
|
|
8121
|
+
var surface = React.useContext(Context$3).surface;
|
|
8122
|
+
var idError = useAriaDescribedby({
|
|
8123
|
+
id: id,
|
|
8124
|
+
errorMessage: errorMessage,
|
|
8125
|
+
}).idError;
|
|
8126
|
+
var idLabel = "".concat(id, "-label");
|
|
8127
|
+
var isIndeterminate = checked ? indeterminate : false;
|
|
8128
|
+
if (requirementStatus === "required") {
|
|
8129
|
+
isRequired = true;
|
|
8130
|
+
}
|
|
8131
|
+
return (React.createElement("div", __assign({ className: classNames({
|
|
8105
8132
|
"arc-Checkbox": true,
|
|
8106
8133
|
"arc-Checkbox--disabled": isDisabled,
|
|
8107
|
-
"arc-Checkbox--invalid": errorMessage,
|
|
8134
|
+
"arc-Checkbox--invalid": errorMessage || isError,
|
|
8108
8135
|
"arc-Checkbox--small": size === "s",
|
|
8109
8136
|
"arc-Checkbox--onDarkSurface": surface === "dark",
|
|
8110
|
-
}) },
|
|
8137
|
+
}) }, filterAttrs(props)),
|
|
8111
8138
|
React.createElement("label", { id: idLabel, htmlFor: id, className: classNames("arc-Checkbox-label", {
|
|
8112
8139
|
"arc-Checkbox-label--top": checkboxAlignment === "top",
|
|
8113
8140
|
}) },
|
|
8114
|
-
React.createElement(
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
? "mixed"
|
|
8118
|
-
: "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: synchronizeRefs, required: isRequired, type: "checkbox", value: value }, filterAttrs(props))),
|
|
8119
|
-
React.createElement("span", { className: "arc-Checkbox-box" }, indeterminate ? (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "none" },
|
|
8120
|
-
React.createElement("rect", { x: "4", y: "8", width: "7.51", height: "1", rx: "0.5", fill: "currentColor" }))) : (React.createElement("svg", { style: tickSize[size], viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
8121
|
-
React.createElement("path", { d: "M5.99459 14L0.350576 8.23277C0.126079 8.00285 0 7.69132 0 7.36653C0 7.04173 0.126079 6.7302 0.350576 6.50028C0.578979 6.27752 0.88258 6.15324 1.19832 6.15324C1.51405 6.15324 1.81765 6.27752 2.04606 6.50028L5.99459 10.535L15.9385 0.374054C16.0491 0.25703 16.1814 0.163688 16.3277 0.0994738C16.474 0.0352599 16.6313 0.00145997 16.7905 4.626e-05C16.9497 -0.00136745 17.1076 0.0296342 17.255 0.0912406C17.4023 0.152847 17.5362 0.243825 17.6488 0.358867C17.7614 0.473908 17.8504 0.610709 17.9107 0.761287C17.971 0.911865 18.0013 1.0732 18 1.23589C17.9986 1.39858 17.9655 1.55936 17.9026 1.70884C17.8398 1.85833 17.7485 1.99352 17.6339 2.10655L5.99459 14Z", fill: "currentColor" })))),
|
|
8122
|
-
React.createElement("span", __assign({}, (checkboxAlignment === "top" && {
|
|
8123
|
-
className: "arc-Checkbox-content--marginTop",
|
|
8141
|
+
React.createElement(CheckboxIcon, { size: size, id: id, error: errorMessage || isError ? true : false, isDisabled: isDisabled, isRequired: isRequired, checked: checked, indeterminate: isIndeterminate, ariaDescribedBy: idError, name: name, onBlur: onBlur, onChange: onChange, value: value }),
|
|
8142
|
+
React.createElement("span", __assign({ className: "arc-Checkbox-content" }, (checkboxAlignment === "top" && {
|
|
8143
|
+
className: "arc-Checkbox-content--marginTop arc-Checkbox-content",
|
|
8124
8144
|
})), hideLabel ? (React.createElement(VisuallyHidden$2, null,
|
|
8125
8145
|
label,
|
|
8126
8146
|
!isRequired && requirementStatus !== "optional" ? (React.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
|
|
@@ -8128,14 +8148,14 @@ var Checkbox = React.forwardRef(function (_a, ref) {
|
|
|
8128
8148
|
label,
|
|
8129
8149
|
!isRequired && requirementStatus !== "optional" ? (React.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
|
|
8130
8150
|
helper && (React.createElement("span", { className: "arc-Checkbox-helper" }, helper)))))),
|
|
8131
|
-
errorMessage && (React.createElement("div", { id: idError, className: "arc-Checkbox-error" },
|
|
8132
|
-
React.createElement("span", { className: "arc-Checkbox-error--icon" },
|
|
8151
|
+
errorMessage && (React.createElement("div", { id: idError, className: "arc-Checkbox-error", role: isErrorAlert ? "alert" : undefined },
|
|
8152
|
+
React.createElement("span", { className: "arc-Checkbox-error--icon", "aria-label": "Error. " },
|
|
8133
8153
|
React.createElement(ThemeIcon, { icon: "checkboxError" })),
|
|
8134
8154
|
errorMessage))));
|
|
8135
8155
|
});
|
|
8136
8156
|
|
|
8137
8157
|
/**
|
|
8138
|
-
* Use `Columns` to compose layouts on a 12-column grid.
|
|
8158
|
+
* Use `Columns` to compose layouts on a 12-column grid. Place within `Section` components to align with any sibling `Grid` components.
|
|
8139
8159
|
*/
|
|
8140
8160
|
var Columns = function (_a) {
|
|
8141
8161
|
var children = _a.children, _b = _a.isGutterless, isGutterless = _b === void 0 ? false : _b, _c = _a.isExtended, isExtended = _c === void 0 ? false : _c, props = __rest(_a, ["children", "isGutterless", "isExtended"]);
|
|
@@ -13846,8 +13866,8 @@ var ContentSwitcher = function (_a) {
|
|
|
13846
13866
|
};
|
|
13847
13867
|
|
|
13848
13868
|
var ContentSwitcherTab = React.forwardRef(function (_a, ref) {
|
|
13849
|
-
var label = _a.label, value = _a.value, onClick = _a.onClick, props = __rest(_a, ["label", "value", "onClick"]);
|
|
13850
|
-
return (React.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick }, filterAttrs(props)),
|
|
13869
|
+
var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, props = __rest(_a, ["label", "value", "onClick", "onFocus"]);
|
|
13870
|
+
return (React.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs(props)),
|
|
13851
13871
|
React.createElement(Text, { size: "m" }, label)));
|
|
13852
13872
|
});
|
|
13853
13873
|
|
|
@@ -13921,6 +13941,9 @@ var ContentSwitcherList = function (_a) {
|
|
|
13921
13941
|
onClick: function () {
|
|
13922
13942
|
return scrollTabIntoView({ current: tabRefs.current[index] });
|
|
13923
13943
|
},
|
|
13944
|
+
onFocus: function () {
|
|
13945
|
+
return scrollTabIntoView({ current: tabRefs.current[index] });
|
|
13946
|
+
},
|
|
13924
13947
|
});
|
|
13925
13948
|
}
|
|
13926
13949
|
else {
|
|
@@ -15163,13 +15186,16 @@ var ScrollDownButton = SelectScrollDownButton;
|
|
|
15163
15186
|
|
|
15164
15187
|
// src/get-text-width/get-text-width.ts
|
|
15165
15188
|
var getTextWidth = (text, font) => {
|
|
15189
|
+
if (typeof document === "undefined") {
|
|
15190
|
+
return 236;
|
|
15191
|
+
}
|
|
15166
15192
|
const canvas = document.createElement("canvas");
|
|
15167
15193
|
const context = canvas.getContext("2d");
|
|
15168
15194
|
if (context) {
|
|
15169
15195
|
context.font = getComputedStyle(document.body).font;
|
|
15170
15196
|
return context.measureText(text).width;
|
|
15171
15197
|
}
|
|
15172
|
-
return
|
|
15198
|
+
return 236;
|
|
15173
15199
|
};
|
|
15174
15200
|
|
|
15175
15201
|
var ContentSwitcherDropdown = function (_a) {
|
|
@@ -15177,15 +15203,22 @@ var ContentSwitcherDropdown = function (_a) {
|
|
|
15177
15203
|
var initialValue = defaultValue || tabs[0].value;
|
|
15178
15204
|
var _d = useThemeElement(), themeElement = _d[0], setThemeElement = _d[1];
|
|
15179
15205
|
var _e = React.useState(initialValue), uncontrolledValue = _e[0], setUncontrolledValue = _e[1];
|
|
15206
|
+
var _f = React.useState(236), longestLabelWidth = _f[0], setLongestLabelWidth = _f[1];
|
|
15207
|
+
// compute longest width client side
|
|
15208
|
+
React.useEffect(function () {
|
|
15209
|
+
if (tabs.length === 0)
|
|
15210
|
+
return;
|
|
15211
|
+
var longestLabel = tabs.reduce(function (longest, current) {
|
|
15212
|
+
return current.label.length > longest.length ? current.label : longest;
|
|
15213
|
+
}, "");
|
|
15214
|
+
setLongestLabelWidth(getTextWidth(longestLabel));
|
|
15215
|
+
}, [tabs]);
|
|
15180
15216
|
var isControlled = typeof value !== "undefined";
|
|
15181
15217
|
var selectValue = isControlled ? value : uncontrolledValue;
|
|
15182
15218
|
var onValueChangeHandler = function (value) {
|
|
15183
15219
|
onValueChange && onValueChange(value);
|
|
15184
15220
|
setUncontrolledValue(value);
|
|
15185
15221
|
};
|
|
15186
|
-
var LongestLabelWidth = getTextWidth(tabs.reduce(function (longest, current) {
|
|
15187
|
-
return current.label.length > longest.length ? current.label : longest;
|
|
15188
|
-
}, ""));
|
|
15189
15222
|
return (React.createElement(React.Fragment, null,
|
|
15190
15223
|
React.createElement(Root2$2, { defaultValue: defaultValue, onValueChange: onValueChangeHandler, value: selectValue },
|
|
15191
15224
|
React.createElement("span", __assign({ className: classNames("arc-ContentSwitcherDropdown-selectTriggerWrapper", {
|
|
@@ -15193,7 +15226,7 @@ var ContentSwitcherDropdown = function (_a) {
|
|
|
15193
15226
|
"arc-ContentSwitcherDropdown-selectTriggerWrapper--isFluid": isFluid,
|
|
15194
15227
|
}), ref: setThemeElement }, (!isFluid && {
|
|
15195
15228
|
style: {
|
|
15196
|
-
width: width ? width :
|
|
15229
|
+
width: width ? width : longestLabelWidth + 84,
|
|
15197
15230
|
},
|
|
15198
15231
|
}), filterAttrs(props)),
|
|
15199
15232
|
React.createElement(Trigger$2, { className: "arc-ContentSwitcherDropdown-selectTrigger", "aria-label": ariaLabel },
|
|
@@ -15279,8 +15312,8 @@ var TextInputComponent = React.forwardRef(function (_a, ref) {
|
|
|
15279
15312
|
});
|
|
15280
15313
|
// Although this is used within FormControlWrapper, it's deterministic so we can call it here too
|
|
15281
15314
|
var ariaDescribedby = useAriaDescribedby({
|
|
15282
|
-
errorMessage: errorMessage,
|
|
15283
15315
|
id: id,
|
|
15316
|
+
errorMessage: errorMessage,
|
|
15284
15317
|
helper: helper,
|
|
15285
15318
|
disclosureText: disclosureText,
|
|
15286
15319
|
}).ariaDescribedby;
|
|
@@ -15807,6 +15840,7 @@ var Disclosure = function (_a) {
|
|
|
15807
15840
|
|
|
15808
15841
|
var Download = function (_a) {
|
|
15809
15842
|
var name = _a.name, onClick = _a.onClick, description = _a.description, href = _a.href, type = _a.type, size = _a.size, _b = _a.icon, icon = _b === void 0 ? "downloadFile" : _b, _c = _a.isCompact, isCompact = _c === void 0 ? false : _c, _d = _a.isFullWidth, isFullWidth = _d === void 0 ? true : _d;
|
|
15843
|
+
var surface = React.useContext(Context$3).surface;
|
|
15810
15844
|
var linkProps = href
|
|
15811
15845
|
? {
|
|
15812
15846
|
href: href,
|
|
@@ -15820,6 +15854,7 @@ var Download = function (_a) {
|
|
|
15820
15854
|
return (React.createElement("a", __assign({}, linkProps, { className: classNames("arc-Download", {
|
|
15821
15855
|
"arc-Download--maxContent": !isFullWidth,
|
|
15822
15856
|
"arc-Download--compact": isCompact,
|
|
15857
|
+
"arc-Download--onDarkSurface": surface === "dark",
|
|
15823
15858
|
}), "aria-label": name, onClick: onClick }),
|
|
15824
15859
|
React.createElement("div", { className: "arc-Download-iconContainer" },
|
|
15825
15860
|
React.createElement(ThemeIcon, { size: isCompact ? 40 : 64, icon: icon })),
|
|
@@ -16134,9 +16169,12 @@ var Title = DialogTitle;
|
|
|
16134
16169
|
var Description = DialogDescription;
|
|
16135
16170
|
|
|
16136
16171
|
var Drawer = function (_a) {
|
|
16137
|
-
var isOpen = _a.isOpen, children = _a.children, onRequestClose = _a.onRequestClose, _b = _a.noOverlay, noOverlay = _b === void 0 ? false : _b, _c = _a.shouldReturnFocus, shouldReturnFocus = _c === void 0 ? true : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, height = _a.height, width = _a.width, _e = _a.position, position = _e === void 0 ? "right" : _e, props = __rest(_a, ["isOpen", "children", "onRequestClose", "noOverlay", "shouldReturnFocus", "size", "height", "width", "position"]);
|
|
16138
|
-
var
|
|
16172
|
+
var isOpen = _a.isOpen, children = _a.children, onRequestClose = _a.onRequestClose, _b = _a.noOverlay, noOverlay = _b === void 0 ? false : _b, _c = _a.shouldReturnFocus, shouldReturnFocus = _c === void 0 ? true : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, height = _a.height, width = _a.width, _e = _a.position, position = _e === void 0 ? "right" : _e, _f = _a.draggable, draggable = _f === void 0 ? false : _f, _g = _a.snapPoints, snapPoints = _g === void 0 ? ["30%", "60%", "90%"] : _g, _h = _a.snapBehaviour, snapBehaviour = _h === void 0 ? "nearest" : _h, dragDownToDismiss = _a.dragDownToDismiss, onDragHandleClick = _a.onDragHandleClick, ariaDescription = _a.ariaDescription, props = __rest(_a, ["isOpen", "children", "onRequestClose", "noOverlay", "shouldReturnFocus", "size", "height", "width", "position", "draggable", "snapPoints", "snapBehaviour", "dragDownToDismiss", "onDragHandleClick", "ariaDescription"]);
|
|
16173
|
+
var _j = useThemeElement(), themeElement = _j[0], setThemeElement = _j[1];
|
|
16139
16174
|
var triggerRef = React.useRef(null);
|
|
16175
|
+
var contentRef = React.useRef(null);
|
|
16176
|
+
var _k = React.useState(0), drawerHeight = _k[0], setDrawerHeight = _k[1];
|
|
16177
|
+
var normalisedSnapPoints = snapPoints && snapPoints.length > 0 ? snapPoints : ["30%", "60%", "90%"];
|
|
16140
16178
|
var setTriggerElement = function () {
|
|
16141
16179
|
return shouldReturnFocus &&
|
|
16142
16180
|
(triggerRef.current = document.activeElement);
|
|
@@ -16146,18 +16184,147 @@ var Drawer = function (_a) {
|
|
|
16146
16184
|
triggerRef.current.focus();
|
|
16147
16185
|
}
|
|
16148
16186
|
};
|
|
16149
|
-
var
|
|
16187
|
+
var dragRef = React.useRef({
|
|
16188
|
+
active: false,
|
|
16189
|
+
startY: 0,
|
|
16190
|
+
deltaY: 0,
|
|
16191
|
+
startH: 0,
|
|
16192
|
+
});
|
|
16193
|
+
var sizingProperties = __assign(__assign({}, (position !== "bottom" && { width: width })), (position === "bottom" && { height: drawerHeight || height }));
|
|
16194
|
+
var onHandleUp = function (e) {
|
|
16195
|
+
onHandleUpCore(e.nativeEvent);
|
|
16196
|
+
};
|
|
16197
|
+
var onHandleClick = function (e) {
|
|
16198
|
+
onHandleUpCore(e.nativeEvent);
|
|
16199
|
+
onDragHandleClick === null || onDragHandleClick === void 0 ? void 0 : onDragHandleClick(e);
|
|
16200
|
+
};
|
|
16201
|
+
var onHandleMove = function (e) {
|
|
16202
|
+
if (!dragRef.current.active)
|
|
16203
|
+
return;
|
|
16204
|
+
dragRef.current.deltaY = e.clientY - dragRef.current.startY;
|
|
16205
|
+
var newHeight = dragRef.current.startH - dragRef.current.deltaY;
|
|
16206
|
+
setDrawerHeight(Math.round(newHeight));
|
|
16207
|
+
};
|
|
16208
|
+
var resolveToPx = function (input) {
|
|
16209
|
+
// if already a number, assume px
|
|
16210
|
+
if (typeof input === "number")
|
|
16211
|
+
return input;
|
|
16212
|
+
var str = input.trim().toLowerCase();
|
|
16213
|
+
if (str.endsWith("%")) {
|
|
16214
|
+
var percentValue = parseFloat(str);
|
|
16215
|
+
return (window.innerHeight * percentValue) / 100;
|
|
16216
|
+
}
|
|
16217
|
+
if (str.endsWith("px")) {
|
|
16218
|
+
var pixelValue = parseFloat(str);
|
|
16219
|
+
return pixelValue;
|
|
16220
|
+
}
|
|
16221
|
+
var numericValue = Number(str);
|
|
16222
|
+
return Number.isFinite(numericValue) ? numericValue : undefined;
|
|
16223
|
+
};
|
|
16224
|
+
var onHandleUpCore = function (e) {
|
|
16225
|
+
if (!dragRef.current.active || !contentRef.current)
|
|
16226
|
+
return;
|
|
16227
|
+
if (dragDownToDismiss && contentRef.current.clientHeight < 100) {
|
|
16228
|
+
dragRef.current.active = false;
|
|
16229
|
+
dragRef.current.deltaY = 0;
|
|
16230
|
+
e.currentTarget.releasePointerCapture(e.pointerId);
|
|
16231
|
+
setDrawerHeight(undefined);
|
|
16232
|
+
onRequestClose();
|
|
16233
|
+
return;
|
|
16234
|
+
}
|
|
16235
|
+
dragRef.current.active = false;
|
|
16236
|
+
e.currentTarget.releasePointerCapture(e.pointerId);
|
|
16237
|
+
var currentHeight = contentRef.current.clientHeight;
|
|
16238
|
+
// turn all snapPoints into px values. Order the values.
|
|
16239
|
+
var snapsPx = (normalisedSnapPoints !== null && normalisedSnapPoints !== void 0 ? normalisedSnapPoints : [])
|
|
16240
|
+
.map(resolveToPx)
|
|
16241
|
+
.filter(function (value) { return value !== undefined; }) // remove undefined values
|
|
16242
|
+
.sort(function (a, b) { return a - b; });
|
|
16243
|
+
var targetSnap = undefined;
|
|
16244
|
+
if (snapBehaviour === "next") {
|
|
16245
|
+
var deltaY = Math.sign(dragRef.current.deltaY);
|
|
16246
|
+
if (deltaY === -1) {
|
|
16247
|
+
// User scrolled up
|
|
16248
|
+
for (var i = 0; i < snapsPx.length; i++) {
|
|
16249
|
+
if (snapsPx[i] > currentHeight) {
|
|
16250
|
+
targetSnap = snapsPx[i];
|
|
16251
|
+
break;
|
|
16252
|
+
}
|
|
16253
|
+
else if (currentHeight > snapsPx[snapsPx.length - 1]) {
|
|
16254
|
+
targetSnap = snapsPx[snapsPx.length - 1];
|
|
16255
|
+
}
|
|
16256
|
+
}
|
|
16257
|
+
}
|
|
16258
|
+
else if (deltaY === 1) {
|
|
16259
|
+
// User scrolled down
|
|
16260
|
+
for (var i = 0; i < snapsPx.length; i++) {
|
|
16261
|
+
if (snapsPx[i] < currentHeight) {
|
|
16262
|
+
targetSnap = snapsPx[i];
|
|
16263
|
+
}
|
|
16264
|
+
else if (currentHeight < snapsPx[0]) {
|
|
16265
|
+
targetSnap = snapsPx[0];
|
|
16266
|
+
}
|
|
16267
|
+
}
|
|
16268
|
+
}
|
|
16269
|
+
else if (deltaY === 0) {
|
|
16270
|
+
// User clicked without moving go to next snap point
|
|
16271
|
+
for (var i = 0; i < snapsPx.length; i++) {
|
|
16272
|
+
if (snapsPx[i] > currentHeight) {
|
|
16273
|
+
targetSnap = snapsPx[i];
|
|
16274
|
+
break;
|
|
16275
|
+
}
|
|
16276
|
+
}
|
|
16277
|
+
// If no bigger snap was found → loop back to the first
|
|
16278
|
+
if (!targetSnap) {
|
|
16279
|
+
targetSnap = snapsPx[0];
|
|
16280
|
+
}
|
|
16281
|
+
}
|
|
16282
|
+
}
|
|
16283
|
+
if (snapBehaviour === "nearest") {
|
|
16284
|
+
targetSnap = Math.round(snapsPx[0]);
|
|
16285
|
+
var bestDiff = Math.abs(currentHeight - snapsPx[0]);
|
|
16286
|
+
for (var i = 0; i < snapsPx.length; i++) {
|
|
16287
|
+
var diff = Math.abs(currentHeight - snapsPx[i]);
|
|
16288
|
+
if (diff < bestDiff) {
|
|
16289
|
+
targetSnap = Math.round(snapsPx[i]);
|
|
16290
|
+
bestDiff = diff;
|
|
16291
|
+
}
|
|
16292
|
+
}
|
|
16293
|
+
}
|
|
16294
|
+
if (snapBehaviour === "none") {
|
|
16295
|
+
targetSnap = currentHeight;
|
|
16296
|
+
}
|
|
16297
|
+
setDrawerHeight(targetSnap);
|
|
16298
|
+
};
|
|
16299
|
+
var onHandleDown = function (e) {
|
|
16300
|
+
if (!contentRef.current)
|
|
16301
|
+
return;
|
|
16302
|
+
dragRef.current.active = true;
|
|
16303
|
+
// record where the pointer was when dragging started
|
|
16304
|
+
dragRef.current.startY = e.clientY;
|
|
16305
|
+
// record inital height of drawer
|
|
16306
|
+
dragRef.current.startH = contentRef.current.clientHeight;
|
|
16307
|
+
// keep moving drawer even if cursor has left pill
|
|
16308
|
+
e.target.setPointerCapture(e.pointerId);
|
|
16309
|
+
};
|
|
16150
16310
|
return (React.createElement("div", { ref: setThemeElement },
|
|
16151
16311
|
React.createElement(Root$3, { open: isOpen },
|
|
16152
16312
|
React.createElement(Portal$3, { container: themeElement },
|
|
16153
16313
|
React.createElement(Overlay, { className: classNames("arc-Drawer-overlay", {
|
|
16154
16314
|
"arc-Drawer-overlay--visible": !noOverlay,
|
|
16155
16315
|
}) },
|
|
16156
|
-
React.createElement(
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16316
|
+
React.createElement(VisuallyHidden$2, null,
|
|
16317
|
+
React.createElement(Description, null, ariaDescription)),
|
|
16318
|
+
React.createElement(Surface, { background: "light-brand-01", isTransparent: true },
|
|
16319
|
+
React.createElement(Content$1, __assign({ className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position), { "arc-Drawer-slider--draggable": draggable }, {
|
|
16320
|
+
"arc-Drawer-slider--transition": !dragRef.current.active,
|
|
16321
|
+
}), style: __assign({}, sizingProperties), onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: onRequestClose, onInteractOutside: onRequestClose, "aria-modal": "true", ref: contentRef }, filterAttrs(props)),
|
|
16322
|
+
React.createElement("div", { className: "arc-Drawer-closeButtonContainer" },
|
|
16323
|
+
React.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
|
|
16324
|
+
React.createElement(ThemeIcon, { size: 32, icon: "drawerClose" })),
|
|
16325
|
+
draggable && position === "bottom" && (React.createElement("div", { className: "arc-Drawer-dragHandle", onPointerDown: onHandleDown, onPointerUp: onHandleUp, onPointerMove: onHandleMove, onClick: onHandleClick, role: "separator", "aria-label": "Drag to resize the drawer" },
|
|
16326
|
+
React.createElement("div", { className: "arc-Drawer-dragHandlePill", "data-testid": "arc-Drawer-dragHandlePill" })))),
|
|
16327
|
+
children)))))));
|
|
16161
16328
|
};
|
|
16162
16329
|
|
|
16163
16330
|
/**
|
|
@@ -16176,7 +16343,7 @@ var Rule = function (_a, props) {
|
|
|
16176
16343
|
};
|
|
16177
16344
|
|
|
16178
16345
|
var DrawerHeader = function (_a) {
|
|
16179
|
-
var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, props = __rest(_a, ["title", "isFixed"]);
|
|
16346
|
+
var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, isResponsive = _a.isResponsive, props = __rest(_a, ["title", "isFixed", "isResponsive"]);
|
|
16180
16347
|
return (React.createElement(React.Fragment, null,
|
|
16181
16348
|
React.createElement("div", __assign({ className: classNames("arc-DrawerHeader", {
|
|
16182
16349
|
"arc-DrawerHeader--isFixed": isFixed,
|
|
@@ -16184,7 +16351,7 @@ var DrawerHeader = function (_a) {
|
|
|
16184
16351
|
React.createElement("div", { className: "arc-DrawerHeader-content" },
|
|
16185
16352
|
React.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
|
|
16186
16353
|
React.createElement(Title, { asChild: true },
|
|
16187
|
-
React.createElement(
|
|
16354
|
+
React.createElement(Heading, { isResponsive: isResponsive, size: "m" }, title)))),
|
|
16188
16355
|
isFixed && (React.createElement("div", { className: "arc-DrawerHeader-divider" },
|
|
16189
16356
|
React.createElement(Rule, null))))));
|
|
16190
16357
|
};
|
|
@@ -16213,12 +16380,15 @@ var DrawerContent = function (_a) {
|
|
|
16213
16380
|
*/
|
|
16214
16381
|
var Elevation = function (_a) {
|
|
16215
16382
|
var _b;
|
|
16216
|
-
var children = _a.children, _c = _a.
|
|
16383
|
+
var children = _a.children, _c = _a.level, level = _c === void 0 ? "5" : _c, _d = _a.isFullWidth, isFullWidth = _d === void 0 ? false : _d, props = __rest(_a, ["children", "level", "isFullWidth"]);
|
|
16217
16384
|
return (React.createElement("div", __assign({ className: classNames((_b = {},
|
|
16218
16385
|
_b["arc-Elevation"] = true,
|
|
16219
|
-
_b["arc-Elevation--levelOne"] = elevationLevel === "1",
|
|
16220
|
-
_b["arc-Elevation--levelTwo"] = elevationLevel === "2",
|
|
16221
16386
|
_b["arc-Elevation--fullWidth"] = isFullWidth,
|
|
16387
|
+
_b["arc-Elevation--levelOne"] = level === "1",
|
|
16388
|
+
_b["arc-Elevation--levelTwo"] = level === "2",
|
|
16389
|
+
_b["arc-Elevation--levelThree"] = level === "3",
|
|
16390
|
+
_b["arc-Elevation--levelFour"] = level === "4",
|
|
16391
|
+
_b["arc-Elevation--levelFive"] = level === "5",
|
|
16222
16392
|
_b)) }, filterAttrs(props)), children));
|
|
16223
16393
|
};
|
|
16224
16394
|
|
|
@@ -16287,297 +16457,112 @@ var Filter = function (_a) {
|
|
|
16287
16457
|
// If no tags are selected, show all items
|
|
16288
16458
|
if (selectedControls.length === 0) {
|
|
16289
16459
|
return true;
|
|
16290
|
-
}
|
|
16291
|
-
// If logicType is "AND", all selected tags should be present in the item's tags
|
|
16292
|
-
if (logicType === "AND") {
|
|
16293
|
-
return selectedControls.every(function (control) {
|
|
16294
|
-
return filteredItem.props.tags.includes(control.label);
|
|
16295
|
-
});
|
|
16296
|
-
}
|
|
16297
|
-
else {
|
|
16298
|
-
// Check if item has tags property and if any selected tags are present in item's tags
|
|
16299
|
-
return selectedControls.some(function (control) {
|
|
16300
|
-
return filteredItem.props.tags.includes(control.label);
|
|
16301
|
-
});
|
|
16302
|
-
}
|
|
16303
|
-
});
|
|
16304
|
-
return (React.createElement("div", __assign({ className: "arc-Filter" }, filterAttrs(props)),
|
|
16305
|
-
React.createElement(FilterControls, { controlsAlignment: controlsAlignment }, filterControls.map(function (_a, index) {
|
|
16306
|
-
var label = _a.label, isSelected = _a.isSelected;
|
|
16307
|
-
return (React.createElement(FilterControl, { key: index, onClick: function () { return handleControlClick(index); }, isSelected: isSelected }, label));
|
|
16308
|
-
})),
|
|
16309
|
-
React.createElement(FilterItems, { displayType: displayType, error: error }, filteredItems.map(function (item) { return item.props.children; }))));
|
|
16310
|
-
};
|
|
16311
|
-
|
|
16312
|
-
var FilterItem = function (_a) {
|
|
16313
|
-
var children = _a.children;
|
|
16314
|
-
return React.createElement("div", { className: "arc-FilterItem" }, children);
|
|
16315
|
-
};
|
|
16316
|
-
|
|
16317
|
-
var GhostedHeroBanner = function (_a) {
|
|
16318
|
-
var heading = _a.heading, headingLevel = _a.headingLevel, label = _a.label, text = _a.text, img = _a.img, children = _a.children, props = __rest(_a, ["heading", "headingLevel", "label", "text", "img", "children"]);
|
|
16319
|
-
return (React.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
|
|
16320
|
-
React.createElement("div", { className: "arc-GhostedHeroBanner-content" },
|
|
16321
|
-
label && (React.createElement(React.Fragment, null,
|
|
16322
|
-
React.createElement(Heading, { fontStyle: "overline" }, label),
|
|
16323
|
-
React.createElement(VerticalSpace, { size: "8" }))),
|
|
16324
|
-
React.createElement(Heading, { level: headingLevel, size: "xl" }, heading),
|
|
16325
|
-
text && (React.createElement(React.Fragment, null,
|
|
16326
|
-
React.createElement(VerticalSpace, { size: "16" }),
|
|
16327
|
-
React.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
|
|
16328
|
-
children && (React.createElement(React.Fragment, null,
|
|
16329
|
-
React.createElement(VerticalSpace, { size: "32" }),
|
|
16330
|
-
children))),
|
|
16331
|
-
React.createElement("div", { className: "arc-GhostedHeroBanner-image " }, img && React.createElement(BannerImage, __assign({ ariaHidden: true }, img)))));
|
|
16332
|
-
};
|
|
16333
|
-
|
|
16334
|
-
var shorterCssColorNames;
|
|
16335
|
-
var hasRequiredShorterCssColorNames;
|
|
16336
|
-
|
|
16337
|
-
function requireShorterCssColorNames () {
|
|
16338
|
-
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
16339
|
-
hasRequiredShorterCssColorNames = 1;
|
|
16340
|
-
shorterCssColorNames = {
|
|
16341
|
-
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16342
|
-
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
16343
|
-
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
16344
|
-
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
16345
|
-
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
16346
|
-
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
16347
|
-
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
16348
|
-
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
16349
|
-
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
16350
|
-
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
16351
|
-
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16352
|
-
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
16353
|
-
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
16354
|
-
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
16355
|
-
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
16356
|
-
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
16357
|
-
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
16358
|
-
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
16359
|
-
green: /#008000(ff)?(?!\w)/gi,
|
|
16360
|
-
grey: /#808080(ff)?(?!\w)/gi,
|
|
16361
|
-
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
16362
|
-
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
16363
|
-
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
16364
|
-
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
16365
|
-
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
16366
|
-
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
16367
|
-
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
16368
|
-
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
16369
|
-
maroon: /#800000(ff)?(?!\w)/gi,
|
|
16370
|
-
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
16371
|
-
navy: /#000080(ff)?(?!\w)/gi,
|
|
16372
|
-
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
16373
|
-
olive: /#808000(ff)?(?!\w)/gi,
|
|
16374
|
-
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
16375
|
-
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
16376
|
-
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
16377
|
-
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
16378
|
-
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
16379
|
-
purple: /#800080(ff)?(?!\w)/gi,
|
|
16380
|
-
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
16381
|
-
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
16382
|
-
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
16383
|
-
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
16384
|
-
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
16385
|
-
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
16386
|
-
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
16387
|
-
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
16388
|
-
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
16389
|
-
teal: /#008080(ff)?(?!\w)/gi,
|
|
16390
|
-
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
16391
|
-
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
16392
|
-
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
16393
|
-
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
16394
|
-
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
16395
|
-
};
|
|
16396
|
-
return shorterCssColorNames;
|
|
16397
|
-
}
|
|
16398
|
-
|
|
16399
|
-
var miniSvgDataUri;
|
|
16400
|
-
var hasRequiredMiniSvgDataUri;
|
|
16401
|
-
|
|
16402
|
-
function requireMiniSvgDataUri () {
|
|
16403
|
-
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
16404
|
-
hasRequiredMiniSvgDataUri = 1;
|
|
16405
|
-
var shorterNames = requireShorterCssColorNames();
|
|
16406
|
-
var REGEX = {
|
|
16407
|
-
whitespace: /\s+/g,
|
|
16408
|
-
urlHexPairs: /%[\dA-F]{2}/g,
|
|
16409
|
-
quotes: /"/g,
|
|
16410
|
-
};
|
|
16411
|
-
|
|
16412
|
-
function collapseWhitespace(str) {
|
|
16413
|
-
return str.trim().replace(REGEX.whitespace, ' ');
|
|
16414
|
-
}
|
|
16415
|
-
|
|
16416
|
-
function dataURIPayload(string) {
|
|
16417
|
-
return encodeURIComponent(string)
|
|
16418
|
-
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
16419
|
-
}
|
|
16420
|
-
|
|
16421
|
-
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
16422
|
-
// their equivalent URL-encoded hex codes.
|
|
16423
|
-
function colorCodeToShorterNames(string) {
|
|
16424
|
-
Object.keys(shorterNames).forEach(function(key) {
|
|
16425
|
-
if (shorterNames[key].test(string)) {
|
|
16426
|
-
string = string.replace(shorterNames[key], key);
|
|
16427
|
-
}
|
|
16428
|
-
});
|
|
16429
|
-
|
|
16430
|
-
return string;
|
|
16431
|
-
}
|
|
16432
|
-
|
|
16433
|
-
function specialHexEncode(match) {
|
|
16434
|
-
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
16435
|
-
case '%20': return ' ';
|
|
16436
|
-
case '%3D': return '=';
|
|
16437
|
-
case '%3A': return ':';
|
|
16438
|
-
case '%2F': return '/';
|
|
16439
|
-
default: return match.toLowerCase(); // compresses better
|
|
16440
|
-
}
|
|
16441
|
-
}
|
|
16442
|
-
|
|
16443
|
-
function svgToTinyDataUri(svgString) {
|
|
16444
|
-
if (typeof svgString !== 'string') {
|
|
16445
|
-
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
16446
|
-
}
|
|
16447
|
-
// Strip the Byte-Order Mark if the SVG has one
|
|
16448
|
-
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
16449
|
-
|
|
16450
|
-
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
16451
|
-
.replace(REGEX.quotes, "'");
|
|
16452
|
-
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
16453
|
-
}
|
|
16454
|
-
|
|
16455
|
-
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
16456
|
-
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
16457
|
-
};
|
|
16458
|
-
|
|
16459
|
-
miniSvgDataUri = svgToTinyDataUri;
|
|
16460
|
-
return miniSvgDataUri;
|
|
16461
|
-
}
|
|
16462
|
-
|
|
16463
|
-
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
16464
|
-
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
16465
|
-
|
|
16466
|
-
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
16467
|
-
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
16468
|
-
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
16469
|
-
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
16470
|
-
|
|
16471
|
-
var HomepageDark1 = "\n <svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n >\n <g clipPath=\"url(#clip0_6783_736)\">\n <g clipPath=\"url(#clip1_6783_736)\">\n <path\n d=\"M-6.26531 52.9727L66.2344 94.4728V177.473L-6.26531 218.973L-78.7656 177.473V94.4728L-6.26531 52.9727Z\"\n fill=\"#8D248D\"\n />\n <path\n d=\"M-6.26531 797.973L66.2344 839.474V922.471L-6.26531 963.973L-78.7656 922.471V839.474L-6.26531 797.973Z\"\n fill=\"#9E1DBE\"\n />\n <path\n d=\"M710.235 51.9727L782.234 93.7228V177.223L710.235 218.973L638.234 177.223V93.7228L710.235 51.9727Z\"\n fill=\"#5E3690\"\n />\n <path\n d=\"M710.235 797.973L782.234 839.474V922.471L710.235 963.973L638.234 922.471V839.474L710.235 797.973Z\"\n fill=\"#A73BC6\"\n />\n <path\n d=\"M-6.26531 300.973L66.2344 342.723V426.223L-6.26531 467.973L-78.7656 426.223V342.723L-6.26531 300.973Z\"\n fill=\"#9F21A2\"\n />\n <path\n d=\"M-6.26531 1045.97L66.2344 1087.47V1170.47L-6.26531 1211.97L-78.7656 1170.47V1087.47L-6.26531 1045.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M710.235 299.973L782.234 341.723V425.223L710.235 466.973L638.234 425.223V341.723L710.235 299.973Z\"\n fill=\"#803EBA\"\n />\n <path\n d=\"M709.235 1045.97L781.234 1087.47V1170.47L709.235 1211.97L637.234 1170.47V1087.47L709.235 1045.97Z\"\n fill=\"#B03EC0\"\n />\n <path\n d=\"M-6.26531 548.973L66.2344 590.723V674.223L-6.26531 715.973L-78.7656 674.223V590.723L-6.26531 548.973Z\"\n fill=\"#A61DB7\"\n />\n <path\n d=\"M710.235 547.973L782.234 589.723V673.223L710.235 714.973L638.234 673.223V589.723L710.235 547.973Z\"\n fill=\"#9C38CB\"\n />\n <path\n d=\"M66.2343 -71.0273L138.234 -29.2773V54.2228L66.2343 95.9727L-5.76562 54.2228V-29.2773L66.2343 -71.0273Z\"\n fill=\"#8D248D\"\n />\n <path\n d=\"M65.2343 672.973L137.234 714.723V798.22L65.2343 839.973L-6.76562 798.22V714.723L65.2343 672.973Z\"\n fill=\"#9D1EBA\"\n />\n <path\n d=\"M781.234 -72.0273L853.234 -30.2773V53.2228L781.234 94.9727L709.234 53.2228V-30.2773L781.234 -72.0273Z\"\n fill=\"#3B4C90\"\n />\n <path\n d=\"M781.234 672.973L853.234 714.723V798.22L781.234 839.973L709.234 798.22V714.723L781.234 672.973Z\"\n fill=\"#9644CE\"\n />\n <path\n d=\"M65.2343 176.973L137.234 218.473V301.473L65.2343 342.973L-6.76562 301.473V218.473L65.2343 176.973Z\"\n fill=\"#8E218F\"\n />\n <path\n d=\"M64.2343 921.973L136.234 963.719V1047.23L64.2343 1088.97L-7.76562 1047.23V963.719L64.2343 921.973Z\"\n fill=\"#9523C0\"\n />\n <path\n d=\"M781.234 175.973L853.234 217.473V300.473L781.234 341.973L709.234 300.473V217.473L781.234 175.973Z\"\n fill=\"#5848A3\"\n />\n <path\n d=\"M781.234 920.973L853.234 962.719V1046.23L781.234 1087.97L709.234 1046.23V962.719L781.234 920.973Z\"\n fill=\"#A547C4\"\n />\n <path\n d=\"M66.2343 424.973L138.234 466.473V549.473L66.2343 590.973L-5.76562 549.473V466.473L66.2343 424.973Z\"\n fill=\"#A21FAC\"\n />\n <path\n d=\"M66.2343 1168.97L138.234 1210.47V1293.47L66.2343 1334.97L-5.76562 1293.47V1210.47L66.2343 1168.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M781.234 423.973L853.234 465.473V548.473L781.234 589.973L709.234 548.473V465.473L781.234 423.973Z\"\n fill=\"#844BCE\"\n />\n <path\n d=\"M781.234 1168.97L853.234 1210.47V1293.47L781.234 1334.97L709.234 1293.47V1210.47L781.234 1168.97Z\"\n fill=\"#B03EC0\"\n />\n <path\n d=\"M137.734 52.9727L209.234 94.7228V178.223L137.734 219.973L66.2344 178.223V94.7228L137.734 52.9727Z\"\n fill=\"#8D248D\"\n />\n <path\n d=\"M136.734 797.973L208.234 839.474V922.471L136.734 963.973L65.2344 922.471V839.474L136.734 797.973Z\"\n fill=\"#9E1DBE\"\n />\n <path\n d=\"M853.234 51.9727L925.234 93.7228V177.223L853.234 218.973L781.234 177.223V93.7228L853.234 51.9727Z\"\n fill=\"#3B4C90\"\n />\n <path\n d=\"M853.234 796.973L925.234 838.474V921.471L853.234 962.973L781.234 921.471V838.474L853.234 796.973Z\"\n fill=\"#934ECC\"\n />\n <path\n d=\"M136.734 300.973L208.234 342.723V426.223L136.734 467.973L65.2344 426.223V342.723L136.734 300.973Z\"\n fill=\"#9F21A2\"\n />\n <path\n d=\"M137.734 1045.97L209.234 1087.47V1170.47L137.734 1211.97L66.2344 1170.47V1087.47L137.734 1045.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M853.234 299.973L925.234 341.723V425.223L853.234 466.973L781.234 425.223V341.723L853.234 299.973Z\"\n fill=\"#585BBC\"\n />\n <path\n d=\"M853.234 1044.97L925.234 1086.47V1169.47L853.234 1210.97L781.234 1169.47V1086.47L853.234 1044.97Z\"\n fill=\"#9F50C4\"\n />\n <path\n d=\"M137.734 548.973L209.234 590.723V674.223L137.734 715.973L66.2344 674.223V590.723L137.734 548.973Z\"\n fill=\"#A61DB7\"\n />\n <path\n d=\"M852.234 547.973L924.234 589.723V673.223L852.234 714.973L780.234 673.223V589.723L852.234 547.973Z\"\n fill=\"#7D54D4\"\n />\n <path\n d=\"M208.734 -71.0273L280.234 -29.2773V54.2228L208.734 95.9727L137.234 54.2228V-29.2773L208.734 -71.0273Z\"\n fill=\"#A4329B\"\n />\n <path\n d=\"M208.234 672.973L280.234 714.723V798.22L208.234 839.973L136.234 798.22V714.723L208.234 672.973Z\"\n fill=\"#A718BC\"\n />\n <path\n d=\"M923.734 -72.0273L995.234 -30.2773V53.2228L923.734 94.9727L852.234 53.2228V-30.2773L923.734 -72.0273Z\"\n fill=\"#2B548D\"\n />\n <path\n d=\"M923.734 671.973L995.234 713.723V797.22L923.734 838.973L852.234 797.22V713.723L923.734 671.973Z\"\n fill=\"#745FD7\"\n />\n <path\n d=\"M208.234 177.973L280.234 219.473V302.473L208.234 343.973L136.234 302.473V219.473L208.234 177.973Z\"\n fill=\"#A0279D\"\n />\n <path\n d=\"M208.234 920.973L280.234 962.719V1046.23L208.234 1087.97L136.234 1046.23V962.719L208.234 920.973Z\"\n fill=\"#A01BC0\"\n />\n <path\n d=\"M923.734 176.973L995.234 218.473V301.473L923.734 342.973L852.234 301.473V218.473L923.734 176.973Z\"\n fill=\"#375BA2\"\n />\n <path\n d=\"M923.734 919.973L995.234 961.719V1045.23L923.734 1086.97L852.234 1045.23V961.719L923.734 919.973Z\"\n fill=\"#8F54CE\"\n />\n <path\n d=\"M208.234 424.973L280.234 466.473V549.473L208.234 590.973L136.234 549.473V466.473L208.234 424.973Z\"\n fill=\"#AF1FB4\"\n />\n <path\n d=\"M209.234 1168.97L281.234 1210.47V1293.47L209.234 1334.97L137.234 1293.47V1210.47L209.234 1168.97Z\"\n fill=\"#9723C0\"\n />\n <path\n d=\"M923.734 423.973L995.234 465.473V548.473L923.734 589.973L852.234 548.473V465.473L923.734 423.973Z\"\n fill=\"#586DD4\"\n />\n <path\n d=\"M923.734 1168.97L995.234 1210.47V1293.47L923.734 1334.97L852.234 1293.47V1210.47L923.734 1168.97Z\"\n fill=\"#9F50C4\"\n />\n <path\n d=\"M279.734 52.9727L352.234 94.7228V178.223L279.734 219.973L207.234 178.223V94.7228L279.734 52.9727Z\"\n fill=\"#A4329B\"\n />\n <path\n d=\"M279.734 796.973L352.234 838.474V921.471L279.734 962.973L207.234 921.471V838.474L279.734 796.973Z\"\n fill=\"#AA13BE\"\n />\n <path\n d=\"M995.234 52.9727L1067.23 94.7228V178.223L995.234 219.973L923.234 178.223V94.7228L995.234 52.9727Z\"\n fill=\"#2B548D\"\n />\n <path\n d=\"M995.234 795.973L1067.23 837.474V920.471L995.234 961.973L923.234 920.471V837.474L995.234 795.973Z\"\n fill=\"#7162DA\"\n />\n <path\n d=\"M280.734 300.973L353.234 342.723V426.223L280.734 467.973L208.234 426.223V342.723L280.734 300.973Z\"\n fill=\"#B329AE\"\n />\n <path\n d=\"M280.734 1044.97L353.234 1086.47V1169.47L280.734 1210.97L208.234 1169.47V1086.47L280.734 1044.97Z\"\n fill=\"#A816C0\"\n />\n <path\n d=\"M995.234 299.973L1067.23 341.723V425.223L995.234 466.973L923.234 425.223V341.723L995.234 299.973Z\"\n fill=\"#366BB9\"\n />\n <path\n d=\"M995.234 1044.97L1067.23 1086.47V1169.47L995.234 1210.97L923.234 1169.47V1086.47L995.234 1044.97Z\"\n fill=\"#8A51D5\"\n />\n <path\n d=\"M279.734 548.973L352.234 590.723V674.223L279.734 715.973L207.234 674.223V590.723L279.734 548.973Z\"\n fill=\"#B217BB\"\n />\n <path\n d=\"M995.234 546.973L1067.23 588.723V672.223L995.234 713.973L923.234 672.223V588.723L995.234 546.973Z\"\n fill=\"#487BDD\"\n />\n <path\n d=\"M351.234 -71.0273L423.234 -29.2773V54.2228L351.234 95.9727L279.234 54.2228V-29.2773L351.234 -71.0273Z\"\n fill=\"#982994\"\n />\n <path\n d=\"M351.734 672.973L423.234 714.723V798.22L351.734 839.973L280.234 798.22V714.723L351.734 672.973Z\"\n fill=\"#B312BD\"\n />\n <path\n d=\"M1066.23 -72.0273L1138.23 -30.2773V53.2228L1066.23 94.9727L994.234 53.2228V-30.2773L1066.23 -72.0273Z\"\n fill=\"#2F558B\"\n />\n <path\n d=\"M1066.23 670.973L1138.23 712.723V796.22L1066.23 837.973L994.234 796.22V712.723L1066.23 670.973Z\"\n fill=\"#457EE2\"\n />\n <path\n d=\"M351.734 177.973L423.234 219.473V302.473L351.734 343.973L280.234 302.473V219.473L351.734 177.973Z\"\n fill=\"#AE2FA6\"\n />\n <path\n d=\"M351.734 920.973L423.234 962.719V1046.23L351.734 1087.97L280.234 1046.23V962.719L351.734 920.973Z\"\n fill=\"#B012C0\"\n />\n <path\n d=\"M1066.23 176.973L1138.23 218.473V301.473L1066.23 342.973L994.234 301.473V218.473L1066.23 176.973Z\"\n fill=\"#2C5C9A\"\n />\n <path\n d=\"M1067.23 919.973L1139.23 961.719V1045.23L1067.23 1086.97L995.234 1045.23V961.719L1067.23 919.973Z\"\n fill=\"#7858E0\"\n />\n <path\n d=\"M350.734 425.973L422.234 467.473V550.473L350.734 591.973L279.234 550.473V467.473L350.734 425.973Z\"\n fill=\"#BB1FBB\"\n />\n <path\n d=\"M351.734 1168.97L423.234 1210.47V1293.47L351.734 1334.97L280.234 1293.47V1210.47L351.734 1168.97Z\"\n fill=\"#A816C0\"\n />\n <path\n d=\"M1066.23 423.973L1138.23 465.473V548.473L1066.23 589.973L994.234 548.473V465.473L1066.23 423.973Z\"\n fill=\"#3280D1\"\n />\n <path\n d=\"M1066.23 1167.97L1138.23 1209.47V1292.47L1066.23 1333.97L994.234 1292.47V1209.47L1066.23 1167.97Z\"\n fill=\"#8A51D5\"\n />\n <path\n d=\"M423.234 52.9727L495.234 94.7228V178.223L423.234 219.973L351.234 178.223V94.7228L423.234 52.9727Z\"\n fill=\"#982994\"\n />\n <path\n d=\"M423.234 796.973L495.234 838.474V921.471L423.234 962.973L351.234 921.471V838.474L423.234 796.973Z\"\n fill=\"#B615BF\"\n />\n <path\n d=\"M1138.23 51.9727L1210.23 93.7228V177.223L1138.23 218.973L1066.23 177.223V93.7228L1138.23 51.9727Z\"\n fill=\"#2F558B\"\n />\n <path\n d=\"M1137.23 795.973L1209.23 837.474V920.471L1137.23 961.973L1065.23 920.471V837.474L1137.23 795.973Z\"\n fill=\"#586DE3\"\n />\n <path\n d=\"M423.234 300.973L495.234 342.723V426.223L423.234 467.973L351.234 426.223V342.723L423.234 300.973Z\"\n fill=\"#B223B1\"\n />\n <path\n d=\"M423.234 1044.97L495.234 1086.47V1169.47L423.234 1210.97L351.234 1169.47V1086.47L423.234 1044.97Z\"\n fill=\"#BA19C2\"\n />\n <path\n d=\"M1138.23 299.973L1210.23 341.723V425.223L1138.23 466.973L1066.23 425.223V341.723L1138.23 299.973Z\"\n fill=\"#2D6BB1\"\n />\n <path\n d=\"M1138.23 1043.97L1210.23 1085.47V1168.47L1138.23 1209.97L1066.23 1168.47V1085.47L1138.23 1043.97Z\"\n fill=\"#8452E3\"\n />\n <path\n d=\"M423.234 548.973L495.234 590.723V674.223L423.234 715.973L351.234 674.223V590.723L423.234 548.973Z\"\n fill=\"#B717BD\"\n />\n <path\n d=\"M1138.23 546.973L1210.23 588.723V672.223L1138.23 713.973L1066.23 672.223V588.723L1138.23 546.973Z\"\n fill=\"#2E8AE0\"\n />\n <path\n d=\"M494.734 -72.0273L567.234 -30.2773V53.2228L494.734 94.9727L422.234 53.2228V-30.2773L494.734 -72.0273Z\"\n fill=\"#822190\"\n />\n <path\n d=\"M494.734 672.973L567.234 714.723V798.22L494.734 839.973L422.234 798.22V714.723L494.734 672.973Z\"\n fill=\"#B61CBF\"\n />\n <path\n d=\"M1209.23 -72.0273L1281.23 -30.2773V53.2228L1209.23 94.9727L1137.23 53.2228V-30.2773L1209.23 -72.0273Z\"\n fill=\"#2F558B\"\n />\n <path\n d=\"M1209.23 671.973L1281.23 713.723V797.22L1209.23 838.973L1137.23 797.22V713.723L1209.23 671.973Z\"\n fill=\"#3C85E3\"\n />\n <path\n d=\"M494.734 176.973L567.234 218.473V301.473L494.734 342.973L422.234 301.473V218.473L494.734 176.973Z\"\n fill=\"#9F22A3\"\n />\n <path\n d=\"M494.734 920.973L567.234 962.719V1046.23L494.734 1087.97L422.234 1046.23V962.719L494.734 920.973Z\"\n fill=\"#BC22C1\"\n />\n <path\n d=\"M1209.23 175.973L1281.23 217.473V300.473L1209.23 341.973L1137.23 300.473V217.473L1209.23 175.973Z\"\n fill=\"#2E5B96\"\n />\n <path\n d=\"M1209.23 918.973L1281.23 960.719V1044.23L1209.23 1085.97L1137.23 1044.23V960.719L1209.23 918.973Z\"\n fill=\"#745CE6\"\n />\n <path\n d=\"M494.734 424.973L567.234 466.473V549.473L494.734 590.973L422.234 549.473V466.473L494.734 424.973Z\"\n fill=\"#B51EBD\"\n />\n <path\n d=\"M494.734 1168.97L567.234 1210.47V1293.47L494.734 1334.97L422.234 1293.47V1210.47L494.734 1168.97Z\"\n fill=\"#BA19C2\"\n />\n <path\n d=\"M1209.23 423.973L1281.23 465.473V548.473L1209.23 589.973L1137.23 548.473V465.473L1209.23 423.973Z\"\n fill=\"#2C82CE\"\n />\n <path\n d=\"M1209.23 1167.97L1281.23 1209.47V1292.47L1209.23 1333.97L1137.23 1292.47V1209.47L1209.23 1167.97Z\"\n fill=\"#8452E3\"\n />\n <path\n d=\"M567.234 52.9727L639.234 94.7228V178.223L567.234 219.973L495.234 178.223V94.7228L567.234 52.9727Z\"\n fill=\"#822190\"\n />\n <path\n d=\"M567.234 797.973L639.234 839.474V922.471L567.234 963.973L495.234 922.471V839.474L567.234 797.973Z\"\n fill=\"#B628C1\"\n />\n <path\n d=\"M1280.74 51.9727L1352.23 93.7228V177.223L1280.74 218.973L1209.23 177.223V93.7228L1280.74 51.9727Z\"\n fill=\"#2E5B96\"\n />\n <path\n d=\"M1280.74 795.973L1352.23 837.474V920.471L1280.74 961.973L1209.23 920.471V837.474L1280.74 795.973Z\"\n fill=\"#586DE3\"\n />\n <path\n d=\"M567.234 300.973L639.234 342.723V426.223L567.234 467.973L495.234 426.223V342.723L567.234 300.973Z\"\n fill=\"#A124B3\"\n />\n <path\n d=\"M566.234 1045.97L638.234 1087.47V1170.47L566.234 1211.97L494.234 1170.47V1087.47L566.234 1045.97Z\"\n fill=\"#BD2EC0\"\n />\n <path\n d=\"M1280.74 298.973L1352.23 340.723V424.223L1280.74 465.973L1209.23 424.223V340.723L1280.74 298.973Z\"\n fill=\"#2D6BB1\"\n />\n <path\n d=\"M1280.74 1043.97L1352.23 1085.47V1168.47L1280.74 1209.97L1209.23 1168.47V1085.47L1280.74 1043.97Z\"\n fill=\"#745CE6\"\n />\n <path\n d=\"M567.234 548.973L639.234 590.723V674.223L567.234 715.973L495.234 674.223V590.723L567.234 548.973Z\"\n fill=\"#AE24C2\"\n />\n <path\n d=\"M1280.74 546.973L1352.23 588.723V672.223L1280.74 713.973L1209.23 672.223V588.723L1280.74 546.973Z\"\n fill=\"#2E8AE0\"\n />\n <path\n d=\"M638.234 -72.0273L710.234 -30.2773V53.2228L638.234 94.9727L566.234 53.2228V-30.2773L638.234 -72.0273Z\"\n fill=\"#5E3690\"\n />\n <path\n d=\"M638.234 672.973L710.234 714.723V798.22L638.234 839.973L566.234 798.22V714.723L638.234 672.973Z\"\n fill=\"#AA2EC5\"\n />\n <path\n d=\"M638.234 176.973L710.234 218.473V301.473L638.234 342.973L566.234 301.473V218.473L638.234 176.973Z\"\n fill=\"#812CA2\"\n />\n <path\n d=\"M638.234 920.973L710.234 962.719V1046.23L638.234 1087.97L566.234 1046.23V962.719L638.234 920.973Z\"\n fill=\"#B535C1\"\n />\n <path\n d=\"M638.234 424.973L710.234 466.473V549.473L638.234 590.973L566.234 549.473V466.473L638.234 424.973Z\"\n fill=\"#A42FC5\"\n />\n <path\n d=\"M637.234 1169.97L709.234 1211.47V1294.47L637.234 1335.97L565.234 1294.47V1211.47L637.234 1169.97Z\"\n fill=\"#BD2EC0\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"clip0_6783_736\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n <clipPath id=\"clip1_6783_736\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>";
|
|
16472
|
-
|
|
16473
|
-
var HomepageDark2 = "\n <svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n >\n <g clipPath=\"url(#clip0_6783_975)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#4C14B3\"\n />\n <path\n d=\"M183.223 -169.557L295.189 -104.831V24.6216L183.223 89.3477L71.2578 24.6216V-104.831L183.223 -169.557Z\"\n fill=\"#4C14B3\"\n />\n <path\n d=\"M-40.0346 -170L71.9309 -105.274V24.1783L-40.0346 88.9044L-152 24.1783V-105.274L-40.0346 -170Z\"\n fill=\"#4C14B3\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#5414B4\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#641DBA\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#4B11B2\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#4B11B2\"\n />\n <path\n d=\"M182.919 602.211L294.884 666.937V796.389L182.919 861.115L70.9531 796.389V666.937L182.919 602.211Z\"\n fill=\"#6A20BD\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#6A20BD\"\n />\n <path\n d=\"M182.919 987.801L294.884 1052.53V1181.98L182.919 1246.71L70.9531 1181.98V1052.53L182.919 987.801Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M-40.0814 988.801L71.884 1053.53V1182.98L-40.0814 1247.71L-152.047 1182.98V1053.53L-40.0814 988.801Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M71.9186 1181.8L183.884 1246.53V1375.98L71.9186 1440.71L-40.0469 1375.98V1246.53L71.9186 1181.8Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M294.919 1181.8L406.884 1246.53V1375.98L294.919 1440.71L182.953 1375.98V1246.53L294.919 1181.8Z\"\n fill=\"#5C19B6\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#5215B4\"\n />\n <path\n d=\"M407.161 -170.557L519.126 -105.831V23.6216L407.161 88.3477L295.195 23.6216V-105.831L407.161 -170.557Z\"\n fill=\"#5215B4\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#5817B5\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#6F25C0\"\n />\n <path\n d=\"M406.848 216.621L518.814 281.209V410.384L406.848 474.972L294.883 410.384V281.209L406.848 216.621Z\"\n fill=\"#5813B4\"\n />\n <path\n d=\"M406.848 602.211L518.814 666.937V796.389L406.848 861.115L294.883 796.389V666.937L406.848 602.211Z\"\n fill=\"#7431C4\"\n />\n <path\n d=\"M406.848 987.801L518.814 1052.53V1181.98L406.848 1246.71L294.883 1181.98V1052.53L406.848 987.801Z\"\n fill=\"#621EBB\"\n />\n <path\n d=\"M518.848 1181.8L630.814 1246.53V1375.98L518.848 1440.71L406.883 1375.98V1246.53L518.848 1181.8Z\"\n fill=\"#621EBB\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#610DB1\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6216L631.09 88.3477L519.125 23.6216V-105.831L631.09 -170.557Z\"\n fill=\"#610DB1\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#6629BD\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#783CC8\"\n />\n <path\n d=\"M630.778 216.621L742.743 281.209V410.384L630.778 474.972L518.812 410.384V281.209L630.778 216.621Z\"\n fill=\"#6614B5\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#7651C9\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#642DC3\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#642DC3\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#690CB1\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6216L855.02 88.3477L743.055 23.6216V-105.831L855.02 -170.557Z\"\n fill=\"#690CB1\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#6E51C7\"\n />\n <path\n d=\"M743.02 796.176L854.986 860.764V989.939L743.02 1054.53L631.055 989.939V860.764L743.02 796.176Z\"\n fill=\"#704DC6\"\n />\n <path\n d=\"M854.708 216.621L966.673 281.209V410.384L854.708 474.972L742.742 410.384V281.209L854.708 216.621Z\"\n fill=\"#6A38C2\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#8380CC\"\n />\n <path\n d=\"M854.708 987.801L966.673 1052.53V1181.98L854.708 1246.71L742.742 1181.98V1052.53L854.708 987.801Z\"\n fill=\"#5C36C2\"\n />\n <path\n d=\"M965.708 1181.8L1077.67 1246.53V1375.98L965.708 1440.71L853.742 1375.98V1246.53L965.708 1181.8Z\"\n fill=\"#5C36C2\"\n />\n <path\n d=\"M1077.71 987.801L1189.67 1052.53V1181.98L1077.71 1246.71L965.742 1181.98V1052.53L1077.71 987.801Z\"\n fill=\"#6A60C5\"\n />\n <path\n d=\"M1188.71 1181.8L1300.67 1246.53V1375.98L1188.71 1440.71L1076.74 1375.98V1246.53L1188.71 1181.8Z\"\n fill=\"#6A60C5\"\n />\n <path\n d=\"M1300.71 989.801L1412.67 1054.53V1183.98L1300.71 1248.71L1188.74 1183.98V1054.53L1300.71 989.801Z\"\n fill=\"#6A60C5\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#593CC3\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6216L1078.95 88.3477L966.984 23.6216V-105.831L1078.95 -170.557Z\"\n fill=\"#593CC3\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#799AD6\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#7B6AC1\"\n />\n <path\n d=\"M1078.64 216.621L1190.6 281.209V410.384L1078.64 474.972L966.672 410.384V281.209L1078.64 216.621Z\"\n fill=\"#6C8CDE\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#6C8CDE\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#AAB1C7\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#AAB1C7\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#5F63D2\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6216L1302.88 88.3477L1190.91 23.6216V-105.831L1302.88 -170.557Z\"\n fill=\"#5F63D2\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#9CBCDA\"\n />\n <path\n d=\"M1190.88 796.176L1302.84 860.764V989.939L1190.88 1054.53L1078.91 989.939V860.764L1190.88 796.176Z\"\n fill=\"#8675BD\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_975\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>";
|
|
16474
|
-
|
|
16475
|
-
var ProductpageDark1 = "<svg\n width=\"1280\"\n height=\"1280\"\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1488)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#403FA4\"\n />\n <path\n d=\"M183.223 -170.557L295.189 -105.831V23.6217L183.223 88.3477L71.2578 23.6217V-105.831L183.223 -170.557Z\"\n fill=\"#403FA4\"\n />\n <path\n d=\"M-40.7768 -170.557L71.1887 -105.831V23.6217L-40.7768 88.3477L-152.742 23.6217V-105.831L-40.7768 -170.557Z\"\n fill=\"#403FA4\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#4047A2\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#3F4BA2\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#4141A4\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#4141A4\"\n />\n <path\n d=\"M182.919 602.211L294.884 666.937V796.389L182.919 861.115L70.9531 796.389V666.937L182.919 602.211Z\"\n fill=\"#3E49A1\"\n />\n <path\n d=\"M-39.0814 603.211L72.884 667.937V797.389L-39.0814 862.115L-151.047 797.389V667.937L-39.0814 603.211Z\"\n fill=\"#3E49A1\"\n />\n <path\n d=\"M182.919 987.801L294.884 1052.53V1181.98L182.919 1246.71L70.9531 1181.98V1052.53L182.919 987.801Z\"\n fill=\"#404CA3\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#404CA3\"\n />\n <path\n d=\"M71.9186 1181.8L183.884 1246.53V1375.98L71.9186 1440.71L-40.0469 1375.98V1246.53L71.9186 1181.8Z\"\n fill=\"#404CA3\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#403BA4\"\n />\n <path\n d=\"M407.161 -170.557L519.126 -105.831V23.6217L407.161 88.3477L295.195 23.6217V-105.831L407.161 -170.557Z\"\n fill=\"#403BA4\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#4247A2\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#404AA1\"\n />\n <path\n d=\"M406.848 216.621L518.814 281.209V410.384L406.848 474.972L294.883 410.384V281.209L406.848 216.621Z\"\n fill=\"#4741A4\"\n />\n <path\n d=\"M406.848 602.211L518.814 666.937V796.389L406.848 861.115L294.883 796.389V666.937L406.848 602.211Z\"\n fill=\"#4347A0\"\n />\n <path\n d=\"M406.848 987.801L518.814 1052.53V1181.98L406.848 1246.71L294.883 1181.98V1052.53L406.848 987.801Z\"\n fill=\"#42489E\"\n />\n <path\n d=\"M295.848 1180.8L407.814 1245.53V1374.98L295.848 1439.71L183.883 1374.98V1245.53L295.848 1180.8Z\"\n fill=\"#42489E\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#4A3DA4\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6217L631.09 88.3477L519.125 23.6217V-105.831L631.09 -170.557Z\"\n fill=\"#4A3DA4\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#4843A1\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#47469E\"\n />\n <path\n d=\"M630.778 216.621L742.743 281.209V410.384L630.778 474.972L518.812 410.384V281.209L630.778 216.621Z\"\n fill=\"#4E3CA2\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#4B429D\"\n />\n <path\n d=\"M630.778 987.801L742.743 1052.53V1181.98L630.778 1246.71L518.812 1181.98V1052.53L630.778 987.801Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M630.778 987.801L742.743 1052.53V1181.98L630.778 1246.71L518.812 1181.98V1052.53L630.778 987.801Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M519.778 1180.8L631.743 1245.53V1374.98L519.778 1439.71L407.812 1374.98V1245.53L519.778 1180.8Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#4A459C\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#5338A4\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6217L855.02 88.3477L743.055 23.6217V-105.831L855.02 -170.557Z\"\n fill=\"#5338A4\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#513EA0\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#4F429A\"\n />\n <path\n d=\"M854.708 216.621L966.673 281.209V410.384L854.708 474.972L742.742 410.384V281.209L854.708 216.621Z\"\n fill=\"#5537A2\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#543E9B\"\n />\n <path\n d=\"M854.708 987.801L966.673 1052.53V1181.98L854.708 1246.71L742.742 1181.98V1052.53L854.708 987.801Z\"\n fill=\"#524198\"\n />\n <path\n d=\"M965.708 1181.8L1077.67 1246.53V1375.98L965.708 1440.71L853.742 1375.98V1246.53L965.708 1181.8Z\"\n fill=\"#524198\"\n />\n <path\n d=\"M1077.71 987.801L1189.67 1052.53V1181.98L1077.71 1246.71L965.742 1181.98V1052.53L1077.71 987.801Z\"\n fill=\"#5A4096\"\n />\n <path\n d=\"M1300.71 988.801L1412.67 1053.53V1182.98L1300.71 1247.71L1188.74 1182.98V1053.53L1300.71 988.801Z\"\n fill=\"#5A4096\"\n />\n <path\n d=\"M1188.71 1181.8L1300.67 1246.53V1375.98L1188.71 1440.71L1076.74 1375.98V1246.53L1188.71 1181.8Z\"\n fill=\"#5A4096\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#5934A2\"\n />\n <path\n d=\"M1077.95 -169.557L1189.92 -104.831V24.6217L1077.95 89.3477L965.984 24.6217V-104.831L1077.95 -169.557Z\"\n fill=\"#5934A2\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#58399E\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#563F97\"\n />\n <path\n d=\"M1078.64 216.621L1190.6 281.209V410.384L1078.64 474.972L966.672 410.384V281.209L1078.64 216.621Z\"\n fill=\"#5A349F\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#5A349F\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#5A3B98\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#5A3B98\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#5F35A2\"\n />\n <path\n d=\"M1301.88 -170.557L1413.84 -105.831V23.6217L1301.88 88.3477L1189.91 23.6217V-105.831L1301.88 -170.557Z\"\n fill=\"#5F35A2\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#5B389B\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#593C95\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1488\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16476
|
-
|
|
16477
|
-
var ProductpageDark2 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1727)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#611897\"\n />\n <path\n d=\"M182.223 -169.557L294.189 -104.831V24.6217L182.223 89.3477L70.2578 24.6217V-104.831L182.223 -169.557Z\"\n fill=\"#611897\"\n />\n <path\n d=\"M-40.7768 -170.557L71.1887 -105.831V23.6217L-40.7768 88.3477L-152.742 23.6217V-105.831L-40.7768 -170.557Z\"\n fill=\"#611897\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#6A11A4\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#6A11A4\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#63109E\"\n />\n <path\n d=\"M-40.0814 216.621L71.884 281.209V410.384L-40.0814 474.972L-152.047 410.384V281.209L-40.0814 216.621Z\"\n fill=\"#63109E\"\n />\n <path\n d=\"M182.919 602.211L294.884 666.937V796.389L182.919 861.115L70.9531 796.389V666.937L182.919 602.211Z\"\n fill=\"#6910A3\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#6910A3\"\n />\n <path\n d=\"M182.919 987.801L294.884 1052.53V1181.98L182.919 1246.71L70.9531 1181.98V1052.53L182.919 987.801Z\"\n fill=\"#6B15A4\"\n />\n <path\n d=\"M71.9186 1181.8L183.884 1246.53V1375.98L71.9186 1440.71L-40.0469 1375.98V1246.53L71.9186 1181.8Z\"\n fill=\"#6B15A4\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#6B15A4\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#5E119A\"\n />\n <path\n d=\"M406.161 -169.557L518.126 -104.831V24.6217L406.161 89.3477L294.195 24.6217V-104.831L406.161 -169.557Z\"\n fill=\"#5E119A\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#6811A5\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#6811A5\"\n />\n <path\n d=\"M406.848 216.621L518.814 281.209V410.384L406.848 474.972L294.883 410.384V281.209L406.848 216.621Z\"\n fill=\"#6412A5\"\n />\n <path\n d=\"M406.848 602.211L518.814 666.937V796.389L406.848 861.115L294.883 796.389V666.937L406.848 602.211Z\"\n fill=\"#6711A4\"\n />\n <path\n d=\"M406.848 987.801L518.814 1052.53V1181.98L406.848 1246.71L294.883 1181.98V1052.53L406.848 987.801Z\"\n fill=\"#6512A6\"\n />\n <path\n d=\"M518.848 1181.8L630.814 1246.53V1375.98L518.848 1440.71L406.883 1375.98V1246.53L518.848 1181.8Z\"\n fill=\"#6512A6\"\n />\n <path\n d=\"M295.848 1180.8L407.814 1245.53V1374.98L295.848 1439.71L183.883 1374.98V1245.53L295.848 1180.8Z\"\n fill=\"#6512A6\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#6112A7\"\n />\n <path\n d=\"M630.09 -169.557L742.056 -104.831V24.6217L630.09 89.3477L518.125 24.6217V-104.831L630.09 -169.557Z\"\n fill=\"#6112A7\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#6413A6\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#6412A6\"\n />\n <path\n d=\"M630.778 216.621L742.743 281.209V410.384L630.778 474.972L518.812 410.384V281.209L630.778 216.621Z\"\n fill=\"#6013A9\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#6114A7\"\n />\n <path\n d=\"M630.778 987.801L742.743 1052.53V1181.98L630.778 1246.71L518.812 1181.98V1052.53L630.778 987.801Z\"\n fill=\"#6015A8\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#6015A8\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#5D17AA\"\n />\n <path\n d=\"M854.02 -169.557L965.986 -104.831V24.6217L854.02 89.3477L742.055 24.6217V-104.831L854.02 -169.557Z\"\n fill=\"#5D17AA\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#5E17A9\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#5D17A8\"\n />\n <path\n d=\"M854.708 216.621L966.673 281.209V410.384L854.708 474.972L742.742 410.384V281.209L854.708 216.621Z\"\n fill=\"#5A19AB\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#5A1AA9\"\n />\n <path\n d=\"M854.708 987.801L966.673 1052.53V1181.98L854.708 1246.71L742.742 1181.98V1052.53L854.708 987.801Z\"\n fill=\"#571AA9\"\n />\n <path\n d=\"M966.708 1181.8L1078.67 1246.53V1375.98L966.708 1440.71L854.742 1375.98V1246.53L966.708 1181.8Z\"\n fill=\"#571AA9\"\n />\n <path\n d=\"M1077.71 987.801L1189.67 1052.53V1181.98L1077.71 1246.71L965.742 1181.98V1052.53L1077.71 987.801Z\"\n fill=\"#5423AC\"\n />\n <path\n d=\"M1300.71 988.801L1412.67 1053.53V1182.98L1300.71 1247.71L1188.74 1182.98V1053.53L1300.71 988.801Z\"\n fill=\"#5423AC\"\n />\n <path\n d=\"M1187.71 1181.8L1299.67 1246.53V1375.98L1187.71 1440.71L1075.74 1375.98V1246.53L1187.71 1181.8Z\"\n fill=\"#5423AC\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#581CAD\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#571DAB\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#561EAA\"\n />\n <path\n d=\"M1078.64 216.621L1190.6 281.209V410.384L1078.64 474.972L966.672 410.384V281.209L1078.64 216.621Z\"\n fill=\"#551DAB\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#551DAB\"\n />\n <path\n d=\"M1078.64 602.211L1190.6 666.937V796.389L1078.64 861.115L966.672 796.389V666.937L1078.64 602.211Z\"\n fill=\"#5320AB\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#5320AB\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#5B26AE\"\n />\n <path\n d=\"M1301.88 -170.557L1413.84 -105.831V23.6217L1301.88 88.3477L1189.91 23.6217V-105.831L1301.88 -170.557Z\"\n fill=\"#5B26AE\"\n />\n <path\n d=\"M1077.88 -169.557L1189.84 -104.831V24.6217L1077.88 89.3477L965.914 24.6217V-104.831L1077.88 -169.557Z\"\n fill=\"#5B26AE\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#531FAA\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#5221AA\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1727\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16478
|
-
|
|
16479
|
-
var HomepageLight1 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_462)\">\n <g clipPath=\"url(#clip1_6783_462)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#D6DCEF\"\n />\n <path\n d=\"M-40.7767 -170.557L71.1887 -105.831V23.6216L-40.7767 88.3477L-152.742 23.6216V-105.831L-40.7767 -170.557Z\"\n fill=\"#D6DCEF\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#DEDDF4\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#F4E9F2\"\n />\n <path\n d=\"M182.919 217.621L294.884 282.209V411.384L182.919 475.972L70.9531 411.384V282.209L182.919 217.621Z\"\n fill=\"#D7DCF3\"\n />\n <path\n d=\"M-41.0814 216.621L70.884 281.209V410.384L-41.0814 474.972L-153.047 410.384V281.209L-41.0814 216.621Z\"\n fill=\"#D7DCF3\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#E9E2F5\"\n />\n <path\n d=\"M-41.0814 602.211L70.884 666.937V796.389L-41.0814 861.115L-153.047 796.389V666.937L-41.0814 602.211Z\"\n fill=\"#E9E2F5\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#F8EDF1\"\n />\n <path\n d=\"M-41.0814 988.801L70.884 1053.53V1182.98L-41.0814 1247.71L-153.047 1182.98V1053.53L-41.0814 988.801Z\"\n fill=\"#F8EDF1\"\n />\n <path\n d=\"M70.9186 1182.8L182.884 1247.53V1376.98L70.9186 1441.71L-41.0469 1376.98V1247.53L70.9186 1182.8Z\"\n fill=\"#F8EDF1\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#D5DCF2\"\n />\n <path\n d=\"M183.161 -170.557L295.126 -105.831V23.6216L183.161 88.3477L71.1953 23.6216V-105.831L183.161 -170.557Z\"\n fill=\"#D5DCF2\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#E0E0F5\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#F5EAF3\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#DDE1F4\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#EDE8F6\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#FAF1F5\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#FAF1F5\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#E0E3F5\"\n />\n <path\n d=\"M407.09 -170.557L519.056 -105.831V23.6216L407.09 88.3477L295.125 23.6216V-105.831L407.09 -170.557Z\"\n fill=\"#E0E3F5\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#EBEBF8\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#F9F2F7\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#EAEBF6\"\n />\n <path\n d=\"M630.778 603.211L742.743 667.937V797.389L630.778 862.115L518.812 797.389V667.937L630.778 603.211Z\"\n fill=\"#F8F4FA\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#FDF8FA\"\n />\n <path\n d=\"M518.778 1181.8L630.743 1246.53V1375.98L518.778 1440.71L406.812 1375.98V1246.53L518.778 1181.8Z\"\n fill=\"#FDF8FA\"\n />\n <path\n d=\"M741.778 1184.8L853.743 1249.53V1378.98L741.778 1443.71L629.812 1378.98V1249.53L741.778 1184.8Z\"\n fill=\"#FDF8FA\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#EAE9F5\"\n />\n <path\n d=\"M631.02 -170.557L742.986 -105.831V23.6216L631.02 88.3477L519.055 23.6216V-105.831L631.02 -170.557Z\"\n fill=\"#EAE9F5\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#F6F5FB\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#FDFAFC\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#F0EDF7\"\n />\n <path\n d=\"M854.708 603.211L966.673 667.937V797.389L854.708 862.115L742.742 797.389V667.937L854.708 603.211Z\"\n fill=\"#FBFAFC\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#FDFBFC\"\n />\n <path\n d=\"M965.708 1183.8L1077.67 1248.53V1377.98L965.708 1442.71L853.742 1377.98V1248.53L965.708 1183.8Z\"\n fill=\"#FDFBFC\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#EAE4F3\"\n />\n <path\n d=\"M854.95 -170.557L966.915 -105.831V23.6216L854.95 88.3477L742.984 23.6216V-105.831L854.95 -170.557Z\"\n fill=\"#EAE4F3\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F5F5FB\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#FCFCFD\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#EBE7F4\"\n />\n <path\n d=\"M1302.64 217.621L1414.6 282.209V411.384L1302.64 475.972L1190.67 411.384V282.209L1302.64 217.621Z\"\n fill=\"#EBE7F4\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F8F9FD\"\n />\n <path\n d=\"M1302.64 603.211L1414.6 667.937V797.389L1302.64 862.115L1190.67 797.389V667.937L1302.64 603.211Z\"\n fill=\"#F8F9FD\"\n />\n <path\n d=\"M1078.64 988.801L1190.6 1053.53V1182.98L1078.64 1247.71L966.672 1182.98V1053.53L1078.64 988.801Z\"\n fill=\"#FBFCFC\"\n />\n <path\n d=\"M1190.64 1182.8L1302.6 1247.53V1376.98L1190.64 1441.71L1078.67 1376.98V1247.53L1190.64 1182.8Z\"\n fill=\"#FBFCFC\"\n />\n <path\n d=\"M1302.64 988.801L1414.6 1053.53V1182.98L1302.64 1247.71L1190.67 1182.98V1053.53L1302.64 988.801Z\"\n fill=\"#FBFCFC\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#E5DEEF\"\n />\n <path\n d=\"M1078.88 -170.557L1190.84 -105.831V23.6216L1078.88 88.3477L966.914 23.6216V-105.831L1078.88 -170.557Z\"\n fill=\"#E5DEEF\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6216L1302.88 88.3477L1190.91 23.6216V-105.831L1302.88 -170.557Z\"\n fill=\"#E5DEEF\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#F2F2F8\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#F9FBFC\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"clip0_6783_462\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n <clipPath id=\"clip1_6783_462\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16480
|
-
|
|
16481
|
-
var HomepageLight2 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_599)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#FDFEFF\"\n />\n <path\n d=\"M-40.7767 -170.557L71.1887 -105.831V23.6216L-40.7767 88.3477L-152.742 23.6216V-105.831L-40.7767 -170.557Z\"\n fill=\"#FDFEFF\"\n />\n <path\n d=\"M183.223 -170.557L295.189 -105.831V23.6216L183.223 88.3477L71.2578 23.6216V-105.831L183.223 -170.557Z\"\n fill=\"#FDFEFF\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#D7F1F9\"\n />\n <path\n d=\"M182.919 217.621L294.884 282.209V411.384L182.919 475.972L70.9531 411.384V282.209L182.919 217.621Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M-41.0814 217.621L70.884 282.209V411.384L-41.0814 475.972L-153.047 411.384V282.209L-41.0814 217.621Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#F6FCFE\"\n />\n <path\n d=\"M-40.0814 603.211L71.884 667.937V797.389L-40.0814 862.115L-152.047 797.389V667.937L-40.0814 603.211Z\"\n fill=\"#F6FCFE\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#ACDBF1\"\n />\n <path\n d=\"M70.9186 1182.8L182.884 1247.53V1376.98L70.9186 1441.71L-41.0469 1376.98V1247.53L70.9186 1182.8Z\"\n fill=\"#ACDBF1\"\n />\n <path\n d=\"M-40.0814 988.801L71.884 1053.53V1182.98L-40.0814 1247.71L-152.047 1182.98V1053.53L-40.0814 988.801Z\"\n fill=\"#ACDBF1\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#FAFDFE\"\n />\n <path\n d=\"M407.161 -170.557L519.126 -105.831V23.6216L407.161 88.3477L295.195 23.6216V-105.831L407.161 -170.557Z\"\n fill=\"#FAFDFE\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#FEFFFF\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#E5F0FA\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#FBFDFE\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#FBFCFE\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#DDE0F5\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#DDE0F5\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#E7F4FA\"\n />\n <path\n d=\"M631.09 -170.557L743.056 -105.831V23.6216L631.09 88.3477L519.125 23.6216V-105.831L631.09 -170.557Z\"\n fill=\"#E7F4FA\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#F6F6FC\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#F3F7FC\"\n />\n <path\n d=\"M630.778 603.211L742.743 667.937V797.389L630.778 862.115L518.812 797.389V667.937L630.778 603.211Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#F8F6FC\"\n />\n <path\n d=\"M742.778 1182.8L854.743 1247.53V1376.98L742.778 1441.71L630.812 1376.98V1247.53L742.778 1182.8Z\"\n fill=\"#F8F6FC\"\n />\n <path\n d=\"M518.778 1182.8L630.743 1247.53V1376.98L518.778 1441.71L406.812 1376.98V1247.53L518.778 1182.8Z\"\n fill=\"#F8F6FC\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#D7E1EF\"\n />\n <path\n d=\"M855.02 -170.557L966.986 -105.831V23.6216L855.02 88.3477L743.055 23.6216V-105.831L855.02 -170.557Z\"\n fill=\"#D7E1EF\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#FCFCFE\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#FEFDFE\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#EEEDF8\"\n />\n <path\n d=\"M854.708 603.211L966.673 667.937V797.389L854.708 862.115L742.742 797.389V667.937L854.708 603.211Z\"\n fill=\"#FEFDFE\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M966.708 1182.8L1078.67 1247.53V1376.98L966.708 1441.71L854.742 1376.98V1247.53L966.708 1182.8Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M1190.71 1182.8L1302.67 1247.53V1376.98L1190.71 1441.71L1078.74 1376.98V1247.53L1190.71 1182.8Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#D7D1EC\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6216L1078.95 88.3477L966.984 23.6216V-105.831L1078.95 -170.557Z\"\n fill=\"#D7D1EC\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F5F3FB\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#FEFEFF\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#D2C7EC\"\n />\n <path\n d=\"M1301.64 216.621L1413.6 281.209V410.384L1301.64 474.972L1189.67 410.384V281.209L1301.64 216.621Z\"\n fill=\"#D2C7EC\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F8F5FC\"\n />\n <path\n d=\"M1302.64 603.211L1414.6 667.937V797.389L1302.64 862.115L1190.67 797.389V667.937L1302.64 603.211Z\"\n fill=\"#F8F5FC\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#D1C6EA\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6216L1302.88 88.3477L1190.91 23.6216V-105.831L1302.88 -170.557Z\"\n fill=\"#D1C6EA\"\n />\n <path\n d=\"M1190.88 409.033L1302.84 473.759V603.211L1190.88 667.938L1078.91 603.211V473.759L1190.88 409.033Z\"\n fill=\"#E0D7F2\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#FDFCFE\"\n />\n <path\n d=\"M1078.97 989L1190.93 1053.73V1183.18L1078.97 1247.9L967 1183.18V1053.73L1078.97 989Z\"\n fill=\"#FCFBFE\"\n />\n <path\n d=\"M1302.97 989L1414.93 1053.73V1183.18L1302.97 1247.9L1191 1183.18V1053.73L1302.97 989Z\"\n fill=\"#FCFBFE\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_599\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16482
|
-
|
|
16483
|
-
var ProductpageLight1 = "<svg\n viewBox=\"0 0 1280 1280\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"none\"\n>\n <g clipPath=\"url(#clip0_6783_1214)\">\n <path\n d=\"M71.2233 23.4434L183.189 88.1695V217.622L71.2233 282.348L-40.7422 217.622V88.1695L71.2233 23.4434Z\"\n fill=\"#E2E9FA\"\n />\n <path\n d=\"M185.223 -169.557L297.189 -104.831V24.6217L185.223 89.3477L73.2578 24.6217V-104.831L185.223 -169.557Z\"\n fill=\"#E2E9FA\"\n />\n <path\n d=\"M0.223249 -193.557L112.189 -128.831V0.62165L0.223249 65.3477L-111.742 0.62165V-128.831L0.223249 -193.557Z\"\n fill=\"#E2E9FA\"\n />\n <path\n d=\"M71.2233 409.033L183.189 473.759V603.211L71.2233 667.938L-40.7422 603.211V473.759L71.2233 409.033Z\"\n fill=\"#E2EDF9\"\n />\n <path\n d=\"M71.2233 795.176L183.189 859.764V988.939L71.2233 1053.53L-40.7422 988.939V859.764L71.2233 795.176Z\"\n fill=\"#E8EFF8\"\n />\n <path\n d=\"M182.919 216.621L294.884 281.209V410.384L182.919 474.972L70.9531 410.384V281.209L182.919 216.621Z\"\n fill=\"#E4EDFC\"\n />\n <path\n d=\"M-40.0814 217.621L71.884 282.209V411.384L-40.0814 475.972L-152.047 411.384V282.209L-40.0814 217.621Z\"\n fill=\"#E4EDFC\"\n />\n <path\n d=\"M182.919 603.211L294.884 667.937V797.389L182.919 862.115L70.9531 797.389V667.937L182.919 603.211Z\"\n fill=\"#E5EEFA\"\n />\n <path\n d=\"M-40.0814 602.211L71.884 666.937V796.389L-40.0814 861.115L-152.047 796.389V666.937L-40.0814 602.211Z\"\n fill=\"#E5EEFA\"\n />\n <path\n d=\"M182.919 988.801L294.884 1053.53V1182.98L182.919 1247.71L70.9531 1182.98V1053.53L182.919 988.801Z\"\n fill=\"#EBF2F8\"\n />\n <path\n d=\"M70.9186 1181.8L182.884 1246.53V1375.98L70.9186 1440.71L-41.0469 1375.98V1246.53L70.9186 1181.8Z\"\n fill=\"#EBF2F8\"\n />\n <path\n d=\"M-40.0814 987.801L71.884 1052.53V1181.98L-40.0814 1246.71L-152.047 1181.98V1052.53L-40.0814 987.801Z\"\n fill=\"#EBF2F8\"\n />\n <path\n d=\"M295.161 23.4434L407.126 88.1695V217.622L295.161 282.348L183.195 217.622V88.1695L295.161 23.4434Z\"\n fill=\"#E5E9FB\"\n />\n <path\n d=\"M295.161 409.033L407.126 473.759V603.211L295.161 667.938L183.195 603.211V473.759L295.161 409.033Z\"\n fill=\"#E3EBFA\"\n />\n <path\n d=\"M295.161 795.176L407.126 859.764V988.939L295.161 1053.53L183.195 988.939V859.764L295.161 795.176Z\"\n fill=\"#E8EEF9\"\n />\n <path\n d=\"M406.848 217.621L518.814 282.209V411.384L406.848 475.972L294.883 411.384V282.209L406.848 217.621Z\"\n fill=\"#E8E9FB\"\n />\n <path\n d=\"M406.848 603.211L518.814 667.937V797.389L406.848 862.115L294.883 797.389V667.937L406.848 603.211Z\"\n fill=\"#E6EAF9\"\n />\n <path\n d=\"M406.848 988.801L518.814 1053.53V1182.98L406.848 1247.71L294.883 1182.98V1053.53L406.848 988.801Z\"\n fill=\"#ECEFF8\"\n />\n <path\n d=\"M518.848 1182.8L630.814 1247.53V1376.98L518.848 1441.71L406.883 1376.98V1247.53L518.848 1182.8Z\"\n fill=\"#ECEFF8\"\n />\n <path\n d=\"M294.848 1182.8L406.814 1247.53V1376.98L294.848 1441.71L182.883 1376.98V1247.53L294.848 1182.8Z\"\n fill=\"#ECEFF8\"\n />\n <path\n d=\"M519.09 23.4434L631.056 88.1695V217.622L519.09 282.348L407.125 217.622V88.1695L519.09 23.4434Z\"\n fill=\"#EEE6FA\"\n />\n <path\n d=\"M408.965 -169L520.931 -104.274V25.1783L408.965 89.9044L297 25.1783V-104.274L408.965 -169Z\"\n fill=\"#EEE6FA\"\n />\n <path\n d=\"M519.09 409.033L631.056 473.759V603.211L519.09 667.938L407.125 603.211V473.759L519.09 409.033Z\"\n fill=\"#E9E7F9\"\n />\n <path\n d=\"M519.09 795.176L631.056 859.764V988.939L519.09 1053.53L407.125 988.939V859.764L519.09 795.176Z\"\n fill=\"#ECEDF9\"\n />\n <path\n d=\"M630.778 217.621L742.743 282.209V411.384L630.778 475.972L518.812 411.384V282.209L630.778 217.621Z\"\n fill=\"#EFE4FA\"\n />\n <path\n d=\"M630.778 602.211L742.743 666.937V796.389L630.778 861.115L518.812 796.389V666.937L630.778 602.211Z\"\n fill=\"#ECE8F8\"\n />\n <path\n d=\"M630.778 988.801L742.743 1053.53V1182.98L630.778 1247.71L518.812 1182.98V1053.53L630.778 988.801Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M742.778 1181.8L854.743 1246.53V1375.98L742.778 1440.71L630.812 1375.98V1246.53L742.778 1181.8Z\"\n fill=\"#F0EEF9\"\n />\n <path\n d=\"M743.02 23.4434L854.986 88.1695V217.622L743.02 282.348L631.055 217.622V88.1695L743.02 23.4434Z\"\n fill=\"#F4E4FB\"\n />\n <path\n d=\"M855.02 -169.557L966.986 -104.831V24.6217L855.02 89.3477L743.055 24.6217V-104.831L855.02 -169.557Z\"\n fill=\"#F4E4FB\"\n />\n <path\n d=\"M632.02 -169.557L743.986 -104.831V24.6217L632.02 89.3477L520.055 24.6217V-104.831L632.02 -169.557Z\"\n fill=\"#F4E4FB\"\n />\n <path\n d=\"M743.02 409.033L854.986 473.759V603.211L743.02 667.938L631.055 603.211V473.759L743.02 409.033Z\"\n fill=\"#EFE3F8\"\n />\n <path\n d=\"M743.02 795.176L854.986 859.764V988.939L743.02 1053.53L631.055 988.939V859.764L743.02 795.176Z\"\n fill=\"#F0EBF8\"\n />\n <path\n d=\"M854.708 217.621L966.673 282.209V411.384L854.708 475.972L742.742 411.384V282.209L854.708 217.621Z\"\n fill=\"#F5E1FA\"\n />\n <path\n d=\"M854.708 602.211L966.673 666.937V796.389L854.708 861.115L742.742 796.389V666.937L854.708 602.211Z\"\n fill=\"#F2E6F7\"\n />\n <path\n d=\"M854.708 988.801L966.673 1053.53V1182.98L854.708 1247.71L742.742 1182.98V1053.53L854.708 988.801Z\"\n fill=\"#F4EEF8\"\n />\n <path\n d=\"M966.708 1181.8L1078.67 1246.53V1375.98L966.708 1440.71L854.742 1375.98V1246.53L966.708 1181.8Z\"\n fill=\"#F4EEF8\"\n />\n <path\n d=\"M1078.71 987.801L1190.67 1052.53V1181.98L1078.71 1246.71L966.742 1181.98V1052.53L1078.71 987.801Z\"\n fill=\"#F3EEF5\"\n />\n <path\n d=\"M1190.71 1181.8L1302.67 1246.53V1375.98L1190.71 1440.71L1078.74 1375.98V1246.53L1190.71 1181.8Z\"\n fill=\"#F3EEF5\"\n />\n <path\n d=\"M1301.71 987.801L1413.67 1052.53V1181.98L1301.71 1246.71L1189.74 1181.98V1052.53L1301.71 987.801Z\"\n fill=\"#F3EEF5\"\n />\n <path\n d=\"M966.95 23.4434L1078.92 88.1695V217.622L966.95 282.348L854.984 217.622V88.1695L966.95 23.4434Z\"\n fill=\"#F8DFFA\"\n />\n <path\n d=\"M1078.95 -170.557L1190.92 -105.831V23.6217L1078.95 88.3477L966.984 23.6217V-105.831L1078.95 -170.557Z\"\n fill=\"#F8DFFA\"\n />\n <path\n d=\"M966.95 409.033L1078.92 473.759V603.211L966.95 667.938L854.984 603.211V473.759L966.95 409.033Z\"\n fill=\"#F4E2F7\"\n />\n <path\n d=\"M966.95 795.176L1078.92 859.764V988.939L966.95 1053.53L854.984 988.939V859.764L966.95 795.176Z\"\n fill=\"#F4EBF7\"\n />\n <path\n d=\"M1078.64 217.621L1190.6 282.209V411.384L1078.64 475.972L966.672 411.384V282.209L1078.64 217.621Z\"\n fill=\"#F7E0F8\"\n />\n <path\n d=\"M1302.64 216.621L1414.6 281.209V410.384L1302.64 474.972L1190.67 410.384V281.209L1302.64 216.621Z\"\n fill=\"#F7E0F8\"\n />\n <path\n d=\"M1078.64 603.211L1190.6 667.937V797.389L1078.64 862.115L966.672 797.389V667.937L1078.64 603.211Z\"\n fill=\"#F5E7F6\"\n />\n <path\n d=\"M1301.64 602.211L1413.6 666.937V796.389L1301.64 861.115L1189.67 796.389V666.937L1301.64 602.211Z\"\n fill=\"#F5E7F6\"\n />\n <path\n d=\"M1190.88 23.4434L1302.84 88.1695V217.622L1190.88 282.348L1078.91 217.622V88.1695L1190.88 23.4434Z\"\n fill=\"#F8DFF8\"\n />\n <path\n d=\"M1302.88 -170.557L1414.84 -105.831V23.6217L1302.88 88.3477L1190.91 23.6217V-105.831L1302.88 -170.557Z\"\n fill=\"#F8DFF8\"\n />\n <path\n d=\"M1189.88 410.033L1301.84 474.759V604.211L1189.88 668.938L1077.91 604.211V474.759L1189.88 410.033Z\"\n fill=\"#F5E3F6\"\n />\n <path\n d=\"M1190.88 795.176L1302.84 859.764V988.939L1190.88 1053.53L1078.91 988.939V859.764L1190.88 795.176Z\"\n fill=\"#F6ECF7\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1214\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16460
|
+
}
|
|
16461
|
+
// If logicType is "AND", all selected tags should be present in the item's tags
|
|
16462
|
+
if (logicType === "AND") {
|
|
16463
|
+
return selectedControls.every(function (control) {
|
|
16464
|
+
return filteredItem.props.tags.includes(control.label);
|
|
16465
|
+
});
|
|
16466
|
+
}
|
|
16467
|
+
else {
|
|
16468
|
+
// Check if item has tags property and if any selected tags are present in item's tags
|
|
16469
|
+
return selectedControls.some(function (control) {
|
|
16470
|
+
return filteredItem.props.tags.includes(control.label);
|
|
16471
|
+
});
|
|
16472
|
+
}
|
|
16473
|
+
});
|
|
16474
|
+
return (React.createElement("div", __assign({ className: "arc-Filter" }, filterAttrs(props)),
|
|
16475
|
+
React.createElement(FilterControls, { controlsAlignment: controlsAlignment }, filterControls.map(function (_a, index) {
|
|
16476
|
+
var label = _a.label, isSelected = _a.isSelected;
|
|
16477
|
+
return (React.createElement(FilterControl, { key: index, onClick: function () { return handleControlClick(index); }, isSelected: isSelected }, label));
|
|
16478
|
+
})),
|
|
16479
|
+
React.createElement(FilterItems, { displayType: displayType, error: error }, filteredItems.map(function (item) { return item.props.children; }))));
|
|
16480
|
+
};
|
|
16484
16481
|
|
|
16485
|
-
var
|
|
16482
|
+
var FilterItem = function (_a) {
|
|
16483
|
+
var children = _a.children;
|
|
16484
|
+
return React.createElement("div", { className: "arc-FilterItem" }, children);
|
|
16485
|
+
};
|
|
16486
16486
|
|
|
16487
|
-
var
|
|
16487
|
+
var GhostedHeroBanner = function (_a) {
|
|
16488
|
+
var heading = _a.heading, headingLevel = _a.headingLevel, label = _a.label, text = _a.text, img = _a.img, children = _a.children, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, props = __rest(_a, ["heading", "headingLevel", "label", "text", "img", "children", "fontStyle"]);
|
|
16489
|
+
return (React.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
|
|
16490
|
+
React.createElement("div", { className: "arc-GhostedHeroBanner-content" },
|
|
16491
|
+
label && (React.createElement(React.Fragment, null,
|
|
16492
|
+
React.createElement(Heading, { fontStyle: "overline" }, label),
|
|
16493
|
+
React.createElement(VerticalSpace, { size: "8" }))),
|
|
16494
|
+
React.createElement(Heading, { level: headingLevel, size: fontStyle === "default" ? "xl" : "xxl", fontStyle: fontStyle }, heading),
|
|
16495
|
+
text && (React.createElement(React.Fragment, null,
|
|
16496
|
+
React.createElement(VerticalSpace, { size: "16" }),
|
|
16497
|
+
React.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
|
|
16498
|
+
children && (React.createElement(React.Fragment, null,
|
|
16499
|
+
React.createElement(VerticalSpace, { size: "32" }),
|
|
16500
|
+
children))),
|
|
16501
|
+
React.createElement("div", { className: "arc-GhostedHeroBanner-image " }, img && React.createElement(BannerImage, __assign({ ariaHidden: true }, img)))));
|
|
16502
|
+
};
|
|
16488
16503
|
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
|
|
16494
|
-
|
|
16495
|
-
|
|
16496
|
-
|
|
16497
|
-
|
|
16498
|
-
|
|
16499
|
-
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
|
|
16505
|
-
// xxl: HomepageDark2,
|
|
16506
|
-
},
|
|
16507
|
-
ProductpageDark1: {
|
|
16508
|
-
xs: ProductpageDark1,
|
|
16509
|
-
// s: ProductpageDark1,
|
|
16510
|
-
// m: ProductpageDark1,
|
|
16511
|
-
// l: ProductpageDark1,
|
|
16512
|
-
// xl: ProductpageDark1,
|
|
16513
|
-
// xxl: ProductpageDark1,
|
|
16514
|
-
},
|
|
16515
|
-
ProductpageDark2: {
|
|
16516
|
-
xs: ProductpageDark2,
|
|
16517
|
-
// s: ProductpageDark2,
|
|
16518
|
-
// m: ProductpageDark2,
|
|
16519
|
-
// l: ProductpageDark2,
|
|
16520
|
-
// xl: ProductpageDark2,
|
|
16521
|
-
// xxl: ProductpageDark2,
|
|
16522
|
-
},
|
|
16523
|
-
HomepageLight1: {
|
|
16524
|
-
xs: HomepageLight1,
|
|
16525
|
-
// s: HomepageLight1,
|
|
16526
|
-
// m: HomepageLight1,
|
|
16527
|
-
// l: HomepageLight1,
|
|
16528
|
-
// xl: HomepageLight1,
|
|
16529
|
-
// xxl: HomepageLight1,
|
|
16530
|
-
},
|
|
16531
|
-
HomepageLight2: {
|
|
16532
|
-
xs: HomepageLight2,
|
|
16533
|
-
// s: HomepageLight2,
|
|
16534
|
-
// m: HomepageLight2,
|
|
16535
|
-
// l: HomepageLight2,
|
|
16536
|
-
// xl: HomepageLight2,
|
|
16537
|
-
// xxl: HomepageLight2,
|
|
16538
|
-
},
|
|
16539
|
-
ProductpageLight1: {
|
|
16540
|
-
xs: ProductpageLight1,
|
|
16541
|
-
// s: ProductpageLight1,
|
|
16542
|
-
// m: ProductpageLight1,
|
|
16543
|
-
// l: ProductpageLight1,
|
|
16544
|
-
// xl: ProductpageLight1,
|
|
16545
|
-
// xxl: ProductpageLight1,
|
|
16546
|
-
},
|
|
16547
|
-
ProductpageLight2: {
|
|
16548
|
-
xs: ProductpageLight2,
|
|
16549
|
-
// s: ProductpageLight2,
|
|
16550
|
-
// m: ProductpageLight2,
|
|
16551
|
-
// l: ProductpageLight2,
|
|
16552
|
-
// xl: ProductpageLight2,
|
|
16553
|
-
// xxl: ProductpageLight2,
|
|
16554
|
-
},
|
|
16555
|
-
FooterLight: {
|
|
16556
|
-
xs: FooterLight,
|
|
16557
|
-
// s: FooterLight,
|
|
16558
|
-
// m: FooterLight,
|
|
16559
|
-
// l: FooterLight,
|
|
16560
|
-
// xl: FooterLight,
|
|
16561
|
-
// xxl: FooterLight,
|
|
16562
|
-
},
|
|
16504
|
+
/**
|
|
16505
|
+
* Provides an object of breakpoints for responsive designs.
|
|
16506
|
+
*
|
|
16507
|
+
* This object contains keys representing breakpoint names (e.g., `xxl`, `xl`)
|
|
16508
|
+
* and values representing the pixel widths for those breakpoints. The values are parsed
|
|
16509
|
+
* from strings (e.g., "1400px") into numbers for easier usage in responsive logic.
|
|
16510
|
+
*
|
|
16511
|
+
* Kept in src for internal use
|
|
16512
|
+
*/
|
|
16513
|
+
var ArcBreakpoints = {
|
|
16514
|
+
xxl: parseInt(ArcSizeBreakpointsXxl, 10),
|
|
16515
|
+
xl: parseInt(ArcSizeBreakpointsXl, 10),
|
|
16516
|
+
l: parseInt(ArcSizeBreakpointsL, 10),
|
|
16517
|
+
m: parseInt(ArcSizeBreakpointsM, 10),
|
|
16518
|
+
s: parseInt(ArcSizeBreakpointsS, 10),
|
|
16519
|
+
xs: parseInt(ArcSizeBreakpointsXs, 10),
|
|
16563
16520
|
};
|
|
16521
|
+
var ARC_MIN_S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
16522
|
+
var ARC_MIN_M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
16523
|
+
var ARC_MIN_L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
16524
|
+
var ARC_MIN_XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
16525
|
+
var ARC_MIN_XXL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXxl, ")");
|
|
16564
16526
|
|
|
16565
|
-
var
|
|
16566
|
-
var _a;
|
|
16567
|
-
var
|
|
16568
|
-
|
|
16569
|
-
if (
|
|
16570
|
-
|
|
16571
|
-
}
|
|
16572
|
-
else if (props.scrimfadesize === "m") {
|
|
16573
|
-
totalHeight = 1024;
|
|
16527
|
+
var ClientSideVisible = function (_a) {
|
|
16528
|
+
var children = _a.children;
|
|
16529
|
+
var _b = React.useState(false), canRender = _b[0], setCanRender = _b[1];
|
|
16530
|
+
React.useEffect(function () {
|
|
16531
|
+
if (typeof window !== "undefined") {
|
|
16532
|
+
setCanRender(true);
|
|
16574
16533
|
}
|
|
16575
|
-
|
|
16576
|
-
|
|
16534
|
+
}, [setCanRender]);
|
|
16535
|
+
return (React.createElement("div", { style: { visibility: canRender ? "visible" : "hidden" } }, children));
|
|
16536
|
+
};
|
|
16537
|
+
|
|
16538
|
+
var ScrimFade = function (_a) {
|
|
16539
|
+
var scrimFadeHeight = _a.scrimFadeHeight, scrimFadeSize = _a.scrimFadeSize, scrimFadePosition = _a.scrimFadePosition;
|
|
16540
|
+
var _b = React.useMemo(function () {
|
|
16541
|
+
var fadeModifier = 128;
|
|
16542
|
+
var defaultSizes = {
|
|
16543
|
+
s: {
|
|
16544
|
+
totalHeight: 640,
|
|
16545
|
+
fadeHeight: 640 - fadeModifier,
|
|
16546
|
+
},
|
|
16547
|
+
m: {
|
|
16548
|
+
totalHeight: 1024,
|
|
16549
|
+
fadeHeight: 1024 - fadeModifier,
|
|
16550
|
+
},
|
|
16551
|
+
l: {
|
|
16552
|
+
totalHeight: 1408,
|
|
16553
|
+
fadeHeight: 1408 - fadeModifier,
|
|
16554
|
+
},
|
|
16555
|
+
};
|
|
16556
|
+
if (!scrimFadeHeight) {
|
|
16557
|
+
return defaultSizes[scrimFadeSize];
|
|
16577
16558
|
}
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16559
|
+
return {
|
|
16560
|
+
totalHeight: scrimFadeHeight,
|
|
16561
|
+
fadeHeight: scrimFadeHeight - fadeModifier,
|
|
16562
|
+
};
|
|
16563
|
+
}, [scrimFadeHeight, scrimFadeSize]), totalHeight = _b.totalHeight, fadeHeight = _b.fadeHeight;
|
|
16564
|
+
return (React__namespace.createElement("svg", { width: "1024", height: totalHeight, viewBox: "0 0 1024 ".concat(totalHeight), fill: "none", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "none", className: classNames("arc-GradientPageBackground-scrimFade", scrimFadePosition &&
|
|
16565
|
+
"arc-GradientPageBackground-scrimFade--".concat(scrimFadePosition)) },
|
|
16581
16566
|
React__namespace.createElement("rect", { y: "128", width: "1024", height: fadeHeight, fill: "url(#paint0_linear_6538_9883)" }),
|
|
16582
16567
|
React__namespace.createElement("g", { opacity: "0.7" },
|
|
16583
16568
|
React__namespace.createElement("rect", { width: "1024", height: totalHeight, fill: "url(#paint1_linear_6538_9883)", style: { mixBlendMode: "soft-light" } })),
|
|
@@ -16604,88 +16589,72 @@ var ScrimFade = function (props) {
|
|
|
16604
16589
|
React__namespace.createElement("stop", { offset: "1", stopColor: "white" })))));
|
|
16605
16590
|
};
|
|
16606
16591
|
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
var
|
|
16612
|
-
|
|
16613
|
-
var _j = React.useState(), customGradient = _j[0], setCustomGradient = _j[1];
|
|
16614
|
-
var _k = React.useState("xs"), breakpoint = _k[0], setBreakpoint = _k[1];
|
|
16615
|
-
var gradientUri = svgToMiniDataURI(backgroundGradient !== null && backgroundGradient !== void 0 ? backgroundGradient : "");
|
|
16616
|
-
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
16617
|
-
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
16618
|
-
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
16619
|
-
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
16620
|
-
// Update current breakpoint value for props
|
|
16621
|
-
React.useEffect(function () {
|
|
16592
|
+
// Inherit the last provided value when no value is provided
|
|
16593
|
+
var getResponsiveConfig = function (property, breakpoint) {
|
|
16594
|
+
if (!property || !breakpoint)
|
|
16595
|
+
return;
|
|
16596
|
+
var breakpoints = ["xs", "s", "m", "l", "xl", "xxl"];
|
|
16597
|
+
return breakpoints.reduce(function (acc, bp, index) {
|
|
16622
16598
|
var _a;
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
|
|
16631
|
-
|
|
16632
|
-
|
|
16633
|
-
|
|
16634
|
-
|
|
16599
|
+
return (__assign(__assign({}, acc), (_a = {}, _a[bp] = property[bp] || acc[breakpoints[index - 1]], _a)));
|
|
16600
|
+
}, {})[breakpoint];
|
|
16601
|
+
};
|
|
16602
|
+
|
|
16603
|
+
var GradientPageBackground = function (_a) {
|
|
16604
|
+
var _b;
|
|
16605
|
+
var gradient = _a.gradient, responsiveGradient = _a.responsiveGradient, children = _a.children, scrimFadeSize = _a.scrimFadeSize, scrimFadeHeights = _a.scrimFadeHeights, extendBackgrounds = _a.extendBackgrounds, loading = _a.loading, _c = _a.scrimFadePosition, scrimFadePosition = _c === void 0 ? "bottom" : _c, props = __rest(_a, ["gradient", "responsiveGradient", "children", "scrimFadeSize", "scrimFadeHeights", "extendBackgrounds", "loading", "scrimFadePosition"]);
|
|
16606
|
+
var isMinWidthArcBreakpointS = useMediaQuery(ARC_MIN_S_BREAKPOINT);
|
|
16607
|
+
var isMinWidthArcBreakpointM = useMediaQuery(ARC_MIN_M_BREAKPOINT);
|
|
16608
|
+
var isMinWidthArcBreakpointL = useMediaQuery(ARC_MIN_L_BREAKPOINT);
|
|
16609
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(ARC_MIN_XL_BREAKPOINT);
|
|
16610
|
+
var isMinWidthArcBreakpointXxl = useMediaQuery(ARC_MIN_XXL_BREAKPOINT);
|
|
16611
|
+
var breakpoint = React.useMemo(function () {
|
|
16612
|
+
var breakpoints = {
|
|
16613
|
+
xs: true,
|
|
16614
|
+
s: isMinWidthArcBreakpointS,
|
|
16615
|
+
m: isMinWidthArcBreakpointM,
|
|
16616
|
+
l: isMinWidthArcBreakpointL,
|
|
16617
|
+
xl: isMinWidthArcBreakpointXl,
|
|
16618
|
+
xxl: isMinWidthArcBreakpointXxl,
|
|
16619
|
+
};
|
|
16620
|
+
return Object.keys(breakpoints).findLast(function (key) { return breakpoints[key]; });
|
|
16635
16621
|
}, [
|
|
16636
|
-
isMinWidthArcBreakpointXl,
|
|
16637
|
-
isMinWidthArcBreakpointL,
|
|
16638
|
-
isMinWidthArcBreakpointM,
|
|
16639
16622
|
isMinWidthArcBreakpointS,
|
|
16623
|
+
isMinWidthArcBreakpointM,
|
|
16624
|
+
isMinWidthArcBreakpointL,
|
|
16625
|
+
isMinWidthArcBreakpointXl,
|
|
16626
|
+
isMinWidthArcBreakpointXxl,
|
|
16640
16627
|
]);
|
|
16641
|
-
|
|
16642
|
-
var
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
for (var i = index; i >= 0; i--) {
|
|
16648
|
-
var fallbackKey = keysInOrder[i];
|
|
16649
|
-
if (obj[fallbackKey] !== undefined) {
|
|
16650
|
-
return obj[fallbackKey];
|
|
16651
|
-
}
|
|
16652
|
-
}
|
|
16653
|
-
return undefined;
|
|
16628
|
+
var customGradient = React.useMemo(function () { return getResponsiveConfig(responsiveGradient, breakpoint); }, [responsiveGradient, breakpoint]);
|
|
16629
|
+
var scrimFadeHeight = React.useMemo(function () { return getResponsiveConfig(scrimFadeHeights, breakpoint); }, [breakpoint, scrimFadeHeights]);
|
|
16630
|
+
var extendBackground = React.useMemo(function () { return getResponsiveConfig(extendBackgrounds, breakpoint); }, [breakpoint, extendBackgrounds]);
|
|
16631
|
+
var gradientPathway = {
|
|
16632
|
+
light: "light-white",
|
|
16633
|
+
dark: "dark-black",
|
|
16654
16634
|
};
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
}
|
|
16665
|
-
return (React.createElement(
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
}
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
|
|
16677
|
-
React.createElement(
|
|
16678
|
-
React.createElement("div", { className: "arc-GradientPageBackground-content" },
|
|
16679
|
-
React.createElement(Surface, { isTransparent: true, background: customGradient
|
|
16680
|
-
? (customGradient === null || customGradient === void 0 ? void 0 : customGradient.includes("Light"))
|
|
16681
|
-
? "light-white"
|
|
16682
|
-
: "dark-black"
|
|
16683
|
-
: type.includes("Light")
|
|
16684
|
-
? "light-white"
|
|
16685
|
-
: "dark-black" }, children)),
|
|
16686
|
-
scrimFadeSize && (React.createElement(ScrimFade, { className: classNames("arc-GradientPageBackground-scrimFade", (_c = {},
|
|
16687
|
-
_c["arc-GradientPageBackground-scrimFade--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16688
|
-
_c)), scrimfadeheight: scrimFadeHeight ? scrimFadeHeight : null, scrimfadesize: scrimFadeSize, preserveAspectRatio: "none" }))));
|
|
16635
|
+
var extentedBackgroundScrimStyles = {
|
|
16636
|
+
top: {
|
|
16637
|
+
paddingTop: "".concat(extendBackground, "px"),
|
|
16638
|
+
marginTop: "-".concat(extendBackground, "px"),
|
|
16639
|
+
},
|
|
16640
|
+
bottom: {
|
|
16641
|
+
paddingBottom: "".concat(extendBackground, "px"),
|
|
16642
|
+
marginBottom: "-".concat(extendBackground, "px"),
|
|
16643
|
+
},
|
|
16644
|
+
};
|
|
16645
|
+
return (React.createElement(ClientSideVisible, null,
|
|
16646
|
+
React.createElement("div", __assign({ className: classNames("arc-GradientPageBackground", (_b = {},
|
|
16647
|
+
_b["arc-GradientPageBackground--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16648
|
+
_b)), style: __assign({}, (extendBackground
|
|
16649
|
+
? extentedBackgroundScrimStyles[scrimFadePosition]
|
|
16650
|
+
: {})) }, filterAttrs(props)),
|
|
16651
|
+
React.createElement("div", { className: "arc-GradientPageBackground-svgWrapper" },
|
|
16652
|
+
React.createElement("img", { src: (customGradient === null || customGradient === void 0 ? void 0 : customGradient.svg) || (gradient === null || gradient === void 0 ? void 0 : gradient.svg), alt: "", className: "arc-GradientPageBackground-svgbg", loading: loading })),
|
|
16653
|
+
React.createElement("div", { className: "arc-GradientPageBackground-content" },
|
|
16654
|
+
React.createElement(Surface, { isTransparent: true, background: customGradient
|
|
16655
|
+
? gradientPathway[customGradient === null || customGradient === void 0 ? void 0 : customGradient.type]
|
|
16656
|
+
: gradientPathway[(gradient === null || gradient === void 0 ? void 0 : gradient.type) || "light"] }, children)),
|
|
16657
|
+
scrimFadeSize && (React.createElement(ScrimFade, { scrimFadeHeight: scrimFadeHeight, scrimFadeSize: scrimFadeSize, scrimFadePosition: scrimFadePosition, preserveAspectRatio: "none" })))));
|
|
16689
16658
|
};
|
|
16690
16659
|
|
|
16691
16660
|
/**
|
|
@@ -16719,11 +16688,11 @@ var GroupItem = function (_a) {
|
|
|
16719
16688
|
};
|
|
16720
16689
|
|
|
16721
16690
|
var HeroBanner = function (_a) {
|
|
16722
|
-
var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, minHeight = _a.minHeight, _c = _a.isReversed, isReversed = _c === void 0 ? false : _c, _d = _a.isElevated, isElevated = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.extendBeyondContainer, extendBeyondContainer = _f === void 0 ? false : _f, _g = _a.type, type = _g === void 0 ? "light" : _g, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "minHeight", "isReversed", "isElevated", "headingLevel", "extendBeyondContainer", "type"]);
|
|
16691
|
+
var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, minHeight = _a.minHeight, _c = _a.isReversed, isReversed = _c === void 0 ? false : _c, _d = _a.isElevated, isElevated = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.extendBeyondContainer, extendBeyondContainer = _f === void 0 ? false : _f, _g = _a.type, type = _g === void 0 ? "light" : _g, _h = _a.fontStyle, fontStyle = _h === void 0 ? "default" : _h, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "minHeight", "isReversed", "isElevated", "headingLevel", "extendBeyondContainer", "type", "fontStyle"]);
|
|
16723
16692
|
return (React.createElement(ConditionalWrapper, { condition: extendBeyondContainer, wrapper: function (children) { return (React.createElement("div", { className: classNames({
|
|
16724
16693
|
"arc-HeroBanner--expanded": extendBeyondContainer,
|
|
16725
16694
|
}) }, children)); } },
|
|
16726
|
-
React.createElement(TemplateBanner, __assign({ heading: heading, label: label, text: text, img: img, contentRatio: contentRatio, minHeight: minHeight, isReversed: isReversed, isElevated: isElevated, headingLevel: headingLevel, type: type, headingSize: "xl", alignment: "center" }, filterAttrs(props)), children)));
|
|
16695
|
+
React.createElement(TemplateBanner, __assign({ heading: heading, label: label, text: text, img: img, contentRatio: contentRatio, minHeight: minHeight, isReversed: isReversed, isElevated: isElevated, headingLevel: headingLevel, type: type, headingSize: fontStyle === "default" ? "xl" : "xxl", fontStyle: fontStyle, alignment: "center" }, filterAttrs(props)), children)));
|
|
16727
16696
|
};
|
|
16728
16697
|
|
|
16729
16698
|
/**
|
|
@@ -16809,22 +16778,11 @@ var Hidden = function (_a) {
|
|
|
16809
16778
|
}) }, filterAttrs(props)), children));
|
|
16810
16779
|
};
|
|
16811
16780
|
|
|
16812
|
-
var ArrowRight = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M18.146 11.646a.5.5 0 0 0 0 .707l3.147 3.147H9.5a.5.5 0 0 0 0 1h11.793l-3.146 3.146a.5.5 0 1 0 .707.707L23.207 16l-4.354-4.354a.5.5 0 0 0-.707 0'/%3e%3c/svg%3e";
|
|
16813
|
-
var ArrowRightFill = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M2 16A14 14 0 1 0 16 2 14 14 0 0 0 2 16m16.854-4.354L23.207 16l-4.354 4.354a.5.5 0 0 1-.707-.707l3.147-3.147H9.5a.5.5 0 0 1 0-1h11.793l-3.146-3.146a.5.5 0 0 1 .707-.707'/%3e%3c/svg%3e";
|
|
16814
|
-
var Play = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='m20.839 15.04-7.178-4.144a1.107 1.107 0 0 0-1.661.958v8.288a1.105 1.105 0 0 0 1.661.96l7.178-4.145a1.107 1.107 0 0 0 0-1.917m-.5 1.051-7.178 4.145a.1.1 0 0 1-.107 0 .1.1 0 0 1-.054-.094v-8.288a.1.1 0 0 1 .054-.092.1.1 0 0 1 .107 0l7.178 4.143a.1.1 0 0 1 .054.094.1.1 0 0 1-.054.092'/%3e%3c/svg%3e";
|
|
16815
|
-
var PlayFill = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m4.839 14.957-7.178 4.145a1.108 1.108 0 0 1-1.661-.96v-8.288a1.107 1.107 0 0 1 1.661-.958l7.178 4.144a1.107 1.107 0 0 1 0 1.917'/%3e%3c/svg%3e";
|
|
16816
|
-
|
|
16817
16781
|
var CardFooter = function (_a) {
|
|
16818
16782
|
var metaText = _a.metaText, _b = _a.buttonIcon, buttonIcon = _b === void 0 ? "arrow" : _b, _c = _a.buttonSize, buttonSize = _c === void 0 ? "m" : _c, _d = _a.isDarkPathway, isDarkPathway = _d === void 0 ? false : _d, _e = _a.showButton, showButton = _e === void 0 ? true : _e, _f = _a.isHovered, isHovered = _f === void 0 ? false : _f;
|
|
16819
16783
|
var icons = {
|
|
16820
|
-
arrow:
|
|
16821
|
-
|
|
16822
|
-
filled: ArrowRightFill,
|
|
16823
|
-
},
|
|
16824
|
-
play: {
|
|
16825
|
-
regular: Play,
|
|
16826
|
-
filled: PlayFill,
|
|
16827
|
-
},
|
|
16784
|
+
arrow: "cardRight",
|
|
16785
|
+
play: "cardPlay",
|
|
16828
16786
|
};
|
|
16829
16787
|
return (React.createElement("div", { className: classNames("arc-CardFooter", {
|
|
16830
16788
|
"arc-CardFooter--darkPathway": isDarkPathway,
|
|
@@ -16838,14 +16796,14 @@ var CardFooter = function (_a) {
|
|
|
16838
16796
|
React.createElement("div", { className: classNames("arc-CardFooter-buttonIconRight", {
|
|
16839
16797
|
"arc-CardFooter-buttonIconRight--isHovered": isHovered,
|
|
16840
16798
|
}) },
|
|
16841
|
-
React.createElement(
|
|
16799
|
+
React.createElement(ThemeIcon, { icon: icons[buttonIcon] })),
|
|
16842
16800
|
React.createElement("div", { className: "arc-CardFooter-buttonIconLeft" },
|
|
16843
|
-
React.createElement(
|
|
16801
|
+
React.createElement(ThemeIcon, { icon: icons[buttonIcon] }))))))));
|
|
16844
16802
|
};
|
|
16845
16803
|
|
|
16846
16804
|
var CardHeading = function (_a) {
|
|
16847
16805
|
var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d;
|
|
16848
|
-
return (React.createElement(Heading, { level: headingLevel, size: size }, href ? (React.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
|
|
16806
|
+
return (React.createElement(Heading, { level: headingLevel, size: size, isWordWrap: false }, href ? (React.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
|
|
16849
16807
|
};
|
|
16850
16808
|
|
|
16851
16809
|
var HorizontalCard = function (_a) {
|
|
@@ -16868,8 +16826,8 @@ var HorizontalCard = function (_a) {
|
|
|
16868
16826
|
|
|
16869
16827
|
/** Use `ImpactCard` for important content that needs additional hierarchy and prominence. */
|
|
16870
16828
|
var ImpactCard = function (_a) {
|
|
16871
|
-
var url = _a.url, onClick = _a.onClick, heading = _a.heading, img = _a.img, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.buttonIcon, buttonIcon = _f === void 0 ? "arrow" : _f, props = __rest(_a, ["url", "onClick", "heading", "img", "label", "minHeight", "headingSize", "linkData", "pathway", "headingLevel", "buttonIcon"]);
|
|
16872
|
-
var
|
|
16829
|
+
var url = _a.url, onClick = _a.onClick, heading = _a.heading, img = _a.img, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.buttonIcon, buttonIcon = _f === void 0 ? "arrow" : _f, _g = _a.labelLevel, labelLevel = _g === void 0 ? "3" : _g, props = __rest(_a, ["url", "onClick", "heading", "img", "label", "minHeight", "headingSize", "linkData", "pathway", "headingLevel", "buttonIcon", "labelLevel"]);
|
|
16830
|
+
var _h = React.useState(false), showHoverState = _h[0], setShowHoverState = _h[1];
|
|
16873
16831
|
var surface = React.useContext(Context$3).surface;
|
|
16874
16832
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
16875
16833
|
var isDarkPathway = pathway === "dark";
|
|
@@ -16883,7 +16841,7 @@ var ImpactCard = function (_a) {
|
|
|
16883
16841
|
React.createElement(Image, __assign({ fit: "cover", alt: "" }, img))),
|
|
16884
16842
|
React.createElement("div", { className: "arc-ImpactCard-contentContainer" },
|
|
16885
16843
|
label && (React.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16886
|
-
React.createElement(Heading, { level:
|
|
16844
|
+
React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
|
|
16887
16845
|
React.createElement(VerticalSpace, { size: "16" }))),
|
|
16888
16846
|
React.createElement(CardHeading, { heading: heading, size: headingSize, headingLevel: headingLevel, linkData: linkData, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) })),
|
|
16889
16847
|
React.createElement(CardFooter, { buttonIcon: buttonIcon, showButton: true, isDarkPathway: isDarkPathway, isHovered: showHoverState })));
|
|
@@ -16898,30 +16856,20 @@ const BtIconArrowRight =
|
|
|
16898
16856
|
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 27a13 13 0 1 1 13-13 13.015 13.015 0 0 1-13 13'/%3e%3cpath d='M18.146 11.646a.5.5 0 0 0 0 .707l3.147 3.147H9.5a.5.5 0 0 0 0 1h11.793l-3.146 3.146a.5.5 0 1 0 .707.707L23.207 16l-4.354-4.354a.5.5 0 0 0-.707 0'/%3e%3c/svg%3e";
|
|
16899
16857
|
|
|
16900
16858
|
/**
|
|
16901
|
-
*
|
|
16902
|
-
*
|
|
16903
|
-
* This object contains keys representing breakpoint names (e.g., `xxl`, `xl`)
|
|
16904
|
-
* and values representing the pixel widths for those breakpoints. The values are parsed
|
|
16905
|
-
* from strings (e.g., "1400px") into numbers for easier usage in responsive logic.
|
|
16906
|
-
*
|
|
16907
|
-
* Kept in src for internal use
|
|
16859
|
+
* Do not edit directly
|
|
16860
|
+
* Generated file
|
|
16908
16861
|
*/
|
|
16909
|
-
|
|
16910
|
-
|
|
16911
|
-
|
|
16912
|
-
l: parseInt(ArcSizeBreakpointsL, 10),
|
|
16913
|
-
m: parseInt(ArcSizeBreakpointsM, 10),
|
|
16914
|
-
s: parseInt(ArcSizeBreakpointsS, 10),
|
|
16915
|
-
xs: parseInt(ArcSizeBreakpointsXs, 10),
|
|
16916
|
-
};
|
|
16862
|
+
|
|
16863
|
+
const BtIconArrowRightFill =
|
|
16864
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M2 16A14 14 0 1 0 16 2 14 14 0 0 0 2 16m16.854-4.354L23.207 16l-4.354 4.354a.5.5 0 0 1-.707-.707l3.147-3.147H9.5a.5.5 0 0 1 0-1h11.793l-3.146-3.146a.5.5 0 0 1 .707-.707'/%3e%3c/svg%3e";
|
|
16917
16865
|
|
|
16918
16866
|
/** Use `InformationCard` for flexibility and the ability to focus and highlight product specific content. */
|
|
16919
16867
|
var InformationCard = function (_a) {
|
|
16920
|
-
var cardUrl = _a.cardUrl, onClick = _a.onClick, heading = _a.heading, text = _a.text, label = _a.label, footerLogo = _a.footerLogo, button = _a.button, image = _a.image, badges = _a.badges, icon = _a.icon, minHeight = _a.minHeight, minHeights = _a.minHeights, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, props = __rest(_a, ["cardUrl", "onClick", "heading", "text", "label", "footerLogo", "button", "image", "badges", "icon", "minHeight", "minHeights", "headingLevel"]);
|
|
16868
|
+
var cardUrl = _a.cardUrl, onClick = _a.onClick, heading = _a.heading, text = _a.text, label = _a.label, footerLogo = _a.footerLogo, button = _a.button, image = _a.image, badges = _a.badges, icon = _a.icon, minHeight = _a.minHeight, minHeights = _a.minHeights, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, props = __rest(_a, ["cardUrl", "onClick", "heading", "text", "label", "footerLogo", "button", "image", "badges", "icon", "minHeight", "minHeights", "headingLevel", "labelLevel"]);
|
|
16921
16869
|
var surface = React.useContext(Context$3).surface;
|
|
16922
|
-
var
|
|
16870
|
+
var _d = React.useState(false), showHoverState = _d[0], setShowHoverState = _d[1];
|
|
16923
16871
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
16924
|
-
var
|
|
16872
|
+
var _e = React.useState(undefined), minimumHeight = _e[0], setMinimumHeight = _e[1];
|
|
16925
16873
|
var checkMinHeight = debounce(function () {
|
|
16926
16874
|
for (var _i = 0, _a = Object.entries(ArcBreakpoints); _i < _a.length; _i++) {
|
|
16927
16875
|
var _b = _a[_i], key = _b[0], value = _b[1];
|
|
@@ -16955,7 +16903,7 @@ var InformationCard = function (_a) {
|
|
|
16955
16903
|
React.createElement("div", { className: "arc-InformationCard-contentContainer" },
|
|
16956
16904
|
label && (React.createElement(React.Fragment, null,
|
|
16957
16905
|
React.createElement("div", { className: "arc-InformationCard-label" },
|
|
16958
|
-
React.createElement(Heading, { level:
|
|
16906
|
+
React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label)))),
|
|
16959
16907
|
React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
|
|
16960
16908
|
text && React.createElement(Text, null, text)),
|
|
16961
16909
|
(button || badges || footerLogo) && (React.createElement("div", { className: "arc-InformationCard-footer" },
|
|
@@ -16967,7 +16915,7 @@ var InformationCard = function (_a) {
|
|
|
16967
16915
|
})))),
|
|
16968
16916
|
React.createElement("div", { className: "arc-InformationCard-footerItems" },
|
|
16969
16917
|
button && !cardUrl && (React.createElement("div", { className: "arc-InformationCard-footerButtonContainer" },
|
|
16970
|
-
React.createElement(ButtonV2, __assign({}, button, { size: "m", iconPosition: "beforeText", buttonStyle: "compact", icon: BtIconArrowRight })))),
|
|
16918
|
+
React.createElement(ButtonV2, __assign({}, button, { size: "m", iconPosition: "beforeText", buttonStyle: "compact", icon: BtIconArrowRight, iconActive: BtIconArrowRightFill })))),
|
|
16971
16919
|
footerLogo && (React.createElement("div", { className: "arc-InformationCard-footerLogoContainer" },
|
|
16972
16920
|
React.createElement(Image, __assign({}, footerLogo)))))))))));
|
|
16973
16921
|
};
|
|
@@ -16997,10 +16945,10 @@ var VideoPlayer$1 = React.lazy(function () {
|
|
|
16997
16945
|
* Use `MediaCard` to contain content and an image about a single subject.
|
|
16998
16946
|
*/
|
|
16999
16947
|
var MediaCard = function (_a) {
|
|
17000
|
-
var media = _a.media, url = _a.url, onClick = _a.onClick, heading = _a.heading, label = _a.label, text = _a.text, metaText = _a.metaText, minHeight = _a.minHeight,
|
|
16948
|
+
var media = _a.media, url = _a.url, onClick = _a.onClick, heading = _a.heading, label = _a.label, _b = _a.labelLevel, labelLevel = _b === void 0 ? "3" : _b, text = _a.text, metaText = _a.metaText, minHeight = _a.minHeight, _c = _a.buttonIcon, buttonIcon = _c === void 0 ? "arrow" : _c, _d = _a.isContained, isContained = _d === void 0 ? true : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, props = __rest(_a, ["media", "url", "onClick", "heading", "label", "labelLevel", "text", "metaText", "minHeight", "buttonIcon", "isContained", "headingLevel"]);
|
|
17001
16949
|
var surface = React.useContext(Context$3).surface;
|
|
17002
|
-
var
|
|
17003
|
-
var
|
|
16950
|
+
var _f = React.useState(false), isClient = _f[0], setIsClient = _f[1];
|
|
16951
|
+
var _g = React.useState(false), showHoverState = _g[0], setShowHoverState = _g[1];
|
|
17004
16952
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
17005
16953
|
React.useEffect(function () {
|
|
17006
16954
|
setIsClient(true);
|
|
@@ -17017,7 +16965,7 @@ var MediaCard = function (_a) {
|
|
|
17017
16965
|
React.createElement(VideoPlayer$1, __assign({ isSupportingTextHidden: true }, media)))),
|
|
17018
16966
|
React.createElement("div", { className: "arc-MediaCard-content" },
|
|
17019
16967
|
label && (React.createElement("div", { className: "arc-MediaCard-label" },
|
|
17020
|
-
React.createElement(Heading, { level:
|
|
16968
|
+
React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
|
|
17021
16969
|
React.createElement(VerticalSpace, { size: "16" }))),
|
|
17022
16970
|
React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: media.type !== "video" ? url : undefined, onClick: media.type !== "video" ? onClick : undefined, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
|
|
17023
16971
|
React.createElement("div", { className: "arc-MediaCard-textContainer" }, text && (React.createElement(React.Fragment, null,
|
|
@@ -17255,7 +17203,7 @@ var [createMenuContext, createMenuScope] = createContextScope$1(MENU_NAME, [
|
|
|
17255
17203
|
]);
|
|
17256
17204
|
var usePopperScope$1 = createPopperScope$1();
|
|
17257
17205
|
var useRovingFocusGroupScope = createRovingFocusGroupScope();
|
|
17258
|
-
var [MenuProvider, useMenuContext] = createMenuContext(MENU_NAME);
|
|
17206
|
+
var [MenuProvider$1, useMenuContext$1] = createMenuContext(MENU_NAME);
|
|
17259
17207
|
var [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);
|
|
17260
17208
|
var Menu$1 = (props) => {
|
|
17261
17209
|
const { __scopeMenu, open = false, children, dir, onOpenChange, modal = true } = props;
|
|
@@ -17279,7 +17227,7 @@ var Menu$1 = (props) => {
|
|
|
17279
17227
|
};
|
|
17280
17228
|
}, []);
|
|
17281
17229
|
return /* @__PURE__ */ jsxRuntime.jsx(Root2$4, { ...popperScope, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17282
|
-
MenuProvider,
|
|
17230
|
+
MenuProvider$1,
|
|
17283
17231
|
{
|
|
17284
17232
|
scope: __scopeMenu,
|
|
17285
17233
|
open,
|
|
@@ -17316,7 +17264,7 @@ var [PortalProvider$1, usePortalContext$1] = createMenuContext(PORTAL_NAME$3, {
|
|
|
17316
17264
|
});
|
|
17317
17265
|
var MenuPortal$1 = (props) => {
|
|
17318
17266
|
const { __scopeMenu, forceMount, children, container } = props;
|
|
17319
|
-
const context = useMenuContext(PORTAL_NAME$3, __scopeMenu);
|
|
17267
|
+
const context = useMenuContext$1(PORTAL_NAME$3, __scopeMenu);
|
|
17320
17268
|
return /* @__PURE__ */ jsxRuntime.jsx(PortalProvider$1, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsxRuntime.jsx(Presence$1, { present: forceMount || context.open, children: /* @__PURE__ */ jsxRuntime.jsx(Portal$6, { asChild: true, container, children }) }) });
|
|
17321
17269
|
};
|
|
17322
17270
|
MenuPortal$1.displayName = PORTAL_NAME$3;
|
|
@@ -17326,14 +17274,14 @@ var MenuContent$1 = React__namespace.forwardRef(
|
|
|
17326
17274
|
(props, forwardedRef) => {
|
|
17327
17275
|
const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17328
17276
|
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
17329
|
-
const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
|
|
17277
|
+
const context = useMenuContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17330
17278
|
const rootContext = useMenuRootContext(CONTENT_NAME$3, props.__scopeMenu);
|
|
17331
17279
|
return /* @__PURE__ */ jsxRuntime.jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsxRuntime.jsx(Presence$1, { present: forceMount || context.open, children: /* @__PURE__ */ jsxRuntime.jsx(Collection.Slot, { scope: props.__scopeMenu, children: rootContext.modal ? /* @__PURE__ */ jsxRuntime.jsx(MenuRootContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsxRuntime.jsx(MenuRootContentNonModal, { ...contentProps, ref: forwardedRef }) }) }) });
|
|
17332
17280
|
}
|
|
17333
17281
|
);
|
|
17334
17282
|
var MenuRootContentModal = React__namespace.forwardRef(
|
|
17335
17283
|
(props, forwardedRef) => {
|
|
17336
|
-
const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
|
|
17284
|
+
const context = useMenuContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17337
17285
|
const ref = React__namespace.useRef(null);
|
|
17338
17286
|
const composedRefs = useComposedRefs$1(forwardedRef, ref);
|
|
17339
17287
|
React__namespace.useEffect(() => {
|
|
@@ -17359,7 +17307,7 @@ var MenuRootContentModal = React__namespace.forwardRef(
|
|
|
17359
17307
|
}
|
|
17360
17308
|
);
|
|
17361
17309
|
var MenuRootContentNonModal = React__namespace.forwardRef((props, forwardedRef) => {
|
|
17362
|
-
const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
|
|
17310
|
+
const context = useMenuContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17363
17311
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17364
17312
|
MenuContentImpl,
|
|
17365
17313
|
{
|
|
@@ -17390,7 +17338,7 @@ var MenuContentImpl = React__namespace.forwardRef(
|
|
|
17390
17338
|
disableOutsideScroll,
|
|
17391
17339
|
...contentProps
|
|
17392
17340
|
} = props;
|
|
17393
|
-
const context = useMenuContext(CONTENT_NAME$3, __scopeMenu);
|
|
17341
|
+
const context = useMenuContext$1(CONTENT_NAME$3, __scopeMenu);
|
|
17394
17342
|
const rootContext = useMenuRootContext(CONTENT_NAME$3, __scopeMenu);
|
|
17395
17343
|
const popperScope = usePopperScope$1(__scopeMenu);
|
|
17396
17344
|
const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);
|
|
@@ -17792,7 +17740,7 @@ var SUB_NAME = "MenuSub";
|
|
|
17792
17740
|
var [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);
|
|
17793
17741
|
var MenuSub = (props) => {
|
|
17794
17742
|
const { __scopeMenu, children, open = false, onOpenChange } = props;
|
|
17795
|
-
const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);
|
|
17743
|
+
const parentMenuContext = useMenuContext$1(SUB_NAME, __scopeMenu);
|
|
17796
17744
|
const popperScope = usePopperScope$1(__scopeMenu);
|
|
17797
17745
|
const [trigger, setTrigger] = React__namespace.useState(null);
|
|
17798
17746
|
const [content, setContent] = React__namespace.useState(null);
|
|
@@ -17802,7 +17750,7 @@ var MenuSub = (props) => {
|
|
|
17802
17750
|
return () => handleOpenChange(false);
|
|
17803
17751
|
}, [parentMenuContext.open, handleOpenChange]);
|
|
17804
17752
|
return /* @__PURE__ */ jsxRuntime.jsx(Root2$4, { ...popperScope, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17805
|
-
MenuProvider,
|
|
17753
|
+
MenuProvider$1,
|
|
17806
17754
|
{
|
|
17807
17755
|
scope: __scopeMenu,
|
|
17808
17756
|
open,
|
|
@@ -17827,7 +17775,7 @@ MenuSub.displayName = SUB_NAME;
|
|
|
17827
17775
|
var SUB_TRIGGER_NAME$1 = "MenuSubTrigger";
|
|
17828
17776
|
var MenuSubTrigger = React__namespace.forwardRef(
|
|
17829
17777
|
(props, forwardedRef) => {
|
|
17830
|
-
const context = useMenuContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17778
|
+
const context = useMenuContext$1(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17831
17779
|
const rootContext = useMenuRootContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17832
17780
|
const subContext = useMenuSubContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17833
17781
|
const contentContext = useMenuContentContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
@@ -17930,7 +17878,7 @@ var MenuSubContent = React__namespace.forwardRef(
|
|
|
17930
17878
|
(props, forwardedRef) => {
|
|
17931
17879
|
const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17932
17880
|
const { forceMount = portalContext.forceMount, ...subContentProps } = props;
|
|
17933
|
-
const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
|
|
17881
|
+
const context = useMenuContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17934
17882
|
const rootContext = useMenuRootContext(CONTENT_NAME$3, props.__scopeMenu);
|
|
17935
17883
|
const subContext = useMenuSubContext(SUB_CONTENT_NAME$1, props.__scopeMenu);
|
|
17936
17884
|
const ref = React__namespace.useRef(null);
|
|
@@ -18295,12 +18243,74 @@ var Sub2 = DropdownMenuSub;
|
|
|
18295
18243
|
var SubTrigger2 = DropdownMenuSubTrigger;
|
|
18296
18244
|
var SubContent2 = DropdownMenuSubContent;
|
|
18297
18245
|
|
|
18246
|
+
var MenuContext = React.createContext(null);
|
|
18247
|
+
var useMenuContext = function () {
|
|
18248
|
+
var ctx = React.useContext(MenuContext);
|
|
18249
|
+
if (!ctx) {
|
|
18250
|
+
throw new Error("useMenuContext must be used within a <MenuProvider>");
|
|
18251
|
+
}
|
|
18252
|
+
return ctx;
|
|
18253
|
+
};
|
|
18254
|
+
|
|
18255
|
+
var MenuProvider = function (_a) {
|
|
18256
|
+
var isMobileMenu = _a.isMobileMenu, defaultWidth = _a.defaultWidth, children = _a.children;
|
|
18257
|
+
var _b = React.useState([]), stack = _b[0], setStack = _b[1];
|
|
18258
|
+
var focusFirstMenuItem = function () {
|
|
18259
|
+
requestAnimationFrame(function () {
|
|
18260
|
+
var wrappers = document.querySelectorAll("[data-radix-popper-content-wrapper]");
|
|
18261
|
+
var latestWrapper = wrappers[wrappers.length - 1];
|
|
18262
|
+
if (!latestWrapper)
|
|
18263
|
+
return;
|
|
18264
|
+
var firstItem = latestWrapper.querySelector('[role="menuitem"]');
|
|
18265
|
+
firstItem === null || firstItem === void 0 ? void 0 : firstItem.focus();
|
|
18266
|
+
});
|
|
18267
|
+
};
|
|
18268
|
+
var goForward = function (item, navigatedViaKeyboard) {
|
|
18269
|
+
setStack(function (prevStack) { return __spreadArray(__spreadArray([], prevStack, true), [item], false); });
|
|
18270
|
+
if (navigatedViaKeyboard) {
|
|
18271
|
+
focusFirstMenuItem();
|
|
18272
|
+
}
|
|
18273
|
+
};
|
|
18274
|
+
var goBack = function (navigatedViaKeyboard) {
|
|
18275
|
+
setStack(function (prevStack) {
|
|
18276
|
+
var newStack = prevStack.slice(0, -1);
|
|
18277
|
+
if (navigatedViaKeyboard) {
|
|
18278
|
+
var last_1 = prevStack[prevStack.length - 1];
|
|
18279
|
+
requestAnimationFrame(function () {
|
|
18280
|
+
var trigger = (last_1 === null || last_1 === void 0 ? void 0 : last_1.triggerId)
|
|
18281
|
+
? document.querySelector("[data-menu-trigger=\"".concat(last_1.triggerId, "\"]"))
|
|
18282
|
+
: null;
|
|
18283
|
+
if (trigger) {
|
|
18284
|
+
trigger.focus();
|
|
18285
|
+
}
|
|
18286
|
+
else {
|
|
18287
|
+
focusFirstMenuItem();
|
|
18288
|
+
}
|
|
18289
|
+
});
|
|
18290
|
+
}
|
|
18291
|
+
return newStack;
|
|
18292
|
+
});
|
|
18293
|
+
};
|
|
18294
|
+
var reset = function () {
|
|
18295
|
+
setStack([]);
|
|
18296
|
+
};
|
|
18297
|
+
return (React.createElement(MenuContext.Provider, { value: {
|
|
18298
|
+
isMobileMenu: isMobileMenu,
|
|
18299
|
+
stack: stack,
|
|
18300
|
+
goForward: goForward,
|
|
18301
|
+
goBack: goBack,
|
|
18302
|
+
reset: reset,
|
|
18303
|
+
defaultWidth: defaultWidth,
|
|
18304
|
+
} }, children));
|
|
18305
|
+
};
|
|
18306
|
+
|
|
18298
18307
|
/**
|
|
18299
18308
|
* Contains all the parts of a dropdown menu.
|
|
18300
18309
|
*/
|
|
18301
18310
|
var Menu = function (_a) {
|
|
18302
|
-
var defaultOpen = _a.defaultOpen, open = _a.open, onOpenChange = _a.onOpenChange, _b = _a.modal, modal = _b === void 0 ?
|
|
18303
|
-
return (React.createElement(Root2$1, __assign({ defaultOpen: defaultOpen, open: open, onOpenChange: onOpenChange, modal: modal }, filterAttrs(props)),
|
|
18311
|
+
var defaultOpen = _a.defaultOpen, open = _a.open, onOpenChange = _a.onOpenChange, _b = _a.modal, modal = _b === void 0 ? true : _b, _c = _a.isMobileMenu, isMobileMenu = _c === void 0 ? false : _c, children = _a.children, defaultWidth = _a.defaultWidth, props = __rest(_a, ["defaultOpen", "open", "onOpenChange", "modal", "isMobileMenu", "children", "defaultWidth"]);
|
|
18312
|
+
return (React.createElement(Root2$1, __assign({ defaultOpen: defaultOpen, open: open, onOpenChange: onOpenChange, modal: modal }, filterAttrs(props)),
|
|
18313
|
+
React.createElement(MenuProvider, { isMobileMenu: isMobileMenu, defaultWidth: defaultWidth }, children)));
|
|
18304
18314
|
};
|
|
18305
18315
|
|
|
18306
18316
|
var MenuItemContentTemplate = function (_a) {
|
|
@@ -18327,19 +18337,114 @@ var MenuItemCheckbox = function (_a) {
|
|
|
18327
18337
|
}
|
|
18328
18338
|
onSelect === null || onSelect === void 0 ? void 0 : onSelect(event);
|
|
18329
18339
|
}, id: id }, filterAttrs(props)),
|
|
18330
|
-
React.createElement(
|
|
18331
|
-
"arc-MenuItemCheckbox-box--checked": checked,
|
|
18332
|
-
}) }, checked && (React.createElement("svg", { style: { width: 14, height: 11 }, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
18333
|
-
React.createElement("path", { d: "M5.99459 14L0.350576 8.23277C0.126079 8.00285 0 7.69132 0 7.36653C0 7.04173 0.126079 6.7302 0.350576 6.50028C0.578979 6.27752 0.88258 6.15324 1.19832 6.15324C1.51405 6.15324 1.81765 6.27752 2.04606 6.50028L5.99459 10.535L15.9385 0.374054C16.0491 0.25703 16.1814 0.163688 16.3277 0.0994738C16.474 0.0352599 16.6313 0.00145997 16.7905 4.626e-05C16.9497 -0.00136745 17.1076 0.0296342 17.255 0.0912406C17.4023 0.152847 17.5362 0.243825 17.6488 0.358867C17.7614 0.473908 17.8504 0.610709 17.9107 0.761287C17.971 0.911865 18.0013 1.0732 18 1.23589C17.9986 1.39858 17.9655 1.55936 17.9026 1.70884C17.8398 1.85833 17.7485 1.99352 17.6339 2.10655L5.99459 14Z", fill: "currentColor" })))),
|
|
18340
|
+
React.createElement(CheckboxIcon, { size: "s", id: id, error: false, isDisabled: isDisabled, onChange: function () { return onCheckedChange; }, checked: checked, indeterminate: false }),
|
|
18334
18341
|
React.createElement(MenuItemContentTemplate, null, children)));
|
|
18335
18342
|
};
|
|
18336
18343
|
|
|
18344
|
+
/**
|
|
18345
|
+
* Do not edit directly
|
|
18346
|
+
* Generated file
|
|
18347
|
+
*/
|
|
18348
|
+
|
|
18349
|
+
const BtIconChevronLeftMid =
|
|
18350
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='m7.621 8 2.849 2.852a.673.673 0 0 1-.732 1.097.7.7 0 0 1-.218-.145L6.196 8.476a.673.673 0 0 1 0-.951L9.52 4.197a.67.67 0 0 1 1.146.476c0 .178-.07.349-.196.475z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
18351
|
+
|
|
18352
|
+
/**
|
|
18353
|
+
* Do not edit directly
|
|
18354
|
+
* Generated file
|
|
18355
|
+
*/
|
|
18356
|
+
|
|
18357
|
+
const BtIconChevronRightMid =
|
|
18358
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='M9.045 8 6.197 5.148a.673.673 0 0 1 .731-1.097.7.7 0 0 1 .218.146l3.324 3.328a.673.673 0 0 1 0 .95l-3.324 3.329A.67.67 0 0 1 6 11.328c0-.178.07-.35.197-.476z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
18359
|
+
|
|
18360
|
+
/**
|
|
18361
|
+
* Do not edit directly
|
|
18362
|
+
* Generated file
|
|
18363
|
+
*/
|
|
18364
|
+
|
|
18365
|
+
const BtIconCrossAlt2Px =
|
|
18366
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m17.414 16 3.793-3.793a1 1 0 0 0-1.414-1.414L16 14.586l-3.793-3.793a1 1 0 0 0-1.414 1.414L14.586 16l-3.793 3.793a1 1 0 1 0 1.414 1.414L16 17.414l3.793 3.793a1 1 0 0 0 1.414-1.414Z'/%3e%3c/svg%3e";
|
|
18367
|
+
|
|
18368
|
+
/**
|
|
18369
|
+
* Do not edit directly
|
|
18370
|
+
* Generated file
|
|
18371
|
+
*/
|
|
18372
|
+
|
|
18373
|
+
const BtIconCrossAlt2PxFill =
|
|
18374
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m5.207 17.793a1 1 0 1 1-1.414 1.414L16 17.414l-3.793 3.793a1 1 0 0 1-1.414-1.414L14.586 16l-3.793-3.793a1 1 0 0 1 1.414-1.414L16 14.586l3.793-3.793a1 1 0 0 1 1.414 1.414L17.414 16Z'/%3e%3c/svg%3e";
|
|
18375
|
+
|
|
18376
|
+
/**
|
|
18377
|
+
* Do not edit directly
|
|
18378
|
+
* Generated file
|
|
18379
|
+
*/
|
|
18380
|
+
|
|
18381
|
+
const BtIconFirstMid =
|
|
18382
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='M4.675 4.005c.373 0 .675.303.675.675v6.64a.675.675 0 1 1-1.35 0V4.68c0-.372.302-.675.675-.675M7.973 8l2.848 2.852a.673.673 0 0 1-.731 1.097.7.7 0 0 1-.218-.145L6.548 8.476a.673.673 0 0 1 0-.951l3.324-3.328a.671.671 0 1 1 .95.951z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
18383
|
+
|
|
18384
|
+
/**
|
|
18385
|
+
* Do not edit directly
|
|
18386
|
+
* Generated file
|
|
18387
|
+
*/
|
|
18388
|
+
|
|
18389
|
+
const BtIconLastMid =
|
|
18390
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='M10.34 11.995a.675.675 0 0 1-.674-.675V4.68a.675.675 0 1 1 1.35 0v6.64a.675.675 0 0 1-.675.675M7.043 8 4.194 5.148a.673.673 0 0 1 .732-1.097.7.7 0 0 1 .218.146l3.324 3.328a.673.673 0 0 1 0 .95l-3.324 3.329a.671.671 0 1 1-.95-.952z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
18391
|
+
|
|
18392
|
+
/**
|
|
18393
|
+
* Do not edit directly
|
|
18394
|
+
* Generated file
|
|
18395
|
+
*/
|
|
18396
|
+
|
|
18397
|
+
const BtIconTickAlt2Px =
|
|
18398
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m13.5 21.914-4.707-4.707a1 1 0 0 1 0-1.414 1.024 1.024 0 0 1 1.414 0l3.293 3.293 8.293-8.293a1 1 0 1 1 1.414 1.414Z'/%3e%3c/svg%3e";
|
|
18399
|
+
|
|
18400
|
+
/**
|
|
18401
|
+
* Renders a menu item, optionally as a link if `href` is provided.
|
|
18402
|
+
*/
|
|
18403
|
+
var MenuItem = function (_a) {
|
|
18404
|
+
var leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, trailingIcon = _a.trailingIcon, children = _a.children, onClick = _a.onClick, _b = _a.shouldKeepOpen, shouldKeepOpen = _b === void 0 ? true : _b, isDisabled = _a.isDisabled, href = _a.href, ariaLabel = _a.ariaLabel, props = __rest(_a, ["leadingIcon", "supportingText", "keyCommands", "trailingIcon", "children", "onClick", "shouldKeepOpen", "isDisabled", "href", "ariaLabel"]);
|
|
18405
|
+
var Component = href ? "a" : "div";
|
|
18406
|
+
return (React.createElement(Item2, __assign({ className: "arc-MenuItem", asChild: true, "aria-label": ariaLabel, onClick: isDisabled ? undefined : onClick, onSelect: function (event) {
|
|
18407
|
+
if (shouldKeepOpen) {
|
|
18408
|
+
event.preventDefault();
|
|
18409
|
+
}
|
|
18410
|
+
}, disabled: isDisabled }, filterAttrs(props)),
|
|
18411
|
+
React.createElement(Component, __assign({ className: href && "arc-MenuItem--link", href: href }, props),
|
|
18412
|
+
React.createElement(MenuItemContentTemplate, { leadingIcon: leadingIcon, trailingIcon: trailingIcon, supportingText: supportingText, keyCommands: keyCommands }, children))));
|
|
18413
|
+
};
|
|
18414
|
+
|
|
18415
|
+
/**
|
|
18416
|
+
* Visual separator used to divide groups of menu items.
|
|
18417
|
+
*/
|
|
18418
|
+
var MenuSeparator = function (props) {
|
|
18419
|
+
return (React.createElement(Separator2, __assign({ className: "arc-MenuSeparator" }, filterAttrs(props)),
|
|
18420
|
+
React.createElement(Rule, null)));
|
|
18421
|
+
};
|
|
18422
|
+
|
|
18337
18423
|
/**
|
|
18338
18424
|
* The component that pops out when the dropdown menu is open.
|
|
18339
18425
|
*/
|
|
18340
18426
|
var MenuContent = React.forwardRef(function (_a, ref) {
|
|
18341
|
-
var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, _b = _a.align, align = _b === void 0 ? "start" : _b, alignOffset = _a.alignOffset, side = _a.side, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "align", "alignOffset", "side"]);
|
|
18342
|
-
|
|
18427
|
+
var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, _b = _a.align, align = _b === void 0 ? "start" : _b, alignOffset = _a.alignOffset, side = _a.side, initalTitle = _a.initalTitle, isFluidToViewport = _a.isFluidToViewport, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "align", "alignOffset", "side", "initalTitle", "isFluidToViewport"]);
|
|
18428
|
+
var _c = useMenuContext(), isMobileMenu = _c.isMobileMenu, stack = _c.stack, goBack = _c.goBack, defaultWidth = _c.defaultWidth, reset = _c.reset;
|
|
18429
|
+
if (!isMobileMenu) {
|
|
18430
|
+
return (React.createElement(Content2$1, __assign({ ref: ref, style: { width: width !== null && width !== void 0 ? width : defaultWidth, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 12, loop: true, collisionPadding: 0, forceMount: true, align: align, alignOffset: alignOffset, side: side }, filterAttrs(props)),
|
|
18431
|
+
React.createElement("div", { className: "arc-MenuContent-content" }, children)));
|
|
18432
|
+
}
|
|
18433
|
+
var active = stack.length > 0 ? stack[stack.length - 1].content : children;
|
|
18434
|
+
var prevTitle = stack.length > 1 ? stack[stack.length - 2].title : initalTitle || "Back";
|
|
18435
|
+
return (React.createElement(Content2$1, __assign({ style: { width: width !== null && width !== void 0 ? width : defaultWidth, minWidth: minWidth, maxWidth: maxWidth }, sideOffset: 12, collisionPadding: 12, className: classNames("arc-MenuContent arc-MenuContent--mobile", {
|
|
18436
|
+
"arc-MenuContent--isFluid": isFluidToViewport || defaultWidth === "fluid",
|
|
18437
|
+
}), side: "bottom", avoidCollisions: true, onKeyDown: function (e) {
|
|
18438
|
+
if (stack.length > 0) {
|
|
18439
|
+
if (e.key === "ArrowLeft") {
|
|
18440
|
+
goBack(true);
|
|
18441
|
+
}
|
|
18442
|
+
}
|
|
18443
|
+
}, forceMount: true, onPointerDownOutside: reset, onEscapeKeyDown: reset }, filterAttrs(props)),
|
|
18444
|
+
stack.length > 0 && (React.createElement(React.Fragment, null,
|
|
18445
|
+
React.createElement(MenuItem, { onClick: goBack, leadingIcon: BtIconChevronLeftMid }, prevTitle),
|
|
18446
|
+
React.createElement(MenuSeparator, null))),
|
|
18447
|
+
React.createElement("div", { key: stack.length, className: "arc-MenuContent-content arc-MenuContent-fade" }, active)));
|
|
18343
18448
|
});
|
|
18344
18449
|
|
|
18345
18450
|
/**
|
|
@@ -18364,33 +18469,18 @@ var MenuGroup = function (_a) {
|
|
|
18364
18469
|
return (React.createElement(Group2, __assign({ className: "arc-MenuGroup" }, filterAttrs(props)), children));
|
|
18365
18470
|
};
|
|
18366
18471
|
|
|
18367
|
-
/**
|
|
18368
|
-
* Displays a header within the dropdown menu.
|
|
18369
|
-
*/
|
|
18370
|
-
var MenuHeader = function (_a) {
|
|
18371
|
-
var leadingIcon = _a.leadingIcon, trailingIcon = _a.trailingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, children = _a.children, onClick = _a.onClick, isDisabled = _a.isDisabled, ariaLabel = _a.ariaLabel;
|
|
18372
|
-
return (React.createElement("div", { className: "arc-MenuHeader" },
|
|
18373
|
-
React.createElement(Item2, { className: "arc-MenuItem
|
|
18374
|
-
React.createElement(MenuItemContentTemplate, { leadingIcon: leadingIcon, trailingIcon: trailingIcon, supportingText: supportingText, keyCommands: keyCommands }, children)),
|
|
18375
|
-
React.createElement("div", { className: "arc-MenuSeparator", style: {
|
|
18376
|
-
paddingBottom: 0,
|
|
18377
|
-
} },
|
|
18378
|
-
React.createElement(Rule, null))));
|
|
18379
|
-
};
|
|
18380
|
-
|
|
18381
|
-
/**
|
|
18382
|
-
* Renders a menu item, optionally as a link if `href` is provided.
|
|
18383
|
-
*/
|
|
18384
|
-
var MenuItem = function (_a) {
|
|
18385
|
-
var leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, trailingIcon = _a.trailingIcon, children = _a.children, onClick = _a.onClick, _b = _a.shouldKeepOpen, shouldKeepOpen = _b === void 0 ? true : _b, isDisabled = _a.isDisabled, href = _a.href, ariaLabel = _a.ariaLabel, props = __rest(_a, ["leadingIcon", "supportingText", "keyCommands", "trailingIcon", "children", "onClick", "shouldKeepOpen", "isDisabled", "href", "ariaLabel"]);
|
|
18386
|
-
var Component = href ? "a" : "div";
|
|
18387
|
-
return (React.createElement(Item2, __assign({ className: "arc-MenuItem", asChild: true, "aria-label": ariaLabel, onClick: isDisabled ? undefined : onClick, onSelect: function (event) {
|
|
18388
|
-
if (shouldKeepOpen) {
|
|
18389
|
-
event.preventDefault();
|
|
18390
|
-
}
|
|
18391
|
-
}, disabled: isDisabled }, filterAttrs(props)),
|
|
18392
|
-
React.createElement(Component, __assign({ className: href && "arc-MenuItem--link", href: href }, props),
|
|
18393
|
-
React.createElement(MenuItemContentTemplate, { leadingIcon: leadingIcon, trailingIcon: trailingIcon, supportingText: supportingText, keyCommands: keyCommands }, children))));
|
|
18472
|
+
/**
|
|
18473
|
+
* Displays a header within the dropdown menu.
|
|
18474
|
+
*/
|
|
18475
|
+
var MenuHeader = function (_a) {
|
|
18476
|
+
var leadingIcon = _a.leadingIcon, trailingIcon = _a.trailingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, children = _a.children, onClick = _a.onClick, isDisabled = _a.isDisabled, ariaLabel = _a.ariaLabel;
|
|
18477
|
+
return (React.createElement("div", { className: "arc-MenuHeader" },
|
|
18478
|
+
React.createElement(Item2, { className: "arc-MenuItem", style: { marginBottom: 0 }, "aria-label": ariaLabel, onClick: onClick, disabled: isDisabled },
|
|
18479
|
+
React.createElement(MenuItemContentTemplate, { leadingIcon: leadingIcon, trailingIcon: trailingIcon, supportingText: supportingText, keyCommands: keyCommands }, children)),
|
|
18480
|
+
React.createElement("div", { className: "arc-MenuSeparator", style: {
|
|
18481
|
+
paddingBottom: 0,
|
|
18482
|
+
} },
|
|
18483
|
+
React.createElement(Rule, null))));
|
|
18394
18484
|
};
|
|
18395
18485
|
|
|
18396
18486
|
/**
|
|
@@ -18420,62 +18510,6 @@ var MenuGroupSingleSelect = function (_a) {
|
|
|
18420
18510
|
return (React.createElement(RadioGroup2, __assign({ className: "arc-MenuGroupSingleSelect", value: value, onValueChange: onValueChange }, filterAttrs(props)), children));
|
|
18421
18511
|
};
|
|
18422
18512
|
|
|
18423
|
-
/**
|
|
18424
|
-
* Do not edit directly
|
|
18425
|
-
* Generated file
|
|
18426
|
-
*/
|
|
18427
|
-
|
|
18428
|
-
const BtIconArrowAltUp =
|
|
18429
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M20.354 13.146 16 8.793l-4.354 4.354a.5.5 0 0 0 .707.707l3.147-3.147V22.5a.5.5 0 0 0 1 0V10.707l3.146 3.146a.5.5 0 0 0 .707-.707'/%3e%3c/svg%3e";
|
|
18430
|
-
|
|
18431
|
-
/**
|
|
18432
|
-
* Do not edit directly
|
|
18433
|
-
* Generated file
|
|
18434
|
-
*/
|
|
18435
|
-
|
|
18436
|
-
const BtIconCross =
|
|
18437
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 27a13 13 0 1 1 13-13 13.015 13.015 0 0 1-13 13'/%3e%3cpath d='M20.854 11.146a.5.5 0 0 0-.707 0L16 15.293l-4.146-4.146a.5.5 0 0 0-.707.707L15.293 16l-4.146 4.146a.5.5 0 1 0 .707.707L16 16.707l4.146 4.146a.5.5 0 0 0 .707-.707L16.707 16l4.146-4.146a.5.5 0 0 0 0-.708'/%3e%3c/svg%3e";
|
|
18438
|
-
|
|
18439
|
-
/**
|
|
18440
|
-
* Do not edit directly
|
|
18441
|
-
* Generated file
|
|
18442
|
-
*/
|
|
18443
|
-
|
|
18444
|
-
const BtIconCrossFill =
|
|
18445
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m4.854 18.146a.5.5 0 1 1-.707.707L16 16.707l-4.146 4.146a.5.5 0 0 1-.707-.707L15.293 16l-4.146-4.146a.5.5 0 0 1 .707-.707L16 15.293l4.146-4.146a.5.5 0 0 1 .707.707L16.707 16Z'/%3e%3c/svg%3e";
|
|
18446
|
-
|
|
18447
|
-
/**
|
|
18448
|
-
* Do not edit directly
|
|
18449
|
-
* Generated file
|
|
18450
|
-
*/
|
|
18451
|
-
|
|
18452
|
-
const BtIconFirstMid =
|
|
18453
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='M4.675 4.005c.373 0 .675.303.675.675v6.64a.675.675 0 1 1-1.35 0V4.68c0-.372.302-.675.675-.675M7.973 8l2.848 2.852a.673.673 0 0 1-.731 1.097.7.7 0 0 1-.218-.145L6.548 8.476a.673.673 0 0 1 0-.951l3.324-3.328a.671.671 0 1 1 .95.951z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
18454
|
-
|
|
18455
|
-
/**
|
|
18456
|
-
* Do not edit directly
|
|
18457
|
-
* Generated file
|
|
18458
|
-
*/
|
|
18459
|
-
|
|
18460
|
-
const BtIconLastMid =
|
|
18461
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='M10.34 11.995a.675.675 0 0 1-.674-.675V4.68a.675.675 0 1 1 1.35 0v6.64a.675.675 0 0 1-.675.675M7.043 8 4.194 5.148a.673.673 0 0 1 .732-1.097.7.7 0 0 1 .218.146l3.324 3.328a.673.673 0 0 1 0 .95l-3.324 3.329a.671.671 0 1 1-.95-.952z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
18462
|
-
|
|
18463
|
-
/**
|
|
18464
|
-
* Do not edit directly
|
|
18465
|
-
* Generated file
|
|
18466
|
-
*/
|
|
18467
|
-
|
|
18468
|
-
const BtIconPlayFill =
|
|
18469
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M13.161 11.762a.1.1 0 0 0-.107 0 .1.1 0 0 0-.054.092v8.288a.1.1 0 0 0 .054.093.1.1 0 0 0 .107 0l7.178-4.144a.1.1 0 0 0 .054-.092.1.1 0 0 0-.054-.094Z'/%3e%3cpath d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m4.839 14.957-7.178 4.145a1.108 1.108 0 0 1-1.661-.96v-8.288a1.107 1.107 0 0 1 1.661-.958l7.178 4.144a1.107 1.107 0 0 1 0 1.917'/%3e%3c/svg%3e";
|
|
18470
|
-
|
|
18471
|
-
/**
|
|
18472
|
-
* Do not edit directly
|
|
18473
|
-
* Generated file
|
|
18474
|
-
*/
|
|
18475
|
-
|
|
18476
|
-
const BtIconTickAlt2Px =
|
|
18477
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m13.5 21.914-4.707-4.707a1 1 0 0 1 0-1.414 1.024 1.024 0 0 1 1.414 0l3.293 3.293 8.293-8.293a1 1 0 1 1 1.414 1.414Z'/%3e%3c/svg%3e";
|
|
18478
|
-
|
|
18479
18513
|
/**
|
|
18480
18514
|
* A selectable menu item used within a radio group.
|
|
18481
18515
|
*/
|
|
@@ -18498,7 +18532,7 @@ var MenuScrollable = function (_a) {
|
|
|
18498
18532
|
var scrollableRefFunc = function (el) {
|
|
18499
18533
|
var totalSiblingHeight = 0;
|
|
18500
18534
|
// get the closest Menu.Content element this will always exist within the menu component
|
|
18501
|
-
var contentContainer = el === null || el === void 0 ? void 0 : el.closest(".arc-MenuContent");
|
|
18535
|
+
var contentContainer = el === null || el === void 0 ? void 0 : el.closest(".arc-MenuContent-content");
|
|
18502
18536
|
if (!contentContainer || !el)
|
|
18503
18537
|
return;
|
|
18504
18538
|
// loop over all children in Menu.Content children to get height of each non scrollable element (excluding the scroll element itself)
|
|
@@ -18514,22 +18548,30 @@ var MenuScrollable = function (_a) {
|
|
|
18514
18548
|
return (React.createElement("div", { ref: scrollableRefFunc, className: "arc-MenuScrollable" }, children));
|
|
18515
18549
|
};
|
|
18516
18550
|
|
|
18517
|
-
/**
|
|
18518
|
-
* Visual separator used to divide groups of menu items.
|
|
18519
|
-
*/
|
|
18520
|
-
var MenuSeparator = function (props) {
|
|
18521
|
-
return (React.createElement(Separator2, __assign({ className: "arc-MenuSeparator" }, filterAttrs(props)),
|
|
18522
|
-
React.createElement(Rule, null)));
|
|
18523
|
-
};
|
|
18524
|
-
|
|
18525
18551
|
/**
|
|
18526
18552
|
* Container for multi-level menu content within a dropdown menu.
|
|
18527
18553
|
*/
|
|
18528
18554
|
var MenuItemMultiLevel = function (_a) {
|
|
18555
|
+
var _b;
|
|
18529
18556
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
children);
|
|
18557
|
+
var isMobileMenu = useMenuContext().isMobileMenu;
|
|
18558
|
+
if (!isMobileMenu) {
|
|
18559
|
+
return React.createElement(Sub2, __assign({}, filterAttrs(props)), children);
|
|
18560
|
+
}
|
|
18561
|
+
var arr = React.Children.toArray(children);
|
|
18562
|
+
// assuming that there will be two children in menu item multi level
|
|
18563
|
+
var trigger = arr[0];
|
|
18564
|
+
var portal = arr[1];
|
|
18565
|
+
var pairedContent;
|
|
18566
|
+
if (portal && ((_b = portal.props) === null || _b === void 0 ? void 0 : _b.children)) {
|
|
18567
|
+
var portalChild = React.Children.toArray(portal.props.children);
|
|
18568
|
+
pairedContent = portalChild.find(function (el) { var _a; return ((_a = el === null || el === void 0 ? void 0 : el.type) === null || _a === void 0 ? void 0 : _a.displayName) === "MenuItemMultiLevelContent"; });
|
|
18569
|
+
}
|
|
18570
|
+
if (!trigger || !pairedContent) {
|
|
18571
|
+
console.warn("MenuItemMultiLevel requires both a Trigger and Portal");
|
|
18572
|
+
}
|
|
18573
|
+
// Inject content into the trigger, skip rendering the portal in mobile
|
|
18574
|
+
return React.cloneElement(trigger, { pairedContent: pairedContent });
|
|
18533
18575
|
};
|
|
18534
18576
|
|
|
18535
18577
|
/**
|
|
@@ -18537,14 +18579,41 @@ var MenuItemMultiLevel = function (_a) {
|
|
|
18537
18579
|
*/
|
|
18538
18580
|
var MenuItemMultiLevelContent = React.forwardRef(function (_a, ref) {
|
|
18539
18581
|
var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "alignOffset"]);
|
|
18540
|
-
|
|
18582
|
+
var _b = useMenuContext(), isMobileMenu = _b.isMobileMenu, defaultWidth = _b.defaultWidth;
|
|
18583
|
+
if (isMobileMenu) {
|
|
18584
|
+
return React.createElement(React.Fragment, null, children);
|
|
18585
|
+
}
|
|
18586
|
+
return (React.createElement(SubContent2, __assign({ ref: ref, style: { width: width !== null && width !== void 0 ? width : defaultWidth, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 24, collisionPadding: 12, avoidCollisions: true, alignOffset: alignOffset }, filterAttrs(props)), children));
|
|
18541
18587
|
});
|
|
18588
|
+
MenuItemMultiLevelContent.displayName = "MenuItemMultiLevelContent";
|
|
18542
18589
|
|
|
18543
18590
|
/**
|
|
18544
18591
|
* Trigger element that opens a multi-level menu when selected.
|
|
18545
18592
|
*/
|
|
18546
18593
|
var MenuItemMultiLevelTrigger = function (_a) {
|
|
18547
|
-
var children = _a.children, isDisabled = _a.isDisabled, leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, ariaLabel = _a.ariaLabel, props = __rest(_a, ["children", "isDisabled", "leadingIcon", "supportingText", "keyCommands", "ariaLabel"]);
|
|
18594
|
+
var children = _a.children, isDisabled = _a.isDisabled, leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, keyCommands = _a.keyCommands, ariaLabel = _a.ariaLabel, pairedContent = _a.pairedContent, props = __rest(_a, ["children", "isDisabled", "leadingIcon", "supportingText", "keyCommands", "ariaLabel", "pairedContent"]);
|
|
18595
|
+
var _b = useMenuContext(), isMobileMenu = _b.isMobileMenu, goForward = _b.goForward;
|
|
18596
|
+
var moveFoward = function (e, navigatedViaKeyboard) {
|
|
18597
|
+
e.preventDefault();
|
|
18598
|
+
if (pairedContent) {
|
|
18599
|
+
goForward({
|
|
18600
|
+
title: String(children),
|
|
18601
|
+
content: pairedContent,
|
|
18602
|
+
triggerId: String(children),
|
|
18603
|
+
}, navigatedViaKeyboard);
|
|
18604
|
+
}
|
|
18605
|
+
};
|
|
18606
|
+
if (isMobileMenu) {
|
|
18607
|
+
return (React.createElement(Item2, __assign({ disabled: isDisabled, "aria-label": ariaLabel, onKeyDown: function (e) {
|
|
18608
|
+
if (e.key === "ArrowRight") {
|
|
18609
|
+
moveFoward(e, true);
|
|
18610
|
+
}
|
|
18611
|
+
}, onClick: function (e) {
|
|
18612
|
+
moveFoward(e, false);
|
|
18613
|
+
}, className: "arc-MenuItem", "data-menu-trigger": children }, filterAttrs(props)),
|
|
18614
|
+
React.createElement(MenuItemContentTemplate, { leadingIcon: leadingIcon, trailingIcon: BtIconChevronRightMid, supportingText: supportingText, keyCommands: keyCommands }, "".concat(children))));
|
|
18615
|
+
}
|
|
18616
|
+
// desktop fallback
|
|
18548
18617
|
return (React.createElement(SubTrigger2, __assign({ className: "arc-MenuItem arc-MenuItem--trigger", disabled: isDisabled, "aria-label": ariaLabel }, filterAttrs(props)),
|
|
18549
18618
|
React.createElement("div", { className: "arc-MenuItem-content" },
|
|
18550
18619
|
leadingIcon && (React.createElement("div", { className: "arc-MenuItem-leadingIcon" },
|
|
@@ -18563,7 +18632,10 @@ var MenuItemMultiLevelTrigger = function (_a) {
|
|
|
18563
18632
|
*/
|
|
18564
18633
|
var MenuTrigger = function (_a) {
|
|
18565
18634
|
var children = _a.children, asChild = _a.asChild, props = __rest(_a, ["children", "asChild"]);
|
|
18566
|
-
|
|
18635
|
+
var surface = React.useContext(Context$3).surface;
|
|
18636
|
+
return (React.createElement(Trigger$1, __assign({ className: classNames("arc-MenuTrigger", {
|
|
18637
|
+
"arc-MenuTrigger--onDarkSurface": surface === "dark",
|
|
18638
|
+
}), asChild: asChild }, filterAttrs(props)), children));
|
|
18567
18639
|
};
|
|
18568
18640
|
|
|
18569
18641
|
/** Use `Modal` to display information that needs immediate action from a user. */
|
|
@@ -18601,6 +18673,9 @@ var Modal = function (_a) {
|
|
|
18601
18673
|
_b["arc-Modal-dialog--maxHeightWindow"] = isContentScrollable,
|
|
18602
18674
|
_b["arc-Modal-dialog--fullBleed"] = fullBleed,
|
|
18603
18675
|
_b)) }, filterAttrs(props)),
|
|
18676
|
+
canShowClose && (React.createElement("div", { className: "arc-Modal-iconContainer" },
|
|
18677
|
+
React.createElement("button", { "aria-label": "close", onClick: closeModal, className: "arc-Modal-closeButton" },
|
|
18678
|
+
React.createElement(ThemeIcon, { size: 32, icon: "modalClose" })))),
|
|
18604
18679
|
React.createElement(React.Fragment, null,
|
|
18605
18680
|
title && (React.createElement(React.Fragment, null,
|
|
18606
18681
|
React.createElement("div", { className: "arc-Modal-section" },
|
|
@@ -18627,10 +18702,7 @@ var Modal = function (_a) {
|
|
|
18627
18702
|
"arc-Modal-actionButton--compact": props.buttonStyle === "compact",
|
|
18628
18703
|
}) },
|
|
18629
18704
|
React.createElement(ButtonV2, __assign({ isFullWidth: true }, props)))); })))),
|
|
18630
|
-
React.createElement(VerticalSpace, { size: "24" })))
|
|
18631
|
-
canShowClose && (React.createElement("div", { className: "arc-Modal-iconContainer" },
|
|
18632
|
-
React.createElement("button", { "aria-label": "close", onClick: closeModal, className: "arc-Modal-closeButton" },
|
|
18633
|
-
React.createElement(ThemeIcon, { size: 32, icon: "modalClose" }))))))))));
|
|
18705
|
+
React.createElement(VerticalSpace, { size: "24" })))))))));
|
|
18634
18706
|
};
|
|
18635
18707
|
|
|
18636
18708
|
/**
|
|
@@ -18650,7 +18722,7 @@ var Pagination = function (_a) {
|
|
|
18650
18722
|
"arc-Pagination-navigationButton--hidden": selectedPage === 1,
|
|
18651
18723
|
}), onClick: handlePagechange(selectedPage - 1) },
|
|
18652
18724
|
React.createElement("div", { className: "arc-Pagination-navigationButtonIcon arc-Pagination-navigationButtonIcon--left" },
|
|
18653
|
-
React.createElement(ThemeIcon, {
|
|
18725
|
+
React.createElement(ThemeIcon, { icon: "paginationPrevious" }))),
|
|
18654
18726
|
React.createElement("div", { className: "arc-Pagination-pageNumberContainer" }, pageRange.map(function (rangeValue, i) {
|
|
18655
18727
|
return isPageNumber(rangeValue) ? (React.createElement("button", { "aria-current": parseInt(rangeValue) === selectedPage, key: "pagination-range-value-".concat(rangeValue), "aria-label": "Go to page ".concat(rangeValue), className: classNames("arc-Pagination-value arc-Pagination-value--number", {
|
|
18656
18728
|
"arc-Pagination-value--selected": parseInt(rangeValue) === selectedPage,
|
|
@@ -18660,7 +18732,7 @@ var Pagination = function (_a) {
|
|
|
18660
18732
|
"arc-Pagination-navigationButton--hidden": selectedPage === pageCount,
|
|
18661
18733
|
}), onClick: handlePagechange(selectedPage + 1) },
|
|
18662
18734
|
React.createElement("div", { className: "arc-Pagination-navigationButtonIcon arc-Pagination-navigationButtonIcon--right" },
|
|
18663
|
-
React.createElement(ThemeIcon, {
|
|
18735
|
+
React.createElement(ThemeIcon, { icon: "paginationNext" })))));
|
|
18664
18736
|
};
|
|
18665
18737
|
|
|
18666
18738
|
/**
|
|
@@ -18709,8 +18781,8 @@ var PaginationSimple = function (_a) {
|
|
|
18709
18781
|
|
|
18710
18782
|
/** Use `Popover` to display content in a portal, triggered by a button. */
|
|
18711
18783
|
var Popover = function (_a) {
|
|
18712
|
-
var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, side = _a.side,
|
|
18713
|
-
var
|
|
18784
|
+
var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, minHeight = _a.minHeight, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, _f = _a.constrainToViewport, constrainToViewport = _f === void 0 ? true : _f, side = _a.side, _g = _a.sideOffset, sideOffset = _g === void 0 ? 0 : _g, _h = _a.zIndex, zIndex = _h === void 0 ? 100 : _h, _j = _a.hideWhenDetached, hideWhenDetached = _j === void 0 ? false : _j, _k = _a.useBespokeTrigger, useBespokeTrigger = _k === void 0 ? false : _k, props = __rest(_a, ["align", "ariaLabel", "alignOffset", "arrow", "background", "children", "content", "asChild", "maxWidth", "minHeight", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenAutoFocus", "onPointerDownOutside", "onOpenChange", "open", "constrainToViewport", "side", "sideOffset", "zIndex", "hideWhenDetached", "useBespokeTrigger"]);
|
|
18785
|
+
var _l = useThemeElement(), themeElement = _l[0], setThemeElement = _l[1];
|
|
18714
18786
|
var alignOffsetDefault = align === "center" ? 0 : -16;
|
|
18715
18787
|
return (React.createElement("div", __assign({ className: "arc-Popover" }, filterAttrs(props)),
|
|
18716
18788
|
React.createElement(Root2$3, { open: open, onOpenChange: onOpenChange },
|
|
@@ -18723,7 +18795,8 @@ var Popover = function (_a) {
|
|
|
18723
18795
|
React.createElement("div", { className: classNames("arc-Popover-content", {
|
|
18724
18796
|
"arc-Popover-content--dark": background === "dark",
|
|
18725
18797
|
"arc-Popover-content--brand": background === "brand",
|
|
18726
|
-
|
|
18798
|
+
"arc-Popover-content--constrainToViewport": constrainToViewport,
|
|
18799
|
+
}), style: { maxWidth: maxWidth, minHeight: minHeight }, "aria-labelledby": "popover-content" },
|
|
18727
18800
|
content && React.createElement("div", { id: "popover-content" }, content),
|
|
18728
18801
|
arrow && (React.createElement(PopoverArrow, { className: "arc-Popover-arrow" })))))))))));
|
|
18729
18802
|
};
|
|
@@ -18804,11 +18877,143 @@ var ProgressBar = function (_a) {
|
|
|
18804
18877
|
React.createElement(VerticalSpace, { size: "8" }),
|
|
18805
18878
|
React.createElement("button", { ref: autoFocusRef(action.autofocusOnMount), className: "arc-ProgressBar-actionButton", onClick: action.action },
|
|
18806
18879
|
React.createElement("div", { className: "arc-ProgressBar-actionContainer" },
|
|
18807
|
-
React.createElement(Text, null, action.text),
|
|
18808
18880
|
action.icon && (React.createElement("div", { className: "arc-ProgressBar-actionIcon" },
|
|
18809
|
-
React.createElement(ThemeIcon, { icon: PROGRESS_BAR_ICON_MAP[action.icon], size: 24 })))
|
|
18881
|
+
React.createElement(ThemeIcon, { icon: PROGRESS_BAR_ICON_MAP[action.icon], size: 24 }))),
|
|
18882
|
+
React.createElement(Text, null, action.text))))))));
|
|
18810
18883
|
};
|
|
18811
18884
|
|
|
18885
|
+
var shorterCssColorNames;
|
|
18886
|
+
var hasRequiredShorterCssColorNames;
|
|
18887
|
+
|
|
18888
|
+
function requireShorterCssColorNames () {
|
|
18889
|
+
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
18890
|
+
hasRequiredShorterCssColorNames = 1;
|
|
18891
|
+
shorterCssColorNames = {
|
|
18892
|
+
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18893
|
+
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
18894
|
+
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
18895
|
+
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
18896
|
+
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
18897
|
+
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
18898
|
+
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
18899
|
+
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
18900
|
+
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
18901
|
+
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
18902
|
+
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18903
|
+
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
18904
|
+
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
18905
|
+
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
18906
|
+
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
18907
|
+
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
18908
|
+
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
18909
|
+
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
18910
|
+
green: /#008000(ff)?(?!\w)/gi,
|
|
18911
|
+
grey: /#808080(ff)?(?!\w)/gi,
|
|
18912
|
+
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
18913
|
+
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
18914
|
+
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
18915
|
+
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
18916
|
+
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
18917
|
+
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
18918
|
+
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
18919
|
+
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
18920
|
+
maroon: /#800000(ff)?(?!\w)/gi,
|
|
18921
|
+
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
18922
|
+
navy: /#000080(ff)?(?!\w)/gi,
|
|
18923
|
+
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
18924
|
+
olive: /#808000(ff)?(?!\w)/gi,
|
|
18925
|
+
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
18926
|
+
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
18927
|
+
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
18928
|
+
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
18929
|
+
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
18930
|
+
purple: /#800080(ff)?(?!\w)/gi,
|
|
18931
|
+
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
18932
|
+
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
18933
|
+
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
18934
|
+
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
18935
|
+
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
18936
|
+
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
18937
|
+
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
18938
|
+
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
18939
|
+
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
18940
|
+
teal: /#008080(ff)?(?!\w)/gi,
|
|
18941
|
+
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
18942
|
+
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
18943
|
+
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
18944
|
+
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
18945
|
+
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
18946
|
+
};
|
|
18947
|
+
return shorterCssColorNames;
|
|
18948
|
+
}
|
|
18949
|
+
|
|
18950
|
+
var miniSvgDataUri;
|
|
18951
|
+
var hasRequiredMiniSvgDataUri;
|
|
18952
|
+
|
|
18953
|
+
function requireMiniSvgDataUri () {
|
|
18954
|
+
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
18955
|
+
hasRequiredMiniSvgDataUri = 1;
|
|
18956
|
+
var shorterNames = requireShorterCssColorNames();
|
|
18957
|
+
var REGEX = {
|
|
18958
|
+
whitespace: /\s+/g,
|
|
18959
|
+
urlHexPairs: /%[\dA-F]{2}/g,
|
|
18960
|
+
quotes: /"/g,
|
|
18961
|
+
};
|
|
18962
|
+
|
|
18963
|
+
function collapseWhitespace(str) {
|
|
18964
|
+
return str.trim().replace(REGEX.whitespace, ' ');
|
|
18965
|
+
}
|
|
18966
|
+
|
|
18967
|
+
function dataURIPayload(string) {
|
|
18968
|
+
return encodeURIComponent(string)
|
|
18969
|
+
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
18970
|
+
}
|
|
18971
|
+
|
|
18972
|
+
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
18973
|
+
// their equivalent URL-encoded hex codes.
|
|
18974
|
+
function colorCodeToShorterNames(string) {
|
|
18975
|
+
Object.keys(shorterNames).forEach(function(key) {
|
|
18976
|
+
if (shorterNames[key].test(string)) {
|
|
18977
|
+
string = string.replace(shorterNames[key], key);
|
|
18978
|
+
}
|
|
18979
|
+
});
|
|
18980
|
+
|
|
18981
|
+
return string;
|
|
18982
|
+
}
|
|
18983
|
+
|
|
18984
|
+
function specialHexEncode(match) {
|
|
18985
|
+
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
18986
|
+
case '%20': return ' ';
|
|
18987
|
+
case '%3D': return '=';
|
|
18988
|
+
case '%3A': return ':';
|
|
18989
|
+
case '%2F': return '/';
|
|
18990
|
+
default: return match.toLowerCase(); // compresses better
|
|
18991
|
+
}
|
|
18992
|
+
}
|
|
18993
|
+
|
|
18994
|
+
function svgToTinyDataUri(svgString) {
|
|
18995
|
+
if (typeof svgString !== 'string') {
|
|
18996
|
+
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
18997
|
+
}
|
|
18998
|
+
// Strip the Byte-Order Mark if the SVG has one
|
|
18999
|
+
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
19000
|
+
|
|
19001
|
+
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
19002
|
+
.replace(REGEX.quotes, "'");
|
|
19003
|
+
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
19004
|
+
}
|
|
19005
|
+
|
|
19006
|
+
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
19007
|
+
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
19008
|
+
};
|
|
19009
|
+
|
|
19010
|
+
miniSvgDataUri = svgToTinyDataUri;
|
|
19011
|
+
return miniSvgDataUri;
|
|
19012
|
+
}
|
|
19013
|
+
|
|
19014
|
+
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
19015
|
+
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
19016
|
+
|
|
18812
19017
|
// src/capitalise-first-letter/capitalise-first-letter.ts
|
|
18813
19018
|
var capitaliseFirstLetter = (word) => {
|
|
18814
19019
|
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
@@ -19101,7 +19306,7 @@ var RadioGroup = function (_a) {
|
|
|
19101
19306
|
};
|
|
19102
19307
|
|
|
19103
19308
|
var RadioGroupButton = React.forwardRef(function (_a, ref) {
|
|
19104
|
-
var id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin;
|
|
19309
|
+
var id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
|
|
19105
19310
|
var surface = React.useContext(Context$3).surface;
|
|
19106
19311
|
var idLabel = "".concat(id, "-label");
|
|
19107
19312
|
return (React.createElement("div", { className: classNames({
|
|
@@ -19112,6 +19317,7 @@ var RadioGroupButton = React.forwardRef(function (_a, ref) {
|
|
|
19112
19317
|
"arc-RadioGroupButton--small": size === "s",
|
|
19113
19318
|
"arc-RadioGroupButton--smallLabel": labelSize === "s",
|
|
19114
19319
|
"arc-RadioGroupButton--onDarkSurface": surface === "dark",
|
|
19320
|
+
"arc-RadioGroupButton--invalid": !isDisabled && isError,
|
|
19115
19321
|
}) },
|
|
19116
19322
|
React.createElement("label", { className: classNames("arc-RadioGroupButton-label", {
|
|
19117
19323
|
"arc-RadioGroupButton-label--alignTop": radioButtonAlignment === "top",
|
|
@@ -19128,21 +19334,20 @@ var RadioGroupButton = React.forwardRef(function (_a, ref) {
|
|
|
19128
19334
|
* Radio Button component.
|
|
19129
19335
|
*/
|
|
19130
19336
|
var RadioGroupInput = React.forwardRef(function (_a, ref) {
|
|
19131
|
-
var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
|
|
19337
|
+
var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
|
|
19132
19338
|
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, name = _c.name, size = _c.size;
|
|
19133
19339
|
var isChecked = checkedValue === value ? true : false;
|
|
19134
19340
|
var checked = typeof changeEvent !== "function" ? undefined : isChecked;
|
|
19135
19341
|
var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
|
|
19136
|
-
return (React.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value }, props)));
|
|
19342
|
+
return (React.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value, isError: isError }, props)));
|
|
19137
19343
|
});
|
|
19138
19344
|
|
|
19139
19345
|
/**
|
|
19140
19346
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
19141
19347
|
*/
|
|
19142
19348
|
var ScrollToTop = function (_a) {
|
|
19143
|
-
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex"]);
|
|
19144
|
-
var
|
|
19145
|
-
var surface = React.useContext(Context$3).surface;
|
|
19349
|
+
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "magenta" : _f, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
|
|
19350
|
+
var _g = React.useState(false), hasScrolled = _g[0], setHasScrolled = _g[1];
|
|
19146
19351
|
React.useEffect(function () {
|
|
19147
19352
|
var handleScroll = debounce(function () {
|
|
19148
19353
|
setHasScrolled(window.scrollY > 0);
|
|
@@ -19162,22 +19367,23 @@ var ScrollToTop = function (_a) {
|
|
|
19162
19367
|
return (React.createElement("button", __assign({ onClick: onClick, style: {
|
|
19163
19368
|
zIndex: zIndex,
|
|
19164
19369
|
}, className: classNames("arc-ScrollToTop", "arc-ScrollToTop--".concat(fill), {
|
|
19370
|
+
"arc-ScrollToTop--secondary": focusColor == "secondary",
|
|
19165
19371
|
"arc-ScrollToTop--fixed": isFixed,
|
|
19166
|
-
"arc-ScrollToTop--onDarkSurface": surface === "dark",
|
|
19167
19372
|
"arc-ScrollToTop--visible": appear === "always" || (appear === "afterScroll" && hasScrolled),
|
|
19168
19373
|
}) }, filterAttrs(props)),
|
|
19169
19374
|
React.createElement("div", { className: "arc-ScrollToTop-textWrapper" },
|
|
19170
19375
|
React.createElement("span", { className: "arc-ScrollToTop-text" }, "Back to top")),
|
|
19171
19376
|
React.createElement("span", { className: "arc-ScrollToTop-iconContainer" },
|
|
19172
|
-
React.createElement(
|
|
19377
|
+
React.createElement("div", { className: "arc-ScrollToTop-icon" },
|
|
19378
|
+
React.createElement(ThemeIcon, { icon: "scrollToTop" })))));
|
|
19173
19379
|
};
|
|
19174
19380
|
|
|
19175
19381
|
/**
|
|
19176
19382
|
* Use `Section` to compose content into vertical page layouts.
|
|
19177
19383
|
*/
|
|
19178
19384
|
var Section = function (_a) {
|
|
19179
|
-
var children = _a.children, _b = _a.isFullWidth, isFullWidth = _b === void 0 ? false : _b, _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.isExtended, isExtended = _d === void 0 ? false : _d, props = __rest(_a, ["children", "isFullWidth", "isDebugVisible", "isExtended"]);
|
|
19180
|
-
return (React.createElement("div", __assign({ className: classNames({
|
|
19385
|
+
var children = _a.children, _b = _a.isFullWidth, isFullWidth = _b === void 0 ? false : _b, _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.isExtended, isExtended = _d === void 0 ? false : _d, id = _a.id, props = __rest(_a, ["children", "isFullWidth", "isDebugVisible", "isExtended", "id"]);
|
|
19386
|
+
return (React.createElement("div", __assign({ id: id, className: classNames({
|
|
19181
19387
|
"arc-Section": true,
|
|
19182
19388
|
"arc-Section--regular": !isExtended,
|
|
19183
19389
|
"arc-Section--extended": isExtended,
|
|
@@ -19189,11 +19395,17 @@ var Section = function (_a) {
|
|
|
19189
19395
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
19190
19396
|
var Select = function (_a) {
|
|
19191
19397
|
var _b;
|
|
19192
|
-
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
19193
|
-
var
|
|
19398
|
+
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, id = _a.id, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "id", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
19399
|
+
var defaultId = React.useId();
|
|
19194
19400
|
var _e = useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
19195
19401
|
var surface = React.useContext(Context$3).surface;
|
|
19196
19402
|
var _f = React.useState(defaultValue), uncontrolledValue = _f[0], setUncontrolledValue = _f[1];
|
|
19403
|
+
var ariaDescribedby = useAriaDescribedby({
|
|
19404
|
+
id: id,
|
|
19405
|
+
errorMessage: errorMessage,
|
|
19406
|
+
helper: helper,
|
|
19407
|
+
disclosureText: disclosureText,
|
|
19408
|
+
}).ariaDescribedby;
|
|
19197
19409
|
var isControlled = typeof value !== "undefined";
|
|
19198
19410
|
var selectValue = isControlled ? value : uncontrolledValue;
|
|
19199
19411
|
var onValueChange = function (value) {
|
|
@@ -19214,21 +19426,22 @@ var Select = function (_a) {
|
|
|
19214
19426
|
return 20;
|
|
19215
19427
|
}
|
|
19216
19428
|
};
|
|
19217
|
-
|
|
19429
|
+
var componentId = id || defaultId;
|
|
19430
|
+
return (React.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: componentId, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", isDisabled: isDisabled, disclosureText: disclosureText, disclosureTitle: disclosureTitle, onClickDisclosure: onClickDisclosure },
|
|
19218
19431
|
React.createElement(Root2$2, { name: name, required: isRequired, disabled: isDisabled, defaultOpen: isDefaultOpen, value: selectValue, open: open, onOpenChange: onOpenChange, onValueChange: function (value) { return onValueChange(value); } },
|
|
19219
19432
|
React.createElement("div", { ref: setThemeElement, className: "arc-Select-wrapper" },
|
|
19220
|
-
React.createElement(Trigger$2, __assign({ id:
|
|
19433
|
+
React.createElement(Trigger$2, __assign({ id: componentId, name: name, onBlur: onBlur, onFocus: onFocus, "aria-label": ariaLabel, style: { width: width, marginTop: hideLabel ? 0 : undefined }, className: classNames("arc-Select-trigger", (_b = {
|
|
19221
19434
|
"arc-Select-trigger--constrained": !isFluid,
|
|
19222
19435
|
"arc-Select-trigger--onDarkSurface": surface === "dark",
|
|
19223
19436
|
"arc-Select-trigger--invalid": errorMessage
|
|
19224
19437
|
},
|
|
19225
19438
|
_b["arc-Select-trigger--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
19226
|
-
_b)), "aria-describedby":
|
|
19439
|
+
_b)), "aria-describedby": ariaDescribedby }, filterAttrs(props)),
|
|
19227
19440
|
React.createElement(Value, { className: "arc-Select-triggerText", placeholder: placeholder, "aria-label": getSelectedValueName(uncontrolledValue) }),
|
|
19228
19441
|
React.createElement(Icon, { className: "arc-Select-triggerIcon" },
|
|
19229
19442
|
React.createElement(ThemeIcon, { size: getIconSize(size), icon: "selectTrigger" }))),
|
|
19230
19443
|
React.createElement(Portal$4, { container: themeElement },
|
|
19231
|
-
React.createElement(Content2$3, { sideOffset:
|
|
19444
|
+
React.createElement(Content2$3, { sideOffset: 12, position: "popper", className: classNames("arc-Select-content", {
|
|
19232
19445
|
"arc-Select-content--onDarkSurface": surface === "dark",
|
|
19233
19446
|
}) },
|
|
19234
19447
|
React.createElement(Viewport, { className: "arc-Select-content--scrollable" }, options.map(function (_a, i) {
|
|
@@ -19296,7 +19509,7 @@ var SiteFooterV2 = function (_a) {
|
|
|
19296
19509
|
React.createElement(VerticalSpace, { size: "24" }),
|
|
19297
19510
|
React.createElement(Section, null,
|
|
19298
19511
|
slogan && (React.createElement(React.Fragment, null,
|
|
19299
|
-
React.createElement("
|
|
19512
|
+
React.createElement("span", { className: "arc-SiteFooterV2-slogan" }, slogan),
|
|
19300
19513
|
React.createElement(VerticalSpace, { size: "32" }))),
|
|
19301
19514
|
React.createElement("div", { className: "arc-SiteFooterV2-main-utility" }, children)),
|
|
19302
19515
|
React.createElement(VerticalSpace, { size: "24" })));
|
|
@@ -19338,11 +19551,12 @@ var SiteFooterV2Item = function (_a) {
|
|
|
19338
19551
|
var SiteFooterV2Utility = function (_a) {
|
|
19339
19552
|
var copyrightYear = _a.copyrightYear, children = _a.children, socialLinks = _a.socialLinks, _b = _a.brand, brand = _b === void 0 ? {
|
|
19340
19553
|
logoLabel: "BT",
|
|
19554
|
+
href: "/",
|
|
19341
19555
|
} : _b, contentSlot = _a.contentSlot, props = __rest(_a, ["copyrightYear", "children", "socialLinks", "brand", "contentSlot"]);
|
|
19342
19556
|
return (React.createElement("div", __assign({ className: "arc-SiteFooterV2-utility", "aria-label": "Footer utility bar" }, filterAttrs(props)),
|
|
19343
19557
|
React.createElement("div", { className: "arc-SiteFooterV2-brand" },
|
|
19344
19558
|
!contentSlot && (React.createElement(React.Fragment, null,
|
|
19345
|
-
React.createElement("a", { className: "arc-SiteFooterV2-brandLogo", onClick: handleLinkClick({ handler: brand.onClick }) },
|
|
19559
|
+
React.createElement("a", { className: "arc-SiteFooterV2-brandLogo", onClick: handleLinkClick({ handler: brand.onClick }), href: brand.href, tabIndex: brand.href ? 0 : -1 },
|
|
19346
19560
|
React.createElement(BrandLogo, { label: brand.logoLabel, "aria-label": brand.logoLabel, color: "brand", subBrand: brand.subBrand })),
|
|
19347
19561
|
React.createElement("div", { className: "arc-SiteFooterV2-copyright" },
|
|
19348
19562
|
React.createElement("span", { className: "arc-SiteFooterV2-copyrightSymbol" }, "\u00A9"),
|
|
@@ -19356,8 +19570,8 @@ var SiteFooterV2Utility = function (_a) {
|
|
|
19356
19570
|
React.createElement("ul", { className: "arc-SiteFooterV2-utilityItems" }, children))),
|
|
19357
19571
|
socialLinks && (React.createElement("ul", { className: "arc-SiteFooterV2-utilitySocials", "aria-label": "Footer social media links" }, socialLinks.map(function (_a, index) {
|
|
19358
19572
|
var href = _a.href, icon = _a.icon, ariaLabel = _a.ariaLabel;
|
|
19359
|
-
return (React.createElement("li", { key: index, tabIndex: 0, className: "arc-SiteFooterV2-utilitySocialsLink"
|
|
19360
|
-
React.createElement("a", { className: "arc-SiteFooterV2-link", href: href, tabIndex: -1 },
|
|
19573
|
+
return (React.createElement("li", { key: index, tabIndex: 0, className: "arc-SiteFooterV2-utilitySocialsLink" },
|
|
19574
|
+
React.createElement("a", { className: "arc-SiteFooterV2-link", href: href, tabIndex: -1, "aria-label": ariaLabel },
|
|
19361
19575
|
React.createElement(Icon$1, { icon: icon, size: 16 }),
|
|
19362
19576
|
" ")));
|
|
19363
19577
|
})))));
|
|
@@ -19955,8 +20169,8 @@ var SkipLink = function (_a, props) {
|
|
|
19955
20169
|
};
|
|
19956
20170
|
|
|
19957
20171
|
var SkipLinkItem = function (_a) {
|
|
19958
|
-
var href = _a.href, id = _a.id, label = _a.label;
|
|
19959
|
-
return (React.createElement("a", { className: "arc-SkipLinkItem", href: href, id: id }, label));
|
|
20172
|
+
var href = _a.href, id = _a.id, label = _a.label, onClick = _a.onClick;
|
|
20173
|
+
return (React.createElement("a", { className: "arc-SkipLinkItem", href: href, id: id, onClick: onClick }, label));
|
|
19960
20174
|
};
|
|
19961
20175
|
|
|
19962
20176
|
function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
|
|
@@ -20166,14 +20380,14 @@ var Switch = function (_a) {
|
|
|
20166
20380
|
React.createElement($6be4966fd9bbc698$export$6521433ed15a34db, { className: "arc-Switch-thumb" },
|
|
20167
20381
|
React.createElement("div", { className: "arc-Switch-thumbIcon" },
|
|
20168
20382
|
React.createElement("div", { className: "arc-Switch-icon", "data-testid": "arc-switch-thumb-icon" },
|
|
20169
|
-
React.createElement(ThemeIcon, { icon: "switchToggle",
|
|
20170
|
-
React.createElement("div", { className: classNames("arc-Switch-statusText", (_b = {
|
|
20383
|
+
React.createElement(ThemeIcon, { icon: "switchToggle", size: size === "m" ? 32 : 24 }))))),
|
|
20384
|
+
(onStatusText || offStatusText) && (React.createElement("div", { className: classNames("arc-Switch-statusText", (_b = {
|
|
20171
20385
|
"arc-Switch-statusText--isDisabled": isDisabled,
|
|
20172
20386
|
"arc-Switch-statusText--onDarkSurface": surface === "dark"
|
|
20173
20387
|
},
|
|
20174
20388
|
_b["arc-Switch-statusText--".concat(size)] = size === "m",
|
|
20175
20389
|
_b)) },
|
|
20176
|
-
React.createElement("p", { "aria-hidden": true }, switchState ? onStatusText : offStatusText))))));
|
|
20390
|
+
React.createElement("p", { "aria-hidden": true }, switchState ? onStatusText : offStatusText)))))));
|
|
20177
20391
|
};
|
|
20178
20392
|
|
|
20179
20393
|
var TabbedBanner = function (_a) {
|
|
@@ -20190,7 +20404,7 @@ var TabbedBanner = function (_a) {
|
|
|
20190
20404
|
})),
|
|
20191
20405
|
tabs.map(function (_a, index) {
|
|
20192
20406
|
var value = _a.value, content = _a.content;
|
|
20193
|
-
return (React.createElement(ContentSwitcherContent, { value: value, key: index, hidden: value !== selectedTab },
|
|
20407
|
+
return (React.createElement(ContentSwitcherContent, { value: value, key: "".concat(index, "-").concat(value), hidden: value !== selectedTab },
|
|
20194
20408
|
React.createElement(TemplateBanner, __assign({ alignment: "start", headingSize: "m", additionalTopMargin: true, minHeight: minHeight, minHeightM: minHeightM, minHeightL: minHeightL, minHeightXL: minHeightXL }, content))));
|
|
20195
20409
|
}))),
|
|
20196
20410
|
React.createElement("div", { className: "arc-TabbedBanner--mobile" },
|
|
@@ -20223,7 +20437,7 @@ var TabsItem = function (_a) {
|
|
|
20223
20437
|
|
|
20224
20438
|
var TabsContent = function (_a) {
|
|
20225
20439
|
var children = _a.children, value = _a.value, _b = _a.hidden, hidden = _b === void 0 ? undefined : _b, _c = _a.forceMount, forceMount = _c === void 0 ? true : _c, props = __rest(_a, ["children", "value", "hidden", "forceMount"]);
|
|
20226
|
-
return (React.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, __assign({ className: "arc-
|
|
20440
|
+
return (React.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, __assign({ className: "arc-TabsContent", value: value, forceMount: forceMount ? true : undefined, hidden: hidden }, filterAttrs(props)), children));
|
|
20227
20441
|
};
|
|
20228
20442
|
|
|
20229
20443
|
var TabsList = function (_a) {
|
|
@@ -20280,6 +20494,7 @@ var TabsList = function (_a) {
|
|
|
20280
20494
|
var Tag = function (_a) {
|
|
20281
20495
|
var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, title = _a.title, props = __rest(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove", "title"]);
|
|
20282
20496
|
var _b = React.useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
|
|
20497
|
+
var surface = React.useContext(Context$3).surface;
|
|
20283
20498
|
var onRemoveHandler = function () {
|
|
20284
20499
|
setIsRemoved(function (p) { return !p; });
|
|
20285
20500
|
onRemove && onRemove();
|
|
@@ -20289,20 +20504,21 @@ var Tag = function (_a) {
|
|
|
20289
20504
|
"arc-Tag--hasIcon": icon,
|
|
20290
20505
|
"arc-Tag--hasLink": link || onClick,
|
|
20291
20506
|
"arc-Tag--removed": isRemoved,
|
|
20507
|
+
"arc-Tag--onDarkSurface": surface === "dark",
|
|
20292
20508
|
}) }, (isRemoved && { "aria-hidden": true }), filterAttrs(props)),
|
|
20293
20509
|
link ? (React.createElement("a", { className: "arc-Tag-content", href: link, tabIndex: 0 },
|
|
20294
20510
|
icon && (React.createElement("span", { className: "arc-Tag-icon" },
|
|
20295
|
-
React.createElement(Icon$1, { "data-testid": "arc-Tag-icon", icon: icon
|
|
20511
|
+
React.createElement(Icon$1, { "data-testid": "arc-Tag-icon", icon: icon }))),
|
|
20296
20512
|
React.createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React.createElement(React.Fragment, null, onClick ? (React.createElement("button", { className: "arc-Tag-content", onClick: onClick, "data-testid": "arc-Tag-content" },
|
|
20297
20513
|
icon && (React.createElement("span", { className: "arc-Tag-icon" },
|
|
20298
|
-
React.createElement(Icon$1, { "data-testid": "arc-Tag-icon", icon: icon
|
|
20514
|
+
React.createElement(Icon$1, { "data-testid": "arc-Tag-icon", icon: icon }))),
|
|
20299
20515
|
React.createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React.createElement("div", { className: "arc-Tag-content", "data-testid": "arc-Tag-content" },
|
|
20300
20516
|
icon && (React.createElement("span", { className: "arc-Tag-icon" },
|
|
20301
|
-
React.createElement(Icon$1, { "data-testid": "arc-Tag-icon", icon: icon
|
|
20517
|
+
React.createElement(Icon$1, { "data-testid": "arc-Tag-icon", icon: icon }))),
|
|
20302
20518
|
React.createElement("div", { className: "arc-Tag-label", title: title }, children))))),
|
|
20303
20519
|
isRemovable && (React.createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag", "aria-label": "Remove tag" },
|
|
20304
|
-
React.createElement(Icon$1, { icon:
|
|
20305
|
-
React.createElement(Icon$1, { icon:
|
|
20520
|
+
React.createElement(Icon$1, { icon: BtIconCrossAlt2Px }),
|
|
20521
|
+
React.createElement(Icon$1, { icon: BtIconCrossAlt2PxFill })))));
|
|
20306
20522
|
};
|
|
20307
20523
|
|
|
20308
20524
|
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
@@ -20332,8 +20548,8 @@ var TextArea = React.forwardRef(function (_a, ref) {
|
|
|
20332
20548
|
};
|
|
20333
20549
|
// Although this is used within FormControlWrapper, it's deterministic so we can call it here too
|
|
20334
20550
|
var ariaDescribedby = useAriaDescribedby({
|
|
20335
|
-
errorMessage: errorMessage,
|
|
20336
20551
|
id: id,
|
|
20552
|
+
errorMessage: errorMessage,
|
|
20337
20553
|
helper: helper,
|
|
20338
20554
|
disclosureText: disclosureText,
|
|
20339
20555
|
}).ariaDescribedby;
|
|
@@ -20362,7 +20578,7 @@ var TextArea = React.forwardRef(function (_a, ref) {
|
|
|
20362
20578
|
var package_default = {
|
|
20363
20579
|
name: "@arc-ui/helpers",
|
|
20364
20580
|
private: true,
|
|
20365
|
-
version: "12.0.0-beta.
|
|
20581
|
+
version: "12.0.0-beta.24",
|
|
20366
20582
|
type: "module",
|
|
20367
20583
|
homepage: "https://ui.digital-ent-int.bt.com",
|
|
20368
20584
|
author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
@@ -21390,10 +21606,12 @@ const $054eb8030ebde76e$export$f39c2d165cd861fe = $054eb8030ebde76e$export$811e7
|
|
|
21390
21606
|
|
|
21391
21607
|
/** Use `Toast` to display temporary messages at the bottom of the screen. */
|
|
21392
21608
|
var Toast = function (_a) {
|
|
21393
|
-
var children = _a.children, _b = _a.colorScheme, colorScheme = _b === void 0 ? "default" : _b, props = __rest(_a, ["children", "colorScheme"]);
|
|
21609
|
+
var children = _a.children, _b = _a.colorScheme, colorScheme = _b === void 0 ? "default" : _b, _c = _a.onDarkSurface, onDarkSurface = _c === void 0 ? false : _c, props = __rest(_a, ["children", "colorScheme", "onDarkSurface"]);
|
|
21394
21610
|
return (React.createElement($054eb8030ebde76e$export$2881499e37b75b9a, { swipeDirection: "right", duration: 6000 },
|
|
21395
21611
|
React.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7, { asChild: true, className: "arc-Toast-viewport" },
|
|
21396
|
-
React.createElement("div", __assign({ className: "arc-Toast-pathway--".concat(colorScheme)
|
|
21612
|
+
React.createElement("div", __assign({ className: classNames("arc-Toast-pathway--".concat(colorScheme), {
|
|
21613
|
+
"arc-Toast--onDarkSurface": onDarkSurface,
|
|
21614
|
+
}) }, filterAttrs(props)), children))));
|
|
21397
21615
|
};
|
|
21398
21616
|
|
|
21399
21617
|
var ToastNotification = function (_a) {
|
|
@@ -22736,12 +22954,12 @@ var Arrow2 = TooltipArrow;
|
|
|
22736
22954
|
|
|
22737
22955
|
/** Use `Tooltip` to display information related to an element when the element receives keyboard focus or the mouse hovers over it */
|
|
22738
22956
|
var Tooltip = function (_a) {
|
|
22739
|
-
var children = _a.children, side = _a.side, sideOffset = _a.sideOffset, align = _a.align, alignContent = _a.alignContent, title = _a.title, supportingCopy = _a.supportingCopy, icon = _a.icon, _b = _a.maxWidth, maxWidth = _b === void 0 ? "450px" : _b, _c = _a.delayDuration, delayDuration = _c === void 0 ? 300 : _c, open = _a.open, onOpenChange = _a.onOpenChange, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props = __rest(_a, ["children", "side", "sideOffset", "align", "alignContent", "title", "supportingCopy", "icon", "maxWidth", "delayDuration", "open", "onOpenChange", "asChild", "zIndex"]);
|
|
22957
|
+
var children = _a.children, side = _a.side, sideOffset = _a.sideOffset, align = _a.align, alignContent = _a.alignContent, title = _a.title, supportingCopy = _a.supportingCopy, icon = _a.icon, ariaLabel = _a.ariaLabel, _b = _a.maxWidth, maxWidth = _b === void 0 ? "450px" : _b, _c = _a.delayDuration, delayDuration = _c === void 0 ? 300 : _c, open = _a.open, onOpenChange = _a.onOpenChange, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props = __rest(_a, ["children", "side", "sideOffset", "align", "alignContent", "title", "supportingCopy", "icon", "ariaLabel", "maxWidth", "delayDuration", "open", "onOpenChange", "asChild", "zIndex"]);
|
|
22740
22958
|
var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
|
|
22741
22959
|
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
22742
22960
|
React.createElement(TooltipProvider, null,
|
|
22743
22961
|
React.createElement(Root3, __assign({ delayDuration: delayDuration, open: open, onOpenChange: onOpenChange }, filterAttrs(props)),
|
|
22744
|
-
React.createElement(Trigger, { asChild: asChild, className: "arc-Tooltip-trigger" }, children),
|
|
22962
|
+
React.createElement(Trigger, { asChild: asChild, "aria-label": ariaLabel, className: "arc-Tooltip-trigger" }, children),
|
|
22745
22963
|
React.createElement("div", { ref: setThemeElement },
|
|
22746
22964
|
React.createElement(Portal, { container: themeElement },
|
|
22747
22965
|
React.createElement(Content2, __assign({ side: side, sideOffset: sideOffset, align: align, alignOffset: align === "start" ? -4 : align === "end" ? -4 : undefined, style: { zIndex: zIndex } }, props),
|
|
@@ -22772,9 +22990,9 @@ var Truncate = function (_a) {
|
|
|
22772
22990
|
|
|
22773
22991
|
/** Use `TypographyCard` for content that benefits from larger and energetic typography. */
|
|
22774
22992
|
var TypographyCard = function (_a) {
|
|
22775
|
-
var url = _a.url, onClick = _a.onClick, heading = _a.heading, metaText = _a.metaText, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.buttonIcon, buttonIcon = _e === void 0 ? "arrow" : _e, _f = _a.headingLevel, headingLevel = _f === void 0 ? "2" : _f, props = __rest(_a, ["url", "onClick", "heading", "metaText", "label", "minHeight", "headingSize", "linkData", "pathway", "buttonIcon", "headingLevel"]);
|
|
22993
|
+
var url = _a.url, onClick = _a.onClick, heading = _a.heading, metaText = _a.metaText, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.buttonIcon, buttonIcon = _e === void 0 ? "arrow" : _e, _f = _a.headingLevel, headingLevel = _f === void 0 ? "2" : _f, _g = _a.labelLevel, labelLevel = _g === void 0 ? "3" : _g, props = __rest(_a, ["url", "onClick", "heading", "metaText", "label", "minHeight", "headingSize", "linkData", "pathway", "buttonIcon", "headingLevel", "labelLevel"]);
|
|
22776
22994
|
var surface = React.useContext(Context$3).surface;
|
|
22777
|
-
var
|
|
22995
|
+
var _h = React.useState(false), showHoverState = _h[0], setShowHoverState = _h[1];
|
|
22778
22996
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
22779
22997
|
var isDarkPathway = pathway === "dark";
|
|
22780
22998
|
return (React.createElement("div", __assign({ style: { minHeight: minHeight }, className: classNames("arc-TypographyCard", {
|
|
@@ -22785,7 +23003,7 @@ var TypographyCard = function (_a) {
|
|
|
22785
23003
|
}) }, filterAttrs(props)),
|
|
22786
23004
|
React.createElement("div", { className: "arc-TypographyCard-contentContainer" },
|
|
22787
23005
|
label && (React.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22788
|
-
React.createElement(Heading, { level:
|
|
23006
|
+
React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
|
|
22789
23007
|
React.createElement(VerticalSpace, { size: "16" }))),
|
|
22790
23008
|
React.createElement(CardHeading, { size: headingSize, linkData: linkData, heading: heading, headingLevel: headingLevel, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) })),
|
|
22791
23009
|
React.createElement(CardFooter, { showButton: true, isDarkPathway: isDarkPathway, buttonIcon: buttonIcon, metaText: metaText, isHovered: showHoverState })));
|
|
@@ -25944,6 +26162,11 @@ var VideoPlayer = function (_a) {
|
|
|
25944
26162
|
var title = _a.title, description = _a.description, transcriptLink = _a.transcriptLink, transcriptContent = _a.transcriptContent, light = _a.light, url = _a.url, onReady = _a.onReady, onPlay = _a.onPlay, onStart = _a.onStart, onPause = _a.onPause, onError = _a.onError, onEnded = _a.onEnded, _b = _a.isBorderRadius, isBorderRadius = _b === void 0 ? false : _b, _c = _a.isSupportingTextHidden, isSupportingTextHidden = _c === void 0 ? false : _c, props = __rest(_a, ["title", "description", "transcriptLink", "transcriptContent", "light", "url", "onReady", "onPlay", "onStart", "onPause", "onError", "onEnded", "isBorderRadius", "isSupportingTextHidden"]);
|
|
25945
26163
|
var TextWrapper = isSupportingTextHidden ? VisuallyHidden$2 : "div";
|
|
25946
26164
|
var isVimeo = new URL(url).hostname.includes("vimeo");
|
|
26165
|
+
var _d = React.useState(false), isClient = _d[0], setIsClient = _d[1];
|
|
26166
|
+
// https://nextjs.org/docs/messages/react-hydration-error#solution-1-using-useeffect-to-run-on-the-client-only
|
|
26167
|
+
React.useEffect(function () {
|
|
26168
|
+
setIsClient(true);
|
|
26169
|
+
}, []);
|
|
25947
26170
|
var playerProps = {
|
|
25948
26171
|
url: url,
|
|
25949
26172
|
light: light,
|
|
@@ -25953,8 +26176,9 @@ var VideoPlayer = function (_a) {
|
|
|
25953
26176
|
onPause: onPause,
|
|
25954
26177
|
onError: onError,
|
|
25955
26178
|
onEnded: onEnded,
|
|
25956
|
-
playIcon: (React.createElement("div", { className: "arc-VideoPlayer-
|
|
25957
|
-
React.createElement(
|
|
26179
|
+
playIcon: (React.createElement("div", { className: "arc-VideoPlayer-iconContainer" },
|
|
26180
|
+
React.createElement("div", { className: "arc-VideoPlayer-icon" },
|
|
26181
|
+
React.createElement(ThemeIcon, { icon: "videoPlayerPlay" })))),
|
|
25958
26182
|
playing: Boolean(light),
|
|
25959
26183
|
controls: true,
|
|
25960
26184
|
className: "arc-VideoPlayer",
|
|
@@ -25964,7 +26188,9 @@ var VideoPlayer = function (_a) {
|
|
|
25964
26188
|
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
25965
26189
|
React.createElement("div", { "data-testid": "arc-video-player", className: classNames("arc-VideoPlayer-wrapper", {
|
|
25966
26190
|
"arc-VideoPlayer-wrapper--borderRadius": isBorderRadius,
|
|
25967
|
-
}) }, isVimeo
|
|
26191
|
+
}) }, isVimeo
|
|
26192
|
+
? isClient && React.createElement(ReactPlayerVimeo, __assign({}, playerProps))
|
|
26193
|
+
: isClient && React.createElement(ReactPlayerYoutube, __assign({}, playerProps))),
|
|
25968
26194
|
React.createElement(TextWrapper, null,
|
|
25969
26195
|
React.createElement(VerticalSpace, { size: "24" }),
|
|
25970
26196
|
React.createElement(Heading, { level: "3", size: "s" }, title),
|
|
@@ -26003,44 +26229,24 @@ var BtLogo = function () { return (React.createElement("svg", { xmlns: "http://w
|
|
|
26003
26229
|
var EeLogo = function () { return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", fill: "none" },
|
|
26004
26230
|
React.createElement("path", { d: "M43.8847 31.9955C47.6776 28.6511 50.0791 23.7328 50.0791 18.2512C50.088 8.17326 41.9883 0 32.001 0C22.0138 0 13.9141 8.17326 13.9141 18.2512C13.9141 23.7328 16.3156 28.6511 20.1085 31.9955C16.3156 35.3399 13.9141 40.2582 13.9141 45.7488C13.9141 55.8267 22.0138 64 32.001 64C41.9883 64 50.088 55.8267 50.088 45.7488C50.088 40.2582 47.6864 35.3399 43.8847 31.9955ZM29.5463 40.8126C29.5463 41.3223 29.2893 41.7695 28.8994 42.0377C29.2893 42.306 29.5463 42.7531 29.5463 43.2628C29.5463 43.7725 29.2893 44.2196 28.8994 44.4879C29.0766 44.6042 29.2184 44.7651 29.3336 44.9529C29.5906 44.5416 30.0426 44.2733 30.5654 44.2733C31.0883 44.2733 31.5491 44.5505 31.8061 44.9708C32.0631 44.5505 32.5239 44.2733 33.0467 44.2733C33.5696 44.2733 34.0304 44.5505 34.2874 44.9708C34.5444 44.5505 35.0052 44.2733 35.528 44.2733C36.3344 44.2733 36.9902 44.935 36.9902 45.7488C36.9902 46.5625 36.3344 47.2243 35.528 47.2243C35.0052 47.2243 34.5444 46.947 34.2874 46.5268C34.0304 46.947 33.5696 47.2243 33.0467 47.2243C32.5239 47.2243 32.0631 46.947 31.8061 46.5268C31.5491 46.947 31.0883 47.2243 30.5654 47.2243C30.0337 47.2243 29.5729 46.9381 29.3159 46.5089C29.2095 46.6788 29.0678 46.8308 28.8994 46.9381C29.2893 47.2064 29.5463 47.6535 29.5463 48.1632C29.5463 48.6729 29.2893 49.12 28.8994 49.3883C29.2893 49.6566 29.5463 50.1037 29.5463 50.6134C29.5463 51.1231 29.2893 51.5702 28.8994 51.8385C29.1121 51.9816 29.2804 52.1783 29.3868 52.4108C29.6261 51.9279 30.1223 51.5881 30.6895 51.5881C31.2655 51.5881 31.7529 51.9279 31.9922 52.4108C32.2314 51.9279 32.7277 51.5881 33.2948 51.5881C33.8709 51.5881 34.3583 51.9279 34.5975 52.4108C34.8368 51.9279 35.3331 51.5881 35.9002 51.5881C36.7066 51.5881 37.3624 52.2498 37.3624 53.0636C37.3624 53.8773 36.7066 54.5391 35.9002 54.5391C35.3242 54.5391 34.8368 54.1992 34.5975 53.7164C34.3583 54.1992 33.862 54.5391 33.2948 54.5391C32.7188 54.5391 32.2314 54.1992 31.9922 53.7164C31.7529 54.1992 31.2566 54.5391 30.6895 54.5391C30.1135 54.5391 29.6261 54.1992 29.3868 53.7164C29.1475 54.1992 28.6513 54.5391 28.0841 54.5391C27.2777 54.5391 26.6219 53.8773 26.6219 53.0636C26.6219 52.5539 26.8789 52.1068 27.2688 51.8385C26.8789 51.5702 26.6219 51.1231 26.6219 50.6134C26.6219 50.1037 26.8789 49.6566 27.2688 49.3883C26.8789 49.12 26.6219 48.6729 26.6219 48.1632C26.6219 47.6535 26.8789 47.2064 27.2688 46.9381C26.8789 46.6698 26.6219 46.2227 26.6219 45.713C26.6219 45.2033 26.8789 44.7562 27.2688 44.4879C26.8789 44.2196 26.6219 43.7725 26.6219 43.2628C26.6219 42.7531 26.8789 42.306 27.2688 42.0377C26.8789 41.7695 26.6219 41.3223 26.6219 40.8126C26.6219 40.3029 26.8789 39.8558 27.2688 39.5875C26.8789 39.3193 26.6219 38.8722 26.6219 38.3624C26.6219 37.5487 27.2777 36.887 28.0841 36.887C28.6601 36.887 29.1475 37.2268 29.3868 37.7097C29.6261 37.2268 30.1223 36.887 30.6895 36.887C31.2655 36.887 31.7529 37.2268 31.9922 37.7097C32.2314 37.2268 32.7277 36.887 33.2948 36.887C33.8709 36.887 34.3583 37.2268 34.5975 37.7097C34.8368 37.2268 35.3331 36.887 35.9002 36.887C36.7066 36.887 37.3624 37.5487 37.3624 38.3624C37.3624 39.1762 36.7066 39.8379 35.9002 39.8379C35.3242 39.8379 34.8368 39.4981 34.5975 39.0152C34.3583 39.4981 33.862 39.8379 33.2948 39.8379C32.7188 39.8379 32.2314 39.4981 31.9922 39.0152C31.7529 39.4981 31.2566 39.8379 30.6895 39.8379C30.1135 39.8379 29.6261 39.4981 29.3868 39.0152C29.2716 39.2477 29.1032 39.4445 28.8994 39.5875C29.2893 39.8558 29.5463 40.3029 29.5463 40.8126ZM29.5463 13.3151C29.5463 13.8248 29.2893 14.2719 28.8994 14.5402C29.2893 14.8084 29.5463 15.2556 29.5463 15.7653C29.5463 16.275 29.2893 16.7221 28.8994 16.9904C29.0766 17.1066 29.2184 17.2676 29.3336 17.4554C29.5906 17.044 30.0426 16.7757 30.5654 16.7757C31.0883 16.7757 31.5491 17.053 31.8061 17.4732C32.0631 17.053 32.5239 16.7757 33.0467 16.7757C33.5696 16.7757 34.0304 17.053 34.2874 17.4732C34.5444 17.053 35.0052 16.7757 35.528 16.7757C36.3344 16.7757 36.9902 17.4375 36.9902 18.2512C36.9902 19.065 36.3344 19.7267 35.528 19.7267C35.0052 19.7267 34.5444 19.4495 34.2874 19.0292C34.0304 19.4495 33.5696 19.7267 33.0467 19.7267C32.5239 19.7267 32.0631 19.4495 31.8061 19.0292C31.5491 19.4495 31.0883 19.7267 30.5654 19.7267C30.0337 19.7267 29.5729 19.4405 29.3159 19.0113C29.2095 19.1812 29.0678 19.3332 28.8994 19.4405C29.2893 19.7088 29.5463 20.1559 29.5463 20.6656C29.5463 21.1754 29.2893 21.6225 28.8994 21.8907C29.2893 22.159 29.5463 22.6061 29.5463 23.1158C29.5463 23.6255 29.2893 24.0727 28.8994 24.3409C29.1121 24.484 29.2804 24.6807 29.3868 24.9132C29.6261 24.4303 30.1223 24.0905 30.6895 24.0905C31.2655 24.0905 31.7529 24.4303 31.9922 24.9132C32.2314 24.4303 32.7277 24.0905 33.2948 24.0905C33.8709 24.0905 34.3583 24.4303 34.5975 24.9132C34.8368 24.4303 35.3331 24.0905 35.9002 24.0905C36.7066 24.0905 37.3624 24.7523 37.3624 25.566C37.3624 26.3798 36.7066 27.0415 35.9002 27.0415C35.3242 27.0415 34.8368 26.7017 34.5975 26.2188C34.3583 26.7017 33.862 27.0415 33.2948 27.0415C32.7188 27.0415 32.2314 26.7017 31.9922 26.2188C31.7529 26.7017 31.2566 27.0415 30.6895 27.0415C30.1135 27.0415 29.6261 26.7017 29.3868 26.2188C29.1475 26.7017 28.6513 27.0415 28.0841 27.0415C27.2777 27.0415 26.6219 26.3798 26.6219 25.566C26.6219 25.0563 26.8789 24.6092 27.2688 24.3409C26.8789 24.0727 26.6219 23.6255 26.6219 23.1158C26.6219 22.6061 26.8789 22.159 27.2688 21.8907C26.8789 21.6225 26.6219 21.1754 26.6219 20.6656C26.6219 20.1559 26.8789 19.7088 27.2688 19.4405C26.8789 19.1723 26.6219 18.7252 26.6219 18.2155C26.6219 17.7057 26.8789 17.2586 27.2688 16.9904C26.8789 16.7221 26.6219 16.275 26.6219 15.7653C26.6219 15.2556 26.8789 14.8084 27.2688 14.5402C26.8789 14.2719 26.6219 13.8248 26.6219 13.3151C26.6219 12.8054 26.8789 12.3583 27.2688 12.09C26.8789 11.8217 26.6219 11.3746 26.6219 10.8649C26.6219 10.0511 27.2777 9.38941 28.0841 9.38941C28.6601 9.38941 29.1475 9.72922 29.3868 10.2121C29.6261 9.72922 30.1223 9.38941 30.6895 9.38941C31.2655 9.38941 31.7529 9.72922 31.9922 10.2121C32.2314 9.72922 32.7277 9.38941 33.2948 9.38941C33.8709 9.38941 34.3583 9.72922 34.5975 10.2121C34.8368 9.72922 35.3331 9.38941 35.9002 9.38941C36.7066 9.38941 37.3624 10.0511 37.3624 10.8649C37.3624 11.6786 36.7066 12.3404 35.9002 12.3404C35.3242 12.3404 34.8368 12.0006 34.5975 11.5177C34.3583 12.0006 33.862 12.3404 33.2948 12.3404C32.7188 12.3404 32.2314 12.0006 31.9922 11.5177C31.7529 12.0006 31.2566 12.3404 30.6895 12.3404C30.1135 12.3404 29.6261 12.0006 29.3868 11.5177C29.2716 11.7502 29.1032 11.9469 28.8994 12.09C29.2893 12.3583 29.5463 12.8054 29.5463 13.3151Z", fill: "currentColor" }))); };
|
|
26005
26231
|
|
|
26006
|
-
var BtGlobalFabricLogo = function () { return (React.createElement("svg", {
|
|
26007
|
-
React.createElement("path", {
|
|
26008
|
-
React.createElement("
|
|
26009
|
-
React.createElement("path", { d: "M83.048 43.52c-1.899 0-3.616-.469-5.152-1.408-1.515-.938-2.71-2.26-3.584-3.968C73.437 36.418 73 34.368 73 32.002c0-1.728.288-3.296.864-4.704a11.128 11.128 0 0 1 2.464-3.649 10.85 10.85 0 0 1 3.712-2.335c1.43-.555 2.965-.832 4.608-.832 1.92 0 3.637.351 5.152 1.055 1.515.704 2.901 1.792 4.16 3.264l-3.168 2.88c-.875-1.045-1.803-1.813-2.784-2.303-.981-.491-2.101-.736-3.36-.736-1.237 0-2.357.298-3.36.896-1.003.597-1.792 1.45-2.368 2.56-.576 1.087-.864 2.389-.864 3.904 0 1.578.277 2.922.832 4.032.555 1.087 1.301 1.92 2.24 2.495.939.555 1.995.833 3.168.833.981 0 1.867-.192 2.656-.576.81-.384 1.472-.896 1.984-1.536s.81-1.355.896-2.145h-5.344V31.17h10.304V43.2h-4.8v-3.744c-.704 1.323-1.653 2.336-2.848 3.04-1.173.683-2.539 1.024-4.096 1.024ZM113.884 43.2H97.916V20.8h4.928v18.305h11.04V43.2ZM125.359 43.52c-1.685 0-3.253-.277-4.704-.832a11.901 11.901 0 0 1-3.808-2.4 10.882 10.882 0 0 1-2.496-3.647c-.597-1.408-.896-2.955-.896-4.64 0-1.686.299-3.232.896-4.64a10.882 10.882 0 0 1 2.496-3.649 11.464 11.464 0 0 1 3.808-2.367c1.451-.576 3.019-.864 4.704-.864 1.685 0 3.253.287 4.704.863 1.451.555 2.709 1.345 3.776 2.368a10.668 10.668 0 0 1 2.528 3.648c.597 1.409.896 2.955.896 4.64 0 1.686-.299 3.233-.896 4.64a10.668 10.668 0 0 1-2.528 3.648c-1.067 1.025-2.325 1.825-3.776 2.4-1.451.555-3.019.832-4.704.832Zm0-4.16c1.301 0 2.464-.309 3.488-.928a6.613 6.613 0 0 0 2.464-2.56c.597-1.109.896-2.4.896-3.871 0-1.472-.299-2.763-.896-3.872-.597-1.11-1.419-1.963-2.464-2.56-1.024-.62-2.187-.928-3.488-.928-1.28 0-2.443.309-3.488.928-1.024.597-1.845 1.45-2.464 2.56-.597 1.109-.896 2.4-.896 3.872 0 1.471.299 2.762.896 3.872.619 1.088 1.44 1.94 2.464 2.56 1.045.618 2.208.928 3.488.928ZM139.934 20.8h10.656c1.621 0 2.954.267 4 .8 1.066.534 1.856 1.227 2.368 2.08.533.854.8 1.771.8 2.753 0 1.109-.384 2.1-1.152 2.976-.747.853-1.792 1.482-3.136 1.888 1.685.362 2.965 1.034 3.84 2.015.874.96 1.312 2.07 1.312 3.329a6.22 6.22 0 0 1-.928 3.328c-.619.98-1.515 1.77-2.688 2.367-1.152.577-2.539.864-4.16.864h-10.912V20.8Zm9.856 3.872h-4.992v5.12h4.992c1.088 0 1.856-.266 2.304-.8a2.757 2.757 0 0 0 .672-1.823c0-.747-.235-1.345-.704-1.793-.448-.469-1.206-.704-2.272-.704Zm.416 8.928h-5.408v5.728h5.408c1.13 0 1.983-.266 2.56-.8.597-.533.896-1.226.896-2.08 0-.746-.299-1.407-.896-1.983-.577-.577-1.43-.865-2.56-.865ZM158.581 43.2l8.992-22.4h5.376l9.024 22.4h-5.216l-1.92-4.992h-9.28l-1.92 4.992h-5.056Zm8.416-8.736h6.432l-3.232-8.415-3.2 8.416ZM199.888 43.2H183.92V20.8h4.928v18.305h11.04V43.2ZM207.125 43.2V20.8h16.416v4.096h-11.488v5.28h8.768v4.097h-8.768V43.2h-4.928ZM220.96 43.2l8.992-22.4h5.376l9.024 22.4h-5.216l-1.92-4.992h-9.28l-1.92 4.992h-5.056Zm8.416-8.736h6.432l-3.232-8.415-3.2 8.416ZM246.299 20.8h10.655c1.622 0 2.955.267 4 .8 1.067.534 1.857 1.227 2.368 2.08.534.854.8 1.771.8 2.753 0 1.109-.383 2.1-1.151 2.976-.747.853-1.793 1.482-3.136 1.888 1.685.362 2.965 1.034 3.839 2.015.875.96 1.312 2.07 1.312 3.329a6.218 6.218 0 0 1-.927 3.328c-.619.98-1.515 1.77-2.689 2.367-1.151.577-2.538.864-4.16.864h-10.911V20.8Zm9.855 3.872h-4.991v5.12h4.991c1.088 0 1.856-.266 2.304-.8a2.758 2.758 0 0 0 .673-1.823c0-.747-.235-1.345-.705-1.793-.447-.469-1.205-.704-2.272-.704Zm.416 8.928h-5.407v5.728h5.407c1.131 0 1.985-.266 2.561-.8.597-.533.896-1.226.896-2.08 0-.746-.299-1.407-.896-1.983-.576-.577-1.43-.865-2.561-.865ZM267.651 43.2V20.8h11.008c1.621 0 2.987.3 4.096.896 1.131.576 1.984 1.377 2.56 2.4.597 1.003.896 2.166.896 3.488 0 1.473-.373 2.763-1.12 3.872-.747 1.088-1.824 1.878-3.232 2.369l5.152 9.375h-5.504l-4.384-8.576h-4.544V43.2h-4.928Zm10.464-18.432h-5.536v5.92h5.536c1.024 0 1.781-.266 2.272-.8.512-.554.768-1.28.768-2.176 0-.874-.245-1.578-.736-2.111-.491-.555-1.259-.832-2.304-.832ZM289.441 20.8h4.928v22.4h-4.928V20.8ZM317.939 39.233c-1.258 1.472-2.656 2.56-4.192 3.264-1.514.682-3.232 1.023-5.152 1.023-1.621 0-3.136-.277-4.544-.832a11.707 11.707 0 0 1-3.712-2.4 11.513 11.513 0 0 1-2.464-3.68c-.576-1.407-.864-2.944-.864-4.607 0-1.664.288-3.2.864-4.608a11.144 11.144 0 0 1 2.464-3.649 11.102 11.102 0 0 1 3.68-2.4c1.408-.576 2.923-.864 4.544-.864 1.899 0 3.584.352 5.056 1.056 1.494.704 2.859 1.792 4.096 3.264l-3.168 2.88c-.853-1.045-1.76-1.813-2.72-2.303-.938-.491-2.026-.736-3.264-.736-1.216 0-2.314.309-3.296.928-.981.618-1.76 1.482-2.336 2.591-.576 1.11-.864 2.39-.864 3.84 0 1.451.288 2.731.864 3.84.576 1.11 1.355 1.974 2.336 2.592a6.215 6.215 0 0 0 3.328.928c1.28 0 2.411-.234 3.392-.703 1.003-.491 1.931-1.26 2.784-2.304l3.168 2.88Z" })),
|
|
26010
|
-
React.createElement("path", { fill: "currentColor", d: "M83.048 43.52c-1.899 0-3.616-.469-5.152-1.408-1.515-.938-2.71-2.26-3.584-3.968C73.437 36.418 73 34.368 73 32.002c0-1.728.288-3.296.864-4.704a11.128 11.128 0 0 1 2.464-3.649 10.85 10.85 0 0 1 3.712-2.335c1.43-.555 2.965-.832 4.608-.832 1.92 0 3.637.351 5.152 1.055 1.515.704 2.901 1.792 4.16 3.264l-3.168 2.88c-.875-1.045-1.803-1.813-2.784-2.303-.981-.491-2.101-.736-3.36-.736-1.237 0-2.357.298-3.36.896-1.003.597-1.792 1.45-2.368 2.56-.576 1.087-.864 2.389-.864 3.904 0 1.578.277 2.922.832 4.032.555 1.087 1.301 1.92 2.24 2.495.939.555 1.995.833 3.168.833.981 0 1.867-.192 2.656-.576.81-.384 1.472-.896 1.984-1.536s.81-1.355.896-2.145h-5.344V31.17h10.304V43.2h-4.8v-3.744c-.704 1.323-1.653 2.336-2.848 3.04-1.173.683-2.539 1.024-4.096 1.024ZM113.884 43.2H97.916V20.8h4.928v18.305h11.04V43.2ZM125.359 43.52c-1.685 0-3.253-.277-4.704-.832a11.901 11.901 0 0 1-3.808-2.4 10.882 10.882 0 0 1-2.496-3.647c-.597-1.408-.896-2.955-.896-4.64 0-1.686.299-3.232.896-4.64a10.882 10.882 0 0 1 2.496-3.649 11.464 11.464 0 0 1 3.808-2.367c1.451-.576 3.019-.864 4.704-.864 1.685 0 3.253.287 4.704.863 1.451.555 2.709 1.345 3.776 2.368a10.668 10.668 0 0 1 2.528 3.648c.597 1.409.896 2.955.896 4.64 0 1.686-.299 3.233-.896 4.64a10.668 10.668 0 0 1-2.528 3.648c-1.067 1.025-2.325 1.825-3.776 2.4-1.451.555-3.019.832-4.704.832Zm0-4.16c1.301 0 2.464-.309 3.488-.928a6.613 6.613 0 0 0 2.464-2.56c.597-1.109.896-2.4.896-3.871 0-1.472-.299-2.763-.896-3.872-.597-1.11-1.419-1.963-2.464-2.56-1.024-.62-2.187-.928-3.488-.928-1.28 0-2.443.309-3.488.928-1.024.597-1.845 1.45-2.464 2.56-.597 1.109-.896 2.4-.896 3.872 0 1.471.299 2.762.896 3.872.619 1.088 1.44 1.94 2.464 2.56 1.045.618 2.208.928 3.488.928ZM139.934 20.8h10.656c1.621 0 2.954.267 4 .8 1.066.534 1.856 1.227 2.368 2.08.533.854.8 1.771.8 2.753 0 1.109-.384 2.1-1.152 2.976-.747.853-1.792 1.482-3.136 1.888 1.685.362 2.965 1.034 3.84 2.015.874.96 1.312 2.07 1.312 3.329a6.22 6.22 0 0 1-.928 3.328c-.619.98-1.515 1.77-2.688 2.367-1.152.577-2.539.864-4.16.864h-10.912V20.8Zm9.856 3.872h-4.992v5.12h4.992c1.088 0 1.856-.266 2.304-.8a2.757 2.757 0 0 0 .672-1.823c0-.747-.235-1.345-.704-1.793-.448-.469-1.206-.704-2.272-.704Zm.416 8.928h-5.408v5.728h5.408c1.13 0 1.983-.266 2.56-.8.597-.533.896-1.226.896-2.08 0-.746-.299-1.407-.896-1.983-.577-.577-1.43-.865-2.56-.865ZM158.581 43.2l8.992-22.4h5.376l9.024 22.4h-5.216l-1.92-4.992h-9.28l-1.92 4.992h-5.056Zm8.416-8.736h6.432l-3.232-8.415-3.2 8.416ZM199.888 43.2H183.92V20.8h4.928v18.305h11.04V43.2ZM207.125 43.2V20.8h16.416v4.096h-11.488v5.28h8.768v4.097h-8.768V43.2h-4.928ZM220.96 43.2l8.992-22.4h5.376l9.024 22.4h-5.216l-1.92-4.992h-9.28l-1.92 4.992h-5.056Zm8.416-8.736h6.432l-3.232-8.415-3.2 8.416ZM246.299 20.8h10.655c1.622 0 2.955.267 4 .8 1.067.534 1.857 1.227 2.368 2.08.534.854.8 1.771.8 2.753 0 1.109-.383 2.1-1.151 2.976-.747.853-1.793 1.482-3.136 1.888 1.685.362 2.965 1.034 3.839 2.015.875.96 1.312 2.07 1.312 3.329a6.218 6.218 0 0 1-.927 3.328c-.619.98-1.515 1.77-2.689 2.367-1.151.577-2.538.864-4.16.864h-10.911V20.8Zm9.855 3.872h-4.991v5.12h4.991c1.088 0 1.856-.266 2.304-.8a2.758 2.758 0 0 0 .673-1.823c0-.747-.235-1.345-.705-1.793-.447-.469-1.205-.704-2.272-.704Zm.416 8.928h-5.407v5.728h5.407c1.131 0 1.985-.266 2.561-.8.597-.533.896-1.226.896-2.08 0-.746-.299-1.407-.896-1.983-.576-.577-1.43-.865-2.561-.865ZM267.651 43.2V20.8h11.008c1.621 0 2.987.3 4.096.896 1.131.576 1.984 1.377 2.56 2.4.597 1.003.896 2.166.896 3.488 0 1.473-.373 2.763-1.12 3.872-.747 1.088-1.824 1.878-3.232 2.369l5.152 9.375h-5.504l-4.384-8.576h-4.544V43.2h-4.928Zm10.464-18.432h-5.536v5.92h5.536c1.024 0 1.781-.266 2.272-.8.512-.554.768-1.28.768-2.176 0-.874-.245-1.578-.736-2.111-.491-.555-1.259-.832-2.304-.832ZM289.441 20.8h4.928v22.4h-4.928V20.8ZM317.939 39.233c-1.258 1.472-2.656 2.56-4.192 3.264-1.514.682-3.232 1.023-5.152 1.023-1.621 0-3.136-.277-4.544-.832a11.707 11.707 0 0 1-3.712-2.4 11.513 11.513 0 0 1-2.464-3.68c-.576-1.407-.864-2.944-.864-4.607 0-1.664.288-3.2.864-4.608a11.144 11.144 0 0 1 2.464-3.649 11.102 11.102 0 0 1 3.68-2.4c1.408-.576 2.923-.864 4.544-.864 1.899 0 3.584.352 5.056 1.056 1.494.704 2.859 1.792 4.096 3.264l-3.168 2.88c-.853-1.045-1.76-1.813-2.72-2.303-.938-.491-2.026-.736-3.264-.736-1.216 0-2.314.309-3.296.928-.981.618-1.76 1.482-2.336 2.591-.576 1.11-.864 2.39-.864 3.84 0 1.451.288 2.731.864 3.84.576 1.11 1.355 1.974 2.336 2.592a6.215 6.215 0 0 0 3.328.928c1.28 0 2.411-.234 3.392-.703 1.003-.491 1.931-1.26 2.784-2.304l3.168 2.88Z" }),
|
|
26011
|
-
React.createElement("path", { stroke: "currentColor", strokeWidth: ".5", d: "M83.048 43.52c-1.899 0-3.616-.469-5.152-1.408-1.515-.938-2.71-2.26-3.584-3.968C73.437 36.418 73 34.368 73 32.002c0-1.728.288-3.296.864-4.704a11.128 11.128 0 0 1 2.464-3.649 10.85 10.85 0 0 1 3.712-2.335c1.43-.555 2.965-.832 4.608-.832 1.92 0 3.637.351 5.152 1.055 1.515.704 2.901 1.792 4.16 3.264l-3.168 2.88c-.875-1.045-1.803-1.813-2.784-2.303-.981-.491-2.101-.736-3.36-.736-1.237 0-2.357.298-3.36.896-1.003.597-1.792 1.45-2.368 2.56-.576 1.087-.864 2.389-.864 3.904 0 1.578.277 2.922.832 4.032.555 1.087 1.301 1.92 2.24 2.495.939.555 1.995.833 3.168.833.981 0 1.867-.192 2.656-.576.81-.384 1.472-.896 1.984-1.536s.81-1.355.896-2.145h-5.344V31.17h10.304V43.2h-4.8v-3.744c-.704 1.323-1.653 2.336-2.848 3.04-1.173.683-2.539 1.024-4.096 1.024ZM113.884 43.2H97.916V20.8h4.928v18.305h11.04V43.2ZM125.359 43.52c-1.685 0-3.253-.277-4.704-.832a11.901 11.901 0 0 1-3.808-2.4 10.882 10.882 0 0 1-2.496-3.647c-.597-1.408-.896-2.955-.896-4.64 0-1.686.299-3.232.896-4.64a10.882 10.882 0 0 1 2.496-3.649 11.464 11.464 0 0 1 3.808-2.367c1.451-.576 3.019-.864 4.704-.864 1.685 0 3.253.287 4.704.863 1.451.555 2.709 1.345 3.776 2.368a10.668 10.668 0 0 1 2.528 3.648c.597 1.409.896 2.955.896 4.64 0 1.686-.299 3.233-.896 4.64a10.668 10.668 0 0 1-2.528 3.648c-1.067 1.025-2.325 1.825-3.776 2.4-1.451.555-3.019.832-4.704.832Zm0-4.16c1.301 0 2.464-.309 3.488-.928a6.613 6.613 0 0 0 2.464-2.56c.597-1.109.896-2.4.896-3.871 0-1.472-.299-2.763-.896-3.872-.597-1.11-1.419-1.963-2.464-2.56-1.024-.62-2.187-.928-3.488-.928-1.28 0-2.443.309-3.488.928-1.024.597-1.845 1.45-2.464 2.56-.597 1.109-.896 2.4-.896 3.872 0 1.471.299 2.762.896 3.872.619 1.088 1.44 1.94 2.464 2.56 1.045.618 2.208.928 3.488.928ZM139.934 20.8h10.656c1.621 0 2.954.267 4 .8 1.066.534 1.856 1.227 2.368 2.08.533.854.8 1.771.8 2.753 0 1.109-.384 2.1-1.152 2.976-.747.853-1.792 1.482-3.136 1.888 1.685.362 2.965 1.034 3.84 2.015.874.96 1.312 2.07 1.312 3.329a6.22 6.22 0 0 1-.928 3.328c-.619.98-1.515 1.77-2.688 2.367-1.152.577-2.539.864-4.16.864h-10.912V20.8Zm9.856 3.872h-4.992v5.12h4.992c1.088 0 1.856-.266 2.304-.8a2.757 2.757 0 0 0 .672-1.823c0-.747-.235-1.345-.704-1.793-.448-.469-1.206-.704-2.272-.704Zm.416 8.928h-5.408v5.728h5.408c1.13 0 1.983-.266 2.56-.8.597-.533.896-1.226.896-2.08 0-.746-.299-1.407-.896-1.983-.577-.577-1.43-.865-2.56-.865ZM158.581 43.2l8.992-22.4h5.376l9.024 22.4h-5.216l-1.92-4.992h-9.28l-1.92 4.992h-5.056Zm8.416-8.736h6.432l-3.232-8.415-3.2 8.416ZM199.888 43.2H183.92V20.8h4.928v18.305h11.04V43.2ZM207.125 43.2V20.8h16.416v4.096h-11.488v5.28h8.768v4.097h-8.768V43.2h-4.928ZM220.96 43.2l8.992-22.4h5.376l9.024 22.4h-5.216l-1.92-4.992h-9.28l-1.92 4.992h-5.056Zm8.416-8.736h6.432l-3.232-8.415-3.2 8.416ZM246.299 20.8h10.655c1.622 0 2.955.267 4 .8 1.067.534 1.857 1.227 2.368 2.08.534.854.8 1.771.8 2.753 0 1.109-.383 2.1-1.151 2.976-.747.853-1.793 1.482-3.136 1.888 1.685.362 2.965 1.034 3.839 2.015.875.96 1.312 2.07 1.312 3.329a6.218 6.218 0 0 1-.927 3.328c-.619.98-1.515 1.77-2.689 2.367-1.151.577-2.538.864-4.16.864h-10.911V20.8Zm9.855 3.872h-4.991v5.12h4.991c1.088 0 1.856-.266 2.304-.8a2.758 2.758 0 0 0 .673-1.823c0-.747-.235-1.345-.705-1.793-.447-.469-1.205-.704-2.272-.704Zm.416 8.928h-5.407v5.728h5.407c1.131 0 1.985-.266 2.561-.8.597-.533.896-1.226.896-2.08 0-.746-.299-1.407-.896-1.983-.576-.577-1.43-.865-2.561-.865ZM267.651 43.2V20.8h11.008c1.621 0 2.987.3 4.096.896 1.131.576 1.984 1.377 2.56 2.4.597 1.003.896 2.166.896 3.488 0 1.473-.373 2.763-1.12 3.872-.747 1.088-1.824 1.878-3.232 2.369l5.152 9.375h-5.504l-4.384-8.576h-4.544V43.2h-4.928Zm10.464-18.432h-5.536v5.92h5.536c1.024 0 1.781-.266 2.272-.8.512-.554.768-1.28.768-2.176 0-.874-.245-1.578-.736-2.111-.491-.555-1.259-.832-2.304-.832ZM289.441 20.8h4.928v22.4h-4.928V20.8ZM317.939 39.233c-1.258 1.472-2.656 2.56-4.192 3.264-1.514.682-3.232 1.023-5.152 1.023-1.621 0-3.136-.277-4.544-.832a11.707 11.707 0 0 1-3.712-2.4 11.513 11.513 0 0 1-2.464-3.68c-.576-1.407-.864-2.944-.864-4.607 0-1.664.288-3.2.864-4.608a11.144 11.144 0 0 1 2.464-3.649 11.102 11.102 0 0 1 3.68-2.4c1.408-.576 2.923-.864 4.544-.864 1.899 0 3.584.352 5.056 1.056 1.494.704 2.859 1.792 4.096 3.264l-3.168 2.88c-.853-1.045-1.76-1.813-2.72-2.303-.938-.491-2.026-.736-3.264-.736-1.216 0-2.314.309-3.296.928-.981.618-1.76 1.482-2.336 2.591-.576 1.11-.864 2.39-.864 3.84 0 1.451.288 2.731.864 3.84.576 1.11 1.355 1.974 2.336 2.592a6.215 6.215 0 0 0 3.328.928c1.28 0 2.411-.234 3.392-.703 1.003-.491 1.931-1.26 2.784-2.304l3.168 2.88Z", mask: "url(#a)" }))); };
|
|
26012
|
-
|
|
26013
|
-
var BtMediaBroadcastLogo = function () { return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 244 64" },
|
|
26014
|
-
React.createElement("path", { fill: "currentColor", d: "M33.598 21.088h15.935v4.672H44.19v17.088h-5.248V25.76h-5.344v-4.672ZM32.03 60.065C16.542 60.065 3.966 47.489 3.966 32S16.542 3.936 32.03 3.936c15.487 0 28.064 12.577 28.064 28.065 0 15.488-12.575 28.064-28.064 28.064Zm0 3.935c17.663 0 32-14.336 32-32 0-17.665-14.336-32-32-32s-32 14.336-32 32c0 17.665 14.336 32 32 32Zm-5.408-27.808c0-1.375-.864-2.304-2.336-2.304h-3.52v4.544h3.52c1.472 0 2.336-.928 2.336-2.24Zm-.64-8.735c0-1.152-.735-1.953-1.983-1.953h-3.232v3.969h3.232c1.248-.001 1.984-.8 1.984-2.016Zm5.952 8.992c0 4.128-2.912 6.4-7.072 6.4H15.59V21.09h8.666c4.192 0 7.04 2.143 7.04 6.08 0 1.791-.8 3.391-2.08 4.352 1.471.864 2.719 2.528 2.719 4.928Z" }),
|
|
26015
|
-
React.createElement("mask", { id: "a", width: "171", height: "50", x: "73.03", y: "6.64", fill: "#000", maskUnits: "userSpaceOnUse" },
|
|
26016
|
-
React.createElement("path", { d: "M74.03 28.08V8.48h5.712l5.544 14.812L90.802 8.48h5.572v19.6h-4.2V13.66l-5.516 14.42h-2.912L78.23 13.66v14.42h-4.2ZM99.904 28.08V8.48h14.644v3.584h-10.332v4.34h7.252v3.584h-7.252v4.508h10.612v3.584H99.904ZM117.221 28.08V8.48h7.112c2.352 0 4.358.42 6.02 1.26 1.68.821 2.958 1.969 3.836 3.444.896 1.474 1.344 3.173 1.344 5.096 0 1.922-.448 3.621-1.344 5.096-.878 1.474-2.156 2.632-3.836 3.472-1.662.821-3.668 1.232-6.02 1.232h-7.112Zm7.112-16.016h-2.8v12.432h2.8c2.202 0 3.882-.56 5.04-1.68 1.157-1.12 1.736-2.632 1.736-4.536 0-1.886-.579-3.388-1.736-4.508-1.158-1.139-2.838-1.708-5.04-1.708ZM137.846 8.48h4.312v19.6h-4.312V8.48ZM143.854 28.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM169.344 22.564c0-1.158.298-2.184.896-3.08.597-.915 1.642-1.764 3.136-2.548-.728-.84-1.26-1.596-1.596-2.268a5.04 5.04 0 0 1-.476-2.184c0-.915.242-1.736.728-2.464.504-.728 1.185-1.307 2.044-1.736.877-.43 1.885-.644 3.024-.644 1.12 0 2.109.214 2.968.644.877.41 1.568.98 2.072 1.708s.756 1.577.756 2.548c0 1.008-.327 1.932-.98 2.772-.654.84-1.662 1.596-3.024 2.268l3.696 4.088c.429-.56.812-1.195 1.148-1.904.354-.71.634-1.494.84-2.352l3.388 1.176a14.601 14.601 0 0 1-1.26 3.164 13.077 13.077 0 0 1-1.792 2.492l3.472 3.836h-4.956l-1.344-1.484a12.698 12.698 0 0 1-2.912 1.344c-.971.28-1.867.42-2.688.42-1.438 0-2.698-.262-3.78-.784-1.064-.523-1.895-1.223-2.492-2.1a5.174 5.174 0 0 1-.868-2.912ZM175.28 12.4c0 .373.102.774.308 1.204.224.41.644.98 1.26 1.708.858-.467 1.418-.934 1.68-1.4.261-.486.392-.943.392-1.372 0-.542-.159-.98-.476-1.316-.318-.336-.766-.504-1.344-.504-.579 0-1.027.158-1.344.476-.318.317-.476.718-.476 1.204Zm-1.68 9.828c0 .802.289 1.446.868 1.932a3.15 3.15 0 0 0 2.044.728c1.138 0 2.23-.271 3.276-.812l-4.34-4.816c-.672.429-1.148.905-1.428 1.428a3.138 3.138 0 0 0-.42 1.54ZM74.03 36.48h9.324c1.418 0 2.585.233 3.5.7.933.466 1.624 1.073 2.072 1.82.466.746.7 1.549.7 2.408 0 .97-.336 1.838-1.008 2.604-.654.746-1.568 1.297-2.744 1.652 1.474.317 2.594.905 3.36 1.764.765.84 1.148 1.81 1.148 2.912 0 1.064-.271 2.034-.812 2.912-.542.858-1.326 1.549-2.352 2.072-1.008.504-2.222.756-3.64.756H74.03v-19.6Zm8.624 3.388h-4.368v4.48h4.368c.952 0 1.624-.234 2.016-.7.392-.467.588-.999.588-1.596 0-.654-.206-1.176-.616-1.568-.392-.411-1.055-.616-1.988-.616Zm.364 7.812h-4.732v5.012h4.732c.989 0 1.736-.234 2.24-.7.522-.467.784-1.074.784-1.82 0-.654-.262-1.232-.784-1.736-.504-.504-1.251-.756-2.24-.756ZM92.713 56.08v-19.6h9.632c1.419 0 2.613.261 3.584.784.989.504 1.736 1.204 2.24 2.1.523.877.784 1.894.784 3.052 0 1.288-.327 2.417-.98 3.388-.653.952-1.596 1.642-2.828 2.072l4.508 8.204h-4.816l-3.836-7.504h-3.976v7.504h-4.312Zm9.156-16.128h-4.844v5.18h4.844c.896 0 1.559-.234 1.988-.7.448-.486.672-1.12.672-1.904 0-.766-.215-1.382-.644-1.848-.429-.486-1.101-.728-2.016-.728ZM120.718 56.36c-1.475 0-2.847-.243-4.116-.728a10.42 10.42 0 0 1-3.332-2.1 9.54 9.54 0 0 1-2.184-3.192c-.523-1.232-.784-2.586-.784-4.06 0-1.475.261-2.828.784-4.06a9.54 9.54 0 0 1 2.184-3.192 10.04 10.04 0 0 1 3.332-2.072c1.269-.504 2.641-.756 4.116-.756 1.475 0 2.847.252 4.116.756a9.729 9.729 0 0 1 3.304 2.072 9.343 9.343 0 0 1 2.212 3.192c.523 1.232.784 2.585.784 4.06 0 1.474-.261 2.828-.784 4.06a9.344 9.344 0 0 1-2.212 3.192 10.09 10.09 0 0 1-3.304 2.1c-1.269.485-2.641.728-4.116.728Zm0-3.64c1.139 0 2.156-.271 3.052-.812a5.786 5.786 0 0 0 2.156-2.24c.523-.971.784-2.1.784-3.388 0-1.288-.261-2.418-.784-3.388-.523-.971-1.241-1.718-2.156-2.24-.896-.542-1.913-.812-3.052-.812-1.12 0-2.137.27-3.052.812-.896.522-1.615 1.269-2.156 2.24-.523.97-.784 2.1-.784 3.388 0 1.288.261 2.417.784 3.388a6.06 6.06 0 0 0 2.156 2.24c.915.541 1.932.812 3.052.812ZM130.529 56.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM152.701 56.08v-19.6h7.112c2.352 0 4.359.42 6.02 1.26 1.68.821 2.959 1.969 3.836 3.444.896 1.474 1.344 3.173 1.344 5.096 0 1.922-.448 3.621-1.344 5.096-.877 1.474-2.156 2.632-3.836 3.472-1.661.821-3.668 1.232-6.02 1.232h-7.112Zm7.112-16.016h-2.8v12.432h2.8c2.203 0 3.883-.56 5.04-1.68 1.157-1.12 1.736-2.632 1.736-4.536 0-1.886-.579-3.388-1.736-4.508-1.157-1.139-2.837-1.708-5.04-1.708ZM190.434 52.608c-1.102 1.288-2.324 2.24-3.668 2.856-1.326.597-2.828.896-4.508.896-1.419 0-2.744-.243-3.976-.728a10.236 10.236 0 0 1-3.248-2.1 10.044 10.044 0 0 1-2.156-3.22c-.504-1.232-.756-2.576-.756-4.032s.252-2.8.756-4.032a9.722 9.722 0 0 1 5.376-5.292c1.232-.504 2.557-.756 3.976-.756 1.661 0 3.136.308 4.424.924 1.306.616 2.501 1.568 3.584 2.856l-2.772 2.52c-.747-.915-1.54-1.587-2.38-2.016-.822-.43-1.774-.644-2.856-.644-1.064 0-2.026.27-2.884.812-.859.541-1.54 1.297-2.044 2.268-.504.97-.756 2.09-.756 3.36 0 1.269.252 2.389.756 3.36.504.97 1.185 1.726 2.044 2.268a5.435 5.435 0 0 0 2.912.812c1.12 0 2.109-.206 2.968-.616.877-.43 1.689-1.102 2.436-2.016l2.772 2.52ZM190.189 56.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM218.506 56.36c-1.587 0-3.08-.243-4.48-.728-1.382-.504-2.576-1.232-3.584-2.184l2.324-2.8a8.742 8.742 0 0 0 2.604 1.596c.952.354 1.988.532 3.108.532 1.045 0 1.866-.178 2.464-.532.597-.374.896-.878.896-1.512 0-.56-.178-1.018-.532-1.372-.355-.374-1.074-.719-2.156-1.036l-3.136-.924c-1.568-.467-2.744-1.148-3.528-2.044-.766-.915-1.148-2.016-1.148-3.304 0-1.176.317-2.203.952-3.08.634-.878 1.512-1.559 2.632-2.044 1.12-.486 2.398-.728 3.836-.728 1.456 0 2.79.27 4.004.812 1.232.522 2.249 1.185 3.052 1.988l-2.38 2.632c-.542-.542-1.214-.98-2.016-1.316-.784-.355-1.643-.532-2.576-.532-1.12 0-1.932.186-2.436.56-.486.373-.728.849-.728 1.428 0 .522.177.961.532 1.316.354.354.961.662 1.82.924l3.136.924c1.792.522 3.08 1.25 3.864 2.184.784.933 1.176 2.053 1.176 3.36 0 1.064-.243 1.978-.728 2.744a5.739 5.739 0 0 1-1.904 1.82 9.885 9.885 0 0 1-2.52 1.008c-.878.205-1.727.308-2.548.308ZM243.217 40.064h-6.272V56.08h-4.312V40.064h-6.272V36.48h16.856v3.584Z" })),
|
|
26017
|
-
React.createElement("path", { fill: "currentColor", d: "M74.03 28.08V8.48h5.712l5.544 14.812L90.802 8.48h5.572v19.6h-4.2V13.66l-5.516 14.42h-2.912L78.23 13.66v14.42h-4.2ZM99.904 28.08V8.48h14.644v3.584h-10.332v4.34h7.252v3.584h-7.252v4.508h10.612v3.584H99.904ZM117.221 28.08V8.48h7.112c2.352 0 4.358.42 6.02 1.26 1.68.821 2.958 1.969 3.836 3.444.896 1.474 1.344 3.173 1.344 5.096 0 1.922-.448 3.621-1.344 5.096-.878 1.474-2.156 2.632-3.836 3.472-1.662.821-3.668 1.232-6.02 1.232h-7.112Zm7.112-16.016h-2.8v12.432h2.8c2.202 0 3.882-.56 5.04-1.68 1.157-1.12 1.736-2.632 1.736-4.536 0-1.886-.579-3.388-1.736-4.508-1.158-1.139-2.838-1.708-5.04-1.708ZM137.846 8.48h4.312v19.6h-4.312V8.48ZM143.854 28.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM169.344 22.564c0-1.158.298-2.184.896-3.08.597-.915 1.642-1.764 3.136-2.548-.728-.84-1.26-1.596-1.596-2.268a5.04 5.04 0 0 1-.476-2.184c0-.915.242-1.736.728-2.464.504-.728 1.185-1.307 2.044-1.736.877-.43 1.885-.644 3.024-.644 1.12 0 2.109.214 2.968.644.877.41 1.568.98 2.072 1.708s.756 1.577.756 2.548c0 1.008-.327 1.932-.98 2.772-.654.84-1.662 1.596-3.024 2.268l3.696 4.088c.429-.56.812-1.195 1.148-1.904.354-.71.634-1.494.84-2.352l3.388 1.176a14.601 14.601 0 0 1-1.26 3.164 13.077 13.077 0 0 1-1.792 2.492l3.472 3.836h-4.956l-1.344-1.484a12.698 12.698 0 0 1-2.912 1.344c-.971.28-1.867.42-2.688.42-1.438 0-2.698-.262-3.78-.784-1.064-.523-1.895-1.223-2.492-2.1a5.174 5.174 0 0 1-.868-2.912ZM175.28 12.4c0 .373.102.774.308 1.204.224.41.644.98 1.26 1.708.858-.467 1.418-.934 1.68-1.4.261-.486.392-.943.392-1.372 0-.542-.159-.98-.476-1.316-.318-.336-.766-.504-1.344-.504-.579 0-1.027.158-1.344.476-.318.317-.476.718-.476 1.204Zm-1.68 9.828c0 .802.289 1.446.868 1.932a3.15 3.15 0 0 0 2.044.728c1.138 0 2.23-.271 3.276-.812l-4.34-4.816c-.672.429-1.148.905-1.428 1.428a3.138 3.138 0 0 0-.42 1.54ZM74.03 36.48h9.324c1.418 0 2.585.233 3.5.7.933.466 1.624 1.073 2.072 1.82.466.746.7 1.549.7 2.408 0 .97-.336 1.838-1.008 2.604-.654.746-1.568 1.297-2.744 1.652 1.474.317 2.594.905 3.36 1.764.765.84 1.148 1.81 1.148 2.912 0 1.064-.271 2.034-.812 2.912-.542.858-1.326 1.549-2.352 2.072-1.008.504-2.222.756-3.64.756H74.03v-19.6Zm8.624 3.388h-4.368v4.48h4.368c.952 0 1.624-.234 2.016-.7.392-.467.588-.999.588-1.596 0-.654-.206-1.176-.616-1.568-.392-.411-1.055-.616-1.988-.616Zm.364 7.812h-4.732v5.012h4.732c.989 0 1.736-.234 2.24-.7.522-.467.784-1.074.784-1.82 0-.654-.262-1.232-.784-1.736-.504-.504-1.251-.756-2.24-.756ZM92.713 56.08v-19.6h9.632c1.419 0 2.613.261 3.584.784.989.504 1.736 1.204 2.24 2.1.523.877.784 1.894.784 3.052 0 1.288-.327 2.417-.98 3.388-.653.952-1.596 1.642-2.828 2.072l4.508 8.204h-4.816l-3.836-7.504h-3.976v7.504h-4.312Zm9.156-16.128h-4.844v5.18h4.844c.896 0 1.559-.234 1.988-.7.448-.486.672-1.12.672-1.904 0-.766-.215-1.382-.644-1.848-.429-.486-1.101-.728-2.016-.728ZM120.718 56.36c-1.475 0-2.847-.243-4.116-.728a10.42 10.42 0 0 1-3.332-2.1 9.54 9.54 0 0 1-2.184-3.192c-.523-1.232-.784-2.586-.784-4.06 0-1.475.261-2.828.784-4.06a9.54 9.54 0 0 1 2.184-3.192 10.04 10.04 0 0 1 3.332-2.072c1.269-.504 2.641-.756 4.116-.756 1.475 0 2.847.252 4.116.756a9.729 9.729 0 0 1 3.304 2.072 9.343 9.343 0 0 1 2.212 3.192c.523 1.232.784 2.585.784 4.06 0 1.474-.261 2.828-.784 4.06a9.344 9.344 0 0 1-2.212 3.192 10.09 10.09 0 0 1-3.304 2.1c-1.269.485-2.641.728-4.116.728Zm0-3.64c1.139 0 2.156-.271 3.052-.812a5.786 5.786 0 0 0 2.156-2.24c.523-.971.784-2.1.784-3.388 0-1.288-.261-2.418-.784-3.388-.523-.971-1.241-1.718-2.156-2.24-.896-.542-1.913-.812-3.052-.812-1.12 0-2.137.27-3.052.812-.896.522-1.615 1.269-2.156 2.24-.523.97-.784 2.1-.784 3.388 0 1.288.261 2.417.784 3.388a6.06 6.06 0 0 0 2.156 2.24c.915.541 1.932.812 3.052.812ZM130.529 56.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM152.701 56.08v-19.6h7.112c2.352 0 4.359.42 6.02 1.26 1.68.821 2.959 1.969 3.836 3.444.896 1.474 1.344 3.173 1.344 5.096 0 1.922-.448 3.621-1.344 5.096-.877 1.474-2.156 2.632-3.836 3.472-1.661.821-3.668 1.232-6.02 1.232h-7.112Zm7.112-16.016h-2.8v12.432h2.8c2.203 0 3.883-.56 5.04-1.68 1.157-1.12 1.736-2.632 1.736-4.536 0-1.886-.579-3.388-1.736-4.508-1.157-1.139-2.837-1.708-5.04-1.708ZM190.434 52.608c-1.102 1.288-2.324 2.24-3.668 2.856-1.326.597-2.828.896-4.508.896-1.419 0-2.744-.243-3.976-.728a10.236 10.236 0 0 1-3.248-2.1 10.044 10.044 0 0 1-2.156-3.22c-.504-1.232-.756-2.576-.756-4.032s.252-2.8.756-4.032a9.722 9.722 0 0 1 5.376-5.292c1.232-.504 2.557-.756 3.976-.756 1.661 0 3.136.308 4.424.924 1.306.616 2.501 1.568 3.584 2.856l-2.772 2.52c-.747-.915-1.54-1.587-2.38-2.016-.822-.43-1.774-.644-2.856-.644-1.064 0-2.026.27-2.884.812-.859.541-1.54 1.297-2.044 2.268-.504.97-.756 2.09-.756 3.36 0 1.269.252 2.389.756 3.36.504.97 1.185 1.726 2.044 2.268a5.435 5.435 0 0 0 2.912.812c1.12 0 2.109-.206 2.968-.616.877-.43 1.689-1.102 2.436-2.016l2.772 2.52ZM190.189 56.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM218.506 56.36c-1.587 0-3.08-.243-4.48-.728-1.382-.504-2.576-1.232-3.584-2.184l2.324-2.8a8.742 8.742 0 0 0 2.604 1.596c.952.354 1.988.532 3.108.532 1.045 0 1.866-.178 2.464-.532.597-.374.896-.878.896-1.512 0-.56-.178-1.018-.532-1.372-.355-.374-1.074-.719-2.156-1.036l-3.136-.924c-1.568-.467-2.744-1.148-3.528-2.044-.766-.915-1.148-2.016-1.148-3.304 0-1.176.317-2.203.952-3.08.634-.878 1.512-1.559 2.632-2.044 1.12-.486 2.398-.728 3.836-.728 1.456 0 2.79.27 4.004.812 1.232.522 2.249 1.185 3.052 1.988l-2.38 2.632c-.542-.542-1.214-.98-2.016-1.316-.784-.355-1.643-.532-2.576-.532-1.12 0-1.932.186-2.436.56-.486.373-.728.849-.728 1.428 0 .522.177.961.532 1.316.354.354.961.662 1.82.924l3.136.924c1.792.522 3.08 1.25 3.864 2.184.784.933 1.176 2.053 1.176 3.36 0 1.064-.243 1.978-.728 2.744a5.739 5.739 0 0 1-1.904 1.82 9.885 9.885 0 0 1-2.52 1.008c-.878.205-1.727.308-2.548.308ZM243.217 40.064h-6.272V56.08h-4.312V40.064h-6.272V36.48h16.856v3.584Z" }),
|
|
26018
|
-
React.createElement("path", { stroke: "currentColor", strokeWidth: ".5", d: "M74.03 28.08V8.48h5.712l5.544 14.812L90.802 8.48h5.572v19.6h-4.2V13.66l-5.516 14.42h-2.912L78.23 13.66v14.42h-4.2ZM99.904 28.08V8.48h14.644v3.584h-10.332v4.34h7.252v3.584h-7.252v4.508h10.612v3.584H99.904ZM117.221 28.08V8.48h7.112c2.352 0 4.358.42 6.02 1.26 1.68.821 2.958 1.969 3.836 3.444.896 1.474 1.344 3.173 1.344 5.096 0 1.922-.448 3.621-1.344 5.096-.878 1.474-2.156 2.632-3.836 3.472-1.662.821-3.668 1.232-6.02 1.232h-7.112Zm7.112-16.016h-2.8v12.432h2.8c2.202 0 3.882-.56 5.04-1.68 1.157-1.12 1.736-2.632 1.736-4.536 0-1.886-.579-3.388-1.736-4.508-1.158-1.139-2.838-1.708-5.04-1.708ZM137.846 8.48h4.312v19.6h-4.312V8.48ZM143.854 28.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM169.344 22.564c0-1.158.298-2.184.896-3.08.597-.915 1.642-1.764 3.136-2.548-.728-.84-1.26-1.596-1.596-2.268a5.04 5.04 0 0 1-.476-2.184c0-.915.242-1.736.728-2.464.504-.728 1.185-1.307 2.044-1.736.877-.43 1.885-.644 3.024-.644 1.12 0 2.109.214 2.968.644.877.41 1.568.98 2.072 1.708s.756 1.577.756 2.548c0 1.008-.327 1.932-.98 2.772-.654.84-1.662 1.596-3.024 2.268l3.696 4.088c.429-.56.812-1.195 1.148-1.904.354-.71.634-1.494.84-2.352l3.388 1.176a14.601 14.601 0 0 1-1.26 3.164 13.077 13.077 0 0 1-1.792 2.492l3.472 3.836h-4.956l-1.344-1.484a12.698 12.698 0 0 1-2.912 1.344c-.971.28-1.867.42-2.688.42-1.438 0-2.698-.262-3.78-.784-1.064-.523-1.895-1.223-2.492-2.1a5.174 5.174 0 0 1-.868-2.912ZM175.28 12.4c0 .373.102.774.308 1.204.224.41.644.98 1.26 1.708.858-.467 1.418-.934 1.68-1.4.261-.486.392-.943.392-1.372 0-.542-.159-.98-.476-1.316-.318-.336-.766-.504-1.344-.504-.579 0-1.027.158-1.344.476-.318.317-.476.718-.476 1.204Zm-1.68 9.828c0 .802.289 1.446.868 1.932a3.15 3.15 0 0 0 2.044.728c1.138 0 2.23-.271 3.276-.812l-4.34-4.816c-.672.429-1.148.905-1.428 1.428a3.138 3.138 0 0 0-.42 1.54ZM74.03 36.48h9.324c1.418 0 2.585.233 3.5.7.933.466 1.624 1.073 2.072 1.82.466.746.7 1.549.7 2.408 0 .97-.336 1.838-1.008 2.604-.654.746-1.568 1.297-2.744 1.652 1.474.317 2.594.905 3.36 1.764.765.84 1.148 1.81 1.148 2.912 0 1.064-.271 2.034-.812 2.912-.542.858-1.326 1.549-2.352 2.072-1.008.504-2.222.756-3.64.756H74.03v-19.6Zm8.624 3.388h-4.368v4.48h4.368c.952 0 1.624-.234 2.016-.7.392-.467.588-.999.588-1.596 0-.654-.206-1.176-.616-1.568-.392-.411-1.055-.616-1.988-.616Zm.364 7.812h-4.732v5.012h4.732c.989 0 1.736-.234 2.24-.7.522-.467.784-1.074.784-1.82 0-.654-.262-1.232-.784-1.736-.504-.504-1.251-.756-2.24-.756ZM92.713 56.08v-19.6h9.632c1.419 0 2.613.261 3.584.784.989.504 1.736 1.204 2.24 2.1.523.877.784 1.894.784 3.052 0 1.288-.327 2.417-.98 3.388-.653.952-1.596 1.642-2.828 2.072l4.508 8.204h-4.816l-3.836-7.504h-3.976v7.504h-4.312Zm9.156-16.128h-4.844v5.18h4.844c.896 0 1.559-.234 1.988-.7.448-.486.672-1.12.672-1.904 0-.766-.215-1.382-.644-1.848-.429-.486-1.101-.728-2.016-.728ZM120.718 56.36c-1.475 0-2.847-.243-4.116-.728a10.42 10.42 0 0 1-3.332-2.1 9.54 9.54 0 0 1-2.184-3.192c-.523-1.232-.784-2.586-.784-4.06 0-1.475.261-2.828.784-4.06a9.54 9.54 0 0 1 2.184-3.192 10.04 10.04 0 0 1 3.332-2.072c1.269-.504 2.641-.756 4.116-.756 1.475 0 2.847.252 4.116.756a9.729 9.729 0 0 1 3.304 2.072 9.343 9.343 0 0 1 2.212 3.192c.523 1.232.784 2.585.784 4.06 0 1.474-.261 2.828-.784 4.06a9.344 9.344 0 0 1-2.212 3.192 10.09 10.09 0 0 1-3.304 2.1c-1.269.485-2.641.728-4.116.728Zm0-3.64c1.139 0 2.156-.271 3.052-.812a5.786 5.786 0 0 0 2.156-2.24c.523-.971.784-2.1.784-3.388 0-1.288-.261-2.418-.784-3.388-.523-.971-1.241-1.718-2.156-2.24-.896-.542-1.913-.812-3.052-.812-1.12 0-2.137.27-3.052.812-.896.522-1.615 1.269-2.156 2.24-.523.97-.784 2.1-.784 3.388 0 1.288.261 2.417.784 3.388a6.06 6.06 0 0 0 2.156 2.24c.915.541 1.932.812 3.052.812ZM130.529 56.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM152.701 56.08v-19.6h7.112c2.352 0 4.359.42 6.02 1.26 1.68.821 2.959 1.969 3.836 3.444.896 1.474 1.344 3.173 1.344 5.096 0 1.922-.448 3.621-1.344 5.096-.877 1.474-2.156 2.632-3.836 3.472-1.661.821-3.668 1.232-6.02 1.232h-7.112Zm7.112-16.016h-2.8v12.432h2.8c2.203 0 3.883-.56 5.04-1.68 1.157-1.12 1.736-2.632 1.736-4.536 0-1.886-.579-3.388-1.736-4.508-1.157-1.139-2.837-1.708-5.04-1.708ZM190.434 52.608c-1.102 1.288-2.324 2.24-3.668 2.856-1.326.597-2.828.896-4.508.896-1.419 0-2.744-.243-3.976-.728a10.236 10.236 0 0 1-3.248-2.1 10.044 10.044 0 0 1-2.156-3.22c-.504-1.232-.756-2.576-.756-4.032s.252-2.8.756-4.032a9.722 9.722 0 0 1 5.376-5.292c1.232-.504 2.557-.756 3.976-.756 1.661 0 3.136.308 4.424.924 1.306.616 2.501 1.568 3.584 2.856l-2.772 2.52c-.747-.915-1.54-1.587-2.38-2.016-.822-.43-1.774-.644-2.856-.644-1.064 0-2.026.27-2.884.812-.859.541-1.54 1.297-2.044 2.268-.504.97-.756 2.09-.756 3.36 0 1.269.252 2.389.756 3.36.504.97 1.185 1.726 2.044 2.268a5.435 5.435 0 0 0 2.912.812c1.12 0 2.109-.206 2.968-.616.877-.43 1.689-1.102 2.436-2.016l2.772 2.52ZM190.189 56.08l7.868-19.6h4.704l7.896 19.6h-4.564l-1.68-4.368h-8.12l-1.68 4.368h-4.424Zm7.364-7.644h5.628l-2.828-7.364-2.8 7.364ZM218.506 56.36c-1.587 0-3.08-.243-4.48-.728-1.382-.504-2.576-1.232-3.584-2.184l2.324-2.8a8.742 8.742 0 0 0 2.604 1.596c.952.354 1.988.532 3.108.532 1.045 0 1.866-.178 2.464-.532.597-.374.896-.878.896-1.512 0-.56-.178-1.018-.532-1.372-.355-.374-1.074-.719-2.156-1.036l-3.136-.924c-1.568-.467-2.744-1.148-3.528-2.044-.766-.915-1.148-2.016-1.148-3.304 0-1.176.317-2.203.952-3.08.634-.878 1.512-1.559 2.632-2.044 1.12-.486 2.398-.728 3.836-.728 1.456 0 2.79.27 4.004.812 1.232.522 2.249 1.185 3.052 1.988l-2.38 2.632c-.542-.542-1.214-.98-2.016-1.316-.784-.355-1.643-.532-2.576-.532-1.12 0-1.932.186-2.436.56-.486.373-.728.849-.728 1.428 0 .522.177.961.532 1.316.354.354.961.662 1.82.924l3.136.924c1.792.522 3.08 1.25 3.864 2.184.784.933 1.176 2.053 1.176 3.36 0 1.064-.243 1.978-.728 2.744a5.739 5.739 0 0 1-1.904 1.82 9.885 9.885 0 0 1-2.52 1.008c-.878.205-1.727.308-2.548.308ZM243.217 40.064h-6.272V56.08h-4.312V40.064h-6.272V36.48h16.856v3.584Z", mask: "url(#a)" }))); };
|
|
26232
|
+
var BtGlobalFabricLogo = function () { return (React.createElement("svg", { viewBox: "0 0 276 64", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
26233
|
+
React.createElement("path", { d: "M33.5682 21.0883H49.5038V25.7598H44.16V42.8479H38.9119V25.7598H33.5682V21.0883ZM32 60.0648C16.5123 60.0648 3.93635 47.4886 3.93635 32.0006C3.93635 16.5126 16.5123 3.93642 32 3.93642C47.4877 3.93642 60.0649 16.5126 60.0649 32.0006C60.0649 47.4886 47.4889 60.0648 32 60.0648ZM32 64C49.6633 64 64 49.6642 64 31.9994C64 14.3346 49.6645 0 32 0C14.3367 0 0 14.3358 0 32.0006C0 49.6654 14.3367 64 32 64ZM26.5924 36.1923C26.5924 34.8167 25.7286 33.8878 24.2562 33.8878H20.7358V38.4317H24.2562C25.7286 38.4329 26.5924 37.504 26.5924 36.1923ZM25.9531 27.4568C25.9531 26.3046 25.2169 25.5045 23.969 25.5045H20.737V29.4729H23.969C25.2169 29.4716 25.9531 28.6728 25.9531 27.4568ZM31.9043 36.4487C31.9043 40.5766 28.9925 42.8491 24.8329 42.8491H15.5589V21.0883H24.2255C28.4171 21.0883 31.265 23.232 31.265 27.1684C31.265 28.96 30.465 30.56 29.1852 31.5208C30.6564 32.3847 31.9043 34.0486 31.9043 36.4487Z", fill: "currentColor" }),
|
|
26234
|
+
React.createElement("path", { d: "M91.232 44.32C89.376 44.32 87.68 43.8507 86.144 42.912C84.608 41.9733 83.3813 40.6507 82.464 38.944C81.5467 37.216 81.088 35.168 81.088 32.8C81.088 31.072 81.376 29.504 81.952 28.096C82.528 26.688 83.328 25.472 84.352 24.448C85.376 23.424 86.5813 22.6453 87.968 22.112C89.3547 21.5573 90.848 21.28 92.448 21.28C94.3467 21.28 96.032 21.6213 97.504 22.304C98.976 22.9867 100.352 24.0533 101.632 25.504L98.944 27.936C98.0053 26.848 97.024 26.048 96 25.536C94.976 25.0027 93.792 24.736 92.448 24.736C91.0613 24.736 89.8133 25.0667 88.704 25.728C87.5947 26.368 86.72 27.296 86.08 28.512C85.44 29.7067 85.12 31.136 85.12 32.8C85.12 34.528 85.4293 36 86.048 37.216C86.6667 38.4107 87.5093 39.3173 88.576 39.936C89.6427 40.5547 90.848 40.864 92.192 40.864C93.4293 40.864 94.5173 40.608 95.456 40.096C96.3947 39.5627 97.1307 38.9013 97.664 38.112C98.2187 37.3227 98.496 36.5333 98.496 35.744H92.608V32.416H102.4V44H98.624V39.776C97.8987 41.248 96.896 42.3787 95.616 43.168C94.336 43.936 92.8747 44.32 91.232 44.32ZM109.794 44.32C108.45 44.32 107.415 43.9573 106.69 43.232C105.964 42.4853 105.602 41.3973 105.602 39.968V20.96H109.378V39.52C109.378 40.096 109.495 40.512 109.73 40.768C109.964 41.0027 110.306 41.12 110.754 41.12C111.266 41.12 111.66 41.088 111.938 41.024V44.128C111.404 44.256 110.69 44.32 109.794 44.32ZM121.753 44.32C120.174 44.32 118.734 43.968 117.433 43.264C116.153 42.56 115.139 41.5787 114.393 40.32C113.646 39.0613 113.273 37.6 113.273 35.936C113.273 34.272 113.646 32.8107 114.393 31.552C115.139 30.2933 116.153 29.312 117.433 28.608C118.734 27.904 120.174 27.552 121.753 27.552C123.353 27.552 124.793 27.904 126.073 28.608C127.353 29.312 128.366 30.2933 129.113 31.552C129.859 32.8107 130.233 34.272 130.233 35.936C130.233 37.6 129.859 39.0613 129.113 40.32C128.366 41.5787 127.353 42.56 126.073 43.264C124.793 43.968 123.353 44.32 121.753 44.32ZM121.753 41.152C123.054 41.152 124.153 40.6933 125.049 39.776C125.945 38.8587 126.393 37.5787 126.393 35.936C126.393 34.2933 125.945 33.0133 125.049 32.096C124.153 31.1787 123.054 30.72 121.753 30.72C120.451 30.72 119.353 31.1787 118.457 32.096C117.561 33.0133 117.113 34.2933 117.113 35.936C117.113 37.5787 117.561 38.8587 118.457 39.776C119.353 40.6933 120.451 41.152 121.753 41.152ZM133.012 44V20.96H136.788V30.976C137.321 29.9093 138.057 29.0773 138.996 28.48C139.956 27.8613 141.065 27.552 142.324 27.552C143.561 27.552 144.713 27.8933 145.78 28.576C146.868 29.2373 147.742 30.1973 148.404 31.456C149.086 32.6933 149.428 34.1867 149.428 35.936C149.428 37.6853 149.086 39.1893 148.404 40.448C147.742 41.6853 146.868 42.6453 145.78 43.328C144.713 43.9893 143.561 44.32 142.324 44.32C141.044 44.32 139.913 44 138.932 43.36C137.972 42.72 137.225 41.824 136.692 40.672V44H133.012ZM136.692 37.152C136.692 37.9413 136.894 38.6453 137.3 39.264C137.705 39.8613 138.228 40.3307 138.868 40.672C139.508 40.992 140.19 41.152 140.916 41.152C142.302 41.152 143.422 40.6933 144.276 39.776C145.15 38.8587 145.588 37.5787 145.588 35.936C145.588 34.2933 145.15 33.0133 144.276 32.096C143.422 31.1787 142.302 30.72 140.916 30.72C140.19 30.72 139.508 30.8907 138.868 31.232C138.228 31.552 137.705 32.0107 137.3 32.608C136.894 33.2053 136.692 33.9093 136.692 34.72V37.152ZM158.439 44.32C157.202 44.32 156.039 43.9893 154.951 43.328C153.884 42.6453 153.01 41.6853 152.327 40.448C151.666 39.1893 151.335 37.6853 151.335 35.936C151.335 34.1867 151.666 32.6933 152.327 31.456C153.01 30.1973 153.884 29.2373 154.951 28.576C156.039 27.8933 157.202 27.552 158.439 27.552C159.762 27.552 160.914 27.8933 161.895 28.576C162.898 29.2587 163.655 30.1973 164.167 31.392V27.872H167.751V44H164.167V40.48C163.655 41.6747 162.898 42.6133 161.895 43.296C160.914 43.9787 159.762 44.32 158.439 44.32ZM155.175 35.936C155.175 37.5787 155.602 38.8587 156.455 39.776C157.33 40.6933 158.46 41.152 159.847 41.152C160.572 41.152 161.255 40.992 161.895 40.672C162.535 40.3307 163.058 39.8613 163.463 39.264C163.868 38.6453 164.071 37.9413 164.071 37.152V34.72C164.071 33.9093 163.868 33.2053 163.463 32.608C163.058 32.0107 162.535 31.552 161.895 31.232C161.255 30.8907 160.572 30.72 159.847 30.72C158.46 30.72 157.33 31.1787 156.455 32.096C155.602 32.992 155.175 34.272 155.175 35.936ZM175.419 44.32C174.075 44.32 173.04 43.9573 172.315 43.232C171.589 42.4853 171.227 41.3973 171.227 39.968V20.96H175.003V39.52C175.003 40.096 175.12 40.512 175.355 40.768C175.589 41.0027 175.931 41.12 176.379 41.12C176.891 41.12 177.285 41.088 177.562 41.024V44.128C177.029 44.256 176.315 44.32 175.419 44.32ZM186.741 44V21.6H202.485V24.992H190.645V31.328H199.765V34.72H190.645V44H186.741ZM209.408 44.32C208.17 44.32 207.008 43.9893 205.92 43.328C204.853 42.6453 203.978 41.6853 203.296 40.448C202.634 39.1893 202.304 37.6853 202.304 35.936C202.304 34.1867 202.634 32.6933 203.296 31.456C203.978 30.1973 204.853 29.2373 205.92 28.576C207.008 27.8933 208.17 27.552 209.408 27.552C210.73 27.552 211.882 27.8933 212.864 28.576C213.866 29.2587 214.624 30.1973 215.136 31.392V27.872H218.72V44H215.136V40.48C214.624 41.6747 213.866 42.6133 212.864 43.296C211.882 43.9787 210.73 44.32 209.408 44.32ZM206.144 35.936C206.144 37.5787 206.57 38.8587 207.424 39.776C208.298 40.6933 209.429 41.152 210.816 41.152C211.541 41.152 212.224 40.992 212.864 40.672C213.504 40.3307 214.026 39.8613 214.432 39.264C214.837 38.6453 215.04 37.9413 215.04 37.152V34.72C215.04 33.9093 214.837 33.2053 214.432 32.608C214.026 32.0107 213.504 31.552 212.864 31.232C212.224 30.8907 211.541 30.72 210.816 30.72C209.429 30.72 208.298 31.1787 207.424 32.096C206.57 32.992 206.144 34.272 206.144 35.936ZM222.355 44V20.96H226.131V30.976C226.665 29.9093 227.401 29.0773 228.339 28.48C229.299 27.8613 230.409 27.552 231.667 27.552C232.905 27.552 234.057 27.8933 235.123 28.576C236.211 29.2373 237.086 30.1973 237.747 31.456C238.43 32.6933 238.771 34.1867 238.771 35.936C238.771 37.6853 238.43 39.1893 237.747 40.448C237.086 41.6853 236.211 42.6453 235.123 43.328C234.057 43.9893 232.905 44.32 231.667 44.32C230.387 44.32 229.257 44 228.275 43.36C227.315 42.72 226.569 41.824 226.035 40.672V44H222.355ZM226.035 37.152C226.035 37.9413 226.238 38.6453 226.643 39.264C227.049 39.8613 227.571 40.3307 228.211 40.672C228.851 40.992 229.534 41.152 230.259 41.152C231.646 41.152 232.766 40.6933 233.619 39.776C234.494 38.8587 234.931 37.5787 234.931 35.936C234.931 34.2933 234.494 33.0133 233.619 32.096C232.766 31.1787 231.646 30.72 230.259 30.72C229.534 30.72 228.851 30.8907 228.211 31.232C227.571 31.552 227.049 32.0107 226.643 32.608C226.238 33.2053 226.035 33.9093 226.035 34.72V37.152ZM241.543 44V27.872H245.191V31.52C245.617 30.368 246.236 29.44 247.047 28.736C247.857 28.0107 248.796 27.648 249.863 27.648C250.076 27.648 250.289 27.6587 250.503 27.68C250.716 27.7013 250.929 27.7333 251.143 27.776V31.584C250.524 31.4347 249.841 31.36 249.095 31.36C247.879 31.36 246.94 31.6907 246.279 32.352C245.639 33.0133 245.319 33.9413 245.319 35.136V44H241.543ZM255.368 25.536C254.664 25.536 254.067 25.312 253.576 24.864C253.107 24.3947 252.872 23.8187 252.872 23.136C252.872 22.4533 253.107 21.888 253.576 21.44C254.067 20.9707 254.664 20.736 255.368 20.736C256.072 20.736 256.659 20.9707 257.128 21.44C257.619 21.888 257.864 22.4533 257.864 23.136C257.864 23.8187 257.619 24.3947 257.128 24.864C256.659 25.312 256.072 25.536 255.368 25.536ZM253.48 44V27.872H257.256V44H253.48ZM274.838 41.632C274.006 42.464 273.024 43.1253 271.894 43.616C270.763 44.0853 269.6 44.32 268.406 44.32C266.827 44.32 265.408 43.968 264.15 43.264C262.891 42.56 261.888 41.5787 261.142 40.32C260.416 39.0613 260.054 37.6 260.054 35.936C260.054 34.272 260.416 32.8107 261.142 31.552C261.888 30.2933 262.902 29.312 264.182 28.608C265.462 27.904 266.891 27.552 268.47 27.552C269.6 27.552 270.71 27.7973 271.798 28.288C272.907 28.7573 273.878 29.4293 274.71 30.304L272.598 32.544C271.51 31.3493 270.155 30.752 268.534 30.752C267.19 30.752 266.08 31.2107 265.206 32.128C264.331 33.0453 263.894 34.3147 263.894 35.936C263.894 37.0027 264.107 37.9307 264.534 38.72C264.96 39.488 265.526 40.0853 266.23 40.512C266.955 40.9173 267.744 41.12 268.598 41.12C269.408 41.12 270.176 40.96 270.902 40.64C271.648 40.32 272.32 39.8827 272.918 39.328L274.838 41.632Z", fill: "currentColor" }))); };
|
|
26019
26235
|
|
|
26020
26236
|
var BtWholesaleLogo = function () { return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 203 50" },
|
|
26021
26237
|
React.createElement("path", { d: "M26.226 16.475h12.45v3.65H34.5v13.35h-4.1v-13.35h-4.175v-3.65ZM25 46.925C12.9 46.925 3.075 37.1 3.075 25 3.075 12.9 12.9 3.075 25 3.075 37.1 3.075 46.925 12.9 46.925 25c0 12.1-9.825 21.925-21.925 21.925ZM25 50c13.8 0 25-11.2 25-25S38.8 0 25 0 0 11.2 0 25s11.2 25 25 25Zm-4.225-21.724c0-1.075-.675-1.8-1.825-1.8H16.2v3.551h2.75c1.15-.002 1.825-.727 1.825-1.751Zm-.5-6.825c0-.9-.576-1.526-1.551-1.526H16.2v3.1h2.526c.973.001 1.549-.625 1.549-1.574Zm4.65 7.024c0 3.224-2.274 5-5.524 5h-7.246v-17h6.772c3.275 0 5.5 1.676 5.5 4.75 0 1.4-.625 2.65-1.625 3.401 1.149.674 2.124 1.974 2.124 3.849Zm48.125.125-3.284-12.125h-3.942l-3.307 12.219-2.948-12.219h-4.364l4.93 16.995h4.458l3.13-11.268 3.109 11.268h4.459l4.928-16.995h-4.245L73.049 28.6Zm19.122-5.44H85.1v-6.685H81V33.47h4.1v-6.824h7.072v6.824h4.1V16.475h-4.1v6.685Zm20.784-4.471a8.77 8.77 0 0 0-2.873-1.808 9.774 9.774 0 0 0-3.556-.642c-1.267 0-2.463.215-3.556.642a8.753 8.753 0 0 0-2.874 1.808 8.224 8.224 0 0 0-1.908 2.769c-.452 1.064-.68 2.245-.68 3.516 0 1.27.23 2.451.68 3.515a8.224 8.224 0 0 0 1.908 2.77 8.773 8.773 0 0 0 2.874 1.807 9.773 9.773 0 0 0 3.555.642c1.267 0 2.463-.215 3.557-.642a8.716 8.716 0 0 0 2.873-1.808 8.195 8.195 0 0 0 1.907-2.769c.451-1.064.679-2.245.679-3.515 0-1.269-.23-2.452-.68-3.516a8.194 8.194 0 0 0-1.906-2.77Zm-1.605 6.285c0 1.042-.214 1.961-.633 2.735a4.67 4.67 0 0 1-1.722 1.814c-.723.432-1.554.652-2.468.652-.898 0-1.721-.218-2.445-.652a4.772 4.772 0 0 1-1.735-1.815c-.427-.773-.644-1.692-.644-2.734 0-1.043.217-1.967.644-2.747a4.653 4.653 0 0 1 1.734-1.813c.723-.425 1.547-.642 2.445-.642.913 0 1.744.215 2.469.642a4.577 4.577 0 0 1 1.72 1.811c.421.782.635 1.706.635 2.748Zm9.53-8.499h-4.1V33.47h12.249v-3.483h-8.149V16.475Zm13.58 10.171h6.118V23.16h-6.118v-3.2h8.716v-3.485h-12.814V33.47h13.05v-3.483h-8.952v-3.341Zm22.279-1.113c-.688-.819-1.823-1.464-3.371-1.916l-2.644-.78c-.685-.208-1.17-.451-1.439-.721a1.275 1.275 0 0 1-.381-.947c0-.415.174-.75.534-1.02.374-.282 1.015-.425 1.904-.425a5.2 5.2 0 0 1 2.09.418 5.24 5.24 0 0 1 1.62 1.074l.17.171 2.318-2.563-.156-.155c-.695-.695-1.58-1.279-2.632-1.737-1.058-.459-2.23-.692-3.483-.692-1.239 0-2.359.214-3.329.634-.978.425-1.758 1.03-2.316 1.8-.563.777-.846 1.698-.846 2.735 0 1.137.347 2.122 1.035 2.924.68.796 1.715 1.402 3.075 1.808l2.646.78c.871.256 1.447.526 1.718.8.257.265.382.595.382 1.008 0 .453-.211.8-.645 1.065-.466.284-1.124.427-1.958.427-.912 0-1.766-.15-2.538-.444a6.99 6.99 0 0 1-2.126-1.292l-.178-.157-2.251 2.712.157.148a8.77 8.77 0 0 0 3.117 1.88 11.47 11.47 0 0 0 3.846.639c.707 0 1.451-.094 2.215-.279a8.06 8.06 0 0 0 2.176-.875 4.942 4.942 0 0 0 1.685-1.61c.433-.672.651-1.49.651-2.428 0-1.151-.352-2.155-1.046-2.982Zm7.387-9.058-6.822 16.995h4.231l1.416-3.684h6.532l1.417 3.684h4.351l-6.846-16.995h-4.279Zm4.142 10.086h-4.077l2.03-5.334 2.047 5.334Zm12.046-10.086h-4.1V33.47h12.249v-3.483h-8.149V16.475Zm13.58 13.512v-3.341h6.117V23.16h-6.117v-3.2h8.715v-3.485h-12.814V33.47h13.052v-3.483h-8.953Z", fill: "currentColor" }))); };
|
|
26022
26238
|
|
|
26023
|
-
var BtRedcareLogo = function () { return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 169 50" },
|
|
26024
|
-
React.createElement("path", { d: "M25 0C11.285 0 0 11.285 0 25s11.285 25 25 25 25-11.285 25-25C49.995 11.287 38.713.005 25 0Zm0 46.92h-.005c-12.028 0-21.925-9.897-21.925-21.925S12.967 3.07 24.995 3.07 46.92 12.967 46.92 24.995V25C46.911 37.022 37.022 46.911 25 46.92Zm95.636-16.632-2.683-2.44-.153.19a5.93 5.93 0 0 1-1.965 1.626 5.484 5.484 0 0 1-2.415.508 4.314 4.314 0 0 1-2.323-.65 4.609 4.609 0 0 1-1.653-1.828 6.386 6.386 0 0 1 0-5.456 4.627 4.627 0 0 1 1.642-1.824 4.267 4.267 0 0 1 2.31-.65 5.014 5.014 0 0 1 2.317.521c.746.411 1.4.97 1.923 1.642l.153.187 2.686-2.436-.142-.176a9.26 9.26 0 0 0-3.09-2.47 8.886 8.886 0 0 0-3.84-.802 9.082 9.082 0 0 0-3.428.644 8.536 8.536 0 0 0-2.798 1.824 8.35 8.35 0 0 0-1.871 2.785 9.462 9.462 0 0 0 0 6.978 8.36 8.36 0 0 0 4.672 4.6 9.204 9.204 0 0 0 3.44.642 9.37 9.37 0 0 0 3.909-.788 9.195 9.195 0 0 0 3.16-2.457l.15-.17h-.001ZM22.8 24.626a4.224 4.224 0 0 0 1.625-3.4c0-3.075-2.224-4.751-5.5-4.751h-6.77v17h7.248c3.25 0 5.526-1.774 5.526-5-.003-1.875-.979-3.175-2.129-3.849Zm3.425-4.501H30.4v13.35h4.1v-13.35h4.175v-3.65h-12.45v3.65Zm126.251 4.57a5.193 5.193 0 0 0 .866-2.976 5.303 5.303 0 0 0-.68-2.7 4.818 4.818 0 0 0-1.98-1.861c-.857-.448-1.915-.676-3.143-.676h-8.354v16.992h4.097v-6.336h2.984l3.235 6.329h4.586l-3.86-7.028a4.777 4.777 0 0 0 2.25-1.744h-.001Zm-75.218 1.947h6.115V23.16h-6.115v-3.2h8.714v-3.484H73.16v16.992h13.048v-3.484h-8.95v-3.342Zm-6.888-1.947a5.193 5.193 0 0 0 .866-2.976 5.306 5.306 0 0 0-.68-2.707 4.825 4.825 0 0 0-1.98-1.861c-.86-.448-1.916-.676-3.135-.676H57.08v16.992h4.095v-6.33h2.983l3.235 6.33h4.586l-3.86-7.028a4.787 4.787 0 0 0 2.252-1.744h-.001Zm28.995-7.144c-1.436-.706-3.175-1.076-5.193-1.076h-6.228v16.992h6.228c2.01 0 3.757-.353 5.193-1.074a7.914 7.914 0 0 0 3.33-3 8.457 8.457 0 0 0 1.154-4.409 8.44 8.44 0 0 0-1.154-4.41 7.894 7.894 0 0 0-3.33-3.023Zm32.205-1.076h-4.279l-6.816 16.992h4.234l1.41-3.683h6.527l1.411 3.683h4.358l-6.786-16.847-.06-.145h.001Zm27.747 13.508v-3.34h6.117v-3.485h-6.117v-3.2h8.715v-3.483h-12.81v16.992h13.047v-3.484h-8.952Zm-140.367.042v.008-.001H16.2v-3.557h2.75c1.15 0 1.825.725 1.825 1.8 0 1.025-.666 1.75-1.825 1.75Zm80.711-5.054c0 1.534-.469 2.765-1.395 3.66-.926.897-2.309 1.356-4.094 1.356h-2.13V19.959h2.13c1.787 0 3.163.458 4.09 1.363.928.905 1.4 2.138 1.4 3.65l-.001-.001Zm27.694 1.588 2.029-5.335 2.05 5.335h-4.079Zm-60.312-4.744a2.02 2.02 0 0 1-.494 1.437c-.323.353-.834.53-1.519.53h-3.856v-3.919h3.856c.706 0 1.216.177 1.53.53.337.392.51.898.483 1.414v.008Zm82.108 0a2.024 2.024 0 0 1-.494 1.437c-.322.353-.833.53-1.52.53h-3.855v-3.919h3.855c.705 0 1.215.177 1.53.53.337.391.51.898.484 1.414v.008ZM16.2 19.932h2.526c.973 0 1.548.625 1.548 1.526 0 .949-.575 1.575-1.548 1.575H16.2v-3.101Z", fill: "currentColor" }))); };
|
|
26025
|
-
|
|
26026
26239
|
var NavigationHeaderLogo = function (_a) {
|
|
26027
|
-
var _b;
|
|
26028
|
-
var _c = _a.brand, brand = _c === void 0 ? "bt" : _c, _d = _a.href, href = _d === void 0 ? "/" : _d, _e = _a.ariaLabel, ariaLabel = _e === void 0 ? "Home" : _e, _f = _a.isSurfaceSensitive, isSurfaceSensitive = _f === void 0 ? true : _f, svg = _a.svg, onClick = _a.onClick;
|
|
26240
|
+
var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, _c = _a.href, href = _c === void 0 ? "/" : _c, _d = _a.ariaLabel, ariaLabel = _d === void 0 ? "Home" : _d, svg = _a.svg, onClick = _a.onClick;
|
|
26029
26241
|
var surface = React.useContext(Context$3).surface;
|
|
26030
26242
|
var logos = {
|
|
26031
26243
|
bt: BtLogo,
|
|
26032
26244
|
ee: EeLogo,
|
|
26033
26245
|
btGlobalFabric: BtGlobalFabricLogo,
|
|
26034
|
-
btMediaBroadCast: BtMediaBroadcastLogo,
|
|
26035
|
-
btRedcare: BtRedcareLogo,
|
|
26036
26246
|
btWholesale: BtWholesaleLogo,
|
|
26037
26247
|
};
|
|
26038
26248
|
var icon = svg || React.createElement(logos[brand]);
|
|
26039
|
-
return (React.createElement("a", { className: classNames("arc-NavigationHeaderLogo", (
|
|
26040
|
-
"arc-NavigationHeaderLogo--staticColor": !isSurfaceSensitive
|
|
26041
|
-
},
|
|
26042
|
-
_b[suffixModifier("arc-NavigationHeaderLogo--on", surface)] = isSurfaceSensitive,
|
|
26043
|
-
_b)), "aria-label": ariaLabel, onClick: onClick, href: href }, icon));
|
|
26249
|
+
return (React.createElement("a", { className: classNames("arc-NavigationHeaderLogo", suffixModifier("arc-NavigationHeaderLogo--on", surface)), "aria-label": ariaLabel, onClick: onClick, href: href }, icon));
|
|
26044
26250
|
};
|
|
26045
26251
|
|
|
26046
26252
|
// src/check-element-visibility/check-element-visibility.ts
|
|
@@ -26053,9 +26259,16 @@ var checkElementVisibility = (element) => {
|
|
|
26053
26259
|
}
|
|
26054
26260
|
};
|
|
26055
26261
|
|
|
26262
|
+
var DELAY_DURATION = 500;
|
|
26263
|
+
|
|
26056
26264
|
var NavigationHeaderInlineAction = function (_a) {
|
|
26057
26265
|
var icon = _a.icon, text = _a.text, href = _a.href, onClick = _a.onClick;
|
|
26058
|
-
|
|
26266
|
+
var surface = React.useContext(Context$3).surface;
|
|
26267
|
+
var commonClasses = [
|
|
26268
|
+
"arc-NavigationHeaderInlineAction",
|
|
26269
|
+
suffixModifier("arc-NavigationHeaderInlineAction--on", surface),
|
|
26270
|
+
];
|
|
26271
|
+
return (React.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React.createElement("a", { "aria-label": text, className: classNames.apply(void 0, __spreadArray(__spreadArray([], commonClasses, false), ["arc-NavigationHeaderInlineAction-link"], false)), href: href, onClick: onClick }, children)); }, fallback: function (children) { return (React.createElement("button", { "aria-label": text, className: classNames.apply(void 0, __spreadArray(__spreadArray([], commonClasses, false), ["arc-NavigationHeaderInlineAction-button"], false)), onClick: onClick }, children)); } },
|
|
26059
26272
|
React.createElement("div", { className: "arc-NavigationHeaderInlineAction-content" },
|
|
26060
26273
|
React.createElement(Icon$1, { "aria-hidden": true, icon: icon, size: 28 }),
|
|
26061
26274
|
React.createElement(Text, { size: "l" }, text))));
|
|
@@ -26073,6 +26286,7 @@ var NavigationHeaderButton = React.forwardRef(function (_a, ref) {
|
|
|
26073
26286
|
var NavigationHeaderDisclosure = function (_a) {
|
|
26074
26287
|
var heading = _a.heading, children = _a.children;
|
|
26075
26288
|
var _b = React.useState(false), isOpen = _b[0], setIsOpen = _b[1];
|
|
26289
|
+
var surface = React.useContext(Context$3).surface;
|
|
26076
26290
|
var containerRef = React.useRef(null);
|
|
26077
26291
|
var handleOnClick = function (e) {
|
|
26078
26292
|
e.preventDefault();
|
|
@@ -26083,45 +26297,51 @@ var NavigationHeaderDisclosure = function (_a) {
|
|
|
26083
26297
|
containerRef.current.firstChild.focus();
|
|
26084
26298
|
}
|
|
26085
26299
|
}, [isOpen, containerRef.current]);
|
|
26086
|
-
return (React.createElement("details", { className: "arc-NavigationHeaderDisclosure", open: isOpen },
|
|
26300
|
+
return (React.createElement("details", { className: classNames("arc-NavigationHeaderDisclosure", suffixModifier("arc-NavigationHeaderDisclosure--on", surface)), open: isOpen },
|
|
26087
26301
|
React.createElement("summary", { "aria-expanded": isOpen, onClick: handleOnClick, className: "arc-NavigationHeaderDisclosure-summary" },
|
|
26088
26302
|
React.createElement("span", { className: "arc-NavigationHeaderDisclosure-heading" }, heading),
|
|
26089
26303
|
React.createElement("span", { className: "arc-NavigationHeaderDisclosure-icon" },
|
|
26090
|
-
React.createElement(
|
|
26304
|
+
React.createElement(Visible, { xs: true, s: true },
|
|
26305
|
+
React.createElement(ThemeIcon, { size: 20, icon: "navigationHeaderDisclosure" })),
|
|
26306
|
+
React.createElement(Visible, { m: true, l: true },
|
|
26307
|
+
React.createElement(ThemeIcon, { size: 24, icon: "navigationHeaderDisclosure" })),
|
|
26308
|
+
React.createElement(Visible, { xl: true, xxl: true },
|
|
26309
|
+
React.createElement(ThemeIcon, { size: 28, icon: "navigationHeaderDisclosure" })))),
|
|
26091
26310
|
React.createElement("div", { ref: containerRef, className: "arc-NavigationHeaderDisclosure-details" }, children)));
|
|
26092
26311
|
};
|
|
26093
26312
|
|
|
26094
26313
|
var NavigationHeaderMenuLink = function (_a) {
|
|
26095
26314
|
var href = _a.href, onClick = _a.onClick, text = _a.text, _b = _a.size, size = _b === void 0 ? "l" : _b;
|
|
26096
|
-
var
|
|
26097
|
-
|
|
26098
|
-
icon: "navigationHeaderMenuLinkSmall",
|
|
26099
|
-
size: 24,
|
|
26100
|
-
},
|
|
26101
|
-
l: {
|
|
26102
|
-
icon: "navigationHeaderMenuLinkLarge",
|
|
26103
|
-
size: 28,
|
|
26104
|
-
},
|
|
26105
|
-
};
|
|
26106
|
-
return (React.createElement("a", { "aria-label": text, href: href, onClick: onClick, className: classNames("arc-NavigationHeaderMenuLink", suffixModifier("arc-NavigationHeaderMenuLink--size", size)) },
|
|
26315
|
+
var surface = React.useContext(Context$3).surface;
|
|
26316
|
+
return (React.createElement("a", { "aria-label": text, href: href, onClick: onClick, className: classNames("arc-NavigationHeaderMenuLink", suffixModifier("arc-NavigationHeaderMenuLink--on", surface), suffixModifier("arc-NavigationHeaderMenuLink--size", size)) },
|
|
26107
26317
|
React.createElement("div", { className: "arc-NavigationHeaderMenuLink-text" }, text),
|
|
26108
26318
|
React.createElement("span", { className: "arc-NavigationHeaderMenuLink-icon" },
|
|
26109
|
-
React.createElement(
|
|
26319
|
+
size === "s" && (React.createElement("div", { className: "arc-NavigationHeaderMenuLink-smallIconContainer" },
|
|
26320
|
+
React.createElement(ThemeIcon, { icon: "navigationHeaderMenuLinkSmall" }))),
|
|
26321
|
+
size === "l" && (React.createElement(React.Fragment, null,
|
|
26322
|
+
React.createElement(Visible, { xs: true, s: true },
|
|
26323
|
+
React.createElement(ThemeIcon, { size: 20, icon: "navigationHeaderMenuLinkLarge" })),
|
|
26324
|
+
React.createElement(Visible, { m: true, l: true },
|
|
26325
|
+
React.createElement(ThemeIcon, { size: 24, icon: "navigationHeaderMenuLinkLarge" })),
|
|
26326
|
+
React.createElement(Visible, { xl: true, xxl: true },
|
|
26327
|
+
React.createElement(ThemeIcon, { size: 28, icon: "navigationHeaderMenuLinkLarge" })))))));
|
|
26110
26328
|
};
|
|
26111
26329
|
|
|
26112
26330
|
var NavigationHeaderCloseButton = React.forwardRef(function (_a, ref) {
|
|
26113
26331
|
var onClick = _a.onClick, props = __rest(_a, ["onClick"]);
|
|
26114
|
-
|
|
26332
|
+
var surface = React.useContext(Context$3).surface;
|
|
26333
|
+
return (React.createElement("button", __assign({}, props, { ref: ref, "aria-label": "close", onClick: onClick, className: classNames("arc-NavigationHeaderCloseButton", suffixModifier("arc-NavigationHeaderCloseButton--on", surface)) }),
|
|
26115
26334
|
React.createElement(ThemeIcon, { size: 32, icon: "navigationHeaderClose" })));
|
|
26116
26335
|
});
|
|
26117
26336
|
|
|
26118
26337
|
var NavigationHeaderBurgerMenu = function (_a) {
|
|
26119
|
-
var navItems = _a.navItems, actions = _a.actions, header = _a.header, footer = _a.footer, logo = _a.logo;
|
|
26338
|
+
var navItems = _a.navItems, actions = _a.actions, header = _a.header, footer = _a.footer, logo = _a.logo, background = _a.background, onOpenChange = _a.onOpenChange, _b = _a.pathway, pathway = _b === void 0 ? "invert" : _b;
|
|
26120
26339
|
var id = React.useId();
|
|
26121
|
-
var
|
|
26340
|
+
var _c = React.useState(false), isOpen = _c[0], setIsOpen = _c[1];
|
|
26122
26341
|
var triggerRef = React.useRef(null);
|
|
26342
|
+
var listRef = React.useRef(null);
|
|
26123
26343
|
var interactionMode = useInteractionMode().interactionMode;
|
|
26124
|
-
var
|
|
26344
|
+
var _d = useThemeElement(), themeElement = _d[0], setThemeElement = _d[1];
|
|
26125
26345
|
var closeMenu = function () {
|
|
26126
26346
|
setIsOpen(false);
|
|
26127
26347
|
};
|
|
@@ -26130,6 +26350,9 @@ var NavigationHeaderBurgerMenu = function (_a) {
|
|
|
26130
26350
|
triggerRef.current.focus();
|
|
26131
26351
|
}
|
|
26132
26352
|
};
|
|
26353
|
+
React.useEffect(function () {
|
|
26354
|
+
onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(isOpen);
|
|
26355
|
+
}, [isOpen]);
|
|
26133
26356
|
// Close the menu if the nav or trigger is hidden
|
|
26134
26357
|
React.useEffect(function () {
|
|
26135
26358
|
var resizeObserver = new ResizeObserver(function (entries) {
|
|
@@ -26147,8 +26370,27 @@ var NavigationHeaderBurgerMenu = function (_a) {
|
|
|
26147
26370
|
}
|
|
26148
26371
|
};
|
|
26149
26372
|
}, [isOpen, setIsOpen, triggerRef.current]);
|
|
26373
|
+
var colorScheme = React.useMemo(function () {
|
|
26374
|
+
var colorConfig = {
|
|
26375
|
+
light: {
|
|
26376
|
+
surface: "light-white",
|
|
26377
|
+
menuColorType: "light",
|
|
26378
|
+
},
|
|
26379
|
+
dark: {
|
|
26380
|
+
surface: "dark-black",
|
|
26381
|
+
menuColorType: "dark",
|
|
26382
|
+
},
|
|
26383
|
+
};
|
|
26384
|
+
switch (background) {
|
|
26385
|
+
case "transparentOnDark":
|
|
26386
|
+
case "ghostedOnDark":
|
|
26387
|
+
return pathway === "invert" ? colorConfig.light : colorConfig.dark;
|
|
26388
|
+
default:
|
|
26389
|
+
return pathway === "invert" ? colorConfig.dark : colorConfig.light;
|
|
26390
|
+
}
|
|
26391
|
+
}, [pathway, background]);
|
|
26150
26392
|
return (React.createElement(React.Fragment, null,
|
|
26151
|
-
React.createElement(Tooltip, {
|
|
26393
|
+
React.createElement(Tooltip, { delayDuration: DELAY_DURATION, asChild: true, title: "Menu", side: "bottom" },
|
|
26152
26394
|
React.createElement(NavigationHeaderButton, { ref: triggerRef, isPadded: false, "aria-expanded": isOpen, "aria-label": isOpen ? "close menu" : "open menu", onClick: function () { return setIsOpen(!isOpen); } },
|
|
26153
26395
|
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-trigger" },
|
|
26154
26396
|
React.createElement(ThemeIcon, { icon: "siteHeaderBurger", size: 24 })),
|
|
@@ -26157,32 +26399,33 @@ var NavigationHeaderBurgerMenu = function (_a) {
|
|
|
26157
26399
|
React.createElement(Root$3, { open: isOpen },
|
|
26158
26400
|
React.createElement(Portal$3, { container: themeElement },
|
|
26159
26401
|
React.createElement(Overlay, { className: "arc-NavigationHeaderBurgerMenu-overlay" },
|
|
26160
|
-
React.createElement(Content$1, { "aria-describedby": undefined, className: "arc-NavigationHeaderBurgerMenu-slider", onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: closeMenu, onInteractOutside: closeMenu, "aria-modal": "true" },
|
|
26161
|
-
React.createElement(
|
|
26162
|
-
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-
|
|
26163
|
-
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-
|
|
26164
|
-
React.createElement(
|
|
26165
|
-
React.createElement(
|
|
26166
|
-
|
|
26167
|
-
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-
|
|
26168
|
-
React.createElement(
|
|
26169
|
-
|
|
26170
|
-
|
|
26171
|
-
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26402
|
+
React.createElement(Content$1, { "aria-describedby": undefined, className: classNames("arc-NavigationHeaderBurgerMenu-slider", suffixModifier("arc-NavigationHeaderBurgerMenu-slider--on", colorScheme.menuColorType)), onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: closeMenu, onInteractOutside: closeMenu, "aria-modal": "true" },
|
|
26403
|
+
React.createElement(Surface, { growVertically: true, isTransparent: true, background: colorScheme.surface },
|
|
26404
|
+
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-container" },
|
|
26405
|
+
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-mainContent" },
|
|
26406
|
+
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-header" },
|
|
26407
|
+
React.createElement(Title, null,
|
|
26408
|
+
React.createElement(VisuallyHidden$2, null, "Navigation menu")),
|
|
26409
|
+
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-closeButtonContainer" },
|
|
26410
|
+
React.createElement(NavigationHeaderCloseButton, { onClick: closeMenu })),
|
|
26411
|
+
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-logoContainer" },
|
|
26412
|
+
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-logoWrapper" },
|
|
26413
|
+
React.createElement(NavigationHeaderLogo, __assign({}, logo))))),
|
|
26414
|
+
header && (React.createElement("div", { className: classNames("arc-NavigationHeaderBurgerMenu-topContent", {
|
|
26415
|
+
"arc-NavigationHeaderBurgerMenu-topContent--bottomSpacing": !navItems,
|
|
26416
|
+
}) }, header)),
|
|
26417
|
+
navItems && (React.createElement("ul", { ref: listRef, className: "arc-NavigationHeaderBurgerMenu-list" }, navItems.map(function (navItem, navItemIndex) { return (React.createElement(React.Fragment, { key: "".concat(id, "-burger-nav-item-").concat(navItemIndex) },
|
|
26175
26418
|
React.createElement("li", { className: "arc-NavigationHeaderBurgerMenu-listItem" },
|
|
26176
26419
|
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-listItemContent" },
|
|
26177
26420
|
(navItem.type === "link" ||
|
|
26178
26421
|
navItem.type === "meatball") && (React.createElement(NavigationHeaderMenuLink, { href: navItem.href, onClick: navItem.onClick, text: navItem.text })),
|
|
26179
26422
|
(navItem.type === "subnav" ||
|
|
26180
26423
|
navItem.type === "dropdown") && (React.createElement(NavigationHeaderDisclosure, { heading: navItem.text }, navItem.items.map(function (subNavItem, subNavItemIndex) { return (React.createElement(NavigationHeaderMenuLink, { size: "s", key: "".concat(id, "-").concat(navItemIndex, "-burger-sub-nav-item-").concat(subNavItemIndex), href: subNavItem.href, onClick: subNavItem.onClick, text: subNavItem.text })); }))))))); }))),
|
|
26181
|
-
actions && (React.createElement("div", { className:
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
React.createElement(
|
|
26424
|
+
actions && (React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-actionsContainer" },
|
|
26425
|
+
React.createElement("div", { className: classNames("arc-NavigationHeaderBurgerMenu-actions", {
|
|
26426
|
+
"arc-NavigationHeaderBurgerMenu-actions--seperator": navItems || header,
|
|
26427
|
+
}) }, actions.map(function (props, i) { return (React.createElement(NavigationHeaderInlineAction, __assign({ key: "".concat(id, "-action-{").concat(i, "}") }, props))); }))))),
|
|
26428
|
+
footer && (React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-footer" }, footer)))))))))));
|
|
26186
26429
|
};
|
|
26187
26430
|
|
|
26188
26431
|
var NavigationHeaderNavLink = function (_a) {
|
|
@@ -26265,12 +26508,12 @@ var NavigationHeaderDropdown = function (_a) {
|
|
|
26265
26508
|
};
|
|
26266
26509
|
var toggleVisibility = function () { return setIsOpen(function (isOpen) { return !isOpen; }); };
|
|
26267
26510
|
return (React.createElement(Popover, { useBespokeTrigger: true, align: "center", background: "light", arrow: true, sideOffset: 12, alignOffset: 0, open: isOpen, onCloseAutoFocus: onCloseAutoFocus, onOpenAutoFocus: focusOnFirstElement, onEscapeKeyDown: handleOutSideInteraction, onFocusOutside: handleOutSideInteraction, onInteractOutside: handleOutSideInteraction, onPointerDownOutside: handleOutSideInteraction, content: React.createElement("div", { ref: containerRef },
|
|
26268
|
-
React.createElement("ul", { className: "arc-NavigationHeaderDropdown-navList" }, children)) }, tooltip ? (React.createElement(Tooltip, { asChild: true, title: tooltip, open: isTooltipOpen,
|
|
26511
|
+
React.createElement("ul", { className: "arc-NavigationHeaderDropdown-navList" }, children)) }, tooltip ? (React.createElement(Tooltip, { asChild: true, title: tooltip, open: isTooltipOpen, alignContent: "center", side: "bottom" },
|
|
26269
26512
|
React.createElement(NavigationHeaderButton, { ref: triggerRef, "aria-label": ariaLabel, "aria-expanded": isOpen, "aria-haspopup": "dialog", "aria-describedby": undefined, isActive: isOpen, onClick: toggleVisibility, onMouseEnter: function () { return setIsTooltipOpen(!isOpen); }, onMouseLeave: function () { return setIsTooltipOpen(false); }, onFocus: function () { return setIsTooltipOpen(true); }, onBlur: function () { return setIsTooltipOpen(false); } }, trigger))) : (React.createElement(NavigationHeaderButton, { ref: triggerRef, "aria-label": ariaLabel, "aria-expanded": isOpen, "aria-haspopup": "dialog", isActive: isOpen, onClick: toggleVisibility }, trigger))));
|
|
26270
26513
|
};
|
|
26271
26514
|
|
|
26272
26515
|
var NavigationHeaderContainer = function (_a) {
|
|
26273
|
-
var _b = _a.isPill, isPill = _b === void 0 ? false : _b, _c = _a.isExtended, isExtended = _c === void 0 ? false : _c, _d = _a.isFluid, isFluid = _d === void 0 ? false : _d,
|
|
26516
|
+
var _b = _a.isPill, isPill = _b === void 0 ? false : _b, _c = _a.isExtended, isExtended = _c === void 0 ? false : _c, _d = _a.isFluid, isFluid = _d === void 0 ? false : _d, background = _a.background, children = _a.children;
|
|
26274
26517
|
var backgrounds = {
|
|
26275
26518
|
light: {
|
|
26276
26519
|
surface: "light-white",
|
|
@@ -27281,9 +27524,9 @@ var defaultHeaderVisibility = {
|
|
|
27281
27524
|
};
|
|
27282
27525
|
|
|
27283
27526
|
var NavigationHeader = function (_a) {
|
|
27284
|
-
var leftSlot = _a.leftSlot, middleSlot = _a.middleSlot, rightSlot = _a.rightSlot, isPill = _a.isPill, isExtended = _a.isExtended, isFluid = _a.isFluid, logo = _a.logo, navItems = _a.navItems,
|
|
27527
|
+
var leftSlot = _a.leftSlot, middleSlot = _a.middleSlot, rightSlot = _a.rightSlot, isPill = _a.isPill, isExtended = _a.isExtended, isFluid = _a.isFluid, logo = _a.logo, navItems = _a.navItems, meatballMenuTooltip = _a.meatballMenuTooltip, burgerMenuActions = _a.burgerMenuActions, burgerMenuFooter = _a.burgerMenuFooter, burgerMenuHeader = _a.burgerMenuHeader, burgerMenuVisibility = _a.burgerMenuVisibility, onOpenChange = _a.onOpenChange, burgerMenuPathway = _a.burgerMenuPathway, navMenuVisibility = _a.navMenuVisibility, _b = _a.background, background = _b === void 0 ? "transparentOnLight" : _b;
|
|
27285
27528
|
var navBarPortalRef = React.useRef(null);
|
|
27286
|
-
var
|
|
27529
|
+
var _c = React.useState(false), isSubMenuItemActive = _c[0], setIsSubMenuItemActive = _c[1];
|
|
27287
27530
|
var navBarBackground = isSubMenuItemActive ? "lightElevated" : background;
|
|
27288
27531
|
var burgerMenuVisibilityProps = __assign(__assign({}, defaultHeaderVisibility.burgerMenu), burgerMenuVisibility);
|
|
27289
27532
|
var navMenuVisibilityProps = __assign(__assign({}, defaultHeaderVisibility.navItems), navMenuVisibility);
|
|
@@ -27306,7 +27549,7 @@ var NavigationHeader = function (_a) {
|
|
|
27306
27549
|
rightSlot && (React.createElement("div", { className: "arc-NavigationHeader-rightSlot" }, rightSlot)),
|
|
27307
27550
|
React.createElement(Visible, __assign({}, burgerMenuVisibilityProps),
|
|
27308
27551
|
React.createElement("div", { className: "arc-NavigationHeader-burgerMenuSlot" },
|
|
27309
|
-
React.createElement(NavigationHeaderBurgerMenu, { logo: logo, navItems: navItems, actions: burgerMenuActions, header: burgerMenuHeader, footer: burgerMenuFooter })))))));
|
|
27552
|
+
React.createElement(NavigationHeaderBurgerMenu, { logo: logo, background: background, pathway: burgerMenuPathway, navItems: navItems, actions: burgerMenuActions, header: burgerMenuHeader, footer: burgerMenuFooter, onOpenChange: onOpenChange })))))));
|
|
27310
27553
|
};
|
|
27311
27554
|
|
|
27312
27555
|
var NavigationHeaderAction = function (_a) {
|
|
@@ -27314,7 +27557,7 @@ var NavigationHeaderAction = function (_a) {
|
|
|
27314
27557
|
return (React.createElement("div", { className: classNames("arc-NavigationHeaderAction", {
|
|
27315
27558
|
"arc-NavigationHeaderAction--attention": isAttention,
|
|
27316
27559
|
}) },
|
|
27317
|
-
React.createElement(Tooltip, { asChild: true,
|
|
27560
|
+
React.createElement(Tooltip, { asChild: true, title: title, alignContent: "center", supportingCopy: supportingCopy, delayDuration: DELAY_DURATION, side: "bottom" },
|
|
27318
27561
|
React.createElement(NavigationHeaderButton, { isPadded: false, onClick: onClick },
|
|
27319
27562
|
React.createElement("div", { className: "arc-NavigationHeaderAction-content" },
|
|
27320
27563
|
React.createElement(Icon$1, { "aria-hidden": true, icon: icon, size: 24 }),
|
|
@@ -27515,6 +27758,7 @@ exports.ButtonV2 = ButtonV2;
|
|
|
27515
27758
|
exports.Calendar = Calendar;
|
|
27516
27759
|
exports.Carousel = Carousel;
|
|
27517
27760
|
exports.Checkbox = Checkbox;
|
|
27761
|
+
exports.CheckboxIcon = CheckboxIcon;
|
|
27518
27762
|
exports.Columns = Columns;
|
|
27519
27763
|
exports.ColumnsCol = ColumnsCol;
|
|
27520
27764
|
exports.ComboBox = ComboBox;
|
|
@@ -27607,6 +27851,7 @@ exports.Rule = Rule;
|
|
|
27607
27851
|
exports.ScrollToTop = ScrollToTop;
|
|
27608
27852
|
exports.Section = Section;
|
|
27609
27853
|
exports.Select = Select;
|
|
27854
|
+
exports.SemanticHeading = SemanticHeading;
|
|
27610
27855
|
exports.SiteFooter = SiteFooter;
|
|
27611
27856
|
exports.SiteFooterItem = SiteFooterItem;
|
|
27612
27857
|
exports.SiteFooterItemGroup = SiteFooterItemGroup;
|