@arc-ui/community-components 3.4.0 → 3.5.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.
Files changed (87) hide show
  1. package/.turbo/turbo-build.log +42 -42
  2. package/CHANGELOG.md +10 -0
  3. package/lib/Accordion/Accordion.cjs +3 -2
  4. package/lib/Accordion/Accordion.mjs +3 -2
  5. package/lib/ActionTile/ActionTile.cjs +7 -5
  6. package/lib/ActionTile/ActionTile.mjs +6 -4
  7. package/lib/ActionTile/styles.css +1 -1
  8. package/lib/ArticleSidebar/ArticleSidebar.cjs +10 -9
  9. package/lib/ArticleSidebar/ArticleSidebar.mjs +3 -2
  10. package/lib/Author/Author.cjs +3 -2
  11. package/lib/Author/Author.mjs +3 -2
  12. package/lib/BannerWithTabs/BannerWithTabs.cjs +5 -4
  13. package/lib/BannerWithTabs/BannerWithTabs.mjs +3 -2
  14. package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.cjs +81 -0
  15. package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.mjs +79 -0
  16. package/lib/BusinessSegmentSwitcher/styles.css +1 -0
  17. package/lib/ContentInfoWidget/ContentInfoWidget.cjs +4 -3
  18. package/lib/ContentInfoWidget/ContentInfoWidget.mjs +2 -1
  19. package/lib/CopyLead/CopyLead.cjs +17 -16
  20. package/lib/CopyLead/CopyLead.mjs +3 -2
  21. package/lib/DownloadList/DownloadList.cjs +6 -5
  22. package/lib/DownloadList/DownloadList.mjs +3 -2
  23. package/lib/FAQs/FAQs.cjs +6 -5
  24. package/lib/FAQs/FAQs.mjs +4 -3
  25. package/lib/FeaturePost/FeaturePost.cjs +12 -11
  26. package/lib/FeaturePost/FeaturePost.mjs +3 -2
  27. package/lib/Highlights/Highlights.cjs +11 -10
  28. package/lib/Highlights/Highlights.mjs +3 -2
  29. package/lib/InlineLinkGroup/InlineLinkGroup.cjs +4 -3
  30. package/lib/InlineLinkGroup/InlineLinkGroup.mjs +2 -1
  31. package/lib/LinkTile/LinkTile.cjs +3 -3
  32. package/lib/LinkTile/LinkTile.mjs +2 -2
  33. package/lib/LinkTile/styles.css +1 -1
  34. package/lib/ProductNavigation/ProductNavigation.cjs +6 -5
  35. package/lib/ProductNavigation/ProductNavigation.mjs +3 -2
  36. package/lib/PromoListing/PromoListing.cjs +7 -6
  37. package/lib/PromoListing/PromoListing.mjs +3 -2
  38. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +7 -6
  39. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +4 -3
  40. package/lib/Quote/Quote.cjs +6 -5
  41. package/lib/Quote/Quote.mjs +3 -2
  42. package/lib/SectionHeading/SectionHeading.cjs +3 -2
  43. package/lib/SectionHeading/SectionHeading.mjs +3 -2
  44. package/lib/Statistics/Statistics.cjs +6 -5
  45. package/lib/Statistics/Statistics.mjs +3 -2
  46. package/lib/Summary/Summary.cjs +4 -3
  47. package/lib/Summary/Summary.mjs +2 -1
  48. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +3 -2
  49. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +3 -2
  50. package/lib/VideoHeroCard/VideoHeroCard.cjs +7 -6
  51. package/lib/VideoHeroCard/VideoHeroCard.mjs +3 -2
  52. package/lib/VideoPortraitCard/VideoPortraitCard.cjs +5 -4
  53. package/lib/VideoPortraitCard/VideoPortraitCard.mjs +3 -2
  54. package/lib/_shared/cjs/{Accordion-QqDoB3pY.cjs → Accordion-DfNGOjTm.cjs} +9 -8
  55. package/lib/_shared/cjs/{Author-aL8YXi7C.cjs → Author-D4dKNQem.cjs} +5 -4
  56. package/lib/_shared/cjs/{SectionHeading-Dj-dJfv3.cjs → SectionHeading-DeSFM0HV.cjs} +5 -4
  57. package/lib/_shared/cjs/{ThumbnailSignpost-SBnrGooA.cjs → ThumbnailSignpost-GkOiwt-Z.cjs} +5 -4
  58. package/lib/_shared/cjs/{VideoCardThumbnail-BqYgpk0u.cjs → VideoCardThumbnail-N5iC-cAU.cjs} +7 -6
  59. package/lib/_shared/cjs/filter-attrs-BizjMsy0.cjs +27 -0
  60. package/lib/_shared/cjs/{filter-attrs-C26zOt4_.cjs → tslib.es6-BxB9I209.cjs} +0 -25
  61. package/lib/_shared/esm/{Accordion-DtU7jbCv.mjs → Accordion-DSRlkcXi.mjs} +2 -1
  62. package/lib/_shared/esm/{Author-CJQFrQM9.mjs → Author-CLMgH9ES.mjs} +2 -1
  63. package/lib/_shared/esm/{SectionHeading-BskdQ2Tt.mjs → SectionHeading-DSwsdNSp.mjs} +2 -1
  64. package/lib/_shared/esm/{ThumbnailSignpost-CBSdQiHw.mjs → ThumbnailSignpost-BtaHAB0h.mjs} +2 -1
  65. package/lib/_shared/esm/{VideoCardThumbnail-VfOKmPCv.mjs → VideoCardThumbnail-Tbh7Xi-X.mjs} +2 -1
  66. package/lib/_shared/esm/filter-attrs-DZ7RCEZm.mjs +25 -0
  67. package/lib/_shared/esm/{filter-attrs-D-1kWaCP.mjs → tslib.es6-BVXMhEem.mjs} +1 -25
  68. package/lib/index.cjs +204 -132
  69. package/lib/index.cjs.map +1 -1
  70. package/lib/index.d.cts +61 -3
  71. package/lib/index.d.mts +61 -3
  72. package/lib/index.mjs +204 -133
  73. package/lib/index.mjs.map +1 -1
  74. package/lib/styles.css +1 -1
  75. package/package.json +2 -2
  76. package/src/components/ActionTile/ActionTile.module.css +1 -0
  77. package/src/components/ActionTile/ActionTile.tsx +11 -3
  78. package/src/components/BusinessSegmentSwitcher/BusinessSegmentSwitcher.module.css +92 -0
  79. package/src/components/BusinessSegmentSwitcher/BusinessSegmentSwitcher.tsx +119 -0
  80. package/src/components/BusinessSegmentSwitcher/helpers/renderBusinessSegmentSwitcherCarousel.tsx +45 -0
  81. package/src/components/BusinessSegmentSwitcher/helpers/renderCard.tsx +17 -0
  82. package/src/components/BusinessSegmentSwitcher/index.ts +9 -0
  83. package/src/components/BusinessSegmentSwitcher/types/types.ts +45 -0
  84. package/src/components/LinkTile/LinkTile.module.css +8 -4
  85. package/src/components/LinkTile/LinkTile.tsx +1 -2
  86. package/src/components/index.ts +1 -0
  87. package/versions.json +1 -1
package/lib/index.mjs CHANGED
@@ -31,6 +31,8 @@ import { Visible } from '@arc-ui/components/Visible';
31
31
  import { Spacing } from '@arc-ui/components/Spacing';
32
32
  import ReactPlayer from 'react-player';
33
33
  import { Surface } from '@arc-ui/components/Surface';
34
+ import { ContentSwitcher, ContentSwitcherList, ContentSwitcherTab, ContentSwitcherContent } from '@arc-ui/components/ContentSwitcher';
35
+ import { ContentSwitcherDropdown, ContentSwitcherDropdownContent } from '@arc-ui/components/ContentSwitcherDropdown';
34
36
 
35
37
  /******************************************************************************
36
38
  Copyright (c) Microsoft Corporation.
@@ -240,17 +242,17 @@ function requireClassnames () {
240
242
  var classnamesExports = requireClassnames();
241
243
  var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
242
244
 
243
- var styles$q = {"accordion-header":"AccordionHeading-module_accordion-header__8s12f","accordion-header--hasImage":"AccordionHeading-module_accordion-header--hasImage__wbDjW","accordion-header--padded":"AccordionHeading-module_accordion-header--padded__me1JY","accordion-header--headingSizeM":"AccordionHeading-module_accordion-header--headingSizeM__amLfy"};
245
+ var styles$r = {"accordion-header":"AccordionHeading-module_accordion-header__8s12f","accordion-header--hasImage":"AccordionHeading-module_accordion-header--hasImage__wbDjW","accordion-header--padded":"AccordionHeading-module_accordion-header--padded__me1JY","accordion-header--headingSizeM":"AccordionHeading-module_accordion-header--headingSizeM__amLfy"};
244
246
 
245
247
  var AccordionHeading = function (_a) {
246
248
  var _b, _c;
247
249
  var heading = _a.heading, content = _a.content, id = _a.id, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.headingSize, headingSize = _f === void 0 ? "xl" : _f, image = _a.image, props = __rest(_a, ["heading", "content", "id", "isPadded", "headingLevel", "headingSize", "image"]);
248
250
  return (React.createElement("div", __assign({ className: classNames((_b = {},
249
- _b[styles$q["accordion-header"]] = true,
250
- _b[styles$q["accordion-header--padded"]] = isPadded,
251
- _b[styles$q["accordion-header--headingSizeM"]] = headingSize === "m",
251
+ _b[styles$r["accordion-header"]] = true,
252
+ _b[styles$r["accordion-header--padded"]] = isPadded,
253
+ _b[styles$r["accordion-header--headingSizeM"]] = headingSize === "m",
252
254
  _b)) }, filterAttrs(props)),
253
- React.createElement("div", { className: classNames((_c = {}, _c[styles$q["accordion-header--hasImage"]] = image, _c)) },
255
+ React.createElement("div", { className: classNames((_c = {}, _c[styles$r["accordion-header--hasImage"]] = image, _c)) },
254
256
  image && (React.createElement("div", null,
255
257
  React.createElement(Image$2, __assign({}, image, { width: 68, fit: "cover" })))),
256
258
  React.createElement(Heading, { level: headingLevel, id: id, size: headingSize }, heading)),
@@ -259,30 +261,30 @@ var AccordionHeading = function (_a) {
259
261
  React.createElement(Text, { size: "l", elementType: "p" }, content)))));
260
262
  };
261
263
 
262
- var styles$p = {"AccordionDisclosureListItem":"AccordionDisclosureList-module_AccordionDisclosureListItem__p8LIT"};
264
+ var styles$q = {"AccordionDisclosureListItem":"AccordionDisclosureList-module_AccordionDisclosureListItem__p8LIT"};
263
265
 
264
266
  var AccordionDisclosureList = function (_a) {
265
267
  var disclosureList = _a.disclosureList;
266
268
  return (React.createElement("ul", null, disclosureList.map(function (_a) {
267
269
  var children = _a.children, summary = _a.summary, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.indentDetails, indentDetails = _c === void 0 ? false : _c, headingLevel = _a.headingLevel, id = _a.id, props = __rest(_a, ["children", "summary", "isOpen", "indentDetails", "headingLevel", "id"]);
268
- return (React.createElement("li", { key: id, className: styles$p.AccordionDisclosureListItem, id: id },
270
+ return (React.createElement("li", { key: id, className: styles$q.AccordionDisclosureListItem, id: id },
269
271
  React.createElement(Disclosure, __assign({ summary: summary, isOpen: isOpen, indentDetails: indentDetails, headingLevel: headingLevel }, filterAttrs(props)), children)));
270
272
  })));
271
273
  };
272
274
 
273
- var styles$o = {"Accordion":"Accordion-module_Accordion__LsXTU"};
275
+ var styles$p = {"Accordion":"Accordion-module_Accordion__LsXTU"};
274
276
 
275
277
  /**
276
278
  * Use the `Accordion` component to package together a title, content and a number of disclosure components into one section (maximum 10).
277
279
  */
