@digital-b2c/coreui-kit 0.24.1 → 0.24.3
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 +352 -260
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +371 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +127 -104
- package/dist/index.d.ts +127 -104
- package/dist/index.mjs +351 -260
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx65 from 'clsx';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
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';
|
|
@@ -59,7 +59,7 @@ var Picture = (_a) => {
|
|
|
59
59
|
__spreadValues({
|
|
60
60
|
src: desktop.src,
|
|
61
61
|
alt: desktop.alt,
|
|
62
|
-
className:
|
|
62
|
+
className: clsx65(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: clsx65(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: clsx65(
|
|
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: clsx65(
|
|
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: clsx65(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
719
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx65("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: clsx65(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: clsx65(Container_module_default.container, className) }, props), { children }));
|
|
772
772
|
}
|
|
773
773
|
);
|
|
774
774
|
Container.displayName = "Container";
|
|
@@ -816,14 +816,14 @@ var Card = ({
|
|
|
816
816
|
ConditionalWrapper,
|
|
817
817
|
__spreadProps(__spreadValues({
|
|
818
818
|
ref,
|
|
819
|
-
className:
|
|
819
|
+
className: clsx65(Card_module_default.card, Card_module_default[variant], className),
|
|
820
820
|
wrapper: Anchor,
|
|
821
821
|
fallback: "div",
|
|
822
822
|
condition: isLink
|
|
823
823
|
}, isLink ? { href, isExternal } : {}), {
|
|
824
824
|
children: [
|
|
825
825
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
826
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
826
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx65(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx65(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
827
827
|
isLink && /* @__PURE__ */ jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
828
828
|
] }),
|
|
829
829
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.content, children: [
|
|
@@ -869,10 +869,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
869
869
|
title: CountingCardTitle
|
|
870
870
|
});
|
|
871
871
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
872
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
872
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65(CountingCard_module_default["counting-card"], className), children: [
|
|
873
873
|
/* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
874
874
|
titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
|
|
875
|
-
count && /* @__PURE__ */ jsx("div", { className:
|
|
875
|
+
count && /* @__PURE__ */ jsx("div", { className: clsx65(CountingCard_module_default.count, "h1"), children: count })
|
|
876
876
|
] }),
|
|
877
877
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
878
878
|
] });
|
|
@@ -958,7 +958,7 @@ function FilterBar({
|
|
|
958
958
|
"button",
|
|
959
959
|
{
|
|
960
960
|
type: "button",
|
|
961
|
-
className:
|
|
961
|
+
className: clsx65(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
962
962
|
onClick: () => onViewChange("grid"),
|
|
963
963
|
"aria-pressed": view === "grid",
|
|
964
964
|
children: [
|
|
@@ -971,7 +971,7 @@ function FilterBar({
|
|
|
971
971
|
"button",
|
|
972
972
|
{
|
|
973
973
|
type: "button",
|
|
974
|
-
className:
|
|
974
|
+
className: clsx65(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
975
975
|
onClick: () => onViewChange("list"),
|
|
976
976
|
"aria-pressed": view === "list",
|
|
977
977
|
children: [
|
|
@@ -985,7 +985,7 @@ function FilterBar({
|
|
|
985
985
|
/* @__PURE__ */ jsxs(
|
|
986
986
|
"div",
|
|
987
987
|
{
|
|
988
|
-
className:
|
|
988
|
+
className: clsx65(
|
|
989
989
|
FilterBar_module_default.dropdownWrapper,
|
|
990
990
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
991
991
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -996,7 +996,7 @@ function FilterBar({
|
|
|
996
996
|
"button",
|
|
997
997
|
{
|
|
998
998
|
type: "button",
|
|
999
|
-
className:
|
|
999
|
+
className: clsx65(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
1000
1000
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
1001
1001
|
"aria-expanded": openDropdown === "filter",
|
|
1002
1002
|
children: [
|
|
@@ -1011,7 +1011,7 @@ function FilterBar({
|
|
|
1011
1011
|
type: "button",
|
|
1012
1012
|
role: "option",
|
|
1013
1013
|
"aria-selected": filterValue === opt.value,
|
|
1014
|
-
className:
|
|
1014
|
+
className: clsx65(
|
|
1015
1015
|
FilterBar_module_default.dropdownOption,
|
|
1016
1016
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
1017
1017
|
),
|
|
@@ -1032,7 +1032,7 @@ function FilterBar({
|
|
|
1032
1032
|
/* @__PURE__ */ jsxs(
|
|
1033
1033
|
"div",
|
|
1034
1034
|
{
|
|
1035
|
-
className:
|
|
1035
|
+
className: clsx65(
|
|
1036
1036
|
FilterBar_module_default.dropdownWrapper,
|
|
1037
1037
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
1038
1038
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1058,7 +1058,7 @@ function FilterBar({
|
|
|
1058
1058
|
type: "button",
|
|
1059
1059
|
role: "option",
|
|
1060
1060
|
"aria-selected": sortValue === opt.value,
|
|
1061
|
-
className:
|
|
1061
|
+
className: clsx65(
|
|
1062
1062
|
FilterBar_module_default.dropdownOption,
|
|
1063
1063
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1064
1064
|
),
|
|
@@ -1076,7 +1076,7 @@ function FilterBar({
|
|
|
1076
1076
|
searchState !== "closed" ? /* @__PURE__ */ jsxs(
|
|
1077
1077
|
"div",
|
|
1078
1078
|
{
|
|
1079
|
-
className:
|
|
1079
|
+
className: clsx65(
|
|
1080
1080
|
FilterBar_module_default.searchExpanded,
|
|
1081
1081
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1082
1082
|
),
|
|
@@ -1158,9 +1158,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1158
1158
|
});
|
|
1159
1159
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1160
1160
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1161
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1161
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1162
1162
|
/* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1163
|
-
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className:
|
|
1163
|
+
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx65(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1164
1164
|
titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
|
|
1165
1165
|
] }),
|
|
1166
1166
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1204,13 +1204,13 @@ var Modal = ({
|
|
|
1204
1204
|
"dialog",
|
|
1205
1205
|
{
|
|
1206
1206
|
ref: dialogRef,
|
|
1207
|
-
className:
|
|
1207
|
+
className: clsx65(Modal_module_default.modal, className),
|
|
1208
1208
|
"aria-label": ariaLabel,
|
|
1209
1209
|
onClose,
|
|
1210
1210
|
onClick: (event) => {
|
|
1211
1211
|
if (event.target === dialogRef.current) onClose();
|
|
1212
1212
|
},
|
|
1213
|
-
children: /* @__PURE__ */ jsxs("div", { className:
|
|
1213
|
+
children: /* @__PURE__ */ jsxs("div", { className: clsx65(Modal_module_default.inner, contentClassName), children: [
|
|
1214
1214
|
!hideCloseButton && /* @__PURE__ */ jsx("div", { className: Modal_module_default.header, children: /* @__PURE__ */ jsx(
|
|
1215
1215
|
Button,
|
|
1216
1216
|
{
|
|
@@ -1312,7 +1312,7 @@ var Pagination = ({
|
|
|
1312
1312
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1313
1313
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1314
1314
|
const pageItems = showEllipsis ? getPaginationRange(totalPages, activePage, siblingCount, boundaryCount) : Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1315
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1315
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65(Pagination_module_default.pagination, className), children: [
|
|
1316
1316
|
!disableArrows && (renderLink ? renderLink({
|
|
1317
1317
|
page: prevPage,
|
|
1318
1318
|
className: Pagination_module_default.prev,
|
|
@@ -1333,7 +1333,7 @@ var Pagination = ({
|
|
|
1333
1333
|
return /* @__PURE__ */ jsx("span", { className: Pagination_module_default.dots, "aria-hidden": "true", children: "\u2026" }, `dots-${index}`);
|
|
1334
1334
|
}
|
|
1335
1335
|
const page = item;
|
|
1336
|
-
const pageClassName =
|
|
1336
|
+
const pageClassName = clsx65(Pagination_module_default.page, {
|
|
1337
1337
|
[Pagination_module_default.active]: activePage === page,
|
|
1338
1338
|
[Pagination_module_default.number]: hasNumber,
|
|
1339
1339
|
[Pagination_module_default["no-border"]]: hidePagesBorder
|
|
@@ -1386,10 +1386,10 @@ var PracticeCard_module_default = {
|
|
|
1386
1386
|
};
|
|
1387
1387
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1388
1388
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1389
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1389
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
|
|
1390
1390
|
ConditionalWrapper,
|
|
1391
1391
|
__spreadProps(__spreadValues({
|
|
1392
|
-
className:
|
|
1392
|
+
className: clsx65(PracticeCard_module_default.wrapper, PracticeCard_module_default["focusable-card"]),
|
|
1393
1393
|
wrapper: Anchor,
|
|
1394
1394
|
fallback: "div",
|
|
1395
1395
|
condition: !!href,
|
|
@@ -1398,7 +1398,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1398
1398
|
children: [
|
|
1399
1399
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1400
1400
|
/* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1401
|
-
title && /* @__PURE__ */ jsx("div", { className:
|
|
1401
|
+
title && /* @__PURE__ */ jsx("div", { className: clsx65(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1402
1402
|
href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1403
1403
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1404
1404
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1443,15 +1443,15 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1443
1443
|
"aria-disabled": isRestricted
|
|
1444
1444
|
} : null;
|
|
1445
1445
|
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1446
|
-
className:
|
|
1446
|
+
className: clsx65(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1447
1447
|
children: null
|
|
1448
1448
|
})) : /* @__PURE__ */ jsx(
|
|
1449
1449
|
"a",
|
|
1450
1450
|
__spreadProps(__spreadValues({}, linkProps), {
|
|
1451
|
-
className:
|
|
1451
|
+
className: clsx65(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1452
1452
|
})
|
|
1453
1453
|
) : null;
|
|
1454
|
-
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className:
|
|
1454
|
+
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx65(ResourceCardItem_module_default.cardLink), children }));
|
|
1455
1455
|
const cardLinkOverlay = linkProps && !isGlobalSearchVariant ? /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: -1, className: ResourceCardItem_module_default.cardLinkOverlay })) : null;
|
|
1456
1456
|
function getIcon() {
|
|
1457
1457
|
switch (item.type) {
|
|
@@ -1469,7 +1469,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1469
1469
|
return /* @__PURE__ */ jsxs(
|
|
1470
1470
|
"article",
|
|
1471
1471
|
{
|
|
1472
|
-
className:
|
|
1472
|
+
className: clsx65(
|
|
1473
1473
|
ResourceCardItem_module_default.cardGrid,
|
|
1474
1474
|
isGlobalSearchVariant && ResourceCardItem_module_default[variant],
|
|
1475
1475
|
isGlobalSearchVariant && isRestricted ? ResourceCardItem_module_default["restricted"] : null
|
|
@@ -1555,7 +1555,7 @@ var Sidebar = ({
|
|
|
1555
1555
|
return /* @__PURE__ */ jsxs(
|
|
1556
1556
|
"li",
|
|
1557
1557
|
{
|
|
1558
|
-
className:
|
|
1558
|
+
className: clsx65(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1559
1559
|
role: "button",
|
|
1560
1560
|
tabIndex: 0,
|
|
1561
1561
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1613,7 +1613,7 @@ var UpcomingEventCard = ({
|
|
|
1613
1613
|
return /* @__PURE__ */ jsxs(
|
|
1614
1614
|
"article",
|
|
1615
1615
|
{
|
|
1616
|
-
className:
|
|
1616
|
+
className: clsx65(
|
|
1617
1617
|
"card",
|
|
1618
1618
|
UpcomingEventCard_module_default["event-card"],
|
|
1619
1619
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1621,26 +1621,26 @@ var UpcomingEventCard = ({
|
|
|
1621
1621
|
className
|
|
1622
1622
|
),
|
|
1623
1623
|
children: [
|
|
1624
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1625
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1624
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1625
|
+
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx65("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1626
1626
|
/* @__PURE__ */ jsxs(
|
|
1627
1627
|
"div",
|
|
1628
1628
|
{
|
|
1629
|
-
className:
|
|
1629
|
+
className: clsx65(
|
|
1630
1630
|
"card-text-content",
|
|
1631
1631
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1632
1632
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1633
1633
|
),
|
|
1634
1634
|
children: [
|
|
1635
1635
|
/* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1636
|
-
title && /* @__PURE__ */ jsx("h3", { className:
|
|
1636
|
+
title && /* @__PURE__ */ jsx("h3", { className: clsx65("card-text-title"), children: title }),
|
|
1637
1637
|
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1638
|
-
description && /* @__PURE__ */ jsx("div", { className:
|
|
1639
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1638
|
+
description && /* @__PURE__ */ jsx("div", { className: clsx65("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1639
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx65("card-cta-wrapper", UpcomingEventCard_module_default["event-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1640
1640
|
Button,
|
|
1641
1641
|
{
|
|
1642
1642
|
variant: "secondary",
|
|
1643
|
-
className:
|
|
1643
|
+
className: clsx65(
|
|
1644
1644
|
"card-cta",
|
|
1645
1645
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1646
1646
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1659,12 +1659,12 @@ var UpcomingEventCard = ({
|
|
|
1659
1659
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1660
1660
|
"div",
|
|
1661
1661
|
{
|
|
1662
|
-
className:
|
|
1662
|
+
className: clsx65("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1663
1663
|
children: /* @__PURE__ */ jsx(
|
|
1664
1664
|
Button,
|
|
1665
1665
|
{
|
|
1666
1666
|
variant: "secondary",
|
|
1667
|
-
className:
|
|
1667
|
+
className: clsx65("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1668
1668
|
fullWidth: isBelowMobile,
|
|
1669
1669
|
href: cta.url,
|
|
1670
1670
|
icon: cta.icon,
|
|
@@ -1712,7 +1712,7 @@ var Badge = forwardRef(
|
|
|
1712
1712
|
"live",
|
|
1713
1713
|
"clickable"
|
|
1714
1714
|
]);
|
|
1715
|
-
const classes =
|
|
1715
|
+
const classes = clsx65(
|
|
1716
1716
|
Badge_module_default.badge,
|
|
1717
1717
|
Badge_module_default[variant],
|
|
1718
1718
|
Badge_module_default[size],
|
|
@@ -1723,7 +1723,7 @@ var Badge = forwardRef(
|
|
|
1723
1723
|
className
|
|
1724
1724
|
);
|
|
1725
1725
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1726
|
-
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className:
|
|
1726
|
+
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx65("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1727
1727
|
!iconOnly && /* @__PURE__ */ jsx("span", { className: Badge_module_default.label, children })
|
|
1728
1728
|
] });
|
|
1729
1729
|
if (clickable) {
|
|
@@ -1804,7 +1804,7 @@ var Input = forwardRef(
|
|
|
1804
1804
|
return /* @__PURE__ */ jsxs(
|
|
1805
1805
|
"div",
|
|
1806
1806
|
{
|
|
1807
|
-
className:
|
|
1807
|
+
className: clsx65(
|
|
1808
1808
|
"input-field",
|
|
1809
1809
|
Input_module_default["input-field"],
|
|
1810
1810
|
{
|
|
@@ -1818,17 +1818,17 @@ var Input = forwardRef(
|
|
|
1818
1818
|
"label",
|
|
1819
1819
|
{
|
|
1820
1820
|
htmlFor: inputId,
|
|
1821
|
-
className:
|
|
1821
|
+
className: clsx65("input-label", Input_module_default.label, {
|
|
1822
1822
|
["sr-only"]: hideLabel
|
|
1823
1823
|
}),
|
|
1824
1824
|
children: [
|
|
1825
1825
|
label,
|
|
1826
|
-
required && /* @__PURE__ */ jsx("span", { className:
|
|
1826
|
+
required && /* @__PURE__ */ jsx("span", { className: clsx65("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1827
1827
|
]
|
|
1828
1828
|
}
|
|
1829
1829
|
),
|
|
1830
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1831
|
-
startAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1830
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("input-wrapper", Input_module_default.wrapper), children: [
|
|
1831
|
+
startAdornment && /* @__PURE__ */ jsx("span", { className: clsx65("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1832
1832
|
/* @__PURE__ */ jsx(
|
|
1833
1833
|
"input",
|
|
1834
1834
|
__spreadValues({
|
|
@@ -1839,7 +1839,7 @@ var Input = forwardRef(
|
|
|
1839
1839
|
disabled,
|
|
1840
1840
|
"aria-invalid": !!error,
|
|
1841
1841
|
"aria-describedby": describedBy || void 0,
|
|
1842
|
-
className:
|
|
1842
|
+
className: clsx65(
|
|
1843
1843
|
"input",
|
|
1844
1844
|
Input_module_default.input,
|
|
1845
1845
|
{
|
|
@@ -1850,11 +1850,11 @@ var Input = forwardRef(
|
|
|
1850
1850
|
)
|
|
1851
1851
|
}, props)
|
|
1852
1852
|
),
|
|
1853
|
-
endAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1854
|
-
endAction && /* @__PURE__ */ jsx("span", { className:
|
|
1853
|
+
endAdornment && /* @__PURE__ */ jsx("span", { className: clsx65("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1854
|
+
endAction && /* @__PURE__ */ jsx("span", { className: clsx65("input-end-action"), children: endAction })
|
|
1855
1855
|
] }),
|
|
1856
|
-
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className:
|
|
1857
|
-
error && /* @__PURE__ */ jsx("p", { id: errorId, className:
|
|
1856
|
+
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx65("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1857
|
+
error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx65("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1858
1858
|
]
|
|
1859
1859
|
}
|
|
1860
1860
|
);
|
|
@@ -1893,12 +1893,19 @@ var NewsCard = ({
|
|
|
1893
1893
|
renderLink
|
|
1894
1894
|
}) => {
|
|
1895
1895
|
const id = useId();
|
|
1896
|
+
const cardRef = useRef(null);
|
|
1896
1897
|
const isRestricted = type === "restricted";
|
|
1898
|
+
const handleCtaClick = () => {
|
|
1899
|
+
var _a, _b;
|
|
1900
|
+
if (!isRestricted) {
|
|
1901
|
+
(_b = (_a = cardRef.current) == null ? void 0 : _a.querySelector(".news-card-link")) == null ? void 0 : _b.click();
|
|
1902
|
+
}
|
|
1903
|
+
};
|
|
1897
1904
|
const linkProps = cta && cta.url ? __spreadProps(__spreadValues({
|
|
1898
1905
|
href: cta.url,
|
|
1899
1906
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1900
1907
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1901
|
-
className:
|
|
1908
|
+
className: clsx65("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1902
1909
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1903
1910
|
}, isRestricted && {
|
|
1904
1911
|
"aria-disabled": true
|
|
@@ -1909,7 +1916,8 @@ var NewsCard = ({
|
|
|
1909
1916
|
return /* @__PURE__ */ jsxs(
|
|
1910
1917
|
"article",
|
|
1911
1918
|
{
|
|
1912
|
-
|
|
1919
|
+
ref: cardRef,
|
|
1920
|
+
className: clsx65(
|
|
1913
1921
|
"news-card",
|
|
1914
1922
|
NewsCard_module_default["news-card"],
|
|
1915
1923
|
type && NewsCard_module_default[type],
|
|
@@ -1920,33 +1928,34 @@ var NewsCard = ({
|
|
|
1920
1928
|
"aria-describedby": isRestricted ? `restricted-${id}` : void 0,
|
|
1921
1929
|
children: [
|
|
1922
1930
|
cardLink,
|
|
1923
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1931
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx65("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1924
1932
|
/* @__PURE__ */ jsxs(
|
|
1925
1933
|
"div",
|
|
1926
1934
|
{
|
|
1927
|
-
className:
|
|
1935
|
+
className: clsx65("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1928
1936
|
style: {
|
|
1929
1937
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1930
1938
|
},
|
|
1931
1939
|
children: [
|
|
1932
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1933
|
-
/* @__PURE__ */ jsx(Badge, { className:
|
|
1934
|
-
/* @__PURE__ */ jsx("time", { dateTime: date.value, className:
|
|
1940
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1941
|
+
/* @__PURE__ */ jsx(Badge, { className: clsx65("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1942
|
+
/* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx65("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1935
1943
|
] }),
|
|
1936
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1937
|
-
/* @__PURE__ */ jsx("h3", { id: `title-${id}`, className:
|
|
1938
|
-
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className:
|
|
1944
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1945
|
+
/* @__PURE__ */ jsx("h3", { id: `title-${id}`, className: clsx65("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1946
|
+
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx65("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description,
|
|
1939
1947
|
isRestricted && /* @__PURE__ */ jsx("p", { id: `restricted-${id}`, className: "sr-only", children: "This resource is restricted. You do not have permission to access it." })
|
|
1940
1948
|
] }),
|
|
1941
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1949
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx65("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1942
1950
|
Button,
|
|
1943
1951
|
{
|
|
1944
1952
|
variant: "secondary",
|
|
1945
|
-
className:
|
|
1953
|
+
className: clsx65("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1946
1954
|
icon: cta.icon,
|
|
1955
|
+
type: "button",
|
|
1956
|
+
onClick: handleCtaClick,
|
|
1947
1957
|
"aria-hidden": "true",
|
|
1948
1958
|
tabIndex: -1,
|
|
1949
|
-
renderLink: renderLink ? (props) => renderLink(__spreadProps(__spreadValues({}, props), { tabIndex: -1 })) : void 0,
|
|
1950
1959
|
children: cta.label
|
|
1951
1960
|
}
|
|
1952
1961
|
) })
|
|
@@ -1971,7 +1980,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1971
1980
|
body: BlogPostContentBody
|
|
1972
1981
|
});
|
|
1973
1982
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1974
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1983
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1975
1984
|
};
|
|
1976
1985
|
|
|
1977
1986
|
// src/components/BlogPostContent/index.ts
|
|
@@ -2022,7 +2031,7 @@ var Search = ({
|
|
|
2022
2031
|
}
|
|
2023
2032
|
};
|
|
2024
2033
|
if (!isOpen) {
|
|
2025
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2034
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(Search_module_default.search, className), children: /* @__PURE__ */ jsx(
|
|
2026
2035
|
"button",
|
|
2027
2036
|
{
|
|
2028
2037
|
type: "button",
|
|
@@ -2034,10 +2043,10 @@ var Search = ({
|
|
|
2034
2043
|
}
|
|
2035
2044
|
) });
|
|
2036
2045
|
}
|
|
2037
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2046
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(Search_module_default.search, className), children: /* @__PURE__ */ jsxs(
|
|
2038
2047
|
"div",
|
|
2039
2048
|
{
|
|
2040
|
-
className:
|
|
2049
|
+
className: clsx65(
|
|
2041
2050
|
Search_module_default.searchField,
|
|
2042
2051
|
isPill ? Search_module_default.searchFieldPill : Search_module_default.searchFieldLine
|
|
2043
2052
|
),
|
|
@@ -2104,7 +2113,7 @@ var ColTextMenu = ({
|
|
|
2104
2113
|
isExternal,
|
|
2105
2114
|
renderLink,
|
|
2106
2115
|
icon: "chevronRight",
|
|
2107
|
-
className:
|
|
2116
|
+
className: clsx65("subheading", className),
|
|
2108
2117
|
children: label
|
|
2109
2118
|
}
|
|
2110
2119
|
);
|
|
@@ -2184,7 +2193,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2184
2193
|
/* @__PURE__ */ jsx(Icon, { type: "downChevronBlack", size: 13, "aria-hidden": "true" })
|
|
2185
2194
|
] })
|
|
2186
2195
|
] });
|
|
2187
|
-
const rootClass =
|
|
2196
|
+
const rootClass = clsx65(UserMenu_module_default.userButton, fullWidth && UserMenu_module_default.fullWidth, className);
|
|
2188
2197
|
return user.url ? /* @__PURE__ */ jsx(
|
|
2189
2198
|
"a",
|
|
2190
2199
|
{
|
|
@@ -2199,7 +2208,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2199
2208
|
return /* @__PURE__ */ jsxs(
|
|
2200
2209
|
"div",
|
|
2201
2210
|
{
|
|
2202
|
-
className:
|
|
2211
|
+
className: clsx65(UserMenu_module_default.userMenuWrapper, fullWidth && UserMenu_module_default.fullWidth, className),
|
|
2203
2212
|
ref: wrapperRef,
|
|
2204
2213
|
onPointerLeave: handlePointerLeave,
|
|
2205
2214
|
onBlur: handleBlur,
|
|
@@ -2221,7 +2230,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2221
2230
|
/* @__PURE__ */ jsx(
|
|
2222
2231
|
"span",
|
|
2223
2232
|
{
|
|
2224
|
-
className:
|
|
2233
|
+
className: clsx65(
|
|
2225
2234
|
UserMenu_module_default.userChevron,
|
|
2226
2235
|
dropUp && UserMenu_module_default.userChevronUp,
|
|
2227
2236
|
isOpen && UserMenu_module_default.userChevronOpen
|
|
@@ -2236,12 +2245,12 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2236
2245
|
isOpen && /* @__PURE__ */ jsx(
|
|
2237
2246
|
"div",
|
|
2238
2247
|
{
|
|
2239
|
-
className:
|
|
2248
|
+
className: clsx65(UserMenu_module_default.userMenu, dropUp && UserMenu_module_default.userMenuUp),
|
|
2240
2249
|
role: "menu",
|
|
2241
2250
|
onPointerEnter: handlePointerEnter,
|
|
2242
2251
|
onPointerLeave: handlePointerLeave,
|
|
2243
2252
|
children: (_c = user.menuItems) == null ? void 0 : _c.map((item, i) => {
|
|
2244
|
-
const itemClass =
|
|
2253
|
+
const itemClass = clsx65(
|
|
2245
2254
|
UserMenu_module_default.userMenuItem,
|
|
2246
2255
|
item.variant === "danger" && UserMenu_module_default.userMenuItemDanger
|
|
2247
2256
|
);
|
|
@@ -2285,7 +2294,7 @@ var UserMenu = ({ user, className, dropUp, fullWidth }) => {
|
|
|
2285
2294
|
var Loader_module_default = {
|
|
2286
2295
|
loader: "Loader_module_loader"};
|
|
2287
2296
|
var Loader = ({ className }) => {
|
|
2288
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2297
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65("loader", Loader_module_default["loader"], className) });
|
|
2289
2298
|
};
|
|
2290
2299
|
Loader.displayName = "Loader";
|
|
2291
2300
|
|
|
@@ -2334,13 +2343,13 @@ var BrandCard = ({
|
|
|
2334
2343
|
"div",
|
|
2335
2344
|
{
|
|
2336
2345
|
ref: containerRef,
|
|
2337
|
-
className:
|
|
2346
|
+
className: clsx65("brand-card", BrandCard_module_default["brand-card"], BrandCard_module_default[theme], className),
|
|
2338
2347
|
children: [
|
|
2339
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
2340
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
2341
|
-
/* @__PURE__ */ jsx("p", { ref: textRef, className:
|
|
2348
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("content-wrapper", BrandCard_module_default["content-wrapper"]), children: [
|
|
2349
|
+
/* @__PURE__ */ jsx("h3", { className: clsx65("content-title", "body", BrandCard_module_default["content-title"]), children: title }),
|
|
2350
|
+
/* @__PURE__ */ jsx("p", { ref: textRef, className: clsx65("content-subtitle", "h1", BrandCard_module_default["content-subtitle"]), children: subtitle })
|
|
2342
2351
|
] }),
|
|
2343
|
-
(image == null ? void 0 : image.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
2352
|
+
(image == null ? void 0 : image.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx65("brand-image", BrandCard_module_default["brand-image"]) }, image))
|
|
2344
2353
|
]
|
|
2345
2354
|
}
|
|
2346
2355
|
);
|
|
@@ -2400,11 +2409,11 @@ var CardCarousel = ({
|
|
|
2400
2409
|
setTotalPages(Math.max((_b2 = (_a2 = swiper.snapGrid) == null ? void 0 : _a2.length) != null ? _b2 : 1, 1));
|
|
2401
2410
|
};
|
|
2402
2411
|
if (!cards.length) return null;
|
|
2403
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2412
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx65(CardCarousel_module_default.cardCarousel, className), children: [
|
|
2404
2413
|
/* @__PURE__ */ jsxs("div", { className: CardCarousel_module_default.header, children: [
|
|
2405
2414
|
/* @__PURE__ */ jsxs("div", { className: CardCarousel_module_default.texts, children: [
|
|
2406
2415
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2407
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2416
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx65("subheading", CardCarousel_module_default.subtitle), children: subtitleNode })
|
|
2408
2417
|
] }),
|
|
2409
2418
|
!isMobile && totalPages > 1 && /* @__PURE__ */ jsx(
|
|
2410
2419
|
Pagination,
|
|
@@ -2441,7 +2450,7 @@ var CardCarousel = ({
|
|
|
2441
2450
|
Card2,
|
|
2442
2451
|
__spreadProps(__spreadValues({}, card), {
|
|
2443
2452
|
variant: theme,
|
|
2444
|
-
className:
|
|
2453
|
+
className: clsx65(CardCarousel_module_default.card, isLocked && CardCarousel_module_default.locked, cardClassName),
|
|
2445
2454
|
onCtaClick: !isLocked && videoUrl ? (event) => {
|
|
2446
2455
|
event.preventDefault();
|
|
2447
2456
|
setActiveVideo(videoUrl);
|
|
@@ -2452,7 +2461,7 @@ var CardCarousel = ({
|
|
|
2452
2461
|
})
|
|
2453
2462
|
}
|
|
2454
2463
|
),
|
|
2455
|
-
footnoteNode && /* @__PURE__ */ jsx("div", { className:
|
|
2464
|
+
footnoteNode && /* @__PURE__ */ jsx("div", { className: clsx65("body", CardCarousel_module_default.footnote), children: footnoteNode }),
|
|
2456
2465
|
/* @__PURE__ */ jsx(
|
|
2457
2466
|
Modal,
|
|
2458
2467
|
{
|
|
@@ -2561,13 +2570,13 @@ var CardCollection = ({
|
|
|
2561
2570
|
Container,
|
|
2562
2571
|
{
|
|
2563
2572
|
ref: container,
|
|
2564
|
-
className:
|
|
2573
|
+
className: clsx65(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
2565
2574
|
children: [
|
|
2566
2575
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
2567
2576
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
2568
2577
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
2569
2578
|
] }),
|
|
2570
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
2579
|
+
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx65(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
2571
2580
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
2572
2581
|
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(
|
|
2573
2582
|
Card2,
|
|
@@ -2668,7 +2677,7 @@ var ContactModule = ({
|
|
|
2668
2677
|
},
|
|
2669
2678
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
2670
2679
|
);
|
|
2671
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
2680
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx65(ContactModule_module_default["contact-module"], className), children: [
|
|
2672
2681
|
blurred && /* @__PURE__ */ jsx(
|
|
2673
2682
|
"div",
|
|
2674
2683
|
{
|
|
@@ -2683,8 +2692,8 @@ var ContactModule = ({
|
|
|
2683
2692
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2684
2693
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2685
2694
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2686
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2687
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2695
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx65(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
2696
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx65(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2688
2697
|
] }),
|
|
2689
2698
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
2690
2699
|
Button,
|
|
@@ -2753,7 +2762,7 @@ var Footer = ({
|
|
|
2753
2762
|
disclaimer: FooterDisclaimer
|
|
2754
2763
|
});
|
|
2755
2764
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2756
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
2765
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx65(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2757
2766
|
supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2758
2767
|
/* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2759
2768
|
/* @__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: [
|
|
@@ -2782,7 +2791,7 @@ var Footer = ({
|
|
|
2782
2791
|
index
|
|
2783
2792
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2784
2793
|
) }) }),
|
|
2785
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2794
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx65(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2786
2795
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2787
2796
|
] }),
|
|
2788
2797
|
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(
|
|
@@ -2808,7 +2817,7 @@ var LogoBar_module_default = {
|
|
|
2808
2817
|
};
|
|
2809
2818
|
var LogoBar = ({ className, items }) => {
|
|
2810
2819
|
if (!items || items.length === 0) return null;
|
|
2811
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2820
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2812
2821
|
return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2813
2822
|
item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2814
2823
|
item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2879,17 +2888,17 @@ var HeroBanner = ({
|
|
|
2879
2888
|
});
|
|
2880
2889
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2881
2890
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2882
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2891
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], HeroBanner_module_default[type], className), children: [
|
|
2883
2892
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2884
2893
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2885
|
-
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className:
|
|
2894
|
+
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: clsx65(HeroBanner_module_default.text, vMainHeroBanner && HeroBanner_module_default.fullWidth), children: [
|
|
2886
2895
|
isTitleLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: HeroBanner_module_default.titleLogo }, logo)),
|
|
2887
2896
|
titleNode && /* @__PURE__ */ jsx(
|
|
2888
2897
|
Text,
|
|
2889
2898
|
{
|
|
2890
2899
|
tag: "h2",
|
|
2891
2900
|
promoteToH1,
|
|
2892
|
-
className:
|
|
2901
|
+
className: clsx65(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2893
2902
|
children: titleNode
|
|
2894
2903
|
}
|
|
2895
2904
|
),
|
|
@@ -2898,7 +2907,7 @@ var HeroBanner = ({
|
|
|
2898
2907
|
{
|
|
2899
2908
|
tag: "div",
|
|
2900
2909
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2901
|
-
className:
|
|
2910
|
+
className: clsx65(HeroBanner_module_default.subtitle, "subheading"),
|
|
2902
2911
|
children: subtitleNode
|
|
2903
2912
|
}
|
|
2904
2913
|
)
|
|
@@ -2971,7 +2980,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2971
2980
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2972
2981
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
2973
2982
|
if (!items.length) return null;
|
|
2974
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2983
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2975
2984
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
2976
2985
|
Swiper,
|
|
2977
2986
|
{
|
|
@@ -2983,7 +2992,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
2983
2992
|
children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.card, children: [
|
|
2984
2993
|
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 }) }),
|
|
2985
2994
|
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardContent, children: [
|
|
2986
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
2995
|
+
/* @__PURE__ */ jsx("h2", { className: clsx65(HeroBannerCarousel_module_default.cardTitle, "h3"), children: item.title }),
|
|
2987
2996
|
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardBottom, children: [
|
|
2988
2997
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardBody, children: item.body }),
|
|
2989
2998
|
item.ctas.length > 0 && /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardCtaContainer, children: item.ctas.map((cta, ctaIndex) => /* @__PURE__ */ jsx(
|
|
@@ -3018,7 +3027,7 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
3018
3027
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
3019
3028
|
"button",
|
|
3020
3029
|
{
|
|
3021
|
-
className:
|
|
3030
|
+
className: clsx65(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
3022
3031
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
3023
3032
|
"aria-label": `Go to slide ${index + 1}`
|
|
3024
3033
|
},
|
|
@@ -3099,7 +3108,7 @@ var AccordionItem = ({
|
|
|
3099
3108
|
return /* @__PURE__ */ jsxs(
|
|
3100
3109
|
"div",
|
|
3101
3110
|
{
|
|
3102
|
-
className:
|
|
3111
|
+
className: clsx65(
|
|
3103
3112
|
Accordion_module_default.accordionItem,
|
|
3104
3113
|
{
|
|
3105
3114
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -3113,18 +3122,18 @@ var AccordionItem = ({
|
|
|
3113
3122
|
}) : /* @__PURE__ */ jsxs(
|
|
3114
3123
|
"button",
|
|
3115
3124
|
{
|
|
3116
|
-
className:
|
|
3125
|
+
className: clsx65(Accordion_module_default.accordionHeader, {
|
|
3117
3126
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
3118
3127
|
}),
|
|
3119
3128
|
onClick: handleToggle,
|
|
3120
3129
|
"aria-expanded": isOpen,
|
|
3121
3130
|
"aria-label": `Toggle ${title}`,
|
|
3122
3131
|
children: [
|
|
3123
|
-
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className:
|
|
3132
|
+
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx65("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
3124
3133
|
/* @__PURE__ */ jsx(
|
|
3125
3134
|
"span",
|
|
3126
3135
|
{
|
|
3127
|
-
className:
|
|
3136
|
+
className: clsx65(Accordion_module_default.accordionChevron, {
|
|
3128
3137
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
3129
3138
|
}),
|
|
3130
3139
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -3137,7 +3146,7 @@ var AccordionItem = ({
|
|
|
3137
3146
|
"div",
|
|
3138
3147
|
{
|
|
3139
3148
|
ref: contentRef,
|
|
3140
|
-
className:
|
|
3149
|
+
className: clsx65("accordionContent", Accordion_module_default.accordionContent),
|
|
3141
3150
|
style: {
|
|
3142
3151
|
overflow: "hidden",
|
|
3143
3152
|
height: 0
|
|
@@ -3147,7 +3156,7 @@ var AccordionItem = ({
|
|
|
3147
3156
|
"div",
|
|
3148
3157
|
{
|
|
3149
3158
|
ref: contentInnerRef,
|
|
3150
|
-
className:
|
|
3159
|
+
className: clsx65("accordionContentInner", Accordion_module_default.accordionContentInner),
|
|
3151
3160
|
children
|
|
3152
3161
|
}
|
|
3153
3162
|
)
|
|
@@ -3184,7 +3193,7 @@ var Accordion = ({
|
|
|
3184
3193
|
if (items.length === 0) {
|
|
3185
3194
|
return null;
|
|
3186
3195
|
}
|
|
3187
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3196
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(Accordion_module_default.accordion, className), children: items.map((item) => {
|
|
3188
3197
|
return /* @__PURE__ */ jsx(
|
|
3189
3198
|
AccordionItem,
|
|
3190
3199
|
{
|
|
@@ -3277,7 +3286,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3277
3286
|
};
|
|
3278
3287
|
})) || [];
|
|
3279
3288
|
}, [tabs]);
|
|
3280
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
3289
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx65(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
3281
3290
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
3282
3291
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
3283
3292
|
subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -3293,7 +3302,7 @@ var InternalBrandsTab = (props) => {
|
|
|
3293
3302
|
},
|
|
3294
3303
|
index
|
|
3295
3304
|
)) }),
|
|
3296
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3305
|
+
/* @__PURE__ */ jsx("div", { className: clsx65(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3297
3306
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
3298
3307
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3299
3308
|
((_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 }),
|
|
@@ -3393,22 +3402,22 @@ var MiniBanner = ({
|
|
|
3393
3402
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
3394
3403
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
3395
3404
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
3396
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
3405
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
3397
3406
|
((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)),
|
|
3398
|
-
/* @__PURE__ */ jsx(Container, { className:
|
|
3407
|
+
/* @__PURE__ */ jsx(Container, { className: clsx65(MiniBanner_module_default.container), children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
3399
3408
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
3400
3409
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
3401
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3410
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx65(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
3402
3411
|
(titleNode || goBackNode) && /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
3403
3412
|
goBackNode ? React72.cloneElement(goBackNode, {
|
|
3404
|
-
className:
|
|
3413
|
+
className: clsx65("back-button", MiniBanner_module_default["back-button"])
|
|
3405
3414
|
}) : null,
|
|
3406
3415
|
titleNode && /* @__PURE__ */ jsx(
|
|
3407
3416
|
Text,
|
|
3408
3417
|
{
|
|
3409
3418
|
tag: "div",
|
|
3410
3419
|
promoteToH1,
|
|
3411
|
-
className:
|
|
3420
|
+
className: clsx65(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"),
|
|
3412
3421
|
children: titleNode
|
|
3413
3422
|
}
|
|
3414
3423
|
)
|
|
@@ -3416,7 +3425,7 @@ var MiniBanner = ({
|
|
|
3416
3425
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3417
3426
|
"div",
|
|
3418
3427
|
{
|
|
3419
|
-
className:
|
|
3428
|
+
className: clsx65(MiniBanner_module_default.title, MiniBanner_module_default.subtitle, {
|
|
3420
3429
|
subheading: isMiniBannerNoBG,
|
|
3421
3430
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3422
3431
|
h4: isMiniBannerTextLeft
|
|
@@ -3494,7 +3503,7 @@ var MiniSectionCta = ({
|
|
|
3494
3503
|
return /* @__PURE__ */ jsx(
|
|
3495
3504
|
"div",
|
|
3496
3505
|
{
|
|
3497
|
-
className:
|
|
3506
|
+
className: clsx65(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3498
3507
|
style: __spreadValues({}, hasModuleStyles && {
|
|
3499
3508
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
3500
3509
|
"--custom-mobile-background-color": moduleStyles.mobileBackgroundColor,
|
|
@@ -3506,7 +3515,7 @@ var MiniSectionCta = ({
|
|
|
3506
3515
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3507
3516
|
"div",
|
|
3508
3517
|
{
|
|
3509
|
-
className:
|
|
3518
|
+
className: clsx65(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
3510
3519
|
children: subtitleNode
|
|
3511
3520
|
}
|
|
3512
3521
|
)
|
|
@@ -3581,7 +3590,7 @@ var NavigationBrandBars_module_default = {
|
|
|
3581
3590
|
};
|
|
3582
3591
|
var NavigationBrandBars = ({ brandBars, className }) => {
|
|
3583
3592
|
if ((brandBars == null ? void 0 : brandBars.length) === 0) return;
|
|
3584
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3593
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(NavigationBrandBars_module_default.brandBars, className), "aria-hidden": "true", children: brandBars && brandBars.map((bar, index) => /* @__PURE__ */ jsx(
|
|
3585
3594
|
"span",
|
|
3586
3595
|
{
|
|
3587
3596
|
className: NavigationBrandBars_module_default.brandBar,
|
|
@@ -3656,7 +3665,7 @@ var NavigationDesktop = ({
|
|
|
3656
3665
|
"a",
|
|
3657
3666
|
{
|
|
3658
3667
|
href: (_b = item.cta) == null ? void 0 : _b.url,
|
|
3659
|
-
className:
|
|
3668
|
+
className: clsx65(NavigationDesktop_module_default.navTabLink, isCurrent2 && NavigationDesktop_module_default.navTabActive),
|
|
3660
3669
|
"aria-current": isCurrent2 ? "page" : void 0,
|
|
3661
3670
|
target: ((_c = item.cta) == null ? void 0 : _c.isExternal) ? "_blank" : void 0,
|
|
3662
3671
|
rel: ((_d = item.cta) == null ? void 0 : _d.isExternal) ? "noopener noreferrer" : void 0,
|
|
@@ -3675,7 +3684,7 @@ var NavigationDesktop = ({
|
|
|
3675
3684
|
{
|
|
3676
3685
|
type: "button",
|
|
3677
3686
|
id: `${baseId}-trigger-${index}`,
|
|
3678
|
-
className:
|
|
3687
|
+
className: clsx65(
|
|
3679
3688
|
NavigationDesktop_module_default.navTabLink,
|
|
3680
3689
|
NavigationDesktop_module_default.navTabTrigger,
|
|
3681
3690
|
(isCurrent || isOpen) && NavigationDesktop_module_default.navTabActive,
|
|
@@ -3749,7 +3758,7 @@ var NavigationDropdown = ({
|
|
|
3749
3758
|
"div",
|
|
3750
3759
|
{
|
|
3751
3760
|
id: panelId,
|
|
3752
|
-
className:
|
|
3761
|
+
className: clsx65(NavigationDropdown_module_default.dropdownPanel, NavigationDropdown_module_default.dropdownPanelOpen),
|
|
3753
3762
|
onMouseEnter,
|
|
3754
3763
|
onMouseLeave,
|
|
3755
3764
|
children: /* @__PURE__ */ jsxs("div", { className: NavigationDropdown_module_default.dropdownInner, children: [
|
|
@@ -3758,7 +3767,7 @@ var NavigationDropdown = ({
|
|
|
3758
3767
|
return /* @__PURE__ */ jsx(
|
|
3759
3768
|
"li",
|
|
3760
3769
|
{
|
|
3761
|
-
className:
|
|
3770
|
+
className: clsx65(NavigationDropdown_module_default.dropdownLinkItem, {
|
|
3762
3771
|
[NavigationDropdown_module_default.dropdownLinkSpacer]: sub.variant === "subMenuSpacer"
|
|
3763
3772
|
}),
|
|
3764
3773
|
children: /* @__PURE__ */ jsx(
|
|
@@ -3870,7 +3879,7 @@ var NavigationMobile = ({
|
|
|
3870
3879
|
"div",
|
|
3871
3880
|
{
|
|
3872
3881
|
id,
|
|
3873
|
-
className:
|
|
3882
|
+
className: clsx65(NavigationMobile_module_default.mobileMenu, isOpen && NavigationMobile_module_default.mobileMenuOpen),
|
|
3874
3883
|
role: "dialog",
|
|
3875
3884
|
"aria-modal": "true",
|
|
3876
3885
|
"aria-label": "Navigation menu",
|
|
@@ -3916,7 +3925,7 @@ var NavigationMobile = ({
|
|
|
3916
3925
|
/* @__PURE__ */ jsx(
|
|
3917
3926
|
"span",
|
|
3918
3927
|
{
|
|
3919
|
-
className:
|
|
3928
|
+
className: clsx65(
|
|
3920
3929
|
NavigationMobile_module_default.mobileItemChevron,
|
|
3921
3930
|
isExpanded && NavigationMobile_module_default.mobileItemChevronOpen
|
|
3922
3931
|
),
|
|
@@ -3931,7 +3940,7 @@ var NavigationMobile = ({
|
|
|
3931
3940
|
"div",
|
|
3932
3941
|
{
|
|
3933
3942
|
id: subMenuId,
|
|
3934
|
-
className:
|
|
3943
|
+
className: clsx65(NavigationMobile_module_default.mobileSubItems, isExpanded && NavigationMobile_module_default.mobileSubItemsOpen),
|
|
3935
3944
|
children: /* @__PURE__ */ jsx("ul", { className: NavigationMobile_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3936
3945
|
(subItem, i) => {
|
|
3937
3946
|
var _a2, _b2;
|
|
@@ -3939,7 +3948,7 @@ var NavigationMobile = ({
|
|
|
3939
3948
|
"a",
|
|
3940
3949
|
{
|
|
3941
3950
|
href: (_a2 = subItem.cta) == null ? void 0 : _a2.url,
|
|
3942
|
-
className:
|
|
3951
|
+
className: clsx65(
|
|
3943
3952
|
NavigationMobile_module_default.mobileSubLink,
|
|
3944
3953
|
subItem.isActive && NavigationMobile_module_default.mobileSubLinkActive
|
|
3945
3954
|
),
|
|
@@ -3970,7 +3979,7 @@ var NavigationMobile = ({
|
|
|
3970
3979
|
"div",
|
|
3971
3980
|
{
|
|
3972
3981
|
id,
|
|
3973
|
-
className:
|
|
3982
|
+
className: clsx65(NavigationMobile_module_default.internalMobileMenu, isOpen && NavigationMobile_module_default.internalMobileMenuOpen),
|
|
3974
3983
|
role: "dialog",
|
|
3975
3984
|
"aria-modal": "true",
|
|
3976
3985
|
"aria-label": "Navigation menu",
|
|
@@ -4022,7 +4031,7 @@ var NavigationMobile = ({
|
|
|
4022
4031
|
/* @__PURE__ */ jsx(
|
|
4023
4032
|
"span",
|
|
4024
4033
|
{
|
|
4025
|
-
className:
|
|
4034
|
+
className: clsx65(
|
|
4026
4035
|
NavigationMobile_module_default.internalMobileItemChevron,
|
|
4027
4036
|
isExpanded && NavigationMobile_module_default.internalMobileItemChevronOpen
|
|
4028
4037
|
),
|
|
@@ -4037,7 +4046,7 @@ var NavigationMobile = ({
|
|
|
4037
4046
|
"div",
|
|
4038
4047
|
{
|
|
4039
4048
|
id: subMenuId,
|
|
4040
|
-
className:
|
|
4049
|
+
className: clsx65(
|
|
4041
4050
|
NavigationMobile_module_default.internalMobileSubItems,
|
|
4042
4051
|
isExpanded && NavigationMobile_module_default.internalMobileSubItemsOpen
|
|
4043
4052
|
),
|
|
@@ -4048,7 +4057,7 @@ var NavigationMobile = ({
|
|
|
4048
4057
|
"a",
|
|
4049
4058
|
{
|
|
4050
4059
|
href: (_a2 = sub.cta) == null ? void 0 : _a2.url,
|
|
4051
|
-
className:
|
|
4060
|
+
className: clsx65(
|
|
4052
4061
|
NavigationMobile_module_default.internalMobileSubLink,
|
|
4053
4062
|
sub.isActive && NavigationMobile_module_default.internalMobileSubLinkActive
|
|
4054
4063
|
),
|
|
@@ -4225,7 +4234,7 @@ var Navigation2 = (props) => {
|
|
|
4225
4234
|
const logo = mainLogo ? /* @__PURE__ */ jsx(
|
|
4226
4235
|
Picture,
|
|
4227
4236
|
{
|
|
4228
|
-
className:
|
|
4237
|
+
className: clsx65(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile),
|
|
4229
4238
|
src: mainLogo,
|
|
4230
4239
|
alt: logoAlt
|
|
4231
4240
|
}
|
|
@@ -4235,7 +4244,7 @@ var Navigation2 = (props) => {
|
|
|
4235
4244
|
"nav",
|
|
4236
4245
|
{
|
|
4237
4246
|
ref: navRef,
|
|
4238
|
-
className:
|
|
4247
|
+
className: clsx65(
|
|
4239
4248
|
Navigation_module_default.navigation,
|
|
4240
4249
|
dropdownOpen && Navigation_module_default.dropdownOpen,
|
|
4241
4250
|
// External-only transparent / hover treatment.
|
|
@@ -4255,7 +4264,7 @@ var Navigation2 = (props) => {
|
|
|
4255
4264
|
{
|
|
4256
4265
|
mainLogo,
|
|
4257
4266
|
homeCta,
|
|
4258
|
-
className:
|
|
4267
|
+
className: clsx65(Navigation_module_default.logo, isTabletBelow && Navigation_module_default.logoMobile)
|
|
4259
4268
|
}
|
|
4260
4269
|
) : logo,
|
|
4261
4270
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
@@ -4287,7 +4296,7 @@ var Navigation2 = (props) => {
|
|
|
4287
4296
|
loginVariant: isTransparent ? "ghost" : "nofillblack"
|
|
4288
4297
|
}
|
|
4289
4298
|
) : user ? /* @__PURE__ */ jsx(UserMenu, { user }) : userMenuFallbackNode ? cloneElement(userMenuFallbackNode, {
|
|
4290
|
-
className:
|
|
4299
|
+
className: clsx65("userMenuFallback", Navigation_module_default["userMenuFallback"])
|
|
4291
4300
|
}) : null
|
|
4292
4301
|
] }),
|
|
4293
4302
|
!isTabletBelow && /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.bottomRow, children: [
|
|
@@ -4394,7 +4403,7 @@ var PracticePathCards = ({
|
|
|
4394
4403
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4395
4404
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4396
4405
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
4397
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4406
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
4398
4407
|
(titleNode || subtitleNode || (cta == null ? void 0 : cta.url)) && /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
4399
4408
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
4400
4409
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -4448,8 +4457,8 @@ var Teaser5050With3Text = ({
|
|
|
4448
4457
|
title: Teaser5050With3TextTitle
|
|
4449
4458
|
});
|
|
4450
4459
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4451
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4452
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4460
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
4461
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx65(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
4453
4462
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
4454
4463
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
4455
4464
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -4501,7 +4510,7 @@ var Teaser5050WithCta = ({
|
|
|
4501
4510
|
return /* @__PURE__ */ jsx(
|
|
4502
4511
|
"div",
|
|
4503
4512
|
{
|
|
4504
|
-
className:
|
|
4513
|
+
className: clsx65(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
4505
4514
|
style: __spreadValues({}, hasModuleStyles && {
|
|
4506
4515
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
4507
4516
|
"--custom-color": moduleStyles.color
|
|
@@ -4509,8 +4518,8 @@ var Teaser5050WithCta = ({
|
|
|
4509
4518
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
4510
4519
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
4511
4520
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
4512
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4513
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
4521
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx65("h3", Teaser5050WithCta_module_default.title), children: titleNode }),
|
|
4522
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx65("subheading", Teaser5050WithCta_module_default.subheading), children: subtitleNode })
|
|
4514
4523
|
] }),
|
|
4515
4524
|
/* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
4516
4525
|
Button,
|
|
@@ -4573,14 +4582,14 @@ var Media5050Left = ({
|
|
|
4573
4582
|
});
|
|
4574
4583
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4575
4584
|
const longTextNode = (_b = slots.subtitle) != null ? _b : longText;
|
|
4576
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4577
|
-
heading && /* @__PURE__ */ jsx("h2", { className:
|
|
4585
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(Media5050Left_module_default.media5050, className), children: /* @__PURE__ */ jsxs(Container, { className: Media5050Left_module_default.outerContainer, children: [
|
|
4586
|
+
heading && /* @__PURE__ */ jsx("h2", { className: clsx65("h2", Media5050Left_module_default.heading), children: heading }),
|
|
4578
4587
|
/* @__PURE__ */ jsxs("div", { className: Media5050Left_module_default.container, children: [
|
|
4579
4588
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Media5050Left_module_default.image }, image)),
|
|
4580
4589
|
/* @__PURE__ */ jsxs("div", { className: Media5050Left_module_default.content, children: [
|
|
4581
|
-
eyebrow && /* @__PURE__ */ jsx("p", { className:
|
|
4582
|
-
titleNode && /* @__PURE__ */ jsx("h4", { className:
|
|
4583
|
-
longTextNode && /* @__PURE__ */ jsx("div", { className:
|
|
4590
|
+
eyebrow && /* @__PURE__ */ jsx("p", { className: clsx65("overline", Media5050Left_module_default.eyebrow), children: eyebrow }),
|
|
4591
|
+
titleNode && /* @__PURE__ */ jsx("h4", { className: clsx65("h4", Media5050Left_module_default.title), children: titleNode }),
|
|
4592
|
+
longTextNode && /* @__PURE__ */ jsx("div", { className: clsx65("body", Media5050Left_module_default.longText), children: longTextNode }),
|
|
4584
4593
|
ctas && ctas.length > 0 && /* @__PURE__ */ jsx(LogoBar, { items: ctas, className: Media5050Left_module_default.ctaWrapper })
|
|
4585
4594
|
] })
|
|
4586
4595
|
] })
|
|
@@ -4617,7 +4626,7 @@ var Carousel = (_a) => {
|
|
|
4617
4626
|
},
|
|
4618
4627
|
role: "region",
|
|
4619
4628
|
"aria-label": ariaLabel,
|
|
4620
|
-
className:
|
|
4629
|
+
className: clsx65(Carousel_module_default.carousel, className),
|
|
4621
4630
|
spaceBetween: 0,
|
|
4622
4631
|
slidesPerView: "auto",
|
|
4623
4632
|
modules: [FreeMode, A11y],
|
|
@@ -4627,7 +4636,7 @@ var Carousel = (_a) => {
|
|
|
4627
4636
|
children: slides.map((slide, index) => /* @__PURE__ */ jsx(
|
|
4628
4637
|
SwiperSlide,
|
|
4629
4638
|
{
|
|
4630
|
-
className:
|
|
4639
|
+
className: clsx65(Carousel_module_default["carousel-item"], props.slideClass),
|
|
4631
4640
|
children: slide
|
|
4632
4641
|
},
|
|
4633
4642
|
index
|
|
@@ -4685,15 +4694,15 @@ var EventList = ({
|
|
|
4685
4694
|
return /* @__PURE__ */ jsx(
|
|
4686
4695
|
"div",
|
|
4687
4696
|
{
|
|
4688
|
-
className:
|
|
4697
|
+
className: clsx65(
|
|
4689
4698
|
"event-list-module",
|
|
4690
4699
|
EventList_module_default["event-list-module"],
|
|
4691
4700
|
backgroundColor && EventList_module_default[backgroundColor],
|
|
4692
4701
|
className
|
|
4693
4702
|
),
|
|
4694
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4703
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx65(EventList_module_default["event-list-container"]), children: [
|
|
4695
4704
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
4696
|
-
titleNode && /* @__PURE__ */ jsx("h2", { className:
|
|
4705
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx65(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
4697
4706
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
4698
4707
|
Button,
|
|
4699
4708
|
{
|
|
@@ -4711,7 +4720,7 @@ var EventList = ({
|
|
|
4711
4720
|
Carousel,
|
|
4712
4721
|
{
|
|
4713
4722
|
"aria-label": "Upcoming events",
|
|
4714
|
-
wrapperClass:
|
|
4723
|
+
wrapperClass: clsx65(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
4715
4724
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
4716
4725
|
spaceBetween: 16,
|
|
4717
4726
|
slides: items.map((item) => {
|
|
@@ -4719,7 +4728,7 @@ var EventList = ({
|
|
|
4719
4728
|
return /* @__PURE__ */ jsx(
|
|
4720
4729
|
UpcomingEventCard,
|
|
4721
4730
|
__spreadValues({
|
|
4722
|
-
className:
|
|
4731
|
+
className: clsx65(EventList_module_default["event-card"]),
|
|
4723
4732
|
direction: "vertical",
|
|
4724
4733
|
showImage: false
|
|
4725
4734
|
}, item),
|
|
@@ -4732,7 +4741,7 @@ var EventList = ({
|
|
|
4732
4741
|
"ul",
|
|
4733
4742
|
{
|
|
4734
4743
|
"aria-label": "Upcoming events",
|
|
4735
|
-
className:
|
|
4744
|
+
className: clsx65(
|
|
4736
4745
|
EventList_module_default["event-list-wrapper"],
|
|
4737
4746
|
EventList_module_default["horizontal"],
|
|
4738
4747
|
EventList_module_default[variant]
|
|
@@ -4742,11 +4751,11 @@ var EventList = ({
|
|
|
4742
4751
|
return /* @__PURE__ */ jsx(
|
|
4743
4752
|
"li",
|
|
4744
4753
|
{
|
|
4745
|
-
className:
|
|
4754
|
+
className: clsx65(EventList_module_default["card-list-item"]),
|
|
4746
4755
|
children: /* @__PURE__ */ jsx(
|
|
4747
4756
|
UpcomingEventCard,
|
|
4748
4757
|
__spreadProps(__spreadValues({}, item), {
|
|
4749
|
-
className:
|
|
4758
|
+
className: clsx65(EventList_module_default["card-item"]),
|
|
4750
4759
|
showImage: false,
|
|
4751
4760
|
direction: "vertical"
|
|
4752
4761
|
})
|
|
@@ -4761,7 +4770,7 @@ var EventList = ({
|
|
|
4761
4770
|
"ul",
|
|
4762
4771
|
{
|
|
4763
4772
|
"aria-label": "Upcoming events",
|
|
4764
|
-
className:
|
|
4773
|
+
className: clsx65(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
4765
4774
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
4766
4775
|
var _a2, _b, _c;
|
|
4767
4776
|
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);
|
|
@@ -4770,7 +4779,7 @@ var EventList = ({
|
|
|
4770
4779
|
)
|
|
4771
4780
|
] }),
|
|
4772
4781
|
!isNotEmpty && emptyNode ? React72.cloneElement(emptyNode, {
|
|
4773
|
-
className:
|
|
4782
|
+
className: clsx65("empty-search-result", EventList_module_default["empty-search-result"])
|
|
4774
4783
|
}) : null
|
|
4775
4784
|
] })
|
|
4776
4785
|
}
|
|
@@ -4814,9 +4823,9 @@ var TextEvent = (props) => {
|
|
|
4814
4823
|
});
|
|
4815
4824
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4816
4825
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
4817
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
4826
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx65(TextEvent_module_default.textEvent, className), children: [
|
|
4818
4827
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
4819
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4828
|
+
/* @__PURE__ */ jsx("div", { className: clsx65(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
4820
4829
|
] });
|
|
4821
4830
|
};
|
|
4822
4831
|
|
|
@@ -4853,13 +4862,13 @@ var TextBody = (props) => {
|
|
|
4853
4862
|
return /* @__PURE__ */ jsxs(
|
|
4854
4863
|
Container,
|
|
4855
4864
|
{
|
|
4856
|
-
className:
|
|
4865
|
+
className: clsx65(TextBody_module_default.textBody, isArticleBigPadding && TextBody_module_default.articleBigPadding, className),
|
|
4857
4866
|
children: [
|
|
4858
4867
|
titleNode && /* @__PURE__ */ jsx(
|
|
4859
4868
|
Text,
|
|
4860
4869
|
{
|
|
4861
4870
|
tag: isTableCenter ? "h4" : "h3",
|
|
4862
|
-
className:
|
|
4871
|
+
className: clsx65(TextBody_module_default.title, isTableCenter ? "text-center" : titleAlign),
|
|
4863
4872
|
children: titleNode
|
|
4864
4873
|
}
|
|
4865
4874
|
),
|
|
@@ -4906,7 +4915,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4906
4915
|
});
|
|
4907
4916
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4908
4917
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
4909
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4918
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
4910
4919
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
4911
4920
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
4912
4921
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -4914,7 +4923,7 @@ var TextCenterCtaInBottom = ({
|
|
|
4914
4923
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
4915
4924
|
"div",
|
|
4916
4925
|
{
|
|
4917
|
-
className:
|
|
4926
|
+
className: clsx65(
|
|
4918
4927
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
4919
4928
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
4920
4929
|
),
|
|
@@ -5043,7 +5052,7 @@ var ResourcesGridList = ({
|
|
|
5043
5052
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
5044
5053
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
5045
5054
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
5046
|
-
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className:
|
|
5055
|
+
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx65(ResourcesGridList_module_default.widget, className), children: [
|
|
5047
5056
|
/* @__PURE__ */ jsx(
|
|
5048
5057
|
FilterBar,
|
|
5049
5058
|
{
|
|
@@ -5062,7 +5071,7 @@ var ResourcesGridList = ({
|
|
|
5062
5071
|
isMobile && /* @__PURE__ */ jsxs(
|
|
5063
5072
|
"div",
|
|
5064
5073
|
{
|
|
5065
|
-
className:
|
|
5074
|
+
className: clsx65(
|
|
5066
5075
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
5067
5076
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
5068
5077
|
),
|
|
@@ -5073,7 +5082,7 @@ var ResourcesGridList = ({
|
|
|
5073
5082
|
return /* @__PURE__ */ jsxs(
|
|
5074
5083
|
"li",
|
|
5075
5084
|
{
|
|
5076
|
-
className:
|
|
5085
|
+
className: clsx65(
|
|
5077
5086
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
5078
5087
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
5079
5088
|
),
|
|
@@ -5118,7 +5127,7 @@ var ResourcesGridList = ({
|
|
|
5118
5127
|
onSelect: handleSelectCategory
|
|
5119
5128
|
}
|
|
5120
5129
|
),
|
|
5121
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5130
|
+
/* @__PURE__ */ jsx("div", { className: clsx65(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
5122
5131
|
] }),
|
|
5123
5132
|
totalPages > 1 && /* @__PURE__ */ jsx(
|
|
5124
5133
|
Pagination,
|
|
@@ -5157,7 +5166,7 @@ var Grid = ({
|
|
|
5157
5166
|
return /* @__PURE__ */ jsx(
|
|
5158
5167
|
Component,
|
|
5159
5168
|
{
|
|
5160
|
-
className:
|
|
5169
|
+
className: clsx65("grid", Grid_module_default.grid, className),
|
|
5161
5170
|
role,
|
|
5162
5171
|
"aria-label": ariaLabel,
|
|
5163
5172
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -5182,7 +5191,7 @@ var GridItem = ({
|
|
|
5182
5191
|
return /* @__PURE__ */ jsx(
|
|
5183
5192
|
Component,
|
|
5184
5193
|
{
|
|
5185
|
-
className:
|
|
5194
|
+
className: clsx65("grid-item", Grid_module_default["grid-item"], className),
|
|
5186
5195
|
role,
|
|
5187
5196
|
"aria-label": ariaLabel,
|
|
5188
5197
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -5230,13 +5239,13 @@ var BlogCardGrid = ({
|
|
|
5230
5239
|
title: BlogCardGridTitle
|
|
5231
5240
|
});
|
|
5232
5241
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5233
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
5234
|
-
title && /* @__PURE__ */ jsxs("div", { className:
|
|
5235
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className:
|
|
5236
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
5242
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx65("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
5243
|
+
title && /* @__PURE__ */ jsxs("div", { className: clsx65("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
5244
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx65("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
5245
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx65("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
5237
5246
|
Button,
|
|
5238
5247
|
{
|
|
5239
|
-
className:
|
|
5248
|
+
className: clsx65("cta", BlogCardGrid_module_default["cta"]),
|
|
5240
5249
|
variant: "nofillblack",
|
|
5241
5250
|
href: cta.url,
|
|
5242
5251
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -5261,11 +5270,11 @@ var BlogCardGrid = ({
|
|
|
5261
5270
|
return /* @__PURE__ */ jsx(
|
|
5262
5271
|
"div",
|
|
5263
5272
|
{
|
|
5264
|
-
className:
|
|
5273
|
+
className: clsx65("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
5265
5274
|
style: {
|
|
5266
5275
|
backgroundColor
|
|
5267
5276
|
},
|
|
5268
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
5277
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx65("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
5269
5278
|
}
|
|
5270
5279
|
);
|
|
5271
5280
|
};
|
|
@@ -5313,13 +5322,13 @@ var FeaturedNewsHighlights = ({
|
|
|
5313
5322
|
const sideCards = items.slice(1);
|
|
5314
5323
|
const isVariantHome = variant === "home";
|
|
5315
5324
|
const isBelowTablet = is("tablet", "below");
|
|
5316
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
5317
|
-
title && cta && /* @__PURE__ */ jsxs("div", { className:
|
|
5325
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx65("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
5326
|
+
title && cta && /* @__PURE__ */ jsxs("div", { className: clsx65("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
5318
5327
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
5319
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
5328
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx65("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
5320
5329
|
Button,
|
|
5321
5330
|
{
|
|
5322
|
-
className:
|
|
5331
|
+
className: clsx65("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
5323
5332
|
variant: "nofillblack",
|
|
5324
5333
|
href: cta.url,
|
|
5325
5334
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -5331,33 +5340,33 @@ var FeaturedNewsHighlights = ({
|
|
|
5331
5340
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
|
|
5332
5341
|
Carousel,
|
|
5333
5342
|
{
|
|
5334
|
-
className:
|
|
5343
|
+
className: clsx65("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
5335
5344
|
"aria-label": "featured news",
|
|
5336
|
-
wrapperClass:
|
|
5345
|
+
wrapperClass: clsx65(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
5337
5346
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
5338
5347
|
spaceBetween: 16,
|
|
5339
5348
|
slides: items.map((item) => /* @__PURE__ */ jsx(
|
|
5340
5349
|
NewsCard,
|
|
5341
5350
|
__spreadProps(__spreadValues({}, item), {
|
|
5342
5351
|
direction: "vertical",
|
|
5343
|
-
className:
|
|
5352
|
+
className: clsx65("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
5344
5353
|
}),
|
|
5345
5354
|
`${item == null ? void 0 : item.title}-${item == null ? void 0 : item.id}`
|
|
5346
5355
|
))
|
|
5347
5356
|
}
|
|
5348
5357
|
),
|
|
5349
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className:
|
|
5358
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx65("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
5350
5359
|
featuredCard && /* @__PURE__ */ jsx(
|
|
5351
5360
|
NewsCard,
|
|
5352
5361
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
5353
|
-
className:
|
|
5362
|
+
className: clsx65("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
5354
5363
|
renderLink
|
|
5355
5364
|
})
|
|
5356
5365
|
),
|
|
5357
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
5366
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx65("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card) => /* @__PURE__ */ jsx(
|
|
5358
5367
|
NewsCard,
|
|
5359
5368
|
__spreadProps(__spreadValues({}, card), {
|
|
5360
|
-
className:
|
|
5369
|
+
className: clsx65("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
5361
5370
|
direction: "horizontal",
|
|
5362
5371
|
renderLink
|
|
5363
5372
|
}),
|
|
@@ -5368,11 +5377,11 @@ var FeaturedNewsHighlights = ({
|
|
|
5368
5377
|
return /* @__PURE__ */ jsx(
|
|
5369
5378
|
"div",
|
|
5370
5379
|
{
|
|
5371
|
-
className:
|
|
5380
|
+
className: clsx65("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
5372
5381
|
style: {
|
|
5373
5382
|
backgroundColor
|
|
5374
5383
|
},
|
|
5375
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
5384
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx65("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
5376
5385
|
}
|
|
5377
5386
|
);
|
|
5378
5387
|
};
|
|
@@ -5416,16 +5425,16 @@ var NewsCardList = ({
|
|
|
5416
5425
|
return /* @__PURE__ */ jsx(
|
|
5417
5426
|
"div",
|
|
5418
5427
|
{
|
|
5419
|
-
className:
|
|
5428
|
+
className: clsx65("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
5420
5429
|
style: {
|
|
5421
5430
|
backgroundColor
|
|
5422
5431
|
},
|
|
5423
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
5424
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5432
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx65("container", NewsCardList_module_default["container"]), children: [
|
|
5433
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
5425
5434
|
/* @__PURE__ */ jsx(
|
|
5426
5435
|
Input,
|
|
5427
5436
|
__spreadValues({
|
|
5428
|
-
className:
|
|
5437
|
+
className: clsx65("search-input", NewsCardList_module_default["search-input"]),
|
|
5429
5438
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5430
5439
|
placeholder: "Search News",
|
|
5431
5440
|
"aria-label": "Search News",
|
|
@@ -5433,7 +5442,7 @@ var NewsCardList = ({
|
|
|
5433
5442
|
Button,
|
|
5434
5443
|
{
|
|
5435
5444
|
variant: "nofillblack",
|
|
5436
|
-
className:
|
|
5445
|
+
className: clsx65(NewsCardList_module_default["end-action-button"]),
|
|
5437
5446
|
"aria-label": "Search",
|
|
5438
5447
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
5439
5448
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5445,7 +5454,7 @@ var NewsCardList = ({
|
|
|
5445
5454
|
} : void 0
|
|
5446
5455
|
}, searchInputProps)
|
|
5447
5456
|
),
|
|
5448
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5457
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
5449
5458
|
currentPage === 1 && /* @__PURE__ */ jsx(
|
|
5450
5459
|
FeaturedNewsHighlights2,
|
|
5451
5460
|
{
|
|
@@ -5459,7 +5468,7 @@ var NewsCardList = ({
|
|
|
5459
5468
|
] })
|
|
5460
5469
|
] }),
|
|
5461
5470
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5462
|
-
className:
|
|
5471
|
+
className: clsx65("pagination", NewsCardList_module_default["pagination"])
|
|
5463
5472
|
}) : null
|
|
5464
5473
|
] })
|
|
5465
5474
|
}
|
|
@@ -5504,15 +5513,15 @@ var BlogPost = ({
|
|
|
5504
5513
|
});
|
|
5505
5514
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5506
5515
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
5507
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5508
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5516
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx65("container", BlogPost_module_default["container"]), children: [
|
|
5517
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("header", BlogPost_module_default["header"]), children: [
|
|
5509
5518
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
5510
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5519
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx65("image", BlogPost_module_default["image"]) }))
|
|
5511
5520
|
] }),
|
|
5512
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5513
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5521
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("content", BlogPost_module_default["content"]), children: [
|
|
5522
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("content-top", BlogPost_module_default["content-top"]), children: [
|
|
5514
5523
|
/* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
|
|
5515
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
5524
|
+
/* @__PURE__ */ jsxs("span", { className: clsx65("content-date", BlogPost_module_default["content-date"]), children: [
|
|
5516
5525
|
"Published ",
|
|
5517
5526
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
5518
5527
|
] })
|
|
@@ -5525,7 +5534,7 @@ var BlogPost = ({
|
|
|
5525
5534
|
title: "More News",
|
|
5526
5535
|
items: relatedArticles,
|
|
5527
5536
|
hasContainer: false,
|
|
5528
|
-
className:
|
|
5537
|
+
className: clsx65("related-articles", BlogPost_module_default["related-articles"])
|
|
5529
5538
|
}
|
|
5530
5539
|
)
|
|
5531
5540
|
] }) });
|
|
@@ -5573,15 +5582,15 @@ var BlogSearchResultsList = ({
|
|
|
5573
5582
|
});
|
|
5574
5583
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5575
5584
|
const paginationNode = slots.pagination;
|
|
5576
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5577
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5578
|
-
className:
|
|
5585
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx65("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
5586
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx65("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React72.isValidElement(searchNode) ? React72.cloneElement(searchNode, {
|
|
5587
|
+
className: clsx65("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
5579
5588
|
}) : null,
|
|
5580
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5589
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
5581
5590
|
/* @__PURE__ */ jsx(
|
|
5582
5591
|
Input,
|
|
5583
5592
|
__spreadValues({
|
|
5584
|
-
className:
|
|
5593
|
+
className: clsx65("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
5585
5594
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
5586
5595
|
placeholder: "Search News",
|
|
5587
5596
|
"aria-label": "Search News",
|
|
@@ -5589,7 +5598,7 @@ var BlogSearchResultsList = ({
|
|
|
5589
5598
|
Button,
|
|
5590
5599
|
{
|
|
5591
5600
|
variant: "nofillblack",
|
|
5592
|
-
className:
|
|
5601
|
+
className: clsx65(BlogSearchResultsList_module_default["end-action-button"]),
|
|
5593
5602
|
"aria-label": "Search",
|
|
5594
5603
|
onClick: () => onSearchSubmit(searchValue),
|
|
5595
5604
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -5604,7 +5613,7 @@ var BlogSearchResultsList = ({
|
|
|
5604
5613
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
5605
5614
|
] }),
|
|
5606
5615
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5607
|
-
className:
|
|
5616
|
+
className: clsx65("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
5608
5617
|
}) : null
|
|
5609
5618
|
] }) });
|
|
5610
5619
|
};
|
|
@@ -5645,11 +5654,11 @@ var GlobalSearchResultsList = ({
|
|
|
5645
5654
|
});
|
|
5646
5655
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
5647
5656
|
const paginationNode = slots.pagination;
|
|
5648
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5649
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
5650
|
-
className:
|
|
5657
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx65("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
5658
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx65("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React72.isValidElement(searchNode) ? React72.cloneElement(searchNode, {
|
|
5659
|
+
className: clsx65("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
5651
5660
|
}) : null,
|
|
5652
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5661
|
+
/* @__PURE__ */ jsx("div", { className: clsx65("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
5653
5662
|
var _a2;
|
|
5654
5663
|
return /* @__PURE__ */ jsx(
|
|
5655
5664
|
GridItem,
|
|
@@ -5670,7 +5679,7 @@ var GlobalSearchResultsList = ({
|
|
|
5670
5679
|
);
|
|
5671
5680
|
}) }) }),
|
|
5672
5681
|
paginationNode ? React72.cloneElement(paginationNode, {
|
|
5673
|
-
className:
|
|
5682
|
+
className: clsx65("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
5674
5683
|
}) : null
|
|
5675
5684
|
] }) });
|
|
5676
5685
|
};
|
|
@@ -5715,7 +5724,7 @@ var TextCenterWithMedia = ({
|
|
|
5715
5724
|
};
|
|
5716
5725
|
const slots = resolveCompoundSlots(children, { title: TextCenterWithMediaTitle });
|
|
5717
5726
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
5718
|
-
return /* @__PURE__ */ jsxs("section", { className:
|
|
5727
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx65(TextCenterWithMedia_module_default.textCenterWithMedia, className), children: [
|
|
5719
5728
|
/* @__PURE__ */ jsxs(Container, { children: [
|
|
5720
5729
|
titleNode && /* @__PURE__ */ jsx("h2", { className: "h2", children: titleNode }),
|
|
5721
5730
|
/* @__PURE__ */ jsx("div", { className: TextCenterWithMedia_module_default.thumbnailWrapper, children: thumbnail && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5791,7 +5800,7 @@ var QuoteSectionBlock = ({
|
|
|
5791
5800
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
5792
5801
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
5793
5802
|
if (!items.length) return null;
|
|
5794
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5803
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(QuoteSectionBlock_module_default.quoteSectionBlock, className), children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.inner, children: [
|
|
5795
5804
|
title && /* @__PURE__ */ jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
|
|
5796
5805
|
/* @__PURE__ */ jsx("div", { className: !viewtype ? QuoteSectionBlock_module_default.swiperContainer : QuoteSectionBlock_module_default.swiperContainerFullWidth, children: /* @__PURE__ */ jsx(
|
|
5797
5806
|
Swiper,
|
|
@@ -5846,12 +5855,12 @@ var PageLoader = ({ className, children }) => {
|
|
|
5846
5855
|
logo: PageLoaderLogo
|
|
5847
5856
|
});
|
|
5848
5857
|
const logoNode = slots.logo;
|
|
5849
|
-
return /* @__PURE__ */ jsx(Container, { className:
|
|
5858
|
+
return /* @__PURE__ */ jsx(Container, { className: clsx65(PageLoader_module_default["container"], className), children: /* @__PURE__ */ jsxs("div", { className: clsx65("wrapper", PageLoader_module_default["wrapper"]), children: [
|
|
5850
5859
|
logoNode ? React72.cloneElement(logoNode, {
|
|
5851
|
-
className:
|
|
5860
|
+
className: clsx65("image-logo", PageLoader_module_default["image-logo"])
|
|
5852
5861
|
}) : null,
|
|
5853
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5854
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5862
|
+
/* @__PURE__ */ jsx("div", { className: clsx65("loader-wrapper", PageLoader_module_default["loader-wrapper"]), children: /* @__PURE__ */ jsx(Loader, {}) }),
|
|
5863
|
+
/* @__PURE__ */ jsx("span", { className: clsx65("loader-text", PageLoader_module_default["loader-text"]), children: "Loading..." })
|
|
5855
5864
|
] }) });
|
|
5856
5865
|
};
|
|
5857
5866
|
|
|
@@ -5877,8 +5886,8 @@ var TwoColTextMenu = ({
|
|
|
5877
5886
|
renderLink
|
|
5878
5887
|
}) => {
|
|
5879
5888
|
if (sections.length === 0) return null;
|
|
5880
|
-
return /* @__PURE__ */ jsx("nav", { "aria-label": ariaLabel, className:
|
|
5881
|
-
/* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsx("h2", { className:
|
|
5889
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": ariaLabel, className: clsx65(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: [
|
|
5890
|
+
/* @__PURE__ */ jsx("div", { className: TwoColTextMenu_module_default.heading, children: /* @__PURE__ */ jsx("h2", { className: clsx65("h4", TwoColTextMenu_module_default.title), children: section.title }) }),
|
|
5882
5891
|
/* @__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)) })
|
|
5883
5892
|
] }, index)) }) }) });
|
|
5884
5893
|
};
|
|
@@ -5913,11 +5922,11 @@ var LocationsBrandCards = ({
|
|
|
5913
5922
|
text: LocationsBrandCardsText
|
|
5914
5923
|
});
|
|
5915
5924
|
const textNode = (_a = slots == null ? void 0 : slots.text) != null ? _a : subtitle;
|
|
5916
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
5917
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5918
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
5925
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65("locations-brand-cards", LocationsBrandCards_module_default["locations-brand-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx65(LocationsBrandCards_module_default.container), children: [
|
|
5926
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("heading-wrapper", LocationsBrandCards_module_default["heading-wrapper"]), ref: containerRef, children: [
|
|
5927
|
+
/* @__PURE__ */ jsx("h2", { className: clsx65("locations-brand-title", "h2", LocationsBrandCards_module_default["locations-brand-title"]), children: title }),
|
|
5919
5928
|
textNode && isValidElement(textNode) ? cloneElement(textNode, {
|
|
5920
|
-
className:
|
|
5929
|
+
className: clsx65(
|
|
5921
5930
|
"locations-brand-subtitle",
|
|
5922
5931
|
"subheading",
|
|
5923
5932
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5925,7 +5934,7 @@ var LocationsBrandCards = ({
|
|
|
5925
5934
|
}) : /* @__PURE__ */ jsx(
|
|
5926
5935
|
"p",
|
|
5927
5936
|
{
|
|
5928
|
-
className:
|
|
5937
|
+
className: clsx65(
|
|
5929
5938
|
"locations-brand-subtitle",
|
|
5930
5939
|
"subheading",
|
|
5931
5940
|
LocationsBrandCards_module_default["locations-brand-subtitle"]
|
|
@@ -5934,20 +5943,20 @@ var LocationsBrandCards = ({
|
|
|
5934
5943
|
}
|
|
5935
5944
|
)
|
|
5936
5945
|
] }),
|
|
5937
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5938
|
-
/* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
5939
|
-
/* @__PURE__ */ jsx(Grid, { columns: 2, className:
|
|
5946
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65("content-wrapper", LocationsBrandCards_module_default["content-wrapper"]), children: [
|
|
5947
|
+
/* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx65("locations-image", LocationsBrandCards_module_default["locations-image"]) })),
|
|
5948
|
+
/* @__PURE__ */ jsx(Grid, { columns: 2, className: clsx65("card-wrapper", LocationsBrandCards_module_default["card-wrapper"]), gap: 8, children: cards.map((card) => {
|
|
5940
5949
|
var _a2;
|
|
5941
5950
|
return /* @__PURE__ */ jsx(
|
|
5942
5951
|
GridItem,
|
|
5943
5952
|
{
|
|
5944
|
-
className:
|
|
5953
|
+
className: clsx65("card-item", LocationsBrandCards_module_default["card-item"]),
|
|
5945
5954
|
colSpan: { md: 1 },
|
|
5946
5955
|
children: /* @__PURE__ */ jsx(
|
|
5947
5956
|
BrandCard,
|
|
5948
5957
|
__spreadProps(__spreadValues({}, card), {
|
|
5949
5958
|
animationSettings: __spreadProps(__spreadValues({}, card.animationSettings), { triggerRef: containerRef }),
|
|
5950
|
-
className:
|
|
5959
|
+
className: clsx65("card", LocationsBrandCards_module_default["card"])
|
|
5951
5960
|
})
|
|
5952
5961
|
)
|
|
5953
5962
|
},
|
|
@@ -6001,7 +6010,7 @@ var BrandsTab = (props) => {
|
|
|
6001
6010
|
content: /* @__PURE__ */ jsxs(
|
|
6002
6011
|
"div",
|
|
6003
6012
|
{
|
|
6004
|
-
className:
|
|
6013
|
+
className: clsx65(BrandsTab_module_default["accordion-content"]),
|
|
6005
6014
|
style: {
|
|
6006
6015
|
"--theme-color": `var(${tab.theme})`
|
|
6007
6016
|
},
|
|
@@ -6017,7 +6026,7 @@ var BrandsTab = (props) => {
|
|
|
6017
6026
|
children: [
|
|
6018
6027
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
6019
6028
|
content.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
6020
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
6029
|
+
/* @__PURE__ */ jsx("h3", { className: clsx65("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
6021
6030
|
] }),
|
|
6022
6031
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
6023
6032
|
]
|
|
@@ -6044,7 +6053,7 @@ var BrandsTab = (props) => {
|
|
|
6044
6053
|
return /* @__PURE__ */ jsxs(
|
|
6045
6054
|
"button",
|
|
6046
6055
|
{
|
|
6047
|
-
className:
|
|
6056
|
+
className: clsx65(BrandsTab_module_default["accordion-header"], {
|
|
6048
6057
|
[BrandsTab_module_default["accordion-header-open"]]: isOpen
|
|
6049
6058
|
}),
|
|
6050
6059
|
style: {
|
|
@@ -6058,7 +6067,7 @@ var BrandsTab = (props) => {
|
|
|
6058
6067
|
/* @__PURE__ */ jsx(
|
|
6059
6068
|
"span",
|
|
6060
6069
|
{
|
|
6061
|
-
className:
|
|
6070
|
+
className: clsx65(BrandsTab_module_default.accordionChevron, {
|
|
6062
6071
|
[BrandsTab_module_default.accordionChevronOpen]: isOpen
|
|
6063
6072
|
}),
|
|
6064
6073
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUp", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -6071,10 +6080,10 @@ var BrandsTab = (props) => {
|
|
|
6071
6080
|
};
|
|
6072
6081
|
})) || [];
|
|
6073
6082
|
}, [tabs]);
|
|
6074
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
6083
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx65(BrandsTab_module_default["brands-tab"], className), children: [
|
|
6075
6084
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["text-container"], children: [
|
|
6076
6085
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: BrandsTab_module_default.title, children: title }),
|
|
6077
|
-
subtitle && /* @__PURE__ */ jsx("div", { className:
|
|
6086
|
+
subtitle && /* @__PURE__ */ jsx("div", { className: clsx65("subheading", BrandsTab_module_default.subtitle), children: subtitle })
|
|
6078
6087
|
] }),
|
|
6079
6088
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
6080
6089
|
Accordion,
|
|
@@ -6082,7 +6091,7 @@ var BrandsTab = (props) => {
|
|
|
6082
6091
|
items: accordionItems,
|
|
6083
6092
|
allowMultiple: true,
|
|
6084
6093
|
defaultOpenIds: [],
|
|
6085
|
-
className:
|
|
6094
|
+
className: clsx65(BrandsTab_module_default["accordion"])
|
|
6086
6095
|
}
|
|
6087
6096
|
) : /* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["tab-wrapper"], children: [
|
|
6088
6097
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["tab-buttons"], children: tabs == null ? void 0 : tabs.map(({ trigger, theme }, index) => {
|
|
@@ -6093,7 +6102,7 @@ var BrandsTab = (props) => {
|
|
|
6093
6102
|
variant: "tabbutton",
|
|
6094
6103
|
onClick: () => setActiveIndex(index),
|
|
6095
6104
|
isActive,
|
|
6096
|
-
className:
|
|
6105
|
+
className: clsx65(BrandsTab_module_default["tab-trigger"], isActive ? BrandsTab_module_default["tab-active"] : null),
|
|
6097
6106
|
style: {
|
|
6098
6107
|
"--theme-color": `var(${theme})`
|
|
6099
6108
|
},
|
|
@@ -6105,7 +6114,7 @@ var BrandsTab = (props) => {
|
|
|
6105
6114
|
/* @__PURE__ */ jsxs(
|
|
6106
6115
|
"div",
|
|
6107
6116
|
{
|
|
6108
|
-
className:
|
|
6117
|
+
className: clsx65(BrandsTab_module_default["tab-content-area"]),
|
|
6109
6118
|
style: {
|
|
6110
6119
|
"--theme-color": `var(${tabs == null ? void 0 : tabs[activeIndex].theme})`
|
|
6111
6120
|
},
|
|
@@ -6121,7 +6130,7 @@ var BrandsTab = (props) => {
|
|
|
6121
6130
|
children: [
|
|
6122
6131
|
/* @__PURE__ */ jsxs("div", { className: BrandsTab_module_default["card-header"], children: [
|
|
6123
6132
|
content.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsTab_module_default["card-logo"] }, content.logo)),
|
|
6124
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
6133
|
+
/* @__PURE__ */ jsx("h3", { className: clsx65("h4", BrandsTab_module_default["card-title"]), children: content.title })
|
|
6125
6134
|
] }),
|
|
6126
6135
|
/* @__PURE__ */ jsx("div", { className: BrandsTab_module_default["card-description"], children: content.description })
|
|
6127
6136
|
]
|
|
@@ -6169,17 +6178,17 @@ var TimelineCards_module_default = {
|
|
|
6169
6178
|
"step-divider": "TimelineCards_module_step-divider"
|
|
6170
6179
|
};
|
|
6171
6180
|
var TimelineCard = ({ text, logo }) => {
|
|
6172
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
6181
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65(TimelineCards_module_default["card"]), children: [
|
|
6173
6182
|
logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: TimelineCards_module_default["card-logo"] }, logo)),
|
|
6174
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6183
|
+
/* @__PURE__ */ jsx("span", { className: clsx65(TimelineCards_module_default["card-text"]), children: text })
|
|
6175
6184
|
] });
|
|
6176
6185
|
};
|
|
6177
6186
|
var TimelineSteps = ({ length }) => {
|
|
6178
6187
|
if (length === 0) return null;
|
|
6179
|
-
return /* @__PURE__ */ jsx("ol", { className:
|
|
6188
|
+
return /* @__PURE__ */ jsx("ol", { className: clsx65(TimelineCards_module_default["timeline-steps"]), children: Array.from({ length }).map((_, index) => {
|
|
6180
6189
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
6181
|
-
/* @__PURE__ */ jsxs("li", { className:
|
|
6182
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6190
|
+
/* @__PURE__ */ jsxs("li", { className: clsx65(TimelineCards_module_default["step-container"]), children: [
|
|
6191
|
+
/* @__PURE__ */ jsx("span", { className: clsx65(TimelineCards_module_default["step-content"]), "aria-hidden": "true", children: index + 1 }),
|
|
6183
6192
|
/* @__PURE__ */ jsxs("span", { className: "sr-only", children: [
|
|
6184
6193
|
"Step ",
|
|
6185
6194
|
index + 1,
|
|
@@ -6187,31 +6196,113 @@ var TimelineSteps = ({ length }) => {
|
|
|
6187
6196
|
length
|
|
6188
6197
|
] })
|
|
6189
6198
|
] }),
|
|
6190
|
-
index < length - 1 ? /* @__PURE__ */ jsx("li", { className:
|
|
6199
|
+
index < length - 1 ? /* @__PURE__ */ jsx("li", { className: clsx65(TimelineCards_module_default["step-divider"]), role: "presentation" }) : null
|
|
6191
6200
|
] }, index);
|
|
6192
6201
|
}) });
|
|
6193
6202
|
};
|
|
6194
6203
|
var TimelineCards = ({ captionText, cards, className }) => {
|
|
6195
6204
|
const slicedCards = cards == null ? void 0 : cards.slice(0, 3);
|
|
6196
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
6197
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6205
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(TimelineCards_module_default["timeline-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx65(TimelineCards_module_default["container"]), children: [
|
|
6206
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65(TimelineCards_module_default["wrapper"]), children: [
|
|
6198
6207
|
/* @__PURE__ */ jsx(TimelineSteps, { length: (slicedCards == null ? void 0 : slicedCards.length) || 0 }),
|
|
6199
|
-
/* @__PURE__ */ jsx(Grid, { columns: 3, gap: 16, className:
|
|
6208
|
+
/* @__PURE__ */ jsx(Grid, { columns: 3, gap: 16, className: clsx65(TimelineCards_module_default["timeline-cards-container"]), children: slicedCards == null ? void 0 : slicedCards.map((card, index) => /* @__PURE__ */ jsx(
|
|
6200
6209
|
GridItem,
|
|
6201
6210
|
{
|
|
6202
6211
|
colSpan: { md: 3 },
|
|
6203
|
-
className:
|
|
6212
|
+
className: clsx65(TimelineCards_module_default["timeline-card-item"]),
|
|
6204
6213
|
children: /* @__PURE__ */ jsx(TimelineCard, __spreadValues({}, card))
|
|
6205
6214
|
},
|
|
6206
6215
|
index
|
|
6207
6216
|
)) })
|
|
6208
6217
|
] }),
|
|
6209
|
-
captionText && /* @__PURE__ */ jsx("p", { className:
|
|
6218
|
+
captionText && /* @__PURE__ */ jsx("p", { className: clsx65(TimelineCards_module_default["timeline-cards-text"]), children: captionText })
|
|
6210
6219
|
] }) });
|
|
6211
6220
|
};
|
|
6212
6221
|
|
|
6213
6222
|
// src/widgets/TimelineCards/index.tsx
|
|
6214
6223
|
var TimelineCards2 = Object.assign(TimelineCards, {});
|
|
6224
|
+
|
|
6225
|
+
// src/components/PodcastCard/PodcastCard.module.scss
|
|
6226
|
+
var PodcastCard_module_default = {
|
|
6227
|
+
"podcast-card": "PodcastCard_module_podcast-card",
|
|
6228
|
+
"content-wrapper": "PodcastCard_module_content-wrapper",
|
|
6229
|
+
"main-content": "PodcastCard_module_main-content",
|
|
6230
|
+
title: "PodcastCard_module_title",
|
|
6231
|
+
"top-content": "PodcastCard_module_top-content",
|
|
6232
|
+
badge: "PodcastCard_module_badge",
|
|
6233
|
+
date: "PodcastCard_module_date",
|
|
6234
|
+
description: "PodcastCard_module_description",
|
|
6235
|
+
"cta-wrapper": "PodcastCard_module_cta-wrapper",
|
|
6236
|
+
"cta-label": "PodcastCard_module_cta-label",
|
|
6237
|
+
"cta-icons": "PodcastCard_module_cta-icons",
|
|
6238
|
+
"cta-icon": "PodcastCard_module_cta-icon",
|
|
6239
|
+
"icon-default": "PodcastCard_module_icon-default",
|
|
6240
|
+
"icon-active": "PodcastCard_module_icon-active"
|
|
6241
|
+
};
|
|
6242
|
+
var PodcastCard = ({
|
|
6243
|
+
badge,
|
|
6244
|
+
date,
|
|
6245
|
+
description,
|
|
6246
|
+
title,
|
|
6247
|
+
cta,
|
|
6248
|
+
className
|
|
6249
|
+
}) => {
|
|
6250
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx65("podcast-card", PodcastCard_module_default["podcast-card"], className), children: [
|
|
6251
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65(PodcastCard_module_default["content-wrapper"]), children: [
|
|
6252
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65(PodcastCard_module_default["top-content"]), children: [
|
|
6253
|
+
/* @__PURE__ */ jsx(Badge, { className: clsx65(PodcastCard_module_default["badge"]), role: void 0, children: badge }),
|
|
6254
|
+
/* @__PURE__ */ jsx("span", { className: clsx65(PodcastCard_module_default["date"]), children: date })
|
|
6255
|
+
] }),
|
|
6256
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65(PodcastCard_module_default["main-content"]), children: [
|
|
6257
|
+
/* @__PURE__ */ jsx("span", { className: clsx65(PodcastCard_module_default["title"]), children: title }),
|
|
6258
|
+
/* @__PURE__ */ jsx("div", { className: clsx65(PodcastCard_module_default["description"]), children: description })
|
|
6259
|
+
] })
|
|
6260
|
+
] }),
|
|
6261
|
+
/* @__PURE__ */ jsxs("div", { className: clsx65(PodcastCard_module_default["cta-wrapper"]), children: [
|
|
6262
|
+
/* @__PURE__ */ jsx("span", { className: clsx65(PodcastCard_module_default["cta-label"]), children: cta.label }),
|
|
6263
|
+
/* @__PURE__ */ jsx("div", { className: clsx65(PodcastCard_module_default["cta-icons"]), children: cta.logoCta.map((logo, index) => /* @__PURE__ */ jsxs(
|
|
6264
|
+
Anchor,
|
|
6265
|
+
{
|
|
6266
|
+
href: logo.url,
|
|
6267
|
+
isExternal: logo.isExternal,
|
|
6268
|
+
className: clsx65(PodcastCard_module_default["cta-icon"]),
|
|
6269
|
+
children: [
|
|
6270
|
+
/* @__PURE__ */ jsx("img", __spreadProps(__spreadValues({}, logo.default), { className: clsx65(PodcastCard_module_default["icon-default"]) })),
|
|
6271
|
+
/* @__PURE__ */ jsx("img", __spreadProps(__spreadValues({}, logo.active), { className: clsx65(PodcastCard_module_default["icon-active"]) }))
|
|
6272
|
+
]
|
|
6273
|
+
},
|
|
6274
|
+
index
|
|
6275
|
+
)) })
|
|
6276
|
+
] })
|
|
6277
|
+
] });
|
|
6278
|
+
};
|
|
6279
|
+
|
|
6280
|
+
// src/widgets/PodcastGridCards/PodcastGridCards.module.scss
|
|
6281
|
+
var PodcastGridCards_module_default = {
|
|
6282
|
+
"podcast-grid-cards": "PodcastGridCards_module_podcast-grid-cards",
|
|
6283
|
+
container: "PodcastGridCards_module_container",
|
|
6284
|
+
title: "PodcastGridCards_module_title"
|
|
6285
|
+
};
|
|
6286
|
+
var PodcastGridCards = ({ title, items, className }) => {
|
|
6287
|
+
return /* @__PURE__ */ jsx("div", { className: clsx65(PodcastGridCards_module_default["podcast-grid-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx65(PodcastGridCards_module_default["container"]), children: [
|
|
6288
|
+
title && /* @__PURE__ */ jsx("h2", { className: clsx65(PodcastGridCards_module_default["title"]), children: title }),
|
|
6289
|
+
/* @__PURE__ */ jsx(Grid, { columns: 12, gap: 16, className: clsx65(PodcastGridCards_module_default["podcast-grid"]), children: items == null ? void 0 : items.map((item, index) => {
|
|
6290
|
+
var _a;
|
|
6291
|
+
return /* @__PURE__ */ jsx(
|
|
6292
|
+
GridItem,
|
|
6293
|
+
{
|
|
6294
|
+
colSpan: { md: 12, lg: 6, xl: 4 },
|
|
6295
|
+
className: clsx65(PodcastGridCards_module_default["timeline-card-item"]),
|
|
6296
|
+
children: /* @__PURE__ */ jsx(PodcastCard, __spreadValues({}, item))
|
|
6297
|
+
},
|
|
6298
|
+
(_a = item == null ? void 0 : item.id) != null ? _a : index
|
|
6299
|
+
);
|
|
6300
|
+
}) })
|
|
6301
|
+
] }) });
|
|
6302
|
+
};
|
|
6303
|
+
|
|
6304
|
+
// src/widgets/PodcastGridCards/index.tsx
|
|
6305
|
+
var PodcastGridCards2 = Object.assign(PodcastGridCards, {});
|
|
6215
6306
|
function useIntersectionObserver({
|
|
6216
6307
|
animateOnce = false,
|
|
6217
6308
|
options = {}
|
|
@@ -6241,6 +6332,6 @@ function useIntersectionObserver({
|
|
|
6241
6332
|
return { observeRef, isVisible };
|
|
6242
6333
|
}
|
|
6243
6334
|
|
|
6244
|
-
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, Media5050Left2 as Media5050Left, 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 };
|
|
6335
|
+
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, Media5050Left2 as Media5050Left, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Modal, Navigation3 as Navigation, NewsCard, NewsCardList2 as NewsCardList, PageLoader2 as PageLoader, Pagination, Picture, PodcastGridCards2 as PodcastGridCards, 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 };
|
|
6245
6336
|
//# sourceMappingURL=index.mjs.map
|
|
6246
6337
|
//# sourceMappingURL=index.mjs.map
|