@royaloperahouse/harmonic 0.7.1-h → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -5
- package/README.GIT +278 -0
- package/README.md +43 -252
- 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/Tab/Tab.d.ts +1 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -2
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +1 -3
- package/dist/harmonic.cjs.development.css +0 -319
- package/dist/harmonic.cjs.development.js +46 -93
- 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 +54 -104
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +0 -1
- package/dist/types/buttonTypes.d.ts +0 -2
- package/dist/types/types.d.ts +1 -9
- package/dist/types/upsell.d.ts +1 -15
- package/package.json +1 -1
|
@@ -2829,70 +2829,48 @@ var COLORS$1 = {
|
|
|
2829
2829
|
hover: 'var(--button-secondary-hover-color)',
|
|
2830
2830
|
pressed: 'var(--button-secondary-pressed-color)'
|
|
2831
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
|
-
};
|
|
2838
2832
|
var getTextColor$1 = function getTextColor(_ref) {
|
|
2839
2833
|
var disabled = _ref.disabled,
|
|
2840
|
-
textColor = _ref.textColor
|
|
2841
|
-
theme = _ref.theme;
|
|
2834
|
+
textColor = _ref.textColor;
|
|
2842
2835
|
if (disabled) {
|
|
2843
2836
|
return COLORS$1.darkGrey;
|
|
2844
2837
|
}
|
|
2845
2838
|
if (textColor) {
|
|
2846
2839
|
return "var(--color-" + textColor + ")";
|
|
2847
2840
|
}
|
|
2848
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2849
|
-
return theme.colors.secondaryButton;
|
|
2850
|
-
}
|
|
2851
2841
|
return COLORS$1["default"];
|
|
2852
2842
|
};
|
|
2853
2843
|
var getBorderColor = function getBorderColor(_ref2) {
|
|
2854
2844
|
var disabled = _ref2.disabled,
|
|
2855
|
-
borderColor = _ref2.borderColor
|
|
2856
|
-
theme = _ref2.theme;
|
|
2845
|
+
borderColor = _ref2.borderColor;
|
|
2857
2846
|
if (disabled) {
|
|
2858
2847
|
return COLORS$1.disabled;
|
|
2859
2848
|
}
|
|
2860
2849
|
if (borderColor) {
|
|
2861
2850
|
return "var(--color-" + borderColor + ")";
|
|
2862
2851
|
}
|
|
2863
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2864
|
-
return theme.colors.secondaryButton;
|
|
2865
|
-
}
|
|
2866
2852
|
return COLORS$1.border;
|
|
2867
2853
|
};
|
|
2868
2854
|
var getHoveredColor$1 = function getHoveredColor(_ref3) {
|
|
2869
2855
|
var disabled = _ref3.disabled,
|
|
2870
|
-
hoveredColor = _ref3.hoveredColor
|
|
2871
|
-
theme = _ref3.theme;
|
|
2856
|
+
hoveredColor = _ref3.hoveredColor;
|
|
2872
2857
|
if (disabled) {
|
|
2873
2858
|
return COLORS$1.disabled;
|
|
2874
2859
|
}
|
|
2875
2860
|
if (hoveredColor) {
|
|
2876
2861
|
return "var(--color-" + hoveredColor + ")";
|
|
2877
2862
|
}
|
|
2878
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2879
|
-
return theme.colors.secondaryButton;
|
|
2880
|
-
}
|
|
2881
2863
|
return COLORS$1.hover;
|
|
2882
2864
|
};
|
|
2883
2865
|
var getPressedColor$1 = function getPressedColor(_ref4) {
|
|
2884
2866
|
var disabled = _ref4.disabled,
|
|
2885
|
-
pressedColor = _ref4.pressedColor
|
|
2886
|
-
theme = _ref4.theme;
|
|
2867
|
+
pressedColor = _ref4.pressedColor;
|
|
2887
2868
|
if (disabled) {
|
|
2888
2869
|
return COLORS$1.disabled;
|
|
2889
2870
|
}
|
|
2890
2871
|
if (pressedColor) {
|
|
2891
2872
|
return "var(--color-" + pressedColor + ")";
|
|
2892
2873
|
}
|
|
2893
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2894
|
-
return theme.colors.secondaryButton;
|
|
2895
|
-
}
|
|
2896
2874
|
return COLORS$1.pressed;
|
|
2897
2875
|
};
|
|
2898
2876
|
|
|
@@ -3833,7 +3811,6 @@ var Tab = function Tab(_ref) {
|
|
|
3833
3811
|
className = _ref.className,
|
|
3834
3812
|
role = _ref.role,
|
|
3835
3813
|
ariaLabel = _ref.ariaLabel,
|
|
3836
|
-
tabLinkId = _ref.tabLinkId,
|
|
3837
3814
|
color = _ref.color;
|
|
3838
3815
|
var clickHandler = function clickHandler() {
|
|
3839
3816
|
if (onClick) {
|
|
@@ -3864,9 +3841,8 @@ var Tab = function Tab(_ref) {
|
|
|
3864
3841
|
tabIndex: 0,
|
|
3865
3842
|
className: className
|
|
3866
3843
|
}, /*#__PURE__*/React__default.createElement(TabText, {
|
|
3867
|
-
id: tabLinkId,
|
|
3868
|
-
trimText: trimText,
|
|
3869
3844
|
color: color,
|
|
3845
|
+
trimText: trimText,
|
|
3870
3846
|
withTextInMobile: withTextInMobile,
|
|
3871
3847
|
"aria-hidden": "true"
|
|
3872
3848
|
}, title), withIcon !== 'none' && /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -5424,7 +5400,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
5424
5400
|
className = _ref.className,
|
|
5425
5401
|
role = _ref.role,
|
|
5426
5402
|
ariaLabel = _ref.ariaLabel,
|
|
5427
|
-
tabLinkId = _ref.tabLinkId,
|
|
5428
5403
|
trimTabText = _ref.trimTabText;
|
|
5429
5404
|
var node = React.useRef();
|
|
5430
5405
|
var _useState = React.useState(false),
|
|
@@ -5521,7 +5496,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
5521
5496
|
};
|
|
5522
5497
|
var renderTab = function renderTab() {
|
|
5523
5498
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Tab, {
|
|
5524
|
-
tabLinkId: tabLinkId,
|
|
5525
5499
|
trimText: trimTabText,
|
|
5526
5500
|
title: title,
|
|
5527
5501
|
titleLink: titleLink,
|
|
@@ -5601,8 +5575,7 @@ var Account = function Account(_ref) {
|
|
|
5601
5575
|
iconName: iconName,
|
|
5602
5576
|
withOptionsInMobile: false,
|
|
5603
5577
|
withIcon: "left",
|
|
5604
|
-
className: className
|
|
5605
|
-
tabLinkId: "account-link"
|
|
5578
|
+
className: className
|
|
5606
5579
|
});
|
|
5607
5580
|
};
|
|
5608
5581
|
|
|
@@ -6961,7 +6934,7 @@ var core = /*#__PURE__*/_extends({}, common, {
|
|
|
6961
6934
|
colors: /*#__PURE__*/_extends({}, commonColors, colors, {
|
|
6962
6935
|
primary: colors.core,
|
|
6963
6936
|
primaryButton: colors.core,
|
|
6964
|
-
secondaryButton:
|
|
6937
|
+
secondaryButton: commonColors.white,
|
|
6965
6938
|
tertiaryButton: 'transparent',
|
|
6966
6939
|
auxiliaryButton: 'transparent',
|
|
6967
6940
|
primaryButtonReverseBg: colors.cinema,
|
|
@@ -6974,7 +6947,7 @@ var stream = /*#__PURE__*/_extends({}, common, {
|
|
|
6974
6947
|
primaryButton: colors.stream,
|
|
6975
6948
|
primaryButtonReverseBg: colors.cinema,
|
|
6976
6949
|
primaryButtonReverse: commonColors.white,
|
|
6977
|
-
secondaryButton:
|
|
6950
|
+
secondaryButton: commonColors.white,
|
|
6978
6951
|
tertiaryButton: 'transparent',
|
|
6979
6952
|
auxiliaryButton: 'transparent'
|
|
6980
6953
|
})
|
|
@@ -6985,7 +6958,7 @@ var cinema = /*#__PURE__*/_extends({}, common, {
|
|
|
6985
6958
|
primaryButton: commonColors.white,
|
|
6986
6959
|
primaryButtonReverseBg: commonColors.white,
|
|
6987
6960
|
primaryButtonReverse: colors.cinema,
|
|
6988
|
-
secondaryButton:
|
|
6961
|
+
secondaryButton: commonColors.white,
|
|
6989
6962
|
tertiaryButton: 'transparent',
|
|
6990
6963
|
auxiliaryButton: 'transparent'
|
|
6991
6964
|
})
|
|
@@ -6996,7 +6969,7 @@ var schools = /*#__PURE__*/_extends({}, common, {
|
|
|
6996
6969
|
primaryButton: colors.core,
|
|
6997
6970
|
primaryButtonReverseBg: colors.cinema,
|
|
6998
6971
|
primaryButtonReverse: commonColors.white,
|
|
6999
|
-
secondaryButton:
|
|
6972
|
+
secondaryButton: commonColors.white,
|
|
7000
6973
|
tertiaryButton: 'transparent',
|
|
7001
6974
|
auxiliaryButton: 'transparent'
|
|
7002
6975
|
}),
|
|
@@ -7084,23 +7057,17 @@ var TextOnly = function TextOnly(_ref) {
|
|
|
7084
7057
|
})(exports.ButtonType || (exports.ButtonType = {}));
|
|
7085
7058
|
|
|
7086
7059
|
var _templateObject$J, _templateObject2$x, _templateObject3$n, _templateObject4$i, _templateObject5$d, _templateObject6$b, _templateObject7$7, _templateObject8$4;
|
|
7087
|
-
var Wrapper$2 = /*#__PURE__*/styled__default.div(_templateObject$J || (_templateObject$J = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--base-color-
|
|
7060
|
+
var Wrapper$2 = /*#__PURE__*/styled__default.div(_templateObject$J || (_templateObject$J = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--base-color-light-grey);\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);
|
|
7088
7061
|
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"])));
|
|
7089
7062
|
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) {
|
|
7090
7063
|
var theme = _ref.theme;
|
|
7091
7064
|
return theme.colors.primary;
|
|
7092
7065
|
}, exports.Colors.White);
|
|
7093
|
-
var ButtonContainer = /*#__PURE__*/styled__default.div(_templateObject4$i || (_templateObject4$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 2em;\n width: fit-content;\n
|
|
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
|
-
});
|
|
7066
|
+
var ButtonContainer = /*#__PURE__*/styled__default.div(_templateObject4$i || (_templateObject4$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 2em;\n width: fit-content;\n"])));
|
|
7100
7067
|
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"])));
|
|
7101
7068
|
var OfferTextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$b || (_templateObject6$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n & > * {\n margin-bottom: 0.5em;\n }\n margin-bottom: 1em;\n"])));
|
|
7102
7069
|
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"])));
|
|
7103
|
-
var LineThrough = /*#__PURE__*/styled__default.div(_templateObject8$4 || (_templateObject8$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration-line: line-through;\n color: var(--base-color-
|
|
7070
|
+
var LineThrough = /*#__PURE__*/styled__default.div(_templateObject8$4 || (_templateObject8$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration-line: line-through;\n color: var(--base-color-dark-grey);\n"])));
|
|
7104
7071
|
|
|
7105
7072
|
// Set max. character length
|
|
7106
7073
|
var setMaxCharLength = function setMaxCharLength(value, maxLength) {
|
|
@@ -7143,13 +7110,8 @@ var UpsellCard = function UpsellCard(_ref) {
|
|
|
7143
7110
|
flag = _ref.flag,
|
|
7144
7111
|
offerTexts = _ref.offerTexts,
|
|
7145
7112
|
link = _ref.link,
|
|
7146
|
-
secondaryLink = _ref.secondaryLink,
|
|
7147
|
-
_ref$stackCtasEarly = _ref.stackCtasEarly,
|
|
7148
|
-
stackCtasEarly = _ref$stackCtasEarly === void 0 ? false : _ref$stackCtasEarly,
|
|
7149
7113
|
_ref$theme = _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;
|
|
7114
|
+
theme = _ref$theme === void 0 ? exports.ThemeType.Core : _ref$theme;
|
|
7153
7115
|
var truncate = function truncate(str, n) {
|
|
7154
7116
|
return str.length >= n ? str.slice(0, n) : str;
|
|
7155
7117
|
};
|
|
@@ -7168,17 +7130,13 @@ var UpsellCard = function UpsellCard(_ref) {
|
|
|
7168
7130
|
level: 4
|
|
7169
7131
|
}, formatPrice(promoPrice)))) : (/*#__PURE__*/React__default.createElement(PriceRow, null, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
7170
7132
|
level: 4
|
|
7171
|
-
}, formatPrice(price))))), (reducedOfferTexts == null ? void 0 : reducedOfferTexts.length) && reducedOfferTexts.map(function (offerText
|
|
7133
|
+
}, formatPrice(price))))), (reducedOfferTexts == null ? void 0 : reducedOfferTexts.length) && reducedOfferTexts.map(function (offerText) {
|
|
7172
7134
|
return /*#__PURE__*/React__default.createElement(OfferText, {
|
|
7173
|
-
key:
|
|
7135
|
+
key: offerText.title,
|
|
7174
7136
|
title: offerText.title,
|
|
7175
7137
|
description: offerText.description
|
|
7176
7138
|
});
|
|
7177
|
-
}),
|
|
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))))))));
|
|
7139
|
+
}), link && (/*#__PURE__*/React__default.createElement(ButtonContainer, null, /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, link), truncate(link.text, LENGTH_SMALL_TEXT))))));
|
|
7182
7140
|
};
|
|
7183
7141
|
|
|
7184
7142
|
var _templateObject$K;
|
|
@@ -7188,7 +7146,7 @@ var UpsellCards = function UpsellCards(_ref) {
|
|
|
7188
7146
|
var upsellCards = _ref.upsellCards;
|
|
7189
7147
|
return /*#__PURE__*/React__default.createElement(Wrapper$3, null, upsellCards == null ? void 0 : upsellCards.map(function (card, index) {
|
|
7190
7148
|
return /*#__PURE__*/React__default.createElement(UpsellCard, {
|
|
7191
|
-
key: "card-" + index,
|
|
7149
|
+
key: "upsell-card-" + index,
|
|
7192
7150
|
title: card.title,
|
|
7193
7151
|
subTitle: card.subTitle,
|
|
7194
7152
|
price: card.price,
|
|
@@ -7196,10 +7154,7 @@ var UpsellCards = function UpsellCards(_ref) {
|
|
|
7196
7154
|
flag: card.flag,
|
|
7197
7155
|
offerTexts: card.offerTexts,
|
|
7198
7156
|
link: card.link,
|
|
7199
|
-
|
|
7200
|
-
stackCtasEarly: true,
|
|
7201
|
-
theme: card.theme,
|
|
7202
|
-
secondaryTheme: card.secondaryTheme
|
|
7157
|
+
theme: card.theme
|
|
7203
7158
|
});
|
|
7204
7159
|
}));
|
|
7205
7160
|
};
|
|
@@ -7213,8 +7168,7 @@ var UpsellSection = function UpsellSection(_ref) {
|
|
|
7213
7168
|
theme = _ref$theme === void 0 ? exports.ThemeType.Core : _ref$theme;
|
|
7214
7169
|
var themedUpsellCards = upsellCards ? [].concat(upsellCards).map(function (card) {
|
|
7215
7170
|
return _extends({}, card, {
|
|
7216
|
-
theme: card.theme || theme
|
|
7217
|
-
secondaryTheme: card.secondaryTheme || theme
|
|
7171
|
+
theme: card.theme || theme
|
|
7218
7172
|
});
|
|
7219
7173
|
}) : [];
|
|
7220
7174
|
return /*#__PURE__*/React__default.createElement(Theme, {
|
|
@@ -8682,7 +8636,7 @@ var ContactCard = function ContactCard(_ref) {
|
|
|
8682
8636
|
}, addressString)), /*#__PURE__*/React__default.createElement(AddressWrapperMobile, null, divideAddressString(addressString))))))));
|
|
8683
8637
|
};
|
|
8684
8638
|
|
|
8685
|
-
var _templateObject$X, _templateObject2$I, _templateObject3$v, _templateObject4$q, _templateObject5$k, _templateObject6$g
|
|
8639
|
+
var _templateObject$X, _templateObject2$I, _templateObject3$v, _templateObject4$q, _templateObject5$k, _templateObject6$g;
|
|
8686
8640
|
var BodyTextRelative = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject$X || (_templateObject$X = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n"])));
|
|
8687
8641
|
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) {
|
|
8688
8642
|
return props.clickable ? 'pointer' : 'default';
|
|
@@ -8691,9 +8645,8 @@ var ContentSummaryImageWrapper = /*#__PURE__*/styled__default.div(_templateObjec
|
|
|
8691
8645
|
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) {
|
|
8692
8646
|
return props.showImage ? 2 : '1 / span 4';
|
|
8693
8647
|
}, devices.mobile);
|
|
8694
|
-
var
|
|
8695
|
-
var
|
|
8696
|
-
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) {
|
|
8648
|
+
var BodyTextLimit = /*#__PURE__*/styled__default.div(_templateObject5$k || (_templateObject5$k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: block;\n position: relative;\n"])));
|
|
8649
|
+
var ContentSummaryBodyTextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$g || (_templateObject6$g = /*#__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) {
|
|
8697
8650
|
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 ";
|
|
8698
8651
|
});
|
|
8699
8652
|
|
|
@@ -8744,7 +8697,7 @@ var ContentSummary = function ContentSummary(_ref) {
|
|
|
8744
8697
|
alt: image.alt
|
|
8745
8698
|
}))))), /*#__PURE__*/React__default.createElement(ContentSummaryTextWrapper, {
|
|
8746
8699
|
showImage: showImage
|
|
8747
|
-
}, title && (/*#__PURE__*/React__default.createElement(
|
|
8700
|
+
}, title && (/*#__PURE__*/React__default.createElement("div", {
|
|
8748
8701
|
"data-testid": largeTitle ? 'large-title' : 'default-title'
|
|
8749
8702
|
}, largeTitle ? (/*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
8750
8703
|
size: "large",
|
|
@@ -9052,7 +9005,7 @@ var Information = function Information(_ref) {
|
|
|
9052
9005
|
})))));
|
|
9053
9006
|
};
|
|
9054
9007
|
|
|
9055
|
-
var _templateObject$$, _templateObject2$M, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$h, _templateObject7$
|
|
9008
|
+
var _templateObject$$, _templateObject2$M, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$h, _templateObject7$b, _templateObject8$8;
|
|
9056
9009
|
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) {
|
|
9057
9010
|
var isPageHeadingWithoutTitle = _ref.isPageHeadingWithoutTitle;
|
|
9058
9011
|
return isPageHeadingWithoutTitle && "\n padding-bottom: 42px;\n ";
|
|
@@ -9071,7 +9024,7 @@ var ChildrenWrapper = /*#__PURE__*/styled__default.div(_templateObject5$m || (_t
|
|
|
9071
9024
|
return isPageHeadingWithoutTitle && "\n margin: 10px 0;\n ";
|
|
9072
9025
|
}, devices.mobile);
|
|
9073
9026
|
var TextWrapper = /*#__PURE__*/styled__default.div(_templateObject6$h || (_templateObject6$h = /*#__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"])));
|
|
9074
|
-
var LogoWrapper = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
9027
|
+
var LogoWrapper = /*#__PURE__*/styled__default.div(_templateObject7$b || (_templateObject7$b = /*#__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) {
|
|
9075
9028
|
var isPageHeadingWithoutTitle = _ref5.isPageHeadingWithoutTitle;
|
|
9076
9029
|
return isPageHeadingWithoutTitle && "\n margin-top: 40px;\n ";
|
|
9077
9030
|
}, devices.mobile, function (_ref6) {
|
|
@@ -9153,14 +9106,14 @@ var PageHeading = function PageHeading(_ref) {
|
|
|
9153
9106
|
}, /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, themedLink), linkText))) : null));
|
|
9154
9107
|
};
|
|
9155
9108
|
|
|
9156
|
-
var _templateObject$10, _templateObject2$N, _templateObject3$A, _templateObject4$u, _templateObject5$n, _templateObject6$i, _templateObject7$
|
|
9109
|
+
var _templateObject$10, _templateObject2$N, _templateObject3$A, _templateObject4$u, _templateObject5$n, _templateObject6$i, _templateObject7$c, _templateObject8$9;
|
|
9157
9110
|
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);
|
|
9158
9111
|
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);
|
|
9159
9112
|
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);
|
|
9160
9113
|
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);
|
|
9161
9114
|
var LogoWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject5$n || (_templateObject5$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: logo;\n align-self: end;\n"])));
|
|
9162
9115
|
var TextWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject6$i || (_templateObject6$i = /*#__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);
|
|
9163
|
-
var ButtonWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
9116
|
+
var ButtonWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject7$c || (_templateObject7$c = /*#__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);
|
|
9164
9117
|
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);
|
|
9165
9118
|
|
|
9166
9119
|
var _excluded$l = ["text"];
|
|
@@ -9268,7 +9221,7 @@ var PageHeadingPanel = function PageHeadingPanel(_ref) {
|
|
|
9268
9221
|
})))));
|
|
9269
9222
|
};
|
|
9270
9223
|
|
|
9271
|
-
var _templateObject$12, _templateObject2$P, _templateObject3$C, _templateObject4$w, _templateObject5$p, _templateObject6$j, _templateObject7$
|
|
9224
|
+
var _templateObject$12, _templateObject2$P, _templateObject3$C, _templateObject4$w, _templateObject5$p, _templateObject6$j, _templateObject7$d, _templateObject8$a, _templateObject9$5, _templateObject0$5, _templateObject1$3;
|
|
9272
9225
|
var Wrapper$5 = /*#__PURE__*/styled__default.section(_templateObject$12 || (_templateObject$12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
|
|
9273
9226
|
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"])));
|
|
9274
9227
|
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);
|
|
@@ -9281,7 +9234,7 @@ var ContentSection = /*#__PURE__*/styled__default.div(_templateObject5$p || (_te
|
|
|
9281
9234
|
return showBlock ? 'block' : 'none';
|
|
9282
9235
|
}, devices.mobile);
|
|
9283
9236
|
var BadgeWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject6$j || (_templateObject6$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n svg {\n height: 32px;\n }\n\n @media ", " {\n margin-bottom: 12px;\n }\n"])), devices.mobile);
|
|
9284
|
-
var AdditionalContentWrapper = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
9237
|
+
var AdditionalContentWrapper = /*#__PURE__*/styled__default.div(_templateObject7$d || (_templateObject7$d = /*#__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) {
|
|
9285
9238
|
var isBadgePresent = _ref3.isBadgePresent;
|
|
9286
9239
|
return isBadgePresent ? '1' : '4';
|
|
9287
9240
|
});
|
|
@@ -9482,7 +9435,7 @@ var PageHeadingPromo = function PageHeadingPromo(_ref) {
|
|
|
9482
9435
|
})))))))))));
|
|
9483
9436
|
};
|
|
9484
9437
|
|
|
9485
|
-
var _templateObject$13, _templateObject2$Q, _templateObject3$D, _templateObject5$q, _templateObject6$k, _templateObject7$
|
|
9438
|
+
var _templateObject$13, _templateObject2$Q, _templateObject3$D, _templateObject5$q, _templateObject6$k, _templateObject7$e, _templateObject8$b, _templateObject9$6, _templateObject0$6;
|
|
9486
9439
|
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);
|
|
9487
9440
|
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"])));
|
|
9488
9441
|
var ComapctHeaderWrapper = /*#__PURE__*/styled__default.div(_templateObject3$D || (_templateObject3$D = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n display: block;\n"])));
|
|
@@ -9503,7 +9456,7 @@ var CompactHeaderCopyWrapper = /*#__PURE__*/styled__default(Grid)(_templateObjec
|
|
|
9503
9456
|
var theme = _ref4.theme;
|
|
9504
9457
|
return theme.colors.primary === theme.colors.stream && "\n color: " + theme.colors.stream + ";\n background-color: " + theme.colors.white + ";\n ";
|
|
9505
9458
|
}, devices.tablet, devices.mobile);
|
|
9506
|
-
var CompactHeaderLogoWrapper = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
9459
|
+
var CompactHeaderLogoWrapper = /*#__PURE__*/styled__default.div(_templateObject7$e || (_templateObject7$e = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: logo;\n padding-left: 50px;\n justify-content: left;\n align-items: center;\n width: 100%;\n @media ", " {\n padding-left: 0px;\n justify-content: center;\n }\n @media ", " {\n width: fit-content;\n }\n"])), devices.mobile, devices.tablet);
|
|
9507
9460
|
var CompactHeaderTitleWrapper = /*#__PURE__*/styled__default.div(_templateObject8$b || (_templateObject8$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: title;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family-header);\n text-transform: uppercase;\n text-align: center;\n padding: 0 2em;\n @media ", " {\n justify-content: center;\n }\n"])), devices.mobile);
|
|
9508
9461
|
var CompactHeaderCTAWrapper = /*#__PURE__*/styled__default.div(_templateObject9$6 || (_templateObject9$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: cta;\n justify-content: right;\n align-items: center;\n padding-right: 50px;\n @media ", " {\n padding-right: 0px;\n justify-content: center;\n }\n"])), devices.mobile);
|
|
9509
9462
|
var PrimaryButtonWithInversion = /*#__PURE__*/styled__default(PrimaryButton)(_templateObject0$6 || (_templateObject0$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: ", ";\n color: ", ";\n svg {\n fill: ", ";\n path {\n fill: ", ";\n }\n }\n min-width: 145px;\n"])), function (_ref5) {
|
|
@@ -9736,7 +9689,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
9736
9689
|
}), linkText))))));
|
|
9737
9690
|
};
|
|
9738
9691
|
|
|
9739
|
-
var _templateObject$14, _templateObject2$R, _templateObject3$E, _templateObject4$x, _templateObject5$r, _templateObject6$l, _templateObject7$
|
|
9692
|
+
var _templateObject$14, _templateObject2$R, _templateObject3$E, _templateObject4$x, _templateObject5$r, _templateObject6$l, _templateObject7$f;
|
|
9740
9693
|
// Keep MorePages for Table component until restyle
|
|
9741
9694
|
var MorePages = /*#__PURE__*/styled__default.span(_templateObject$14 || (_templateObject$14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: not-allowed;\n pointer-events: none;\n"])));
|
|
9742
9695
|
var PaginationLink = /*#__PURE__*/styled__default.a(_templateObject2$R || (_templateObject2$R = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration: none;\n color: inherit;\n"])));
|
|
@@ -9750,7 +9703,7 @@ var TextLinkPagination = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templat
|
|
|
9750
9703
|
var active = _ref2.active;
|
|
9751
9704
|
return "1px solid " + (active ? 'var(--color-primary-red)' : 'transparent');
|
|
9752
9705
|
});
|
|
9753
|
-
var PageNav = /*#__PURE__*/styled__default.a(_templateObject7$
|
|
9706
|
+
var PageNav = /*#__PURE__*/styled__default.a(_templateObject7$f || (_templateObject7$f = /*#__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"])));
|
|
9754
9707
|
|
|
9755
9708
|
var reducePages = function reducePages(pages, currentPage) {
|
|
9756
9709
|
// If there are less than 6 pages, return all pages
|
|
@@ -9819,14 +9772,14 @@ var Pagination = function Pagination(_ref) {
|
|
|
9819
9772
|
}))))));
|
|
9820
9773
|
};
|
|
9821
9774
|
|
|
9822
|
-
var _templateObject$15, _templateObject2$S, _templateObject3$F, _templateObject4$y, _templateObject5$s, _templateObject6$m, _templateObject7$
|
|
9775
|
+
var _templateObject$15, _templateObject2$S, _templateObject3$F, _templateObject4$y, _templateObject5$s, _templateObject6$m, _templateObject7$g;
|
|
9823
9776
|
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);
|
|
9824
9777
|
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"])));
|
|
9825
9778
|
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"])));
|
|
9826
9779
|
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"])));
|
|
9827
9780
|
var TextWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject5$s || (_templateObject5$s = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: role-person;\n break-inside: avoid;\n"])));
|
|
9828
9781
|
var PersonLink = /*#__PURE__*/styled__default.a(_templateObject6$m || (_templateObject6$m = /*#__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"])));
|
|
9829
|
-
var ReplacementWrapper = /*#__PURE__*/styled__default.span(_templateObject7$
|
|
9782
|
+
var ReplacementWrapper = /*#__PURE__*/styled__default.span(_templateObject7$g || (_templateObject7$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-dark-grey);\n"])));
|
|
9830
9783
|
|
|
9831
9784
|
var Person = function Person(_ref) {
|
|
9832
9785
|
var person = _ref.person,
|
|
@@ -10008,7 +9961,7 @@ var CreditListing = function CreditListing(_ref) {
|
|
|
10008
9961
|
}, creditEntries);
|
|
10009
9962
|
};
|
|
10010
9963
|
|
|
10011
|
-
var _templateObject$17, _templateObject2$U, _templateObject3$H, _templateObject4$A, _templateObject5$t, _templateObject6$n, _templateObject7$
|
|
9964
|
+
var _templateObject$17, _templateObject2$U, _templateObject3$H, _templateObject4$A, _templateObject5$t, _templateObject6$n, _templateObject7$h, _templateObject8$c, _templateObject9$7, _templateObject0$7, _templateObject1$4, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$1, _templateObject15$1, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
|
|
10012
9965
|
var LENGTH_TEXT = 28;
|
|
10013
9966
|
var LENGTH_TEXT_TABLET$1 = 12;
|
|
10014
9967
|
var GridTemplateImageToLeft = "'left left left left left left left left . right right right right right . .'";
|
|
@@ -10056,7 +10009,7 @@ var PromoWithTagsTagWrapper = /*#__PURE__*/styled__default.div(_templateObject5$
|
|
|
10056
10009
|
return marginBottom + "px";
|
|
10057
10010
|
});
|
|
10058
10011
|
var PromoWithTagsAdditionalText = /*#__PURE__*/styled__default(PromoWithTagsText)(_templateObject6$n || (_templateObject6$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 24px 0;\n"])));
|
|
10059
|
-
var TextLinksContainer = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
10012
|
+
var TextLinksContainer = /*#__PURE__*/styled__default.div(_templateObject7$h || (_templateObject7$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n margin: 24px 0 4px 0;\n"])));
|
|
10060
10013
|
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"])));
|
|
10061
10014
|
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);
|
|
10062
10015
|
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);
|
|
@@ -10260,7 +10213,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
10260
10213
|
}))));
|
|
10261
10214
|
};
|
|
10262
10215
|
|
|
10263
|
-
var _templateObject$18, _templateObject2$V, _templateObject3$I, _templateObject4$B, _templateObject5$u, _templateObject6$o, _templateObject7$
|
|
10216
|
+
var _templateObject$18, _templateObject2$V, _templateObject3$I, _templateObject4$B, _templateObject5$u, _templateObject6$o, _templateObject7$i;
|
|
10264
10217
|
var LENGTH_TEXT$2 = 28;
|
|
10265
10218
|
var LENGTH_TEXT_TABLET$2 = 10;
|
|
10266
10219
|
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) {
|
|
@@ -10281,7 +10234,7 @@ var PromoWithTitleContentWrapper = /*#__PURE__*/styled__default.div(_templateObj
|
|
|
10281
10234
|
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);
|
|
10282
10235
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject5$u || (_templateObject5$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
10283
10236
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject6$o || (_templateObject6$o = /*#__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);
|
|
10284
|
-
var ButtonsContainer$3 = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
10237
|
+
var ButtonsContainer$3 = /*#__PURE__*/styled__default.div(_templateObject7$i || (_templateObject7$i = /*#__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) {
|
|
10285
10238
|
var _ref5$primaryButtonTe = _ref5.primaryButtonTextLength,
|
|
10286
10239
|
primaryButtonTextLength = _ref5$primaryButtonTe === void 0 ? 0 : _ref5$primaryButtonTe,
|
|
10287
10240
|
_ref5$tertiaryButtonT = _ref5.tertiaryButtonTextLength,
|
|
@@ -10714,7 +10667,7 @@ var SectionTitle = function SectionTitle(_ref) {
|
|
|
10714
10667
|
}, description)))));
|
|
10715
10668
|
};
|
|
10716
10669
|
|
|
10717
|
-
var _templateObject$1e, _templateObject2$Y, _templateObject3$L, _templateObject4$C, _templateObject5$v, _templateObject6$p, _templateObject7$
|
|
10670
|
+
var _templateObject$1e, _templateObject2$Y, _templateObject3$L, _templateObject4$C, _templateObject5$v, _templateObject6$p, _templateObject7$j, _templateObject8$d, _templateObject9$8, _templateObject0$8, _templateObject1$5;
|
|
10718
10671
|
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) {
|
|
10719
10672
|
var theme = _ref.theme;
|
|
10720
10673
|
return "3px solid " + theme.colors.lapisLazuli;
|
|
@@ -10740,7 +10693,7 @@ var ArrowIcon = /*#__PURE__*/styled__default(Icon).attrs(function (_ref5) {
|
|
|
10740
10693
|
};
|
|
10741
10694
|
})(_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"])));
|
|
10742
10695
|
var Wrapper$6 = /*#__PURE__*/styled__default.div(_templateObject6$p || (_templateObject6$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n height: initial;\n\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])), noMarginAndPaddingStyles);
|
|
10743
|
-
var SelectWrapper = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
10696
|
+
var SelectWrapper = /*#__PURE__*/styled__default.div(_templateObject7$j || (_templateObject7$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n height: inherit;\n"])), noMarginAndPaddingStyles);
|
|
10744
10697
|
var Options = /*#__PURE__*/styled__default.div(_templateObject8$d || (_templateObject8$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n z-index: 1;\n\n ", "\n ", "\n"])), noMarginAndPaddingStyles, borderStyles);
|
|
10745
10698
|
var Option = /*#__PURE__*/styled__default.li(_templateObject9$8 || (_templateObject9$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n"])), noMarginAndPaddingStyles, listItemStyles, function (_ref6) {
|
|
10746
10699
|
var theme = _ref6.theme,
|
|
@@ -11703,7 +11656,7 @@ var PasswordStrength = function PasswordStrength(_ref) {
|
|
|
11703
11656
|
}, strengthLabel))));
|
|
11704
11657
|
};
|
|
11705
11658
|
|
|
11706
|
-
var _templateObject$1m, _templateObject2$14, _templateObject3$S, _templateObject4$I, _templateObject5$A, _templateObject6$s, _templateObject7$
|
|
11659
|
+
var _templateObject$1m, _templateObject2$14, _templateObject3$S, _templateObject4$I, _templateObject5$A, _templateObject6$s, _templateObject7$k, _templateObject8$e, _templateObject9$9, _templateObject0$9;
|
|
11707
11660
|
var TableContainer = /*#__PURE__*/styled__default.table(_templateObject$1m || (_templateObject$1m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-collapse: collapse;\n"])));
|
|
11708
11661
|
var Container$6 = /*#__PURE__*/styled__default.div(_templateObject2$14 || (_templateObject2$14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-x: auto;\n"])));
|
|
11709
11662
|
var Wrapper$8 = /*#__PURE__*/styled__default.div(_templateObject3$S || (_templateObject3$S = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
|
|
@@ -11718,7 +11671,7 @@ var TableCell = /*#__PURE__*/styled__default.td(_templateObject5$A || (_template
|
|
|
11718
11671
|
return "calc(100% / " + (props.columns - 1) + ")";
|
|
11719
11672
|
}, devices.mobile);
|
|
11720
11673
|
var Pagination$1 = /*#__PURE__*/styled__default.div(_templateObject6$s || (_templateObject6$s = /*#__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"])));
|
|
11721
|
-
var PageNumber = /*#__PURE__*/styled__default.button(_templateObject7$
|
|
11674
|
+
var PageNumber = /*#__PURE__*/styled__default.button(_templateObject7$k || (_templateObject7$k = /*#__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) {
|
|
11722
11675
|
var active = _ref.active;
|
|
11723
11676
|
return active === 'true' && "\n color: var(--base-color-core);\n border-bottom: 1px solid var(--base-color-core);\n ";
|
|
11724
11677
|
});
|
|
@@ -11907,7 +11860,7 @@ var Table = function Table(_ref) {
|
|
|
11907
11860
|
}))))))))));
|
|
11908
11861
|
};
|
|
11909
11862
|
|
|
11910
|
-
var _templateObject$1n, _templateObject2$15, _templateObject3$T, _templateObject4$J, _templateObject5$B, _templateObject6$t, _templateObject7$
|
|
11863
|
+
var _templateObject$1n, _templateObject2$15, _templateObject3$T, _templateObject4$J, _templateObject5$B, _templateObject6$t, _templateObject7$l, _templateObject8$f, _templateObject9$a, _templateObject0$a, _templateObject1$6, _templateObject10$4, _templateObject11$4, _templateObject12$4, _templateObject13$3;
|
|
11911
11864
|
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) {
|
|
11912
11865
|
var theme = _ref.theme;
|
|
11913
11866
|
return "var(--color-" + theme + ")";
|
|
@@ -11920,7 +11873,7 @@ var SignUpTitleWrapper = /*#__PURE__*/styled__default('div')(_templateObject3$T
|
|
|
11920
11873
|
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"])));
|
|
11921
11874
|
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);
|
|
11922
11875
|
var FormFooterWrapper = /*#__PURE__*/styled__default.div(_templateObject6$t || (_templateObject6$t = /*#__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);
|
|
11923
|
-
var ServerError = /*#__PURE__*/styled__default.div(_templateObject7$
|
|
11876
|
+
var ServerError = /*#__PURE__*/styled__default.div(_templateObject7$l || (_templateObject7$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-align: left;\n color: var(--color-base-errorstate);\n"])));
|
|
11924
11877
|
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);
|
|
11925
11878
|
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);
|
|
11926
11879
|
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);
|