@arc-ui/components 12.0.0-beta.18 → 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/Checkbox.cjs +2 -2
- package/lib/Checkbox/Checkbox.mjs +2 -2
- package/lib/Checkbox/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +3 -3
- package/lib/ComboBox/ComboBox.mjs +3 -3
- 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/FormControl.cjs +1 -1
- package/lib/FormControl/FormControl.mjs +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 +35 -48
- package/lib/Menu/Menu.mjs +21 -34
- 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 +3 -3
- package/lib/RadioCardGroup/RadioCardGroup.mjs +4 -4
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +4 -5
- package/lib/RadioGroup/RadioGroup.mjs +5 -6
- 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/Select.cjs +11 -15
- package/lib/Select/Select.mjs +12 -16
- 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/Switch.cjs +17 -14
- package/lib/Switch/Switch.mjs +17 -14
- 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 +19 -17
- package/lib/TextArea/TextArea.mjs +19 -17
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +2 -2
- package/lib/TextInput/TextInput.mjs +2 -2
- 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-C5C0evEy.cjs → Calendar-D4ZSaHHU.cjs} +3 -3
- package/lib/_shared/cjs/{CardFooter-DwE-u0Om.cjs → CardFooter-ChphRFHe.cjs} +1 -1
- package/lib/_shared/cjs/{Checkbox-D2UQsmiB.cjs → Checkbox-DfZMjO1Y.cjs} +1 -1
- package/lib/_shared/cjs/{ComboBox-BIMxZhJp.cjs → ComboBox-BGUhlqx1.cjs} +2 -2
- 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-BgU6iidG.cjs → DatePicker-DS6fAvxD.cjs} +48 -30
- package/lib/_shared/cjs/{FormControl-D3-JbAVb.cjs → FormControl-BPnKQrCm.cjs} +19 -13
- 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-kcqfmeue.cjs → MediaCard-BEZFbiYO.cjs} +5 -9
- package/lib/_shared/cjs/{MenuSubContent-Bs2_ebS3.cjs → MenuItemMultiLevelContent-vLr6hSBm.cjs} +7 -9
- 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/{RadioGroupInput-D3trTxB5.cjs → RadioGroupInput-w2qkfsnG.cjs} +2 -2
- package/lib/_shared/cjs/{SiteHeaderV2NavItemWithSubNav-DgoCW2W3.cjs → SiteHeaderV2NavItemWithSubNav-fQPk0gZU.cjs} +3 -3
- package/lib/_shared/cjs/{TemplateBanner-BMi77IGK.cjs → TemplateBanner-CGtTUy81.cjs} +13 -6
- package/lib/_shared/cjs/{TextInput-DT4hi02U.cjs → TextInput-ByySubi5.cjs} +7 -7
- package/lib/_shared/cjs/Visible-Dx__9oZG.cjs +18 -0
- package/lib/_shared/cjs/{index.es-sqSQUWYg.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-L6u3D8xb.mjs → Calendar-CjqPM7ta.mjs} +3 -3
- package/lib/_shared/esm/{CardFooter-CgDDDI7Z.mjs → CardFooter-fsAY4cc6.mjs} +1 -1
- package/lib/_shared/esm/{Checkbox-NxnK40uZ.mjs → Checkbox-CwOHzlQF.mjs} +1 -1
- package/lib/_shared/esm/{ComboBox-DUTrEu0N.mjs → ComboBox-CRlJjeev.mjs} +2 -2
- 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-CccSfg17.mjs → DatePicker-3sYJ3wGn.mjs} +46 -31
- package/lib/_shared/esm/{FormControl-B9fp1ilz.mjs → FormControl-CWyrVi1u.mjs} +19 -13
- 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-CjTDOvmx.mjs → MediaCard-DqMaNWsE.mjs} +5 -9
- package/lib/_shared/esm/{MenuSubContent-Cv9mSn58.mjs → MenuItemMultiLevelContent-JTOHqpzg.mjs} +7 -8
- 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/{RadioGroupInput-DiRS2jwQ.mjs → RadioGroupInput-zAWSV29m.mjs} +2 -2
- package/lib/_shared/esm/{SiteHeaderV2NavItemWithSubNav-BLqiSeEC.mjs → SiteHeaderV2NavItemWithSubNav-BMoBdUxK.mjs} +3 -3
- package/lib/_shared/esm/{TemplateBanner-zc4VmeeW.mjs → TemplateBanner-Up6cR-3_.mjs} +14 -7
- package/lib/_shared/esm/{TextInput-Vp_cBbpQ.mjs → TextInput-Dk7qNGoh.mjs} +7 -7
- package/lib/_shared/esm/Visible-C-jVXUWp.mjs +16 -0
- package/lib/_shared/esm/{index.es-C3WGtwrW.mjs → index.es-DCvYtQfu.mjs} +2 -2
- package/lib/index.cjs +1177 -877
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +193 -63
- package/lib/index.d.mts +193 -63
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1167 -872
- 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.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import React__default, { createContext, useContext, useState, useId as useId$1,
|
|
3
|
+
import React__default, { createContext, useContext, useState, useId as useId$1, useRef, useEffect, forwardRef, isValidElement, cloneElement, useMemo, useCallback, useReducer, useLayoutEffect, createElement, Children, Fragment as Fragment$1, Suspense, useImperativeHandle } from 'react';
|
|
4
4
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
import * as ReactDOM from 'react-dom';
|
|
6
6
|
import ReactDOM__default, { flushSync, createPortal } from 'react-dom';
|
|
@@ -403,10 +403,10 @@ var Icon$1 = function (_a) {
|
|
|
403
403
|
var colors$1 = [
|
|
404
404
|
"auto",
|
|
405
405
|
"brand",
|
|
406
|
+
"brand-alt",
|
|
406
407
|
"statusRed",
|
|
407
408
|
"statusAmber",
|
|
408
409
|
"statusGreen",
|
|
409
|
-
"gradient",
|
|
410
410
|
];
|
|
411
411
|
|
|
412
412
|
var ThemeIcon = function (_a) {
|
|
@@ -622,7 +622,9 @@ var Avatar = function (_a) {
|
|
|
622
622
|
var wrapperAttrs = __assign({ className: classNames("arc-Avatar", "arc-Avatar--".concat(size), {
|
|
623
623
|
"arc-Avatar--img": Boolean(img),
|
|
624
624
|
}) }, filterAttrs(props));
|
|
625
|
-
return (React__default.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React__default.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return React__default.createElement(
|
|
625
|
+
return (React__default.createElement(ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React__default.createElement("a", __assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return (React__default.createElement(React__default.Fragment, null,
|
|
626
|
+
React__default.createElement("div", __assign({}, wrapperAttrs), children),
|
|
627
|
+
ariaLabel && React__default.createElement(VisuallyHidden$2, null, ariaLabel))); } },
|
|
626
628
|
React__default.createElement(AvatarContent, { size: size, img: img, initials: initials })));
|
|
627
629
|
};
|
|
628
630
|
|
|
@@ -650,152 +652,6 @@ var Badge = function (_a) {
|
|
|
650
652
|
return (React__default.createElement("div", __assign({ className: classNames("arc-Badge", suffixModifier("arc-Badge--state", state)) }, (ariaLabel && { "aria-label": ariaLabel }), (ariaRole && { role: ariaRole }), filterAttrs(props)), children));
|
|
651
653
|
};
|
|
652
654
|
|
|
653
|
-
/**
|
|
654
|
-
* Do not edit directly
|
|
655
|
-
* Generated on Mon, 19 May 2025 14:54:16 GMT
|
|
656
|
-
*/
|
|
657
|
-
var ArcSizeBreakpointsXs = "320px";
|
|
658
|
-
var ArcSizeBreakpointsS = "636px";
|
|
659
|
-
var ArcSizeBreakpointsM = "768px";
|
|
660
|
-
var ArcSizeBreakpointsL = "1024px";
|
|
661
|
-
var ArcSizeBreakpointsXl = "1280px";
|
|
662
|
-
var ArcSizeBreakpointsXxl = "1440px";
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
666
|
-
*/
|
|
667
|
-
var useAriaDescribedby = function (_a) {
|
|
668
|
-
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;
|
|
669
|
-
if (!id) {
|
|
670
|
-
return {
|
|
671
|
-
ariaDescribedby: undefined,
|
|
672
|
-
idHelper: undefined,
|
|
673
|
-
idError: undefined,
|
|
674
|
-
idDisclosure: undefined,
|
|
675
|
-
};
|
|
676
|
-
}
|
|
677
|
-
var ariaDescribedbyArr = [];
|
|
678
|
-
if (errorMessage) {
|
|
679
|
-
ariaDescribedbyArr.push(idError);
|
|
680
|
-
}
|
|
681
|
-
if (helper) {
|
|
682
|
-
ariaDescribedbyArr.push(idHelper);
|
|
683
|
-
}
|
|
684
|
-
if (disclosureText) {
|
|
685
|
-
ariaDescribedbyArr.push(idDisclosure);
|
|
686
|
-
}
|
|
687
|
-
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
688
|
-
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
689
|
-
};
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
693
|
-
*/
|
|
694
|
-
var useNumericInput = function (props) {
|
|
695
|
-
var type = props.type === "number" ? "text" : props.type;
|
|
696
|
-
var inputMode = props.inputMode;
|
|
697
|
-
if (!props.inputMode) {
|
|
698
|
-
if (props.type === "email") {
|
|
699
|
-
inputMode = "email";
|
|
700
|
-
}
|
|
701
|
-
else if (props.type === "number") {
|
|
702
|
-
inputMode = "numeric";
|
|
703
|
-
}
|
|
704
|
-
else if (props.type === "tel") {
|
|
705
|
-
inputMode = "tel";
|
|
706
|
-
}
|
|
707
|
-
else if (props.type === "url") {
|
|
708
|
-
inputMode = "url";
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
var pattern = props.pattern;
|
|
712
|
-
if (!props.pattern && props.type === "number") {
|
|
713
|
-
pattern = "[0-9]*";
|
|
714
|
-
}
|
|
715
|
-
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
716
|
-
};
|
|
717
|
-
|
|
718
|
-
var usePagination = function (pageCount, selectedPage) {
|
|
719
|
-
var formatValues = function (range) {
|
|
720
|
-
return range.map(function (value) { return value.toString(); });
|
|
721
|
-
};
|
|
722
|
-
return useMemo(function () {
|
|
723
|
-
if (pageCount > 7 && selectedPage < 5) {
|
|
724
|
-
// show 1 - 5 the right dots are visible.
|
|
725
|
-
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
726
|
-
"...",
|
|
727
|
-
pageCount,
|
|
728
|
-
], false));
|
|
729
|
-
}
|
|
730
|
-
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
731
|
-
// show numbers to the end but the left dots are visible
|
|
732
|
-
return formatValues(__spreadArray([
|
|
733
|
-
1,
|
|
734
|
-
"..."
|
|
735
|
-
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
736
|
-
}
|
|
737
|
-
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
738
|
-
// show selected page with one number either side and both the left and the right dots are visible.
|
|
739
|
-
return formatValues([
|
|
740
|
-
1,
|
|
741
|
-
"...",
|
|
742
|
-
selectedPage - 1,
|
|
743
|
-
selectedPage,
|
|
744
|
-
selectedPage + 1,
|
|
745
|
-
"...",
|
|
746
|
-
pageCount,
|
|
747
|
-
]);
|
|
748
|
-
}
|
|
749
|
-
// show all pages from pageCount
|
|
750
|
-
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
751
|
-
}, [pageCount, selectedPage]);
|
|
752
|
-
};
|
|
753
|
-
|
|
754
|
-
var useThemeElement = function () {
|
|
755
|
-
var _a = useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
756
|
-
var setThemeElement = function (el) {
|
|
757
|
-
el &&
|
|
758
|
-
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
759
|
-
};
|
|
760
|
-
return [themeElement, setThemeElement];
|
|
761
|
-
};
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* @typedef MediaQueryOutputs
|
|
765
|
-
* @param {boolean} matches - does the document match the media query?
|
|
766
|
-
*/
|
|
767
|
-
/**
|
|
768
|
-
* Handle with care!
|
|
769
|
-
*
|
|
770
|
-
* If you need to change something in the browser based on @media query, you
|
|
771
|
-
* probably don’t need this hook. Use CSS media queries instead.
|
|
772
|
-
*
|
|
773
|
-
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
774
|
-
* these rare cases, use this hook to make media query matches available
|
|
775
|
-
* to React JavaScript code.
|
|
776
|
-
*
|
|
777
|
-
* @param {string} mediaQuery - the media query to parse
|
|
778
|
-
* @returns {MediaQueryOutputs}
|
|
779
|
-
*/
|
|
780
|
-
var useMediaQuery = function (mediaQuery) {
|
|
781
|
-
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
782
|
-
var _a = useState(false), matches = _a[0], setMatches = _a[1];
|
|
783
|
-
useEffect(function () {
|
|
784
|
-
setMatches(typeof window !== "undefined"
|
|
785
|
-
? window.matchMedia(mediaQuery).matches
|
|
786
|
-
: false);
|
|
787
|
-
}, [mediaQuery]);
|
|
788
|
-
useEffect(function () {
|
|
789
|
-
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
790
|
-
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
791
|
-
if (mediaQueryList) {
|
|
792
|
-
mediaQueryList.addListener(onMatchMedia);
|
|
793
|
-
}
|
|
794
|
-
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
795
|
-
}, [mediaQueryList]);
|
|
796
|
-
return matches;
|
|
797
|
-
};
|
|
798
|
-
|
|
799
655
|
/**
|
|
800
656
|
* Use `VerticalSpace` to create vertical space between components.
|
|
801
657
|
*/
|
|
@@ -871,9 +727,28 @@ var BannerImage = function (_a) {
|
|
|
871
727
|
sources.map(function (source) { return React__default.createElement("source", __assign({ key: source.srcSet }, source)); })));
|
|
872
728
|
};
|
|
873
729
|
|
|
730
|
+
var Visible = function (_a) {
|
|
731
|
+
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"]);
|
|
732
|
+
return (React__default.createElement("div", __assign({ className: classNames("arc-Visible", {
|
|
733
|
+
"arc-Visible--xs": xs,
|
|
734
|
+
"arc-Visible--s": s,
|
|
735
|
+
"arc-Visible--m": m,
|
|
736
|
+
"arc-Visible--l": l,
|
|
737
|
+
"arc-Visible--xl": xl,
|
|
738
|
+
}) }, filterAttrs(props)), children));
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
var BannerRow = function (_a) {
|
|
742
|
+
var isReversed = _a.isReversed, children = _a.children;
|
|
743
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
744
|
+
React__default.createElement(Visible, { xs: true, s: true },
|
|
745
|
+
React__default.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-mobile" }, children)),
|
|
746
|
+
React__default.createElement(Visible, { m: true, l: true, xl: true },
|
|
747
|
+
React__default.createElement(GridRow, { "data-testid": "arc-TemplateBanner-gridRow-desktop", direction: isReversed ? "row-reverse" : "row" }, children))));
|
|
748
|
+
};
|
|
749
|
+
|
|
874
750
|
var TemplateBanner = function (_a) {
|
|
875
751
|
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"]);
|
|
876
|
-
var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
|
|
877
752
|
var backgrounds = {
|
|
878
753
|
dark: "dark-brand-02",
|
|
879
754
|
light: "light-white",
|
|
@@ -886,7 +761,6 @@ var TemplateBanner = function (_a) {
|
|
|
886
761
|
};
|
|
887
762
|
var isContained = type === "contained";
|
|
888
763
|
var borderWidth = isContained && !isElevated ? "thin" : undefined;
|
|
889
|
-
var direction = isReversed && isMinWidthArcBreakpointM ? "row-reverse" : "row";
|
|
890
764
|
var columnWithImgWidths = {
|
|
891
765
|
"1/0": 12,
|
|
892
766
|
"2/3": 8,
|
|
@@ -897,7 +771,7 @@ var TemplateBanner = function (_a) {
|
|
|
897
771
|
}) }, filterAttrs(props)),
|
|
898
772
|
React__default.createElement(Box, { isBorderRadius: true, "data-testid": "arc-TemplateBanner-box", borderWidth: borderWidth, surface: backgrounds[type], isSurfaceTransparent: !isContained },
|
|
899
773
|
React__default.createElement(Grid, { isGutterless: true, isFluid: true },
|
|
900
|
-
React__default.createElement(
|
|
774
|
+
React__default.createElement(BannerRow, { "data-testid": "arc-TemplateBanner-gridRow", isReversed: isReversed },
|
|
901
775
|
React__default.createElement(GridCol, { "data-testid": "arc-TemplateBanner-contentCol", align: {
|
|
902
776
|
m: alignment === "start" ? "start" : "center",
|
|
903
777
|
xs: !img || contentRatio === "1/0" ? "center" : "start",
|
|
@@ -906,7 +780,7 @@ var TemplateBanner = function (_a) {
|
|
|
906
780
|
"arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
|
|
907
781
|
}) },
|
|
908
782
|
label && (React__default.createElement(React__default.Fragment, null,
|
|
909
|
-
React__default.createElement(Heading, {
|
|
783
|
+
React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
910
784
|
React__default.createElement(VerticalSpace, { size: "8" }))),
|
|
911
785
|
React__default.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
|
|
912
786
|
text && (React__default.createElement(React__default.Fragment, null,
|
|
@@ -1657,6 +1531,7 @@ var Breadcrumbs = function (_a) {
|
|
|
1657
1531
|
window.addEventListener("resize", handleResize);
|
|
1658
1532
|
return function () {
|
|
1659
1533
|
window.removeEventListener("resize", handleResize);
|
|
1534
|
+
handleResize.cancel();
|
|
1660
1535
|
};
|
|
1661
1536
|
}, []);
|
|
1662
1537
|
var items = React__default.Children.toArray(children);
|
|
@@ -1779,7 +1654,7 @@ var ButtonV2 = forwardRef(function (_a, ref) {
|
|
|
1779
1654
|
case "compact":
|
|
1780
1655
|
case "secondary":
|
|
1781
1656
|
case "tertiary":
|
|
1782
|
-
return
|
|
1657
|
+
return "brand-alt";
|
|
1783
1658
|
default:
|
|
1784
1659
|
return "auto";
|
|
1785
1660
|
}
|
|
@@ -2006,77 +1881,223 @@ function startOfMonth(dirtyDate) {
|
|
|
2006
1881
|
return date;
|
|
2007
1882
|
}
|
|
2008
1883
|
|
|
2009
|
-
var containsDate = function (dates, compareDate) {
|
|
2010
|
-
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2011
|
-
};
|
|
2012
|
-
|
|
2013
1884
|
/**
|
|
2014
|
-
*
|
|
2015
|
-
*
|
|
2016
|
-
* @summary Get the month of the given date.
|
|
2017
|
-
*
|
|
2018
|
-
* @description
|
|
2019
|
-
* Get the month of the given date.
|
|
2020
|
-
*
|
|
2021
|
-
* @param {Date|Number} date - the given date
|
|
2022
|
-
* @returns {Number} the month
|
|
2023
|
-
* @throws {TypeError} 1 argument required
|
|
2024
|
-
*
|
|
2025
|
-
* @example
|
|
2026
|
-
* // Which month is 29 February 2012?
|
|
2027
|
-
* const result = getMonth(new Date(2012, 1, 29))
|
|
2028
|
-
* //=> 1
|
|
1885
|
+
* Do not edit directly
|
|
1886
|
+
* Generated on Mon, 21 Jul 2025 12:02:37 GMT
|
|
2029
1887
|
*/
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
1888
|
+
var ArcSizeBreakpointsXs = "320px";
|
|
1889
|
+
var ArcSizeBreakpointsS = "636px";
|
|
1890
|
+
var ArcSizeBreakpointsM = "768px";
|
|
1891
|
+
var ArcSizeBreakpointsL = "1024px";
|
|
1892
|
+
var ArcSizeBreakpointsXl = "1280px";
|
|
1893
|
+
var ArcSizeBreakpointsXxl = "1440px";
|
|
2036
1894
|
|
|
2037
1895
|
/**
|
|
2038
|
-
*
|
|
2039
|
-
* @category Year Helpers
|
|
2040
|
-
* @summary Get the year of the given date.
|
|
2041
|
-
*
|
|
2042
|
-
* @description
|
|
2043
|
-
* Get the year of the given date.
|
|
2044
|
-
*
|
|
2045
|
-
* @param {Date|Number} date - the given date
|
|
2046
|
-
* @returns {Number} the year
|
|
2047
|
-
* @throws {TypeError} 1 argument required
|
|
2048
|
-
*
|
|
2049
|
-
* @example
|
|
2050
|
-
* // Which year is 2 July 2014?
|
|
2051
|
-
* const result = getYear(new Date(2014, 6, 2))
|
|
2052
|
-
* //=> 2014
|
|
1896
|
+
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
2053
1897
|
*/
|
|
2054
|
-
function
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
1898
|
+
var useAriaDescribedby = function (_a) {
|
|
1899
|
+
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;
|
|
1900
|
+
if (!id) {
|
|
1901
|
+
return {
|
|
1902
|
+
ariaDescribedby: undefined,
|
|
1903
|
+
idHelper: undefined,
|
|
1904
|
+
idError: undefined,
|
|
1905
|
+
idDisclosure: undefined,
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
var ariaDescribedbyArr = [];
|
|
1909
|
+
if (errorMessage) {
|
|
1910
|
+
ariaDescribedbyArr.push(idError);
|
|
1911
|
+
}
|
|
1912
|
+
if (helper) {
|
|
1913
|
+
ariaDescribedbyArr.push(idHelper);
|
|
1914
|
+
}
|
|
1915
|
+
if (disclosureText) {
|
|
1916
|
+
ariaDescribedbyArr.push(idDisclosure);
|
|
1917
|
+
}
|
|
1918
|
+
var ariaDescribedby = ariaDescribedbyArr.length > 0 ? ariaDescribedbyArr.join(" ") : undefined;
|
|
1919
|
+
return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper, idDisclosure: idDisclosure };
|
|
1920
|
+
};
|
|
2058
1921
|
|
|
2059
1922
|
/**
|
|
2060
|
-
*
|
|
2061
|
-
* @category Month Helpers
|
|
2062
|
-
* @summary Get the number of days in a month of the given date.
|
|
2063
|
-
*
|
|
2064
|
-
* @description
|
|
2065
|
-
* Get the number of days in a month of the given date.
|
|
2066
|
-
*
|
|
2067
|
-
* @param {Date|Number} date - the given date
|
|
2068
|
-
* @returns {Number} the number of days in a month
|
|
2069
|
-
* @throws {TypeError} 1 argument required
|
|
2070
|
-
*
|
|
2071
|
-
* @example
|
|
2072
|
-
* // How many days are in February 2000?
|
|
2073
|
-
* const result = getDaysInMonth(new Date(2000, 1))
|
|
2074
|
-
* //=> 29
|
|
1923
|
+
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
2075
1924
|
*/
|
|
2076
|
-
function
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
1925
|
+
var useNumericInput = function (props) {
|
|
1926
|
+
var type = props.type === "number" ? "text" : props.type;
|
|
1927
|
+
var inputMode = props.inputMode;
|
|
1928
|
+
if (!props.inputMode) {
|
|
1929
|
+
if (props.type === "email") {
|
|
1930
|
+
inputMode = "email";
|
|
1931
|
+
}
|
|
1932
|
+
else if (props.type === "number") {
|
|
1933
|
+
inputMode = "numeric";
|
|
1934
|
+
}
|
|
1935
|
+
else if (props.type === "tel") {
|
|
1936
|
+
inputMode = "tel";
|
|
1937
|
+
}
|
|
1938
|
+
else if (props.type === "url") {
|
|
1939
|
+
inputMode = "url";
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
var pattern = props.pattern;
|
|
1943
|
+
if (!props.pattern && props.type === "number") {
|
|
1944
|
+
pattern = "[0-9]*";
|
|
1945
|
+
}
|
|
1946
|
+
return { inputMode: inputMode, pattern: pattern, type: type };
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
var usePagination = function (pageCount, selectedPage) {
|
|
1950
|
+
var formatValues = function (range) {
|
|
1951
|
+
return range.map(function (value) { return value.toString(); });
|
|
1952
|
+
};
|
|
1953
|
+
return useMemo(function () {
|
|
1954
|
+
if (pageCount > 7 && selectedPage < 5) {
|
|
1955
|
+
// show 1 - 5 the right dots are visible.
|
|
1956
|
+
return formatValues(__spreadArray(__spreadArray([], Array.from({ length: 5 }, function (_value, index) { return index + 1; }), true), [
|
|
1957
|
+
"...",
|
|
1958
|
+
pageCount,
|
|
1959
|
+
], false));
|
|
1960
|
+
}
|
|
1961
|
+
if (pageCount > 7 && selectedPage >= pageCount - 3) {
|
|
1962
|
+
// show numbers to the end but the left dots are visible
|
|
1963
|
+
return formatValues(__spreadArray([
|
|
1964
|
+
1,
|
|
1965
|
+
"..."
|
|
1966
|
+
], Array.from({ length: 5 }, function (_value, index) { return pageCount - index; }).reverse(), true));
|
|
1967
|
+
}
|
|
1968
|
+
if (pageCount > 7 && selectedPage >= 5 && selectedPage < pageCount - 3) {
|
|
1969
|
+
// show selected page with one number either side and both the left and the right dots are visible.
|
|
1970
|
+
return formatValues([
|
|
1971
|
+
1,
|
|
1972
|
+
"...",
|
|
1973
|
+
selectedPage - 1,
|
|
1974
|
+
selectedPage,
|
|
1975
|
+
selectedPage + 1,
|
|
1976
|
+
"...",
|
|
1977
|
+
pageCount,
|
|
1978
|
+
]);
|
|
1979
|
+
}
|
|
1980
|
+
// show all pages from pageCount
|
|
1981
|
+
return formatValues(Array.from({ length: pageCount }, function (_value, index) { return index + 1; }));
|
|
1982
|
+
}, [pageCount, selectedPage]);
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
var useThemeElement = function () {
|
|
1986
|
+
var _a = useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
1987
|
+
var setThemeElement = function (el) {
|
|
1988
|
+
el &&
|
|
1989
|
+
setElement(el.closest(".arc-ds-sys-theme") || undefined);
|
|
1990
|
+
};
|
|
1991
|
+
return [themeElement, setThemeElement];
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* @typedef MediaQueryOutputs
|
|
1996
|
+
* @param {boolean} matches - does the document match the media query?
|
|
1997
|
+
*/
|
|
1998
|
+
/**
|
|
1999
|
+
* Handle with care!
|
|
2000
|
+
*
|
|
2001
|
+
* If you need to change something in the browser based on @media query, you
|
|
2002
|
+
* probably don’t need this hook. Use CSS media queries instead.
|
|
2003
|
+
*
|
|
2004
|
+
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
2005
|
+
* these rare cases, use this hook to make media query matches available
|
|
2006
|
+
* to React JavaScript code.
|
|
2007
|
+
*
|
|
2008
|
+
* @param {string} mediaQuery - the media query to parse
|
|
2009
|
+
* @returns {MediaQueryOutputs}
|
|
2010
|
+
*/
|
|
2011
|
+
var useMediaQuery = function (mediaQuery) {
|
|
2012
|
+
var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
|
|
2013
|
+
var _a = useState(false), matches = _a[0], setMatches = _a[1];
|
|
2014
|
+
useEffect(function () {
|
|
2015
|
+
setMatches(typeof window !== "undefined"
|
|
2016
|
+
? window.matchMedia(mediaQuery).matches
|
|
2017
|
+
: false);
|
|
2018
|
+
}, [mediaQuery]);
|
|
2019
|
+
useEffect(function () {
|
|
2020
|
+
var onMatchMedia = function (event) { return setMatches(event.matches); };
|
|
2021
|
+
// Using deprecated addListener methods here for IE & Safari 13 support
|
|
2022
|
+
if (mediaQueryList) {
|
|
2023
|
+
mediaQueryList.addListener(onMatchMedia);
|
|
2024
|
+
}
|
|
2025
|
+
return function () { return mediaQueryList && mediaQueryList.removeListener(onMatchMedia); };
|
|
2026
|
+
}, [mediaQueryList]);
|
|
2027
|
+
return matches;
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
var containsDate = function (dates, compareDate) {
|
|
2031
|
+
return dates.map(function (date) { return date.getTime(); }).includes(compareDate.getTime());
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
/**
|
|
2035
|
+
* @name getMonth
|
|
2036
|
+
* @category Month Helpers
|
|
2037
|
+
* @summary Get the month of the given date.
|
|
2038
|
+
*
|
|
2039
|
+
* @description
|
|
2040
|
+
* Get the month of the given date.
|
|
2041
|
+
*
|
|
2042
|
+
* @param {Date|Number} date - the given date
|
|
2043
|
+
* @returns {Number} the month
|
|
2044
|
+
* @throws {TypeError} 1 argument required
|
|
2045
|
+
*
|
|
2046
|
+
* @example
|
|
2047
|
+
* // Which month is 29 February 2012?
|
|
2048
|
+
* const result = getMonth(new Date(2012, 1, 29))
|
|
2049
|
+
* //=> 1
|
|
2050
|
+
*/
|
|
2051
|
+
function getMonth(dirtyDate) {
|
|
2052
|
+
requiredArgs(1, arguments);
|
|
2053
|
+
var date = toDate(dirtyDate);
|
|
2054
|
+
var month = date.getMonth();
|
|
2055
|
+
return month;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* @name getYear
|
|
2060
|
+
* @category Year Helpers
|
|
2061
|
+
* @summary Get the year of the given date.
|
|
2062
|
+
*
|
|
2063
|
+
* @description
|
|
2064
|
+
* Get the year of the given date.
|
|
2065
|
+
*
|
|
2066
|
+
* @param {Date|Number} date - the given date
|
|
2067
|
+
* @returns {Number} the year
|
|
2068
|
+
* @throws {TypeError} 1 argument required
|
|
2069
|
+
*
|
|
2070
|
+
* @example
|
|
2071
|
+
* // Which year is 2 July 2014?
|
|
2072
|
+
* const result = getYear(new Date(2014, 6, 2))
|
|
2073
|
+
* //=> 2014
|
|
2074
|
+
*/
|
|
2075
|
+
function getYear(dirtyDate) {
|
|
2076
|
+
requiredArgs(1, arguments);
|
|
2077
|
+
return toDate(dirtyDate).getFullYear();
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* @name getDaysInMonth
|
|
2082
|
+
* @category Month Helpers
|
|
2083
|
+
* @summary Get the number of days in a month of the given date.
|
|
2084
|
+
*
|
|
2085
|
+
* @description
|
|
2086
|
+
* Get the number of days in a month of the given date.
|
|
2087
|
+
*
|
|
2088
|
+
* @param {Date|Number} date - the given date
|
|
2089
|
+
* @returns {Number} the number of days in a month
|
|
2090
|
+
* @throws {TypeError} 1 argument required
|
|
2091
|
+
*
|
|
2092
|
+
* @example
|
|
2093
|
+
* // How many days are in February 2000?
|
|
2094
|
+
* const result = getDaysInMonth(new Date(2000, 1))
|
|
2095
|
+
* //=> 29
|
|
2096
|
+
*/
|
|
2097
|
+
function getDaysInMonth(dirtyDate) {
|
|
2098
|
+
requiredArgs(1, arguments);
|
|
2099
|
+
var date = toDate(dirtyDate);
|
|
2100
|
+
var year = date.getFullYear();
|
|
2080
2101
|
var monthIndex = date.getMonth();
|
|
2081
2102
|
var lastDayOfMonth = new Date(0);
|
|
2082
2103
|
lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
|
|
@@ -5146,7 +5167,7 @@ var CalendarDayNumber = forwardRef(function (_a, autoFocusRef) {
|
|
|
5146
5167
|
*/
|
|
5147
5168
|
|
|
5148
5169
|
const BtIconChevronDownMid =
|
|
5149
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'
|
|
5170
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m16 18.09 5.704-5.696a1.347 1.347 0 0 1 2.296.949 1.34 1.34 0 0 1-.393.95L16.95 20.94a1.347 1.347 0 0 1-1.902 0l-6.656-6.648A1.342 1.342 0 0 1 9.345 12c.356 0 .699.142.951.393z'/%3e%3c/svg%3e";
|
|
5150
5171
|
|
|
5151
5172
|
var CalendarDateSelect = function (_a) {
|
|
5152
5173
|
var ariaLabel = _a.ariaLabel, onChange = _a.onChange, name = _a.name, value = _a.value, displayValue = _a.displayValue, options = _a.options;
|
|
@@ -7643,18 +7664,18 @@ function useEmblaCarousel(options = {}, plugins = []) {
|
|
|
7643
7664
|
useEmblaCarousel.globalOptions = undefined;
|
|
7644
7665
|
|
|
7645
7666
|
var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
|
|
7646
|
-
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7647
|
-
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7648
|
-
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7649
|
-
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7667
|
+
var S_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
7668
|
+
var M_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
7669
|
+
var L_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
7670
|
+
var XL_BREAKPOINT$1 = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
7650
7671
|
|
|
7651
7672
|
var getOptions = function (itemsToScroll, loop, responsive) {
|
|
7652
7673
|
var breakpoints = [
|
|
7653
7674
|
[XS_BREAKPOINT, "xs"],
|
|
7654
|
-
[S_BREAKPOINT, "s"],
|
|
7655
|
-
[M_BREAKPOINT, "m"],
|
|
7656
|
-
[L_BREAKPOINT, "l"],
|
|
7657
|
-
[XL_BREAKPOINT, "xl"],
|
|
7675
|
+
[S_BREAKPOINT$1, "s"],
|
|
7676
|
+
[M_BREAKPOINT$1, "m"],
|
|
7677
|
+
[L_BREAKPOINT$1, "l"],
|
|
7678
|
+
[XL_BREAKPOINT$1, "xl"],
|
|
7658
7679
|
];
|
|
7659
7680
|
var breakpointOptions = breakpoints.reduce(function (acc, _a) {
|
|
7660
7681
|
var _b;
|
|
@@ -7725,10 +7746,10 @@ var Carousel = function (_a) {
|
|
|
7725
7746
|
var _k = useState(true), prevButtonEnabled = _k[0], setPrevButtonEnabled = _k[1];
|
|
7726
7747
|
var _l = useState(true), nextButtonEnabled = _l[0], setNextButtonEnabled = _l[1];
|
|
7727
7748
|
var isMinWidthArcBreakpointXs = useMediaQuery(XS_BREAKPOINT);
|
|
7728
|
-
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
7729
|
-
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
7730
|
-
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
7731
|
-
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
7749
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT$1);
|
|
7750
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT$1);
|
|
7751
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT$1);
|
|
7752
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT$1);
|
|
7732
7753
|
var slideWidth = getSlideWidth({
|
|
7733
7754
|
screenSizes: {
|
|
7734
7755
|
xl: isMinWidthArcBreakpointXl,
|
|
@@ -7847,14 +7868,15 @@ var Provider$4 = Context$2.Provider;
|
|
|
7847
7868
|
* Use `FormControl` to provide inputs with labels, helper text and error messages
|
|
7848
7869
|
*/
|
|
7849
7870
|
var FormControl = function (_a) {
|
|
7850
|
-
var
|
|
7871
|
+
var _b;
|
|
7872
|
+
var children = _a.children, _c = _a.elementType, ElementType = _c === void 0 ? "div" : _c, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, supplementaryInfo = _a.supplementaryInfo, id = _a.id, label = _a.label, _d = _a.labelSize, labelSize = _d === void 0 ? "l" : _d, _e = _a.labelPosition, labelPosition = _e === void 0 ? "top" : _e, _f = _a.requirementStatus, requirementStatus = _f === void 0 ? "optional" : _f, _g = _a.helperUnderLabel, helperUnderLabel = _g === void 0 ? false : _g, isDisabled = _a.isDisabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "supplementaryInfo", "id", "label", "labelSize", "labelPosition", "requirementStatus", "helperUnderLabel", "isDisabled", "hideLabel", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
7851
7873
|
var surface = useContext(Context$3).surface;
|
|
7852
|
-
var
|
|
7874
|
+
var _j = useAriaDescribedby({
|
|
7853
7875
|
disclosureText: disclosureText,
|
|
7854
7876
|
errorMessage: errorMessage,
|
|
7855
7877
|
helper: helper,
|
|
7856
7878
|
id: htmlFor || id, // `htmlFor` is preference to keep this deterministic with TextInput
|
|
7857
|
-
}), ariaDescribedby =
|
|
7879
|
+
}), ariaDescribedby = _j.ariaDescribedby, idError = _j.idError, idHelper = _j.idHelper, idDisclosure = _j.idDisclosure;
|
|
7858
7880
|
var LabelType = ElementType === "div" ? "label" : "legend";
|
|
7859
7881
|
var elementProps = {};
|
|
7860
7882
|
var labelProps = {};
|
|
@@ -7874,22 +7896,27 @@ var FormControl = function (_a) {
|
|
|
7874
7896
|
? Boolean(errorMessage || disclosureTitle || supplementaryInfo)
|
|
7875
7897
|
: Boolean(errorMessage || disclosureTitle || helper || supplementaryInfo);
|
|
7876
7898
|
return (React__default.createElement(Provider$4, { value: { requirementStatus: requirementStatus } },
|
|
7877
|
-
React__default.createElement(ElementType, __assign({ className: classNames({
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7899
|
+
React__default.createElement(ElementType, __assign({ className: classNames((_b = {
|
|
7900
|
+
"arc-FormControl": true,
|
|
7901
|
+
"arc-FormControl--isDisabled": isDisabled,
|
|
7902
|
+
"arc-FormControl--onDarkSurface": surface === "dark",
|
|
7903
|
+
"arc-FormControl--sideLabel": labelPosition === "left"
|
|
7904
|
+
},
|
|
7905
|
+
_b["arc-FormControl--".concat(labelSize)] = labelSize !== "l",
|
|
7906
|
+
_b)), id: id }, elementProps, filterAttrs(props)),
|
|
7884
7907
|
hideLabel === true ? (React__default.createElement(VisuallyHidden$2, null,
|
|
7885
7908
|
React__default.createElement(LabelType, __assign({ className: classNames("arc-FormControl-label", {
|
|
7886
7909
|
"arc-FormControl-label--withHelperUnderLabel": helperUnderLabel && helper,
|
|
7887
7910
|
}) }, labelProps),
|
|
7888
|
-
label,
|
|
7911
|
+
label && (React__default.createElement("span", { className: classNames("arc-FormControl-labelText", {
|
|
7912
|
+
"arc-FormControl-labelText--withOptional": requirementStatus === "optional",
|
|
7913
|
+
}) }, label)),
|
|
7889
7914
|
requirementStatus === "optional" && (React__default.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)"))))) : (React__default.createElement(LabelType, __assign({ className: classNames("arc-FormControl-label", {
|
|
7890
7915
|
"arc-FormControl-label--withHelperUnderLabel": helperUnderLabel && helper,
|
|
7891
7916
|
}) }, labelProps),
|
|
7892
|
-
label,
|
|
7917
|
+
label && (React__default.createElement("span", { className: classNames("arc-FormControl-labelText", {
|
|
7918
|
+
"arc-FormControl-labelText--withOptional": requirementStatus === "optional",
|
|
7919
|
+
}) }, label)),
|
|
7893
7920
|
requirementStatus === "optional" && (React__default.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)")))),
|
|
7894
7921
|
helperUnderLabel && helper && (React__default.createElement("div", { className: "arc-FormControl-helper arc-FormControl-helper--underLabel", id: idHelper }, helper)),
|
|
7895
7922
|
children,
|
|
@@ -7902,7 +7929,7 @@ var FormControl = function (_a) {
|
|
|
7902
7929
|
React__default.createElement("span", { className: "arc-FormControl-error--icon" },
|
|
7903
7930
|
React__default.createElement(ThemeIcon, { icon: "formControlAlert" })),
|
|
7904
7931
|
errorMessage)) : (!helperUnderLabel &&
|
|
7905
|
-
(disclosureTitle ? (React__default.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize, id: idDisclosure }, disclosureText)) : (helper && (React__default.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))),
|
|
7932
|
+
(disclosureTitle ? (React__default.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize === "m" ? "l" : labelSize, id: idDisclosure }, disclosureText)) : (helper && (React__default.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))),
|
|
7906
7933
|
supplementaryInfo && (React__default.createElement("div", { className: "arc-FormControl-supplementaryInfo" }, supplementaryInfo))))));
|
|
7907
7934
|
};
|
|
7908
7935
|
|
|
@@ -13702,7 +13729,7 @@ var ContentSwitcherTab = forwardRef(function (_a, ref) {
|
|
|
13702
13729
|
|
|
13703
13730
|
var ContentSwitcherContent = function (_a) {
|
|
13704
13731
|
var children = _a.children, value = _a.value;
|
|
13705
|
-
return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value },
|
|
13732
|
+
return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value, tabIndex: -1 },
|
|
13706
13733
|
React__default.createElement("div", { className: "arc-ContentSwitcherContent-wrapper" }, children)));
|
|
13707
13734
|
};
|
|
13708
13735
|
|
|
@@ -13753,11 +13780,12 @@ var ContentSwitcherList = function (_a) {
|
|
|
13753
13780
|
list.removeEventListener("scroll", checkOverflow);
|
|
13754
13781
|
}
|
|
13755
13782
|
window.removeEventListener("resize", updateLayout);
|
|
13783
|
+
handleResize.cancel();
|
|
13756
13784
|
};
|
|
13757
13785
|
}, [children, checkOverflow, handleResize]);
|
|
13758
13786
|
return (React__default.createElement("span", { className: classNames("arc-ContentSwitcherList-wrapper", {
|
|
13759
13787
|
"arc-ContentSwitcherList-wrapper--isInset": isInset,
|
|
13760
|
-
}) },
|
|
13788
|
+
}), tabIndex: -1 },
|
|
13761
13789
|
React__default.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-ContentSwitcherList", {
|
|
13762
13790
|
"arc-ContentSwitcherList--contained": type === "contained",
|
|
13763
13791
|
"arc-ContentSwitcherList--isJustified": isJustified,
|
|
@@ -15062,7 +15090,7 @@ var ContentSwitcherDropdown = function (_a) {
|
|
|
15062
15090
|
return null;
|
|
15063
15091
|
}
|
|
15064
15092
|
var isActive = child.props.value === selectValue;
|
|
15065
|
-
return (React__default.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:
|
|
15093
|
+
return (React__default.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));
|
|
15066
15094
|
})));
|
|
15067
15095
|
};
|
|
15068
15096
|
var ContentSwitcherDropdownContent = function (_a) {
|
|
@@ -15117,9 +15145,9 @@ var DATE_FORMAT = "dd/MM/yyyy";
|
|
|
15117
15145
|
|
|
15118
15146
|
var TextInputComponent = forwardRef(function (_a, ref) {
|
|
15119
15147
|
var _b;
|
|
15120
|
-
var _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label,
|
|
15148
|
+
var _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _j = _a.size, size = _j === void 0 ? "m" : _j, iconButton = _a.iconButton, prefix = _a.prefix, suffix = _a.suffix, _k = _a.inputAlignment, inputAlignment = _k === void 0 ? "left" : _k, width = _a.width, autoComplete = _a.autoComplete, isLoading = _a.isLoading, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "maxLength", "minLength", "name", "onBlur", "onFocus", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "size", "iconButton", "prefix", "suffix", "inputAlignment", "width", "autoComplete", "isLoading"]);
|
|
15121
15149
|
var surface = useContext(Context$3).surface;
|
|
15122
|
-
var
|
|
15150
|
+
var _l = useState(false), showPasswordToggle = _l[0], setShowPasswordToggle = _l[1];
|
|
15123
15151
|
var inferredInputProps = useNumericInput({
|
|
15124
15152
|
inputMode: inputMode,
|
|
15125
15153
|
pattern: pattern,
|
|
@@ -15153,9 +15181,9 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
15153
15181
|
"arc-TextInput--withPrefix": prefix,
|
|
15154
15182
|
"arc-TextInput--withSuffix": suffix
|
|
15155
15183
|
},
|
|
15156
|
-
_b["arc-TextInput--size".concat(
|
|
15184
|
+
_b["arc-TextInput--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
15157
15185
|
_b)) }, filterAttrs(props)),
|
|
15158
|
-
React__default.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize:
|
|
15186
|
+
React__default.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", disclosureTitle: disclosureTitle, disclosureText: disclosureText, onClickDisclosure: onClickDisclosure },
|
|
15159
15187
|
React__default.createElement("div", { className: "arc-TextInput-inputWrapper", style: { width: width, marginTop: hideLabel ? 0 : undefined } },
|
|
15160
15188
|
prefix && (React__default.createElement("span", { className: "arc-TextInput-prefix", "aria-hidden": true }, prefix)),
|
|
15161
15189
|
React__default.createElement("input", __assign({ placeholder: placeholder, "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-TextInput-input", defaultValue: typeof value !== "undefined" ? undefined : defaultValue, disabled: isDisabled || isLoading, id: id, maxLength: maxLength, minLength: minLength, name: name, onChange: onChange, onBlur: onBlur, onFocus: onFocus, readOnly: isReadOnly, ref: ref, required: isRequired, value: typeof value !== "undefined" ? value : undefined, autoComplete: autoComplete }, inferredInputProps)),
|
|
@@ -15164,7 +15192,7 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
15164
15192
|
e.preventDefault();
|
|
15165
15193
|
iconButton.onClick();
|
|
15166
15194
|
} },
|
|
15167
|
-
React__default.createElement(ThemeIcon, { icon: iconButton.icon, size: buttonIconSize[
|
|
15195
|
+
React__default.createElement(ThemeIcon, { icon: iconButton.icon, size: buttonIconSize[size] })))),
|
|
15168
15196
|
suffix && !showPassword ? (React__default.createElement("span", { className: "arc-TextInput-suffix", "aria-hidden": true }, suffix)) : null,
|
|
15169
15197
|
showPassword && (React__default.createElement("div", { className: "arc-TextInput-additionalControl" },
|
|
15170
15198
|
React__default.createElement("button", { className: "arc-TextInput-passwordToggle", onClick: function () { return setShowPasswordToggle(function (p) { return !p; }); }, type: "button" }, showPasswordToggle ? "Hide" : "Show"),
|
|
@@ -15174,7 +15202,7 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
15174
15202
|
? "Your password is shown"
|
|
15175
15203
|
: "Your password is hidden"))))),
|
|
15176
15204
|
isLoading && (React__default.createElement("span", { className: "arc-TextInput-spinner" },
|
|
15177
|
-
React__default.createElement(Spinner, { size: spinnerSize[
|
|
15205
|
+
React__default.createElement(Spinner, { size: spinnerSize[size] })))))));
|
|
15178
15206
|
});
|
|
15179
15207
|
/**
|
|
15180
15208
|
* Use `TextInput` to allow users to enter short form text.
|
|
@@ -15268,11 +15296,55 @@ var convertRangeStringToDates = function (value) {
|
|
|
15268
15296
|
: []), true);
|
|
15269
15297
|
};
|
|
15270
15298
|
|
|
15299
|
+
var convertRangeStringToDateTuple = function (value) {
|
|
15300
|
+
if (value === void 0) { value = ""; }
|
|
15301
|
+
var _a = parseRangeString(value), start = _a.start, end = _a.end;
|
|
15302
|
+
var startDate = isDateValid(start.date)
|
|
15303
|
+
? new Date("".concat(start.year, "-").concat(start.month, "-").concat(start.day))
|
|
15304
|
+
: undefined;
|
|
15305
|
+
var endDate = isDateValid(end.date)
|
|
15306
|
+
? new Date("".concat(end.year, "-").concat(end.month, "-").concat(end.day))
|
|
15307
|
+
: undefined;
|
|
15308
|
+
return [startDate, endDate];
|
|
15309
|
+
};
|
|
15310
|
+
|
|
15311
|
+
function validateRangeOnBlur(_a) {
|
|
15312
|
+
var value = _a.value, minDate = _a.minDate, maxDate = _a.maxDate, disabledDates = _a.disabledDates, previousValidValue = _a.previousValidValue, dispatchChangeEvent = _a.dispatchChangeEvent, blurEvent = _a.blurEvent;
|
|
15313
|
+
if (!isRangeValid(value))
|
|
15314
|
+
return;
|
|
15315
|
+
var _b = convertRangeStringToDates(value), start = _b[0], end = _b[1];
|
|
15316
|
+
var isStartBeforeMin = minDate && isBefore(start, minDate);
|
|
15317
|
+
var isEndAfterMax = maxDate && isAfter(end, maxDate);
|
|
15318
|
+
var isStartDisabled = isDisabledDate(disabledDates, start);
|
|
15319
|
+
var isEndDisabled = isDisabledDate(disabledDates, end);
|
|
15320
|
+
if (isStartBeforeMin && isEndAfterMax) {
|
|
15321
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(maxDate)));
|
|
15322
|
+
}
|
|
15323
|
+
if (isStartBeforeMin) {
|
|
15324
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
|
|
15325
|
+
}
|
|
15326
|
+
if (isEndAfterMax) {
|
|
15327
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
|
|
15328
|
+
}
|
|
15329
|
+
if (isStartDisabled || isEndDisabled) {
|
|
15330
|
+
var _c = previousValidValue
|
|
15331
|
+
? convertRangeStringToDates(previousValidValue)
|
|
15332
|
+
: [], prevStart = _c[0], prevEnd = _c[1];
|
|
15333
|
+
return dispatchChangeEvent(blurEvent, prevStart && prevEnd
|
|
15334
|
+
? "".concat(formatDate(prevStart), " - ").concat(formatDate(prevEnd))
|
|
15335
|
+
: "");
|
|
15336
|
+
}
|
|
15337
|
+
if (isAfter(start, end)) {
|
|
15338
|
+
var _d = [start, end].sort(compareAsc), orderedStart = _d[0], orderedEnd = _d[1];
|
|
15339
|
+
return dispatchChangeEvent(blurEvent, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
|
|
15340
|
+
}
|
|
15341
|
+
}
|
|
15342
|
+
|
|
15271
15343
|
/**
|
|
15272
15344
|
* Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
|
|
15273
15345
|
*/
|
|
15274
15346
|
var DatePicker = forwardRef(function (_a, ref) {
|
|
15275
|
-
var errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, label = _a.label, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, isRequired = _a.isRequired,
|
|
15347
|
+
var errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, label = _a.label, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, isRequired = _a.isRequired, size = _a.size, _b = _a.value, value = _b === void 0 ? "" : _b, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onDateSelect = _a.onDateSelect, onRangeSelect = _a.onRangeSelect, onClickDisclosure = _a.onClickDisclosure, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, type = _a.type, _c = _a.isFluid, isFluid = _c === void 0 ? false : _c, _d = _a.selectionType, selectionType = _d === void 0 ? "single" : _d, disabledDates = _a.disabledDates, minDate = _a.minDate, maxDate = _a.maxDate, props = __rest(_a, ["errorMessage", "helper", "id", "label", "isDisabled", "isReadOnly", "isRequired", "size", "value", "name", "onBlur", "onChange", "onDateSelect", "onRangeSelect", "onClickDisclosure", "disclosureTitle", "disclosureText", "type", "isFluid", "selectionType", "disabledDates", "minDate", "maxDate"]);
|
|
15276
15348
|
var _e = useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
15277
15349
|
var _f = useState("Choose date"), ariaLabel = _f[0], setAriaLabel = _f[1];
|
|
15278
15350
|
var _g = useState(false), showCalendar = _g[0], setShowCalendar = _g[1];
|
|
@@ -15346,32 +15418,15 @@ var DatePicker = forwardRef(function (_a, ref) {
|
|
|
15346
15418
|
}
|
|
15347
15419
|
};
|
|
15348
15420
|
var handleRangeSelectionBlur = function (e) {
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
15358
|
-
if (isStartDateBeforeMinDate) {
|
|
15359
|
-
return dispatchChangeEvent(e, "".concat(formatDate(minDate), " - ").concat(formatDate(end)));
|
|
15360
|
-
}
|
|
15361
|
-
if (isEndDateAfterMaxDate) {
|
|
15362
|
-
return dispatchChangeEvent(e, "".concat(formatDate(start), " - ").concat(formatDate(maxDate)));
|
|
15363
|
-
}
|
|
15364
|
-
if (isStartDateDisabled || isEndDateDisabled) {
|
|
15365
|
-
var _b = previousValidValue.current
|
|
15366
|
-
? convertRangeStringToDates(previousValidValue.current)
|
|
15367
|
-
: [], start_1 = _b[0], end_1 = _b[1];
|
|
15368
|
-
return dispatchChangeEvent(e, start_1 && end_1 ? "".concat(formatDate(start_1), " - ").concat(formatDate(end_1)) : "");
|
|
15369
|
-
}
|
|
15370
|
-
if (isAfter(start, end)) {
|
|
15371
|
-
var _c = [start, end].sort(compareAsc), orderedStart = _c[0], orderedEnd = _c[1];
|
|
15372
|
-
return dispatchChangeEvent(e, "".concat(formatDate(orderedStart), " - ").concat(formatDate(orderedEnd)));
|
|
15373
|
-
}
|
|
15374
|
-
}
|
|
15421
|
+
validateRangeOnBlur({
|
|
15422
|
+
value: value,
|
|
15423
|
+
minDate: minDate,
|
|
15424
|
+
maxDate: maxDate,
|
|
15425
|
+
disabledDates: disabledDates,
|
|
15426
|
+
previousValidValue: previousValidValue.current,
|
|
15427
|
+
dispatchChangeEvent: dispatchChangeEvent,
|
|
15428
|
+
blurEvent: e,
|
|
15429
|
+
});
|
|
15375
15430
|
};
|
|
15376
15431
|
var handleBlur = function (e) {
|
|
15377
15432
|
onBlur && onBlur(e);
|
|
@@ -15428,7 +15483,7 @@ var DatePicker = forwardRef(function (_a, ref) {
|
|
|
15428
15483
|
icon: "datePickerCalendar",
|
|
15429
15484
|
label: ariaLabel,
|
|
15430
15485
|
ref: buttonRef,
|
|
15431
|
-
}, placeholder: placeHolder, errorMessage: errorMessage, helper: helper, id: id, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, label: label,
|
|
15486
|
+
}, placeholder: placeHolder, errorMessage: errorMessage, helper: helper, id: id, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, label: label, maxLength: selectionType === "range" ? 23 : 10, name: name, onBlur: handleBlur, onChange: handleChange, onClickDisclosure: onClickDisclosure, type: "text", value: value, disclosureTitle: disclosureTitle, disclosureText: disclosureText, size: size }, props, filterAttrs(props))),
|
|
15432
15487
|
React__default.createElement(Root2$3, __assign({ open: showCalendar, onOpenChange: handleCalendarOpenChange }, filterAttrs(props)),
|
|
15433
15488
|
React__default.createElement(Anchor2$1, null),
|
|
15434
15489
|
React__default.createElement(Portal$5, { container: themeElement },
|
|
@@ -15436,6 +15491,174 @@ var DatePicker = forwardRef(function (_a, ref) {
|
|
|
15436
15491
|
React__default.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 }))))));
|
|
15437
15492
|
});
|
|
15438
15493
|
|
|
15494
|
+
var lowerCaseDateFormat = DATE_FORMAT.toLowerCase();
|
|
15495
|
+
var DatePickerRange = function (_a) {
|
|
15496
|
+
var _b, _c;
|
|
15497
|
+
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;
|
|
15498
|
+
// startInput States
|
|
15499
|
+
var _e = useState("Choose start date"), startAriaLabel = _e[0], setStartAriaLabel = _e[1];
|
|
15500
|
+
var startButtonRef = useRef(null);
|
|
15501
|
+
var startInputRef = useRef(null);
|
|
15502
|
+
var _f = useState((_b = inputStart.value) !== null && _b !== void 0 ? _b : ""), startValue = _f[0], setStartValue = _f[1];
|
|
15503
|
+
// endInput States
|
|
15504
|
+
var _g = useState("Choose end date"), endAriaLabel = _g[0], setEndAriaLabel = _g[1];
|
|
15505
|
+
var _h = useState((_c = inputEnd.value) !== null && _c !== void 0 ? _c : ""), endValue = _h[0], setEndValue = _h[1];
|
|
15506
|
+
var endButtonRef = useRef(null);
|
|
15507
|
+
var endInputRef = useRef(null);
|
|
15508
|
+
var previousValidValue = useRef("");
|
|
15509
|
+
var _j = useThemeElement(), themeElement = _j[0], setThemeElement = _j[1];
|
|
15510
|
+
var _k = useState(false), showCalendar = _k[0], setShowCalendar = _k[1];
|
|
15511
|
+
var _l = useState(null), activeInput = _l[0], setActiveInput = _l[1];
|
|
15512
|
+
var getIsRequired = function (input) { var _a; return (_a = input.isRequired) !== null && _a !== void 0 ? _a : true; };
|
|
15513
|
+
var getLabel = function (input, type) { var _a; return (_a = input.label) !== null && _a !== void 0 ? _a : "Select a ".concat(type, " date"); };
|
|
15514
|
+
// sync external props with internal value (not typing)
|
|
15515
|
+
useEffect(function () {
|
|
15516
|
+
if (inputStart.value !== undefined && inputStart.value !== startValue) {
|
|
15517
|
+
setStartValue(inputStart.value);
|
|
15518
|
+
}
|
|
15519
|
+
if (inputEnd.value !== undefined && inputEnd.value !== endValue) {
|
|
15520
|
+
setEndValue(inputEnd.value);
|
|
15521
|
+
}
|
|
15522
|
+
}, [inputStart.value, inputEnd.value]);
|
|
15523
|
+
var handleIconClick = function (_a) {
|
|
15524
|
+
var ref = _a.ref, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, input = _a.input;
|
|
15525
|
+
if (ref &&
|
|
15526
|
+
!ref.contains(document.activeElement) &&
|
|
15527
|
+
!isDisabled &&
|
|
15528
|
+
!isReadOnly) {
|
|
15529
|
+
setActiveInput(input);
|
|
15530
|
+
setShowCalendar(true);
|
|
15531
|
+
}
|
|
15532
|
+
};
|
|
15533
|
+
var handleRangeSelect = function (rangeSelection) {
|
|
15534
|
+
var start = rangeSelection.start, end = rangeSelection.end, isSelectionComplete = rangeSelection.isSelectionComplete;
|
|
15535
|
+
var formattedStart = format(start, "dd/MM/yyyy");
|
|
15536
|
+
var formattedEnd = end ? format(end, "dd/MM/yyyy") : "";
|
|
15537
|
+
onRangeSelect === null || onRangeSelect === void 0 ? void 0 : onRangeSelect(__assign(__assign({}, rangeSelection), { formattedStart: formattedStart, formattedEnd: formattedEnd }));
|
|
15538
|
+
if (isSelectionComplete) {
|
|
15539
|
+
var fullRange = "".concat(formattedStart, " - ").concat(formattedEnd);
|
|
15540
|
+
previousValidValue.current = fullRange;
|
|
15541
|
+
setShowCalendar(false);
|
|
15542
|
+
}
|
|
15543
|
+
};
|
|
15544
|
+
var handleCalendarClose = function () {
|
|
15545
|
+
var _a, _b, _c;
|
|
15546
|
+
if (((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.tagName) === "BODY") {
|
|
15547
|
+
(_b = startButtonRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
15548
|
+
(_c = endButtonRef.current) === null || _c === void 0 ? void 0 : _c.focus();
|
|
15549
|
+
}
|
|
15550
|
+
};
|
|
15551
|
+
var handleIconFocus = function (_a) {
|
|
15552
|
+
var input = _a.input;
|
|
15553
|
+
if (isRangeValid("".concat(startValue, " - ").concat(endValue))) {
|
|
15554
|
+
var _b = convertRangeStringToDates("".concat(startValue, " - ").concat(endValue)), start = _b[0], end = _b[1];
|
|
15555
|
+
var label = "Change dates, currently selected dates are ".concat(format(start, "EEEE do MMMM, yyyy"), " to ").concat(format(end, "EEEE do MMMM, yyyy"));
|
|
15556
|
+
input === "start" ? setStartAriaLabel(label) : setEndAriaLabel(label);
|
|
15557
|
+
return;
|
|
15558
|
+
}
|
|
15559
|
+
};
|
|
15560
|
+
var handleChange = function (e, input) {
|
|
15561
|
+
if (input === "start") {
|
|
15562
|
+
inputStart.onChange && inputStart.onChange(e);
|
|
15563
|
+
setStartValue(e.target.value);
|
|
15564
|
+
setActiveInput("start");
|
|
15565
|
+
}
|
|
15566
|
+
if (input === "end") {
|
|
15567
|
+
inputEnd.onChange && inputEnd.onChange(e);
|
|
15568
|
+
setEndValue(e.target.value);
|
|
15569
|
+
setActiveInput("end");
|
|
15570
|
+
}
|
|
15571
|
+
};
|
|
15572
|
+
var handleBlur = function (e, input) {
|
|
15573
|
+
var value = "".concat(startValue, " - ").concat(endValue);
|
|
15574
|
+
if (input === "start") {
|
|
15575
|
+
inputStart.onBlur && inputStart.onBlur(e);
|
|
15576
|
+
}
|
|
15577
|
+
if (input === "end") {
|
|
15578
|
+
inputEnd.onBlur && inputEnd.onBlur(e);
|
|
15579
|
+
}
|
|
15580
|
+
validateRangeOnBlur({
|
|
15581
|
+
value: value,
|
|
15582
|
+
minDate: minDate,
|
|
15583
|
+
maxDate: maxDate,
|
|
15584
|
+
disabledDates: disabledDates,
|
|
15585
|
+
previousValidValue: previousValidValue.current,
|
|
15586
|
+
dispatchChangeEvent: function (e, corrected) {
|
|
15587
|
+
var _a, _b;
|
|
15588
|
+
var _c = convertRangeStringToDates(corrected), start = _c[0], end = _c[1];
|
|
15589
|
+
(_a = inputStart.onChange) === null || _a === void 0 ? void 0 : _a.call(inputStart, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(start) }) }));
|
|
15590
|
+
(_b = inputEnd.onChange) === null || _b === void 0 ? void 0 : _b.call(inputEnd, __assign(__assign({}, e), { target: __assign(__assign({}, e.target), { value: formatDate(end) }) }));
|
|
15591
|
+
previousValidValue.current = corrected;
|
|
15592
|
+
},
|
|
15593
|
+
blurEvent: e,
|
|
15594
|
+
});
|
|
15595
|
+
};
|
|
15596
|
+
var handleCalendarOpenChange = function (isOpen) {
|
|
15597
|
+
if (document.activeElement)
|
|
15598
|
+
setShowCalendar(isOpen);
|
|
15599
|
+
};
|
|
15600
|
+
var handleAutoFocus = function (e) {
|
|
15601
|
+
e.preventDefault();
|
|
15602
|
+
};
|
|
15603
|
+
var setStartInputRef = function (el) {
|
|
15604
|
+
startInputRef.current = el;
|
|
15605
|
+
};
|
|
15606
|
+
var setEndInputRef = function (el) {
|
|
15607
|
+
endInputRef.current = el;
|
|
15608
|
+
};
|
|
15609
|
+
var onCancelClick = function () {
|
|
15610
|
+
setShowCalendar(false);
|
|
15611
|
+
};
|
|
15612
|
+
var getCalendarRange = function () {
|
|
15613
|
+
var _a = convertRangeStringToDateTuple("".concat(startValue, " - ").concat(endValue)), start = _a[0], end = _a[1];
|
|
15614
|
+
// when inital or one date is set - allow user to pick start / end independently
|
|
15615
|
+
if (start && end) {
|
|
15616
|
+
if (activeInput === "start") {
|
|
15617
|
+
return end ? [end] : [];
|
|
15618
|
+
}
|
|
15619
|
+
if (activeInput === "end") {
|
|
15620
|
+
return start ? [start] : [];
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
// removes all non date obj
|
|
15624
|
+
return [start, end].filter(function (d) { return d instanceof Date; });
|
|
15625
|
+
};
|
|
15626
|
+
return (React__default.createElement("div", { className: "arc-DatePickerRange", ref: setThemeElement },
|
|
15627
|
+
React__default.createElement(TextInputWithPlaceHolder, __assign({ ref: setStartInputRef, type: "text", iconButton: {
|
|
15628
|
+
onClick: function () {
|
|
15629
|
+
return handleIconClick({
|
|
15630
|
+
ref: startInputRef.current,
|
|
15631
|
+
isDisabled: inputStart.isDisabled,
|
|
15632
|
+
isReadOnly: inputStart.isReadOnly,
|
|
15633
|
+
input: "start",
|
|
15634
|
+
});
|
|
15635
|
+
},
|
|
15636
|
+
onFocus: function () { return handleIconFocus({ input: "start" }); },
|
|
15637
|
+
icon: "datePickerCalendar",
|
|
15638
|
+
label: startAriaLabel,
|
|
15639
|
+
ref: startButtonRef,
|
|
15640
|
+
}, 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))),
|
|
15641
|
+
React__default.createElement(TextInputWithPlaceHolder, __assign({ ref: setEndInputRef, type: "text", iconButton: {
|
|
15642
|
+
onClick: function () {
|
|
15643
|
+
return handleIconClick({
|
|
15644
|
+
ref: endInputRef.current,
|
|
15645
|
+
isDisabled: inputEnd.isDisabled,
|
|
15646
|
+
isReadOnly: inputEnd.isReadOnly,
|
|
15647
|
+
input: "end",
|
|
15648
|
+
});
|
|
15649
|
+
},
|
|
15650
|
+
onFocus: function () { return handleIconFocus({ input: "end" }); },
|
|
15651
|
+
icon: "datePickerCalendar",
|
|
15652
|
+
label: endAriaLabel,
|
|
15653
|
+
ref: endButtonRef,
|
|
15654
|
+
}, 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))),
|
|
15655
|
+
React__default.createElement(Root2$3, { open: showCalendar, onOpenChange: handleCalendarOpenChange },
|
|
15656
|
+
React__default.createElement(Anchor2$1, null),
|
|
15657
|
+
React__default.createElement(Portal$5, { container: themeElement },
|
|
15658
|
+
React__default.createElement(Content2$4, { align: "end", "aria-modal": "true", "aria-label": "Choose Date", className: "arc-DatePicker-modal", onOpenAutoFocus: handleAutoFocus, onCloseAutoFocus: handleCalendarClose },
|
|
15659
|
+
React__default.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: "range", selectedRange: getCalendarRange(), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onRangeSelect: handleRangeSelect }))))));
|
|
15660
|
+
};
|
|
15661
|
+
|
|
15439
15662
|
/**
|
|
15440
15663
|
* Use `Disclosure` to show and hide sections of content.
|
|
15441
15664
|
*/
|
|
@@ -15487,273 +15710,6 @@ var Download = function (_a) {
|
|
|
15487
15710
|
React__default.createElement(Text, { tone: "supporting" }, description))))));
|
|
15488
15711
|
};
|
|
15489
15712
|
|
|
15490
|
-
const LEFT = "Left";
|
|
15491
|
-
const RIGHT = "Right";
|
|
15492
|
-
const UP = "Up";
|
|
15493
|
-
const DOWN = "Down";
|
|
15494
|
-
|
|
15495
|
-
/* global document */
|
|
15496
|
-
const defaultProps = {
|
|
15497
|
-
delta: 10,
|
|
15498
|
-
preventScrollOnSwipe: false,
|
|
15499
|
-
rotationAngle: 0,
|
|
15500
|
-
trackMouse: false,
|
|
15501
|
-
trackTouch: true,
|
|
15502
|
-
swipeDuration: Infinity,
|
|
15503
|
-
touchEventOptions: { passive: true },
|
|
15504
|
-
};
|
|
15505
|
-
const initialState = {
|
|
15506
|
-
first: true,
|
|
15507
|
-
initial: [0, 0],
|
|
15508
|
-
start: 0,
|
|
15509
|
-
swiping: false,
|
|
15510
|
-
xy: [0, 0],
|
|
15511
|
-
};
|
|
15512
|
-
const mouseMove = "mousemove";
|
|
15513
|
-
const mouseUp = "mouseup";
|
|
15514
|
-
const touchEnd = "touchend";
|
|
15515
|
-
const touchMove = "touchmove";
|
|
15516
|
-
const touchStart = "touchstart";
|
|
15517
|
-
function getDirection(absX, absY, deltaX, deltaY) {
|
|
15518
|
-
if (absX > absY) {
|
|
15519
|
-
if (deltaX > 0) {
|
|
15520
|
-
return RIGHT;
|
|
15521
|
-
}
|
|
15522
|
-
return LEFT;
|
|
15523
|
-
}
|
|
15524
|
-
else if (deltaY > 0) {
|
|
15525
|
-
return DOWN;
|
|
15526
|
-
}
|
|
15527
|
-
return UP;
|
|
15528
|
-
}
|
|
15529
|
-
function rotateXYByAngle(pos, angle) {
|
|
15530
|
-
if (angle === 0)
|
|
15531
|
-
return pos;
|
|
15532
|
-
const angleInRadians = (Math.PI / 180) * angle;
|
|
15533
|
-
const x = pos[0] * Math.cos(angleInRadians) + pos[1] * Math.sin(angleInRadians);
|
|
15534
|
-
const y = pos[1] * Math.cos(angleInRadians) - pos[0] * Math.sin(angleInRadians);
|
|
15535
|
-
return [x, y];
|
|
15536
|
-
}
|
|
15537
|
-
function getHandlers(set, handlerProps) {
|
|
15538
|
-
const onStart = (event) => {
|
|
15539
|
-
const isTouch = "touches" in event;
|
|
15540
|
-
// if more than a single touch don't track, for now...
|
|
15541
|
-
if (isTouch && event.touches.length > 1)
|
|
15542
|
-
return;
|
|
15543
|
-
set((state, props) => {
|
|
15544
|
-
// setup mouse listeners on document to track swipe since swipe can leave container
|
|
15545
|
-
if (props.trackMouse && !isTouch) {
|
|
15546
|
-
document.addEventListener(mouseMove, onMove);
|
|
15547
|
-
document.addEventListener(mouseUp, onUp);
|
|
15548
|
-
}
|
|
15549
|
-
const { clientX, clientY } = isTouch ? event.touches[0] : event;
|
|
15550
|
-
const xy = rotateXYByAngle([clientX, clientY], props.rotationAngle);
|
|
15551
|
-
props.onTouchStartOrOnMouseDown &&
|
|
15552
|
-
props.onTouchStartOrOnMouseDown({ event });
|
|
15553
|
-
return Object.assign(Object.assign(Object.assign({}, state), initialState), { initial: xy.slice(), xy, start: event.timeStamp || 0 });
|
|
15554
|
-
});
|
|
15555
|
-
};
|
|
15556
|
-
const onMove = (event) => {
|
|
15557
|
-
set((state, props) => {
|
|
15558
|
-
const isTouch = "touches" in event;
|
|
15559
|
-
// Discount a swipe if additional touches are present after
|
|
15560
|
-
// a swipe has started.
|
|
15561
|
-
if (isTouch && event.touches.length > 1) {
|
|
15562
|
-
return state;
|
|
15563
|
-
}
|
|
15564
|
-
// if swipe has exceeded duration stop tracking
|
|
15565
|
-
if (event.timeStamp - state.start > props.swipeDuration) {
|
|
15566
|
-
return state.swiping ? Object.assign(Object.assign({}, state), { swiping: false }) : state;
|
|
15567
|
-
}
|
|
15568
|
-
const { clientX, clientY } = isTouch ? event.touches[0] : event;
|
|
15569
|
-
const [x, y] = rotateXYByAngle([clientX, clientY], props.rotationAngle);
|
|
15570
|
-
const deltaX = x - state.xy[0];
|
|
15571
|
-
const deltaY = y - state.xy[1];
|
|
15572
|
-
const absX = Math.abs(deltaX);
|
|
15573
|
-
const absY = Math.abs(deltaY);
|
|
15574
|
-
const time = (event.timeStamp || 0) - state.start;
|
|
15575
|
-
const velocity = Math.sqrt(absX * absX + absY * absY) / (time || 1);
|
|
15576
|
-
const vxvy = [deltaX / (time || 1), deltaY / (time || 1)];
|
|
15577
|
-
const dir = getDirection(absX, absY, deltaX, deltaY);
|
|
15578
|
-
// if swipe is under delta and we have not started to track a swipe: skip update
|
|
15579
|
-
const delta = typeof props.delta === "number"
|
|
15580
|
-
? props.delta
|
|
15581
|
-
: props.delta[dir.toLowerCase()] ||
|
|
15582
|
-
defaultProps.delta;
|
|
15583
|
-
if (absX < delta && absY < delta && !state.swiping)
|
|
15584
|
-
return state;
|
|
15585
|
-
const eventData = {
|
|
15586
|
-
absX,
|
|
15587
|
-
absY,
|
|
15588
|
-
deltaX,
|
|
15589
|
-
deltaY,
|
|
15590
|
-
dir,
|
|
15591
|
-
event,
|
|
15592
|
-
first: state.first,
|
|
15593
|
-
initial: state.initial,
|
|
15594
|
-
velocity,
|
|
15595
|
-
vxvy,
|
|
15596
|
-
};
|
|
15597
|
-
// call onSwipeStart if present and is first swipe event
|
|
15598
|
-
eventData.first && props.onSwipeStart && props.onSwipeStart(eventData);
|
|
15599
|
-
// call onSwiping if present
|
|
15600
|
-
props.onSwiping && props.onSwiping(eventData);
|
|
15601
|
-
// track if a swipe is cancelable (handler for swiping or swiped(dir) exists)
|
|
15602
|
-
// so we can call preventDefault if needed
|
|
15603
|
-
let cancelablePageSwipe = false;
|
|
15604
|
-
if (props.onSwiping ||
|
|
15605
|
-
props.onSwiped ||
|
|
15606
|
-
props[`onSwiped${dir}`]) {
|
|
15607
|
-
cancelablePageSwipe = true;
|
|
15608
|
-
}
|
|
15609
|
-
if (cancelablePageSwipe &&
|
|
15610
|
-
props.preventScrollOnSwipe &&
|
|
15611
|
-
props.trackTouch &&
|
|
15612
|
-
event.cancelable) {
|
|
15613
|
-
event.preventDefault();
|
|
15614
|
-
}
|
|
15615
|
-
return Object.assign(Object.assign({}, state), {
|
|
15616
|
-
// first is now always false
|
|
15617
|
-
first: false, eventData, swiping: true });
|
|
15618
|
-
});
|
|
15619
|
-
};
|
|
15620
|
-
const onEnd = (event) => {
|
|
15621
|
-
set((state, props) => {
|
|
15622
|
-
let eventData;
|
|
15623
|
-
if (state.swiping && state.eventData) {
|
|
15624
|
-
// if swipe is less than duration fire swiped callbacks
|
|
15625
|
-
if (event.timeStamp - state.start < props.swipeDuration) {
|
|
15626
|
-
eventData = Object.assign(Object.assign({}, state.eventData), { event });
|
|
15627
|
-
props.onSwiped && props.onSwiped(eventData);
|
|
15628
|
-
const onSwipedDir = props[`onSwiped${eventData.dir}`];
|
|
15629
|
-
onSwipedDir && onSwipedDir(eventData);
|
|
15630
|
-
}
|
|
15631
|
-
}
|
|
15632
|
-
else {
|
|
15633
|
-
props.onTap && props.onTap({ event });
|
|
15634
|
-
}
|
|
15635
|
-
props.onTouchEndOrOnMouseUp && props.onTouchEndOrOnMouseUp({ event });
|
|
15636
|
-
return Object.assign(Object.assign(Object.assign({}, state), initialState), { eventData });
|
|
15637
|
-
});
|
|
15638
|
-
};
|
|
15639
|
-
const cleanUpMouse = () => {
|
|
15640
|
-
// safe to just call removeEventListener
|
|
15641
|
-
document.removeEventListener(mouseMove, onMove);
|
|
15642
|
-
document.removeEventListener(mouseUp, onUp);
|
|
15643
|
-
};
|
|
15644
|
-
const onUp = (e) => {
|
|
15645
|
-
cleanUpMouse();
|
|
15646
|
-
onEnd(e);
|
|
15647
|
-
};
|
|
15648
|
-
/**
|
|
15649
|
-
* The value of passive on touchMove depends on `preventScrollOnSwipe`:
|
|
15650
|
-
* - true => { passive: false }
|
|
15651
|
-
* - false => { passive: true } // Default
|
|
15652
|
-
*
|
|
15653
|
-
* NOTE: When preventScrollOnSwipe is true, we attempt to call preventDefault to prevent scroll.
|
|
15654
|
-
*
|
|
15655
|
-
* props.touchEventOptions can also be set for all touch event listeners,
|
|
15656
|
-
* but for `touchmove` specifically when `preventScrollOnSwipe` it will
|
|
15657
|
-
* supersede and force passive to false.
|
|
15658
|
-
*
|
|
15659
|
-
*/
|
|
15660
|
-
const attachTouch = (el, props) => {
|
|
15661
|
-
let cleanup = () => { };
|
|
15662
|
-
if (el && el.addEventListener) {
|
|
15663
|
-
const baseOptions = Object.assign(Object.assign({}, defaultProps.touchEventOptions), props.touchEventOptions);
|
|
15664
|
-
// attach touch event listeners and handlers
|
|
15665
|
-
const tls = [
|
|
15666
|
-
[touchStart, onStart, baseOptions],
|
|
15667
|
-
// preventScrollOnSwipe option supersedes touchEventOptions.passive
|
|
15668
|
-
[
|
|
15669
|
-
touchMove,
|
|
15670
|
-
onMove,
|
|
15671
|
-
Object.assign(Object.assign({}, baseOptions), (props.preventScrollOnSwipe ? { passive: false } : {})),
|
|
15672
|
-
],
|
|
15673
|
-
[touchEnd, onEnd, baseOptions],
|
|
15674
|
-
];
|
|
15675
|
-
tls.forEach(([e, h, o]) => el.addEventListener(e, h, o));
|
|
15676
|
-
// return properly scoped cleanup method for removing listeners, options not required
|
|
15677
|
-
cleanup = () => tls.forEach(([e, h]) => el.removeEventListener(e, h));
|
|
15678
|
-
}
|
|
15679
|
-
return cleanup;
|
|
15680
|
-
};
|
|
15681
|
-
const onRef = (el) => {
|
|
15682
|
-
// "inline" ref functions are called twice on render, once with null then again with DOM element
|
|
15683
|
-
// ignore null here
|
|
15684
|
-
if (el === null)
|
|
15685
|
-
return;
|
|
15686
|
-
set((state, props) => {
|
|
15687
|
-
// if the same DOM el as previous just return state
|
|
15688
|
-
if (state.el === el)
|
|
15689
|
-
return state;
|
|
15690
|
-
const addState = {};
|
|
15691
|
-
// if new DOM el clean up old DOM and reset cleanUpTouch
|
|
15692
|
-
if (state.el && state.el !== el && state.cleanUpTouch) {
|
|
15693
|
-
state.cleanUpTouch();
|
|
15694
|
-
addState.cleanUpTouch = void 0;
|
|
15695
|
-
}
|
|
15696
|
-
// only attach if we want to track touch
|
|
15697
|
-
if (props.trackTouch && el) {
|
|
15698
|
-
addState.cleanUpTouch = attachTouch(el, props);
|
|
15699
|
-
}
|
|
15700
|
-
// store event attached DOM el for comparison, clean up, and re-attachment
|
|
15701
|
-
return Object.assign(Object.assign(Object.assign({}, state), { el }), addState);
|
|
15702
|
-
});
|
|
15703
|
-
};
|
|
15704
|
-
// set ref callback to attach touch event listeners
|
|
15705
|
-
const output = {
|
|
15706
|
-
ref: onRef,
|
|
15707
|
-
};
|
|
15708
|
-
// if track mouse attach mouse down listener
|
|
15709
|
-
if (handlerProps.trackMouse) {
|
|
15710
|
-
output.onMouseDown = onStart;
|
|
15711
|
-
}
|
|
15712
|
-
return [output, attachTouch];
|
|
15713
|
-
}
|
|
15714
|
-
function updateTransientState(state, props, previousProps, attachTouch) {
|
|
15715
|
-
// if trackTouch is off or there is no el, then remove handlers if necessary and exit
|
|
15716
|
-
if (!props.trackTouch || !state.el) {
|
|
15717
|
-
if (state.cleanUpTouch) {
|
|
15718
|
-
state.cleanUpTouch();
|
|
15719
|
-
}
|
|
15720
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: undefined });
|
|
15721
|
-
}
|
|
15722
|
-
// trackTouch is on, so if there are no handlers attached, attach them and exit
|
|
15723
|
-
if (!state.cleanUpTouch) {
|
|
15724
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
|
|
15725
|
-
}
|
|
15726
|
-
// trackTouch is on and handlers are already attached, so if preventScrollOnSwipe changes value,
|
|
15727
|
-
// remove and reattach handlers (this is required to update the passive option when attaching
|
|
15728
|
-
// the handlers)
|
|
15729
|
-
if (props.preventScrollOnSwipe !== previousProps.preventScrollOnSwipe ||
|
|
15730
|
-
props.touchEventOptions.passive !== previousProps.touchEventOptions.passive) {
|
|
15731
|
-
state.cleanUpTouch();
|
|
15732
|
-
return Object.assign(Object.assign({}, state), { cleanUpTouch: attachTouch(state.el, props) });
|
|
15733
|
-
}
|
|
15734
|
-
return state;
|
|
15735
|
-
}
|
|
15736
|
-
function useSwipeable(options) {
|
|
15737
|
-
const { trackMouse } = options;
|
|
15738
|
-
const transientState = React.useRef(Object.assign({}, initialState));
|
|
15739
|
-
const transientProps = React.useRef(Object.assign({}, defaultProps));
|
|
15740
|
-
// track previous rendered props
|
|
15741
|
-
const previousProps = React.useRef(Object.assign({}, transientProps.current));
|
|
15742
|
-
previousProps.current = Object.assign({}, transientProps.current);
|
|
15743
|
-
// update current render props & defaults
|
|
15744
|
-
transientProps.current = Object.assign(Object.assign({}, defaultProps), options);
|
|
15745
|
-
// Force defaults for config properties
|
|
15746
|
-
let defaultKey;
|
|
15747
|
-
for (defaultKey in defaultProps) {
|
|
15748
|
-
if (transientProps.current[defaultKey] === void 0) {
|
|
15749
|
-
transientProps.current[defaultKey] = defaultProps[defaultKey];
|
|
15750
|
-
}
|
|
15751
|
-
}
|
|
15752
|
-
const [handlers, attachTouch] = React.useMemo(() => getHandlers((stateSetter) => (transientState.current = stateSetter(transientState.current, transientProps.current)), { trackMouse }), [trackMouse]);
|
|
15753
|
-
transientState.current = updateTransientState(transientState.current, transientProps.current, previousProps.current, attachTouch);
|
|
15754
|
-
return handlers;
|
|
15755
|
-
}
|
|
15756
|
-
|
|
15757
15713
|
var DIALOG_NAME = "Dialog";
|
|
15758
15714
|
var [createDialogContext, createDialogScope] = createContextScope$1(DIALOG_NAME);
|
|
15759
15715
|
var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
|
|
@@ -16054,27 +16010,10 @@ var Title = DialogTitle;
|
|
|
16054
16010
|
var Description = DialogDescription;
|
|
16055
16011
|
|
|
16056
16012
|
var Drawer = function (_a) {
|
|
16057
|
-
var isOpen = _a.isOpen,
|
|
16013
|
+
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"]);
|
|
16058
16014
|
var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
|
|
16059
16015
|
var triggerRef = useRef(null);
|
|
16060
16016
|
var _g = useState(null), exitTranslateValue = _g[0], setExitTranslateValue = _g[1];
|
|
16061
|
-
var handlers = useSwipeable({
|
|
16062
|
-
onSwiped: function (_a) {
|
|
16063
|
-
var dir = _a.dir;
|
|
16064
|
-
if (position === "left" && dir === "Left") {
|
|
16065
|
-
setExitTranslateValue([-100, 0]);
|
|
16066
|
-
}
|
|
16067
|
-
if (position === "right" && dir === "Right") {
|
|
16068
|
-
setExitTranslateValue([100, 0]);
|
|
16069
|
-
}
|
|
16070
|
-
if (position === "top" && dir === "Up") {
|
|
16071
|
-
setExitTranslateValue([0, -100]);
|
|
16072
|
-
}
|
|
16073
|
-
if (position === "bottom" && dir === "Down") {
|
|
16074
|
-
setExitTranslateValue([0, 100]);
|
|
16075
|
-
}
|
|
16076
|
-
},
|
|
16077
|
-
});
|
|
16078
16017
|
var setTriggerElement = function () {
|
|
16079
16018
|
return shouldReturnFocus &&
|
|
16080
16019
|
(triggerRef.current = document.activeElement);
|
|
@@ -16096,30 +16035,69 @@ var Drawer = function (_a) {
|
|
|
16096
16035
|
},
|
|
16097
16036
|
}
|
|
16098
16037
|
: {};
|
|
16038
|
+
var sizingProperties = __assign(__assign({}, (position !== "bottom" && { width: width })), (position === "bottom" && { height: height }));
|
|
16099
16039
|
return (React__default.createElement("div", { ref: setThemeElement },
|
|
16100
16040
|
React__default.createElement(Root$3, { open: isOpen },
|
|
16101
16041
|
React__default.createElement(Portal$3, { container: themeElement },
|
|
16102
16042
|
React__default.createElement(Overlay, { style: exitTransitionStyle.overlay, className: classNames("arc-Drawer-overlay", {
|
|
16103
|
-
"arc-Drawer-overlay--visible":
|
|
16043
|
+
"arc-Drawer-overlay--visible": !noOverlay,
|
|
16104
16044
|
}) },
|
|
16105
16045
|
React__default.createElement(Content$1, __assign({ onTransitionEnd: function () {
|
|
16106
16046
|
setExitTranslateValue(null);
|
|
16107
16047
|
onRequestClose();
|
|
16108
|
-
}, className: classNames("arc-Drawer-slider", "arc-Drawer-slider--".concat(size), "arc-Drawer-slider--".concat(position)), style:
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16048
|
+
}, 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)),
|
|
16049
|
+
children,
|
|
16050
|
+
React__default.createElement("div", { className: "arc-Drawer-closeButtonContainer" },
|
|
16051
|
+
React__default.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
|
|
16052
|
+
React__default.createElement(ThemeIcon, { size: 32, icon: "drawerClose" })))))))));
|
|
16053
|
+
};
|
|
16054
|
+
|
|
16055
|
+
/**
|
|
16056
|
+
* Use `Rule` to display a horizontal or vertical rule.
|
|
16057
|
+
*/
|
|
16058
|
+
var Rule = function (_a, props) {
|
|
16059
|
+
var _b;
|
|
16060
|
+
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
16061
|
+
var surface = useContext(Context$3).surface;
|
|
16062
|
+
return (React__default.createElement("hr", __assign({ className: classNames((_b = {
|
|
16063
|
+
"arc-Rule": true
|
|
16064
|
+
},
|
|
16065
|
+
_b["arc-Rule--".concat(orientation)] = true,
|
|
16066
|
+
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
16067
|
+
_b)) }, filterAttrs(props))));
|
|
16068
|
+
};
|
|
16069
|
+
|
|
16070
|
+
var DrawerHeader = function (_a) {
|
|
16071
|
+
var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, props = __rest(_a, ["title", "isFixed"]);
|
|
16072
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
16073
|
+
React__default.createElement("div", __assign({ className: classNames("arc-DrawerHeader", {
|
|
16074
|
+
"arc-DrawerHeader--isFixed": isFixed,
|
|
16075
|
+
}) }, filterAttrs(props)),
|
|
16076
|
+
React__default.createElement("div", { className: "arc-DrawerHeader-content" },
|
|
16077
|
+
React__default.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
|
|
16078
|
+
React__default.createElement(Title, { asChild: true },
|
|
16079
|
+
React__default.createElement("h1", { className: "arc-DrawerHeader-title" }, title)))),
|
|
16080
|
+
isFixed && (React__default.createElement("div", { className: "arc-DrawerHeader-divider" },
|
|
16081
|
+
React__default.createElement(Rule, null))))));
|
|
16082
|
+
};
|
|
16083
|
+
|
|
16084
|
+
var DrawerFooter = function (_a) {
|
|
16085
|
+
var isFixed = _a.isFixed, children = _a.children;
|
|
16086
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
16087
|
+
React__default.createElement("div", { className: classNames("arc-DrawerFooter", {
|
|
16088
|
+
"arc-DrawerFooter--isFixed": isFixed,
|
|
16089
|
+
}) },
|
|
16090
|
+
isFixed && (React__default.createElement("div", { className: "arc-DrawerFooter-divider" },
|
|
16091
|
+
React__default.createElement(Rule, null))),
|
|
16092
|
+
children)));
|
|
16093
|
+
};
|
|
16094
|
+
|
|
16095
|
+
var DrawerContent = function (_a) {
|
|
16096
|
+
var isFullBleed = _a.isFullBleed, children = _a.children;
|
|
16097
|
+
return (React__default.createElement("div", { className: classNames("arc-DrawerContent", {
|
|
16098
|
+
"arc-DrawerContent--isFullBleed": isFullBleed,
|
|
16099
|
+
}) },
|
|
16100
|
+
React__default.createElement("div", { className: "arc-Drawer-section" }, children)));
|
|
16123
16101
|
};
|
|
16124
16102
|
|
|
16125
16103
|
/**
|
|
@@ -16233,7 +16211,7 @@ var GhostedHeroBanner = function (_a) {
|
|
|
16233
16211
|
return (React__default.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
|
|
16234
16212
|
React__default.createElement("div", { className: "arc-GhostedHeroBanner-content" },
|
|
16235
16213
|
label && (React__default.createElement(React__default.Fragment, null,
|
|
16236
|
-
React__default.createElement(Heading, {
|
|
16214
|
+
React__default.createElement(Heading, { fontStyle: "overline" }, label),
|
|
16237
16215
|
React__default.createElement(VerticalSpace, { size: "8" }))),
|
|
16238
16216
|
React__default.createElement(Heading, { level: headingLevel, size: "xl" }, heading),
|
|
16239
16217
|
text && (React__default.createElement(React__default.Fragment, null,
|
|
@@ -16245,14 +16223,361 @@ var GhostedHeroBanner = function (_a) {
|
|
|
16245
16223
|
React__default.createElement("div", { className: "arc-GhostedHeroBanner-image " }, img && React__default.createElement(BannerImage, __assign({ ariaHidden: true }, img)))));
|
|
16246
16224
|
};
|
|
16247
16225
|
|
|
16248
|
-
var
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16226
|
+
var shorterCssColorNames;
|
|
16227
|
+
var hasRequiredShorterCssColorNames;
|
|
16228
|
+
|
|
16229
|
+
function requireShorterCssColorNames () {
|
|
16230
|
+
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
16231
|
+
hasRequiredShorterCssColorNames = 1;
|
|
16232
|
+
shorterCssColorNames = {
|
|
16233
|
+
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16234
|
+
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
16235
|
+
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
16236
|
+
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
16237
|
+
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
16238
|
+
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
16239
|
+
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
16240
|
+
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
16241
|
+
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
16242
|
+
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
16243
|
+
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
16244
|
+
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
16245
|
+
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
16246
|
+
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
16247
|
+
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
16248
|
+
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
16249
|
+
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
16250
|
+
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
16251
|
+
green: /#008000(ff)?(?!\w)/gi,
|
|
16252
|
+
grey: /#808080(ff)?(?!\w)/gi,
|
|
16253
|
+
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
16254
|
+
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
16255
|
+
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
16256
|
+
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
16257
|
+
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
16258
|
+
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
16259
|
+
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
16260
|
+
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
16261
|
+
maroon: /#800000(ff)?(?!\w)/gi,
|
|
16262
|
+
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
16263
|
+
navy: /#000080(ff)?(?!\w)/gi,
|
|
16264
|
+
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
16265
|
+
olive: /#808000(ff)?(?!\w)/gi,
|
|
16266
|
+
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
16267
|
+
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
16268
|
+
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
16269
|
+
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
16270
|
+
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
16271
|
+
purple: /#800080(ff)?(?!\w)/gi,
|
|
16272
|
+
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
16273
|
+
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
16274
|
+
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
16275
|
+
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
16276
|
+
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
16277
|
+
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
16278
|
+
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
16279
|
+
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
16280
|
+
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
16281
|
+
teal: /#008080(ff)?(?!\w)/gi,
|
|
16282
|
+
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
16283
|
+
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
16284
|
+
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
16285
|
+
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
16286
|
+
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
16287
|
+
};
|
|
16288
|
+
return shorterCssColorNames;
|
|
16289
|
+
}
|
|
16290
|
+
|
|
16291
|
+
var miniSvgDataUri;
|
|
16292
|
+
var hasRequiredMiniSvgDataUri;
|
|
16293
|
+
|
|
16294
|
+
function requireMiniSvgDataUri () {
|
|
16295
|
+
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
16296
|
+
hasRequiredMiniSvgDataUri = 1;
|
|
16297
|
+
var shorterNames = requireShorterCssColorNames();
|
|
16298
|
+
var REGEX = {
|
|
16299
|
+
whitespace: /\s+/g,
|
|
16300
|
+
urlHexPairs: /%[\dA-F]{2}/g,
|
|
16301
|
+
quotes: /"/g,
|
|
16302
|
+
};
|
|
16303
|
+
|
|
16304
|
+
function collapseWhitespace(str) {
|
|
16305
|
+
return str.trim().replace(REGEX.whitespace, ' ');
|
|
16306
|
+
}
|
|
16307
|
+
|
|
16308
|
+
function dataURIPayload(string) {
|
|
16309
|
+
return encodeURIComponent(string)
|
|
16310
|
+
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
16311
|
+
}
|
|
16312
|
+
|
|
16313
|
+
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
16314
|
+
// their equivalent URL-encoded hex codes.
|
|
16315
|
+
function colorCodeToShorterNames(string) {
|
|
16316
|
+
Object.keys(shorterNames).forEach(function(key) {
|
|
16317
|
+
if (shorterNames[key].test(string)) {
|
|
16318
|
+
string = string.replace(shorterNames[key], key);
|
|
16319
|
+
}
|
|
16320
|
+
});
|
|
16321
|
+
|
|
16322
|
+
return string;
|
|
16323
|
+
}
|
|
16324
|
+
|
|
16325
|
+
function specialHexEncode(match) {
|
|
16326
|
+
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
16327
|
+
case '%20': return ' ';
|
|
16328
|
+
case '%3D': return '=';
|
|
16329
|
+
case '%3A': return ':';
|
|
16330
|
+
case '%2F': return '/';
|
|
16331
|
+
default: return match.toLowerCase(); // compresses better
|
|
16332
|
+
}
|
|
16333
|
+
}
|
|
16334
|
+
|
|
16335
|
+
function svgToTinyDataUri(svgString) {
|
|
16336
|
+
if (typeof svgString !== 'string') {
|
|
16337
|
+
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
16338
|
+
}
|
|
16339
|
+
// Strip the Byte-Order Mark if the SVG has one
|
|
16340
|
+
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
16341
|
+
|
|
16342
|
+
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
16343
|
+
.replace(REGEX.quotes, "'");
|
|
16344
|
+
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
16345
|
+
}
|
|
16346
|
+
|
|
16347
|
+
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
16348
|
+
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
16349
|
+
};
|
|
16350
|
+
|
|
16351
|
+
miniSvgDataUri = svgToTinyDataUri;
|
|
16352
|
+
return miniSvgDataUri;
|
|
16353
|
+
}
|
|
16354
|
+
|
|
16355
|
+
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
16356
|
+
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
16357
|
+
|
|
16358
|
+
var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
16359
|
+
var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
16360
|
+
var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
16361
|
+
var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
16362
|
+
|
|
16363
|
+
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>";
|
|
16364
|
+
|
|
16365
|
+
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>";
|
|
16366
|
+
|
|
16367
|
+
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>";
|
|
16368
|
+
|
|
16369
|
+
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>";
|
|
16370
|
+
|
|
16371
|
+
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>";
|
|
16372
|
+
|
|
16373
|
+
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>";
|
|
16374
|
+
|
|
16375
|
+
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>";
|
|
16376
|
+
|
|
16377
|
+
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>";
|
|
16378
|
+
|
|
16379
|
+
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>";
|
|
16380
|
+
|
|
16381
|
+
// commented out s+ props as the svgs don't exist yet
|
|
16382
|
+
var BackgroundGradients = {
|
|
16383
|
+
HomepageDark1: {
|
|
16384
|
+
xs: HomepageDark1,
|
|
16385
|
+
// s: HomepageDark1,
|
|
16386
|
+
// m: HomepageDark1,
|
|
16387
|
+
// l: HomepageDark1,
|
|
16388
|
+
// xl: HomepageDark1,
|
|
16389
|
+
// xxl: HomepageDark1,
|
|
16390
|
+
},
|
|
16391
|
+
HomepageDark2: {
|
|
16392
|
+
xs: HomepageDark2,
|
|
16393
|
+
// s: HomepageDark2,
|
|
16394
|
+
// m: HomepageDark2,
|
|
16395
|
+
// l: HomepageDark2,
|
|
16396
|
+
// xl: HomepageDark2,
|
|
16397
|
+
// xxl: HomepageDark2,
|
|
16398
|
+
},
|
|
16399
|
+
ProductpageDark1: {
|
|
16400
|
+
xs: ProductpageDark1,
|
|
16401
|
+
// s: ProductpageDark1,
|
|
16402
|
+
// m: ProductpageDark1,
|
|
16403
|
+
// l: ProductpageDark1,
|
|
16404
|
+
// xl: ProductpageDark1,
|
|
16405
|
+
// xxl: ProductpageDark1,
|
|
16406
|
+
},
|
|
16407
|
+
ProductpageDark2: {
|
|
16408
|
+
xs: ProductpageDark2,
|
|
16409
|
+
// s: ProductpageDark2,
|
|
16410
|
+
// m: ProductpageDark2,
|
|
16411
|
+
// l: ProductpageDark2,
|
|
16412
|
+
// xl: ProductpageDark2,
|
|
16413
|
+
// xxl: ProductpageDark2,
|
|
16414
|
+
},
|
|
16415
|
+
HomepageLight1: {
|
|
16416
|
+
xs: HomepageLight1,
|
|
16417
|
+
// s: HomepageLight1,
|
|
16418
|
+
// m: HomepageLight1,
|
|
16419
|
+
// l: HomepageLight1,
|
|
16420
|
+
// xl: HomepageLight1,
|
|
16421
|
+
// xxl: HomepageLight1,
|
|
16422
|
+
},
|
|
16423
|
+
HomepageLight2: {
|
|
16424
|
+
xs: HomepageLight2,
|
|
16425
|
+
// s: HomepageLight2,
|
|
16426
|
+
// m: HomepageLight2,
|
|
16427
|
+
// l: HomepageLight2,
|
|
16428
|
+
// xl: HomepageLight2,
|
|
16429
|
+
// xxl: HomepageLight2,
|
|
16430
|
+
},
|
|
16431
|
+
ProductpageLight1: {
|
|
16432
|
+
xs: ProductpageLight1,
|
|
16433
|
+
// s: ProductpageLight1,
|
|
16434
|
+
// m: ProductpageLight1,
|
|
16435
|
+
// l: ProductpageLight1,
|
|
16436
|
+
// xl: ProductpageLight1,
|
|
16437
|
+
// xxl: ProductpageLight1,
|
|
16438
|
+
},
|
|
16439
|
+
ProductpageLight2: {
|
|
16440
|
+
xs: ProductpageLight2,
|
|
16441
|
+
// s: ProductpageLight2,
|
|
16442
|
+
// m: ProductpageLight2,
|
|
16443
|
+
// l: ProductpageLight2,
|
|
16444
|
+
// xl: ProductpageLight2,
|
|
16445
|
+
// xxl: ProductpageLight2,
|
|
16446
|
+
},
|
|
16447
|
+
FooterLight: {
|
|
16448
|
+
xs: FooterLight,
|
|
16449
|
+
// s: FooterLight,
|
|
16450
|
+
// m: FooterLight,
|
|
16451
|
+
// l: FooterLight,
|
|
16452
|
+
// xl: FooterLight,
|
|
16453
|
+
// xxl: FooterLight,
|
|
16454
|
+
},
|
|
16455
|
+
};
|
|
16456
|
+
|
|
16457
|
+
var ScrimFade = function (props) {
|
|
16458
|
+
var _a;
|
|
16459
|
+
var totalHeight = (_a = props === null || props === void 0 ? void 0 : props.scrimfadeheight) !== null && _a !== void 0 ? _a : 1000;
|
|
16460
|
+
if (!props.scrimfadeheight && props.scrimfadesize) {
|
|
16461
|
+
if (props.scrimfadesize === "l") {
|
|
16462
|
+
totalHeight = 1408;
|
|
16463
|
+
}
|
|
16464
|
+
else if (props.scrimfadesize === "m") {
|
|
16465
|
+
totalHeight = 1024;
|
|
16466
|
+
}
|
|
16467
|
+
else if (props.scrimfadesize === "s") {
|
|
16468
|
+
totalHeight = 640;
|
|
16469
|
+
}
|
|
16470
|
+
}
|
|
16471
|
+
var fadeHeight = totalHeight - 128;
|
|
16472
|
+
return (React.createElement("svg", __assign({ width: "1024", height: totalHeight, viewBox: "0 0 1024 ".concat(totalHeight), fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
16473
|
+
React.createElement("rect", { y: "128", width: "1024", height: fadeHeight, fill: "url(#paint0_linear_6538_9883)" }),
|
|
16474
|
+
React.createElement("g", { opacity: "0.7" },
|
|
16475
|
+
React.createElement("rect", { width: "1024", height: totalHeight, fill: "url(#paint1_linear_6538_9883)", style: { mixBlendMode: "soft-light" } })),
|
|
16476
|
+
React.createElement("defs", null,
|
|
16477
|
+
React.createElement("linearGradient", { id: "paint0_linear_6538_9883", x1: "512", y1: "128", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
|
|
16478
|
+
React.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
|
|
16479
|
+
React.createElement("stop", { offset: "0.0806874", stopColor: "white", stopOpacity: "0.01" }),
|
|
16480
|
+
React.createElement("stop", { offset: "0.155366", stopColor: "white", stopOpacity: "0.0217837" }),
|
|
16481
|
+
React.createElement("stop", { offset: "0.22496", stopColor: "white", stopOpacity: "0.04832" }),
|
|
16482
|
+
React.createElement("stop", { offset: "0.290394", stopColor: "white", stopOpacity: "0.0846696" }),
|
|
16483
|
+
React.createElement("stop", { offset: "0.352593", stopColor: "white", stopOpacity: "0.13037" }),
|
|
16484
|
+
React.createElement("stop", { offset: "0.41248", stopColor: "white", stopOpacity: "0.18496" }),
|
|
16485
|
+
React.createElement("stop", { offset: "0.470981", stopColor: "white", stopOpacity: "0.247976" }),
|
|
16486
|
+
React.createElement("stop", { offset: "0.529019", stopColor: "white", stopOpacity: "0.318957" }),
|
|
16487
|
+
React.createElement("stop", { offset: "0.58752", stopColor: "white", stopOpacity: "0.39744" }),
|
|
16488
|
+
React.createElement("stop", { offset: "0.647407", stopColor: "white", stopOpacity: "0.482963" }),
|
|
16489
|
+
React.createElement("stop", { offset: "0.709606", stopColor: "white", stopOpacity: "0.575064" }),
|
|
16490
|
+
React.createElement("stop", { offset: "0.77504", stopColor: "white", stopOpacity: "0.67328" }),
|
|
16491
|
+
React.createElement("stop", { offset: "0.844634", stopColor: "white", stopOpacity: "0.77715" }),
|
|
16492
|
+
React.createElement("stop", { offset: "0.919313", stopColor: "white", stopOpacity: "0.88621" }),
|
|
16493
|
+
React.createElement("stop", { offset: "1", stopColor: "white" })),
|
|
16494
|
+
React.createElement("linearGradient", { id: "paint1_linear_6538_9883", x1: "512", y1: "0", x2: "512", y2: totalHeight, gradientUnits: "userSpaceOnUse" },
|
|
16495
|
+
React.createElement("stop", { stopColor: "white", stopOpacity: "0" }),
|
|
16496
|
+
React.createElement("stop", { offset: "1", stopColor: "white" })))));
|
|
16497
|
+
};
|
|
16498
|
+
|
|
16499
|
+
var GradientPageBackground = function (_a) {
|
|
16500
|
+
var _b, _c;
|
|
16501
|
+
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"]);
|
|
16502
|
+
var _f = useState(), scrimFadeHeight = _f[0], setScrimFadeHeight = _f[1];
|
|
16503
|
+
var _g = useState(), extendBackground = _g[0], setExtendBackground = _g[1];
|
|
16504
|
+
var _h = useState(BackgroundGradients.HomepageDark1.xs), backgroundGradient = _h[0], setBackgroundGradient = _h[1];
|
|
16505
|
+
var _j = useState(), customGradient = _j[0], setCustomGradient = _j[1];
|
|
16506
|
+
var _k = useState("xs"), breakpoint = _k[0], setBreakpoint = _k[1];
|
|
16507
|
+
var gradientUri = svgToMiniDataURI(backgroundGradient !== null && backgroundGradient !== void 0 ? backgroundGradient : "");
|
|
16508
|
+
var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
|
|
16509
|
+
var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
|
|
16510
|
+
var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
|
|
16511
|
+
var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
|
|
16512
|
+
// Update current breakpoint value for props
|
|
16513
|
+
useEffect(function () {
|
|
16514
|
+
var _a;
|
|
16515
|
+
var breakpoints = [
|
|
16516
|
+
["xl", isMinWidthArcBreakpointXl],
|
|
16517
|
+
["l", isMinWidthArcBreakpointL],
|
|
16518
|
+
["m", isMinWidthArcBreakpointM],
|
|
16519
|
+
["s", isMinWidthArcBreakpointS],
|
|
16520
|
+
["xs", true],
|
|
16521
|
+
];
|
|
16522
|
+
var matched = breakpoints.find(function (_a) {
|
|
16523
|
+
var match = _a[1];
|
|
16524
|
+
return match;
|
|
16525
|
+
});
|
|
16526
|
+
setBreakpoint((_a = matched === null || matched === void 0 ? void 0 : matched[0]) !== null && _a !== void 0 ? _a : "xs");
|
|
16527
|
+
}, [
|
|
16528
|
+
isMinWidthArcBreakpointXl,
|
|
16529
|
+
isMinWidthArcBreakpointL,
|
|
16530
|
+
isMinWidthArcBreakpointM,
|
|
16531
|
+
isMinWidthArcBreakpointS,
|
|
16532
|
+
]);
|
|
16533
|
+
// Function to inherit the last provided value when no value is provided
|
|
16534
|
+
var inheritFallbackKey = function (obj, key) {
|
|
16535
|
+
var keysInOrder = ["xs", "s", "m", "l", "xl", "xxl"];
|
|
16536
|
+
var index = keysInOrder.indexOf(key);
|
|
16537
|
+
if (index === -1)
|
|
16538
|
+
return;
|
|
16539
|
+
for (var i = index; i >= 0; i--) {
|
|
16540
|
+
var fallbackKey = keysInOrder[i];
|
|
16541
|
+
if (obj[fallbackKey] !== undefined) {
|
|
16542
|
+
return obj[fallbackKey];
|
|
16543
|
+
}
|
|
16544
|
+
}
|
|
16545
|
+
return undefined;
|
|
16546
|
+
};
|
|
16547
|
+
// Update props when breakpoint changes
|
|
16548
|
+
useEffect(function () {
|
|
16549
|
+
var _a;
|
|
16550
|
+
if (!breakpoint)
|
|
16551
|
+
return;
|
|
16552
|
+
setScrimFadeHeight(inheritFallbackKey(scrimFadeHeights !== null && scrimFadeHeights !== void 0 ? scrimFadeHeights : {}, breakpoint));
|
|
16553
|
+
setExtendBackground(inheritFallbackKey(extendBackgrounds !== null && extendBackgrounds !== void 0 ? extendBackgrounds : {}, breakpoint));
|
|
16554
|
+
setBackgroundGradient(inheritFallbackKey((_a = BackgroundGradients === null || BackgroundGradients === void 0 ? void 0 : BackgroundGradients[type]) !== null && _a !== void 0 ? _a : {}, breakpoint));
|
|
16555
|
+
setCustomGradient(inheritFallbackKey(customGradients !== null && customGradients !== void 0 ? customGradients : {}, breakpoint));
|
|
16556
|
+
}, [breakpoint, type]); // type only for storybook
|
|
16557
|
+
return (React__default.createElement("div", __assign({ className: classNames("arc-GradientPageBackground", (_b = {},
|
|
16558
|
+
_b["arc-GradientPageBackground--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16559
|
+
_b)), style: extendBackground && scrimFadePosition == "bottom"
|
|
16560
|
+
? {
|
|
16561
|
+
paddingBottom: "".concat(extendBackground, "px"),
|
|
16562
|
+
marginBottom: "-".concat(extendBackground, "px"),
|
|
16563
|
+
}
|
|
16564
|
+
: {
|
|
16565
|
+
paddingTop: "".concat(extendBackground, "px"),
|
|
16566
|
+
marginTop: "-".concat(extendBackground, "px"),
|
|
16567
|
+
} }, filterAttrs(props)),
|
|
16568
|
+
React__default.createElement("div", { className: "arc-GradientPageBackground-svgWrapper" },
|
|
16569
|
+
React__default.createElement("img", { src: customGradient || gradientUri, alt: "", className: "arc-GradientPageBackground-svgbg" })),
|
|
16570
|
+
React__default.createElement("div", { className: "arc-GradientPageBackground-content" },
|
|
16571
|
+
React__default.createElement(Surface, { isTransparent: true, background: customGradient
|
|
16572
|
+
? (customGradient === null || customGradient === void 0 ? void 0 : customGradient.includes("Light"))
|
|
16573
|
+
? "light-white"
|
|
16574
|
+
: "dark-black"
|
|
16575
|
+
: type.includes("Light")
|
|
16576
|
+
? "light-white"
|
|
16577
|
+
: "dark-black" }, children)),
|
|
16578
|
+
scrimFadeSize && (React__default.createElement(ScrimFade, { className: classNames("arc-GradientPageBackground-scrimFade", (_c = {},
|
|
16579
|
+
_c["arc-GradientPageBackground-scrimFade--".concat(scrimFadePosition)] = scrimFadePosition,
|
|
16580
|
+
_c)), scrimfadeheight: scrimFadeHeight ? scrimFadeHeight : null, scrimfadesize: scrimFadeSize, preserveAspectRatio: "none" }))));
|
|
16256
16581
|
};
|
|
16257
16582
|
|
|
16258
16583
|
/**
|
|
@@ -16448,7 +16773,9 @@ var ImpactCard = function (_a) {
|
|
|
16448
16773
|
React__default.createElement("div", { className: "arc-ImpactCard-backgroundImageContainer" },
|
|
16449
16774
|
React__default.createElement(Image, __assign({ fit: "cover", alt: "" }, img))),
|
|
16450
16775
|
React__default.createElement("div", { className: "arc-ImpactCard-contentContainer" },
|
|
16451
|
-
label && (React__default.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16776
|
+
label && (React__default.createElement("div", { className: "arc-ImpactCard-label" },
|
|
16777
|
+
React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
16778
|
+
React__default.createElement(VerticalSpace, { size: "16" }))),
|
|
16452
16779
|
React__default.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) })),
|
|
16453
16780
|
React__default.createElement(CardFooter, { buttonIcon: buttonIcon, showButton: true, isDarkPathway: isDarkPathway, isHovered: showHoverState })));
|
|
16454
16781
|
};
|
|
@@ -16501,6 +16828,7 @@ var InformationCard = function (_a) {
|
|
|
16501
16828
|
window.addEventListener("resize", checkMinHeight);
|
|
16502
16829
|
return function () {
|
|
16503
16830
|
window.removeEventListener("resize", checkMinHeight);
|
|
16831
|
+
checkMinHeight.cancel();
|
|
16504
16832
|
};
|
|
16505
16833
|
}, [minHeights, ArcBreakpoints]);
|
|
16506
16834
|
return (React__default.createElement("div", __assign({ style: { minHeight: minHeight ? minHeight : minimumHeight }, className: classNames("arc-InformationCard", {
|
|
@@ -16517,7 +16845,8 @@ var InformationCard = function (_a) {
|
|
|
16517
16845
|
React__default.createElement(Icon$1, { testId: "information-card-icon", icon: icon })))),
|
|
16518
16846
|
React__default.createElement("div", { className: "arc-InformationCard-contentContainer" },
|
|
16519
16847
|
label && (React__default.createElement(React__default.Fragment, null,
|
|
16520
|
-
React__default.createElement("div", { className: "arc-InformationCard-label" },
|
|
16848
|
+
React__default.createElement("div", { className: "arc-InformationCard-label" },
|
|
16849
|
+
React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label)))),
|
|
16521
16850
|
React__default.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
|
|
16522
16851
|
text && React__default.createElement(Text, null, text)),
|
|
16523
16852
|
(button || badges || footerLogo) && (React__default.createElement("div", { className: "arc-InformationCard-footer" },
|
|
@@ -16609,8 +16938,6 @@ var MediaCard = function (_a) {
|
|
|
16609
16938
|
var surface = useContext(Context$3).surface;
|
|
16610
16939
|
var _e = useState(false), isClient = _e[0], setIsClient = _e[1];
|
|
16611
16940
|
var _f = useState(false), showHoverState = _f[0], setShowHoverState = _f[1];
|
|
16612
|
-
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
|
|
16613
|
-
var headingSpacing = isMinWidthArcBreakpointS ? "16" : "8";
|
|
16614
16941
|
var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
|
|
16615
16942
|
useEffect(function () {
|
|
16616
16943
|
setIsClient(true);
|
|
@@ -16626,12 +16953,12 @@ var MediaCard = function (_a) {
|
|
|
16626
16953
|
media.type === "video" && isClient && (React__default.createElement(Suspense, { fallback: null },
|
|
16627
16954
|
React__default.createElement(VideoPlayer$1, __assign({ isSupportingTextHidden: true }, media)))),
|
|
16628
16955
|
React__default.createElement("div", { className: "arc-MediaCard-content" },
|
|
16629
|
-
label && (React__default.createElement(
|
|
16630
|
-
React__default.createElement(Heading, {
|
|
16631
|
-
React__default.createElement(VerticalSpace, { size:
|
|
16956
|
+
label && (React__default.createElement("div", { className: "arc-MediaCard-label" },
|
|
16957
|
+
React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
16958
|
+
React__default.createElement(VerticalSpace, { size: "16" }))),
|
|
16632
16959
|
React__default.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) }),
|
|
16633
16960
|
React__default.createElement("div", { className: "arc-MediaCard-textContainer" }, text && (React__default.createElement(React__default.Fragment, null,
|
|
16634
|
-
React__default.createElement(VerticalSpace, { size:
|
|
16961
|
+
React__default.createElement(VerticalSpace, { size: "16" }),
|
|
16635
16962
|
React__default.createElement(Text, null, text),
|
|
16636
16963
|
(url || metaText) && React__default.createElement(VerticalSpace, { size: "24" })))),
|
|
16637
16964
|
React__default.createElement(CardFooter, { buttonIcon: buttonIcon, metaText: metaText, showButton: Boolean(url) && media.type !== "video", isHovered: showHoverState })))));
|
|
@@ -17288,7 +17615,7 @@ var MenuItemImpl = React.forwardRef(
|
|
|
17288
17615
|
}
|
|
17289
17616
|
);
|
|
17290
17617
|
var CHECKBOX_ITEM_NAME$1 = "MenuCheckboxItem";
|
|
17291
|
-
var MenuCheckboxItem
|
|
17618
|
+
var MenuCheckboxItem = React.forwardRef(
|
|
17292
17619
|
(props, forwardedRef) => {
|
|
17293
17620
|
const { checked = false, onCheckedChange, ...checkboxItemProps } = props;
|
|
17294
17621
|
return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(
|
|
@@ -17308,23 +17635,23 @@ var MenuCheckboxItem$1 = React.forwardRef(
|
|
|
17308
17635
|
) });
|
|
17309
17636
|
}
|
|
17310
17637
|
);
|
|
17311
|
-
MenuCheckboxItem
|
|
17638
|
+
MenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME$1;
|
|
17312
17639
|
var RADIO_GROUP_NAME$1 = "MenuRadioGroup";
|
|
17313
17640
|
var [RadioGroupProvider, useRadioGroupContext] = createMenuContext(
|
|
17314
17641
|
RADIO_GROUP_NAME$1,
|
|
17315
17642
|
{ value: void 0, onValueChange: () => {
|
|
17316
17643
|
} }
|
|
17317
17644
|
);
|
|
17318
|
-
var MenuRadioGroup
|
|
17645
|
+
var MenuRadioGroup = React.forwardRef(
|
|
17319
17646
|
(props, forwardedRef) => {
|
|
17320
17647
|
const { value, onValueChange, ...groupProps } = props;
|
|
17321
17648
|
const handleValueChange = useCallbackRef$1(onValueChange);
|
|
17322
17649
|
return /* @__PURE__ */ jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsx(MenuGroup$1, { ...groupProps, ref: forwardedRef }) });
|
|
17323
17650
|
}
|
|
17324
17651
|
);
|
|
17325
|
-
MenuRadioGroup
|
|
17652
|
+
MenuRadioGroup.displayName = RADIO_GROUP_NAME$1;
|
|
17326
17653
|
var RADIO_ITEM_NAME$1 = "MenuRadioItem";
|
|
17327
|
-
var MenuRadioItem
|
|
17654
|
+
var MenuRadioItem = React.forwardRef(
|
|
17328
17655
|
(props, forwardedRef) => {
|
|
17329
17656
|
const { value, ...radioItemProps } = props;
|
|
17330
17657
|
const context = useRadioGroupContext(RADIO_ITEM_NAME$1, props.__scopeMenu);
|
|
@@ -17346,7 +17673,7 @@ var MenuRadioItem$1 = React.forwardRef(
|
|
|
17346
17673
|
) });
|
|
17347
17674
|
}
|
|
17348
17675
|
);
|
|
17349
|
-
MenuRadioItem
|
|
17676
|
+
MenuRadioItem.displayName = RADIO_ITEM_NAME$1;
|
|
17350
17677
|
var ITEM_INDICATOR_NAME = "MenuItemIndicator";
|
|
17351
17678
|
var [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(
|
|
17352
17679
|
ITEM_INDICATOR_NAME,
|
|
@@ -17400,7 +17727,7 @@ var MenuArrow = React.forwardRef(
|
|
|
17400
17727
|
MenuArrow.displayName = ARROW_NAME$3;
|
|
17401
17728
|
var SUB_NAME = "MenuSub";
|
|
17402
17729
|
var [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);
|
|
17403
|
-
var MenuSub
|
|
17730
|
+
var MenuSub = (props) => {
|
|
17404
17731
|
const { __scopeMenu, children, open = false, onOpenChange } = props;
|
|
17405
17732
|
const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);
|
|
17406
17733
|
const popperScope = usePopperScope$1(__scopeMenu);
|
|
@@ -17433,9 +17760,9 @@ var MenuSub$1 = (props) => {
|
|
|
17433
17760
|
}
|
|
17434
17761
|
) });
|
|
17435
17762
|
};
|
|
17436
|
-
MenuSub
|
|
17763
|
+
MenuSub.displayName = SUB_NAME;
|
|
17437
17764
|
var SUB_TRIGGER_NAME$1 = "MenuSubTrigger";
|
|
17438
|
-
var MenuSubTrigger
|
|
17765
|
+
var MenuSubTrigger = React.forwardRef(
|
|
17439
17766
|
(props, forwardedRef) => {
|
|
17440
17767
|
const context = useMenuContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
17441
17768
|
const rootContext = useMenuRootContext(SUB_TRIGGER_NAME$1, props.__scopeMenu);
|
|
@@ -17534,9 +17861,9 @@ var MenuSubTrigger$1 = React.forwardRef(
|
|
|
17534
17861
|
) });
|
|
17535
17862
|
}
|
|
17536
17863
|
);
|
|
17537
|
-
MenuSubTrigger
|
|
17864
|
+
MenuSubTrigger.displayName = SUB_TRIGGER_NAME$1;
|
|
17538
17865
|
var SUB_CONTENT_NAME$1 = "MenuSubContent";
|
|
17539
|
-
var MenuSubContent
|
|
17866
|
+
var MenuSubContent = React.forwardRef(
|
|
17540
17867
|
(props, forwardedRef) => {
|
|
17541
17868
|
const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
|
|
17542
17869
|
const { forceMount = portalContext.forceMount, ...subContentProps } = props;
|
|
@@ -17582,7 +17909,7 @@ var MenuSubContent$1 = React.forwardRef(
|
|
|
17582
17909
|
) }) }) });
|
|
17583
17910
|
}
|
|
17584
17911
|
);
|
|
17585
|
-
MenuSubContent
|
|
17912
|
+
MenuSubContent.displayName = SUB_CONTENT_NAME$1;
|
|
17586
17913
|
function getOpenState(open) {
|
|
17587
17914
|
return open ? "open" : "closed";
|
|
17588
17915
|
}
|
|
@@ -17643,15 +17970,15 @@ var Content2$2 = MenuContent$1;
|
|
|
17643
17970
|
var Group = MenuGroup$1;
|
|
17644
17971
|
var Label = MenuLabel$1;
|
|
17645
17972
|
var Item2$1 = MenuItem$1;
|
|
17646
|
-
var CheckboxItem = MenuCheckboxItem
|
|
17647
|
-
var RadioGroup$1 = MenuRadioGroup
|
|
17648
|
-
var RadioItem = MenuRadioItem
|
|
17973
|
+
var CheckboxItem = MenuCheckboxItem;
|
|
17974
|
+
var RadioGroup$1 = MenuRadioGroup;
|
|
17975
|
+
var RadioItem = MenuRadioItem;
|
|
17649
17976
|
var ItemIndicator = MenuItemIndicator;
|
|
17650
17977
|
var Separator = MenuSeparator$1;
|
|
17651
17978
|
var Arrow2$1 = MenuArrow;
|
|
17652
|
-
var Sub = MenuSub
|
|
17653
|
-
var SubTrigger = MenuSubTrigger
|
|
17654
|
-
var SubContent = MenuSubContent
|
|
17979
|
+
var Sub = MenuSub;
|
|
17980
|
+
var SubTrigger = MenuSubTrigger;
|
|
17981
|
+
var SubContent = MenuSubContent;
|
|
17655
17982
|
|
|
17656
17983
|
var DROPDOWN_MENU_NAME = "DropdownMenu";
|
|
17657
17984
|
var [createDropdownMenuContext, createDropdownMenuScope] = createContextScope$1(
|
|
@@ -17896,7 +18223,6 @@ var Trigger$1 = DropdownMenuTrigger;
|
|
|
17896
18223
|
var Portal2 = DropdownMenuPortal;
|
|
17897
18224
|
var Content2$1 = DropdownMenuContent;
|
|
17898
18225
|
var Group2 = DropdownMenuGroup;
|
|
17899
|
-
var Label2 = DropdownMenuLabel;
|
|
17900
18226
|
var Item2 = DropdownMenuItem;
|
|
17901
18227
|
var CheckboxItem2 = DropdownMenuCheckboxItem;
|
|
17902
18228
|
var RadioGroup2 = DropdownMenuRadioGroup;
|
|
@@ -17929,17 +18255,17 @@ var MenuItemContentTemplate = function (_a) {
|
|
|
17929
18255
|
React__default.createElement(Icon$1, { icon: trailingIcon, size: 24 }))))) : null));
|
|
17930
18256
|
};
|
|
17931
18257
|
|
|
17932
|
-
var
|
|
18258
|
+
var MenuItemCheckbox = function (_a) {
|
|
17933
18259
|
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"]);
|
|
17934
|
-
return (React__default.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-
|
|
18260
|
+
return (React__default.createElement(CheckboxItem2, __assign({ className: "arc-MenuItem arc-MenuItemCheckbox", checked: checked, onCheckedChange: onCheckedChange, disabled: isDisabled, onSelect: function (event) {
|
|
17935
18261
|
if (shouldKeepOpen) {
|
|
17936
18262
|
event.preventDefault();
|
|
17937
18263
|
onCheckedChange === null || onCheckedChange === void 0 ? void 0 : onCheckedChange(!checked);
|
|
17938
18264
|
}
|
|
17939
18265
|
onSelect === null || onSelect === void 0 ? void 0 : onSelect(event);
|
|
17940
18266
|
}, id: id }, filterAttrs(props)),
|
|
17941
|
-
React__default.createElement("div", { className: classNames("arc-
|
|
17942
|
-
"arc-
|
|
18267
|
+
React__default.createElement("div", { className: classNames("arc-MenuItemCheckbox-box", {
|
|
18268
|
+
"arc-MenuItemCheckbox-box--checked": checked,
|
|
17943
18269
|
}) }, checked && (React__default.createElement("svg", { style: { width: 14, height: 11 }, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
17944
18270
|
React__default.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" })))),
|
|
17945
18271
|
React__default.createElement(MenuItemContentTemplate, null, children)));
|
|
@@ -17953,21 +18279,6 @@ var MenuContent = React__default.forwardRef(function (_a, ref) {
|
|
|
17953
18279
|
return (React__default.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));
|
|
17954
18280
|
});
|
|
17955
18281
|
|
|
17956
|
-
/**
|
|
17957
|
-
* Use `Rule` to display a horizontal or vertical rule.
|
|
17958
|
-
*/
|
|
17959
|
-
var Rule = function (_a, props) {
|
|
17960
|
-
var _b;
|
|
17961
|
-
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
17962
|
-
var surface = useContext(Context$3).surface;
|
|
17963
|
-
return (React__default.createElement("hr", __assign({ className: classNames((_b = {
|
|
17964
|
-
"arc-Rule": true
|
|
17965
|
-
},
|
|
17966
|
-
_b["arc-Rule--".concat(orientation)] = true,
|
|
17967
|
-
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
17968
|
-
_b)) }, filterAttrs(props))));
|
|
17969
|
-
};
|
|
17970
|
-
|
|
17971
18282
|
/**
|
|
17972
18283
|
* Displays footer content at the bottom of the menu.
|
|
17973
18284
|
*/
|
|
@@ -17976,14 +18287,6 @@ var MenuFooter = function (_a) {
|
|
|
17976
18287
|
return (React__default.createElement("div", { className: "arc-MenuFooter", style: {
|
|
17977
18288
|
position: "relative",
|
|
17978
18289
|
} },
|
|
17979
|
-
React__default.createElement("div", { style: {
|
|
17980
|
-
height: "12px",
|
|
17981
|
-
background: "linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))",
|
|
17982
|
-
position: "absolute",
|
|
17983
|
-
width: "100%",
|
|
17984
|
-
zIndex: 3,
|
|
17985
|
-
top: -12,
|
|
17986
|
-
} }),
|
|
17987
18290
|
React__default.createElement("div", { className: "arc-MenuSeparator", style: { paddingTop: 0 } },
|
|
17988
18291
|
React__default.createElement(Rule, null)),
|
|
17989
18292
|
React__default.createElement(Item2, { className: "arc-MenuItem", "aria-label": ariaLabel, onClick: onClick, disabled: isDisabled },
|
|
@@ -18009,14 +18312,7 @@ var MenuHeader = function (_a) {
|
|
|
18009
18312
|
React__default.createElement("div", { className: "arc-MenuSeparator", style: {
|
|
18010
18313
|
paddingBottom: 0,
|
|
18011
18314
|
} },
|
|
18012
|
-
React__default.createElement(Rule, null)
|
|
18013
|
-
React__default.createElement("div", { style: {
|
|
18014
|
-
height: "12px",
|
|
18015
|
-
background: "linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))",
|
|
18016
|
-
position: "absolute",
|
|
18017
|
-
width: "100%",
|
|
18018
|
-
zIndex: 3,
|
|
18019
|
-
} }))));
|
|
18315
|
+
React__default.createElement(Rule, null))));
|
|
18020
18316
|
};
|
|
18021
18317
|
|
|
18022
18318
|
/**
|
|
@@ -18039,7 +18335,8 @@ var MenuItem = function (_a) {
|
|
|
18039
18335
|
*/
|
|
18040
18336
|
var MenuLabel = function (_a) {
|
|
18041
18337
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
18042
|
-
return (React__default.createElement(
|
|
18338
|
+
return (React__default.createElement(Item2, __assign({ asChild: true, className: "arc-MenuLabel", tabIndex: 0, role: "presentation" }, filterAttrs(props), { style: { pointerEvents: "none" } }),
|
|
18339
|
+
React__default.createElement("div", null, children)));
|
|
18043
18340
|
};
|
|
18044
18341
|
|
|
18045
18342
|
/**
|
|
@@ -18055,9 +18352,9 @@ var MenuPortal = function (_a) {
|
|
|
18055
18352
|
/**
|
|
18056
18353
|
* Groups menu items allowing single selection from multiple options.
|
|
18057
18354
|
*/
|
|
18058
|
-
var
|
|
18355
|
+
var MenuGroupSingleSelect = function (_a) {
|
|
18059
18356
|
var children = _a.children, value = _a.value, onValueChange = _a.onValueChange, props = __rest(_a, ["children", "value", "onValueChange"]);
|
|
18060
|
-
return (React__default.createElement(RadioGroup2, __assign({ className: "arc-
|
|
18357
|
+
return (React__default.createElement(RadioGroup2, __assign({ className: "arc-MenuGroupSingleSelect", value: value, onValueChange: onValueChange }, filterAttrs(props)), children));
|
|
18061
18358
|
};
|
|
18062
18359
|
|
|
18063
18360
|
/**
|
|
@@ -18119,9 +18416,9 @@ const BtIconTickAlt2Px =
|
|
|
18119
18416
|
/**
|
|
18120
18417
|
* A selectable menu item used within a radio group.
|
|
18121
18418
|
*/
|
|
18122
|
-
var
|
|
18419
|
+
var MenuItemSingleSelect = function (_a) {
|
|
18123
18420
|
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"]);
|
|
18124
|
-
return (React__default.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-
|
|
18421
|
+
return (React__default.createElement(RadioItem2, __assign({ className: "arc-MenuItem arc-MenuItemSingleSelect", value: value, disabled: disabled, onSelect: function (event) {
|
|
18125
18422
|
if (shouldKeepOpen) {
|
|
18126
18423
|
event.preventDefault();
|
|
18127
18424
|
}
|
|
@@ -18163,9 +18460,9 @@ var MenuSeparator = function (props) {
|
|
|
18163
18460
|
};
|
|
18164
18461
|
|
|
18165
18462
|
/**
|
|
18166
|
-
* Container for
|
|
18463
|
+
* Container for multi-level menu content within a dropdown menu.
|
|
18167
18464
|
*/
|
|
18168
|
-
var
|
|
18465
|
+
var MenuItemMultiLevel = function (_a) {
|
|
18169
18466
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
18170
18467
|
return React__default.createElement(Sub2, __assign({}, filterAttrs(props)),
|
|
18171
18468
|
" ",
|
|
@@ -18173,17 +18470,17 @@ var MenuSub = function (_a) {
|
|
|
18173
18470
|
};
|
|
18174
18471
|
|
|
18175
18472
|
/**
|
|
18176
|
-
* The
|
|
18473
|
+
* The multi-level menu content that pops out when a menu item with children is hovered or clicked.
|
|
18177
18474
|
*/
|
|
18178
|
-
var
|
|
18475
|
+
var MenuItemMultiLevelContent = React__default.forwardRef(function (_a, ref) {
|
|
18179
18476
|
var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "alignOffset"]);
|
|
18180
|
-
return (React__default.createElement(SubContent2, __assign({ ref: ref, style: { width: width, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent
|
|
18477
|
+
return (React__default.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));
|
|
18181
18478
|
});
|
|
18182
18479
|
|
|
18183
18480
|
/**
|
|
18184
|
-
* Trigger element that opens a
|
|
18481
|
+
* Trigger element that opens a multi-level menu when selected.
|
|
18185
18482
|
*/
|
|
18186
|
-
var
|
|
18483
|
+
var MenuItemMultiLevelTrigger = function (_a) {
|
|
18187
18484
|
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"]);
|
|
18188
18485
|
return (React__default.createElement(SubTrigger2, __assign({ className: "arc-MenuItem arc-MenuItem--trigger", disabled: isDisabled, "aria-label": ariaLabel }, filterAttrs(props)),
|
|
18189
18486
|
React__default.createElement("div", { className: "arc-MenuItem-content" },
|
|
@@ -18203,7 +18500,7 @@ var MenuSubTrigger = function (_a) {
|
|
|
18203
18500
|
*/
|
|
18204
18501
|
var MenuTrigger = function (_a) {
|
|
18205
18502
|
var children = _a.children, asChild = _a.asChild, props = __rest(_a, ["children", "asChild"]);
|
|
18206
|
-
return (React__default.createElement(Trigger$1, __assign({ className: "
|
|
18503
|
+
return (React__default.createElement(Trigger$1, __assign({ className: "arc-MenuTrigger", asChild: asChild }, filterAttrs(props)), children));
|
|
18207
18504
|
};
|
|
18208
18505
|
|
|
18209
18506
|
/** Use `Modal` to display information that needs immediate action from a user. */
|
|
@@ -18448,138 +18745,6 @@ var ProgressBar = function (_a) {
|
|
|
18448
18745
|
React__default.createElement(ThemeIcon, { icon: PROGRESS_BAR_ICON_MAP[action.icon], size: 24 }))))))))));
|
|
18449
18746
|
};
|
|
18450
18747
|
|
|
18451
|
-
var shorterCssColorNames;
|
|
18452
|
-
var hasRequiredShorterCssColorNames;
|
|
18453
|
-
|
|
18454
|
-
function requireShorterCssColorNames () {
|
|
18455
|
-
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
18456
|
-
hasRequiredShorterCssColorNames = 1;
|
|
18457
|
-
shorterCssColorNames = {
|
|
18458
|
-
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18459
|
-
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
18460
|
-
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
18461
|
-
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
18462
|
-
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
18463
|
-
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
18464
|
-
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
18465
|
-
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
18466
|
-
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
18467
|
-
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
18468
|
-
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
18469
|
-
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
18470
|
-
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
18471
|
-
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
18472
|
-
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
18473
|
-
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
18474
|
-
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
18475
|
-
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
18476
|
-
green: /#008000(ff)?(?!\w)/gi,
|
|
18477
|
-
grey: /#808080(ff)?(?!\w)/gi,
|
|
18478
|
-
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
18479
|
-
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
18480
|
-
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
18481
|
-
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
18482
|
-
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
18483
|
-
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
18484
|
-
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
18485
|
-
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
18486
|
-
maroon: /#800000(ff)?(?!\w)/gi,
|
|
18487
|
-
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
18488
|
-
navy: /#000080(ff)?(?!\w)/gi,
|
|
18489
|
-
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
18490
|
-
olive: /#808000(ff)?(?!\w)/gi,
|
|
18491
|
-
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
18492
|
-
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
18493
|
-
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
18494
|
-
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
18495
|
-
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
18496
|
-
purple: /#800080(ff)?(?!\w)/gi,
|
|
18497
|
-
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
18498
|
-
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
18499
|
-
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
18500
|
-
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
18501
|
-
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
18502
|
-
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
18503
|
-
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
18504
|
-
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
18505
|
-
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
18506
|
-
teal: /#008080(ff)?(?!\w)/gi,
|
|
18507
|
-
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
18508
|
-
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
18509
|
-
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
18510
|
-
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
18511
|
-
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
18512
|
-
};
|
|
18513
|
-
return shorterCssColorNames;
|
|
18514
|
-
}
|
|
18515
|
-
|
|
18516
|
-
var miniSvgDataUri;
|
|
18517
|
-
var hasRequiredMiniSvgDataUri;
|
|
18518
|
-
|
|
18519
|
-
function requireMiniSvgDataUri () {
|
|
18520
|
-
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
18521
|
-
hasRequiredMiniSvgDataUri = 1;
|
|
18522
|
-
var shorterNames = requireShorterCssColorNames();
|
|
18523
|
-
var REGEX = {
|
|
18524
|
-
whitespace: /\s+/g,
|
|
18525
|
-
urlHexPairs: /%[\dA-F]{2}/g,
|
|
18526
|
-
quotes: /"/g,
|
|
18527
|
-
};
|
|
18528
|
-
|
|
18529
|
-
function collapseWhitespace(str) {
|
|
18530
|
-
return str.trim().replace(REGEX.whitespace, ' ');
|
|
18531
|
-
}
|
|
18532
|
-
|
|
18533
|
-
function dataURIPayload(string) {
|
|
18534
|
-
return encodeURIComponent(string)
|
|
18535
|
-
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
18536
|
-
}
|
|
18537
|
-
|
|
18538
|
-
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
18539
|
-
// their equivalent URL-encoded hex codes.
|
|
18540
|
-
function colorCodeToShorterNames(string) {
|
|
18541
|
-
Object.keys(shorterNames).forEach(function(key) {
|
|
18542
|
-
if (shorterNames[key].test(string)) {
|
|
18543
|
-
string = string.replace(shorterNames[key], key);
|
|
18544
|
-
}
|
|
18545
|
-
});
|
|
18546
|
-
|
|
18547
|
-
return string;
|
|
18548
|
-
}
|
|
18549
|
-
|
|
18550
|
-
function specialHexEncode(match) {
|
|
18551
|
-
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
18552
|
-
case '%20': return ' ';
|
|
18553
|
-
case '%3D': return '=';
|
|
18554
|
-
case '%3A': return ':';
|
|
18555
|
-
case '%2F': return '/';
|
|
18556
|
-
default: return match.toLowerCase(); // compresses better
|
|
18557
|
-
}
|
|
18558
|
-
}
|
|
18559
|
-
|
|
18560
|
-
function svgToTinyDataUri(svgString) {
|
|
18561
|
-
if (typeof svgString !== 'string') {
|
|
18562
|
-
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
18563
|
-
}
|
|
18564
|
-
// Strip the Byte-Order Mark if the SVG has one
|
|
18565
|
-
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
18566
|
-
|
|
18567
|
-
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
18568
|
-
.replace(REGEX.quotes, "'");
|
|
18569
|
-
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
18570
|
-
}
|
|
18571
|
-
|
|
18572
|
-
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
18573
|
-
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
18574
|
-
};
|
|
18575
|
-
|
|
18576
|
-
miniSvgDataUri = svgToTinyDataUri;
|
|
18577
|
-
return miniSvgDataUri;
|
|
18578
|
-
}
|
|
18579
|
-
|
|
18580
|
-
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
18581
|
-
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
18582
|
-
|
|
18583
18748
|
// src/capitalise-first-letter/capitalise-first-letter.ts
|
|
18584
18749
|
var capitaliseFirstLetter = (word) => {
|
|
18585
18750
|
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
@@ -18638,18 +18803,152 @@ var ProgressStepperItem = function (_a) {
|
|
|
18638
18803
|
|
|
18639
18804
|
/** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
|
|
18640
18805
|
var ProgressStepper = function (_a) {
|
|
18641
|
-
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"]);
|
|
18806
|
+
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"]);
|
|
18642
18807
|
var items = React__default.Children.toArray(children);
|
|
18643
18808
|
var getStepStatus = function (item) {
|
|
18644
18809
|
var _a;
|
|
18645
18810
|
return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
|
|
18646
18811
|
};
|
|
18647
|
-
return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepper", {
|
|
18812
|
+
return (React__default.createElement("div", __assign({ ref: ref, className: classNames("arc-ProgressStepper", {
|
|
18648
18813
|
"arc-ProgressStepper--vertical": direction === "vertical",
|
|
18649
18814
|
}) }, filterAttrs(props)), items.map(function (item, index) { return (React__default.createElement(React__default.Fragment, { key: "StepperItem-".concat(index) },
|
|
18650
18815
|
React__default.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))))); })));
|
|
18651
18816
|
};
|
|
18652
18817
|
|
|
18818
|
+
/** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
|
|
18819
|
+
var ProgressStepperOverflow = forwardRef(function (_a, stepperRef) {
|
|
18820
|
+
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"]);
|
|
18821
|
+
var _c = useState(onLoadStep ? onLoadStep : 0), activeIndex = _c[0], setActiveIndex = _c[1];
|
|
18822
|
+
var _d = useState(0), closestScrolledIndex = _d[0], setClosestScrolledIndex = _d[1];
|
|
18823
|
+
var _e = useState(true), lastStepVisible = _e[0], setLastStepVisible = _e[1];
|
|
18824
|
+
var containerRef = useRef(null);
|
|
18825
|
+
useImperativeHandle(stepperRef, function () { return ({
|
|
18826
|
+
handleStepScroll: handleStepScroll,
|
|
18827
|
+
scrollToStep: scrollToStep,
|
|
18828
|
+
handleViewScroll: handleViewScroll,
|
|
18829
|
+
isLastChildVisible: isLastChildVisible,
|
|
18830
|
+
}); });
|
|
18831
|
+
// Add Horizontal Scroll Event Listener
|
|
18832
|
+
useEffect(function () {
|
|
18833
|
+
var _a, _b;
|
|
18834
|
+
var checkClosest = debounce(function () {
|
|
18835
|
+
var closestIndex = findClosestIndex();
|
|
18836
|
+
setClosestScrolledIndex(closestIndex);
|
|
18837
|
+
}, 100);
|
|
18838
|
+
var checkLastChild = debounce(function () {
|
|
18839
|
+
var lastVisible = isLastChildVisible();
|
|
18840
|
+
if (lastVisible) {
|
|
18841
|
+
setLastStepVisible(true);
|
|
18842
|
+
}
|
|
18843
|
+
else
|
|
18844
|
+
setLastStepVisible(false);
|
|
18845
|
+
}, 100);
|
|
18846
|
+
(_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", checkLastChild);
|
|
18847
|
+
(_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.addEventListener("scroll", checkClosest);
|
|
18848
|
+
return function () {
|
|
18849
|
+
var _a;
|
|
18850
|
+
(_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", checkClosest);
|
|
18851
|
+
checkLastChild.cancel();
|
|
18852
|
+
};
|
|
18853
|
+
}, []);
|
|
18854
|
+
// Scroll to activeIndex
|
|
18855
|
+
useEffect(function () {
|
|
18856
|
+
scrollTo();
|
|
18857
|
+
}, [activeIndex]);
|
|
18858
|
+
// Exposing changes in activeIndex outside of component
|
|
18859
|
+
useEffect(function () {
|
|
18860
|
+
onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(closestScrolledIndex);
|
|
18861
|
+
isLastChildVisible();
|
|
18862
|
+
}, [closestScrolledIndex, onIndexChange, lastStepVisible]);
|
|
18863
|
+
// helper functions - start
|
|
18864
|
+
var getProgressStepper = function () { var _a; return (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.firstChild; };
|
|
18865
|
+
var getStepChildren = function () {
|
|
18866
|
+
var _a;
|
|
18867
|
+
return Array.from(((_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children) || []);
|
|
18868
|
+
};
|
|
18869
|
+
var getLeftRects = function (children) {
|
|
18870
|
+
var container = getProgressStepper();
|
|
18871
|
+
if (!container)
|
|
18872
|
+
return [];
|
|
18873
|
+
var parentRect = container.getBoundingClientRect();
|
|
18874
|
+
return children.map(function (child) {
|
|
18875
|
+
var childRect = child.getBoundingClientRect();
|
|
18876
|
+
return {
|
|
18877
|
+
left: childRect.left - parentRect.left,
|
|
18878
|
+
};
|
|
18879
|
+
});
|
|
18880
|
+
};
|
|
18881
|
+
var indexOfClosest = function (values) {
|
|
18882
|
+
return values.indexOf(Math.min.apply(Math, values));
|
|
18883
|
+
};
|
|
18884
|
+
// helper functions - end
|
|
18885
|
+
var isLastChildVisible = function () {
|
|
18886
|
+
var _a;
|
|
18887
|
+
var steps = getStepChildren();
|
|
18888
|
+
var lastStep = steps[steps.length - 1];
|
|
18889
|
+
var rect = lastStep.getBoundingClientRect();
|
|
18890
|
+
var containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
18891
|
+
return rect.right <= containerRect.right;
|
|
18892
|
+
};
|
|
18893
|
+
// Used for onScroll function of scrolling without buttons
|
|
18894
|
+
var findClosestIndex = function () {
|
|
18895
|
+
var _a, _b;
|
|
18896
|
+
var children = getStepChildren();
|
|
18897
|
+
var scrolledAmount = (_b = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) !== null && _b !== void 0 ? _b : 0;
|
|
18898
|
+
// compare the scrolled amount to the intial left edge distance for each step
|
|
18899
|
+
var getScrollDistances = function (children, scrolledAmount) {
|
|
18900
|
+
return getLeftRects(children).map(function (rect) {
|
|
18901
|
+
return Math.abs(scrolledAmount - rect.left);
|
|
18902
|
+
});
|
|
18903
|
+
};
|
|
18904
|
+
var closestIndex = indexOfClosest(getScrollDistances(children, scrolledAmount));
|
|
18905
|
+
return closestIndex;
|
|
18906
|
+
};
|
|
18907
|
+
// Scroll active step to the far left of the page
|
|
18908
|
+
var scrollTo = function () {
|
|
18909
|
+
var _a, _b;
|
|
18910
|
+
var activeStep = (_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children[activeIndex];
|
|
18911
|
+
if (activeStep) {
|
|
18912
|
+
(_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.scrollTo({
|
|
18913
|
+
left: activeStep.offsetLeft - offsetLeft,
|
|
18914
|
+
behavior: "smooth",
|
|
18915
|
+
});
|
|
18916
|
+
}
|
|
18917
|
+
};
|
|
18918
|
+
var handleStepScroll = function (increment) {
|
|
18919
|
+
// Account for any manual scrolling set closest index to active index
|
|
18920
|
+
setActiveIndex(closestScrolledIndex);
|
|
18921
|
+
var newIndex = closestScrolledIndex + increment;
|
|
18922
|
+
setActiveIndex(newIndex);
|
|
18923
|
+
// If clicking backwards to include half visible step
|
|
18924
|
+
if (closestScrolledIndex + increment === activeIndex) {
|
|
18925
|
+
scrollTo();
|
|
18926
|
+
}
|
|
18927
|
+
if (closestScrolledIndex + increment < 0) {
|
|
18928
|
+
setActiveIndex(0);
|
|
18929
|
+
scrollTo();
|
|
18930
|
+
}
|
|
18931
|
+
};
|
|
18932
|
+
// Used to scroll by Parent width
|
|
18933
|
+
var handleViewScroll = function (direction) {
|
|
18934
|
+
var _a;
|
|
18935
|
+
var clientWidth = ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
|
|
18936
|
+
var stepper = containerRef.current;
|
|
18937
|
+
if (!stepper)
|
|
18938
|
+
return;
|
|
18939
|
+
stepper.scrollBy({
|
|
18940
|
+
left: direction ? clientWidth : -clientWidth,
|
|
18941
|
+
behavior: "smooth",
|
|
18942
|
+
});
|
|
18943
|
+
};
|
|
18944
|
+
// Used to set a specific step to jump to on a button click
|
|
18945
|
+
var scrollToStep = function (step) {
|
|
18946
|
+
setActiveIndex(step);
|
|
18947
|
+
};
|
|
18948
|
+
return (React__default.createElement("div", __assign({ ref: containerRef, className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
|
|
18949
|
+
React__default.createElement(ProgressStepper, { size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
|
|
18950
|
+
});
|
|
18951
|
+
|
|
18653
18952
|
var RadioContext$1 = createContext({});
|
|
18654
18953
|
var Provider$3 = RadioContext$1.Provider;
|
|
18655
18954
|
var useRadioContext$1 = function () {
|
|
@@ -18723,18 +19022,17 @@ var useRadioContext = function () {
|
|
|
18723
19022
|
* Use `RadioGroup` to wrap and control radio buttons and apply default values
|
|
18724
19023
|
*/
|
|
18725
19024
|
var RadioGroup = function (_a) {
|
|
18726
|
-
var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, errorMessage = _a.errorMessage, _c = _a.isRequired, isRequired = _c === void 0 ? true : _c, helper = _a.helper, label = _a.label,
|
|
19025
|
+
var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, errorMessage = _a.errorMessage, _c = _a.isRequired, isRequired = _c === void 0 ? true : _c, helper = _a.helper, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _d = _a.size, size = _d === void 0 ? "l" : _d, props = __rest(_a, ["children", "checkedValue", "isDisabled", "id", "errorMessage", "isRequired", "helper", "label", "name", "onBlur", "onChange", "size"]);
|
|
18727
19026
|
return (React__default.createElement(Provider$2, { value: {
|
|
18728
19027
|
blurEvent: onBlur,
|
|
18729
19028
|
changeEvent: onChange,
|
|
18730
19029
|
groupDisabled: isDisabled,
|
|
18731
19030
|
checkedValue: checkedValue,
|
|
18732
|
-
labelSize: labelSize,
|
|
18733
19031
|
name: name,
|
|
18734
19032
|
size: size,
|
|
18735
19033
|
} },
|
|
18736
19034
|
React__default.createElement("div", __assign({ className: "arc-RadioGroup" }, filterAttrs(props)),
|
|
18737
|
-
React__default.createElement(FormControl, { elementType: "fieldset", label: label, labelSize:
|
|
19035
|
+
React__default.createElement(FormControl, { elementType: "fieldset", label: label, labelSize: size, helper: helper, id: id, requirementStatus: isRequired ? "required" : "optional", helperUnderLabel: true, errorMessage: isRequired && checkedValue === "" ? errorMessage : "" },
|
|
18738
19036
|
React__default.createElement("span", { className: "arc-RadioGroup-radioButtonContainer" }, children)))));
|
|
18739
19037
|
};
|
|
18740
19038
|
|
|
@@ -18767,11 +19065,11 @@ var RadioGroupButton = forwardRef(function (_a, ref) {
|
|
|
18767
19065
|
*/
|
|
18768
19066
|
var RadioGroupInput = forwardRef(function (_a, ref) {
|
|
18769
19067
|
var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
|
|
18770
|
-
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue,
|
|
19068
|
+
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, name = _c.name, size = _c.size;
|
|
18771
19069
|
var isChecked = checkedValue === value ? true : false;
|
|
18772
19070
|
var checked = typeof changeEvent !== "function" ? undefined : isChecked;
|
|
18773
19071
|
var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
|
|
18774
|
-
return (React__default.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled,
|
|
19072
|
+
return (React__default.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value }, props)));
|
|
18775
19073
|
});
|
|
18776
19074
|
|
|
18777
19075
|
/**
|
|
@@ -18786,7 +19084,10 @@ var ScrollToTop = function (_a) {
|
|
|
18786
19084
|
setHasScrolled(window.scrollY > 0);
|
|
18787
19085
|
}, 100);
|
|
18788
19086
|
window.addEventListener("scroll", handleScroll);
|
|
18789
|
-
return function () {
|
|
19087
|
+
return function () {
|
|
19088
|
+
window.removeEventListener("scroll", handleScroll);
|
|
19089
|
+
handleScroll.cancel();
|
|
19090
|
+
};
|
|
18790
19091
|
});
|
|
18791
19092
|
var onClick = function () {
|
|
18792
19093
|
window.scrollTo({
|
|
@@ -18824,7 +19125,7 @@ var Section = function (_a) {
|
|
|
18824
19125
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
18825
19126
|
var Select = function (_a) {
|
|
18826
19127
|
var _b;
|
|
18827
|
-
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage,
|
|
19128
|
+
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
18828
19129
|
var id = useId$1();
|
|
18829
19130
|
var _e = useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
18830
19131
|
var surface = useContext(Context$3).surface;
|
|
@@ -18839,8 +19140,8 @@ var Select = function (_a) {
|
|
|
18839
19140
|
var _a;
|
|
18840
19141
|
return (_a = options.find(function (option) { return option.value === value; })) === null || _a === void 0 ? void 0 : _a.name;
|
|
18841
19142
|
};
|
|
18842
|
-
var getIconSize = function (
|
|
18843
|
-
switch (
|
|
19143
|
+
var getIconSize = function (size) {
|
|
19144
|
+
switch (size) {
|
|
18844
19145
|
case "s":
|
|
18845
19146
|
return 16;
|
|
18846
19147
|
case "l":
|
|
@@ -18849,7 +19150,7 @@ var Select = function (_a) {
|
|
|
18849
19150
|
return 20;
|
|
18850
19151
|
}
|
|
18851
19152
|
};
|
|
18852
|
-
return (React__default.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, label: label, hideLabel: hideLabel, labelSize:
|
|
19153
|
+
return (React__default.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: id, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", isDisabled: isDisabled, disclosureText: disclosureText, disclosureTitle: disclosureTitle, onClickDisclosure: onClickDisclosure },
|
|
18853
19154
|
React__default.createElement(Root2$2, { name: name, required: isRequired, disabled: isDisabled, defaultOpen: isDefaultOpen, value: selectValue, open: open, onOpenChange: onOpenChange, onValueChange: function (value) { return onValueChange(value); } },
|
|
18854
19155
|
React__default.createElement("div", { ref: setThemeElement, className: "arc-Select-wrapper" },
|
|
18855
19156
|
React__default.createElement(Trigger$2, __assign({ id: id, name: name, onBlur: onBlur, onFocus: onFocus, "aria-label": ariaLabel, style: { width: width, marginTop: hideLabel ? 0 : undefined }, className: classNames("arc-Select-trigger", (_b = {
|
|
@@ -18857,28 +19158,24 @@ var Select = function (_a) {
|
|
|
18857
19158
|
"arc-Select-trigger--onDarkSurface": surface === "dark",
|
|
18858
19159
|
"arc-Select-trigger--invalid": errorMessage
|
|
18859
19160
|
},
|
|
18860
|
-
_b["arc-Select-trigger--size".concat(
|
|
19161
|
+
_b["arc-Select-trigger--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
18861
19162
|
_b)), "aria-describedby": id + (disclosureText ? "-disclosure" : "-helper") }, filterAttrs(props)),
|
|
18862
19163
|
React__default.createElement(Value, { className: "arc-Select-triggerText", placeholder: placeholder, "aria-label": getSelectedValueName(uncontrolledValue) }),
|
|
18863
19164
|
React__default.createElement(Icon, { className: "arc-Select-triggerIcon" },
|
|
18864
|
-
React__default.createElement(ThemeIcon, { size: getIconSize(
|
|
19165
|
+
React__default.createElement(ThemeIcon, { size: getIconSize(size), icon: "selectTrigger" }))),
|
|
18865
19166
|
React__default.createElement(Portal$4, { container: themeElement },
|
|
18866
19167
|
React__default.createElement(Content2$3, { sideOffset: 5, position: "popper", className: classNames("arc-Select-content", {
|
|
18867
19168
|
"arc-Select-content--onDarkSurface": surface === "dark",
|
|
18868
19169
|
}) },
|
|
18869
|
-
React__default.createElement(
|
|
18870
|
-
React__default.createElement(ThemeIcon, { size: 16, icon: "selectScrollUp" })),
|
|
18871
|
-
React__default.createElement(Viewport, null, options.map(function (_a, i) {
|
|
19170
|
+
React__default.createElement(Viewport, { className: "arc-Select-content--scrollable" }, options.map(function (_a, i) {
|
|
18872
19171
|
var name = _a.name, value = _a.value;
|
|
18873
19172
|
return (React__default.createElement(Item$1, { className: "arc-Select-item", key: "select-item-".concat(i), value: value },
|
|
18874
19173
|
React__default.createElement("div", { className: "arc-Select-itemTextWrapper" },
|
|
18875
19174
|
React__default.createElement(ItemText, { asChild: true },
|
|
18876
19175
|
React__default.createElement("span", { className: "arc-Select-itemText" }, name))),
|
|
18877
|
-
React__default.createElement(ItemIndicator$1,
|
|
18878
|
-
React__default.createElement(ThemeIcon, { size:
|
|
18879
|
-
}))
|
|
18880
|
-
React__default.createElement(ScrollDownButton, { className: "arc-Select-scrollButton" },
|
|
18881
|
-
React__default.createElement(ThemeIcon, { size: 16, icon: "selectScrollDown" }))))))));
|
|
19176
|
+
React__default.createElement(ItemIndicator$1, { className: "arc-Select-itemSelectIcon" },
|
|
19177
|
+
React__default.createElement(ThemeIcon, { size: 24, icon: "selectIndicator" }))));
|
|
19178
|
+
}))))))));
|
|
18882
19179
|
};
|
|
18883
19180
|
|
|
18884
19181
|
/**
|
|
@@ -18902,16 +19199,20 @@ var SiteFooter = function (_a) {
|
|
|
18902
19199
|
React__default.createElement("span", { className: "arc-SiteFooter-copyrightSymbol" }, "\u00A9"), " ".concat(currentYear || new Date().getFullYear())),
|
|
18903
19200
|
React__default.createElement(BrandLogo, { label: logoLabel }))))))));
|
|
18904
19201
|
};
|
|
18905
|
-
var
|
|
18906
|
-
var children = _a.children,
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
19202
|
+
var SiteFooterItemDisclosure = function (_a) {
|
|
19203
|
+
var title = _a.title, children = _a.children, open = _a.open, tabIndex = _a.tabIndex;
|
|
19204
|
+
return (React__default.createElement("details", { className: "arc-SiteFooter-disclosure", open: open },
|
|
19205
|
+
React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: tabIndex },
|
|
18910
19206
|
React__default.createElement("span", { className: "arc-SiteFooter-icon" },
|
|
18911
19207
|
React__default.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
|
|
18912
19208
|
React__default.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
|
|
18913
19209
|
React__default.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
|
|
18914
19210
|
};
|
|
19211
|
+
var SiteFooterItemGroup = function (props) { return (React__default.createElement(React__default.Fragment, null,
|
|
19212
|
+
React__default.createElement(Visible, { "data-testid": "mobile-disclosure", xs: true, s: true },
|
|
19213
|
+
React__default.createElement(SiteFooterItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
|
|
19214
|
+
React__default.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
|
|
19215
|
+
React__default.createElement(SiteFooterItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 }))))); };
|
|
18915
19216
|
var SiteFooterItem = function (_a) {
|
|
18916
19217
|
var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
|
|
18917
19218
|
return (React__default.createElement("li", __assign({ className: "arc-SiteFooter-item" }, filterAttrs(props)),
|
|
@@ -18934,35 +19235,33 @@ var SiteFooterV2 = function (_a) {
|
|
|
18934
19235
|
React__default.createElement("h2", { className: "arc-SiteFooterV2-slogan" }, slogan),
|
|
18935
19236
|
React__default.createElement(VerticalSpace, { size: "32" }))),
|
|
18936
19237
|
React__default.createElement("div", { className: "arc-SiteFooterV2-main-utility" }, children)),
|
|
18937
|
-
React__default.createElement(VerticalSpace, { size: "24" })
|
|
18938
|
-
" "));
|
|
19238
|
+
React__default.createElement(VerticalSpace, { size: "24" })));
|
|
18939
19239
|
};
|
|
18940
19240
|
|
|
18941
|
-
/**
|
|
18942
|
-
* Do not edit directly
|
|
18943
|
-
* Generated on Mon, 19 May 2025 14:54:16 GMT
|
|
18944
|
-
*/
|
|
18945
|
-
var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
|
|
18946
|
-
|
|
18947
19241
|
var SiteFooterV2Main = function (_a) {
|
|
18948
19242
|
var children = _a.children, _b = _a.columns, columns = _b === void 0 ? 4 : _b, props = __rest(_a, ["children", "columns"]);
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
var
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
return (React__default.createElement("details", __assign({ open: isMinWidthArcBreakpointM, className: classNames("arc-SiteFooterV2-disclosure", {
|
|
18958
|
-
"arc-SiteFooterV2-disclosure--hidden": !isMinWidthArcBreakpointM && hideDisclosure,
|
|
18959
|
-
}), "aria-label": title }, filterAttrs(props)),
|
|
18960
|
-
React__default.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
19243
|
+
return (React__default.createElement("nav", __assign({ className: classNames("arc-SiteFooterV2-main", {
|
|
19244
|
+
"arc-SiteFooterV2-main-3Columns": columns === 3,
|
|
19245
|
+
}), "aria-label": "Footer navigation links" }, filterAttrs(props)), children));
|
|
19246
|
+
};
|
|
19247
|
+
var SiteFooterV2ItemDisclosure = function (_a) {
|
|
19248
|
+
var children = _a.children, title = _a.title, open = _a.open, tabIndex = _a.tabIndex, props = __rest(_a, ["children", "title", "open", "tabIndex"]);
|
|
19249
|
+
return (React__default.createElement("details", __assign({ open: open, className: "arc-SiteFooterV2-disclosure", "aria-label": title }, filterAttrs(props)),
|
|
19250
|
+
React__default.createElement("summary", { className: "arc-SiteFooterV2-summary", tabIndex: tabIndex },
|
|
18961
19251
|
React__default.createElement("span", { className: "arc-SiteFooterV2-icon" },
|
|
18962
19252
|
React__default.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
|
|
18963
19253
|
React__default.createElement("h2", { className: "arc-SiteFooterV2-itemGroupTitle" }, title)),
|
|
18964
19254
|
React__default.createElement("ul", { className: "arc-SiteFooterV2-itemGroup" }, children)));
|
|
18965
19255
|
};
|
|
19256
|
+
var SiteFooterV2ItemGroup = function (_a) {
|
|
19257
|
+
var hideDisclosure = _a.hideDisclosure, props = __rest(_a, ["hideDisclosure"]);
|
|
19258
|
+
return (React__default.createElement("div", null,
|
|
19259
|
+
React__default.createElement(Visible, { "data-testid": "mobile-disclosure", xs: !hideDisclosure, s: !hideDisclosure },
|
|
19260
|
+
React__default.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { tabIndex: 0 }))),
|
|
19261
|
+
React__default.createElement(Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true },
|
|
19262
|
+
React__default.createElement(SiteFooterV2ItemDisclosure, __assign({}, props, { open: true, tabIndex: -1 })),
|
|
19263
|
+
React__default.createElement(VerticalSpace, { size: "12" }))));
|
|
19264
|
+
};
|
|
18966
19265
|
var SiteFooterV2Item = function (_a) {
|
|
18967
19266
|
var children = _a.children, href = _a.href, onClick = _a.onClick, props = __rest(_a, ["children", "href", "onClick"]);
|
|
18968
19267
|
return (React__default.createElement("li", __assign({ className: "arc-SiteFooterV2-item" }, filterAttrs(props)),
|
|
@@ -19777,8 +20076,9 @@ const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07b
|
|
|
19777
20076
|
|
|
19778
20077
|
/** Use `Switch` to allow users to immediately toggle between two states. */
|
|
19779
20078
|
var Switch = function (_a) {
|
|
19780
|
-
var
|
|
19781
|
-
var
|
|
20079
|
+
var _b;
|
|
20080
|
+
var defaultChecked = _a.defaultChecked, onCheckedChange = _a.onCheckedChange, label = _a.label, _c = _a.labelPosition, labelPosition = _c === void 0 ? "top" : _c, name = _a.name, onBlur = _a.onBlur, value = _a.value, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, errorMessage = _a.errorMessage, id = _a.id, _e = _a.size, size = _e === void 0 ? "m" : _e, onStatusText = _a.onStatusText, offStatusText = _a.offStatusText, _f = _a.hideLabel, hideLabel = _f === void 0 ? false : _f, ariaLabel = _a.ariaLabel, props = __rest(_a, ["defaultChecked", "onCheckedChange", "label", "labelPosition", "name", "onBlur", "value", "isDisabled", "errorMessage", "id", "size", "onStatusText", "offStatusText", "hideLabel", "ariaLabel"]);
|
|
20081
|
+
var _g = useState(defaultChecked), switchState = _g[0], setSwitchState = _g[1];
|
|
19782
20082
|
var surface = useContext(Context$3).surface;
|
|
19783
20083
|
if (!onStatusText) {
|
|
19784
20084
|
onStatusText = offStatusText;
|
|
@@ -19790,11 +20090,11 @@ var Switch = function (_a) {
|
|
|
19790
20090
|
setSwitchState(function (previous) { return !previous; });
|
|
19791
20091
|
onCheckedChange && onCheckedChange(checked);
|
|
19792
20092
|
};
|
|
19793
|
-
return (React__default.createElement(FormControl, { errorMessage: errorMessage, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize:
|
|
19794
|
-
!hideLabel && React__default.createElement(VerticalSpace, { size: "
|
|
20093
|
+
return (React__default.createElement(FormControl, { errorMessage: errorMessage, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize: size, labelPosition: labelPosition, requirementStatus: "not-applicable" },
|
|
20094
|
+
!hideLabel && React__default.createElement(VerticalSpace, { size: "12" }),
|
|
19795
20095
|
React__default.createElement("div", { className: "arc-Switch-container" },
|
|
19796
20096
|
React__default.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9, __assign({ id: id, defaultChecked: defaultChecked, name: name, value: value, onBlur: onBlur, onCheckedChange: onCheckedHandler, checked: switchState, disabled: isDisabled, className: classNames("arc-Switch", {
|
|
19797
|
-
"arc-Switch--
|
|
20097
|
+
"arc-Switch--medium": size === "m",
|
|
19798
20098
|
"arc-Switch--isDisabled": isDisabled,
|
|
19799
20099
|
"arc-Switch--onDarkSurface": surface === "dark",
|
|
19800
20100
|
}), "aria-label": ariaLabel }, filterAttrs(props)),
|
|
@@ -19802,12 +20102,14 @@ var Switch = function (_a) {
|
|
|
19802
20102
|
React__default.createElement($6be4966fd9bbc698$export$6521433ed15a34db, { className: "arc-Switch-thumb" },
|
|
19803
20103
|
React__default.createElement("div", { className: "arc-Switch-thumbIcon" },
|
|
19804
20104
|
React__default.createElement("div", { className: "arc-Switch-icon", "data-testid": "arc-switch-thumb-icon" },
|
|
19805
|
-
React__default.createElement(ThemeIcon, { icon: "switchToggle", color: "brand", size:
|
|
19806
|
-
React__default.createElement("div", { className: classNames("arc-Switch-statusText", {
|
|
19807
|
-
|
|
19808
|
-
|
|
19809
|
-
|
|
19810
|
-
|
|
20105
|
+
React__default.createElement(ThemeIcon, { icon: "switchToggle", color: "brand", size: size === "m" ? 32 : 24 }))))),
|
|
20106
|
+
React__default.createElement("div", { className: classNames("arc-Switch-statusText", (_b = {
|
|
20107
|
+
"arc-Switch-statusText--isDisabled": isDisabled,
|
|
20108
|
+
"arc-Switch-statusText--onDarkSurface": surface === "dark"
|
|
20109
|
+
},
|
|
20110
|
+
_b["arc-Switch-statusText--".concat(size)] = size === "m",
|
|
20111
|
+
_b)) },
|
|
20112
|
+
React__default.createElement("p", { "aria-hidden": true }, switchState ? onStatusText : offStatusText))))));
|
|
19811
20113
|
};
|
|
19812
20114
|
|
|
19813
20115
|
var TabbedBanner = function (_a) {
|
|
@@ -19822,7 +20124,10 @@ var TabbedBanner = function (_a) {
|
|
|
19822
20124
|
useEffect(function () {
|
|
19823
20125
|
handleResize();
|
|
19824
20126
|
window.addEventListener("resize", handleResize);
|
|
19825
|
-
return function () {
|
|
20127
|
+
return function () {
|
|
20128
|
+
window.removeEventListener("resize", handleResize);
|
|
20129
|
+
handleResize.cancel();
|
|
20130
|
+
};
|
|
19826
20131
|
}, [isBelowArcSizeBreakpointsM]);
|
|
19827
20132
|
return (React__default.createElement("div", { className: "arc-TabbedBanner" }, !isBelowArcSizeBreakpointsM ? (React__default.createElement("div", null,
|
|
19828
20133
|
React__default.createElement(ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
|
|
@@ -20004,7 +20309,7 @@ var TextArea = forwardRef(function (_a, ref) {
|
|
|
20004
20309
|
var package_default = {
|
|
20005
20310
|
name: "@arc-ui/helpers",
|
|
20006
20311
|
private: true,
|
|
20007
|
-
version: "12.0.0-beta.
|
|
20312
|
+
version: "12.0.0-beta.20",
|
|
20008
20313
|
type: "module",
|
|
20009
20314
|
homepage: "https://ui.digital-ent-int.bt.com",
|
|
20010
20315
|
author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
@@ -20069,12 +20374,11 @@ var themes = ["bt-enterprise", "bt-business", "ee"];
|
|
|
20069
20374
|
|
|
20070
20375
|
var ThumbnailSignpost = function (_a) {
|
|
20071
20376
|
var text = _a.text, title = _a.title, img = _a.img, button = _a.button, props = __rest(_a, ["text", "title", "img", "button"]);
|
|
20072
|
-
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
|
|
20073
20377
|
return (React__default.createElement("div", __assign({ className: "arc-ThumbnailSignpost" }, filterAttrs(props)),
|
|
20074
20378
|
(img === null || img === void 0 ? void 0 : img.src) && (React__default.createElement("div", { className: "arc-ThumbnailSignpost-image" },
|
|
20075
20379
|
React__default.createElement(Image, __assign({}, img)))),
|
|
20076
20380
|
React__default.createElement("div", { className: "arc-ThumbnailSignpost-content" },
|
|
20077
|
-
React__default.createElement(
|
|
20381
|
+
React__default.createElement("span", { className: "arc-ThumbnailSignpost-heading" }, title),
|
|
20078
20382
|
React__default.createElement(VerticalSpace, { size: "8" }),
|
|
20079
20383
|
text,
|
|
20080
20384
|
React__default.createElement(ButtonV2, __assign({ buttonStyle: "compact", icon: BtIconArrowRight }, button)))));
|
|
@@ -22418,7 +22722,9 @@ var TypographyCard = function (_a) {
|
|
|
22418
22722
|
"arc-TypographyCard--onDarkSurface": surface === "dark",
|
|
22419
22723
|
}) }, filterAttrs(props)),
|
|
22420
22724
|
React__default.createElement("div", { className: "arc-TypographyCard-contentContainer" },
|
|
22421
|
-
label && (React__default.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22725
|
+
label && (React__default.createElement("div", { className: "arc-TypographyCard-label" },
|
|
22726
|
+
React__default.createElement(Heading, { level: "3", fontStyle: "overline" }, label),
|
|
22727
|
+
React__default.createElement(VerticalSpace, { size: "16" }))),
|
|
22422
22728
|
React__default.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) })),
|
|
22423
22729
|
React__default.createElement(CardFooter, { showButton: true, isDarkPathway: isDarkPathway, buttonIcon: buttonIcon, metaText: metaText, isHovered: showHoverState })));
|
|
22424
22730
|
};
|
|
@@ -25629,17 +25935,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
25629
25935
|
VideoPlayer: VideoPlayer
|
|
25630
25936
|
});
|
|
25631
25937
|
|
|
25632
|
-
var Visible = function (_a) {
|
|
25633
|
-
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"]);
|
|
25634
|
-
return (React__default.createElement("div", __assign({ className: classNames("arc-Visible", {
|
|
25635
|
-
"arc-Visible--xs": xs,
|
|
25636
|
-
"arc-Visible--s": s,
|
|
25637
|
-
"arc-Visible--m": m,
|
|
25638
|
-
"arc-Visible--l": l,
|
|
25639
|
-
"arc-Visible--xl": xl,
|
|
25640
|
-
}) }, filterAttrs(props)), children));
|
|
25641
|
-
};
|
|
25642
|
-
|
|
25643
25938
|
var Preview_1;
|
|
25644
25939
|
var hasRequiredPreview;
|
|
25645
25940
|
|
|
@@ -25794,5 +26089,5 @@ var Preview$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
25794
26089
|
default: Preview
|
|
25795
26090
|
}, [PreviewExports]);
|
|
25796
26091
|
|
|
25797
|
-
export { Alert, Align, AppButton, Avatar, AvatarGroup, Badge, Banner, Box, BrandLogo, colors as BrandLogoColors, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, Button, ButtonGroup, ButtonV2, Calendar, Carousel, Checkbox, Columns, ColumnsCol, ComboBox, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, ContentSwitcherList, ContentSwitcherTab, DATE_FORMAT, DatePicker, Disclosure, DisclosureMini, Download, Drawer, Elevation, Filter, FilterControl, FilterControls, FilterItem, FilterItems, FormControl, Context$2 as FormControlContext, GhostedHeroBanner,
|
|
26092
|
+
export { Alert, Align, AppButton, Avatar, AvatarGroup, Badge, Banner, Box, BrandLogo, colors as BrandLogoColors, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, Button, ButtonGroup, ButtonV2, Calendar, Carousel, Checkbox, Columns, ColumnsCol, ComboBox, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, ContentSwitcherList, ContentSwitcherTab, DATE_FORMAT, DatePicker, DatePickerRange, Disclosure, DisclosureMini, Download, Drawer, DrawerContent, DrawerFooter, DrawerHeader, Elevation, Filter, FilterControl, FilterControls, FilterItem, FilterItems, FormControl, Context$2 as FormControlContext, GhostedHeroBanner, GradientPageBackground, Grid, GridCol, GridRow, Group$1 as Group, GroupItem, Heading, HeroBanner, HeroButton, Hidden, HorizontalCard, Icon$1 as Icon, colors$1 as IconColors, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, ImageSource, ImpactCard, InformationCard, Link, Markup, MediaCard, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, MenuScrollable, MenuSeparator, MenuTrigger, Modal, Pagination, PaginationSimple, Popover, Poster, PosterImage, PosterVideo, ProgressBar, ProgressStepper, ProgressStepperItem, ProgressStepperOverflow, RadioCardGroup, RadioCardGroupInput, RadioGroup, RadioGroupButton, RadioGroupInput, Rule, ScrollToTop, Section, Select, SiteFooter, SiteFooterItem, SiteFooterItemGroup, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, SkipLink, SkipLinkItem, Spinner, Surface, Context$3 as SurfaceContext, Switch, TabbedBanner, Tabs, TabsContent, TabsItem, TabsList, Tag, TemplateBanner, Text, TextArea, TextInput, Theme, ThemeIcon, ThumbnailSignpost, Toast, ToastNotification, Tooltip, Truncate, TypographyCard, UniversalHeader, UniversalHeaderItem, VerticalSpace, VideoPlayer, Visible, VisuallyHidden$2 as VisuallyHidden, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
|
|
25798
26093
|
//# sourceMappingURL=index.mjs.map
|