@arc-ui/components 12.0.0-beta.19 → 12.0.0-beta.20
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 +1 -1
- package/lib/Alert/Alert.mjs +1 -1
- package/lib/Alert/styles.css +1 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/Avatar.cjs +2 -1
- package/lib/Avatar/Avatar.mjs +2 -1
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/AvatarGroup.cjs +2 -1
- package/lib/AvatarGroup/AvatarGroup.mjs +2 -1
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +2 -3
- package/lib/Banner/Banner.mjs +2 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +2 -1
- package/lib/Breadcrumbs/Breadcrumbs.mjs +2 -1
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +2 -2
- package/lib/Button/Button.mjs +2 -2
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +3 -3
- package/lib/ButtonGroup/ButtonGroup.mjs +3 -3
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +2 -2
- package/lib/ButtonV2/ButtonV2.mjs +2 -2
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +3 -3
- package/lib/Calendar/Calendar.mjs +3 -3
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/CardFooter.cjs +2 -2
- package/lib/CardFooter/CardFooter.mjs +2 -2
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +1 -1
- package/lib/Carousel/Carousel.mjs +1 -1
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +2 -2
- package/lib/ComboBox/ComboBox.mjs +2 -2
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.mjs +1 -1
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +1 -1
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +196 -17
- package/lib/DatePicker/DatePicker.mjs +200 -17
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +46 -323
- package/lib/Drawer/Drawer.mjs +44 -306
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +1 -1
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +257 -0
- package/lib/GradientPageBackground/GradientPageBackground.mjs +237 -0
- package/lib/GradientPageBackground/styles.css +1 -0
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +2 -3
- package/lib/HeroBanner/HeroBanner.mjs +2 -3
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +2 -2
- package/lib/HeroButton/HeroButton.mjs +2 -2
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +3 -2
- package/lib/HorizontalCard/HorizontalCard.mjs +3 -2
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/Icon.cjs +1 -1
- package/lib/Icon/Icon.mjs +1 -1
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +7 -4
- package/lib/ImpactCard/ImpactCard.mjs +7 -4
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +7 -5
- package/lib/InformationCard/InformationCard.mjs +7 -5
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/Link.cjs +1 -1
- package/lib/Link/Link.mjs +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +3 -5
- package/lib/MediaCard/MediaCard.mjs +3 -5
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +33 -32
- package/lib/Menu/Menu.mjs +17 -16
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +2 -2
- package/lib/Modal/Modal.mjs +2 -2
- package/lib/Modal/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/PaginationSimple.cjs +1 -1
- package/lib/PaginationSimple/PaginationSimple.mjs +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +10 -72
- package/lib/ProgressStepper/ProgressStepper.mjs +8 -74
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +20 -0
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +14 -0
- package/lib/ProgressStepperOverflow/styles.css +1 -0
- package/lib/RadioCardGroup/RadioCardGroup.cjs +2 -2
- package/lib/RadioCardGroup/RadioCardGroup.mjs +3 -3
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +5 -2
- package/lib/ScrollToTop/ScrollToTop.mjs +5 -2
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/styles.css +1 -1
- package/lib/SiteFooter/SiteFooter.cjs +10 -7
- package/lib/SiteFooter/SiteFooter.mjs +10 -7
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +19 -22
- package/lib/SiteFooterV2/SiteFooterV2.mjs +19 -22
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +4 -4
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +5 -5
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +9 -6
- package/lib/TabbedBanner/TabbedBanner.mjs +9 -6
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +1 -1
- package/lib/Tabs/Tabs.mjs +1 -1
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +1 -1
- package/lib/Tag/Tag.mjs +1 -1
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +2 -3
- package/lib/TemplateBanner/TemplateBanner.mjs +2 -3
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +16 -14
- package/lib/TextArea/TextArea.mjs +16 -14
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +1 -1
- package/lib/Theme/Theme.mjs +1 -1
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +5 -8
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +5 -8
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +1 -1
- package/lib/Tooltip/Tooltip.mjs +1 -1
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +7 -4
- package/lib/TypographyCard/TypographyCard.mjs +7 -4
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +1 -1
- package/lib/VideoPlayer/VideoPlayer.mjs +1 -1
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/Visible.cjs +6 -14
- package/lib/Visible/Visible.mjs +4 -16
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Avatar-CxbjOB_b.cjs → Avatar-CrUioj_6.cjs} +4 -1
- package/lib/_shared/cjs/{Button-CKTa6bQL.cjs → Button-uD9mR8w-.cjs} +1 -1
- package/lib/_shared/cjs/{ButtonV2-CRNNZ_nd.cjs → ButtonV2-Bta5SVVY.cjs} +2 -2
- package/lib/_shared/cjs/{Calendar-BwjsVOaO.cjs → Calendar-D4ZSaHHU.cjs} +2 -2
- package/lib/_shared/cjs/{CardFooter-DwE-u0Om.cjs → CardFooter-ChphRFHe.cjs} +1 -1
- package/lib/_shared/cjs/{ComboBox-CY_JTHWB.cjs → ComboBox-BGUhlqx1.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherDropdown-CAWaAMZN.cjs → ContentSwitcherDropdown-U5ZTbJTe.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherList-I7jCZn8C.cjs → ContentSwitcherList-nlxMHXs-.cjs} +3 -2
- package/lib/_shared/cjs/{DatePicker-PiPFgOL6.cjs → DatePicker-DS6fAvxD.cjs} +45 -27
- package/lib/_shared/cjs/{HeroButton-CiIygZ16.cjs → HeroButton-CrzkTUwP.cjs} +1 -1
- package/lib/_shared/cjs/{Icon-KMACQ1i3.cjs → Icon-CzhyKqMd.cjs} +1 -1
- package/lib/_shared/cjs/{MediaCard-4SvlAL3w.cjs → MediaCard-BEZFbiYO.cjs} +5 -9
- package/lib/_shared/cjs/{MenuSubContent-B7-PVHJ6.cjs → MenuItemMultiLevelContent-vLr6hSBm.cjs} +7 -7
- package/lib/_shared/cjs/ProgressStepper-BL9Y5c4X.cjs +77 -0
- package/lib/_shared/cjs/ProgressStepperOverflow-v-TyS5Sp.cjs +142 -0
- package/lib/_shared/cjs/{RadioCardGroupInput-BmntgyWB.cjs → RadioCardGroupInput-CeUM3yPS.cjs} +1 -1
- package/lib/_shared/cjs/{SiteHeaderV2NavItemWithSubNav-CX1WAHv8.cjs → SiteHeaderV2NavItemWithSubNav-fQPk0gZU.cjs} +3 -3
- package/lib/_shared/cjs/{TemplateBanner-Dn_6CJqe.cjs → TemplateBanner-CGtTUy81.cjs} +13 -6
- package/lib/_shared/cjs/Visible-Dx__9oZG.cjs +18 -0
- package/lib/_shared/cjs/{index.es-i8i9xWYf.cjs → index.es-DBEGtWPg.cjs} +1 -1
- package/lib/_shared/esm/{Avatar-B8aoUhmE.mjs → Avatar-Fb1E5MA9.mjs} +4 -1
- package/lib/_shared/esm/{Button-9L4AksQP.mjs → Button-BxuM3_gz.mjs} +1 -1
- package/lib/_shared/esm/{ButtonV2-2U4PvnpS.mjs → ButtonV2-DwYBAojW.mjs} +2 -2
- package/lib/_shared/esm/{Calendar-Di_PdK9o.mjs → Calendar-CjqPM7ta.mjs} +2 -2
- package/lib/_shared/esm/{CardFooter-CgDDDI7Z.mjs → CardFooter-fsAY4cc6.mjs} +1 -1
- package/lib/_shared/esm/{ComboBox-Cga1icqB.mjs → ComboBox-CRlJjeev.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-dktkyAjY.mjs → ContentSwitcherDropdown-BCkuAfwC.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherList-OnZoE86O.mjs → ContentSwitcherList-DKPD9GfN.mjs} +3 -2
- package/lib/_shared/esm/{DatePicker-DyPo-u9K.mjs → DatePicker-3sYJ3wGn.mjs} +43 -28
- package/lib/_shared/esm/{HeroButton-HYskwyvn.mjs → HeroButton-jdjjV_Gf.mjs} +1 -1
- package/lib/_shared/esm/{Icon-MZfaoOo9.mjs → Icon-CcPOJcQm.mjs} +1 -1
- package/lib/_shared/esm/{MediaCard-tYOu7gv8.mjs → MediaCard-DqMaNWsE.mjs} +5 -9
- package/lib/_shared/esm/{MenuSubContent-DCfTtJpf.mjs → MenuItemMultiLevelContent-JTOHqpzg.mjs} +7 -7
- package/lib/_shared/esm/ProgressStepper-CLBtBNy2.mjs +74 -0
- package/lib/_shared/esm/ProgressStepperOverflow-B9ba8ljs.mjs +140 -0
- package/lib/_shared/esm/{RadioCardGroupInput-Cy1r7M8l.mjs → RadioCardGroupInput-D7W28geB.mjs} +1 -1
- package/lib/_shared/esm/{SiteHeaderV2NavItemWithSubNav-B9hz5IKd.mjs → SiteHeaderV2NavItemWithSubNav-BMoBdUxK.mjs} +3 -3
- package/lib/_shared/esm/{TemplateBanner-CS95cxio.mjs → TemplateBanner-Up6cR-3_.mjs} +14 -7
- package/lib/_shared/esm/Visible-C-jVXUWp.mjs +16 -0
- package/lib/_shared/esm/{index.es-DZ9WSYOo.mjs → index.es-DCvYtQfu.mjs} +2 -2
- package/lib/index.cjs +1117 -806
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +177 -50
- package/lib/index.d.mts +177 -50
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1107 -801
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +8 -22
- package/package.json +8 -8
- package/lib/GradientBackground/GradientBackground.cjs +0 -19
- package/lib/GradientBackground/GradientBackground.mjs +0 -17
- package/lib/GradientBackground/styles.css +0 -1
package/lib/index.cjs
CHANGED
|
@@ -423,10 +423,10 @@ var Icon$1 = function (_a) {
|
|
|
423
423
|
var colors$1 = [
|
|
424
424
|
"auto",
|
|
425
425
|
"brand",
|
|
426
|
+
"brand-alt",
|
|
426
427
|
"statusRed",
|
|
427
428
|
"statusAmber",
|
|
428
429
|
"statusGreen",
|
|
429
|
-
"gradient",
|
|
430
430
|
];
|
|
431
431
|
|
|
432
432
|
var ThemeIcon = function (_a) {
|
|
@@ -642,7 +642,9 @@ var Avatar = function (_a) {
|
|
|
642
642
|
var wrapperAttrs = __assign({ className: classNames("arc-Avatar", "arc-Avatar--".concat(size), {
|
|
643
643
|
"arc-Avatar--img": Boolean(img),
|
|
644
644
|
}) }, filterAttrs(props));
|
|
645
|
-
return (React.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return React.createElement(
|
|
645
|
+
return (React.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return (React.createElement(React.Fragment, null,
|
|
646
|
+
React.createElement("div", __assign({}, wrapperAttrs), children),
|
|
647
|
+
ariaLabel && React.createElement(VisuallyHidden$2, null, ariaLabel))); } },
|
|
646
648
|
React.createElement(AvatarContent, { size: size, img: img, initials: initials })));
|
|
647
649
|
};
|
|
648
650
|
|
|
@@ -670,152 +672,6 @@ var Badge = function (_a) {
|
|
|
670
672
|
return (React.createElement("div", __assign({ className: classNames("arc-Badge", suffixModifier("arc-Badge--state", state)) }, (ariaLabel && { "aria-label": ariaLabel }), (ariaRole && { role: ariaRole }), filterAttrs(props)), children));
|
|
671
673
|
};
|
|
672
674
|
|
|
673
|
-
/**
|
|
674
|
-
* Do not edit directly
|
|
675
|
-
* Generated on Tue, 10 Jun 2025 09:53:42 GMT
|
|
676
|
-
*/
|
|
677
|
-
var ArcSizeBreakpointsXs = "320px";
|
|
678
|
-
var ArcSizeBreakpointsS = "636px";
|
|
679
|
-
var ArcSizeBreakpointsM = "768px";
|
|
680
|
-
var ArcSizeBreakpointsL = "1024px";
|
|
681
|
-
var ArcSizeBreakpointsXl = "1280px";
|
|
682
|
-
var ArcSizeBreakpointsXxl = "1440px";
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
686
|
-
*/
|
|
687
|
-
var useAriaDescribedby = function (_a) {
|
|
688
|
-
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;
|
|
689
|
-
if (!id) {
|
|
690
|
-
return {
|
|
691
|
-
ariaDescribedby: undefined,
|
|
692
|
-
idHelper: undefined,
|
|
693
|
-
idError: undefined,
|
|
694
|
-
idDisclosure: undefined,
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
var ariaDescribedbyArr = [];
|
|
698
|
-
if (errorMessage) {
|
|
699
|
-
ariaDescribedbyArr.push(idError);
|
|
700
|
-
}
|
|
701
|
-
if (helper) {
|
|
702
|
-
ariaDescribedbyArr.push(idHelper);
|
|
703
|
-
}
|
|
704
|
-
if (disclosureText) {
|
|
705
|
-
ariaDescribedbyArr.push(idDisclosure);
|
|
706
|
-
}
|
|
707
|
-
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
708
|
-
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
709
|
-
};
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
713
|
-
*/
|
|
714
|
-
var useNumericInput = function (props) {
|
|
715
|
-
var type = props.type === "number" ? "text" : props.type;
|
|
716
|
-
var inputMode = props.inputMode;
|
|
717
|
-
if (!props.inputMode) {
|
|
718
|
-
if (props.type === "email") {
|
|
719
|
-
inputMode = "email";
|
|
720
|
-
}
|
|
721
|
-
else if (props.type === "number") {
|
|
722
|
-
inputMode = "numeric";
|
|
723
|
-
}
|
|
724
|
-
else if (props.type === "tel") {
|
|
725
|
-
inputMode = "tel";
|
|
726
|
-
}
|
|
727
|
-
else if (props.type === "url") {
|
|
728
|
-
inputMode = "url";
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
var pattern = props.pattern;
|
|
732
|
-
if (!props.pattern && props.type === "number") {
|
|
733
|
-
pattern = "[0-9]*";
|
|
734
|
-
}
|
|
735
|
-
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
736
|
-
};
|
|
737
|
-
|
|
738
|
-
var usePagination = function (pageCount, selectedPage) {
|
|
739
|
-
var formatValues = function (range) {
|
|
740
|
-
return range.map(function (value) { return value.toString(); });
|
|
741
|
-
};
|
|
742
|
-
return React.useMemo(function () {
|
|
743
|
-
if (pageCount > 7 && selectedPage < 5) {
|
|
744
|
-
// show 1 - 5 the right dots are visible.
|
|
745
|
-
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
746
|
-
"...",
|
|
747
|
-
pageCount,
|
|
748
|
-
], false));
|
|
749
|
-
}
|
|
750
|
-
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
751
|
-
// show numbers to the end but the left dots are visible
|
|
752
|
-
return formatValues(__spreadArray([
|
|
753
|
-
1,
|
|
754
|
-
"..."
|
|
755
|
-
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
756
|
-
}
|
|
757
|
-
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
758
|
-
// show selected page with one number either side and both the left and the right dots are visible.
|
|
759
|
-
return formatValues([
|
|
760
|
-
1,
|
|
761
|
-
"...",
|
|
762
|
-
selectedPage - 1,
|
|
763
|
-
selectedPage,
|
|
764
|
-
selectedPage + 1,
|
|
765
|
-
"...",
|
|
766
|
-
pageCount,
|
|
767
|
-
]);
|
|
768
|
-
}
|
|
769
|
-
// show all pages from pageCount
|
|
770
|
-
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
771
|
-
}, [pageCount, selectedPage]);
|
|
772
|
-
};
|
|
773
|
-
|
|
774
|
-
var useThemeElement = function () {
|
|
775
|
-
var _a = React.useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
776
|
-
var setThemeElement = function (el) {
|
|
777
|
-
el &&
|
|
778
|
-
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
779
|
-
};
|
|
780
|
-
return [themeElement, setThemeElement];
|
|
781
|
-
};
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* @typedef MediaQueryOutputs
|
|
785
|
-
* @param {boolean} matches - does the document match the media query?
|
|
786
|
-
*/
|
|
787
|
-
/**
|
|
788
|
-
* Handle with care!
|
|
789
|
-
*
|
|
790
|
-
* If you need to change something in the browser based on @media query, you
|
|
791
|
-
* probably don’t need this hook. Use CSS media queries instead.
|
|
792
|
-
*
|
|
793
|
-
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
794
|
-
* these rare cases, use this hook to make media query matches available
|
|
795
|
-
* to React JavaScript code.
|
|
796
|
-
*
|
|
797
|
-
* @param {string} mediaQuery - the media query to parse
|
|
798
|
-
* @returns {MediaQueryOutputs}
|
|
799
|
-
*/
|
|
800
|
-
var useMediaQuery = function (mediaQuery) {
|
|
801
|
-
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
802
|
-
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
803
|
-
React.useEffect(function () {
|
|
804
|
-
setMatches(typeof window !== "undefined"
|
|
805
|
-
? window.matchMedia(mediaQuery).matches
|
|
806
|
-
: false);
|
|
807
|
-
}, [mediaQuery]);
|
|
808
|
-
React.useEffect(function () {
|
|
809
|
-
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
810
|
-
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
811
|
-
if (mediaQueryList) {
|
|
812
|
-
mediaQueryList.addListener(onMatchMedia);
|
|
813
|
-
}
|
|
814
|
-
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
815
|
-
}, [mediaQueryList]);
|
|
816
|
-
return matches;
|
|
817
|
-
};
|
|
818
|
-
|
|
819
675
|
/**
|
|
820
676
|
* Use `VerticalSpace` to create vertical space between components.
|
|
821
677
|
*/
|
|
@@ -891,9 +747,28 @@ var BannerImage = function (_a) {
|
|
|
891
747
|
sources.map(function (source) { return React.createElement("source", __assign({ key: source.srcSet }, source)); })));
|
|
892
748
|
};
|
|
893
749
|
|
|
750
|
+
var Visible = function (_a) {
|
|
751
|
+
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, props = __rest(_a, ["children", "xs", "s", "m", "l", "xl"]);
|
|
752
|
+
return (React.createElement("div", __assign({ className: classNames("arc-Visible", {
|
|
753
|
+
"arc-Visible--xs": xs,
|
|
754
|
+
"arc-Visible--s": s,
|
|
755
|
+
"arc-Visible--m": m,
|
|
756
|
+
"arc-Visible--l": l,
|
|
757
|
+
"arc-Visible--xl": xl,
|
|
758
|
+
}) }, filterAttrs(props)), children));
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
var BannerRow = function (_a) {
|
|
762
|
+
var isReversed = _a.isReversed, children = _a.children;
|
|
763
|
+
return (React.createElement(React.Fragment, null,
|
|
764
|
+
React.createElement(Visible, { xs: true, s: true },
|
|
765
|
+
React.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-mobile" }, children)),
|
|
766
|
+
React.createElement(Visible, { m: true, l: true, xl: true },
|
|
767
|
+
React.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-desktop", direction: isReversed ? "row-reverse" : "row" }, children))));
|
|
768
|
+
};
|
|
769
|
+
|
|
894
770
|
var TemplateBanner = function (_a) {
|
|
895
771
|
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, _c = _a.alignment, alignment = _c === void 0 ? "center" : _c, additionalTopMargin = _a.additionalTopMargin, _d = _a.minHeight, minHeight = _d === void 0 ? 454 : _d, _e = _a.headingSize, headingSize = _e === void 0 ? "xl" : _e, _f = _a.isReversed, isReversed = _f === void 0 ? false : _f, _g = _a.isElevated, isElevated = _g === void 0 ? false : _g, _h = _a.headingLevel, headingLevel = _h === void 0 ? "2" : _h, _j = _a.type, type = _j === void 0 ? "light" : _j, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
|
|
896
|
-
var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
|
|
897
772
|
var backgrounds = {
|
|
898
773
|
dark: "dark-brand-02",
|
|
899
774
|
light: "light-white",
|
|
@@ -906,7 +781,6 @@ var TemplateBanner = function (_a) {
|
|
|
906
781
|
};
|
|
907
782
|
var isContained = type === "contained";
|
|
908
783
|
var borderWidth = isContained && !isElevated ? "thin" : undefined;
|
|
909
|
-
var direction = isReversed && isMinWidthArcBreakpointM ? "row-reverse" : "row";
|
|
910
784
|
var columnWithImgWidths = {
|
|
911
785
|
"1/0": 12,
|
|
912
786
|
"2/3": 8,
|
|
@@ -917,7 +791,7 @@ var TemplateBanner = function (_a) {
|
|
|
917
791
|
}) }, filterAttrs(props)),
|
|
918
792
|
React.createElement(Box, { isBorderRadius: true, "data-testid": "arc-TemplateBanner-box", borderWidth: borderWidth, surface: backgrounds[type], isSurfaceTransparent: !isContained },
|
|
919
793
|
React.createElement(Grid, { isGutterless: true, isFluid: true },
|
|
920
|
-
React.createElement(
|
|
794
|
+
React.createElement(BannerRow, { "data-testid": "arc-TemplateBanner-gridRow", isReversed: isReversed },
|
|
921
795
|
React.createElement(GridCol, { "data-testid": "arc-TemplateBanner-contentCol", align: {
|
|
922
796
|
m: alignment === "start" ? "start" : "center",
|
|
923
797
|
xs: !img || contentRatio === "1/0" ? "center" : "start",
|
|
@@ -926,7 +800,7 @@ var TemplateBanner = function (_a) {
|
|
|
926
800
|
"arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
|
|
927
801
|
}) },
|
|
928
802
|
label && (React.createElement(React.Fragment, null,
|
|
929
|
-
React.createElement(Heading, {
|
|
803
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
930
804
|
React.createElement(VerticalSpace, { size: "8" }))),
|
|
931
805
|
React.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
|
|
932
806
|
text && (React.createElement(React.Fragment, null,
|
|
@@ -1677,6 +1551,7 @@ var Breadcrumbs = function (_a) {
|
|
|
1677
1551
|
window.addEventListener("resize", handleResize);
|
|
1678
1552
|
return function () {
|
|
1679
1553
|
window.removeEventListener("resize", handleResize);
|
|
1554
|
+
handleResize.cancel();
|
|
1680
1555
|
};
|
|
1681
1556
|
}, []);
|
|
1682
1557
|
var items = React.Children.toArray(children);
|
|
@@ -1799,7 +1674,7 @@ var ButtonV2 = React.forwardRef(function (_a, ref) {
|
|
|
1799
1674
|
case "compact":
|
|
1800
1675
|
case "secondary":
|
|
1801
1676
|
case "tertiary":
|
|
1802
|
-
return
|
|
1677
|
+
return "brand-alt";
|
|
1803
1678
|
default:
|
|
1804
1679
|
return "auto";
|
|
1805
1680
|
}
|
|
@@ -2026,77 +1901,223 @@ function startOfMonth(dirtyDate) {
|
|
|
2026
1901
|
return date;
|
|
2027
1902
|
}
|
|
2028
1903
|
|
|
2029
|
-
var containsDate = function (dates, compareDate) {
|
|
2030
|
-
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2031
|
-
};
|
|
2032
|
-
|
|
2033
1904
|
/**
|
|
2034
|
-
*
|
|
2035
|
-
*
|
|
2036
|
-
* @summary Get the month of the given date.
|
|
2037
|
-
*
|
|
2038
|
-
* @description
|
|
2039
|
-
* Get the month of the given date.
|
|
2040
|
-
*
|
|
2041
|
-
* @param {Date|Number} date - the given date
|
|
2042
|
-
* @returns {Number} the month
|
|
2043
|
-
* @throws {TypeError} 1 argument required
|
|
2044
|
-
*
|
|
2045
|
-
* @example
|
|
2046
|
-
* // Which month is 29 February 2012?
|
|
2047
|
-
* const result = getMonth(new Date(2012, 1, 29))
|
|
2048
|
-
* //=> 1
|
|
1905
|
+
* Do not edit directly
|
|
1906
|
+
* Generated on Mon, 21 Jul 2025 12:02:37 GMT
|
|
2049
1907
|
*/
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
1908
|
+
var ArcSizeBreakpointsXs = "320px";
|
|
1909
|
+
var ArcSizeBreakpointsS = "636px";
|
|
1910
|
+
var ArcSizeBreakpointsM = "768px";
|
|
1911
|
+
var ArcSizeBreakpointsL = "1024px";
|
|
1912
|
+
var ArcSizeBreakpointsXl = "1280px";
|
|
1913
|
+
var ArcSizeBreakpointsXxl = "1440px";
|
|
2056
1914
|
|
|
2057
1915
|
/**
|
|
2058
|
-
*
|
|
2059
|
-
* @category Year Helpers
|
|
2060
|
-
* @summary Get the year of the given date.
|
|
2061
|
-
*
|
|
2062
|
-
* @description
|
|
2063
|
-
* Get the year of the given date.
|
|
2064
|
-
*
|
|
2065
|
-
* @param {Date|Number} date - the given date
|
|
2066
|
-
* @returns {Number} the year
|
|
2067
|
-
* @throws {TypeError} 1 argument required
|
|
2068
|
-
*
|
|
2069
|
-
* @example
|
|
2070
|
-
* // Which year is 2 July 2014?
|
|
2071
|
-
* const result = getYear(new Date(2014, 6, 2))
|
|
2072
|
-
* //=> 2014
|
|
1916
|
+
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
2073
1917
|
*/
|
|
2074
|
-
function
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
1918
|
+
var useAriaDescribedby = function (_a) {
|
|
1919
|
+
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;
|
|
1920
|
+
if (!id) {
|
|
1921
|
+
return {
|
|
1922
|
+
ariaDescribedby: undefined,
|
|
1923
|
+
idHelper: undefined,
|
|
1924
|
+
idError: undefined,
|
|
1925
|
+
idDisclosure: undefined,
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
var ariaDescribedbyArr = [];
|
|
1929
|
+
if (errorMessage) {
|
|
1930
|
+
ariaDescribedbyArr.push(idError);
|
|
1931
|
+
}
|
|
1932
|
+
if (helper) {
|
|
1933
|
+
ariaDescribedbyArr.push(idHelper);
|
|
1934
|
+
}
|
|
1935
|
+
if (disclosureText) {
|
|
1936
|
+
ariaDescribedbyArr.push(idDisclosure);
|
|
1937
|
+
}
|
|
1938
|
+
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
1939
|
+
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
1940
|
+
};
|
|
2078
1941
|
|
|
2079
1942
|
/**
|
|
2080
|
-
*
|
|
2081
|
-
* @category Month Helpers
|
|
2082
|
-
* @summary Get the number of days in a month of the given date.
|
|
2083
|
-
*
|
|
2084
|
-
* @description
|
|
2085
|
-
* Get the number of days in a month of the given date.
|
|
2086
|
-
*
|
|
2087
|
-
* @param {Date|Number} date - the given date
|
|
2088
|
-
* @returns {Number} the number of days in a month
|
|
2089
|
-
* @throws {TypeError} 1 argument required
|
|
2090
|
-
*
|
|
2091
|
-
* @example
|
|
2092
|
-
* // How many days are in February 2000?
|
|
2093
|
-
* const result = getDaysInMonth(new Date(2000, 1))
|
|
2094
|
-
* //=> 29
|
|
1943
|
+
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
2095
1944
|
*/
|
|
2096
|
-
function
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
1945
|
+
var useNumericInput = function (props) {
|
|
1946
|
+
var type = props.type === "number" ? "text" : props.type;
|
|
1947
|
+
var inputMode = props.inputMode;
|
|
1948
|
+
if (!props.inputMode) {
|
|
1949
|
+
if (props.type === "email") {
|
|
1950
|
+
inputMode = "email";
|
|
1951
|
+
}
|
|
1952
|
+
else if (props.type === "number") {
|
|
1953
|
+
inputMode = "numeric";
|
|
1954
|
+
}
|
|
1955
|
+
else if (props.type === "tel") {
|
|
1956
|
+
inputMode = "tel";
|
|
1957
|
+
}
|
|
1958
|
+
else if (props.type === "url") {
|
|
1959
|
+
inputMode = "url";
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
var pattern = props.pattern;
|
|
1963
|
+
if (!props.pattern && props.type === "number") {
|
|
1964
|
+
pattern = "[0-9]*";
|
|
1965
|
+
}
|
|
1966
|
+
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
var usePagination = function (pageCount, selectedPage) {
|
|
1970
|
+
var formatValues = function (range) {
|
|
1971
|
+
return range.map(function (value) { return value.toString(); });
|
|
1972
|
+
};
|
|
1973
|
+
return React.useMemo(function () {
|
|
1974
|
+
if (pageCount > 7 && selectedPage < 5) {
|
|
1975
|
+
// show 1 - 5 the right dots are visible.
|
|
1976
|
+
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
1977
|
+
"...",
|
|
1978
|
+
pageCount,
|
|
1979
|
+
], false));
|
|
1980
|
+
}
|
|
1981
|
+
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
1982
|
+
// show numbers to the end but the left dots are visible
|
|
1983
|
+
return formatValues(__spreadArray([
|
|
1984
|
+
1,
|
|
1985
|
+
"..."
|
|
1986
|
+
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
1987
|
+
}
|
|
1988
|
+
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
1989
|
+
// show selected page with one number either side and both the left and the right dots are visible.
|
|
1990
|
+
return formatValues([
|
|
1991
|
+
1,
|
|
1992
|
+
"...",
|
|
1993
|
+
selectedPage - 1,
|
|
1994
|
+
selectedPage,
|
|
1995
|
+
selectedPage + 1,
|
|
1996
|
+
"...",
|
|
1997
|
+
pageCount,
|
|
1998
|
+
]);
|
|
1999
|
+
}
|
|
2000
|
+
// show all pages from pageCount
|
|
2001
|
+
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
2002
|
+
}, [pageCount, selectedPage]);
|
|
2003
|
+
};
|
|
2004
|
+
|
|
2005
|
+
var useThemeElement = function () {
|
|
2006
|
+
var _a = React.useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
2007
|
+
var setThemeElement = function (el) {
|
|
2008
|
+
el &&
|
|
2009
|
+
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
2010
|
+
};
|
|
2011
|
+
return [themeElement, setThemeElement];
|
|
2012
|
+
};
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* @typedef MediaQueryOutputs
|
|
2016
|
+
* @param {boolean} matches - does the document match the media query?
|
|
2017
|
+
*/
|
|
2018
|
+
/**
|
|
2019
|
+
* Handle with care!
|
|
2020
|
+
*
|
|
2021
|
+
* If you need to change something in the browser based on @media query, you
|
|
2022
|
+
* probably don’t need this hook. Use CSS media queries instead.
|
|
2023
|
+
*
|
|
2024
|
+
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
2025
|
+
* these rare cases, use this hook to make media query matches available
|
|
2026
|
+
* to React JavaScript code.
|
|
2027
|
+
*
|
|
2028
|
+
* @param {string} mediaQuery - the media query to parse
|
|
2029
|
+
* @returns {MediaQueryOutputs}
|
|
2030
|
+
*/
|
|
2031
|
+
var useMediaQuery = function (mediaQuery) {
|
|
2032
|
+
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
2033
|
+
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
2034
|
+
React.useEffect(function () {
|
|
2035
|
+
setMatches(typeof window !== "undefined"
|
|
2036
|
+
? window.matchMedia(mediaQuery).matches
|
|
2037
|
+
: false);
|
|
2038
|
+
}, [mediaQuery]);
|
|
2039
|
+
React.useEffect(function () {
|
|
2040
|
+
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
2041
|
+
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
2042
|
+
if (mediaQueryList) {
|
|
2043
|
+
mediaQueryList.addListener(onMatchMedia);
|
|
2044
|
+
}
|
|
2045
|
+
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
2046
|
+
}, [mediaQueryList]);
|
|
2047
|
+
return matches;
|
|
2048
|
+
};
|
|
2049
|
+
|
|
2050
|
+
var containsDate = function (dates, compareDate) {
|
|
2051
|
+
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* @name getMonth
|
|
2056
|
+
* @category Month Helpers
|
|
2057
|
+
* @summary Get the month of the given date.
|
|
2058
|
+
*
|
|
2059
|
+
* @description
|
|
2060
|
+
* Get the month of the given date.
|
|
2061
|
+
*
|
|
2062
|
+
* @param {Date|Number} date - the given date
|
|
2063
|
+
* @returns {Number} the month
|
|
2064
|
+
* @throws {TypeError} 1 argument required
|
|
2065
|
+
*
|
|
2066
|
+
* @example
|
|
2067
|
+
* // Which month is 29 February 2012?
|
|
2068
|
+
* const result = getMonth(new Date(2012, 1, 29))
|
|
2069
|
+
* //=> 1
|
|
2070
|
+
*/
|
|
2071
|
+
function getMonth(dirtyDate) {
|
|
2072
|
+
requiredArgs(1, arguments);
|
|
2073
|
+
var date = toDate(dirtyDate);
|
|
2074
|
+
var month = date.getMonth();
|
|
2075
|
+
return month;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* @name getYear
|
|
2080
|
+
* @category Year Helpers
|
|
2081
|
+
* @summary Get the year of the given date.
|
|
2082
|
+
*
|
|
2083
|
+
* @description
|
|
2084
|
+
* Get the year of the given date.
|
|
2085
|
+
*
|
|
2086
|
+
* @param {Date|Number} date - the given date
|
|
2087
|
+
* @returns {Number} the year
|
|
2088
|
+
* @throws {TypeError} 1 argument required
|
|
2089
|
+
*
|
|
2090
|
+
* @example
|
|
2091
|
+
* // Which year is 2 July 2014?
|
|
2092
|
+
* const result = getYear(new Date(2014, 6, 2))
|
|
2093
|
+
* //=> 2014
|
|
2094
|
+
*/
|
|
2095
|
+
function getYear(dirtyDate) {
|
|
2096
|
+
requiredArgs(1, arguments);
|
|
2097
|
+
return toDate(dirtyDate).getFullYear();
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* @name getDaysInMonth
|
|
2102
|
+
* @category Month Helpers
|
|
2103
|
+
* @summary Get the number of days in a month of the given date.
|
|
2104
|
+
*
|
|
2105
|
+
* @description
|
|
2106
|
+
* Get the number of days in a month of the given date.
|
|
2107
|
+
*
|
|
2108
|
+
* @param {Date|Number} date - the given date
|
|
2109
|
+
* @returns {Number} the number of days in a month
|
|
2110
|
+
* @throws {TypeError} 1 argument required
|
|
2111
|
+
*
|
|
2112
|
+
* @example
|
|
2113
|
+
* // How many days are in February 2000?
|
|
2114
|
+
* const result = getDaysInMonth(new Date(2000, 1))
|
|
2115
|
+
* //=> 29
|
|
2116
|
+
*/
|
|
2117
|
+
function getDaysInMonth(dirtyDate) {
|
|
2118
|
+
requiredArgs(1, arguments);
|
|
2119
|
+
var date = toDate(dirtyDate);
|
|
2120
|
+
var year = date.getFullYear();
|
|
2100
2121
|
var monthIndex = date.getMonth();
|
|
2101
2122
|
var lastDayOfMonth = new Date(0);
|
|
2102
2123
|
lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
|
|
@@ -7663,18 +7684,18 @@ function useEmblaCarousel(options = {}, plugins = []) {
|
|
|
7663
7684
|
useEmblaCarousel.globalOptions = undefined;
|
|
7664
7685
|
|
|
7665
7686
|
var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
|
|
7666
|
-
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7667
|
-
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7668
|
-
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7669
|
-
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7687
|
+
var S_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7688
|
+
var M_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7689
|
+
var L_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7690
|
+
var XL_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7670
7691
|
|
|
7671
7692
|
var getOptions = function (itemsToScroll, loop, responsive) {
|
|
7672
7693
|
var breakpoints = [
|
|
7673
7694
|
[XS_BREAKPOINT, "xs"],
|
|
7674
|
-
[S_BREAKPOINT, "s"],
|
|
7675
|
-
[M_BREAKPOINT, "m"],
|
|
7676
|
-
[L_BREAKPOINT, "l"],
|
|
7677
|
-
[XL_BREAKPOINT, "xl"],
|
|
7695
|
+
[S_BREAKPOINT$1, "s"],
|
|
7696
|
+
[M_BREAKPOINT$1, "m"],
|
|
7697
|
+
[L_BREAKPOINT$1, "l"],
|
|
7698
|
+
[XL_BREAKPOINT$1, "xl"],
|
|
7678
7699
|
];
|
|
7679
7700
|
var breakpointOptions = breakpoints.reduce(function (acc, _a) {
|
|
7680
7701
|
var _b;
|
|
@@ -7745,10 +7766,10 @@ var Carousel = function (_a) {
|
|
|
7745
7766
|
var _k = React.useState(true), prevButtonEnabled = _k[0], setPrevButtonEnabled = _k[1];
|
|
7746
7767
|
var _l = React.useState(true), nextButtonEnabled = _l[0], setNextButtonEnabled = _l[1];
|
|
7747
7768
|
var isMinWidthArcBreakpointXs = useMediaQuery(XS_BREAKPOINT);
|
|
7748
|
-
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
7749
|
-
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
7750
|
-
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
7751
|
-
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
7769
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT$1);
|
|
7770
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT$1);
|
|
7771
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT$1);
|
|
7772
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT$1);
|
|
7752
7773
|
var slideWidth = getSlideWidth({
|
|
7753
7774
|
screenSizes: {
|
|
7754
7775
|
xl: isMinWidthArcBreakpointXl,
|
|
@@ -13728,7 +13749,7 @@ var ContentSwitcherTab = React.forwardRef(function (_a, ref) {
|
|
|
13728
13749
|
|
|
13729
13750
|
var ContentSwitcherContent = function (_a) {
|
|
13730
13751
|
var children = _a.children, value = _a.value;
|
|
13731
|
-
return (React.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value },
|
|
13752
|
+
return (React.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value, tabIndex: -1 },
|
|
13732
13753
|
React.createElement("div", { className: "arc-ContentSwitcherContent-wrapper" }, children)));
|
|
13733
13754
|
};
|
|
13734
13755
|
|
|
@@ -13779,11 +13800,12 @@ var ContentSwitcherList = function (_a) {
|
|
|
13779
13800
|
list.removeEventListener("scroll", checkOverflow);
|
|
13780
13801
|
}
|
|
13781
13802
|
window.removeEventListener("resize", updateLayout);
|
|
13803
|
+
handleResize.cancel();
|
|
13782
13804
|
};
|
|
13783
13805
|
}, [children, checkOverflow, handleResize]);
|
|
13784
13806
|
return (React.createElement("span", { className: classNames("arc-ContentSwitcherList-wrapper", {
|
|
13785
13807
|
"arc-ContentSwitcherList-wrapper--isInset": isInset,
|
|
13786
|
-
}) },
|
|
13808
|
+
}), tabIndex: -1 },
|
|
13787
13809
|
React.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-ContentSwitcherList", {
|
|
13788
13810
|
"arc-ContentSwitcherList--contained": type === "contained",
|
|
13789
13811
|
"arc-ContentSwitcherList--isJustified": isJustified,
|
|
@@ -15088,7 +15110,7 @@ var ContentSwitcherDropdown = function (_a) {
|
|
|
15088
15110
|
return null;
|
|
15089
15111
|
}
|
|
15090
15112
|
var isActive = child.props.value === selectValue;
|
|
15091
|
-
return (React.createElement("div", __assign({ role: "tabpanel", className: "arc-ContentSwitcherDropdown-content", id: "arc-content-switcher-dropdown-content-".concat(child.props.value), "aria-labelledby": "arc-content-switcher-dropdown-trigger-".concat(child.props.value), "data-state": isActive ? "active" : "inactive", tabIndex:
|
|
15113
|
+
return (React.createElement("div", __assign({ role: "tabpanel", className: "arc-ContentSwitcherDropdown-content", id: "arc-content-switcher-dropdown-content-".concat(child.props.value), "aria-labelledby": "arc-content-switcher-dropdown-trigger-".concat(child.props.value), "data-state": isActive ? "active" : "inactive", tabIndex: -1, hidden: !isActive }, filterAttrs(child.props)), child));
|
|
15092
15114
|
})));
|
|
15093
15115
|
};
|
|
15094
15116
|
var ContentSwitcherDropdownContent = function (_a) {
|
|
@@ -15294,6 +15316,50 @@ var convertRangeStringToDates = function (value) {
|
|
|
15294
15316
|
: []), true);
|
|
15295
15317
|
};
|
|
15296
15318
|
|
|
15319
|
+
var convertRangeStringToDateTuple = function (value) {
|
|
15320
|
+
if (value === void 0) { value = ""; }
|
|
15321
|
+
var _a = parseRangeString(value), start = _a.start, end = _a.end;
|
|
15322
|
+
var startDate = isDateValid(start.date)
|
|
15323
|
+
? new Date("".concat(start.year, "-").concat(start.month, "-").concat(start.day))
|
|
15324
|
+
: undefined;
|
|
15325
|
+
var endDate = isDateValid(end.date)
|
|
15326
|
+
? new Date("".concat(end.year, "-").concat(end.month, "-").concat(end.day))
|
|
15327
|
+
: undefined;
|
|
15328
|
+
return [startDate, endDate];
|
|
15329
|
+
};
|
|
15330
|
+
|
|
15331
|
+
function validateRangeOnBlur(_a) {
|
|
15332
|
+
var value = _a.value, minDate = _a.minDate, maxDate = _a.maxDate, disabledDates = _a.disabledDates, previousValidValue = _a.previousValidValue, dispatchChangeEvent = _a.dispatchChangeEvent, blurEvent = _a.blurEvent;
|
|
15333
|
+
if (!isRangeValid(value))
|
|
15334
|
+
return;
|
|
15335
|
+
var _b = convertRangeStringToDates(value), start = _b[0], end = _b[1];
|
|
15336
|
+
var isStartBeforeMin = minDate && isBefore(start, minDate);
|
|
15337
|
+
var isEndAfterMax = maxDate && isAfter(end, maxDate);
|
|
15338
|
+
var isStartDisabled = isDisabledDate(disabledDates, start);
|
|
15339
|
+
var isEndDisabled = isDisabledDate(disabledDates, end);
|
|
15340
|
+
if (isStartBeforeMin && isEndAfterMax) {
|
|
15341
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(maxDate)));
|
|
15342
|
+
}
|
|
15343
|
+
if (isStartBeforeMin) {
|
|
15344
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
|
|
15345
|
+
}
|
|
15346
|
+
if (isEndAfterMax) {
|
|
15347
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
|
|
15348
|
+
}
|
|
15349
|
+
if (isStartDisabled || isEndDisabled) {
|
|
15350
|
+
var _c = previousValidValue
|
|
15351
|
+
? convertRangeStringToDates(previousValidValue)
|
|
15352
|
+
: [], prevStart = _c[0], prevEnd = _c[1];
|
|
15353
|
+
return dispatchChangeEvent(blurEvent, prevStart && prevEnd
|
|
15354
|
+
? "".concat(formatDate(prevStart), " - ").concat(formatDate(prevEnd))
|
|
15355
|
+
: "");
|
|
15356
|
+
}
|
|
15357
|
+
if (isAfter(start, end)) {
|
|
15358
|
+
var _d = [start, end].sort(compareAsc), orderedStart = _d[0], orderedEnd = _d[1];
|
|
15359
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
|
|
15360
|
+
}
|
|
15361
|
+
}
|
|
15362
|
+
|
|
15297
15363
|
/**
|
|
15298
15364
|
* Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
|
|
15299
15365
|
*/
|
|
@@ -15372,32 +15438,15 @@ var DatePicker = React.forwardRef(function (_a, ref) {
|
|
|
15372
15438
|
}
|
|
15373
15439
|
};
|
|
15374
15440
|
var handleRangeSelectionBlur = function (e) {
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
if (isStartDateBeforeMinDate) {
|
|
15385
|
-
return dispatchChangeEvent(e, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
|
|
15386
|
-
}
|
|
15387
|
-
if (isEndDateAfterMaxDate) {
|
|
15388
|
-
return dispatchChangeEvent(e, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
|
|
15389
|
-
}
|
|
15390
|
-
if (isStartDateDisabled || isEndDateDisabled) {
|
|
15391
|
-
var _b = previousValidValue.current
|
|
15392
|
-
? convertRangeStringToDates(previousValidValue.current)
|
|
15393
|
-
: [], start_1 = _b[0], end_1 = _b[1];
|
|
15394
|
-
return dispatchChangeEvent(e, start_1 && end_1 ? "".concat(formatDate(start_1), " - ").concat(formatDate(end_1)) : "");
|
|
15395
|
-
}
|
|
15396
|
-
if (isAfter(start, end)) {
|
|
15397
|
-
var _c = [start, end].sort(compareAsc), orderedStart = _c[0], orderedEnd = _c[1];
|
|
15398
|
-
return dispatchChangeEvent(e, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
|
|
15399
|
-
}
|
|
15400
|
-
}
|
|
15441
|
+
validateRangeOnBlur({
|
|
15442
|
+
value: value,
|
|
15443
|
+
minDate: minDate,
|
|
15444
|
+
maxDate: maxDate,
|
|
15445
|
+
disabledDates: disabledDates,
|
|
15446
|
+
previousValidValue: previousValidValue.current,
|
|
15447
|
+
dispatchChangeEvent: dispatchChangeEvent,
|
|
15448
|
+
blurEvent: e,
|
|
15449
|
+
});
|
|
15401
15450
|
};
|
|
15402
15451
|
var handleBlur = function (e) {
|
|
15403
15452
|
onBlur && onBlur(e);
|
|
@@ -15462,6 +15511,174 @@ var DatePicker = React.forwardRef(function (_a, ref) {
|
|
|
15462
15511
|
React.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: selectionType, selectedDate: convertDateStringToDate(value), selectedRange: convertRangeStringToDates(value), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onDateSelect: handleDateSelect, onRangeSelect: handleRangeSelect }))))));
|
|
15463
15512
|
});
|
|
15464
15513
|
|
|
15514
|
+
var lowerCaseDateFormat = DATE_FORMAT.toLowerCase();
|
|
15515
|
+
var DatePickerRange = function (_a) {
|
|
15516
|
+
var _b, _c;
|
|
15517
|
+
var inputStart = _a.inputStart, inputEnd = _a.inputEnd, _d = _a.type, type = _d === void 0 ? "month" : _d, minDate = _a.minDate, maxDate = _a.maxDate, disabledDates = _a.disabledDates, onRangeSelect = _a.onRangeSelect;
|
|
15518
|
+
// startInput States
|
|
15519
|
+
var _e = React.useState("Choose start date"), startAriaLabel = _e[0], setStartAriaLabel = _e[1];
|
|
15520
|
+
var startButtonRef = React.useRef(null);
|
|
15521
|
+
var startInputRef = React.useRef(null);
|
|
15522
|
+
var _f = React.useState((_b = inputStart.value) !== null && _b !== void 0 ? _b : ""), startValue = _f[0], setStartValue = _f[1];
|
|
15523
|
+
// endInput States
|
|
15524
|
+
var _g = React.useState("Choose end date"), endAriaLabel = _g[0], setEndAriaLabel = _g[1];
|
|
15525
|
+
var _h = React.useState((_c = inputEnd.value) !== null && _c !== void 0 ? _c : ""), endValue = _h[0], setEndValue = _h[1];
|
|
15526
|
+
var endButtonRef = React.useRef(null);
|
|
15527
|
+
var endInputRef = React.useRef(null);
|
|
15528
|
+
var previousValidValue = React.useRef("");
|
|
15529
|
+
var _j = useThemeElement(), themeElement = _j[0], setThemeElement = _j[1];
|
|
15530
|
+
var _k = React.useState(false), showCalendar = _k[0], setShowCalendar = _k[1];
|
|
15531
|
+
var _l = React.useState(null), activeInput = _l[0], setActiveInput = _l[1];
|
|
15532
|
+
var getIsRequired = function (input) { var _a; return (_a = input.isRequired) !== null && _a !== void 0 ? _a : true; };
|
|
15533
|
+
var getLabel = function (input, type) { var _a; return (_a = input.label) !== null && _a !== void 0 ? _a : "Select a ".concat(type, " date"); };
|
|
15534
|
+
// sync external props with internal value (not typing)
|
|
15535
|
+
React.useEffect(function () {
|
|
15536
|
+
if (inputStart.value !== undefined && inputStart.value !== startValue) {
|
|
15537
|
+
setStartValue(inputStart.value);
|
|
15538
|
+
}
|
|
15539
|
+
if (inputEnd.value !== undefined && inputEnd.value !== endValue) {
|
|
15540
|
+
setEndValue(inputEnd.value);
|
|
15541
|
+
}
|
|
15542
|
+
}, [inputStart.value, inputEnd.value]);
|
|
15543
|
+
var handleIconClick = function (_a) {
|
|
15544
|
+
var ref = _a.ref, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, input = _a.input;
|
|
15545
|
+
if (ref &&
|
|
15546
|
+
!ref.contains(document.activeElement) &&
|
|
15547
|
+
!isDisabled &&
|
|
15548
|
+
!isReadOnly) {
|
|
15549
|
+
setActiveInput(input);
|
|
15550
|
+
setShowCalendar(true);
|
|
15551
|
+
}
|
|
15552
|
+
};
|
|
15553
|
+
var handleRangeSelect = function (rangeSelection) {
|
|
15554
|
+
var start = rangeSelection.start, end = rangeSelection.end, isSelectionComplete = rangeSelection.isSelectionComplete;
|
|
15555
|
+
var formattedStart = format(start, "dd/MM/yyyy");
|
|
15556
|
+
var formattedEnd = end ? format(end, "dd/MM/yyyy") : "";
|
|
15557
|
+
onRangeSelect === null || onRangeSelect === void 0 ? void 0 : onRangeSelect(__assign(__assign({}, rangeSelection), { formattedStart: formattedStart, formattedEnd: formattedEnd }));
|
|
15558
|
+
if (isSelectionComplete) {
|
|
15559
|
+
var fullRange = "".concat(formattedStart, " - ").concat(formattedEnd);
|
|
15560
|
+
previousValidValue.current = fullRange;
|
|
15561
|
+
setShowCalendar(false);
|
|
15562
|
+
}
|
|
15563
|
+
};
|
|
15564
|
+
var handleCalendarClose = function () {
|
|
15565
|
+
var _a, _b, _c;
|
|
15566
|
+
if (((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.tagName) === "BODY") {
|
|
15567
|
+
(_b = startButtonRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
15568
|
+
(_c = endButtonRef.current) === null || _c === void 0 ? void 0 : _c.focus();
|
|
15569
|
+
}
|
|
15570
|
+
};
|
|
15571
|
+
var handleIconFocus = function (_a) {
|
|
15572
|
+
var input = _a.input;
|
|
15573
|
+
if (isRangeValid("".concat(startValue, " - ").concat(endValue))) {
|
|
15574
|
+
var _b = convertRangeStringToDates("".concat(startValue, " - ").concat(endValue)), start = _b[0], end = _b[1];
|
|
15575
|
+
var label = "Change dates, currently selected dates are ".concat(format(start, "EEEE do MMMM, yyyy"), " to ").concat(format(end, "EEEE do MMMM, yyyy"));
|
|
15576
|
+
input === "start" ? setStartAriaLabel(label) : setEndAriaLabel(label);
|
|
15577
|
+
return;
|
|
15578
|
+
}
|
|
15579
|
+
};
|
|
15580
|
+
var handleChange = function (e, input) {
|
|
15581
|
+
if (input === "start") {
|
|
15582
|
+
inputStart.onChange && inputStart.onChange(e);
|
|
15583
|
+
setStartValue(e.target.value);
|
|
15584
|
+
setActiveInput("start");
|
|
15585
|
+
}
|
|
15586
|
+
if (input === "end") {
|
|
15587
|
+
inputEnd.onChange && inputEnd.onChange(e);
|
|
15588
|
+
setEndValue(e.target.value);
|
|
15589
|
+
setActiveInput("end");
|
|
15590
|
+
}
|
|
15591
|
+
};
|
|
15592
|
+
var handleBlur = function (e, input) {
|
|
15593
|
+
var value = "".concat(startValue, " - ").concat(endValue);
|
|
15594
|
+
if (input === "start") {
|
|
15595
|
+
inputStart.onBlur && inputStart.onBlur(e);
|
|
15596
|
+
}
|
|
15597
|
+
if (input === "end") {
|
|
15598
|
+
inputEnd.onBlur && inputEnd.onBlur(e);
|
|
15599
|
+
}
|
|
15600
|
+
validateRangeOnBlur({
|
|
15601
|
+
value: value,
|
|
15602
|
+
minDate: minDate,
|
|
15603
|
+
maxDate: maxDate,
|
|
15604
|
+
disabledDates: disabledDates,
|
|
15605
|
+
previousValidValue: previousValidValue.current,
|
|
15606
|
+
dispatchChangeEvent: function (e, corrected) {
|
|
15607
|
+
var _a, _b;
|
|
15608
|
+
var _c = convertRangeStringToDates(corrected), start = _c[0], end = _c[1];
|
|
15609
|
+
(_a = inputStart.onChange) === null || _a === void 0 ? void 0 : _a.call(inputStart, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(start) }) }));
|
|
15610
|
+
(_b = inputEnd.onChange) === null || _b === void 0 ? void 0 : _b.call(inputEnd, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(end) }) }));
|
|
15611
|
+
previousValidValue.current = corrected;
|
|
15612
|
+
},
|
|
15613
|
+
blurEvent: e,
|
|
15614
|
+
});
|
|
15615
|
+
};
|
|
15616
|
+
var handleCalendarOpenChange = function (isOpen) {
|
|
15617
|
+
if (document.activeElement)
|
|
15618
|
+
setShowCalendar(isOpen);
|
|
15619
|
+
};
|
|
15620
|
+
var handleAutoFocus = function (e) {
|
|
15621
|
+
e.preventDefault();
|
|
15622
|
+
};
|
|
15623
|
+
var setStartInputRef = function (el) {
|
|
15624
|
+
startInputRef.current = el;
|
|
15625
|
+
};
|
|
15626
|
+
var setEndInputRef = function (el) {
|
|
15627
|
+
endInputRef.current = el;
|
|
15628
|
+
};
|
|
15629
|
+
var onCancelClick = function () {
|
|
15630
|
+
setShowCalendar(false);
|
|
15631
|
+
};
|
|
15632
|
+
var getCalendarRange = function () {
|
|
15633
|
+
var _a = convertRangeStringToDateTuple("".concat(startValue, " - ").concat(endValue)), start = _a[0], end = _a[1];
|
|
15634
|
+
// when inital or one date is set - allow user to pick start / end independently
|
|
15635
|
+
if (start && end) {
|
|
15636
|
+
if (activeInput === "start") {
|
|
15637
|
+
return end ? [end] : [];
|
|
15638
|
+
}
|
|
15639
|
+
if (activeInput === "end") {
|
|
15640
|
+
return start ? [start] : [];
|
|
15641
|
+
}
|
|
15642
|
+
}
|
|
15643
|
+
// removes all non date obj
|
|
15644
|
+
return [start, end].filter(function (d) { return d instanceof Date; });
|
|
15645
|
+
};
|
|
15646
|
+
return (React.createElement("div", { className: "arc-DatePickerRange", ref: setThemeElement },
|
|
15647
|
+
React.createElement(TextInputWithPlaceHolder, __assign({ ref: setStartInputRef, type: "text", iconButton: {
|
|
15648
|
+
onClick: function () {
|
|
15649
|
+
return handleIconClick({
|
|
15650
|
+
ref: startInputRef.current,
|
|
15651
|
+
isDisabled: inputStart.isDisabled,
|
|
15652
|
+
isReadOnly: inputStart.isReadOnly,
|
|
15653
|
+
input: "start",
|
|
15654
|
+
});
|
|
15655
|
+
},
|
|
15656
|
+
onFocus: function () { return handleIconFocus({ input: "start" }); },
|
|
15657
|
+
icon: "datePickerCalendar",
|
|
15658
|
+
label: startAriaLabel,
|
|
15659
|
+
ref: startButtonRef,
|
|
15660
|
+
}, maxLength: 23, onBlur: function (e) { return handleBlur(e, "start"); }, errorMessage: inputStart.errorMessage, helper: inputStart.helper, id: inputStart.id, isDisabled: inputStart.isDisabled, isReadOnly: inputStart.isReadOnly, isRequired: getIsRequired(inputStart), label: getLabel(inputStart, "start"), hideLabel: inputStart.hideLabel, name: inputStart.name, onClickDisclosure: inputStart.onClickDisclosure, disclosureTitle: inputStart.disclosureTitle, disclosureText: inputStart.disclosureText, placeholder: lowerCaseDateFormat, value: startValue, onChange: function (e) { return handleChange(e, "start"); } }, filterAttrs(inputStart))),
|
|
15661
|
+
React.createElement(TextInputWithPlaceHolder, __assign({ ref: setEndInputRef, type: "text", iconButton: {
|
|
15662
|
+
onClick: function () {
|
|
15663
|
+
return handleIconClick({
|
|
15664
|
+
ref: endInputRef.current,
|
|
15665
|
+
isDisabled: inputEnd.isDisabled,
|
|
15666
|
+
isReadOnly: inputEnd.isReadOnly,
|
|
15667
|
+
input: "end",
|
|
15668
|
+
});
|
|
15669
|
+
},
|
|
15670
|
+
onFocus: function () { return handleIconFocus({ input: "end" }); },
|
|
15671
|
+
icon: "datePickerCalendar",
|
|
15672
|
+
label: endAriaLabel,
|
|
15673
|
+
ref: endButtonRef,
|
|
15674
|
+
}, maxLength: 23, onBlur: function (e) { return handleBlur(e, "end"); }, errorMessage: inputEnd.errorMessage, helper: inputEnd.helper, id: inputEnd.id, isDisabled: inputEnd.isDisabled, isReadOnly: inputEnd.isReadOnly, isRequired: getIsRequired(inputEnd), label: getLabel(inputEnd, "end"), hideLabel: inputStart.hideLabel, name: inputEnd.name, onClickDisclosure: inputEnd.onClickDisclosure, disclosureTitle: inputEnd.disclosureTitle, disclosureText: inputEnd.disclosureText, placeholder: lowerCaseDateFormat, value: endValue, onChange: function (e) { return handleChange(e, "end"); } }, filterAttrs(inputEnd))),
|
|
15675
|
+
React.createElement(Root2$3, { open: showCalendar, onOpenChange: handleCalendarOpenChange },
|
|
15676
|
+
React.createElement(Anchor2$1, null),
|
|
15677
|
+
React.createElement(Portal$5, { container: themeElement },
|
|
15678
|
+
React.createElement(Content2$4, { align: "end", "aria-modal": "true", "aria-label": "Choose Date", className: "arc-DatePicker-modal", onOpenAutoFocus: handleAutoFocus, onCloseAutoFocus: handleCalendarClose },
|
|
15679
|
+
React.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: "range", selectedRange: getCalendarRange(), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onRangeSelect: handleRangeSelect }))))));
|
|
15680
|
+
};
|
|
15681
|
+
|
|
15465
15682
|
/**
|
|
15466
15683
|
* Use `Disclosure` to show and hide sections of content.
|
|
15467
15684
|
*/
|
|
@@ -15513,273 +15730,6 @@ var Download = function (_a) {
|
|
|
15513
15730
|
React.createElement(Text, { tone: "supporting" }, description))))));
|
|
15514
15731
|
};
|
|
15515
15732
|
|
|
15516
|
-
const LEFT = "Left";
|
|
15517
|
-
const RIGHT = "Right";
|
|
15518
|
-
const UP = "Up";
|
|
15519
|
-
const DOWN = "Down";
|
|
15520
|
-
|
|
15521
|
-
/* global document */
|
|
15522
|
-
const defaultProps = {
|
|
15523
|
-
delta: 10,
|
|
15524
|
-
preventScrollOnSwipe: false,
|
|
15525
|
-
rotationAngle: 0,
|
|
15526
|
-
trackMouse: false,
|
|
15527
|
-
trackTouch: true,
|
|
15528
|
-
swipeDuration: Infinity,
|
|
15529
|
-
touchEventOptions: { passive: true },
|
|
15530
|
-
};
|
|
15531
|
-
const initialState = {
|
|
15532
|
-
first: true,
|
|
15533
|
-
initial: [0, 0],
|
|
15534
|
-
start: 0,
|
|
15535
|
-
swiping: false,
|
|
15536
|
-
xy: [0, 0],
|
|
15537
|
-
};
|
|
15538
|
-
const mouseMove = "mousemove";
|
|
15539
|
-
const mouseUp = "mouseup";
|
|
15540
|
-
const touchEnd = "touchend";
|
|
15541
|
-
const touchMove = "touchmove";
|
|
15542
|
-
const touchStart = "touchstart";
|
|
15543
|
-
function getDirection(absX, absY, deltaX, deltaY) {
|
|
15544
|
-
if (absX > absY) {
|
|
15545
|
-
if (deltaX > 0) {
|
|
15546
|
-
return RIGHT;
|
|
15547
|
-
}
|
|
15548
|
-
return LEFT;
|
|
15549
|
-
}
|
|
15550
|
-
else if (deltaY > 0) {
|
|
15551
|
-
return DOWN;
|
|
15552
|
-
}
|
|
15553
|
-
return UP;
|
|
15554
|
-
}
|
|
15555
|
-
function rotateXYByAngle(pos, angle) {
|
|
15556
|
-
if (angle === 0)
|
|
15557
|
-
return pos;
|
|
15558
|
-
const angleInRadians = (Math.PI / 180) * angle;
|
|
15559
|
-
const x = pos[0] * Math.cos(angleInRadians) + pos[1] * Math.sin(angleInRadians);
|
|
15560
|
-
const y = pos[1] * Math.cos(angleInRadians) - pos[0] * Math.sin(angleInRadians);
|
|
15561
|
-
return [x, y];
|
|
15562
|
-
}
|
|
15563
|
-
function getHandlers(set, handlerProps) {
|
|
15564
|
-
const onStart = (event) => {
|
|
15565
|
-
const isTouch = "touches" in event;
|
|
15566
|
-
// if more than a single touch don't track, for now...
|
|
15567
|
-
if (isTouch && event.touches.length > 1)
|
|
15568
|
-
return;
|
|
15569
|
-
set((state, props) => {
|
|
15570
|
-
// setup mouse listeners on document to track swipe since swipe can leave container
|
|
15571
|
-
if (props.trackMouse && !isTouch) {
|
|
15572
|
-
document.addEventListener(mouseMove, onMove);
|
|
15573
|
-
document.addEventListener(mouseUp, onUp);
|
|
15574
|
-
}
|
|
15575
|
-
const { clientX, clientY } = isTouch ? event.touches[0] : event;
|
|
15576
|
-
const xy = rotateXYByAngle([clientX, clientY], props.rotationAngle);
|
|
15577
|
-
props.onTouchStartOrOnMouseDown &&
|
|
15578
|
-
props.onTouchStartOrOnMouseDown({ event });
|
|
15579
|
-
return Object.assign(Object.assign(Object.assign({}, state), initialState), { initial: xy.slice(), xy, start: event.timeStamp || 0 });
|
|
15580
|
-
});
|
|
15581
|
-
};
|
|
15582
|
-
const onMove = (event) => {
|
|
15583
|
-
set((state, props) => {
|
|
15584
|
-
const isTouch = "touches" in event;
|
|
15585
|
-
// Discount a swipe if additional touches are present after
|
|
15586
|
-
// a swipe has started.
|
|
15587
|
-
if (isTouch && event.touches.length > 1) {
|
|
15588
|
-
return state;
|
|
15589
|
-
}
|
|
15590
|
-
// if swipe has exceeded duration stop tracking
|
|
15591
|
-
if (event.timeStamp - state.start > props.swipeDuration) {
|
|
15592
|
-
return state.swiping ? Object.assign(Object.assign({}, state), { swiping: false }) : state;
|
|
15593
|
-
}
|
|
15594
|
-
const { clientX, clientY } = isTouch ? event.touches[0] : event;
|
|
15595
|
-
const [x, y] = rotateXYByAngle([clientX, clientY], props.rotationAngle);
|
|
15596
|
-
const deltaX = x - state.xy[0];
|
|
15597
|
-
const deltaY = y - state.xy[1];
|
|
15598
|
-
const absX = Math.abs(deltaX);
|
|
15599
|
-
const absY = Math.abs(deltaY);
|
|
15600
|
-
const time = (event.timeStamp || 0) - state.start;
|
|
15601
|
-
const velocity = Math.sqrt(absX * absX + absY * absY) / (time || 1);
|
|
15602
|
-
const vxvy = [deltaX / (time || 1), deltaY / (time || 1)];
|
|
15603
|
-
const dir = getDirection(absX, absY, deltaX, deltaY);
|
|
15604
|
-
// if swipe is under delta and we have not started to track a swipe: skip update
|
|
15605
|
-
const delta = typeof props.delta === "number"
|
|
15606
|
-
? props.delta
|
|
15607
|
-
: props.delta[dir.toLowerCase()] ||
|
|
15608
|
-
defaultProps.delta;
|
|
15609
|
-
if (absX < delta && absY < delta && !state.swiping)
|
|
15610
|
-
return state;
|
|
15611
|
-
const eventData = {
|
|
15612
|
-
absX,
|
|
15613
|
-
absY,
|
|
15614
|
-
deltaX,
|
|
15615
|
-
deltaY,
|
|
15616
|
-
dir,
|
|
15617
|
-
event,
|
|
15618
|
-
first: state.first,
|
|
15619
|
-
initial: state.initial,
|
|
15620
|
-
velocity,
|
|
15621
|
-
vxvy,
|
|
15622
|
-
};
|
|
15623
|
-
// call onSwipeStart if present and is first swipe event
|
|
15624
|
-
eventData.first && props.onSwipeStart && props.onSwipeStart(eventData);
|
|
15625
|
-
// call onSwiping if present
|
|
15626
|
-
props.onSwiping && props.onSwiping(eventData);
|
|
15627
|
-
// track if a swipe is cancelable (handler for swiping or swiped(dir) exists)
|
|
15628
|
-
// so we can call preventDefault if needed
|
|
15629
|
-
let cancelablePageSwipe = false;
|
|
15630
|
-
if (props.onSwiping ||
|
|
15631
|
-
props.onSwiped ||
|
|
15632
|
-
props[`onSwiped${dir}`]) {
|
|
15633
|
-
cancelablePageSwipe = true;
|
|
15634
|
-
}
|
|
15635
|
-
if (cancelablePageSwipe &&
|
|
15636
|
-
props.preventScrollOnSwipe &&
|
|
15637
|
-
props.trackTouch &&
|
|
15638
|
-
event.cancelable) {
|
|
15639
|
-
event.preventDefault();
|
|
15640
|
-
}
|
|
15641
|
-
return Object.assign(Object.assign({}, state), {
|
|
15642
|
-
// first is now always false
|
|
15643
|
-
first: false, eventData, swiping: true });
|
|
15644
|
-
});
|
|
15645
|
-
};
|
|
15646
|
-
const onEnd = (event) => {
|
|
15647
|
-
set((state, props) => {
|
|
15648
|
-
let eventData;
|
|
15649
|
-
if (state.swiping && state.eventData) {
|
|
15650
|
-
// if swipe is less than duration fire swiped callbacks
|
|
15651
|
-
if (event.timeStamp - state.start < props.swipeDuration) {
|
|
15652
|
-
eventData = Object.assign(Object.assign({}, state.eventData), { event });
|
|
15653
|
-
props.onSwiped && props.onSwiped(eventData);
|
|
15654
|
-
const onSwipedDir = props[`onSwiped${eventData.dir}`];
|
|
15655
|
-
onSwipedDir && onSwipedDir(eventData);
|
|
15656
|
-
}
|
|
15657
|
-
}
|
|
15658
|
-
else {
|
|
15659
|
-
props.onTap && props.onTap({ event });
|
|
15660
|
-
}
|
|
15661
|
-
props.onTouchEndOrOnMouseUp && props.onTouchEndOrOnMouseUp({ event });
|
|
15662
|
-
return Object.assign(Object.assign(Object.assign({}, state), initialState), { eventData });
|
|
15663
|
-
});
|
|
15664
|
-
};
|
|
15665
|
-
const cleanUpMouse = () => {
|
|
15666
|
-
// safe to just call removeEventListener
|
|
15667
|
-
document.removeEventListener(mouseMove, onMove);
|
|
15668
|
-
document.removeEventListener(mouseUp, onUp);
|
|
15669
|
-
};
|
|
15670
|
-
const onUp = (e) => {
|
|
15671
|
-
cleanUpMouse();
|
|
15672
|
-
onEnd(e);
|
|
15673
|
-
};
|
|
15674
|
-
/**
|
|
15675
|
-
* The value of passive on touchMove depends on `preventScrollOnSwipe`:
|
|
15676
|
-
* - true => { passive: false }
|
|
15677
|
-
* - false => { passive: true } // Default
|
|
15678
|
-
*
|
|
15679
|
-
* NOTE: When preventScrollOnSwipe is true, we attempt to call preventDefault to prevent scroll.
|
|
15680
|
-
*
|
|
15681
|
-
* props.touchEventOptions can also be set for all touch event listeners,
|
|
15682
|
-
* but for `touchmove` specifically when `preventScrollOnSwipe` it will
|
|
15683
|
-
* supersede and force passive to false.
|
|
15684
|
-
*
|
|
15685
|
-
*/
|
|
15686
|
-
const attachTouch = (el, props) => {
|
|
15687
|
-
let cleanup = () => { };
|
|
15688
|
-
if (el && el.addEventListener) {
|
|
15689
|
-
const baseOptions = Object.assign(Object.assign({}, defaultProps.touchEventOptions), props.touchEventOptions);
|
|
15690
|
-
// attach touch event listeners and handlers
|
|
15691
|
-
const tls = [
|
|
15692
|
-
[touchStart, onStart, baseOptions],
|
|
15693
|
-
// preventScrollOnSwipe option supersedes touchEventOptions.passive
|
|
15694
|
-
[
|
|
15695
|
-
touchMove,
|
|
15696
|
-
onMove,
|
|
15697
|
-
Object.assign(Object.assign({}, baseOptions), (props.preventScrollOnSwipe ? { passive: false } : {})),
|
|
15698
|
-
],
|
|
15699
|
-
[touchEnd, onEnd, baseOptions],
|
|
15700
|
-
];
|
|
15701
|
-
tls.forEach(([e, h, o]) => el.addEventListener(e, h, o));
|
|
15702
|
-
// return properly scoped cleanup method for removing listeners, options not required
|
|
15703
|
-
cleanup = () => tls.forEach(([e, h]) => el.removeEventListener(e, h));
|
|
15704
|
-
}
|
|
15705
|
-
return cleanup;
|
|
15706
|
-
};
|
|
15707
|
-
const onRef = (el) => {
|
|
15708
|
-
// "inline" ref functions are called twice on render, once with null then again with DOM element
|
|
15709
|
-
// ignore null here
|
|
15710
|
-
if (el === null)
|
|
15711
|
-
return;
|
|
15712
|
-
set((state, props) => {
|
|
15713
|
-
// if the same DOM el as previous just return state
|
|
15714
|
-
if (state.el === el)
|
|
15715
|
-
return state;
|
|
15716
|
-
const addState = {};
|
|
15717
|
-
// if new DOM el clean up old DOM and reset cleanUpTouch
|
|
15718
|
-
if (state.el && state.el !== el && state.cleanUpTouch) {
|
|
15719
|
-
state.cleanUpTouch();
|
|
15720
|
-
addState.cleanUpTouch = void 0;
|
|
15721
|
-
}
|
|
15722
|
-
// only attach if we want to track touch
|
|
15723
|
-
if (props.trackTouch && el) {
|
|
15724
|
-
addState.cleanUpTouch = attachTouch(el, props);
|
|
15725
|
-
}
|
|
15726
|
-
// store event attached DOM el for comparison, clean up, and re-attachment
|
|
15727
|
-
return Object.assign(Object.assign(Object.assign({}, state), { el }), addState);
|
|
15728
|
-
});
|
|
15729
|
-
};
|
|
15730
|
-
// set ref callback to attach touch event listeners
|
|
15731
|
-
const output = {
|
|
15732
|
-
ref: onRef,
|
|
15733
|
-
};
|
|
15734
|
-
// if track mouse attach mouse down listener
|
|
15735
|
-
if (handlerProps.trackMouse) {
|
|
15736
|
-
output.onMouseDown = onStart;
|
|
15737
|
-
}
|
|
15738
|
-
return [output, attachTouch];
|
|
15739
|
-
}
|
|
15740
|
-
function updateTransientState(state, props, previousProps, attachTouch) {
|
|
15741
|
-
// if trackTouch is off or there is no el, then remove handlers if necessary and exit
|
|
15742
|
-
if (!props.trackTouch || !state.el) {
|
|
15743
|
-
if (state.cleanUpTouch) {
|
|
15744
|
-
state.cleanUpTouch();
|
|
15745
|
-
}
|
|
15746
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: undefined });
|
|
15747
|
-
}
|
|
15748
|
-
// trackTouch is on, so if there are no handlers attached, attach them and exit
|
|
15749
|
-
if (!state.cleanUpTouch) {
|
|
15750
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
|
|
15751
|
-
}
|
|
15752
|
-
// trackTouch is on and handlers are already attached, so if preventScrollOnSwipe changes value,
|
|
15753
|
-
// remove and reattach handlers (this is required to update the passive option when attaching
|
|
15754
|
-
// the handlers)
|
|
15755
|
-
if (props.preventScrollOnSwipe !== previousProps.preventScrollOnSwipe ||
|
|
15756
|
-
props.touchEventOptions.passive !== previousProps.touchEventOptions.passive) {
|
|
15757
|
-
state.cleanUpTouch();
|
|
15758
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
|
|
15759
|
-
}
|
|
15760
|
-
return state;
|
|
15761
|
-
}
|
|
15762
|
-
function useSwipeable(options) {
|
|
15763
|
-
const { trackMouse } = options;
|
|
15764
|
-
const transientState = React__namespace.useRef(Object.assign({}, initialState));
|
|
15765
|
-
const transientProps = React__namespace.useRef(Object.assign({}, defaultProps));
|
|
15766
|
-
// track previous rendered props
|
|
15767
|
-
const previousProps = React__namespace.useRef(Object.assign({}, transientProps.current));
|
|
15768
|
-
previousProps.current = Object.assign({}, transientProps.current);
|
|
15769
|
-
// update current render props & defaults
|
|
15770
|
-
transientProps.current = Object.assign(Object.assign({}, defaultProps), options);
|
|
15771
|
-
// Force defaults for config properties
|
|
15772
|
-
let defaultKey;
|
|
15773
|
-
for (defaultKey in defaultProps) {
|
|
15774
|
-
if (transientProps.current[defaultKey] === void 0) {
|
|
15775
|
-
transientProps.current[defaultKey] = defaultProps[defaultKey];
|
|
15776
|
-
}
|
|
15777
|
-
}
|
|
15778
|
-
const [handlers, attachTouch] = React__namespace.useMemo(() => getHandlers((stateSetter) => (transientState.current = stateSetter(transientState.current, transientProps.current)), { trackMouse }), [trackMouse]);
|
|
15779
|
-
transientState.current = updateTransientState(transientState.current, transientProps.current, previousProps.current, attachTouch);
|
|
15780
|
-
return handlers;
|
|
15781
|
-
}
|
|
15782
|
-
|
|
15783
15733
|
var DIALOG_NAME = "Dialog";
|
|
15784
15734
|
var [createDialogContext, createDialogScope] = createContextScope$1(DIALOG_NAME);
|
|
15785
15735
|
var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
|
|
@@ -16080,27 +16030,10 @@ var Title = DialogTitle;
|
|
|
16080
16030
|
var Description = DialogDescription;
|
|
16081
16031
|
|
|
16082
16032
|
var Drawer = function (_a) {
|
|
16083
|
-
var isOpen = _a.isOpen,
|
|
16033
|
+
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"]);
|
|
16084
16034
|
var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
|
|
16085
16035
|
var triggerRef = React.useRef(null);
|
|
16086
16036
|
var _g = React.useState(null), exitTranslateValue = _g[0], setExitTranslateValue = _g[1];
|
|
16087
|
-
var handlers = useSwipeable({
|
|
16088
|
-
onSwiped: function (_a) {
|
|
16089
|
-
var dir = _a.dir;
|
|
16090
|
-
if (position === "left" && dir === "Left") {
|
|
16091
|
-
setExitTranslateValue([-100, 0]);
|
|
16092
|
-
}
|
|
16093
|
-
if (position === "right" && dir === "Right") {
|
|
16094
|
-
setExitTranslateValue([100, 0]);
|
|
16095
|
-
}
|
|
16096
|
-
if (position === "top" && dir === "Up") {
|
|
16097
|
-
setExitTranslateValue([0, -100]);
|
|
16098
|
-
}
|
|
16099
|
-
if (position === "bottom" && dir === "Down") {
|
|
16100
|
-
setExitTranslateValue([0, 100]);
|
|
16101
|
-
}
|
|
16102
|
-
},
|
|
16103
|
-
});
|
|
16104
16037
|
var setTriggerElement = function () {
|
|
16105
16038
|
return shouldReturnFocus &&
|
|
16106
16039
|
(triggerRef.current = document.activeElement);
|
|
@@ -16122,30 +16055,69 @@ var Drawer = function (_a) {
|
|
|
16122
16055
|
},
|
|
16123
16056
|
}
|
|
16124
16057
|
: {};
|
|
16058
|
+
var sizingProperties = __assign(__assign({}, (position !== "bottom" && { width: width })), (position === "bottom" && { height: height }));
|
|
16125
16059
|
return (React.createElement("div", { ref: setThemeElement },
|
|
16126
16060
|
React.createElement(Root$3, { open: isOpen },
|
|
16127
16061
|
React.createElement(Portal$3, { container: themeElement },
|
|
16128
16062
|
React.createElement(Overlay, { style: exitTransitionStyle.overlay, className: classNames("arc-Drawer-overlay", {
|
|
16129
|
-
"arc-Drawer-overlay--visible":
|
|
16063
|
+
"arc-Drawer-overlay--visible": !noOverlay,
|
|
16130
16064
|
}) },
|
|
16131
16065
|
React.createElement(Content$1, __assign({ onTransitionEnd: function () {
|
|
16132
16066
|
setExitTranslateValue(null);
|
|
16133
16067
|
onRequestClose();
|
|
16134
|
-
}, className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position)), style:
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16068
|
+
}, className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position)), style: (__assign({}, sizingProperties)), onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: onRequestClose, onInteractOutside: onRequestClose, "aria-modal": "true" }, filterAttrs(props)),
|
|
16069
|
+
children,
|
|
16070
|
+
React.createElement("div", { className: "arc-Drawer-closeButtonContainer" },
|
|
16071
|
+
React.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
|
|
16072
|
+
React.createElement(ThemeIcon, { size: 32, icon: "drawerClose" })))))))));
|
|
16073
|
+
};
|
|
16074
|
+
|
|
16075
|
+
/**
|
|
16076
|
+
* Use `Rule` to display a horizontal or vertical rule.
|
|
16077
|
+
*/
|
|
16078
|
+
var Rule = function (_a, props) {
|
|
16079
|
+
var _b;
|
|
16080
|
+
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
16081
|
+
var surface = React.useContext(Context$3).surface;
|
|
16082
|
+
return (React.createElement("hr", __assign({ className: classNames((_b = {
|
|
16083
|
+
"arc-Rule": true
|
|
16084
|
+
},
|
|
16085
|
+
_b["arc-Rule--".concat(orientation)] = true,
|
|
16086
|
+
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
16087
|
+
_b)) }, filterAttrs(props))));
|
|
16088
|
+
};
|
|
16089
|
+
|
|
16090
|
+
var DrawerHeader = function (_a) {
|
|
16091
|
+
var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, props = __rest(_a, ["title", "isFixed"]);
|
|
16092
|
+
return (React.createElement(React.Fragment, null,
|
|
16093
|
+
React.createElement("div", __assign({ className: classNames("arc-DrawerHeader", {
|
|
16094
|
+
"arc-DrawerHeader--isFixed": isFixed,
|
|
16095
|
+
}) }, filterAttrs(props)),
|
|
16096
|
+
React.createElement("div", { className: "arc-DrawerHeader-content" },
|
|
16097
|
+
React.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
|
|
16098
|
+
React.createElement(Title, { asChild: true },
|
|
16099
|
+
React.createElement("h1", { className: "arc-DrawerHeader-title" }, title)))),
|
|
16100
|
+
isFixed && (React.createElement("div", { className: "arc-DrawerHeader-divider" },
|
|
16101
|
+
React.createElement(Rule, null))))));
|
|
16102
|
+
};
|
|
16103
|
+
|
|
16104
|
+
var DrawerFooter = function (_a) {
|
|
16105
|
+
var isFixed = _a.isFixed, children = _a.children;
|
|
16106
|
+
return (React.createElement(React.Fragment, null,
|
|
16107
|
+
React.createElement("div", { className: classNames("arc-DrawerFooter", {
|
|
16108
|
+
"arc-DrawerFooter--isFixed": isFixed,
|
|
16109
|
+
}) },
|
|
16110
|
+
isFixed && (React.createElement("div", { className: "arc-DrawerFooter-divider" },
|
|
16111
|
+
React.createElement(Rule, null))),
|
|
16112
|
+
children)));
|
|
16113
|
+
};
|
|
16114
|
+
|
|
16115
|
+
var DrawerContent = function (_a) {
|
|
16116
|
+
var isFullBleed = _a.isFullBleed, children = _a.children;
|
|
16117
|
+
return (React.createElement("div", { className: classNames("arc-DrawerContent", {
|
|
16118
|
+
"arc-DrawerContent--isFullBleed": isFullBleed,
|
|
16119
|
+
}) },
|
|
16120
|
+
React.createElement("div", { className: "arc-Drawer-section" }, children)));
|
|
16149
16121
|
};
|
|
16150
16122
|
|
|
16151
16123
|
/**
|
|
@@ -16259,7 +16231,7 @@ var GhostedHeroBanner = function (_a) {
|
|
|
16259
16231
|
return (React.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
|
|
16260
16232
|
React.createElement("div", { className: "arc-GhostedHeroBanner-content" },
|
|
16261
16233
|
label && (React.createElement(React.Fragment, null,
|
|
16262
|
-
React.createElement(Heading, {
|
|
16234
|
+
React.createElement(Heading, { fontStyle: "overline" }, label),
|
|
16263
16235
|
React.createElement(VerticalSpace, { size: "8" }))),
|
|
16264
16236
|
React.createElement(Heading, { level: headingLevel, size: "xl" }, heading),
|
|
16265
16237
|
text && (React.createElement(React.Fragment, null,
|
|
@@ -16271,14 +16243,361 @@ var GhostedHeroBanner = function (_a) {
|
|
|
16271
16243
|
React.createElement("div", { className: "arc-GhostedHeroBanner-image " }, img && React.createElement(BannerImage, __assign({ ariaHidden: true }, img)))));
|
|
16272
16244
|
};
|
|
16273
16245
|
|
|
16274
|
-
var
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16246
|
+
var shorterCssColorNames;
|
|
16247
|
+
var hasRequiredShorterCssColorNames;
|
|
16248
|
+
|
|
16249
|
+
function requireShorterCssColorNames () {
|
|
16250
|
+
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
16251
|
+
hasRequiredShorterCssColorNames = 1;
|
|
16252
|
+
shorterCssColorNames = {
|
|
16253
|
+
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16254
|
+
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
16255
|
+
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
16256
|
+
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
16257
|
+
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
16258
|
+
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
16259
|
+
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
16260
|
+
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
16261
|
+
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
16262
|
+
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
16263
|
+
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16264
|
+
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
16265
|
+
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
16266
|
+
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
16267
|
+
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
16268
|
+
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
16269
|
+
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
16270
|
+
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
16271
|
+
green: /#008000(ff)?(?!\w)/gi,
|
|
16272
|
+
grey: /#808080(ff)?(?!\w)/gi,
|
|
16273
|
+
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
16274
|
+
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
16275
|
+
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
16276
|
+
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
16277
|
+
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
16278
|
+
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
16279
|
+
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
16280
|
+
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
16281
|
+
maroon: /#800000(ff)?(?!\w)/gi,
|
|
16282
|
+
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
16283
|
+
navy: /#000080(ff)?(?!\w)/gi,
|
|
16284
|
+
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
16285
|
+
olive: /#808000(ff)?(?!\w)/gi,
|
|
16286
|
+
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
16287
|
+
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
16288
|
+
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
16289
|
+
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
16290
|
+
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
16291
|
+
purple: /#800080(ff)?(?!\w)/gi,
|
|
16292
|
+
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
16293
|
+
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
16294
|
+
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
16295
|
+
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
16296
|
+
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
16297
|
+
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
16298
|
+
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
16299
|
+
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
16300
|
+
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
16301
|
+
teal: /#008080(ff)?(?!\w)/gi,
|
|
16302
|
+
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
16303
|
+
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
16304
|
+
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
16305
|
+
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
16306
|
+
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
16307
|
+
};
|
|
16308
|
+
return shorterCssColorNames;
|
|
16309
|
+
}
|
|
16310
|
+
|
|
16311
|
+
var miniSvgDataUri;
|
|
16312
|
+
var hasRequiredMiniSvgDataUri;
|
|
16313
|
+
|
|
16314
|
+
function requireMiniSvgDataUri () {
|
|
16315
|
+
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
16316
|
+
hasRequiredMiniSvgDataUri = 1;
|
|
16317
|
+
var shorterNames = requireShorterCssColorNames();
|
|
16318
|
+
var REGEX = {
|
|
16319
|
+
whitespace: /\s+/g,
|
|
16320
|
+
urlHexPairs: /%[\dA-F]{2}/g,
|
|
16321
|
+
quotes: /"/g,
|
|
16322
|
+
};
|
|
16323
|
+
|
|
16324
|
+
function collapseWhitespace(str) {
|
|
16325
|
+
return str.trim().replace(REGEX.whitespace, ' ');
|
|
16326
|
+
}
|
|
16327
|
+
|
|
16328
|
+
function dataURIPayload(string) {
|
|
16329
|
+
return encodeURIComponent(string)
|
|
16330
|
+
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
16331
|
+
}
|
|
16332
|
+
|
|
16333
|
+
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
16334
|
+
// their equivalent URL-encoded hex codes.
|
|
16335
|
+
function colorCodeToShorterNames(string) {
|
|
16336
|
+
Object.keys(shorterNames).forEach(function(key) {
|
|
16337
|
+
if (shorterNames[key].test(string)) {
|
|
16338
|
+
string = string.replace(shorterNames[key], key);
|
|
16339
|
+
}
|
|
16340
|
+
});
|
|
16341
|
+
|
|
16342
|
+
return string;
|
|
16343
|
+
}
|
|
16344
|
+
|
|
16345
|
+
function specialHexEncode(match) {
|
|
16346
|
+
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
16347
|
+
case '%20': return ' ';
|
|
16348
|
+
case '%3D': return '=';
|
|
16349
|
+
case '%3A': return ':';
|
|
16350
|
+
case '%2F': return '/';
|
|
16351
|
+
default: return match.toLowerCase(); // compresses better
|
|
16352
|
+
}
|
|
16353
|
+
}
|
|
16354
|
+
|
|
16355
|
+
function svgToTinyDataUri(svgString) {
|
|
16356
|
+
if (typeof svgString !== 'string') {
|
|
16357
|
+
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
16358
|
+
}
|
|
16359
|
+
// Strip the Byte-Order Mark if the SVG has one
|
|
16360
|
+
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
16361
|
+
|
|
16362
|
+
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
16363
|
+
.replace(REGEX.quotes, "'");
|
|
16364
|
+
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
16365
|
+
}
|
|
16366
|
+
|
|
16367
|
+
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
16368
|
+
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
16369
|
+
};
|
|
16370
|
+
|
|
16371
|
+
miniSvgDataUri = svgToTinyDataUri;
|
|
16372
|
+
return miniSvgDataUri;
|
|
16373
|
+
}
|
|
16374
|
+
|
|
16375
|
+
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
16376
|
+
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
16377
|
+
|
|
16378
|
+
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
16379
|
+
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
16380
|
+
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
16381
|
+
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
16382
|
+
|
|
16383
|
+
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>";
|
|
16384
|
+
|
|
16385
|
+
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>";
|
|
16386
|
+
|
|
16387
|
+
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>";
|
|
16388
|
+
|
|
16389
|
+
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>";
|
|
16390
|
+
|
|
16391
|
+
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>";
|
|
16392
|
+
|
|
16393
|
+
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>";
|
|
16394
|
+
|
|
16395
|
+
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>";
|
|
16396
|
+
|
|
16397
|
+
var ProductpageLight2 = "<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_1351)\">\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=\"#F9EDF5\"\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=\"#F9EDF5\"\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=\"#F9EDF5\"\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=\"#FEEBF9\"\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=\"#FEECFB\"\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=\"#FDEDF8\"\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=\"#FDEDF8\"\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=\"#FEEBFA\"\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=\"#FEEBFA\"\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=\"#FCEBFA\"\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=\"#FCEBFA\"\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=\"#FCEBFA\"\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=\"#FCEDF7\"\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=\"#FEEBF8\"\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=\"#FEEBFA\"\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=\"#FCEBF6\"\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=\"#FDEAF8\"\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=\"#FDEBFA\"\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=\"#FDEBFA\"\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=\"#FDEBFA\"\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=\"#FCECF5\"\n />\n <path\n d=\"M407.09 -170.557L519.056 -105.831V23.6217L407.09 88.3477L295.125 23.6217V-105.831L407.09 -170.557Z\"\n fill=\"#FCECF5\"\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=\"#FDE9F6\"\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=\"#FDEAFA\"\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=\"#FCEAF4\"\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=\"#FCE9F7\"\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=\"#FCEAFA\"\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=\"#FCEAFA\"\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=\"#FBEAF3\"\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=\"#FBEAF3\"\n />\n <path\n d=\"M631.02 -170.557L742.986 -105.831V23.6217L631.02 88.3477L519.055 23.6217V-105.831L631.02 -170.557Z\"\n fill=\"#FBEAF3\"\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=\"#FBE9F4\"\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=\"#FCE9F8\"\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=\"#FBE9F2\"\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=\"#FBE8F5\"\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=\"#FBEAF8\"\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=\"#FBEAF8\"\n />\n <path\n d=\"M1078.71 988.801L1190.67 1053.53V1182.98L1078.71 1247.71L966.742 1182.98V1053.53L1078.71 988.801Z\"\n fill=\"#FAEAF7\"\n />\n <path\n d=\"M1302.71 988.801L1414.67 1053.53V1182.98L1302.71 1247.71L1190.74 1182.98V1053.53L1302.71 988.801Z\"\n fill=\"#FAEAF7\"\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=\"#FAEAF7\"\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=\"#FBEAF2\"\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=\"#FBEAF2\"\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=\"#FAE8F3\"\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=\"#FBE9F6\"\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=\"#F9E9F1\"\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=\"#F9E9F1\"\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=\"#F9E8F4\"\n />\n <path\n d=\"M1301.64 603.211L1413.6 667.937V797.389L1301.64 862.115L1189.67 797.389V667.937L1301.64 603.211Z\"\n fill=\"#F9E8F4\"\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=\"#F7EBF0\"\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=\"#F7EBF0\"\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=\"#F8E7F0\"\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=\"#F8E8F5\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1351\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16398
|
+
|
|
16399
|
+
var FooterLight = "<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_1966)\">\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=\"#F6F1F9\"\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=\"#F6F1F9\"\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=\"#F6F1F9\"\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=\"#F9F4FC\"\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=\"#F8F1FD\"\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=\"#F9F4FC\"\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=\"#F9F4FC\"\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=\"#F9F2FC\"\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=\"#F9F2FC\"\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=\"#F7EFFB\"\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=\"#F7EFFB\"\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=\"#F7EFFB\"\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=\"#F7F2FA\"\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=\"#F8F3FC\"\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=\"#F8F0FB\"\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=\"#F9F4FC\"\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=\"#F7F1FB\"\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=\"#F7EEFB\"\n />\n <path\n d=\"M294.848 1181.8L406.814 1246.53V1375.98L294.848 1440.71L182.883 1375.98V1246.53L294.848 1181.8Z\"\n fill=\"#F7EEFB\"\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=\"#F9F4FC\"\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=\"#F9F4FC\"\n />\n <path\n d=\"M407.09 -170.557L519.056 -105.831V23.6217L407.09 88.3477L295.125 23.6217V-105.831L407.09 -170.557Z\"\n fill=\"#F9F4FC\"\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=\"#F8F3FC\"\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=\"#F7EFFB\"\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=\"#F8F4FD\"\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=\"#F6F0FB\"\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=\"#F6EFFB\"\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=\"#F6EFFB\"\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=\"#F8F6FD\"\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=\"#F8F6FD\"\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=\"#F6F3FC\"\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=\"#F5EFFA\"\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=\"#F7F5FD\"\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=\"#F4F0FB\"\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=\"#F3EFFA\"\n />\n <path\n d=\"M742.708 1181.8L854.673 1246.53V1375.98L742.708 1440.71L630.742 1375.98V1246.53L742.708 1181.8Z\"\n fill=\"#F3EFFA\"\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=\"#F3EFFA\"\n />\n <path\n d=\"M1078.71 988.801L1190.67 1053.53V1182.98L1078.71 1247.71L966.742 1182.98V1053.53L1078.71 988.801Z\"\n fill=\"#F0EEF9\"\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=\"#F0EEF9\"\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=\"#F0EEF9\"\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=\"#F5F5FA\"\n />\n <path\n d=\"M1078.95 -169.557L1190.92 -104.831V24.6217L1078.95 89.3477L966.984 24.6217V-104.831L1078.95 -169.557Z\"\n fill=\"#F5F5FA\"\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=\"#F4F3FC\"\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=\"#F3EFFA\"\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=\"#F5F5FC\"\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=\"#F5F5FC\"\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=\"#F2F1FB\"\n />\n <path\n d=\"M1302.64 602.211L1414.6 666.937V796.389L1302.64 861.115L1190.67 796.389V666.937L1302.64 602.211Z\"\n fill=\"#F2F1FB\"\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=\"#F2F4F9\"\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=\"#F2F4F9\"\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=\"#F4F2FC\"\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=\"#F2EFF9\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_6783_1966\">\n <rect width=\"1280\" height=\"1280\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg>";
|
|
16400
|
+
|
|
16401
|
+
// commented out s+ props as the svgs don't exist yet
|
|
16402
|
+
var BackgroundGradients = {
|
|
16403
|
+
HomepageDark1: {
|
|
16404
|
+
xs: HomepageDark1,
|
|
16405
|
+
// s: HomepageDark1,
|
|
16406
|
+
// m: HomepageDark1,
|
|
16407
|
+
// l: HomepageDark1,
|
|
16408
|
+
// xl: HomepageDark1,
|
|
16409
|
+
// xxl: HomepageDark1,
|
|
16410
|
+
},
|
|
16411
|
+
HomepageDark2: {
|
|
16412
|
+
xs: HomepageDark2,
|
|
16413
|
+
// s: HomepageDark2,
|
|
16414
|
+
// m: HomepageDark2,
|
|
16415
|
+
// l: HomepageDark2,
|
|
16416
|
+
// xl: HomepageDark2,
|
|
16417
|
+
// xxl: HomepageDark2,
|
|
16418
|
+
},
|
|
16419
|
+
ProductpageDark1: {
|
|
16420
|
+
xs: ProductpageDark1,
|
|
16421
|
+
// s: ProductpageDark1,
|
|
16422
|
+
// m: ProductpageDark1,
|
|
16423
|
+
// l: ProductpageDark1,
|
|
16424
|
+
// xl: ProductpageDark1,
|
|
16425
|
+
// xxl: ProductpageDark1,
|
|
16426
|
+
},
|
|
16427
|
+
ProductpageDark2: {
|
|
16428
|
+
xs: ProductpageDark2,
|
|
16429
|
+
// s: ProductpageDark2,
|
|
16430
|
+
// m: ProductpageDark2,
|
|
16431
|
+
// l: ProductpageDark2,
|
|
16432
|
+
// xl: ProductpageDark2,
|
|
16433
|
+
// xxl: ProductpageDark2,
|
|
16434
|
+
},
|
|
16435
|
+
HomepageLight1: {
|
|
16436
|
+
xs: HomepageLight1,
|
|
16437
|
+
// s: HomepageLight1,
|
|
16438
|
+
// m: HomepageLight1,
|
|
16439
|
+
// l: HomepageLight1,
|
|
16440
|
+
// xl: HomepageLight1,
|
|
16441
|
+
// xxl: HomepageLight1,
|
|
16442
|
+
},
|
|
16443
|
+
HomepageLight2: {
|
|
16444
|
+
xs: HomepageLight2,
|
|
16445
|
+
// s: HomepageLight2,
|
|
16446
|
+
// m: HomepageLight2,
|
|
16447
|
+
// l: HomepageLight2,
|
|
16448
|
+
// xl: HomepageLight2,
|
|
16449
|
+
// xxl: HomepageLight2,
|
|
16450
|
+
},
|
|
16451
|
+
ProductpageLight1: {
|
|
16452
|
+
xs: ProductpageLight1,
|
|
16453
|
+
// s: ProductpageLight1,
|
|
16454
|
+
// m: ProductpageLight1,
|
|
16455
|
+
// l: ProductpageLight1,
|
|
16456
|
+
// xl: ProductpageLight1,
|
|
16457
|
+
// xxl: ProductpageLight1,
|
|
16458
|
+
},
|
|
16459
|
+
ProductpageLight2: {
|
|
16460
|
+
xs: ProductpageLight2,
|
|
16461
|
+
// s: ProductpageLight2,
|
|
16462
|
+
// m: ProductpageLight2,
|
|
16463
|
+
// l: ProductpageLight2,
|
|
16464
|
+
// xl: ProductpageLight2,
|
|
16465
|
+
// xxl: ProductpageLight2,
|
|
16466
|
+
},
|
|
16467
|
+
FooterLight: {
|
|
16468
|
+
xs: FooterLight,
|
|
16469
|
+
// s: FooterLight,
|
|
16470
|
+
// m: FooterLight,
|
|
16471
|
+
// l: FooterLight,
|
|
16472
|
+
// xl: FooterLight,
|
|
16473
|
+
// xxl: FooterLight,
|
|
16474
|
+
},
|
|
16475
|
+
};
|
|
16476
|
+
|
|
16477
|
+
var ScrimFade = function (props) {
|
|
16478
|
+
var _a;
|
|
16479
|
+
var totalHeight = (_a = props === null || props === void 0 ? void 0 : props.scrimfadeheight) !== null && _a !== void 0 ? _a : 1000;
|
|
16480
|
+
if (!props.scrimfadeheight && props.scrimfadesize) {
|
|
16481
|
+
if (props.scrimfadesize === "l") {
|
|
16482
|
+
totalHeight = 1408;
|
|
16483
|
+
}
|
|
16484
|
+
else if (props.scrimfadesize === "m") {
|
|
16485
|
+
totalHeight = 1024;
|
|
16486
|
+
}
|
|
16487
|
+
else if (props.scrimfadesize === "s") {
|
|
16488
|
+
totalHeight = 640;
|
|
16489
|
+
}
|
|
16490
|
+
}
|
|
16491
|
+
var fadeHeight = totalHeight - 128;
|
|
16492
|
+
return (React__namespace.createElement("svg", __assign({ width: "1024", height: totalHeight, viewBox: "0 0 1024 ".concat(totalHeight), fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
16493
|
+
React__namespace.createElement("rect", { y: "128", width: "1024", height: fadeHeight, fill: "url(#paint0_linear_6538_9883)" }),
|
|
16494
|
+
React__namespace.createElement("g", { opacity: "0.7" },
|
|
16495
|
+
React__namespace.createElement("rect", { width: "1024", height: totalHeight, fill: "url(#paint1_linear_6538_9883)", style: { mixBlendMode: "soft-light" } })),
|
|
16496
|
+
React__namespace.createElement("defs", null,
|
|
16497
|
+
React__namespace.createElement("linearGradient", { id: "paint0_linear_6538_9883", x1: "512", y1: "128", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
|
|
16498
|
+
React__namespace.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
|
|
16499
|
+
React__namespace.createElement("stop", { offset: "0.0806874", stopColor: "white", stopOpacity: "0.01" }),
|
|
16500
|
+
React__namespace.createElement("stop", { offset: "0.155366", stopColor: "white", stopOpacity: "0.0217837" }),
|
|
16501
|
+
React__namespace.createElement("stop", { offset: "0.22496", stopColor: "white", stopOpacity: "0.04832" }),
|
|
16502
|
+
React__namespace.createElement("stop", { offset: "0.290394", stopColor: "white", stopOpacity: "0.0846696" }),
|
|
16503
|
+
React__namespace.createElement("stop", { offset: "0.352593", stopColor: "white", stopOpacity: "0.13037" }),
|
|
16504
|
+
React__namespace.createElement("stop", { offset: "0.41248", stopColor: "white", stopOpacity: "0.18496" }),
|
|
16505
|
+
React__namespace.createElement("stop", { offset: "0.470981", stopColor: "white", stopOpacity: "0.247976" }),
|
|
16506
|
+
React__namespace.createElement("stop", { offset: "0.529019", stopColor: "white", stopOpacity: "0.318957" }),
|
|
16507
|
+
React__namespace.createElement("stop", { offset: "0.58752", stopColor: "white", stopOpacity: "0.39744" }),
|
|
16508
|
+
React__namespace.createElement("stop", { offset: "0.647407", stopColor: "white", stopOpacity: "0.482963" }),
|
|
16509
|
+
React__namespace.createElement("stop", { offset: "0.709606", stopColor: "white", stopOpacity: "0.575064" }),
|
|
16510
|
+
React__namespace.createElement("stop", { offset: "0.77504", stopColor: "white", stopOpacity: "0.67328" }),
|
|
16511
|
+
React__namespace.createElement("stop", { offset: "0.844634", stopColor: "white", stopOpacity: "0.77715" }),
|
|
16512
|
+
React__namespace.createElement("stop", { offset: "0.919313", stopColor: "white", stopOpacity: "0.88621" }),
|
|
16513
|
+
React__namespace.createElement("stop", { offset: "1", stopColor: "white" })),
|
|
16514
|
+
React__namespace.createElement("linearGradient", { id: "paint1_linear_6538_9883", x1: "512", y1: "0", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
|
|
16515
|
+
React__namespace.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
|
|
16516
|
+
React__namespace.createElement("stop", { offset: "1", stopColor: "white" })))));
|
|
16517
|
+
};
|
|
16518
|
+
|
|
16519
|
+
var GradientPageBackground = function (_a) {
|
|
16520
|
+
var _b, _c;
|
|
16521
|
+
var _d = _a.type, type = _d === void 0 ? "HomepageDark1" : _d, children = _a.children, scrimFadeSize = _a.scrimFadeSize, scrimFadeHeights = _a.scrimFadeHeights, _e = _a.scrimFadePosition, scrimFadePosition = _e === void 0 ? "bottom" : _e, extendBackgrounds = _a.extendBackgrounds, customGradients = _a.customGradients, props = __rest(_a, ["type", "children", "scrimFadeSize", "scrimFadeHeights", "scrimFadePosition", "extendBackgrounds", "customGradients"]);
|
|
16522
|
+
var _f = React.useState(), scrimFadeHeight = _f[0], setScrimFadeHeight = _f[1];
|
|
16523
|
+
var _g = React.useState(), extendBackground = _g[0], setExtendBackground = _g[1];
|
|
16524
|
+
var _h = React.useState(BackgroundGradients.HomepageDark1.xs), backgroundGradient = _h[0], setBackgroundGradient = _h[1];
|
|
16525
|
+
var _j = React.useState(), customGradient = _j[0], setCustomGradient = _j[1];
|
|
16526
|
+
var _k = React.useState("xs"), breakpoint = _k[0], setBreakpoint = _k[1];
|
|
16527
|
+
var gradientUri = svgToMiniDataURI(backgroundGradient !== null && backgroundGradient !== void 0 ? backgroundGradient : "");
|
|
16528
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
16529
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
16530
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
16531
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
16532
|
+
// Update current breakpoint value for props
|
|
16533
|
+
React.useEffect(function () {
|
|
16534
|
+
var _a;
|
|
16535
|
+
var breakpoints = [
|
|
16536
|
+
["xl", isMinWidthArcBreakpointXl],
|
|
16537
|
+
["l", isMinWidthArcBreakpointL],
|
|
16538
|
+
["m", isMinWidthArcBreakpointM],
|
|
16539
|
+
["s", isMinWidthArcBreakpointS],
|
|
16540
|
+
["xs", true],
|
|
16541
|
+
];
|
|
16542
|
+
var matched = breakpoints.find(function (_a) {
|
|
16543
|
+
var match = _a[1];
|
|
16544
|
+
return match;
|
|
16545
|
+
});
|
|
16546
|
+
setBreakpoint((_a = matched === null || matched === void 0 ? void 0 : matched[0]) !== null && _a !== void 0 ? _a : "xs");
|
|
16547
|
+
}, [
|
|
16548
|
+
isMinWidthArcBreakpointXl,
|
|
16549
|
+
isMinWidthArcBreakpointL,
|
|
16550
|
+
isMinWidthArcBreakpointM,
|
|
16551
|
+
isMinWidthArcBreakpointS,
|
|
16552
|
+
]);
|
|
16553
|
+
// Function to inherit the last provided value when no value is provided
|
|
16554
|
+
var inheritFallbackKey = function (obj, key) {
|
|
16555
|
+
var keysInOrder = ["xs", "s", "m", "l", "xl", "xxl"];
|
|
16556
|
+
var index = keysInOrder.indexOf(key);
|
|
16557
|
+
if (index === -1)
|
|
16558
|
+
return;
|
|
16559
|
+
for (var i = index; i >= 0; i--) {
|
|
16560
|
+
var fallbackKey = keysInOrder[i];
|
|
16561
|
+
if (obj[fallbackKey] !== undefined) {
|
|
16562
|
+
return obj[fallbackKey];
|
|
16563
|
+
}
|
|
16564
|
+
}
|
|
16565
|
+
return undefined;
|
|
16566
|
+
};
|
|
16567
|
+
// Update props when breakpoint changes
|
|
16568
|
+
React.useEffect(function () {
|
|
16569
|
+
var _a;
|
|
16570
|
+
if (!breakpoint)
|
|
16571
|
+
return;
|
|
16572
|
+
setScrimFadeHeight(inheritFallbackKey(scrimFadeHeights !== null && scrimFadeHeights !== void 0 ? scrimFadeHeights : {}, breakpoint));
|
|
16573
|
+
setExtendBackground(inheritFallbackKey(extendBackgrounds !== null && extendBackgrounds !== void 0 ? extendBackgrounds : {}, breakpoint));
|
|
16574
|
+
setBackgroundGradient(inheritFallbackKey((_a = BackgroundGradients === null || BackgroundGradients === void 0 ? void 0 : BackgroundGradients[type]) !== null && _a !== void 0 ? _a : {}, breakpoint));
|
|
16575
|
+
setCustomGradient(inheritFallbackKey(customGradients !== null && customGradients !== void 0 ? customGradients : {}, breakpoint));
|
|
16576
|
+
}, [breakpoint, type]); // type only for storybook
|
|
16577
|
+
return (React.createElement("div", __assign({ className: classNames("arc-GradientPageBackground", (_b = {},
|
|
16578
|
+
_b["arc-GradientPageBackground--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16579
|
+
_b)), style: extendBackground && scrimFadePosition == "bottom"
|
|
16580
|
+
? {
|
|
16581
|
+
paddingBottom: "".concat(extendBackground, "px"),
|
|
16582
|
+
marginBottom: "-".concat(extendBackground, "px"),
|
|
16583
|
+
}
|
|
16584
|
+
: {
|
|
16585
|
+
paddingTop: "".concat(extendBackground, "px"),
|
|
16586
|
+
marginTop: "-".concat(extendBackground, "px"),
|
|
16587
|
+
} }, filterAttrs(props)),
|
|
16588
|
+
React.createElement("div", { className: "arc-GradientPageBackground-svgWrapper" },
|
|
16589
|
+
React.createElement("img", { src: customGradient || gradientUri, alt: "", className: "arc-GradientPageBackground-svgbg" })),
|
|
16590
|
+
React.createElement("div", { className: "arc-GradientPageBackground-content" },
|
|
16591
|
+
React.createElement(Surface, { isTransparent: true, background: customGradient
|
|
16592
|
+
? (customGradient === null || customGradient === void 0 ? void 0 : customGradient.includes("Light"))
|
|
16593
|
+
? "light-white"
|
|
16594
|
+
: "dark-black"
|
|
16595
|
+
: type.includes("Light")
|
|
16596
|
+
? "light-white"
|
|
16597
|
+
: "dark-black" }, children)),
|
|
16598
|
+
scrimFadeSize && (React.createElement(ScrimFade, { className: classNames("arc-GradientPageBackground-scrimFade", (_c = {},
|
|
16599
|
+
_c["arc-GradientPageBackground-scrimFade--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16600
|
+
_c)), scrimfadeheight: scrimFadeHeight ? scrimFadeHeight : null, scrimfadesize: scrimFadeSize, preserveAspectRatio: "none" }))));
|
|
16282
16601
|
};
|
|
16283
16602
|
|
|
16284
16603
|
/**
|
|
@@ -16474,7 +16793,9 @@ var ImpactCard = function (_a) {
|
|
|
16474
16793
|
React.createElement("div", { className: "arc-ImpactCard-backgroundImageContainer" },
|
|
16475
16794
|
React.createElement(Image, __assign({ fit: "cover", alt: "" }, img))),
|
|
16476
16795
|
React.createElement("div", { className: "arc-ImpactCard-contentContainer" },
|
|
16477
|
-
label && (React.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16796
|
+
label && (React.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16797
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
16798
|
+
React.createElement(VerticalSpace, { size: "16" }))),
|
|
16478
16799
|
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) })),
|
|
16479
16800
|
React.createElement(CardFooter, { buttonIcon: buttonIcon, showButton: true, isDarkPathway: isDarkPathway, isHovered: showHoverState })));
|
|
16480
16801
|
};
|
|
@@ -16527,6 +16848,7 @@ var InformationCard = function (_a) {
|
|
|
16527
16848
|
window.addEventListener("resize", checkMinHeight);
|
|
16528
16849
|
return function () {
|
|
16529
16850
|
window.removeEventListener("resize", checkMinHeight);
|
|
16851
|
+
checkMinHeight.cancel();
|
|
16530
16852
|
};
|
|
16531
16853
|
}, [minHeights, ArcBreakpoints]);
|
|
16532
16854
|
return (React.createElement("div", __assign({ style: { minHeight: minHeight ? minHeight : minimumHeight }, className: classNames("arc-InformationCard", {
|
|
@@ -16543,7 +16865,8 @@ var InformationCard = function (_a) {
|
|
|
16543
16865
|
React.createElement(Icon$1, { testId: "information-card-icon", icon: icon })))),
|
|
16544
16866
|
React.createElement("div", { className: "arc-InformationCard-contentContainer" },
|
|
16545
16867
|
label && (React.createElement(React.Fragment, null,
|
|
16546
|
-
React.createElement("div", { className: "arc-InformationCard-label" },
|
|
16868
|
+
React.createElement("div", { className: "arc-InformationCard-label" },
|
|
16869
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label)))),
|
|
16547
16870
|
React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
|
|
16548
16871
|
text && React.createElement(Text, null, text)),
|
|
16549
16872
|
(button || badges || footerLogo) && (React.createElement("div", { className: "arc-InformationCard-footer" },
|
|
@@ -16635,8 +16958,6 @@ var MediaCard = function (_a) {
|
|
|
16635
16958
|
var surface = React.useContext(Context$3).surface;
|
|
16636
16959
|
var _e = React.useState(false), isClient = _e[0], setIsClient = _e[1];
|
|
16637
16960
|
var _f = React.useState(false), showHoverState = _f[0], setShowHoverState = _f[1];
|
|
16638
|
-
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
|
|
16639
|
-
var headingSpacing = isMinWidthArcBreakpointS ? "16" : "8";
|
|
16640
16961
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
16641
16962
|
React.useEffect(function () {
|
|
16642
16963
|
setIsClient(true);
|
|
@@ -16652,12 +16973,12 @@ var MediaCard = function (_a) {
|
|
|
16652
16973
|
media.type === "video" && isClient && (React.createElement(React.Suspense, { fallback: null },
|
|
16653
16974
|
React.createElement(VideoPlayer$1, __assign({ isSupportingTextHidden: true }, media)))),
|
|
16654
16975
|
React.createElement("div", { className: "arc-MediaCard-content" },
|
|
16655
|
-
label && (React.createElement(
|
|
16656
|
-
React.createElement(Heading, {
|
|
16657
|
-
React.createElement(VerticalSpace, { size:
|
|
16976
|
+
label && (React.createElement("div", { className: "arc-MediaCard-label" },
|
|
16977
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
16978
|
+
React.createElement(VerticalSpace, { size: "16" }))),
|
|
16658
16979
|
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) }),
|
|
16659
16980
|
React.createElement("div", { className: "arc-MediaCard-textContainer" }, text && (React.createElement(React.Fragment, null,
|
|
16660
|
-
React.createElement(VerticalSpace, { size:
|
|
16981
|
+
React.createElement(VerticalSpace, { size: "16" }),
|
|
16661
16982
|
React.createElement(Text, null, text),
|
|
16662
16983
|
(url || metaText) && React.createElement(VerticalSpace, { size: "24" })))),
|
|
16663
16984
|
React.createElement(CardFooter, { buttonIcon: buttonIcon, metaText: metaText, showButton: Boolean(url) && media.type !== "video", isHovered: showHoverState })))));
|
|
@@ -17314,7 +17635,7 @@ var MenuItemImpl = React__namespace.forwardRef(
|
|
|
17314
17635
|
}
|
|
17315
17636
|
);
|
|
17316
17637
|
var CHECKBOX_ITEM_NAME$1 = "MenuCheckboxItem";
|
|
17317
|
-
var MenuCheckboxItem
|
|
17638
|
+
var MenuCheckboxItem = React__namespace.forwardRef(
|
|
17318
17639
|
(props, forwardedRef) => {
|
|
17319
17640
|
const { checked = false, onCheckedChange, ...checkboxItemProps } = props;
|
|
17320
17641
|
return /* @__PURE__ */ jsxRuntime.jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -17334,23 +17655,23 @@ var MenuCheckboxItem$1 = React__namespace.forwardRef(
|
|
|
17334
17655
|
) });
|
|
17335
17656
|
}
|
|
17336
17657
|
);
|
|
17337
|
-
MenuCheckboxItem
|
|
17658
|
+
MenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME$1;
|
|
17338
17659
|
var RADIO_GROUP_NAME$1 = "MenuRadioGroup";
|
|
17339
17660
|
var [RadioGroupProvider, useRadioGroupContext] = createMenuContext(
|
|
17340
17661
|
RADIO_GROUP_NAME$1,
|
|
17341
17662
|
{ value: void 0, onValueChange: () => {
|
|
17342
17663
|
} }
|
|
17343
17664
|
);
|
|
17344
|
-
var MenuRadioGroup
|
|
17665
|
+
var MenuRadioGroup = React__namespace.forwardRef(
|
|
17345
17666
|
(props, forwardedRef) => {
|
|
17346
17667
|
const { value, onValueChange, ...groupProps } = props;
|
|
17347
17668
|
const handleValueChange = useCallbackRef$1(onValueChange);
|
|
17348
17669
|
return /* @__PURE__ */ jsxRuntime.jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsxRuntime.jsx(MenuGroup$1, { ...groupProps, ref: forwardedRef }) });
|
|
17349
17670
|
}
|
|
17350
17671
|
);
|
|
17351
|
-
MenuRadioGroup
|
|
17672
|
+
MenuRadioGroup.displayName = RADIO_GROUP_NAME$1;
|
|
17352
17673
|
var RADIO_ITEM_NAME$1 = "MenuRadioItem";
|
|
17353
|
-
var MenuRadioItem
|
|
17674
|
+
var MenuRadioItem = React__namespace.forwardRef(
|
|
17354
17675
|
(props, forwardedRef) => {
|
|
17355
17676
|
const { value, ...radioItemProps } = props;
|
|
17356
17677
|
const context = useRadioGroupContext(RADIO_ITEM_NAME$1, props.__scopeMenu);
|
|
@@ -17372,7 +17693,7 @@ var MenuRadioItem$1 = React__namespace.forwardRef(
|
|
|
17372
17693
|
) });
|
|
17373
17694
|
}
|
|
17374
17695
|
);
|
|
17375
|
-
MenuRadioItem
|
|
17696
|
+
MenuRadioItem.displayName = RADIO_ITEM_NAME$1;
|
|
17376
17697
|
var ITEM_INDICATOR_NAME = "MenuItemIndicator";
|
|
17377
17698
|
var [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(
|
|
17378
17699
|
ITEM_INDICATOR_NAME,
|
|
@@ -17426,7 +17747,7 @@ var MenuArrow = React__namespace.forwardRef(
|
|
|
17426
17747
|
MenuArrow.displayName = ARROW_NAME$3;
|
|
17427
17748
|
var SUB_NAME = "MenuSub";
|
|
17428
17749
|
var [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);
|
|
17429
|
-
var MenuSub
|
|
17750
|
+
var MenuSub = (props) => {
|
|
17430
17751
|
const { __scopeMenu, children, open = false, onOpenChange } = props;
|
|
17431
17752
|
const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);
|
|
17432
17753
|
const popperScope = usePopperScope$1(__scopeMenu);
|
|
@@ -17459,9 +17780,9 @@ var MenuSub$1 = (props) => {
|
|
|
17459
17780
|
}
|
|
17460
17781
|
) });
|
|
17461
17782
|
};
|
|
17462
|
-
MenuSub
|
|
17783
|
+
MenuSub.displayName = SUB_NAME;
|
|
17463
17784
|
var SUB_TRIGGER_NAME$1 = "MenuSubTrigger";
|
|
17464
|
-
var MenuSubTrigger
|
|
17785
|
+
var MenuSubTrigger = React__namespace.forwardRef(
|
|
17465
17786
|
(props, forwardedRef) => {
|
|
17466
17787
|
const context = useMenuContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17467
17788
|
const rootContext = useMenuRootContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
@@ -17560,9 +17881,9 @@ var MenuSubTrigger$1 = React__namespace.forwardRef(
|
|
|
17560
17881
|
) });
|
|
17561
17882
|
}
|
|
17562
17883
|
);
|
|
17563
|
-
MenuSubTrigger
|
|
17884
|
+
MenuSubTrigger.displayName = SUB_TRIGGER_NAME$1;
|
|
17564
17885
|
var SUB_CONTENT_NAME$1 = "MenuSubContent";
|
|
17565
|
-
var MenuSubContent
|
|
17886
|
+
var MenuSubContent = React__namespace.forwardRef(
|
|
17566
17887
|
(props, forwardedRef) => {
|
|
17567
17888
|
const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17568
17889
|
const { forceMount = portalContext.forceMount, ...subContentProps } = props;
|
|
@@ -17608,7 +17929,7 @@ var MenuSubContent$1 = React__namespace.forwardRef(
|
|
|
17608
17929
|
) }) }) });
|
|
17609
17930
|
}
|
|
17610
17931
|
);
|
|
17611
|
-
MenuSubContent
|
|
17932
|
+
MenuSubContent.displayName = SUB_CONTENT_NAME$1;
|
|
17612
17933
|
function getOpenState(open) {
|
|
17613
17934
|
return open ? "open" : "closed";
|
|
17614
17935
|
}
|
|
@@ -17669,15 +17990,15 @@ var Content2$2 = MenuContent$1;
|
|
|
17669
17990
|
var Group = MenuGroup$1;
|
|
17670
17991
|
var Label = MenuLabel$1;
|
|
17671
17992
|
var Item2$1 = MenuItem$1;
|
|
17672
|
-
var CheckboxItem = MenuCheckboxItem
|
|
17673
|
-
var RadioGroup$1 = MenuRadioGroup
|
|
17674
|
-
var RadioItem = MenuRadioItem
|
|
17993
|
+
var CheckboxItem = MenuCheckboxItem;
|
|
17994
|
+
var RadioGroup$1 = MenuRadioGroup;
|
|
17995
|
+
var RadioItem = MenuRadioItem;
|
|
17675
17996
|
var ItemIndicator = MenuItemIndicator;
|
|
17676
17997
|
var Separator = MenuSeparator$1;
|
|
17677
17998
|
var Arrow2$1 = MenuArrow;
|
|
17678
|
-
var Sub = MenuSub
|
|
17679
|
-
var SubTrigger = MenuSubTrigger
|
|
17680
|
-
var SubContent = MenuSubContent
|
|
17999
|
+
var Sub = MenuSub;
|
|
18000
|
+
var SubTrigger = MenuSubTrigger;
|
|
18001
|
+
var SubContent = MenuSubContent;
|
|
17681
18002
|
|
|
17682
18003
|
var DROPDOWN_MENU_NAME = "DropdownMenu";
|
|
17683
18004
|
var [createDropdownMenuContext, createDropdownMenuScope] = createContextScope$1(
|
|
@@ -17954,17 +18275,17 @@ var MenuItemContentTemplate = function (_a) {
|
|
|
17954
18275
|
React.createElement(Icon$1, { icon: trailingIcon, size: 24 }))))) : null));
|
|
17955
18276
|
};
|
|
17956
18277
|
|
|
17957
|
-
var
|
|
18278
|
+
var MenuItemCheckbox = function (_a) {
|
|
17958
18279
|
var children = _a.children, checked = _a.checked, onCheckedChange = _a.onCheckedChange, isDisabled = _a.isDisabled, onSelect = _a.onSelect, id = _a.id, _b = _a.shouldKeepOpen, shouldKeepOpen = _b === void 0 ? true : _b, props = __rest(_a, ["children", "checked", "onCheckedChange", "isDisabled", "onSelect", "id", "shouldKeepOpen"]);
|
|
17959
|
-
return (React.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-
|
|
18280
|
+
return (React.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-MenuItemCheckbox", checked: checked, onCheckedChange: onCheckedChange, disabled: isDisabled, onSelect: function (event) {
|
|
17960
18281
|
if (shouldKeepOpen) {
|
|
17961
18282
|
event.preventDefault();
|
|
17962
18283
|
onCheckedChange === null || onCheckedChange === void 0 ? void 0 : onCheckedChange(!checked);
|
|
17963
18284
|
}
|
|
17964
18285
|
onSelect === null || onSelect === void 0 ? void 0 : onSelect(event);
|
|
17965
18286
|
}, id: id }, filterAttrs(props)),
|
|
17966
|
-
React.createElement("div", { className: classNames("arc-
|
|
17967
|
-
"arc-
|
|
18287
|
+
React.createElement("div", { className: classNames("arc-MenuItemCheckbox-box", {
|
|
18288
|
+
"arc-MenuItemCheckbox-box--checked": checked,
|
|
17968
18289
|
}) }, checked && (React.createElement("svg", { style: { width: 14, height: 11 }, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
17969
18290
|
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" })))),
|
|
17970
18291
|
React.createElement(MenuItemContentTemplate, null, children)));
|
|
@@ -17978,21 +18299,6 @@ var MenuContent = React.forwardRef(function (_a, ref) {
|
|
|
17978
18299
|
return (React.createElement(Content2$1, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 12, loop: true, collisionPadding: 12, forceMount: true, align: align, alignOffset: alignOffset, side: side }, filterAttrs(props)), children));
|
|
17979
18300
|
});
|
|
17980
18301
|
|
|
17981
|
-
/**
|
|
17982
|
-
* Use `Rule` to display a horizontal or vertical rule.
|
|
17983
|
-
*/
|
|
17984
|
-
var Rule = function (_a, props) {
|
|
17985
|
-
var _b;
|
|
17986
|
-
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
17987
|
-
var surface = React.useContext(Context$3).surface;
|
|
17988
|
-
return (React.createElement("hr", __assign({ className: classNames((_b = {
|
|
17989
|
-
"arc-Rule": true
|
|
17990
|
-
},
|
|
17991
|
-
_b["arc-Rule--".concat(orientation)] = true,
|
|
17992
|
-
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
17993
|
-
_b)) }, filterAttrs(props))));
|
|
17994
|
-
};
|
|
17995
|
-
|
|
17996
18302
|
/**
|
|
17997
18303
|
* Displays footer content at the bottom of the menu.
|
|
17998
18304
|
*/
|
|
@@ -18066,9 +18372,9 @@ var MenuPortal = function (_a) {
|
|
|
18066
18372
|
/**
|
|
18067
18373
|
* Groups menu items allowing single selection from multiple options.
|
|
18068
18374
|
*/
|
|
18069
|
-
var
|
|
18375
|
+
var MenuGroupSingleSelect = function (_a) {
|
|
18070
18376
|
var children = _a.children, value = _a.value, onValueChange = _a.onValueChange, props = __rest(_a, ["children", "value", "onValueChange"]);
|
|
18071
|
-
return (React.createElement(RadioGroup2, __assign({ className: "arc-
|
|
18377
|
+
return (React.createElement(RadioGroup2, __assign({ className: "arc-MenuGroupSingleSelect", value: value, onValueChange: onValueChange }, filterAttrs(props)), children));
|
|
18072
18378
|
};
|
|
18073
18379
|
|
|
18074
18380
|
/**
|
|
@@ -18130,9 +18436,9 @@ const BtIconTickAlt2Px =
|
|
|
18130
18436
|
/**
|
|
18131
18437
|
* A selectable menu item used within a radio group.
|
|
18132
18438
|
*/
|
|
18133
|
-
var
|
|
18439
|
+
var MenuItemSingleSelect = function (_a) {
|
|
18134
18440
|
var children = _a.children, value = _a.value, _b = _a.disabled, disabled = _b === void 0 ? false : _b, onSelect = _a.onSelect, leadingIcon = _a.leadingIcon, supportingText = _a.supportingText, _c = _a.shouldKeepOpen, shouldKeepOpen = _c === void 0 ? true : _c, props = __rest(_a, ["children", "value", "disabled", "onSelect", "leadingIcon", "supportingText", "shouldKeepOpen"]);
|
|
18135
|
-
return (React.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-
|
|
18441
|
+
return (React.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-MenuItemSingleSelect", value: value, disabled: disabled, onSelect: function (event) {
|
|
18136
18442
|
if (shouldKeepOpen) {
|
|
18137
18443
|
event.preventDefault();
|
|
18138
18444
|
}
|
|
@@ -18174,9 +18480,9 @@ var MenuSeparator = function (props) {
|
|
|
18174
18480
|
};
|
|
18175
18481
|
|
|
18176
18482
|
/**
|
|
18177
|
-
* Container for
|
|
18483
|
+
* Container for multi-level menu content within a dropdown menu.
|
|
18178
18484
|
*/
|
|
18179
|
-
var
|
|
18485
|
+
var MenuItemMultiLevel = function (_a) {
|
|
18180
18486
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
18181
18487
|
return React.createElement(Sub2, __assign({}, filterAttrs(props)),
|
|
18182
18488
|
" ",
|
|
@@ -18184,17 +18490,17 @@ var MenuSub = function (_a) {
|
|
|
18184
18490
|
};
|
|
18185
18491
|
|
|
18186
18492
|
/**
|
|
18187
|
-
* The
|
|
18493
|
+
* The multi-level menu content that pops out when a menu item with children is hovered or clicked.
|
|
18188
18494
|
*/
|
|
18189
|
-
var
|
|
18495
|
+
var MenuItemMultiLevelContent = React.forwardRef(function (_a, ref) {
|
|
18190
18496
|
var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "alignOffset"]);
|
|
18191
|
-
return (React.createElement(SubContent2, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent
|
|
18497
|
+
return (React.createElement(SubContent2, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 24, collisionPadding: 12, avoidCollisions: true, alignOffset: alignOffset }, filterAttrs(props)), children));
|
|
18192
18498
|
});
|
|
18193
18499
|
|
|
18194
18500
|
/**
|
|
18195
|
-
* Trigger element that opens a
|
|
18501
|
+
* Trigger element that opens a multi-level menu when selected.
|
|
18196
18502
|
*/
|
|
18197
|
-
var
|
|
18503
|
+
var MenuItemMultiLevelTrigger = function (_a) {
|
|
18198
18504
|
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"]);
|
|
18199
18505
|
return (React.createElement(SubTrigger2, __assign({ className: "arc-MenuItem arc-MenuItem--trigger", disabled: isDisabled, "aria-label": ariaLabel }, filterAttrs(props)),
|
|
18200
18506
|
React.createElement("div", { className: "arc-MenuItem-content" },
|
|
@@ -18459,138 +18765,6 @@ var ProgressBar = function (_a) {
|
|
|
18459
18765
|
React.createElement(ThemeIcon, { icon: PROGRESS_BAR_ICON_MAP[action.icon], size: 24 }))))))))));
|
|
18460
18766
|
};
|
|
18461
18767
|
|
|
18462
|
-
var shorterCssColorNames;
|
|
18463
|
-
var hasRequiredShorterCssColorNames;
|
|
18464
|
-
|
|
18465
|
-
function requireShorterCssColorNames () {
|
|
18466
|
-
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
18467
|
-
hasRequiredShorterCssColorNames = 1;
|
|
18468
|
-
shorterCssColorNames = {
|
|
18469
|
-
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18470
|
-
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
18471
|
-
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
18472
|
-
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
18473
|
-
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
18474
|
-
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
18475
|
-
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
18476
|
-
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
18477
|
-
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
18478
|
-
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
18479
|
-
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18480
|
-
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
18481
|
-
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
18482
|
-
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
18483
|
-
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
18484
|
-
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
18485
|
-
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
18486
|
-
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
18487
|
-
green: /#008000(ff)?(?!\w)/gi,
|
|
18488
|
-
grey: /#808080(ff)?(?!\w)/gi,
|
|
18489
|
-
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
18490
|
-
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
18491
|
-
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
18492
|
-
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
18493
|
-
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
18494
|
-
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
18495
|
-
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
18496
|
-
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
18497
|
-
maroon: /#800000(ff)?(?!\w)/gi,
|
|
18498
|
-
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
18499
|
-
navy: /#000080(ff)?(?!\w)/gi,
|
|
18500
|
-
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
18501
|
-
olive: /#808000(ff)?(?!\w)/gi,
|
|
18502
|
-
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
18503
|
-
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
18504
|
-
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
18505
|
-
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
18506
|
-
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
18507
|
-
purple: /#800080(ff)?(?!\w)/gi,
|
|
18508
|
-
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
18509
|
-
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
18510
|
-
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
18511
|
-
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
18512
|
-
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
18513
|
-
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
18514
|
-
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
18515
|
-
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
18516
|
-
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
18517
|
-
teal: /#008080(ff)?(?!\w)/gi,
|
|
18518
|
-
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
18519
|
-
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
18520
|
-
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
18521
|
-
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
18522
|
-
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
18523
|
-
};
|
|
18524
|
-
return shorterCssColorNames;
|
|
18525
|
-
}
|
|
18526
|
-
|
|
18527
|
-
var miniSvgDataUri;
|
|
18528
|
-
var hasRequiredMiniSvgDataUri;
|
|
18529
|
-
|
|
18530
|
-
function requireMiniSvgDataUri () {
|
|
18531
|
-
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
18532
|
-
hasRequiredMiniSvgDataUri = 1;
|
|
18533
|
-
var shorterNames = requireShorterCssColorNames();
|
|
18534
|
-
var REGEX = {
|
|
18535
|
-
whitespace: /\s+/g,
|
|
18536
|
-
urlHexPairs: /%[\dA-F]{2}/g,
|
|
18537
|
-
quotes: /"/g,
|
|
18538
|
-
};
|
|
18539
|
-
|
|
18540
|
-
function collapseWhitespace(str) {
|
|
18541
|
-
return str.trim().replace(REGEX.whitespace, ' ');
|
|
18542
|
-
}
|
|
18543
|
-
|
|
18544
|
-
function dataURIPayload(string) {
|
|
18545
|
-
return encodeURIComponent(string)
|
|
18546
|
-
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
18547
|
-
}
|
|
18548
|
-
|
|
18549
|
-
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
18550
|
-
// their equivalent URL-encoded hex codes.
|
|
18551
|
-
function colorCodeToShorterNames(string) {
|
|
18552
|
-
Object.keys(shorterNames).forEach(function(key) {
|
|
18553
|
-
if (shorterNames[key].test(string)) {
|
|
18554
|
-
string = string.replace(shorterNames[key], key);
|
|
18555
|
-
}
|
|
18556
|
-
});
|
|
18557
|
-
|
|
18558
|
-
return string;
|
|
18559
|
-
}
|
|
18560
|
-
|
|
18561
|
-
function specialHexEncode(match) {
|
|
18562
|
-
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
18563
|
-
case '%20': return ' ';
|
|
18564
|
-
case '%3D': return '=';
|
|
18565
|
-
case '%3A': return ':';
|
|
18566
|
-
case '%2F': return '/';
|
|
18567
|
-
default: return match.toLowerCase(); // compresses better
|
|
18568
|
-
}
|
|
18569
|
-
}
|
|
18570
|
-
|
|
18571
|
-
function svgToTinyDataUri(svgString) {
|
|
18572
|
-
if (typeof svgString !== 'string') {
|
|
18573
|
-
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
18574
|
-
}
|
|
18575
|
-
// Strip the Byte-Order Mark if the SVG has one
|
|
18576
|
-
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
18577
|
-
|
|
18578
|
-
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
18579
|
-
.replace(REGEX.quotes, "'");
|
|
18580
|
-
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
18581
|
-
}
|
|
18582
|
-
|
|
18583
|
-
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
18584
|
-
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
18585
|
-
};
|
|
18586
|
-
|
|
18587
|
-
miniSvgDataUri = svgToTinyDataUri;
|
|
18588
|
-
return miniSvgDataUri;
|
|
18589
|
-
}
|
|
18590
|
-
|
|
18591
|
-
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
18592
|
-
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
18593
|
-
|
|
18594
18768
|
// src/capitalise-first-letter/capitalise-first-letter.ts
|
|
18595
18769
|
var capitaliseFirstLetter = (word) => {
|
|
18596
18770
|
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
@@ -18649,18 +18823,152 @@ var ProgressStepperItem = function (_a) {
|
|
|
18649
18823
|
|
|
18650
18824
|
/** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
|
|
18651
18825
|
var ProgressStepper = function (_a) {
|
|
18652
|
-
var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition"]);
|
|
18826
|
+
var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, ref = _a.ref, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "ref"]);
|
|
18653
18827
|
var items = React.Children.toArray(children);
|
|
18654
18828
|
var getStepStatus = function (item) {
|
|
18655
18829
|
var _a;
|
|
18656
18830
|
return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
|
|
18657
18831
|
};
|
|
18658
|
-
return (React.createElement("div", __assign({ className: classNames("arc-ProgressStepper", {
|
|
18832
|
+
return (React.createElement("div", __assign({ ref: ref, className: classNames("arc-ProgressStepper", {
|
|
18659
18833
|
"arc-ProgressStepper--vertical": direction === "vertical",
|
|
18660
18834
|
}) }, filterAttrs(props)), items.map(function (item, index) { return (React.createElement(React.Fragment, { key: "StepperItem-".concat(index) },
|
|
18661
18835
|
React.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, invertLabelPosition: invertLabelPosition, direction: direction, isExpandable: isExpandable, size: size, previousStep: getStepStatus(items[index - 1]) }, filterAttrs(item.props))))); })));
|
|
18662
18836
|
};
|
|
18663
18837
|
|
|
18838
|
+
/** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
|
|
18839
|
+
var ProgressStepperOverflow = React.forwardRef(function (_a, stepperRef) {
|
|
18840
|
+
var children = _a.children, onIndexChange = _a.onIndexChange, onLoadStep = _a.onLoadStep, size = _a.size, invertLabelPosition = _a.invertLabelPosition, _b = _a.offsetLeft, offsetLeft = _b === void 0 ? 24 : _b, props = __rest(_a, ["children", "onIndexChange", "onLoadStep", "size", "invertLabelPosition", "offsetLeft"]);
|
|
18841
|
+
var _c = React.useState(onLoadStep ? onLoadStep : 0), activeIndex = _c[0], setActiveIndex = _c[1];
|
|
18842
|
+
var _d = React.useState(0), closestScrolledIndex = _d[0], setClosestScrolledIndex = _d[1];
|
|
18843
|
+
var _e = React.useState(true), lastStepVisible = _e[0], setLastStepVisible = _e[1];
|
|
18844
|
+
var containerRef = React.useRef(null);
|
|
18845
|
+
React.useImperativeHandle(stepperRef, function () { return ({
|
|
18846
|
+
handleStepScroll: handleStepScroll,
|
|
18847
|
+
scrollToStep: scrollToStep,
|
|
18848
|
+
handleViewScroll: handleViewScroll,
|
|
18849
|
+
isLastChildVisible: isLastChildVisible,
|
|
18850
|
+
}); });
|
|
18851
|
+
// Add Horizontal Scroll Event Listener
|
|
18852
|
+
React.useEffect(function () {
|
|
18853
|
+
var _a, _b;
|
|
18854
|
+
var checkClosest = debounce(function () {
|
|
18855
|
+
var closestIndex = findClosestIndex();
|
|
18856
|
+
setClosestScrolledIndex(closestIndex);
|
|
18857
|
+
}, 100);
|
|
18858
|
+
var checkLastChild = debounce(function () {
|
|
18859
|
+
var lastVisible = isLastChildVisible();
|
|
18860
|
+
if (lastVisible) {
|
|
18861
|
+
setLastStepVisible(true);
|
|
18862
|
+
}
|
|
18863
|
+
else
|
|
18864
|
+
setLastStepVisible(false);
|
|
18865
|
+
}, 100);
|
|
18866
|
+
(_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", checkLastChild);
|
|
18867
|
+
(_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.addEventListener("scroll", checkClosest);
|
|
18868
|
+
return function () {
|
|
18869
|
+
var _a;
|
|
18870
|
+
(_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", checkClosest);
|
|
18871
|
+
checkLastChild.cancel();
|
|
18872
|
+
};
|
|
18873
|
+
}, []);
|
|
18874
|
+
// Scroll to activeIndex
|
|
18875
|
+
React.useEffect(function () {
|
|
18876
|
+
scrollTo();
|
|
18877
|
+
}, [activeIndex]);
|
|
18878
|
+
// Exposing changes in activeIndex outside of component
|
|
18879
|
+
React.useEffect(function () {
|
|
18880
|
+
onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(closestScrolledIndex);
|
|
18881
|
+
isLastChildVisible();
|
|
18882
|
+
}, [closestScrolledIndex, onIndexChange, lastStepVisible]);
|
|
18883
|
+
// helper functions - start
|
|
18884
|
+
var getProgressStepper = function () { var _a; return (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.firstChild; };
|
|
18885
|
+
var getStepChildren = function () {
|
|
18886
|
+
var _a;
|
|
18887
|
+
return Array.from(((_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children) || []);
|
|
18888
|
+
};
|
|
18889
|
+
var getLeftRects = function (children) {
|
|
18890
|
+
var container = getProgressStepper();
|
|
18891
|
+
if (!container)
|
|
18892
|
+
return [];
|
|
18893
|
+
var parentRect = container.getBoundingClientRect();
|
|
18894
|
+
return children.map(function (child) {
|
|
18895
|
+
var childRect = child.getBoundingClientRect();
|
|
18896
|
+
return {
|
|
18897
|
+
left: childRect.left - parentRect.left,
|
|
18898
|
+
};
|
|
18899
|
+
});
|
|
18900
|
+
};
|
|
18901
|
+
var indexOfClosest = function (values) {
|
|
18902
|
+
return values.indexOf(Math.min.apply(Math, values));
|
|
18903
|
+
};
|
|
18904
|
+
// helper functions - end
|
|
18905
|
+
var isLastChildVisible = function () {
|
|
18906
|
+
var _a;
|
|
18907
|
+
var steps = getStepChildren();
|
|
18908
|
+
var lastStep = steps[steps.length - 1];
|
|
18909
|
+
var rect = lastStep.getBoundingClientRect();
|
|
18910
|
+
var containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
18911
|
+
return rect.right <= containerRect.right;
|
|
18912
|
+
};
|
|
18913
|
+
// Used for onScroll function of scrolling without buttons
|
|
18914
|
+
var findClosestIndex = function () {
|
|
18915
|
+
var _a, _b;
|
|
18916
|
+
var children = getStepChildren();
|
|
18917
|
+
var scrolledAmount = (_b = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) !== null && _b !== void 0 ? _b : 0;
|
|
18918
|
+
// compare the scrolled amount to the intial left edge distance for each step
|
|
18919
|
+
var getScrollDistances = function (children, scrolledAmount) {
|
|
18920
|
+
return getLeftRects(children).map(function (rect) {
|
|
18921
|
+
return Math.abs(scrolledAmount - rect.left);
|
|
18922
|
+
});
|
|
18923
|
+
};
|
|
18924
|
+
var closestIndex = indexOfClosest(getScrollDistances(children, scrolledAmount));
|
|
18925
|
+
return closestIndex;
|
|
18926
|
+
};
|
|
18927
|
+
// Scroll active step to the far left of the page
|
|
18928
|
+
var scrollTo = function () {
|
|
18929
|
+
var _a, _b;
|
|
18930
|
+
var activeStep = (_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children[activeIndex];
|
|
18931
|
+
if (activeStep) {
|
|
18932
|
+
(_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.scrollTo({
|
|
18933
|
+
left: activeStep.offsetLeft - offsetLeft,
|
|
18934
|
+
behavior: "smooth",
|
|
18935
|
+
});
|
|
18936
|
+
}
|
|
18937
|
+
};
|
|
18938
|
+
var handleStepScroll = function (increment) {
|
|
18939
|
+
// Account for any manual scrolling set closest index to active index
|
|
18940
|
+
setActiveIndex(closestScrolledIndex);
|
|
18941
|
+
var newIndex = closestScrolledIndex + increment;
|
|
18942
|
+
setActiveIndex(newIndex);
|
|
18943
|
+
// If clicking backwards to include half visible step
|
|
18944
|
+
if (closestScrolledIndex + increment === activeIndex) {
|
|
18945
|
+
scrollTo();
|
|
18946
|
+
}
|
|
18947
|
+
if (closestScrolledIndex + increment < 0) {
|
|
18948
|
+
setActiveIndex(0);
|
|
18949
|
+
scrollTo();
|
|
18950
|
+
}
|
|
18951
|
+
};
|
|
18952
|
+
// Used to scroll by Parent width
|
|
18953
|
+
var handleViewScroll = function (direction) {
|
|
18954
|
+
var _a;
|
|
18955
|
+
var clientWidth = ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
|
|
18956
|
+
var stepper = containerRef.current;
|
|
18957
|
+
if (!stepper)
|
|
18958
|
+
return;
|
|
18959
|
+
stepper.scrollBy({
|
|
18960
|
+
left: direction ? clientWidth : -clientWidth,
|
|
18961
|
+
behavior: "smooth",
|
|
18962
|
+
});
|
|
18963
|
+
};
|
|
18964
|
+
// Used to set a specific step to jump to on a button click
|
|
18965
|
+
var scrollToStep = function (step) {
|
|
18966
|
+
setActiveIndex(step);
|
|
18967
|
+
};
|
|
18968
|
+
return (React.createElement("div", __assign({ ref: containerRef, className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
|
|
18969
|
+
React.createElement(ProgressStepper, { size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
|
|
18970
|
+
});
|
|
18971
|
+
|
|
18664
18972
|
var RadioContext$1 = React.createContext({});
|
|
18665
18973
|
var Provider$3 = RadioContext$1.Provider;
|
|
18666
18974
|
var useRadioContext$1 = function () {
|
|
@@ -18796,7 +19104,10 @@ var ScrollToTop = function (_a) {
|
|
|
18796
19104
|
setHasScrolled(window.scrollY > 0);
|
|
18797
19105
|
}, 100);
|
|
18798
19106
|
window.addEventListener("scroll", handleScroll);
|
|
18799
|
-
return function () {
|
|
19107
|
+
return function () {
|
|
19108
|
+
window.removeEventListener("scroll", handleScroll);
|
|
19109
|
+
handleScroll.cancel();
|
|
19110
|
+
};
|
|
18800
19111
|
});
|
|
18801
19112
|
var onClick = function () {
|
|
18802
19113
|
window.scrollTo({
|
|
@@ -18908,16 +19219,20 @@ var SiteFooter = function (_a) {
|
|
|
18908
19219
|
React.createElement("span", { className: "arc-SiteFooter-copyrightSymbol" }, "\u00A9"), " ".concat(currentYear || new Date().getFullYear())),
|
|
18909
19220
|
React.createElement(BrandLogo, { label: logoLabel }))))))));
|
|
18910
19221
|
};
|
|
18911
|
-
var
|
|
18912
|
-
var children = _a.children,
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
React.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
19222
|
+
var SiteFooterItemDisclosure = function (_a) {
|
|
19223
|
+
var title = _a.title, children = _a.children, open = _a.open, tabIndex = _a.tabIndex;
|
|
19224
|
+
return (React.createElement("details", { className: "arc-SiteFooter-disclosure", open: open },
|
|
19225
|
+
React.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: tabIndex },
|
|
18916
19226
|
React.createElement("span", { className: "arc-SiteFooter-icon" },
|
|
18917
19227
|
React.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
|
|
18918
19228
|
React.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
|
|
18919
19229
|
React.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
|
|
18920
19230
|
};
|
|
19231
|
+
var SiteFooterItemGroup = function (props) { return (React.createElement(React.Fragment, null,
|
|
19232
|
+
React.createElement(Visible, { "data-testid": "mobile-disclosure", xs: true, s: true },
|
|
19233
|
+
React.createElement(SiteFooterItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
|
|
19234
|
+
React.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
|
|
19235
|
+
React.createElement(SiteFooterItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 }))))); };
|
|
18921
19236
|
var SiteFooterItem = function (_a) {
|
|
18922
19237
|
var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
|
|
18923
19238
|
return (React.createElement("li", __assign({ className: "arc-SiteFooter-item" }, filterAttrs(props)),
|
|
@@ -18940,35 +19255,33 @@ var SiteFooterV2 = function (_a) {
|
|
|
18940
19255
|
React.createElement("h2", { className: "arc-SiteFooterV2-slogan" }, slogan),
|
|
18941
19256
|
React.createElement(VerticalSpace, { size: "32" }))),
|
|
18942
19257
|
React.createElement("div", { className: "arc-SiteFooterV2-main-utility" }, children)),
|
|
18943
|
-
React.createElement(VerticalSpace, { size: "24" })
|
|
18944
|
-
" "));
|
|
19258
|
+
React.createElement(VerticalSpace, { size: "24" })));
|
|
18945
19259
|
};
|
|
18946
19260
|
|
|
18947
|
-
/**
|
|
18948
|
-
* Do not edit directly
|
|
18949
|
-
* Generated on Tue, 10 Jun 2025 09:53:42 GMT
|
|
18950
|
-
*/
|
|
18951
|
-
var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
|
|
18952
|
-
|
|
18953
19261
|
var SiteFooterV2Main = function (_a) {
|
|
18954
19262
|
var children = _a.children, _b = _a.columns, columns = _b === void 0 ? 4 : _b, props = __rest(_a, ["children", "columns"]);
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
var
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
return (React.createElement("details", __assign({ open: isMinWidthArcBreakpointM, className: classNames("arc-SiteFooterV2-disclosure", {
|
|
18964
|
-
"arc-SiteFooterV2-disclosure--hidden": !isMinWidthArcBreakpointM && hideDisclosure,
|
|
18965
|
-
}), "aria-label": title }, filterAttrs(props)),
|
|
18966
|
-
React.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
19263
|
+
return (React.createElement("nav", __assign({ className: classNames("arc-SiteFooterV2-main", {
|
|
19264
|
+
"arc-SiteFooterV2-main-3Columns": columns === 3,
|
|
19265
|
+
}), "aria-label": "Footer navigation links" }, filterAttrs(props)), children));
|
|
19266
|
+
};
|
|
19267
|
+
var SiteFooterV2ItemDisclosure = function (_a) {
|
|
19268
|
+
var children = _a.children, title = _a.title, open = _a.open, tabIndex = _a.tabIndex, props = __rest(_a, ["children", "title", "open", "tabIndex"]);
|
|
19269
|
+
return (React.createElement("details", __assign({ open: open, className: "arc-SiteFooterV2-disclosure", "aria-label": title }, filterAttrs(props)),
|
|
19270
|
+
React.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: tabIndex },
|
|
18967
19271
|
React.createElement("span", { className: "arc-SiteFooterV2-icon" },
|
|
18968
19272
|
React.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
|
|
18969
19273
|
React.createElement("h2", { className: "arc-SiteFooterV2-itemGroupTitle" }, title)),
|
|
18970
19274
|
React.createElement("ul", { className: "arc-SiteFooterV2-itemGroup" }, children)));
|
|
18971
19275
|
};
|
|
19276
|
+
var SiteFooterV2ItemGroup = function (_a) {
|
|
19277
|
+
var hideDisclosure = _a.hideDisclosure, props = __rest(_a, ["hideDisclosure"]);
|
|
19278
|
+
return (React.createElement("div", null,
|
|
19279
|
+
React.createElement(Visible, { "data-testid": "mobile-disclosure", xs: !hideDisclosure, s: !hideDisclosure },
|
|
19280
|
+
React.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
|
|
19281
|
+
React.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
|
|
19282
|
+
React.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 })),
|
|
19283
|
+
React.createElement(VerticalSpace, { size: "12" }))));
|
|
19284
|
+
};
|
|
18972
19285
|
var SiteFooterV2Item = function (_a) {
|
|
18973
19286
|
var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
|
|
18974
19287
|
return (React.createElement("li", __assign({ className: "arc-SiteFooterV2-item" }, filterAttrs(props)),
|
|
@@ -19831,7 +20144,10 @@ var TabbedBanner = function (_a) {
|
|
|
19831
20144
|
React.useEffect(function () {
|
|
19832
20145
|
handleResize();
|
|
19833
20146
|
window.addEventListener("resize", handleResize);
|
|
19834
|
-
return function () {
|
|
20147
|
+
return function () {
|
|
20148
|
+
window.removeEventListener("resize", handleResize);
|
|
20149
|
+
handleResize.cancel();
|
|
20150
|
+
};
|
|
19835
20151
|
}, [isBelowArcSizeBreakpointsM]);
|
|
19836
20152
|
return (React.createElement("div", { className: "arc-TabbedBanner" }, !isBelowArcSizeBreakpointsM ? (React.createElement("div", null,
|
|
19837
20153
|
React.createElement(ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
|
|
@@ -20013,7 +20329,7 @@ var TextArea = React.forwardRef(function (_a, ref) {
|
|
|
20013
20329
|
var package_default = {
|
|
20014
20330
|
name: "@arc-ui/helpers",
|
|
20015
20331
|
private: true,
|
|
20016
|
-
version: "12.0.0-beta.
|
|
20332
|
+
version: "12.0.0-beta.20",
|
|
20017
20333
|
type: "module",
|
|
20018
20334
|
homepage: "https://ui.digital-ent-int.bt.com",
|
|
20019
20335
|
author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
@@ -20078,12 +20394,11 @@ var themes = ["bt-enterprise", "bt-business", "ee"];
|
|
|
20078
20394
|
|
|
20079
20395
|
var ThumbnailSignpost = function (_a) {
|
|
20080
20396
|
var text = _a.text, title = _a.title, img = _a.img, button = _a.button, props = __rest(_a, ["text", "title", "img", "button"]);
|
|
20081
|
-
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
|
|
20082
20397
|
return (React.createElement("div", __assign({ className: "arc-ThumbnailSignpost" }, filterAttrs(props)),
|
|
20083
20398
|
(img === null || img === void 0 ? void 0 : img.src) && (React.createElement("div", { className: "arc-ThumbnailSignpost-image" },
|
|
20084
20399
|
React.createElement(Image, __assign({}, img)))),
|
|
20085
20400
|
React.createElement("div", { className: "arc-ThumbnailSignpost-content" },
|
|
20086
|
-
React.createElement(
|
|
20401
|
+
React.createElement("span", { className: "arc-ThumbnailSignpost-heading" }, title),
|
|
20087
20402
|
React.createElement(VerticalSpace, { size: "8" }),
|
|
20088
20403
|
text,
|
|
20089
20404
|
React.createElement(ButtonV2, __assign({ buttonStyle: "compact", icon: BtIconArrowRight }, button)))));
|
|
@@ -22427,7 +22742,9 @@ var TypographyCard = function (_a) {
|
|
|
22427
22742
|
"arc-TypographyCard--onDarkSurface": surface === "dark",
|
|
22428
22743
|
}) }, filterAttrs(props)),
|
|
22429
22744
|
React.createElement("div", { className: "arc-TypographyCard-contentContainer" },
|
|
22430
|
-
label && (React.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22745
|
+
label && (React.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22746
|
+
React.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
22747
|
+
React.createElement(VerticalSpace, { size: "16" }))),
|
|
22431
22748
|
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) })),
|
|
22432
22749
|
React.createElement(CardFooter, { showButton: true, isDarkPathway: isDarkPathway, buttonIcon: buttonIcon, metaText: metaText, isHovered: showHoverState })));
|
|
22433
22750
|
};
|
|
@@ -25638,17 +25955,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
25638
25955
|
VideoPlayer: VideoPlayer
|
|
25639
25956
|
});
|
|
25640
25957
|
|
|
25641
|
-
var Visible = function (_a) {
|
|
25642
|
-
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, props = __rest(_a, ["children", "xs", "s", "m", "l", "xl"]);
|
|
25643
|
-
return (React.createElement("div", __assign({ className: classNames("arc-Visible", {
|
|
25644
|
-
"arc-Visible--xs": xs,
|
|
25645
|
-
"arc-Visible--s": s,
|
|
25646
|
-
"arc-Visible--m": m,
|
|
25647
|
-
"arc-Visible--l": l,
|
|
25648
|
-
"arc-Visible--xl": xl,
|
|
25649
|
-
}) }, filterAttrs(props)), children));
|
|
25650
|
-
};
|
|
25651
|
-
|
|
25652
25958
|
var Preview_1;
|
|
25653
25959
|
var hasRequiredPreview;
|
|
25654
25960
|
|
|
@@ -25833,10 +26139,14 @@ exports.ContentSwitcherList = ContentSwitcherList;
|
|
|
25833
26139
|
exports.ContentSwitcherTab = ContentSwitcherTab;
|
|
25834
26140
|
exports.DATE_FORMAT = DATE_FORMAT;
|
|
25835
26141
|
exports.DatePicker = DatePicker;
|
|
26142
|
+
exports.DatePickerRange = DatePickerRange;
|
|
25836
26143
|
exports.Disclosure = Disclosure;
|
|
25837
26144
|
exports.DisclosureMini = DisclosureMini;
|
|
25838
26145
|
exports.Download = Download;
|
|
25839
26146
|
exports.Drawer = Drawer;
|
|
26147
|
+
exports.DrawerContent = DrawerContent;
|
|
26148
|
+
exports.DrawerFooter = DrawerFooter;
|
|
26149
|
+
exports.DrawerHeader = DrawerHeader;
|
|
25840
26150
|
exports.Elevation = Elevation;
|
|
25841
26151
|
exports.Filter = Filter;
|
|
25842
26152
|
exports.FilterControl = FilterControl;
|
|
@@ -25846,7 +26156,7 @@ exports.FilterItems = FilterItems;
|
|
|
25846
26156
|
exports.FormControl = FormControl;
|
|
25847
26157
|
exports.FormControlContext = Context$2;
|
|
25848
26158
|
exports.GhostedHeroBanner = GhostedHeroBanner;
|
|
25849
|
-
exports.
|
|
26159
|
+
exports.GradientPageBackground = GradientPageBackground;
|
|
25850
26160
|
exports.Grid = Grid;
|
|
25851
26161
|
exports.GridCol = GridCol;
|
|
25852
26162
|
exports.GridRow = GridRow;
|
|
@@ -25869,22 +26179,22 @@ exports.Link = Link;
|
|
|
25869
26179
|
exports.Markup = Markup;
|
|
25870
26180
|
exports.MediaCard = MediaCard;
|
|
25871
26181
|
exports.Menu = Menu;
|
|
25872
|
-
exports.MenuCheckboxItem = MenuCheckboxItem;
|
|
25873
26182
|
exports.MenuContent = MenuContent;
|
|
25874
26183
|
exports.MenuFooter = MenuFooter;
|
|
25875
26184
|
exports.MenuGroup = MenuGroup;
|
|
26185
|
+
exports.MenuGroupSingleSelect = MenuGroupSingleSelect;
|
|
25876
26186
|
exports.MenuHeader = MenuHeader;
|
|
25877
26187
|
exports.MenuItem = MenuItem;
|
|
26188
|
+
exports.MenuItemCheckbox = MenuItemCheckbox;
|
|
25878
26189
|
exports.MenuItemContentTemplate = MenuItemContentTemplate;
|
|
26190
|
+
exports.MenuItemMultiLevel = MenuItemMultiLevel;
|
|
26191
|
+
exports.MenuItemMultiLevelContent = MenuItemMultiLevelContent;
|
|
26192
|
+
exports.MenuItemMultiLevelTrigger = MenuItemMultiLevelTrigger;
|
|
26193
|
+
exports.MenuItemSingleSelect = MenuItemSingleSelect;
|
|
25879
26194
|
exports.MenuLabel = MenuLabel;
|
|
25880
26195
|
exports.MenuPortal = MenuPortal;
|
|
25881
|
-
exports.MenuRadioGroup = MenuRadioGroup;
|
|
25882
|
-
exports.MenuRadioItem = MenuRadioItem;
|
|
25883
26196
|
exports.MenuScrollable = MenuScrollable;
|
|
25884
26197
|
exports.MenuSeparator = MenuSeparator;
|
|
25885
|
-
exports.MenuSub = MenuSub;
|
|
25886
|
-
exports.MenuSubContent = MenuSubContent;
|
|
25887
|
-
exports.MenuSubTrigger = MenuSubTrigger;
|
|
25888
26198
|
exports.MenuTrigger = MenuTrigger;
|
|
25889
26199
|
exports.Modal = Modal;
|
|
25890
26200
|
exports.Pagination = Pagination;
|
|
@@ -25896,6 +26206,7 @@ exports.PosterVideo = PosterVideo;
|
|
|
25896
26206
|
exports.ProgressBar = ProgressBar;
|
|
25897
26207
|
exports.ProgressStepper = ProgressStepper;
|
|
25898
26208
|
exports.ProgressStepperItem = ProgressStepperItem;
|
|
26209
|
+
exports.ProgressStepperOverflow = ProgressStepperOverflow;
|
|
25899
26210
|
exports.RadioCardGroup = RadioCardGroup;
|
|
25900
26211
|
exports.RadioCardGroupInput = RadioCardGroupInput;
|
|
25901
26212
|
exports.RadioGroup = RadioGroup;
|