@digital-b2c/coreui-kit 0.20.0 → 0.21.1
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 +483 -281
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +112 -50
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +58 -3
- package/dist/index.d.ts +58 -3
- package/dist/index.mjs +483 -283
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -101
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx52 from 'clsx';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import React72, { forwardRef, useId,
|
|
3
|
+
import React72, { forwardRef, useId, useState, useRef, useCallback, useMemo, useEffect, cloneElement, isValidElement, Children, Fragment as Fragment$1, useSyncExternalStore } from 'react';
|
|
4
4
|
import gsap, { gsap as gsap$1 } from 'gsap';
|
|
5
5
|
import { useGSAP } from '@gsap/react';
|
|
6
6
|
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
7
7
|
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
8
|
-
import {
|
|
9
|
-
import 'swiper/css';
|
|
8
|
+
import { A11y, FreeMode, Navigation, Pagination as Pagination$1 } from 'swiper/modules';
|
|
10
9
|
import ReactPlayer from 'react-player';
|
|
10
|
+
import 'swiper/css';
|
|
11
11
|
|
|
12
12
|
var __defProp = Object.defineProperty;
|
|
13
13
|
var __defProps = Object.defineProperties;
|
|
@@ -59,7 +59,7 @@ var Picture = (_a) => {
|
|
|
59
59
|
__spreadValues({
|
|
60
60
|
src: desktop.src,
|
|
61
61
|
alt: desktop.alt,
|
|
62
|
-
className:
|
|
62
|
+
className: clsx52(className, Picture_module_default["image-desktop"])
|
|
63
63
|
}, rest)
|
|
64
64
|
),
|
|
65
65
|
/* @__PURE__ */ jsx(
|
|
@@ -67,7 +67,7 @@ var Picture = (_a) => {
|
|
|
67
67
|
__spreadValues({
|
|
68
68
|
src: (_b2 = mobile == null ? void 0 : mobile.src) != null ? _b2 : desktop.src,
|
|
69
69
|
alt: (_c = mobile == null ? void 0 : mobile.alt) != null ? _c : desktop.alt,
|
|
70
|
-
className:
|
|
70
|
+
className: clsx52(className, Picture_module_default["image-mobile"])
|
|
71
71
|
}, rest)
|
|
72
72
|
)
|
|
73
73
|
] });
|
|
@@ -474,7 +474,7 @@ var Button = (_a) => {
|
|
|
474
474
|
]);
|
|
475
475
|
const isLink = !!href;
|
|
476
476
|
const props = __spreadValues(__spreadValues({
|
|
477
|
-
className:
|
|
477
|
+
className: clsx52(
|
|
478
478
|
Button_module_default.button,
|
|
479
479
|
variant ? Button_module_default[variant] : null,
|
|
480
480
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -706,7 +706,7 @@ var BrandsStrip = ({
|
|
|
706
706
|
"div",
|
|
707
707
|
{
|
|
708
708
|
ref: containerRef,
|
|
709
|
-
className:
|
|
709
|
+
className: clsx52(
|
|
710
710
|
BrandsStrip_module_default.brandsStrip,
|
|
711
711
|
BrandsStrip_module_default[variant],
|
|
712
712
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -715,13 +715,13 @@ var BrandsStrip = ({
|
|
|
715
715
|
onMouseEnter: handleMouseEnter,
|
|
716
716
|
onMouseLeave: handleMouseLeave,
|
|
717
717
|
children: [
|
|
718
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
719
|
-
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className:
|
|
718
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
719
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx52("body", BrandsStrip_module_default.title), children: title }),
|
|
720
720
|
logos.length > 0 && /* @__PURE__ */ jsx(
|
|
721
721
|
"div",
|
|
722
722
|
{
|
|
723
723
|
ref: marqueeRef,
|
|
724
|
-
className:
|
|
724
|
+
className: clsx52(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
725
725
|
children: duplicatedLogos.map((logo, index) => /* @__PURE__ */ jsx("div", { className: BrandsStrip_module_default.logoWrapper, children: /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsStrip_module_default.logo }, logo)) }, `${logo.alt}-${index}`))
|
|
726
726
|
}
|
|
727
727
|
)
|
|
@@ -768,7 +768,7 @@ var Container_module_default = {
|
|
|
768
768
|
var Container = forwardRef(
|
|
769
769
|
(_a, ref) => {
|
|
770
770
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
771
|
-
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
771
|
+
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx52(Container_module_default.container, className) }, props), { children }));
|
|
772
772
|
}
|
|
773
773
|
);
|
|
774
774
|
Container.displayName = "Container";
|
|
@@ -797,6 +797,7 @@ var Card = ({
|
|
|
797
797
|
title,
|
|
798
798
|
subtitle,
|
|
799
799
|
cta,
|
|
800
|
+
onCtaClick,
|
|
800
801
|
icon,
|
|
801
802
|
logo,
|
|
802
803
|
children,
|
|
@@ -815,21 +816,32 @@ var Card = ({
|
|
|
815
816
|
ConditionalWrapper,
|
|
816
817
|
__spreadProps(__spreadValues({
|
|
817
818
|
ref,
|
|
818
|
-
className:
|
|
819
|
+
className: clsx52(Card_module_default.card, Card_module_default[variant], className),
|
|
819
820
|
wrapper: Anchor,
|
|
820
821
|
fallback: "div",
|
|
821
822
|
condition: isLink
|
|
822
|
-
},
|
|
823
|
+
}, isLink ? { href, isExternal } : {}), {
|
|
823
824
|
children: [
|
|
824
825
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
825
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
826
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx52(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx52(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
826
827
|
isLink && /* @__PURE__ */ jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
827
828
|
] }),
|
|
828
829
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.content, children: [
|
|
829
830
|
titleNode && /* @__PURE__ */ jsx("h3", { className: "h4", children: titleNode }),
|
|
830
831
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: Card_module_default.subtitle, children: subtitleNode })
|
|
831
832
|
] }),
|
|
832
|
-
(cta == null ? void 0 : cta.label) && /* @__PURE__ */ jsx(
|
|
833
|
+
(cta == null ? void 0 : cta.label) && /* @__PURE__ */ jsx(
|
|
834
|
+
Button,
|
|
835
|
+
{
|
|
836
|
+
href: cta.url,
|
|
837
|
+
isExternal: cta.isExternal,
|
|
838
|
+
variant: "secondary",
|
|
839
|
+
icon: cta.icon,
|
|
840
|
+
logo: cta.logo,
|
|
841
|
+
onClick: onCtaClick,
|
|
842
|
+
children: cta.label
|
|
843
|
+
}
|
|
844
|
+
)
|
|
833
845
|
]
|
|
834
846
|
})
|
|
835
847
|
);
|
|
@@ -857,10 +869,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
857
869
|
title: CountingCardTitle
|
|
858
870
|
});
|
|
859
871
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
860
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
872
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(CountingCard_module_default["counting-card"], className), children: [
|
|
861
873
|
/* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
862
874
|
titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
|
|
863
|
-
count && /* @__PURE__ */ jsx("div", { className:
|
|
875
|
+
count && /* @__PURE__ */ jsx("div", { className: clsx52(CountingCard_module_default.count, "h1"), children: count })
|
|
864
876
|
] }),
|
|
865
877
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
866
878
|
] });
|
|
@@ -946,7 +958,7 @@ function FilterBar({
|
|
|
946
958
|
"button",
|
|
947
959
|
{
|
|
948
960
|
type: "button",
|
|
949
|
-
className:
|
|
961
|
+
className: clsx52(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
950
962
|
onClick: () => onViewChange("grid"),
|
|
951
963
|
"aria-pressed": view === "grid",
|
|
952
964
|
children: [
|
|
@@ -959,7 +971,7 @@ function FilterBar({
|
|
|
959
971
|
"button",
|
|
960
972
|
{
|
|
961
973
|
type: "button",
|
|
962
|
-
className:
|
|
974
|
+
className: clsx52(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
963
975
|
onClick: () => onViewChange("list"),
|
|
964
976
|
"aria-pressed": view === "list",
|
|
965
977
|
children: [
|
|
@@ -973,7 +985,7 @@ function FilterBar({
|
|
|
973
985
|
/* @__PURE__ */ jsxs(
|
|
974
986
|
"div",
|
|
975
987
|
{
|
|
976
|
-
className:
|
|
988
|
+
className: clsx52(
|
|
977
989
|
FilterBar_module_default.dropdownWrapper,
|
|
978
990
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
979
991
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -984,7 +996,7 @@ function FilterBar({
|
|
|
984
996
|
"button",
|
|
985
997
|
{
|
|
986
998
|
type: "button",
|
|
987
|
-
className:
|
|
999
|
+
className: clsx52(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
988
1000
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
989
1001
|
"aria-expanded": openDropdown === "filter",
|
|
990
1002
|
children: [
|
|
@@ -999,7 +1011,7 @@ function FilterBar({
|
|
|
999
1011
|
type: "button",
|
|
1000
1012
|
role: "option",
|
|
1001
1013
|
"aria-selected": filterValue === opt.value,
|
|
1002
|
-
className:
|
|
1014
|
+
className: clsx52(
|
|
1003
1015
|
FilterBar_module_default.dropdownOption,
|
|
1004
1016
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
1005
1017
|
),
|
|
@@ -1020,7 +1032,7 @@ function FilterBar({
|
|
|
1020
1032
|
/* @__PURE__ */ jsxs(
|
|
1021
1033
|
"div",
|
|
1022
1034
|
{
|
|
1023
|
-
className:
|
|
1035
|
+
className: clsx52(
|
|
1024
1036
|
FilterBar_module_default.dropdownWrapper,
|
|
1025
1037
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
1026
1038
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1046,7 +1058,7 @@ function FilterBar({
|
|
|
1046
1058
|
type: "button",
|
|
1047
1059
|
role: "option",
|
|
1048
1060
|
"aria-selected": sortValue === opt.value,
|
|
1049
|
-
className:
|
|
1061
|
+
className: clsx52(
|
|
1050
1062
|
FilterBar_module_default.dropdownOption,
|
|
1051
1063
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1052
1064
|
),
|
|
@@ -1064,7 +1076,7 @@ function FilterBar({
|
|
|
1064
1076
|
searchState !== "closed" ? /* @__PURE__ */ jsxs(
|
|
1065
1077
|
"div",
|
|
1066
1078
|
{
|
|
1067
|
-
className:
|
|
1079
|
+
className: clsx52(
|
|
1068
1080
|
FilterBar_module_default.searchExpanded,
|
|
1069
1081
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1070
1082
|
),
|
|
@@ -1146,9 +1158,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1146
1158
|
});
|
|
1147
1159
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1148
1160
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1149
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1161
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1150
1162
|
/* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1151
|
-
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className:
|
|
1163
|
+
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx52(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1152
1164
|
titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
|
|
1153
1165
|
] }),
|
|
1154
1166
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1161,6 +1173,61 @@ var InfoCard2 = Object.assign(InfoCard, {
|
|
|
1161
1173
|
Subtitle: InfoCardSubtitle
|
|
1162
1174
|
});
|
|
1163
1175
|
|
|
1176
|
+
// src/components/Modal/Modal.module.scss
|
|
1177
|
+
var Modal_module_default = {
|
|
1178
|
+
modal: "Modal_module_modal",
|
|
1179
|
+
inner: "Modal_module_inner",
|
|
1180
|
+
header: "Modal_module_header",
|
|
1181
|
+
close: "Modal_module_close"
|
|
1182
|
+
};
|
|
1183
|
+
var Modal = ({
|
|
1184
|
+
className,
|
|
1185
|
+
contentClassName,
|
|
1186
|
+
isOpen,
|
|
1187
|
+
onClose,
|
|
1188
|
+
ariaLabel = "Dialog",
|
|
1189
|
+
closeLabel = "Close",
|
|
1190
|
+
hideCloseButton = false,
|
|
1191
|
+
children
|
|
1192
|
+
}) => {
|
|
1193
|
+
const dialogRef = useRef(null);
|
|
1194
|
+
useEffect(() => {
|
|
1195
|
+
const dialog = dialogRef.current;
|
|
1196
|
+
if (!dialog) return;
|
|
1197
|
+
if (isOpen && !dialog.open) {
|
|
1198
|
+
dialog.showModal();
|
|
1199
|
+
} else if (!isOpen && dialog.open) {
|
|
1200
|
+
dialog.close();
|
|
1201
|
+
}
|
|
1202
|
+
}, [isOpen]);
|
|
1203
|
+
return /* @__PURE__ */ jsx(
|
|
1204
|
+
"dialog",
|
|
1205
|
+
{
|
|
1206
|
+
ref: dialogRef,
|
|
1207
|
+
className: clsx52(Modal_module_default.modal, className),
|
|
1208
|
+
"aria-label": ariaLabel,
|
|
1209
|
+
onClose,
|
|
1210
|
+
onClick: (event) => {
|
|
1211
|
+
if (event.target === dialogRef.current) onClose();
|
|
1212
|
+
},
|
|
1213
|
+
children: /* @__PURE__ */ jsxs("div", { className: clsx52(Modal_module_default.inner, contentClassName), children: [
|
|
1214
|
+
!hideCloseButton && /* @__PURE__ */ jsx("div", { className: Modal_module_default.header, children: /* @__PURE__ */ jsx(
|
|
1215
|
+
Button,
|
|
1216
|
+
{
|
|
1217
|
+
variant: "nofillblack",
|
|
1218
|
+
className: Modal_module_default.close,
|
|
1219
|
+
onClick: onClose,
|
|
1220
|
+
"aria-label": closeLabel,
|
|
1221
|
+
children: /* @__PURE__ */ jsx(Icon, { type: "xBlack", size: 30 })
|
|
1222
|
+
}
|
|
1223
|
+
) }),
|
|
1224
|
+
children
|
|
1225
|
+
] })
|
|
1226
|
+
}
|
|
1227
|
+
);
|
|
1228
|
+
};
|
|
1229
|
+
Modal.displayName = "Modal";
|
|
1230
|
+
|
|
1164
1231
|
// src/utils/getPaginationRange.ts
|
|
1165
1232
|
var DOTS = "...";
|
|
1166
1233
|
var range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
@@ -1245,7 +1312,7 @@ var Pagination = ({
|
|
|
1245
1312
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1246
1313
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1247
1314
|
const pageItems = showEllipsis ? getPaginationRange(totalPages, activePage, siblingCount, boundaryCount) : Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1248
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1315
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(Pagination_module_default.pagination, className), children: [
|
|
1249
1316
|
!disableArrows && (renderLink ? renderLink({
|
|
1250
1317
|
page: prevPage,
|
|
1251
1318
|
className: Pagination_module_default.prev,
|
|
@@ -1266,7 +1333,7 @@ var Pagination = ({
|
|
|
1266
1333
|
return /* @__PURE__ */ jsx("span", { className: Pagination_module_default.dots, "aria-hidden": "true", children: "\u2026" }, `dots-${index}`);
|
|
1267
1334
|
}
|
|
1268
1335
|
const page = item;
|
|
1269
|
-
const pageClassName =
|
|
1336
|
+
const pageClassName = clsx52(Pagination_module_default.page, {
|
|
1270
1337
|
[Pagination_module_default.active]: activePage === page,
|
|
1271
1338
|
[Pagination_module_default.number]: hasNumber,
|
|
1272
1339
|
[Pagination_module_default["no-border"]]: hidePagesBorder
|
|
@@ -1319,10 +1386,10 @@ var PracticeCard_module_default = {
|
|
|
1319
1386
|
};
|
|
1320
1387
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1321
1388
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1322
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1389
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
|
|
1323
1390
|
ConditionalWrapper,
|
|
1324
1391
|
__spreadProps(__spreadValues({
|
|
1325
|
-
className:
|
|
1392
|
+
className: clsx52(PracticeCard_module_default.wrapper, PracticeCard_module_default["focusable-card"]),
|
|
1326
1393
|
wrapper: Anchor,
|
|
1327
1394
|
fallback: "div",
|
|
1328
1395
|
condition: !!href,
|
|
@@ -1331,7 +1398,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1331
1398
|
children: [
|
|
1332
1399
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1333
1400
|
/* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1334
|
-
title && /* @__PURE__ */ jsx("div", { className:
|
|
1401
|
+
title && /* @__PURE__ */ jsx("div", { className: clsx52(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1335
1402
|
href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1336
1403
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1337
1404
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1375,15 +1442,15 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1375
1442
|
"aria-disabled": isRestricted
|
|
1376
1443
|
} : null;
|
|
1377
1444
|
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1378
|
-
className:
|
|
1445
|
+
className: clsx52(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1379
1446
|
children: null
|
|
1380
1447
|
})) : /* @__PURE__ */ jsx(
|
|
1381
1448
|
"a",
|
|
1382
1449
|
__spreadProps(__spreadValues({}, linkProps), {
|
|
1383
|
-
className:
|
|
1450
|
+
className: clsx52(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1384
1451
|
})
|
|
1385
1452
|
) : null;
|
|
1386
|
-
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className:
|
|
1453
|
+
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx52(ResourceCardItem_module_default.cardLink), children }));
|
|
1387
1454
|
function getIcon() {
|
|
1388
1455
|
switch (item.type) {
|
|
1389
1456
|
case "pdf":
|
|
@@ -1400,7 +1467,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1400
1467
|
return /* @__PURE__ */ jsxs(
|
|
1401
1468
|
"article",
|
|
1402
1469
|
{
|
|
1403
|
-
className:
|
|
1470
|
+
className: clsx52(
|
|
1404
1471
|
ResourceCardItem_module_default.cardGrid,
|
|
1405
1472
|
isGlobalSearchVariant && ResourceCardItem_module_default[variant],
|
|
1406
1473
|
isGlobalSearchVariant && isRestricted ? ResourceCardItem_module_default["restricted"] : null
|
|
@@ -1484,7 +1551,7 @@ var Sidebar = ({
|
|
|
1484
1551
|
return /* @__PURE__ */ jsxs(
|
|
1485
1552
|
"li",
|
|
1486
1553
|
{
|
|
1487
|
-
className:
|
|
1554
|
+
className: clsx52(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1488
1555
|
role: "button",
|
|
1489
1556
|
tabIndex: 0,
|
|
1490
1557
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1542,7 +1609,7 @@ var UpcomingEventCard = ({
|
|
|
1542
1609
|
return /* @__PURE__ */ jsxs(
|
|
1543
1610
|
"article",
|
|
1544
1611
|
{
|
|
1545
|
-
className:
|
|
1612
|
+
className: clsx52(
|
|
1546
1613
|
"card",
|
|
1547
1614
|
UpcomingEventCard_module_default["event-card"],
|
|
1548
1615
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1550,26 +1617,26 @@ var UpcomingEventCard = ({
|
|
|
1550
1617
|
className
|
|
1551
1618
|
),
|
|
1552
1619
|
children: [
|
|
1553
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1554
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1620
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1621
|
+
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx52("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1555
1622
|
/* @__PURE__ */ jsxs(
|
|
1556
1623
|
"div",
|
|
1557
1624
|
{
|
|
1558
|
-
className:
|
|
1625
|
+
className: clsx52(
|
|
1559
1626
|
"card-text-content",
|
|
1560
1627
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1561
1628
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1562
1629
|
),
|
|
1563
1630
|
children: [
|
|
1564
1631
|
/* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1565
|
-
title && /* @__PURE__ */ jsx("h3", { className:
|
|
1632
|
+
title && /* @__PURE__ */ jsx("h3", { className: clsx52("card-text-title"), children: title }),
|
|
1566
1633
|
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1567
|
-
description && /* @__PURE__ */ jsx("div", { className:
|
|
1568
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1634
|
+
description && /* @__PURE__ */ jsx("div", { className: clsx52("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1635
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx52("card-cta-wrapper", UpcomingEventCard_module_default["event-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1569
1636
|
Button,
|
|
1570
1637
|
{
|
|
1571
1638
|
variant: "secondary",
|
|
1572
|
-
className:
|
|
1639
|
+
className: clsx52(
|
|
1573
1640
|
"card-cta",
|
|
1574
1641
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1575
1642
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1588,12 +1655,12 @@ var UpcomingEventCard = ({
|
|
|
1588
1655
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1589
1656
|
"div",
|
|
1590
1657
|
{
|
|
1591
|
-
className:
|
|
1658
|
+
className: clsx52("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1592
1659
|
children: /* @__PURE__ */ jsx(
|
|
1593
1660
|
Button,
|
|
1594
1661
|
{
|
|
1595
1662
|
variant: "secondary",
|
|
1596
|
-
className:
|
|
1663
|
+
className: clsx52("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1597
1664
|
fullWidth: isBelowMobile,
|
|
1598
1665
|
href: cta.url,
|
|
1599
1666
|
icon: cta.icon,
|
|
@@ -1641,7 +1708,7 @@ var Badge = forwardRef(
|
|
|
1641
1708
|
"live",
|
|
1642
1709
|
"clickable"
|
|
1643
1710
|
]);
|
|
1644
|
-
const classes =
|
|
1711
|
+
const classes = clsx52(
|
|
1645
1712
|
Badge_module_default.badge,
|
|
1646
1713
|
Badge_module_default[variant],
|
|
1647
1714
|
Badge_module_default[size],
|
|
@@ -1652,7 +1719,7 @@ var Badge = forwardRef(
|
|
|
1652
1719
|
className
|
|
1653
1720
|
);
|
|
1654
1721
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1655
|
-
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className:
|
|
1722
|
+
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx52("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1656
1723
|
!iconOnly && /* @__PURE__ */ jsx("span", { className: Badge_module_default.label, children })
|
|
1657
1724
|
] });
|
|
1658
1725
|
if (clickable) {
|
|
@@ -1733,7 +1800,7 @@ var Input = forwardRef(
|
|
|
1733
1800
|
return /* @__PURE__ */ jsxs(
|
|
1734
1801
|
"div",
|
|
1735
1802
|
{
|
|
1736
|
-
className:
|
|
1803
|
+
className: clsx52(
|
|
1737
1804
|
"input-field",
|
|
1738
1805
|
Input_module_default["input-field"],
|
|
1739
1806
|
{
|
|
@@ -1747,17 +1814,17 @@ var Input = forwardRef(
|
|
|
1747
1814
|
"label",
|
|
1748
1815
|
{
|
|
1749
1816
|
htmlFor: inputId,
|
|
1750
|
-
className:
|
|
1817
|
+
className: clsx52("input-label", Input_module_default.label, {
|
|
1751
1818
|
["sr-only"]: hideLabel
|
|
1752
1819
|
}),
|
|
1753
1820
|
children: [
|
|
1754
1821
|
label,
|
|
1755
|
-
required && /* @__PURE__ */ jsx("span", { className:
|
|
1822
|
+
required && /* @__PURE__ */ jsx("span", { className: clsx52("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1756
1823
|
]
|
|
1757
1824
|
}
|
|
1758
1825
|
),
|
|
1759
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1760
|
-
startAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1826
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("input-wrapper", Input_module_default.wrapper), children: [
|
|
1827
|
+
startAdornment && /* @__PURE__ */ jsx("span", { className: clsx52("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1761
1828
|
/* @__PURE__ */ jsx(
|
|
1762
1829
|
"input",
|
|
1763
1830
|
__spreadValues({
|
|
@@ -1768,7 +1835,7 @@ var Input = forwardRef(
|
|
|
1768
1835
|
disabled,
|
|
1769
1836
|
"aria-invalid": !!error,
|
|
1770
1837
|
"aria-describedby": describedBy || void 0,
|
|
1771
|
-
className:
|
|
1838
|
+
className: clsx52(
|
|
1772
1839
|
"input",
|
|
1773
1840
|
Input_module_default.input,
|
|
1774
1841
|
{
|
|
@@ -1779,11 +1846,11 @@ var Input = forwardRef(
|
|
|
1779
1846
|
)
|
|
1780
1847
|
}, props)
|
|
1781
1848
|
),
|
|
1782
|
-
endAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1783
|
-
endAction && /* @__PURE__ */ jsx("span", { className:
|
|
1849
|
+
endAdornment && /* @__PURE__ */ jsx("span", { className: clsx52("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1850
|
+
endAction && /* @__PURE__ */ jsx("span", { className: clsx52("input-end-action"), children: endAction })
|
|
1784
1851
|
] }),
|
|
1785
|
-
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className:
|
|
1786
|
-
error && /* @__PURE__ */ jsx("p", { id: errorId, className:
|
|
1852
|
+
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx52("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1853
|
+
error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx52("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1787
1854
|
]
|
|
1788
1855
|
}
|
|
1789
1856
|
);
|
|
@@ -1827,7 +1894,7 @@ var NewsCard = ({
|
|
|
1827
1894
|
href: cta.url,
|
|
1828
1895
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1829
1896
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1830
|
-
className:
|
|
1897
|
+
className: clsx52("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1831
1898
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1832
1899
|
}, isRestricted && {
|
|
1833
1900
|
"aria-disabled": true
|
|
@@ -1838,7 +1905,7 @@ var NewsCard = ({
|
|
|
1838
1905
|
return /* @__PURE__ */ jsxs(
|
|
1839
1906
|
"article",
|
|
1840
1907
|
{
|
|
1841
|
-
className:
|
|
1908
|
+
className: clsx52(
|
|
1842
1909
|
"news-card",
|
|
1843
1910
|
NewsCard_module_default["news-card"],
|
|
1844
1911
|
type && NewsCard_module_default[type],
|
|
@@ -1849,29 +1916,29 @@ var NewsCard = ({
|
|
|
1849
1916
|
"aria-describedby": isRestricted ? `restricted-${id}` : void 0,
|
|
1850
1917
|
children: [
|
|
1851
1918
|
cardLink,
|
|
1852
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1919
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx52("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1853
1920
|
/* @__PURE__ */ jsxs(
|
|
1854
1921
|
"div",
|
|
1855
1922
|
{
|
|
1856
|
-
className:
|
|
1923
|
+
className: clsx52("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1857
1924
|
style: {
|
|
1858
1925
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1859
1926
|
},
|
|
1860
1927
|
children: [
|
|
1861
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1862
|
-
/* @__PURE__ */ jsx(Badge, { className:
|
|
1863
|
-
/* @__PURE__ */ jsx("time", { dateTime: date.value, className:
|
|
1928
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1929
|
+
/* @__PURE__ */ jsx(Badge, { className: clsx52("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1930
|
+
/* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx52("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1864
1931
|
] }),
|
|
1865
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1866
|
-
/* @__PURE__ */ jsx("h3", { id: `title-${id}`, className:
|
|
1867
|
-
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className:
|
|
1932
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1933
|
+
/* @__PURE__ */ jsx("h3", { id: `title-${id}`, className: clsx52("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1934
|
+
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx52("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description,
|
|
1868
1935
|
isRestricted && /* @__PURE__ */ jsx("p", { id: `restricted-${id}`, className: "sr-only", children: "This resource is restricted. You do not have permission to access it." })
|
|
1869
1936
|
] }),
|
|
1870
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1937
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx52("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1871
1938
|
Button,
|
|
1872
1939
|
{
|
|
1873
1940
|
variant: "secondary",
|
|
1874
|
-
className:
|
|
1941
|
+
className: clsx52("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1875
1942
|
icon: cta.icon,
|
|
1876
1943
|
"aria-hidden": "true",
|
|
1877
1944
|
tabIndex: -1,
|
|
@@ -1900,7 +1967,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1900
1967
|
body: BlogPostContentBody
|
|
1901
1968
|
});
|
|
1902
1969
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1903
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1970
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1904
1971
|
};
|
|
1905
1972
|
|
|
1906
1973
|
// src/components/BlogPostContent/index.ts
|
|
@@ -1951,7 +2018,7 @@ var Search = ({
|
|
|
1951
2018
|
}
|
|
1952
2019
|
};
|
|
1953
2020
|
if (!isOpen) {
|
|
1954
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2021
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(Search_module_default.search, className), children: /* @__PURE__ */ jsx(
|
|
1955
2022
|
"button",
|
|
1956
2023
|
{
|
|
1957
2024
|
type: "button",
|
|
@@ -1963,10 +2030,10 @@ var Search = ({
|
|
|
1963
2030
|
}
|
|
1964
2031
|
) });
|
|
1965
2032
|
}
|
|
1966
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2033
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(Search_module_default.search, className), children: /* @__PURE__ */ jsxs(
|
|
1967
2034
|
"div",
|
|
1968
2035
|
{
|
|
1969
|
-
className:
|
|
2036
|
+
className: clsx52(
|
|
1970
2037
|
Search_module_default.searchField,
|
|
1971
2038
|
isPill ? Search_module_default.searchFieldPill : Search_module_default.searchFieldLine
|
|
1972
2039
|
),
|
|
@@ -2033,7 +2100,7 @@ var ColTextMenu = ({
|
|
|
2033
2100
|
isExternal,
|
|
2034
2101
|
renderLink,
|
|
2035
2102
|
icon: "chevronRight",
|
|
2036
|
-
className:
|
|
2103
|
+
className: clsx52("subheading", className),
|
|
2037
2104
|
children: label
|
|
2038
2105
|
}
|
|
2039
2106
|
);
|
|
@@ -2113,7 +2180,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2113
2180
|
/* @__PURE__ */ jsx(Icon, { type: "downChevronBlack", size: 13, "aria-hidden": "true" })
|
|
2114
2181
|
] })
|
|
2115
2182
|
] });
|
|
2116
|
-
const rootClass =
|
|
2183
|
+
const rootClass = clsx52(UserMenu_module_default.userButton, fullWidth && UserMenu_module_default.fullWidth, className);
|
|
2117
2184
|
return user.url ? /* @__PURE__ */ jsx(
|
|
2118
2185
|
"a",
|
|
2119
2186
|
{
|
|
@@ -2128,7 +2195,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2128
2195
|
return /* @__PURE__ */ jsxs(
|
|
2129
2196
|
"div",
|
|
2130
2197
|
{
|
|
2131
|
-
className:
|
|
2198
|
+
className: clsx52(UserMenu_module_default.userMenuWrapper, fullWidth && UserMenu_module_default.fullWidth, className),
|
|
2132
2199
|
ref: wrapperRef,
|
|
2133
2200
|
onPointerLeave: handlePointerLeave,
|
|
2134
2201
|
onBlur: handleBlur,
|
|
@@ -2150,7 +2217,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2150
2217
|
/* @__PURE__ */ jsx(
|
|
2151
2218
|
"span",
|
|
2152
2219
|
{
|
|
2153
|
-
className:
|
|
2220
|
+
className: clsx52(
|
|
2154
2221
|
UserMenu_module_default.userChevron,
|
|
2155
2222
|
dropUp && UserMenu_module_default.userChevronUp,
|
|
2156
2223
|
isOpen && UserMenu_module_default.userChevronOpen
|
|
@@ -2165,12 +2232,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2165
2232
|
isOpen && /* @__PURE__ */ jsx(
|
|
2166
2233
|
"div",
|
|
2167
2234
|
{
|
|
2168
|
-
className:
|
|
2235
|
+
className: clsx52(UserMenu_module_default.userMenu, dropUp && UserMenu_module_default.userMenuUp),
|
|
2169
2236
|
role: "menu",
|
|
2170
2237
|
onPointerEnter: handlePointerEnter,
|
|
2171
2238
|
onPointerLeave: handlePointerLeave,
|
|
2172
2239
|
children: (_c = user.menuItems) == null ? void 0 : _c.map((item, i) => {
|
|
2173
|
-
const itemClass =
|
|
2240
|
+
const itemClass = clsx52(
|
|
2174
2241
|
UserMenu_module_default.userMenuItem,
|
|
2175
2242
|
item.variant === "danger" && UserMenu_module_default.userMenuItemDanger
|
|
2176
2243
|
);
|
|
@@ -2214,7 +2281,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2214
2281
|
var Loader_module_default = {
|
|
2215
2282
|
loader: "Loader_module_loader"};
|
|
2216
2283
|
var Loader = ({ className }) => {
|
|
2217
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2284
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52("loader", Loader_module_default["loader"], className) });
|
|
2218
2285
|
};
|
|
2219
2286
|
Loader.displayName = "Loader";
|
|
2220
2287
|
|
|
@@ -2263,17 +2330,157 @@ var BrandCard = ({
|
|
|
2263
2330
|
"div",
|
|
2264
2331
|
{
|
|
2265
2332
|
ref: containerRef,
|
|
2266
|
-
className:
|
|
2333
|
+
className: clsx52("brand-card", BrandCard_module_default["brand-card"], BrandCard_module_default[theme], className),
|
|
2267
2334
|
children: [
|
|
2268
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
2269
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
2270
|
-
/* @__PURE__ */ jsx("p", { ref: textRef, className:
|
|
2335
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content-wrapper", BrandCard_module_default["content-wrapper"]), children: [
|
|
2336
|
+
/* @__PURE__ */ jsx("h3", { className: clsx52("content-title", "body", BrandCard_module_default["content-title"]), children: title }),
|
|
2337
|
+
/* @__PURE__ */ jsx("p", { ref: textRef, className: clsx52("content-subtitle", "h1", BrandCard_module_default["content-subtitle"]), children: subtitle })
|
|
2271
2338
|
] }),
|
|
2272
|
-
(image == null ? void 0 : image.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
2339
|
+
(image == null ? void 0 : image.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx52("brand-image", BrandCard_module_default["brand-image"]) }, image))
|
|
2273
2340
|
]
|
|
2274
2341
|
}
|
|
2275
2342
|
);
|
|
2276
2343
|
};
|
|
2344
|
+
var CardCarouselTitle = ({ children }) => {
|
|
2345
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
2346
|
+
};
|
|
2347
|
+
var CardCarouselSubtitle = ({ children }) => {
|
|
2348
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
2349
|
+
};
|
|
2350
|
+
var CardCarouselFootnote = ({ children }) => {
|
|
2351
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
2352
|
+
};
|
|
2353
|
+
|
|
2354
|
+
// src/widgets/CardCarousel/CardCarousel.module.scss
|
|
2355
|
+
var CardCarousel_module_default = {
|
|
2356
|
+
cardCarousel: "CardCarousel_module_cardCarousel",
|
|
2357
|
+
header: "CardCarousel_module_header",
|
|
2358
|
+
texts: "CardCarousel_module_texts",
|
|
2359
|
+
subtitle: "CardCarousel_module_subtitle",
|
|
2360
|
+
pagination: "CardCarousel_module_pagination",
|
|
2361
|
+
swiper: "CardCarousel_module_swiper",
|
|
2362
|
+
video: "CardCarousel_module_video",
|
|
2363
|
+
footnote: "CardCarousel_module_footnote",
|
|
2364
|
+
card: "CardCarousel_module_card",
|
|
2365
|
+
locked: "CardCarousel_module_locked"
|
|
2366
|
+
};
|
|
2367
|
+
var CardCarousel = ({
|
|
2368
|
+
className,
|
|
2369
|
+
title,
|
|
2370
|
+
subtitle,
|
|
2371
|
+
footnote,
|
|
2372
|
+
cards = [],
|
|
2373
|
+
theme = "dark",
|
|
2374
|
+
ariaLabel = "Card carousel",
|
|
2375
|
+
children
|
|
2376
|
+
}) => {
|
|
2377
|
+
var _a, _b, _c;
|
|
2378
|
+
const { is } = useViewPort_default();
|
|
2379
|
+
const isMobile = is("tablet", "below");
|
|
2380
|
+
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2381
|
+
const [snapIndex, setSnapIndex] = useState(0);
|
|
2382
|
+
const [totalPages, setTotalPages] = useState(1);
|
|
2383
|
+
const [activeVideo, setActiveVideo] = useState(null);
|
|
2384
|
+
const slots = resolveCompoundSlots(children, {
|
|
2385
|
+
title: CardCarouselTitle,
|
|
2386
|
+
subtitle: CardCarouselSubtitle,
|
|
2387
|
+
footnote: CardCarouselFootnote
|
|
2388
|
+
});
|
|
2389
|
+
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2390
|
+
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2391
|
+
const footnoteNode = (_c = slots.footnote) != null ? _c : footnote;
|
|
2392
|
+
const slidesPerGroup = isMobile ? 1 : 2;
|
|
2393
|
+
const syncPagination = (swiper) => {
|
|
2394
|
+
var _a2, _b2;
|
|
2395
|
+
setSnapIndex(swiper.snapIndex);
|
|
2396
|
+
setTotalPages(Math.max((_b2 = (_a2 = swiper.snapGrid) == null ? void 0 : _a2.length) != null ? _b2 : 1, 1));
|
|
2397
|
+
};
|
|
2398
|
+
if (!cards.length) return null;
|
|
2399
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(CardCarousel_module_default.cardCarousel, className), children: [
|
|
2400
|
+
/* @__PURE__ */ jsxs("div", { className: CardCarousel_module_default.header, children: [
|
|
2401
|
+
/* @__PURE__ */ jsxs("div", { className: CardCarousel_module_default.texts, children: [
|
|
2402
|
+
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2403
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx52("subheading", CardCarousel_module_default.subtitle), children: subtitleNode })
|
|
2404
|
+
] }),
|
|
2405
|
+
!isMobile && totalPages > 1 && /* @__PURE__ */ jsx(
|
|
2406
|
+
Pagination,
|
|
2407
|
+
{
|
|
2408
|
+
className: CardCarousel_module_default.pagination,
|
|
2409
|
+
totalPages,
|
|
2410
|
+
currentPage: snapIndex + 1,
|
|
2411
|
+
loop: false,
|
|
2412
|
+
onPageChange: (page) => swiperInstance == null ? void 0 : swiperInstance.slideTo((page - 1) * slidesPerGroup)
|
|
2413
|
+
},
|
|
2414
|
+
`${totalPages}-${snapIndex}`
|
|
2415
|
+
)
|
|
2416
|
+
] }),
|
|
2417
|
+
/* @__PURE__ */ jsx(
|
|
2418
|
+
Swiper,
|
|
2419
|
+
{
|
|
2420
|
+
className: CardCarousel_module_default.swiper,
|
|
2421
|
+
modules: [A11y],
|
|
2422
|
+
a11y: { enabled: true, containerMessage: ariaLabel },
|
|
2423
|
+
role: "region",
|
|
2424
|
+
"aria-label": ariaLabel,
|
|
2425
|
+
slidesPerView: "auto",
|
|
2426
|
+
slidesPerGroup,
|
|
2427
|
+
spaceBetween: isMobile ? 8 : 16,
|
|
2428
|
+
onSwiper: (swiper) => {
|
|
2429
|
+
setSwiperInstance(swiper);
|
|
2430
|
+
syncPagination(swiper);
|
|
2431
|
+
},
|
|
2432
|
+
onSnapIndexChange: syncPagination,
|
|
2433
|
+
onResize: syncPagination,
|
|
2434
|
+
children: cards.map((_d, index) => {
|
|
2435
|
+
var _e = _d, { isLocked, className: cardClassName, videoUrl } = _e, card = __objRest(_e, ["isLocked", "className", "videoUrl"]);
|
|
2436
|
+
var _a2;
|
|
2437
|
+
return /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsx(
|
|
2438
|
+
Card2,
|
|
2439
|
+
__spreadProps(__spreadValues({
|
|
2440
|
+
variant: theme,
|
|
2441
|
+
className: clsx52(CardCarousel_module_default.card, isLocked && CardCarousel_module_default.locked, cardClassName),
|
|
2442
|
+
onCtaClick: ((_a2 = card.cta) == null ? void 0 : _a2.url) ? (event) => {
|
|
2443
|
+
var _a3, _b2;
|
|
2444
|
+
event.preventDefault();
|
|
2445
|
+
setActiveVideo((_b2 = (_a3 = card.cta) == null ? void 0 : _a3.url) != null ? _b2 : null);
|
|
2446
|
+
} : card.onCtaClick
|
|
2447
|
+
}, card), {
|
|
2448
|
+
cta: videoUrl && card.cta ? __spreadProps(__spreadValues({}, card.cta), { icon: "watchBlack" }) : card.cta
|
|
2449
|
+
})
|
|
2450
|
+
) }, index);
|
|
2451
|
+
})
|
|
2452
|
+
}
|
|
2453
|
+
),
|
|
2454
|
+
footnoteNode && /* @__PURE__ */ jsx("div", { className: clsx52("body", CardCarousel_module_default.footnote), children: footnoteNode }),
|
|
2455
|
+
/* @__PURE__ */ jsx(
|
|
2456
|
+
Modal,
|
|
2457
|
+
{
|
|
2458
|
+
isOpen: !!activeVideo,
|
|
2459
|
+
onClose: () => setActiveVideo(null),
|
|
2460
|
+
ariaLabel: "Video player",
|
|
2461
|
+
closeLabel: "Close video",
|
|
2462
|
+
children: activeVideo && /* @__PURE__ */ jsx(
|
|
2463
|
+
ReactPlayer,
|
|
2464
|
+
{
|
|
2465
|
+
src: activeVideo,
|
|
2466
|
+
playing: true,
|
|
2467
|
+
controls: true,
|
|
2468
|
+
className: CardCarousel_module_default.video,
|
|
2469
|
+
width: "100%",
|
|
2470
|
+
height: "100%"
|
|
2471
|
+
}
|
|
2472
|
+
)
|
|
2473
|
+
}
|
|
2474
|
+
)
|
|
2475
|
+
] });
|
|
2476
|
+
};
|
|
2477
|
+
|
|
2478
|
+
// src/widgets/CardCarousel/index.ts
|
|
2479
|
+
var CardCarousel2 = Object.assign(CardCarousel, {
|
|
2480
|
+
Title: CardCarouselTitle,
|
|
2481
|
+
Subtitle: CardCarouselSubtitle,
|
|
2482
|
+
Footnote: CardCarouselFootnote
|
|
2483
|
+
});
|
|
2277
2484
|
var CardCollectionTitle = ({ children }) => {
|
|
2278
2485
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
2279
2486
|
};
|
|
@@ -2353,13 +2560,13 @@ var CardCollection = ({
|
|
|
2353
2560
|
Container,
|
|
2354
2561
|
{
|
|
2355
2562
|
ref: container,
|
|
2356
|
-
className:
|
|
2563
|
+
className: clsx52(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
2357
2564
|
children: [
|
|
2358
2565
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
2359
2566
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2360
2567
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
2361
2568
|
] }),
|
|
2362
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
2569
|
+
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx52(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
2363
2570
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
2364
2571
|
isExamCard && hiddenCards.length > 0 && /* @__PURE__ */ jsx("div", { ref: revealWrapper, className: CardCollection_module_default["reveal-wrapper"], children: /* @__PURE__ */ jsx("div", { className: CardCollection_module_default["reveal-inner"], children: hiddenCards.map((card, key) => /* @__PURE__ */ jsx(
|
|
2365
2572
|
Card2,
|
|
@@ -2460,7 +2667,7 @@ var ContactModule = ({
|
|
|
2460
2667
|
},
|
|
2461
2668
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
2462
2669
|
);
|
|
2463
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
2670
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx52(ContactModule_module_default["contact-module"], className), children: [
|
|
2464
2671
|
blurred && /* @__PURE__ */ jsx(
|
|
2465
2672
|
"div",
|
|
2466
2673
|
{
|
|
@@ -2475,8 +2682,8 @@ var ContactModule = ({
|
|
|
2475
2682
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2476
2683
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2477
2684
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2478
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2479
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2685
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
2686
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx52(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2480
2687
|
] }),
|
|
2481
2688
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
2482
2689
|
Button,
|
|
@@ -2545,7 +2752,7 @@ var Footer = ({
|
|
|
2545
2752
|
disclaimer: FooterDisclaimer
|
|
2546
2753
|
});
|
|
2547
2754
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2548
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
2755
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx52(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2549
2756
|
supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2550
2757
|
/* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2551
2758
|
/* @__PURE__ */ jsx("div", { className: Footer_module_default.support, children: supportColumns.map((column, colIdx) => /* @__PURE__ */ jsx("div", { className: Footer_module_default["support-column"], children: column.map((group, i) => /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-group"], children: [
|
|
@@ -2574,7 +2781,7 @@ var Footer = ({
|
|
|
2574
2781
|
index
|
|
2575
2782
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2576
2783
|
) }) }),
|
|
2577
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2784
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2578
2785
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2579
2786
|
] }),
|
|
2580
2787
|
navigationLinks.length > 0 && /* @__PURE__ */ jsx("nav", { className: Footer_module_default["bottom-right"], children: /* @__PURE__ */ jsx("ul", { className: Footer_module_default["nav-list"], children: navigationLinks.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
@@ -2600,7 +2807,7 @@ var LogoBar_module_default = {
|
|
|
2600
2807
|
};
|
|
2601
2808
|
var LogoBar = ({ className, items }) => {
|
|
2602
2809
|
if (!items || items.length === 0) return null;
|
|
2603
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2810
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2604
2811
|
return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2605
2812
|
item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2606
2813
|
item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2671,17 +2878,17 @@ var HeroBanner = ({
|
|
|
2671
2878
|
});
|
|
2672
2879
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2673
2880
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2674
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2881
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], HeroBanner_module_default[type], className), children: [
|
|
2675
2882
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2676
2883
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2677
|
-
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className:
|
|
2884
|
+
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: clsx52(HeroBanner_module_default.text, vMainHeroBanner && HeroBanner_module_default.fullWidth), children: [
|
|
2678
2885
|
isTitleLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: HeroBanner_module_default.titleLogo }, logo)),
|
|
2679
2886
|
titleNode && /* @__PURE__ */ jsx(
|
|
2680
2887
|
Text,
|
|
2681
2888
|
{
|
|
2682
2889
|
tag: "h2",
|
|
2683
2890
|
promoteToH1,
|
|
2684
|
-
className:
|
|
2891
|
+
className: clsx52(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2685
2892
|
children: titleNode
|
|
2686
2893
|
}
|
|
2687
2894
|
),
|
|
@@ -2690,7 +2897,7 @@ var HeroBanner = ({
|
|
|
2690
2897
|
{
|
|
2691
2898
|
tag: "div",
|
|
2692
2899
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2693
|
-
className:
|
|
2900
|
+
className: clsx52(HeroBanner_module_default.subtitle, "subheading"),
|
|
2694
2901
|
children: subtitleNode
|
|
2695
2902
|
}
|
|
2696
2903
|
)
|
|
@@ -2763,7 +2970,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2763
2970
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2764
2971
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
2765
2972
|
if (!items.length) return null;
|
|
2766
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2973
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2767
2974
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
2768
2975
|
Swiper,
|
|
2769
2976
|
{
|
|
@@ -2775,7 +2982,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2775
2982
|
children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.card, children: [
|
|
2776
2983
|
item.isNewItem && /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardCorner, children: isMobile ? /* @__PURE__ */ jsx("span", { className: HeroBannerCarousel_module_default.cardCornerDot }) : /* @__PURE__ */ jsx(Icon, { type: "newIcon", className: HeroBannerCarousel_module_default.cardCornerImage }) }),
|
|
2777
2984
|
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardContent, children: [
|
|
2778
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
2985
|
+
/* @__PURE__ */ jsx("h2", { className: clsx52(HeroBannerCarousel_module_default.cardTitle, "h3"), children: item.title }),
|
|
2779
2986
|
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardBottom, children: [
|
|
2780
2987
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardBody, children: item.body }),
|
|
2781
2988
|
item.ctas.length > 0 && /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardCtaContainer, children: item.ctas.map((cta, ctaIndex) => /* @__PURE__ */ jsx(
|
|
@@ -2810,7 +3017,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2810
3017
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
2811
3018
|
"button",
|
|
2812
3019
|
{
|
|
2813
|
-
className:
|
|
3020
|
+
className: clsx52(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2814
3021
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2815
3022
|
"aria-label": `Go to slide ${index + 1}`
|
|
2816
3023
|
},
|
|
@@ -2891,7 +3098,7 @@ var AccordionItem = ({
|
|
|
2891
3098
|
return /* @__PURE__ */ jsxs(
|
|
2892
3099
|
"div",
|
|
2893
3100
|
{
|
|
2894
|
-
className:
|
|
3101
|
+
className: clsx52(
|
|
2895
3102
|
Accordion_module_default.accordionItem,
|
|
2896
3103
|
{
|
|
2897
3104
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2905,18 +3112,18 @@ var AccordionItem = ({
|
|
|
2905
3112
|
}) : /* @__PURE__ */ jsxs(
|
|
2906
3113
|
"button",
|
|
2907
3114
|
{
|
|
2908
|
-
className:
|
|
3115
|
+
className: clsx52(Accordion_module_default.accordionHeader, {
|
|
2909
3116
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2910
3117
|
}),
|
|
2911
3118
|
onClick: handleToggle,
|
|
2912
3119
|
"aria-expanded": isOpen,
|
|
2913
3120
|
"aria-label": `Toggle ${title}`,
|
|
2914
3121
|
children: [
|
|
2915
|
-
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className:
|
|
3122
|
+
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx52("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
2916
3123
|
/* @__PURE__ */ jsx(
|
|
2917
3124
|
"span",
|
|
2918
3125
|
{
|
|
2919
|
-
className:
|
|
3126
|
+
className: clsx52(Accordion_module_default.accordionChevron, {
|
|
2920
3127
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2921
3128
|
}),
|
|
2922
3129
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2929,7 +3136,7 @@ var AccordionItem = ({
|
|
|
2929
3136
|
"div",
|
|
2930
3137
|
{
|
|
2931
3138
|
ref: contentRef,
|
|
2932
|
-
className:
|
|
3139
|
+
className: clsx52("accordionContent", Accordion_module_default.accordionContent),
|
|
2933
3140
|
style: {
|
|
2934
3141
|
overflow: "hidden",
|
|
2935
3142
|
height: 0
|
|
@@ -2939,7 +3146,7 @@ var AccordionItem = ({
|
|
|
2939
3146
|
"div",
|
|
2940
3147
|
{
|
|
2941
3148
|
ref: contentInnerRef,
|
|
2942
|
-
className:
|
|
3149
|
+
className: clsx52("accordionContentInner", Accordion_module_default.accordionContentInner),
|
|
2943
3150
|
children
|
|
2944
3151
|
}
|
|
2945
3152
|
)
|
|
@@ -2976,7 +3183,7 @@ var Accordion = ({
|
|
|
2976
3183
|
if (items.length === 0) {
|
|
2977
3184
|
return null;
|
|
2978
3185
|
}
|
|
2979
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3186
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(Accordion_module_default.accordion, className), children: items.map((item) => {
|
|
2980
3187
|
return /* @__PURE__ */ jsx(
|
|
2981
3188
|
AccordionItem,
|
|
2982
3189
|
{
|
|
@@ -3069,7 +3276,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3069
3276
|
};
|
|
3070
3277
|
})) || [];
|
|
3071
3278
|
}, [tabs]);
|
|
3072
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
3279
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
3073
3280
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
3074
3281
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
3075
3282
|
subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -3085,7 +3292,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3085
3292
|
},
|
|
3086
3293
|
index
|
|
3087
3294
|
)) }),
|
|
3088
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3295
|
+
/* @__PURE__ */ jsx("div", { className: clsx52(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3089
3296
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
3090
3297
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3091
3298
|
((_b = tabs[activeIndex].topContent) == null ? void 0 : _b.title) && /* @__PURE__ */ jsx("p", { className: InternalBrandsTab_module_default.topContentTitle, children: (_c = tabs[activeIndex].topContent) == null ? void 0 : _c.title }),
|
|
@@ -3185,22 +3392,22 @@ var MiniBanner = ({
|
|
|
3185
3392
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
3186
3393
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
3187
3394
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
3188
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
3395
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
3189
3396
|
((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__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.background }, background)),
|
|
3190
|
-
/* @__PURE__ */ jsx(Container, { className:
|
|
3397
|
+
/* @__PURE__ */ jsx(Container, { className: clsx52(MiniBanner_module_default.container), children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
3191
3398
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
3192
3399
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
3193
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3400
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx52(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
3194
3401
|
(titleNode || goBackNode) && /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
3195
3402
|
goBackNode ? React72.cloneElement(goBackNode, {
|
|
3196
|
-
className:
|
|
3403
|
+
className: clsx52("back-button", MiniBanner_module_default["back-button"])
|
|
3197
3404
|
}) : null,
|
|
3198
3405
|
titleNode && /* @__PURE__ */ jsx(
|
|
3199
3406
|
Text,
|
|
3200
3407
|
{
|
|
3201
3408
|
tag: "div",
|
|
3202
3409
|
promoteToH1,
|
|
3203
|
-
className:
|
|
3410
|
+
className: clsx52(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"),
|
|
3204
3411
|
children: titleNode
|
|
3205
3412
|
}
|
|
3206
3413
|
)
|
|
@@ -3208,7 +3415,7 @@ var MiniBanner = ({
|
|
|
3208
3415
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3209
3416
|
"div",
|
|
3210
3417
|
{
|
|
3211
|
-
className:
|
|
3418
|
+
className: clsx52(MiniBanner_module_default.title, MiniBanner_module_default.subtitle, {
|
|
3212
3419
|
subheading: isMiniBannerNoBG,
|
|
3213
3420
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3214
3421
|
h4: isMiniBannerTextLeft
|
|
@@ -3284,7 +3491,7 @@ var MiniSectionCta = ({
|
|
|
3284
3491
|
return /* @__PURE__ */ jsx(
|
|
3285
3492
|
"div",
|
|
3286
3493
|
{
|
|
3287
|
-
className:
|
|
3494
|
+
className: clsx52(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3288
3495
|
style: __spreadValues({}, hasModuleStyles && {
|
|
3289
3496
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
3290
3497
|
"--custom-color": moduleStyles.color
|
|
@@ -3295,7 +3502,7 @@ var MiniSectionCta = ({
|
|
|
3295
3502
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3296
3503
|
"div",
|
|
3297
3504
|
{
|
|
3298
|
-
className:
|
|
3505
|
+
className: clsx52(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
3299
3506
|
children: subtitleNode
|
|
3300
3507
|
}
|
|
3301
3508
|
)
|
|
@@ -3370,7 +3577,7 @@ var NavigationBrandBars_module_default = {
|
|
|
3370
3577
|
};
|
|
3371
3578
|
var NavigationBrandBars = ({ brandBars, className }) => {
|
|
3372
3579
|
if ((brandBars == null ? void 0 : brandBars.length) === 0) return;
|
|
3373
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3580
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(NavigationBrandBars_module_default.brandBars, className), "aria-hidden": "true", children: brandBars && brandBars.map((bar, index) => /* @__PURE__ */ jsx(
|
|
3374
3581
|
"span",
|
|
3375
3582
|
{
|
|
3376
3583
|
className: NavigationBrandBars_module_default.brandBar,
|
|
@@ -3445,7 +3652,7 @@ var NavigationDesktop = ({
|
|
|
3445
3652
|
"a",
|
|
3446
3653
|
{
|
|
3447
3654
|
href: (_b = item.cta) == null ? void 0 : _b.url,
|
|
3448
|
-
className:
|
|
3655
|
+
className: clsx52(NavigationDesktop_module_default.navTabLink, isCurrent2 && NavigationDesktop_module_default.navTabActive),
|
|
3449
3656
|
"aria-current": isCurrent2 ? "page" : void 0,
|
|
3450
3657
|
target: ((_c = item.cta) == null ? void 0 : _c.isExternal) ? "_blank" : void 0,
|
|
3451
3658
|
rel: ((_d = item.cta) == null ? void 0 : _d.isExternal) ? "noopener noreferrer" : void 0,
|
|
@@ -3464,7 +3671,7 @@ var NavigationDesktop = ({
|
|
|
3464
3671
|
{
|
|
3465
3672
|
type: "button",
|
|
3466
3673
|
id: `${baseId}-trigger-${index}`,
|
|
3467
|
-
className:
|
|
3674
|
+
className: clsx52(
|
|
3468
3675
|
NavigationDesktop_module_default.navTabLink,
|
|
3469
3676
|
NavigationDesktop_module_default.navTabTrigger,
|
|
3470
3677
|
(isCurrent || isOpen) && NavigationDesktop_module_default.navTabActive,
|
|
@@ -3538,7 +3745,7 @@ var NavigationDropdown = ({
|
|
|
3538
3745
|
"div",
|
|
3539
3746
|
{
|
|
3540
3747
|
id: panelId,
|
|
3541
|
-
className:
|
|
3748
|
+
className: clsx52(NavigationDropdown_module_default.dropdownPanel, NavigationDropdown_module_default.dropdownPanelOpen),
|
|
3542
3749
|
onMouseEnter,
|
|
3543
3750
|
onMouseLeave,
|
|
3544
3751
|
children: /* @__PURE__ */ jsxs("div", { className: NavigationDropdown_module_default.dropdownInner, children: [
|
|
@@ -3547,7 +3754,7 @@ var NavigationDropdown = ({
|
|
|
3547
3754
|
return /* @__PURE__ */ jsx(
|
|
3548
3755
|
"li",
|
|
3549
3756
|
{
|
|
3550
|
-
className:
|
|
3757
|
+
className: clsx52(NavigationDropdown_module_default.dropdownLinkItem, {
|
|
3551
3758
|
[NavigationDropdown_module_default.dropdownLinkSpacer]: sub.variant === "subMenuSpacer"
|
|
3552
3759
|
}),
|
|
3553
3760
|
children: /* @__PURE__ */ jsx(
|
|
@@ -3659,7 +3866,7 @@ var NavigationMobile = ({
|
|
|
3659
3866
|
"div",
|
|
3660
3867
|
{
|
|
3661
3868
|
id,
|
|
3662
|
-
className:
|
|
3869
|
+
className: clsx52(NavigationMobile_module_default.mobileMenu, isOpen && NavigationMobile_module_default.mobileMenuOpen),
|
|
3663
3870
|
role: "dialog",
|
|
3664
3871
|
"aria-modal": "true",
|
|
3665
3872
|
"aria-label": "Navigation menu",
|
|
@@ -3705,7 +3912,7 @@ var NavigationMobile = ({
|
|
|
3705
3912
|
/* @__PURE__ */ jsx(
|
|
3706
3913
|
"span",
|
|
3707
3914
|
{
|
|
3708
|
-
className:
|
|
3915
|
+
className: clsx52(
|
|
3709
3916
|
NavigationMobile_module_default.mobileItemChevron,
|
|
3710
3917
|
isExpanded && NavigationMobile_module_default.mobileItemChevronOpen
|
|
3711
3918
|
),
|
|
@@ -3720,7 +3927,7 @@ var NavigationMobile = ({
|
|
|
3720
3927
|
"div",
|
|
3721
3928
|
{
|
|
3722
3929
|
id: subMenuId,
|
|
3723
|
-
className:
|
|
3930
|
+
className: clsx52(NavigationMobile_module_default.mobileSubItems, isExpanded && NavigationMobile_module_default.mobileSubItemsOpen),
|
|
3724
3931
|
children: /* @__PURE__ */ jsx("ul", { className: NavigationMobile_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3725
3932
|
(subItem, i) => {
|
|
3726
3933
|
var _a2, _b2;
|
|
@@ -3728,7 +3935,7 @@ var NavigationMobile = ({
|
|
|
3728
3935
|
"a",
|
|
3729
3936
|
{
|
|
3730
3937
|
href: (_a2 = subItem.cta) == null ? void 0 : _a2.url,
|
|
3731
|
-
className:
|
|
3938
|
+
className: clsx52(
|
|
3732
3939
|
NavigationMobile_module_default.mobileSubLink,
|
|
3733
3940
|
subItem.isActive && NavigationMobile_module_default.mobileSubLinkActive
|
|
3734
3941
|
),
|
|
@@ -3759,7 +3966,7 @@ var NavigationMobile = ({
|
|
|
3759
3966
|
"div",
|
|
3760
3967
|
{
|
|
3761
3968
|
id,
|
|
3762
|
-
className:
|
|
3969
|
+
className: clsx52(NavigationMobile_module_default.internalMobileMenu, isOpen && NavigationMobile_module_default.internalMobileMenuOpen),
|
|
3763
3970
|
role: "dialog",
|
|
3764
3971
|
"aria-modal": "true",
|
|
3765
3972
|
"aria-label": "Navigation menu",
|
|
@@ -3811,7 +4018,7 @@ var NavigationMobile = ({
|
|
|
3811
4018
|
/* @__PURE__ */ jsx(
|
|
3812
4019
|
"span",
|
|
3813
4020
|
{
|
|
3814
|
-
className:
|
|
4021
|
+
className: clsx52(
|
|
3815
4022
|
NavigationMobile_module_default.internalMobileItemChevron,
|
|
3816
4023
|
isExpanded && NavigationMobile_module_default.internalMobileItemChevronOpen
|
|
3817
4024
|
),
|
|
@@ -3826,7 +4033,7 @@ var NavigationMobile = ({
|
|
|
3826
4033
|
"div",
|
|
3827
4034
|
{
|
|
3828
4035
|
id: subMenuId,
|
|
3829
|
-
className:
|
|
4036
|
+
className: clsx52(
|
|
3830
4037
|
NavigationMobile_module_default.internalMobileSubItems,
|
|
3831
4038
|
isExpanded && NavigationMobile_module_default.internalMobileSubItemsOpen
|
|
3832
4039
|
),
|
|
@@ -3837,7 +4044,7 @@ var NavigationMobile = ({
|
|
|
3837
4044
|
"a",
|
|
3838
4045
|
{
|
|
3839
4046
|
href: (_a2 = sub.cta) == null ? void 0 : _a2.url,
|
|
3840
|
-
className:
|
|
4047
|
+
className: clsx52(
|
|
3841
4048
|
NavigationMobile_module_default.internalMobileSubLink,
|
|
3842
4049
|
sub.isActive && NavigationMobile_module_default.internalMobileSubLinkActive
|
|
3843
4050
|
),
|
|
@@ -3996,7 +4203,7 @@ var Navigation2 = (props) => {
|
|
|
3996
4203
|
const logo = mainLogo ? /* @__PURE__ */ jsx(
|
|
3997
4204
|
Picture,
|
|
3998
4205
|
{
|
|
3999
|
-
className:
|
|
4206
|
+
className: clsx52(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile),
|
|
4000
4207
|
src: mainLogo,
|
|
4001
4208
|
alt: logoAlt
|
|
4002
4209
|
}
|
|
@@ -4006,7 +4213,7 @@ var Navigation2 = (props) => {
|
|
|
4006
4213
|
"nav",
|
|
4007
4214
|
{
|
|
4008
4215
|
ref: navRef,
|
|
4009
|
-
className:
|
|
4216
|
+
className: clsx52(
|
|
4010
4217
|
Navigation_module_default.navigation,
|
|
4011
4218
|
dropdownOpen && Navigation_module_default.dropdownOpen,
|
|
4012
4219
|
// External-only transparent / hover treatment.
|
|
@@ -4026,7 +4233,7 @@ var Navigation2 = (props) => {
|
|
|
4026
4233
|
{
|
|
4027
4234
|
mainLogo,
|
|
4028
4235
|
homeCta,
|
|
4029
|
-
className:
|
|
4236
|
+
className: clsx52(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile)
|
|
4030
4237
|
}
|
|
4031
4238
|
) : logo,
|
|
4032
4239
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
@@ -4058,7 +4265,7 @@ var Navigation2 = (props) => {
|
|
|
4058
4265
|
loginVariant: isTransparent ? "ghost" : "nofillblack"
|
|
4059
4266
|
}
|
|
4060
4267
|
) : user ? /* @__PURE__ */ jsx(UserMenu, { user }) : userMenuFallbackNode ? cloneElement(userMenuFallbackNode, {
|
|
4061
|
-
className:
|
|
4268
|
+
className: clsx52("userMenuFallback", Navigation_module_default["userMenuFallback"])
|
|
4062
4269
|
}) : null
|
|
4063
4270
|
] }),
|
|
4064
4271
|
!isTabletBelow && /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.bottomRow, children: [
|
|
@@ -4165,7 +4372,7 @@ var PracticePathCards = ({
|
|
|
4165
4372
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4166
4373
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4167
4374
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
4168
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4375
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
4169
4376
|
(titleNode || subtitleNode || (cta == null ? void 0 : cta.url)) && /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
4170
4377
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
4171
4378
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -4219,8 +4426,8 @@ var Teaser5050With3Text = ({
|
|
|
4219
4426
|
title: Teaser5050With3TextTitle
|
|
4220
4427
|
});
|
|
4221
4428
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4222
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4223
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4429
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
4430
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
4224
4431
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
4225
4432
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
4226
4433
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -4272,7 +4479,7 @@ var Teaser5050WithCta = ({
|
|
|
4272
4479
|
return /* @__PURE__ */ jsx(
|
|
4273
4480
|
"div",
|
|
4274
4481
|
{
|
|
4275
|
-
className:
|
|
4482
|
+
className: clsx52(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
4276
4483
|
style: __spreadValues({}, hasModuleStyles && {
|
|
4277
4484
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
4278
4485
|
"--custom-color": moduleStyles.color
|
|
@@ -4280,8 +4487,8 @@ var Teaser5050WithCta = ({
|
|
|
4280
4487
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
4281
4488
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
4282
4489
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
4283
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4284
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4490
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52("h3", Teaser5050WithCta_module_default.title), children: titleNode }),
|
|
4491
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx52("subheading", Teaser5050WithCta_module_default.subheading), children: subtitleNode })
|
|
4285
4492
|
] }),
|
|
4286
4493
|
/* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
4287
4494
|
Button,
|
|
@@ -4332,7 +4539,7 @@ var Carousel = (_a) => {
|
|
|
4332
4539
|
},
|
|
4333
4540
|
role: "region",
|
|
4334
4541
|
"aria-label": ariaLabel,
|
|
4335
|
-
className:
|
|
4542
|
+
className: clsx52(Carousel_module_default.carousel, className),
|
|
4336
4543
|
spaceBetween: 0,
|
|
4337
4544
|
slidesPerView: "auto",
|
|
4338
4545
|
modules: [FreeMode, A11y],
|
|
@@ -4342,7 +4549,7 @@ var Carousel = (_a) => {
|
|
|
4342
4549
|
children: slides.map((slide, index) => /* @__PURE__ */ jsx(
|
|
4343
4550
|
SwiperSlide,
|
|
4344
4551
|
{
|
|
4345
|
-
className:
|
|
4552
|
+
className: clsx52(Carousel_module_default["carousel-item"], props.slideClass),
|
|
4346
4553
|
children: slide
|
|
4347
4554
|
},
|
|
4348
4555
|
index
|
|
@@ -4400,15 +4607,15 @@ var EventList = ({
|
|
|
4400
4607
|
return /* @__PURE__ */ jsx(
|
|
4401
4608
|
"div",
|
|
4402
4609
|
{
|
|
4403
|
-
className:
|
|
4610
|
+
className: clsx52(
|
|
4404
4611
|
"event-list-module",
|
|
4405
4612
|
EventList_module_default["event-list-module"],
|
|
4406
4613
|
backgroundColor && EventList_module_default[backgroundColor],
|
|
4407
4614
|
className
|
|
4408
4615
|
),
|
|
4409
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4616
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx52(EventList_module_default["event-list-container"]), children: [
|
|
4410
4617
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
4411
|
-
titleNode && /* @__PURE__ */ jsx("h2", { className:
|
|
4618
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx52(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
4412
4619
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
4413
4620
|
Button,
|
|
4414
4621
|
{
|
|
@@ -4426,7 +4633,7 @@ var EventList = ({
|
|
|
4426
4633
|
Carousel,
|
|
4427
4634
|
{
|
|
4428
4635
|
"aria-label": "Upcoming events",
|
|
4429
|
-
wrapperClass:
|
|
4636
|
+
wrapperClass: clsx52(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
4430
4637
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
4431
4638
|
spaceBetween: 16,
|
|
4432
4639
|
slides: items.map((item) => {
|
|
@@ -4434,7 +4641,7 @@ var EventList = ({
|
|
|
4434
4641
|
return /* @__PURE__ */ jsx(
|
|
4435
4642
|
UpcomingEventCard,
|
|
4436
4643
|
__spreadValues({
|
|
4437
|
-
className:
|
|
4644
|
+
className: clsx52(EventList_module_default["event-card"]),
|
|
4438
4645
|
direction: "vertical",
|
|
4439
4646
|
showImage: false
|
|
4440
4647
|
}, item),
|
|
@@ -4447,7 +4654,7 @@ var EventList = ({
|
|
|
4447
4654
|
"ul",
|
|
4448
4655
|
{
|
|
4449
4656
|
"aria-label": "Upcoming events",
|
|
4450
|
-
className:
|
|
4657
|
+
className: clsx52(
|
|
4451
4658
|
EventList_module_default["event-list-wrapper"],
|
|
4452
4659
|
EventList_module_default["horizontal"],
|
|
4453
4660
|
EventList_module_default[variant]
|
|
@@ -4457,11 +4664,11 @@ var EventList = ({
|
|
|
4457
4664
|
return /* @__PURE__ */ jsx(
|
|
4458
4665
|
"li",
|
|
4459
4666
|
{
|
|
4460
|
-
className:
|
|
4667
|
+
className: clsx52(EventList_module_default["card-list-item"]),
|
|
4461
4668
|
children: /* @__PURE__ */ jsx(
|
|
4462
4669
|
UpcomingEventCard,
|
|
4463
4670
|
__spreadProps(__spreadValues({}, item), {
|
|
4464
|
-
className:
|
|
4671
|
+
className: clsx52(EventList_module_default["card-item"]),
|
|
4465
4672
|
showImage: false,
|
|
4466
4673
|
direction: "vertical"
|
|
4467
4674
|
})
|
|
@@ -4476,7 +4683,7 @@ var EventList = ({
|
|
|
4476
4683
|
"ul",
|
|
4477
4684
|
{
|
|
4478
4685
|
"aria-label": "Upcoming events",
|
|
4479
|
-
className:
|
|
4686
|
+
className: clsx52(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
4480
4687
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
4481
4688
|
var _a2, _b, _c;
|
|
4482
4689
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(UpcomingEventCard, __spreadProps(__spreadValues({}, item), { direction: cardDirection })) }, (_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index);
|
|
@@ -4485,7 +4692,7 @@ var EventList = ({
|
|
|
4485
4692
|
)
|
|
4486
4693
|
] }),
|
|
4487
4694
|
!isNotEmpty && emptyNode ? React72.cloneElement(emptyNode, {
|
|
4488
|
-
className:
|
|
4695
|
+
className: clsx52("empty-search-result", EventList_module_default["empty-search-result"])
|
|
4489
4696
|
}) : null
|
|
4490
4697
|
] })
|
|
4491
4698
|
}
|
|
@@ -4529,9 +4736,9 @@ var TextEvent = (props) => {
|
|
|
4529
4736
|
});
|
|
4530
4737
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4531
4738
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
4532
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4739
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(TextEvent_module_default.textEvent, className), children: [
|
|
4533
4740
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
4534
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4741
|
+
/* @__PURE__ */ jsx("div", { className: clsx52(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
4535
4742
|
] });
|
|
4536
4743
|
};
|
|
4537
4744
|
|
|
@@ -4568,13 +4775,13 @@ var TextBody = (props) => {
|
|
|
4568
4775
|
return /* @__PURE__ */ jsxs(
|
|
4569
4776
|
Container,
|
|
4570
4777
|
{
|
|
4571
|
-
className:
|
|
4778
|
+
className: clsx52(TextBody_module_default.textBody, isArticleBigPadding && TextBody_module_default.articleBigPadding, className),
|
|
4572
4779
|
children: [
|
|
4573
4780
|
titleNode && /* @__PURE__ */ jsx(
|
|
4574
4781
|
Text,
|
|
4575
4782
|
{
|
|
4576
4783
|
tag: isTableCenter ? "h4" : "h3",
|
|
4577
|
-
className:
|
|
4784
|
+
className: clsx52(TextBody_module_default.title, isTableCenter ? "text-center" : titleAlign),
|
|
4578
4785
|
children: titleNode
|
|
4579
4786
|
}
|
|
4580
4787
|
),
|
|
@@ -4621,7 +4828,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4621
4828
|
});
|
|
4622
4829
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4623
4830
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4624
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4831
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
4625
4832
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
4626
4833
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
4627
4834
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -4629,7 +4836,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4629
4836
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
4630
4837
|
"div",
|
|
4631
4838
|
{
|
|
4632
|
-
className:
|
|
4839
|
+
className: clsx52(
|
|
4633
4840
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
4634
4841
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
4635
4842
|
),
|
|
@@ -4758,7 +4965,7 @@ var ResourcesGridList = ({
|
|
|
4758
4965
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
4759
4966
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
4760
4967
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
4761
|
-
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className:
|
|
4968
|
+
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx52(ResourcesGridList_module_default.widget, className), children: [
|
|
4762
4969
|
/* @__PURE__ */ jsx(
|
|
4763
4970
|
FilterBar,
|
|
4764
4971
|
{
|
|
@@ -4777,7 +4984,7 @@ var ResourcesGridList = ({
|
|
|
4777
4984
|
isMobile && /* @__PURE__ */ jsxs(
|
|
4778
4985
|
"div",
|
|
4779
4986
|
{
|
|
4780
|
-
className:
|
|
4987
|
+
className: clsx52(
|
|
4781
4988
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
4782
4989
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
4783
4990
|
),
|
|
@@ -4788,7 +4995,7 @@ var ResourcesGridList = ({
|
|
|
4788
4995
|
return /* @__PURE__ */ jsxs(
|
|
4789
4996
|
"li",
|
|
4790
4997
|
{
|
|
4791
|
-
className:
|
|
4998
|
+
className: clsx52(
|
|
4792
4999
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
4793
5000
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
4794
5001
|
),
|
|
@@ -4833,7 +5040,7 @@ var ResourcesGridList = ({
|
|
|
4833
5040
|
onSelect: handleSelectCategory
|
|
4834
5041
|
}
|
|
4835
5042
|
),
|
|
4836
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5043
|
+
/* @__PURE__ */ jsx("div", { className: clsx52(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
4837
5044
|
] }),
|
|
4838
5045
|
totalPages > 1 && /* @__PURE__ */ jsx(
|
|
4839
5046
|
Pagination,
|
|
@@ -4872,7 +5079,7 @@ var Grid = ({
|
|
|
4872
5079
|
return /* @__PURE__ */ jsx(
|
|
4873
5080
|
Component,
|
|
4874
5081
|
{
|
|
4875
|
-
className:
|
|
5082
|
+
className: clsx52("grid", Grid_module_default.grid, className),
|
|
4876
5083
|
role,
|
|
4877
5084
|
"aria-label": ariaLabel,
|
|
4878
5085
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4897,7 +5104,7 @@ var GridItem = ({
|
|
|
4897
5104
|
return /* @__PURE__ */ jsx(
|
|
4898
5105
|
Component,
|
|
4899
5106
|
{
|
|
4900
|
-
className:
|
|
5107
|
+
className: clsx52("grid-item", Grid_module_default["grid-item"], className),
|
|
4901
5108
|
role,
|
|
4902
5109
|
"aria-label": ariaLabel,
|
|
4903
5110
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4945,13 +5152,13 @@ var BlogCardGrid = ({
|
|
|
4945
5152
|
title: BlogCardGridTitle
|
|
4946
5153
|
});
|
|
4947
5154
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4948
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4949
|
-
title && /* @__PURE__ */ jsxs("div", { className:
|
|
4950
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className:
|
|
4951
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
5155
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
5156
|
+
title && /* @__PURE__ */ jsxs("div", { className: clsx52("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
5157
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx52("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
5158
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx52("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4952
5159
|
Button,
|
|
4953
5160
|
{
|
|
4954
|
-
className:
|
|
5161
|
+
className: clsx52("cta", BlogCardGrid_module_default["cta"]),
|
|
4955
5162
|
variant: "nofillblack",
|
|
4956
5163
|
href: cta.url,
|
|
4957
5164
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4976,11 +5183,11 @@ var BlogCardGrid = ({
|
|
|
4976
5183
|
return /* @__PURE__ */ jsx(
|
|
4977
5184
|
"div",
|
|
4978
5185
|
{
|
|
4979
|
-
className:
|
|
5186
|
+
className: clsx52("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
4980
5187
|
style: {
|
|
4981
5188
|
backgroundColor
|
|
4982
5189
|
},
|
|
4983
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
5190
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx52("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
4984
5191
|
}
|
|
4985
5192
|
);
|
|
4986
5193
|
};
|
|
@@ -5028,13 +5235,13 @@ var FeaturedNewsHighlights = ({
|
|
|
5028
5235
|
const sideCards = items.slice(1);
|
|
5029
5236
|
const isVariantHome = variant === "home";
|
|
5030
5237
|
const isBelowTablet = is("tablet", "below");
|
|
5031
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
5032
|
-
title && cta && /* @__PURE__ */ jsxs("div", { className:
|
|
5238
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
5239
|
+
title && cta && /* @__PURE__ */ jsxs("div", { className: clsx52("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
5033
5240
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
5034
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
5241
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx52("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
5035
5242
|
Button,
|
|
5036
5243
|
{
|
|
5037
|
-
className:
|
|
5244
|
+
className: clsx52("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
5038
5245
|
variant: "nofillblack",
|
|
5039
5246
|
href: cta.url,
|
|
5040
5247
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -5046,33 +5253,33 @@ var FeaturedNewsHighlights = ({
|
|
|
5046
5253
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
|
|
5047
5254
|
Carousel,
|
|
5048
5255
|
{
|
|
5049
|
-
className:
|
|
5256
|
+
className: clsx52("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
5050
5257
|
"aria-label": "featured news",
|
|
5051
|
-
wrapperClass:
|
|
5258
|
+
wrapperClass: clsx52(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
5052
5259
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
5053
5260
|
spaceBetween: 16,
|
|
5054
5261
|
slides: items.map((item) => /* @__PURE__ */ jsx(
|
|
5055
5262
|
NewsCard,
|
|
5056
5263
|
__spreadProps(__spreadValues({}, item), {
|
|
5057
5264
|
direction: "vertical",
|
|
5058
|
-
className:
|
|
5265
|
+
className: clsx52("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
5059
5266
|
}),
|
|
5060
5267
|
`${item == null ? void 0 : item.title}-${item == null ? void 0 : item.id}`
|
|
5061
5268
|
))
|
|
5062
5269
|
}
|
|
5063
5270
|
),
|
|
5064
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className:
|
|
5271
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx52("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
5065
5272
|
featuredCard && /* @__PURE__ */ jsx(
|
|
5066
5273
|
NewsCard,
|
|
5067
5274
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
5068
|
-
className:
|
|
5275
|
+
className: clsx52("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
5069
5276
|
renderLink
|
|
5070
5277
|
})
|
|
5071
5278
|
),
|
|
5072
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
5279
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx52("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card) => /* @__PURE__ */ jsx(
|
|
5073
5280
|
NewsCard,
|
|
5074
5281
|
__spreadProps(__spreadValues({}, card), {
|
|
5075
|
-
className:
|
|
5282
|
+
className: clsx52("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
5076
5283
|
direction: "horizontal",
|
|
5077
5284
|
renderLink
|
|
5078
5285
|
}),
|
|
@@ -5083,11 +5290,11 @@ var FeaturedNewsHighlights = ({
|
|
|
5083
5290
|
return /* @__PURE__ */ jsx(
|
|
5084
5291
|
"div",
|
|
5085
5292
|
{
|
|
5086
|
-
className:
|
|
5293
|
+
className: clsx52("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
5087
5294
|
style: {
|
|
5088
5295
|
backgroundColor
|
|
5089
5296
|
},
|
|
5090
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
5297
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx52("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
5091
5298
|
}
|
|
5092
5299
|
);
|
|
5093
5300
|
};
|
|
@@ -5131,16 +5338,16 @@ var NewsCardList = ({
|
|
|
5131
5338
|
return /* @__PURE__ */ jsx(
|
|
5132
5339
|
"div",
|
|
5133
5340
|
{
|
|
5134
|
-
className:
|
|
5341
|
+
className: clsx52("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
5135
5342
|
style: {
|
|
5136
5343
|
backgroundColor
|
|
5137
5344
|
},
|
|
5138
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
5139
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5345
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx52("container", NewsCardList_module_default["container"]), children: [
|
|
5346
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
5140
5347
|
/* @__PURE__ */ jsx(
|
|
5141
5348
|
Input,
|
|
5142
5349
|
__spreadValues({
|
|
5143
|
-
className:
|
|
5350
|
+
className: clsx52("search-input", NewsCardList_module_default["search-input"]),
|
|
5144
5351
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5145
5352
|
placeholder: "Search News",
|
|
5146
5353
|
"aria-label": "Search News",
|
|
@@ -5148,7 +5355,7 @@ var NewsCardList = ({
|
|
|
5148
5355
|
Button,
|
|
5149
5356
|
{
|
|
5150
5357
|
variant: "nofillblack",
|
|
5151
|
-
className:
|
|
5358
|
+
className: clsx52(NewsCardList_module_default["end-action-button"]),
|
|
5152
5359
|
"aria-label": "Search",
|
|
5153
5360
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
5154
5361
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5160,7 +5367,7 @@ var NewsCardList = ({
|
|
|
5160
5367
|
} : void 0
|
|
5161
5368
|
}, searchInputProps)
|
|
5162
5369
|
),
|
|
5163
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5370
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
5164
5371
|
currentPage === 1 && /* @__PURE__ */ jsx(
|
|
5165
5372
|
FeaturedNewsHighlights2,
|
|
5166
5373
|
{
|
|
@@ -5174,7 +5381,7 @@ var NewsCardList = ({
|
|
|
5174
5381
|
] })
|
|
5175
5382
|
] }),
|
|
5176
5383
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5177
|
-
className:
|
|
5384
|
+
className: clsx52("pagination", NewsCardList_module_default["pagination"])
|
|
5178
5385
|
}) : null
|
|
5179
5386
|
] })
|
|
5180
5387
|
}
|
|
@@ -5219,15 +5426,15 @@ var BlogPost = ({
|
|
|
5219
5426
|
});
|
|
5220
5427
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5221
5428
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
5222
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5223
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5429
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx52("container", BlogPost_module_default["container"]), children: [
|
|
5430
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("header", BlogPost_module_default["header"]), children: [
|
|
5224
5431
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
5225
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5432
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx52("image", BlogPost_module_default["image"]) }))
|
|
5226
5433
|
] }),
|
|
5227
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5228
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5434
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content", BlogPost_module_default["content"]), children: [
|
|
5435
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content-top", BlogPost_module_default["content-top"]), children: [
|
|
5229
5436
|
/* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
|
|
5230
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
5437
|
+
/* @__PURE__ */ jsxs("span", { className: clsx52("content-date", BlogPost_module_default["content-date"]), children: [
|
|
5231
5438
|
"Published ",
|
|
5232
5439
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
5233
5440
|
] })
|
|
@@ -5240,7 +5447,7 @@ var BlogPost = ({
|
|
|
5240
5447
|
title: "More News",
|
|
5241
5448
|
items: relatedArticles,
|
|
5242
5449
|
hasContainer: false,
|
|
5243
|
-
className:
|
|
5450
|
+
className: clsx52("related-articles", BlogPost_module_default["related-articles"])
|
|
5244
5451
|
}
|
|
5245
5452
|
)
|
|
5246
5453
|
] }) });
|
|
@@ -5288,15 +5495,15 @@ var BlogSearchResultsList = ({
|
|
|
5288
5495
|
});
|
|
5289
5496
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5290
5497
|
const paginationNode = slots.pagination;
|
|
5291
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5292
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5293
|
-
className:
|
|
5498
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx52("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
5499
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx52("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React72.isValidElement(searchNode) ? React72.cloneElement(searchNode, {
|
|
5500
|
+
className: clsx52("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
5294
5501
|
}) : null,
|
|
5295
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5502
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
5296
5503
|
/* @__PURE__ */ jsx(
|
|
5297
5504
|
Input,
|
|
5298
5505
|
__spreadValues({
|
|
5299
|
-
className:
|
|
5506
|
+
className: clsx52("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
5300
5507
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5301
5508
|
placeholder: "Search News",
|
|
5302
5509
|
"aria-label": "Search News",
|
|
@@ -5304,7 +5511,7 @@ var BlogSearchResultsList = ({
|
|
|
5304
5511
|
Button,
|
|
5305
5512
|
{
|
|
5306
5513
|
variant: "nofillblack",
|
|
5307
|
-
className:
|
|
5514
|
+
className: clsx52(BlogSearchResultsList_module_default["end-action-button"]),
|
|
5308
5515
|
"aria-label": "Search",
|
|
5309
5516
|
onClick: () => onSearchSubmit(searchValue),
|
|
5310
5517
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5319,7 +5526,7 @@ var BlogSearchResultsList = ({
|
|
|
5319
5526
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
5320
5527
|
] }),
|
|
5321
5528
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5322
|
-
className:
|
|
5529
|
+
className: clsx52("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
5323
5530
|
}) : null
|
|
5324
5531
|
] }) });
|
|
5325
5532
|
};
|
|
@@ -5360,11 +5567,11 @@ var GlobalSearchResultsList = ({
|
|
|
5360
5567
|
});
|
|
5361
5568
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5362
5569
|
const paginationNode = slots.pagination;
|
|
5363
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5364
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5365
|
-
className:
|
|
5570
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx52("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
5571
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx52("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React72.isValidElement(searchNode) ? React72.cloneElement(searchNode, {
|
|
5572
|
+
className: clsx52("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
5366
5573
|
}) : null,
|
|
5367
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5574
|
+
/* @__PURE__ */ jsx("div", { className: clsx52("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
5368
5575
|
var _a2;
|
|
5369
5576
|
return /* @__PURE__ */ jsx(
|
|
5370
5577
|
GridItem,
|
|
@@ -5385,7 +5592,7 @@ var GlobalSearchResultsList = ({
|
|
|
5385
5592
|
);
|
|
5386
5593
|
}) }) }),
|
|
5387
5594
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5388
|
-
className:
|
|
5595
|
+
className: clsx52("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
5389
5596
|
}) : null
|
|
5390
5597
|
] }) });
|
|
5391
5598
|
};
|
|
@@ -5402,10 +5609,6 @@ var TextCenterWithMedia_module_default = {
|
|
|
5402
5609
|
thumbnailWrapper: "TextCenterWithMedia_module_thumbnailWrapper",
|
|
5403
5610
|
thumbnail: "TextCenterWithMedia_module_thumbnail",
|
|
5404
5611
|
playButton: "TextCenterWithMedia_module_playButton",
|
|
5405
|
-
modal: "TextCenterWithMedia_module_modal",
|
|
5406
|
-
modalInner: "TextCenterWithMedia_module_modalInner",
|
|
5407
|
-
modalHeader: "TextCenterWithMedia_module_modalHeader",
|
|
5408
|
-
closeButton: "TextCenterWithMedia_module_closeButton",
|
|
5409
5612
|
video: "TextCenterWithMedia_module_video"
|
|
5410
5613
|
};
|
|
5411
5614
|
var TextCenterWithMediaTitle = ({ children }) => {
|
|
@@ -5424,16 +5627,7 @@ var TextCenterWithMedia = ({
|
|
|
5424
5627
|
}) => {
|
|
5425
5628
|
var _a;
|
|
5426
5629
|
const [isOpen, setIsOpen] = useState(false);
|
|
5427
|
-
const dialogRef = useRef(null);
|
|
5428
5630
|
const videoRef = useRef(null);
|
|
5429
|
-
useEffect(() => {
|
|
5430
|
-
var _a2, _b;
|
|
5431
|
-
if (isOpen) {
|
|
5432
|
-
(_a2 = dialogRef.current) == null ? void 0 : _a2.showModal();
|
|
5433
|
-
} else {
|
|
5434
|
-
(_b = dialogRef.current) == null ? void 0 : _b.close();
|
|
5435
|
-
}
|
|
5436
|
-
}, [isOpen]);
|
|
5437
5631
|
const handleClose = () => {
|
|
5438
5632
|
if (videoRef.current) {
|
|
5439
5633
|
videoRef.current.pause();
|
|
@@ -5443,7 +5637,7 @@ var TextCenterWithMedia = ({
|
|
|
5443
5637
|
};
|
|
5444
5638
|
const slots = resolveCompoundSlots(children, { title: TextCenterWithMediaTitle });
|
|
5445
5639
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5446
|
-
return /* @__PURE__ */ jsxs("section", { className:
|
|
5640
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx52(TextCenterWithMedia_module_default.textCenterWithMedia, className), children: [
|
|
5447
5641
|
/* @__PURE__ */ jsxs(Container, { children: [
|
|
5448
5642
|
titleNode && /* @__PURE__ */ jsx("h2", { className: "h2", children: titleNode }),
|
|
5449
5643
|
/* @__PURE__ */ jsx("div", { className: TextCenterWithMedia_module_default.thumbnailWrapper, children: thumbnail && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5459,23 +5653,29 @@ var TextCenterWithMedia = ({
|
|
|
5459
5653
|
)
|
|
5460
5654
|
] }) })
|
|
5461
5655
|
] }),
|
|
5462
|
-
/* @__PURE__ */ jsx(
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5656
|
+
/* @__PURE__ */ jsx(
|
|
5657
|
+
Modal,
|
|
5658
|
+
{
|
|
5659
|
+
isOpen,
|
|
5660
|
+
onClose: handleClose,
|
|
5661
|
+
ariaLabel: "Video player",
|
|
5662
|
+
closeLabel: "Close video",
|
|
5663
|
+
children: videoUrl && isOpen && /* @__PURE__ */ jsx(
|
|
5664
|
+
ReactPlayer,
|
|
5665
|
+
{
|
|
5666
|
+
ref: videoRef,
|
|
5667
|
+
src: videoUrl,
|
|
5668
|
+
playing: autoPlay,
|
|
5669
|
+
loop,
|
|
5670
|
+
muted: mute,
|
|
5671
|
+
controls: !hideControl,
|
|
5672
|
+
className: TextCenterWithMedia_module_default.video,
|
|
5673
|
+
width: "100%",
|
|
5674
|
+
height: "100%"
|
|
5675
|
+
}
|
|
5676
|
+
)
|
|
5677
|
+
}
|
|
5678
|
+
)
|
|
5479
5679
|
] });
|
|
5480
5680
|
};
|
|
5481
5681
|
|
|
@@ -5506,7 +5706,7 @@ var QuoteSectionBlock = ({ className, title, items = [] }) => {
|
|
|
5506
5706
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
5507
5707
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
5508
5708
|
if (!items.length) return null;
|
|
5509
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5709
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(QuoteSectionBlock_module_default.quoteSectionBlock, className), children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.inner, children: [
|
|
5510
5710
|
title && /* @__PURE__ */ jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
|
|
5511
5711
|
/* @__PURE__ */ jsx("div", { className: QuoteSectionBlock_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
5512
5712
|
Swiper,
|
|
@@ -5565,12 +5765,12 @@ var PageLoader = ({ className, children }) => {
|
|
|
5565
5765
|
logo: PageLoaderLogo
|
|
5566
5766
|
});
|
|
5567
5767
|
const logoNode = slots.logo;
|
|
5568
|
-
return /* @__PURE__ */ jsx(Container, { className:
|
|
5768
|
+
return /* @__PURE__ */ jsx(Container, { className: clsx52(PageLoader_module_default["container"], className), children: /* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", PageLoader_module_default["wrapper"]), children: [
|
|
5569
5769
|
logoNode ? React72.cloneElement(logoNode, {
|
|
5570
|
-
className:
|
|
5770
|
+
className: clsx52("image-logo", PageLoader_module_default["image-logo"])
|
|
5571
5771
|
}) : null,
|
|
5572
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5573
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5772
|
+
/* @__PURE__ */ jsx("div", { className: clsx52("loader-wrapper", PageLoader_module_default["loader-wrapper"]), children: /* @__PURE__ */ jsx(Loader, {}) }),
|
|
5773
|
+
/* @__PURE__ */ jsx("span", { className: clsx52("loader-text", PageLoader_module_default["loader-text"]), children: "Loading..." })
|
|
5574
5774
|
] }) });
|
|
5575
5775
|
};
|
|
5576
5776
|
|
|
@@ -5596,8 +5796,8 @@ var TwoColTextMenu = ({
|
|
|
5596
5796
|
renderLink
|
|
5597
5797
|
}) => {
|
|
5598
5798
|
if (sections.length === 0) return null;
|
|
5599
|
-
return /* @__PURE__ */ jsx("nav", { "aria-label": ariaLabel, className:
|
|
5600
|
-
/* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsx("h2", { className:
|
|
5799
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": ariaLabel, className: clsx52(TwoColTextMenu_module_default["two-col-text-menu"], className), children: /* @__PURE__ */ jsx(Container, { className: TwoColTextMenu_module_default.container, children: /* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.grid, children: sections.map((section, index) => /* @__PURE__ */ jsxs("div", { className: TwoColTextMenu_module_default.section, children: [
|
|
5800
|
+
/* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsx("h2", { className: clsx52("h4", TwoColTextMenu_module_default.title), children: section.title }) }),
|
|
5601
5801
|
/* @__PURE__ */ jsx("ul", { className: TwoColTextMenu_module_default.list, children: section.items.map((item, itemIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ColTextMenu, __spreadProps(__spreadValues({}, item), { renderLink })) }, itemIndex)) })
|
|
5602
5802
|
] }, index)) }) }) });
|
|
5603
5803
|
};
|
|
@@ -5632,11 +5832,11 @@ var LocationsBrandCards = ({
|
|
|
5632
5832
|
text: LocationsBrandCardsText
|
|
5633
5833
|
});
|
|
5634
5834
|
const textNode = (_a = slots == null ? void 0 : slots.text) != null ? _a : subtitle;
|
|
5635
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5636
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5637
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
5835
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52("locations-brand-cards", LocationsBrandCards_module_default["locations-brand-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx52(LocationsBrandCards_module_default.container), children: [
|
|
5836
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("heading-wrapper", LocationsBrandCards_module_default["heading-wrapper"]), ref: containerRef, children: [
|
|
5837
|
+
/* @__PURE__ */ jsx("h2", { className: clsx52("locations-brand-title", "h2", LocationsBrandCards_module_default["locations-brand-title"]), children: title }),
|
|
5638
5838
|
textNode && isValidElement(textNode) ? cloneElement(textNode, {
|
|
5639
|
-
className:
|
|
5839
|
+
className: clsx52(
|
|
5640
5840
|
"locations-brand-subtitle",
|
|
5641
5841
|
"subheading",
|
|
5642
5842
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5644,7 +5844,7 @@ var LocationsBrandCards = ({
|
|
|
5644
5844
|
}) : /* @__PURE__ */ jsx(
|
|
5645
5845
|
"p",
|
|
5646
5846
|
{
|
|
5647
|
-
className:
|
|
5847
|
+
className: clsx52(
|
|
5648
5848
|
"locations-brand-subtitle",
|
|
5649
5849
|
"subheading",
|
|
5650
5850
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5653,20 +5853,20 @@ var LocationsBrandCards = ({
|
|
|
5653
5853
|
}
|
|
5654
5854
|
)
|
|
5655
5855
|
] }),
|
|
5656
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5657
|
-
/* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5658
|
-
/* @__PURE__ */ jsx(Grid, { columns: 2, className:
|
|
5856
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content-wrapper", LocationsBrandCards_module_default["content-wrapper"]), children: [
|
|
5857
|
+
/* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx52("locations-image", LocationsBrandCards_module_default["locations-image"]) })),
|
|
5858
|
+
/* @__PURE__ */ jsx(Grid, { columns: 2, className: clsx52("card-wrapper", LocationsBrandCards_module_default["card-wrapper"]), gap: 8, children: cards.map((card) => {
|
|
5659
5859
|
var _a2;
|
|
5660
5860
|
return /* @__PURE__ */ jsx(
|
|
5661
5861
|
GridItem,
|
|
5662
5862
|
{
|
|
5663
|
-
className:
|
|
5863
|
+
className: clsx52("card-item", LocationsBrandCards_module_default["card-item"]),
|
|
5664
5864
|
colSpan: { md: 1 },
|
|
5665
5865
|
children: /* @__PURE__ */ jsx(
|
|
5666
5866
|
BrandCard,
|
|
5667
5867
|
__spreadProps(__spreadValues({}, card), {
|
|
5668
5868
|
animationSettings: __spreadProps(__spreadValues({}, card.animationSettings), { triggerRef: containerRef }),
|
|
5669
|
-
className:
|
|
5869
|
+
className: clsx52("card", LocationsBrandCards_module_default["card"])
|
|
5670
5870
|
})
|
|
5671
5871
|
)
|
|
5672
5872
|
},
|
|
@@ -5720,7 +5920,7 @@ var BrandsTab = (props) => {
|
|
|
5720
5920
|
content: /* @__PURE__ */ jsxs(
|
|
5721
5921
|
"div",
|
|
5722
5922
|
{
|
|
5723
|
-
className:
|
|
5923
|
+
className: clsx52(BrandsTab_module_default["accordion-content"]),
|
|
5724
5924
|
style: {
|
|
5725
5925
|
"--theme-color": `var(${tab.theme})`
|
|
5726
5926
|
},
|
|
@@ -5736,7 +5936,7 @@ var BrandsTab = (props) => {
|
|
|
5736
5936
|
children: [
|
|
5737
5937
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
5738
5938
|
content.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
5739
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
5939
|
+
/* @__PURE__ */ jsx("h3", { className: clsx52("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
5740
5940
|
] }),
|
|
5741
5941
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
5742
5942
|
]
|
|
@@ -5762,7 +5962,7 @@ var BrandsTab = (props) => {
|
|
|
5762
5962
|
return /* @__PURE__ */ jsxs(
|
|
5763
5963
|
"button",
|
|
5764
5964
|
{
|
|
5765
|
-
className:
|
|
5965
|
+
className: clsx52(BrandsTab_module_default["accordion-header"], {
|
|
5766
5966
|
[BrandsTab_module_default["accordion-header-open"]]: isOpen
|
|
5767
5967
|
}),
|
|
5768
5968
|
style: {
|
|
@@ -5776,7 +5976,7 @@ var BrandsTab = (props) => {
|
|
|
5776
5976
|
/* @__PURE__ */ jsx(
|
|
5777
5977
|
"span",
|
|
5778
5978
|
{
|
|
5779
|
-
className:
|
|
5979
|
+
className: clsx52(BrandsTab_module_default.accordionChevron, {
|
|
5780
5980
|
[BrandsTab_module_default.accordionChevronOpen]: isOpen
|
|
5781
5981
|
}),
|
|
5782
5982
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUp", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -5789,10 +5989,10 @@ var BrandsTab = (props) => {
|
|
|
5789
5989
|
};
|
|
5790
5990
|
})) || [];
|
|
5791
5991
|
}, [tabs]);
|
|
5792
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
5992
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(BrandsTab_module_default["brands-tab"], className), children: [
|
|
5793
5993
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["text-container"], children: [
|
|
5794
5994
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: BrandsTab_module_default.title, children: title }),
|
|
5795
|
-
subtitle && /* @__PURE__ */ jsx("div", { className:
|
|
5995
|
+
subtitle && /* @__PURE__ */ jsx("div", { className: clsx52("subheading", BrandsTab_module_default.subtitle), children: subtitle })
|
|
5796
5996
|
] }),
|
|
5797
5997
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
5798
5998
|
Accordion,
|
|
@@ -5800,7 +6000,7 @@ var BrandsTab = (props) => {
|
|
|
5800
6000
|
items: accordionItems,
|
|
5801
6001
|
allowMultiple: true,
|
|
5802
6002
|
defaultOpenIds: [],
|
|
5803
|
-
className:
|
|
6003
|
+
className: clsx52(BrandsTab_module_default["accordion"])
|
|
5804
6004
|
}
|
|
5805
6005
|
) : /* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["tab-wrapper"], children: [
|
|
5806
6006
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["tab-buttons"], children: tabs == null ? void 0 : tabs.map(({ trigger, theme }, index) => {
|
|
@@ -5811,7 +6011,7 @@ var BrandsTab = (props) => {
|
|
|
5811
6011
|
variant: "tabbutton",
|
|
5812
6012
|
onClick: () => setActiveIndex(index),
|
|
5813
6013
|
isActive,
|
|
5814
|
-
className:
|
|
6014
|
+
className: clsx52(BrandsTab_module_default["tab-trigger"], isActive ? BrandsTab_module_default["tab-active"] : null),
|
|
5815
6015
|
style: {
|
|
5816
6016
|
"--theme-color": `var(${theme})`
|
|
5817
6017
|
},
|
|
@@ -5823,7 +6023,7 @@ var BrandsTab = (props) => {
|
|
|
5823
6023
|
/* @__PURE__ */ jsxs(
|
|
5824
6024
|
"div",
|
|
5825
6025
|
{
|
|
5826
|
-
className:
|
|
6026
|
+
className: clsx52(BrandsTab_module_default["tab-content-area"]),
|
|
5827
6027
|
style: {
|
|
5828
6028
|
"--theme-color": `var(${tabs == null ? void 0 : tabs[activeIndex].theme})`
|
|
5829
6029
|
},
|
|
@@ -5839,7 +6039,7 @@ var BrandsTab = (props) => {
|
|
|
5839
6039
|
children: [
|
|
5840
6040
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
5841
6041
|
content.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
5842
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
6042
|
+
/* @__PURE__ */ jsx("h3", { className: clsx52("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
5843
6043
|
] }),
|
|
5844
6044
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
5845
6045
|
]
|
|
@@ -5886,17 +6086,17 @@ var TimelineCards_module_default = {
|
|
|
5886
6086
|
"step-divider": "TimelineCards_module_step-divider"
|
|
5887
6087
|
};
|
|
5888
6088
|
var TimelineCard = ({ text, logo }) => {
|
|
5889
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
6089
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(TimelineCards_module_default["card"]), children: [
|
|
5890
6090
|
logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: TimelineCards_module_default["card-logo"] }, logo)),
|
|
5891
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6091
|
+
/* @__PURE__ */ jsx("span", { className: clsx52(TimelineCards_module_default["card-text"]), children: text })
|
|
5892
6092
|
] });
|
|
5893
6093
|
};
|
|
5894
6094
|
var TimelineSteps = ({ length }) => {
|
|
5895
6095
|
if (length === 0) return null;
|
|
5896
|
-
return /* @__PURE__ */ jsx("ol", { className:
|
|
6096
|
+
return /* @__PURE__ */ jsx("ol", { className: clsx52(TimelineCards_module_default["timeline-steps"]), children: Array.from({ length }).map((_, index) => {
|
|
5897
6097
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
5898
|
-
/* @__PURE__ */ jsxs("li", { className:
|
|
5899
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6098
|
+
/* @__PURE__ */ jsxs("li", { className: clsx52(TimelineCards_module_default["step-container"]), children: [
|
|
6099
|
+
/* @__PURE__ */ jsx("span", { className: clsx52(TimelineCards_module_default["step-content"]), "aria-hidden": "true", children: index + 1 }),
|
|
5900
6100
|
/* @__PURE__ */ jsxs("span", { className: "sr-only", children: [
|
|
5901
6101
|
"Step ",
|
|
5902
6102
|
index + 1,
|
|
@@ -5904,26 +6104,26 @@ var TimelineSteps = ({ length }) => {
|
|
|
5904
6104
|
length
|
|
5905
6105
|
] })
|
|
5906
6106
|
] }),
|
|
5907
|
-
index < length - 1 ? /* @__PURE__ */ jsx("li", { className:
|
|
6107
|
+
index < length - 1 ? /* @__PURE__ */ jsx("li", { className: clsx52(TimelineCards_module_default["step-divider"]), role: "presentation" }) : null
|
|
5908
6108
|
] }, index);
|
|
5909
6109
|
}) });
|
|
5910
6110
|
};
|
|
5911
6111
|
var TimelineCards = ({ captionText, cards, className }) => {
|
|
5912
6112
|
const slicedCards = cards == null ? void 0 : cards.slice(0, 3);
|
|
5913
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5914
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6113
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(TimelineCards_module_default["timeline-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx52(TimelineCards_module_default["container"]), children: [
|
|
6114
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52(TimelineCards_module_default["wrapper"]), children: [
|
|
5915
6115
|
/* @__PURE__ */ jsx(TimelineSteps, { length: (slicedCards == null ? void 0 : slicedCards.length) || 0 }),
|
|
5916
|
-
/* @__PURE__ */ jsx(Grid, { columns: 3, gap: 16, className:
|
|
6116
|
+
/* @__PURE__ */ jsx(Grid, { columns: 3, gap: 16, className: clsx52(TimelineCards_module_default["timeline-cards-container"]), children: slicedCards == null ? void 0 : slicedCards.map((card, index) => /* @__PURE__ */ jsx(
|
|
5917
6117
|
GridItem,
|
|
5918
6118
|
{
|
|
5919
6119
|
colSpan: { md: 3 },
|
|
5920
|
-
className:
|
|
6120
|
+
className: clsx52(TimelineCards_module_default["timeline-card-item"]),
|
|
5921
6121
|
children: /* @__PURE__ */ jsx(TimelineCard, __spreadValues({}, card))
|
|
5922
6122
|
},
|
|
5923
6123
|
index
|
|
5924
6124
|
)) })
|
|
5925
6125
|
] }),
|
|
5926
|
-
captionText && /* @__PURE__ */ jsx("p", { className:
|
|
6126
|
+
captionText && /* @__PURE__ */ jsx("p", { className: clsx52(TimelineCards_module_default["timeline-cards-text"]), children: captionText })
|
|
5927
6127
|
] }) });
|
|
5928
6128
|
};
|
|
5929
6129
|
|
|
@@ -5958,6 +6158,6 @@ function useIntersectionObserver({
|
|
|
5958
6158
|
return { observeRef, isVisible };
|
|
5959
6159
|
}
|
|
5960
6160
|
|
|
5961
|
-
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandCard, BrandsStrip, BrandsTab2 as BrandsTab, Button, Card2 as Card, CardCollection2 as CardCollection, ColTextMenu, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, GlobalSearchResultsList2 as GlobalSearchResultsList, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, Loader, LocationsBrandCards2 as LocationsBrandCards, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Navigation3 as Navigation, NewsCard, NewsCardList2 as NewsCardList, PageLoader2 as PageLoader, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, QuoteSectionBlock, ResourceCardItem, ResourcesGridList, Search, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, Text, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextCenterWithMedia2 as TextCenterWithMedia, TextEvent2 as TextEvent, TimelineCards2 as TimelineCards, TwoColTextMenu, UpcomingEventCard, UserMenu, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
6161
|
+
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandCard, BrandsStrip, BrandsTab2 as BrandsTab, Button, Card2 as Card, CardCarousel2 as CardCarousel, CardCollection2 as CardCollection, ColTextMenu, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, GlobalSearchResultsList2 as GlobalSearchResultsList, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, Loader, LocationsBrandCards2 as LocationsBrandCards, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Modal, Navigation3 as Navigation, NewsCard, NewsCardList2 as NewsCardList, PageLoader2 as PageLoader, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, QuoteSectionBlock, ResourceCardItem, ResourcesGridList, Search, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, Text, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextCenterWithMedia2 as TextCenterWithMedia, TextEvent2 as TextEvent, TimelineCards2 as TimelineCards, TwoColTextMenu, UpcomingEventCard, UserMenu, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
5962
6162
|
//# sourceMappingURL=index.mjs.map
|
|
5963
6163
|
//# sourceMappingURL=index.mjs.map
|