@digital-b2c/coreui-kit 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +750 -399
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +492 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +49 -4
- package/dist/index.d.ts +49 -4
- package/dist/index.mjs +645 -297
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var clsx67 = require('clsx');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var
|
|
5
|
+
var React73 = require('react');
|
|
6
6
|
var gsap = require('gsap');
|
|
7
7
|
var react = require('@gsap/react');
|
|
8
8
|
var ScrollTrigger = require('gsap/ScrollTrigger');
|
|
9
|
+
var reactDom = require('react-dom');
|
|
9
10
|
var react$1 = require('swiper/react');
|
|
10
11
|
var modules = require('swiper/modules');
|
|
11
12
|
var ReactPlayer = require('react-player');
|
|
@@ -13,8 +14,8 @@ require('swiper/css');
|
|
|
13
14
|
|
|
14
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
16
|
|
|
16
|
-
var
|
|
17
|
-
var
|
|
17
|
+
var clsx67__default = /*#__PURE__*/_interopDefault(clsx67);
|
|
18
|
+
var React73__default = /*#__PURE__*/_interopDefault(React73);
|
|
18
19
|
var gsap__default = /*#__PURE__*/_interopDefault(gsap);
|
|
19
20
|
var ReactPlayer__default = /*#__PURE__*/_interopDefault(ReactPlayer);
|
|
20
21
|
|
|
@@ -68,7 +69,7 @@ var Picture = (_a) => {
|
|
|
68
69
|
__spreadValues({
|
|
69
70
|
src: desktop.src,
|
|
70
71
|
alt: desktop.alt,
|
|
71
|
-
className:
|
|
72
|
+
className: clsx67__default.default(className, Picture_module_default["image-desktop"])
|
|
72
73
|
}, rest)
|
|
73
74
|
),
|
|
74
75
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -76,7 +77,7 @@ var Picture = (_a) => {
|
|
|
76
77
|
__spreadValues({
|
|
77
78
|
src: (_b2 = mobile == null ? void 0 : mobile.src) != null ? _b2 : desktop.src,
|
|
78
79
|
alt: (_c = mobile == null ? void 0 : mobile.alt) != null ? _c : desktop.alt,
|
|
79
|
-
className:
|
|
80
|
+
className: clsx67__default.default(className, Picture_module_default["image-mobile"])
|
|
80
81
|
}, rest)
|
|
81
82
|
)
|
|
82
83
|
] });
|
|
@@ -424,7 +425,7 @@ var svgs = {
|
|
|
424
425
|
xWhite: icon_x_white_default,
|
|
425
426
|
user: icon_user_default
|
|
426
427
|
};
|
|
427
|
-
var Icon =
|
|
428
|
+
var Icon = React73__default.default.memo(
|
|
428
429
|
(_a) => {
|
|
429
430
|
var _b = _a, { type, size } = _b, props = __objRest(_b, ["type", "size"]);
|
|
430
431
|
if (type) {
|
|
@@ -483,7 +484,7 @@ var Button = (_a) => {
|
|
|
483
484
|
]);
|
|
484
485
|
const isLink = !!href;
|
|
485
486
|
const props = __spreadValues(__spreadValues({
|
|
486
|
-
className:
|
|
487
|
+
className: clsx67__default.default(
|
|
487
488
|
Button_module_default.button,
|
|
488
489
|
variant ? Button_module_default[variant] : null,
|
|
489
490
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -539,21 +540,21 @@ var getDeviceType = (width) => {
|
|
|
539
540
|
return "desktop";
|
|
540
541
|
};
|
|
541
542
|
var useViewPort = () => {
|
|
542
|
-
const [device, setDevice] =
|
|
543
|
+
const [device, setDevice] = React73.useState(
|
|
543
544
|
() => typeof window !== "undefined" ? getDeviceType(window.innerWidth) : "desktop"
|
|
544
545
|
);
|
|
545
|
-
const getOtherDevices =
|
|
546
|
+
const getOtherDevices = React73.useCallback(
|
|
546
547
|
(list, what, includeSelf = false) => {
|
|
547
548
|
const deviceIndex = list.indexOf(what) + (!includeSelf ? 1 : 0);
|
|
548
549
|
return [...list].slice(deviceIndex);
|
|
549
550
|
},
|
|
550
551
|
[]
|
|
551
552
|
);
|
|
552
|
-
const onWindowResize =
|
|
553
|
+
const onWindowResize = React73.useCallback(() => {
|
|
553
554
|
setDevice(getDeviceType(window.innerWidth));
|
|
554
555
|
}, []);
|
|
555
556
|
const onWindowResizeDebounce = useDebounce_default(onWindowResize, 100);
|
|
556
|
-
|
|
557
|
+
React73.useEffect(() => {
|
|
557
558
|
window.addEventListener("resize", onWindowResizeDebounce);
|
|
558
559
|
return () => window.removeEventListener("resize", onWindowResizeDebounce);
|
|
559
560
|
}, [onWindowResizeDebounce]);
|
|
@@ -606,13 +607,13 @@ var BrandsStrip = ({
|
|
|
606
607
|
cta,
|
|
607
608
|
size
|
|
608
609
|
}) => {
|
|
609
|
-
const [show, setShow] =
|
|
610
|
-
const [shouldAnimate, setShouldAnimate] =
|
|
610
|
+
const [show, setShow] = React73.useState(false);
|
|
611
|
+
const [shouldAnimate, setShouldAnimate] = React73.useState(false);
|
|
611
612
|
const { is } = useViewPort_default();
|
|
612
613
|
const isTabletBelow = is("tablet", "below");
|
|
613
|
-
const containerRef =
|
|
614
|
-
const marqueeRef =
|
|
615
|
-
const timeline =
|
|
614
|
+
const containerRef = React73.useRef(null);
|
|
615
|
+
const marqueeRef = React73.useRef(null);
|
|
616
|
+
const timeline = React73.useRef(null);
|
|
616
617
|
const horizontalLoop = (items, config) => {
|
|
617
618
|
const itemsArray = gsap__default.default.utils.toArray(items);
|
|
618
619
|
const cfg = config || {};
|
|
@@ -706,7 +707,7 @@ var BrandsStrip = ({
|
|
|
706
707
|
timeline.current.play();
|
|
707
708
|
}
|
|
708
709
|
};
|
|
709
|
-
const duplicatedLogos =
|
|
710
|
+
const duplicatedLogos = React73.useMemo(() => {
|
|
710
711
|
if (logos.length === 0) return [];
|
|
711
712
|
if (!shouldAnimate) return [...logos];
|
|
712
713
|
return [...logos, ...logos];
|
|
@@ -715,7 +716,7 @@ var BrandsStrip = ({
|
|
|
715
716
|
"div",
|
|
716
717
|
{
|
|
717
718
|
ref: containerRef,
|
|
718
|
-
className:
|
|
719
|
+
className: clsx67__default.default(
|
|
719
720
|
BrandsStrip_module_default.brandsStrip,
|
|
720
721
|
BrandsStrip_module_default[variant],
|
|
721
722
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -724,13 +725,13 @@ var BrandsStrip = ({
|
|
|
724
725
|
onMouseEnter: handleMouseEnter,
|
|
725
726
|
onMouseLeave: handleMouseLeave,
|
|
726
727
|
children: [
|
|
727
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
728
|
-
title && logos.length === 1 && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
728
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
729
|
+
title && logos.length === 1 && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default("body", BrandsStrip_module_default.title), children: title }),
|
|
729
730
|
logos.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
730
731
|
"div",
|
|
731
732
|
{
|
|
732
733
|
ref: marqueeRef,
|
|
733
|
-
className:
|
|
734
|
+
className: clsx67__default.default(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
734
735
|
children: duplicatedLogos.map((logo, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: BrandsStrip_module_default.logoWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: BrandsStrip_module_default.logo }, logo)) }, `${logo.alt}-${index}`))
|
|
735
736
|
}
|
|
736
737
|
)
|
|
@@ -759,8 +760,8 @@ var CardSubtitle = ({ children }) => {
|
|
|
759
760
|
};
|
|
760
761
|
function resolveCompoundSlots(children, slots) {
|
|
761
762
|
const resolved = {};
|
|
762
|
-
|
|
763
|
-
if (!
|
|
763
|
+
React73.Children.forEach(children, (child) => {
|
|
764
|
+
if (!React73.isValidElement(child)) return;
|
|
764
765
|
Object.entries(slots).forEach(([key, Component]) => {
|
|
765
766
|
if (child.type === Component) {
|
|
766
767
|
resolved[key] = child.props.children;
|
|
@@ -774,10 +775,10 @@ function resolveCompoundSlots(children, slots) {
|
|
|
774
775
|
var Container_module_default = {
|
|
775
776
|
container: "Container_module_container"
|
|
776
777
|
};
|
|
777
|
-
var Container =
|
|
778
|
+
var Container = React73.forwardRef(
|
|
778
779
|
(_a, ref) => {
|
|
779
780
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
780
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
781
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", __spreadProps(__spreadValues({ ref, className: clsx67__default.default(Container_module_default.container, className) }, props), { children }));
|
|
781
782
|
}
|
|
782
783
|
);
|
|
783
784
|
Container.displayName = "Container";
|
|
@@ -825,14 +826,14 @@ var Card = ({
|
|
|
825
826
|
ConditionalWrapper,
|
|
826
827
|
__spreadProps(__spreadValues({
|
|
827
828
|
ref,
|
|
828
|
-
className:
|
|
829
|
+
className: clsx67__default.default(Card_module_default.card, Card_module_default[variant], className),
|
|
829
830
|
wrapper: Anchor,
|
|
830
831
|
fallback: "div",
|
|
831
832
|
condition: isLink
|
|
832
833
|
}, isLink ? { href, isExternal } : {}), {
|
|
833
834
|
children: [
|
|
834
835
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
835
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className:
|
|
836
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: clsx67__default.default(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: icon, className: clsx67__default.default(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
836
837
|
isLink && /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
837
838
|
] }),
|
|
838
839
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Card_module_default.content, children: [
|
|
@@ -878,10 +879,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
878
879
|
title: CountingCardTitle
|
|
879
880
|
});
|
|
880
881
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
881
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
882
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(CountingCard_module_default["counting-card"], className), children: [
|
|
882
883
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
883
884
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "body", children: titleNode }),
|
|
884
|
-
count && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
885
|
+
count && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(CountingCard_module_default.count, "h1"), children: count })
|
|
885
886
|
] }),
|
|
886
887
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
887
888
|
] });
|
|
@@ -933,11 +934,11 @@ function FilterBar({
|
|
|
933
934
|
searchValue,
|
|
934
935
|
onSearchChange
|
|
935
936
|
}) {
|
|
936
|
-
const [openDropdown, setOpenDropdown] =
|
|
937
|
-
const [searchState, setSearchState] =
|
|
938
|
-
const filterRef =
|
|
939
|
-
const sortRef =
|
|
940
|
-
const searchInputRef =
|
|
937
|
+
const [openDropdown, setOpenDropdown] = React73.useState(null);
|
|
938
|
+
const [searchState, setSearchState] = React73.useState("closed");
|
|
939
|
+
const filterRef = React73.useRef(null);
|
|
940
|
+
const sortRef = React73.useRef(null);
|
|
941
|
+
const searchInputRef = React73.useRef(null);
|
|
941
942
|
const closeSearch = () => {
|
|
942
943
|
setSearchState("closing");
|
|
943
944
|
onSearchChange("");
|
|
@@ -947,7 +948,7 @@ function FilterBar({
|
|
|
947
948
|
onSearchChange("");
|
|
948
949
|
(_a = searchInputRef.current) == null ? void 0 : _a.focus();
|
|
949
950
|
};
|
|
950
|
-
|
|
951
|
+
React73.useEffect(() => {
|
|
951
952
|
const handleMouseDown = (e) => {
|
|
952
953
|
var _a, _b;
|
|
953
954
|
const target = e.target;
|
|
@@ -957,7 +958,7 @@ function FilterBar({
|
|
|
957
958
|
document.addEventListener("mousedown", handleMouseDown);
|
|
958
959
|
return () => document.removeEventListener("mousedown", handleMouseDown);
|
|
959
960
|
}, []);
|
|
960
|
-
|
|
961
|
+
React73.useEffect(() => {
|
|
961
962
|
var _a;
|
|
962
963
|
if (searchState === "open") (_a = searchInputRef.current) == null ? void 0 : _a.focus();
|
|
963
964
|
}, [searchState]);
|
|
@@ -967,7 +968,7 @@ function FilterBar({
|
|
|
967
968
|
"button",
|
|
968
969
|
{
|
|
969
970
|
type: "button",
|
|
970
|
-
className:
|
|
971
|
+
className: clsx67__default.default(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
971
972
|
onClick: () => onViewChange("grid"),
|
|
972
973
|
"aria-pressed": view === "grid",
|
|
973
974
|
children: [
|
|
@@ -980,7 +981,7 @@ function FilterBar({
|
|
|
980
981
|
"button",
|
|
981
982
|
{
|
|
982
983
|
type: "button",
|
|
983
|
-
className:
|
|
984
|
+
className: clsx67__default.default(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
984
985
|
onClick: () => onViewChange("list"),
|
|
985
986
|
"aria-pressed": view === "list",
|
|
986
987
|
children: [
|
|
@@ -994,7 +995,7 @@ function FilterBar({
|
|
|
994
995
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
995
996
|
"div",
|
|
996
997
|
{
|
|
997
|
-
className:
|
|
998
|
+
className: clsx67__default.default(
|
|
998
999
|
FilterBar_module_default.dropdownWrapper,
|
|
999
1000
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
1000
1001
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1005,7 +1006,7 @@ function FilterBar({
|
|
|
1005
1006
|
"button",
|
|
1006
1007
|
{
|
|
1007
1008
|
type: "button",
|
|
1008
|
-
className:
|
|
1009
|
+
className: clsx67__default.default(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
1009
1010
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
1010
1011
|
"aria-expanded": openDropdown === "filter",
|
|
1011
1012
|
children: [
|
|
@@ -1020,7 +1021,7 @@ function FilterBar({
|
|
|
1020
1021
|
type: "button",
|
|
1021
1022
|
role: "option",
|
|
1022
1023
|
"aria-selected": filterValue === opt.value,
|
|
1023
|
-
className:
|
|
1024
|
+
className: clsx67__default.default(
|
|
1024
1025
|
FilterBar_module_default.dropdownOption,
|
|
1025
1026
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
1026
1027
|
),
|
|
@@ -1041,7 +1042,7 @@ function FilterBar({
|
|
|
1041
1042
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1042
1043
|
"div",
|
|
1043
1044
|
{
|
|
1044
|
-
className:
|
|
1045
|
+
className: clsx67__default.default(
|
|
1045
1046
|
FilterBar_module_default.dropdownWrapper,
|
|
1046
1047
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
1047
1048
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1067,7 +1068,7 @@ function FilterBar({
|
|
|
1067
1068
|
type: "button",
|
|
1068
1069
|
role: "option",
|
|
1069
1070
|
"aria-selected": sortValue === opt.value,
|
|
1070
|
-
className:
|
|
1071
|
+
className: clsx67__default.default(
|
|
1071
1072
|
FilterBar_module_default.dropdownOption,
|
|
1072
1073
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1073
1074
|
),
|
|
@@ -1085,7 +1086,7 @@ function FilterBar({
|
|
|
1085
1086
|
searchState !== "closed" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1086
1087
|
"div",
|
|
1087
1088
|
{
|
|
1088
|
-
className:
|
|
1089
|
+
className: clsx67__default.default(
|
|
1089
1090
|
FilterBar_module_default.searchExpanded,
|
|
1090
1091
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1091
1092
|
),
|
|
@@ -1157,7 +1158,7 @@ var InfoCard_module_default = {
|
|
|
1157
1158
|
"info-card": "InfoCard_module_info-card",
|
|
1158
1159
|
header: "InfoCard_module_header",
|
|
1159
1160
|
badge: "InfoCard_module_badge",
|
|
1160
|
-
|
|
1161
|
+
icon: "InfoCard_module_icon"
|
|
1161
1162
|
};
|
|
1162
1163
|
var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
1163
1164
|
var _a, _b;
|
|
@@ -1167,9 +1168,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1167
1168
|
});
|
|
1168
1169
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1169
1170
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1170
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1171
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1171
1172
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1172
|
-
icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1173
|
+
icon && typeof icon === "object" ? /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: InfoCard_module_default.icon }, icon)) : icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1173
1174
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h4", children: titleNode })
|
|
1174
1175
|
] }),
|
|
1175
1176
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1199,8 +1200,8 @@ var Modal = ({
|
|
|
1199
1200
|
hideCloseButton = false,
|
|
1200
1201
|
children
|
|
1201
1202
|
}) => {
|
|
1202
|
-
const dialogRef =
|
|
1203
|
-
|
|
1203
|
+
const dialogRef = React73.useRef(null);
|
|
1204
|
+
React73.useEffect(() => {
|
|
1204
1205
|
const dialog = dialogRef.current;
|
|
1205
1206
|
if (!dialog) return;
|
|
1206
1207
|
if (isOpen && !dialog.open) {
|
|
@@ -1213,13 +1214,13 @@ var Modal = ({
|
|
|
1213
1214
|
"dialog",
|
|
1214
1215
|
{
|
|
1215
1216
|
ref: dialogRef,
|
|
1216
|
-
className:
|
|
1217
|
+
className: clsx67__default.default(Modal_module_default.modal, className),
|
|
1217
1218
|
"aria-label": ariaLabel,
|
|
1218
1219
|
onClose,
|
|
1219
1220
|
onClick: (event) => {
|
|
1220
1221
|
if (event.target === dialogRef.current) onClose();
|
|
1221
1222
|
},
|
|
1222
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1223
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(Modal_module_default.inner, contentClassName), children: [
|
|
1223
1224
|
!hideCloseButton && /* @__PURE__ */ jsxRuntime.jsx("div", { className: Modal_module_default.header, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1224
1225
|
Button,
|
|
1225
1226
|
{
|
|
@@ -1288,7 +1289,7 @@ var Pagination = ({
|
|
|
1288
1289
|
hidePagesBorder = false,
|
|
1289
1290
|
renderLink
|
|
1290
1291
|
}) => {
|
|
1291
|
-
const [activePage, setActivePage] =
|
|
1292
|
+
const [activePage, setActivePage] = React73.useState(currentPage);
|
|
1292
1293
|
const goToPage = (page) => {
|
|
1293
1294
|
if (page < 1 || page > totalPages) return;
|
|
1294
1295
|
setActivePage(page);
|
|
@@ -1321,7 +1322,7 @@ var Pagination = ({
|
|
|
1321
1322
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1322
1323
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1323
1324
|
const pageItems = showEllipsis ? getPaginationRange(totalPages, activePage, siblingCount, boundaryCount) : Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1324
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1325
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(Pagination_module_default.pagination, className), children: [
|
|
1325
1326
|
!disableArrows && (renderLink ? renderLink({
|
|
1326
1327
|
page: prevPage,
|
|
1327
1328
|
className: Pagination_module_default.prev,
|
|
@@ -1342,12 +1343,12 @@ var Pagination = ({
|
|
|
1342
1343
|
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: Pagination_module_default.dots, "aria-hidden": "true", children: "\u2026" }, `dots-${index}`);
|
|
1343
1344
|
}
|
|
1344
1345
|
const page = item;
|
|
1345
|
-
const pageClassName =
|
|
1346
|
+
const pageClassName = clsx67__default.default(Pagination_module_default.page, {
|
|
1346
1347
|
[Pagination_module_default.active]: activePage === page,
|
|
1347
1348
|
[Pagination_module_default.number]: hasNumber,
|
|
1348
1349
|
[Pagination_module_default["no-border"]]: hidePagesBorder
|
|
1349
1350
|
});
|
|
1350
|
-
return renderLink ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1351
|
+
return renderLink ? /* @__PURE__ */ jsxRuntime.jsx(React73.Fragment, { children: renderLink({
|
|
1351
1352
|
page,
|
|
1352
1353
|
className: pageClassName,
|
|
1353
1354
|
"aria-label": `Go to page ${page}`,
|
|
@@ -1395,10 +1396,10 @@ var PracticeCard_module_default = {
|
|
|
1395
1396
|
};
|
|
1396
1397
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1397
1398
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1398
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1399
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1399
1400
|
ConditionalWrapper,
|
|
1400
1401
|
__spreadProps(__spreadValues({
|
|
1401
|
-
className:
|
|
1402
|
+
className: clsx67__default.default(PracticeCard_module_default.wrapper, PracticeCard_module_default["focusable-card"]),
|
|
1402
1403
|
wrapper: Anchor,
|
|
1403
1404
|
fallback: "div",
|
|
1404
1405
|
condition: !!href,
|
|
@@ -1407,7 +1408,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1407
1408
|
children: [
|
|
1408
1409
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1409
1410
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1410
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1411
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1411
1412
|
href && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1412
1413
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1413
1414
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1452,15 +1453,15 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1452
1453
|
"aria-disabled": isRestricted
|
|
1453
1454
|
} : null;
|
|
1454
1455
|
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1455
|
-
className:
|
|
1456
|
+
className: clsx67__default.default(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1456
1457
|
children: null
|
|
1457
1458
|
})) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1458
1459
|
"a",
|
|
1459
1460
|
__spreadProps(__spreadValues({}, linkProps), {
|
|
1460
|
-
className:
|
|
1461
|
+
className: clsx67__default.default(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1461
1462
|
})
|
|
1462
1463
|
) : null;
|
|
1463
|
-
const linkWrapper = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className:
|
|
1464
|
+
const linkWrapper = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx67__default.default(ResourceCardItem_module_default.cardLink), children }));
|
|
1464
1465
|
const cardLinkOverlay = linkProps && !isGlobalSearchVariant ? /* @__PURE__ */ jsxRuntime.jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: -1, className: ResourceCardItem_module_default.cardLinkOverlay })) : null;
|
|
1465
1466
|
function getIcon() {
|
|
1466
1467
|
switch (item.type) {
|
|
@@ -1478,7 +1479,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1478
1479
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1479
1480
|
"article",
|
|
1480
1481
|
{
|
|
1481
|
-
className:
|
|
1482
|
+
className: clsx67__default.default(
|
|
1482
1483
|
ResourceCardItem_module_default.cardGrid,
|
|
1483
1484
|
isGlobalSearchVariant && ResourceCardItem_module_default[variant],
|
|
1484
1485
|
isGlobalSearchVariant && isRestricted ? ResourceCardItem_module_default["restricted"] : null
|
|
@@ -1564,7 +1565,7 @@ var Sidebar = ({
|
|
|
1564
1565
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1565
1566
|
"li",
|
|
1566
1567
|
{
|
|
1567
|
-
className:
|
|
1568
|
+
className: clsx67__default.default(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1568
1569
|
role: "button",
|
|
1569
1570
|
tabIndex: 0,
|
|
1570
1571
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1622,7 +1623,7 @@ var UpcomingEventCard = ({
|
|
|
1622
1623
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1623
1624
|
"article",
|
|
1624
1625
|
{
|
|
1625
|
-
className:
|
|
1626
|
+
className: clsx67__default.default(
|
|
1626
1627
|
"card",
|
|
1627
1628
|
UpcomingEventCard_module_default["event-card"],
|
|
1628
1629
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1630,26 +1631,26 @@ var UpcomingEventCard = ({
|
|
|
1630
1631
|
className
|
|
1631
1632
|
),
|
|
1632
1633
|
children: [
|
|
1633
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1634
|
-
showImage && image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1634
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1635
|
+
showImage && image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx67__default.default("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1635
1636
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1636
1637
|
"div",
|
|
1637
1638
|
{
|
|
1638
|
-
className:
|
|
1639
|
+
className: clsx67__default.default(
|
|
1639
1640
|
"card-text-content",
|
|
1640
1641
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1641
1642
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1642
1643
|
),
|
|
1643
1644
|
children: [
|
|
1644
1645
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1645
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
1646
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx67__default.default("card-text-title"), children: title }),
|
|
1646
1647
|
location && /* @__PURE__ */ jsxRuntime.jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1647
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1648
|
-
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1648
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1649
|
+
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("card-cta-wrapper", UpcomingEventCard_module_default["event-card-cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1649
1650
|
Button,
|
|
1650
1651
|
{
|
|
1651
1652
|
variant: "secondary",
|
|
1652
|
-
className:
|
|
1653
|
+
className: clsx67__default.default(
|
|
1653
1654
|
"card-cta",
|
|
1654
1655
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1655
1656
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1668,12 +1669,12 @@ var UpcomingEventCard = ({
|
|
|
1668
1669
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1669
1670
|
"div",
|
|
1670
1671
|
{
|
|
1671
|
-
className:
|
|
1672
|
+
className: clsx67__default.default("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1672
1673
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1673
1674
|
Button,
|
|
1674
1675
|
{
|
|
1675
1676
|
variant: "secondary",
|
|
1676
|
-
className:
|
|
1677
|
+
className: clsx67__default.default("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1677
1678
|
fullWidth: isBelowMobile,
|
|
1678
1679
|
href: cta.url,
|
|
1679
1680
|
icon: cta.icon,
|
|
@@ -1700,7 +1701,7 @@ var Badge_module_default = {
|
|
|
1700
1701
|
icon: "Badge_module_icon",
|
|
1701
1702
|
iconOnly: "Badge_module_iconOnly"
|
|
1702
1703
|
};
|
|
1703
|
-
var Badge =
|
|
1704
|
+
var Badge = React73.forwardRef(
|
|
1704
1705
|
(_a, ref) => {
|
|
1705
1706
|
var _b = _a, {
|
|
1706
1707
|
children,
|
|
@@ -1721,7 +1722,7 @@ var Badge = React72.forwardRef(
|
|
|
1721
1722
|
"live",
|
|
1722
1723
|
"clickable"
|
|
1723
1724
|
]);
|
|
1724
|
-
const classes =
|
|
1725
|
+
const classes = clsx67__default.default(
|
|
1725
1726
|
Badge_module_default.badge,
|
|
1726
1727
|
Badge_module_default[variant],
|
|
1727
1728
|
Badge_module_default[size],
|
|
@@ -1732,7 +1733,7 @@ var Badge = React72.forwardRef(
|
|
|
1732
1733
|
className
|
|
1733
1734
|
);
|
|
1734
1735
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1735
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, __spreadValues({ className:
|
|
1736
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, __spreadValues({ className: clsx67__default.default("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1736
1737
|
!iconOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: Badge_module_default.label, children })
|
|
1737
1738
|
] });
|
|
1738
1739
|
if (clickable) {
|
|
@@ -1774,7 +1775,7 @@ var Input_module_default = {
|
|
|
1774
1775
|
error: "Input_module_error",
|
|
1775
1776
|
"input-field--error": "Input_module_input-field--error",
|
|
1776
1777
|
"input-field--disabled": "Input_module_input-field--disabled"};
|
|
1777
|
-
var Input =
|
|
1778
|
+
var Input = React73.forwardRef(
|
|
1778
1779
|
(_a, ref) => {
|
|
1779
1780
|
var _b = _a, {
|
|
1780
1781
|
id,
|
|
@@ -1805,7 +1806,7 @@ var Input = React72.forwardRef(
|
|
|
1805
1806
|
"hideLabel",
|
|
1806
1807
|
"type"
|
|
1807
1808
|
]);
|
|
1808
|
-
const generatedId =
|
|
1809
|
+
const generatedId = React73.useId();
|
|
1809
1810
|
const inputId = id || generatedId;
|
|
1810
1811
|
const helperTextId = `${inputId}-helper`;
|
|
1811
1812
|
const errorId = `${inputId}-error`;
|
|
@@ -1813,7 +1814,7 @@ var Input = React72.forwardRef(
|
|
|
1813
1814
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1814
1815
|
"div",
|
|
1815
1816
|
{
|
|
1816
|
-
className:
|
|
1817
|
+
className: clsx67__default.default(
|
|
1817
1818
|
"input-field",
|
|
1818
1819
|
Input_module_default["input-field"],
|
|
1819
1820
|
{
|
|
@@ -1827,17 +1828,17 @@ var Input = React72.forwardRef(
|
|
|
1827
1828
|
"label",
|
|
1828
1829
|
{
|
|
1829
1830
|
htmlFor: inputId,
|
|
1830
|
-
className:
|
|
1831
|
+
className: clsx67__default.default("input-label", Input_module_default.label, {
|
|
1831
1832
|
["sr-only"]: hideLabel
|
|
1832
1833
|
}),
|
|
1833
1834
|
children: [
|
|
1834
1835
|
label,
|
|
1835
|
-
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1836
|
+
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1836
1837
|
]
|
|
1837
1838
|
}
|
|
1838
1839
|
),
|
|
1839
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1840
|
-
startAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1840
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("input-wrapper", Input_module_default.wrapper), children: [
|
|
1841
|
+
startAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1841
1842
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1842
1843
|
"input",
|
|
1843
1844
|
__spreadValues({
|
|
@@ -1848,7 +1849,7 @@ var Input = React72.forwardRef(
|
|
|
1848
1849
|
disabled,
|
|
1849
1850
|
"aria-invalid": !!error,
|
|
1850
1851
|
"aria-describedby": describedBy || void 0,
|
|
1851
|
-
className:
|
|
1852
|
+
className: clsx67__default.default(
|
|
1852
1853
|
"input",
|
|
1853
1854
|
Input_module_default.input,
|
|
1854
1855
|
{
|
|
@@ -1859,11 +1860,11 @@ var Input = React72.forwardRef(
|
|
|
1859
1860
|
)
|
|
1860
1861
|
}, props)
|
|
1861
1862
|
),
|
|
1862
|
-
endAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1863
|
-
endAction && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1863
|
+
endAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1864
|
+
endAction && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("input-end-action"), children: endAction })
|
|
1864
1865
|
] }),
|
|
1865
|
-
helperText && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperTextId, className:
|
|
1866
|
-
error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: errorId, className:
|
|
1866
|
+
helperText && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperTextId, className: clsx67__default.default("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1867
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: errorId, className: clsx67__default.default("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1867
1868
|
]
|
|
1868
1869
|
}
|
|
1869
1870
|
);
|
|
@@ -1901,8 +1902,8 @@ var NewsCard = ({
|
|
|
1901
1902
|
direction = "vertical",
|
|
1902
1903
|
renderLink
|
|
1903
1904
|
}) => {
|
|
1904
|
-
const id =
|
|
1905
|
-
const cardRef =
|
|
1905
|
+
const id = React73.useId();
|
|
1906
|
+
const cardRef = React73.useRef(null);
|
|
1906
1907
|
const isRestricted = type === "restricted";
|
|
1907
1908
|
const handleCtaClick = () => {
|
|
1908
1909
|
var _a, _b;
|
|
@@ -1914,7 +1915,7 @@ var NewsCard = ({
|
|
|
1914
1915
|
href: cta.url,
|
|
1915
1916
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1916
1917
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1917
|
-
className:
|
|
1918
|
+
className: clsx67__default.default("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1918
1919
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1919
1920
|
}, isRestricted && {
|
|
1920
1921
|
"aria-disabled": true
|
|
@@ -1926,7 +1927,7 @@ var NewsCard = ({
|
|
|
1926
1927
|
"article",
|
|
1927
1928
|
{
|
|
1928
1929
|
ref: cardRef,
|
|
1929
|
-
className:
|
|
1930
|
+
className: clsx67__default.default(
|
|
1930
1931
|
"news-card",
|
|
1931
1932
|
NewsCard_module_default["news-card"],
|
|
1932
1933
|
type && NewsCard_module_default[type],
|
|
@@ -1937,29 +1938,29 @@ var NewsCard = ({
|
|
|
1937
1938
|
"aria-describedby": isRestricted ? `restricted-${id}` : void 0,
|
|
1938
1939
|
children: [
|
|
1939
1940
|
cardLink,
|
|
1940
|
-
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1941
|
+
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx67__default.default("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1941
1942
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1942
1943
|
"div",
|
|
1943
1944
|
{
|
|
1944
|
-
className:
|
|
1945
|
+
className: clsx67__default.default("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1945
1946
|
style: {
|
|
1946
1947
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1947
1948
|
},
|
|
1948
1949
|
children: [
|
|
1949
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1950
|
-
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className:
|
|
1951
|
-
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, className:
|
|
1950
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1951
|
+
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className: clsx67__default.default("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1952
|
+
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, className: clsx67__default.default("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1952
1953
|
] }),
|
|
1953
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1954
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { id: `title-${id}`, className:
|
|
1955
|
-
typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
1954
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1955
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { id: `title-${id}`, className: clsx67__default.default("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1956
|
+
typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx67__default.default("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description,
|
|
1956
1957
|
isRestricted && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `restricted-${id}`, className: "sr-only", children: "This resource is restricted. You do not have permission to access it." })
|
|
1957
1958
|
] }),
|
|
1958
|
-
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1959
|
+
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1959
1960
|
Button,
|
|
1960
1961
|
{
|
|
1961
1962
|
variant: "secondary",
|
|
1962
|
-
className:
|
|
1963
|
+
className: clsx67__default.default("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1963
1964
|
icon: cta.icon,
|
|
1964
1965
|
type: "button",
|
|
1965
1966
|
onClick: handleCtaClick,
|
|
@@ -1989,7 +1990,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1989
1990
|
body: BlogPostContentBody
|
|
1990
1991
|
});
|
|
1991
1992
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1992
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1993
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1993
1994
|
};
|
|
1994
1995
|
|
|
1995
1996
|
// src/components/BlogPostContent/index.ts
|
|
@@ -2015,10 +2016,10 @@ var Search = ({
|
|
|
2015
2016
|
className
|
|
2016
2017
|
}) => {
|
|
2017
2018
|
const isPill = variant === "pill";
|
|
2018
|
-
const [isOpen, setIsOpen] =
|
|
2019
|
-
const [query, setQuery] =
|
|
2020
|
-
const inputRef =
|
|
2021
|
-
|
|
2019
|
+
const [isOpen, setIsOpen] = React73.useState(isPill);
|
|
2020
|
+
const [query, setQuery] = React73.useState("");
|
|
2021
|
+
const inputRef = React73.useRef(null);
|
|
2022
|
+
React73.useEffect(() => {
|
|
2022
2023
|
var _a;
|
|
2023
2024
|
if (isOpen && !isPill) (_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
2024
2025
|
}, [isOpen, isPill]);
|
|
@@ -2040,7 +2041,7 @@ var Search = ({
|
|
|
2040
2041
|
}
|
|
2041
2042
|
};
|
|
2042
2043
|
if (!isOpen) {
|
|
2043
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2044
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Search_module_default.search, className), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2044
2045
|
"button",
|
|
2045
2046
|
{
|
|
2046
2047
|
type: "button",
|
|
@@ -2052,10 +2053,10 @@ var Search = ({
|
|
|
2052
2053
|
}
|
|
2053
2054
|
) });
|
|
2054
2055
|
}
|
|
2055
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2056
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Search_module_default.search, className), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2056
2057
|
"div",
|
|
2057
2058
|
{
|
|
2058
|
-
className:
|
|
2059
|
+
className: clsx67__default.default(
|
|
2059
2060
|
Search_module_default.searchField,
|
|
2060
2061
|
isPill ? Search_module_default.searchFieldPill : Search_module_default.searchFieldLine
|
|
2061
2062
|
),
|
|
@@ -2122,7 +2123,7 @@ var ColTextMenu = ({
|
|
|
2122
2123
|
isExternal,
|
|
2123
2124
|
renderLink,
|
|
2124
2125
|
icon: "chevronRight",
|
|
2125
|
-
className:
|
|
2126
|
+
className: clsx67__default.default("subheading", className),
|
|
2126
2127
|
children: label
|
|
2127
2128
|
}
|
|
2128
2129
|
);
|
|
@@ -2147,9 +2148,9 @@ var UserMenu_module_default = {
|
|
|
2147
2148
|
};
|
|
2148
2149
|
var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
2149
2150
|
var _a, _b, _c;
|
|
2150
|
-
const [isOpen, setIsOpen] =
|
|
2151
|
-
const wrapperRef =
|
|
2152
|
-
const closeTimer =
|
|
2151
|
+
const [isOpen, setIsOpen] = React73.useState(false);
|
|
2152
|
+
const wrapperRef = React73.useRef(null);
|
|
2153
|
+
const closeTimer = React73.useRef(null);
|
|
2153
2154
|
const hasMenu = !!((_a = user.menuItems) == null ? void 0 : _a.length);
|
|
2154
2155
|
const openMenu = () => {
|
|
2155
2156
|
if (closeTimer.current) clearTimeout(closeTimer.current);
|
|
@@ -2171,12 +2172,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2171
2172
|
setIsOpen(false);
|
|
2172
2173
|
}
|
|
2173
2174
|
};
|
|
2174
|
-
|
|
2175
|
+
React73.useEffect(() => {
|
|
2175
2176
|
return () => {
|
|
2176
2177
|
if (closeTimer.current) clearTimeout(closeTimer.current);
|
|
2177
2178
|
};
|
|
2178
2179
|
}, []);
|
|
2179
|
-
|
|
2180
|
+
React73.useEffect(() => {
|
|
2180
2181
|
if (!isOpen) return;
|
|
2181
2182
|
const handleKey = (e) => {
|
|
2182
2183
|
if (e.key === "Escape") setIsOpen(false);
|
|
@@ -2202,7 +2203,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2202
2203
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "downChevronBlack", size: 13, "aria-hidden": "true" })
|
|
2203
2204
|
] })
|
|
2204
2205
|
] });
|
|
2205
|
-
const rootClass =
|
|
2206
|
+
const rootClass = clsx67__default.default(UserMenu_module_default.userButton, fullWidth && UserMenu_module_default.fullWidth, className);
|
|
2206
2207
|
return user.url ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2207
2208
|
"a",
|
|
2208
2209
|
{
|
|
@@ -2217,7 +2218,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2217
2218
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2218
2219
|
"div",
|
|
2219
2220
|
{
|
|
2220
|
-
className:
|
|
2221
|
+
className: clsx67__default.default(UserMenu_module_default.userMenuWrapper, fullWidth && UserMenu_module_default.fullWidth, className),
|
|
2221
2222
|
ref: wrapperRef,
|
|
2222
2223
|
onPointerLeave: handlePointerLeave,
|
|
2223
2224
|
onBlur: handleBlur,
|
|
@@ -2239,7 +2240,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2239
2240
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2240
2241
|
"span",
|
|
2241
2242
|
{
|
|
2242
|
-
className:
|
|
2243
|
+
className: clsx67__default.default(
|
|
2243
2244
|
UserMenu_module_default.userChevron,
|
|
2244
2245
|
dropUp && UserMenu_module_default.userChevronUp,
|
|
2245
2246
|
isOpen && UserMenu_module_default.userChevronOpen
|
|
@@ -2254,12 +2255,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2254
2255
|
isOpen && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2255
2256
|
"div",
|
|
2256
2257
|
{
|
|
2257
|
-
className:
|
|
2258
|
+
className: clsx67__default.default(UserMenu_module_default.userMenu, dropUp && UserMenu_module_default.userMenuUp),
|
|
2258
2259
|
role: "menu",
|
|
2259
2260
|
onPointerEnter: handlePointerEnter,
|
|
2260
2261
|
onPointerLeave: handlePointerLeave,
|
|
2261
2262
|
children: (_c = user.menuItems) == null ? void 0 : _c.map((item, i) => {
|
|
2262
|
-
const itemClass =
|
|
2263
|
+
const itemClass = clsx67__default.default(
|
|
2263
2264
|
UserMenu_module_default.userMenuItem,
|
|
2264
2265
|
item.variant === "danger" && UserMenu_module_default.userMenuItemDanger
|
|
2265
2266
|
);
|
|
@@ -2303,7 +2304,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2303
2304
|
var Loader_module_default = {
|
|
2304
2305
|
loader: "Loader_module_loader"};
|
|
2305
2306
|
var Loader = ({ className }) => {
|
|
2306
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2307
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("loader", Loader_module_default["loader"], className) });
|
|
2307
2308
|
};
|
|
2308
2309
|
Loader.displayName = "Loader";
|
|
2309
2310
|
|
|
@@ -2326,8 +2327,8 @@ var BrandCard = ({
|
|
|
2326
2327
|
animationSettings,
|
|
2327
2328
|
className
|
|
2328
2329
|
}) => {
|
|
2329
|
-
const containerRef =
|
|
2330
|
-
const textRef =
|
|
2330
|
+
const containerRef = React73.useRef(null);
|
|
2331
|
+
const textRef = React73.useRef(null);
|
|
2331
2332
|
react.useGSAP(() => {
|
|
2332
2333
|
var _a, _b;
|
|
2333
2334
|
const obj = { val: 0 };
|
|
@@ -2352,17 +2353,320 @@ var BrandCard = ({
|
|
|
2352
2353
|
"div",
|
|
2353
2354
|
{
|
|
2354
2355
|
ref: containerRef,
|
|
2355
|
-
className:
|
|
2356
|
+
className: clsx67__default.default("brand-card", BrandCard_module_default["brand-card"], BrandCard_module_default[theme], className),
|
|
2356
2357
|
children: [
|
|
2357
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2358
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
2359
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { ref: textRef, className:
|
|
2358
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("content-wrapper", BrandCard_module_default["content-wrapper"]), children: [
|
|
2359
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx67__default.default("content-title", "body", BrandCard_module_default["content-title"]), children: title }),
|
|
2360
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { ref: textRef, className: clsx67__default.default("content-subtitle", "h1", BrandCard_module_default["content-subtitle"]), children: subtitle })
|
|
2360
2361
|
] }),
|
|
2361
|
-
(image == null ? void 0 : image.src) && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className:
|
|
2362
|
+
(image == null ? void 0 : image.src) && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: clsx67__default.default("brand-image", BrandCard_module_default["brand-image"]) }, image))
|
|
2362
2363
|
]
|
|
2363
2364
|
}
|
|
2364
2365
|
);
|
|
2365
2366
|
};
|
|
2367
|
+
|
|
2368
|
+
// src/components/Select/Select.module.scss
|
|
2369
|
+
var Select_module_default = {
|
|
2370
|
+
"select-trigger": "Select_module_select-trigger",
|
|
2371
|
+
"select-option": "Select_module_select-option",
|
|
2372
|
+
"select-panel": "Select_module_select-panel",
|
|
2373
|
+
"is-highlighted": "Select_module_is-highlighted",
|
|
2374
|
+
"is-selected": "Select_module_is-selected"
|
|
2375
|
+
};
|
|
2376
|
+
var Select = ({
|
|
2377
|
+
options,
|
|
2378
|
+
value,
|
|
2379
|
+
onChange,
|
|
2380
|
+
placeholder = "-- Select option --",
|
|
2381
|
+
disabled = false,
|
|
2382
|
+
className
|
|
2383
|
+
}) => {
|
|
2384
|
+
var _a;
|
|
2385
|
+
const [isOpen, setIsOpen] = React73.useState(false);
|
|
2386
|
+
const [highlightedIndex, setHighlightedIndex] = React73.useState(0);
|
|
2387
|
+
const selectId = React73.useId();
|
|
2388
|
+
const triggerRef = React73.useRef(null);
|
|
2389
|
+
const optionRefs = React73.useRef([]);
|
|
2390
|
+
const shouldFocusHighlightedOptionRef = React73.useRef(false);
|
|
2391
|
+
const typeaheadRef = React73.useRef("");
|
|
2392
|
+
const typeaheadTimeoutRef = React73.useRef(null);
|
|
2393
|
+
const [position, setPosition] = React73.useState({
|
|
2394
|
+
top: 0,
|
|
2395
|
+
left: 0,
|
|
2396
|
+
width: 0
|
|
2397
|
+
});
|
|
2398
|
+
const selectedIndex = options.findIndex((option) => option.value === value);
|
|
2399
|
+
const selectedOption = selectedIndex >= 0 ? options[selectedIndex] : void 0;
|
|
2400
|
+
const updatePosition = () => {
|
|
2401
|
+
if (!triggerRef.current) return;
|
|
2402
|
+
const rect = triggerRef.current.getBoundingClientRect();
|
|
2403
|
+
setPosition({
|
|
2404
|
+
top: rect.bottom + 4,
|
|
2405
|
+
left: rect.left,
|
|
2406
|
+
width: rect.width
|
|
2407
|
+
});
|
|
2408
|
+
};
|
|
2409
|
+
const openDropdown = () => {
|
|
2410
|
+
if (disabled || options.length === 0) return;
|
|
2411
|
+
shouldFocusHighlightedOptionRef.current = true;
|
|
2412
|
+
setHighlightedIndex(selectedIndex >= 0 ? selectedIndex : 0);
|
|
2413
|
+
updatePosition();
|
|
2414
|
+
setIsOpen(true);
|
|
2415
|
+
};
|
|
2416
|
+
const closeDropdown = () => {
|
|
2417
|
+
var _a2;
|
|
2418
|
+
setIsOpen(false);
|
|
2419
|
+
(_a2 = triggerRef.current) == null ? void 0 : _a2.focus();
|
|
2420
|
+
};
|
|
2421
|
+
const selectOption = (index) => {
|
|
2422
|
+
var _a2;
|
|
2423
|
+
const option = options[index];
|
|
2424
|
+
if (!option) return;
|
|
2425
|
+
onChange == null ? void 0 : onChange(option.value || void 0);
|
|
2426
|
+
setIsOpen(false);
|
|
2427
|
+
(_a2 = triggerRef.current) == null ? void 0 : _a2.focus();
|
|
2428
|
+
};
|
|
2429
|
+
const handleTriggerKeyDown = (event) => {
|
|
2430
|
+
if (disabled) return;
|
|
2431
|
+
shouldFocusHighlightedOptionRef.current = true;
|
|
2432
|
+
switch (event.key) {
|
|
2433
|
+
case "Enter":
|
|
2434
|
+
case " ":
|
|
2435
|
+
case "ArrowDown":
|
|
2436
|
+
event.preventDefault();
|
|
2437
|
+
if (!isOpen) {
|
|
2438
|
+
openDropdown();
|
|
2439
|
+
} else {
|
|
2440
|
+
setHighlightedIndex((current) => Math.min(current + 1, options.length - 1));
|
|
2441
|
+
}
|
|
2442
|
+
break;
|
|
2443
|
+
case "ArrowUp":
|
|
2444
|
+
event.preventDefault();
|
|
2445
|
+
if (!isOpen) {
|
|
2446
|
+
openDropdown();
|
|
2447
|
+
} else {
|
|
2448
|
+
setHighlightedIndex((current) => Math.max(current - 1, 0));
|
|
2449
|
+
}
|
|
2450
|
+
break;
|
|
2451
|
+
case "Escape":
|
|
2452
|
+
if (isOpen) {
|
|
2453
|
+
event.preventDefault();
|
|
2454
|
+
closeDropdown();
|
|
2455
|
+
}
|
|
2456
|
+
break;
|
|
2457
|
+
case "Home":
|
|
2458
|
+
if (isOpen) {
|
|
2459
|
+
event.preventDefault();
|
|
2460
|
+
setHighlightedIndex(0);
|
|
2461
|
+
}
|
|
2462
|
+
break;
|
|
2463
|
+
case "End":
|
|
2464
|
+
if (isOpen) {
|
|
2465
|
+
event.preventDefault();
|
|
2466
|
+
setHighlightedIndex(options.length - 1);
|
|
2467
|
+
}
|
|
2468
|
+
break;
|
|
2469
|
+
}
|
|
2470
|
+
};
|
|
2471
|
+
const handleOptionKeyDown = (event) => {
|
|
2472
|
+
shouldFocusHighlightedOptionRef.current = true;
|
|
2473
|
+
switch (event.key) {
|
|
2474
|
+
case "ArrowDown":
|
|
2475
|
+
event.preventDefault();
|
|
2476
|
+
setHighlightedIndex((current) => Math.min(current + 1, options.length - 1));
|
|
2477
|
+
break;
|
|
2478
|
+
case "ArrowUp":
|
|
2479
|
+
event.preventDefault();
|
|
2480
|
+
setHighlightedIndex((current) => Math.max(current - 1, 0));
|
|
2481
|
+
break;
|
|
2482
|
+
case "Home":
|
|
2483
|
+
event.preventDefault();
|
|
2484
|
+
setHighlightedIndex(0);
|
|
2485
|
+
break;
|
|
2486
|
+
case "End":
|
|
2487
|
+
event.preventDefault();
|
|
2488
|
+
setHighlightedIndex(options.length - 1);
|
|
2489
|
+
break;
|
|
2490
|
+
case "Enter":
|
|
2491
|
+
case " ":
|
|
2492
|
+
event.preventDefault();
|
|
2493
|
+
selectOption(highlightedIndex);
|
|
2494
|
+
break;
|
|
2495
|
+
case "Escape":
|
|
2496
|
+
event.preventDefault();
|
|
2497
|
+
closeDropdown();
|
|
2498
|
+
break;
|
|
2499
|
+
case "Tab":
|
|
2500
|
+
setIsOpen(false);
|
|
2501
|
+
break;
|
|
2502
|
+
default:
|
|
2503
|
+
handleTypeahead(event);
|
|
2504
|
+
break;
|
|
2505
|
+
}
|
|
2506
|
+
};
|
|
2507
|
+
const handleTypeahead = (event) => {
|
|
2508
|
+
if (event.key.length !== 1) return;
|
|
2509
|
+
typeaheadRef.current += event.key.toLowerCase();
|
|
2510
|
+
const index = options.findIndex(
|
|
2511
|
+
(option) => option.label.toLowerCase().startsWith(typeaheadRef.current)
|
|
2512
|
+
);
|
|
2513
|
+
if (index >= 0) {
|
|
2514
|
+
setHighlightedIndex(index);
|
|
2515
|
+
}
|
|
2516
|
+
if (typeaheadTimeoutRef.current) {
|
|
2517
|
+
clearTimeout(typeaheadTimeoutRef.current);
|
|
2518
|
+
}
|
|
2519
|
+
typeaheadTimeoutRef.current = setTimeout(() => {
|
|
2520
|
+
typeaheadRef.current = "";
|
|
2521
|
+
}, 500);
|
|
2522
|
+
};
|
|
2523
|
+
React73.useEffect(() => {
|
|
2524
|
+
var _a2;
|
|
2525
|
+
if (!isOpen || !shouldFocusHighlightedOptionRef.current) return;
|
|
2526
|
+
(_a2 = optionRefs.current[highlightedIndex]) == null ? void 0 : _a2.focus();
|
|
2527
|
+
shouldFocusHighlightedOptionRef.current = false;
|
|
2528
|
+
}, [highlightedIndex, isOpen]);
|
|
2529
|
+
React73.useEffect(() => {
|
|
2530
|
+
if (!isOpen) return;
|
|
2531
|
+
updatePosition();
|
|
2532
|
+
window.addEventListener("resize", updatePosition);
|
|
2533
|
+
window.addEventListener("scroll", updatePosition, true);
|
|
2534
|
+
return () => {
|
|
2535
|
+
window.removeEventListener("resize", updatePosition);
|
|
2536
|
+
window.removeEventListener("scroll", updatePosition, true);
|
|
2537
|
+
};
|
|
2538
|
+
}, [isOpen]);
|
|
2539
|
+
React73.useEffect(() => {
|
|
2540
|
+
if (!isOpen) return;
|
|
2541
|
+
const handleClickOutside = (event) => {
|
|
2542
|
+
const target = event.target;
|
|
2543
|
+
const trigger = triggerRef.current;
|
|
2544
|
+
if (trigger == null ? void 0 : trigger.contains(target)) {
|
|
2545
|
+
return;
|
|
2546
|
+
}
|
|
2547
|
+
const panel = document.getElementById(`${selectId}-listbox`);
|
|
2548
|
+
if (panel == null ? void 0 : panel.contains(target)) {
|
|
2549
|
+
return;
|
|
2550
|
+
}
|
|
2551
|
+
setIsOpen(false);
|
|
2552
|
+
};
|
|
2553
|
+
document.addEventListener("mousedown", handleClickOutside);
|
|
2554
|
+
return () => {
|
|
2555
|
+
document.removeEventListener("mousedown", handleClickOutside);
|
|
2556
|
+
};
|
|
2557
|
+
}, [isOpen, selectId]);
|
|
2558
|
+
React73.useEffect(() => {
|
|
2559
|
+
return () => {
|
|
2560
|
+
if (typeaheadTimeoutRef.current) {
|
|
2561
|
+
clearTimeout(typeaheadTimeoutRef.current);
|
|
2562
|
+
}
|
|
2563
|
+
};
|
|
2564
|
+
}, []);
|
|
2565
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2566
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2567
|
+
"button",
|
|
2568
|
+
{
|
|
2569
|
+
ref: triggerRef,
|
|
2570
|
+
type: "button",
|
|
2571
|
+
className: clsx67__default.default(Select_module_default["select-trigger"], className),
|
|
2572
|
+
disabled,
|
|
2573
|
+
"aria-haspopup": "listbox",
|
|
2574
|
+
"aria-expanded": isOpen,
|
|
2575
|
+
"aria-controls": isOpen ? `${selectId}-listbox` : void 0,
|
|
2576
|
+
onClick: () => {
|
|
2577
|
+
if (isOpen) {
|
|
2578
|
+
closeDropdown();
|
|
2579
|
+
} else {
|
|
2580
|
+
openDropdown();
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
onKeyDown: handleTriggerKeyDown,
|
|
2584
|
+
children: [
|
|
2585
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("label"), children: (_a = selectedOption == null ? void 0 : selectedOption.label) != null ? _a : placeholder }),
|
|
2586
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2587
|
+
Icon,
|
|
2588
|
+
{
|
|
2589
|
+
type: "downChevronBlack",
|
|
2590
|
+
"aria-hidden": "true",
|
|
2591
|
+
className: isOpen ? "is-open icon" : "icon"
|
|
2592
|
+
}
|
|
2593
|
+
)
|
|
2594
|
+
]
|
|
2595
|
+
}
|
|
2596
|
+
),
|
|
2597
|
+
isOpen && reactDom.createPortal(
|
|
2598
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2599
|
+
"div",
|
|
2600
|
+
{
|
|
2601
|
+
id: `${selectId}-listbox`,
|
|
2602
|
+
className: clsx67__default.default(Select_module_default["select-panel"]),
|
|
2603
|
+
role: "listbox",
|
|
2604
|
+
style: {
|
|
2605
|
+
position: "fixed",
|
|
2606
|
+
top: position.top,
|
|
2607
|
+
left: position.left,
|
|
2608
|
+
width: position.width
|
|
2609
|
+
},
|
|
2610
|
+
children: options.map((option, index) => {
|
|
2611
|
+
var _a2;
|
|
2612
|
+
const isSelected = option.value === value;
|
|
2613
|
+
const isHighlighted = index === highlightedIndex;
|
|
2614
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2615
|
+
"button",
|
|
2616
|
+
{
|
|
2617
|
+
ref: (element) => {
|
|
2618
|
+
optionRefs.current[index] = element;
|
|
2619
|
+
},
|
|
2620
|
+
id: `${selectId}-option-${index}`,
|
|
2621
|
+
type: "button",
|
|
2622
|
+
role: "option",
|
|
2623
|
+
"aria-selected": isSelected,
|
|
2624
|
+
className: clsx67__default.default(
|
|
2625
|
+
Select_module_default["select-option"],
|
|
2626
|
+
isHighlighted && Select_module_default["is-highlighted"],
|
|
2627
|
+
isSelected && Select_module_default["is-selected"]
|
|
2628
|
+
),
|
|
2629
|
+
onClick: () => selectOption(index),
|
|
2630
|
+
onKeyDown: handleOptionKeyDown,
|
|
2631
|
+
onMouseEnter: () => {
|
|
2632
|
+
shouldFocusHighlightedOptionRef.current = false;
|
|
2633
|
+
setHighlightedIndex(index);
|
|
2634
|
+
},
|
|
2635
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: option.label })
|
|
2636
|
+
},
|
|
2637
|
+
(_a2 = option.value) != null ? _a2 : `option-${index}`
|
|
2638
|
+
);
|
|
2639
|
+
})
|
|
2640
|
+
}
|
|
2641
|
+
),
|
|
2642
|
+
document.body
|
|
2643
|
+
)
|
|
2644
|
+
] });
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
// src/components/IconTeamCard/IconTeamCard.module.scss
|
|
2648
|
+
var IconTeamCard_module_default = {
|
|
2649
|
+
"icon-team-card": "IconTeamCard_module_icon-team-card",
|
|
2650
|
+
"contact-wrapper": "IconTeamCard_module_contact-wrapper",
|
|
2651
|
+
name: "IconTeamCard_module_name",
|
|
2652
|
+
"photo-wrapper": "IconTeamCard_module_photo-wrapper",
|
|
2653
|
+
photo: "IconTeamCard_module_photo",
|
|
2654
|
+
details: "IconTeamCard_module_details",
|
|
2655
|
+
contacts: "IconTeamCard_module_contacts",
|
|
2656
|
+
cta: "IconTeamCard_module_cta"
|
|
2657
|
+
};
|
|
2658
|
+
var IconTeamCard = ({ className, name, contact, cta, photo }) => {
|
|
2659
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("icon-team-card", IconTeamCard_module_default["icon-team-card"], className), children: [
|
|
2660
|
+
photo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("photo-wrapper", IconTeamCard_module_default["photo-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, photo), { className: clsx67__default.default("photo", IconTeamCard_module_default["photo"]) })) }),
|
|
2661
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("contact-wrapper", IconTeamCard_module_default["contact-wrapper"]), children: [
|
|
2662
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("details", IconTeamCard_module_default["details"]), children: [
|
|
2663
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("name", IconTeamCard_module_default["name"]), children: name }),
|
|
2664
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("contacts", IconTeamCard_module_default["contacts"]), children: contact })
|
|
2665
|
+
] }),
|
|
2666
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, __spreadProps(__spreadValues({}, cta), { href: cta == null ? void 0 : cta.url, variant: "secondary", className: clsx67__default.default("cta", IconTeamCard_module_default["cta"]), children: cta == null ? void 0 : cta.label }))
|
|
2667
|
+
] })
|
|
2668
|
+
] });
|
|
2669
|
+
};
|
|
2366
2670
|
var CardCarouselTitle = ({ children }) => {
|
|
2367
2671
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
2368
2672
|
};
|
|
@@ -2399,10 +2703,10 @@ var CardCarousel = ({
|
|
|
2399
2703
|
var _a, _b, _c;
|
|
2400
2704
|
const { is } = useViewPort_default();
|
|
2401
2705
|
const isMobile = is("tablet", "below");
|
|
2402
|
-
const [swiperInstance, setSwiperInstance] =
|
|
2403
|
-
const [snapIndex, setSnapIndex] =
|
|
2404
|
-
const [totalPages, setTotalPages] =
|
|
2405
|
-
const [activeVideo, setActiveVideo] =
|
|
2706
|
+
const [swiperInstance, setSwiperInstance] = React73.useState(null);
|
|
2707
|
+
const [snapIndex, setSnapIndex] = React73.useState(0);
|
|
2708
|
+
const [totalPages, setTotalPages] = React73.useState(1);
|
|
2709
|
+
const [activeVideo, setActiveVideo] = React73.useState(null);
|
|
2406
2710
|
const slots = resolveCompoundSlots(children, {
|
|
2407
2711
|
title: CardCarouselTitle,
|
|
2408
2712
|
subtitle: CardCarouselSubtitle,
|
|
@@ -2418,11 +2722,11 @@ var CardCarousel = ({
|
|
|
2418
2722
|
setTotalPages(Math.max((_b2 = (_a2 = swiper.snapGrid) == null ? void 0 : _a2.length) != null ? _b2 : 1, 1));
|
|
2419
2723
|
};
|
|
2420
2724
|
if (!cards.length) return null;
|
|
2421
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
2725
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(CardCarousel_module_default.cardCarousel, className), children: [
|
|
2422
2726
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CardCarousel_module_default.header, children: [
|
|
2423
2727
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CardCarousel_module_default.texts, children: [
|
|
2424
2728
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
2425
|
-
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2729
|
+
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("subheading", CardCarousel_module_default.subtitle), children: subtitleNode })
|
|
2426
2730
|
] }),
|
|
2427
2731
|
!isMobile && totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2428
2732
|
Pagination,
|
|
@@ -2459,7 +2763,7 @@ var CardCarousel = ({
|
|
|
2459
2763
|
Card2,
|
|
2460
2764
|
__spreadProps(__spreadValues({}, card), {
|
|
2461
2765
|
variant: theme,
|
|
2462
|
-
className:
|
|
2766
|
+
className: clsx67__default.default(CardCarousel_module_default.card, isLocked && CardCarousel_module_default.locked, cardClassName),
|
|
2463
2767
|
onCtaClick: !isLocked && videoUrl ? (event) => {
|
|
2464
2768
|
event.preventDefault();
|
|
2465
2769
|
setActiveVideo(videoUrl);
|
|
@@ -2470,7 +2774,7 @@ var CardCarousel = ({
|
|
|
2470
2774
|
})
|
|
2471
2775
|
}
|
|
2472
2776
|
),
|
|
2473
|
-
footnoteNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2777
|
+
footnoteNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("body", CardCarousel_module_default.footnote), children: footnoteNode }),
|
|
2474
2778
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2475
2779
|
Modal,
|
|
2476
2780
|
{
|
|
@@ -2533,10 +2837,10 @@ var CardCollection = ({
|
|
|
2533
2837
|
children
|
|
2534
2838
|
}) => {
|
|
2535
2839
|
var _a, _b;
|
|
2536
|
-
const container =
|
|
2537
|
-
const revealWrapper =
|
|
2538
|
-
const extraCard =
|
|
2539
|
-
const [isExpanded, setIsExpanded] =
|
|
2840
|
+
const container = React73.useRef(null);
|
|
2841
|
+
const revealWrapper = React73.useRef(null);
|
|
2842
|
+
const extraCard = React73.useRef(null);
|
|
2843
|
+
const [isExpanded, setIsExpanded] = React73.useState(false);
|
|
2540
2844
|
const slots = resolveCompoundSlots(children, {
|
|
2541
2845
|
title: CardCollectionTitle,
|
|
2542
2846
|
subtitle: CardCollectionSubtitle
|
|
@@ -2547,7 +2851,7 @@ var CardCollection = ({
|
|
|
2547
2851
|
const visibleCards = isExamCard ? cards.slice(0, 8) : cards;
|
|
2548
2852
|
const hiddenCards = isExamCard ? cards.slice(8) : [];
|
|
2549
2853
|
const { contextSafe } = react.useGSAP({ scope: container });
|
|
2550
|
-
const handleShowMore =
|
|
2854
|
+
const handleShowMore = React73.useCallback(() => {
|
|
2551
2855
|
contextSafe(() => {
|
|
2552
2856
|
setIsExpanded(true);
|
|
2553
2857
|
const tl = gsap__default.default.timeline({ defaults: { ease: "power3.inOut" } });
|
|
@@ -2579,13 +2883,13 @@ var CardCollection = ({
|
|
|
2579
2883
|
Container,
|
|
2580
2884
|
{
|
|
2581
2885
|
ref: container,
|
|
2582
|
-
className:
|
|
2886
|
+
className: clsx67__default.default(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
2583
2887
|
children: [
|
|
2584
2888
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
2585
2889
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
2586
2890
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "subheading", children: subtitleNode })
|
|
2587
2891
|
] }),
|
|
2588
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2892
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
2589
2893
|
visibleCards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
2590
2894
|
isExamCard && hiddenCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { ref: revealWrapper, className: CardCollection_module_default["reveal-wrapper"], children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: CardCollection_module_default["reveal-inner"], children: hiddenCards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2591
2895
|
Card2,
|
|
@@ -2651,8 +2955,8 @@ var ContactModule = ({
|
|
|
2651
2955
|
animateBlur = true
|
|
2652
2956
|
}) => {
|
|
2653
2957
|
var _a, _b;
|
|
2654
|
-
const containerRef =
|
|
2655
|
-
const blurRef =
|
|
2958
|
+
const containerRef = React73.useRef(null);
|
|
2959
|
+
const blurRef = React73.useRef(null);
|
|
2656
2960
|
const slots = resolveCompoundSlots(children, {
|
|
2657
2961
|
title: ContactModuleTitle,
|
|
2658
2962
|
subtitle: ContactModuleSubtitle
|
|
@@ -2686,7 +2990,7 @@ var ContactModule = ({
|
|
|
2686
2990
|
},
|
|
2687
2991
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
2688
2992
|
);
|
|
2689
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className:
|
|
2993
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: clsx67__default.default(ContactModule_module_default["contact-module"], className), children: [
|
|
2690
2994
|
blurred && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2691
2995
|
"div",
|
|
2692
2996
|
{
|
|
@@ -2701,8 +3005,8 @@ var ContactModule = ({
|
|
|
2701
3005
|
/* @__PURE__ */ jsxRuntime.jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2702
3006
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2703
3007
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2704
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2705
|
-
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3008
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
3009
|
+
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2706
3010
|
] }),
|
|
2707
3011
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2708
3012
|
Button,
|
|
@@ -2771,7 +3075,7 @@ var Footer = ({
|
|
|
2771
3075
|
disclaimer: FooterDisclaimer
|
|
2772
3076
|
});
|
|
2773
3077
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2774
|
-
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className:
|
|
3078
|
+
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: clsx67__default.default(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2775
3079
|
supportContacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2776
3080
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2777
3081
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default.support, children: supportColumns.map((column, colIdx) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["support-column"], children: column.map((group, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-group"], children: [
|
|
@@ -2800,7 +3104,7 @@ var Footer = ({
|
|
|
2800
3104
|
index
|
|
2801
3105
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2802
3106
|
) }) }),
|
|
2803
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3107
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2804
3108
|
copyright && /* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2805
3109
|
] }),
|
|
2806
3110
|
navigationLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("nav", { className: Footer_module_default["bottom-right"], children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: Footer_module_default["nav-list"], children: navigationLinks.map((link) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2826,7 +3130,7 @@ var LogoBar_module_default = {
|
|
|
2826
3130
|
};
|
|
2827
3131
|
var LogoBar = ({ className, items }) => {
|
|
2828
3132
|
if (!items || items.length === 0) return null;
|
|
2829
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3133
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2830
3134
|
return /* @__PURE__ */ jsxRuntime.jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2831
3135
|
item.logo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2832
3136
|
item.hoverLogo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2897,17 +3201,17 @@ var HeroBanner = ({
|
|
|
2897
3201
|
});
|
|
2898
3202
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2899
3203
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2900
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3204
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], HeroBanner_module_default[type], className), children: [
|
|
2901
3205
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2902
3206
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2903
|
-
(titleNode || subtitleNode) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3207
|
+
(titleNode || subtitleNode) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(HeroBanner_module_default.text, vMainHeroBanner && HeroBanner_module_default.fullWidth), children: [
|
|
2904
3208
|
isTitleLogo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: HeroBanner_module_default.titleLogo }, logo)),
|
|
2905
3209
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2906
3210
|
Text,
|
|
2907
3211
|
{
|
|
2908
3212
|
tag: "h2",
|
|
2909
3213
|
promoteToH1,
|
|
2910
|
-
className:
|
|
3214
|
+
className: clsx67__default.default(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2911
3215
|
children: titleNode
|
|
2912
3216
|
}
|
|
2913
3217
|
),
|
|
@@ -2916,7 +3220,7 @@ var HeroBanner = ({
|
|
|
2916
3220
|
{
|
|
2917
3221
|
tag: "div",
|
|
2918
3222
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2919
|
-
className:
|
|
3223
|
+
className: clsx67__default.default(HeroBanner_module_default.subtitle, "subheading"),
|
|
2920
3224
|
children: subtitleNode
|
|
2921
3225
|
}
|
|
2922
3226
|
)
|
|
@@ -2986,10 +3290,10 @@ var HeroBannerCarousel_module_default = {
|
|
|
2986
3290
|
var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
2987
3291
|
const { is } = useViewPort_default();
|
|
2988
3292
|
const isMobile = is("tablet", "below");
|
|
2989
|
-
const [swiperInstance, setSwiperInstance] =
|
|
2990
|
-
const [activeIndex, setActiveIndex] =
|
|
3293
|
+
const [swiperInstance, setSwiperInstance] = React73.useState(null);
|
|
3294
|
+
const [activeIndex, setActiveIndex] = React73.useState(0);
|
|
2991
3295
|
if (!items.length) return null;
|
|
2992
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3296
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2993
3297
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2994
3298
|
react$1.Swiper,
|
|
2995
3299
|
{
|
|
@@ -3001,7 +3305,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
3001
3305
|
children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(react$1.SwiperSlide, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBannerCarousel_module_default.card, children: [
|
|
3002
3306
|
item.isNewItem && /* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.cardCorner, children: isMobile ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: HeroBannerCarousel_module_default.cardCornerDot }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "newIcon", className: HeroBannerCarousel_module_default.cardCornerImage }) }),
|
|
3003
3307
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBannerCarousel_module_default.cardContent, children: [
|
|
3004
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
3308
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default(HeroBannerCarousel_module_default.cardTitle, "h3"), children: item.title }),
|
|
3005
3309
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBannerCarousel_module_default.cardBottom, children: [
|
|
3006
3310
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.cardBody, children: item.body }),
|
|
3007
3311
|
item.ctas.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.cardCtaContainer, children: item.ctas.map((cta, ctaIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3036,7 +3340,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
3036
3340
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3037
3341
|
"button",
|
|
3038
3342
|
{
|
|
3039
|
-
className:
|
|
3343
|
+
className: clsx67__default.default(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
3040
3344
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
3041
3345
|
"aria-label": `Go to slide ${index + 1}`
|
|
3042
3346
|
},
|
|
@@ -3079,16 +3383,16 @@ var AccordionItem = ({
|
|
|
3079
3383
|
hasDivider,
|
|
3080
3384
|
className
|
|
3081
3385
|
}) => {
|
|
3082
|
-
const contentRef =
|
|
3083
|
-
const contentInnerRef =
|
|
3084
|
-
const timelineRef =
|
|
3085
|
-
const [contentHeight, setContentHeight] =
|
|
3086
|
-
|
|
3386
|
+
const contentRef = React73.useRef(null);
|
|
3387
|
+
const contentInnerRef = React73.useRef(null);
|
|
3388
|
+
const timelineRef = React73.useRef(null);
|
|
3389
|
+
const [contentHeight, setContentHeight] = React73.useState(0);
|
|
3390
|
+
React73.useEffect(() => {
|
|
3087
3391
|
if (contentInnerRef.current) {
|
|
3088
3392
|
setContentHeight(contentInnerRef.current.scrollHeight);
|
|
3089
3393
|
}
|
|
3090
3394
|
}, [children]);
|
|
3091
|
-
|
|
3395
|
+
React73.useEffect(() => {
|
|
3092
3396
|
if (contentRef.current && contentHeight > 0) {
|
|
3093
3397
|
if (timelineRef.current) {
|
|
3094
3398
|
timelineRef.current.kill();
|
|
@@ -3119,7 +3423,7 @@ var AccordionItem = ({
|
|
|
3119
3423
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3120
3424
|
"div",
|
|
3121
3425
|
{
|
|
3122
|
-
className:
|
|
3426
|
+
className: clsx67__default.default(
|
|
3123
3427
|
"accordionItem",
|
|
3124
3428
|
Accordion_module_default.accordionItem,
|
|
3125
3429
|
{
|
|
@@ -3134,18 +3438,18 @@ var AccordionItem = ({
|
|
|
3134
3438
|
}) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3135
3439
|
"button",
|
|
3136
3440
|
{
|
|
3137
|
-
className:
|
|
3441
|
+
className: clsx67__default.default(Accordion_module_default.accordionHeader, {
|
|
3138
3442
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
3139
3443
|
}),
|
|
3140
3444
|
onClick: handleToggle,
|
|
3141
3445
|
"aria-expanded": isOpen,
|
|
3142
3446
|
"aria-label": `Toggle ${title}`,
|
|
3143
3447
|
children: [
|
|
3144
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
3448
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
3145
3449
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3146
3450
|
"span",
|
|
3147
3451
|
{
|
|
3148
|
-
className:
|
|
3452
|
+
className: clsx67__default.default(Accordion_module_default.accordionChevron, {
|
|
3149
3453
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
3150
3454
|
}),
|
|
3151
3455
|
children: isOpen ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -3158,7 +3462,7 @@ var AccordionItem = ({
|
|
|
3158
3462
|
"div",
|
|
3159
3463
|
{
|
|
3160
3464
|
ref: contentRef,
|
|
3161
|
-
className:
|
|
3465
|
+
className: clsx67__default.default("accordionContent", Accordion_module_default.accordionContent),
|
|
3162
3466
|
style: {
|
|
3163
3467
|
overflow: "hidden",
|
|
3164
3468
|
height: 0
|
|
@@ -3168,7 +3472,7 @@ var AccordionItem = ({
|
|
|
3168
3472
|
"div",
|
|
3169
3473
|
{
|
|
3170
3474
|
ref: contentInnerRef,
|
|
3171
|
-
className:
|
|
3475
|
+
className: clsx67__default.default("accordionContentInner", Accordion_module_default.accordionContentInner),
|
|
3172
3476
|
children
|
|
3173
3477
|
}
|
|
3174
3478
|
)
|
|
@@ -3177,7 +3481,7 @@ var AccordionItem = ({
|
|
|
3177
3481
|
hasDivider && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3178
3482
|
"div",
|
|
3179
3483
|
{
|
|
3180
|
-
className:
|
|
3484
|
+
className: clsx67__default.default("accordionContentDivider", Accordion_module_default.accordionContentDivider),
|
|
3181
3485
|
"aria-hidden": "true"
|
|
3182
3486
|
}
|
|
3183
3487
|
)
|
|
@@ -3192,7 +3496,7 @@ var Accordion = ({
|
|
|
3192
3496
|
allowMultiple = false,
|
|
3193
3497
|
onItemToggle
|
|
3194
3498
|
}) => {
|
|
3195
|
-
const [openIds, setOpenIds] =
|
|
3499
|
+
const [openIds, setOpenIds] = React73.useState(defaultOpenIds);
|
|
3196
3500
|
const handleToggle = (id) => {
|
|
3197
3501
|
setOpenIds((prev) => {
|
|
3198
3502
|
let newOpenIds;
|
|
@@ -3212,7 +3516,7 @@ var Accordion = ({
|
|
|
3212
3516
|
if (items.length === 0) {
|
|
3213
3517
|
return null;
|
|
3214
3518
|
}
|
|
3215
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3519
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Accordion_module_default.accordion, className), children: items.map((item) => {
|
|
3216
3520
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3217
3521
|
AccordionItem,
|
|
3218
3522
|
{
|
|
@@ -3257,10 +3561,10 @@ var InternalBrandsTab_module_default = {
|
|
|
3257
3561
|
var InternalBrandsTab = (props) => {
|
|
3258
3562
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A;
|
|
3259
3563
|
const { title, subTitle, className, tabs } = props;
|
|
3260
|
-
const [activeIndex, setActiveIndex] =
|
|
3564
|
+
const [activeIndex, setActiveIndex] = React73.useState(0);
|
|
3261
3565
|
const { is } = useViewPort_default();
|
|
3262
3566
|
const isTabletBelow = is("tablet", "below");
|
|
3263
|
-
const accordionItems =
|
|
3567
|
+
const accordionItems = React73.useMemo(() => {
|
|
3264
3568
|
return (tabs == null ? void 0 : tabs.map((tab, index) => {
|
|
3265
3569
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n2;
|
|
3266
3570
|
return {
|
|
@@ -3306,7 +3610,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3306
3610
|
};
|
|
3307
3611
|
})) || [];
|
|
3308
3612
|
}, [tabs]);
|
|
3309
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3613
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
3310
3614
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
3311
3615
|
title && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
3312
3616
|
subTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -3322,7 +3626,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3322
3626
|
},
|
|
3323
3627
|
index
|
|
3324
3628
|
)) }),
|
|
3325
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3629
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3326
3630
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
3327
3631
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3328
3632
|
((_b = tabs[activeIndex].topContent) == null ? void 0 : _b.title) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: InternalBrandsTab_module_default.topContentTitle, children: (_c = tabs[activeIndex].topContent) == null ? void 0 : _c.title }),
|
|
@@ -3422,22 +3726,22 @@ var MiniBanner = ({
|
|
|
3422
3726
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
3423
3727
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
3424
3728
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
3425
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3729
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
3426
3730
|
((background == null ? void 0 : background.src) || ((_d = background == null ? void 0 : background.desktop) == null ? void 0 : _d.src) || ((_e = background == null ? void 0 : background.mobile) == null ? void 0 : _e.src)) && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: MiniBanner_module_default.background }, background)),
|
|
3427
|
-
/* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
3731
|
+
/* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx67__default.default(MiniBanner_module_default.container), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
3428
3732
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
3429
3733
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
3430
|
-
pretitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3734
|
+
pretitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
3431
3735
|
(titleNode || goBackNode) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
3432
|
-
goBackNode ?
|
|
3433
|
-
className:
|
|
3736
|
+
goBackNode ? React73__default.default.cloneElement(goBackNode, {
|
|
3737
|
+
className: clsx67__default.default("back-button", MiniBanner_module_default["back-button"])
|
|
3434
3738
|
}) : null,
|
|
3435
3739
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3436
3740
|
Text,
|
|
3437
3741
|
{
|
|
3438
3742
|
tag: "div",
|
|
3439
3743
|
promoteToH1,
|
|
3440
|
-
className:
|
|
3744
|
+
className: clsx67__default.default(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"),
|
|
3441
3745
|
children: titleNode
|
|
3442
3746
|
}
|
|
3443
3747
|
)
|
|
@@ -3445,7 +3749,7 @@ var MiniBanner = ({
|
|
|
3445
3749
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3446
3750
|
"div",
|
|
3447
3751
|
{
|
|
3448
|
-
className:
|
|
3752
|
+
className: clsx67__default.default(MiniBanner_module_default.title, MiniBanner_module_default.subtitle, {
|
|
3449
3753
|
subheading: isMiniBannerNoBG,
|
|
3450
3754
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3451
3755
|
h4: isMiniBannerTextLeft
|
|
@@ -3523,7 +3827,7 @@ var MiniSectionCta = ({
|
|
|
3523
3827
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3524
3828
|
"div",
|
|
3525
3829
|
{
|
|
3526
|
-
className:
|
|
3830
|
+
className: clsx67__default.default(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3527
3831
|
style: __spreadValues({}, hasModuleStyles && {
|
|
3528
3832
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
3529
3833
|
"--custom-mobile-background-color": moduleStyles.mobileBackgroundColor,
|
|
@@ -3535,7 +3839,7 @@ var MiniSectionCta = ({
|
|
|
3535
3839
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3536
3840
|
"div",
|
|
3537
3841
|
{
|
|
3538
|
-
className:
|
|
3842
|
+
className: clsx67__default.default(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
3539
3843
|
children: subtitleNode
|
|
3540
3844
|
}
|
|
3541
3845
|
)
|
|
@@ -3565,8 +3869,8 @@ var NavigationUserMenuFallback = ({ children }) => {
|
|
|
3565
3869
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
3566
3870
|
};
|
|
3567
3871
|
var useIsAtTop = () => {
|
|
3568
|
-
const [isAtTop, setIsAtTop] =
|
|
3569
|
-
|
|
3872
|
+
const [isAtTop, setIsAtTop] = React73.useState(true);
|
|
3873
|
+
React73.useEffect(() => {
|
|
3570
3874
|
const handleScroll = () => setIsAtTop(window.scrollY === 0);
|
|
3571
3875
|
window.addEventListener("scroll", handleScroll, { passive: true });
|
|
3572
3876
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
@@ -3610,7 +3914,7 @@ var NavigationBrandBars_module_default = {
|
|
|
3610
3914
|
};
|
|
3611
3915
|
var NavigationBrandBars = ({ brandBars, className }) => {
|
|
3612
3916
|
if ((brandBars == null ? void 0 : brandBars.length) === 0) return;
|
|
3613
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3917
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(NavigationBrandBars_module_default.brandBars, className), "aria-hidden": "true", children: brandBars && brandBars.map((bar, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3614
3918
|
"span",
|
|
3615
3919
|
{
|
|
3616
3920
|
className: NavigationBrandBars_module_default.brandBar,
|
|
@@ -3621,8 +3925,8 @@ var NavigationBrandBars = ({ brandBars, className }) => {
|
|
|
3621
3925
|
};
|
|
3622
3926
|
var getPathname = () => typeof window === "undefined" ? "" : window.location.pathname;
|
|
3623
3927
|
var useActivePath = () => {
|
|
3624
|
-
const [pathname, setPathname] =
|
|
3625
|
-
|
|
3928
|
+
const [pathname, setPathname] = React73.useState(getPathname);
|
|
3929
|
+
React73.useEffect(() => {
|
|
3626
3930
|
const handlePopState = () => setPathname(getPathname());
|
|
3627
3931
|
window.addEventListener("popstate", handlePopState);
|
|
3628
3932
|
return () => window.removeEventListener("popstate", handlePopState);
|
|
@@ -3685,7 +3989,7 @@ var NavigationDesktop = ({
|
|
|
3685
3989
|
"a",
|
|
3686
3990
|
{
|
|
3687
3991
|
href: (_b = item.cta) == null ? void 0 : _b.url,
|
|
3688
|
-
className:
|
|
3992
|
+
className: clsx67__default.default(NavigationDesktop_module_default.navTabLink, isCurrent2 && NavigationDesktop_module_default.navTabActive),
|
|
3689
3993
|
"aria-current": isCurrent2 ? "page" : void 0,
|
|
3690
3994
|
target: ((_c = item.cta) == null ? void 0 : _c.isExternal) ? "_blank" : void 0,
|
|
3691
3995
|
rel: ((_d = item.cta) == null ? void 0 : _d.isExternal) ? "noopener noreferrer" : void 0,
|
|
@@ -3704,7 +4008,7 @@ var NavigationDesktop = ({
|
|
|
3704
4008
|
{
|
|
3705
4009
|
type: "button",
|
|
3706
4010
|
id: `${baseId}-trigger-${index}`,
|
|
3707
|
-
className:
|
|
4011
|
+
className: clsx67__default.default(
|
|
3708
4012
|
NavigationDesktop_module_default.navTabLink,
|
|
3709
4013
|
NavigationDesktop_module_default.navTabTrigger,
|
|
3710
4014
|
(isCurrent || isOpen) && NavigationDesktop_module_default.navTabActive,
|
|
@@ -3778,7 +4082,7 @@ var NavigationDropdown = ({
|
|
|
3778
4082
|
"div",
|
|
3779
4083
|
{
|
|
3780
4084
|
id: panelId,
|
|
3781
|
-
className:
|
|
4085
|
+
className: clsx67__default.default(NavigationDropdown_module_default.dropdownPanel, NavigationDropdown_module_default.dropdownPanelOpen),
|
|
3782
4086
|
onMouseEnter,
|
|
3783
4087
|
onMouseLeave,
|
|
3784
4088
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: NavigationDropdown_module_default.dropdownInner, children: [
|
|
@@ -3787,7 +4091,7 @@ var NavigationDropdown = ({
|
|
|
3787
4091
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3788
4092
|
"li",
|
|
3789
4093
|
{
|
|
3790
|
-
className:
|
|
4094
|
+
className: clsx67__default.default(NavigationDropdown_module_default.dropdownLinkItem, {
|
|
3791
4095
|
[NavigationDropdown_module_default.dropdownLinkSpacer]: sub.variant === "subMenuSpacer"
|
|
3792
4096
|
}),
|
|
3793
4097
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3871,11 +4175,11 @@ var NavigationMobile = ({
|
|
|
3871
4175
|
loginCta,
|
|
3872
4176
|
rightButton
|
|
3873
4177
|
}) => {
|
|
3874
|
-
const [expanded, setExpanded] =
|
|
3875
|
-
const [supportsHover] =
|
|
4178
|
+
const [expanded, setExpanded] = React73.useState(null);
|
|
4179
|
+
const [supportsHover] = React73.useState(
|
|
3876
4180
|
() => typeof window !== "undefined" && window.matchMedia("(hover: hover)").matches
|
|
3877
4181
|
);
|
|
3878
|
-
const baseId =
|
|
4182
|
+
const baseId = React73.useId();
|
|
3879
4183
|
const toggleExpanded = (index) => {
|
|
3880
4184
|
setExpanded((prev) => prev === index ? null : index);
|
|
3881
4185
|
};
|
|
@@ -3899,7 +4203,7 @@ var NavigationMobile = ({
|
|
|
3899
4203
|
"div",
|
|
3900
4204
|
{
|
|
3901
4205
|
id,
|
|
3902
|
-
className:
|
|
4206
|
+
className: clsx67__default.default(NavigationMobile_module_default.mobileMenu, isOpen && NavigationMobile_module_default.mobileMenuOpen),
|
|
3903
4207
|
role: "dialog",
|
|
3904
4208
|
"aria-modal": "true",
|
|
3905
4209
|
"aria-label": "Navigation menu",
|
|
@@ -3945,7 +4249,7 @@ var NavigationMobile = ({
|
|
|
3945
4249
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3946
4250
|
"span",
|
|
3947
4251
|
{
|
|
3948
|
-
className:
|
|
4252
|
+
className: clsx67__default.default(
|
|
3949
4253
|
NavigationMobile_module_default.mobileItemChevron,
|
|
3950
4254
|
isExpanded && NavigationMobile_module_default.mobileItemChevronOpen
|
|
3951
4255
|
),
|
|
@@ -3960,7 +4264,7 @@ var NavigationMobile = ({
|
|
|
3960
4264
|
"div",
|
|
3961
4265
|
{
|
|
3962
4266
|
id: subMenuId,
|
|
3963
|
-
className:
|
|
4267
|
+
className: clsx67__default.default(NavigationMobile_module_default.mobileSubItems, isExpanded && NavigationMobile_module_default.mobileSubItemsOpen),
|
|
3964
4268
|
children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: NavigationMobile_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3965
4269
|
(subItem, i) => {
|
|
3966
4270
|
var _a2, _b2;
|
|
@@ -3968,7 +4272,7 @@ var NavigationMobile = ({
|
|
|
3968
4272
|
"a",
|
|
3969
4273
|
{
|
|
3970
4274
|
href: (_a2 = subItem.cta) == null ? void 0 : _a2.url,
|
|
3971
|
-
className:
|
|
4275
|
+
className: clsx67__default.default(
|
|
3972
4276
|
NavigationMobile_module_default.mobileSubLink,
|
|
3973
4277
|
subItem.isActive && NavigationMobile_module_default.mobileSubLinkActive
|
|
3974
4278
|
),
|
|
@@ -3999,7 +4303,7 @@ var NavigationMobile = ({
|
|
|
3999
4303
|
"div",
|
|
4000
4304
|
{
|
|
4001
4305
|
id,
|
|
4002
|
-
className:
|
|
4306
|
+
className: clsx67__default.default(NavigationMobile_module_default.internalMobileMenu, isOpen && NavigationMobile_module_default.internalMobileMenuOpen),
|
|
4003
4307
|
role: "dialog",
|
|
4004
4308
|
"aria-modal": "true",
|
|
4005
4309
|
"aria-label": "Navigation menu",
|
|
@@ -4051,7 +4355,7 @@ var NavigationMobile = ({
|
|
|
4051
4355
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4052
4356
|
"span",
|
|
4053
4357
|
{
|
|
4054
|
-
className:
|
|
4358
|
+
className: clsx67__default.default(
|
|
4055
4359
|
NavigationMobile_module_default.internalMobileItemChevron,
|
|
4056
4360
|
isExpanded && NavigationMobile_module_default.internalMobileItemChevronOpen
|
|
4057
4361
|
),
|
|
@@ -4066,7 +4370,7 @@ var NavigationMobile = ({
|
|
|
4066
4370
|
"div",
|
|
4067
4371
|
{
|
|
4068
4372
|
id: subMenuId,
|
|
4069
|
-
className:
|
|
4373
|
+
className: clsx67__default.default(
|
|
4070
4374
|
NavigationMobile_module_default.internalMobileSubItems,
|
|
4071
4375
|
isExpanded && NavigationMobile_module_default.internalMobileSubItemsOpen
|
|
4072
4376
|
),
|
|
@@ -4077,7 +4381,7 @@ var NavigationMobile = ({
|
|
|
4077
4381
|
"a",
|
|
4078
4382
|
{
|
|
4079
4383
|
href: (_a2 = sub.cta) == null ? void 0 : _a2.url,
|
|
4080
|
-
className:
|
|
4384
|
+
className: clsx67__default.default(
|
|
4081
4385
|
NavigationMobile_module_default.internalMobileSubLink,
|
|
4082
4386
|
sub.isActive && NavigationMobile_module_default.internalMobileSubLinkActive
|
|
4083
4387
|
),
|
|
@@ -4154,15 +4458,15 @@ var Navigation2 = (props) => {
|
|
|
4154
4458
|
userMenuFallback: NavigationUserMenuFallback
|
|
4155
4459
|
});
|
|
4156
4460
|
const userMenuFallbackNode = slots.userMenuFallback;
|
|
4157
|
-
const [isHovered, setIsHovered] =
|
|
4158
|
-
const [openIndex, setOpenIndex] =
|
|
4159
|
-
const [isMobileMenuOpen, setIsMobileMenuOpen] =
|
|
4160
|
-
const navRef =
|
|
4161
|
-
const closeTimer =
|
|
4461
|
+
const [isHovered, setIsHovered] = React73.useState(false);
|
|
4462
|
+
const [openIndex, setOpenIndex] = React73.useState(null);
|
|
4463
|
+
const [isMobileMenuOpen, setIsMobileMenuOpen] = React73.useState(false);
|
|
4464
|
+
const navRef = React73.useRef(null);
|
|
4465
|
+
const closeTimer = React73.useRef(null);
|
|
4162
4466
|
const isAtTop = useIsAtTop();
|
|
4163
4467
|
const { is } = useViewPort_default();
|
|
4164
|
-
const mobileMenuId =
|
|
4165
|
-
const baseId =
|
|
4468
|
+
const mobileMenuId = React73.useId();
|
|
4469
|
+
const baseId = React73.useId();
|
|
4166
4470
|
const isTabletBelow = is("tablet", "below");
|
|
4167
4471
|
const dropdownOpen = openIndex !== null && !isTabletBelow;
|
|
4168
4472
|
const isTransparent = !!transparent && isAtTop && !isHovered && !dropdownOpen;
|
|
@@ -4208,13 +4512,13 @@ var Navigation2 = (props) => {
|
|
|
4208
4512
|
}
|
|
4209
4513
|
}
|
|
4210
4514
|
};
|
|
4211
|
-
|
|
4515
|
+
React73.useEffect(() => {
|
|
4212
4516
|
document.body.style.overflow = isMobileMenuOpen ? "hidden" : "";
|
|
4213
4517
|
return () => {
|
|
4214
4518
|
document.body.style.overflow = "";
|
|
4215
4519
|
};
|
|
4216
4520
|
}, [isMobileMenuOpen]);
|
|
4217
|
-
|
|
4521
|
+
React73.useEffect(() => {
|
|
4218
4522
|
if (!navRef.current) return;
|
|
4219
4523
|
const navigation = navRef.current;
|
|
4220
4524
|
const root = document.documentElement;
|
|
@@ -4232,7 +4536,7 @@ var Navigation2 = (props) => {
|
|
|
4232
4536
|
root.style.removeProperty("--navigation-height");
|
|
4233
4537
|
};
|
|
4234
4538
|
}, []);
|
|
4235
|
-
|
|
4539
|
+
React73.useEffect(() => {
|
|
4236
4540
|
if (!dropdownOpen) return;
|
|
4237
4541
|
const handleKey = (e) => {
|
|
4238
4542
|
if (e.key === "Escape") setOpenIndex(null);
|
|
@@ -4254,7 +4558,7 @@ var Navigation2 = (props) => {
|
|
|
4254
4558
|
const logo = mainLogo ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4255
4559
|
Picture,
|
|
4256
4560
|
{
|
|
4257
|
-
className:
|
|
4561
|
+
className: clsx67__default.default(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile),
|
|
4258
4562
|
src: mainLogo,
|
|
4259
4563
|
alt: logoAlt
|
|
4260
4564
|
}
|
|
@@ -4264,7 +4568,7 @@ var Navigation2 = (props) => {
|
|
|
4264
4568
|
"nav",
|
|
4265
4569
|
{
|
|
4266
4570
|
ref: navRef,
|
|
4267
|
-
className:
|
|
4571
|
+
className: clsx67__default.default(
|
|
4268
4572
|
Navigation_module_default.navigation,
|
|
4269
4573
|
dropdownOpen && Navigation_module_default.dropdownOpen,
|
|
4270
4574
|
// External-only transparent / hover treatment.
|
|
@@ -4284,7 +4588,7 @@ var Navigation2 = (props) => {
|
|
|
4284
4588
|
{
|
|
4285
4589
|
mainLogo,
|
|
4286
4590
|
homeCta,
|
|
4287
|
-
className:
|
|
4591
|
+
className: clsx67__default.default(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile)
|
|
4288
4592
|
}
|
|
4289
4593
|
) : logo,
|
|
4290
4594
|
isTabletBelow ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4315,8 +4619,8 @@ var Navigation2 = (props) => {
|
|
|
4315
4619
|
rightButton,
|
|
4316
4620
|
loginVariant: isTransparent ? "ghost" : "nofillblack"
|
|
4317
4621
|
}
|
|
4318
|
-
) : user ? /* @__PURE__ */ jsxRuntime.jsx(UserMenu, { user }) : userMenuFallbackNode ?
|
|
4319
|
-
className:
|
|
4622
|
+
) : user ? /* @__PURE__ */ jsxRuntime.jsx(UserMenu, { user }) : userMenuFallbackNode ? React73.cloneElement(userMenuFallbackNode, {
|
|
4623
|
+
className: clsx67__default.default("userMenuFallback", Navigation_module_default["userMenuFallback"])
|
|
4320
4624
|
}) : null
|
|
4321
4625
|
] }),
|
|
4322
4626
|
!isTabletBelow && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Navigation_module_default.bottomRow, children: [
|
|
@@ -4423,7 +4727,7 @@ var PracticePathCards = ({
|
|
|
4423
4727
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4424
4728
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4425
4729
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
4426
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4730
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
4427
4731
|
(titleNode || subtitleNode || (cta == null ? void 0 : cta.url)) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
4428
4732
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
4429
4733
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
@@ -4477,8 +4781,8 @@ var Teaser5050With3Text = ({
|
|
|
4477
4781
|
title: Teaser5050With3TextTitle
|
|
4478
4782
|
});
|
|
4479
4783
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4480
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4481
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4784
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
4785
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
4482
4786
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
4483
4787
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
4484
4788
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -4530,7 +4834,7 @@ var Teaser5050WithCta = ({
|
|
|
4530
4834
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4531
4835
|
"div",
|
|
4532
4836
|
{
|
|
4533
|
-
className:
|
|
4837
|
+
className: clsx67__default.default(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
4534
4838
|
style: __spreadValues({}, hasModuleStyles && {
|
|
4535
4839
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
4536
4840
|
"--custom-color": moduleStyles.color
|
|
@@ -4538,8 +4842,8 @@ var Teaser5050WithCta = ({
|
|
|
4538
4842
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
4539
4843
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
4540
4844
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
4541
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4542
|
-
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4845
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("h3", Teaser5050WithCta_module_default.title), children: titleNode }),
|
|
4846
|
+
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("subheading", Teaser5050WithCta_module_default.subheading), children: subtitleNode })
|
|
4543
4847
|
] }),
|
|
4544
4848
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4545
4849
|
Button,
|
|
@@ -4602,14 +4906,14 @@ var Media5050Left = ({
|
|
|
4602
4906
|
});
|
|
4603
4907
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4604
4908
|
const longTextNode = (_b = slots.subtitle) != null ? _b : longText;
|
|
4605
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4606
|
-
heading && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
4909
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Media5050Left_module_default.media5050, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Media5050Left_module_default.outerContainer, children: [
|
|
4910
|
+
heading && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default("h2", Media5050Left_module_default.heading), children: heading }),
|
|
4607
4911
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Media5050Left_module_default.container, children: [
|
|
4608
4912
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: Media5050Left_module_default.image }, image)),
|
|
4609
4913
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Media5050Left_module_default.content, children: [
|
|
4610
|
-
eyebrow && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4611
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h4", { className:
|
|
4612
|
-
longTextNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4914
|
+
eyebrow && /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx67__default.default("overline", Media5050Left_module_default.eyebrow), children: eyebrow }),
|
|
4915
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h4", { className: clsx67__default.default("h4", Media5050Left_module_default.title), children: titleNode }),
|
|
4916
|
+
longTextNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("body", Media5050Left_module_default.longText), children: longTextNode }),
|
|
4613
4917
|
ctas && ctas.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(LogoBar, { items: ctas, className: Media5050Left_module_default.ctaWrapper })
|
|
4614
4918
|
] })
|
|
4615
4919
|
] })
|
|
@@ -4646,7 +4950,7 @@ var Carousel = (_a) => {
|
|
|
4646
4950
|
},
|
|
4647
4951
|
role: "region",
|
|
4648
4952
|
"aria-label": ariaLabel,
|
|
4649
|
-
className:
|
|
4953
|
+
className: clsx67__default.default(Carousel_module_default.carousel, className),
|
|
4650
4954
|
spaceBetween: 0,
|
|
4651
4955
|
slidesPerView: "auto",
|
|
4652
4956
|
modules: [modules.FreeMode, modules.A11y],
|
|
@@ -4656,7 +4960,7 @@ var Carousel = (_a) => {
|
|
|
4656
4960
|
children: slides.map((slide, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4657
4961
|
react$1.SwiperSlide,
|
|
4658
4962
|
{
|
|
4659
|
-
className:
|
|
4963
|
+
className: clsx67__default.default(Carousel_module_default["carousel-item"], props.slideClass),
|
|
4660
4964
|
children: slide
|
|
4661
4965
|
},
|
|
4662
4966
|
index
|
|
@@ -4714,15 +5018,15 @@ var EventList = ({
|
|
|
4714
5018
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4715
5019
|
"div",
|
|
4716
5020
|
{
|
|
4717
|
-
className:
|
|
5021
|
+
className: clsx67__default.default(
|
|
4718
5022
|
"event-list-module",
|
|
4719
5023
|
EventList_module_default["event-list-module"],
|
|
4720
5024
|
backgroundColor && EventList_module_default[backgroundColor],
|
|
4721
5025
|
className
|
|
4722
5026
|
),
|
|
4723
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
5027
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(EventList_module_default["event-list-container"]), children: [
|
|
4724
5028
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
4725
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
5029
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
4726
5030
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4727
5031
|
Button,
|
|
4728
5032
|
{
|
|
@@ -4740,7 +5044,7 @@ var EventList = ({
|
|
|
4740
5044
|
Carousel,
|
|
4741
5045
|
{
|
|
4742
5046
|
"aria-label": "Upcoming events",
|
|
4743
|
-
wrapperClass:
|
|
5047
|
+
wrapperClass: clsx67__default.default(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
4744
5048
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
4745
5049
|
spaceBetween: 16,
|
|
4746
5050
|
slides: items.map((item) => {
|
|
@@ -4748,7 +5052,7 @@ var EventList = ({
|
|
|
4748
5052
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4749
5053
|
UpcomingEventCard,
|
|
4750
5054
|
__spreadValues({
|
|
4751
|
-
className:
|
|
5055
|
+
className: clsx67__default.default(EventList_module_default["event-card"]),
|
|
4752
5056
|
direction: "vertical",
|
|
4753
5057
|
showImage: false
|
|
4754
5058
|
}, item),
|
|
@@ -4761,7 +5065,7 @@ var EventList = ({
|
|
|
4761
5065
|
"ul",
|
|
4762
5066
|
{
|
|
4763
5067
|
"aria-label": "Upcoming events",
|
|
4764
|
-
className:
|
|
5068
|
+
className: clsx67__default.default(
|
|
4765
5069
|
EventList_module_default["event-list-wrapper"],
|
|
4766
5070
|
EventList_module_default["horizontal"],
|
|
4767
5071
|
EventList_module_default[variant]
|
|
@@ -4771,11 +5075,11 @@ var EventList = ({
|
|
|
4771
5075
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4772
5076
|
"li",
|
|
4773
5077
|
{
|
|
4774
|
-
className:
|
|
5078
|
+
className: clsx67__default.default(EventList_module_default["card-list-item"]),
|
|
4775
5079
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4776
5080
|
UpcomingEventCard,
|
|
4777
5081
|
__spreadProps(__spreadValues({}, item), {
|
|
4778
|
-
className:
|
|
5082
|
+
className: clsx67__default.default(EventList_module_default["card-item"]),
|
|
4779
5083
|
showImage: false,
|
|
4780
5084
|
direction: "vertical"
|
|
4781
5085
|
})
|
|
@@ -4790,7 +5094,7 @@ var EventList = ({
|
|
|
4790
5094
|
"ul",
|
|
4791
5095
|
{
|
|
4792
5096
|
"aria-label": "Upcoming events",
|
|
4793
|
-
className:
|
|
5097
|
+
className: clsx67__default.default(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
4794
5098
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
4795
5099
|
var _a2, _b, _c;
|
|
4796
5100
|
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(UpcomingEventCard, __spreadProps(__spreadValues({}, item), { direction: cardDirection })) }, (_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index);
|
|
@@ -4798,8 +5102,8 @@ var EventList = ({
|
|
|
4798
5102
|
}
|
|
4799
5103
|
)
|
|
4800
5104
|
] }),
|
|
4801
|
-
!isNotEmpty && emptyNode ?
|
|
4802
|
-
className:
|
|
5105
|
+
!isNotEmpty && emptyNode ? React73__default.default.cloneElement(emptyNode, {
|
|
5106
|
+
className: clsx67__default.default("empty-search-result", EventList_module_default["empty-search-result"])
|
|
4803
5107
|
}) : null
|
|
4804
5108
|
] })
|
|
4805
5109
|
}
|
|
@@ -4843,9 +5147,9 @@ var TextEvent = (props) => {
|
|
|
4843
5147
|
});
|
|
4844
5148
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4845
5149
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
4846
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
5150
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(TextEvent_module_default.textEvent, className), children: [
|
|
4847
5151
|
/* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
4848
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5152
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
4849
5153
|
] });
|
|
4850
5154
|
};
|
|
4851
5155
|
|
|
@@ -4882,13 +5186,13 @@ var TextBody = (props) => {
|
|
|
4882
5186
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4883
5187
|
Container,
|
|
4884
5188
|
{
|
|
4885
|
-
className:
|
|
5189
|
+
className: clsx67__default.default(TextBody_module_default.textBody, isArticleBigPadding && TextBody_module_default.articleBigPadding, className),
|
|
4886
5190
|
children: [
|
|
4887
5191
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4888
5192
|
Text,
|
|
4889
5193
|
{
|
|
4890
5194
|
tag: isTableCenter ? "h4" : "h3",
|
|
4891
|
-
className:
|
|
5195
|
+
className: clsx67__default.default(TextBody_module_default.title, isTableCenter ? "text-center" : titleAlign),
|
|
4892
5196
|
children: titleNode
|
|
4893
5197
|
}
|
|
4894
5198
|
),
|
|
@@ -4935,7 +5239,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4935
5239
|
});
|
|
4936
5240
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4937
5241
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4938
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5242
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
4939
5243
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
4940
5244
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
4941
5245
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -4943,7 +5247,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4943
5247
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4944
5248
|
"div",
|
|
4945
5249
|
{
|
|
4946
|
-
className:
|
|
5250
|
+
className: clsx67__default.default(
|
|
4947
5251
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
4948
5252
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
4949
5253
|
),
|
|
@@ -5008,16 +5312,16 @@ var ResourcesGridList = ({
|
|
|
5008
5312
|
defaultSort = "latest"
|
|
5009
5313
|
}) => {
|
|
5010
5314
|
var _a;
|
|
5011
|
-
const [view, setView] =
|
|
5012
|
-
const [isSidebarOpen, setIsSidebarOpen] =
|
|
5013
|
-
const [filterValue, setFilterValue] =
|
|
5014
|
-
const [sortValue, setSortValue] =
|
|
5015
|
-
const [searchQuery, setSearchQuery] =
|
|
5016
|
-
const [currentPage, setCurrentPage] =
|
|
5017
|
-
const widgetRef =
|
|
5315
|
+
const [view, setView] = React73.useState(defaultView);
|
|
5316
|
+
const [isSidebarOpen, setIsSidebarOpen] = React73.useState(false);
|
|
5317
|
+
const [filterValue, setFilterValue] = React73.useState(defaultFilter);
|
|
5318
|
+
const [sortValue, setSortValue] = React73.useState(defaultSort);
|
|
5319
|
+
const [searchQuery, setSearchQuery] = React73.useState("");
|
|
5320
|
+
const [currentPage, setCurrentPage] = React73.useState(1);
|
|
5321
|
+
const widgetRef = React73.useRef(null);
|
|
5018
5322
|
const { is } = useViewPort_default();
|
|
5019
5323
|
const isMobile = is("tablet", "below");
|
|
5020
|
-
const currentHash =
|
|
5324
|
+
const currentHash = React73.useSyncExternalStore(subscribeHash, getHashSnapshot, getServerHashSnapshot);
|
|
5021
5325
|
const selectedCategory = (() => {
|
|
5022
5326
|
const hash = decodeURIComponent(currentHash.replace(/^#/, ""));
|
|
5023
5327
|
if (hash) {
|
|
@@ -5072,7 +5376,7 @@ var ResourcesGridList = ({
|
|
|
5072
5376
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
5073
5377
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
5074
5378
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
5075
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: widgetRef, className:
|
|
5379
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: widgetRef, className: clsx67__default.default(ResourcesGridList_module_default.widget, className), children: [
|
|
5076
5380
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5077
5381
|
FilterBar,
|
|
5078
5382
|
{
|
|
@@ -5091,7 +5395,7 @@ var ResourcesGridList = ({
|
|
|
5091
5395
|
isMobile && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5092
5396
|
"div",
|
|
5093
5397
|
{
|
|
5094
|
-
className:
|
|
5398
|
+
className: clsx67__default.default(
|
|
5095
5399
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
5096
5400
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
5097
5401
|
),
|
|
@@ -5102,7 +5406,7 @@ var ResourcesGridList = ({
|
|
|
5102
5406
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5103
5407
|
"li",
|
|
5104
5408
|
{
|
|
5105
|
-
className:
|
|
5409
|
+
className: clsx67__default.default(
|
|
5106
5410
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
5107
5411
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
5108
5412
|
),
|
|
@@ -5147,7 +5451,7 @@ var ResourcesGridList = ({
|
|
|
5147
5451
|
onSelect: handleSelectCategory
|
|
5148
5452
|
}
|
|
5149
5453
|
),
|
|
5150
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5454
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
5151
5455
|
] }),
|
|
5152
5456
|
totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5153
5457
|
Pagination,
|
|
@@ -5186,7 +5490,7 @@ var Grid = ({
|
|
|
5186
5490
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5187
5491
|
Component,
|
|
5188
5492
|
{
|
|
5189
|
-
className:
|
|
5493
|
+
className: clsx67__default.default("grid", Grid_module_default.grid, className),
|
|
5190
5494
|
role,
|
|
5191
5495
|
"aria-label": ariaLabel,
|
|
5192
5496
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -5211,7 +5515,7 @@ var GridItem = ({
|
|
|
5211
5515
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5212
5516
|
Component,
|
|
5213
5517
|
{
|
|
5214
|
-
className:
|
|
5518
|
+
className: clsx67__default.default("grid-item", Grid_module_default["grid-item"], className),
|
|
5215
5519
|
role,
|
|
5216
5520
|
"aria-label": ariaLabel,
|
|
5217
5521
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -5259,13 +5563,13 @@ var BlogCardGrid = ({
|
|
|
5259
5563
|
title: BlogCardGridTitle
|
|
5260
5564
|
});
|
|
5261
5565
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5262
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5263
|
-
title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5264
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className:
|
|
5265
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5566
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
5567
|
+
title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
5568
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className: clsx67__default.default("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
5569
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5266
5570
|
Button,
|
|
5267
5571
|
{
|
|
5268
|
-
className:
|
|
5572
|
+
className: clsx67__default.default("cta", BlogCardGrid_module_default["cta"]),
|
|
5269
5573
|
variant: "nofillblack",
|
|
5270
5574
|
href: cta.url,
|
|
5271
5575
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -5290,11 +5594,11 @@ var BlogCardGrid = ({
|
|
|
5290
5594
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5291
5595
|
"div",
|
|
5292
5596
|
{
|
|
5293
|
-
className:
|
|
5597
|
+
className: clsx67__default.default("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
5294
5598
|
style: {
|
|
5295
5599
|
backgroundColor
|
|
5296
5600
|
},
|
|
5297
|
-
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
5601
|
+
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx67__default.default("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
5298
5602
|
}
|
|
5299
5603
|
);
|
|
5300
5604
|
};
|
|
@@ -5342,13 +5646,13 @@ var FeaturedNewsHighlights = ({
|
|
|
5342
5646
|
const sideCards = items.slice(1);
|
|
5343
5647
|
const isVariantHome = variant === "home";
|
|
5344
5648
|
const isBelowTablet = is("tablet", "below");
|
|
5345
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5346
|
-
title && cta && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5649
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
5650
|
+
title && cta && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
5347
5651
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
5348
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5652
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5349
5653
|
Button,
|
|
5350
5654
|
{
|
|
5351
|
-
className:
|
|
5655
|
+
className: clsx67__default.default("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
5352
5656
|
variant: "nofillblack",
|
|
5353
5657
|
href: cta.url,
|
|
5354
5658
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -5360,33 +5664,33 @@ var FeaturedNewsHighlights = ({
|
|
|
5360
5664
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5361
5665
|
Carousel,
|
|
5362
5666
|
{
|
|
5363
|
-
className:
|
|
5667
|
+
className: clsx67__default.default("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
5364
5668
|
"aria-label": "featured news",
|
|
5365
|
-
wrapperClass:
|
|
5669
|
+
wrapperClass: clsx67__default.default(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
5366
5670
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
5367
5671
|
spaceBetween: 16,
|
|
5368
5672
|
slides: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5369
5673
|
NewsCard,
|
|
5370
5674
|
__spreadProps(__spreadValues({}, item), {
|
|
5371
5675
|
direction: "vertical",
|
|
5372
|
-
className:
|
|
5676
|
+
className: clsx67__default.default("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
5373
5677
|
}),
|
|
5374
5678
|
`${item == null ? void 0 : item.title}-${item == null ? void 0 : item.id}`
|
|
5375
5679
|
))
|
|
5376
5680
|
}
|
|
5377
5681
|
),
|
|
5378
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5682
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
5379
5683
|
featuredCard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5380
5684
|
NewsCard,
|
|
5381
5685
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
5382
|
-
className:
|
|
5686
|
+
className: clsx67__default.default("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
5383
5687
|
renderLink
|
|
5384
5688
|
})
|
|
5385
5689
|
),
|
|
5386
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5690
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5387
5691
|
NewsCard,
|
|
5388
5692
|
__spreadProps(__spreadValues({}, card), {
|
|
5389
|
-
className:
|
|
5693
|
+
className: clsx67__default.default("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
5390
5694
|
direction: "horizontal",
|
|
5391
5695
|
renderLink
|
|
5392
5696
|
}),
|
|
@@ -5397,11 +5701,11 @@ var FeaturedNewsHighlights = ({
|
|
|
5397
5701
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5398
5702
|
"div",
|
|
5399
5703
|
{
|
|
5400
|
-
className:
|
|
5704
|
+
className: clsx67__default.default("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
5401
5705
|
style: {
|
|
5402
5706
|
backgroundColor
|
|
5403
5707
|
},
|
|
5404
|
-
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
5708
|
+
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx67__default.default("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
5405
5709
|
}
|
|
5406
5710
|
);
|
|
5407
5711
|
};
|
|
@@ -5445,16 +5749,16 @@ var NewsCardList = ({
|
|
|
5445
5749
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5446
5750
|
"div",
|
|
5447
5751
|
{
|
|
5448
|
-
className:
|
|
5752
|
+
className: clsx67__default.default("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
5449
5753
|
style: {
|
|
5450
5754
|
backgroundColor
|
|
5451
5755
|
},
|
|
5452
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
5453
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5756
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default("container", NewsCardList_module_default["container"]), children: [
|
|
5757
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
5454
5758
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5455
5759
|
Input,
|
|
5456
5760
|
__spreadValues({
|
|
5457
|
-
className:
|
|
5761
|
+
className: clsx67__default.default("search-input", NewsCardList_module_default["search-input"]),
|
|
5458
5762
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
5459
5763
|
placeholder: "Search News",
|
|
5460
5764
|
"aria-label": "Search News",
|
|
@@ -5462,7 +5766,7 @@ var NewsCardList = ({
|
|
|
5462
5766
|
Button,
|
|
5463
5767
|
{
|
|
5464
5768
|
variant: "nofillblack",
|
|
5465
|
-
className:
|
|
5769
|
+
className: clsx67__default.default(NewsCardList_module_default["end-action-button"]),
|
|
5466
5770
|
"aria-label": "Search",
|
|
5467
5771
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
5468
5772
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
@@ -5474,7 +5778,7 @@ var NewsCardList = ({
|
|
|
5474
5778
|
} : void 0
|
|
5475
5779
|
}, searchInputProps)
|
|
5476
5780
|
),
|
|
5477
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5781
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
5478
5782
|
currentPage === 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5479
5783
|
FeaturedNewsHighlights2,
|
|
5480
5784
|
{
|
|
@@ -5487,8 +5791,8 @@ var NewsCardList = ({
|
|
|
5487
5791
|
/* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items: cards, hasContainer: false, renderLink })
|
|
5488
5792
|
] })
|
|
5489
5793
|
] }),
|
|
5490
|
-
paginationNode ?
|
|
5491
|
-
className:
|
|
5794
|
+
paginationNode ? React73__default.default.cloneElement(paginationNode, {
|
|
5795
|
+
className: clsx67__default.default("pagination", NewsCardList_module_default["pagination"])
|
|
5492
5796
|
}) : null
|
|
5493
5797
|
] })
|
|
5494
5798
|
}
|
|
@@ -5533,15 +5837,15 @@ var BlogPost = ({
|
|
|
5533
5837
|
});
|
|
5534
5838
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5535
5839
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
5536
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5537
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5840
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default("container", BlogPost_module_default["container"]), children: [
|
|
5841
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("header", BlogPost_module_default["header"]), children: [
|
|
5538
5842
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
5539
|
-
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5843
|
+
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx67__default.default("image", BlogPost_module_default["image"]) }))
|
|
5540
5844
|
] }),
|
|
5541
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5542
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5845
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("content", BlogPost_module_default["content"]), children: [
|
|
5846
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("content-top", BlogPost_module_default["content-top"]), children: [
|
|
5543
5847
|
/* @__PURE__ */ jsxRuntime.jsx(Badge, { size: "sm", children: tag }),
|
|
5544
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
5848
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: clsx67__default.default("content-date", BlogPost_module_default["content-date"]), children: [
|
|
5545
5849
|
"Published ",
|
|
5546
5850
|
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, children: date.label })
|
|
5547
5851
|
] })
|
|
@@ -5554,7 +5858,7 @@ var BlogPost = ({
|
|
|
5554
5858
|
title: "More News",
|
|
5555
5859
|
items: relatedArticles,
|
|
5556
5860
|
hasContainer: false,
|
|
5557
|
-
className:
|
|
5861
|
+
className: clsx67__default.default("related-articles", BlogPost_module_default["related-articles"])
|
|
5558
5862
|
}
|
|
5559
5863
|
)
|
|
5560
5864
|
] }) });
|
|
@@ -5602,15 +5906,15 @@ var BlogSearchResultsList = ({
|
|
|
5602
5906
|
});
|
|
5603
5907
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5604
5908
|
const paginationNode = slots.pagination;
|
|
5605
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5606
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
5607
|
-
className:
|
|
5909
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
5910
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React73__default.default.isValidElement(searchNode) ? React73__default.default.cloneElement(searchNode, {
|
|
5911
|
+
className: clsx67__default.default("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
5608
5912
|
}) : null,
|
|
5609
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5913
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
5610
5914
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5611
5915
|
Input,
|
|
5612
5916
|
__spreadValues({
|
|
5613
|
-
className:
|
|
5917
|
+
className: clsx67__default.default("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
5614
5918
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
5615
5919
|
placeholder: "Search News",
|
|
5616
5920
|
"aria-label": "Search News",
|
|
@@ -5618,7 +5922,7 @@ var BlogSearchResultsList = ({
|
|
|
5618
5922
|
Button,
|
|
5619
5923
|
{
|
|
5620
5924
|
variant: "nofillblack",
|
|
5621
|
-
className:
|
|
5925
|
+
className: clsx67__default.default(BlogSearchResultsList_module_default["end-action-button"]),
|
|
5622
5926
|
"aria-label": "Search",
|
|
5623
5927
|
onClick: () => onSearchSubmit(searchValue),
|
|
5624
5928
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
@@ -5632,8 +5936,8 @@ var BlogSearchResultsList = ({
|
|
|
5632
5936
|
),
|
|
5633
5937
|
/* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
5634
5938
|
] }),
|
|
5635
|
-
paginationNode ?
|
|
5636
|
-
className:
|
|
5939
|
+
paginationNode ? React73__default.default.cloneElement(paginationNode, {
|
|
5940
|
+
className: clsx67__default.default("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
5637
5941
|
}) : null
|
|
5638
5942
|
] }) });
|
|
5639
5943
|
};
|
|
@@ -5674,11 +5978,11 @@ var GlobalSearchResultsList = ({
|
|
|
5674
5978
|
});
|
|
5675
5979
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5676
5980
|
const paginationNode = slots.pagination;
|
|
5677
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5678
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
5679
|
-
className:
|
|
5981
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
5982
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React73__default.default.isValidElement(searchNode) ? React73__default.default.cloneElement(searchNode, {
|
|
5983
|
+
className: clsx67__default.default("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
5680
5984
|
}) : null,
|
|
5681
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5985
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
5682
5986
|
var _a2;
|
|
5683
5987
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5684
5988
|
GridItem,
|
|
@@ -5698,8 +6002,8 @@ var GlobalSearchResultsList = ({
|
|
|
5698
6002
|
item.title ? `${item.title}-${(_a2 = item == null ? void 0 : item.id) != null ? _a2 : index}` : index
|
|
5699
6003
|
);
|
|
5700
6004
|
}) }) }),
|
|
5701
|
-
paginationNode ?
|
|
5702
|
-
className:
|
|
6005
|
+
paginationNode ? React73__default.default.cloneElement(paginationNode, {
|
|
6006
|
+
className: clsx67__default.default("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
5703
6007
|
}) : null
|
|
5704
6008
|
] }) });
|
|
5705
6009
|
};
|
|
@@ -5733,8 +6037,8 @@ var TextCenterWithMedia = ({
|
|
|
5733
6037
|
children
|
|
5734
6038
|
}) => {
|
|
5735
6039
|
var _a;
|
|
5736
|
-
const [isOpen, setIsOpen] =
|
|
5737
|
-
const videoRef =
|
|
6040
|
+
const [isOpen, setIsOpen] = React73.useState(false);
|
|
6041
|
+
const videoRef = React73.useRef(null);
|
|
5738
6042
|
const handleClose = () => {
|
|
5739
6043
|
if (videoRef.current) {
|
|
5740
6044
|
videoRef.current.pause();
|
|
@@ -5744,7 +6048,7 @@ var TextCenterWithMedia = ({
|
|
|
5744
6048
|
};
|
|
5745
6049
|
const slots = resolveCompoundSlots(children, { title: TextCenterWithMediaTitle });
|
|
5746
6050
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5747
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
6051
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: clsx67__default.default(TextCenterWithMedia_module_default.textCenterWithMedia, className), children: [
|
|
5748
6052
|
/* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
|
|
5749
6053
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "h2", children: titleNode }),
|
|
5750
6054
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterWithMedia_module_default.thumbnailWrapper, children: thumbnail && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -5817,10 +6121,10 @@ var QuoteSectionBlock = ({
|
|
|
5817
6121
|
}) => {
|
|
5818
6122
|
const { is } = useViewPort_default();
|
|
5819
6123
|
const isMobile = is("tablet", "below");
|
|
5820
|
-
const [swiperInstance, setSwiperInstance] =
|
|
5821
|
-
const [activeIndex, setActiveIndex] =
|
|
6124
|
+
const [swiperInstance, setSwiperInstance] = React73.useState(null);
|
|
6125
|
+
const [activeIndex, setActiveIndex] = React73.useState(0);
|
|
5822
6126
|
if (!items.length) return null;
|
|
5823
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6127
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(QuoteSectionBlock_module_default.quoteSectionBlock, className), children: /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: QuoteSectionBlock_module_default.inner, children: [
|
|
5824
6128
|
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
|
|
5825
6129
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: !viewtype ? QuoteSectionBlock_module_default.swiperContainer : QuoteSectionBlock_module_default.swiperContainerFullWidth, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5826
6130
|
react$1.Swiper,
|
|
@@ -5875,12 +6179,12 @@ var PageLoader = ({ className, children }) => {
|
|
|
5875
6179
|
logo: PageLoaderLogo
|
|
5876
6180
|
});
|
|
5877
6181
|
const logoNode = slots.logo;
|
|
5878
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
5879
|
-
logoNode ?
|
|
5880
|
-
className:
|
|
6182
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx67__default.default(PageLoader_module_default["container"], className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("wrapper", PageLoader_module_default["wrapper"]), children: [
|
|
6183
|
+
logoNode ? React73__default.default.cloneElement(logoNode, {
|
|
6184
|
+
className: clsx67__default.default("image-logo", PageLoader_module_default["image-logo"])
|
|
5881
6185
|
}) : null,
|
|
5882
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5883
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6186
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("loader-wrapper", PageLoader_module_default["loader-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(Loader, {}) }),
|
|
6187
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default("loader-text", PageLoader_module_default["loader-text"]), children: "Loading..." })
|
|
5884
6188
|
] }) });
|
|
5885
6189
|
};
|
|
5886
6190
|
|
|
@@ -5906,8 +6210,8 @@ var TwoColTextMenu = ({
|
|
|
5906
6210
|
renderLink
|
|
5907
6211
|
}) => {
|
|
5908
6212
|
if (sections.length === 0) return null;
|
|
5909
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": ariaLabel, className:
|
|
5910
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6213
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": ariaLabel, className: clsx67__default.default(TwoColTextMenu_module_default["two-col-text-menu"], className), children: /* @__PURE__ */ jsxRuntime.jsx(Container, { className: TwoColTextMenu_module_default.container, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: TwoColTextMenu_module_default.grid, children: sections.map((section, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: TwoColTextMenu_module_default.section, children: [
|
|
6214
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default("h4", TwoColTextMenu_module_default.title), children: section.title }) }),
|
|
5911
6215
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: TwoColTextMenu_module_default.list, children: section.items.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(ColTextMenu, __spreadProps(__spreadValues({}, item), { renderLink })) }, itemIndex)) })
|
|
5912
6216
|
] }, index)) }) }) });
|
|
5913
6217
|
};
|
|
@@ -5937,16 +6241,16 @@ var LocationsBrandCards = ({
|
|
|
5937
6241
|
children
|
|
5938
6242
|
}) => {
|
|
5939
6243
|
var _a;
|
|
5940
|
-
const containerRef =
|
|
6244
|
+
const containerRef = React73.useRef(null);
|
|
5941
6245
|
const slots = resolveCompoundSlots(children, {
|
|
5942
6246
|
text: LocationsBrandCardsText
|
|
5943
6247
|
});
|
|
5944
6248
|
const textNode = (_a = slots == null ? void 0 : slots.text) != null ? _a : subtitle;
|
|
5945
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5946
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5947
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
5948
|
-
textNode &&
|
|
5949
|
-
className:
|
|
6249
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("locations-brand-cards", LocationsBrandCards_module_default["locations-brand-cards"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(LocationsBrandCards_module_default.container), children: [
|
|
6250
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("heading-wrapper", LocationsBrandCards_module_default["heading-wrapper"]), ref: containerRef, children: [
|
|
6251
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default("locations-brand-title", "h2", LocationsBrandCards_module_default["locations-brand-title"]), children: title }),
|
|
6252
|
+
textNode && React73.isValidElement(textNode) ? React73.cloneElement(textNode, {
|
|
6253
|
+
className: clsx67__default.default(
|
|
5950
6254
|
"locations-brand-subtitle",
|
|
5951
6255
|
"subheading",
|
|
5952
6256
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5954,7 +6258,7 @@ var LocationsBrandCards = ({
|
|
|
5954
6258
|
}) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5955
6259
|
"p",
|
|
5956
6260
|
{
|
|
5957
|
-
className:
|
|
6261
|
+
className: clsx67__default.default(
|
|
5958
6262
|
"locations-brand-subtitle",
|
|
5959
6263
|
"subheading",
|
|
5960
6264
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5963,20 +6267,20 @@ var LocationsBrandCards = ({
|
|
|
5963
6267
|
}
|
|
5964
6268
|
)
|
|
5965
6269
|
] }),
|
|
5966
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5967
|
-
/* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5968
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { columns: 2, className:
|
|
6270
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("content-wrapper", LocationsBrandCards_module_default["content-wrapper"]), children: [
|
|
6271
|
+
/* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx67__default.default("locations-image", LocationsBrandCards_module_default["locations-image"]) })),
|
|
6272
|
+
/* @__PURE__ */ jsxRuntime.jsx(Grid, { columns: 2, className: clsx67__default.default("card-wrapper", LocationsBrandCards_module_default["card-wrapper"]), gap: 8, children: cards.map((card) => {
|
|
5969
6273
|
var _a2;
|
|
5970
6274
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5971
6275
|
GridItem,
|
|
5972
6276
|
{
|
|
5973
|
-
className:
|
|
6277
|
+
className: clsx67__default.default("card-item", LocationsBrandCards_module_default["card-item"]),
|
|
5974
6278
|
colSpan: { md: 1 },
|
|
5975
6279
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5976
6280
|
BrandCard,
|
|
5977
6281
|
__spreadProps(__spreadValues({}, card), {
|
|
5978
6282
|
animationSettings: __spreadProps(__spreadValues({}, card.animationSettings), { triggerRef: containerRef }),
|
|
5979
|
-
className:
|
|
6283
|
+
className: clsx67__default.default("card", LocationsBrandCards_module_default["card"])
|
|
5980
6284
|
})
|
|
5981
6285
|
)
|
|
5982
6286
|
},
|
|
@@ -6018,10 +6322,10 @@ var BrandsTab_module_default = {
|
|
|
6018
6322
|
var BrandsTab = (props) => {
|
|
6019
6323
|
var _a, _b, _c, _d, _e;
|
|
6020
6324
|
const { title, subtitle, className, tabs } = props;
|
|
6021
|
-
const [activeIndex, setActiveIndex] =
|
|
6325
|
+
const [activeIndex, setActiveIndex] = React73.useState(0);
|
|
6022
6326
|
const { is } = useViewPort_default();
|
|
6023
6327
|
const isTabletBelow = is("tablet", "below");
|
|
6024
|
-
const accordionItems =
|
|
6328
|
+
const accordionItems = React73.useMemo(() => {
|
|
6025
6329
|
return (tabs == null ? void 0 : tabs.map((tab, index) => {
|
|
6026
6330
|
var _a2, _b2, _c2, _d2, _e2;
|
|
6027
6331
|
return {
|
|
@@ -6030,7 +6334,7 @@ var BrandsTab = (props) => {
|
|
|
6030
6334
|
content: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6031
6335
|
"div",
|
|
6032
6336
|
{
|
|
6033
|
-
className:
|
|
6337
|
+
className: clsx67__default.default(BrandsTab_module_default["accordion-content"]),
|
|
6034
6338
|
style: {
|
|
6035
6339
|
"--theme-color": `var(${tab.theme})`
|
|
6036
6340
|
},
|
|
@@ -6046,7 +6350,7 @@ var BrandsTab = (props) => {
|
|
|
6046
6350
|
children: [
|
|
6047
6351
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
6048
6352
|
content.logo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
6049
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
6353
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx67__default.default("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
6050
6354
|
] }),
|
|
6051
6355
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
6052
6356
|
]
|
|
@@ -6073,7 +6377,7 @@ var BrandsTab = (props) => {
|
|
|
6073
6377
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6074
6378
|
"button",
|
|
6075
6379
|
{
|
|
6076
|
-
className:
|
|
6380
|
+
className: clsx67__default.default(BrandsTab_module_default["accordion-header"], {
|
|
6077
6381
|
[BrandsTab_module_default["accordion-header-open"]]: isOpen
|
|
6078
6382
|
}),
|
|
6079
6383
|
style: {
|
|
@@ -6087,7 +6391,7 @@ var BrandsTab = (props) => {
|
|
|
6087
6391
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6088
6392
|
"span",
|
|
6089
6393
|
{
|
|
6090
|
-
className:
|
|
6394
|
+
className: clsx67__default.default(BrandsTab_module_default.accordionChevron, {
|
|
6091
6395
|
[BrandsTab_module_default.accordionChevronOpen]: isOpen
|
|
6092
6396
|
}),
|
|
6093
6397
|
children: isOpen ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "filledChevronUp", size: 40 }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -6100,10 +6404,10 @@ var BrandsTab = (props) => {
|
|
|
6100
6404
|
};
|
|
6101
6405
|
})) || [];
|
|
6102
6406
|
}, [tabs]);
|
|
6103
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
6407
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(BrandsTab_module_default["brands-tab"], className), children: [
|
|
6104
6408
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: BrandsTab_module_default["text-container"], children: [
|
|
6105
6409
|
title && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: BrandsTab_module_default.title, children: title }),
|
|
6106
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6410
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("subheading", BrandsTab_module_default.subtitle), children: subtitle })
|
|
6107
6411
|
] }),
|
|
6108
6412
|
isTabletBelow ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6109
6413
|
Accordion,
|
|
@@ -6111,7 +6415,7 @@ var BrandsTab = (props) => {
|
|
|
6111
6415
|
items: accordionItems,
|
|
6112
6416
|
allowMultiple: true,
|
|
6113
6417
|
defaultOpenIds: [],
|
|
6114
|
-
className:
|
|
6418
|
+
className: clsx67__default.default(BrandsTab_module_default["accordion"])
|
|
6115
6419
|
}
|
|
6116
6420
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: BrandsTab_module_default["tab-wrapper"], children: [
|
|
6117
6421
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: BrandsTab_module_default["tab-buttons"], children: tabs == null ? void 0 : tabs.map(({ trigger, theme }, index) => {
|
|
@@ -6122,7 +6426,7 @@ var BrandsTab = (props) => {
|
|
|
6122
6426
|
variant: "tabbutton",
|
|
6123
6427
|
onClick: () => setActiveIndex(index),
|
|
6124
6428
|
isActive,
|
|
6125
|
-
className:
|
|
6429
|
+
className: clsx67__default.default(BrandsTab_module_default["tab-trigger"], isActive ? BrandsTab_module_default["tab-active"] : null),
|
|
6126
6430
|
style: {
|
|
6127
6431
|
"--theme-color": `var(${theme})`
|
|
6128
6432
|
},
|
|
@@ -6134,7 +6438,7 @@ var BrandsTab = (props) => {
|
|
|
6134
6438
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6135
6439
|
"div",
|
|
6136
6440
|
{
|
|
6137
|
-
className:
|
|
6441
|
+
className: clsx67__default.default(BrandsTab_module_default["tab-content-area"]),
|
|
6138
6442
|
style: {
|
|
6139
6443
|
"--theme-color": `var(${tabs == null ? void 0 : tabs[activeIndex].theme})`
|
|
6140
6444
|
},
|
|
@@ -6150,7 +6454,7 @@ var BrandsTab = (props) => {
|
|
|
6150
6454
|
children: [
|
|
6151
6455
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
6152
6456
|
content.logo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
6153
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
6457
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx67__default.default("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
6154
6458
|
] }),
|
|
6155
6459
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
6156
6460
|
]
|
|
@@ -6198,17 +6502,17 @@ var TimelineCards_module_default = {
|
|
|
6198
6502
|
"step-divider": "TimelineCards_module_step-divider"
|
|
6199
6503
|
};
|
|
6200
6504
|
var TimelineCard = ({ text, logo }) => {
|
|
6201
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6505
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(TimelineCards_module_default["card"]), children: [
|
|
6202
6506
|
logo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: TimelineCards_module_default["card-logo"] }, logo)),
|
|
6203
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6507
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default(TimelineCards_module_default["card-text"]), children: text })
|
|
6204
6508
|
] });
|
|
6205
6509
|
};
|
|
6206
6510
|
var TimelineSteps = ({ length }) => {
|
|
6207
6511
|
if (length === 0) return null;
|
|
6208
|
-
return /* @__PURE__ */ jsxRuntime.jsx("ol", { className:
|
|
6209
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6210
|
-
/* @__PURE__ */ jsxRuntime.jsxs("li", { className:
|
|
6211
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6512
|
+
return /* @__PURE__ */ jsxRuntime.jsx("ol", { className: clsx67__default.default(TimelineCards_module_default["timeline-steps"]), children: Array.from({ length }).map((_, index) => {
|
|
6513
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React73.Fragment, { children: [
|
|
6514
|
+
/* @__PURE__ */ jsxRuntime.jsxs("li", { className: clsx67__default.default(TimelineCards_module_default["step-container"]), children: [
|
|
6515
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default(TimelineCards_module_default["step-content"]), "aria-hidden": "true", children: index + 1 }),
|
|
6212
6516
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sr-only", children: [
|
|
6213
6517
|
"Step ",
|
|
6214
6518
|
index + 1,
|
|
@@ -6216,26 +6520,26 @@ var TimelineSteps = ({ length }) => {
|
|
|
6216
6520
|
length
|
|
6217
6521
|
] })
|
|
6218
6522
|
] }),
|
|
6219
|
-
index < length - 1 ? /* @__PURE__ */ jsxRuntime.jsx("li", { className:
|
|
6523
|
+
index < length - 1 ? /* @__PURE__ */ jsxRuntime.jsx("li", { className: clsx67__default.default(TimelineCards_module_default["step-divider"]), role: "presentation" }) : null
|
|
6220
6524
|
] }, index);
|
|
6221
6525
|
}) });
|
|
6222
6526
|
};
|
|
6223
6527
|
var TimelineCards = ({ captionText, cards, className }) => {
|
|
6224
6528
|
const slicedCards = cards == null ? void 0 : cards.slice(0, 3);
|
|
6225
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6226
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6529
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(TimelineCards_module_default["timeline-cards"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(TimelineCards_module_default["container"]), children: [
|
|
6530
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(TimelineCards_module_default["wrapper"]), children: [
|
|
6227
6531
|
/* @__PURE__ */ jsxRuntime.jsx(TimelineSteps, { length: (slicedCards == null ? void 0 : slicedCards.length) || 0 }),
|
|
6228
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { columns: 3, gap: 16, className:
|
|
6532
|
+
/* @__PURE__ */ jsxRuntime.jsx(Grid, { columns: 3, gap: 16, className: clsx67__default.default(TimelineCards_module_default["timeline-cards-container"]), children: slicedCards == null ? void 0 : slicedCards.map((card, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6229
6533
|
GridItem,
|
|
6230
6534
|
{
|
|
6231
6535
|
colSpan: { md: 3 },
|
|
6232
|
-
className:
|
|
6536
|
+
className: clsx67__default.default(TimelineCards_module_default["timeline-card-item"]),
|
|
6233
6537
|
children: /* @__PURE__ */ jsxRuntime.jsx(TimelineCard, __spreadValues({}, card))
|
|
6234
6538
|
},
|
|
6235
6539
|
index
|
|
6236
6540
|
)) })
|
|
6237
6541
|
] }),
|
|
6238
|
-
captionText && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6542
|
+
captionText && /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx67__default.default(TimelineCards_module_default["timeline-cards-text"]), children: captionText })
|
|
6239
6543
|
] }) });
|
|
6240
6544
|
};
|
|
6241
6545
|
|
|
@@ -6267,28 +6571,28 @@ var PodcastCard = ({
|
|
|
6267
6571
|
cta,
|
|
6268
6572
|
className
|
|
6269
6573
|
}) => {
|
|
6270
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6271
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6272
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6273
|
-
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className:
|
|
6274
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6574
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("podcast-card", PodcastCard_module_default["podcast-card"], className), children: [
|
|
6575
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(PodcastCard_module_default["content-wrapper"]), children: [
|
|
6576
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(PodcastCard_module_default["top-content"]), children: [
|
|
6577
|
+
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className: clsx67__default.default(PodcastCard_module_default["badge"]), role: void 0, children: badge }),
|
|
6578
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default(PodcastCard_module_default["date"]), children: date })
|
|
6275
6579
|
] }),
|
|
6276
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6277
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6278
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6580
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(PodcastCard_module_default["main-content"]), children: [
|
|
6581
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default(PodcastCard_module_default["title"]), children: title }),
|
|
6582
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(PodcastCard_module_default["description"]), children: description })
|
|
6279
6583
|
] })
|
|
6280
6584
|
] }),
|
|
6281
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6282
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6283
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6585
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default(PodcastCard_module_default["cta-wrapper"]), children: [
|
|
6586
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx67__default.default(PodcastCard_module_default["cta-label"]), children: cta.label }),
|
|
6587
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(PodcastCard_module_default["cta-icons"]), children: cta.logoCta.map((logo, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6284
6588
|
Anchor,
|
|
6285
6589
|
{
|
|
6286
6590
|
href: logo.url,
|
|
6287
6591
|
isExternal: logo.isExternal,
|
|
6288
|
-
className:
|
|
6592
|
+
className: clsx67__default.default(PodcastCard_module_default["cta-icon"]),
|
|
6289
6593
|
children: [
|
|
6290
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", __spreadProps(__spreadValues({}, logo.default), { className:
|
|
6291
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", __spreadProps(__spreadValues({}, logo.active), { className:
|
|
6594
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", __spreadProps(__spreadValues({}, logo.default), { className: clsx67__default.default(PodcastCard_module_default["icon-default"]) })),
|
|
6595
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", __spreadProps(__spreadValues({}, logo.active), { className: clsx67__default.default(PodcastCard_module_default["icon-active"]) }))
|
|
6292
6596
|
]
|
|
6293
6597
|
},
|
|
6294
6598
|
index
|
|
@@ -6304,15 +6608,15 @@ var PodcastGridCards_module_default = {
|
|
|
6304
6608
|
title: "PodcastGridCards_module_title"
|
|
6305
6609
|
};
|
|
6306
6610
|
var PodcastGridCards = ({ title, items, className }) => {
|
|
6307
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6308
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6309
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { columns: 12, gap: 16, className:
|
|
6611
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(PodcastGridCards_module_default["podcast-grid-cards"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(PodcastGridCards_module_default["container"]), children: [
|
|
6612
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default(PodcastGridCards_module_default["title"]), children: title }),
|
|
6613
|
+
/* @__PURE__ */ jsxRuntime.jsx(Grid, { columns: 12, gap: 16, className: clsx67__default.default(PodcastGridCards_module_default["podcast-grid"]), children: items == null ? void 0 : items.map((item, index) => {
|
|
6310
6614
|
var _a;
|
|
6311
6615
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6312
6616
|
GridItem,
|
|
6313
6617
|
{
|
|
6314
6618
|
colSpan: { md: 12, lg: 6, xl: 4 },
|
|
6315
|
-
className:
|
|
6619
|
+
className: clsx67__default.default(PodcastGridCards_module_default["timeline-card-item"]),
|
|
6316
6620
|
children: /* @__PURE__ */ jsxRuntime.jsx(PodcastCard, __spreadValues({}, item))
|
|
6317
6621
|
},
|
|
6318
6622
|
(_a = item == null ? void 0 : item.id) != null ? _a : index
|
|
@@ -6345,9 +6649,9 @@ var TextFootnote = (props) => {
|
|
|
6345
6649
|
});
|
|
6346
6650
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
6347
6651
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
6348
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
6349
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className:
|
|
6350
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6652
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default(TextFootnote_module_default.textFootnote, className), children: [
|
|
6653
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className: clsx67__default.default(TextFootnote_module_default.title, titleAlign), children: titleNode }),
|
|
6654
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(TextFootnote_module_default.body), children: bodyNode })
|
|
6351
6655
|
] });
|
|
6352
6656
|
};
|
|
6353
6657
|
|
|
@@ -6369,17 +6673,17 @@ var Faq_module_default = {
|
|
|
6369
6673
|
};
|
|
6370
6674
|
var Faq = (props) => {
|
|
6371
6675
|
const { items, className } = props;
|
|
6372
|
-
const accordionItems =
|
|
6676
|
+
const accordionItems = React73.useMemo(() => {
|
|
6373
6677
|
return (items == null ? void 0 : items.map((item, index) => ({
|
|
6374
6678
|
id: index,
|
|
6375
6679
|
title: item.title,
|
|
6376
|
-
content: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6680
|
+
content: /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default(Faq_module_default["accordion-content"]), children: item.body }),
|
|
6377
6681
|
hasDivider: true,
|
|
6378
6682
|
renderItemHeader: ({ isOpen, toggle }) => {
|
|
6379
6683
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6380
6684
|
"button",
|
|
6381
6685
|
{
|
|
6382
|
-
className:
|
|
6686
|
+
className: clsx67__default.default(Faq_module_default["accordion-header"], {
|
|
6383
6687
|
[Faq_module_default["accordion-header-open"]]: isOpen
|
|
6384
6688
|
}),
|
|
6385
6689
|
onClick: toggle,
|
|
@@ -6389,7 +6693,7 @@ var Faq = (props) => {
|
|
|
6389
6693
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6390
6694
|
"span",
|
|
6391
6695
|
{
|
|
6392
|
-
className:
|
|
6696
|
+
className: clsx67__default.default(Faq_module_default["accordion-title"], {
|
|
6393
6697
|
[Faq_module_default.accordionChevronOpen]: isOpen
|
|
6394
6698
|
}),
|
|
6395
6699
|
children: item.title
|
|
@@ -6398,7 +6702,7 @@ var Faq = (props) => {
|
|
|
6398
6702
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6399
6703
|
"span",
|
|
6400
6704
|
{
|
|
6401
|
-
className:
|
|
6705
|
+
className: clsx67__default.default(Faq_module_default.accordionChevron, {
|
|
6402
6706
|
[Faq_module_default.accordionChevronOpen]: isOpen
|
|
6403
6707
|
}),
|
|
6404
6708
|
children: isOpen ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "downChevronBlack", size: 40 }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6407,7 +6711,7 @@ var Faq = (props) => {
|
|
|
6407
6711
|
type: "downChevronBlack",
|
|
6408
6712
|
size: 40,
|
|
6409
6713
|
stroke: "#949494",
|
|
6410
|
-
className:
|
|
6714
|
+
className: clsx67__default.default(Faq_module_default.collapsed)
|
|
6411
6715
|
}
|
|
6412
6716
|
)
|
|
6413
6717
|
}
|
|
@@ -6418,30 +6722,74 @@ var Faq = (props) => {
|
|
|
6418
6722
|
}
|
|
6419
6723
|
}))) || [];
|
|
6420
6724
|
}, [items]);
|
|
6421
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
6725
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx67__default.default(Faq_module_default["faq"], className), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6422
6726
|
Accordion,
|
|
6423
6727
|
{
|
|
6424
6728
|
items: accordionItems,
|
|
6425
6729
|
allowMultiple: true,
|
|
6426
6730
|
defaultOpenIds: [],
|
|
6427
|
-
className:
|
|
6731
|
+
className: clsx67__default.default(Faq_module_default["accordion"])
|
|
6428
6732
|
}
|
|
6429
6733
|
) });
|
|
6430
6734
|
};
|
|
6431
6735
|
|
|
6432
6736
|
// src/widgets/Faq/index.tsx
|
|
6433
6737
|
var Faq2 = Object.assign(Faq, {});
|
|
6738
|
+
var IconTeamSelect = ({ children }) => {
|
|
6739
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
6740
|
+
};
|
|
6741
|
+
var IconTeamCard2 = ({ children }) => {
|
|
6742
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
6743
|
+
};
|
|
6744
|
+
|
|
6745
|
+
// src/widgets/IconTeam/IconTeam.module.scss
|
|
6746
|
+
var IconTeam_module_default = {
|
|
6747
|
+
"icon-team": "IconTeam_module_icon-team",
|
|
6748
|
+
container: "IconTeam_module_container",
|
|
6749
|
+
header: "IconTeam_module_header",
|
|
6750
|
+
subtitle: "IconTeam_module_subtitle",
|
|
6751
|
+
title: "IconTeam_module_title",
|
|
6752
|
+
"select-wrapper": "IconTeam_module_select-wrapper"
|
|
6753
|
+
};
|
|
6754
|
+
var IconTeam = ({ className, title, subtitle, children }) => {
|
|
6755
|
+
const slots = resolveCompoundSlots(children, {
|
|
6756
|
+
select: IconTeamSelect,
|
|
6757
|
+
card: IconTeamCard2
|
|
6758
|
+
});
|
|
6759
|
+
const selectNode = slots.select || null;
|
|
6760
|
+
const cardNode = slots.card || null;
|
|
6761
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx67__default.default("icon-team", IconTeam_module_default["icon-team"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx67__default.default("container", IconTeam_module_default["container"]), children: [
|
|
6762
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("header", IconTeam_module_default["header"]), children: [
|
|
6763
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx67__default.default("title", IconTeam_module_default["title"]), children: title }),
|
|
6764
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx67__default.default("subtitle", IconTeam_module_default["subtitle"]), children: subtitle })
|
|
6765
|
+
] }),
|
|
6766
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx67__default.default("select-wrapper", IconTeam_module_default["select-wrapper"]), children: [
|
|
6767
|
+
selectNode && React73.cloneElement(selectNode, {
|
|
6768
|
+
className: clsx67__default.default("select", IconTeam_module_default["select"])
|
|
6769
|
+
}),
|
|
6770
|
+
cardNode && React73.cloneElement(cardNode, {
|
|
6771
|
+
className: clsx67__default.default("info-card", IconTeam_module_default["info-card"])
|
|
6772
|
+
})
|
|
6773
|
+
] })
|
|
6774
|
+
] }) });
|
|
6775
|
+
};
|
|
6776
|
+
|
|
6777
|
+
// src/widgets/IconTeam/index.tsx
|
|
6778
|
+
var IconTeam2 = Object.assign(IconTeam, {
|
|
6779
|
+
Select: IconTeamSelect,
|
|
6780
|
+
Card: IconTeamCard2
|
|
6781
|
+
});
|
|
6434
6782
|
function useIntersectionObserver({
|
|
6435
6783
|
animateOnce = false,
|
|
6436
6784
|
options = {}
|
|
6437
6785
|
} = {}) {
|
|
6438
|
-
const observeRef =
|
|
6439
|
-
const [isVisible, setIsVisible] =
|
|
6786
|
+
const observeRef = React73.useRef(null);
|
|
6787
|
+
const [isVisible, setIsVisible] = React73.useState(false);
|
|
6440
6788
|
if (typeof IntersectionObserver === "undefined") {
|
|
6441
6789
|
console.warn("IntersectionObserver is not supported in this browser.");
|
|
6442
6790
|
return { observeRef, isVisible: true };
|
|
6443
6791
|
}
|
|
6444
|
-
|
|
6792
|
+
React73.useEffect(() => {
|
|
6445
6793
|
const currentRef = observeRef.current;
|
|
6446
6794
|
if (!currentRef) return;
|
|
6447
6795
|
const observer = new IntersectionObserver((entries) => {
|
|
@@ -6487,6 +6835,8 @@ exports.GlobalSearchResultsList = GlobalSearchResultsList2;
|
|
|
6487
6835
|
exports.HeroBanner = HeroBanner2;
|
|
6488
6836
|
exports.HeroBannerCarousel = HeroBannerCarousel;
|
|
6489
6837
|
exports.Icon = Icon;
|
|
6838
|
+
exports.IconTeam = IconTeam2;
|
|
6839
|
+
exports.IconTeamCard = IconTeamCard;
|
|
6490
6840
|
exports.InfoCard = InfoCard2;
|
|
6491
6841
|
exports.Input = Input;
|
|
6492
6842
|
exports.InternalBrandsTab = InternalBrandsTab2;
|
|
@@ -6509,6 +6859,7 @@ exports.QuoteSectionBlock = QuoteSectionBlock;
|
|
|
6509
6859
|
exports.ResourceCardItem = ResourceCardItem;
|
|
6510
6860
|
exports.ResourcesGridList = ResourcesGridList;
|
|
6511
6861
|
exports.Search = Search;
|
|
6862
|
+
exports.Select = Select;
|
|
6512
6863
|
exports.Sidebar = Sidebar;
|
|
6513
6864
|
exports.Teaser5050With3Text = Teaser5050With3Text2;
|
|
6514
6865
|
exports.Teaser5050WithCta = Teaser5050WithCta2;
|