@royaloperahouse/harmonic 0.11.0-m → 0.11.0-n

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,
@@ -6148,6 +6153,8 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6148
6153
  bottomBorder = _ref$bottomBorder === void 0 ? false : _ref$bottomBorder,
6149
6154
  _ref$withShadow = _ref.withShadow,
6150
6155
  withShadow = _ref$withShadow === void 0 ? false : _ref$withShadow,
6156
+ _ref$offsetHeight = _ref.offsetHeight,
6157
+ offsetHeight = _ref$offsetHeight === void 0 ? 0 : _ref$offsetHeight,
6151
6158
  className = _ref.className;
6152
6159
  var tabListRef = useRef(null);
6153
6160
  var wrapperRef = useRef(null);
@@ -6168,12 +6175,27 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6168
6175
  var isSelectedItem = function isSelectedItem(id) {
6169
6176
  return id === selectedItem;
6170
6177
  };
6171
- var onClicktab = function onClicktab(e, id) {
6178
+ var onClickTab = function onClickTab(e, id) {
6179
+ e.preventDefault();
6172
6180
  if (onTabClick) {
6173
6181
  onTabClick(e, id);
6174
6182
  }
6175
6183
  setSelectedItem(id);
6176
6184
  };
6185
+ useEffect(function () {
6186
+ if (!selectedItem) return;
6187
+ var targetSectionElement = document.getElementById(selectedItem);
6188
+ if (targetSectionElement) {
6189
+ var sectionTop = targetSectionElement.getBoundingClientRect().top;
6190
+ var scrollPosition = window.scrollY + sectionTop - offsetHeight;
6191
+ // Instant scroll
6192
+ window.scrollTo(0, scrollPosition);
6193
+ }
6194
+ var clickedTab = document.getElementById("tablink-" + selectedItem);
6195
+ if (clickedTab) {
6196
+ clickedTab.focus();
6197
+ }
6198
+ }, [selectedItem, offsetHeight]);
6177
6199
  var getScrollWidth = function getScrollWidth() {
6178
6200
  var width = 0;
6179
6201
  var selectedItemIndex = tabs.findIndex(function (el) {
@@ -6345,7 +6367,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6345
6367
  }, tabs.map(function (_ref4) {
6346
6368
  var id = _ref4.id,
6347
6369
  text = _ref4.text,
6348
- rest = _objectWithoutPropertiesLoose(_ref4, _excluded$d);
6370
+ rest = _objectWithoutPropertiesLoose(_ref4, _excluded$e);
6349
6371
  return /*#__PURE__*/React__default.createElement("li", {
6350
6372
  key: id
6351
6373
  }, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
@@ -6353,7 +6375,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6353
6375
  className: "anchor-tab-bar-tablink",
6354
6376
  id: "tablink-" + id,
6355
6377
  onClick: function onClick(e) {
6356
- return onClicktab(e, id);
6378
+ return onClickTab(e, id);
6357
6379
  },
6358
6380
  tabIndex: 0,
6359
6381
  hoverColor: theme === ThemeType.Core ? ThemeColor['primary-red'] : ThemeColor['primary-black']
@@ -6407,7 +6429,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$4
6407
6429
  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
6430
  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
6431
 
6410
- var _excluded$e = ["text"],
6432
+ var _excluded$f = ["text"],
6411
6433
  _excluded2$1 = ["text"];
6412
6434
  var TitleWithCTA = function TitleWithCTA(_ref) {
6413
6435
  var title = _ref.title,
@@ -6417,7 +6439,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
6417
6439
  message = _ref.message;
6418
6440
  var _ref2 = (links == null ? void 0 : links[0]) || {},
6419
6441
  primaryButtonText = _ref2.text,
6420
- primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$e);
6442
+ primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
6421
6443
  var _ref3 = (links == null ? void 0 : links[1]) || {},
6422
6444
  secondaryButtonText = _ref3.text,
6423
6445
  secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
@@ -7199,10 +7221,10 @@ var UpsellSection = function UpsellSection(_ref) {
7199
7221
  };
7200
7222
 
7201
7223
  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);
7224
+ 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
7225
  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);';
7226
+ var bottomBorder = _ref.bottomBorder;
7227
+ return bottomBorder && 'border-bottom: 1px solid var(--color-base-light-grey);';
7206
7228
  }, devices.mobileAndTablet, devices.mobile);
7207
7229
 
7208
7230
  var StickyBar = function StickyBar(_ref) {
@@ -7214,12 +7236,15 @@ var StickyBar = function StickyBar(_ref) {
7214
7236
  columnStartDevice = _ref$columnStartDevic === void 0 ? 2 : _ref$columnStartDevic,
7215
7237
  _ref$columnSpanDevice = _ref.columnSpanDevice,
7216
7238
  columnSpanDevice = _ref$columnSpanDevice === void 0 ? 12 : _ref$columnSpanDevice,
7217
- hideBottomBorder = _ref.hideBottomBorder,
7218
- children = _ref.children;
7239
+ _ref$bottomBorder = _ref.bottomBorder,
7240
+ bottomBorder = _ref$bottomBorder === void 0 ? true : _ref$bottomBorder,
7241
+ children = _ref.children,
7242
+ className = _ref.className;
7219
7243
  return /*#__PURE__*/React__default.createElement(StickyBarWrapper, {
7220
- "data-testid": "sticky-bar-block"
7244
+ "data-testid": "sticky-bar-block",
7245
+ className: className
7221
7246
  }, /*#__PURE__*/React__default.createElement(StickyBarGrid, {
7222
- hideBottomBorder: hideBottomBorder != null ? hideBottomBorder : false
7247
+ bottomBorder: bottomBorder
7223
7248
  }, /*#__PURE__*/React__default.createElement(GridItem, {
7224
7249
  columnStartDesktop: columnStartDesktop,
7225
7250
  columnSpanDesktop: columnSpanDesktop,
@@ -7234,7 +7259,7 @@ var CloseButton = /*#__PURE__*/styled.button(_templateObject2$z || (_templateObj
7234
7259
  var ContentWrapper = /*#__PURE__*/styled.div(_templateObject3$o || (_templateObject3$o = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
7235
7260
  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
7261
 
7237
- var _excluded$f = ["isOpen", "setIsOpen", "children", "appElementId"];
7262
+ var _excluded$g = ["isOpen", "setIsOpen", "children", "appElementId"];
7238
7263
  var MAX_Z_INDEX = 9999999999;
7239
7264
  if (Modal.defaultStyles.content) {
7240
7265
  Modal.defaultStyles.content.position = 'static';
@@ -7308,7 +7333,7 @@ var ModalWindow = function ModalWindow(_ref) {
7308
7333
  setIsOpen = _ref.setIsOpen,
7309
7334
  children = _ref.children,
7310
7335
  appElementId = _ref.appElementId,
7311
- modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
7336
+ modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
7312
7337
  var isMobile = useMobile();
7313
7338
  var customStyles = {
7314
7339
  overlay: {
@@ -7502,7 +7527,7 @@ var getMovedSlides = function getMovedSlides(delta, slideWidths) {
7502
7527
  return movedSlides;
7503
7528
  };
7504
7529
 
7505
- var _excluded$g = ["children", "infinite", "onIndexChange", "slidesOffsetBefore", "slidesAriaHidden", "onActiveChange"];
7530
+ var _excluded$h = ["children", "infinite", "onIndexChange", "slidesOffsetBefore", "slidesAriaHidden", "onActiveChange"];
7506
7531
  var MAX_CLONES_NUMBER = 6;
7507
7532
  var CLICK_DRAG_THRESHOLD = 10;
7508
7533
  var getClonesCount = function getClonesCount(infinite, childrenLength) {
@@ -7527,7 +7552,7 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
7527
7552
  _ref$slidesAriaHidden = _ref.slidesAriaHidden,
7528
7553
  slidesAriaHidden = _ref$slidesAriaHidden === void 0 ? false : _ref$slidesAriaHidden,
7529
7554
  onActiveChange = _ref.onActiveChange,
7530
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
7555
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
7531
7556
  var containerRef = useRef(null);
7532
7557
  var childRefs = useRef([]);
7533
7558
  var startX = useRef(0);
@@ -7923,18 +7948,18 @@ var getBackgroundColor$1 = function getBackgroundColor(_ref2) {
7923
7948
  var _templateObject$Q;
7924
7949
  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
7950
 
7926
- var _excluded$h = ["children", "className"];
7951
+ var _excluded$i = ["children", "className"];
7927
7952
  var AuxiliaryButton = function AuxiliaryButton(_ref) {
7928
7953
  var children = _ref.children,
7929
7954
  className = _ref.className,
7930
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
7955
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
7931
7956
  return /*#__PURE__*/React__default.createElement(AuxiliaryButtonWrapper, Object.assign({}, props, {
7932
7957
  iconClassName: "auxiliaryButtonIcon",
7933
7958
  className: className
7934
7959
  }), children);
7935
7960
  };
7936
7961
 
7937
- var _excluded$i = ["text"],
7962
+ var _excluded$j = ["text"],
7938
7963
  _excluded2$2 = ["text"];
7939
7964
  var _buttonTypeToButton;
7940
7965
  var buttonTypeToButton = (_buttonTypeToButton = {}, _buttonTypeToButton[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton);
@@ -7945,7 +7970,7 @@ var Buttons = function Buttons(_ref) {
7945
7970
  var _ref2 = firstButton || {},
7946
7971
  _ref2$text = _ref2.text,
7947
7972
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
7948
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$i);
7973
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
7949
7974
  var secondButton = links == null ? void 0 : links[1];
7950
7975
  var _ref3 = secondButton || {},
7951
7976
  _ref3$text = _ref3.text,
@@ -8369,7 +8394,7 @@ var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject12$2 || (_templa
8369
8394
  return '';
8370
8395
  });
8371
8396
 
8372
- var _excluded$j = ["text"],
8397
+ var _excluded$k = ["text"],
8373
8398
  _excluded2$3 = ["text"];
8374
8399
  var _buttonTypeToButton$1;
8375
8400
  var LENGTH_LARGE_TEXT$1 = 28;
@@ -8419,7 +8444,7 @@ var Card = function Card(_ref) {
8419
8444
  var _ref2 = firstButton || {},
8420
8445
  _ref2$text = _ref2.text,
8421
8446
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
8422
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
8447
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$k);
8423
8448
  var primaryButtonTextTruncate = size === 'small' ? truncate(firstButtonText, LENGTH_SMALL_TEXT$2) : truncate(firstButtonText, LENGTH_LARGE_TEXT$1);
8424
8449
  var secondButton = links == null ? void 0 : links[1];
8425
8450
  var _ref3 = secondButton || {},
@@ -8764,7 +8789,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled.div(_templateObject$Z || (_templateO
8764
8789
  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
8790
  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
8791
 
8767
- var _excluded$k = ["text", "onClick"];
8792
+ var _excluded$l = ["text", "onClick"];
8768
8793
  var HotFilters = function HotFilters(_ref) {
8769
8794
  var items = _ref.items,
8770
8795
  className = _ref.className,
@@ -8780,7 +8805,7 @@ var HotFilters = function HotFilters(_ref) {
8780
8805
  }, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
8781
8806
  var text = item.text,
8782
8807
  _onClick = item.onClick,
8783
- rest = _objectWithoutPropertiesLoose(item, _excluded$k);
8808
+ rest = _objectWithoutPropertiesLoose(item, _excluded$l);
8784
8809
  var isSelected = index === selectedIndex;
8785
8810
  return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
8786
8811
  key: index,
@@ -9109,7 +9134,7 @@ var TextWrapper$1 = /*#__PURE__*/styled.div(_templateObject6$i || (_templateObje
9109
9134
  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
9135
  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
9136
 
9112
- var _excluded$l = ["text"];
9137
+ var _excluded$m = ["text"];
9113
9138
  var PageHeadingImpact = function PageHeadingImpact(_ref) {
9114
9139
  var children = _ref.children,
9115
9140
  text = _ref.text,
@@ -9127,7 +9152,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
9127
9152
  var truncatedText = text == null ? void 0 : text.substring(0, 75);
9128
9153
  var _ref2 = link || {},
9129
9154
  linkText = _ref2.text,
9130
- restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
9155
+ restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
9131
9156
  return /*#__PURE__*/React__default.createElement(ImpactWrapper, {
9132
9157
  bgUrlDesktop: bgUrlDesktop,
9133
9158
  bgUrlDevice: bgUrlDevice,
@@ -9541,7 +9566,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
9541
9566
  return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
9542
9567
  };
9543
9568
 
9544
- var _excluded$m = ["text"];
9569
+ var _excluded$n = ["text"];
9545
9570
  var useResponsiveVideo = function useResponsiveVideo(video, poster) {
9546
9571
  var mobileVideo = video.mobile || video.desktop;
9547
9572
  var desktopVideo = video.desktop || video.mobile;
@@ -9646,7 +9671,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
9646
9671
  showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
9647
9672
  var _ref5 = link || {},
9648
9673
  linkText = _ref5.text,
9649
- restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$m);
9674
+ restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$n);
9650
9675
  // const titleSize = title && title.length > 20 ? 4 : 3;
9651
9676
  var video = {
9652
9677
  elementId: 'compact-header-video',
@@ -10110,7 +10135,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObj
10110
10135
  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
10136
  var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
10112
10137
 
10113
- var _excluded$n = ["text"],
10138
+ var _excluded$o = ["text"],
10114
10139
  _excluded2$4 = ["text"],
10115
10140
  _excluded3 = ["text"];
10116
10141
  var _buttonTypeToButton$2;
@@ -10171,7 +10196,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
10171
10196
  var _ref2 = firstButton || {},
10172
10197
  _ref2$text = _ref2.text,
10173
10198
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
10174
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
10199
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
10175
10200
  var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
10176
10201
  var secondButton = links == null ? void 0 : links[1];
10177
10202
  var _ref3 = secondButton || {},
@@ -10446,7 +10471,7 @@ var PromoChild = function PromoChild(_ref) {
10446
10471
  }));
10447
10472
  };
10448
10473
 
10449
- var _excluded$o = ["text"],
10474
+ var _excluded$p = ["text"],
10450
10475
  _excluded2$5 = ["text"];
10451
10476
  var LENGTH_TEXT$3 = 28;
10452
10477
  var PromoWithTitle = function PromoWithTitle(_ref) {
@@ -10473,7 +10498,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
10473
10498
  var _ref2 = primaryButton || {},
10474
10499
  _ref2$text = _ref2.text,
10475
10500
  primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
10476
- restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
10501
+ restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$p);
10477
10502
  var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
10478
10503
  var tertiaryButton = links == null ? void 0 : links[1];
10479
10504
  var _ref3 = tertiaryButton || {},
@@ -11172,7 +11197,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$C || (_templateObjec
11172
11197
  return "var(--base-color-errorstate)";
11173
11198
  });
11174
11199
 
11175
- var _excluded$p = ["label", "error", "width", "darkMode", "isSearchable", "components"];
11200
+ var _excluded$q = ["label", "error", "width", "darkMode", "isSearchable", "components"];
11176
11201
  var DropdownIndicator = function DropdownIndicator(props) {
11177
11202
  return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
11178
11203
  iconName: "DropdownArrow"
@@ -11223,7 +11248,7 @@ var SelectComponent = function SelectComponent(_ref2) {
11223
11248
  _ref2$isSearchable = _ref2.isSearchable,
11224
11249
  isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
11225
11250
  components = _ref2.components,
11226
- selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$p);
11251
+ selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$q);
11227
11252
  return /*#__PURE__*/React__default.createElement(WrapperComponent, {
11228
11253
  label: label,
11229
11254
  error: error,
@@ -11241,7 +11266,7 @@ var SelectComponent = function SelectComponent(_ref2) {
11241
11266
  })));
11242
11267
  };
11243
11268
 
11244
- var _excluded$q = ["label", "error", "width", "darkMode", "components"];
11269
+ var _excluded$r = ["label", "error", "width", "darkMode", "components"];
11245
11270
  /**
11246
11271
  * The Select2Async component is similar to Select 2, but uses react-select async
11247
11272
  * component for select instead of regular react-select component. This can be used
@@ -11263,7 +11288,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
11263
11288
  _ref$darkMode = _ref.darkMode,
11264
11289
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
11265
11290
  components = _ref.components,
11266
- selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
11291
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
11267
11292
  return /*#__PURE__*/React__default.createElement(WrapperComponent, {
11268
11293
  label: label,
11269
11294
  error: error,
@@ -12603,11 +12628,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
12603
12628
  })));
12604
12629
  };
12605
12630
 
12606
- var _excluded$r = ["logo", "slides"];
12631
+ var _excluded$s = ["logo", "slides"];
12607
12632
  var HighlightsCinema = function HighlightsCinema(_ref) {
12608
12633
  var logo = _ref.logo,
12609
12634
  slides = _ref.slides,
12610
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12635
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12611
12636
  var slidesWithLinks = slides.map(function (slide) {
12612
12637
  var links = processSlideLinks(slide.links);
12613
12638
  return _extends({}, slide, {
@@ -12624,10 +12649,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
12624
12649
  })));
12625
12650
  };
12626
12651
 
12627
- var _excluded$s = ["slides"];
12652
+ var _excluded$t = ["slides"];
12628
12653
  var HighlightsCore = function HighlightsCore(_ref) {
12629
12654
  var slides = _ref.slides,
12630
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12655
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
12631
12656
  var slidesWithLinks = slides.map(function (slide) {
12632
12657
  var links = processSlideLinks(slide.links);
12633
12658
  return _extends({}, slide, {
@@ -12641,11 +12666,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
12641
12666
  })));
12642
12667
  };
12643
12668
 
12644
- var _excluded$t = ["logo", "slides"];
12669
+ var _excluded$u = ["logo", "slides"];
12645
12670
  var HighlightsStream = function HighlightsStream(_ref) {
12646
12671
  var logo = _ref.logo,
12647
12672
  slides = _ref.slides,
12648
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
12673
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
12649
12674
  var slidesWithLinks = slides.map(function (slide) {
12650
12675
  var links = processSlideLinks(slide.links);
12651
12676
  return _extends({}, slide, {