@bigbinary/neeto-site-blocks 1.8.18 → 1.8.20
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/dist/index.cjs.js +129 -122
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +129 -122
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4998,8 +4998,8 @@ var isLinkHighlighted = function isLinkHighlighted(to, currentPath) {
|
|
|
4998
4998
|
return currentPath.pathName === to && isEmpty(currentPath.hash) || currentPath.hash === to;
|
|
4999
4999
|
};
|
|
5000
5000
|
|
|
5001
|
-
function ownKeys$
|
|
5002
|
-
function _objectSpread$
|
|
5001
|
+
function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5002
|
+
function _objectSpread$m(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$m(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5003
5003
|
var StyledWrapper = styled__default["default"].div.attrs(function (props) {
|
|
5004
5004
|
return {
|
|
5005
5005
|
className: generateResponsiveStyles(props.design)
|
|
@@ -5023,11 +5023,11 @@ var StyledWrapper = styled__default["default"].div.attrs(function (props) {
|
|
|
5023
5023
|
borderWidth: (_design$border2 = design.border) === null || _design$border2 === void 0 ? void 0 : _design$border2.borderWidth
|
|
5024
5024
|
};
|
|
5025
5025
|
var borderColorStyles = pickBy(identity, borderColors);
|
|
5026
|
-
var backgroundStyles = _objectSpread$
|
|
5026
|
+
var backgroundStyles = _objectSpread$m({
|
|
5027
5027
|
position: "relative",
|
|
5028
5028
|
zIndex: 0
|
|
5029
5029
|
}, backgroundImage.src ? {
|
|
5030
|
-
"&::before": _objectSpread$
|
|
5030
|
+
"&::before": _objectSpread$m({
|
|
5031
5031
|
content: "''",
|
|
5032
5032
|
position: "absolute",
|
|
5033
5033
|
top: 0,
|
|
@@ -14757,18 +14757,24 @@ var StyledImage = styled__default["default"].img.attrs(function () {
|
|
|
14757
14757
|
className: "hover:mix-blend-multiply"
|
|
14758
14758
|
};
|
|
14759
14759
|
})(function (_ref) {
|
|
14760
|
+
var _design$border, _design$border2, _design$border3;
|
|
14760
14761
|
var _ref$design = _ref.design,
|
|
14761
14762
|
design = _ref$design === void 0 ? {} : _ref$design,
|
|
14762
14763
|
lgImageSize = _ref.lgImageSize;
|
|
14763
14764
|
var baseStyles = {
|
|
14764
14765
|
width: design.width ? "".concat(design.width, "%") : "auto"
|
|
14765
14766
|
};
|
|
14767
|
+
var borderStyles = {
|
|
14768
|
+
borderColor: (_design$border = design.border) === null || _design$border === void 0 ? void 0 : _design$border.borderColor,
|
|
14769
|
+
borderWidth: (_design$border2 = design.border) === null || _design$border2 === void 0 ? void 0 : _design$border2.borderWidth,
|
|
14770
|
+
borderStyle: (_design$border3 = design.border) === null || _design$border3 === void 0 ? void 0 : _design$border3.borderStyle
|
|
14771
|
+
};
|
|
14766
14772
|
var mediaStyles = lgImageSize ? {
|
|
14767
14773
|
"@media (min-width: 1024px)": {
|
|
14768
14774
|
width: "".concat(lgImageSize, "%")
|
|
14769
14775
|
}
|
|
14770
14776
|
} : {};
|
|
14771
|
-
var customizedStyles = mergeAll([baseStyles, mediaStyles]);
|
|
14777
|
+
var customizedStyles = mergeAll([baseStyles, mediaStyles, borderStyles]);
|
|
14772
14778
|
return mergeRight(design, customizedStyles);
|
|
14773
14779
|
});
|
|
14774
14780
|
var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
@@ -16023,8 +16029,8 @@ var Button = function Button(_ref) {
|
|
|
16023
16029
|
var Button$1 = withConditionalRender(Button, prop("label"));
|
|
16024
16030
|
|
|
16025
16031
|
var _excluded$w = ["to", "label", "style", "className", "icon", "action", "baseUrl", "draftMode", "link", "isHighlighted", "disableButtonAndLinks", "children", "disableHovering", "setIsMenuOpen", "id", "index"];
|
|
16026
|
-
function ownKeys$
|
|
16027
|
-
function _objectSpread$
|
|
16032
|
+
function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16033
|
+
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16028
16034
|
var LinkElement = function LinkElement(_ref) {
|
|
16029
16035
|
var _ref$to = _ref.to,
|
|
16030
16036
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
@@ -16066,7 +16072,7 @@ var LinkElement = function LinkElement(_ref) {
|
|
|
16066
16072
|
setIsMenuOpen && setIsMenuOpen(false);
|
|
16067
16073
|
disableButtonAndLinks && handleClick(event);
|
|
16068
16074
|
};
|
|
16069
|
-
var commonProps = _objectSpread$
|
|
16075
|
+
var commonProps = _objectSpread$l({
|
|
16070
16076
|
className: classnames([baseClass, className]),
|
|
16071
16077
|
design: style,
|
|
16072
16078
|
href: to !== null && to !== void 0 ? to : "",
|
|
@@ -16097,8 +16103,8 @@ var Link = withConditionalRender(LinkElement, function () {
|
|
|
16097
16103
|
});
|
|
16098
16104
|
|
|
16099
16105
|
var _excluded$v = ["dropdownLink", "design", "index", "height", "className", "totalLength", "paddingHorizontal"];
|
|
16100
|
-
function ownKeys$
|
|
16101
|
-
function _objectSpread$
|
|
16106
|
+
function ownKeys$k(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16107
|
+
function _objectSpread$k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$k(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16102
16108
|
var Dropdown = function Dropdown(_ref) {
|
|
16103
16109
|
var dropdownLink = _ref.dropdownLink,
|
|
16104
16110
|
design = _ref.design,
|
|
@@ -16128,7 +16134,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
16128
16134
|
key: getUniqueKey(subLink.label, subLink.to, index),
|
|
16129
16135
|
setIsMenuOpen: setIsOpen,
|
|
16130
16136
|
style: design
|
|
16131
|
-
}, _objectSpread$
|
|
16137
|
+
}, _objectSpread$k(_objectSpread$k({
|
|
16132
16138
|
index: index
|
|
16133
16139
|
}, subLink), otherProps)));
|
|
16134
16140
|
});
|
|
@@ -16206,8 +16212,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
16206
16212
|
}, renderDropdownItems("rounded-md px-4 py-2 hover:bg-gray-100")))));
|
|
16207
16213
|
};
|
|
16208
16214
|
|
|
16209
|
-
function ownKeys$
|
|
16210
|
-
function _objectSpread$
|
|
16215
|
+
function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16216
|
+
function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$j(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16211
16217
|
var subscribe = function subscribe(listener) {
|
|
16212
16218
|
window.addEventListener("resize", listener);
|
|
16213
16219
|
return function () {
|
|
@@ -16216,7 +16222,7 @@ var subscribe = function subscribe(listener) {
|
|
|
16216
16222
|
};
|
|
16217
16223
|
var getCurrentSize = function getCurrentSize(window, breakpointOverrides) {
|
|
16218
16224
|
var innerWidth = window.innerWidth;
|
|
16219
|
-
var sizes = _objectSpread$
|
|
16225
|
+
var sizes = _objectSpread$j({
|
|
16220
16226
|
mobile: innerWidth < 768,
|
|
16221
16227
|
tablet: innerWidth >= 768 && innerWidth < 1024,
|
|
16222
16228
|
desktop: innerWidth >= 1024 && innerWidth < 1280,
|
|
@@ -16242,8 +16248,8 @@ var useBreakpoints = function useBreakpoints(breakpointOverrides) {
|
|
|
16242
16248
|
var useBreakpoints$1 = useBreakpoints;
|
|
16243
16249
|
|
|
16244
16250
|
var _excluded$u = ["isEmbedded", "src", "design", "videoUrl"];
|
|
16245
|
-
function ownKeys$
|
|
16246
|
-
function _objectSpread$
|
|
16251
|
+
function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16252
|
+
function _objectSpread$i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$i(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16247
16253
|
var Media = function Media(_ref) {
|
|
16248
16254
|
var isEmbedded = _ref.isEmbedded,
|
|
16249
16255
|
src = _ref.src,
|
|
@@ -16261,7 +16267,7 @@ var Media = function Media(_ref) {
|
|
|
16261
16267
|
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
16262
16268
|
});
|
|
16263
16269
|
}
|
|
16264
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _objectSpread$
|
|
16270
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _objectSpread$i({
|
|
16265
16271
|
design: design,
|
|
16266
16272
|
src: src
|
|
16267
16273
|
}, otherProps));
|
|
@@ -21325,8 +21331,8 @@ const SwiperSlide = /*#__PURE__*/React.forwardRef(function (_temp, externalRef)
|
|
|
21325
21331
|
});
|
|
21326
21332
|
SwiperSlide.displayName = 'SwiperSlide';
|
|
21327
21333
|
|
|
21328
|
-
function ownKeys$
|
|
21329
|
-
function _objectSpread$
|
|
21334
|
+
function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21335
|
+
function _objectSpread$h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$h(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21330
21336
|
var CardsInGridView = function CardsInGridView(_ref) {
|
|
21331
21337
|
var configurations = _ref.configurations,
|
|
21332
21338
|
_ref$className = _ref.className,
|
|
@@ -21446,7 +21452,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21446
21452
|
}, cards.map(function (card, index) {
|
|
21447
21453
|
return /*#__PURE__*/React__default["default"].createElement(SwiperSlide, {
|
|
21448
21454
|
key: getUniqueKey(card.title, card.description, index)
|
|
21449
|
-
}, renderCard(_objectSpread$
|
|
21455
|
+
}, renderCard(_objectSpread$h(_objectSpread$h({}, card), {}, {
|
|
21450
21456
|
index: index
|
|
21451
21457
|
})));
|
|
21452
21458
|
}))), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
@@ -21461,7 +21467,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21461
21467
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
21462
21468
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|
|
21463
21469
|
style: design.button
|
|
21464
|
-
}, _objectSpread$
|
|
21470
|
+
}, _objectSpread$h(_objectSpread$h({}, button), {}, {
|
|
21465
21471
|
disableButtonAndLinks: disableButtonAndLinks
|
|
21466
21472
|
}), {
|
|
21467
21473
|
id: "cards-in-grid-view-action-button"
|
|
@@ -21493,7 +21499,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21493
21499
|
}, cards.map(function (card, index) {
|
|
21494
21500
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
21495
21501
|
key: getUniqueKey(card.title, card.description, index)
|
|
21496
|
-
}, renderCard(_objectSpread$
|
|
21502
|
+
}, renderCard(_objectSpread$h(_objectSpread$h({}, card), {}, {
|
|
21497
21503
|
index: index
|
|
21498
21504
|
})));
|
|
21499
21505
|
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
@@ -21504,7 +21510,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21504
21510
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
21505
21511
|
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
21506
21512
|
style: design.button
|
|
21507
|
-
}, _objectSpread$
|
|
21513
|
+
}, _objectSpread$h(_objectSpread$h({}, button), {}, {
|
|
21508
21514
|
disableButtonAndLinks: disableButtonAndLinks
|
|
21509
21515
|
}), {
|
|
21510
21516
|
id: "cards-in-grid-view-action-button"
|
|
@@ -21596,8 +21602,8 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21596
21602
|
};
|
|
21597
21603
|
|
|
21598
21604
|
var _excluded$p = ["configurations", "className", "id"];
|
|
21599
|
-
function ownKeys$
|
|
21600
|
-
function _objectSpread$
|
|
21605
|
+
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21606
|
+
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21601
21607
|
var CardsWithImage = function CardsWithImage(_ref) {
|
|
21602
21608
|
var configurations = _ref.configurations,
|
|
21603
21609
|
_ref$className = _ref.className,
|
|
@@ -21647,7 +21653,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21647
21653
|
className: gridBaseClasses,
|
|
21648
21654
|
duration: 0.01,
|
|
21649
21655
|
key: getUniqueKey(title, description, index),
|
|
21650
|
-
design: _objectSpread$
|
|
21656
|
+
design: _objectSpread$g(_objectSpread$g({}, design.card), {}, {
|
|
21651
21657
|
paddingHorizontal: 0,
|
|
21652
21658
|
paddingVertical: 0
|
|
21653
21659
|
}),
|
|
@@ -21679,7 +21685,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21679
21685
|
}), isAddMoreRequired && /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
21680
21686
|
enableAnimation: enableAnimation,
|
|
21681
21687
|
className: "ns-card-animation col-span-12 flex h-40 items-center justify-center transition-all duration-300 ease-in-out sm:col-span-6 lg:col-span-4",
|
|
21682
|
-
design: _objectSpread$
|
|
21688
|
+
design: _objectSpread$g(_objectSpread$g({}, design.card), {}, {
|
|
21683
21689
|
paddingHorizontal: 0,
|
|
21684
21690
|
paddingVertical: 0
|
|
21685
21691
|
})
|
|
@@ -21693,8 +21699,8 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21693
21699
|
};
|
|
21694
21700
|
|
|
21695
21701
|
var _excluded$o = ["configurations", "className", "id"];
|
|
21696
|
-
function ownKeys$
|
|
21697
|
-
function _objectSpread$
|
|
21702
|
+
function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21703
|
+
function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$f(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21698
21704
|
var CtaClassic = function CtaClassic(_ref) {
|
|
21699
21705
|
var configurations = _ref.configurations,
|
|
21700
21706
|
_ref$className = _ref.className,
|
|
@@ -21737,7 +21743,7 @@ var CtaClassic = function CtaClassic(_ref) {
|
|
|
21737
21743
|
id: "cta-classic-button-".concat(index),
|
|
21738
21744
|
key: index,
|
|
21739
21745
|
style: button.type === "primary" ? design.primaryButton : design.secondaryButton
|
|
21740
|
-
}, _objectSpread$
|
|
21746
|
+
}, _objectSpread$f(_objectSpread$f({
|
|
21741
21747
|
index: index
|
|
21742
21748
|
}, button), otherProps)));
|
|
21743
21749
|
})));
|
|
@@ -39348,8 +39354,8 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39348
39354
|
};
|
|
39349
39355
|
|
|
39350
39356
|
var _excluded$m = ["configurations", "className", "id"];
|
|
39351
|
-
function ownKeys$
|
|
39352
|
-
function _objectSpread$
|
|
39357
|
+
function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39358
|
+
function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$e(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39353
39359
|
var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
39354
39360
|
var configurations = _ref.configurations,
|
|
39355
39361
|
_ref$className = _ref.className,
|
|
@@ -39400,7 +39406,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39400
39406
|
id: "cta-with-logo-button-".concat(index, "-button"),
|
|
39401
39407
|
key: index,
|
|
39402
39408
|
style: design.button
|
|
39403
|
-
}, _objectSpread$
|
|
39409
|
+
}, _objectSpread$e(_objectSpread$e({}, button), {}, {
|
|
39404
39410
|
index: index
|
|
39405
39411
|
}, otherProps)));
|
|
39406
39412
|
})));
|
|
@@ -39428,9 +39434,9 @@ var Embed = function Embed(_ref) {
|
|
|
39428
39434
|
};
|
|
39429
39435
|
|
|
39430
39436
|
var _excluded$l = ["configurations", "className", "id"],
|
|
39431
|
-
_excluded2 = ["question", "answer", "design", "enableAnimation", "index"];
|
|
39432
|
-
function ownKeys$
|
|
39433
|
-
function _objectSpread$
|
|
39437
|
+
_excluded2$1 = ["question", "answer", "design", "enableAnimation", "index"];
|
|
39438
|
+
function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39439
|
+
function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$d(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39434
39440
|
var FaqWithHamburgerView = function FaqWithHamburgerView(_ref) {
|
|
39435
39441
|
var configurations = _ref.configurations,
|
|
39436
39442
|
_ref$className = _ref.className,
|
|
@@ -39461,7 +39467,7 @@ var FaqWithHamburgerView = function FaqWithHamburgerView(_ref) {
|
|
|
39461
39467
|
}, faqs.map(function (_ref2, index) {
|
|
39462
39468
|
var question = _ref2.question,
|
|
39463
39469
|
answer = _ref2.answer;
|
|
39464
|
-
return /*#__PURE__*/React__default["default"].createElement(FAQItem, _extends__default["default"]({}, _objectSpread$
|
|
39470
|
+
return /*#__PURE__*/React__default["default"].createElement(FAQItem, _extends__default["default"]({}, _objectSpread$d({
|
|
39465
39471
|
answer: answer,
|
|
39466
39472
|
design: design,
|
|
39467
39473
|
enableAnimation: enableAnimation,
|
|
@@ -39478,7 +39484,7 @@ var FAQItem = function FAQItem(_ref3) {
|
|
|
39478
39484
|
design = _ref3.design,
|
|
39479
39485
|
enableAnimation = _ref3.enableAnimation,
|
|
39480
39486
|
index = _ref3.index,
|
|
39481
|
-
otherProps = _objectWithoutProperties__default["default"](_ref3, _excluded2);
|
|
39487
|
+
otherProps = _objectWithoutProperties__default["default"](_ref3, _excluded2$1);
|
|
39482
39488
|
var _useState = React.useState(true),
|
|
39483
39489
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
39484
39490
|
isOpen = _useState2[0],
|
|
@@ -39550,8 +39556,8 @@ var FAQItem = function FAQItem(_ref3) {
|
|
|
39550
39556
|
};
|
|
39551
39557
|
|
|
39552
39558
|
var _excluded$k = ["configurations", "className", "id"];
|
|
39553
|
-
function ownKeys$
|
|
39554
|
-
function _objectSpread$
|
|
39559
|
+
function ownKeys$c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39560
|
+
function _objectSpread$c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$c(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39555
39561
|
var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
39556
39562
|
var configurations = _ref.configurations,
|
|
39557
39563
|
_ref$className = _ref.className,
|
|
@@ -39580,7 +39586,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39580
39586
|
id: "feature-with-bullet-list-bullet-".concat(index, "-title"),
|
|
39581
39587
|
key: getUniqueKey(featureTitle, index),
|
|
39582
39588
|
style: design.bulletList
|
|
39583
|
-
}, _objectSpread$
|
|
39589
|
+
}, _objectSpread$c(_objectSpread$c({}, otherProps), {}, {
|
|
39584
39590
|
index: index
|
|
39585
39591
|
})), featureTitle);
|
|
39586
39592
|
})));
|
|
@@ -39610,8 +39616,8 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39610
39616
|
};
|
|
39611
39617
|
|
|
39612
39618
|
var _excluded$j = ["configurations", "className", "id"];
|
|
39613
|
-
function ownKeys$
|
|
39614
|
-
function _objectSpread$
|
|
39619
|
+
function ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39620
|
+
function _objectSpread$b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$b(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39615
39621
|
var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
39616
39622
|
var configurations = _ref.configurations,
|
|
39617
39623
|
_ref$className = _ref.className,
|
|
@@ -39677,7 +39683,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39677
39683
|
key: getUniqueKey(featureTitle, featureDescription, index)
|
|
39678
39684
|
}, icon && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39679
39685
|
className: "flex-shrink-0"
|
|
39680
|
-
}, renderIcon(_objectSpread$
|
|
39686
|
+
}, renderIcon(_objectSpread$b({
|
|
39681
39687
|
name: icon,
|
|
39682
39688
|
type: icon.type
|
|
39683
39689
|
}, design.icon))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -40120,8 +40126,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
40120
40126
|
};
|
|
40121
40127
|
|
|
40122
40128
|
var _excluded$d = ["configurations", "className", "id"];
|
|
40123
|
-
function ownKeys$
|
|
40124
|
-
function _objectSpread$
|
|
40129
|
+
function ownKeys$a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
40130
|
+
function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40125
40131
|
var FooterClassic = function FooterClassic(_ref) {
|
|
40126
40132
|
var configurations = _ref.configurations,
|
|
40127
40133
|
_ref$className = _ref.className,
|
|
@@ -40180,13 +40186,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40180
40186
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
40181
40187
|
key: getUniqueKey(_icon.name, index),
|
|
40182
40188
|
icon: function icon() {
|
|
40183
|
-
return renderIcon(_objectSpread$
|
|
40189
|
+
return renderIcon(_objectSpread$a({
|
|
40184
40190
|
name: _icon.name,
|
|
40185
40191
|
type: _icon.type,
|
|
40186
40192
|
className: "hover:text-gray-600"
|
|
40187
40193
|
}, design.socialIcon));
|
|
40188
40194
|
}
|
|
40189
|
-
}, _objectSpread$
|
|
40195
|
+
}, _objectSpread$a(_objectSpread$a({
|
|
40190
40196
|
index: index
|
|
40191
40197
|
}, _icon), otherProps)));
|
|
40192
40198
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -40235,13 +40241,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40235
40241
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
40236
40242
|
key: getUniqueKey(_icon2.name, index),
|
|
40237
40243
|
icon: function icon() {
|
|
40238
|
-
return renderIcon(_objectSpread$
|
|
40244
|
+
return renderIcon(_objectSpread$a({
|
|
40239
40245
|
name: _icon2.name,
|
|
40240
40246
|
type: _icon2.type,
|
|
40241
40247
|
className: "hover:text-gray-600"
|
|
40242
40248
|
}, design.socialIcon));
|
|
40243
40249
|
}
|
|
40244
|
-
}, _objectSpread$
|
|
40250
|
+
}, _objectSpread$a(_objectSpread$a({
|
|
40245
40251
|
index: index
|
|
40246
40252
|
}, _icon2), otherProps)));
|
|
40247
40253
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -40252,8 +40258,8 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40252
40258
|
};
|
|
40253
40259
|
|
|
40254
40260
|
var _excluded$c = ["configurations", "className", "id"];
|
|
40255
|
-
function ownKeys$
|
|
40256
|
-
function _objectSpread$
|
|
40261
|
+
function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
40262
|
+
function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40257
40263
|
var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
40258
40264
|
var configurations = _ref.configurations,
|
|
40259
40265
|
_ref$className = _ref.className,
|
|
@@ -40306,13 +40312,13 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40306
40312
|
id: "footer-with-icons-social-icon-".concat(index, "-link"),
|
|
40307
40313
|
key: getUniqueKey(_icon.name, index),
|
|
40308
40314
|
icon: function icon() {
|
|
40309
|
-
return renderIcon(_objectSpread$
|
|
40315
|
+
return renderIcon(_objectSpread$9({
|
|
40310
40316
|
name: _icon.name,
|
|
40311
40317
|
type: _icon.type,
|
|
40312
40318
|
className: "text-red-60 hover:text-gray-600"
|
|
40313
40319
|
}, design.socialIcon));
|
|
40314
40320
|
}
|
|
40315
|
-
}, _objectSpread$
|
|
40321
|
+
}, _objectSpread$9(_objectSpread$9({
|
|
40316
40322
|
index: index
|
|
40317
40323
|
}, _icon), otherProps)));
|
|
40318
40324
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -40324,8 +40330,8 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40324
40330
|
};
|
|
40325
40331
|
|
|
40326
40332
|
var _excluded$b = ["configurations", "className", "id"];
|
|
40327
|
-
function ownKeys$
|
|
40328
|
-
function _objectSpread$
|
|
40333
|
+
function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
40334
|
+
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40329
40335
|
var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
40330
40336
|
var configurations = _ref.configurations,
|
|
40331
40337
|
_ref$className = _ref.className,
|
|
@@ -40414,12 +40420,12 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40414
40420
|
id: "footer-with-links-social-links-".concat(index, "-icon"),
|
|
40415
40421
|
key: getUniqueKey(_icon.name, index),
|
|
40416
40422
|
icon: function icon() {
|
|
40417
|
-
return renderIcon(_objectSpread$
|
|
40423
|
+
return renderIcon(_objectSpread$8({
|
|
40418
40424
|
name: _icon.name,
|
|
40419
40425
|
type: _icon.type
|
|
40420
40426
|
}, design.socialIcon));
|
|
40421
40427
|
}
|
|
40422
|
-
}, _objectSpread$
|
|
40428
|
+
}, _objectSpread$8(_objectSpread$8({
|
|
40423
40429
|
index: index
|
|
40424
40430
|
}, _icon), otherProps)));
|
|
40425
40431
|
})), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
@@ -42512,8 +42518,8 @@ var useElementVisible = function useElementVisible(ref) {
|
|
|
42512
42518
|
};
|
|
42513
42519
|
|
|
42514
42520
|
var _excluded$9 = ["configurations", "className", "currentPath", "id"];
|
|
42515
|
-
function ownKeys$
|
|
42516
|
-
function _objectSpread$
|
|
42521
|
+
function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42522
|
+
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$7(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42517
42523
|
var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
42518
42524
|
var configurations = _ref.configurations,
|
|
42519
42525
|
_ref$className = _ref.className,
|
|
@@ -42564,7 +42570,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42564
42570
|
isHighlighted: isLinkHighlighted(link.to, currentPath),
|
|
42565
42571
|
key: getUniqueKey(link.label, index),
|
|
42566
42572
|
style: design.links
|
|
42567
|
-
}, _objectSpread$
|
|
42573
|
+
}, _objectSpread$7(_objectSpread$7({
|
|
42568
42574
|
index: index
|
|
42569
42575
|
}, link), otherProps)));
|
|
42570
42576
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -42574,7 +42580,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42574
42580
|
id: "header-with-buttons-buttons-".concat(index, "-button"),
|
|
42575
42581
|
key: getUniqueKey(button.label, index),
|
|
42576
42582
|
style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
|
|
42577
|
-
}, _objectSpread$
|
|
42583
|
+
}, _objectSpread$7(_objectSpread$7({
|
|
42578
42584
|
index: index
|
|
42579
42585
|
}, button), otherProps)));
|
|
42580
42586
|
})), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -42606,7 +42612,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42606
42612
|
fontSize: "1em",
|
|
42607
42613
|
fontWeight: "500"
|
|
42608
42614
|
})
|
|
42609
|
-
}, _objectSpread$
|
|
42615
|
+
}, _objectSpread$7(_objectSpread$7({
|
|
42610
42616
|
index: index,
|
|
42611
42617
|
setIsMenuOpen: setIsMenuOpen
|
|
42612
42618
|
}, button), otherProps)));
|
|
@@ -42614,8 +42620,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42614
42620
|
};
|
|
42615
42621
|
|
|
42616
42622
|
var _excluded$8 = ["configurations", "className", "id"];
|
|
42617
|
-
function ownKeys$
|
|
42618
|
-
function _objectSpread$
|
|
42623
|
+
function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42624
|
+
function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42619
42625
|
var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
42620
42626
|
var configurations = _ref.configurations,
|
|
42621
42627
|
_ref$className = _ref.className,
|
|
@@ -42687,7 +42693,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42687
42693
|
key: getUniqueKey(dropdownLink.label, dropdownLink.to, index),
|
|
42688
42694
|
paddingHorizontal: design.body.paddingHorizontal,
|
|
42689
42695
|
totalLength: properties.links.length
|
|
42690
|
-
}, _objectSpread$
|
|
42696
|
+
}, _objectSpread$6({
|
|
42691
42697
|
dropdownLink: dropdownLink,
|
|
42692
42698
|
index: index
|
|
42693
42699
|
}, otherProps)));
|
|
@@ -42725,8 +42731,8 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42725
42731
|
};
|
|
42726
42732
|
|
|
42727
42733
|
var _excluded$7 = ["configurations", "className", "currentPath", "id"];
|
|
42728
|
-
function ownKeys$
|
|
42729
|
-
function _objectSpread$
|
|
42734
|
+
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42735
|
+
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42730
42736
|
var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
42731
42737
|
var configurations = _ref.configurations,
|
|
42732
42738
|
_ref$className = _ref.className,
|
|
@@ -42762,7 +42768,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42762
42768
|
isHighlighted: isLinkHighlighted(link.to, currentPath),
|
|
42763
42769
|
key: getUniqueKey(link.label, index),
|
|
42764
42770
|
style: design.links
|
|
42765
|
-
}, _objectSpread$
|
|
42771
|
+
}, _objectSpread$5(_objectSpread$5({}, link), {}, {
|
|
42766
42772
|
index: index
|
|
42767
42773
|
}), {
|
|
42768
42774
|
id: "header-with-icons-links-".concat(index, "-link")
|
|
@@ -42785,12 +42791,12 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42785
42791
|
key: getUniqueKey(_icon.to, index),
|
|
42786
42792
|
style: design.icons,
|
|
42787
42793
|
icon: function icon() {
|
|
42788
|
-
return renderIcon(_objectSpread$
|
|
42794
|
+
return renderIcon(_objectSpread$5({
|
|
42789
42795
|
name: _icon.name,
|
|
42790
42796
|
type: _icon.type
|
|
42791
42797
|
}, design.icons));
|
|
42792
42798
|
}
|
|
42793
|
-
}, _objectSpread$
|
|
42799
|
+
}, _objectSpread$5(_objectSpread$5({
|
|
42794
42800
|
index: index
|
|
42795
42801
|
}, _icon), otherProps)));
|
|
42796
42802
|
})), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -42834,7 +42840,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42834
42840
|
key: getUniqueKey(_icon2.to, index),
|
|
42835
42841
|
style: design.icons,
|
|
42836
42842
|
icon: function icon() {
|
|
42837
|
-
return renderIcon(_objectSpread$
|
|
42843
|
+
return renderIcon(_objectSpread$5({
|
|
42838
42844
|
name: _icon2.name,
|
|
42839
42845
|
type: _icon2.type
|
|
42840
42846
|
}, design.icons));
|
|
@@ -42844,8 +42850,8 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42844
42850
|
};
|
|
42845
42851
|
|
|
42846
42852
|
var _excluded$6 = ["configurations", "className", "id", "currentPath"];
|
|
42847
|
-
function ownKeys$
|
|
42848
|
-
function _objectSpread$
|
|
42853
|
+
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42854
|
+
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42849
42855
|
var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
42850
42856
|
var configurations = _ref.configurations,
|
|
42851
42857
|
_ref$className = _ref.className,
|
|
@@ -42906,7 +42912,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42906
42912
|
isHighlighted: isLinkHighlighted(link.to, currentPath),
|
|
42907
42913
|
key: getUniqueKey(link.label, link.to, index),
|
|
42908
42914
|
style: design.links
|
|
42909
|
-
}, _objectSpread$
|
|
42915
|
+
}, _objectSpread$4(_objectSpread$4({
|
|
42910
42916
|
index: index
|
|
42911
42917
|
}, link), otherProps)));
|
|
42912
42918
|
}), buttons.map(function (button, index) {
|
|
@@ -42914,7 +42920,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42914
42920
|
id: "header-with-logo-title-buttons-".concat(index, "-button"),
|
|
42915
42921
|
key: getUniqueKey(button.label, button.url, index),
|
|
42916
42922
|
style: design.buttons
|
|
42917
|
-
}, _objectSpread$
|
|
42923
|
+
}, _objectSpread$4(_objectSpread$4({
|
|
42918
42924
|
index: index
|
|
42919
42925
|
}, button), otherProps)));
|
|
42920
42926
|
})), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -42959,8 +42965,8 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42959
42965
|
};
|
|
42960
42966
|
|
|
42961
42967
|
var _excluded$5 = ["configurations", "className", "id"];
|
|
42962
|
-
function ownKeys$
|
|
42963
|
-
function _objectSpread$
|
|
42968
|
+
function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42969
|
+
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42964
42970
|
var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
42965
42971
|
var configurations = _ref.configurations,
|
|
42966
42972
|
_ref$className = _ref.className,
|
|
@@ -43033,7 +43039,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43033
43039
|
id: "hero-with-call-to-action-button-".concat(index, "-button"),
|
|
43034
43040
|
key: getUniqueKey(button.label, button.to, index),
|
|
43035
43041
|
style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
|
|
43036
|
-
}, _objectSpread$
|
|
43042
|
+
}, _objectSpread$3(_objectSpread$3({
|
|
43037
43043
|
index: index
|
|
43038
43044
|
}, button), otherProps)));
|
|
43039
43045
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -43049,8 +43055,8 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43049
43055
|
};
|
|
43050
43056
|
|
|
43051
43057
|
var _excluded$4 = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
43052
|
-
function ownKeys$
|
|
43053
|
-
function _objectSpread$
|
|
43058
|
+
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43059
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43054
43060
|
var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
43055
43061
|
var configurations = _ref.configurations,
|
|
43056
43062
|
_ref$className = _ref.className,
|
|
@@ -43121,7 +43127,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43121
43127
|
paddingHorizontal: design.body.paddingHorizontal
|
|
43122
43128
|
}
|
|
43123
43129
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43124
|
-
className: contentBaseClasses(_objectSpread$
|
|
43130
|
+
className: contentBaseClasses(_objectSpread$2({
|
|
43125
43131
|
isEmptyContent: isEmptyContent
|
|
43126
43132
|
}, media))
|
|
43127
43133
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
@@ -43135,32 +43141,32 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43135
43141
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43136
43142
|
index: index,
|
|
43137
43143
|
isTitle: true,
|
|
43138
|
-
className: textClasses(_objectSpread$
|
|
43144
|
+
className: textClasses(_objectSpread$2({}, media)),
|
|
43139
43145
|
component: "h1",
|
|
43140
43146
|
id: "hero-with-gallery-slide-".concat(index, "-title"),
|
|
43141
43147
|
style: design.title
|
|
43142
43148
|
}, content.title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
43143
43149
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43144
43150
|
index: index,
|
|
43145
|
-
className: textClasses(_objectSpread$
|
|
43151
|
+
className: textClasses(_objectSpread$2({}, media)),
|
|
43146
43152
|
component: "p",
|
|
43147
43153
|
id: "hero-with-gallery-slide-".concat(index, "-description"),
|
|
43148
43154
|
style: design.description
|
|
43149
43155
|
}, content.description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43150
|
-
className: buttonBaseClasses(_objectSpread$
|
|
43156
|
+
className: buttonBaseClasses(_objectSpread$2({}, media))
|
|
43151
43157
|
}, buttons.map(function (button, buttonIndex) {
|
|
43152
43158
|
return /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
43153
43159
|
className: "flex w-full justify-center sm:w-auto",
|
|
43154
43160
|
id: "hero-with-gallery-slide-".concat(index, "-buttons-").concat(buttonIndex, "-button"),
|
|
43155
43161
|
key: getUniqueKey(button.label, button.url, index),
|
|
43156
43162
|
style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
|
|
43157
|
-
}, _objectSpread$
|
|
43163
|
+
}, _objectSpread$2(_objectSpread$2({
|
|
43158
43164
|
buttonIndex: buttonIndex,
|
|
43159
43165
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43160
43166
|
index: index
|
|
43161
43167
|
}, button), otherProps)));
|
|
43162
43168
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43163
|
-
className: mediaBaseClasses(_objectSpread$
|
|
43169
|
+
className: mediaBaseClasses(_objectSpread$2(_objectSpread$2({}, media), {}, {
|
|
43164
43170
|
isEmptyContent: isEmptyContent
|
|
43165
43171
|
}))
|
|
43166
43172
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
@@ -43244,14 +43250,13 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
43244
43250
|
src = properties.backgroundImage.src;
|
|
43245
43251
|
var baseClasses = "grid grid-cols-12 items-center sm:gap-x-4 gap-y-10";
|
|
43246
43252
|
var logoBaseClasses = function logoBaseClasses(index) {
|
|
43247
|
-
return classnames("col-span-
|
|
43253
|
+
return classnames("col-span-12 flex justify-center w-full", {
|
|
43248
43254
|
"lg:col-span-2": logoCount === 6,
|
|
43249
43255
|
"sm:col-span-3": logoCount === 4,
|
|
43250
43256
|
"ns-logo-clouds": !showColoredLogo,
|
|
43251
43257
|
"sm:col-start-4": logos.length % 4 === 2 && index === logos.length - 2,
|
|
43252
43258
|
"sm:col-start-3": logos.length % 4 === 3 && index === logos.length - 3,
|
|
43253
|
-
"sm:col-start-5 sm:!col-span-4 !col-start-4": logos.length % 4 === 1 && index === logos.length - 1
|
|
43254
|
-
"col-start-3": logos.length % 2 === 1 && index === logos.length - 1
|
|
43259
|
+
"sm:col-start-5 sm:!col-span-4 !col-start-4": logos.length % 4 === 1 && index === logos.length - 1
|
|
43255
43260
|
});
|
|
43256
43261
|
};
|
|
43257
43262
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
@@ -43282,12 +43287,16 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
43282
43287
|
src: src,
|
|
43283
43288
|
title: title,
|
|
43284
43289
|
className: "logo-image",
|
|
43285
|
-
design: design.logo
|
|
43290
|
+
design: design.logo,
|
|
43291
|
+
wrapperClassName: "max-w-56 max-h-28"
|
|
43286
43292
|
}));
|
|
43287
43293
|
}));
|
|
43288
43294
|
};
|
|
43289
43295
|
|
|
43290
|
-
var _excluded$3 = ["configurations", "className", "id"]
|
|
43296
|
+
var _excluded$3 = ["configurations", "className", "id"],
|
|
43297
|
+
_excluded2 = ["link", "index", "disableButtonAndLinks", "design"];
|
|
43298
|
+
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43299
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43291
43300
|
var Paragraph = function Paragraph(_ref) {
|
|
43292
43301
|
var configurations = _ref.configurations,
|
|
43293
43302
|
_ref$className = _ref.className,
|
|
@@ -43327,44 +43336,42 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
43327
43336
|
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
43328
43337
|
id: "paragraph-description",
|
|
43329
43338
|
style: design.description
|
|
43330
|
-
}, otherProps), description), /*#__PURE__*/React__default["default"].createElement(
|
|
43339
|
+
}, otherProps), description), /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
43340
|
+
enableAnimation: enableAnimation,
|
|
43341
|
+
className: "flex w-full",
|
|
43342
|
+
design: design.feature
|
|
43343
|
+
}, /*#__PURE__*/React__default["default"].createElement(ListComponent, {
|
|
43331
43344
|
className: classnames("col-span-12 mb-8 w-full space-y-5 pl-4", {
|
|
43332
43345
|
"list-decimal": isOrdered,
|
|
43333
43346
|
"list-disc": !isOrdered
|
|
43334
43347
|
})
|
|
43335
|
-
}, features.map(function (
|
|
43336
|
-
|
|
43337
|
-
return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
43338
|
-
enableAnimation: enableAnimation,
|
|
43339
|
-
className: "flex w-full",
|
|
43340
|
-
design: design.feature,
|
|
43341
|
-
key: getUniqueKey(featureTitle, index)
|
|
43342
|
-
}, /*#__PURE__*/React__default["default"].createElement(ListItem, {
|
|
43343
|
-
featureTitle: featureTitle,
|
|
43348
|
+
}, features.map(function (link, index) {
|
|
43349
|
+
return /*#__PURE__*/React__default["default"].createElement(ListItem, _extends__default["default"]({
|
|
43344
43350
|
index: index,
|
|
43345
|
-
|
|
43346
|
-
|
|
43347
|
-
|
|
43348
|
-
|
|
43351
|
+
link: link,
|
|
43352
|
+
design: design.featureTitle,
|
|
43353
|
+
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
43354
|
+
key: getUniqueKey(link.label, index)
|
|
43355
|
+
}, otherProps));
|
|
43356
|
+
})))));
|
|
43349
43357
|
};
|
|
43350
|
-
var ListItem = function ListItem(
|
|
43351
|
-
var
|
|
43352
|
-
|
|
43353
|
-
|
|
43354
|
-
|
|
43355
|
-
|
|
43356
|
-
id: "paragraph-".concat(index, "-title"),
|
|
43357
|
-
index: index
|
|
43358
|
-
}),
|
|
43359
|
-
handleTitleClick = _useElementClick.handleTitleClick;
|
|
43358
|
+
var ListItem = function ListItem(_ref2) {
|
|
43359
|
+
var link = _ref2.link,
|
|
43360
|
+
index = _ref2.index,
|
|
43361
|
+
disableButtonAndLinks = _ref2.disableButtonAndLinks,
|
|
43362
|
+
design = _ref2.design,
|
|
43363
|
+
otherProps = _objectWithoutProperties__default["default"](_ref2, _excluded2);
|
|
43360
43364
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
43361
43365
|
as: "li",
|
|
43362
|
-
|
|
43363
|
-
|
|
43364
|
-
|
|
43365
|
-
|
|
43366
|
-
|
|
43367
|
-
},
|
|
43366
|
+
className: "pl-2"
|
|
43367
|
+
}, /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
43368
|
+
disableHovering: true,
|
|
43369
|
+
id: "paragraph-".concat(index, "-title"),
|
|
43370
|
+
style: design
|
|
43371
|
+
}, _objectSpread$1(_objectSpread$1({
|
|
43372
|
+
disableButtonAndLinks: disableButtonAndLinks,
|
|
43373
|
+
index: index
|
|
43374
|
+
}, link), otherProps))));
|
|
43368
43375
|
};
|
|
43369
43376
|
|
|
43370
43377
|
var _excluded$2 = ["configurations", "className", "id"];
|