@digital-b2c/coreui-kit 0.11.24 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import clsx15 from 'clsx';
1
+ import clsx16 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: clsx15(className, Picture_module_default["image-desktop"])
61
+ className: clsx16(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: clsx15(className, Picture_module_default["image-mobile"])
69
+ className: clsx16(className, Picture_module_default["image-mobile"])
70
70
  }, rest)
71
71
  )
72
72
  ] });
@@ -397,11 +397,12 @@ var Button_module_default = {
397
397
  ghost: "Button_module_ghost",
398
398
  nofill: "Button_module_nofill",
399
399
  nofillblack: "Button_module_nofillblack",
400
+ navnofillblack: "Button_module_navnofillblack",
401
+ active: "Button_module_active",
400
402
  grey: "Button_module_grey",
401
403
  shiny: "Button_module_shiny",
402
404
  rotateGradient: "Button_module_rotateGradient",
403
405
  tabbutton: "Button_module_tabbutton",
404
- active: "Button_module_active",
405
406
  icon: "Button_module_icon",
406
407
  logo: "Button_module_logo"
407
408
  };
@@ -431,7 +432,7 @@ var Button = (_a) => {
431
432
  ]);
432
433
  const isLink = !!href;
433
434
  const props = __spreadValues(__spreadValues({
434
- className: clsx15(
435
+ className: clsx16(
435
436
  Button_module_default.button,
436
437
  variant ? Button_module_default[variant] : null,
437
438
  { [Button_module_default.fullWidth]: !!fullWidth },
@@ -663,7 +664,7 @@ var BrandsStrip = ({
663
664
  "div",
664
665
  {
665
666
  ref: containerRef,
666
- className: clsx15(
667
+ className: clsx16(
667
668
  BrandsStrip_module_default.brandsStrip,
668
669
  BrandsStrip_module_default[variant],
669
670
  { [BrandsStrip_module_default.small]: size === "small" },
@@ -672,13 +673,13 @@ var BrandsStrip = ({
672
673
  onMouseEnter: handleMouseEnter,
673
674
  onMouseLeave: handleMouseLeave,
674
675
  children: [
675
- /* @__PURE__ */ jsxs("div", { className: clsx15(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
676
- title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx15("body", BrandsStrip_module_default.title), children: title }),
676
+ /* @__PURE__ */ jsxs("div", { className: clsx16(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
677
+ title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx16("body", BrandsStrip_module_default.title), children: title }),
677
678
  logos.length > 0 && /* @__PURE__ */ jsx(
678
679
  "div",
679
680
  {
680
681
  ref: marqueeRef,
681
- className: clsx15(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
682
+ className: clsx16(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
682
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}`))
683
684
  }
684
685
  )
@@ -725,7 +726,7 @@ var Container_module_default = {
725
726
  var Container = forwardRef(
726
727
  (_a, ref) => {
727
728
  var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
728
- return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx15(Container_module_default.container, className) }, props), { children }));
729
+ return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx16(Container_module_default.container, className) }, props), { children }));
729
730
  }
730
731
  );
731
732
  Container.displayName = "Container";
@@ -766,14 +767,14 @@ var Card = ({
766
767
  ConditionalWrapper,
767
768
  __spreadProps(__spreadValues({
768
769
  ref,
769
- className: clsx15(Card_module_default.card, Card_module_default[variant], className),
770
+ className: clsx16(Card_module_default.card, Card_module_default[variant], className),
770
771
  wrapper: Anchor,
771
772
  fallback: "div",
772
773
  condition: isLink
773
774
  }, href ? { href, isExternal } : {}), {
774
775
  children: [
775
776
  /* @__PURE__ */ jsxs("div", { className: Card_module_default.logoContainer, children: [
776
- (logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx15(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx15(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
777
+ (logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsx(Picture, __spreadValues({ className: clsx16(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsx(Icon, { type: icon, className: clsx16(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
777
778
  isLink && /* @__PURE__ */ jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
778
779
  ] }),
779
780
  /* @__PURE__ */ jsxs("div", { className: Card_module_default.content, children: [
@@ -808,10 +809,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
808
809
  title: CountingCardTitle
809
810
  });
810
811
  const titleNode = (_a = slots.title) != null ? _a : title;
811
- return /* @__PURE__ */ jsxs("div", { className: clsx15(CountingCard_module_default["counting-card"], className), children: [
812
+ return /* @__PURE__ */ jsxs("div", { className: clsx16(CountingCard_module_default["counting-card"], className), children: [
812
813
  /* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
813
814
  titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
814
- count && /* @__PURE__ */ jsx("div", { className: clsx15(CountingCard_module_default.count, "h1"), children: count })
815
+ count && /* @__PURE__ */ jsx("div", { className: clsx16(CountingCard_module_default.count, "h1"), children: count })
815
816
  ] }),
816
817
  image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
817
818
  ] });
@@ -897,7 +898,7 @@ function FilterBar({
897
898
  "button",
898
899
  {
899
900
  type: "button",
900
- className: clsx15(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
901
+ className: clsx16(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
901
902
  onClick: () => onViewChange("grid"),
902
903
  "aria-pressed": view === "grid",
903
904
  children: [
@@ -910,7 +911,7 @@ function FilterBar({
910
911
  "button",
911
912
  {
912
913
  type: "button",
913
- className: clsx15(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
914
+ className: clsx16(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
914
915
  onClick: () => onViewChange("list"),
915
916
  "aria-pressed": view === "list",
916
917
  children: [
@@ -924,7 +925,7 @@ function FilterBar({
924
925
  /* @__PURE__ */ jsxs(
925
926
  "div",
926
927
  {
927
- className: clsx15(
928
+ className: clsx16(
928
929
  FilterBar_module_default.dropdownWrapper,
929
930
  isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
930
931
  isMobile && searchState === "closing" && FilterBar_module_default.filterFading
@@ -935,7 +936,7 @@ function FilterBar({
935
936
  "button",
936
937
  {
937
938
  type: "button",
938
- className: clsx15(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
939
+ className: clsx16(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
939
940
  onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
940
941
  "aria-expanded": openDropdown === "filter",
941
942
  children: [
@@ -950,7 +951,7 @@ function FilterBar({
950
951
  type: "button",
951
952
  role: "option",
952
953
  "aria-selected": filterValue === opt.value,
953
- className: clsx15(
954
+ className: clsx16(
954
955
  FilterBar_module_default.dropdownOption,
955
956
  filterValue === opt.value && FilterBar_module_default.selected
956
957
  ),
@@ -971,7 +972,7 @@ function FilterBar({
971
972
  /* @__PURE__ */ jsxs(
972
973
  "div",
973
974
  {
974
- className: clsx15(
975
+ className: clsx16(
975
976
  FilterBar_module_default.dropdownWrapper,
976
977
  isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
977
978
  isMobile && searchState === "closing" && FilterBar_module_default.filterFading
@@ -997,7 +998,7 @@ function FilterBar({
997
998
  type: "button",
998
999
  role: "option",
999
1000
  "aria-selected": sortValue === opt.value,
1000
- className: clsx15(
1001
+ className: clsx16(
1001
1002
  FilterBar_module_default.dropdownOption,
1002
1003
  sortValue === opt.value && FilterBar_module_default.selected
1003
1004
  ),
@@ -1015,7 +1016,7 @@ function FilterBar({
1015
1016
  searchState !== "closed" ? /* @__PURE__ */ jsxs(
1016
1017
  "div",
1017
1018
  {
1018
- className: clsx15(
1019
+ className: clsx16(
1019
1020
  FilterBar_module_default.searchExpanded,
1020
1021
  searchState === "closing" && FilterBar_module_default.searchCollapsing
1021
1022
  ),
@@ -1097,9 +1098,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
1097
1098
  });
1098
1099
  const titleNode = (_a = slots.title) != null ? _a : title;
1099
1100
  const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
1100
- return /* @__PURE__ */ jsxs("div", { className: clsx15(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
1101
+ return /* @__PURE__ */ jsxs("div", { className: clsx16(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
1101
1102
  /* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
1102
- icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx15(InfoCard_module_default.badge, "h4"), children: badge }) : null,
1103
+ icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx16(InfoCard_module_default.badge, "h4"), children: badge }) : null,
1103
1104
  titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
1104
1105
  ] }),
1105
1106
  subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
@@ -1164,7 +1165,7 @@ var Pagination = ({
1164
1165
  };
1165
1166
  const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
1166
1167
  const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
1167
- return /* @__PURE__ */ jsxs("div", { className: clsx15(Pagination_module_default.pagination, className), children: [
1168
+ return /* @__PURE__ */ jsxs("div", { className: clsx16(Pagination_module_default.pagination, className), children: [
1168
1169
  !disableArrows && (renderLink ? renderLink({
1169
1170
  page: prevPage,
1170
1171
  className: Pagination_module_default.prev,
@@ -1182,7 +1183,7 @@ var Pagination = ({
1182
1183
  )),
1183
1184
  /* @__PURE__ */ jsx("div", { className: Pagination_module_default.pages, children: Array.from({ length: totalPages }, (_, i) => {
1184
1185
  const page = i + 1;
1185
- const pageClassName = clsx15(Pagination_module_default.page, {
1186
+ const pageClassName = clsx16(Pagination_module_default.page, {
1186
1187
  [Pagination_module_default.active]: activePage === page,
1187
1188
  [Pagination_module_default.number]: hasNumber
1188
1189
  });
@@ -1233,7 +1234,7 @@ var PracticeCard_module_default = {
1233
1234
  };
1234
1235
  var PracticeCard = ({ className, title, cta, image }) => {
1235
1236
  const { url: href, isExternal } = cta != null ? cta : {};
1236
- return /* @__PURE__ */ jsx("div", { className: clsx15(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
1237
+ return /* @__PURE__ */ jsx("div", { className: clsx16(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
1237
1238
  ConditionalWrapper,
1238
1239
  __spreadProps(__spreadValues({
1239
1240
  className: PracticeCard_module_default.wrapper,
@@ -1244,7 +1245,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
1244
1245
  children: [
1245
1246
  image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
1246
1247
  /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
1247
- title && /* @__PURE__ */ jsx("div", { className: clsx15(PracticeCard_module_default.title, "h3"), children: title }),
1248
+ title && /* @__PURE__ */ jsx("div", { className: clsx16(PracticeCard_module_default.title, "h3"), children: title }),
1248
1249
  href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
1249
1250
  /* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
1250
1251
  /* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
@@ -1258,6 +1259,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
1258
1259
  // src/components/ResourceCardItem/ResourceCardItem.module.scss
1259
1260
  var ResourceCardItem_module_default = {
1260
1261
  cardLink: "ResourceCardItem_module_cardLink",
1262
+ "global-search": "ResourceCardItem_module_global-search",
1261
1263
  cardGrid: "ResourceCardItem_module_cardGrid",
1262
1264
  cardBody: "ResourceCardItem_module_cardBody",
1263
1265
  cardIconTitle: "ResourceCardItem_module_cardIconTitle",
@@ -1271,24 +1273,46 @@ var ResourceCardItem_module_default = {
1271
1273
  cardList: "ResourceCardItem_module_cardList",
1272
1274
  cardListLeft: "ResourceCardItem_module_cardListLeft",
1273
1275
  cardListRight: "ResourceCardItem_module_cardListRight",
1274
- notificationDot: "ResourceCardItem_module_notificationDot"};
1275
- var ResourceCardItem = ({ item, view }) => {
1276
+ notificationDot: "ResourceCardItem_module_notificationDot",
1277
+ iconWrapper: "ResourceCardItem_module_iconWrapper"
1278
+ };
1279
+ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
1276
1280
  const hasHref = Boolean(item.href);
1277
- const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", { href: item.href, className: ResourceCardItem_module_default.cardLink, target: "_blank", rel: "noopener noreferrer", children });
1281
+ const isGlobalSearchVariant = variant === "global-search";
1282
+ const linkProps = hasHref ? {
1283
+ href: item.href,
1284
+ target: "_blank",
1285
+ rel: "noopener noreferrer",
1286
+ className: clsx16("news-card-link", ResourceCardItem_module_default["news-card-link"]),
1287
+ "aria-label": item.title
1288
+ } : null;
1289
+ const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
1290
+ className: clsx16(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
1291
+ children: null
1292
+ })) : /* @__PURE__ */ jsx(
1293
+ "a",
1294
+ __spreadProps(__spreadValues({}, linkProps), {
1295
+ className: clsx16(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
1296
+ })
1297
+ ) : null;
1298
+ const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, children }));
1278
1299
  if (view === "grid") {
1279
- return /* @__PURE__ */ jsx("article", { className: ResourceCardItem_module_default.cardGrid, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
1280
- /* @__PURE__ */ jsxs("div", { children: [
1281
- /* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
1282
- /* @__PURE__ */ jsx(Icon, { type: item.type === "pdf" ? "pdf" : "externalLink", size: 33 }),
1283
- /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
1284
- ] }) }),
1285
- item.bodyText && /* @__PURE__ */ jsx("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }) })
1286
- ] }),
1287
- /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardMeta, children: [
1288
- /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date }),
1289
- item.hasNotification && /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" })
1300
+ return /* @__PURE__ */ jsxs("article", { className: clsx16(ResourceCardItem_module_default.cardGrid, isGlobalSearchVariant && ResourceCardItem_module_default[variant]), children: [
1301
+ cardLink,
1302
+ /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
1303
+ /* @__PURE__ */ jsxs("div", { children: [
1304
+ /* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
1305
+ /* @__PURE__ */ jsx(Icon, { type: item.type === "pdf" ? "pdf" : "externalLink", size: 33 }),
1306
+ /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
1307
+ ] }) }),
1308
+ item.bodyText && /* @__PURE__ */ jsx("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }) })
1309
+ ] }),
1310
+ /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardMeta, children: [
1311
+ /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date }),
1312
+ item.hasNotification && /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" })
1313
+ ] })
1290
1314
  ] })
1291
- ] }) });
1315
+ ] });
1292
1316
  }
1293
1317
  return /* @__PURE__ */ jsxs("article", { className: ResourceCardItem_module_default.cardList, children: [
1294
1318
  /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardListLeft, children: [
@@ -1338,7 +1362,7 @@ var Sidebar = ({
1338
1362
  return /* @__PURE__ */ jsxs(
1339
1363
  "li",
1340
1364
  {
1341
- className: clsx15(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
1365
+ className: clsx16(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
1342
1366
  role: "button",
1343
1367
  tabIndex: 0,
1344
1368
  "aria-pressed": i === selectedIndex,
@@ -1395,7 +1419,7 @@ var UpcomingEventCard = ({
1395
1419
  return /* @__PURE__ */ jsxs(
1396
1420
  "article",
1397
1421
  {
1398
- className: clsx15(
1422
+ className: clsx16(
1399
1423
  "card",
1400
1424
  UpcomingEventCard_module_default["event-card"],
1401
1425
  UpcomingEventCard_module_default[direction],
@@ -1403,26 +1427,26 @@ var UpcomingEventCard = ({
1403
1427
  className
1404
1428
  ),
1405
1429
  children: [
1406
- /* @__PURE__ */ jsxs("div", { className: clsx15("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
1407
- showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx15("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
1430
+ /* @__PURE__ */ jsxs("div", { className: clsx16("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
1431
+ showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx16("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
1408
1432
  /* @__PURE__ */ jsxs(
1409
1433
  "div",
1410
1434
  {
1411
- className: clsx15(
1435
+ className: clsx16(
1412
1436
  "card-text-content",
1413
1437
  UpcomingEventCard_module_default["event-card-text-content"],
1414
1438
  (!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
1415
1439
  ),
1416
1440
  children: [
1417
1441
  /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
1418
- title && /* @__PURE__ */ jsx("h3", { className: clsx15("card-text-title"), children: title }),
1442
+ title && /* @__PURE__ */ jsx("h3", { className: clsx16("card-text-title"), children: title }),
1419
1443
  location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
1420
- description && /* @__PURE__ */ jsx("div", { className: clsx15("card-text-description", UpcomingEventCard_module_default.description), children: description }),
1444
+ description && /* @__PURE__ */ jsx("div", { className: clsx16("card-text-description", UpcomingEventCard_module_default.description), children: description }),
1421
1445
  cta && cta.url && /* @__PURE__ */ jsx(
1422
1446
  Button,
1423
1447
  {
1424
1448
  variant: "secondary",
1425
- className: clsx15(
1449
+ className: clsx16(
1426
1450
  "card-cta",
1427
1451
  UpcomingEventCard_module_default["event-card-cta"],
1428
1452
  !hasCTAandImage && UpcomingEventCard_module_default.hidden
@@ -1441,12 +1465,12 @@ var UpcomingEventCard = ({
1441
1465
  cta && cta.url && /* @__PURE__ */ jsx(
1442
1466
  "div",
1443
1467
  {
1444
- className: clsx15("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
1468
+ className: clsx16("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
1445
1469
  children: /* @__PURE__ */ jsx(
1446
1470
  Button,
1447
1471
  {
1448
1472
  variant: "secondary",
1449
- className: clsx15("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
1473
+ className: clsx16("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
1450
1474
  fullWidth: isBelowMobile,
1451
1475
  href: cta.url,
1452
1476
  icon: cta.icon,
@@ -1494,7 +1518,7 @@ var Badge = forwardRef(
1494
1518
  "live",
1495
1519
  "clickable"
1496
1520
  ]);
1497
- const classes = clsx15(
1521
+ const classes = clsx16(
1498
1522
  Badge_module_default.badge,
1499
1523
  Badge_module_default[variant],
1500
1524
  Badge_module_default[size],
@@ -1505,7 +1529,7 @@ var Badge = forwardRef(
1505
1529
  className
1506
1530
  );
1507
1531
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1508
- icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx15("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
1532
+ icon && /* @__PURE__ */ jsx(Icon, __spreadValues({ className: clsx16("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
1509
1533
  !iconOnly && /* @__PURE__ */ jsx("span", { className: Badge_module_default.label, children })
1510
1534
  ] });
1511
1535
  if (clickable) {
@@ -1586,7 +1610,7 @@ var Input = forwardRef(
1586
1610
  return /* @__PURE__ */ jsxs(
1587
1611
  "div",
1588
1612
  {
1589
- className: clsx15(
1613
+ className: clsx16(
1590
1614
  "input-field",
1591
1615
  Input_module_default["input-field"],
1592
1616
  {
@@ -1600,17 +1624,17 @@ var Input = forwardRef(
1600
1624
  "label",
1601
1625
  {
1602
1626
  htmlFor: inputId,
1603
- className: clsx15("input-label", Input_module_default.label, {
1627
+ className: clsx16("input-label", Input_module_default.label, {
1604
1628
  ["sr-only"]: hideLabel
1605
1629
  }),
1606
1630
  children: [
1607
1631
  label,
1608
- required && /* @__PURE__ */ jsx("span", { className: clsx15("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
1632
+ required && /* @__PURE__ */ jsx("span", { className: clsx16("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
1609
1633
  ]
1610
1634
  }
1611
1635
  ),
1612
- /* @__PURE__ */ jsxs("div", { className: clsx15("input-wrapper", Input_module_default.wrapper), children: [
1613
- startAdornment && /* @__PURE__ */ jsx("span", { className: clsx15("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
1636
+ /* @__PURE__ */ jsxs("div", { className: clsx16("input-wrapper", Input_module_default.wrapper), children: [
1637
+ startAdornment && /* @__PURE__ */ jsx("span", { className: clsx16("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
1614
1638
  /* @__PURE__ */ jsx(
1615
1639
  "input",
1616
1640
  __spreadValues({
@@ -1621,7 +1645,7 @@ var Input = forwardRef(
1621
1645
  disabled,
1622
1646
  "aria-invalid": !!error,
1623
1647
  "aria-describedby": describedBy || void 0,
1624
- className: clsx15(
1648
+ className: clsx16(
1625
1649
  "input",
1626
1650
  Input_module_default.input,
1627
1651
  {
@@ -1632,11 +1656,11 @@ var Input = forwardRef(
1632
1656
  )
1633
1657
  }, props)
1634
1658
  ),
1635
- endAdornment && /* @__PURE__ */ jsx("span", { className: clsx15("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
1636
- endAction && /* @__PURE__ */ jsx("span", { className: clsx15("input-end-action"), children: endAction })
1659
+ endAdornment && /* @__PURE__ */ jsx("span", { className: clsx16("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
1660
+ endAction && /* @__PURE__ */ jsx("span", { className: clsx16("input-end-action"), children: endAction })
1637
1661
  ] }),
1638
- helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx15("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
1639
- error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx15("input-error", Input_module_default.error), role: "alert", children: error })
1662
+ helperText && !error && /* @__PURE__ */ jsx("p", { id: helperTextId, className: clsx16("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
1663
+ error && /* @__PURE__ */ jsx("p", { id: errorId, className: clsx16("input-error", Input_module_default.error), role: "alert", children: error })
1640
1664
  ]
1641
1665
  }
1642
1666
  );
@@ -1676,14 +1700,14 @@ var NewsCard = ({
1676
1700
  href: cta.url,
1677
1701
  target: cta.isExternal ? "_blank" : void 0,
1678
1702
  rel: cta.isExternal ? "noopener noreferrer" : void 0,
1679
- className: clsx15("news-card-link", NewsCard_module_default["news-card-link"]),
1703
+ className: clsx16("news-card-link", NewsCard_module_default["news-card-link"]),
1680
1704
  "aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
1681
1705
  } : null;
1682
1706
  const cardLink = linkProps ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), { children: null })) : /* @__PURE__ */ jsx("a", __spreadValues({}, linkProps)) : null;
1683
1707
  return /* @__PURE__ */ jsxs(
1684
1708
  "article",
1685
1709
  {
1686
- className: clsx15(
1710
+ className: clsx16(
1687
1711
  "news-card",
1688
1712
  NewsCard_module_default["news-card"],
1689
1713
  NewsCard_module_default[`news-card--${direction}`],
@@ -1691,28 +1715,28 @@ var NewsCard = ({
1691
1715
  ),
1692
1716
  children: [
1693
1717
  cardLink,
1694
- image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx15("news-card-image", NewsCard_module_default["news-card-image"]) })),
1718
+ image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx16("news-card-image", NewsCard_module_default["news-card-image"]) })),
1695
1719
  /* @__PURE__ */ jsxs(
1696
1720
  "div",
1697
1721
  {
1698
- className: clsx15("news-card-content", NewsCard_module_default["news-card-content"]),
1722
+ className: clsx16("news-card-content", NewsCard_module_default["news-card-content"]),
1699
1723
  style: {
1700
1724
  "--no-image-padding": image && image.src ? 0 : "1rem"
1701
1725
  },
1702
1726
  children: [
1703
- /* @__PURE__ */ jsxs("div", { className: clsx15("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
1704
- /* @__PURE__ */ jsx(Badge, { className: clsx15("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
1705
- /* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx15("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
1727
+ /* @__PURE__ */ jsxs("div", { className: clsx16("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
1728
+ /* @__PURE__ */ jsx(Badge, { className: clsx16("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
1729
+ /* @__PURE__ */ jsx("time", { dateTime: date.value, className: clsx16("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
1706
1730
  ] }),
1707
- /* @__PURE__ */ jsxs("div", { className: clsx15("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
1708
- /* @__PURE__ */ jsx("h3", { className: clsx15("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
1709
- typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx15("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description
1731
+ /* @__PURE__ */ jsxs("div", { className: clsx16("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
1732
+ /* @__PURE__ */ jsx("h3", { className: clsx16("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
1733
+ typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: clsx16("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description
1710
1734
  ] }),
1711
- cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx15("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
1735
+ cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx16("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
1712
1736
  Button,
1713
1737
  {
1714
1738
  variant: "secondary",
1715
- className: clsx15("news-card-cta", NewsCard_module_default["news-card-cta"]),
1739
+ className: clsx16("news-card-cta", NewsCard_module_default["news-card-cta"]),
1716
1740
  href: cta.url,
1717
1741
  icon: cta.icon,
1718
1742
  isExternal: cta == null ? void 0 : cta.isExternal,
@@ -1743,7 +1767,7 @@ var BlogPostContent = ({ className, body, children }) => {
1743
1767
  body: BlogPostContentBody
1744
1768
  });
1745
1769
  const bodyNode = (_a = slots.body) != null ? _a : body;
1746
- return /* @__PURE__ */ jsx("div", { className: clsx15("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
1770
+ return /* @__PURE__ */ jsx("div", { className: clsx16("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
1747
1771
  };
1748
1772
 
1749
1773
  // src/components/BlogPostContent/index.ts
@@ -1829,13 +1853,13 @@ var CardCollection = ({
1829
1853
  Container,
1830
1854
  {
1831
1855
  ref: container,
1832
- className: clsx15(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
1856
+ className: clsx16(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
1833
1857
  children: [
1834
1858
  /* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
1835
1859
  titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
1836
1860
  subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
1837
1861
  ] }),
1838
- /* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx15(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
1862
+ /* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx16(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
1839
1863
  visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
1840
1864
  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(
1841
1865
  Card2,
@@ -1936,7 +1960,7 @@ var ContactModule = ({
1936
1960
  },
1937
1961
  { scope: containerRef, dependencies: [blurred, animateBlur] }
1938
1962
  );
1939
- return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx15(ContactModule_module_default["contact-module"], className), children: [
1963
+ return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx16(ContactModule_module_default["contact-module"], className), children: [
1940
1964
  blurred && /* @__PURE__ */ jsx(
1941
1965
  "div",
1942
1966
  {
@@ -1951,8 +1975,8 @@ var ContactModule = ({
1951
1975
  /* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
1952
1976
  /* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
1953
1977
  /* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
1954
- titleNode && /* @__PURE__ */ jsx("div", { className: clsx15(ContactModule_module_default.title, "h1"), children: titleNode }),
1955
- subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx15(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
1978
+ titleNode && /* @__PURE__ */ jsx("div", { className: clsx16(ContactModule_module_default.title, "h1"), children: titleNode }),
1979
+ subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx16(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
1956
1980
  ] }),
1957
1981
  /* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
1958
1982
  Button,
@@ -2021,7 +2045,7 @@ var Footer = ({
2021
2045
  disclaimer: FooterDisclaimer
2022
2046
  });
2023
2047
  const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
2024
- return /* @__PURE__ */ jsx("footer", { className: clsx15(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
2048
+ return /* @__PURE__ */ jsx("footer", { className: clsx16(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
2025
2049
  supportContacts.length > 0 && /* @__PURE__ */ jsxs("div", { className: Footer_module_default["support-section"], children: [
2026
2050
  /* @__PURE__ */ jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
2027
2051
  /* @__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: [
@@ -2050,7 +2074,7 @@ var Footer = ({
2050
2074
  index
2051
2075
  ) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
2052
2076
  ) }) }),
2053
- titleNode && /* @__PURE__ */ jsx("div", { className: clsx15(Footer_module_default.disclaimer, "p"), children: titleNode }),
2077
+ titleNode && /* @__PURE__ */ jsx("div", { className: clsx16(Footer_module_default.disclaimer, "p"), children: titleNode }),
2054
2078
  copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
2055
2079
  ] }),
2056
2080
  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(
@@ -2076,7 +2100,7 @@ var LogoBar_module_default = {
2076
2100
  };
2077
2101
  var LogoBar = ({ className, items }) => {
2078
2102
  if (!items || items.length === 0) return null;
2079
- return /* @__PURE__ */ jsx("div", { className: clsx15(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
2103
+ return /* @__PURE__ */ jsx("div", { className: clsx16(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
2080
2104
  return /* @__PURE__ */ jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
2081
2105
  item.logo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
2082
2106
  item.hoverLogo && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
@@ -2148,7 +2172,7 @@ var HeroBanner = ({
2148
2172
  });
2149
2173
  const titleNode = (_a = slots.title) != null ? _a : title;
2150
2174
  const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
2151
- return /* @__PURE__ */ jsxs("div", { className: clsx15(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], className), children: [
2175
+ return /* @__PURE__ */ jsxs("div", { className: clsx16(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], className), children: [
2152
2176
  /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
2153
2177
  /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
2154
2178
  (titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.text, children: [
@@ -2158,7 +2182,7 @@ var HeroBanner = ({
2158
2182
  {
2159
2183
  tag: "h2",
2160
2184
  promoteToH1,
2161
- className: clsx15(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
2185
+ className: clsx16(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
2162
2186
  children: titleNode
2163
2187
  }
2164
2188
  ),
@@ -2167,7 +2191,7 @@ var HeroBanner = ({
2167
2191
  {
2168
2192
  tag: "div",
2169
2193
  promoteToH1: promoteToH1 && !titleNode,
2170
- className: clsx15(HeroBanner_module_default.subtitle, "subheading"),
2194
+ className: clsx16(HeroBanner_module_default.subtitle, "subheading"),
2171
2195
  children: subtitleNode
2172
2196
  }
2173
2197
  )
@@ -2244,7 +2268,7 @@ var HeroBannerCarousel = ({
2244
2268
  const [swiperInstance, setSwiperInstance] = useState(null);
2245
2269
  const [activeIndex, setActiveIndex] = useState(0);
2246
2270
  if (!items.length) return null;
2247
- return /* @__PURE__ */ jsx("div", { className: clsx15(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
2271
+ return /* @__PURE__ */ jsx("div", { className: clsx16(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
2248
2272
  /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
2249
2273
  Swiper,
2250
2274
  {
@@ -2291,7 +2315,7 @@ var HeroBannerCarousel = ({
2291
2315
  /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
2292
2316
  "button",
2293
2317
  {
2294
- className: clsx15(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
2318
+ className: clsx16(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
2295
2319
  onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
2296
2320
  "aria-label": `Go to slide ${index + 1}`
2297
2321
  },
@@ -2371,7 +2395,7 @@ var AccordionItem = ({
2371
2395
  return /* @__PURE__ */ jsxs(
2372
2396
  "div",
2373
2397
  {
2374
- className: clsx15(
2398
+ className: clsx16(
2375
2399
  Accordion_module_default.accordionItem,
2376
2400
  {
2377
2401
  [Accordion_module_default.accordionItemOpen]: isOpen
@@ -2382,18 +2406,18 @@ var AccordionItem = ({
2382
2406
  /* @__PURE__ */ jsxs(
2383
2407
  "button",
2384
2408
  {
2385
- className: clsx15(Accordion_module_default.accordionHeader, {
2409
+ className: clsx16(Accordion_module_default.accordionHeader, {
2386
2410
  [Accordion_module_default.accordionHeaderOpen]: isOpen
2387
2411
  }),
2388
2412
  onClick: handleToggle,
2389
2413
  "aria-expanded": isOpen,
2390
2414
  "aria-label": `Toggle ${title}`,
2391
2415
  children: [
2392
- /* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx15("body", Accordion_module_default.accordionTitle), children: title }) }),
2416
+ /* @__PURE__ */ jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsx("span", { className: clsx16("body", Accordion_module_default.accordionTitle), children: title }) }),
2393
2417
  /* @__PURE__ */ jsx(
2394
2418
  "span",
2395
2419
  {
2396
- className: clsx15(Accordion_module_default.accordionChevron, {
2420
+ className: clsx16(Accordion_module_default.accordionChevron, {
2397
2421
  [Accordion_module_default.accordionChevronOpen]: isOpen
2398
2422
  }),
2399
2423
  children: isOpen ? /* @__PURE__ */ jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsx(Icon, { type: "circleChevronDown", size: 40 })
@@ -2445,7 +2469,7 @@ var Accordion = ({
2445
2469
  if (items.length === 0) {
2446
2470
  return null;
2447
2471
  }
2448
- return /* @__PURE__ */ jsx("div", { className: clsx15(Accordion_module_default.accordion, className), children: items.map((item) => /* @__PURE__ */ jsx(
2472
+ return /* @__PURE__ */ jsx("div", { className: clsx16(Accordion_module_default.accordion, className), children: items.map((item) => /* @__PURE__ */ jsx(
2449
2473
  AccordionItem,
2450
2474
  {
2451
2475
  id: item.id,
@@ -2535,7 +2559,7 @@ var InternalBrandsTab = (props) => {
2535
2559
  };
2536
2560
  })) || [];
2537
2561
  }, [tabs]);
2538
- return /* @__PURE__ */ jsxs(Container, { className: clsx15(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
2562
+ return /* @__PURE__ */ jsxs(Container, { className: clsx16(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
2539
2563
  /* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
2540
2564
  title && /* @__PURE__ */ jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
2541
2565
  subTitle && /* @__PURE__ */ jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
@@ -2551,7 +2575,7 @@ var InternalBrandsTab = (props) => {
2551
2575
  },
2552
2576
  index
2553
2577
  )) }),
2554
- /* @__PURE__ */ jsx("div", { className: clsx15(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
2578
+ /* @__PURE__ */ jsx("div", { className: clsx16(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxs(Fragment, { children: [
2555
2579
  /* @__PURE__ */ jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
2556
2580
  /* @__PURE__ */ jsxs("div", { children: [
2557
2581
  ((_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 }),
@@ -2648,22 +2672,22 @@ var MiniBanner = ({
2648
2672
  const titleNode = (_b = slots.title) != null ? _b : title;
2649
2673
  const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
2650
2674
  const goBackNode = slots == null ? void 0 : slots.goBack;
2651
- return /* @__PURE__ */ jsxs("div", { className: clsx15(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
2675
+ return /* @__PURE__ */ jsxs("div", { className: clsx16(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
2652
2676
  ((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)),
2653
2677
  /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
2654
2678
  /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
2655
2679
  (logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
2656
- pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx15(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
2680
+ pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx16(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
2657
2681
  /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
2658
2682
  goBackNode ? React66.cloneElement(goBackNode, {
2659
- className: clsx15("back-button", MiniBanner_module_default["back-button"])
2683
+ className: clsx16("back-button", MiniBanner_module_default["back-button"])
2660
2684
  }) : null,
2661
- titleNode && /* @__PURE__ */ jsx("div", { className: clsx15(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
2685
+ titleNode && /* @__PURE__ */ jsx("div", { className: clsx16(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
2662
2686
  ] }),
2663
2687
  subtitleNode && /* @__PURE__ */ jsx(
2664
2688
  "div",
2665
2689
  {
2666
- className: clsx15(MiniBanner_module_default.title, {
2690
+ className: clsx16(MiniBanner_module_default.title, {
2667
2691
  subheading: isMiniBannerNoBG || isMiniBannerTextLeft,
2668
2692
  h1: !isMiniBannerNoBG && !isMiniBannerTextLeft
2669
2693
  }),
@@ -2735,14 +2759,14 @@ var MiniSectionCta = ({
2735
2759
  return /* @__PURE__ */ jsx(
2736
2760
  "div",
2737
2761
  {
2738
- className: clsx15(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
2762
+ className: clsx16(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
2739
2763
  children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
2740
2764
  /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.col, children: [
2741
2765
  titleNode && /* @__PURE__ */ jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
2742
2766
  subtitleNode && /* @__PURE__ */ jsx(
2743
2767
  "div",
2744
2768
  {
2745
- className: clsx15(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
2769
+ className: clsx16(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
2746
2770
  children: subtitleNode
2747
2771
  }
2748
2772
  )
@@ -2768,6 +2792,424 @@ var MiniSectionCta2 = Object.assign(MiniSectionCta, {
2768
2792
  Title: MiniSectionCtaTitle,
2769
2793
  Subtitle: MiniSectionCtaSubtitle
2770
2794
  });
2795
+ function useIntersectionObserver({
2796
+ animateOnce = false,
2797
+ options = {}
2798
+ } = {}) {
2799
+ const observeRef = useRef(null);
2800
+ const [isVisible, setIsVisible] = useState(false);
2801
+ if (typeof IntersectionObserver === "undefined") {
2802
+ console.warn("IntersectionObserver is not supported in this browser.");
2803
+ return { observeRef, isVisible: true };
2804
+ }
2805
+ useEffect(() => {
2806
+ const currentRef = observeRef.current;
2807
+ if (!currentRef) return;
2808
+ const observer = new IntersectionObserver((entries) => {
2809
+ const entry = entries[0];
2810
+ if (!entry) return;
2811
+ setIsVisible(entry.isIntersecting);
2812
+ if (entry.isIntersecting && animateOnce) {
2813
+ observer.disconnect();
2814
+ }
2815
+ }, options);
2816
+ observer.observe(currentRef);
2817
+ return () => {
2818
+ observer.disconnect();
2819
+ };
2820
+ }, [observeRef, animateOnce, options]);
2821
+ return { observeRef, isVisible };
2822
+ }
2823
+ var useIsAtTop = () => {
2824
+ const [isAtTop, setIsAtTop] = useState(true);
2825
+ useEffect(() => {
2826
+ const handleScroll = () => setIsAtTop(window.scrollY === 0);
2827
+ window.addEventListener("scroll", handleScroll, { passive: true });
2828
+ return () => window.removeEventListener("scroll", handleScroll);
2829
+ }, []);
2830
+ return isAtTop;
2831
+ };
2832
+
2833
+ // src/widgets/Navigation/Navigation.module.scss
2834
+ var Navigation_module_default = {
2835
+ dropdownTitle: "Navigation_module_dropdownTitle",
2836
+ dropdownLink: "Navigation_module_dropdownLink",
2837
+ dropdownDescription: "Navigation_module_dropdownDescription",
2838
+ mobileItemLink: "Navigation_module_mobileItemLink",
2839
+ mobileItemTrigger: "Navigation_module_mobileItemTrigger",
2840
+ mobileSubLink: "Navigation_module_mobileSubLink",
2841
+ navigationWrapper: "Navigation_module_navigationWrapper",
2842
+ dropdownOpen: "Navigation_module_dropdownOpen",
2843
+ variantTransparent: "Navigation_module_variantTransparent",
2844
+ transparent: "Navigation_module_transparent",
2845
+ navigation: "Navigation_module_navigation",
2846
+ upperNav: "Navigation_module_upperNav",
2847
+ mainLogo: "Navigation_module_mainLogo",
2848
+ mainLogoLink: "Navigation_module_mainLogoLink",
2849
+ upperRight: "Navigation_module_upperRight",
2850
+ lowerNav: "Navigation_module_lowerNav",
2851
+ lowerNavItem: "Navigation_module_lowerNavItem",
2852
+ overlay: "Navigation_module_overlay",
2853
+ dropdownTrigger: "Navigation_module_dropdownTrigger",
2854
+ dropdownTriggerOpen: "Navigation_module_dropdownTriggerOpen",
2855
+ dropdownPanel: "Navigation_module_dropdownPanel",
2856
+ dropdownPanelOpen: "Navigation_module_dropdownPanelOpen",
2857
+ dropdownInner: "Navigation_module_dropdownInner",
2858
+ dropdownLinks: "Navigation_module_dropdownLinks",
2859
+ dropdownLinkContainer: "Navigation_module_dropdownLinkContainer",
2860
+ dropdownInfo: "Navigation_module_dropdownInfo",
2861
+ mainLogoMobile: "Navigation_module_mainLogoMobile",
2862
+ hamburgerButton: "Navigation_module_hamburgerButton",
2863
+ mobileMenu: "Navigation_module_mobileMenu",
2864
+ mobileMenuOpen: "Navigation_module_mobileMenuOpen",
2865
+ mobileMenuHeader: "Navigation_module_mobileMenuHeader",
2866
+ mobileMenuItems: "Navigation_module_mobileMenuItems",
2867
+ mobileItem: "Navigation_module_mobileItem",
2868
+ mobileItemChevron: "Navigation_module_mobileItemChevron",
2869
+ mobileItemChevronOpen: "Navigation_module_mobileItemChevronOpen",
2870
+ mobileSubItems: "Navigation_module_mobileSubItems",
2871
+ mobileSubItemsOpen: "Navigation_module_mobileSubItemsOpen",
2872
+ mobileSubItemsInner: "Navigation_module_mobileSubItemsInner",
2873
+ mobileMenuCtas: "Navigation_module_mobileMenuCtas"
2874
+ };
2875
+ var NavigationDesktop = ({
2876
+ navigationItems,
2877
+ isTransparent,
2878
+ onDropdownOpenChange
2879
+ }) => {
2880
+ var _a;
2881
+ const [activeDropdown, setActiveDropdown] = useState(null);
2882
+ const closeTimer = useRef(null);
2883
+ const dropdownWrapperRefs = useRef([]);
2884
+ const baseId = useId();
2885
+ const setDropdown = (index) => {
2886
+ setActiveDropdown(index);
2887
+ onDropdownOpenChange == null ? void 0 : onDropdownOpenChange(index !== null);
2888
+ };
2889
+ const handleDropdownEnter = (index) => {
2890
+ if (closeTimer.current) clearTimeout(closeTimer.current);
2891
+ setDropdown(index);
2892
+ };
2893
+ const handleDropdownLeave = () => {
2894
+ closeTimer.current = setTimeout(() => setDropdown(null), 100);
2895
+ };
2896
+ const handleDropdownBlur = (e, index) => {
2897
+ if (!e.currentTarget.contains(e.relatedTarget)) {
2898
+ if (activeDropdown === index) setDropdown(null);
2899
+ }
2900
+ };
2901
+ const handleTriggerKeyDown = (e, index) => {
2902
+ if (e.key === "Escape") {
2903
+ setDropdown(null);
2904
+ } else if ((e.key === "Enter" || e.key === " ") && activeDropdown !== index) {
2905
+ e.preventDefault();
2906
+ setDropdown(index);
2907
+ }
2908
+ };
2909
+ const handleDropdownKeyDown = (e, index) => {
2910
+ var _a2, _b;
2911
+ if (e.key === "Escape") {
2912
+ setDropdown(null);
2913
+ (_b = (_a2 = dropdownWrapperRefs.current[index]) == null ? void 0 : _a2.querySelector("button")) == null ? void 0 : _b.focus();
2914
+ }
2915
+ };
2916
+ if (!((_a = navigationItems == null ? void 0 : navigationItems.items) == null ? void 0 : _a.length)) return null;
2917
+ return /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.lowerNav, children: navigationItems.items.map((item, index) => {
2918
+ var _a2, _b, _c;
2919
+ const panelId = `${baseId}-panel-${index}`;
2920
+ const isOpen = activeDropdown === index;
2921
+ return item.type === "dropdown" ? /* @__PURE__ */ jsxs(
2922
+ "li",
2923
+ {
2924
+ className: Navigation_module_default.lowerNavItem,
2925
+ ref: (el) => {
2926
+ dropdownWrapperRefs.current[index] = el;
2927
+ },
2928
+ onBlur: (e) => handleDropdownBlur(e, index),
2929
+ children: [
2930
+ /* @__PURE__ */ jsx(
2931
+ Button,
2932
+ {
2933
+ variant: "navnofillblack",
2934
+ className: clsx16(Navigation_module_default.dropdownTrigger, { [Navigation_module_default.dropdownTriggerOpen]: isOpen }),
2935
+ icon: isTransparent ? "downChevronWhite" : "downChevronBlack",
2936
+ isActive: isOpen,
2937
+ "aria-expanded": isOpen,
2938
+ "aria-haspopup": "true",
2939
+ "aria-controls": panelId,
2940
+ onMouseEnter: () => handleDropdownEnter(index),
2941
+ onMouseLeave: handleDropdownLeave,
2942
+ onClick: () => setDropdown(isOpen ? null : index),
2943
+ onKeyDown: (e) => handleTriggerKeyDown(e, index),
2944
+ children: item.title
2945
+ }
2946
+ ),
2947
+ /* @__PURE__ */ jsx(
2948
+ "div",
2949
+ {
2950
+ id: panelId,
2951
+ className: clsx16(Navigation_module_default.dropdownPanel, { [Navigation_module_default.dropdownPanelOpen]: isOpen }),
2952
+ "aria-hidden": !isOpen,
2953
+ onMouseEnter: () => handleDropdownEnter(index),
2954
+ onMouseLeave: handleDropdownLeave,
2955
+ onKeyDown: (e) => handleDropdownKeyDown(e, index),
2956
+ children: /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.dropdownInner, children: [
2957
+ /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.dropdownLinks, children: item.items.map(
2958
+ (subItem, i) => {
2959
+ var _a3, _b2;
2960
+ return subItem.type === "link" ? /* @__PURE__ */ jsx("li", { className: Navigation_module_default.dropdownLinkContainer, children: /* @__PURE__ */ jsx(
2961
+ "a",
2962
+ {
2963
+ href: (_a3 = subItem.cta) == null ? void 0 : _a3.url,
2964
+ className: Navigation_module_default.dropdownLink,
2965
+ tabIndex: isOpen ? void 0 : -1,
2966
+ children: (_b2 = subItem.cta) == null ? void 0 : _b2.label
2967
+ }
2968
+ ) }, i) : null;
2969
+ }
2970
+ ) }),
2971
+ /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.dropdownInfo, children: [
2972
+ /* @__PURE__ */ jsx("h3", { className: Navigation_module_default.dropdownTitle, children: item.title }),
2973
+ /* @__PURE__ */ jsx("p", { className: Navigation_module_default.dropdownDescription, children: item.description })
2974
+ ] })
2975
+ ] })
2976
+ }
2977
+ )
2978
+ ]
2979
+ },
2980
+ index
2981
+ ) : /* @__PURE__ */ jsx("li", { className: Navigation_module_default.lowerNavItem, children: /* @__PURE__ */ jsx(Button, { variant: "navnofillblack", href: (_a2 = item.cta) == null ? void 0 : _a2.url, isExternal: (_b = item.cta) == null ? void 0 : _b.isExternal, children: (_c = item.cta) == null ? void 0 : _c.label }) }, index);
2982
+ }) });
2983
+ };
2984
+ var NavigationLogo = ({
2985
+ mainLogo,
2986
+ homeCta,
2987
+ className,
2988
+ onClick,
2989
+ logoAlt = "Home"
2990
+ }) => {
2991
+ if (!mainLogo) return null;
2992
+ if (homeCta) {
2993
+ return /* @__PURE__ */ jsx("a", { href: homeCta, className: Navigation_module_default.mainLogoLink, onClick, "aria-label": logoAlt, children: /* @__PURE__ */ jsx(Picture, { className, src: mainLogo, alt: logoAlt || "" }) });
2994
+ }
2995
+ return /* @__PURE__ */ jsx(Picture, { className, src: mainLogo, alt: logoAlt });
2996
+ };
2997
+ var NavigationCtas = ({
2998
+ loginCta,
2999
+ rightButton,
3000
+ loginVariant,
3001
+ className
3002
+ }) => {
3003
+ return /* @__PURE__ */ jsxs("div", { className, children: [
3004
+ (loginCta == null ? void 0 : loginCta.label) && /* @__PURE__ */ jsx(Button, { variant: loginVariant, href: loginCta.url, isExternal: loginCta.isExternal, children: loginCta.label }),
3005
+ (rightButton == null ? void 0 : rightButton.label) && /* @__PURE__ */ jsx(Button, { variant: "primary", href: rightButton.url, isExternal: rightButton.isExternal, children: rightButton.label })
3006
+ ] });
3007
+ };
3008
+ var NavigationMobile = ({
3009
+ id,
3010
+ navigationItems,
3011
+ mainLogo,
3012
+ homeCta,
3013
+ loginCta,
3014
+ rightButton,
3015
+ isOpen,
3016
+ onClose
3017
+ }) => {
3018
+ var _a;
3019
+ const [expanded, setExpanded] = useState([]);
3020
+ const baseId = useId();
3021
+ const toggleExpanded = (index) => {
3022
+ setExpanded((prev) => prev.includes(index) ? prev.filter((i) => i !== index) : [...prev, index]);
3023
+ };
3024
+ return /* @__PURE__ */ jsxs(
3025
+ "div",
3026
+ {
3027
+ id,
3028
+ className: clsx16(Navigation_module_default.mobileMenu, isOpen && Navigation_module_default.mobileMenuOpen),
3029
+ role: "dialog",
3030
+ "aria-modal": "true",
3031
+ "aria-label": "Navigation menu",
3032
+ "aria-hidden": !isOpen,
3033
+ children: [
3034
+ /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.mobileMenuHeader, children: [
3035
+ /* @__PURE__ */ jsx(
3036
+ NavigationLogo,
3037
+ {
3038
+ mainLogo,
3039
+ homeCta,
3040
+ className: Navigation_module_default.mainLogoMobile,
3041
+ onClick: onClose
3042
+ }
3043
+ ),
3044
+ /* @__PURE__ */ jsx(
3045
+ "button",
3046
+ {
3047
+ type: "button",
3048
+ className: Navigation_module_default.hamburgerButton,
3049
+ onClick: onClose,
3050
+ "aria-label": "Close navigation menu",
3051
+ children: /* @__PURE__ */ jsx(Icon, { type: "xBlack", size: 24, "aria-hidden": "true" })
3052
+ }
3053
+ )
3054
+ ] }),
3055
+ /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileMenuItems, children: (_a = navigationItems == null ? void 0 : navigationItems.items) == null ? void 0 : _a.map((item, index) => {
3056
+ var _a2, _b;
3057
+ const subMenuId = `${baseId}-submenu-${index}`;
3058
+ const isExpanded = expanded.includes(index);
3059
+ return item.type === "dropdown" ? /* @__PURE__ */ jsxs("li", { className: Navigation_module_default.mobileItem, children: [
3060
+ /* @__PURE__ */ jsxs(
3061
+ "button",
3062
+ {
3063
+ type: "button",
3064
+ className: Navigation_module_default.mobileItemTrigger,
3065
+ onClick: () => toggleExpanded(index),
3066
+ "aria-expanded": isExpanded,
3067
+ "aria-controls": subMenuId,
3068
+ children: [
3069
+ item.title,
3070
+ /* @__PURE__ */ jsx(
3071
+ "span",
3072
+ {
3073
+ className: clsx16(
3074
+ Navigation_module_default.mobileItemChevron,
3075
+ isExpanded && Navigation_module_default.mobileItemChevronOpen
3076
+ ),
3077
+ "aria-hidden": "true",
3078
+ children: /* @__PURE__ */ jsx(Icon, { type: "downChevronBlack", size: 24 })
3079
+ }
3080
+ )
3081
+ ]
3082
+ }
3083
+ ),
3084
+ /* @__PURE__ */ jsx(
3085
+ "div",
3086
+ {
3087
+ id: subMenuId,
3088
+ className: clsx16(Navigation_module_default.mobileSubItems, isExpanded && Navigation_module_default.mobileSubItemsOpen),
3089
+ children: /* @__PURE__ */ jsx("ul", { className: Navigation_module_default.mobileSubItemsInner, children: item.items.map(
3090
+ (subItem, i) => {
3091
+ var _a3, _b2;
3092
+ return subItem.type === "link" ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
3093
+ "a",
3094
+ {
3095
+ href: (_a3 = subItem.cta) == null ? void 0 : _a3.url,
3096
+ className: Navigation_module_default.mobileSubLink,
3097
+ onClick: onClose,
3098
+ children: (_b2 = subItem.cta) == null ? void 0 : _b2.label
3099
+ }
3100
+ ) }, i) : null;
3101
+ }
3102
+ ) })
3103
+ }
3104
+ )
3105
+ ] }, index) : /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: (_a2 = item.cta) == null ? void 0 : _a2.url, className: Navigation_module_default.mobileItemLink, onClick: onClose, children: (_b = item.cta) == null ? void 0 : _b.label }) }, index);
3106
+ }) }),
3107
+ /* @__PURE__ */ jsx(
3108
+ NavigationCtas,
3109
+ {
3110
+ className: Navigation_module_default.mobileMenuCtas,
3111
+ loginCta,
3112
+ rightButton,
3113
+ loginVariant: "nofillblack"
3114
+ }
3115
+ )
3116
+ ]
3117
+ }
3118
+ );
3119
+ };
3120
+ var Navigation2 = (props) => {
3121
+ const { className, variant, homeCta, loginCta, mainLogo, rightButton, navigationItems } = props;
3122
+ const [isHovered, setIsHovered] = useState(false);
3123
+ const [hasOpenDropdown, setHasOpenDropdown] = useState(false);
3124
+ const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
3125
+ const isAtTop = useIsAtTop();
3126
+ const { is } = useViewPort_default();
3127
+ const mobileMenuId = useId();
3128
+ const isTabletBelow = is("tablet", "below");
3129
+ const isTransparent = variant === "transparent" && isAtTop && !isHovered && !hasOpenDropdown;
3130
+ useEffect(() => {
3131
+ document.body.style.overflow = isMobileMenuOpen ? "hidden" : "";
3132
+ return () => {
3133
+ document.body.style.overflow = "";
3134
+ };
3135
+ }, [isMobileMenuOpen]);
3136
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
3137
+ /* @__PURE__ */ jsx(
3138
+ "div",
3139
+ {
3140
+ className: clsx16(
3141
+ Navigation_module_default.navigationWrapper,
3142
+ variant === "transparent" && Navigation_module_default.variantTransparent,
3143
+ isTransparent && Navigation_module_default.transparent,
3144
+ hasOpenDropdown && !isTabletBelow && Navigation_module_default.dropdownOpen
3145
+ ),
3146
+ onMouseEnter: () => setIsHovered(true),
3147
+ onMouseLeave: () => setIsHovered(false),
3148
+ children: /* @__PURE__ */ jsxs("nav", { className: clsx16(Navigation_module_default.navigation, className), "aria-label": "Main", children: [
3149
+ /* @__PURE__ */ jsxs("div", { className: Navigation_module_default.upperNav, children: [
3150
+ /* @__PURE__ */ jsx(
3151
+ NavigationLogo,
3152
+ {
3153
+ mainLogo,
3154
+ homeCta,
3155
+ className: clsx16(Navigation_module_default.mainLogo, isTabletBelow && Navigation_module_default.mainLogoMobile)
3156
+ }
3157
+ ),
3158
+ isTabletBelow ? /* @__PURE__ */ jsx(
3159
+ "button",
3160
+ {
3161
+ type: "button",
3162
+ className: Navigation_module_default.hamburgerButton,
3163
+ onClick: () => setIsMobileMenuOpen(true),
3164
+ "aria-label": "Open navigation menu",
3165
+ "aria-haspopup": "dialog",
3166
+ "aria-expanded": isMobileMenuOpen,
3167
+ "aria-controls": mobileMenuId,
3168
+ children: /* @__PURE__ */ jsx(
3169
+ Icon,
3170
+ {
3171
+ type: isTransparent ? "menuWhite" : "menuBlack",
3172
+ size: 24,
3173
+ "aria-hidden": "true"
3174
+ }
3175
+ )
3176
+ }
3177
+ ) : /* @__PURE__ */ jsx(
3178
+ NavigationCtas,
3179
+ {
3180
+ className: Navigation_module_default.upperRight,
3181
+ loginCta,
3182
+ rightButton,
3183
+ loginVariant: isTransparent ? "ghost" : "nofillblack"
3184
+ }
3185
+ )
3186
+ ] }),
3187
+ isTabletBelow ? /* @__PURE__ */ jsx(
3188
+ NavigationMobile,
3189
+ {
3190
+ id: mobileMenuId,
3191
+ navigationItems,
3192
+ mainLogo,
3193
+ homeCta,
3194
+ loginCta,
3195
+ rightButton,
3196
+ isOpen: isMobileMenuOpen,
3197
+ onClose: () => setIsMobileMenuOpen(false)
3198
+ }
3199
+ ) : /* @__PURE__ */ jsx(
3200
+ NavigationDesktop,
3201
+ {
3202
+ navigationItems,
3203
+ isTransparent,
3204
+ onDropdownOpenChange: setHasOpenDropdown
3205
+ }
3206
+ )
3207
+ ] })
3208
+ }
3209
+ ),
3210
+ hasOpenDropdown && !isTabletBelow && /* @__PURE__ */ jsx("div", { className: Navigation_module_default.overlay, "aria-hidden": "true" })
3211
+ ] });
3212
+ };
2771
3213
  var PracticePathCardsFooter = ({ children }) => {
2772
3214
  return /* @__PURE__ */ jsx(Fragment, { children });
2773
3215
  };
@@ -2807,7 +3249,7 @@ var PracticePathCards = ({
2807
3249
  const titleNode = (_a = slots.title) != null ? _a : title;
2808
3250
  const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
2809
3251
  const footerNode = (_c = slots.footer) != null ? _c : footer;
2810
- return /* @__PURE__ */ jsx("div", { className: clsx15(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
3252
+ return /* @__PURE__ */ jsx("div", { className: clsx16(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
2811
3253
  /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
2812
3254
  /* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
2813
3255
  titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
@@ -2861,8 +3303,8 @@ var Teaser5050With3Text = ({
2861
3303
  title: Teaser5050With3TextTitle
2862
3304
  });
2863
3305
  const titleNode = (_a = slots.title) != null ? _a : title;
2864
- return /* @__PURE__ */ jsx("div", { className: clsx15(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
2865
- titleNode && /* @__PURE__ */ jsx("div", { className: clsx15(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
3306
+ return /* @__PURE__ */ jsx("div", { className: clsx16(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
3307
+ titleNode && /* @__PURE__ */ jsx("div", { className: clsx16(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
2866
3308
  /* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
2867
3309
  /* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
2868
3310
  image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
@@ -2912,12 +3354,12 @@ var Teaser5050WithCta = ({
2912
3354
  return /* @__PURE__ */ jsx(
2913
3355
  "div",
2914
3356
  {
2915
- className: clsx15(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
3357
+ className: clsx16(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
2916
3358
  style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
2917
3359
  children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
2918
3360
  /* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
2919
3361
  /* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
2920
- titleNode && /* @__PURE__ */ jsx("div", { className: clsx15(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
3362
+ titleNode && /* @__PURE__ */ jsx("div", { className: clsx16(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
2921
3363
  subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
2922
3364
  ] }),
2923
3365
  (ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
@@ -2969,7 +3411,7 @@ var Carousel = (_a) => {
2969
3411
  },
2970
3412
  role: "region",
2971
3413
  "aria-label": ariaLabel,
2972
- className: clsx15(Carousel_module_default.carousel, className),
3414
+ className: clsx16(Carousel_module_default.carousel, className),
2973
3415
  spaceBetween: 0,
2974
3416
  slidesPerView: "auto",
2975
3417
  modules: [FreeMode, A11y],
@@ -2979,7 +3421,7 @@ var Carousel = (_a) => {
2979
3421
  children: slides.map((slide, index) => /* @__PURE__ */ jsx(
2980
3422
  SwiperSlide,
2981
3423
  {
2982
- className: clsx15(Carousel_module_default["carousel-item"], props.slideClass),
3424
+ className: clsx16(Carousel_module_default["carousel-item"], props.slideClass),
2983
3425
  children: slide
2984
3426
  },
2985
3427
  index
@@ -3029,13 +3471,13 @@ var EventList = ({
3029
3471
  return /* @__PURE__ */ jsx(
3030
3472
  "div",
3031
3473
  {
3032
- className: clsx15("event-list-module", EventList_module_default["event-list-module"], className),
3474
+ className: clsx16("event-list-module", EventList_module_default["event-list-module"], className),
3033
3475
  style: {
3034
3476
  backgroundColor
3035
3477
  },
3036
- children: /* @__PURE__ */ jsxs(Container, { className: clsx15(EventList_module_default["event-list-container"]), children: [
3478
+ children: /* @__PURE__ */ jsxs(Container, { className: clsx16(EventList_module_default["event-list-container"]), children: [
3037
3479
  /* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
3038
- titleNode && /* @__PURE__ */ jsx("h2", { className: clsx15(EventList_module_default["event-list-title"]), children: titleNode }),
3480
+ titleNode && /* @__PURE__ */ jsx("h2", { className: clsx16(EventList_module_default["event-list-title"]), children: titleNode }),
3039
3481
  cta && cta.url && /* @__PURE__ */ jsx(
3040
3482
  Button,
3041
3483
  {
@@ -3052,7 +3494,7 @@ var EventList = ({
3052
3494
  Carousel,
3053
3495
  {
3054
3496
  "aria-label": "Upcoming events",
3055
- wrapperClass: clsx15(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
3497
+ wrapperClass: clsx16(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
3056
3498
  slideClass: EventList_module_default["carousel-list-item"],
3057
3499
  spaceBetween: 16,
3058
3500
  slides: items.map((item) => {
@@ -3060,7 +3502,7 @@ var EventList = ({
3060
3502
  return /* @__PURE__ */ jsx(
3061
3503
  UpcomingEventCard,
3062
3504
  __spreadValues({
3063
- className: clsx15(EventList_module_default["event-card"]),
3505
+ className: clsx16(EventList_module_default["event-card"]),
3064
3506
  direction: "vertical",
3065
3507
  showImage: false
3066
3508
  }, item),
@@ -3073,17 +3515,17 @@ var EventList = ({
3073
3515
  "ul",
3074
3516
  {
3075
3517
  "aria-label": "Upcoming events",
3076
- className: clsx15(EventList_module_default["event-list-wrapper"], EventList_module_default["horizontal"], EventList_module_default[variant]),
3518
+ className: clsx16(EventList_module_default["event-list-wrapper"], EventList_module_default["horizontal"], EventList_module_default[variant]),
3077
3519
  children: items == null ? void 0 : items.map((item, index) => {
3078
3520
  var _a2, _b, _c;
3079
3521
  return /* @__PURE__ */ jsx(
3080
3522
  "li",
3081
3523
  {
3082
- className: clsx15(EventList_module_default["card-list-item"]),
3524
+ className: clsx16(EventList_module_default["card-list-item"]),
3083
3525
  children: /* @__PURE__ */ jsx(
3084
3526
  UpcomingEventCard,
3085
3527
  __spreadProps(__spreadValues({}, item), {
3086
- className: clsx15(EventList_module_default["card-item"]),
3528
+ className: clsx16(EventList_module_default["card-item"]),
3087
3529
  showImage: false,
3088
3530
  direction: "vertical"
3089
3531
  })
@@ -3098,7 +3540,7 @@ var EventList = ({
3098
3540
  "ul",
3099
3541
  {
3100
3542
  "aria-label": "Upcoming events",
3101
- className: clsx15(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
3543
+ className: clsx16(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
3102
3544
  children: items == null ? void 0 : items.map((item, index) => {
3103
3545
  var _a2, _b, _c;
3104
3546
  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);
@@ -3146,9 +3588,9 @@ var TextEvent = (props) => {
3146
3588
  });
3147
3589
  const titleNode = (_a = slots.title) != null ? _a : title;
3148
3590
  const richTextNode = (_b = slots.richText) != null ? _b : richText;
3149
- return /* @__PURE__ */ jsxs(Container, { className: clsx15(TextEvent_module_default.textEvent, className), children: [
3591
+ return /* @__PURE__ */ jsxs(Container, { className: clsx16(TextEvent_module_default.textEvent, className), children: [
3150
3592
  /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
3151
- /* @__PURE__ */ jsx("div", { className: clsx15(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
3593
+ /* @__PURE__ */ jsx("div", { className: clsx16(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
3152
3594
  ] });
3153
3595
  };
3154
3596
 
@@ -3179,7 +3621,7 @@ var TextBody = (props) => {
3179
3621
  });
3180
3622
  const titleNode = (_a = slots.title) != null ? _a : title;
3181
3623
  const bodyNode = (_b = slots.body) != null ? _b : body;
3182
- return /* @__PURE__ */ jsxs(Container, { className: clsx15(TextBody_module_default.textBody, className), children: [
3624
+ return /* @__PURE__ */ jsxs(Container, { className: clsx16(TextBody_module_default.textBody, className), children: [
3183
3625
  titleNode && /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
3184
3626
  /* @__PURE__ */ jsx("div", { className: TextBody_module_default.body, children: bodyNode })
3185
3627
  ] });
@@ -3222,7 +3664,7 @@ var TextCenterCtaInBottom = ({
3222
3664
  });
3223
3665
  const titleNode = (_a = slots.title) != null ? _a : title;
3224
3666
  const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
3225
- return /* @__PURE__ */ jsx("div", { className: clsx15(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
3667
+ return /* @__PURE__ */ jsx("div", { className: clsx16(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
3226
3668
  /* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
3227
3669
  titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
3228
3670
  subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
@@ -3230,7 +3672,7 @@ var TextCenterCtaInBottom = ({
3230
3672
  !!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
3231
3673
  "div",
3232
3674
  {
3233
- className: clsx15(
3675
+ className: clsx16(
3234
3676
  TextCenterCtaInBottom_module_default.ctaWrapper,
3235
3677
  ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
3236
3678
  ),
@@ -3342,7 +3784,7 @@ var ResourcesGridList = ({
3342
3784
  const safeCurrentPage = Math.min(currentPage, totalPages);
3343
3785
  const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
3344
3786
  const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
3345
- return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx15(ResourcesGridList_module_default.widget, className), children: [
3787
+ return /* @__PURE__ */ jsxs("div", { ref: widgetRef, className: clsx16(ResourcesGridList_module_default.widget, className), children: [
3346
3788
  /* @__PURE__ */ jsx(
3347
3789
  FilterBar,
3348
3790
  {
@@ -3361,7 +3803,7 @@ var ResourcesGridList = ({
3361
3803
  isMobile && /* @__PURE__ */ jsxs(
3362
3804
  "div",
3363
3805
  {
3364
- className: clsx15(
3806
+ className: clsx16(
3365
3807
  ResourcesGridList_module_default.mobileSidebarOverlay,
3366
3808
  isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
3367
3809
  ),
@@ -3372,7 +3814,7 @@ var ResourcesGridList = ({
3372
3814
  return /* @__PURE__ */ jsxs(
3373
3815
  "li",
3374
3816
  {
3375
- className: clsx15(
3817
+ className: clsx16(
3376
3818
  ResourcesGridList_module_default.mobileSidebarItem,
3377
3819
  i === selectedCategory && ResourcesGridList_module_default.active
3378
3820
  ),
@@ -3417,7 +3859,7 @@ var ResourcesGridList = ({
3417
3859
  onSelect: handleSelectCategory
3418
3860
  }
3419
3861
  ),
3420
- /* @__PURE__ */ jsx("div", { className: clsx15(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
3862
+ /* @__PURE__ */ jsx("div", { className: clsx16(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsx(ResourceCardItem, { item, view }, item.id)) })
3421
3863
  ] }),
3422
3864
  totalPages > 1 && /* @__PURE__ */ jsx(
3423
3865
  Pagination,
@@ -3450,7 +3892,7 @@ var Grid = ({
3450
3892
  return /* @__PURE__ */ jsx(
3451
3893
  Component,
3452
3894
  {
3453
- className: clsx15("grid", Grid_module_default.grid, className),
3895
+ className: clsx16("grid", Grid_module_default.grid, className),
3454
3896
  role,
3455
3897
  "aria-label": ariaLabel,
3456
3898
  "aria-labelledby": ariaLabelledBy,
@@ -3475,7 +3917,7 @@ var GridItem = ({
3475
3917
  return /* @__PURE__ */ jsx(
3476
3918
  Component,
3477
3919
  {
3478
- className: clsx15("grid-item", Grid_module_default["grid-item"], className),
3920
+ className: clsx16("grid-item", Grid_module_default["grid-item"], className),
3479
3921
  role,
3480
3922
  "aria-label": ariaLabel,
3481
3923
  "aria-labelledby": ariaLabelledBy,
@@ -3523,13 +3965,13 @@ var BlogCardGrid = ({
3523
3965
  title: BlogCardGridTitle
3524
3966
  });
3525
3967
  const titleNode = (_a = slots.title) != null ? _a : title;
3526
- const content = /* @__PURE__ */ jsxs("div", { className: clsx15("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
3527
- title && /* @__PURE__ */ jsxs("div", { className: clsx15("header-container", BlogCardGrid_module_default["header-container"]), children: [
3528
- titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx15("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
3529
- cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx15("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
3968
+ const content = /* @__PURE__ */ jsxs("div", { className: clsx16("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
3969
+ title && /* @__PURE__ */ jsxs("div", { className: clsx16("header-container", BlogCardGrid_module_default["header-container"]), children: [
3970
+ titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h4", className: clsx16("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
3971
+ cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx16("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
3530
3972
  Button,
3531
3973
  {
3532
- className: clsx15("cta", BlogCardGrid_module_default["cta"]),
3974
+ className: clsx16("cta", BlogCardGrid_module_default["cta"]),
3533
3975
  variant: "nofillblack",
3534
3976
  href: cta.url,
3535
3977
  isExternal: cta == null ? void 0 : cta.isExternal,
@@ -3555,11 +3997,11 @@ var BlogCardGrid = ({
3555
3997
  return /* @__PURE__ */ jsx(
3556
3998
  "div",
3557
3999
  {
3558
- className: clsx15("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
4000
+ className: clsx16("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
3559
4001
  style: {
3560
4002
  backgroundColor
3561
4003
  },
3562
- children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx15("container", BlogCardGrid_module_default["container"]), children: content }) : content
4004
+ children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx16("container", BlogCardGrid_module_default["container"]), children: content }) : content
3563
4005
  }
3564
4006
  );
3565
4007
  };
@@ -3606,13 +4048,13 @@ var FeaturedNewsHighlights = ({
3606
4048
  const sideCards = items.slice(1);
3607
4049
  const isVariantHome = variant === "home";
3608
4050
  const isBelowTablet = is("tablet", "below");
3609
- const content = /* @__PURE__ */ jsxs("div", { className: clsx15("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
3610
- title && cta && /* @__PURE__ */ jsxs("div", { className: clsx15("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
4051
+ const content = /* @__PURE__ */ jsxs("div", { className: clsx16("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
4052
+ title && cta && /* @__PURE__ */ jsxs("div", { className: clsx16("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
3611
4053
  titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
3612
- cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx15("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
4054
+ cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsx("div", { className: clsx16("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
3613
4055
  Button,
3614
4056
  {
3615
- className: clsx15("cta", FeaturedNewsHighlights_module_default["cta"]),
4057
+ className: clsx16("cta", FeaturedNewsHighlights_module_default["cta"]),
3616
4058
  variant: "nofillblack",
3617
4059
  href: cta.url,
3618
4060
  isExternal: cta == null ? void 0 : cta.isExternal,
@@ -3624,9 +4066,9 @@ var FeaturedNewsHighlights = ({
3624
4066
  isVariantHome && isBelowTablet && /* @__PURE__ */ jsx(
3625
4067
  Carousel,
3626
4068
  {
3627
- className: clsx15("carousel", FeaturedNewsHighlights_module_default["carousel"]),
4069
+ className: clsx16("carousel", FeaturedNewsHighlights_module_default["carousel"]),
3628
4070
  "aria-label": "featured news",
3629
- wrapperClass: clsx15(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
4071
+ wrapperClass: clsx16(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
3630
4072
  slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
3631
4073
  spaceBetween: 16,
3632
4074
  slides: items.map((item, index) => {
@@ -3635,22 +4077,22 @@ var FeaturedNewsHighlights = ({
3635
4077
  NewsCard,
3636
4078
  __spreadProps(__spreadValues({}, item), {
3637
4079
  direction: "vertical",
3638
- className: clsx15("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
4080
+ className: clsx16("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
3639
4081
  }),
3640
4082
  (_a2 = item == null ? void 0 : item.title) != null ? _a2 : index
3641
4083
  );
3642
4084
  })
3643
4085
  }
3644
4086
  ),
3645
- (!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx15("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
4087
+ (!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxs("div", { className: clsx16("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
3646
4088
  featuredCard && /* @__PURE__ */ jsx(
3647
4089
  NewsCard,
3648
4090
  __spreadProps(__spreadValues({}, featuredCard), {
3649
- className: clsx15("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
4091
+ className: clsx16("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
3650
4092
  renderLink
3651
4093
  })
3652
4094
  ),
3653
- sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx15("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card, index) => {
4095
+ sideCards && sideCards.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx16("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card, index) => {
3654
4096
  var _a2;
3655
4097
  return /* @__PURE__ */ jsx(
3656
4098
  NewsCard,
@@ -3666,11 +4108,11 @@ var FeaturedNewsHighlights = ({
3666
4108
  return /* @__PURE__ */ jsx(
3667
4109
  "div",
3668
4110
  {
3669
- className: clsx15("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
4111
+ className: clsx16("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
3670
4112
  style: {
3671
4113
  backgroundColor
3672
4114
  },
3673
- children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx15("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
4115
+ children: hasContainer ? /* @__PURE__ */ jsx(Container, { className: clsx16("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
3674
4116
  }
3675
4117
  );
3676
4118
  };
@@ -3714,23 +4156,23 @@ var NewsCardList = ({
3714
4156
  return /* @__PURE__ */ jsx(
3715
4157
  "div",
3716
4158
  {
3717
- className: clsx15("news-card-list", NewsCardList_module_default["news-card-list"], className),
4159
+ className: clsx16("news-card-list", NewsCardList_module_default["news-card-list"], className),
3718
4160
  style: {
3719
4161
  backgroundColor
3720
4162
  },
3721
- children: /* @__PURE__ */ jsxs(Container, { className: clsx15("container", NewsCardList_module_default["container"]), children: [
3722
- /* @__PURE__ */ jsxs("div", { className: clsx15("wrapper", NewsCardList_module_default["wrapper"]), children: [
4163
+ children: /* @__PURE__ */ jsxs(Container, { className: clsx16("container", NewsCardList_module_default["container"]), children: [
4164
+ /* @__PURE__ */ jsxs("div", { className: clsx16("wrapper", NewsCardList_module_default["wrapper"]), children: [
3723
4165
  /* @__PURE__ */ jsx(
3724
4166
  Input,
3725
4167
  __spreadValues({
3726
- className: clsx15("search-input", NewsCardList_module_default["search-input"]),
4168
+ className: clsx16("search-input", NewsCardList_module_default["search-input"]),
3727
4169
  startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
3728
4170
  placeholder: "Search News",
3729
4171
  endAction: searchValue ? /* @__PURE__ */ jsx(
3730
4172
  Button,
3731
4173
  {
3732
4174
  variant: "nofillblack",
3733
- className: clsx15(NewsCardList_module_default["end-action-button"]),
4175
+ className: clsx16(NewsCardList_module_default["end-action-button"]),
3734
4176
  "aria-label": "Search",
3735
4177
  onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
3736
4178
  children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
@@ -3742,7 +4184,7 @@ var NewsCardList = ({
3742
4184
  } : void 0
3743
4185
  }, searchInputProps)
3744
4186
  ),
3745
- /* @__PURE__ */ jsxs("div", { className: clsx15("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
4187
+ /* @__PURE__ */ jsxs("div", { className: clsx16("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
3746
4188
  currentPage === 1 && /* @__PURE__ */ jsx(
3747
4189
  FeaturedNewsHighlights2,
3748
4190
  {
@@ -3756,7 +4198,7 @@ var NewsCardList = ({
3756
4198
  ] })
3757
4199
  ] }),
3758
4200
  paginationNode ? React66.cloneElement(paginationNode, {
3759
- className: clsx15("pagination", NewsCardList_module_default["pagination"])
4201
+ className: clsx16("pagination", NewsCardList_module_default["pagination"])
3760
4202
  }) : null
3761
4203
  ] })
3762
4204
  }
@@ -3801,15 +4243,15 @@ var BlogPost = ({
3801
4243
  });
3802
4244
  const titleNode = (_a = slots.title) != null ? _a : title;
3803
4245
  const bodyNode = (_b = slots.body) != null ? _b : body;
3804
- return /* @__PURE__ */ jsx("div", { className: clsx15("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx15("container", BlogPost_module_default["container"]), children: [
3805
- /* @__PURE__ */ jsxs("div", { className: clsx15("header", BlogPost_module_default["header"]), children: [
4246
+ return /* @__PURE__ */ jsx("div", { className: clsx16("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx16("container", BlogPost_module_default["container"]), children: [
4247
+ /* @__PURE__ */ jsxs("div", { className: clsx16("header", BlogPost_module_default["header"]), children: [
3806
4248
  titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
3807
- image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx15("image", BlogPost_module_default["image"]) }))
4249
+ image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx16("image", BlogPost_module_default["image"]) }))
3808
4250
  ] }),
3809
- /* @__PURE__ */ jsxs("div", { className: clsx15("content", BlogPost_module_default["content"]), children: [
3810
- /* @__PURE__ */ jsxs("div", { className: clsx15("content-top", BlogPost_module_default["content-top"]), children: [
4251
+ /* @__PURE__ */ jsxs("div", { className: clsx16("content", BlogPost_module_default["content"]), children: [
4252
+ /* @__PURE__ */ jsxs("div", { className: clsx16("content-top", BlogPost_module_default["content-top"]), children: [
3811
4253
  /* @__PURE__ */ jsx(Badge, { size: "sm", children: tag }),
3812
- /* @__PURE__ */ jsxs("span", { className: clsx15("content-date", BlogPost_module_default["content-date"]), children: [
4254
+ /* @__PURE__ */ jsxs("span", { className: clsx16("content-date", BlogPost_module_default["content-date"]), children: [
3813
4255
  "Published ",
3814
4256
  /* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
3815
4257
  ] })
@@ -3822,7 +4264,7 @@ var BlogPost = ({
3822
4264
  title: "More News",
3823
4265
  items: relatedArticles,
3824
4266
  hasContainer: false,
3825
- className: clsx15("related-articles", BlogPost_module_default["related-articles"])
4267
+ className: clsx16("related-articles", BlogPost_module_default["related-articles"])
3826
4268
  }
3827
4269
  )
3828
4270
  ] }) });
@@ -3870,22 +4312,22 @@ var BlogSearchResultsList = ({
3870
4312
  });
3871
4313
  const searchNode = (_a = slots.search) != null ? _a : searchResult;
3872
4314
  const paginationNode = slots.pagination;
3873
- return /* @__PURE__ */ jsx("div", { className: clsx15("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx15("container", BlogSearchResultsList_module_default["container"]), children: [
3874
- typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx15("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React66.isValidElement(searchNode) ? React66.cloneElement(searchNode, {
3875
- className: clsx15("search-result", BlogSearchResultsList_module_default["search-result"])
4315
+ return /* @__PURE__ */ jsx("div", { className: clsx16("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx16("container", BlogSearchResultsList_module_default["container"]), children: [
4316
+ typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx16("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React66.isValidElement(searchNode) ? React66.cloneElement(searchNode, {
4317
+ className: clsx16("search-result", BlogSearchResultsList_module_default["search-result"])
3876
4318
  }) : null,
3877
- /* @__PURE__ */ jsxs("div", { className: clsx15("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
4319
+ /* @__PURE__ */ jsxs("div", { className: clsx16("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
3878
4320
  /* @__PURE__ */ jsx(
3879
4321
  Input,
3880
4322
  __spreadValues({
3881
- className: clsx15("search-input", BlogSearchResultsList_module_default["search-input"]),
4323
+ className: clsx16("search-input", BlogSearchResultsList_module_default["search-input"]),
3882
4324
  startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
3883
4325
  placeholder: "Search News",
3884
4326
  endAction: searchValue ? /* @__PURE__ */ jsx(
3885
4327
  Button,
3886
4328
  {
3887
4329
  variant: "nofillblack",
3888
- className: clsx15(BlogSearchResultsList_module_default["end-action-button"]),
4330
+ className: clsx16(BlogSearchResultsList_module_default["end-action-button"]),
3889
4331
  "aria-label": "Search",
3890
4332
  onClick: () => onSearchSubmit(searchValue),
3891
4333
  children: /* @__PURE__ */ jsx(Icon, { type: "rightBlack" })
@@ -3900,7 +4342,7 @@ var BlogSearchResultsList = ({
3900
4342
  /* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
3901
4343
  ] }),
3902
4344
  paginationNode ? React66.cloneElement(paginationNode, {
3903
- className: clsx15("pagination", BlogSearchResultsList_module_default["pagination"])
4345
+ className: clsx16("pagination", BlogSearchResultsList_module_default["pagination"])
3904
4346
  }) : null
3905
4347
  ] }) });
3906
4348
  };
@@ -3910,35 +4352,65 @@ var BlogSearchResultsList2 = Object.assign(BlogSearchResultsList, {
3910
4352
  Search: BlogSearchResultsListSearch,
3911
4353
  Pagination: BlogSearchResultsListPagination
3912
4354
  });
3913
- function useIntersectionObserver({
3914
- animateOnce = false,
3915
- options = {}
3916
- } = {}) {
3917
- const observeRef = useRef(null);
3918
- const [isVisible, setIsVisible] = useState(false);
3919
- if (typeof IntersectionObserver === "undefined") {
3920
- console.warn("IntersectionObserver is not supported in this browser.");
3921
- return { observeRef, isVisible: true };
3922
- }
3923
- useEffect(() => {
3924
- const currentRef = observeRef.current;
3925
- if (!currentRef) return;
3926
- const observer = new IntersectionObserver((entries) => {
3927
- const entry = entries[0];
3928
- if (!entry) return;
3929
- setIsVisible(entry.isIntersecting);
3930
- if (entry.isIntersecting && animateOnce) {
3931
- observer.disconnect();
3932
- }
3933
- }, options);
3934
- observer.observe(currentRef);
3935
- return () => {
3936
- observer.disconnect();
3937
- };
3938
- }, [observeRef, animateOnce, options]);
3939
- return { observeRef, isVisible };
3940
- }
3941
4355
 
3942
- export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, NewsCard, NewsCardList2 as NewsCardList, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, ResourceCardItem, ResourcesGridList, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextEvent2 as TextEvent, UpcomingEventCard, resolveCompoundSlots, svgs, useIntersectionObserver };
4356
+ // src/widgets/GlobalSearchResultsList/GlobalSearchResultsList.module.scss
4357
+ var GlobalSearchResultsList_module_default = {
4358
+ "search-results-list": "GlobalSearchResultsList_module_search-results-list",
4359
+ container: "GlobalSearchResultsList_module_container",
4360
+ "search-result": "GlobalSearchResultsList_module_search-result",
4361
+ wrapper: "GlobalSearchResultsList_module_wrapper",
4362
+ pagination: "GlobalSearchResultsList_module_pagination"
4363
+ };
4364
+ var GlobalSearchResultsListPagination = ({
4365
+ children
4366
+ }) => {
4367
+ return /* @__PURE__ */ jsx(Fragment, { children });
4368
+ };
4369
+ var GlobalSearchResultsListSearch = ({ children }) => {
4370
+ return /* @__PURE__ */ jsx(Fragment, { children });
4371
+ };
4372
+ var GlobalSearchResultsList = ({
4373
+ items,
4374
+ searchResult,
4375
+ className,
4376
+ renderLink,
4377
+ children
4378
+ }) => {
4379
+ var _a;
4380
+ const slots = resolveCompoundSlots(children, {
4381
+ search: GlobalSearchResultsListSearch,
4382
+ pagination: GlobalSearchResultsListPagination
4383
+ });
4384
+ const searchNode = (_a = slots.search) != null ? _a : searchResult;
4385
+ const paginationNode = slots.pagination;
4386
+ return /* @__PURE__ */ jsx("div", { className: clsx16("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx16("container", GlobalSearchResultsList_module_default["container"]), children: [
4387
+ typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx16("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React66.isValidElement(searchNode) ? React66.cloneElement(searchNode, {
4388
+ className: clsx16("search-result", GlobalSearchResultsList_module_default["search-result"])
4389
+ }) : null,
4390
+ /* @__PURE__ */ jsx("div", { className: clsx16("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
4391
+ var _a2;
4392
+ return /* @__PURE__ */ jsx(GridItem, { colSpan: { md: 3 }, role: "listitem", children: /* @__PURE__ */ jsx(
4393
+ ResourceCardItem,
4394
+ {
4395
+ item,
4396
+ view: "grid",
4397
+ variant: "global-search",
4398
+ renderLink
4399
+ }
4400
+ ) }, (_a2 = item.title) != null ? _a2 : index);
4401
+ }) }) }),
4402
+ paginationNode ? React66.cloneElement(paginationNode, {
4403
+ className: clsx16("pagination", GlobalSearchResultsList_module_default["pagination"])
4404
+ }) : null
4405
+ ] }) });
4406
+ };
4407
+
4408
+ // src/widgets/GlobalSearchResultsList/index.ts
4409
+ var GlobalSearchResultsList2 = Object.assign(GlobalSearchResultsList, {
4410
+ Search: GlobalSearchResultsListSearch,
4411
+ Pagination: GlobalSearchResultsListPagination
4412
+ });
4413
+
4414
+ export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, 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, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Navigation2 as Navigation, NewsCard, NewsCardList2 as NewsCardList, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, ResourceCardItem, ResourcesGridList, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextEvent2 as TextEvent, UpcomingEventCard, resolveCompoundSlots, svgs, useIntersectionObserver, useIsAtTop };
3943
4415
  //# sourceMappingURL=index.mjs.map
3944
4416
  //# sourceMappingURL=index.mjs.map