278
280
  var Accordion = function (_a) {
279
281
  var heading = _a.heading, headingLevel = _a.headingLevel, headingSize = _a.headingSize, content = _a.content, id = _a.id, disclosureList = _a.disclosureList, props = __rest(_a, ["heading", "headingLevel", "headingSize", "content", "id", "disclosureList"]);
280
- return (React.createElement("div", __assign({ className: styles$o.Accordion }, filterAttrs(props)),
282
+ return (React.createElement("div", __assign({ className: styles$p.Accordion }, filterAttrs(props)),
281
283
  React.createElement(AccordionHeading, { isPadded: true, id: id, "data-testid": "Accordion-header", heading: heading, headingLevel: headingLevel, headingSize: headingSize, content: content }),
282
284
  React.createElement(AccordionDisclosureList, { disclosureList: disclosureList })));
283
285
  };
284
286
 
285
- var styles$n = {"authorContent":"Author-module_authorContent__TBY7b","largeAvatar":"Author-module_largeAvatar__Vco03"};
287
+ var styles$o = {"authorContent":"Author-module_authorContent__TBY7b","largeAvatar":"Author-module_largeAvatar__Vco03"};
286
288
 
287
289
  var Author = function (_a) {
288
290
  var name = _a.name, title = _a.title, _b = _a.avatar, avatar = _b === void 0 ? {} : _b, props = __rest(_a, ["name", "title", "avatar"]);
@@ -293,10 +295,10 @@ var Author = function (_a) {
293
295
  React.createElement(Grid, { isFluid: true, isGutterless: true },
294
296
  React.createElement(GridRow, { align: "center" },
295
297
  React.createElement(GridCol, { xs: isLargeAvatar ? 12 : "auto" },
296
- React.createElement("div", { className: isLargeAvatar ? styles$n.largeAvatar : undefined },
298
+ React.createElement("div", { className: isLargeAvatar ? styles$o.largeAvatar : undefined },
297
299
  React.createElement(Avatar, __assign({}, avatar)))),
298
300
  React.createElement(GridCol, null,
299
- React.createElement("div", { className: "".concat(!isLargeAvatar && styles$n.authorContent), "data-testid": "authorContent" },
301
+ React.createElement("div", { className: "".concat(!isLargeAvatar && styles$o.authorContent), "data-testid": "authorContent" },
300
302
  React.createElement(Heading, { size: "xs" }, name),
301
303
  React.createElement(Text, { size: "s" }, title)))))));
302
304
  };
@@ -320,35 +322,35 @@ var MultiLineText = function (_a) {
320
322
  React.createElement(Text, __assign({}, textProps), paragraph))); })));
321
323
  };
322
324
 
323
- var styles$m = {"buttonContainer":"CopyLead-module_buttonContainer__3OaRG","col":"CopyLead-module_col__0Da5H","container":"CopyLead-module_container__I91ym","container--content":"CopyLead-module_container--content__e8LxG","container--media":"CopyLead-module_container--media__QcMWi","container--align-center":"CopyLead-module_container--align-center__Fh1Sd","container--align-top":"CopyLead-module_container--align-top__UIXOZ","list":"CopyLead-module_list__arnJd","listItem":"CopyLead-module_listItem__NscHE","listItemCentered":"CopyLead-module_listItemCentered__Kwdab","listItemIconContainer":"CopyLead-module_listItemIconContainer__dgnhJ","listItemTextContainer":"CopyLead-module_listItemTextContainer__Dl9lw","imgWrapper":"CopyLead-module_imgWrapper__HYP3w","mediaContainer":"CopyLead-module_mediaContainer__PxTnm","content":"CopyLead-module_content__Bja1D","container--reverse":"CopyLead-module_container--reverse__Gq9u8"};
325
+ var styles$n = {"buttonContainer":"CopyLead-module_buttonContainer__3OaRG","col":"CopyLead-module_col__0Da5H","container":"CopyLead-module_container__I91ym","container--content":"CopyLead-module_container--content__e8LxG","container--media":"CopyLead-module_container--media__QcMWi","container--align-center":"CopyLead-module_container--align-center__Fh1Sd","container--align-top":"CopyLead-module_container--align-top__UIXOZ","list":"CopyLead-module_list__arnJd","listItem":"CopyLead-module_listItem__NscHE","listItemCentered":"CopyLead-module_listItemCentered__Kwdab","listItemIconContainer":"CopyLead-module_listItemIconContainer__dgnhJ","listItemTextContainer":"CopyLead-module_listItemTextContainer__Dl9lw","imgWrapper":"CopyLead-module_imgWrapper__HYP3w","mediaContainer":"CopyLead-module_mediaContainer__PxTnm","content":"CopyLead-module_content__Bja1D","container--reverse":"CopyLead-module_container--reverse__Gq9u8"};
324
326
 
