@digital-b2c/coreui-kit 0.13.2 → 0.13.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/dist/index.cjs +176 -174
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -0
- package/dist/index.css.map +1 -1
- package/dist/index.mjs +175 -173
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx43 from 'clsx';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import React66, { forwardRef, useId, useRef, useState, useCallback, useMemo, Children, isValidElement, useEffect, Fragment as Fragment$1 } from 'react';
|
|
4
4
|
import gsap$1, { gsap } from 'gsap';
|
|
@@ -58,7 +58,7 @@ var Picture = (_a) => {
|
|
|
58
58
|
__spreadValues({
|
|
59
59
|
src: desktop.src,
|
|
60
60
|
alt: desktop.alt,
|
|
61
|
-
className:
|
|
61
|
+
className: clsx43(className, Picture_module_default["image-desktop"])
|
|
62
62
|
}, rest)
|
|
63
63
|
),
|
|
64
64
|
/* @__PURE__ */ jsx(
|
|
@@ -66,7 +66,7 @@ var Picture = (_a) => {
|
|
|
66
66
|
__spreadValues({
|
|
67
67
|
src: (_b2 = mobile == null ? void 0 : mobile.src) != null ? _b2 : desktop.src,
|
|
68
68
|
alt: (_c = mobile == null ? void 0 : mobile.alt) != null ? _c : desktop.alt,
|
|
69
|
-
className:
|
|
69
|
+
className: clsx43(className, Picture_module_default["image-mobile"])
|
|
70
70
|
}, rest)
|
|
71
71
|
)
|
|
72
72
|
] });
|
|
@@ -432,7 +432,7 @@ var Button = (_a) => {
|
|
|
432
432
|
]);
|
|
433
433
|
const isLink = !!href;
|
|
434
434
|
const props = __spreadValues(__spreadValues({
|
|
435
|
-
className:
|
|
435
|
+
className: clsx43(
|
|
436
436
|
Button_module_default.button,
|
|
437
437
|
variant ? Button_module_default[variant] : null,
|
|
438
438
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -664,7 +664,7 @@ var BrandsStrip = ({
|
|
|
664
664
|
"div",
|
|
665
665
|
{
|
|
666
666
|
ref: containerRef,
|
|
667
|
-
className:
|
|
667
|
+
className: clsx43(
|
|
668
668
|
BrandsStrip_module_default.brandsStrip,
|
|
669
669
|
BrandsStrip_module_default[variant],
|
|
670
670
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -673,13 +673,13 @@ var BrandsStrip = ({
|
|
|
673
673
|
onMouseEnter: handleMouseEnter,
|
|
674
674
|
onMouseLeave: handleMouseLeave,
|
|
675
675
|
children: [
|
|
676
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
677
|
-
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className:
|
|
676
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
677
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx43("body", BrandsStrip_module_default.title), children: title }),
|
|
678
678
|
logos.length > 0 && /* @__PURE__ */ jsx(
|
|
679
679
|
"div",
|
|
680
680
|
{
|
|
681
681
|
ref: marqueeRef,
|
|
682
|
-
className:
|
|
682
|
+
className: clsx43(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
683
683
|
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}`))
|
|
684
684
|
}
|
|
685
685
|
)
|
|
@@ -726,7 +726,7 @@ var Container_module_default = {
|
|
|
726
726
|
var Container = forwardRef(
|
|
727
727
|
(_a, ref) => {
|
|
728
728
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
729
|
-
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
729
|
+
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx43(Container_module_default.container, className) }, props), { children }));
|
|
730
730
|
}
|
|
731
731
|
);
|
|
732
732
|
Container.displayName = "Container";
|
|
@@ -767,14 +767,14 @@ var Card = ({
|
|
|
767
767
|
ConditionalWrapper,
|
|
768
768
|
__spreadProps(__spreadValues({
|
|
769
769
|
ref,
|
|
770
|
-
className:
|
|
770
|
+
className: clsx43(Card_module_default.card, Card_module_default[variant], className),
|
|
771
771
|
wrapper: Anchor,
|
|
772
772
|
fallback: "div",
|
|
773
773
|
condition: isLink
|
|
774
774
|
}, href ? { href, isExternal } : {}), {
|
|
775
775
|
children: [
|
|
776
776
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
777
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className:
|
|
777
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx43(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx43(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
778
778
|
isLink && /* @__PURE__ */ jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
779
779
|
] }),
|
|
780
780
|
/* @__PURE__ */ jsxs("div", { className: Card_module_default.content, children: [
|
|
@@ -809,10 +809,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
809
809
|
title: CountingCardTitle
|
|
810
810
|
});
|
|
811
811
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
812
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
812
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx43(CountingCard_module_default["counting-card"], className), children: [
|
|
813
813
|
/* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
814
814
|
titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
|
|
815
|
-
count && /* @__PURE__ */ jsx("div", { className:
|
|
815
|
+
count && /* @__PURE__ */ jsx("div", { className: clsx43(CountingCard_module_default.count, "h1"), children: count })
|
|
816
816
|
] }),
|
|
817
817
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
818
818
|
] });
|
|
@@ -898,7 +898,7 @@ function FilterBar({
|
|
|
898
898
|
"button",
|
|
899
899
|
{
|
|
900
900
|
type: "button",
|
|
901
|
-
className:
|
|
901
|
+
className: clsx43(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
902
902
|
onClick: () => onViewChange("grid"),
|
|
903
903
|
"aria-pressed": view === "grid",
|
|
904
904
|
children: [
|
|
@@ -911,7 +911,7 @@ function FilterBar({
|
|
|
911
911
|
"button",
|
|
912
912
|
{
|
|
913
913
|
type: "button",
|
|
914
|
-
className:
|
|
914
|
+
className: clsx43(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
915
915
|
onClick: () => onViewChange("list"),
|
|
916
916
|
"aria-pressed": view === "list",
|
|
917
917
|
children: [
|
|
@@ -925,7 +925,7 @@ function FilterBar({
|
|
|
925
925
|
/* @__PURE__ */ jsxs(
|
|
926
926
|
"div",
|
|
927
927
|
{
|
|
928
|
-
className:
|
|
928
|
+
className: clsx43(
|
|
929
929
|
FilterBar_module_default.dropdownWrapper,
|
|
930
930
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
931
931
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -936,7 +936,7 @@ function FilterBar({
|
|
|
936
936
|
"button",
|
|
937
937
|
{
|
|
938
938
|
type: "button",
|
|
939
|
-
className:
|
|
939
|
+
className: clsx43(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
940
940
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
941
941
|
"aria-expanded": openDropdown === "filter",
|
|
942
942
|
children: [
|
|
@@ -951,7 +951,7 @@ function FilterBar({
|
|
|
951
951
|
type: "button",
|
|
952
952
|
role: "option",
|
|
953
953
|
"aria-selected": filterValue === opt.value,
|
|
954
|
-
className:
|
|
954
|
+
className: clsx43(
|
|
955
955
|
FilterBar_module_default.dropdownOption,
|
|
956
956
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
957
957
|
),
|
|
@@ -972,7 +972,7 @@ function FilterBar({
|
|
|
972
972
|
/* @__PURE__ */ jsxs(
|
|
973
973
|
"div",
|
|
974
974
|
{
|
|
975
|
-
className:
|
|
975
|
+
className: clsx43(
|
|
976
976
|
FilterBar_module_default.dropdownWrapper,
|
|
977
977
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
978
978
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -998,7 +998,7 @@ function FilterBar({
|
|
|
998
998
|
type: "button",
|
|
999
999
|
role: "option",
|
|
1000
1000
|
"aria-selected": sortValue === opt.value,
|
|
1001
|
-
className:
|
|
1001
|
+
className: clsx43(
|
|
1002
1002
|
FilterBar_module_default.dropdownOption,
|
|
1003
1003
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1004
1004
|
),
|
|
@@ -1016,7 +1016,7 @@ function FilterBar({
|
|
|
1016
1016
|
searchState !== "closed" ? /* @__PURE__ */ jsxs(
|
|
1017
1017
|
"div",
|
|
1018
1018
|
{
|
|
1019
|
-
className:
|
|
1019
|
+
className: clsx43(
|
|
1020
1020
|
FilterBar_module_default.searchExpanded,
|
|
1021
1021
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1022
1022
|
),
|
|
@@ -1098,9 +1098,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1098
1098
|
});
|
|
1099
1099
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1100
1100
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1101
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1101
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx43(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1102
1102
|
/* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1103
|
-
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className:
|
|
1103
|
+
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx43(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1104
1104
|
titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
|
|
1105
1105
|
] }),
|
|
1106
1106
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1197,7 +1197,7 @@ var Pagination = ({
|
|
|
1197
1197
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1198
1198
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1199
1199
|
const pageItems = showEllipsis ? getPaginationRange(totalPages, activePage, siblingCount, boundaryCount) : Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1200
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1200
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx43(Pagination_module_default.pagination, className), children: [
|
|
1201
1201
|
!disableArrows && (renderLink ? renderLink({
|
|
1202
1202
|
page: prevPage,
|
|
1203
1203
|
className: Pagination_module_default.prev,
|
|
@@ -1218,7 +1218,7 @@ var Pagination = ({
|
|
|
1218
1218
|
return /* @__PURE__ */ jsx("span", { className: Pagination_module_default.dots, "aria-hidden": "true", children: "\u2026" }, `dots-${index}`);
|
|
1219
1219
|
}
|
|
1220
1220
|
const page = item;
|
|
1221
|
-
const pageClassName =
|
|
1221
|
+
const pageClassName = clsx43(Pagination_module_default.page, {
|
|
1222
1222
|
[Pagination_module_default.active]: activePage === page,
|
|
1223
1223
|
[Pagination_module_default.number]: hasNumber,
|
|
1224
1224
|
[Pagination_module_default["no-border"]]: hidePagesBorder
|
|
@@ -1270,7 +1270,7 @@ var PracticeCard_module_default = {
|
|
|
1270
1270
|
};
|
|
1271
1271
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1272
1272
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1273
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1273
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
|
|
1274
1274
|
ConditionalWrapper,
|
|
1275
1275
|
__spreadProps(__spreadValues({
|
|
1276
1276
|
className: PracticeCard_module_default.wrapper,
|
|
@@ -1281,7 +1281,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1281
1281
|
children: [
|
|
1282
1282
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1283
1283
|
/* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1284
|
-
title && /* @__PURE__ */ jsx("div", { className:
|
|
1284
|
+
title && /* @__PURE__ */ jsx("div", { className: clsx43(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1285
1285
|
href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1286
1286
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1287
1287
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1319,21 +1319,21 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1319
1319
|
href: item.href,
|
|
1320
1320
|
target: "_blank",
|
|
1321
1321
|
rel: "noopener noreferrer",
|
|
1322
|
-
className:
|
|
1322
|
+
className: clsx43("news-card-link", ResourceCardItem_module_default["news-card-link"]),
|
|
1323
1323
|
"aria-label": item.title
|
|
1324
1324
|
} : null;
|
|
1325
1325
|
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1326
|
-
className:
|
|
1326
|
+
className: clsx43(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1327
1327
|
children: null
|
|
1328
1328
|
})) : /* @__PURE__ */ jsx(
|
|
1329
1329
|
"a",
|
|
1330
1330
|
__spreadProps(__spreadValues({}, linkProps), {
|
|
1331
|
-
className:
|
|
1331
|
+
className: clsx43(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1332
1332
|
})
|
|
1333
1333
|
) : null;
|
|
1334
1334
|
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, children }));
|
|
1335
1335
|
if (view === "grid") {
|
|
1336
|
-
return /* @__PURE__ */ jsxs("article", { className:
|
|
1336
|
+
return /* @__PURE__ */ jsxs("article", { className: clsx43(ResourceCardItem_module_default.cardGrid, isGlobalSearchVariant && ResourceCardItem_module_default[variant]), children: [
|
|
1337
1337
|
cardLink,
|
|
1338
1338
|
/* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
|
|
1339
1339
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -1398,7 +1398,7 @@ var Sidebar = ({
|
|
|
1398
1398
|
return /* @__PURE__ */ jsxs(
|
|
1399
1399
|
"li",
|
|
1400
1400
|
{
|
|
1401
|
-
className:
|
|
1401
|
+
className: clsx43(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1402
1402
|
role: "button",
|
|
1403
1403
|
tabIndex: 0,
|
|
1404
1404
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1455,7 +1455,7 @@ var UpcomingEventCard = ({
|
|
|
1455
1455
|
return /* @__PURE__ */ jsxs(
|
|
1456
1456
|
"article",
|
|
1457
1457
|
{
|
|
1458
|
-
className:
|
|
1458
|
+
className: clsx43(
|
|
1459
1459
|
"card",
|
|
1460
1460
|
UpcomingEventCard_module_default["event-card"],
|
|
1461
1461
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1463,26 +1463,26 @@ var UpcomingEventCard = ({
|
|
|
1463
1463
|
className
|
|
1464
1464
|
),
|
|
1465
1465
|
children: [
|
|
1466
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1467
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1466
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1467
|
+
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx43("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1468
1468
|
/* @__PURE__ */ jsxs(
|
|
1469
1469
|
"div",
|
|
1470
1470
|
{
|
|
1471
|
-
className:
|
|
1471
|
+
className: clsx43(
|
|
1472
1472
|
"card-text-content",
|
|
1473
1473
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1474
1474
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1475
1475
|
),
|
|
1476
1476
|
children: [
|
|
1477
1477
|
/* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1478
|
-
title && /* @__PURE__ */ jsx("h3", { className:
|
|
1478
|
+
title && /* @__PURE__ */ jsx("h3", { className: clsx43("card-text-title"), children: title }),
|
|
1479
1479
|
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1480
|
-
description && /* @__PURE__ */ jsx("div", { className:
|
|
1480
|
+
description && /* @__PURE__ */ jsx("div", { className: clsx43("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1481
1481
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1482
1482
|
Button,
|
|
1483
1483
|
{
|
|
1484
1484
|
variant: "secondary",
|
|
1485
|
-
className:
|
|
1485
|
+
className: clsx43(
|
|
1486
1486
|
"card-cta",
|
|
1487
1487
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1488
1488
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1501,12 +1501,12 @@ var UpcomingEventCard = ({
|
|
|
1501
1501
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1502
1502
|
"div",
|
|
1503
1503
|
{
|
|
1504
|
-
className:
|
|
1504
|
+
className: clsx43("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1505
1505
|
children: /* @__PURE__ */ jsx(
|
|
1506
1506
|
Button,
|
|
1507
1507
|
{
|
|
1508
1508
|
variant: "secondary",
|
|
1509
|
-
className:
|
|
1509
|
+
className: clsx43("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1510
1510
|
fullWidth: isBelowMobile,
|
|
1511
1511
|
href: cta.url,
|
|
1512
1512
|
icon: cta.icon,
|
|
@@ -1554,7 +1554,7 @@ var Badge = forwardRef(
|
|
|
1554
1554
|
"live",
|
|
1555
1555
|
"clickable"
|
|
1556
1556
|
]);
|
|
1557
|
-
const classes =
|
|
1557
|
+
const classes = clsx43(
|
|
1558
1558
|
Badge_module_default.badge,
|
|
1559
1559
|
Badge_module_default[variant],
|
|
1560
1560
|
Badge_module_default[size],
|
|
@@ -1565,7 +1565,7 @@ var Badge = forwardRef(
|
|
|
1565
1565
|
className
|
|
1566
1566
|
);
|
|
1567
1567
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1568
|
-
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className:
|
|
1568
|
+
icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx43("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1569
1569
|
!iconOnly && /* @__PURE__ */ jsx("span", { className: Badge_module_default.label, children })
|
|
1570
1570
|
] });
|
|
1571
1571
|
if (clickable) {
|
|
@@ -1646,7 +1646,7 @@ var Input = forwardRef(
|
|
|
1646
1646
|
return /* @__PURE__ */ jsxs(
|
|
1647
1647
|
"div",
|
|
1648
1648
|
{
|
|
1649
|
-
className:
|
|
1649
|
+
className: clsx43(
|
|
1650
1650
|
"input-field",
|
|
1651
1651
|
Input_module_default["input-field"],
|
|
1652
1652
|
{
|
|
@@ -1660,17 +1660,17 @@ var Input = forwardRef(
|
|
|
1660
1660
|
"label",
|
|
1661
1661
|
{
|
|
1662
1662
|
htmlFor: inputId,
|
|
1663
|
-
className:
|
|
1663
|
+
className: clsx43("input-label", Input_module_default.label, {
|
|
1664
1664
|
["sr-only"]: hideLabel
|
|
1665
1665
|
}),
|
|
1666
1666
|
children: [
|
|
1667
1667
|
label,
|
|
1668
|
-
required && /* @__PURE__ */ jsx("span", { className:
|
|
1668
|
+
required && /* @__PURE__ */ jsx("span", { className: clsx43("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1669
1669
|
]
|
|
1670
1670
|
}
|
|
1671
1671
|
),
|
|
1672
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1673
|
-
startAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1672
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("input-wrapper", Input_module_default.wrapper), children: [
|
|
1673
|
+
startAdornment && /* @__PURE__ */ jsx("span", { className: clsx43("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1674
1674
|
/* @__PURE__ */ jsx(
|
|
1675
1675
|
"input",
|
|
1676
1676
|
__spreadValues({
|
|
@@ -1681,7 +1681,7 @@ var Input = forwardRef(
|
|
|
1681
1681
|
disabled,
|
|
1682
1682
|
"aria-invalid": !!error,
|
|
1683
1683
|
"aria-describedby": describedBy || void 0,
|
|
1684
|
-
className:
|
|
1684
|
+
className: clsx43(
|
|
1685
1685
|
"input",
|
|
1686
1686
|
Input_module_default.input,
|
|
1687
1687
|
{
|
|
@@ -1692,11 +1692,11 @@ var Input = forwardRef(
|
|
|
1692
1692
|
)
|
|
1693
1693
|
}, props)
|
|
1694
1694
|
),
|
|
1695
|
-
endAdornment && /* @__PURE__ */ jsx("span", { className:
|
|
1696
|
-
endAction && /* @__PURE__ */ jsx("span", { className:
|
|
1695
|
+
endAdornment && /* @__PURE__ */ jsx("span", { className: clsx43("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1696
|
+
endAction && /* @__PURE__ */ jsx("span", { className: clsx43("input-end-action"), children: endAction })
|
|
1697
1697
|
] }),
|
|
1698
|
-
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className:
|
|
1699
|
-
error && /* @__PURE__ */ jsx("p", { id: errorId, className:
|
|
1698
|
+
helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx43("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1699
|
+
error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx43("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1700
1700
|
]
|
|
1701
1701
|
}
|
|
1702
1702
|
);
|
|
@@ -1736,14 +1736,14 @@ var NewsCard = ({
|
|
|
1736
1736
|
href: cta.url,
|
|
1737
1737
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1738
1738
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1739
|
-
className:
|
|
1739
|
+
className: clsx43("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1740
1740
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1741
1741
|
} : null;
|
|
1742
1742
|
const cardLink = linkProps ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), { children: null })) : /* @__PURE__ */ jsx("a", __spreadValues({}, linkProps)) : null;
|
|
1743
1743
|
return /* @__PURE__ */ jsxs(
|
|
1744
1744
|
"article",
|
|
1745
1745
|
{
|
|
1746
|
-
className:
|
|
1746
|
+
className: clsx43(
|
|
1747
1747
|
"news-card",
|
|
1748
1748
|
NewsCard_module_default["news-card"],
|
|
1749
1749
|
NewsCard_module_default[`news-card--${direction}`],
|
|
@@ -1751,28 +1751,28 @@ var NewsCard = ({
|
|
|
1751
1751
|
),
|
|
1752
1752
|
children: [
|
|
1753
1753
|
cardLink,
|
|
1754
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1754
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx43("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1755
1755
|
/* @__PURE__ */ jsxs(
|
|
1756
1756
|
"div",
|
|
1757
1757
|
{
|
|
1758
|
-
className:
|
|
1758
|
+
className: clsx43("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1759
1759
|
style: {
|
|
1760
1760
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1761
1761
|
},
|
|
1762
1762
|
children: [
|
|
1763
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1764
|
-
/* @__PURE__ */ jsx(Badge, { className:
|
|
1765
|
-
/* @__PURE__ */ jsx("time", { dateTime: date.value, className:
|
|
1763
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1764
|
+
/* @__PURE__ */ jsx(Badge, { className: clsx43("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1765
|
+
/* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx43("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1766
1766
|
] }),
|
|
1767
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1768
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
1769
|
-
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className:
|
|
1767
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1768
|
+
/* @__PURE__ */ jsx("h3", { className: clsx43("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1769
|
+
typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx43("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description
|
|
1770
1770
|
] }),
|
|
1771
|
-
cta && cta.url && /* @__PURE__ */ jsx("div", { className:
|
|
1771
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx43("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1772
1772
|
Button,
|
|
1773
1773
|
{
|
|
1774
1774
|
variant: "secondary",
|
|
1775
|
-
className:
|
|
1775
|
+
className: clsx43("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1776
1776
|
href: cta.url,
|
|
1777
1777
|
icon: cta.icon,
|
|
1778
1778
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -1803,7 +1803,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1803
1803
|
body: BlogPostContentBody
|
|
1804
1804
|
});
|
|
1805
1805
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1806
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1806
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1807
1807
|
};
|
|
1808
1808
|
|
|
1809
1809
|
// src/components/BlogPostContent/index.ts
|
|
@@ -1889,13 +1889,13 @@ var CardCollection = ({
|
|
|
1889
1889
|
Container,
|
|
1890
1890
|
{
|
|
1891
1891
|
ref: container,
|
|
1892
|
-
className:
|
|
1892
|
+
className: clsx43(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
1893
1893
|
children: [
|
|
1894
1894
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
1895
1895
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
1896
1896
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
1897
1897
|
] }),
|
|
1898
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
1898
|
+
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx43(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
1899
1899
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
1900
1900
|
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(
|
|
1901
1901
|
Card2,
|
|
@@ -1996,7 +1996,7 @@ var ContactModule = ({
|
|
|
1996
1996
|
},
|
|
1997
1997
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
1998
1998
|
);
|
|
1999
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
1999
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx43(ContactModule_module_default["contact-module"], className), children: [
|
|
2000
2000
|
blurred && /* @__PURE__ */ jsx(
|
|
2001
2001
|
"div",
|
|
2002
2002
|
{
|
|
@@ -2011,8 +2011,8 @@ var ContactModule = ({
|
|
|
2011
2011
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
2012
2012
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
2013
2013
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
2014
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2015
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2014
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx43(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
2015
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx43(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
2016
2016
|
] }),
|
|
2017
2017
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
2018
2018
|
Button,
|
|
@@ -2081,7 +2081,7 @@ var Footer = ({
|
|
|
2081
2081
|
disclaimer: FooterDisclaimer
|
|
2082
2082
|
});
|
|
2083
2083
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2084
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
2084
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx43(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2085
2085
|
supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2086
2086
|
/* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2087
2087
|
/* @__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: [
|
|
@@ -2110,7 +2110,7 @@ var Footer = ({
|
|
|
2110
2110
|
index
|
|
2111
2111
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2112
2112
|
) }) }),
|
|
2113
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2113
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx43(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2114
2114
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2115
2115
|
] }),
|
|
2116
2116
|
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(
|
|
@@ -2136,7 +2136,7 @@ var LogoBar_module_default = {
|
|
|
2136
2136
|
};
|
|
2137
2137
|
var LogoBar = ({ className, items }) => {
|
|
2138
2138
|
if (!items || items.length === 0) return null;
|
|
2139
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2139
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2140
2140
|
return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2141
2141
|
item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2142
2142
|
item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2208,7 +2208,7 @@ var HeroBanner = ({
|
|
|
2208
2208
|
});
|
|
2209
2209
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2210
2210
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2211
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2211
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx43(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], className), children: [
|
|
2212
2212
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2213
2213
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2214
2214
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.text, children: [
|
|
@@ -2218,7 +2218,7 @@ var HeroBanner = ({
|
|
|
2218
2218
|
{
|
|
2219
2219
|
tag: "h2",
|
|
2220
2220
|
promoteToH1,
|
|
2221
|
-
className:
|
|
2221
|
+
className: clsx43(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2222
2222
|
children: titleNode
|
|
2223
2223
|
}
|
|
2224
2224
|
),
|
|
@@ -2227,7 +2227,7 @@ var HeroBanner = ({
|
|
|
2227
2227
|
{
|
|
2228
2228
|
tag: "div",
|
|
2229
2229
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2230
|
-
className:
|
|
2230
|
+
className: clsx43(HeroBanner_module_default.subtitle, "subheading"),
|
|
2231
2231
|
children: subtitleNode
|
|
2232
2232
|
}
|
|
2233
2233
|
)
|
|
@@ -2304,7 +2304,7 @@ var HeroBannerCarousel = ({
|
|
|
2304
2304
|
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
2305
2305
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
2306
2306
|
if (!items.length) return null;
|
|
2307
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2307
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2308
2308
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
2309
2309
|
Swiper,
|
|
2310
2310
|
{
|
|
@@ -2351,7 +2351,7 @@ var HeroBannerCarousel = ({
|
|
|
2351
2351
|
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
2352
2352
|
"button",
|
|
2353
2353
|
{
|
|
2354
|
-
className:
|
|
2354
|
+
className: clsx43(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2355
2355
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2356
2356
|
"aria-label": `Go to slide ${index + 1}`
|
|
2357
2357
|
},
|
|
@@ -2431,7 +2431,7 @@ var AccordionItem = ({
|
|
|
2431
2431
|
return /* @__PURE__ */ jsxs(
|
|
2432
2432
|
"div",
|
|
2433
2433
|
{
|
|
2434
|
-
className:
|
|
2434
|
+
className: clsx43(
|
|
2435
2435
|
Accordion_module_default.accordionItem,
|
|
2436
2436
|
{
|
|
2437
2437
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2442,18 +2442,18 @@ var AccordionItem = ({
|
|
|
2442
2442
|
/* @__PURE__ */ jsxs(
|
|
2443
2443
|
"button",
|
|
2444
2444
|
{
|
|
2445
|
-
className:
|
|
2445
|
+
className: clsx43(Accordion_module_default.accordionHeader, {
|
|
2446
2446
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2447
2447
|
}),
|
|
2448
2448
|
onClick: handleToggle,
|
|
2449
2449
|
"aria-expanded": isOpen,
|
|
2450
2450
|
"aria-label": `Toggle ${title}`,
|
|
2451
2451
|
children: [
|
|
2452
|
-
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className:
|
|
2452
|
+
/* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx43("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
2453
2453
|
/* @__PURE__ */ jsx(
|
|
2454
2454
|
"span",
|
|
2455
2455
|
{
|
|
2456
|
-
className:
|
|
2456
|
+
className: clsx43(Accordion_module_default.accordionChevron, {
|
|
2457
2457
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2458
2458
|
}),
|
|
2459
2459
|
children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2505,7 +2505,7 @@ var Accordion = ({
|
|
|
2505
2505
|
if (items.length === 0) {
|
|
2506
2506
|
return null;
|
|
2507
2507
|
}
|
|
2508
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2508
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(Accordion_module_default.accordion, className), children: items.map((item) => /* @__PURE__ */ jsx(
|
|
2509
2509
|
AccordionItem,
|
|
2510
2510
|
{
|
|
2511
2511
|
id: item.id,
|
|
@@ -2595,7 +2595,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2595
2595
|
};
|
|
2596
2596
|
})) || [];
|
|
2597
2597
|
}, [tabs]);
|
|
2598
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2598
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx43(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
2599
2599
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
2600
2600
|
title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
2601
2601
|
subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -2611,7 +2611,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2611
2611
|
},
|
|
2612
2612
|
index
|
|
2613
2613
|
)) }),
|
|
2614
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2614
|
+
/* @__PURE__ */ jsx("div", { className: clsx43(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2615
2615
|
/* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
2616
2616
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
2617
2617
|
((_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 }),
|
|
@@ -2708,22 +2708,22 @@ var MiniBanner = ({
|
|
|
2708
2708
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
2709
2709
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
2710
2710
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
2711
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2711
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx43(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
2712
2712
|
((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)),
|
|
2713
2713
|
/* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
2714
2714
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
2715
2715
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
2716
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2716
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx43(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
2717
2717
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
2718
2718
|
goBackNode ? React66.cloneElement(goBackNode, {
|
|
2719
|
-
className:
|
|
2719
|
+
className: clsx43("back-button", MiniBanner_module_default["back-button"])
|
|
2720
2720
|
}) : null,
|
|
2721
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
2721
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx43(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
|
|
2722
2722
|
] }),
|
|
2723
2723
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
2724
2724
|
"div",
|
|
2725
2725
|
{
|
|
2726
|
-
className:
|
|
2726
|
+
className: clsx43(MiniBanner_module_default.title, {
|
|
2727
2727
|
subheading: isMiniBannerNoBG || isMiniBannerTextLeft,
|
|
2728
2728
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft
|
|
2729
2729
|
}),
|
|
@@ -2795,14 +2795,14 @@ var MiniSectionCta = ({
|
|
|
2795
2795
|
return /* @__PURE__ */ jsx(
|
|
2796
2796
|
"div",
|
|
2797
2797
|
{
|
|
2798
|
-
className:
|
|
2798
|
+
className: clsx43(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
2799
2799
|
children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
2800
2800
|
/* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
2801
2801
|
titleNode && /* @__PURE__ */ jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
2802
2802
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
2803
2803
|
"div",
|
|
2804
2804
|
{
|
|
2805
|
-
className:
|
|
2805
|
+
className: clsx43(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
2806
2806
|
children: subtitleNode
|
|
2807
2807
|
}
|
|
2808
2808
|
)
|
|
@@ -2967,7 +2967,7 @@ var NavigationDesktop = ({
|
|
|
2967
2967
|
Button,
|
|
2968
2968
|
{
|
|
2969
2969
|
variant: "navnofillblack",
|
|
2970
|
-
className:
|
|
2970
|
+
className: clsx43(Navigation_module_default.dropdownTrigger, { [Navigation_module_default.dropdownTriggerOpen]: isOpen }),
|
|
2971
2971
|
icon: isTransparent ? "downChevronWhite" : "downChevronBlack",
|
|
2972
2972
|
isActive: isOpen,
|
|
2973
2973
|
"aria-expanded": isOpen,
|
|
@@ -2984,7 +2984,7 @@ var NavigationDesktop = ({
|
|
|
2984
2984
|
"div",
|
|
2985
2985
|
{
|
|
2986
2986
|
id: panelId,
|
|
2987
|
-
className:
|
|
2987
|
+
className: clsx43(Navigation_module_default.dropdownPanel, { [Navigation_module_default.dropdownPanelOpen]: isOpen }),
|
|
2988
2988
|
"aria-hidden": !isOpen,
|
|
2989
2989
|
onMouseEnter: () => handleDropdownEnter(index),
|
|
2990
2990
|
onMouseLeave: handleDropdownLeave,
|
|
@@ -3061,7 +3061,7 @@ var NavigationMobile = ({
|
|
|
3061
3061
|
"div",
|
|
3062
3062
|
{
|
|
3063
3063
|
id,
|
|
3064
|
-
className:
|
|
3064
|
+
className: clsx43(Navigation_module_default.mobileMenu, isOpen && Navigation_module_default.mobileMenuOpen),
|
|
3065
3065
|
role: "dialog",
|
|
3066
3066
|
"aria-modal": "true",
|
|
3067
3067
|
"aria-label": "Navigation menu",
|
|
@@ -3106,7 +3106,7 @@ var NavigationMobile = ({
|
|
|
3106
3106
|
/* @__PURE__ */ jsx(
|
|
3107
3107
|
"span",
|
|
3108
3108
|
{
|
|
3109
|
-
className:
|
|
3109
|
+
className: clsx43(
|
|
3110
3110
|
Navigation_module_default.mobileItemChevron,
|
|
3111
3111
|
isExpanded && Navigation_module_default.mobileItemChevronOpen
|
|
3112
3112
|
),
|
|
@@ -3121,7 +3121,7 @@ var NavigationMobile = ({
|
|
|
3121
3121
|
"div",
|
|
3122
3122
|
{
|
|
3123
3123
|
id: subMenuId,
|
|
3124
|
-
className:
|
|
3124
|
+
className: clsx43(Navigation_module_default.mobileSubItems, isExpanded && Navigation_module_default.mobileSubItemsOpen),
|
|
3125
3125
|
children: /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileSubItemsInner, children: item.items.map(
|
|
3126
3126
|
(subItem, i) => {
|
|
3127
3127
|
var _a3, _b2;
|
|
@@ -3173,7 +3173,7 @@ var Navigation2 = (props) => {
|
|
|
3173
3173
|
/* @__PURE__ */ jsx(
|
|
3174
3174
|
"div",
|
|
3175
3175
|
{
|
|
3176
|
-
className:
|
|
3176
|
+
className: clsx43(
|
|
3177
3177
|
Navigation_module_default.navigationWrapper,
|
|
3178
3178
|
variant === "transparent" && Navigation_module_default.variantTransparent,
|
|
3179
3179
|
isTransparent && Navigation_module_default.transparent,
|
|
@@ -3181,14 +3181,14 @@ var Navigation2 = (props) => {
|
|
|
3181
3181
|
),
|
|
3182
3182
|
onMouseEnter: () => setIsHovered(true),
|
|
3183
3183
|
onMouseLeave: () => setIsHovered(false),
|
|
3184
|
-
children: /* @__PURE__ */ jsxs("nav", { className:
|
|
3184
|
+
children: /* @__PURE__ */ jsxs("nav", { className: clsx43(Navigation_module_default.navigation, className), "aria-label": "Main", children: [
|
|
3185
3185
|
/* @__PURE__ */ jsxs("div", { className: Navigation_module_default.upperNav, children: [
|
|
3186
3186
|
/* @__PURE__ */ jsx(
|
|
3187
3187
|
NavigationLogo,
|
|
3188
3188
|
{
|
|
3189
3189
|
mainLogo,
|
|
3190
3190
|
homeCta,
|
|
3191
|
-
className:
|
|
3191
|
+
className: clsx43(Navigation_module_default.mainLogo, isTabletBelow && Navigation_module_default.mainLogoMobile)
|
|
3192
3192
|
}
|
|
3193
3193
|
),
|
|
3194
3194
|
isTabletBelow ? /* @__PURE__ */ jsx(
|
|
@@ -3285,7 +3285,7 @@ var PracticePathCards = ({
|
|
|
3285
3285
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3286
3286
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
3287
3287
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
3288
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3288
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
3289
3289
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
3290
3290
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
3291
3291
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -3339,8 +3339,8 @@ var Teaser5050With3Text = ({
|
|
|
3339
3339
|
title: Teaser5050With3TextTitle
|
|
3340
3340
|
});
|
|
3341
3341
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3342
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3343
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3342
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
3343
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx43(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
3344
3344
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
3345
3345
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
3346
3346
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -3390,12 +3390,12 @@ var Teaser5050WithCta = ({
|
|
|
3390
3390
|
return /* @__PURE__ */ jsx(
|
|
3391
3391
|
"div",
|
|
3392
3392
|
{
|
|
3393
|
-
className:
|
|
3393
|
+
className: clsx43(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
3394
3394
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
3395
3395
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
3396
3396
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
3397
3397
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
3398
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
3398
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx43(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
3399
3399
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
3400
3400
|
] }),
|
|
3401
3401
|
/* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
@@ -3447,7 +3447,7 @@ var Carousel = (_a) => {
|
|
|
3447
3447
|
},
|
|
3448
3448
|
role: "region",
|
|
3449
3449
|
"aria-label": ariaLabel,
|
|
3450
|
-
className:
|
|
3450
|
+
className: clsx43(Carousel_module_default.carousel, className),
|
|
3451
3451
|
spaceBetween: 0,
|
|
3452
3452
|
slidesPerView: "auto",
|
|
3453
3453
|
modules: [FreeMode, A11y],
|
|
@@ -3457,7 +3457,7 @@ var Carousel = (_a) => {
|
|
|
3457
3457
|
children: slides.map((slide, index) => /* @__PURE__ */ jsx(
|
|
3458
3458
|
SwiperSlide,
|
|
3459
3459
|
{
|
|
3460
|
-
className:
|
|
3460
|
+
className: clsx43(Carousel_module_default["carousel-item"], props.slideClass),
|
|
3461
3461
|
children: slide
|
|
3462
3462
|
},
|
|
3463
3463
|
index
|
|
@@ -3507,13 +3507,13 @@ var EventList = ({
|
|
|
3507
3507
|
return /* @__PURE__ */ jsx(
|
|
3508
3508
|
"div",
|
|
3509
3509
|
{
|
|
3510
|
-
className:
|
|
3510
|
+
className: clsx43("event-list-module", EventList_module_default["event-list-module"], className),
|
|
3511
3511
|
style: {
|
|
3512
3512
|
backgroundColor
|
|
3513
3513
|
},
|
|
3514
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
3514
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx43(EventList_module_default["event-list-container"]), children: [
|
|
3515
3515
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
3516
|
-
titleNode && /* @__PURE__ */ jsx("h2", { className:
|
|
3516
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx43(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
3517
3517
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
3518
3518
|
Button,
|
|
3519
3519
|
{
|
|
@@ -3530,7 +3530,7 @@ var EventList = ({
|
|
|
3530
3530
|
Carousel,
|
|
3531
3531
|
{
|
|
3532
3532
|
"aria-label": "Upcoming events",
|
|
3533
|
-
wrapperClass:
|
|
3533
|
+
wrapperClass: clsx43(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
3534
3534
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
3535
3535
|
spaceBetween: 16,
|
|
3536
3536
|
slides: items.map((item) => {
|
|
@@ -3538,7 +3538,7 @@ var EventList = ({
|
|
|
3538
3538
|
return /* @__PURE__ */ jsx(
|
|
3539
3539
|
UpcomingEventCard,
|
|
3540
3540
|
__spreadValues({
|
|
3541
|
-
className:
|
|
3541
|
+
className: clsx43(EventList_module_default["event-card"]),
|
|
3542
3542
|
direction: "vertical",
|
|
3543
3543
|
showImage: false
|
|
3544
3544
|
}, item),
|
|
@@ -3551,17 +3551,17 @@ var EventList = ({
|
|
|
3551
3551
|
"ul",
|
|
3552
3552
|
{
|
|
3553
3553
|
"aria-label": "Upcoming events",
|
|
3554
|
-
className:
|
|
3554
|
+
className: clsx43(EventList_module_default["event-list-wrapper"], EventList_module_default["horizontal"], EventList_module_default[variant]),
|
|
3555
3555
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
3556
3556
|
var _a2, _b, _c;
|
|
3557
3557
|
return /* @__PURE__ */ jsx(
|
|
3558
3558
|
"li",
|
|
3559
3559
|
{
|
|
3560
|
-
className:
|
|
3560
|
+
className: clsx43(EventList_module_default["card-list-item"]),
|
|
3561
3561
|
children: /* @__PURE__ */ jsx(
|
|
3562
3562
|
UpcomingEventCard,
|
|
3563
3563
|
__spreadProps(__spreadValues({}, item), {
|
|
3564
|
-
className:
|
|
3564
|
+
className: clsx43(EventList_module_default["card-item"]),
|
|
3565
3565
|
showImage: false,
|
|
3566
3566
|
direction: "vertical"
|
|
3567
3567
|
})
|
|
@@ -3576,7 +3576,7 @@ var EventList = ({
|
|
|
3576
3576
|
"ul",
|
|
3577
3577
|
{
|
|
3578
3578
|
"aria-label": "Upcoming events",
|
|
3579
|
-
className:
|
|
3579
|
+
className: clsx43(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
3580
3580
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
3581
3581
|
var _a2, _b, _c;
|
|
3582
3582
|
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);
|
|
@@ -3624,9 +3624,9 @@ var TextEvent = (props) => {
|
|
|
3624
3624
|
});
|
|
3625
3625
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3626
3626
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
3627
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
3627
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx43(TextEvent_module_default.textEvent, className), children: [
|
|
3628
3628
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
3629
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3629
|
+
/* @__PURE__ */ jsx("div", { className: clsx43(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
3630
3630
|
] });
|
|
3631
3631
|
};
|
|
3632
3632
|
|
|
@@ -3657,7 +3657,7 @@ var TextBody = (props) => {
|
|
|
3657
3657
|
});
|
|
3658
3658
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3659
3659
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
3660
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
3660
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx43(TextBody_module_default.textBody, className), children: [
|
|
3661
3661
|
titleNode && /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
3662
3662
|
/* @__PURE__ */ jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
3663
3663
|
] });
|
|
@@ -3700,7 +3700,7 @@ var TextCenterCtaInBottom = ({
|
|
|
3700
3700
|
});
|
|
3701
3701
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3702
3702
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
3703
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
3703
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
3704
3704
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
3705
3705
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
3706
3706
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -3708,7 +3708,7 @@ var TextCenterCtaInBottom = ({
|
|
|
3708
3708
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
3709
3709
|
"div",
|
|
3710
3710
|
{
|
|
3711
|
-
className:
|
|
3711
|
+
className: clsx43(
|
|
3712
3712
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
3713
3713
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
3714
3714
|
),
|
|
@@ -3820,7 +3820,7 @@ var ResourcesGridList = ({
|
|
|
3820
3820
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
3821
3821
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
3822
3822
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
3823
|
-
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className:
|
|
3823
|
+
return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx43(ResourcesGridList_module_default.widget, className), children: [
|
|
3824
3824
|
/* @__PURE__ */ jsx(
|
|
3825
3825
|
FilterBar,
|
|
3826
3826
|
{
|
|
@@ -3839,7 +3839,7 @@ var ResourcesGridList = ({
|
|
|
3839
3839
|
isMobile && /* @__PURE__ */ jsxs(
|
|
3840
3840
|
"div",
|
|
3841
3841
|
{
|
|
3842
|
-
className:
|
|
3842
|
+
className: clsx43(
|
|
3843
3843
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
3844
3844
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
3845
3845
|
),
|
|
@@ -3850,7 +3850,7 @@ var ResourcesGridList = ({
|
|
|
3850
3850
|
return /* @__PURE__ */ jsxs(
|
|
3851
3851
|
"li",
|
|
3852
3852
|
{
|
|
3853
|
-
className:
|
|
3853
|
+
className: clsx43(
|
|
3854
3854
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
3855
3855
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
3856
3856
|
),
|
|
@@ -3895,7 +3895,7 @@ var ResourcesGridList = ({
|
|
|
3895
3895
|
onSelect: handleSelectCategory
|
|
3896
3896
|
}
|
|
3897
3897
|
),
|
|
3898
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3898
|
+
/* @__PURE__ */ jsx("div", { className: clsx43(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
3899
3899
|
] }),
|
|
3900
3900
|
totalPages > 1 && /* @__PURE__ */ jsx(
|
|
3901
3901
|
Pagination,
|
|
@@ -3928,7 +3928,7 @@ var Grid = ({
|
|
|
3928
3928
|
return /* @__PURE__ */ jsx(
|
|
3929
3929
|
Component,
|
|
3930
3930
|
{
|
|
3931
|
-
className:
|
|
3931
|
+
className: clsx43("grid", Grid_module_default.grid, className),
|
|
3932
3932
|
role,
|
|
3933
3933
|
"aria-label": ariaLabel,
|
|
3934
3934
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -3953,7 +3953,7 @@ var GridItem = ({
|
|
|
3953
3953
|
return /* @__PURE__ */ jsx(
|
|
3954
3954
|
Component,
|
|
3955
3955
|
{
|
|
3956
|
-
className:
|
|
3956
|
+
className: clsx43("grid-item", Grid_module_default["grid-item"], className),
|
|
3957
3957
|
role,
|
|
3958
3958
|
"aria-label": ariaLabel,
|
|
3959
3959
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -4001,13 +4001,13 @@ var BlogCardGrid = ({
|
|
|
4001
4001
|
title: BlogCardGridTitle
|
|
4002
4002
|
});
|
|
4003
4003
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4004
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4005
|
-
title && /* @__PURE__ */ jsxs("div", { className:
|
|
4006
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className:
|
|
4007
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
4004
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx43("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
4005
|
+
title && /* @__PURE__ */ jsxs("div", { className: clsx43("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
4006
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx43("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
4007
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx43("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4008
4008
|
Button,
|
|
4009
4009
|
{
|
|
4010
|
-
className:
|
|
4010
|
+
className: clsx43("cta", BlogCardGrid_module_default["cta"]),
|
|
4011
4011
|
variant: "nofillblack",
|
|
4012
4012
|
href: cta.url,
|
|
4013
4013
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4033,11 +4033,11 @@ var BlogCardGrid = ({
|
|
|
4033
4033
|
return /* @__PURE__ */ jsx(
|
|
4034
4034
|
"div",
|
|
4035
4035
|
{
|
|
4036
|
-
className:
|
|
4036
|
+
className: clsx43("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
4037
4037
|
style: {
|
|
4038
4038
|
backgroundColor
|
|
4039
4039
|
},
|
|
4040
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
4040
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx43("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
4041
4041
|
}
|
|
4042
4042
|
);
|
|
4043
4043
|
};
|
|
@@ -4055,6 +4055,7 @@ var FeaturedNewsHighlights_module_default = {
|
|
|
4055
4055
|
"content-wrapper": "FeaturedNewsHighlights_module_content-wrapper",
|
|
4056
4056
|
"featured-card": "FeaturedNewsHighlights_module_featured-card",
|
|
4057
4057
|
"side-content": "FeaturedNewsHighlights_module_side-content",
|
|
4058
|
+
"side-cards": "FeaturedNewsHighlights_module_side-cards",
|
|
4058
4059
|
carousel: "FeaturedNewsHighlights_module_carousel",
|
|
4059
4060
|
"carousel-wrapper": "FeaturedNewsHighlights_module_carousel-wrapper",
|
|
4060
4061
|
"carousel-list-item": "FeaturedNewsHighlights_module_carousel-list-item",
|
|
@@ -4084,13 +4085,13 @@ var FeaturedNewsHighlights = ({
|
|
|
4084
4085
|
const sideCards = items.slice(1);
|
|
4085
4086
|
const isVariantHome = variant === "home";
|
|
4086
4087
|
const isBelowTablet = is("tablet", "below");
|
|
4087
|
-
const content = /* @__PURE__ */ jsxs("div", { className:
|
|
4088
|
-
title && cta && /* @__PURE__ */ jsxs("div", { className:
|
|
4088
|
+
const content = /* @__PURE__ */ jsxs("div", { className: clsx43("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
4089
|
+
title && cta && /* @__PURE__ */ jsxs("div", { className: clsx43("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
4089
4090
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
4090
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className:
|
|
4091
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx43("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
4091
4092
|
Button,
|
|
4092
4093
|
{
|
|
4093
|
-
className:
|
|
4094
|
+
className: clsx43("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
4094
4095
|
variant: "nofillblack",
|
|
4095
4096
|
href: cta.url,
|
|
4096
4097
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -4102,9 +4103,9 @@ var FeaturedNewsHighlights = ({
|
|
|
4102
4103
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
|
|
4103
4104
|
Carousel,
|
|
4104
4105
|
{
|
|
4105
|
-
className:
|
|
4106
|
+
className: clsx43("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
4106
4107
|
"aria-label": "featured news",
|
|
4107
|
-
wrapperClass:
|
|
4108
|
+
wrapperClass: clsx43(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
4108
4109
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
4109
4110
|
spaceBetween: 16,
|
|
4110
4111
|
slides: items.map((item, index) => {
|
|
@@ -4113,26 +4114,27 @@ var FeaturedNewsHighlights = ({
|
|
|
4113
4114
|
NewsCard,
|
|
4114
4115
|
__spreadProps(__spreadValues({}, item), {
|
|
4115
4116
|
direction: "vertical",
|
|
4116
|
-
className:
|
|
4117
|
+
className: clsx43("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
4117
4118
|
}),
|
|
4118
4119
|
(_a2 = item == null ? void 0 : item.title) != null ? _a2 : index
|
|
4119
4120
|
);
|
|
4120
4121
|
})
|
|
4121
4122
|
}
|
|
4122
4123
|
),
|
|
4123
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className:
|
|
4124
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx43("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
4124
4125
|
featuredCard && /* @__PURE__ */ jsx(
|
|
4125
4126
|
NewsCard,
|
|
4126
4127
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
4127
|
-
className:
|
|
4128
|
+
className: clsx43("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
4128
4129
|
renderLink
|
|
4129
4130
|
})
|
|
4130
4131
|
),
|
|
4131
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
4132
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx43("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card, index) => {
|
|
4132
4133
|
var _a2;
|
|
4133
4134
|
return /* @__PURE__ */ jsx(
|
|
4134
4135
|
NewsCard,
|
|
4135
4136
|
__spreadProps(__spreadValues({}, card), {
|
|
4137
|
+
className: clsx43("side-cards", FeaturedNewsHighlights_module_default["side-cards"]),
|
|
4136
4138
|
direction: "horizontal",
|
|
4137
4139
|
renderLink
|
|
4138
4140
|
}),
|
|
@@ -4144,11 +4146,11 @@ var FeaturedNewsHighlights = ({
|
|
|
4144
4146
|
return /* @__PURE__ */ jsx(
|
|
4145
4147
|
"div",
|
|
4146
4148
|
{
|
|
4147
|
-
className:
|
|
4149
|
+
className: clsx43("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
4148
4150
|
style: {
|
|
4149
4151
|
backgroundColor
|
|
4150
4152
|
},
|
|
4151
|
-
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className:
|
|
4153
|
+
children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx43("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
4152
4154
|
}
|
|
4153
4155
|
);
|
|
4154
4156
|
};
|
|
@@ -4192,23 +4194,23 @@ var NewsCardList = ({
|
|
|
4192
4194
|
return /* @__PURE__ */ jsx(
|
|
4193
4195
|
"div",
|
|
4194
4196
|
{
|
|
4195
|
-
className:
|
|
4197
|
+
className: clsx43("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
4196
4198
|
style: {
|
|
4197
4199
|
backgroundColor
|
|
4198
4200
|
},
|
|
4199
|
-
children: /* @__PURE__ */ jsxs(Container, { className:
|
|
4200
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4201
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx43("container", NewsCardList_module_default["container"]), children: [
|
|
4202
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
4201
4203
|
/* @__PURE__ */ jsx(
|
|
4202
4204
|
Input,
|
|
4203
4205
|
__spreadValues({
|
|
4204
|
-
className:
|
|
4206
|
+
className: clsx43("search-input", NewsCardList_module_default["search-input"]),
|
|
4205
4207
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
4206
4208
|
placeholder: "Search News",
|
|
4207
4209
|
endAction: searchValue ? /* @__PURE__ */ jsx(
|
|
4208
4210
|
Button,
|
|
4209
4211
|
{
|
|
4210
4212
|
variant: "nofillblack",
|
|
4211
|
-
className:
|
|
4213
|
+
className: clsx43(NewsCardList_module_default["end-action-button"]),
|
|
4212
4214
|
"aria-label": "Search",
|
|
4213
4215
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
4214
4216
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -4220,7 +4222,7 @@ var NewsCardList = ({
|
|
|
4220
4222
|
} : void 0
|
|
4221
4223
|
}, searchInputProps)
|
|
4222
4224
|
),
|
|
4223
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4225
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
4224
4226
|
currentPage === 1 && /* @__PURE__ */ jsx(
|
|
4225
4227
|
FeaturedNewsHighlights2,
|
|
4226
4228
|
{
|
|
@@ -4234,7 +4236,7 @@ var NewsCardList = ({
|
|
|
4234
4236
|
] })
|
|
4235
4237
|
] }),
|
|
4236
4238
|
paginationNode ? React66.cloneElement(paginationNode, {
|
|
4237
|
-
className:
|
|
4239
|
+
className: clsx43("pagination", NewsCardList_module_default["pagination"])
|
|
4238
4240
|
}) : null
|
|
4239
4241
|
] })
|
|
4240
4242
|
}
|
|
@@ -4279,15 +4281,15 @@ var BlogPost = ({
|
|
|
4279
4281
|
});
|
|
4280
4282
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
4281
4283
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
4282
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4283
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4284
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx43("container", BlogPost_module_default["container"]), children: [
|
|
4285
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("header", BlogPost_module_default["header"]), children: [
|
|
4284
4286
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
4285
|
-
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
4287
|
+
image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx43("image", BlogPost_module_default["image"]) }))
|
|
4286
4288
|
] }),
|
|
4287
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4288
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4289
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("content", BlogPost_module_default["content"]), children: [
|
|
4290
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("content-top", BlogPost_module_default["content-top"]), children: [
|
|
4289
4291
|
/* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
|
|
4290
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
4292
|
+
/* @__PURE__ */ jsxs("span", { className: clsx43("content-date", BlogPost_module_default["content-date"]), children: [
|
|
4291
4293
|
"Published ",
|
|
4292
4294
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
4293
4295
|
] })
|
|
@@ -4300,7 +4302,7 @@ var BlogPost = ({
|
|
|
4300
4302
|
title: "More News",
|
|
4301
4303
|
items: relatedArticles,
|
|
4302
4304
|
hasContainer: false,
|
|
4303
|
-
className:
|
|
4305
|
+
className: clsx43("related-articles", BlogPost_module_default["related-articles"])
|
|
4304
4306
|
}
|
|
4305
4307
|
)
|
|
4306
4308
|
] }) });
|
|
@@ -4348,22 +4350,22 @@ var BlogSearchResultsList = ({
|
|
|
4348
4350
|
});
|
|
4349
4351
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
4350
4352
|
const paginationNode = slots.pagination;
|
|
4351
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4352
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
4353
|
-
className:
|
|
4353
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx43("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
4354
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx43("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React66.isValidElement(searchNode) ? React66.cloneElement(searchNode, {
|
|
4355
|
+
className: clsx43("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
4354
4356
|
}) : null,
|
|
4355
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4357
|
+
/* @__PURE__ */ jsxs("div", { className: clsx43("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
4356
4358
|
/* @__PURE__ */ jsx(
|
|
4357
4359
|
Input,
|
|
4358
4360
|
__spreadValues({
|
|
4359
|
-
className:
|
|
4361
|
+
className: clsx43("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
4360
4362
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
4361
4363
|
placeholder: "Search News",
|
|
4362
4364
|
endAction: searchValue ? /* @__PURE__ */ jsx(
|
|
4363
4365
|
Button,
|
|
4364
4366
|
{
|
|
4365
4367
|
variant: "nofillblack",
|
|
4366
|
-
className:
|
|
4368
|
+
className: clsx43(BlogSearchResultsList_module_default["end-action-button"]),
|
|
4367
4369
|
"aria-label": "Search",
|
|
4368
4370
|
onClick: () => onSearchSubmit(searchValue),
|
|
4369
4371
|
children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
|
|
@@ -4378,7 +4380,7 @@ var BlogSearchResultsList = ({
|
|
|
4378
4380
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
4379
4381
|
] }),
|
|
4380
4382
|
paginationNode ? React66.cloneElement(paginationNode, {
|
|
4381
|
-
className:
|
|
4383
|
+
className: clsx43("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
4382
4384
|
}) : null
|
|
4383
4385
|
] }) });
|
|
4384
4386
|
};
|
|
@@ -4419,11 +4421,11 @@ var GlobalSearchResultsList = ({
|
|
|
4419
4421
|
});
|
|
4420
4422
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
4421
4423
|
const paginationNode = slots.pagination;
|
|
4422
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4423
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className:
|
|
4424
|
-
className:
|
|
4424
|
+
return /* @__PURE__ */ jsx("div", { className: clsx43("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx43("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
4425
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx43("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React66.isValidElement(searchNode) ? React66.cloneElement(searchNode, {
|
|
4426
|
+
className: clsx43("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
4425
4427
|
}) : null,
|
|
4426
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4428
|
+
/* @__PURE__ */ jsx("div", { className: clsx43("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
4427
4429
|
var _a2;
|
|
4428
4430
|
return /* @__PURE__ */ jsx(GridItem, { colSpan: { md: 3 }, role: "listitem", children: /* @__PURE__ */ jsx(
|
|
4429
4431
|
ResourceCardItem,
|
|
@@ -4436,7 +4438,7 @@ var GlobalSearchResultsList = ({
|
|
|
4436
4438
|
) }, (_a2 = item.title) != null ? _a2 : index);
|
|
4437
4439
|
}) }) }),
|
|
4438
4440
|
paginationNode ? React66.cloneElement(paginationNode, {
|
|
4439
|
-
className:
|
|
4441
|
+
className: clsx43("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
4440
4442
|
}) : null
|
|
4441
4443
|
] }) });
|
|
4442
4444
|
};
|