@digital-b2c/coreui-kit 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +481 -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 +481 -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,155 @@ 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 } = _e, card = __objRest(_e, ["isLocked", "className"]);
|
|
2436
|
+
var _a2;
|
|
2437
|
+
return /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsx(
|
|
2438
|
+
Card2,
|
|
2439
|
+
__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
|
+
) }, index);
|
|
2449
|
+
})
|
|
2450
|
+
}
|
|
2451
|
+
),
|
|
2452
|
+
footnoteNode && /* @__PURE__ */ jsx("div", { className: clsx52("body", CardCarousel_module_default.footnote), children: footnoteNode }),
|
|
2453
|
+
/* @__PURE__ */ jsx(
|
|
2454
|
+
Modal,
|
|
2455
|
+
{
|
|
2456
|
+
isOpen: !!activeVideo,
|
|
2457
|
+
onClose: () => setActiveVideo(null),
|
|
2458
|
+
ariaLabel: "Video player",
|
|
2459
|
+
closeLabel: "Close video",
|
|
2460
|
+
children: activeVideo && /* @__PURE__ */ jsx(
|
|
2461
|
+
ReactPlayer,
|
|
2462
|
+
{
|
|
2463
|
+
src: activeVideo,
|
|
2464
|
+
playing: true,
|
|
2465
|
+
controls: true,
|
|
2466
|
+
className: CardCarousel_module_default.video,
|
|
2467
|
+
width: "100%",
|
|
2468
|
+
height: "100%"
|
|
2469
|
+
}
|
|
2470
|
+
)
|
|
2471
|
+
}
|
|
2472
|
+
)
|
|
2473
|
+
] });
|
|
2474
|
+
};
|
|
2475
|
+
|
|
2476
|
+
// src/widgets/CardCarousel/index.ts
|
|
2477
|
+
var CardCarousel2 = Object.assign(CardCarousel, {
|
|
2478
|
+
Title: CardCarouselTitle,
|
|
2479
|
+
Subtitle: CardCarouselSubtitle,
|
|
2480
|
+
Footnote: CardCarouselFootnote
|
|
2481
|
+
});
|
|
2277
2482
|
var CardCollectionTitle = ({ children }) => {
|
|
2278
2483
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
2279
2484
|
};
|
|
@@ -2353,13 +2558,13 @@ var CardCollection = ({
|
|
|
2353
2558
|
Container,
|
|
2354
2559
|
{
|
|
2355
2560
|
ref: container,
|
|
2356
|
-
className:
|
|
2561
|
+
className: clsx52(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
2357
2562
|
children: [
|
|
2358
2563
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
2359
2564
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2360
2565
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
2361
2566
|
] }),
|
|
2362
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
2567
|
+
/* @__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
2568
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
2364
2569
|
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
2570
|
Card2,
|
|
@@ -2460,7 +2665,7 @@ var ContactModule = ({
|
|
|
2460
2665
|
},
|
|
2461
2666
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
2462
2667
|
);
|
|
2463
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
2668
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx52(ContactModule_module_default["contact-module"], className), children: [
|
|
2464
2669
|
blurred && /* @__PURE__ */ jsx(
|
|
2465
2670
|
"div",
|
|
2466
2671
|
{
|
|
@@ -2475,8 +2680,8 @@ var ContactModule = ({
|
|
|
2475
2680
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2476
2681
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2477
2682
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2478
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2479
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2683
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
2684
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx52(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2480
2685
|
] }),
|
|
2481
2686
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
2482
2687
|
Button,
|
|
@@ -2545,7 +2750,7 @@ var Footer = ({
|
|
|
2545
2750
|
disclaimer: FooterDisclaimer
|
|
2546
2751
|
});
|
|
2547
2752
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2548
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
2753
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx52(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2549
2754
|
supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2550
2755
|
/* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2551
2756
|
/* @__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 +2779,7 @@ var Footer = ({
|
|
|
2574
2779
|
index
|
|
2575
2780
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2576
2781
|
) }) }),
|
|
2577
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2782
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2578
2783
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2579
2784
|
] }),
|
|
2580
2785
|
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 +2805,7 @@ var LogoBar_module_default = {
|
|
|
2600
2805
|
};
|
|
2601
2806
|
var LogoBar = ({ className, items }) => {
|
|
2602
2807
|
if (!items || items.length === 0) return null;
|
|
2603
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2808
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2604
2809
|
return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2605
2810
|
item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2606
2811
|
item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2671,17 +2876,17 @@ var HeroBanner = ({
|
|
|
2671
2876
|
});
|
|
2672
2877
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2673
2878
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2674
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2879
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], HeroBanner_module_default[type], className), children: [
|
|
2675
2880
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2676
2881
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2677
|
-
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className:
|
|
2882
|
+
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: clsx52(HeroBanner_module_default.text, vMainHeroBanner && HeroBanner_module_default.fullWidth), children: [
|
|
2678
2883
|
isTitleLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: HeroBanner_module_default.titleLogo }, logo)),
|
|
2679
2884
|
titleNode && /* @__PURE__ */ jsx(
|
|
2680
2885
|
Text,
|
|
2681
2886
|
{
|
|
2682
2887
|
tag: "h2",
|
|
2683
2888
|
promoteToH1,
|
|
2684
|
-
className:
|
|
2889
|
+
className: clsx52(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2685
2890
|
children: titleNode
|
|
2686
2891
|
}
|
|
2687
2892
|
),
|
|
@@ -2690,7 +2895,7 @@ var HeroBanner = ({
|
|
|
2690
2895
|
{
|
|
2691
2896
|
tag: "div",
|
|
2692
2897
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2693
|
-
className:
|
|
2898
|
+
className: clsx52(HeroBanner_module_default.subtitle, "subheading"),
|
|
2694
2899
|
children: subtitleNode
|
|
2695
2900
|
}
|
|
2696
2901
|
)
|
|
@@ -2763,7 +2968,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2763
2968
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2764
2969
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
2765
2970
|
if (!items.length) return null;
|
|
2766
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2971
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2767
2972
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
2768
2973
|
Swiper,
|
|
2769
2974
|
{
|
|
@@ -2775,7 +2980,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2775
2980
|
children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.card, children: [
|
|
2776
2981
|
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
2982
|
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardContent, children: [
|
|
2778
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
2983
|
+
/* @__PURE__ */ jsx("h2", { className: clsx52(HeroBannerCarousel_module_default.cardTitle, "h3"), children: item.title }),
|
|
2779
2984
|
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardBottom, children: [
|
|
2780
2985
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardBody, children: item.body }),
|
|
2781
2986
|
item.ctas.length > 0 && /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardCtaContainer, children: item.ctas.map((cta, ctaIndex) => /* @__PURE__ */ jsx(
|
|
@@ -2810,7 +3015,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2810
3015
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
2811
3016
|
"button",
|
|
2812
3017
|
{
|
|
2813
|
-
className:
|
|
3018
|
+
className: clsx52(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2814
3019
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2815
3020
|
"aria-label": `Go to slide ${index + 1}`
|
|
2816
3021
|
},
|
|
@@ -2891,7 +3096,7 @@ var AccordionItem = ({
|
|
|
2891
3096
|
return /* @__PURE__ */ jsxs(
|
|
2892
3097
|
"div",
|
|
2893
3098
|
{
|
|
2894
|
-
className:
|
|
3099
|
+
className: clsx52(
|
|
2895
3100
|
Accordion_module_default.accordionItem,
|
|
2896
3101
|
{
|
|
2897
3102
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2905,18 +3110,18 @@ var AccordionItem = ({
|
|
|
2905
3110
|
}) : /* @__PURE__ */ jsxs(
|
|
2906
3111
|
"button",
|
|
2907
3112
|
{
|
|
2908
|
-
className:
|
|
3113
|
+
className: clsx52(Accordion_module_default.accordionHeader, {
|
|
2909
3114
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2910
3115
|
}),
|
|
2911
3116
|
onClick: handleToggle,
|
|
2912
3117
|
"aria-expanded": isOpen,
|
|
2913
3118
|
"aria-label": `Toggle ${title}`,
|
|
2914
3119
|
children: [
|
|
2915
|
-
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className:
|
|
3120
|
+
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx52("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
2916
3121
|
/* @__PURE__ */ jsx(
|
|
2917
3122
|
"span",
|
|
2918
3123
|
{
|
|
2919
|
-
className:
|
|
3124
|
+
className: clsx52(Accordion_module_default.accordionChevron, {
|
|
2920
3125
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2921
3126
|
}),
|
|
2922
3127
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2929,7 +3134,7 @@ var AccordionItem = ({
|
|
|
2929
3134
|
"div",
|
|
2930
3135
|
{
|
|
2931
3136
|
ref: contentRef,
|
|
2932
|
-
className:
|
|
3137
|
+
className: clsx52("accordionContent", Accordion_module_default.accordionContent),
|
|
2933
3138
|
style: {
|
|
2934
3139
|
overflow: "hidden",
|
|
2935
3140
|
height: 0
|
|
@@ -2939,7 +3144,7 @@ var AccordionItem = ({
|
|
|
2939
3144
|
"div",
|
|
2940
3145
|
{
|
|
2941
3146
|
ref: contentInnerRef,
|
|
2942
|
-
className:
|
|
3147
|
+
className: clsx52("accordionContentInner", Accordion_module_default.accordionContentInner),
|
|
2943
3148
|
children
|
|
2944
3149
|
}
|
|
2945
3150
|
)
|
|
@@ -2976,7 +3181,7 @@ var Accordion = ({
|
|
|
2976
3181
|
if (items.length === 0) {
|
|
2977
3182
|
return null;
|
|
2978
3183
|
}
|
|
2979
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3184
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(Accordion_module_default.accordion, className), children: items.map((item) => {
|
|
2980
3185
|
return /* @__PURE__ */ jsx(
|
|
2981
3186
|
AccordionItem,
|
|
2982
3187
|
{
|
|
@@ -3069,7 +3274,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3069
3274
|
};
|
|
3070
3275
|
})) || [];
|
|
3071
3276
|
}, [tabs]);
|
|
3072
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
3277
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
3073
3278
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
3074
3279
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
3075
3280
|
subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -3085,7 +3290,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3085
3290
|
},
|
|
3086
3291
|
index
|
|
3087
3292
|
)) }),
|
|
3088
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3293
|
+
/* @__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
3294
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
3090
3295
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3091
3296
|
((_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 +3390,22 @@ var MiniBanner = ({
|
|
|
3185
3390
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
3186
3391
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
3187
3392
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
3188
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
3393
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
3189
3394
|
((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:
|
|
3395
|
+
/* @__PURE__ */ jsx(Container, { className: clsx52(MiniBanner_module_default.container), children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
3191
3396
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
3192
3397
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
3193
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3398
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx52(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
3194
3399
|
(titleNode || goBackNode) && /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
3195
3400
|
goBackNode ? React72.cloneElement(goBackNode, {
|
|
3196
|
-
className:
|
|
3401
|
+
className: clsx52("back-button", MiniBanner_module_default["back-button"])
|
|
3197
3402
|
}) : null,
|
|
3198
3403
|
titleNode && /* @__PURE__ */ jsx(
|
|
3199
3404
|
Text,
|
|
3200
3405
|
{
|
|
3201
3406
|
tag: "div",
|
|
3202
3407
|
promoteToH1,
|
|
3203
|
-
className:
|
|
3408
|
+
className: clsx52(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"),
|
|
3204
3409
|
children: titleNode
|
|
3205
3410
|
}
|
|
3206
3411
|
)
|
|
@@ -3208,7 +3413,7 @@ var MiniBanner = ({
|
|
|
3208
3413
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3209
3414
|
"div",
|
|
3210
3415
|
{
|
|
3211
|
-
className:
|
|
3416
|
+
className: clsx52(MiniBanner_module_default.title, MiniBanner_module_default.subtitle, {
|
|
3212
3417
|
subheading: isMiniBannerNoBG,
|
|
3213
3418
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3214
3419
|
h4: isMiniBannerTextLeft
|
|
@@ -3284,7 +3489,7 @@ var MiniSectionCta = ({
|
|
|
3284
3489
|
return /* @__PURE__ */ jsx(
|
|
3285
3490
|
"div",
|
|
3286
3491
|
{
|
|
3287
|
-
className:
|
|
3492
|
+
className: clsx52(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3288
3493
|
style: __spreadValues({}, hasModuleStyles && {
|
|
3289
3494
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
3290
3495
|
"--custom-color": moduleStyles.color
|
|
@@ -3295,7 +3500,7 @@ var MiniSectionCta = ({
|
|
|
3295
3500
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3296
3501
|
"div",
|
|
3297
3502
|
{
|
|
3298
|
-
className:
|
|
3503
|
+
className: clsx52(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
3299
3504
|
children: subtitleNode
|
|
3300
3505
|
}
|
|
3301
3506
|
)
|
|
@@ -3370,7 +3575,7 @@ var NavigationBrandBars_module_default = {
|
|
|
3370
3575
|
};
|
|
3371
3576
|
var NavigationBrandBars = ({ brandBars, className }) => {
|
|
3372
3577
|
if ((brandBars == null ? void 0 : brandBars.length) === 0) return;
|
|
3373
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3578
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(NavigationBrandBars_module_default.brandBars, className), "aria-hidden": "true", children: brandBars && brandBars.map((bar, index) => /* @__PURE__ */ jsx(
|
|
3374
3579
|
"span",
|
|
3375
3580
|
{
|
|
3376
3581
|
className: NavigationBrandBars_module_default.brandBar,
|
|
@@ -3445,7 +3650,7 @@ var NavigationDesktop = ({
|
|
|
3445
3650
|
"a",
|
|
3446
3651
|
{
|
|
3447
3652
|
href: (_b = item.cta) == null ? void 0 : _b.url,
|
|
3448
|
-
className:
|
|
3653
|
+
className: clsx52(NavigationDesktop_module_default.navTabLink, isCurrent2 && NavigationDesktop_module_default.navTabActive),
|
|
3449
3654
|
"aria-current": isCurrent2 ? "page" : void 0,
|
|
3450
3655
|
target: ((_c = item.cta) == null ? void 0 : _c.isExternal) ? "_blank" : void 0,
|
|
3451
3656
|
rel: ((_d = item.cta) == null ? void 0 : _d.isExternal) ? "noopener noreferrer" : void 0,
|
|
@@ -3464,7 +3669,7 @@ var NavigationDesktop = ({
|
|
|
3464
3669
|
{
|
|
3465
3670
|
type: "button",
|
|
3466
3671
|
id: `${baseId}-trigger-${index}`,
|
|
3467
|
-
className:
|
|
3672
|
+
className: clsx52(
|
|
3468
3673
|
NavigationDesktop_module_default.navTabLink,
|
|
3469
3674
|
NavigationDesktop_module_default.navTabTrigger,
|
|
3470
3675
|
(isCurrent || isOpen) && NavigationDesktop_module_default.navTabActive,
|
|
@@ -3538,7 +3743,7 @@ var NavigationDropdown = ({
|
|
|
3538
3743
|
"div",
|
|
3539
3744
|
{
|
|
3540
3745
|
id: panelId,
|
|
3541
|
-
className:
|
|
3746
|
+
className: clsx52(NavigationDropdown_module_default.dropdownPanel, NavigationDropdown_module_default.dropdownPanelOpen),
|
|
3542
3747
|
onMouseEnter,
|
|
3543
3748
|
onMouseLeave,
|
|
3544
3749
|
children: /* @__PURE__ */ jsxs("div", { className: NavigationDropdown_module_default.dropdownInner, children: [
|
|
@@ -3547,7 +3752,7 @@ var NavigationDropdown = ({
|
|
|
3547
3752
|
return /* @__PURE__ */ jsx(
|
|
3548
3753
|
"li",
|
|
3549
3754
|
{
|
|
3550
|
-
className:
|
|
3755
|
+
className: clsx52(NavigationDropdown_module_default.dropdownLinkItem, {
|
|
3551
3756
|
[NavigationDropdown_module_default.dropdownLinkSpacer]: sub.variant === "subMenuSpacer"
|
|
3552
3757
|
}),
|
|
3553
3758
|
children: /* @__PURE__ */ jsx(
|
|
@@ -3659,7 +3864,7 @@ var NavigationMobile = ({
|
|
|
3659
3864
|
"div",
|
|
3660
3865
|
{
|
|
3661
3866
|
id,
|
|
3662
|
-
className:
|
|
3867
|
+
className: clsx52(NavigationMobile_module_default.mobileMenu, isOpen && NavigationMobile_module_default.mobileMenuOpen),
|
|
3663
3868
|
role: "dialog",
|
|
3664
3869
|
"aria-modal": "true",
|
|
3665
3870
|
"aria-label": "Navigation menu",
|
|
@@ -3705,7 +3910,7 @@ var NavigationMobile = ({
|
|
|
3705
3910
|
/* @__PURE__ */ jsx(
|
|
3706
3911
|
"span",
|
|
3707
3912
|
{
|
|
3708
|
-
className:
|
|
3913
|
+
className: clsx52(
|
|
3709
3914
|
NavigationMobile_module_default.mobileItemChevron,
|
|
3710
3915
|
isExpanded && NavigationMobile_module_default.mobileItemChevronOpen
|
|
3711
3916
|
),
|
|
@@ -3720,7 +3925,7 @@ var NavigationMobile = ({
|
|
|
3720
3925
|
"div",
|
|
3721
3926
|
{
|
|
3722
3927
|
id: subMenuId,
|
|
3723
|
-
className:
|
|
3928
|
+
className: clsx52(NavigationMobile_module_default.mobileSubItems, isExpanded && NavigationMobile_module_default.mobileSubItemsOpen),
|
|
3724
3929
|
children: /* @__PURE__ */ jsx("ul", { className: NavigationMobile_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3725
3930
|
(subItem, i) => {
|
|
3726
3931
|
var _a2, _b2;
|
|
@@ -3728,7 +3933,7 @@ var NavigationMobile = ({
|
|
|
3728
3933
|
"a",
|
|
3729
3934
|
{
|
|
3730
3935
|
href: (_a2 = subItem.cta) == null ? void 0 : _a2.url,
|
|
3731
|
-
className:
|
|
3936
|
+
className: clsx52(
|
|
3732
3937
|
NavigationMobile_module_default.mobileSubLink,
|
|
3733
3938
|
subItem.isActive && NavigationMobile_module_default.mobileSubLinkActive
|
|
3734
3939
|
),
|
|
@@ -3759,7 +3964,7 @@ var NavigationMobile = ({
|
|
|
3759
3964
|
"div",
|
|
3760
3965
|
{
|
|
3761
3966
|
id,
|
|
3762
|
-
className:
|
|
3967
|
+
className: clsx52(NavigationMobile_module_default.internalMobileMenu, isOpen && NavigationMobile_module_default.internalMobileMenuOpen),
|
|
3763
3968
|
role: "dialog",
|
|
3764
3969
|
"aria-modal": "true",
|
|
3765
3970
|
"aria-label": "Navigation menu",
|
|
@@ -3811,7 +4016,7 @@ var NavigationMobile = ({
|
|
|
3811
4016
|
/* @__PURE__ */ jsx(
|
|
3812
4017
|
"span",
|
|
3813
4018
|
{
|
|
3814
|
-
className:
|
|
4019
|
+
className: clsx52(
|
|
3815
4020
|
NavigationMobile_module_default.internalMobileItemChevron,
|
|
3816
4021
|
isExpanded && NavigationMobile_module_default.internalMobileItemChevronOpen
|
|
3817
4022
|
),
|
|
@@ -3826,7 +4031,7 @@ var NavigationMobile = ({
|
|
|
3826
4031
|
"div",
|
|
3827
4032
|
{
|
|
3828
4033
|
id: subMenuId,
|
|
3829
|
-
className:
|
|
4034
|
+
className: clsx52(
|
|
3830
4035
|
NavigationMobile_module_default.internalMobileSubItems,
|
|
3831
4036
|
isExpanded && NavigationMobile_module_default.internalMobileSubItemsOpen
|
|
3832
4037
|
),
|
|
@@ -3837,7 +4042,7 @@ var NavigationMobile = ({
|
|
|
3837
4042
|
"a",
|
|
3838
4043
|
{
|
|
3839
4044
|
href: (_a2 = sub.cta) == null ? void 0 : _a2.url,
|
|
3840
|
-
className:
|
|
4045
|
+
className: clsx52(
|
|
3841
4046
|
NavigationMobile_module_default.internalMobileSubLink,
|
|
3842
4047
|
sub.isActive && NavigationMobile_module_default.internalMobileSubLinkActive
|
|
3843
4048
|
),
|
|
@@ -3996,7 +4201,7 @@ var Navigation2 = (props) => {
|
|
|
3996
4201
|
const logo = mainLogo ? /* @__PURE__ */ jsx(
|
|
3997
4202
|
Picture,
|
|
3998
4203
|
{
|
|
3999
|
-
className:
|
|
4204
|
+
className: clsx52(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile),
|
|
4000
4205
|
src: mainLogo,
|
|
4001
4206
|
alt: logoAlt
|
|
4002
4207
|
}
|
|
@@ -4006,7 +4211,7 @@ var Navigation2 = (props) => {
|
|
|
4006
4211
|
"nav",
|
|
4007
4212
|
{
|
|
4008
4213
|
ref: navRef,
|
|
4009
|
-
className:
|
|
4214
|
+
className: clsx52(
|
|
4010
4215
|
Navigation_module_default.navigation,
|
|
4011
4216
|
dropdownOpen && Navigation_module_default.dropdownOpen,
|
|
4012
4217
|
// External-only transparent / hover treatment.
|
|
@@ -4026,7 +4231,7 @@ var Navigation2 = (props) => {
|
|
|
4026
4231
|
{
|
|
4027
4232
|
mainLogo,
|
|
4028
4233
|
homeCta,
|
|
4029
|
-
className:
|
|
4234
|
+
className: clsx52(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile)
|
|
4030
4235
|
}
|
|
4031
4236
|
) : logo,
|
|
4032
4237
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
@@ -4058,7 +4263,7 @@ var Navigation2 = (props) => {
|
|
|
4058
4263
|
loginVariant: isTransparent ? "ghost" : "nofillblack"
|
|
4059
4264
|
}
|
|
4060
4265
|
) : user ? /* @__PURE__ */ jsx(UserMenu, { user }) : userMenuFallbackNode ? cloneElement(userMenuFallbackNode, {
|
|
4061
|
-
className:
|
|
4266
|
+
className: clsx52("userMenuFallback", Navigation_module_default["userMenuFallback"])
|
|
4062
4267
|
}) : null
|
|
4063
4268
|
] }),
|
|
4064
4269
|
!isTabletBelow && /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.bottomRow, children: [
|
|
@@ -4165,7 +4370,7 @@ var PracticePathCards = ({
|
|
|
4165
4370
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4166
4371
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4167
4372
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
4168
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4373
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
4169
4374
|
(titleNode || subtitleNode || (cta == null ? void 0 : cta.url)) && /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
4170
4375
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
4171
4376
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -4219,8 +4424,8 @@ var Teaser5050With3Text = ({
|
|
|
4219
4424
|
title: Teaser5050With3TextTitle
|
|
4220
4425
|
});
|
|
4221
4426
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4222
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4223
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4427
|
+
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: [
|
|
4428
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
4224
4429
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
4225
4430
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
4226
4431
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -4272,7 +4477,7 @@ var Teaser5050WithCta = ({
|
|
|
4272
4477
|
return /* @__PURE__ */ jsx(
|
|
4273
4478
|
"div",
|
|
4274
4479
|
{
|
|
4275
|
-
className:
|
|
4480
|
+
className: clsx52(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
4276
4481
|
style: __spreadValues({}, hasModuleStyles && {
|
|
4277
4482
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
4278
4483
|
"--custom-color": moduleStyles.color
|
|
@@ -4280,8 +4485,8 @@ var Teaser5050WithCta = ({
|
|
|
4280
4485
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
4281
4486
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
4282
4487
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
4283
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4284
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4488
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx52("h3", Teaser5050WithCta_module_default.title), children: titleNode }),
|
|
4489
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx52("subheading", Teaser5050WithCta_module_default.subheading), children: subtitleNode })
|
|
4285
4490
|
] }),
|
|
4286
4491
|
/* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
4287
4492
|
Button,
|
|
@@ -4332,7 +4537,7 @@ var Carousel = (_a) => {
|
|
|
4332
4537
|
},
|
|
4333
4538
|
role: "region",
|
|
4334
4539
|
"aria-label": ariaLabel,
|
|
4335
|
-
className:
|
|
4540
|
+
className: clsx52(Carousel_module_default.carousel, className),
|
|
4336
4541
|
spaceBetween: 0,
|
|
4337
4542
|
slidesPerView: "auto",
|
|
4338
4543
|
modules: [FreeMode, A11y],
|
|
@@ -4342,7 +4547,7 @@ var Carousel = (_a) => {
|
|
|
4342
4547
|
children: slides.map((slide, index) => /* @__PURE__ */ jsx(
|
|
4343
4548
|
SwiperSlide,
|
|
4344
4549
|
{
|
|
4345
|
-
className:
|
|
4550
|
+
className: clsx52(Carousel_module_default["carousel-item"], props.slideClass),
|
|
4346
4551
|
children: slide
|
|
4347
4552
|
},
|
|
4348
4553
|
index
|
|
@@ -4400,15 +4605,15 @@ var EventList = ({
|
|
|
4400
4605
|
return /* @__PURE__ */ jsx(
|
|
4401
4606
|
"div",
|
|
4402
4607
|
{
|
|
4403
|
-
className:
|
|
4608
|
+
className: clsx52(
|
|
4404
4609
|
"event-list-module",
|
|
4405
4610
|
EventList_module_default["event-list-module"],
|
|
4406
4611
|
backgroundColor && EventList_module_default[backgroundColor],
|
|
4407
4612
|
className
|
|
4408
4613
|
),
|
|
4409
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4614
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx52(EventList_module_default["event-list-container"]), children: [
|
|
4410
4615
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
4411
|
-
titleNode && /* @__PURE__ */ jsx("h2", { className:
|
|
4616
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx52(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
4412
4617
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
4413
4618
|
Button,
|
|
4414
4619
|
{
|
|
@@ -4426,7 +4631,7 @@ var EventList = ({
|
|
|
4426
4631
|
Carousel,
|
|
4427
4632
|
{
|
|
4428
4633
|
"aria-label": "Upcoming events",
|
|
4429
|
-
wrapperClass:
|
|
4634
|
+
wrapperClass: clsx52(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
4430
4635
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
4431
4636
|
spaceBetween: 16,
|
|
4432
4637
|
slides: items.map((item) => {
|
|
@@ -4434,7 +4639,7 @@ var EventList = ({
|
|
|
4434
4639
|
return /* @__PURE__ */ jsx(
|
|
4435
4640
|
UpcomingEventCard,
|
|
4436
4641
|
__spreadValues({
|
|
4437
|
-
className:
|
|
4642
|
+
className: clsx52(EventList_module_default["event-card"]),
|
|
4438
4643
|
direction: "vertical",
|
|
4439
4644
|
showImage: false
|
|
4440
4645
|
}, item),
|
|
@@ -4447,7 +4652,7 @@ var EventList = ({
|
|
|
4447
4652
|
"ul",
|
|
4448
4653
|
{
|
|
4449
4654
|
"aria-label": "Upcoming events",
|
|
4450
|
-
className:
|
|
4655
|
+
className: clsx52(
|
|
4451
4656
|
EventList_module_default["event-list-wrapper"],
|
|
4452
4657
|
EventList_module_default["horizontal"],
|
|
4453
4658
|
EventList_module_default[variant]
|
|
@@ -4457,11 +4662,11 @@ var EventList = ({
|
|
|
4457
4662
|
return /* @__PURE__ */ jsx(
|
|
4458
4663
|
"li",
|
|
4459
4664
|
{
|
|
4460
|
-
className:
|
|
4665
|
+
className: clsx52(EventList_module_default["card-list-item"]),
|
|
4461
4666
|
children: /* @__PURE__ */ jsx(
|
|
4462
4667
|
UpcomingEventCard,
|
|
4463
4668
|
__spreadProps(__spreadValues({}, item), {
|
|
4464
|
-
className:
|
|
4669
|
+
className: clsx52(EventList_module_default["card-item"]),
|
|
4465
4670
|
showImage: false,
|
|
4466
4671
|
direction: "vertical"
|
|
4467
4672
|
})
|
|
@@ -4476,7 +4681,7 @@ var EventList = ({
|
|
|
4476
4681
|
"ul",
|
|
4477
4682
|
{
|
|
4478
4683
|
"aria-label": "Upcoming events",
|
|
4479
|
-
className:
|
|
4684
|
+
className: clsx52(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
4480
4685
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
4481
4686
|
var _a2, _b, _c;
|
|
4482
4687
|
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 +4690,7 @@ var EventList = ({
|
|
|
4485
4690
|
)
|
|
4486
4691
|
] }),
|
|
4487
4692
|
!isNotEmpty && emptyNode ? React72.cloneElement(emptyNode, {
|
|
4488
|
-
className:
|
|
4693
|
+
className: clsx52("empty-search-result", EventList_module_default["empty-search-result"])
|
|
4489
4694
|
}) : null
|
|
4490
4695
|
] })
|
|
4491
4696
|
}
|
|
@@ -4529,9 +4734,9 @@ var TextEvent = (props) => {
|
|
|
4529
4734
|
});
|
|
4530
4735
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4531
4736
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
4532
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4737
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(TextEvent_module_default.textEvent, className), children: [
|
|
4533
4738
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
4534
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4739
|
+
/* @__PURE__ */ jsx("div", { className: clsx52(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
4535
4740
|
] });
|
|
4536
4741
|
};
|
|
4537
4742
|
|
|
@@ -4568,13 +4773,13 @@ var TextBody = (props) => {
|
|
|
4568
4773
|
return /* @__PURE__ */ jsxs(
|
|
4569
4774
|
Container,
|
|
4570
4775
|
{
|
|
4571
|
-
className:
|
|
4776
|
+
className: clsx52(TextBody_module_default.textBody, isArticleBigPadding && TextBody_module_default.articleBigPadding, className),
|
|
4572
4777
|
children: [
|
|
4573
4778
|
titleNode && /* @__PURE__ */ jsx(
|
|
4574
4779
|
Text,
|
|
4575
4780
|
{
|
|
4576
4781
|
tag: isTableCenter ? "h4" : "h3",
|
|
4577
|
-
className:
|
|
4782
|
+
className: clsx52(TextBody_module_default.title, isTableCenter ? "text-center" : titleAlign),
|
|
4578
4783
|
children: titleNode
|
|
4579
4784
|
}
|
|
4580
4785
|
),
|
|
@@ -4621,7 +4826,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4621
4826
|
});
|
|
4622
4827
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4623
4828
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4624
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4829
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
4625
4830
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
4626
4831
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
4627
4832
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -4629,7 +4834,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4629
4834
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
4630
4835
|
"div",
|
|
4631
4836
|
{
|
|
4632
|
-
className:
|
|
4837
|
+
className: clsx52(
|
|
4633
4838
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
4634
4839
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
4635
4840
|
),
|
|
@@ -4758,7 +4963,7 @@ var ResourcesGridList = ({
|
|
|
4758
4963
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
4759
4964
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
4760
4965
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
4761
|
-
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className:
|
|
4966
|
+
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx52(ResourcesGridList_module_default.widget, className), children: [
|
|
4762
4967
|
/* @__PURE__ */ jsx(
|
|
4763
4968
|
FilterBar,
|
|
4764
4969
|
{
|
|
@@ -4777,7 +4982,7 @@ var ResourcesGridList = ({
|
|
|
4777
4982
|
isMobile && /* @__PURE__ */ jsxs(
|
|
4778
4983
|
"div",
|
|
4779
4984
|
{
|
|
4780
|
-
className:
|
|
4985
|
+
className: clsx52(
|
|
4781
4986
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
4782
4987
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
4783
4988
|
),
|
|
@@ -4788,7 +4993,7 @@ var ResourcesGridList = ({
|
|
|
4788
4993
|
return /* @__PURE__ */ jsxs(
|
|
4789
4994
|
"li",
|
|
4790
4995
|
{
|
|
4791
|
-
className:
|
|
4996
|
+
className: clsx52(
|
|
4792
4997
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
4793
4998
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
4794
4999
|
),
|
|
@@ -4833,7 +5038,7 @@ var ResourcesGridList = ({
|
|
|
4833
5038
|
onSelect: handleSelectCategory
|
|
4834
5039
|
}
|
|
4835
5040
|
),
|
|
4836
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5041
|
+
/* @__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
5042
|
] }),
|
|
4838
5043
|
totalPages > 1 && /* @__PURE__ */ jsx(
|
|
4839
5044
|
Pagination,
|
|
@@ -4872,7 +5077,7 @@ var Grid = ({
|
|
|
4872
5077
|
return /* @__PURE__ */ jsx(
|
|
4873
5078
|
Component,
|
|
4874
5079
|
{
|
|
4875
|
-
className:
|
|
5080
|
+
className: clsx52("grid", Grid_module_default.grid, className),
|
|
4876
5081
|
role,
|
|
4877
5082
|
"aria-label": ariaLabel,
|
|
4878
5083
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4897,7 +5102,7 @@ var GridItem = ({
|
|
|
4897
5102
|
return /* @__PURE__ */ jsx(
|
|
4898
5103
|
Component,
|
|
4899
5104
|
{
|
|
4900
|
-
className:
|
|
5105
|
+
className: clsx52("grid-item", Grid_module_default["grid-item"], className),
|
|
4901
5106
|
role,
|
|
4902
5107
|
"aria-label": ariaLabel,
|
|
4903
5108
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4945,13 +5150,13 @@ var BlogCardGrid = ({
|
|
|
4945
5150
|
title: BlogCardGridTitle
|
|
4946
5151
|
});
|
|
4947
5152
|
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:
|
|
5153
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
5154
|
+
title && /* @__PURE__ */ jsxs("div", { className: clsx52("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
5155
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx52("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
5156
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx52("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4952
5157
|
Button,
|
|
4953
5158
|
{
|
|
4954
|
-
className:
|
|
5159
|
+
className: clsx52("cta", BlogCardGrid_module_default["cta"]),
|
|
4955
5160
|
variant: "nofillblack",
|
|
4956
5161
|
href: cta.url,
|
|
4957
5162
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4976,11 +5181,11 @@ var BlogCardGrid = ({
|
|
|
4976
5181
|
return /* @__PURE__ */ jsx(
|
|
4977
5182
|
"div",
|
|
4978
5183
|
{
|
|
4979
|
-
className:
|
|
5184
|
+
className: clsx52("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
4980
5185
|
style: {
|
|
4981
5186
|
backgroundColor
|
|
4982
5187
|
},
|
|
4983
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
5188
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx52("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
4984
5189
|
}
|
|
4985
5190
|
);
|
|
4986
5191
|
};
|
|
@@ -5028,13 +5233,13 @@ var FeaturedNewsHighlights = ({
|
|
|
5028
5233
|
const sideCards = items.slice(1);
|
|
5029
5234
|
const isVariantHome = variant === "home";
|
|
5030
5235
|
const isBelowTablet = is("tablet", "below");
|
|
5031
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
5032
|
-
title && cta && /* @__PURE__ */ jsxs("div", { className:
|
|
5236
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
5237
|
+
title && cta && /* @__PURE__ */ jsxs("div", { className: clsx52("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
5033
5238
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
5034
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
5239
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx52("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
5035
5240
|
Button,
|
|
5036
5241
|
{
|
|
5037
|
-
className:
|
|
5242
|
+
className: clsx52("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
5038
5243
|
variant: "nofillblack",
|
|
5039
5244
|
href: cta.url,
|
|
5040
5245
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -5046,33 +5251,33 @@ var FeaturedNewsHighlights = ({
|
|
|
5046
5251
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
|
|
5047
5252
|
Carousel,
|
|
5048
5253
|
{
|
|
5049
|
-
className:
|
|
5254
|
+
className: clsx52("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
5050
5255
|
"aria-label": "featured news",
|
|
5051
|
-
wrapperClass:
|
|
5256
|
+
wrapperClass: clsx52(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
5052
5257
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
5053
5258
|
spaceBetween: 16,
|
|
5054
5259
|
slides: items.map((item) => /* @__PURE__ */ jsx(
|
|
5055
5260
|
NewsCard,
|
|
5056
5261
|
__spreadProps(__spreadValues({}, item), {
|
|
5057
5262
|
direction: "vertical",
|
|
5058
|
-
className:
|
|
5263
|
+
className: clsx52("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
5059
5264
|
}),
|
|
5060
5265
|
`${item == null ? void 0 : item.title}-${item == null ? void 0 : item.id}`
|
|
5061
5266
|
))
|
|
5062
5267
|
}
|
|
5063
5268
|
),
|
|
5064
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className:
|
|
5269
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx52("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
5065
5270
|
featuredCard && /* @__PURE__ */ jsx(
|
|
5066
5271
|
NewsCard,
|
|
5067
5272
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
5068
|
-
className:
|
|
5273
|
+
className: clsx52("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
5069
5274
|
renderLink
|
|
5070
5275
|
})
|
|
5071
5276
|
),
|
|
5072
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
5277
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx52("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card) => /* @__PURE__ */ jsx(
|
|
5073
5278
|
NewsCard,
|
|
5074
5279
|
__spreadProps(__spreadValues({}, card), {
|
|
5075
|
-
className:
|
|
5280
|
+
className: clsx52("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
5076
5281
|
direction: "horizontal",
|
|
5077
5282
|
renderLink
|
|
5078
5283
|
}),
|
|
@@ -5083,11 +5288,11 @@ var FeaturedNewsHighlights = ({
|
|
|
5083
5288
|
return /* @__PURE__ */ jsx(
|
|
5084
5289
|
"div",
|
|
5085
5290
|
{
|
|
5086
|
-
className:
|
|
5291
|
+
className: clsx52("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
5087
5292
|
style: {
|
|
5088
5293
|
backgroundColor
|
|
5089
5294
|
},
|
|
5090
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
5295
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx52("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
5091
5296
|
}
|
|
5092
5297
|
);
|
|
5093
5298
|
};
|
|
@@ -5131,16 +5336,16 @@ var NewsCardList = ({
|
|
|
5131
5336
|
return /* @__PURE__ */ jsx(
|
|
5132
5337
|
"div",
|
|
5133
5338
|
{
|
|
5134
|
-
className:
|
|
5339
|
+
className: clsx52("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
5135
5340
|
style: {
|
|
5136
5341
|
backgroundColor
|
|
5137
5342
|
},
|
|
5138
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
5139
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5343
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx52("container", NewsCardList_module_default["container"]), children: [
|
|
5344
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
5140
5345
|
/* @__PURE__ */ jsx(
|
|
5141
5346
|
Input,
|
|
5142
5347
|
__spreadValues({
|
|
5143
|
-
className:
|
|
5348
|
+
className: clsx52("search-input", NewsCardList_module_default["search-input"]),
|
|
5144
5349
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5145
5350
|
placeholder: "Search News",
|
|
5146
5351
|
"aria-label": "Search News",
|
|
@@ -5148,7 +5353,7 @@ var NewsCardList = ({
|
|
|
5148
5353
|
Button,
|
|
5149
5354
|
{
|
|
5150
5355
|
variant: "nofillblack",
|
|
5151
|
-
className:
|
|
5356
|
+
className: clsx52(NewsCardList_module_default["end-action-button"]),
|
|
5152
5357
|
"aria-label": "Search",
|
|
5153
5358
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
5154
5359
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5160,7 +5365,7 @@ var NewsCardList = ({
|
|
|
5160
5365
|
} : void 0
|
|
5161
5366
|
}, searchInputProps)
|
|
5162
5367
|
),
|
|
5163
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5368
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
5164
5369
|
currentPage === 1 && /* @__PURE__ */ jsx(
|
|
5165
5370
|
FeaturedNewsHighlights2,
|
|
5166
5371
|
{
|
|
@@ -5174,7 +5379,7 @@ var NewsCardList = ({
|
|
|
5174
5379
|
] })
|
|
5175
5380
|
] }),
|
|
5176
5381
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5177
|
-
className:
|
|
5382
|
+
className: clsx52("pagination", NewsCardList_module_default["pagination"])
|
|
5178
5383
|
}) : null
|
|
5179
5384
|
] })
|
|
5180
5385
|
}
|
|
@@ -5219,15 +5424,15 @@ var BlogPost = ({
|
|
|
5219
5424
|
});
|
|
5220
5425
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5221
5426
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
5222
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5223
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5427
|
+
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: [
|
|
5428
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("header", BlogPost_module_default["header"]), children: [
|
|
5224
5429
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
5225
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5430
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx52("image", BlogPost_module_default["image"]) }))
|
|
5226
5431
|
] }),
|
|
5227
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5228
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5432
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content", BlogPost_module_default["content"]), children: [
|
|
5433
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content-top", BlogPost_module_default["content-top"]), children: [
|
|
5229
5434
|
/* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
|
|
5230
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
5435
|
+
/* @__PURE__ */ jsxs("span", { className: clsx52("content-date", BlogPost_module_default["content-date"]), children: [
|
|
5231
5436
|
"Published ",
|
|
5232
5437
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
5233
5438
|
] })
|
|
@@ -5240,7 +5445,7 @@ var BlogPost = ({
|
|
|
5240
5445
|
title: "More News",
|
|
5241
5446
|
items: relatedArticles,
|
|
5242
5447
|
hasContainer: false,
|
|
5243
|
-
className:
|
|
5448
|
+
className: clsx52("related-articles", BlogPost_module_default["related-articles"])
|
|
5244
5449
|
}
|
|
5245
5450
|
)
|
|
5246
5451
|
] }) });
|
|
@@ -5288,15 +5493,15 @@ var BlogSearchResultsList = ({
|
|
|
5288
5493
|
});
|
|
5289
5494
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5290
5495
|
const paginationNode = slots.pagination;
|
|
5291
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5292
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5293
|
-
className:
|
|
5496
|
+
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: [
|
|
5497
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx52("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React72.isValidElement(searchNode) ? React72.cloneElement(searchNode, {
|
|
5498
|
+
className: clsx52("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
5294
5499
|
}) : null,
|
|
5295
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5500
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
5296
5501
|
/* @__PURE__ */ jsx(
|
|
5297
5502
|
Input,
|
|
5298
5503
|
__spreadValues({
|
|
5299
|
-
className:
|
|
5504
|
+
className: clsx52("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
5300
5505
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5301
5506
|
placeholder: "Search News",
|
|
5302
5507
|
"aria-label": "Search News",
|
|
@@ -5304,7 +5509,7 @@ var BlogSearchResultsList = ({
|
|
|
5304
5509
|
Button,
|
|
5305
5510
|
{
|
|
5306
5511
|
variant: "nofillblack",
|
|
5307
|
-
className:
|
|
5512
|
+
className: clsx52(BlogSearchResultsList_module_default["end-action-button"]),
|
|
5308
5513
|
"aria-label": "Search",
|
|
5309
5514
|
onClick: () => onSearchSubmit(searchValue),
|
|
5310
5515
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5319,7 +5524,7 @@ var BlogSearchResultsList = ({
|
|
|
5319
5524
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
5320
5525
|
] }),
|
|
5321
5526
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5322
|
-
className:
|
|
5527
|
+
className: clsx52("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
5323
5528
|
}) : null
|
|
5324
5529
|
] }) });
|
|
5325
5530
|
};
|
|
@@ -5360,11 +5565,11 @@ var GlobalSearchResultsList = ({
|
|
|
5360
5565
|
});
|
|
5361
5566
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5362
5567
|
const paginationNode = slots.pagination;
|
|
5363
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5364
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5365
|
-
className:
|
|
5568
|
+
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: [
|
|
5569
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx52("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React72.isValidElement(searchNode) ? React72.cloneElement(searchNode, {
|
|
5570
|
+
className: clsx52("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
5366
5571
|
}) : null,
|
|
5367
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5572
|
+
/* @__PURE__ */ jsx("div", { className: clsx52("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
5368
5573
|
var _a2;
|
|
5369
5574
|
return /* @__PURE__ */ jsx(
|
|
5370
5575
|
GridItem,
|
|
@@ -5385,7 +5590,7 @@ var GlobalSearchResultsList = ({
|
|
|
5385
5590
|
);
|
|
5386
5591
|
}) }) }),
|
|
5387
5592
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5388
|
-
className:
|
|
5593
|
+
className: clsx52("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
5389
5594
|
}) : null
|
|
5390
5595
|
] }) });
|
|
5391
5596
|
};
|
|
@@ -5402,10 +5607,6 @@ var TextCenterWithMedia_module_default = {
|
|
|
5402
5607
|
thumbnailWrapper: "TextCenterWithMedia_module_thumbnailWrapper",
|
|
5403
5608
|
thumbnail: "TextCenterWithMedia_module_thumbnail",
|
|
5404
5609
|
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
5610
|
video: "TextCenterWithMedia_module_video"
|
|
5410
5611
|
};
|
|
5411
5612
|
var TextCenterWithMediaTitle = ({ children }) => {
|
|
@@ -5424,16 +5625,7 @@ var TextCenterWithMedia = ({
|
|
|
5424
5625
|
}) => {
|
|
5425
5626
|
var _a;
|
|
5426
5627
|
const [isOpen, setIsOpen] = useState(false);
|
|
5427
|
-
const dialogRef = useRef(null);
|
|
5428
5628
|
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
5629
|
const handleClose = () => {
|
|
5438
5630
|
if (videoRef.current) {
|
|
5439
5631
|
videoRef.current.pause();
|
|
@@ -5443,7 +5635,7 @@ var TextCenterWithMedia = ({
|
|
|
5443
5635
|
};
|
|
5444
5636
|
const slots = resolveCompoundSlots(children, { title: TextCenterWithMediaTitle });
|
|
5445
5637
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5446
|
-
return /* @__PURE__ */ jsxs("section", { className:
|
|
5638
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx52(TextCenterWithMedia_module_default.textCenterWithMedia, className), children: [
|
|
5447
5639
|
/* @__PURE__ */ jsxs(Container, { children: [
|
|
5448
5640
|
titleNode && /* @__PURE__ */ jsx("h2", { className: "h2", children: titleNode }),
|
|
5449
5641
|
/* @__PURE__ */ jsx("div", { className: TextCenterWithMedia_module_default.thumbnailWrapper, children: thumbnail && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5459,23 +5651,29 @@ var TextCenterWithMedia = ({
|
|
|
5459
5651
|
)
|
|
5460
5652
|
] }) })
|
|
5461
5653
|
] }),
|
|
5462
|
-
/* @__PURE__ */ jsx(
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5654
|
+
/* @__PURE__ */ jsx(
|
|
5655
|
+
Modal,
|
|
5656
|
+
{
|
|
5657
|
+
isOpen,
|
|
5658
|
+
onClose: handleClose,
|
|
5659
|
+
ariaLabel: "Video player",
|
|
5660
|
+
closeLabel: "Close video",
|
|
5661
|
+
children: videoUrl && isOpen && /* @__PURE__ */ jsx(
|
|
5662
|
+
ReactPlayer,
|
|
5663
|
+
{
|
|
5664
|
+
ref: videoRef,
|
|
5665
|
+
src: videoUrl,
|
|
5666
|
+
playing: autoPlay,
|
|
5667
|
+
loop,
|
|
5668
|
+
muted: mute,
|
|
5669
|
+
controls: !hideControl,
|
|
5670
|
+
className: TextCenterWithMedia_module_default.video,
|
|
5671
|
+
width: "100%",
|
|
5672
|
+
height: "100%"
|
|
5673
|
+
}
|
|
5674
|
+
)
|
|
5675
|
+
}
|
|
5676
|
+
)
|
|
5479
5677
|
] });
|
|
5480
5678
|
};
|
|
5481
5679
|
|
|
@@ -5506,7 +5704,7 @@ var QuoteSectionBlock = ({ className, title, items = [] }) => {
|
|
|
5506
5704
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
5507
5705
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
5508
5706
|
if (!items.length) return null;
|
|
5509
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5707
|
+
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
5708
|
title && /* @__PURE__ */ jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
|
|
5511
5709
|
/* @__PURE__ */ jsx("div", { className: QuoteSectionBlock_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
5512
5710
|
Swiper,
|
|
@@ -5565,12 +5763,12 @@ var PageLoader = ({ className, children }) => {
|
|
|
5565
5763
|
logo: PageLoaderLogo
|
|
5566
5764
|
});
|
|
5567
5765
|
const logoNode = slots.logo;
|
|
5568
|
-
return /* @__PURE__ */ jsx(Container, { className:
|
|
5766
|
+
return /* @__PURE__ */ jsx(Container, { className: clsx52(PageLoader_module_default["container"], className), children: /* @__PURE__ */ jsxs("div", { className: clsx52("wrapper", PageLoader_module_default["wrapper"]), children: [
|
|
5569
5767
|
logoNode ? React72.cloneElement(logoNode, {
|
|
5570
|
-
className:
|
|
5768
|
+
className: clsx52("image-logo", PageLoader_module_default["image-logo"])
|
|
5571
5769
|
}) : null,
|
|
5572
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5573
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5770
|
+
/* @__PURE__ */ jsx("div", { className: clsx52("loader-wrapper", PageLoader_module_default["loader-wrapper"]), children: /* @__PURE__ */ jsx(Loader, {}) }),
|
|
5771
|
+
/* @__PURE__ */ jsx("span", { className: clsx52("loader-text", PageLoader_module_default["loader-text"]), children: "Loading..." })
|
|
5574
5772
|
] }) });
|
|
5575
5773
|
};
|
|
5576
5774
|
|
|
@@ -5596,8 +5794,8 @@ var TwoColTextMenu = ({
|
|
|
5596
5794
|
renderLink
|
|
5597
5795
|
}) => {
|
|
5598
5796
|
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:
|
|
5797
|
+
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: [
|
|
5798
|
+
/* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsx("h2", { className: clsx52("h4", TwoColTextMenu_module_default.title), children: section.title }) }),
|
|
5601
5799
|
/* @__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
5800
|
] }, index)) }) }) });
|
|
5603
5801
|
};
|
|
@@ -5632,11 +5830,11 @@ var LocationsBrandCards = ({
|
|
|
5632
5830
|
text: LocationsBrandCardsText
|
|
5633
5831
|
});
|
|
5634
5832
|
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:
|
|
5833
|
+
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: [
|
|
5834
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("heading-wrapper", LocationsBrandCards_module_default["heading-wrapper"]), ref: containerRef, children: [
|
|
5835
|
+
/* @__PURE__ */ jsx("h2", { className: clsx52("locations-brand-title", "h2", LocationsBrandCards_module_default["locations-brand-title"]), children: title }),
|
|
5638
5836
|
textNode && isValidElement(textNode) ? cloneElement(textNode, {
|
|
5639
|
-
className:
|
|
5837
|
+
className: clsx52(
|
|
5640
5838
|
"locations-brand-subtitle",
|
|
5641
5839
|
"subheading",
|
|
5642
5840
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5644,7 +5842,7 @@ var LocationsBrandCards = ({
|
|
|
5644
5842
|
}) : /* @__PURE__ */ jsx(
|
|
5645
5843
|
"p",
|
|
5646
5844
|
{
|
|
5647
|
-
className:
|
|
5845
|
+
className: clsx52(
|
|
5648
5846
|
"locations-brand-subtitle",
|
|
5649
5847
|
"subheading",
|
|
5650
5848
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5653,20 +5851,20 @@ var LocationsBrandCards = ({
|
|
|
5653
5851
|
}
|
|
5654
5852
|
)
|
|
5655
5853
|
] }),
|
|
5656
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5657
|
-
/* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5658
|
-
/* @__PURE__ */ jsx(Grid, { columns: 2, className:
|
|
5854
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52("content-wrapper", LocationsBrandCards_module_default["content-wrapper"]), children: [
|
|
5855
|
+
/* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx52("locations-image", LocationsBrandCards_module_default["locations-image"]) })),
|
|
5856
|
+
/* @__PURE__ */ jsx(Grid, { columns: 2, className: clsx52("card-wrapper", LocationsBrandCards_module_default["card-wrapper"]), gap: 8, children: cards.map((card) => {
|
|
5659
5857
|
var _a2;
|
|
5660
5858
|
return /* @__PURE__ */ jsx(
|
|
5661
5859
|
GridItem,
|
|
5662
5860
|
{
|
|
5663
|
-
className:
|
|
5861
|
+
className: clsx52("card-item", LocationsBrandCards_module_default["card-item"]),
|
|
5664
5862
|
colSpan: { md: 1 },
|
|
5665
5863
|
children: /* @__PURE__ */ jsx(
|
|
5666
5864
|
BrandCard,
|
|
5667
5865
|
__spreadProps(__spreadValues({}, card), {
|
|
5668
5866
|
animationSettings: __spreadProps(__spreadValues({}, card.animationSettings), { triggerRef: containerRef }),
|
|
5669
|
-
className:
|
|
5867
|
+
className: clsx52("card", LocationsBrandCards_module_default["card"])
|
|
5670
5868
|
})
|
|
5671
5869
|
)
|
|
5672
5870
|
},
|
|
@@ -5720,7 +5918,7 @@ var BrandsTab = (props) => {
|
|
|
5720
5918
|
content: /* @__PURE__ */ jsxs(
|
|
5721
5919
|
"div",
|
|
5722
5920
|
{
|
|
5723
|
-
className:
|
|
5921
|
+
className: clsx52(BrandsTab_module_default["accordion-content"]),
|
|
5724
5922
|
style: {
|
|
5725
5923
|
"--theme-color": `var(${tab.theme})`
|
|
5726
5924
|
},
|
|
@@ -5736,7 +5934,7 @@ var BrandsTab = (props) => {
|
|
|
5736
5934
|
children: [
|
|
5737
5935
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
5738
5936
|
content.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
5739
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
5937
|
+
/* @__PURE__ */ jsx("h3", { className: clsx52("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
5740
5938
|
] }),
|
|
5741
5939
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
5742
5940
|
]
|
|
@@ -5762,7 +5960,7 @@ var BrandsTab = (props) => {
|
|
|
5762
5960
|
return /* @__PURE__ */ jsxs(
|
|
5763
5961
|
"button",
|
|
5764
5962
|
{
|
|
5765
|
-
className:
|
|
5963
|
+
className: clsx52(BrandsTab_module_default["accordion-header"], {
|
|
5766
5964
|
[BrandsTab_module_default["accordion-header-open"]]: isOpen
|
|
5767
5965
|
}),
|
|
5768
5966
|
style: {
|
|
@@ -5776,7 +5974,7 @@ var BrandsTab = (props) => {
|
|
|
5776
5974
|
/* @__PURE__ */ jsx(
|
|
5777
5975
|
"span",
|
|
5778
5976
|
{
|
|
5779
|
-
className:
|
|
5977
|
+
className: clsx52(BrandsTab_module_default.accordionChevron, {
|
|
5780
5978
|
[BrandsTab_module_default.accordionChevronOpen]: isOpen
|
|
5781
5979
|
}),
|
|
5782
5980
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUp", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -5789,10 +5987,10 @@ var BrandsTab = (props) => {
|
|
|
5789
5987
|
};
|
|
5790
5988
|
})) || [];
|
|
5791
5989
|
}, [tabs]);
|
|
5792
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
5990
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx52(BrandsTab_module_default["brands-tab"], className), children: [
|
|
5793
5991
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["text-container"], children: [
|
|
5794
5992
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: BrandsTab_module_default.title, children: title }),
|
|
5795
|
-
subtitle && /* @__PURE__ */ jsx("div", { className:
|
|
5993
|
+
subtitle && /* @__PURE__ */ jsx("div", { className: clsx52("subheading", BrandsTab_module_default.subtitle), children: subtitle })
|
|
5796
5994
|
] }),
|
|
5797
5995
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
5798
5996
|
Accordion,
|
|
@@ -5800,7 +5998,7 @@ var BrandsTab = (props) => {
|
|
|
5800
5998
|
items: accordionItems,
|
|
5801
5999
|
allowMultiple: true,
|
|
5802
6000
|
defaultOpenIds: [],
|
|
5803
|
-
className:
|
|
6001
|
+
className: clsx52(BrandsTab_module_default["accordion"])
|
|
5804
6002
|
}
|
|
5805
6003
|
) : /* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["tab-wrapper"], children: [
|
|
5806
6004
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["tab-buttons"], children: tabs == null ? void 0 : tabs.map(({ trigger, theme }, index) => {
|
|
@@ -5811,7 +6009,7 @@ var BrandsTab = (props) => {
|
|
|
5811
6009
|
variant: "tabbutton",
|
|
5812
6010
|
onClick: () => setActiveIndex(index),
|
|
5813
6011
|
isActive,
|
|
5814
|
-
className:
|
|
6012
|
+
className: clsx52(BrandsTab_module_default["tab-trigger"], isActive ? BrandsTab_module_default["tab-active"] : null),
|
|
5815
6013
|
style: {
|
|
5816
6014
|
"--theme-color": `var(${theme})`
|
|
5817
6015
|
},
|
|
@@ -5823,7 +6021,7 @@ var BrandsTab = (props) => {
|
|
|
5823
6021
|
/* @__PURE__ */ jsxs(
|
|
5824
6022
|
"div",
|
|
5825
6023
|
{
|
|
5826
|
-
className:
|
|
6024
|
+
className: clsx52(BrandsTab_module_default["tab-content-area"]),
|
|
5827
6025
|
style: {
|
|
5828
6026
|
"--theme-color": `var(${tabs == null ? void 0 : tabs[activeIndex].theme})`
|
|
5829
6027
|
},
|
|
@@ -5839,7 +6037,7 @@ var BrandsTab = (props) => {
|
|
|
5839
6037
|
children: [
|
|
5840
6038
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
5841
6039
|
content.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
5842
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
6040
|
+
/* @__PURE__ */ jsx("h3", { className: clsx52("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
5843
6041
|
] }),
|
|
5844
6042
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
5845
6043
|
]
|
|
@@ -5886,17 +6084,17 @@ var TimelineCards_module_default = {
|
|
|
5886
6084
|
"step-divider": "TimelineCards_module_step-divider"
|
|
5887
6085
|
};
|
|
5888
6086
|
var TimelineCard = ({ text, logo }) => {
|
|
5889
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
6087
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx52(TimelineCards_module_default["card"]), children: [
|
|
5890
6088
|
logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: TimelineCards_module_default["card-logo"] }, logo)),
|
|
5891
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6089
|
+
/* @__PURE__ */ jsx("span", { className: clsx52(TimelineCards_module_default["card-text"]), children: text })
|
|
5892
6090
|
] });
|
|
5893
6091
|
};
|
|
5894
6092
|
var TimelineSteps = ({ length }) => {
|
|
5895
6093
|
if (length === 0) return null;
|
|
5896
|
-
return /* @__PURE__ */ jsx("ol", { className:
|
|
6094
|
+
return /* @__PURE__ */ jsx("ol", { className: clsx52(TimelineCards_module_default["timeline-steps"]), children: Array.from({ length }).map((_, index) => {
|
|
5897
6095
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
5898
|
-
/* @__PURE__ */ jsxs("li", { className:
|
|
5899
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6096
|
+
/* @__PURE__ */ jsxs("li", { className: clsx52(TimelineCards_module_default["step-container"]), children: [
|
|
6097
|
+
/* @__PURE__ */ jsx("span", { className: clsx52(TimelineCards_module_default["step-content"]), "aria-hidden": "true", children: index + 1 }),
|
|
5900
6098
|
/* @__PURE__ */ jsxs("span", { className: "sr-only", children: [
|
|
5901
6099
|
"Step ",
|
|
5902
6100
|
index + 1,
|
|
@@ -5904,26 +6102,26 @@ var TimelineSteps = ({ length }) => {
|
|
|
5904
6102
|
length
|
|
5905
6103
|
] })
|
|
5906
6104
|
] }),
|
|
5907
|
-
index < length - 1 ? /* @__PURE__ */ jsx("li", { className:
|
|
6105
|
+
index < length - 1 ? /* @__PURE__ */ jsx("li", { className: clsx52(TimelineCards_module_default["step-divider"]), role: "presentation" }) : null
|
|
5908
6106
|
] }, index);
|
|
5909
6107
|
}) });
|
|
5910
6108
|
};
|
|
5911
6109
|
var TimelineCards = ({ captionText, cards, className }) => {
|
|
5912
6110
|
const slicedCards = cards == null ? void 0 : cards.slice(0, 3);
|
|
5913
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5914
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6111
|
+
return /* @__PURE__ */ jsx("div", { className: clsx52(TimelineCards_module_default["timeline-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx52(TimelineCards_module_default["container"]), children: [
|
|
6112
|
+
/* @__PURE__ */ jsxs("div", { className: clsx52(TimelineCards_module_default["wrapper"]), children: [
|
|
5915
6113
|
/* @__PURE__ */ jsx(TimelineSteps, { length: (slicedCards == null ? void 0 : slicedCards.length) || 0 }),
|
|
5916
|
-
/* @__PURE__ */ jsx(Grid, { columns: 3, gap: 16, className:
|
|
6114
|
+
/* @__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
6115
|
GridItem,
|
|
5918
6116
|
{
|
|
5919
6117
|
colSpan: { md: 3 },
|
|
5920
|
-
className:
|
|
6118
|
+
className: clsx52(TimelineCards_module_default["timeline-card-item"]),
|
|
5921
6119
|
children: /* @__PURE__ */ jsx(TimelineCard, __spreadValues({}, card))
|
|
5922
6120
|
},
|
|
5923
6121
|
index
|
|
5924
6122
|
)) })
|
|
5925
6123
|
] }),
|
|
5926
|
-
captionText && /* @__PURE__ */ jsx("p", { className:
|
|
6124
|
+
captionText && /* @__PURE__ */ jsx("p", { className: clsx52(TimelineCards_module_default["timeline-cards-text"]), children: captionText })
|
|
5927
6125
|
] }) });
|
|
5928
6126
|
};
|
|
5929
6127
|
|
|
@@ -5958,6 +6156,6 @@ function useIntersectionObserver({
|
|
|
5958
6156
|
return { observeRef, isVisible };
|
|
5959
6157
|
}
|
|
5960
6158
|
|
|
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 };
|
|
6159
|
+
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
6160
|
//# sourceMappingURL=index.mjs.map
|
|
5963
6161
|
//# sourceMappingURL=index.mjs.map
|