325
327
  var MediaContent$1 = function (_a) {
326
328
  var heading = _a.heading, id = _a.id, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content;
327
- return (React.createElement("div", { className: styles$m.mediaContainer },
329
+ return (React.createElement("div", { className: styles$n.mediaContainer },
328
330
  React.createElement(Heading, { id: id, level: headingLevel, isWordWrap: isHeadingWordWrap, size: "xl" }, heading),
329
- content && (React.createElement("div", { className: styles$m.content },
331
+ content && (React.createElement("div", { className: styles$n.content },
330
332
  React.createElement(VerticalSpace, { size: "24" }),
331
333
  React.createElement(MultiLineText, { text: content, size: "l" })))));
332
334
  };
333
335
 
334
336
  var Image$1 = function (_a) {
335
337
  var sources = _a.sources, props = __rest(_a, ["sources"]);
336
- return (React.createElement("div", { className: styles$m.imgWrapper },
338
+ return (React.createElement("div", { className: styles$n.imgWrapper },
337
339
  React.createElement(Image$2, __assign({ fadeOnLoad: true }, props), sources &&
338
340
  sources.map(function (source) { return React.createElement("source", __assign({ key: source.srcSet }, source)); }))));
339
341
  };
340
342
 
341
343
  var IconList = function (_a) {
342
344
  var listItems = _a.listItems, isLgScreen = _a.isLgScreen, _b = _a.headingLevel, headingLevel = _b === void 0 ? "3" : _b;
343
- return (React.createElement("ul", { className: styles$m.list }, listItems.map(function (_a) {
345
+ return (React.createElement("ul", { className: styles$n.list }, listItems.map(function (_a) {
344
346
  var _b;
345
347
  var icon = _a.icon, heading = _a.heading, text = _a.text;
346
- return (React.createElement("li", { key: heading, className: classNames(styles$m.listItem, (_b = {},
347
- _b[styles$m.listItemCentered] = !text,
348
+ return (React.createElement("li", { key: heading, className: classNames(styles$n.listItem, (_b = {},
349
+ _b[styles$n.listItemCentered] = !text,
348
350
  _b)) },
349
- React.createElement("div", { className: styles$m.listItemIconContainer },
351
+ React.createElement("div", { className: styles$n.listItemIconContainer },
350
352
  React.createElement(Icon, { color: "brand", icon: icon, size: isLgScreen ? 64 : 48 })),
351
- React.createElement("div", { className: styles$m.listItemTextContainer },
353
+ React.createElement("div", { className: styles$n.listItemTextContainer },
352
354
  React.createElement(Heading, { level: headingLevel, size: "s" }, heading),
353
355
  text && (React.createElement(React.Fragment, null,
354
356
  React.createElement(VerticalSpace, { size: "8", sizeL: "16" }),
@@ -356,20 +358,20 @@ var IconList = function (_a) {
356
358
  })));
357
359
  };
358
360
 
359
- var Button = function (props) { return (React.createElement("div", { className: styles$m.buttonContainer },
361
+ var Button = function (props) { return (React.createElement("div", { className: styles$n.buttonContainer },
360
362
  React.createElement(ButtonV2, __assign({ isFullWidth: true, buttonStyle: "secondary" }, props)))); };
361
363
 
362
364
  var Container = function (_a) {
363
365
  var _b;
364
366
  var children = _a.children, isReverseOrder = _a.isReverseOrder, type = _a.type, alignment = _a.alignment;
365
- return (React.createElement("div", { "data-testid": "copy-lead-container", className: classNames(styles$m.container, styles$m["container--".concat(type)], styles$m["container--align-".concat(alignment)], (_b = {},
366
- _b[styles$m["container--reverse"]] = isReverseOrder,
367
+ return (React.createElement("div", { "data-testid": "copy-lead-container", className: classNames(styles$n.container, styles$n["container--".concat(type)], styles$n["container--align-".concat(alignment)], (_b = {},
368
+ _b[styles$n["container--reverse"]] = isReverseOrder,
367
369
  _b)) }, children));
368
370
  };
369
371
 
370
372
  var Column = function (_a) {
371
373
  var children = _a.children;
372
- return (React.createElement("div", { className: styles$m.col }, children));
374
+ return (React.createElement("div", { className: styles$n.col }, children));
373
375
  };
374
376
 
375
377
  var getListHeadingLevel$1 = function (level) {
@@ -409,16 +411,16 @@ var MediaTemplate = function (_a) {
409
411
  image && !video && React.createElement(Image$1, __assign({}, image))))));
410
412
  };
411
413
 
412
- var styles$l = {"section-header":"SectionHeading-module_section-header__iB07I","section-header--hasImage":"SectionHeading-module_section-header--hasImage__Ka3T7","section-header--padded":"SectionHeading-module_section-header--padded__0FXP2"};
414
+ var styles$m = {"section-header":"SectionHeading-module_section-header__iB07I","section-header--hasImage":"SectionHeading-module_section-header--hasImage__Ka3T7","section-header--padded":"SectionHeading-module_section-header--padded__0FXP2"};
413
415
 
414
416
  var SectionHeading = function (_a) {
415
417
  var _b, _c;
416
418
  var heading = _a.heading, content = _a.content, id = _a.id, image = _a.image, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, props = __rest(_a, ["heading", "content", "id", "image", "isHeadingWordWrap", "isPadded", "headingLevel"]);
417
419
  return (React.createElement("div", __assign({ className: classNames((_b = {},
418
- _b[styles$l["section-header"]] = true,
419
- _b[styles$l["section-header--padded"]] = isPadded,
420
+ _b[styles$m["section-header"]] = true,
421
+ _b[styles$m["section-header--padded"]] = isPadded,
420
422
  _b)) }, filterAttrs(props)),
421
- React.createElement("div", { className: classNames((_c = {}, _c[styles$l["section-header--hasImage"]] = image, _c)) },
423
+ React.createElement("div", { className: classNames((_c = {}, _c[styles$m["section-header--hasImage"]] = image, _c)) },
422
424
  image && (React.createElement("div", null,
423
425
  React.createElement(Image$2, __assign({}, image, { width: 68, fit: "cover" })))),
424
426
  React.createElement(Heading, { level: headingLevel, id: id, size: "xl", isWordWrap: isHeadingWordWrap }, heading)),
@@ -455,12 +457,12 @@ var CopyLead = function (_a) {
455
457
  return null;
456
458
  };
457
459
 
458
- var styles$k = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
460
+ var styles$l = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
459
461
 
460
462
  var DownloadList = function (_a) {
461
463
  var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, props = __rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
462
464
  return (React.createElement("div", __assign({}, filterAttrs(props)),
463
- React.createElement("div", { className: styles$k.headingContainer },
465
+ React.createElement("div", { className: styles$l.headingContainer },
464
466
  React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
465
467
  React.createElement(VerticalSpace, { size: "40" }),
466
468
  downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i) },
@@ -468,7 +470,7 @@ var DownloadList = function (_a) {
468
470
  i !== downloads.length - 1 && React.createElement(VerticalSpace, { size: "16" }))); })));
469
471
  };
470
472
 
471
- var styles$j = {"FAQs":"FAQs-module_FAQs__FtQr4","linkListSection":"FAQs-module_linkListSection__RdQkU","linkListTitle":"FAQs-module_linkListTitle__RVni3","linkList":"FAQs-module_linkList__dPyXj","linkListItem":"FAQs-module_linkListItem__S83CL","linkList--padded":"FAQs-module_linkList--padded__8Paxc"};
473
+ var styles$k = {"FAQs":"FAQs-module_FAQs__FtQr4","linkListSection":"FAQs-module_linkListSection__RdQkU","linkListTitle":"FAQs-module_linkListTitle__RVni3","linkList":"FAQs-module_linkList__dPyXj","linkListItem":"FAQs-module_linkListItem__S83CL","linkList--padded":"FAQs-module_linkList--padded__8Paxc"};
472
474
 
473
475
  var scrollToSectionFocusFirstElement = function (item) {
474
476
  var _a, _b, _c, _d, _e;
@@ -482,23 +484,23 @@ var scrollToSectionFocusFirstElement = function (item) {
482
484
  var FAQs = function (_a) {
483
485
  var _b;
484
486
  var heading = _a.heading, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, id = _a.id, _c = _a.isPadded, isPadded = _c === void 0 ? false : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d, image = _a.image, type = _a.type, _e = _a.linkListHeading, linkListHeading = _e === void 0 ? "Skip to section" : _e, accordionData = _a.accordionData, props = __rest(_a, ["heading", "isHeadingWordWrap", "content", "id", "isPadded", "headingLevel", "image", "type", "linkListHeading", "accordionData"]);
485
- return (React.createElement("div", __assign({ className: styles$j.FAQs }, filterAttrs(props)),
487
+ return (React.createElement("div", __assign({ className: styles$k.FAQs }, filterAttrs(props)),
486
488
  React.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, image: image, headingLevel: headingLevel, isPadded: isPadded }),
487
- type === "listWithLinks" && (React.createElement("div", { className: styles$j.linkListSection },
488
- React.createElement("div", { className: styles$j.linkListTitle },
489
+ type === "listWithLinks" && (React.createElement("div", { className: styles$k.linkListSection },
490
+ React.createElement("div", { className: styles$k.linkListTitle },
489
491
  React.createElement(Heading, { size: "xs" }, linkListHeading)),
490
492
  React.createElement("ul", { className: classNames((_b = {},
491
- _b[styles$j.linkList] = true,
492
- _b[styles$j["linkList--padded"]] = isPadded,
493
+ _b[styles$k.linkList] = true,
494
+ _b[styles$k["linkList--padded"]] = isPadded,
493
495
  _b)) }, accordionData.map(function (item) {
494
496
  var _a;
495
- return (React.createElement("li", { className: styles$j.linkListItem, key: item.heading },
497
+ return (React.createElement("li", { className: styles$k.linkListItem, key: item.heading },
496
498
  React.createElement(Link, { title: item.heading, href: "#".concat(item.id), onClick: function (e) {
497
499
  e.preventDefault();
498
500
  scrollToSectionFocusFirstElement(item);
499
501
  } }, (_a = item.altLinkTitle) !== null && _a !== void 0 ? _a : item.heading)));
500
502
  })))),
501
- type !== "tabs" && accordionData && (React.createElement("ul", { className: styles$j.accordionList }, accordionData.map(function (item) { return (React.createElement("li", { className: styles$j.accordionListItem, key: item.id },
503
+ type !== "tabs" && accordionData && (React.createElement("ul", { className: styles$k.accordionList }, accordionData.map(function (item) { return (React.createElement("li", { className: styles$k.accordionListItem, key: item.id },
502
504
  React.createElement(Accordion, { id: item.id, heading: item.heading, headingLevel: item.headingLevel, content: item.content, disclosureList: item.disclosureList, headingSize: "m" }),
503
505
  React.createElement(VerticalSpace, { size: "48", sizeL: "64" }))); }))),
504
506
  type === "tabs" && (React.createElement(Tabs, { defaultValue: accordionData[0].heading },
@@ -2695,12 +2697,12 @@ function cleanEscapedString(input) {
2695
2697
  return matched[1].replace(doubleQuoteRegExp, "'");
2696
2698
  }
2697
2699
 
2698
- var styles$i = {"labelDate":"FeaturePost-module_labelDate__NXOgY","googlePlayButtonWrapper":"FeaturePost-module_googlePlayButtonWrapper__GI-ag","imgWrapper":"FeaturePost-module_imgWrapper__r6omd","featurePost":"FeaturePost-module_featurePost__9jY21","featurePostReversed":"FeaturePost-module_featurePostReversed__WQRXm","contentContainer":"FeaturePost-module_contentContainer__kdus7","col":"FeaturePost-module_col__eW8gY"};
2700
+ var styles$j = {"labelDate":"FeaturePost-module_labelDate__NXOgY","googlePlayButtonWrapper":"FeaturePost-module_googlePlayButtonWrapper__GI-ag","imgWrapper":"FeaturePost-module_imgWrapper__r6omd","featurePost":"FeaturePost-module_featurePost__9jY21","featurePostReversed":"FeaturePost-module_featurePostReversed__WQRXm","contentContainer":"FeaturePost-module_contentContainer__kdus7","col":"FeaturePost-module_col__eW8gY"};
2699
2701
 
2700
2702
  var Image = function (_a) {
2701
2703
  var sources = _a.sources, title = _a.title, description = _a.description, props = __rest(_a, ["sources", "title", "description"]);
2702
2704
  return (React.createElement(React.Fragment, null,
2703
- React.createElement("div", { className: styles$i.imgWrapper },
2705
+ React.createElement("div", { className: styles$j.imgWrapper },
2704
2706
  React.createElement(Image$2, __assign({ fadeOnLoad: true }, props), sources &&
2705
2707
  sources.map(function (source) { return React.createElement("source", __assign({ key: source.srcSet }, source)); }))),
2706
2708
  title && (React.createElement(React.Fragment, null,
@@ -2738,17 +2740,17 @@ var FeaturePost = function (_a) {
2738
2740
  var _b;
2739
2741
  var heading = _a.heading, id = _a.id, _c = _a.headingLevel, headingLevel = _c === void 0 ? "2" : _c, label = _a.label, image = _a.image, content = _a.content, footer = _a.footer, video = _a.video, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isReverseOrder, isReverseOrder = _d === void 0 ? false : _d, props = __rest(_a, ["heading", "id", "headingLevel", "label", "image", "content", "footer", "video", "isHeadingWordWrap", "isReverseOrder"]);
2740
2742
  var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
2741
- return (React.createElement("div", __assign({ "data-testid": "feature-post", className: classNames(styles$i.featurePost, (_b = {},
2742
- _b[styles$i.featurePostReversed] = isReverseOrder,
2743
+ return (React.createElement("div", __assign({ "data-testid": "feature-post", className: classNames(styles$j.featurePost, (_b = {},
2744
+ _b[styles$j.featurePostReversed] = isReverseOrder,
2743
2745
  _b)) }, filterAttrs(props)),
2744
- React.createElement("div", { className: styles$i.col },
2745
- React.createElement("div", { className: styles$i.contentContainer },
2746
+ React.createElement("div", { className: styles$j.col },
2747
+ React.createElement("div", { className: styles$j.contentContainer },
2746
2748
  label && (React.createElement(Grid, { isGutterless: true, isFluid: true },
2747
2749
  React.createElement(GridRow, { align: "baseline" },
2748
2750
  React.createElement(GridCol, { xs: 12, m: "auto" },
2749
2751
  React.createElement(Heading, { size: "xxs", fontStyle: "overline" }, label.text)),
2750
2752
  React.createElement(GridCol, { xs: 12, m: "auto" },
2751
- React.createElement("div", { className: styles$i.labelDate },
2753
+ React.createElement("div", { className: styles$j.labelDate },
2752
2754
  React.createElement(Text, { size: "xs", tone: "muted" }, isDate(label.date) ? (React.createElement("time", { dateTime: format(label.date, "yyyy-MM-dd") }, format(label.date, "d MMMM yyyy"))) : (React.createElement("span", null, label.date)))))),
2753
2755
  React.createElement(VerticalSpace, { size: "24" }))),
2754
2756
  React.createElement(Heading, { id: id, level: headingLevel, isWordWrap: isHeadingWordWrap, size: "xl" }, heading),
@@ -2770,10 +2772,10 @@ var FeaturePost = function (_a) {
2770
2772
  footer.appStore && (React.createElement(GridCol, { xs: 12, s: "auto" },
2771
2773
  React.createElement(AppButton, { type: "apple-app-store", screenReaderText: footer.appStore.screenReaderText, url: footer.appStore.url }))),
2772
2774
  footer.googlePlay && (React.createElement(GridCol, { xs: 12, s: "auto" },
2773
- React.createElement("div", { className: styles$i.googlePlayButtonWrapper },
2775
+ React.createElement("div", { className: styles$j.googlePlayButtonWrapper },
2774
2776
  React.createElement(AppButton, { type: "google-play", screenReaderText: footer.googlePlay.screenReaderText, url: footer.googlePlay.url })))))))))),
2775
- isMinWidthArcBreakpointM && (React.createElement("div", { className: styles$i.col },
2776
- React.createElement("div", { "data-testid": "desktop-img", className: styles$i.imgContainer },
2777
+ isMinWidthArcBreakpointM && (React.createElement("div", { className: styles$j.col },
2778
+ React.createElement("div", { "data-testid": "desktop-img", className: styles$j.imgContainer },
2777
2779
  React.createElement(MediaContent, { image: image, video: video }))))));
2778
2780
  };
2779
2781
 
@@ -2785,7 +2787,7 @@ var FeaturePost = function (_a) {
2785
2787
  const BtIconArrowRightFill =
2786
2788
  "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M2 16A14 14 0 1 0 16 2 14 14 0 0 0 2 16m16.854-4.354L23.207 16l-4.354 4.354a.5.5 0 0 1-.707-.707l3.147-3.147H9.5a.5.5 0 0 1 0-1h11.793l-3.146-3.146a.5.5 0 0 1 .707-.707'/%3e%3c/svg%3e";
2787
2789
 
2788
- var styles$h = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
2790
+ var styles$i = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
2789
2791
 
2790
2792
  var getListHeadingLevel = function (level) {
2791
2793
  var nextLevel = Math.min(parseInt(level) + 1, 6);
@@ -2795,8 +2797,8 @@ var getListHeadingLevel = function (level) {
2795
2797
  var HighlightItem = function (_a) {
2796
2798
  var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel, props = __rest(_a, ["icon", "heading", "text", "link", "isSmallIcon", "headingLevel"]);
2797
2799
  var listHeadingLevel = getListHeadingLevel(headingLevel || "2");
2798
- return (React.createElement("div", __assign({ "data-testid": "highlight-item-container", className: styles$h.highlightItem }, filterAttrs(props)),
2799
- icon && (React.createElement("div", { className: styles$h.Icon },
2800
+ return (React.createElement("div", __assign({ "data-testid": "highlight-item-container", className: styles$i.highlightItem }, filterAttrs(props)),
2801
+ icon && (React.createElement("div", { className: styles$i.Icon },
2800
2802
  React.createElement(Icon, { "data-testid": "highlight-icon", color: "brand", icon: icon, size: isSmallIcon ? 64 : 76 }))),
2801
2803
  React.createElement(VerticalSpace, { size: "16" }),
2802
2804
  React.createElement(Heading, { level: listHeadingLevel, size: "m" }, heading),
@@ -2809,7 +2811,7 @@ var HighlightItem = function (_a) {
2809
2811
  var HighlightList = function (_a) {
2810
2812
  var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel, props = __rest(_a, ["listItems", "columns", "isSmallIcon", "headingLevel"]);
2811
2813
  var id = useId();
2812
- return (React.createElement("div", __assign({ "data-testid": "highlights-list", className: classNames(styles$h.highlights, styles$h["highlights".concat(columns, "Column")]) }, filterAttrs(props)), listItems.map(function (_a, i) {
2814
+ return (React.createElement("div", __assign({ "data-testid": "highlights-list", className: classNames(styles$i.highlights, styles$i["highlights".concat(columns, "Column")]) }, filterAttrs(props)), listItems.map(function (_a, i) {
2813
2815
  var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, itemProps = __rest(_a, ["icon", "heading", "text", "link"]);
2814
2816
  return (React.createElement(HighlightItem, __assign({ key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }, itemProps)));
2815
2817
  })));
@@ -2836,7 +2838,7 @@ var Highlights = function (_a) {
2836
2838
  : undefined, iconPosition: (_d = cta.iconPosition) !== null && _d !== void 0 ? _d : "beforeText" })))));
2837
2839
  };
2838
2840
 
2839
- var styles$g = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
2841
+ var styles$h = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
2840
2842
 
2841
2843
  /**
2842
2844
  * Do not edit directly
@@ -2954,7 +2956,7 @@ var PromoListing = function (_a) {
2954
2956
  var CardComponent = CARD_COMPONENTS[card.type];
2955
2957
  return React.createElement(CardComponent, __assign({}, card, commonProps));
2956
2958
  };
2957
- return (React.createElement("div", __assign({ className: styles$g.PromoListing }, filterAttrs(props)),
2959
+ return (React.createElement("div", __assign({ className: styles$h.PromoListing }, filterAttrs(props)),
2958
2960
  overlineLabel && (React.createElement(React.Fragment, null,
2959
2961
  React.createElement(Heading, { level: overlineHeadingLevel, fontStyle: "overline" }, overlineLabel),
2960
2962
  React.createElement(VerticalSpace, { size: "12" }))),
@@ -2962,44 +2964,44 @@ var PromoListing = function (_a) {
2962
2964
  button.label && (React.createElement(React.Fragment, null,
2963
2965
  React.createElement(ButtonV2, __assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill : undefined, size: "m" })),
2964
2966
  React.createElement(VerticalSpace, { size: "40" }))),
2965
- isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles$g.promolistingCarouselWrapper },
2966
- React.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles$g.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: classNames(styles$g.cardGrid, styles$g["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
2967
- React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles$g.cardWrapper }, getCard(card)))); })))));
2967
+ isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles$h.promolistingCarouselWrapper },
2968
+ React.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles$h.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: classNames(styles$h.cardGrid, styles$h["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
2969
+ React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles$h.cardWrapper }, getCard(card)))); })))));
2968
2970
  };
2969
2971
 
2970
- var styles$f = {"blockQuote":"Quote-module_blockQuote__STj-z","quoteContent":"Quote-module_quoteContent__kWc51","quoteDefault":"Quote-module_quoteDefault__tU5db","quoteSecondary":"Quote-module_quoteSecondary__3Rk3f","quoteIcon":"Quote-module_quoteIcon__HK1TV"};
2972
+ var styles$g = {"blockQuote":"Quote-module_blockQuote__STj-z","quoteContent":"Quote-module_quoteContent__kWc51","quoteDefault":"Quote-module_quoteDefault__tU5db","quoteSecondary":"Quote-module_quoteSecondary__3Rk3f","quoteIcon":"Quote-module_quoteIcon__HK1TV"};
2971
2973
 
2972
2974
  /**
2973
2975
  * Use `Quote` where a quote or testimonial from an existing customer or stakeholder would help build trust and credibility with potential new customers. It's commonly used on product pages where customers would learn about a product or service that we offer.*/
2974
2976
  var Quote = function (_a) {
2975
2977
  var author = _a.author, _b = _a.styling, styling = _b === void 0 ? "Default" : _b, content = _a.content, citeUrl = _a.citeUrl, props = __rest(_a, ["author", "styling", "content", "citeUrl"]);
2976
2978
  return (React.createElement("div", __assign({ className: "community-component--quote", "data-testid": "quote-test" }, filterAttrs(props)),
2977
- React.createElement("blockquote", { "data-testid": "style-test", className: classNames(styles$f.blockQuote, styles$f["quote".concat(styling)]), cite: citeUrl },
2978
- React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 77", className: styles$f.quoteIcon, "aria-hidden": "true" },
2979
+ React.createElement("blockquote", { "data-testid": "style-test", className: classNames(styles$g.blockQuote, styles$g["quote".concat(styling)]), cite: citeUrl },
2980
+ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 77", className: styles$g.quoteIcon, "aria-hidden": "true" },
2979
2981
  React.createElement("path", { d: "M21.8085 76.4706C15.9574 76.4706 10.8156 74.2732 6.38298 69.8783C2.12766 65.4834 0 58.979 0 50.3651C0 40.5206 3.10284 31.1156 9.30851 22.1501C15.6915 13.1846 25.3546 5.80122 38.2979 0L44.1489 11.3387C37.4113 14.3272 31.7376 18.0189 27.1277 22.4138C22.5177 26.6329 19.6809 31.4672 18.617 36.9168C19.8582 36.741 21.0106 36.6531 22.0745 36.6531C27.7482 36.6531 32.4468 38.499 36.1702 42.1907C40.0709 45.8824 42.0213 50.7167 42.0213 56.6937C42.0213 62.4949 39.9823 67.2414 35.9043 70.9331C32.0035 74.6247 27.305 76.4706 21.8085 76.4706ZM77.6596 76.4706C71.8085 76.4706 66.6667 74.2732 62.234 69.8783C57.9787 65.4834 55.8511 58.979 55.8511 50.3651C55.8511 40.5206 58.9539 31.1156 65.1596 22.1501C71.5425 13.1846 81.2057 5.80122 94.1489 0L100 11.3387C93.2624 14.3272 87.5886 18.0189 82.9787 22.4138C78.3688 26.6329 75.5319 31.4672 74.4681 36.9168C75.7092 36.741 76.8617 36.6531 77.9255 36.6531C83.5993 36.6531 88.2979 38.499 92.0213 42.1907C95.922 45.8824 97.8723 50.7167 97.8723 56.6937C97.8723 62.4949 95.8333 67.2414 91.7553 70.9331C87.8546 74.6247 83.156 76.4706 77.6596 76.4706Z" })),
2980
- React.createElement("p", { className: styles$f.quoteContent }, content)),
2982
+ React.createElement("p", { className: styles$g.quoteContent }, content)),
2981
2983
  author && React.createElement(Author, __assign({}, author))));
2982
2984
  };
2983
2985
 
2984
- var styles$e = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summary-module_row__SKV--"};
2986
+ var styles$f = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summary-module_row__SKV--"};
2985
2987
 
2986
2988
  var Summary = function (_a) {
2987
2989
  var content = _a.content, _b = _a.noBorder, noBorder = _b === void 0 ? false : _b, _c = _a.headingLevel, headingLevel = _c === void 0 ? "3" : _c, props = __rest(_a, ["content", "noBorder", "headingLevel"]);
2988
2990
  var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
2989
2991
  return (React.createElement(Box, __assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }, filterAttrs(props)),
2990
- React.createElement("div", { className: styles$e.row }, content.map(function (_a, i) {
2992
+ React.createElement("div", { className: styles$f.row }, content.map(function (_a, i) {
2991
2993
  var heading = _a.heading, text = _a.text;
2992
2994
  return (React.createElement(React.Fragment, null,
2993
- React.createElement("div", { className: styles$e.col },
2995
+ React.createElement("div", { className: styles$f.col },
2994
2996
  React.createElement(Heading, { size: "s", level: headingLevel }, heading),
2995
2997
  React.createElement(VerticalSpace, { size: "8" }),
2996
2998
  React.createElement(Text, { size: "s" }, text)),
2997
- i !== content.length - 1 && (React.createElement("div", { className: styles$e.ruleContainer },
2999
+ i !== content.length - 1 && (React.createElement("div", { className: styles$f.ruleContainer },
2998
3000
  React.createElement(Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
2999
3001
  }))));
3000
3002
  };
3001
3003
 
3002
- var styles$d = {"list":"Statistics-module_list__BI-eQ","mutedText":"Statistics-module_mutedText__MR1JM"};
3004
+ var styles$e = {"list":"Statistics-module_list__BI-eQ","mutedText":"Statistics-module_mutedText__MR1JM"};
3003
3005
 
3004
3006
  var getLinkProps = function (link) {
3005
3007
  return link.openInNewTab
@@ -3017,7 +3019,7 @@ var Statistics = function (_a) {
3017
3019
  React.createElement(ColumnsCol, { spanM: 9 },
3018
3020
  React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
3019
3021
  React.createElement(ColumnsCol, { spanL: 9 },
3020
- React.createElement("ul", { className: styles$d.list }, statistics.map(function (_a, i) {
3022
+ React.createElement("ul", { className: styles$e.list }, statistics.map(function (_a, i) {
3021
3023
  var stat = _a.stat, copy = _a.copy, link = _a.link, source = _a.source, sourceUrl = _a.sourceUrl;
3022
3024
  return (React.createElement("li", { key: "statistic-".concat(componentId, "-").concat(i) },
3023
3025
  i !== 0 && (React.createElement(React.Fragment, null,
@@ -3027,7 +3029,7 @@ var Statistics = function (_a) {
3027
3029
  React.createElement(Columns, null,
3028
3030
  React.createElement(ColumnsCol, { spanS: 6, spanM: 8 },
3029
3031
  React.createElement(Align, { vertical: "center" },
3030
- React.createElement("div", { className: styles$d.statWrapper },
3032
+ React.createElement("div", { className: styles$e.statWrapper },
3031
3033
  React.createElement(Heading, { color: "brand", size: "xxl" }, stat),
3032
3034
  React.createElement(Hidden, { s: true, m: true, l: true, xl: true, xxl: true },
3033
3035
  React.createElement(VerticalSpace, { size: "12" }))))),
@@ -3040,26 +3042,26 @@ var Statistics = function (_a) {
3040
3042
  source && (React.createElement(React.Fragment, null,
3041
3043
  React.createElement(VerticalSpace, { size: "12" }),
3042
3044
  React.createElement(Text, { size: "xs" },
3043
- React.createElement("span", { className: styles$d.mutedText }, source)))),
3045
+ React.createElement("span", { className: styles$e.mutedText }, source)))),
3044
3046
  sourceUrl && (React.createElement(Text, { size: "xs" },
3045
- React.createElement("a", { className: styles$d.mutedText, href: sourceUrl }, sourceUrl))))))));
3047
+ React.createElement("a", { className: styles$e.mutedText, href: sourceUrl }, sourceUrl))))))));
3046
3048
  })))));
3047
3049
  };
3048
3050
 
3049
- var styles$c = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
3051
+ var styles$d = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
3050
3052
 
3051
3053
  var BannerWithTabs = function (_a) {
3052
3054
  var _b;
3053
3055
  var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, minHeight = _a.minHeight, minHeightM = _a.minHeightM, props = __rest(_a, ["tabs", "defaultValue", "heading", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
3054
3056
  return (React.createElement("div", __assign({}, filterAttrs(props)),
3055
3057
  React.createElement("div", { className: classNames((_b = {},
3056
- _b[styles$c.bannerWithTabsHeadingCentered] = alignTypography === "center",
3058
+ _b[styles$d.bannerWithTabsHeadingCentered] = alignTypography === "center",
3057
3059
  _b)) },
3058
3060
  React.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
3059
3061
  React.createElement(TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
3060
3062
  };
3061
3063
 
3062
- var styles$b = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","additionalContentContainer":"ArticleSidebar-module_additionalContentContainer__91L4n","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
3064
+ var styles$c = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","additionalContentContainer":"ArticleSidebar-module_additionalContentContainer__91L4n","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
3063
3065
 
3064
3066
  /**
3065
3067
  * Use `ArticleSidebar` to provide additional information about the article.
@@ -3115,7 +3117,7 @@ var ArticleSidebar = function (_a) {
3115
3117
  var hasBottomContent = Boolean(linkSection || topics || share);
3116
3118
  return (React.createElement("div", __assign({}, filterAttrs(props)),
3117
3119
  React.createElement("div", { className: classNames((_b = {},
3118
- _b[styles$b.textContent] = hasTopContent,
3120
+ _b[styles$c.textContent] = hasTopContent,
3119
3121
  _b)) },
3120
3122
  author && (React.createElement(React.Fragment, null,
3121
3123
  React.createElement(Author, __assign({}, author, { avatar: __assign(__assign({}, author.avatar), { size: "xl" }) })))),
@@ -3126,7 +3128,7 @@ var ArticleSidebar = function (_a) {
3126
3128
  React.createElement(Text, { size: "s" }, aboutSection.content))),
3127
3129
  additionalContent && (React.createElement(React.Fragment, null,
3128
3130
  (author || aboutSection) && React.createElement(VerticalSpace, { size: "16" }),
3129
- React.createElement("div", { className: styles$b.additionalContentContainer }, additionalContent.map(function (_a) {
3131
+ React.createElement("div", { className: styles$c.additionalContentContainer }, additionalContent.map(function (_a) {
3130
3132
  var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
3131
3133
  return (React.createElement("div", { key: "".concat(id, "-").concat(heading) },
3132
3134
  React.createElement(Heading, { level: headingLevel, size: "xxs" }, heading),
@@ -3149,7 +3151,7 @@ var ArticleSidebar = function (_a) {
3149
3151
  linkSection && React.createElement(VerticalSpace, { size: "32" }),
3150
3152
  React.createElement(Heading, { level: topics.headingLevel }, topics.heading),
3151
3153
  React.createElement(VerticalSpace, { size: "16" }),
3152
- React.createElement("div", { className: styles$b.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag, __assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })))),
3154
+ React.createElement("div", { className: styles$c.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag, __assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })))),
3153
3155
  share && (React.createElement(React.Fragment, null,
3154
3156
  (linkSection || topics) && (React.createElement("div", { "data-testid": "links-topics-content-rule" },
3155
3157
  React.createElement(VerticalSpace, { size: "32" }),
@@ -3157,16 +3159,16 @@ var ArticleSidebar = function (_a) {
3157
3159
  React.createElement(VerticalSpace, { size: "32" }))),
3158
3160
  React.createElement(Heading, { level: share.headingLevel }, share.heading),
3159
3161
  React.createElement(VerticalSpace, { size: "16" }),
3160
- React.createElement("div", { className: styles$b.shareButtonContainer }, shareButtons.map(function (_a) {
3162
+ React.createElement("div", { className: styles$c.shareButtonContainer }, shareButtons.map(function (_a) {
3161
3163
  var isButton = _a.isButton, ariaLabel = _a.ariaLabel, href = _a.href, icon = _a.icon, onClick = _a.onClick;
3162
- return (React.createElement("a", { key: "".concat(id, "-").concat(ariaLabel), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles$b.shareButton, "aria-label": ariaLabel, href: href, onClick: isButton ? onClick : undefined },
3164
+ return (React.createElement("a", { key: "".concat(id, "-").concat(ariaLabel), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles$c.shareButton, "aria-label": ariaLabel, href: href, onClick: isButton ? onClick : undefined },
3163
3165
  React.createElement(Icon, { icon: icon, size: 24 })));
3164
3166
  })))),
3165
3167
  React.createElement(Toast, null,
3166
3168
  React.createElement(ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
3167
3169
  };
3168
3170
 
3169
- var styles$a = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
3171
+ var styles$b = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
3170
3172
 
3171
3173
  /**
3172
3174
  * Use `ProductNavigation` to give a collection of product information cards collected within a grid that has optional show/hide capability
@@ -3210,7 +3212,7 @@ var ProductNavigation = function (_a) {
3210
3212
  var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
3211
3213
  return (React.createElement("div", __assign({}, filterAttrs(props)),
3212
3214
  React.createElement(SectionHeading, { isPadded: true, id: id, "data-testid": "ProductNavigation-header", heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content, image: image }),
3213
- React.createElement("ul", { className: classNames(styles$a["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (cardProps, i) {
3215
+ React.createElement("ul", { className: classNames(styles$b["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (cardProps, i) {
3214
3216
  var _a;
3215
3217
  return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
3216
3218
  React.createElement(InformationCard, __assign({}, cardProps, { minHeight: minHeight !== null && minHeight !== void 0 ? minHeight : cardProps.minHeight, headingLevel: (_a = cardProps.headingLevel) !== null && _a !== void 0 ? _a : "2" }))));
@@ -3221,7 +3223,7 @@ var ProductNavigation = function (_a) {
3221
3223
  ? "Show more"
3222
3224
  : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
3223
3225
  displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
3224
- React.createElement("div", { id: "skip-link", className: classNames(styles$a["productNavigation-skipLink"]), tabIndex: -1 },
3226
+ React.createElement("div", { id: "skip-link", className: classNames(styles$b["productNavigation-skipLink"]), tabIndex: -1 },
3225
3227
  React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
3226
3228
  React.createElement(VisuallyHidden, null,
3227
3229
  React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
@@ -3234,81 +3236,82 @@ var ProductNavigation = function (_a) {
3234
3236
  "."))))));
3235
3237
  };
3236
3238
 
3237
- var styles$9 = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
3239
+ var styles$a = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
3238
3240
 
3239
3241
  var ContentInfoWidget = function (_a) {
3240
3242
  var text = _a.text, icon = _a.icon, props = __rest(_a, ["text", "icon"]);
3241
- return (React.createElement("div", __assign({ className: styles$9.container }, filterAttrs(props)),
3242
- React.createElement("div", { className: styles$9.icon },
3243
+ return (React.createElement("div", __assign({ className: styles$a.container }, filterAttrs(props)),
3244
+ React.createElement("div", { className: styles$a.icon },
3243
3245
  React.createElement(Icon, { size: 20, icon: icon })),
3244
- React.createElement("div", { className: styles$9.text },
3246
+ React.createElement("div", { className: styles$a.text },
3245
3247
  React.createElement(Text, { size: "xs", tone: "muted" }, text))));
3246
3248
  };
3247
3249
 
3248
- var styles$8 = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
3250
+ var styles$9 = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
3249
3251
 
3250
3252
  var ActionTile = function (_a) {
3251
3253
  var _b;
3252
- var icon = _a.icon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props = __rest(_a, ["icon", "heading", "isActive", "onClick", "className"]);
3253
- var tileClasses = classNames(styles$8["action-tile"], (_b = {},
3254
- _b[styles$8["action-tile--active"]] = isActive,
3254
+ var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props = __rest(_a, ["icon", "activeIcon", "heading", "isActive", "onClick", "className"]);
3255
+ var tileClasses = classNames(styles$9["action-tile"], (_b = {},
3256
+ _b[styles$9["action-tile--active"]] = isActive,
3255
3257
  _b), className);
3258
+ var displayIcon = isActive && activeIcon ? activeIcon : icon;
3256
3259
  var content = (React.createElement(React.Fragment, null,
3257
- React.createElement("div", { className: styles$8["action-tile-content"] },
3258
- icon && (React.createElement("div", { className: styles$8["action-tile-icon"] },
3259
- React.createElement(Icon, { icon: icon, size: 48 }))),
3260
- React.createElement("h3", { className: styles$8["action-tile-heading"] }, heading)),
3261
- isActive && (React.createElement("div", { className: styles$8["action-tile-tick"] },
3260
+ React.createElement("div", { className: styles$9["action-tile-content"] },
3261
+ displayIcon && (React.createElement("div", { className: styles$9["action-tile-icon"] },
3262
+ React.createElement(Icon, { icon: displayIcon, size: 48 }))),
3263
+ React.createElement("h3", { className: styles$9["action-tile-heading"] }, heading)),
3264
+ isActive && (React.createElement("div", { className: styles$9["action-tile-tick"] },
3262
3265
  React.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
3263
3266
  return (React.createElement("div", __assign({ className: tileClasses, onClick: onClick }, filterAttrs(props)), content));
3264
3267
  };
3265
3268
 
3266
- var styles$7 = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-icon":"LinkTile-module_link-tile-icon__kTMfH","link-tile-text":"LinkTile-module_link-tile-text__0K6zf"};
3269
+ var styles$8 = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-icon":"LinkTile-module_link-tile-icon__kTMfH","link-tile-text":"LinkTile-module_link-tile-text__0K6zf"};
3267
3270
 
3268
3271
  var LinkTile = function (_a) {
3269
3272
  var text = _a.text, href = _a.href, _b = _a.showIcon, showIcon = _b === void 0 ? true : _b, className = _a.className, props = __rest(_a, ["text", "href", "showIcon", "className"]);
3270
3273
  var Component = href ? "a" : "div";
3271
3274
  var linkProps = href ? { href: href } : {};
3272
- return (React.createElement(Component, __assign({ className: classNames(styles$7["link-tile"], className) }, linkProps, filterAttrs(props)), text && (React.createElement("div", { className: styles$7["link-tile-content"] },
3273
- React.createElement("span", { className: styles$7["link-tile-text"] }, text),
3274
- showIcon && (React.createElement("span", { className: styles$7["link-tile-icon"] },
3275
+ return (React.createElement(Component, __assign({ className: classNames(styles$8["link-tile"], className) }, linkProps, props), text && (React.createElement("div", { className: styles$8["link-tile-content"] },
3276
+ React.createElement("span", { className: styles$8["link-tile-text"] }, text),
3277
+ showIcon && (React.createElement("span", { className: styles$8["link-tile-icon"] },
3275
3278
  React.createElement(Icon, { icon: BtIconArrowAltRight, size: 32 })))))));
3276
3279
  };
3277
3280
 
3278
- var styles$6 = {"quick-help":"InlineLinkGroup-module_quick-help__cMTpB","quick-help-label":"InlineLinkGroup-module_quick-help-label__VLKen","quick-help-container":"InlineLinkGroup-module_quick-help-container__IStTk","quick-help-item":"InlineLinkGroup-module_quick-help-item__QTIMl","quick-help-separator":"InlineLinkGroup-module_quick-help-separator__qJE0q","quick-help-separator-line":"InlineLinkGroup-module_quick-help-separator-line__VbCVI"};
3281
+ var styles$7 = {"quick-help":"InlineLinkGroup-module_quick-help__cMTpB","quick-help-label":"InlineLinkGroup-module_quick-help-label__VLKen","quick-help-container":"InlineLinkGroup-module_quick-help-container__IStTk","quick-help-item":"InlineLinkGroup-module_quick-help-item__QTIMl","quick-help-separator":"InlineLinkGroup-module_quick-help-separator__qJE0q","quick-help-separator-line":"InlineLinkGroup-module_quick-help-separator-line__VbCVI"};
3279
3282
 
3280
3283
  var InlineLinkGroup = function (_a) {
3281
3284
  var label = _a.label, links = _a.links, props = __rest(_a, ["label", "links"]);
3282
- return (React.createElement("div", __assign({ className: styles$6["quick-help"] }, filterAttrs(props)),
3283
- label && (React.createElement("div", { className: styles$6["quick-help-label"] },
3285
+ return (React.createElement("div", __assign({ className: styles$7["quick-help"] }, filterAttrs(props)),
3286
+ label && (React.createElement("div", { className: styles$7["quick-help-label"] },
3284
3287
  React.createElement(Heading, { size: "xxs", fontStyle: "overline" }, label))),
3285
- React.createElement("ul", { className: styles$6["quick-help-container"] }, links.map(function (link, index) { return (React.createElement(React.Fragment, { key: index },
3286
- React.createElement("li", { className: styles$6["quick-help-item"] },
3288
+ React.createElement("ul", { className: styles$7["quick-help-container"] }, links.map(function (link, index) { return (React.createElement(React.Fragment, { key: index },
3289
+ React.createElement("li", { className: styles$7["quick-help-item"] },
3287
3290
  React.createElement(Link, { href: link.href, onClick: link.onClick, "aria-label": link.ariaLabel }, link.label),
3288
3291
  React.createElement(Icon, { icon: BtIconArrowAltRight, size: 24, color: "brand" })),
3289
- index < links.length - 1 && (React.createElement("li", { className: styles$6["quick-help-separator"], "aria-hidden": "true" },
3290
- React.createElement("div", { className: styles$6["quick-help-separator-line"] }))))); }))));
3292
+ index < links.length - 1 && (React.createElement("li", { className: styles$7["quick-help-separator"], "aria-hidden": "true" },
3293
+ React.createElement("div", { className: styles$7["quick-help-separator-line"] }))))); }))));
3291
3294
  };
3292
3295
 
3293
- var styles$5 = {"thumbnailSignpost":"ThumbnailSignpost-module_thumbnailSignpost__Yf26b","isLink":"ThumbnailSignpost-module_isLink__FucdG","content":"ThumbnailSignpost-module_content__XG9oj","heading":"ThumbnailSignpost-module_heading__mTrpJ","image":"ThumbnailSignpost-module_image__syGZj","thumbnailButton":"ThumbnailSignpost-module_thumbnailButton__Nn-NR","buttonIcon":"ThumbnailSignpost-module_buttonIcon__ydmza"};
3296
+ var styles$6 = {"thumbnailSignpost":"ThumbnailSignpost-module_thumbnailSignpost__Yf26b","isLink":"ThumbnailSignpost-module_isLink__FucdG","content":"ThumbnailSignpost-module_content__XG9oj","heading":"ThumbnailSignpost-module_heading__mTrpJ","image":"ThumbnailSignpost-module_image__syGZj","thumbnailButton":"ThumbnailSignpost-module_thumbnailButton__Nn-NR","buttonIcon":"ThumbnailSignpost-module_buttonIcon__ydmza"};
3294
3297
 
3295
3298
  /** Use `ThumbnailSignpost` to highlight key information or navigation points with an accompanying thumbnail image or icon. */
3296
3299
  var ThumbnailSignpost = function (_a) {
3297
3300
  var _b;
3298
3301
  var text = _a.text, title = _a.title, img = _a.img, onClick = _a.onClick, buttonLabel = _a.buttonLabel, props = __rest(_a, ["text", "title", "img", "onClick", "buttonLabel"]);
3299
- return (React.createElement("div", __assign({ className: classNames(styles$5.thumbnailSignpost, (_b = {},
3300
- _b[styles$5.isLink] = onClick,
3302
+ return (React.createElement("div", __assign({ className: classNames(styles$6.thumbnailSignpost, (_b = {},
3303
+ _b[styles$6.isLink] = onClick,
3301
3304
  _b)), onClick: onClick, "aria-label": title, tabIndex: onClick ? 0 : -1 }, (onClick && { role: "button" }), filterAttrs(props)),
3302
- img && (React.createElement("div", { className: styles$5.image },
3305
+ img && (React.createElement("div", { className: styles$6.image },
3303
3306
  React.createElement(Image$2, __assign({}, img)))),
3304
- React.createElement("div", { className: styles$5.content },
3305
- React.createElement("span", { className: styles$5.heading }, title),
3307
+ React.createElement("div", { className: styles$6.content },
3308
+ React.createElement("span", { className: styles$6.heading }, title),
3306
3309
  React.createElement(VerticalSpace, { size: "8" }),
3307
3310
  text,
3308
3311
  buttonLabel && onClick && (React.createElement(React.Fragment, null,
3309
3312
  React.createElement(VerticalSpace, { size: "8" }),
3310
- React.createElement("div", { className: styles$5.thumbnailButton },
3311
- React.createElement("span", { className: styles$5.buttonIcon, role: "img", style: {
3313
+ React.createElement("div", { className: styles$6.thumbnailButton },
3314
+ React.createElement("span", { className: styles$6.buttonIcon, role: "img", style: {
3312
3315
  height: 24,
3313
3316
  width: 24,
3314
3317
  maskImage: "url(\"".concat(BtIconArrowRightFill, "\")"),
@@ -3317,29 +3320,29 @@ var ThumbnailSignpost = function (_a) {
3317
3320
  React.createElement(Heading, { size: "xxs" }, buttonLabel)))))));
3318
3321
  };
3319
3322
 
3320
- var styles$4 = {"PromoListingThumbnailSignpost":"PromoListingThumbnailSignpost-module_PromoListingThumbnailSignpost__0HTPV","list":"PromoListingThumbnailSignpost-module_list__E9l0E"};
3323
+ var styles$5 = {"PromoListingThumbnailSignpost":"PromoListingThumbnailSignpost-module_PromoListingThumbnailSignpost__0HTPV","list":"PromoListingThumbnailSignpost-module_list__E9l0E"};
3321
3324
 
3322
3325
  /**
3323
3326
  * Use `PromoListingThumbnailSignpost` to give supporting information about a page or proposition in the form of the ThumbnailSignposts components.
3324
3327
  */
3325
3328
  var PromoListingThumbnailSignpost = function (_a) {
3326
3329
  var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, isHeadingWordWrap = _a.isHeadingWordWrap, props = __rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList", "isHeadingWordWrap"]);
3327
- return (React.createElement("div", __assign({ className: styles$4.PromoListingThumbnailSignpost }, filterAttrs(props)),
3330
+ return (React.createElement("div", __assign({ className: styles$5.PromoListingThumbnailSignpost }, filterAttrs(props)),
3328
3331
  React.createElement(SectionHeading, { isPadded: isPadded, "data-testid": "PromoListingThumbnailSignpost-header", heading: heading, headingLevel: headingLevel, content: content, isHeadingWordWrap: isHeadingWordWrap }),
3329
- React.createElement("ul", { className: styles$4.list }, thumbnailList.map(function (thumbnail, index) { return (React.createElement("li", { key: index },
3332
+ React.createElement("ul", { className: styles$5.list }, thumbnailList.map(function (thumbnail, index) { return (React.createElement("li", { key: index },
3330
3333
  React.createElement(ThumbnailSignpost, __assign({}, thumbnail)))); }))));
3331
3334
  };
3332
3335
 
3333
- var styles$3 = {"playIconContainer":"VideoCardPlayIcon-module_playIconContainer__ZqZP3","playIconContainer--s":"VideoCardPlayIcon-module_playIconContainer--s__ETbOZ","playIconContainer--l":"VideoCardPlayIcon-module_playIconContainer--l__OGccg","playIcon":"VideoCardPlayIcon-module_playIcon__kzito"};
3336
+ var styles$4 = {"playIconContainer":"VideoCardPlayIcon-module_playIconContainer__ZqZP3","playIconContainer--s":"VideoCardPlayIcon-module_playIconContainer--s__ETbOZ","playIconContainer--l":"VideoCardPlayIcon-module_playIconContainer--l__OGccg","playIcon":"VideoCardPlayIcon-module_playIcon__kzito"};
3334
3337
 
3335
3338
  var VideoCardPlayIcon = function (_a) {
3336
3339
  var _b = _a.size, size = _b === void 0 ? "l" : _b;
3337
- return (React.createElement("div", { className: classNames(styles$3.playIconContainer, styles$3["playIconContainer--".concat(size)]) },
3338
- React.createElement("div", { className: styles$3.playIcon },
3340
+ return (React.createElement("div", { className: classNames(styles$4.playIconContainer, styles$4["playIconContainer--".concat(size)]) },
3341
+ React.createElement("div", { className: styles$4.playIcon },
3339
3342
  React.createElement(Icon, { icon: ArcIconPlay }))));
3340
3343
  };
3341
3344
 
3342
- var styles$2 = {"container":"VideoCardPlayer-module_container__G-Uta","player":"VideoCardPlayer-module_player__BgueT","playerWrapper":"VideoCardPlayer-module_playerWrapper__UcH1q","playerWrapper--landscape":"VideoCardPlayer-module_playerWrapper--landscape__shKv-","playerWrapper--portrait":"VideoCardPlayer-module_playerWrapper--portrait__7bKAr"};
3345
+ var styles$3 = {"container":"VideoCardPlayer-module_container__G-Uta","player":"VideoCardPlayer-module_player__BgueT","playerWrapper":"VideoCardPlayer-module_playerWrapper__UcH1q","playerWrapper--landscape":"VideoCardPlayer-module_playerWrapper--landscape__shKv-","playerWrapper--portrait":"VideoCardPlayer-module_playerWrapper--portrait__7bKAr"};
3343
3346
 
3344
3347
  var VideoCardPlayer = function (_a) {
3345
3348
  var thumbnail = _a.thumbnail, playIconSize = _a.playIconSize, orientation = _a.orientation, children = _a.children, player = _a.player, props = __rest(_a, ["thumbnail", "playIconSize", "orientation", "children", "player"]);
@@ -3347,21 +3350,21 @@ var VideoCardPlayer = function (_a) {
3347
3350
  useEffect(function () {
3348
3351
  setIsClient(true);
3349
3352
  }, []);
3350
- var playerProps = __assign(__assign({}, player), { light: thumbnail, playIcon: React.createElement(VideoCardPlayIcon, { size: playIconSize }), muted: !thumbnail, playing: true, controls: true, className: styles$2.player, width: "100%", height: "100%" });
3351
- return (React.createElement("div", __assign({ className: styles$2.container }, filterAttrs(props)),
3352
- React.createElement("div", { "data-testid": "arc-video-card", className: classNames(styles$2.playerWrapper, styles$2["playerWrapper--".concat(orientation)]) }, isClient && React.createElement(ReactPlayer, __assign({}, playerProps))),
3353
+ var playerProps = __assign(__assign({}, player), { light: thumbnail, playIcon: React.createElement(VideoCardPlayIcon, { size: playIconSize }), muted: !thumbnail, playing: true, controls: true, className: styles$3.player, width: "100%", height: "100%" });
3354
+ return (React.createElement("div", __assign({ className: styles$3.container }, filterAttrs(props)),
3355
+ React.createElement("div", { "data-testid": "arc-video-card", className: classNames(styles$3.playerWrapper, styles$3["playerWrapper--".concat(orientation)]) }, isClient && React.createElement(ReactPlayer, __assign({}, playerProps))),
3353
3356
  children));
3354
3357
  };
3355
3358
 
3356
- var styles$1 = {"thumbnail":"VideoCardThumbnail-module_thumbnail__Yamk0","thumbnail--landscape":"VideoCardThumbnail-module_thumbnail--landscape__FmnLk","thumbnail--portrait":"VideoCardThumbnail-module_thumbnail--portrait__FZS93","thumbnailContent":"VideoCardThumbnail-module_thumbnailContent__cHham"};
3359
+ var styles$2 = {"thumbnail":"VideoCardThumbnail-module_thumbnail__Yamk0","thumbnail--landscape":"VideoCardThumbnail-module_thumbnail--landscape__FmnLk","thumbnail--portrait":"VideoCardThumbnail-module_thumbnail--portrait__FZS93","thumbnailContent":"VideoCardThumbnail-module_thumbnailContent__cHham"};
3357
3360
 
3358
3361
  var VideoCardThumbnail = function (_a) {
3359
3362
  var orientation = _a.orientation, contentVisibility = _a.contentVisibility, src = _a.src, children = _a.children;
3360
- var content = React.createElement("div", { className: styles$1.thumbnailContent }, children);
3361
- return (React.createElement("div", { className: classNames(styles$1.thumbnail, styles$1["thumbnail--".concat(orientation)]), style: { backgroundImage: "url(".concat(src, ")") } }, contentVisibility ? (React.createElement(Visible, __assign({}, contentVisibility), content)) : (content)));
3363
+ var content = React.createElement("div", { className: styles$2.thumbnailContent }, children);
3364
+ return (React.createElement("div", { className: classNames(styles$2.thumbnail, styles$2["thumbnail--".concat(orientation)]), style: { backgroundImage: "url(".concat(src, ")") } }, contentVisibility ? (React.createElement(Visible, __assign({}, contentVisibility), content)) : (content)));
3362
3365
  };
3363
3366
 
3364
- var styles = {"mainText--lightBackground":"VideoHeroCardContent-module_mainText--lightBackground__nGl6W","statContainer--lightBackground":"VideoHeroCardContent-module_statContainer--lightBackground__7hXAf","statContainer--darkBackground":"VideoHeroCardContent-module_statContainer--darkBackground__X3-r2","mainText--darkBackground":"VideoHeroCardContent-module_mainText--darkBackground__Pfizt","statContainer":"VideoHeroCardContent-module_statContainer__q21g9","stat":"VideoHeroCardContent-module_stat__iIcoq"};
3367
+ var styles$1 = {"mainText--lightBackground":"VideoHeroCardContent-module_mainText--lightBackground__nGl6W","statContainer--lightBackground":"VideoHeroCardContent-module_statContainer--lightBackground__7hXAf","statContainer--darkBackground":"VideoHeroCardContent-module_statContainer--darkBackground__X3-r2","mainText--darkBackground":"VideoHeroCardContent-module_mainText--darkBackground__Pfizt","statContainer":"VideoHeroCardContent-module_statContainer__q21g9","stat":"VideoHeroCardContent-module_stat__iIcoq"};
3365
3368
 
3366
3369
  var VideoHeroCardContent = function (_a) {
3367
3370
  var title = _a.title, label = _a.label, description = _a.description, videoDate = _a.videoDate, duration = _a.duration, background = _a.background, subtitleAvailabilityText = _a.subtitleAvailabilityText;
@@ -3375,8 +3378,8 @@ var VideoHeroCardContent = function (_a) {
3375
3378
  },
3376
3379
  ];
3377
3380
  var hasMeta = metaItems.some(function (meta) { return Boolean(meta.text); });
3378
- return (React.createElement("div", { className: styles["".concat(background, "Background")] },
3379
- React.createElement("div", { className: classNames(styles.mainText, styles["mainText--".concat(background, "Background")]) },
3381
+ return (React.createElement("div", { className: styles$1["".concat(background, "Background")] },
3382
+ React.createElement("div", { className: classNames(styles$1.mainText, styles$1["mainText--".concat(background, "Background")]) },
3380
3383
  React.createElement(Heading, { fontStyle: "overline" }, label),
3381
3384
  React.createElement(VerticalSpace, { size: "8", sizeM: "4" }),
3382
3385
  React.createElement(Heading, { level: "3", isWordWrap: false, size: "xl" }, title),
@@ -3384,8 +3387,8 @@ var VideoHeroCardContent = function (_a) {
3384
3387
  React.createElement(Text, null, description)),
3385
3388
  hasMeta && (React.createElement(React.Fragment, null,
3386
3389
  React.createElement(VerticalSpace, { size: "32", sizeS: "16" }),
3387
- React.createElement("div", { className: classNames(styles.statContainer, styles["statContainer--".concat(background, "Background")]) }, metaItems.map(function (meta, i) {
3388
- return meta.text && (React.createElement("div", { key: "".concat(id, "-stat-").concat(i), className: styles.stat },
3390
+ React.createElement("div", { className: classNames(styles$1.statContainer, styles$1["statContainer--".concat(background, "Background")]) }, metaItems.map(function (meta, i) {
3391
+ return meta.text && (React.createElement("div", { key: "".concat(id, "-stat-").concat(i), className: styles$1.stat },
3389
3392
  React.createElement(Icon, { icon: meta.icon, size: 20 }),
3390
3393
  React.createElement(Text, { size: "xs" }, meta.text)));
3391
3394
  }))))));
@@ -3408,5 +3411,73 @@ var VideoPortraitCard = function (_a) {
3408
3411
  React.createElement(Heading, { level: "3", isWordWrap: false, size: "xs" }, thumbnail.title)))), orientation: "portrait", player: player, playIconSize: "s" }, props)));
3409
3412
  };
3410
3413
 
3411
- export { Accordion, ActionTile, ArticleSidebar, Author, BannerWithTabs, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
3414
+ var styles = {"contentWrapper":"BusinessSegmentSwitcher-module_contentWrapper__YKEjS","cardWrapper":"BusinessSegmentSwitcher-module_cardWrapper__eGDJ-","cardCol":"BusinessSegmentSwitcher-module_cardCol__jsySH","businessSegmentSwitcherDesktop":"BusinessSegmentSwitcher-module_businessSegmentSwitcherDesktop__oBvzS","businessSegmentSwitcher":"BusinessSegmentSwitcher-module_businessSegmentSwitcher__Sae5K","desktopCarousel":"BusinessSegmentSwitcher-module_desktopCarousel__xW3HN","businessSegmentSwitcherMobile":"BusinessSegmentSwitcher-module_businessSegmentSwitcherMobile__PSFyi"};
3415
+
3416
+ /**
3417
+ * Renders either an InformationCard or a contained MediaCard based on the card type.
3418
+ */
3419
+ var renderCard = function (card) {
3420
+ if (card.type === "information") {
3421
+ return React.createElement(InformationCard, __assign({}, card));
3422
+ }
3423
+ if (card.type === "media") {
3424
+ return React.createElement(MediaCard, __assign({}, card, { isContained: true }));
3425
+ }
3426
+ return null;
3427
+ };
3428
+
3429
+ /**
3430
+ * Renders a responsive carousel containing the bento grid cards for mobile and tablet viewports.
3431
+ */
3432
+ var renderBusinessSegmentSwitcherCarousel = function (_a) {
3433
+ var content = _a.content, label = _a.label;
3434
+ return (React.createElement(Carousel, { overflow: "visible", behavior: "adaptive", responsive: {
3435
+ xs: { itemsPerSlide: 1 },
3436
+ s: { itemsPerSlide: 2 },
3437
+ } },
3438
+ React.createElement("div", { className: styles.cardWrapper }, renderCard(content.card1)),
3439
+ React.createElement("div", { className: styles.cardWrapper }, renderCard(content.card2)),
3440
+ content.card3 && (React.createElement("div", { className: styles.cardWrapper },
3441
+ React.createElement(InformationCard, __assign({}, content.card3)))),
3442
+ React.createElement("div", { className: styles.cardWrapper },
3443
+ React.createElement(TypographyCard, { heading: "All ".concat(label, " solutions"), label: content.card4.label, url: content.card4.url }))));
3444
+ };
3445
+
3446
+ /**
3447
+ * BusinessSegmentSwitcher displays tabbed content with a bento grid layout made up of 3 - 4 cards.
3448
+ * Renders as tabs on desktop and a dropdown with carousel on mobile (below 1024px).
3449
+ */
3450
+ var BusinessSegmentSwitcher = function (_a) {
3451
+ var _b, _c;
3452
+ var tabs = _a.tabs, defaultValue = _a.defaultValue, props = __rest(_a, ["tabs", "defaultValue"]);
3453
+ var initialTab = (_c = defaultValue !== null && defaultValue !== void 0 ? defaultValue : (_b = tabs[0]) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : "";
3454
+ var _d = useState(initialTab), selectedTab = _d[0], setSelectedTab = _d[1];
3455
+ return (React.createElement("div", __assign({ className: styles.businessSegmentSwitcher }, filterAttrs(props)),
3456
+ React.createElement("div", { className: styles.businessSegmentSwitcherDesktop },
3457
+ React.createElement(ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
3458
+ React.createElement(ContentSwitcherList, { isInset: true }, tabs.map(function (_a, index) {
3459
+ var label = _a.label, value = _a.value;
3460
+ return (React.createElement(ContentSwitcherTab, { label: label, value: value, key: "".concat(index, "-").concat(value) }));
3461
+ })),
3462
+ tabs.map(function (_a, index) {
3463
+ var value = _a.value, content = _a.content, label = _a.label;
3464
+ return (React.createElement(ContentSwitcherContent, { value: value, key: "".concat(index, "-").concat(value), hidden: value !== selectedTab },
3465
+ React.createElement("div", { className: styles.contentWrapper },
3466
+ React.createElement("div", { className: styles.desktopCarousel }, renderBusinessSegmentSwitcherCarousel({ content: content, label: label })),
3467
+ renderCard(content.card1),
3468
+ renderCard(content.card2),
3469
+ React.createElement("div", { className: styles.cardCol },
3470
+ content.card3 && React.createElement(InformationCard, __assign({}, content.card3)),
3471
+ React.createElement("div", null,
3472
+ React.createElement(TypographyCard, { heading: "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url }))))));
3473
+ }))),
3474
+ React.createElement("div", { className: styles.businessSegmentSwitcherMobile },
3475
+ React.createElement(ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
3476
+ var value = _a.value, content = _a.content, label = _a.label;
3477
+ return (React.createElement(ContentSwitcherDropdownContent, { value: value, key: "".concat(index, "-").concat(value) },
3478
+ React.createElement("div", { className: styles.contentWrapper }, renderBusinessSegmentSwitcherCarousel({ content: content, label: label }))));
3479
+ })))));
3480
+ };
3481
+
3482
+ export { Accordion, ActionTile, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
3412
3483
  //# sourceMappingURL=index.mjs.map