@royaloperahouse/harmonic 0.7.1 → 0.8.0-a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/README.md +252 -43
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/components/atoms/Buttons/Secondary/utils.d.ts +4 -4
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Icons/SvgIcons/Arrows/ArrowPagination.svg.d.ts +4 -0
- package/dist/components/atoms/Icons/SvgIcons/Arrows/LastPageArrow.svg.d.ts +4 -0
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +2 -0
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +5 -4
- package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +1 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -2
- package/dist/components/molecules/Pagination/Pagination.d.ts +2 -1
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +6 -5
- package/dist/components/molecules/SearchBar/SearchBar.d.ts +1 -1
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +3 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/helper.d.ts +1 -1
- package/dist/harmonic.cjs.development.css +319 -0
- package/dist/harmonic.cjs.development.js +264 -174
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +275 -182
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/helpers/accessibility.d.ts +1 -1
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +1 -0
- package/dist/types/buttonTypes.d.ts +2 -0
- package/dist/types/contactCard.d.ts +8 -22
- package/dist/types/editorial.d.ts +7 -3
- package/dist/types/navigation.d.ts +5 -0
- package/dist/types/types.d.ts +9 -1
- package/dist/types/upsell.d.ts +15 -1
- package/package.json +1 -1
- package/README.GIT +0 -278
|
@@ -366,7 +366,7 @@ var createClassNames = function createClassNames(baseClass, options, styles) {
|
|
|
366
366
|
|
|
367
367
|
var styles = {"display":"typography-module_display__ZHsz9","header":"typography-module_header__FVsLI","subtitle":"typography-module_subtitle__x3sSn","bodycopy":"typography-module_bodycopy__-BY2U","overline":"typography-module_overline__y1yCC","buttontext":"typography-module_buttontext__Gp0W-","captiontext":"typography-module_captiontext__zyA--","navigationtext":"typography-module_navigationtext__Qj6Zw","display--large":"typography-module_display--large__RwPQD","display--small":"typography-module_display--small__XWUSJ","header--large":"typography-module_header--large__2vP3p","header--medium":"typography-module_header--medium__OgzlB","header--small":"typography-module_header--small__zLuFf","subtitle--large":"typography-module_subtitle--large__1Ep9J","subtitle--small":"typography-module_subtitle--small__Vt9bZ","bodycopy--large":"typography-module_bodycopy--large__BNzf2","bodycopy--medium":"typography-module_bodycopy--medium__cwJEu","bodycopy--small":"typography-module_bodycopy--small__fTLSM","overline--large":"typography-module_overline--large__79WUM","overline--small":"typography-module_overline--small__MGEG6","display--primary":"typography-module_display--primary__9sTwU","header--primary":"typography-module_header--primary__KF0PJ","subtitle--primary":"typography-module_subtitle--primary__yL-hS","bodycopy--primary":"typography-module_bodycopy--primary__5Uo2D","overline--primary":"typography-module_overline--primary__a2NSa","buttontext--primary":"typography-module_buttontext--primary__HnmE3","captiontext--primary":"typography-module_captiontext--primary__mmafI","navigationtext--primary":"typography-module_navigationtext--primary__vIsUl","display--black":"typography-module_display--black__8hmsx","header--black":"typography-module_header--black__M3I14","subtitle--black":"typography-module_subtitle--black__IQRSo","bodycopy--black":"typography-module_bodycopy--black__J8BNP","overline--black":"typography-module_overline--black__RUDoj","buttontext--black":"typography-module_buttontext--black__irjmz","captiontext--black":"typography-module_captiontext--black__7axhP","navigationtext--black":"typography-module_navigationtext--black__wDz-G","display--white":"typography-module_display--white__3QA6W","header--white":"typography-module_header--white__mm-ex","subtitle--white":"typography-module_subtitle--white__VzQ3K","bodycopy--white":"typography-module_bodycopy--white__NJ8J8","overline--white":"typography-module_overline--white__cV5QV","buttontext--white":"typography-module_buttontext--white__rrr8U","captiontext--white":"typography-module_captiontext--white__OMFwW","navigationtext--white":"typography-module_navigationtext--white__5YDdY","display--red":"typography-module_display--red__khdLJ","header--red":"typography-module_header--red__hxuj9","subtitle--red":"typography-module_subtitle--red__gSK7d","bodycopy--red":"typography-module_bodycopy--red__P5Mau","overline--red":"typography-module_overline--red__OW5dE","buttontext--red":"typography-module_buttontext--red__mlRi2","captiontext--red":"typography-module_captiontext--red__jMQIK","navigationtext--red":"typography-module_navigationtext--red__-QADV","display--grey":"typography-module_display--grey__RsgTf","header--grey":"typography-module_header--grey__rC0vN","subtitle--grey":"typography-module_subtitle--grey__1nkEx","bodycopy--grey":"typography-module_bodycopy--grey__SNnaU","overline--grey":"typography-module_overline--grey__lGOsK","buttontext--grey":"typography-module_buttontext--grey__1Y4oX","captiontext--grey":"typography-module_captiontext--grey__V0MLc","navigationtext--grey":"typography-module_navigationtext--grey__xi3sz","display--inherit":"typography-module_display--inherit__ZNOHM","header--inherit":"typography-module_header--inherit__qmHQE","subtitle--inherit":"typography-module_subtitle--inherit__mly-X","bodycopy--inherit":"typography-module_bodycopy--inherit__CoC-f","overline--inherit":"typography-module_overline--inherit__Cq4ni","buttontext--inherit":"typography-module_buttontext--inherit__vguWx","captiontext--inherit":"typography-module_captiontext--inherit__ya6gm","navigationtext--inherit":"typography-module_navigationtext--inherit__cJLWf","display--serif":"typography-module_display--serif__C0-Ve","header--serif":"typography-module_header--serif__uTGCc","display--em":"typography-module_display--em__h2bPV","header--em":"typography-module_header--em__UFQIA","display--bold":"typography-module_display--bold__PG-8g","header--bold":"typography-module_header--bold__InvJk","subtitle--bold":"typography-module_subtitle--bold__Subov","bodycopy--bold":"typography-module_bodycopy--bold__nZX3C","overline--bold":"typography-module_overline--bold__3mUXy","buttontext--bold":"typography-module_buttontext--bold__rBKIJ","captiontext--bold":"typography-module_captiontext--bold__ebTyV","navigationtext--bold":"typography-module_navigationtext--bold__SRlV2"};
|
|
368
368
|
|
|
369
|
-
var _excluded = ["children", "size", "color", "className"],
|
|
369
|
+
var _excluded = ["children", "size", "color", "className", "bold"],
|
|
370
370
|
_excluded2 = ["children", "size", "color", "className"];
|
|
371
371
|
/* ~~~ Headers - size and hierarchy set separately ~~~ */
|
|
372
372
|
var HarmonicHeader = function HarmonicHeader(_ref2) {
|
|
@@ -413,10 +413,12 @@ var BodyCopyHarmonic = function BodyCopyHarmonic(_ref4) {
|
|
|
413
413
|
_ref4$color = _ref4.color,
|
|
414
414
|
color = _ref4$color === void 0 ? 'inherit' : _ref4$color,
|
|
415
415
|
className = _ref4.className,
|
|
416
|
+
bold = _ref4.bold,
|
|
416
417
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded);
|
|
417
418
|
var classNames = createClassNames('bodycopy', {
|
|
418
419
|
size: size,
|
|
419
420
|
color: color,
|
|
421
|
+
bold: bold,
|
|
420
422
|
className: className
|
|
421
423
|
}, styles);
|
|
422
424
|
return /*#__PURE__*/React__default.createElement("p", Object.assign({
|
|
@@ -2545,10 +2547,45 @@ var Volume = (function (_ref) {
|
|
|
2545
2547
|
}));
|
|
2546
2548
|
});
|
|
2547
2549
|
|
|
2550
|
+
var LastPageArrow = (function (_ref) {
|
|
2551
|
+
var _ref$color = _ref.color,
|
|
2552
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2553
|
+
ariaLabel = _ref.ariaLabel;
|
|
2554
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
2555
|
+
width: "100%",
|
|
2556
|
+
height: "100%",
|
|
2557
|
+
viewBox: "0 0 24 24",
|
|
2558
|
+
fill: "none",
|
|
2559
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2560
|
+
"aria-label": ariaLabel
|
|
2561
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
2562
|
+
d: "M9.14746 11.9961L9.1377 12.0039L17.165 20.8428L18.4121 19.71L11.415 12.0059L18.4219 4.29004L17.1748 3.15723L9.14746 11.9961ZM5.57031 20.8428H7.14062V3.15723H5.57031V20.8428Z",
|
|
2563
|
+
fill: color
|
|
2564
|
+
}));
|
|
2565
|
+
});
|
|
2566
|
+
|
|
2567
|
+
var ArrowPagination = (function (_ref) {
|
|
2568
|
+
var _ref$color = _ref.color,
|
|
2569
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2570
|
+
ariaLabel = _ref.ariaLabel;
|
|
2571
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
2572
|
+
width: "100%",
|
|
2573
|
+
height: "100%",
|
|
2574
|
+
viewBox: "0 0 24 24",
|
|
2575
|
+
fill: "none",
|
|
2576
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2577
|
+
"aria-label": ariaLabel
|
|
2578
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
2579
|
+
d: "M15.3955 3.1582L7.36816 11.9971L7.3584 12.0049L15.3857 20.8438L16.6328 19.7109L9.63574 12.0068L16.6426 4.29102L15.3955 3.1582Z",
|
|
2580
|
+
fill: color
|
|
2581
|
+
}));
|
|
2582
|
+
});
|
|
2583
|
+
|
|
2548
2584
|
/* 12px */
|
|
2549
2585
|
var IconLibrary = {
|
|
2550
2586
|
AddToMyList: AddToMyList,
|
|
2551
2587
|
Arrow: Arrow,
|
|
2588
|
+
ArrowPagination: ArrowPagination,
|
|
2552
2589
|
AudioDescription: AudioDescription,
|
|
2553
2590
|
Back10: Back10,
|
|
2554
2591
|
BalletAndDance: BalletAndDance,
|
|
@@ -2584,6 +2621,7 @@ var IconLibrary = {
|
|
|
2584
2621
|
Home: Home,
|
|
2585
2622
|
Info: Info,
|
|
2586
2623
|
Instagram: Instagram,
|
|
2624
|
+
LastPageArrow: LastPageArrow,
|
|
2587
2625
|
List: List,
|
|
2588
2626
|
ListView: ListView,
|
|
2589
2627
|
LiveStream: LiveStream,
|
|
@@ -2791,48 +2829,70 @@ var COLORS$1 = {
|
|
|
2791
2829
|
hover: 'var(--button-secondary-hover-color)',
|
|
2792
2830
|
pressed: 'var(--button-secondary-pressed-color)'
|
|
2793
2831
|
};
|
|
2832
|
+
var isObjectWithKey = function isObjectWithKey(object, key) {
|
|
2833
|
+
return typeof object === 'object' && object !== null && key in object;
|
|
2834
|
+
};
|
|
2835
|
+
var hasSecondaryButtonColor = function hasSecondaryButtonColor(theme) {
|
|
2836
|
+
return isObjectWithKey(theme, 'colors') && isObjectWithKey(theme.colors, 'secondaryButton') && typeof theme.colors.secondaryButton === 'string';
|
|
2837
|
+
};
|
|
2794
2838
|
var getTextColor$1 = function getTextColor(_ref) {
|
|
2795
2839
|
var disabled = _ref.disabled,
|
|
2796
|
-
textColor = _ref.textColor
|
|
2840
|
+
textColor = _ref.textColor,
|
|
2841
|
+
theme = _ref.theme;
|
|
2797
2842
|
if (disabled) {
|
|
2798
2843
|
return COLORS$1.darkGrey;
|
|
2799
2844
|
}
|
|
2800
2845
|
if (textColor) {
|
|
2801
2846
|
return "var(--color-" + textColor + ")";
|
|
2802
2847
|
}
|
|
2848
|
+
if (hasSecondaryButtonColor(theme)) {
|
|
2849
|
+
return theme.colors.secondaryButton;
|
|
2850
|
+
}
|
|
2803
2851
|
return COLORS$1["default"];
|
|
2804
2852
|
};
|
|
2805
2853
|
var getBorderColor = function getBorderColor(_ref2) {
|
|
2806
2854
|
var disabled = _ref2.disabled,
|
|
2807
|
-
borderColor = _ref2.borderColor
|
|
2855
|
+
borderColor = _ref2.borderColor,
|
|
2856
|
+
theme = _ref2.theme;
|
|
2808
2857
|
if (disabled) {
|
|
2809
2858
|
return COLORS$1.disabled;
|
|
2810
2859
|
}
|
|
2811
2860
|
if (borderColor) {
|
|
2812
2861
|
return "var(--color-" + borderColor + ")";
|
|
2813
2862
|
}
|
|
2863
|
+
if (hasSecondaryButtonColor(theme)) {
|
|
2864
|
+
return theme.colors.secondaryButton;
|
|
2865
|
+
}
|
|
2814
2866
|
return COLORS$1.border;
|
|
2815
2867
|
};
|
|
2816
2868
|
var getHoveredColor$1 = function getHoveredColor(_ref3) {
|
|
2817
2869
|
var disabled = _ref3.disabled,
|
|
2818
|
-
hoveredColor = _ref3.hoveredColor
|
|
2870
|
+
hoveredColor = _ref3.hoveredColor,
|
|
2871
|
+
theme = _ref3.theme;
|
|
2819
2872
|
if (disabled) {
|
|
2820
2873
|
return COLORS$1.disabled;
|
|
2821
2874
|
}
|
|
2822
2875
|
if (hoveredColor) {
|
|
2823
2876
|
return "var(--color-" + hoveredColor + ")";
|
|
2824
2877
|
}
|
|
2878
|
+
if (hasSecondaryButtonColor(theme)) {
|
|
2879
|
+
return theme.colors.secondaryButton;
|
|
2880
|
+
}
|
|
2825
2881
|
return COLORS$1.hover;
|
|
2826
2882
|
};
|
|
2827
2883
|
var getPressedColor$1 = function getPressedColor(_ref4) {
|
|
2828
2884
|
var disabled = _ref4.disabled,
|
|
2829
|
-
pressedColor = _ref4.pressedColor
|
|
2885
|
+
pressedColor = _ref4.pressedColor,
|
|
2886
|
+
theme = _ref4.theme;
|
|
2830
2887
|
if (disabled) {
|
|
2831
2888
|
return COLORS$1.disabled;
|
|
2832
2889
|
}
|
|
2833
2890
|
if (pressedColor) {
|
|
2834
2891
|
return "var(--color-" + pressedColor + ")";
|
|
2835
2892
|
}
|
|
2893
|
+
if (hasSecondaryButtonColor(theme)) {
|
|
2894
|
+
return theme.colors.secondaryButton;
|
|
2895
|
+
}
|
|
2836
2896
|
return COLORS$1.pressed;
|
|
2837
2897
|
};
|
|
2838
2898
|
|
|
@@ -3773,6 +3833,7 @@ var Tab = function Tab(_ref) {
|
|
|
3773
3833
|
className = _ref.className,
|
|
3774
3834
|
role = _ref.role,
|
|
3775
3835
|
ariaLabel = _ref.ariaLabel,
|
|
3836
|
+
tabLinkId = _ref.tabLinkId,
|
|
3776
3837
|
color = _ref.color;
|
|
3777
3838
|
var clickHandler = function clickHandler() {
|
|
3778
3839
|
if (onClick) {
|
|
@@ -3803,8 +3864,9 @@ var Tab = function Tab(_ref) {
|
|
|
3803
3864
|
tabIndex: 0,
|
|
3804
3865
|
className: className
|
|
3805
3866
|
}, /*#__PURE__*/React__default.createElement(TabText, {
|
|
3806
|
-
|
|
3867
|
+
id: tabLinkId,
|
|
3807
3868
|
trimText: trimText,
|
|
3869
|
+
color: color,
|
|
3808
3870
|
withTextInMobile: withTextInMobile,
|
|
3809
3871
|
"aria-hidden": "true"
|
|
3810
3872
|
}, title), withIcon !== 'none' && /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -5362,6 +5424,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
5362
5424
|
className = _ref.className,
|
|
5363
5425
|
role = _ref.role,
|
|
5364
5426
|
ariaLabel = _ref.ariaLabel,
|
|
5427
|
+
tabLinkId = _ref.tabLinkId,
|
|
5365
5428
|
trimTabText = _ref.trimTabText;
|
|
5366
5429
|
var node = React.useRef();
|
|
5367
5430
|
var _useState = React.useState(false),
|
|
@@ -5458,6 +5521,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
5458
5521
|
};
|
|
5459
5522
|
var renderTab = function renderTab() {
|
|
5460
5523
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Tab, {
|
|
5524
|
+
tabLinkId: tabLinkId,
|
|
5461
5525
|
trimText: trimTabText,
|
|
5462
5526
|
title: title,
|
|
5463
5527
|
titleLink: titleLink,
|
|
@@ -5537,7 +5601,8 @@ var Account = function Account(_ref) {
|
|
|
5537
5601
|
iconName: iconName,
|
|
5538
5602
|
withOptionsInMobile: false,
|
|
5539
5603
|
withIcon: "left",
|
|
5540
|
-
className: className
|
|
5604
|
+
className: className,
|
|
5605
|
+
tabLinkId: "account-link"
|
|
5541
5606
|
});
|
|
5542
5607
|
};
|
|
5543
5608
|
|
|
@@ -5722,8 +5787,12 @@ var InputContainer = /*#__PURE__*/styled__default.div(_templateObject5$a || (_te
|
|
|
5722
5787
|
var TextLinkWrapper$1 = /*#__PURE__*/styled__default(TextLink)(_templateObject6$7 || (_templateObject6$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-primary-red);\n"])));
|
|
5723
5788
|
var SearchArrowContainer = /*#__PURE__*/styled__default.a(_templateObject7$4 || (_templateObject7$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-right: 8px;\n\n svg {\n width: var(--navigation-large-gap);\n height: var(--navigation-large-gap);\n }\n"])));
|
|
5724
5789
|
|
|
5725
|
-
function useFocusTrap(containerRef, onEscape) {
|
|
5790
|
+
function useFocusTrap(containerRef, onEscape, enabled) {
|
|
5791
|
+
if (enabled === void 0) {
|
|
5792
|
+
enabled = true;
|
|
5793
|
+
}
|
|
5726
5794
|
React.useEffect(function () {
|
|
5795
|
+
if (!enabled) return undefined;
|
|
5727
5796
|
var container = containerRef.current;
|
|
5728
5797
|
if (!container) return undefined;
|
|
5729
5798
|
var focusableSelectors = 'input, button, select, textarea, a[href], [tabindex]:not([tabindex="-1"])';
|
|
@@ -5756,7 +5825,9 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
5756
5825
|
var onClick = _ref.onClick,
|
|
5757
5826
|
onClose = _ref.onClose,
|
|
5758
5827
|
className = _ref.className,
|
|
5759
|
-
inputRef = _ref.inputRef
|
|
5828
|
+
inputRef = _ref.inputRef,
|
|
5829
|
+
_ref$trapFocus = _ref.trapFocus,
|
|
5830
|
+
trapFocus = _ref$trapFocus === void 0 ? true : _ref$trapFocus;
|
|
5760
5831
|
var _useState = React.useState(false),
|
|
5761
5832
|
showSearchLink = _useState[0],
|
|
5762
5833
|
setShowSearchLink = _useState[1];
|
|
@@ -5766,7 +5837,7 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
5766
5837
|
var internalRef = React.useRef(null);
|
|
5767
5838
|
var finalInputRef = inputRef != null ? inputRef : internalRef;
|
|
5768
5839
|
var containerRef = React.useRef(null);
|
|
5769
|
-
useFocusTrap(containerRef, onClose);
|
|
5840
|
+
useFocusTrap(containerRef, onClose, trapFocus);
|
|
5770
5841
|
var onSearchHandler = function onSearchHandler(value) {
|
|
5771
5842
|
onClick(value);
|
|
5772
5843
|
setSearchValue('');
|
|
@@ -5846,7 +5917,7 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
5846
5917
|
onClick: onCloseHandler,
|
|
5847
5918
|
onKeyDown: onKeyboardCloseHandler,
|
|
5848
5919
|
"data-testid": "close-icon",
|
|
5849
|
-
"aria-label": "
|
|
5920
|
+
"aria-label": "Clear the search bar"
|
|
5850
5921
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
5851
5922
|
iconName: "Close"
|
|
5852
5923
|
})));
|
|
@@ -6890,7 +6961,7 @@ var core = /*#__PURE__*/_extends({}, common, {
|
|
|
6890
6961
|
colors: /*#__PURE__*/_extends({}, commonColors, colors, {
|
|
6891
6962
|
primary: colors.core,
|
|
6892
6963
|
primaryButton: colors.core,
|
|
6893
|
-
secondaryButton:
|
|
6964
|
+
secondaryButton: colors.core,
|
|
6894
6965
|
tertiaryButton: 'transparent',
|
|
6895
6966
|
auxiliaryButton: 'transparent',
|
|
6896
6967
|
primaryButtonReverseBg: colors.cinema,
|
|
@@ -6903,7 +6974,7 @@ var stream = /*#__PURE__*/_extends({}, common, {
|
|
|
6903
6974
|
primaryButton: colors.stream,
|
|
6904
6975
|
primaryButtonReverseBg: colors.cinema,
|
|
6905
6976
|
primaryButtonReverse: commonColors.white,
|
|
6906
|
-
secondaryButton:
|
|
6977
|
+
secondaryButton: colors.stream,
|
|
6907
6978
|
tertiaryButton: 'transparent',
|
|
6908
6979
|
auxiliaryButton: 'transparent'
|
|
6909
6980
|
})
|
|
@@ -6914,7 +6985,7 @@ var cinema = /*#__PURE__*/_extends({}, common, {
|
|
|
6914
6985
|
primaryButton: commonColors.white,
|
|
6915
6986
|
primaryButtonReverseBg: commonColors.white,
|
|
6916
6987
|
primaryButtonReverse: colors.cinema,
|
|
6917
|
-
secondaryButton:
|
|
6988
|
+
secondaryButton: colors.cinema,
|
|
6918
6989
|
tertiaryButton: 'transparent',
|
|
6919
6990
|
auxiliaryButton: 'transparent'
|
|
6920
6991
|
})
|
|
@@ -6925,7 +6996,7 @@ var schools = /*#__PURE__*/_extends({}, common, {
|
|
|
6925
6996
|
primaryButton: colors.core,
|
|
6926
6997
|
primaryButtonReverseBg: colors.cinema,
|
|
6927
6998
|
primaryButtonReverse: commonColors.white,
|
|
6928
|
-
secondaryButton:
|
|
6999
|
+
secondaryButton: colors.core,
|
|
6929
7000
|
tertiaryButton: 'transparent',
|
|
6930
7001
|
auxiliaryButton: 'transparent'
|
|
6931
7002
|
}),
|
|
@@ -7013,17 +7084,23 @@ var TextOnly = function TextOnly(_ref) {
|
|
|
7013
7084
|
})(exports.ButtonType || (exports.ButtonType = {}));
|
|
7014
7085
|
|
|
7015
7086
|
var _templateObject$J, _templateObject2$x, _templateObject3$n, _templateObject4$i, _templateObject5$d, _templateObject6$b, _templateObject7$7, _templateObject8$4;
|
|
7016
|
-
var Wrapper$2 = /*#__PURE__*/styled__default.div(_templateObject$J || (_templateObject$J = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--base-color-
|
|
7087
|
+
var Wrapper$2 = /*#__PURE__*/styled__default.div(_templateObject$J || (_templateObject$J = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--base-color-lightgrey);\n padding: 40px;\n\n display: block;\n position: relative;\n\n @media ", " {\n margin-top: 0;\n padding: 40px 20px;\n }\n"])), devices.tablet);
|
|
7017
7088
|
var PromoLabelWrapper = /*#__PURE__*/styled__default.div(_templateObject2$x || (_templateObject2$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-self: flex-end;\n height: 15px;\n"])));
|
|
7018
7089
|
var PromoLabel = /*#__PURE__*/styled__default.div(_templateObject3$n || (_templateObject3$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n padding: 6px 8px;\n width: fit-content;\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n right: 20px;\n top: 0;\n width: auto;\n margin: auto;\n font-family: var(--font-family-header);\n font-feature-settings:\n 'tnum' on,\n 'lnum' on,\n 'liga' off,\n 'calt' off;\n font-size: var(--font-size-overline-2);\n line-height: 12px;\n text-align: center;\n letter-spacing: 1px;\n text-transform: uppercase;\n"])), function (_ref) {
|
|
7019
7090
|
var theme = _ref.theme;
|
|
7020
7091
|
return theme.colors.primary;
|
|
7021
7092
|
}, exports.Colors.White);
|
|
7022
|
-
var ButtonContainer = /*#__PURE__*/styled__default.div(_templateObject4$i || (_templateObject4$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 2em;\n width: fit-content;\n"])))
|
|
7093
|
+
var ButtonContainer = /*#__PURE__*/styled__default.div(_templateObject4$i || (_templateObject4$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 2em;\n width: fit-content;\n display: flex;\n flex-direction: row;\n gap: 20px;\n\n @media ", " {\n width: 100%;\n flex-direction: column;\n gap: 16px;\n }\n\n ", "\n"])), function (_ref2) {
|
|
7094
|
+
var stackCtasEarly = _ref2.stackCtasEarly;
|
|
7095
|
+
return stackCtasEarly ? devices.smallDesktop + ", " + devices.mobileAndTablet : devices.mobile;
|
|
7096
|
+
}, function (_ref3) {
|
|
7097
|
+
var stackCtasEarly = _ref3.stackCtasEarly;
|
|
7098
|
+
return stackCtasEarly && "\n @media " + devices.smallDesktop + ", " + devices.mobileAndTablet + " {\n * {\n width: 100%;\n }\n }\n ";
|
|
7099
|
+
});
|
|
7023
7100
|
var TitleContainer$2 = /*#__PURE__*/styled__default.div(_templateObject5$d || (_templateObject5$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n & > * {\n margin-top: 0;\n margin-bottom: 0.5em;\n }\n"])));
|
|
7024
7101
|
var OfferTextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$b || (_templateObject6$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n & > * {\n margin-bottom: 0.5em;\n }\n margin-bottom: 1em;\n"])));
|
|
7025
7102
|
var PriceRow = /*#__PURE__*/styled__default.div(_templateObject7$7 || (_templateObject7$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px 12px;\n padding: 5px 0 8px 0;\n"])));
|
|
7026
|
-
var LineThrough = /*#__PURE__*/styled__default.div(_templateObject8$4 || (_templateObject8$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration-line: line-through;\n color: var(--base-color-
|
|
7103
|
+
var LineThrough = /*#__PURE__*/styled__default.div(_templateObject8$4 || (_templateObject8$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration-line: line-through;\n color: var(--base-color-darkgrey);\n"])));
|
|
7027
7104
|
|
|
7028
7105
|
// Set max. character length
|
|
7029
7106
|
var setMaxCharLength = function setMaxCharLength(value, maxLength) {
|
|
@@ -7066,8 +7143,13 @@ var UpsellCard = function UpsellCard(_ref) {
|
|
|
7066
7143
|
flag = _ref.flag,
|
|
7067
7144
|
offerTexts = _ref.offerTexts,
|
|
7068
7145
|
link = _ref.link,
|
|
7146
|
+
secondaryLink = _ref.secondaryLink,
|
|
7147
|
+
_ref$stackCtasEarly = _ref.stackCtasEarly,
|
|
7148
|
+
stackCtasEarly = _ref$stackCtasEarly === void 0 ? false : _ref$stackCtasEarly,
|
|
7069
7149
|
_ref$theme = _ref.theme,
|
|
7070
|
-
theme = _ref$theme === void 0 ? exports.ThemeType.Core : _ref$theme
|
|
7150
|
+
theme = _ref$theme === void 0 ? exports.ThemeType.Core : _ref$theme,
|
|
7151
|
+
_ref$secondaryTheme = _ref.secondaryTheme,
|
|
7152
|
+
secondaryTheme = _ref$secondaryTheme === void 0 ? exports.ThemeType.Core : _ref$secondaryTheme;
|
|
7071
7153
|
var truncate = function truncate(str, n) {
|
|
7072
7154
|
return str.length >= n ? str.slice(0, n) : str;
|
|
7073
7155
|
};
|
|
@@ -7086,13 +7168,17 @@ var UpsellCard = function UpsellCard(_ref) {
|
|
|
7086
7168
|
level: 4
|
|
7087
7169
|
}, formatPrice(promoPrice)))) : (/*#__PURE__*/React__default.createElement(PriceRow, null, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
7088
7170
|
level: 4
|
|
7089
|
-
}, formatPrice(price))))), (reducedOfferTexts == null ? void 0 : reducedOfferTexts.length) && reducedOfferTexts.map(function (offerText) {
|
|
7171
|
+
}, formatPrice(price))))), (reducedOfferTexts == null ? void 0 : reducedOfferTexts.length) && reducedOfferTexts.map(function (offerText, index) {
|
|
7090
7172
|
return /*#__PURE__*/React__default.createElement(OfferText, {
|
|
7091
|
-
key:
|
|
7173
|
+
key: "offer-" + index,
|
|
7092
7174
|
title: offerText.title,
|
|
7093
7175
|
description: offerText.description
|
|
7094
7176
|
});
|
|
7095
|
-
}), link
|
|
7177
|
+
}), ((link == null ? void 0 : link.text) || (secondaryLink == null ? void 0 : secondaryLink.text)) && (/*#__PURE__*/React__default.createElement(ButtonContainer, {
|
|
7178
|
+
stackCtasEarly: stackCtasEarly
|
|
7179
|
+
}, (link == null ? void 0 : link.text) && /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, link), truncate(link.text, LENGTH_SMALL_TEXT)), (secondaryLink == null ? void 0 : secondaryLink.text) && (/*#__PURE__*/React__default.createElement(Theme, {
|
|
7180
|
+
theme: secondaryTheme
|
|
7181
|
+
}, /*#__PURE__*/React__default.createElement(SecondaryButton, Object.assign({}, secondaryLink), truncate(secondaryLink.text, LENGTH_SMALL_TEXT))))))));
|
|
7096
7182
|
};
|
|
7097
7183
|
|
|
7098
7184
|
var _templateObject$K;
|
|
@@ -7102,7 +7188,7 @@ var UpsellCards = function UpsellCards(_ref) {
|
|
|
7102
7188
|
var upsellCards = _ref.upsellCards;
|
|
7103
7189
|
return /*#__PURE__*/React__default.createElement(Wrapper$3, null, upsellCards == null ? void 0 : upsellCards.map(function (card, index) {
|
|
7104
7190
|
return /*#__PURE__*/React__default.createElement(UpsellCard, {
|
|
7105
|
-
key: "
|
|
7191
|
+
key: "card-" + index,
|
|
7106
7192
|
title: card.title,
|
|
7107
7193
|
subTitle: card.subTitle,
|
|
7108
7194
|
price: card.price,
|
|
@@ -7110,7 +7196,10 @@ var UpsellCards = function UpsellCards(_ref) {
|
|
|
7110
7196
|
flag: card.flag,
|
|
7111
7197
|
offerTexts: card.offerTexts,
|
|
7112
7198
|
link: card.link,
|
|
7113
|
-
|
|
7199
|
+
secondaryLink: card.secondaryLink,
|
|
7200
|
+
stackCtasEarly: true,
|
|
7201
|
+
theme: card.theme,
|
|
7202
|
+
secondaryTheme: card.secondaryTheme
|
|
7114
7203
|
});
|
|
7115
7204
|
}));
|
|
7116
7205
|
};
|
|
@@ -7124,7 +7213,8 @@ var UpsellSection = function UpsellSection(_ref) {
|
|
|
7124
7213
|
theme = _ref$theme === void 0 ? exports.ThemeType.Core : _ref$theme;
|
|
7125
7214
|
var themedUpsellCards = upsellCards ? [].concat(upsellCards).map(function (card) {
|
|
7126
7215
|
return _extends({}, card, {
|
|
7127
|
-
theme: card.theme || theme
|
|
7216
|
+
theme: card.theme || theme,
|
|
7217
|
+
secondaryTheme: card.secondaryTheme || theme
|
|
7128
7218
|
});
|
|
7129
7219
|
}) : [];
|
|
7130
7220
|
return /*#__PURE__*/React__default.createElement(Theme, {
|
|
@@ -8524,54 +8614,44 @@ var Cards = function Cards(_ref) {
|
|
|
8524
8614
|
}));
|
|
8525
8615
|
};
|
|
8526
8616
|
|
|
8527
|
-
var _templateObject$W, _templateObject2$H, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
8528
|
-
var ContentWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject$W || (_templateObject$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
8529
|
-
var Wrapper$4 = /*#__PURE__*/styled__default.div(_templateObject2$H || (_templateObject2$H = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
}, devices.mobileAndTablet);
|
|
8536
|
-
var AddressWrapperDesktop = /*#__PURE__*/styled__default.div(_templateObject3$u || (_templateObject3$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n @media ", " {\n display: none;\n }\n"])), devices.mobile);
|
|
8537
|
-
var AddressWrapperMobile = /*#__PURE__*/styled__default.div(_templateObject4$p || (_templateObject4$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: none;\n\n & > div {\n margin-bottom: 2px;\n }\n\n @media ", " {\n display: block;\n }\n"])), devices.mobile);
|
|
8538
|
-
var DetailsWrapper = /*#__PURE__*/styled__default.div(_templateObject5$j || (_templateObject5$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n\n @media ", " {\n flex-direction: column;\n margin: 4px 0;\n }\n\n a {\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-weight: var(--font-weight-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n line-height: var(--line-height-body-1);\n text-transform: var(--text-transform-body);\n color: var(--base-color-black);\n text-decoration: underline;\n\n &:before {\n display: inline-block;\n content: '';\n background-color: var(--base-color-black);\n width: 1px;\n height: 18px;\n margin: 0 8px -4px;\n\n @media ", " {\n display: none;\n }\n }\n\n &:first-child:before {\n display: none;\n }\n }\n"])), devices.mobile, devices.mobile);
|
|
8617
|
+
var _templateObject$W, _templateObject2$H, _templateObject3$u, _templateObject4$p, _templateObject5$j, _templateObject6$g, _templateObject7$b;
|
|
8618
|
+
var ContentWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject$W || (_templateObject$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n @media ", " {\n grid-column: 2 / span 12;\n }\n"])), devices.mobileAndTablet);
|
|
8619
|
+
var Wrapper$4 = /*#__PURE__*/styled__default.div(_templateObject2$H || (_templateObject2$H = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n @media ", " {\n display: grid;\n grid-template-columns: var(--grid-template-columns);\n grid-template-rows: max-content;\n gap: var(--grid-column-gap);\n margin: 0;\n }\n"])), devices.mobileAndTablet);
|
|
8620
|
+
var AddressWrapper = /*#__PURE__*/styled__default.div(_templateObject3$u || (_templateObject3$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 4px;\n"])));
|
|
8621
|
+
var TitleWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject4$p || (_templateObject4$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: baseline;\n gap: 3px;\n"])));
|
|
8622
|
+
var MobileSuffixWrapper = /*#__PURE__*/styled__default.div(_templateObject5$j || (_templateObject5$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: none;\n\n @media ", " {\n display: block;\n }\n"])), devices.mobile);
|
|
8623
|
+
var DesktopSuffixWrapper = /*#__PURE__*/styled__default.div(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: block;\n\n @media ", " {\n display: none;\n }\n"])), devices.mobile);
|
|
8624
|
+
var DetailsWrapper = /*#__PURE__*/styled__default.div(_templateObject7$b || (_templateObject7$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n a {\n font-family: var(--font-family-sans);\n font-weight: 400;\n font-size: 19px;\n line-height: 26px;\n letter-spacing: -0.5px;\n color: var(--color-base-black);\n text-decoration: underline;\n text-underline-offset: 4px;\n margin-right: 13px;\n display: inline-block;\n\n &:last-child {\n margin-right: 0;\n }\n\n @media ", " {\n font-size: 17px;\n line-height: 24px;\n }\n }\n"])), devices.mobile);
|
|
8539
8625
|
|
|
8540
|
-
var divideAddressString = function divideAddressString(address) {
|
|
8541
|
-
return address.split(',').map(function (chunk, i) {
|
|
8542
|
-
return /*#__PURE__*/React__default.createElement(BodyText, {
|
|
8543
|
-
level: 1,
|
|
8544
|
-
key: i
|
|
8545
|
-
}, chunk.trim());
|
|
8546
|
-
});
|
|
8547
|
-
};
|
|
8548
8626
|
var ContactCard = function ContactCard(_ref) {
|
|
8549
|
-
var
|
|
8627
|
+
var title = _ref.title,
|
|
8628
|
+
titleSuffix = _ref.titleSuffix,
|
|
8550
8629
|
description = _ref.description,
|
|
8551
8630
|
email = _ref.email,
|
|
8552
8631
|
phone = _ref.phone,
|
|
8553
8632
|
website = _ref.website,
|
|
8554
8633
|
address = _ref.address,
|
|
8555
|
-
|
|
8556
|
-
hideBottomBorder = _ref$hideBottomBorder === void 0 ? false : _ref$hideBottomBorder,
|
|
8557
|
-
_ref$hideTopBorder = _ref.hideTopBorder,
|
|
8558
|
-
hideTopBorder = _ref$hideTopBorder === void 0 ? false : _ref$hideTopBorder;
|
|
8634
|
+
className = _ref.className;
|
|
8559
8635
|
var hasDetails = email || phone || website;
|
|
8560
8636
|
var addressString = address == null ? void 0 : address.substring(0, 110);
|
|
8561
8637
|
var descriptionText = description == null ? void 0 : description.substring(0, 110);
|
|
8562
|
-
return /*#__PURE__*/React__default.createElement(
|
|
8563
|
-
|
|
8564
|
-
|
|
8638
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
8639
|
+
className: className
|
|
8640
|
+
}, /*#__PURE__*/React__default.createElement(Grid, null, /*#__PURE__*/React__default.createElement(GridItem, {
|
|
8641
|
+
columnStartDesktop: 2,
|
|
8642
|
+
columnSpanDesktop: 12,
|
|
8565
8643
|
columnStartDevice: 1,
|
|
8566
8644
|
columnSpanDevice: 14
|
|
8567
8645
|
}, /*#__PURE__*/React__default.createElement(Wrapper$4, {
|
|
8568
|
-
"data-testid": "contact-card-wrapper"
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
8572
|
-
|
|
8573
|
-
},
|
|
8574
|
-
|
|
8646
|
+
"data-testid": "contact-card-wrapper"
|
|
8647
|
+
}, /*#__PURE__*/React__default.createElement(ContentWrapper$1, null, /*#__PURE__*/React__default.createElement(TitleWrapper$2, null, /*#__PURE__*/React__default.createElement(HarmonicSubtitle, {
|
|
8648
|
+
size: "large"
|
|
8649
|
+
}, title), /*#__PURE__*/React__default.createElement(MobileSuffixWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
8650
|
+
size: "small"
|
|
8651
|
+
}, titleSuffix)), /*#__PURE__*/React__default.createElement(DesktopSuffixWrapper, null, /*#__PURE__*/React__default.createElement(HarmonicOverline, {
|
|
8652
|
+
size: "small"
|
|
8653
|
+
}, titleSuffix))), descriptionText && /*#__PURE__*/React__default.createElement(HarmonicSubtitle, {
|
|
8654
|
+
size: "large"
|
|
8575
8655
|
}, descriptionText), hasDetails && (/*#__PURE__*/React__default.createElement(DetailsWrapper, {
|
|
8576
8656
|
"data-testid": "contact-card-details-block"
|
|
8577
8657
|
}, email && (/*#__PURE__*/React__default.createElement("a", {
|
|
@@ -8587,27 +8667,25 @@ var ContactCard = function ContactCard(_ref) {
|
|
|
8587
8667
|
rel: "noreferrer"
|
|
8588
8668
|
}, website)))), addressString && (/*#__PURE__*/React__default.createElement("div", {
|
|
8589
8669
|
"data-testid": "contact-card-address-block"
|
|
8590
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
8591
|
-
|
|
8592
|
-
}, addressString))
|
|
8670
|
+
}, /*#__PURE__*/React__default.createElement(AddressWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
8671
|
+
size: "large"
|
|
8672
|
+
}, addressString)))))))));
|
|
8593
8673
|
};
|
|
8594
8674
|
|
|
8595
|
-
var _templateObject$X, _templateObject2$I, _templateObject3$v, _templateObject4$q, _templateObject5$k, _templateObject6$
|
|
8596
|
-
var BodyTextRelative = /*#__PURE__*/styled__default(
|
|
8597
|
-
var ContentSummaryWrapper = /*#__PURE__*/styled__default.article(_templateObject2$I || (_templateObject2$I = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n justify-items: start;\n align-items: center;\n margin: 20px 0;\n gap:
|
|
8675
|
+
var _templateObject$X, _templateObject2$I, _templateObject3$v, _templateObject4$q, _templateObject5$k, _templateObject6$h;
|
|
8676
|
+
var BodyTextRelative = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject$X || (_templateObject$X = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n"])));
|
|
8677
|
+
var ContentSummaryWrapper = /*#__PURE__*/styled__default.article(_templateObject2$I || (_templateObject2$I = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n justify-items: start;\n align-items: center;\n margin: 20px 0;\n gap: 36px;\n cursor: ", ";\n\n @media ", " {\n display: flex;\n flex-direction: column;\n gap: 24px;\n }\n"])), function (props) {
|
|
8598
8678
|
return props.clickable ? 'pointer' : 'default';
|
|
8599
8679
|
}, devices.mobile);
|
|
8600
8680
|
var ContentSummaryImageWrapper = /*#__PURE__*/styled__default.div(_templateObject3$v || (_templateObject3$v = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 0 0 33.3%;\n"])));
|
|
8601
|
-
var ContentSummaryTextWrapper = /*#__PURE__*/styled__default.div(_templateObject4$q || (_templateObject4$q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-column: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n gap:
|
|
8681
|
+
var ContentSummaryTextWrapper = /*#__PURE__*/styled__default.div(_templateObject4$q || (_templateObject4$q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-column: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n gap: 20px;\n\n & * {\n margin-block-start: 0;\n margin-block-end: 0;\n }\n\n @media ", " {\n margin: 0 20px;\n }\n\n & .content-summary-text-link {\n height: unset;\n }\n"])), function (props) {
|
|
8602
8682
|
return props.showImage ? 2 : '1 / span 4';
|
|
8603
8683
|
}, devices.mobile);
|
|
8604
|
-
var
|
|
8605
|
-
var
|
|
8606
|
-
var ContentSummaryBodyTextWrapper = /*#__PURE__*/styled__default.div(_templateObject7$b || (_templateObject7$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n & p:not(:last-child):after {\n content: '\\A\\A';\n white-space: pre;\n }\n\n ", "\n"], ["\n & p:not(:last-child):after {\n content: '\\\\A\\\\A';\n white-space: pre;\n }\n\n ", "\n"])), function (props) {
|
|
8684
|
+
var BodyTextLimit = /*#__PURE__*/styled__default.div(_templateObject5$k || (_templateObject5$k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: block;\n position: relative;\n"])));
|
|
8685
|
+
var ContentSummaryBodyTextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$h || (_templateObject6$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n & p:not(:last-child):after {\n content: '\\A\\A';\n white-space: pre;\n }\n\n ", "\n"], ["\n & p:not(:last-child):after {\n content: '\\\\A\\\\A';\n white-space: pre;\n }\n\n ", "\n"])), function (props) {
|
|
8607
8686
|
return !!props.truncate && "\n overflow: hidden;\n position: relative;\n display: -webkit-box;\n -webkit-line-clamp: " + props.truncate + ";\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n min-height: 1em;\n max-height: 3em;\n ";
|
|
8608
8687
|
});
|
|
8609
8688
|
|
|
8610
|
-
var MAX_HEADER_LEVEL = 6;
|
|
8611
8689
|
var clickHandler = function clickHandler(link) {
|
|
8612
8690
|
if (link != null && link.href && document) {
|
|
8613
8691
|
document.location.href = link.href;
|
|
@@ -8627,9 +8705,11 @@ var ContentSummary = function ContentSummary(_ref) {
|
|
|
8627
8705
|
truncate = _ref$truncate === void 0 ? 0 : _ref$truncate,
|
|
8628
8706
|
_ref$fullyClickable = _ref.fullyClickable,
|
|
8629
8707
|
fullyClickable = _ref$fullyClickable === void 0 ? true : _ref$fullyClickable,
|
|
8630
|
-
_ref$
|
|
8631
|
-
|
|
8708
|
+
_ref$headerSemanticLe = _ref.headerSemanticLevel,
|
|
8709
|
+
headerSemanticLevel = _ref$headerSemanticLe === void 0 ? 'h3' : _ref$headerSemanticLe,
|
|
8710
|
+
className = _ref.className;
|
|
8632
8711
|
return /*#__PURE__*/React__default.createElement(ContentSummaryWrapper, {
|
|
8712
|
+
className: className,
|
|
8633
8713
|
onClick: function onClick() {
|
|
8634
8714
|
if (fullyClickable) {
|
|
8635
8715
|
clickHandler(link);
|
|
@@ -8639,31 +8719,32 @@ var ContentSummary = function ContentSummary(_ref) {
|
|
|
8639
8719
|
"data-roh": "content-summary-item"
|
|
8640
8720
|
}, showImage && image && (/*#__PURE__*/React__default.createElement(ContentSummaryImageWrapper, {
|
|
8641
8721
|
"data-testid": "image-wrapper"
|
|
8642
|
-
}, /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
8643
|
-
aspectRatio: exports.AspectRatio['4:3']
|
|
8644
8722
|
}, link != null && link.href ? (/*#__PURE__*/React__default.createElement("a", {
|
|
8645
8723
|
href: link.href
|
|
8724
|
+
}, /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
8725
|
+
aspectRatio: exports.AspectRatio['4:3']
|
|
8646
8726
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
8647
8727
|
src: image.src,
|
|
8648
8728
|
alt: image.alt
|
|
8649
|
-
}))) : (/*#__PURE__*/React__default.createElement(
|
|
8729
|
+
})))) : (/*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
8730
|
+
aspectRatio: exports.AspectRatio['4:3']
|
|
8731
|
+
}, /*#__PURE__*/React__default.createElement("img", {
|
|
8650
8732
|
src: image.src,
|
|
8651
8733
|
alt: image.alt
|
|
8652
8734
|
}))))), /*#__PURE__*/React__default.createElement(ContentSummaryTextWrapper, {
|
|
8653
8735
|
showImage: showImage
|
|
8654
|
-
}, title && (/*#__PURE__*/React__default.createElement(
|
|
8736
|
+
}, title && (/*#__PURE__*/React__default.createElement("div", {
|
|
8655
8737
|
"data-testid": largeTitle ? 'large-title' : 'default-title'
|
|
8656
|
-
}, largeTitle ? (/*#__PURE__*/React__default.createElement(
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
}, title)) : (/*#__PURE__*/React__default.createElement(
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
}, title)))), subtitle &&
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
level: 1
|
|
8738
|
+
}, largeTitle ? (/*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
8739
|
+
size: "large",
|
|
8740
|
+
hierarchy: headerSemanticLevel
|
|
8741
|
+
}, title)) : (/*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
8742
|
+
size: "medium",
|
|
8743
|
+
hierarchy: headerSemanticLevel
|
|
8744
|
+
}, title)))), subtitle && /*#__PURE__*/React__default.createElement(HarmonicSubtitle, {
|
|
8745
|
+
size: "large"
|
|
8746
|
+
}, subtitle), bodyText && (/*#__PURE__*/React__default.createElement(BodyTextRelative, {
|
|
8747
|
+
size: "large"
|
|
8667
8748
|
}, /*#__PURE__*/React__default.createElement(BodyTextLimit, null, /*#__PURE__*/React__default.createElement(ContentSummaryBodyTextWrapper, {
|
|
8668
8749
|
truncate: truncate,
|
|
8669
8750
|
dangerouslySetInnerHTML: {
|
|
@@ -8960,7 +9041,7 @@ var Information = function Information(_ref) {
|
|
|
8960
9041
|
})))));
|
|
8961
9042
|
};
|
|
8962
9043
|
|
|
8963
|
-
var _templateObject$$, _templateObject2$M, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$
|
|
9044
|
+
var _templateObject$$, _templateObject2$M, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$i, _templateObject7$c, _templateObject8$8;
|
|
8964
9045
|
var PageHeadingWrapper = /*#__PURE__*/styled__default('div')(_templateObject$$ || (_templateObject$$ = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 80px;\n background-color: var(--page-header-bg-color);\n color: var(--color-base-white);\n\n ", ";\n\n h1,\n h2,\n h3 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n padding-bottom: 0;\n }\n"])), function (_ref) {
|
|
8965
9046
|
var isPageHeadingWithoutTitle = _ref.isPageHeadingWithoutTitle;
|
|
8966
9047
|
return isPageHeadingWithoutTitle && "\n padding-bottom: 42px;\n ";
|
|
@@ -8970,7 +9051,7 @@ var BadgeWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject3$z || (_te
|
|
|
8970
9051
|
var isPageHeadingWithoutTitle = _ref2.isPageHeadingWithoutTitle;
|
|
8971
9052
|
return isPageHeadingWithoutTitle && "\n height: 50px;\n padding-bottom: 0;\n margin: 10px 0;\n ";
|
|
8972
9053
|
});
|
|
8973
|
-
var TitleWrapper$
|
|
9054
|
+
var TitleWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject4$t || (_templateObject4$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: title;\n margin-top: 80px;\n\n ", ";\n\n @media ", " {\n & {\n margin-top: 0;\n }\n }\n"])), function (_ref3) {
|
|
8974
9055
|
var isPageHeadingWithoutTitle = _ref3.isPageHeadingWithoutTitle;
|
|
8975
9056
|
return isPageHeadingWithoutTitle && "\n margin-top: 42px;\n ";
|
|
8976
9057
|
}, devices.mobile);
|
|
@@ -8978,7 +9059,7 @@ var ChildrenWrapper = /*#__PURE__*/styled__default.div(_templateObject5$m || (_t
|
|
|
8978
9059
|
var isPageHeadingWithoutTitle = _ref4.isPageHeadingWithoutTitle;
|
|
8979
9060
|
return isPageHeadingWithoutTitle && "\n margin: 10px 0;\n ";
|
|
8980
9061
|
}, devices.mobile);
|
|
8981
|
-
var TextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
9062
|
+
var TextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$i || (_templateObject6$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-base-white);\n grid-area: text;\n align-self: end;\n margin-top: 12px;\n\n h6 {\n margin: 0;\n padding: 0;\n }\n"])));
|
|
8982
9063
|
var LogoWrapper = /*#__PURE__*/styled__default.div(_templateObject7$c || (_templateObject7$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: logo;\n justify-self: end;\n margin-top: 20px;\n position: relative;\n\n > div {\n position: absolute;\n top: 0;\n right: 0;\n }\n\n ", ";\n\n @media ", " {\n & {\n align-self: start;\n margin-top: 0;\n\n ", ";\n }\n }\n"])), function (_ref5) {
|
|
8983
9064
|
var isPageHeadingWithoutTitle = _ref5.isPageHeadingWithoutTitle;
|
|
8984
9065
|
return isPageHeadingWithoutTitle && "\n margin-top: 40px;\n ";
|
|
@@ -9036,7 +9117,7 @@ var PageHeading = function PageHeading(_ref) {
|
|
|
9036
9117
|
className: className,
|
|
9037
9118
|
"data-testid": "page-heading-wrapper",
|
|
9038
9119
|
isPageHeadingWithoutTitle: isTitleUnAvailable
|
|
9039
|
-
}, /*#__PURE__*/React__default.createElement(PageHeadingGrid, null, /*#__PURE__*/React__default.createElement(TitleWrapper$
|
|
9120
|
+
}, /*#__PURE__*/React__default.createElement(PageHeadingGrid, null, /*#__PURE__*/React__default.createElement(TitleWrapper$3, {
|
|
9040
9121
|
"data-testid": "page-heading-title",
|
|
9041
9122
|
isPageHeadingWithoutTitle: isTitleUnAvailable
|
|
9042
9123
|
}, renderBadge(theme), children ? (/*#__PURE__*/React__default.createElement(ChildrenWrapper, {
|
|
@@ -9061,13 +9142,13 @@ var PageHeading = function PageHeading(_ref) {
|
|
|
9061
9142
|
}, /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, themedLink), linkText))) : null));
|
|
9062
9143
|
};
|
|
9063
9144
|
|
|
9064
|
-
var _templateObject$10, _templateObject2$N, _templateObject3$A, _templateObject4$u, _templateObject5$n, _templateObject6$
|
|
9145
|
+
var _templateObject$10, _templateObject2$N, _templateObject3$A, _templateObject4$u, _templateObject5$n, _templateObject6$j, _templateObject7$d, _templateObject8$9;
|
|
9065
9146
|
var ImpactWrapper = /*#__PURE__*/styled__default.div(_templateObject$10 || (_templateObject$10 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n aspect-ratio: 16 / 9;\n @supports not (aspect-ratio: 16 / 9) {\n height: 56.25vw;\n }\n\n position: relative;\n display: flex;\n background: var(--base-color-black);\n\n @media ", " {\n aspect-ratio: 1 / 1;\n @supports not (aspect-ratio: 1 / 1) {\n height: 100vw;\n }\n }\n"])), devices.mobile);
|
|
9066
9147
|
var ImpactHeaderImageWrapper = /*#__PURE__*/styled__default.div(_templateObject2$N || (_templateObject2$N = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n overflow: hidden;\n aspect-ratio: 16 / 9;\n @supports not (aspect-ratio: 16 / 9) {\n height: 56.25vw;\n }\n\n img {\n width: 100%;\n filter: brightness(0.7);\n opacity: 0.95;\n }\n\n @media ", " {\n height: fit-content;\n aspect-ratio: 1 / 1;\n @supports not (aspect-ratio: 1 / 1) {\n height: 100vw;\n }\n\n img {\n height: 100%;\n object-fit: cover;\n }\n }\n"])), devices.mobile);
|
|
9067
9148
|
var ImpactGrid = /*#__PURE__*/styled__default(Grid)(_templateObject3$A || (_templateObject3$A = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n align-self: center;\n width: 100%;\n z-index: ", ";\n gap: 0 var(--grid-column-gap);\n grid-template-rows: min-content min-content min-content;\n grid-template-areas:\n '. . . . . logo logo logo logo logo logo . . . . .'\n '. . . text text text text text text text text text text . . .'\n '. . . button button button button button button button button button button . . .';\n\n @media ", " {\n & {\n height: 100%;\n grid-template-rows: 1fr max-content 1fr;\n grid-template-areas:\n '. . . logo logo logo logo logo logo logo logo . . .'\n '. text text text text text text text text text text text text .'\n '. button button button button button button button button button button button button .';\n }\n }\n\n @media ", " {\n align-content: center;\n\n & {\n grid-template-areas:\n '. . . logo logo logo logo logo logo logo logo . . .'\n '. . text text text text text text text text text text . .'\n '. . button button button button button button button button button button . .';\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
|
|
9068
9149
|
var SponsorWrapper = /*#__PURE__*/styled__default.div(_templateObject4$u || (_templateObject4$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 20px;\n right: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @media ", " {\n & {\n right: var(--grid-margin);\n }\n }\n"])), zIndexes.sponsorship, devices.mobileAndTablet);
|
|
9069
9150
|
var LogoWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject5$n || (_templateObject5$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: logo;\n align-self: end;\n"])));
|
|
9070
|
-
var TextWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
9151
|
+
var TextWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject6$j || (_templateObject6$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: text;\n color: var(--base-color-white);\n text-align: center;\n margin-top: 40px;\n max-height: calc(2 * var(--line-height-header-3));\n overflow: hidden;\n\n h3 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n max-height: calc(4 * var(--line-height-header-3));\n }\n }\n\n @media ", " {\n & {\n margin-top: 12px;\n max-height: calc(4 * var(--line-height-header-3));\n }\n\n h3 {\n font-size: var(--font-size-header-3);\n letter-spacing: var(--letter-spacing-header-5);\n line-height: var(--line-height-header-5);\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
9071
9152
|
var ButtonWrapper$2 = /*#__PURE__*/styled__default.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);
|
|
9072
9153
|
var ScrollDownWrapper = /*#__PURE__*/styled__default.div(_templateObject8$9 || (_templateObject8$9 = /*#__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);
|
|
9073
9154
|
|
|
@@ -9176,7 +9257,7 @@ var PageHeadingPanel = function PageHeadingPanel(_ref) {
|
|
|
9176
9257
|
})))));
|
|
9177
9258
|
};
|
|
9178
9259
|
|
|
9179
|
-
var _templateObject$12, _templateObject2$P, _templateObject3$C, _templateObject4$w, _templateObject5$p, _templateObject6$
|
|
9260
|
+
var _templateObject$12, _templateObject2$P, _templateObject3$C, _templateObject4$w, _templateObject5$p, _templateObject6$k, _templateObject7$e, _templateObject8$a, _templateObject9$5, _templateObject0$5, _templateObject1$3;
|
|
9180
9261
|
var Wrapper$5 = /*#__PURE__*/styled__default.section(_templateObject$12 || (_templateObject$12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
|
|
9181
9262
|
var ImageWrapper = /*#__PURE__*/styled__default.div(_templateObject2$P || (_templateObject2$P = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n\n picture,\n img {\n width: 100%;\n height: 100%;\n }\n"])));
|
|
9182
9263
|
var SponsorWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject3$C || (_templateObject3$C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 20px;\n right: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @media ", " {\n & {\n right: var(--grid-margin);\n }\n }\n"])), zIndexes.sponsorship, devices.mobileAndTablet);
|
|
@@ -9188,7 +9269,7 @@ var ContentSection = /*#__PURE__*/styled__default.div(_templateObject5$p || (_te
|
|
|
9188
9269
|
var showBlock = _ref2.showBlock;
|
|
9189
9270
|
return showBlock ? 'block' : 'none';
|
|
9190
9271
|
}, devices.mobile);
|
|
9191
|
-
var BadgeWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
9272
|
+
var BadgeWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject6$k || (_templateObject6$k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n svg {\n height: 32px;\n }\n\n @media ", " {\n margin-bottom: 12px;\n }\n"])), devices.mobile);
|
|
9192
9273
|
var AdditionalContentWrapper = /*#__PURE__*/styled__default.div(_templateObject7$e || (_templateObject7$e = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: start;\n align-items: center;\n width: 200px;\n\n @media ", " {\n order: ", ";\n width: 100%;\n justify-content: center;\n }\n"])), devices.mobile, function (_ref3) {
|
|
9193
9274
|
var isBadgePresent = _ref3.isBadgePresent;
|
|
9194
9275
|
return isBadgePresent ? '1' : '4';
|
|
@@ -9198,7 +9279,7 @@ var MainButtonWrapper = /*#__PURE__*/styled__default.div(_templateObject8$a || (
|
|
|
9198
9279
|
return isAdditionalButtonPresent ? '20px' : '0';
|
|
9199
9280
|
});
|
|
9200
9281
|
var AdditionalButtonWrapper = /*#__PURE__*/styled__default.div(_templateObject9$5 || (_templateObject9$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n @media ", " {\n width: 100%;\n display: flex;\n justify-content: center;\n }\n"])), devices.mobile);
|
|
9201
|
-
var TitleWrapper$
|
|
9282
|
+
var TitleWrapper$4 = /*#__PURE__*/styled__default.div(_templateObject0$5 || (_templateObject0$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-align: center;\n padding: 10px 0;\n\n h1,\n h2,\n h3 {\n color: ", ";\n }\n\n @media ", " {\n padding: 0;\n order: 2;\n margin-bottom: ", ";\n }\n"])), function (_ref5) {
|
|
9202
9283
|
var theme = _ref5.theme;
|
|
9203
9284
|
return theme == exports.ThemeType.Cinema ? 'var(--color-base-black)' : 'var(--color-base-white)';
|
|
9204
9285
|
}, devices.mobile, function (_ref6) {
|
|
@@ -9352,7 +9433,7 @@ var PageHeadingPromo = function PageHeadingPromo(_ref) {
|
|
|
9352
9433
|
}), !badge && (/*#__PURE__*/React__default.createElement(AdditionalButtonWrapper, null, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
9353
9434
|
theme: theme,
|
|
9354
9435
|
link: additionalLink
|
|
9355
|
-
}))))), title && (/*#__PURE__*/React__default.createElement(TitleWrapper$
|
|
9436
|
+
}))))), title && (/*#__PURE__*/React__default.createElement(TitleWrapper$4, {
|
|
9356
9437
|
theme: theme,
|
|
9357
9438
|
isButtonPresent: !!mainLink || !!additionalLink
|
|
9358
9439
|
}, /*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
@@ -9370,7 +9451,7 @@ var PageHeadingPromo = function PageHeadingPromo(_ref) {
|
|
|
9370
9451
|
theme: theme,
|
|
9371
9452
|
badge: badge,
|
|
9372
9453
|
isMobile: isMobile
|
|
9373
|
-
}))), title && (/*#__PURE__*/React__default.createElement(TitleWrapper$
|
|
9454
|
+
}))), title && (/*#__PURE__*/React__default.createElement(TitleWrapper$4, {
|
|
9374
9455
|
theme: theme,
|
|
9375
9456
|
isButtonPresent: !!mainLink || !!additionalLink
|
|
9376
9457
|
}, /*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
@@ -9390,12 +9471,12 @@ var PageHeadingPromo = function PageHeadingPromo(_ref) {
|
|
|
9390
9471
|
})))))))))));
|
|
9391
9472
|
};
|
|
9392
9473
|
|
|
9393
|
-
var _templateObject$13, _templateObject2$Q, _templateObject3$D, _templateObject5$q, _templateObject6$
|
|
9474
|
+
var _templateObject$13, _templateObject2$Q, _templateObject3$D, _templateObject5$q, _templateObject6$l, _templateObject7$f, _templateObject8$b, _templateObject9$6, _templateObject0$6;
|
|
9394
9475
|
var BrandingTextBlock = /*#__PURE__*/styled__default.div(_templateObject$13 || (_templateObject$13 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: var(--font-size-body-2);\n font-family: var(--font-family-header);\n text-transform: uppercase;\n margin: 0;\n white-space: nowrap;\n @media screen and (max-width: 920px) {\n white-space: normal;\n }\n @media ", " {\n white-space: nowrap;\n }\n"])), devices.mobile);
|
|
9395
9476
|
var BrandingTextBody = /*#__PURE__*/styled__default.div(_templateObject2$Q || (_templateObject2$Q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-size: var(--font-size-heading-6);\n line-height: var(--line-height-heading-6);\n"])));
|
|
9396
9477
|
var ComapctHeaderWrapper = /*#__PURE__*/styled__default.div(_templateObject3$D || (_templateObject3$D = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n display: block;\n"])));
|
|
9397
9478
|
var CompactHeaderAssetWrapper = /*#__PURE__*/styled__default.div(_templateObject5$q || (_templateObject5$q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 37.5vw;\n width: 100%;\n position: relative;\n overflow: hidden;\n background-color: #000;\n img {\n position: relative;\n height: 100%;\n width: 100%;\n object-fit: cover;\n }\n video {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n object-fit: contain;\n @media ", " {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n margin: auto;\n height: auto;\n max-height: 100vh;\n width: 100%;\n object-fit: contain;\n }\n }\n @media ", " {\n height: 85vw;\n max-height: 100vh;\n }\n"])), devices.mobile, devices.mobile);
|
|
9398
|
-
var CompactHeaderCopyWrapper = /*#__PURE__*/styled__default(Grid)(_templateObject6$
|
|
9479
|
+
var CompactHeaderCopyWrapper = /*#__PURE__*/styled__default(Grid)(_templateObject6$l || (_templateObject6$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: 160px;\n grid-template-rows: min-content min-content;\n grid-template-rows: min-content min-content;\n grid-template-columns: [logo] 1fr [title] 3fr [cta] 1fr;\n align-content: center;\n gap: 0;\n background-color: ", ";\n color: ", ";\n\n svg {\n width: 210px;\n fill: ", ";\n }\n\n h1::selection,\n div::selection {\n ", ";\n }\n\n @media ", " {\n svg {\n width: 145px;\n }\n }\n\n @media ", " {\n display: flex;\n flex-direction: column;\n height: auto;\n padding: 32px 20px;\n\n svg {\n width: 180px;\n }\n }\n"])), function (_ref) {
|
|
9399
9480
|
var invert = _ref.invert,
|
|
9400
9481
|
theme = _ref.theme;
|
|
9401
9482
|
return invert ? theme.colors.white : theme.colors.primary;
|
|
@@ -9644,15 +9725,21 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
9644
9725
|
}), linkText))))));
|
|
9645
9726
|
};
|
|
9646
9727
|
|
|
9647
|
-
var _templateObject$14, _templateObject2$R, _templateObject3$E, _templateObject4$x;
|
|
9728
|
+
var _templateObject$14, _templateObject2$R, _templateObject3$E, _templateObject4$x, _templateObject5$r, _templateObject6$m, _templateObject7$g;
|
|
9729
|
+
// Keep MorePages for Table component until restyle
|
|
9648
9730
|
var MorePages = /*#__PURE__*/styled__default.span(_templateObject$14 || (_templateObject$14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: not-allowed;\n pointer-events: none;\n"])));
|
|
9649
|
-
var
|
|
9650
|
-
|
|
9651
|
-
var
|
|
9731
|
+
var PaginationLink = /*#__PURE__*/styled__default.a(_templateObject2$R || (_templateObject2$R = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration: none;\n color: inherit;\n"])));
|
|
9732
|
+
var PageNumberWrapper = /*#__PURE__*/styled__default.ol(_templateObject3$E || (_templateObject3$E = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n min-width: fit-content;\n align-items: center;\n justify-content: center;\n margin-top: 40px;\n margin-bottom: 40px;\n flex-wrap: nowrap;\n flex-direction: row;\n list-style: none;\n padding: 0;\n max-width: fit-content;\n margin: auto;\n li {\n margin-left: 24px;\n color: var(--color-base-black);\n display: flex;\n align-items: center;\n }\n li:first-child {\n margin-left: 0px;\n }\n"])));
|
|
9733
|
+
var LastPageItem = /*#__PURE__*/styled__default.li(_templateObject4$x || (_templateObject4$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n margin-left: 12px;\n }\n"])));
|
|
9734
|
+
var PreviousPageItem = /*#__PURE__*/styled__default.li(_templateObject5$r || (_templateObject5$r = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n margin-left: 12px;\n }\n"])));
|
|
9735
|
+
var TextLinkPagination = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject6$m || (_templateObject6$m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n color: ", ";\n border-bottom: ", ";\n }\n\n :hover {\n cursor: pointer;\n color: var(--color-primary-red);\n border-bottom: 1px solid var(--color-primary-red);\n svg > path {\n fill: var(--color-base-black);\n }\n }\n"])), function (_ref) {
|
|
9652
9736
|
var active = _ref.active;
|
|
9653
|
-
return active
|
|
9737
|
+
return active ? "var(--color-primary-red)" : 'inherit';
|
|
9738
|
+
}, function (_ref2) {
|
|
9739
|
+
var active = _ref2.active;
|
|
9740
|
+
return "1px solid " + (active ? 'var(--color-primary-red)' : 'transparent');
|
|
9654
9741
|
});
|
|
9655
|
-
var
|
|
9742
|
+
var PageNav = /*#__PURE__*/styled__default.a(_templateObject7$g || (_templateObject7$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: inline-flex;\n width: 25px;\n align-items: center;\n justify-content: center;\n margin-left: 0;\n span {\n height: 1.5em;\n svg > path {\n fill: var(--color-base-black);\n }\n }\n"])));
|
|
9656
9743
|
|
|
9657
9744
|
var reducePages = function reducePages(pages, currentPage) {
|
|
9658
9745
|
// If there are less than 6 pages, return all pages
|
|
@@ -9673,59 +9760,62 @@ var reducePages = function reducePages(pages, currentPage) {
|
|
|
9673
9760
|
var Pagination = function Pagination(_ref) {
|
|
9674
9761
|
var pageCount = _ref.pageCount,
|
|
9675
9762
|
currentPage = _ref.currentPage,
|
|
9676
|
-
baseUrl = _ref.baseUrl
|
|
9763
|
+
baseUrl = _ref.baseUrl,
|
|
9764
|
+
className = _ref.className;
|
|
9677
9765
|
// Array of page numbers starting at 1
|
|
9678
9766
|
var pageNumbers = Array.from(Array(pageCount + 1).keys()).slice(1);
|
|
9679
9767
|
var reducedPageNumbers = reducePages(pageNumbers, currentPage);
|
|
9680
|
-
return /*#__PURE__*/React__default.createElement(PageNumberWrapper,
|
|
9768
|
+
return /*#__PURE__*/React__default.createElement(PageNumberWrapper, {
|
|
9769
|
+
className: className
|
|
9770
|
+
},
|
|
9681
9771
|
// {/* Left arrow only appears after page 1 */
|
|
9682
|
-
currentPage > 1 && (/*#__PURE__*/React__default.createElement("li", {
|
|
9772
|
+
currentPage > 1 && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNav, {
|
|
9773
|
+
href: baseUrl + "1"
|
|
9774
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
9775
|
+
iconName: "LastPageArrow",
|
|
9776
|
+
direction: "right"
|
|
9777
|
+
}))), /*#__PURE__*/React__default.createElement(PreviousPageItem, {
|
|
9683
9778
|
key: "previous-page",
|
|
9684
9779
|
"data-testid": "left-arrow"
|
|
9685
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
9780
|
+
}, /*#__PURE__*/React__default.createElement(PageNav, {
|
|
9686
9781
|
href: "" + baseUrl + (currentPage - 1)
|
|
9687
9782
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
9688
|
-
iconName: "
|
|
9689
|
-
direction: "
|
|
9690
|
-
})))),
|
|
9691
|
-
key: "more-before",
|
|
9692
|
-
"data-testid": "elipsis"
|
|
9693
|
-
}, /*#__PURE__*/React__default.createElement(MorePages, {
|
|
9694
|
-
theme: "core"
|
|
9695
|
-
}, "..."))), reducedPageNumbers.map(function (page) {
|
|
9783
|
+
iconName: "ArrowPagination",
|
|
9784
|
+
direction: "right"
|
|
9785
|
+
}))))), reducedPageNumbers.map(function (page) {
|
|
9696
9786
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
9697
9787
|
key: page
|
|
9698
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
9699
|
-
theme: "core",
|
|
9700
|
-
key: page,
|
|
9701
|
-
active: "" + (page === currentPage),
|
|
9788
|
+
}, /*#__PURE__*/React__default.createElement(PaginationLink, {
|
|
9702
9789
|
href: "" + baseUrl + page,
|
|
9703
9790
|
"data-testid": "page-number"
|
|
9704
|
-
},
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
9709
|
-
theme: "core"
|
|
9710
|
-
}, "..."))), currentPage < pageCount && (/*#__PURE__*/React__default.createElement("li", {
|
|
9791
|
+
}, /*#__PURE__*/React__default.createElement(TextLinkPagination, {
|
|
9792
|
+
size: "large",
|
|
9793
|
+
active: page === currentPage
|
|
9794
|
+
}, page.toString())));
|
|
9795
|
+
}), currentPage < pageCount && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("li", {
|
|
9711
9796
|
key: "next-page",
|
|
9712
9797
|
"data-testid": "right-arrow"
|
|
9713
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
9798
|
+
}, /*#__PURE__*/React__default.createElement(PageNav, {
|
|
9714
9799
|
href: "" + baseUrl + (currentPage + 1)
|
|
9715
9800
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
9716
|
-
iconName: "
|
|
9717
|
-
direction: "
|
|
9718
|
-
})))
|
|
9801
|
+
iconName: "ArrowPagination",
|
|
9802
|
+
direction: "left"
|
|
9803
|
+
}))), /*#__PURE__*/React__default.createElement(LastPageItem, null, /*#__PURE__*/React__default.createElement(PageNav, {
|
|
9804
|
+
href: "" + baseUrl + pageCount
|
|
9805
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
9806
|
+
iconName: "LastPageArrow",
|
|
9807
|
+
direction: "left"
|
|
9808
|
+
}))))));
|
|
9719
9809
|
};
|
|
9720
9810
|
|
|
9721
|
-
var _templateObject$15, _templateObject2$S, _templateObject3$F, _templateObject4$y, _templateObject5$
|
|
9811
|
+
var _templateObject$15, _templateObject2$S, _templateObject3$F, _templateObject4$y, _templateObject5$s, _templateObject6$n, _templateObject7$h;
|
|
9722
9812
|
var PeopleListingGrid = /*#__PURE__*/styled__default(Grid)(_templateObject$15 || (_templateObject$15 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: var(--line-height-people-listing-gap) var(--grid-column-gap);\n\n p {\n margin: 0;\n }\n\n grid-template-columns: 1fr 1fr 1fr;\n\n @media ", " {\n grid-template-columns: 1fr;\n }\n\n @media ", " {\n grid-template-columns: 1fr 1fr;\n }\n\n @media ", " {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n"])), devices.mobile, devices.tablet, devices.largeDesktop);
|
|
9723
9813
|
var PersonWrapper = /*#__PURE__*/styled__default.div(_templateObject2$S || (_templateObject2$S = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 60px 1fr;\n grid-template-areas: 'headshot role-person';\n grid-column-gap: 10px;\n"])));
|
|
9724
9814
|
var HeadshotWrapper = /*#__PURE__*/styled__default.div(_templateObject3$F || (_templateObject3$F = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: headshot;\n img {\n width: 60px;\n height: 60px;\n }\n"])));
|
|
9725
9815
|
var RoleWrapper = /*#__PURE__*/styled__default.div(_templateObject4$y || (_templateObject4$y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-dark-grey);\n overflow-wrap: break-word;\n margin-bottom: 4px;\n"])));
|
|
9726
|
-
var TextWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject5$
|
|
9727
|
-
var PersonLink = /*#__PURE__*/styled__default.a(_templateObject6$
|
|
9728
|
-
var ReplacementWrapper = /*#__PURE__*/styled__default.span(_templateObject7$
|
|
9816
|
+
var TextWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject5$s || (_templateObject5$s = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: role-person;\n break-inside: avoid;\n"])));
|
|
9817
|
+
var PersonLink = /*#__PURE__*/styled__default.a(_templateObject6$n || (_templateObject6$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-black);\n text-decoration: underline;\n\n :hover {\n color: var(--base-color-primary);\n :after {\n color: var(--base-color-black);\n }\n }\n\n :visited {\n color: var(--base-color-black);\n }\n"])));
|
|
9818
|
+
var ReplacementWrapper = /*#__PURE__*/styled__default.span(_templateObject7$h || (_templateObject7$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-dark-grey);\n"])));
|
|
9729
9819
|
|
|
9730
9820
|
var Person = function Person(_ref) {
|
|
9731
9821
|
var person = _ref.person,
|
|
@@ -9907,7 +9997,7 @@ var CreditListing = function CreditListing(_ref) {
|
|
|
9907
9997
|
}, creditEntries);
|
|
9908
9998
|
};
|
|
9909
9999
|
|
|
9910
|
-
var _templateObject$17, _templateObject2$U, _templateObject3$H, _templateObject4$A, _templateObject5$
|
|
10000
|
+
var _templateObject$17, _templateObject2$U, _templateObject3$H, _templateObject4$A, _templateObject5$t, _templateObject6$o, _templateObject7$i, _templateObject8$c, _templateObject9$7, _templateObject0$7, _templateObject1$4, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$1, _templateObject15$1, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
|
|
9911
10001
|
var LENGTH_TEXT = 28;
|
|
9912
10002
|
var LENGTH_TEXT_TABLET$1 = 12;
|
|
9913
10003
|
var GridTemplateImageToLeft = "'left left left left left left left left . right right right right right . .'";
|
|
@@ -9950,12 +10040,12 @@ var ButtonsContainer$2 = /*#__PURE__*/styled__default.div(_templateObject4$A ||
|
|
|
9950
10040
|
}
|
|
9951
10041
|
return '';
|
|
9952
10042
|
});
|
|
9953
|
-
var PromoWithTagsTagWrapper = /*#__PURE__*/styled__default.div(_templateObject5$
|
|
10043
|
+
var PromoWithTagsTagWrapper = /*#__PURE__*/styled__default.div(_templateObject5$t || (_templateObject5$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n"])), function (_ref7) {
|
|
9954
10044
|
var marginBottom = _ref7.marginBottom;
|
|
9955
10045
|
return marginBottom + "px";
|
|
9956
10046
|
});
|
|
9957
|
-
var PromoWithTagsAdditionalText = /*#__PURE__*/styled__default(PromoWithTagsText)(_templateObject6$
|
|
9958
|
-
var TextLinksContainer = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
10047
|
+
var PromoWithTagsAdditionalText = /*#__PURE__*/styled__default(PromoWithTagsText)(_templateObject6$o || (_templateObject6$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 24px 0;\n"])));
|
|
10048
|
+
var TextLinksContainer = /*#__PURE__*/styled__default.div(_templateObject7$i || (_templateObject7$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n margin: 24px 0 4px 0;\n"])));
|
|
9959
10049
|
var TextLinkWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject8$c || (_templateObject8$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 24px;\n margin-bottom: 20px;\n\n &:last-child {\n margin-right: 0;\n }\n"])));
|
|
9960
10050
|
var ExtraContentWrapper = /*#__PURE__*/styled__default.div(_templateObject9$7 || (_templateObject9$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n padding-right: 68px;\n\n iframe {\n height: 800px;\n }\n\n @media ", " {\n padding: 30px 0 0;\n }\n\n @media ", " {\n padding: 0;\n position: initial;\n }\n"])), devices.tablet, devices.mobile);
|
|
9961
10051
|
var IconWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject0$7 || (_templateObject0$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: absolute;\n top: 25px;\n right: 35px;\n width: 24px;\n height: 24px;\n\n @media ", " {\n top: 30px;\n right: 30px;\n }\n\n @media ", " {\n top: 3px;\n right: 20px;\n }\n"])), devices.tablet, devices.mobile);
|
|
@@ -10159,7 +10249,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
10159
10249
|
}))));
|
|
10160
10250
|
};
|
|
10161
10251
|
|
|
10162
|
-
var _templateObject$18, _templateObject2$V, _templateObject3$I, _templateObject4$B, _templateObject5$
|
|
10252
|
+
var _templateObject$18, _templateObject2$V, _templateObject3$I, _templateObject4$B, _templateObject5$u, _templateObject6$p, _templateObject7$j;
|
|
10163
10253
|
var LENGTH_TEXT$2 = 28;
|
|
10164
10254
|
var LENGTH_TEXT_TABLET$2 = 10;
|
|
10165
10255
|
var PromoWithTitleGrid = /*#__PURE__*/styled__default(Grid)(_templateObject$18 || (_templateObject$18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-template-areas: ", ";\n\n @media ", " {\n & {\n grid-template-areas: ", ";\n }\n }\n\n @media ", " {\n & {\n grid-template-columns: var(--grid-margin) minmax(0, 1fr) var(--grid-margin);\n grid-template-rows: min-content 24px min-content;\n gap: 0;\n grid-template-areas:\n 'row1 row1 row1'\n '. . .'\n '. row2 .';\n }\n }\n"])), function (_ref) {
|
|
@@ -10178,9 +10268,9 @@ var PromoWithTitleContentWrapper = /*#__PURE__*/styled__default.div(_templateObj
|
|
|
10178
10268
|
return imageToLeft ? 'right' : 'left';
|
|
10179
10269
|
}, devices.mobile);
|
|
10180
10270
|
var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_templateObject4$B || (_templateObject4$B = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 32px;\n\n @media ", " {\n padding-bottom: 24px;\n }\n"])), devices.mobile);
|
|
10181
|
-
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject5$
|
|
10182
|
-
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject6$
|
|
10183
|
-
var ButtonsContainer$3 = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
10271
|
+
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject5$u || (_templateObject5$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
10272
|
+
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject6$p || (_templateObject6$p = /*#__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);
|
|
10273
|
+
var ButtonsContainer$3 = /*#__PURE__*/styled__default.div(_templateObject7$j || (_templateObject7$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 16px;\n margin-top: 32px;\n\n ", "\n\n @media ", " {\n gap: 24px;\n margin-top: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n gap: 24px;\n margin-top: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), function (_ref5) {
|
|
10184
10274
|
var _ref5$primaryButtonTe = _ref5.primaryButtonTextLength,
|
|
10185
10275
|
primaryButtonTextLength = _ref5$primaryButtonTe === void 0 ? 0 : _ref5$primaryButtonTe,
|
|
10186
10276
|
_ref5$tertiaryButtonT = _ref5.tertiaryButtonTextLength,
|
|
@@ -10613,7 +10703,7 @@ var SectionTitle = function SectionTitle(_ref) {
|
|
|
10613
10703
|
}, description)))));
|
|
10614
10704
|
};
|
|
10615
10705
|
|
|
10616
|
-
var _templateObject$1e, _templateObject2$Y, _templateObject3$L, _templateObject4$C, _templateObject5$
|
|
10706
|
+
var _templateObject$1e, _templateObject2$Y, _templateObject3$L, _templateObject4$C, _templateObject5$v, _templateObject6$q, _templateObject7$k, _templateObject8$d, _templateObject9$8, _templateObject0$8, _templateObject1$5;
|
|
10617
10707
|
var stateStyles = /*#__PURE__*/styled.css(_templateObject$1e || (_templateObject$1e = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n &:focus,\n &.focus {\n outline: ", ";\n }\n\n &.disabled {\n background-color: ", ";\n color: ", ";\n pointer-events: none;\n cursor: none;\n }\n"])), function (_ref) {
|
|
10618
10708
|
var theme = _ref.theme;
|
|
10619
10709
|
return "3px solid " + theme.colors.lapisLazuli;
|
|
@@ -10637,9 +10727,9 @@ var ArrowIcon = /*#__PURE__*/styled__default(Icon).attrs(function (_ref5) {
|
|
|
10637
10727
|
color: theme.colors.black,
|
|
10638
10728
|
title: 'Select Arrow'
|
|
10639
10729
|
};
|
|
10640
|
-
})(_templateObject5$
|
|
10641
|
-
var Wrapper$6 = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
10642
|
-
var SelectWrapper = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
10730
|
+
})(_templateObject5$v || (_templateObject5$v = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n pointer-events: none;\n\n max-width: 24px;\n max-height: 24px;\n\n svg {\n width: 24px;\n height: 24px;\n }\n"])));
|
|
10731
|
+
var Wrapper$6 = /*#__PURE__*/styled__default.div(_templateObject6$q || (_templateObject6$q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n height: initial;\n\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])), noMarginAndPaddingStyles);
|
|
10732
|
+
var SelectWrapper = /*#__PURE__*/styled__default.div(_templateObject7$k || (_templateObject7$k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n height: inherit;\n"])), noMarginAndPaddingStyles);
|
|
10643
10733
|
var Options = /*#__PURE__*/styled__default.div(_templateObject8$d || (_templateObject8$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n z-index: 1;\n\n ", "\n ", "\n"])), noMarginAndPaddingStyles, borderStyles);
|
|
10644
10734
|
var Option = /*#__PURE__*/styled__default.li(_templateObject9$8 || (_templateObject9$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n"])), noMarginAndPaddingStyles, listItemStyles, function (_ref6) {
|
|
10645
10735
|
var theme = _ref6.theme,
|
|
@@ -11208,13 +11298,13 @@ var Quote = function Quote(_ref) {
|
|
|
11208
11298
|
}, attribution))));
|
|
11209
11299
|
};
|
|
11210
11300
|
|
|
11211
|
-
var _templateObject$1i, _templateObject2$10, _templateObject3$O, _templateObject4$E, _templateObject5$
|
|
11301
|
+
var _templateObject$1i, _templateObject2$10, _templateObject3$O, _templateObject4$E, _templateObject5$w, _templateObject6$r;
|
|
11212
11302
|
var CardContainer$1 = /*#__PURE__*/styled__default.div(_templateObject$1i || (_templateObject$1i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n width: 100%;\n display: grid;\n grid-template-columns: repeat(7, minmax(0, 1fr));\n gap: 15px;\n min-height: 50px;\n"])));
|
|
11213
11303
|
var ContentContainer$4 = /*#__PURE__*/styled__default.div(_templateObject2$10 || (_templateObject2$10 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n"])));
|
|
11214
11304
|
var StyledImage = /*#__PURE__*/styled__default.img(_templateObject3$O || (_templateObject3$O = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border: 1px solid var(--base-color-white);\n"])));
|
|
11215
11305
|
var ImageWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject4$E || (_templateObject4$E = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n"])));
|
|
11216
|
-
var IconWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject5$
|
|
11217
|
-
var TitleWrapper$
|
|
11306
|
+
var IconWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject5$w || (_templateObject5$w = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: rgba(0, 0, 0, 0.4);\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n span {\n width: 40px;\n height: 40px;\n @media ", " {\n width: 24px;\n height: 24px;\n }\n @media ", " {\n width: 18px;\n height: 18px;\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
11307
|
+
var TitleWrapper$5 = /*#__PURE__*/styled__default.div(_templateObject6$r || (_templateObject6$r = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 8px;\n div {\n @media ", " {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n"])), devices.mobile);
|
|
11218
11308
|
|
|
11219
11309
|
var MiniCard = function MiniCard(_ref) {
|
|
11220
11310
|
var _ref$title = _ref.title,
|
|
@@ -11247,12 +11337,12 @@ var MiniCard = function MiniCard(_ref) {
|
|
|
11247
11337
|
columnSpanDesktop: 4
|
|
11248
11338
|
}, /*#__PURE__*/React__default.createElement(ContentContainer$4, null, /*#__PURE__*/React__default.createElement(Overline, {
|
|
11249
11339
|
level: 4
|
|
11250
|
-
}, subtitle), /*#__PURE__*/React__default.createElement(TitleWrapper$
|
|
11340
|
+
}, subtitle), /*#__PURE__*/React__default.createElement(TitleWrapper$5, null, /*#__PURE__*/React__default.createElement(Overline, {
|
|
11251
11341
|
level: 2
|
|
11252
11342
|
}, title)))));
|
|
11253
11343
|
};
|
|
11254
11344
|
|
|
11255
|
-
var _templateObject$1j, _templateObject2$11, _templateObject3$P, _templateObject4$F, _templateObject5$
|
|
11345
|
+
var _templateObject$1j, _templateObject2$11, _templateObject3$P, _templateObject4$F, _templateObject5$x;
|
|
11256
11346
|
var ReadMoreContainer = /*#__PURE__*/styled__default.div(_templateObject$1j || (_templateObject$1j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0px 0px 12px 0px !important;\n }\n width: 100%;\n"])));
|
|
11257
11347
|
var LinkContainer = /*#__PURE__*/styled__default.div(_templateObject2$11 || (_templateObject2$11 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-top: 24px;\n gap: 8px;\n\n :hover {\n cursor: pointer;\n }\n\n @media print {\n visibility: hidden;\n }\n"])));
|
|
11258
11348
|
var FullTextContainer = /*#__PURE__*/styled__default.div(_templateObject3$P || (_templateObject3$P = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n visibility: ", ";\n\n @media print {\n visibility: visible;\n }\n"])), function (_ref) {
|
|
@@ -11263,7 +11353,7 @@ var IntroTextContainer = /*#__PURE__*/styled__default.div(_templateObject4$F ||
|
|
|
11263
11353
|
var isVisible = _ref2.isVisible;
|
|
11264
11354
|
return isVisible ? 'visible' : 'hidden';
|
|
11265
11355
|
});
|
|
11266
|
-
var ContentContainer$5 = /*#__PURE__*/styled__default.div(_templateObject5$
|
|
11356
|
+
var ContentContainer$5 = /*#__PURE__*/styled__default.div(_templateObject5$x || (_templateObject5$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow: auto;\n transition: max-height 0.4s ease;\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-weight: var(--font-weight-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n line-height: var(--line-height-body-1);\n text-transform: var(--text-transform-body);\n\n & h1 {\n font-size: var(--font-size-header-4);\n font-family: var(--font-family-header);\n font-feature-settings: var(--font-feature-settings-header);\n font-weight: var(--font-weight-header-4);\n letter-spacing: var(--letter-spacing-header-4);\n line-height: var(--line-height-header-4);\n text-transform: var(--text-transform-header);\n white-space: break-spaces;\n overflow-wrap: break-word;\n }\n\n & h2 {\n font-size: var(--font-size-subtitle-1);\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-weight: var(--font-weight-subtitle-1);\n letter-spacing: var(--letter-spacing-subtitle-1);\n line-height: var(--line-height-subtitle-1);\n text-transform: var(--text-transform-subtitle);\n white-space: break-spaces;\n overflow-wrap: break-word;\n }\n\n & em {\n font-family: var(--font-family-body-italics);\n }\n\n & u {\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-body);\n }\n @media print {\n visibility: visible;\n max-height: 900px !important;\n }\n"])));
|
|
11267
11357
|
|
|
11268
11358
|
var keyDown = function keyDown(e, toggleFunction) {
|
|
11269
11359
|
if (e.key === 'Enter' || e.key === 'Space') {
|
|
@@ -11344,7 +11434,7 @@ var ReadMore = function ReadMore(_ref) {
|
|
|
11344
11434
|
}, isFullTextOpen ? "" + hideText : "" + showMoreText))));
|
|
11345
11435
|
};
|
|
11346
11436
|
|
|
11347
|
-
var _templateObject$1k, _templateObject2$12, _templateObject3$Q, _templateObject4$G, _templateObject5$
|
|
11437
|
+
var _templateObject$1k, _templateObject2$12, _templateObject3$Q, _templateObject4$G, _templateObject5$y;
|
|
11348
11438
|
var MenuContainer$2 = /*#__PURE__*/styled__default.nav(_templateObject$1k || (_templateObject$1k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n padding: 0;\n margin: 0;\n"])));
|
|
11349
11439
|
var MenuList = /*#__PURE__*/styled__default.ul(_templateObject2$12 || (_templateObject2$12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n list-style: none;\n border-right: 1px solid var(--base-color-", ");\n li {\n margin-left: -5px;\n }\n"])), exports.Colors.LightGrey);
|
|
11350
11440
|
var MobileButton = /*#__PURE__*/styled__default.button(_templateObject3$Q || (_templateObject3$Q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n line-height: var(--line-height-navigation);\n font-size: var(--font-size-navigation);\n font-family: var(--font-family-navigation);\n font-weight: var(--font-weight-navigation);\n letter-spacing: var(--letter-spacing-navigation);\n color: var(--base-color-", ");\n text-transform: uppercase;\n margin: 0;\n padding: 16px 46px 14px 20px;\n background: var(--base-color-", ");\n border: 1px solid var(--base-color-", ");\n border-radius: 0;\n display: block;\n width: 100%;\n text-align: left;\n cursor: pointer;\n position: relative;\n span {\n width: 25px;\n height: 25px;\n position: absolute;\n top: 50%;\n margin-top: -12px;\n right: 10px;\n }\n"])), exports.Colors.Black, exports.Colors.White, exports.Colors.DarkGrey);
|
|
@@ -11352,7 +11442,7 @@ var MenuItem$1 = /*#__PURE__*/styled__default.a(_templateObject4$G || (_template
|
|
|
11352
11442
|
var isActive = _ref.isActive;
|
|
11353
11443
|
return isActive ? "var(--base-color-" + exports.Colors.MidGrey + ")" : 'none';
|
|
11354
11444
|
}, exports.Colors.MidGrey);
|
|
11355
|
-
var MobileMenuList = /*#__PURE__*/styled__default.ul(_templateObject5$
|
|
11445
|
+
var MobileMenuList = /*#__PURE__*/styled__default.ul(_templateObject5$y || (_templateObject5$y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n list-style: none;\n display: ", ";\n background: var(--base-color-", ");\n border: 1px solid var(--base-color-", ");\n border-top: 0;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n ", " {\n padding: 16px 20px 15px 20px;\n }\n"])), function (_ref2) {
|
|
11356
11446
|
var isOpen = _ref2.isOpen;
|
|
11357
11447
|
return isOpen ? 'block' : 'none';
|
|
11358
11448
|
}, exports.Colors.White, exports.Colors.DarkGrey, MenuItem$1);
|
|
@@ -11508,7 +11598,7 @@ var AuxiliaryNav = function AuxiliaryNav(_ref6) {
|
|
|
11508
11598
|
});
|
|
11509
11599
|
};
|
|
11510
11600
|
|
|
11511
|
-
var _templateObject$1l, _templateObject2$13, _templateObject3$R, _templateObject4$H, _templateObject5$
|
|
11601
|
+
var _templateObject$1l, _templateObject2$13, _templateObject3$R, _templateObject4$H, _templateObject5$z, _templateObject6$s;
|
|
11512
11602
|
var Container$5 = /*#__PURE__*/styled__default.div(_templateObject$1l || (_templateObject$1l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n"])));
|
|
11513
11603
|
var Sections = /*#__PURE__*/styled__default.div(_templateObject2$13 || (_templateObject2$13 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n"])));
|
|
11514
11604
|
var Section = /*#__PURE__*/styled__default.div(_templateObject3$R || (_templateObject3$R = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background-color: ", ";\n"])), function (_ref) {
|
|
@@ -11516,11 +11606,11 @@ var Section = /*#__PURE__*/styled__default.div(_templateObject3$R || (_templateO
|
|
|
11516
11606
|
return "var(--base-color-" + color + ")";
|
|
11517
11607
|
});
|
|
11518
11608
|
var BottomLine = /*#__PURE__*/styled__default.div(_templateObject4$H || (_templateObject4$H = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 20px;\n"])));
|
|
11519
|
-
var Text = /*#__PURE__*/styled__default.div(_templateObject5$
|
|
11609
|
+
var Text = /*#__PURE__*/styled__default.div(_templateObject5$z || (_templateObject5$z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: ", ";\n"])), function (_ref2) {
|
|
11520
11610
|
var color = _ref2.color;
|
|
11521
11611
|
return "var(--base-color-" + color + ")";
|
|
11522
11612
|
});
|
|
11523
|
-
var LabelText = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
11613
|
+
var LabelText = /*#__PURE__*/styled__default.div(_templateObject6$s || (_templateObject6$s = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 1px;\n white-space: nowrap;\n color: ", ";\n"])), function (_ref3) {
|
|
11524
11614
|
var color = _ref3.color;
|
|
11525
11615
|
return "var(--base-color-" + color + ")";
|
|
11526
11616
|
});
|
|
@@ -11602,7 +11692,7 @@ var PasswordStrength = function PasswordStrength(_ref) {
|
|
|
11602
11692
|
}, strengthLabel))));
|
|
11603
11693
|
};
|
|
11604
11694
|
|
|
11605
|
-
var _templateObject$1m, _templateObject2$14, _templateObject3$S, _templateObject4$I, _templateObject5$
|
|
11695
|
+
var _templateObject$1m, _templateObject2$14, _templateObject3$S, _templateObject4$I, _templateObject5$A, _templateObject6$t, _templateObject7$l, _templateObject8$e, _templateObject9$9, _templateObject0$9;
|
|
11606
11696
|
var TableContainer = /*#__PURE__*/styled__default.table(_templateObject$1m || (_templateObject$1m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-collapse: collapse;\n"])));
|
|
11607
11697
|
var Container$6 = /*#__PURE__*/styled__default.div(_templateObject2$14 || (_templateObject2$14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-x: auto;\n"])));
|
|
11608
11698
|
var Wrapper$8 = /*#__PURE__*/styled__default.div(_templateObject3$S || (_templateObject3$S = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
|
|
@@ -11611,13 +11701,13 @@ var TableHeader = /*#__PURE__*/styled__default.th(_templateObject4$I || (_templa
|
|
|
11611
11701
|
}, function (props) {
|
|
11612
11702
|
return "calc(100% / " + (props.columns - 1) + ")";
|
|
11613
11703
|
}, devices.tablet, devices.mobile);
|
|
11614
|
-
var TableCell = /*#__PURE__*/styled__default.td(_templateObject5$
|
|
11704
|
+
var TableCell = /*#__PURE__*/styled__default.td(_templateObject5$A || (_templateObject5$A = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-weight: var(--font-weight-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n line-height: var(--line-height-body-1);\n padding: 30px 30px 30px 0;\n text-align: left;\n vertical-align: top;\n border-bottom: 1px solid;\n border-color: ", ";\n\n &:last-child {\n width: auto;\n }\n\n &:not(:last-child) {\n width: ", ";\n }\n\n > span > svg {\n width: 24px;\n height: 24px;\n }\n\n @media ", " {\n padding: 20px 20px 20px 0;\n }\n"])), function (props) {
|
|
11615
11705
|
return "var(--base-color-" + props.lineColor + ")";
|
|
11616
11706
|
}, function (props) {
|
|
11617
11707
|
return "calc(100% / " + (props.columns - 1) + ")";
|
|
11618
11708
|
}, devices.mobile);
|
|
11619
|
-
var Pagination$1 = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
11620
|
-
var PageNumber
|
|
11709
|
+
var Pagination$1 = /*#__PURE__*/styled__default.div(_templateObject6$t || (_templateObject6$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 40px 0;\n flex-wrap: nowrap;\n flex-direction: row;\n list-style: none;\n max-width: fit-content;\n margin: auto;\n li {\n font-size: var(--font-size-subtitle-1);\n font-weight: var(--font-weight-body-1);\n line-height: var(--line-height-subtitle-1);\n letter-spacing: var(--letter-spacing-subtitle-1);\n margin-left: 16px;\n color: var(--base-color-dark-grey);\n display: flex;\n align-items: center;\n border-bottom: none;\n }\n"])));
|
|
11710
|
+
var PageNumber = /*#__PURE__*/styled__default.button(_templateObject7$l || (_templateObject7$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: none;\n border: none;\n padding: 0;\n font-size: inherit;\n color: inherit;\n cursor: pointer;\n display: inline-block;\n margin: 0;\n border-bottom: 1px solid var(--base-color-transparent);\n line-height: var(--base-line-height);\n text-decoration: none;\n font-family: var(--font-family-body-1);\n\n :hover {\n outline: none;\n color: var(--base-color-core);\n border-bottom: 1px solid var(--base-color-core);\n svg > path {\n fill: var(--base-color-core);\n }\n }\n\n /* Active state */\n ", "\n"])), function (_ref) {
|
|
11621
11711
|
var active = _ref.active;
|
|
11622
11712
|
return active === 'true' && "\n color: var(--base-color-core);\n border-bottom: 1px solid var(--base-color-core);\n ";
|
|
11623
11713
|
});
|
|
@@ -11768,7 +11858,7 @@ var Table = function Table(_ref) {
|
|
|
11768
11858
|
});
|
|
11769
11859
|
}))), pagination && totalPages > 1 && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(AriaDescription$2, {
|
|
11770
11860
|
id: "pagination-description"
|
|
11771
|
-
}, "Table pagination: current page ", currentPage + 1, " of ", totalPages), /*#__PURE__*/React__default.createElement(Pagination$1, null, currentPage > 0 && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber
|
|
11861
|
+
}, "Table pagination: current page ", currentPage + 1, " of ", totalPages), /*#__PURE__*/React__default.createElement(Pagination$1, null, currentPage > 0 && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber, {
|
|
11772
11862
|
key: "previous-page",
|
|
11773
11863
|
onClick: function onClick() {
|
|
11774
11864
|
return setCurrentPage(currentPage - 1);
|
|
@@ -11778,12 +11868,12 @@ var Table = function Table(_ref) {
|
|
|
11778
11868
|
}, /*#__PURE__*/React__default.createElement(Next, null, /*#__PURE__*/React__default.createElement(Icon, {
|
|
11779
11869
|
iconName: "DropdownArrow",
|
|
11780
11870
|
direction: "down"
|
|
11781
|
-
}))))), currentPage > 2 && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber
|
|
11871
|
+
}))))), currentPage > 2 && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber, {
|
|
11782
11872
|
key: "more-before"
|
|
11783
11873
|
}, /*#__PURE__*/React__default.createElement(MorePages, null, "...")))), reducedPageNumbers.map(function (number) {
|
|
11784
11874
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
11785
11875
|
key: number
|
|
11786
|
-
}, /*#__PURE__*/React__default.createElement(PageNumber
|
|
11876
|
+
}, /*#__PURE__*/React__default.createElement(PageNumber, {
|
|
11787
11877
|
key: number,
|
|
11788
11878
|
onClick: function onClick() {
|
|
11789
11879
|
return setCurrentPage(number);
|
|
@@ -11791,9 +11881,9 @@ var Table = function Table(_ref) {
|
|
|
11791
11881
|
tabIndex: 0,
|
|
11792
11882
|
active: "" + (number === currentPage)
|
|
11793
11883
|
}, number + 1));
|
|
11794
|
-
}), currentPage + 4 < totalPages && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber
|
|
11884
|
+
}), currentPage + 4 < totalPages && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber, {
|
|
11795
11885
|
key: "more-after"
|
|
11796
|
-
}, /*#__PURE__*/React__default.createElement(MorePages, null, "...")))), currentPage < totalPages - 1 && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber
|
|
11886
|
+
}, /*#__PURE__*/React__default.createElement(MorePages, null, "...")))), currentPage < totalPages - 1 && (/*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(PageNumber, {
|
|
11797
11887
|
key: "next-page",
|
|
11798
11888
|
onClick: function onClick() {
|
|
11799
11889
|
return setCurrentPage(currentPage + 1);
|
|
@@ -11806,7 +11896,7 @@ var Table = function Table(_ref) {
|
|
|
11806
11896
|
}))))))))));
|
|
11807
11897
|
};
|
|
11808
11898
|
|
|
11809
|
-
var _templateObject$1n, _templateObject2$15, _templateObject3$T, _templateObject4$J, _templateObject5$
|
|
11899
|
+
var _templateObject$1n, _templateObject2$15, _templateObject3$T, _templateObject4$J, _templateObject5$B, _templateObject6$u, _templateObject7$m, _templateObject8$f, _templateObject9$a, _templateObject0$a, _templateObject1$6, _templateObject10$4, _templateObject11$4, _templateObject12$4, _templateObject13$3;
|
|
11810
11900
|
var Wrapper$9 = /*#__PURE__*/styled__default('div')(_templateObject$1n || (_templateObject$1n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n border-top: 4px solid ", ";\n border-bottom: 4px solid ", ";\n"])), function (_ref) {
|
|
11811
11901
|
var theme = _ref.theme;
|
|
11812
11902
|
return "var(--color-" + theme + ")";
|
|
@@ -11817,9 +11907,9 @@ var Wrapper$9 = /*#__PURE__*/styled__default('div')(_templateObject$1n || (_temp
|
|
|
11817
11907
|
var SignUpFormWrapper = /*#__PURE__*/styled__default(Grid)(_templateObject2$15 || (_templateObject2$15 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: 0 var(--grid-column-gap);\n margin-bottom: 32px;\n\n @media ", " {\n margin-bottom: 30px;\n }\n"])), devices.mobile);
|
|
11818
11908
|
var SignUpTitleWrapper = /*#__PURE__*/styled__default('div')(_templateObject3$T || (_templateObject3$T = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-align: left;\n position: relative;\n top: -25px;\n left: -20px;\n height: 52px;\n background: var(--color-base-white);\n display: inline-block;\n padding: 0 20px;\n\n @media ", " {\n top: -18px;\n height: 37px;\n padding: 0 13px;\n left: -13px;\n }\n"])), devices.mobile);
|
|
11819
11909
|
var Error$1 = /*#__PURE__*/styled__default.div(_templateObject4$J || (_templateObject4$J = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 20px;\n color: var(--color-base-errorstate);\n\n a {\n text-decoration: underline;\n color: inherit;\n }\n"])));
|
|
11820
|
-
var Form = /*#__PURE__*/styled__default.form(_templateObject5$
|
|
11821
|
-
var FormFooterWrapper = /*#__PURE__*/styled__default.div(_templateObject6$
|
|
11822
|
-
var ServerError = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
11910
|
+
var Form = /*#__PURE__*/styled__default.form(_templateObject5$B || (_templateObject5$B = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 32px;\n align-items: center;\n ", " {\n margin-top: -20px;\n }\n a[href] {\n color: inherit;\n }\n"])), Error$1);
|
|
11911
|
+
var FormFooterWrapper = /*#__PURE__*/styled__default.div(_templateObject6$u || (_templateObject6$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 32px;\n display: flex;\n gap: 28px;\n align-items: center;\n\n @media ", " {\n flex-direction: column;\n align-items: flex-start;\n }\n"])), devices.mobile);
|
|
11912
|
+
var ServerError = /*#__PURE__*/styled__default.div(_templateObject7$m || (_templateObject7$m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-align: left;\n color: var(--color-base-errorstate);\n"])));
|
|
11823
11913
|
var CTALinkWrapper = /*#__PURE__*/styled__default.a(_templateObject8$f || (_templateObject8$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration: none;\n\n @media ", " {\n text-decoration: underline;\n }\n"])), devices.mobile);
|
|
11824
11914
|
var ButtonWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject9$a || (_templateObject9$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n all: unset;\n width: fit-content;\n color: var(--base-color-white);\n text-decoration: none;\n\n @media ", " {\n width: 100%;\n }\n"])), devices.mobile);
|
|
11825
11915
|
var FieldsWrapper = /*#__PURE__*/styled__default.div(_templateObject0$a || (_templateObject0$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 36px;\n\n @media ", " {\n grid-template-columns: 1fr;\n gap: 20px;\n }\n"])), devices.mobile);
|