@royaloperahouse/harmonic 0.11.0-m → 0.11.0-o

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.
@@ -334,12 +334,14 @@ var NavigationText = function NavigationText(_ref8) {
334
334
  var children = _ref8.children,
335
335
  _ref8$color = _ref8.color,
336
336
  color = _ref8$color === void 0 ? 'inherit' : _ref8$color,
337
+ _ref8$tag = _ref8.tag,
338
+ Tag = _ref8$tag === void 0 ? 'p' : _ref8$tag,
337
339
  className = _ref8.className;
338
340
  var classNames = createClassNames('navigationtext', {
339
341
  color: color,
340
342
  className: className
341
343
  }, typographyStyles);
342
- return /*#__PURE__*/React__default.createElement("p", {
344
+ return /*#__PURE__*/React__default.createElement(Tag, {
343
345
  className: classNames
344
346
  }, children);
345
347
  };
@@ -2807,7 +2809,9 @@ var TertiaryButton = function TertiaryButton(_ref) {
2807
2809
  if (rest != null && rest.disabled) return;
2808
2810
  rest.onClick == null || rest.onClick(e);
2809
2811
  }, [rest.disabled, rest.onClick]);
2810
- return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({}, rest, {
2812
+ return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({
2813
+ "data-testid": "tertiary-button"
2814
+ }, rest, {
2811
2815
  className: className,
2812
2816
  onClick: handleClick
2813
2817
  }), /*#__PURE__*/React__default.createElement(ButtonText, {
@@ -3600,17 +3604,18 @@ var DEFAULT_SPONSORSHIP_IFRAME = 'https://static.roh.org.uk/rolex/v4/rolex.html?
3600
3604
  var DEFAULT_SPONSORSHIP_TITLE = 'rolex';
3601
3605
  var DEFAULT_DATA_ROH = 'ImgAdvert';
3602
3606
 
3603
- /* eslint-disable jsx-a11y/iframe-has-title */
3607
+ var _excluded$7 = ["src", "dataRoh", "title"];
3604
3608
  var Sponsorship = function Sponsorship(_ref) {
3605
3609
  var _ref$src = _ref.src,
3606
3610
  src = _ref$src === void 0 ? DEFAULT_SPONSORSHIP_IFRAME : _ref$src,
3607
3611
  _ref$dataRoh = _ref.dataRoh,
3608
3612
  dataRoh = _ref$dataRoh === void 0 ? DEFAULT_DATA_ROH : _ref$dataRoh,
3609
3613
  _ref$title = _ref.title,
3610
- title = _ref$title === void 0 ? DEFAULT_SPONSORSHIP_TITLE : _ref$title;
3614
+ title = _ref$title === void 0 ? DEFAULT_SPONSORSHIP_TITLE : _ref$title,
3615
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
3611
3616
  var linkText = title + " sponsorship";
3612
3617
  var linkDescription = linkText + " - visit " + title + "'s website (opens in new tab)";
3613
- return /*#__PURE__*/React__default.createElement(SponsorshipWrapper, null, /*#__PURE__*/React__default.createElement(SponsorshipLink, {
3618
+ return /*#__PURE__*/React__default.createElement(SponsorshipWrapper, Object.assign({}, rest), /*#__PURE__*/React__default.createElement(SponsorshipLink, {
3614
3619
  href: "https://www.rolex.com",
3615
3620
  target: "_blank",
3616
3621
  rel: "noopener noreferrer",
@@ -3752,7 +3757,7 @@ var TabLinkWrapper = /*#__PURE__*/styled.a(_templateObject$l || (_templateObject
3752
3757
  });
3753
3758
  var TabLinkIconWrapper = /*#__PURE__*/styled.span(_templateObject2$d || (_templateObject2$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-right: var(--button-icon-margin);\n"])));
3754
3759
 
3755
- var _excluded$7 = ["children", "iconName", "iconDirection", "color", "hoverColor", "className"];
3760
+ var _excluded$8 = ["children", "iconName", "iconDirection", "color", "hoverColor", "className"];
3756
3761
  var TabLink = function TabLink(_ref) {
3757
3762
  var children = _ref.children,
3758
3763
  iconName = _ref.iconName,
@@ -3762,7 +3767,7 @@ var TabLink = function TabLink(_ref) {
3762
3767
  _ref$hoverColor = _ref.hoverColor,
3763
3768
  hoverColor = _ref$hoverColor === void 0 ? ThemeColor['primary-red'] : _ref$hoverColor,
3764
3769
  className = _ref.className,
3765
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
3770
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
3766
3771
  return /*#__PURE__*/React__default.createElement(TabLinkWrapper, Object.assign({
3767
3772
  color: color,
3768
3773
  iconName: iconName,
@@ -3812,7 +3817,7 @@ var TextAreaError = /*#__PURE__*/styled.div(_templateObject4$4 || (_templateObje
3812
3817
  return darkMode ? 'var(--base-color-white)' : 'var(--base-color-errorstate)';
3813
3818
  });
3814
3819
 
3815
- var _excluded$8 = ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"];
3820
+ var _excluded$9 = ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"];
3816
3821
  /**
3817
3822
  * An HTML textarea component for Harmonic.
3818
3823
  *
@@ -3873,7 +3878,7 @@ var TextArea = function TextArea(_ref) {
3873
3878
  maxLength = _ref$maxLength === void 0 ? 950 : _ref$maxLength,
3874
3879
  _ref$tabIndex = _ref.tabIndex,
3875
3880
  tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
3876
- textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
3881
+ textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
3877
3882
  return /*#__PURE__*/React__default.createElement(GridItem, {
3878
3883
  columnStartDesktop: columnStartDesktop,
3879
3884
  columnSpanDesktop: columnSpanDesktop,
@@ -3933,7 +3938,7 @@ var ErrorLabel$1 = /*#__PURE__*/styled.div(_templateObject6$1 || (_templateObjec
3933
3938
  });
3934
3939
  var BodyCopyHarmonicWithWrapper = /*#__PURE__*/styled(BodyCopyHarmonic)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-state-error);\n"])));
3935
3940
 
3936
- var _excluded$9 = ["label", "type", "error", "darkMode", "width"];
3941
+ var _excluded$a = ["label", "type", "error", "darkMode", "width"];
3937
3942
  /**
3938
3943
  * A text field component, that wraps around the native `<input />` element
3939
3944
  * and adds some extra states and information around it (i.e. a text and an error labels,
@@ -3980,7 +3985,7 @@ var TextFieldComponent = function TextFieldComponent(_ref, ref) {
3980
3985
  _ref$darkMode = _ref.darkMode,
3981
3986
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
3982
3987
  width = _ref.width,
3983
- inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
3988
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
3984
3989
  var _useState = useState(false),
3985
3990
  showPassword = _useState[0],
3986
3991
  setShowPassword = _useState[1];
@@ -4078,7 +4083,7 @@ var ErrorLabel$2 = /*#__PURE__*/styled.p(_templateObject5$3 || (_templateObject5
4078
4083
  return darkMode ? theme.colors.white : theme.colors.error;
4079
4084
  });
4080
4085
 
4081
- var _excluded$a = ["label", "error", "darkMode", "width"];
4086
+ var _excluded$b = ["label", "error", "darkMode", "width"];
4082
4087
  /**
4083
4088
  * @deprecated
4084
4089
  *
@@ -4092,7 +4097,7 @@ var TextFieldLegacy = function TextFieldLegacy(_ref) {
4092
4097
  _ref$darkMode = _ref.darkMode,
4093
4098
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
4094
4099
  width = _ref.width,
4095
- inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
4100
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
4096
4101
  return /*#__PURE__*/React__default.createElement(TextFieldContainer, null, /*#__PURE__*/React__default.createElement("label", {
4097
4102
  htmlFor: "text-field-input"
4098
4103
  }, /*#__PURE__*/React__default.createElement(TextLabel$2, {
@@ -4121,13 +4126,13 @@ var TextLinkWrapper = /*#__PURE__*/styled.a(_templateObject$p || (_templateObjec
4121
4126
  }, devices.mobile);
4122
4127
  var TextLinkIconWrapper = /*#__PURE__*/styled.span(_templateObject2$h || (_templateObject2$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n"])));
4123
4128
 
4124
- var _excluded$b = ["children", "iconName", "iconDirection", "textColor"];
4129
+ var _excluded$c = ["children", "iconName", "iconDirection", "textColor"];
4125
4130
  var TextLink = function TextLink(_ref) {
4126
4131
  var children = _ref.children,
4127
4132
  iconName = _ref.iconName,
4128
4133
  iconDirection = _ref.iconDirection,
4129
4134
  textColor = _ref.textColor,
4130
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$b);
4135
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$c);
4131
4136
  var truncatedString = children.substring(0, 30);
4132
4137
  return /*#__PURE__*/React__default.createElement(TextLinkWrapper, Object.assign({
4133
4138
  color: textColor,
@@ -4321,7 +4326,7 @@ var ErrorLabel$3 = /*#__PURE__*/styled.div(_templateObject6$2 || (_templateObjec
4321
4326
  return 'var(--base-color-errorstate)';
4322
4327
  });
4323
4328
 
4324
- var _excluded$c = ["children", "disabled", "error", "darkMode", "blackBox"];
4329
+ var _excluded$d = ["children", "disabled", "error", "darkMode", "blackBox"];
4325
4330
  /**
4326
4331
  * A Tickbox component, that wraps around the native `<input type="checkbox"/>` element
4327
4332
  * and adds some extra styling, states and information around it (i.e. an error label,
@@ -4350,7 +4355,7 @@ var Tickbox2Component = function Tickbox2Component(_ref, ref) {
4350
4355
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
4351
4356
  _ref$blackBox = _ref.blackBox,
4352
4357
  blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
4353
- inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
4358
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4354
4359
  return /*#__PURE__*/React__default.createElement(Container$2, null, /*#__PURE__*/React__default.createElement(TickboxLabel$2, {
4355
4360
  darkMode: darkMode,
4356
4361
  blackBox: blackBox
@@ -6138,7 +6143,7 @@ var HarmonicThemeProvider = function HarmonicThemeProvider(_ref) {
6138
6143
  }, themedChildren.length === 1 ? themedChildren[0] : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, themedChildren));
6139
6144
  };
6140
6145
 
6141
- var _excluded$d = ["id", "text"];
6146
+ var _excluded$e = ["id", "text"];
6142
6147
  var AnchorTabBar = function AnchorTabBar(_ref) {
6143
6148
  var tabs = _ref.tabs,
6144
6149
  onTabClick = _ref.onTabClick,
@@ -6168,12 +6173,27 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6168
6173
  var isSelectedItem = function isSelectedItem(id) {
6169
6174
  return id === selectedItem;
6170
6175
  };
6171
- var onClicktab = function onClicktab(e, id) {
6176
+ var onClickTab = function onClickTab(e, id) {
6177
+ e.preventDefault();
6172
6178
  if (onTabClick) {
6173
6179
  onTabClick(e, id);
6174
6180
  }
6175
6181
  setSelectedItem(id);
6176
6182
  };
6183
+ useEffect(function () {
6184
+ if (!selectedItem) return;
6185
+ var targetSectionElement = document.getElementById(selectedItem);
6186
+ if (targetSectionElement) {
6187
+ targetSectionElement.scrollIntoView({
6188
+ behavior: 'auto',
6189
+ block: 'start'
6190
+ });
6191
+ }
6192
+ var clickedTab = document.getElementById("tablink-" + selectedItem);
6193
+ if (clickedTab) {
6194
+ clickedTab.focus();
6195
+ }
6196
+ }, [selectedItem]);
6177
6197
  var getScrollWidth = function getScrollWidth() {
6178
6198
  var width = 0;
6179
6199
  var selectedItemIndex = tabs.findIndex(function (el) {
@@ -6345,7 +6365,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6345
6365
  }, tabs.map(function (_ref4) {
6346
6366
  var id = _ref4.id,
6347
6367
  text = _ref4.text,
6348
- rest = _objectWithoutPropertiesLoose(_ref4, _excluded$d);
6368
+ rest = _objectWithoutPropertiesLoose(_ref4, _excluded$e);
6349
6369
  return /*#__PURE__*/React__default.createElement("li", {
6350
6370
  key: id
6351
6371
  }, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
@@ -6353,7 +6373,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6353
6373
  className: "anchor-tab-bar-tablink",
6354
6374
  id: "tablink-" + id,
6355
6375
  onClick: function onClick(e) {
6356
- return onClicktab(e, id);
6376
+ return onClickTab(e, id);
6357
6377
  },
6358
6378
  tabIndex: 0,
6359
6379
  hoverColor: theme === ThemeType.Core ? ThemeColor['primary-red'] : ThemeColor['primary-black']
@@ -6407,7 +6427,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$4
6407
6427
  var MessageWrapper = /*#__PURE__*/styled.div(_templateObject9$3 || (_templateObject9$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-right: var(--grid-outer-margin);\n height: var(--button-height);\n\n h6 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n margin-right: var(--grid-margin);\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), devices.tablet, devices.mobile);
6408
6428
  var MessageWrapperMobile = /*#__PURE__*/styled.div(_templateObject0$3 || (_templateObject0$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h6 {\n margin: 0;\n padding: 0;\n }\n display: none;\n\n @media ", " {\n & {\n display: flex;\n align-items: center;\n margin-left: var(--grid-margin);\n padding: 12px 0;\n }\n }\n"])), devices.mobile);
6409
6429
 
6410
- var _excluded$e = ["text"],
6430
+ var _excluded$f = ["text"],
6411
6431
  _excluded2$1 = ["text"];
6412
6432
  var TitleWithCTA = function TitleWithCTA(_ref) {
6413
6433
  var title = _ref.title,
@@ -6417,7 +6437,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
6417
6437
  message = _ref.message;
6418
6438
  var _ref2 = (links == null ? void 0 : links[0]) || {},
6419
6439
  primaryButtonText = _ref2.text,
6420
- primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$e);
6440
+ primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
6421
6441
  var _ref3 = (links == null ? void 0 : links[1]) || {},
6422
6442
  secondaryButtonText = _ref3.text,
6423
6443
  secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
@@ -7199,10 +7219,10 @@ var UpsellSection = function UpsellSection(_ref) {
7199
7219
  };
7200
7220
 
7201
7221
  var _templateObject$L, _templateObject2$y;
7202
- var StickyBarWrapper = /*#__PURE__*/styled.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-color-white);\n"])), zIndexes.anchor);
7222
+ var StickyBarWrapper = /*#__PURE__*/styled.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--color-base-white);\n"])), zIndexes.anchor);
7203
7223
  var StickyBarGrid = /*#__PURE__*/styled(Grid)(_templateObject2$y || (_templateObject2$y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), function (_ref) {
7204
- var hideBottomBorder = _ref.hideBottomBorder;
7205
- return !hideBottomBorder && 'border-bottom: 2px solid var(--base-color-light-grey);';
7224
+ var bottomBorder = _ref.bottomBorder;
7225
+ return bottomBorder && 'border-bottom: 1px solid var(--color-base-light-grey);';
7206
7226
  }, devices.mobileAndTablet, devices.mobile);
7207
7227
 
7208
7228
  var StickyBar = function StickyBar(_ref) {
@@ -7214,12 +7234,15 @@ var StickyBar = function StickyBar(_ref) {
7214
7234
  columnStartDevice = _ref$columnStartDevic === void 0 ? 2 : _ref$columnStartDevic,
7215
7235
  _ref$columnSpanDevice = _ref.columnSpanDevice,
7216
7236
  columnSpanDevice = _ref$columnSpanDevice === void 0 ? 12 : _ref$columnSpanDevice,
7217
- hideBottomBorder = _ref.hideBottomBorder,
7218
- children = _ref.children;
7237
+ _ref$bottomBorder = _ref.bottomBorder,
7238
+ bottomBorder = _ref$bottomBorder === void 0 ? true : _ref$bottomBorder,
7239
+ children = _ref.children,
7240
+ className = _ref.className;
7219
7241
  return /*#__PURE__*/React__default.createElement(StickyBarWrapper, {
7220
- "data-testid": "sticky-bar-block"
7242
+ "data-testid": "sticky-bar-block",
7243
+ className: className
7221
7244
  }, /*#__PURE__*/React__default.createElement(StickyBarGrid, {
7222
- hideBottomBorder: hideBottomBorder != null ? hideBottomBorder : false
7245
+ bottomBorder: bottomBorder
7223
7246
  }, /*#__PURE__*/React__default.createElement(GridItem, {
7224
7247
  columnStartDesktop: columnStartDesktop,
7225
7248
  columnSpanDesktop: columnSpanDesktop,
@@ -7234,7 +7257,7 @@ var CloseButton = /*#__PURE__*/styled.button(_templateObject2$z || (_templateObj
7234
7257
  var ContentWrapper = /*#__PURE__*/styled.div(_templateObject3$o || (_templateObject3$o = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
7235
7258
  var Overlay = /*#__PURE__*/styled(Grid)(_templateObject4$j || (_templateObject4$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n align-content: center;\n background-color: rgba(0, 0, 0, 0.4);\n"])));
7236
7259
 
7237
- var _excluded$f = ["isOpen", "setIsOpen", "children", "appElementId"];
7260
+ var _excluded$g = ["isOpen", "setIsOpen", "children", "appElementId"];
7238
7261
  var MAX_Z_INDEX = 9999999999;
7239
7262
  if (Modal.defaultStyles.content) {
7240
7263
  Modal.defaultStyles.content.position = 'static';
@@ -7308,7 +7331,7 @@ var ModalWindow = function ModalWindow(_ref) {
7308
7331
  setIsOpen = _ref.setIsOpen,
7309
7332
  children = _ref.children,
7310
7333
  appElementId = _ref.appElementId,
7311
- modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
7334
+ modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
7312
7335
  var isMobile = useMobile();
7313
7336
  var customStyles = {
7314
7337
  overlay: {
@@ -7502,7 +7525,7 @@ var getMovedSlides = function getMovedSlides(delta, slideWidths) {
7502
7525
  return movedSlides;
7503
7526
  };
7504
7527
 
7505
- var _excluded$g = ["children", "infinite", "onIndexChange", "slidesOffsetBefore", "slidesAriaHidden", "onActiveChange"];
7528
+ var _excluded$h = ["children", "infinite", "onIndexChange", "slidesOffsetBefore", "slidesAriaHidden", "onActiveChange"];
7506
7529
  var MAX_CLONES_NUMBER = 6;
7507
7530
  var CLICK_DRAG_THRESHOLD = 10;
7508
7531
  var getClonesCount = function getClonesCount(infinite, childrenLength) {
@@ -7527,7 +7550,7 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
7527
7550
  _ref$slidesAriaHidden = _ref.slidesAriaHidden,
7528
7551
  slidesAriaHidden = _ref$slidesAriaHidden === void 0 ? false : _ref$slidesAriaHidden,
7529
7552
  onActiveChange = _ref.onActiveChange,
7530
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
7553
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
7531
7554
  var containerRef = useRef(null);
7532
7555
  var childRefs = useRef([]);
7533
7556
  var startX = useRef(0);
@@ -7923,18 +7946,18 @@ var getBackgroundColor$1 = function getBackgroundColor(_ref2) {
7923
7946
  var _templateObject$Q;
7924
7947
  var AuxiliaryButtonWrapper = /*#__PURE__*/styled(Button)(_templateObject$Q || (_templateObject$Q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: ", ";\n height: 20px;\n border: none;\n padding: 0;\n color: ", ";\n width: fit-content;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n cursor: pointer;\n text-decoration: none;\n box-sizing: border-box;\n\n && span svg * {\n fill: ", ";\n }\n\n .auxiliaryButtonIcon {\n width: 12px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])), getBackgroundColor$1, getTextColor$3, getTextColor$3);
7925
7948
 
7926
- var _excluded$h = ["children", "className"];
7949
+ var _excluded$i = ["children", "className"];
7927
7950
  var AuxiliaryButton = function AuxiliaryButton(_ref) {
7928
7951
  var children = _ref.children,
7929
7952
  className = _ref.className,
7930
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
7953
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
7931
7954
  return /*#__PURE__*/React__default.createElement(AuxiliaryButtonWrapper, Object.assign({}, props, {
7932
7955
  iconClassName: "auxiliaryButtonIcon",
7933
7956
  className: className
7934
7957
  }), children);
7935
7958
  };
7936
7959
 
7937
- var _excluded$i = ["text"],
7960
+ var _excluded$j = ["text"],
7938
7961
  _excluded2$2 = ["text"];
7939
7962
  var _buttonTypeToButton;
7940
7963
  var buttonTypeToButton = (_buttonTypeToButton = {}, _buttonTypeToButton[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton);
@@ -7945,7 +7968,7 @@ var Buttons = function Buttons(_ref) {
7945
7968
  var _ref2 = firstButton || {},
7946
7969
  _ref2$text = _ref2.text,
7947
7970
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
7948
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$i);
7971
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
7949
7972
  var secondButton = links == null ? void 0 : links[1];
7950
7973
  var _ref3 = secondButton || {},
7951
7974
  _ref3$text = _ref3.text,
@@ -8369,7 +8392,7 @@ var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject12$2 || (_templa
8369
8392
  return '';
8370
8393
  });
8371
8394
 
8372
- var _excluded$j = ["text"],
8395
+ var _excluded$k = ["text"],
8373
8396
  _excluded2$3 = ["text"];
8374
8397
  var _buttonTypeToButton$1;
8375
8398
  var LENGTH_LARGE_TEXT$1 = 28;
@@ -8419,7 +8442,7 @@ var Card = function Card(_ref) {
8419
8442
  var _ref2 = firstButton || {},
8420
8443
  _ref2$text = _ref2.text,
8421
8444
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
8422
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
8445
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$k);
8423
8446
  var primaryButtonTextTruncate = size === 'small' ? truncate(firstButtonText, LENGTH_SMALL_TEXT$2) : truncate(firstButtonText, LENGTH_LARGE_TEXT$1);
8424
8447
  var secondButton = links == null ? void 0 : links[1];
8425
8448
  var _ref3 = secondButton || {},
@@ -8764,7 +8787,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled.div(_templateObject$Z || (_templateO
8764
8787
  var HotFilterOptionsWrapper = /*#__PURE__*/styled.div(_templateObject2$K || (_templateObject2$K = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n width: fit-content;\n min-width: 400px;\n justify-content: space-between;\n gap: 16px;\n font-family: var(--font-family-sans);\n\n @media ", " {\n gap: 10px;\n }\n"])), devices.mobile);
8765
8788
  var StyledHotFiltersButton = /*#__PURE__*/styled(PrimaryButton)(_templateObject3$x || (_templateObject3$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border: 1px solid var(--color-base-black);\n min-width: fit-content;\n\n :hover {\n color: var(--color-base-white);\n }\n"])));
8766
8789
 
8767
- var _excluded$k = ["text", "onClick"];
8790
+ var _excluded$l = ["text", "onClick"];
8768
8791
  var HotFilters = function HotFilters(_ref) {
8769
8792
  var items = _ref.items,
8770
8793
  className = _ref.className,
@@ -8780,7 +8803,7 @@ var HotFilters = function HotFilters(_ref) {
8780
8803
  }, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
8781
8804
  var text = item.text,
8782
8805
  _onClick = item.onClick,
8783
- rest = _objectWithoutPropertiesLoose(item, _excluded$k);
8806
+ rest = _objectWithoutPropertiesLoose(item, _excluded$l);
8784
8807
  var isSelected = index === selectedIndex;
8785
8808
  return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
8786
8809
  key: index,
@@ -9109,7 +9132,7 @@ var TextWrapper$1 = /*#__PURE__*/styled.div(_templateObject6$i || (_templateObje
9109
9132
  var ButtonWrapper$2 = /*#__PURE__*/styled.div(_templateObject7$d || (_templateObject7$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n align-self: end;\n display: flex;\n justify-content: center;\n margin-top: 40px;\n\n @media ", " {\n & {\n margin-top: 0px;\n margin-bottom: 20px;\n }\n }\n"])), devices.mobile);
9110
9133
  var ScrollDownWrapper = /*#__PURE__*/styled.div(_templateObject8$a || (_templateObject8$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 20px;\n left: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @keyframes UpDown {\n 0%,\n 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(8px);\n }\n }\n\n a {\n font-size: var(--font-size-overline-1);\n font-weight: var(--font-weight-overline-1);\n letter-spacing: var(--letter-spacing-overline-1);\n border: none;\n padding: 0;\n :hover {\n border: none;\n\n > span {\n animation: UpDown 1500ms linear infinite;\n }\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
9111
9134
 
9112
- var _excluded$l = ["text"];
9135
+ var _excluded$m = ["text"];
9113
9136
  var PageHeadingImpact = function PageHeadingImpact(_ref) {
9114
9137
  var children = _ref.children,
9115
9138
  text = _ref.text,
@@ -9127,7 +9150,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
9127
9150
  var truncatedText = text == null ? void 0 : text.substring(0, 75);
9128
9151
  var _ref2 = link || {},
9129
9152
  linkText = _ref2.text,
9130
- restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
9153
+ restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
9131
9154
  return /*#__PURE__*/React__default.createElement(ImpactWrapper, {
9132
9155
  bgUrlDesktop: bgUrlDesktop,
9133
9156
  bgUrlDevice: bgUrlDevice,
@@ -9541,7 +9564,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
9541
9564
  return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
9542
9565
  };
9543
9566
 
9544
- var _excluded$m = ["text"];
9567
+ var _excluded$n = ["text"];
9545
9568
  var useResponsiveVideo = function useResponsiveVideo(video, poster) {
9546
9569
  var mobileVideo = video.mobile || video.desktop;
9547
9570
  var desktopVideo = video.desktop || video.mobile;
@@ -9646,7 +9669,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
9646
9669
  showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
9647
9670
  var _ref5 = link || {},
9648
9671
  linkText = _ref5.text,
9649
- restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$m);
9672
+ restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$n);
9650
9673
  // const titleSize = title && title.length > 20 ? 4 : 3;
9651
9674
  var video = {
9652
9675
  elementId: 'compact-header-video',
@@ -10110,7 +10133,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObj
10110
10133
  var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled(BodyCopyHarmonic)(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n margin-bottom: 32px;\n whiete-space: break-spaces;\n overflow-wrap: break-word;\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: var(--color-primary-black);\n }\n\n &:visited {\n color: var(--color-base-dark-grey);\n }\n\n &:hover {\n color: var(--color-primary-red);\n }\n }\n @media ", " {\n margin-bottom: 24px;\n }\n"])), devices.mobile);
10111
10134
  var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
10112
10135
 
10113
- var _excluded$n = ["text"],
10136
+ var _excluded$o = ["text"],
10114
10137
  _excluded2$4 = ["text"],
10115
10138
  _excluded3 = ["text"];
10116
10139
  var _buttonTypeToButton$2;
@@ -10171,7 +10194,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
10171
10194
  var _ref2 = firstButton || {},
10172
10195
  _ref2$text = _ref2.text,
10173
10196
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
10174
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
10197
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
10175
10198
  var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
10176
10199
  var secondButton = links == null ? void 0 : links[1];
10177
10200
  var _ref3 = secondButton || {},
@@ -10446,7 +10469,7 @@ var PromoChild = function PromoChild(_ref) {
10446
10469
  }));
10447
10470
  };
10448
10471
 
10449
- var _excluded$o = ["text"],
10472
+ var _excluded$p = ["text"],
10450
10473
  _excluded2$5 = ["text"];
10451
10474
  var LENGTH_TEXT$3 = 28;
10452
10475
  var PromoWithTitle = function PromoWithTitle(_ref) {
@@ -10473,7 +10496,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
10473
10496
  var _ref2 = primaryButton || {},
10474
10497
  _ref2$text = _ref2.text,
10475
10498
  primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
10476
- restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
10499
+ restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$p);
10477
10500
  var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
10478
10501
  var tertiaryButton = links == null ? void 0 : links[1];
10479
10502
  var _ref3 = tertiaryButton || {},
@@ -11172,7 +11195,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$C || (_templateObjec
11172
11195
  return "var(--base-color-errorstate)";
11173
11196
  });
11174
11197
 
11175
- var _excluded$p = ["label", "error", "width", "darkMode", "isSearchable", "components"];
11198
+ var _excluded$q = ["label", "error", "width", "darkMode", "isSearchable", "components"];
11176
11199
  var DropdownIndicator = function DropdownIndicator(props) {
11177
11200
  return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
11178
11201
  iconName: "DropdownArrow"
@@ -11223,7 +11246,7 @@ var SelectComponent = function SelectComponent(_ref2) {
11223
11246
  _ref2$isSearchable = _ref2.isSearchable,
11224
11247
  isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
11225
11248
  components = _ref2.components,
11226
- selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$p);
11249
+ selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$q);
11227
11250
  return /*#__PURE__*/React__default.createElement(WrapperComponent, {
11228
11251
  label: label,
11229
11252
  error: error,
@@ -11241,7 +11264,7 @@ var SelectComponent = function SelectComponent(_ref2) {
11241
11264
  })));
11242
11265
  };
11243
11266
 
11244
- var _excluded$q = ["label", "error", "width", "darkMode", "components"];
11267
+ var _excluded$r = ["label", "error", "width", "darkMode", "components"];
11245
11268
  /**
11246
11269
  * The Select2Async component is similar to Select 2, but uses react-select async
11247
11270
  * component for select instead of regular react-select component. This can be used
@@ -11263,7 +11286,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
11263
11286
  _ref$darkMode = _ref.darkMode,
11264
11287
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
11265
11288
  components = _ref.components,
11266
- selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
11289
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
11267
11290
  return /*#__PURE__*/React__default.createElement(WrapperComponent, {
11268
11291
  label: label,
11269
11292
  error: error,
@@ -12603,11 +12626,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
12603
12626
  })));
12604
12627
  };
12605
12628
 
12606
- var _excluded$r = ["logo", "slides"];
12629
+ var _excluded$s = ["logo", "slides"];
12607
12630
  var HighlightsCinema = function HighlightsCinema(_ref) {
12608
12631
  var logo = _ref.logo,
12609
12632
  slides = _ref.slides,
12610
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12633
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12611
12634
  var slidesWithLinks = slides.map(function (slide) {
12612
12635
  var links = processSlideLinks(slide.links);
12613
12636
  return _extends({}, slide, {
@@ -12624,10 +12647,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
12624
12647
  })));
12625
12648
  };
12626
12649
 
12627
- var _excluded$s = ["slides"];
12650
+ var _excluded$t = ["slides"];
12628
12651
  var HighlightsCore = function HighlightsCore(_ref) {
12629
12652
  var slides = _ref.slides,
12630
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12653
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
12631
12654
  var slidesWithLinks = slides.map(function (slide) {
12632
12655
  var links = processSlideLinks(slide.links);
12633
12656
  return _extends({}, slide, {
@@ -12641,11 +12664,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
12641
12664
  })));
12642
12665
  };
12643
12666
 
12644
- var _excluded$t = ["logo", "slides"];
12667
+ var _excluded$u = ["logo", "slides"];
12645
12668
  var HighlightsStream = function HighlightsStream(_ref) {
12646
12669
  var logo = _ref.logo,
12647
12670
  slides = _ref.slides,
12648
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
12671
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
12649
12672
  var slidesWithLinks = slides.map(function (slide) {
12650
12673
  var links = processSlideLinks(slide.links);
12651
12674
  return _extends({}, slide, {