@bigbinary/neeto-site-blocks 1.8.1 → 1.8.3
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 +377 -70
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +377 -70
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2062,6 +2062,53 @@ function _curry2(fn) {
|
|
|
2062
2062
|
};
|
|
2063
2063
|
}
|
|
2064
2064
|
|
|
2065
|
+
/**
|
|
2066
|
+
* Optimized internal three-arity curry function.
|
|
2067
|
+
*
|
|
2068
|
+
* @private
|
|
2069
|
+
* @category Function
|
|
2070
|
+
* @param {Function} fn The function to curry.
|
|
2071
|
+
* @return {Function} The curried function.
|
|
2072
|
+
*/
|
|
2073
|
+
|
|
2074
|
+
function _curry3(fn) {
|
|
2075
|
+
return function f3(a, b, c) {
|
|
2076
|
+
switch (arguments.length) {
|
|
2077
|
+
case 0:
|
|
2078
|
+
return f3;
|
|
2079
|
+
|
|
2080
|
+
case 1:
|
|
2081
|
+
return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {
|
|
2082
|
+
return fn(a, _b, _c);
|
|
2083
|
+
});
|
|
2084
|
+
|
|
2085
|
+
case 2:
|
|
2086
|
+
return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {
|
|
2087
|
+
return fn(_a, b, _c);
|
|
2088
|
+
}) : _isPlaceholder(b) ? _curry2(function (_b, _c) {
|
|
2089
|
+
return fn(a, _b, _c);
|
|
2090
|
+
}) : _curry1(function (_c) {
|
|
2091
|
+
return fn(a, b, _c);
|
|
2092
|
+
});
|
|
2093
|
+
|
|
2094
|
+
default:
|
|
2095
|
+
return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {
|
|
2096
|
+
return fn(_a, _b, c);
|
|
2097
|
+
}) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {
|
|
2098
|
+
return fn(_a, b, _c);
|
|
2099
|
+
}) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {
|
|
2100
|
+
return fn(a, _b, _c);
|
|
2101
|
+
}) : _isPlaceholder(a) ? _curry1(function (_a) {
|
|
2102
|
+
return fn(_a, b, c);
|
|
2103
|
+
}) : _isPlaceholder(b) ? _curry1(function (_b) {
|
|
2104
|
+
return fn(a, _b, c);
|
|
2105
|
+
}) : _isPlaceholder(c) ? _curry1(function (_c) {
|
|
2106
|
+
return fn(a, b, _c);
|
|
2107
|
+
}) : fn(a, b, c);
|
|
2108
|
+
}
|
|
2109
|
+
};
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2065
2112
|
/**
|
|
2066
2113
|
* Tests whether or not an object is an array.
|
|
2067
2114
|
*
|
|
@@ -2533,6 +2580,36 @@ _curry2(function prop(p, obj) {
|
|
|
2533
2580
|
return _isInteger(p) ? nth(p, obj) : obj[p];
|
|
2534
2581
|
});
|
|
2535
2582
|
|
|
2583
|
+
/**
|
|
2584
|
+
* Makes a shallow clone of an object, setting or overriding the specified
|
|
2585
|
+
* property with the given value. Note that this copies and flattens prototype
|
|
2586
|
+
* properties onto the new object as well. All non-primitive properties are
|
|
2587
|
+
* copied by reference.
|
|
2588
|
+
*
|
|
2589
|
+
* @private
|
|
2590
|
+
* @param {String|Number} prop The property name to set
|
|
2591
|
+
* @param {*} val The new value
|
|
2592
|
+
* @param {Object|Array} obj The object to clone
|
|
2593
|
+
* @return {Object|Array} A new object equivalent to the original except for the changed property.
|
|
2594
|
+
*/
|
|
2595
|
+
|
|
2596
|
+
function _assoc(prop, val, obj) {
|
|
2597
|
+
if (_isInteger(prop) && _isArray(obj)) {
|
|
2598
|
+
var arr = [].concat(obj);
|
|
2599
|
+
arr[prop] = val;
|
|
2600
|
+
return arr;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
var result = {};
|
|
2604
|
+
|
|
2605
|
+
for (var p in obj) {
|
|
2606
|
+
result[p] = obj[p];
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
result[prop] = val;
|
|
2610
|
+
return result;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2536
2613
|
/**
|
|
2537
2614
|
* Checks if the input value is `null` or `undefined`.
|
|
2538
2615
|
*
|
|
@@ -2557,6 +2634,76 @@ _curry1(function isNil(x) {
|
|
|
2557
2634
|
return x == null;
|
|
2558
2635
|
});
|
|
2559
2636
|
|
|
2637
|
+
/**
|
|
2638
|
+
* Makes a shallow clone of an object, setting or overriding the nodes required
|
|
2639
|
+
* to create the given path, and placing the specific value at the tail end of
|
|
2640
|
+
* that path. Note that this copies and flattens prototype properties onto the
|
|
2641
|
+
* new object as well. All non-primitive properties are copied by reference.
|
|
2642
|
+
*
|
|
2643
|
+
* @func
|
|
2644
|
+
* @memberOf R
|
|
2645
|
+
* @since v0.8.0
|
|
2646
|
+
* @category Object
|
|
2647
|
+
* @typedefn Idx = String | Int | Symbol
|
|
2648
|
+
* @sig [Idx] -> a -> {a} -> {a}
|
|
2649
|
+
* @param {Array} path the path to set
|
|
2650
|
+
* @param {*} val The new value
|
|
2651
|
+
* @param {Object} obj The object to clone
|
|
2652
|
+
* @return {Object} A new object equivalent to the original except along the specified path.
|
|
2653
|
+
* @see R.dissocPath
|
|
2654
|
+
* @example
|
|
2655
|
+
*
|
|
2656
|
+
* R.assocPath(['a', 'b', 'c'], 42, {a: {b: {c: 0}}}); //=> {a: {b: {c: 42}}}
|
|
2657
|
+
*
|
|
2658
|
+
* // Any missing or non-object keys in path will be overridden
|
|
2659
|
+
* R.assocPath(['a', 'b', 'c'], 42, {a: 5}); //=> {a: {b: {c: 42}}}
|
|
2660
|
+
*/
|
|
2661
|
+
|
|
2662
|
+
var assocPath =
|
|
2663
|
+
/*#__PURE__*/
|
|
2664
|
+
_curry3(function assocPath(path, val, obj) {
|
|
2665
|
+
if (path.length === 0) {
|
|
2666
|
+
return val;
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
var idx = path[0];
|
|
2670
|
+
|
|
2671
|
+
if (path.length > 1) {
|
|
2672
|
+
var nextObj = !isNil(obj) && _has(idx, obj) && typeof obj[idx] === 'object' ? obj[idx] : _isInteger(path[1]) ? [] : {};
|
|
2673
|
+
val = assocPath(Array.prototype.slice.call(path, 1), val, nextObj);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
return _assoc(idx, val, obj);
|
|
2677
|
+
});
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* Makes a shallow clone of an object, setting or overriding the specified
|
|
2681
|
+
* property with the given value. Note that this copies and flattens prototype
|
|
2682
|
+
* properties onto the new object as well. All non-primitive properties are
|
|
2683
|
+
* copied by reference.
|
|
2684
|
+
*
|
|
2685
|
+
* @func
|
|
2686
|
+
* @memberOf R
|
|
2687
|
+
* @since v0.8.0
|
|
2688
|
+
* @category Object
|
|
2689
|
+
* @typedefn Idx = String | Int
|
|
2690
|
+
* @sig Idx -> a -> {k: v} -> {k: v}
|
|
2691
|
+
* @param {String|Number} prop The property name to set
|
|
2692
|
+
* @param {*} val The new value
|
|
2693
|
+
* @param {Object} obj The object to clone
|
|
2694
|
+
* @return {Object} A new object equivalent to the original except for the changed property.
|
|
2695
|
+
* @see R.dissoc, R.pick
|
|
2696
|
+
* @example
|
|
2697
|
+
*
|
|
2698
|
+
* R.assoc('c', 3, {a: 1, b: 2}); //=> {a: 1, b: 2, c: 3}
|
|
2699
|
+
*/
|
|
2700
|
+
|
|
2701
|
+
var assoc =
|
|
2702
|
+
/*#__PURE__*/
|
|
2703
|
+
_curry3(function assoc(prop, val, obj) {
|
|
2704
|
+
return assocPath([prop], val, obj);
|
|
2705
|
+
});
|
|
2706
|
+
|
|
2560
2707
|
function _identity(x) {
|
|
2561
2708
|
return x;
|
|
2562
2709
|
}
|
|
@@ -2585,6 +2732,158 @@ var identity =
|
|
|
2585
2732
|
/*#__PURE__*/
|
|
2586
2733
|
_curry1(_identity);
|
|
2587
2734
|
|
|
2735
|
+
/**
|
|
2736
|
+
* Removes the sub-list of `list` starting at index `start` and containing
|
|
2737
|
+
* `count` elements. _Note that this is not destructive_: it returns a copy of
|
|
2738
|
+
* the list with the changes.
|
|
2739
|
+
* <small>No lists have been harmed in the application of this function.</small>
|
|
2740
|
+
*
|
|
2741
|
+
* @func
|
|
2742
|
+
* @memberOf R
|
|
2743
|
+
* @since v0.2.2
|
|
2744
|
+
* @category List
|
|
2745
|
+
* @sig Number -> Number -> [a] -> [a]
|
|
2746
|
+
* @param {Number} start The position to start removing elements
|
|
2747
|
+
* @param {Number} count The number of elements to remove
|
|
2748
|
+
* @param {Array} list The list to remove from
|
|
2749
|
+
* @return {Array} A new Array with `count` elements from `start` removed.
|
|
2750
|
+
* @see R.without
|
|
2751
|
+
* @example
|
|
2752
|
+
*
|
|
2753
|
+
* R.remove(2, 3, [1,2,3,4,5,6,7,8]); //=> [1,2,6,7,8]
|
|
2754
|
+
*/
|
|
2755
|
+
|
|
2756
|
+
var remove =
|
|
2757
|
+
/*#__PURE__*/
|
|
2758
|
+
_curry3(function remove(start, count, list) {
|
|
2759
|
+
var result = Array.prototype.slice.call(list, 0);
|
|
2760
|
+
result.splice(start, count);
|
|
2761
|
+
return result;
|
|
2762
|
+
});
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Returns a new object that does not contain a `prop` property.
|
|
2766
|
+
*
|
|
2767
|
+
* @private
|
|
2768
|
+
* @param {String|Number} prop The name of the property to dissociate
|
|
2769
|
+
* @param {Object|Array} obj The object to clone
|
|
2770
|
+
* @return {Object} A new object equivalent to the original but without the specified property
|
|
2771
|
+
*/
|
|
2772
|
+
|
|
2773
|
+
function _dissoc(prop, obj) {
|
|
2774
|
+
if (obj == null) {
|
|
2775
|
+
return obj;
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
if (_isInteger(prop) && _isArray(obj)) {
|
|
2779
|
+
return remove(prop, 1, obj);
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
var result = {};
|
|
2783
|
+
|
|
2784
|
+
for (var p in obj) {
|
|
2785
|
+
result[p] = obj[p];
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
delete result[prop];
|
|
2789
|
+
return result;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* Makes a shallow clone of an object. Note that this copies and flattens
|
|
2794
|
+
* prototype properties onto the new object as well. All non-primitive
|
|
2795
|
+
* properties are copied by reference.
|
|
2796
|
+
*
|
|
2797
|
+
* @private
|
|
2798
|
+
* @param {String|Integer} prop The prop operating
|
|
2799
|
+
* @param {Object|Array} obj The object to clone
|
|
2800
|
+
* @return {Object|Array} A new object equivalent to the original.
|
|
2801
|
+
*/
|
|
2802
|
+
|
|
2803
|
+
function _shallowCloneObject(prop, obj) {
|
|
2804
|
+
if (_isInteger(prop) && _isArray(obj)) {
|
|
2805
|
+
return [].concat(obj);
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
var result = {};
|
|
2809
|
+
|
|
2810
|
+
for (var p in obj) {
|
|
2811
|
+
result[p] = obj[p];
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
return result;
|
|
2815
|
+
}
|
|
2816
|
+
/**
|
|
2817
|
+
* Makes a shallow clone of an object, omitting the property at the given path.
|
|
2818
|
+
* Note that this copies and flattens prototype properties onto the new object
|
|
2819
|
+
* as well. All non-primitive properties are copied by reference.
|
|
2820
|
+
*
|
|
2821
|
+
* @func
|
|
2822
|
+
* @memberOf R
|
|
2823
|
+
* @since v0.11.0
|
|
2824
|
+
* @category Object
|
|
2825
|
+
* @typedefn Idx = String | Int | Symbol
|
|
2826
|
+
* @sig [Idx] -> {k: v} -> {k: v}
|
|
2827
|
+
* @param {Array} path The path to the value to omit
|
|
2828
|
+
* @param {Object} obj The object to clone
|
|
2829
|
+
* @return {Object} A new object without the property at path
|
|
2830
|
+
* @see R.assocPath
|
|
2831
|
+
* @example
|
|
2832
|
+
*
|
|
2833
|
+
* R.dissocPath(['a', 'b', 'c'], {a: {b: {c: 42}}}); //=> {a: {b: {}}}
|
|
2834
|
+
*/
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
var dissocPath =
|
|
2838
|
+
/*#__PURE__*/
|
|
2839
|
+
_curry2(function dissocPath(path, obj) {
|
|
2840
|
+
if (obj == null) {
|
|
2841
|
+
return obj;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
switch (path.length) {
|
|
2845
|
+
case 0:
|
|
2846
|
+
return obj;
|
|
2847
|
+
|
|
2848
|
+
case 1:
|
|
2849
|
+
return _dissoc(path[0], obj);
|
|
2850
|
+
|
|
2851
|
+
default:
|
|
2852
|
+
var head = path[0];
|
|
2853
|
+
var tail = Array.prototype.slice.call(path, 1);
|
|
2854
|
+
|
|
2855
|
+
if (obj[head] == null) {
|
|
2856
|
+
return _shallowCloneObject(head, obj);
|
|
2857
|
+
} else {
|
|
2858
|
+
return assoc(head, dissocPath(tail, obj[head]), obj);
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
}
|
|
2862
|
+
});
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* Returns a new object that does not contain a `prop` property.
|
|
2866
|
+
*
|
|
2867
|
+
* @func
|
|
2868
|
+
* @memberOf R
|
|
2869
|
+
* @since v0.10.0
|
|
2870
|
+
* @category Object
|
|
2871
|
+
* @sig String -> {k: v} -> {k: v}
|
|
2872
|
+
* @param {String} prop The name of the property to dissociate
|
|
2873
|
+
* @param {Object} obj The object to clone
|
|
2874
|
+
* @return {Object} A new object equivalent to the original but without the specified property
|
|
2875
|
+
* @see R.assoc, R.omit
|
|
2876
|
+
* @example
|
|
2877
|
+
*
|
|
2878
|
+
* R.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}
|
|
2879
|
+
*/
|
|
2880
|
+
|
|
2881
|
+
var dissoc =
|
|
2882
|
+
/*#__PURE__*/
|
|
2883
|
+
_curry2(function dissoc(prop, obj) {
|
|
2884
|
+
return dissocPath([prop], obj);
|
|
2885
|
+
});
|
|
2886
|
+
|
|
2588
2887
|
/**
|
|
2589
2888
|
* Tests whether or not an object is a typed array.
|
|
2590
2889
|
*
|
|
@@ -4648,8 +4947,8 @@ var isLinkHighlighted = function isLinkHighlighted(to, currentPath) {
|
|
|
4648
4947
|
return currentPath.pathName === to && isEmpty(currentPath.hash) || currentPath.hash === to;
|
|
4649
4948
|
};
|
|
4650
4949
|
|
|
4651
|
-
function ownKeys$
|
|
4652
|
-
function _objectSpread$
|
|
4950
|
+
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; }
|
|
4951
|
+
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$1(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; }
|
|
4653
4952
|
var StyledWrapper = styled.div.attrs(function (props) {
|
|
4654
4953
|
return {
|
|
4655
4954
|
className: generateResponsiveStyles(props.design)
|
|
@@ -4673,11 +4972,11 @@ var StyledWrapper = styled.div.attrs(function (props) {
|
|
|
4673
4972
|
borderWidth: (_design$border2 = design.border) === null || _design$border2 === void 0 ? void 0 : _design$border2.borderWidth
|
|
4674
4973
|
};
|
|
4675
4974
|
var borderColorStyles = pickBy(identity, borderColors);
|
|
4676
|
-
var backgroundStyles = _objectSpread$
|
|
4975
|
+
var backgroundStyles = _objectSpread$l({
|
|
4677
4976
|
position: "relative",
|
|
4678
4977
|
zIndex: 0
|
|
4679
4978
|
}, backgroundImage.src ? {
|
|
4680
|
-
"&::before": _objectSpread$
|
|
4979
|
+
"&::before": _objectSpread$l({
|
|
4681
4980
|
content: "''",
|
|
4682
4981
|
position: "absolute",
|
|
4683
4982
|
top: 0,
|
|
@@ -14252,6 +14551,7 @@ var useElementClick = function useElementClick(_ref) {
|
|
|
14252
14551
|
// This function is used as the click handler for "Link" and "Button" elements in the to highlight the element
|
|
14253
14552
|
var handleClick = function handleClick(event) {
|
|
14254
14553
|
event.preventDefault();
|
|
14554
|
+
if (!id) return;
|
|
14255
14555
|
setTimeout(function () {
|
|
14256
14556
|
var accordion = document.querySelector("[data-accordion-id=".concat(id.replace(/-[^-]+$/, ""), "]"));
|
|
14257
14557
|
var element = document.querySelector("[data-element-id=".concat(id, "]"));
|
|
@@ -15675,8 +15975,8 @@ var Button = function Button(_ref) {
|
|
|
15675
15975
|
var Button$1 = withConditionalRender(Button, prop("label"));
|
|
15676
15976
|
|
|
15677
15977
|
var _excluded$w = ["to", "label", "style", "className", "icon", "action", "baseUrl", "draftMode", "link", "isHighlighted", "disableButtonAndLinks", "children", "disableHovering", "setIsMenuOpen", "id", "index"];
|
|
15678
|
-
function ownKeys$
|
|
15679
|
-
function _objectSpread$
|
|
15978
|
+
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; }
|
|
15979
|
+
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$1(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; }
|
|
15680
15980
|
var LinkElement = function LinkElement(_ref) {
|
|
15681
15981
|
var _ref$to = _ref.to,
|
|
15682
15982
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
@@ -15718,7 +16018,7 @@ var LinkElement = function LinkElement(_ref) {
|
|
|
15718
16018
|
setIsMenuOpen && setIsMenuOpen(false);
|
|
15719
16019
|
disableButtonAndLinks && handleClick(event);
|
|
15720
16020
|
};
|
|
15721
|
-
var commonProps = _objectSpread$
|
|
16021
|
+
var commonProps = _objectSpread$k({
|
|
15722
16022
|
className: classnames([baseClass, className]),
|
|
15723
16023
|
design: style,
|
|
15724
16024
|
href: to !== null && to !== void 0 ? to : "",
|
|
@@ -15748,11 +16048,11 @@ var Link = withConditionalRender(LinkElement, function () {
|
|
|
15748
16048
|
return !!(prop("label") || prop("icon"));
|
|
15749
16049
|
});
|
|
15750
16050
|
|
|
15751
|
-
var _excluded$v = ["
|
|
15752
|
-
function ownKeys$
|
|
15753
|
-
function _objectSpread$
|
|
16051
|
+
var _excluded$v = ["dropdownLink", "design", "index", "height", "className", "totalLength", "paddingHorizontal"];
|
|
16052
|
+
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; }
|
|
16053
|
+
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$1(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; }
|
|
15754
16054
|
var Dropdown = function Dropdown(_ref) {
|
|
15755
|
-
var
|
|
16055
|
+
var dropdownLink = _ref.dropdownLink,
|
|
15756
16056
|
design = _ref.design,
|
|
15757
16057
|
index = _ref.index,
|
|
15758
16058
|
height = _ref.height,
|
|
@@ -15770,8 +16070,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
15770
16070
|
isSize = _useBreakpoints.isSize;
|
|
15771
16071
|
var isSmallerScreen = isSize("mobile") || isSize("tablet");
|
|
15772
16072
|
var isLargerScreen = isSize("desktop") || isSize("largeDesktop");
|
|
15773
|
-
var label =
|
|
15774
|
-
subLinks =
|
|
16073
|
+
var label = dropdownLink.label,
|
|
16074
|
+
subLinks = dropdownLink.subLinks;
|
|
15775
16075
|
var renderDropdownItems = function renderDropdownItems(className) {
|
|
15776
16076
|
return subLinks.map(function (subLink, index) {
|
|
15777
16077
|
return /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
@@ -15780,7 +16080,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
15780
16080
|
key: getUniqueKey(subLink.label, subLink.to, index),
|
|
15781
16081
|
setIsMenuOpen: setIsOpen,
|
|
15782
16082
|
style: design
|
|
15783
|
-
}, _objectSpread$
|
|
16083
|
+
}, _objectSpread$j(_objectSpread$j({
|
|
15784
16084
|
index: index
|
|
15785
16085
|
}, subLink), otherProps)));
|
|
15786
16086
|
});
|
|
@@ -15858,8 +16158,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
15858
16158
|
}, renderDropdownItems("rounded-md px-4 py-2 hover:bg-gray-100")))));
|
|
15859
16159
|
};
|
|
15860
16160
|
|
|
15861
|
-
function ownKeys$
|
|
15862
|
-
function _objectSpread$
|
|
16161
|
+
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; }
|
|
16162
|
+
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$1(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; }
|
|
15863
16163
|
var subscribe = function subscribe(listener) {
|
|
15864
16164
|
window.addEventListener("resize", listener);
|
|
15865
16165
|
return function () {
|
|
@@ -15868,7 +16168,7 @@ var subscribe = function subscribe(listener) {
|
|
|
15868
16168
|
};
|
|
15869
16169
|
var getCurrentSize = function getCurrentSize(window, breakpointOverrides) {
|
|
15870
16170
|
var innerWidth = window.innerWidth;
|
|
15871
|
-
var sizes = _objectSpread$
|
|
16171
|
+
var sizes = _objectSpread$i({
|
|
15872
16172
|
mobile: innerWidth < 768,
|
|
15873
16173
|
tablet: innerWidth >= 768 && innerWidth < 1024,
|
|
15874
16174
|
desktop: innerWidth >= 1024 && innerWidth < 1280,
|
|
@@ -15894,21 +16194,25 @@ var useBreakpoints = function useBreakpoints(breakpointOverrides) {
|
|
|
15894
16194
|
var useBreakpoints$1 = useBreakpoints;
|
|
15895
16195
|
|
|
15896
16196
|
var _excluded$u = ["isEmbedded", "src", "design"];
|
|
16197
|
+
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; }
|
|
16198
|
+
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$1(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; }
|
|
15897
16199
|
var Media = function Media(_ref) {
|
|
15898
16200
|
var isEmbedded = _ref.isEmbedded,
|
|
15899
16201
|
src = _ref.src,
|
|
15900
16202
|
design = _ref.design,
|
|
15901
16203
|
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
15902
16204
|
if (isEmbedded) {
|
|
15903
|
-
|
|
16205
|
+
var _design$width;
|
|
16206
|
+
return /*#__PURE__*/React__default.createElement(StyledWrapper, {
|
|
15904
16207
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
15905
|
-
|
|
16208
|
+
as: "iframe",
|
|
16209
|
+
design: dissoc("width", design),
|
|
15906
16210
|
height: "300px",
|
|
15907
16211
|
src: validateUrl(src),
|
|
15908
|
-
|
|
16212
|
+
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
15909
16213
|
});
|
|
15910
16214
|
}
|
|
15911
|
-
return /*#__PURE__*/React__default.createElement(StyledImage$1,
|
|
16215
|
+
return /*#__PURE__*/React__default.createElement(StyledImage$1, _objectSpread$h({
|
|
15912
16216
|
design: design,
|
|
15913
16217
|
src: src
|
|
15914
16218
|
}, otherProps));
|
|
@@ -20973,8 +21277,8 @@ const SwiperSlide = /*#__PURE__*/forwardRef(function (_temp, externalRef) {
|
|
|
20973
21277
|
});
|
|
20974
21278
|
SwiperSlide.displayName = 'SwiperSlide';
|
|
20975
21279
|
|
|
20976
|
-
function ownKeys$
|
|
20977
|
-
function _objectSpread$
|
|
21280
|
+
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; }
|
|
21281
|
+
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$1(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; }
|
|
20978
21282
|
var CardsInGridView = function CardsInGridView(_ref) {
|
|
20979
21283
|
var configurations = _ref.configurations,
|
|
20980
21284
|
_ref$className = _ref.className,
|
|
@@ -21097,7 +21401,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21097
21401
|
}, cards.map(function (card, index) {
|
|
21098
21402
|
return /*#__PURE__*/React__default.createElement(SwiperSlide, {
|
|
21099
21403
|
key: getUniqueKey(card.title, card.description, index)
|
|
21100
|
-
}, renderCard(_objectSpread$
|
|
21404
|
+
}, renderCard(_objectSpread$g(_objectSpread$g({}, card), {}, {
|
|
21101
21405
|
index: index
|
|
21102
21406
|
})));
|
|
21103
21407
|
}))), /*#__PURE__*/React__default.createElement(ArrowButton, {
|
|
@@ -21112,7 +21416,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21112
21416
|
}, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
|
|
21113
21417
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|
|
21114
21418
|
style: design.button
|
|
21115
|
-
}, _objectSpread$
|
|
21419
|
+
}, _objectSpread$g(_objectSpread$g({}, button), {}, {
|
|
21116
21420
|
disableButtonAndLinks: disableButtonAndLinks
|
|
21117
21421
|
}), {
|
|
21118
21422
|
id: "cards-in-grid-view-action-button"
|
|
@@ -21145,7 +21449,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21145
21449
|
}, cards.map(function (card, index) {
|
|
21146
21450
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
21147
21451
|
key: getUniqueKey(card.title, card.description, index)
|
|
21148
|
-
}, renderCard(_objectSpread$
|
|
21452
|
+
}, renderCard(_objectSpread$g(_objectSpread$g({}, card), {}, {
|
|
21149
21453
|
index: index
|
|
21150
21454
|
})));
|
|
21151
21455
|
})), isButtonRequired && /*#__PURE__*/React__default.createElement(StyledWrapper, {
|
|
@@ -21156,7 +21460,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21156
21460
|
}, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
|
|
21157
21461
|
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
21158
21462
|
style: design.button
|
|
21159
|
-
}, _objectSpread$
|
|
21463
|
+
}, _objectSpread$g(_objectSpread$g({}, button), {}, {
|
|
21160
21464
|
disableButtonAndLinks: disableButtonAndLinks
|
|
21161
21465
|
}), {
|
|
21162
21466
|
id: "cards-in-grid-view-action-button"
|
|
@@ -21251,8 +21555,8 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21251
21555
|
};
|
|
21252
21556
|
|
|
21253
21557
|
var _excluded$p = ["configurations", "className", "id"];
|
|
21254
|
-
function ownKeys$
|
|
21255
|
-
function _objectSpread$
|
|
21558
|
+
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; }
|
|
21559
|
+
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$1(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; }
|
|
21256
21560
|
var CardsWithImage = function CardsWithImage(_ref) {
|
|
21257
21561
|
var configurations = _ref.configurations,
|
|
21258
21562
|
_ref$className = _ref.className,
|
|
@@ -21303,7 +21607,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21303
21607
|
className: gridBaseClasses,
|
|
21304
21608
|
duration: 0.01,
|
|
21305
21609
|
key: getUniqueKey(title, description, index),
|
|
21306
|
-
design: _objectSpread$
|
|
21610
|
+
design: _objectSpread$f(_objectSpread$f({}, design.card), {}, {
|
|
21307
21611
|
paddingHorizontal: 0,
|
|
21308
21612
|
paddingVertical: 0
|
|
21309
21613
|
}),
|
|
@@ -21335,7 +21639,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21335
21639
|
}), isAddMoreRequired && /*#__PURE__*/React__default.createElement(MotionWrapper, {
|
|
21336
21640
|
enableAnimation: enableAnimation,
|
|
21337
21641
|
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",
|
|
21338
|
-
design: _objectSpread$
|
|
21642
|
+
design: _objectSpread$f(_objectSpread$f({}, design.card), {}, {
|
|
21339
21643
|
paddingHorizontal: 0,
|
|
21340
21644
|
paddingVertical: 0,
|
|
21341
21645
|
backgroundColor: "transparent"
|
|
@@ -21350,8 +21654,8 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21350
21654
|
};
|
|
21351
21655
|
|
|
21352
21656
|
var _excluded$o = ["configurations", "className", "id"];
|
|
21353
|
-
function ownKeys$
|
|
21354
|
-
function _objectSpread$
|
|
21657
|
+
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; }
|
|
21658
|
+
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$1(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; }
|
|
21355
21659
|
var CtaClassic = function CtaClassic(_ref) {
|
|
21356
21660
|
var configurations = _ref.configurations,
|
|
21357
21661
|
_ref$className = _ref.className,
|
|
@@ -21395,7 +21699,7 @@ var CtaClassic = function CtaClassic(_ref) {
|
|
|
21395
21699
|
id: "cta-classic-button-".concat(index),
|
|
21396
21700
|
key: index,
|
|
21397
21701
|
style: button.type === "primary" ? design.primaryButton : design.secondaryButton
|
|
21398
|
-
}, _objectSpread$
|
|
21702
|
+
}, _objectSpread$e(_objectSpread$e({
|
|
21399
21703
|
index: index
|
|
21400
21704
|
}, button), otherProps)));
|
|
21401
21705
|
})));
|
|
@@ -39008,8 +39312,8 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39008
39312
|
};
|
|
39009
39313
|
|
|
39010
39314
|
var _excluded$m = ["configurations", "className", "id"];
|
|
39011
|
-
function ownKeys$
|
|
39012
|
-
function _objectSpread$
|
|
39315
|
+
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; }
|
|
39316
|
+
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$1(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; }
|
|
39013
39317
|
var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
39014
39318
|
var configurations = _ref.configurations,
|
|
39015
39319
|
_ref$className = _ref.className,
|
|
@@ -39061,7 +39365,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39061
39365
|
id: "cta-with-logo-button-".concat(index, "-button"),
|
|
39062
39366
|
key: index,
|
|
39063
39367
|
style: design.button
|
|
39064
|
-
}, _objectSpread$
|
|
39368
|
+
}, _objectSpread$d(_objectSpread$d({}, button), {}, {
|
|
39065
39369
|
index: index
|
|
39066
39370
|
}, otherProps)));
|
|
39067
39371
|
})));
|
|
@@ -39090,8 +39394,8 @@ var Embed = function Embed(_ref) {
|
|
|
39090
39394
|
|
|
39091
39395
|
var _excluded$l = ["configurations", "className", "id"],
|
|
39092
39396
|
_excluded2 = ["question", "answer", "design", "enableAnimation", "index"];
|
|
39093
|
-
function ownKeys$
|
|
39094
|
-
function _objectSpread$
|
|
39397
|
+
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; }
|
|
39398
|
+
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$1(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; }
|
|
39095
39399
|
var FaqWithHamburgerView = function FaqWithHamburgerView(_ref) {
|
|
39096
39400
|
var configurations = _ref.configurations,
|
|
39097
39401
|
_ref$className = _ref.className,
|
|
@@ -39123,7 +39427,7 @@ var FaqWithHamburgerView = function FaqWithHamburgerView(_ref) {
|
|
|
39123
39427
|
}, faqs.map(function (_ref2, index) {
|
|
39124
39428
|
var question = _ref2.question,
|
|
39125
39429
|
answer = _ref2.answer;
|
|
39126
|
-
return /*#__PURE__*/React__default.createElement(FAQItem, _extends$2({}, _objectSpread$
|
|
39430
|
+
return /*#__PURE__*/React__default.createElement(FAQItem, _extends$2({}, _objectSpread$c({
|
|
39127
39431
|
answer: answer,
|
|
39128
39432
|
design: design,
|
|
39129
39433
|
enableAnimation: enableAnimation,
|
|
@@ -39213,8 +39517,8 @@ var FAQItem = function FAQItem(_ref3) {
|
|
|
39213
39517
|
};
|
|
39214
39518
|
|
|
39215
39519
|
var _excluded$k = ["configurations", "className", "id"];
|
|
39216
|
-
function ownKeys$
|
|
39217
|
-
function _objectSpread$
|
|
39520
|
+
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; }
|
|
39521
|
+
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$1(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; }
|
|
39218
39522
|
var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
39219
39523
|
var configurations = _ref.configurations,
|
|
39220
39524
|
_ref$className = _ref.className,
|
|
@@ -39243,7 +39547,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39243
39547
|
id: "feature-with-bullet-list-bullet-".concat(index, "-title"),
|
|
39244
39548
|
key: getUniqueKey(featureTitle, index),
|
|
39245
39549
|
style: design.bulletList
|
|
39246
|
-
}, _objectSpread$
|
|
39550
|
+
}, _objectSpread$b(_objectSpread$b({}, otherProps), {}, {
|
|
39247
39551
|
index: index
|
|
39248
39552
|
})), featureTitle);
|
|
39249
39553
|
})));
|
|
@@ -39274,8 +39578,8 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39274
39578
|
};
|
|
39275
39579
|
|
|
39276
39580
|
var _excluded$j = ["configurations", "className", "id"];
|
|
39277
|
-
function ownKeys$
|
|
39278
|
-
function _objectSpread$
|
|
39581
|
+
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; }
|
|
39582
|
+
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$1(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; }
|
|
39279
39583
|
var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
39280
39584
|
var configurations = _ref.configurations,
|
|
39281
39585
|
_ref$className = _ref.className,
|
|
@@ -39339,7 +39643,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39339
39643
|
key: getUniqueKey(featureTitle, featureDescription, index)
|
|
39340
39644
|
}, icon && /*#__PURE__*/React__default.createElement("div", {
|
|
39341
39645
|
className: "flex-shrink-0"
|
|
39342
|
-
}, renderIcon(_objectSpread$
|
|
39646
|
+
}, renderIcon(_objectSpread$a({
|
|
39343
39647
|
name: icon,
|
|
39344
39648
|
type: icon.type
|
|
39345
39649
|
}, design.icon))), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
@@ -39776,8 +40080,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
39776
40080
|
};
|
|
39777
40081
|
|
|
39778
40082
|
var _excluded$d = ["configurations", "className", "id"];
|
|
39779
|
-
function ownKeys$
|
|
39780
|
-
function _objectSpread$
|
|
40083
|
+
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; }
|
|
40084
|
+
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$1(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; }
|
|
39781
40085
|
var FooterClassic = function FooterClassic(_ref) {
|
|
39782
40086
|
var configurations = _ref.configurations,
|
|
39783
40087
|
_ref$className = _ref.className,
|
|
@@ -39836,13 +40140,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
39836
40140
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
39837
40141
|
key: getUniqueKey(_icon.name, index),
|
|
39838
40142
|
icon: function icon() {
|
|
39839
|
-
return renderIcon(_objectSpread$
|
|
40143
|
+
return renderIcon(_objectSpread$9({
|
|
39840
40144
|
name: _icon.name,
|
|
39841
40145
|
type: _icon.type,
|
|
39842
40146
|
className: "hover:text-gray-600"
|
|
39843
40147
|
}, design.socialIcon));
|
|
39844
40148
|
}
|
|
39845
|
-
}, _objectSpread$
|
|
40149
|
+
}, _objectSpread$9(_objectSpread$9({
|
|
39846
40150
|
index: index
|
|
39847
40151
|
}, _icon), otherProps)));
|
|
39848
40152
|
})), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
@@ -39891,13 +40195,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
39891
40195
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
39892
40196
|
key: getUniqueKey(_icon2.name, index),
|
|
39893
40197
|
icon: function icon() {
|
|
39894
|
-
return renderIcon(_objectSpread$
|
|
40198
|
+
return renderIcon(_objectSpread$9({
|
|
39895
40199
|
name: _icon2.name,
|
|
39896
40200
|
type: _icon2.type,
|
|
39897
40201
|
className: "hover:text-gray-600"
|
|
39898
40202
|
}, design.socialIcon));
|
|
39899
40203
|
}
|
|
39900
|
-
}, _objectSpread$
|
|
40204
|
+
}, _objectSpread$9(_objectSpread$9({
|
|
39901
40205
|
index: index
|
|
39902
40206
|
}, _icon2), otherProps)));
|
|
39903
40207
|
})), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
@@ -39908,8 +40212,8 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
39908
40212
|
};
|
|
39909
40213
|
|
|
39910
40214
|
var _excluded$c = ["configurations", "className", "id"];
|
|
39911
|
-
function ownKeys$
|
|
39912
|
-
function _objectSpread$
|
|
40215
|
+
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; }
|
|
40216
|
+
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$1(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; }
|
|
39913
40217
|
var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
39914
40218
|
var configurations = _ref.configurations,
|
|
39915
40219
|
_ref$className = _ref.className,
|
|
@@ -39961,13 +40265,13 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
39961
40265
|
id: "footer-with-icons-social-icon-".concat(index, "-link"),
|
|
39962
40266
|
key: getUniqueKey(_icon.name, index),
|
|
39963
40267
|
icon: function icon() {
|
|
39964
|
-
return renderIcon(_objectSpread$
|
|
40268
|
+
return renderIcon(_objectSpread$8({
|
|
39965
40269
|
name: _icon.name,
|
|
39966
40270
|
type: _icon.type,
|
|
39967
40271
|
className: "text-red-60 hover:text-gray-600"
|
|
39968
40272
|
}, design.socialIcon));
|
|
39969
40273
|
}
|
|
39970
|
-
}, _objectSpread$
|
|
40274
|
+
}, _objectSpread$8(_objectSpread$8({
|
|
39971
40275
|
index: index
|
|
39972
40276
|
}, _icon), otherProps)));
|
|
39973
40277
|
})), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
@@ -39979,8 +40283,8 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
39979
40283
|
};
|
|
39980
40284
|
|
|
39981
40285
|
var _excluded$b = ["configurations", "className", "id"];
|
|
39982
|
-
function ownKeys$
|
|
39983
|
-
function _objectSpread$
|
|
40286
|
+
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; }
|
|
40287
|
+
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$1(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; }
|
|
39984
40288
|
var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
39985
40289
|
var configurations = _ref.configurations,
|
|
39986
40290
|
_ref$className = _ref.className,
|
|
@@ -40071,12 +40375,12 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40071
40375
|
id: "footer-with-links-social-links-".concat(index, "-icon"),
|
|
40072
40376
|
key: getUniqueKey(_icon.name, index),
|
|
40073
40377
|
icon: function icon() {
|
|
40074
|
-
return renderIcon(_objectSpread$
|
|
40378
|
+
return renderIcon(_objectSpread$7({
|
|
40075
40379
|
name: _icon.name,
|
|
40076
40380
|
type: _icon.type
|
|
40077
40381
|
}, design.socialIcon));
|
|
40078
40382
|
}
|
|
40079
|
-
}, _objectSpread$
|
|
40383
|
+
}, _objectSpread$7(_objectSpread$7({
|
|
40080
40384
|
index: index
|
|
40081
40385
|
}, _icon), otherProps)));
|
|
40082
40386
|
})), /*#__PURE__*/React__default.createElement("ul", {
|
|
@@ -42170,8 +42474,8 @@ var useElementVisible = function useElementVisible(ref) {
|
|
|
42170
42474
|
};
|
|
42171
42475
|
|
|
42172
42476
|
var _excluded$9 = ["configurations", "className", "currentPath", "id"];
|
|
42173
|
-
function ownKeys$
|
|
42174
|
-
function _objectSpread$
|
|
42477
|
+
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; }
|
|
42478
|
+
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$1(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; }
|
|
42175
42479
|
var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
42176
42480
|
var configurations = _ref.configurations,
|
|
42177
42481
|
_ref$className = _ref.className,
|
|
@@ -42221,7 +42525,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42221
42525
|
isHighlighted: isLinkHighlighted(link.to, currentPath),
|
|
42222
42526
|
key: getUniqueKey(link.label, index),
|
|
42223
42527
|
style: design.links
|
|
42224
|
-
}, _objectSpread$
|
|
42528
|
+
}, _objectSpread$6(_objectSpread$6({
|
|
42225
42529
|
index: index
|
|
42226
42530
|
}, link), otherProps)));
|
|
42227
42531
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -42231,7 +42535,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42231
42535
|
id: "header-with-buttons-buttons-".concat(index, "-button"),
|
|
42232
42536
|
key: getUniqueKey(button.label, index),
|
|
42233
42537
|
style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
|
|
42234
|
-
}, _objectSpread$
|
|
42538
|
+
}, _objectSpread$6(_objectSpread$6({
|
|
42235
42539
|
index: index
|
|
42236
42540
|
}, button), otherProps)));
|
|
42237
42541
|
})), /*#__PURE__*/React__default.createElement("button", {
|
|
@@ -42254,7 +42558,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42254
42558
|
fontSize: "1.25em",
|
|
42255
42559
|
fontWeight: "500"
|
|
42256
42560
|
})
|
|
42257
|
-
}, _objectSpread$
|
|
42561
|
+
}, _objectSpread$6(_objectSpread$6({
|
|
42258
42562
|
index: index,
|
|
42259
42563
|
setIsMenuOpen: setIsMenuOpen
|
|
42260
42564
|
}, button), otherProps)));
|
|
@@ -42262,6 +42566,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42262
42566
|
};
|
|
42263
42567
|
|
|
42264
42568
|
var _excluded$8 = ["configurations", "className", "id"];
|
|
42569
|
+
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; }
|
|
42570
|
+
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$1(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; }
|
|
42265
42571
|
var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
42266
42572
|
var configurations = _ref.configurations,
|
|
42267
42573
|
_ref$className = _ref.className,
|
|
@@ -42326,17 +42632,18 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42326
42632
|
})
|
|
42327
42633
|
}, otherProps), properties.logo.title))), /*#__PURE__*/React__default.createElement("div", {
|
|
42328
42634
|
className: "col-span-6 col-start-7 flex items-center justify-end gap-x-6 sm:col-span-5 sm:col-start-8 lg:col-span-7 lg:col-start-6"
|
|
42329
|
-
}, properties.links.map(function (
|
|
42635
|
+
}, properties.links.map(function (dropdownLink, index) {
|
|
42330
42636
|
return /*#__PURE__*/React__default.createElement(Dropdown, _extends$2({
|
|
42331
|
-
index: index,
|
|
42332
|
-
link: link,
|
|
42333
42637
|
className: "hidden lg:block",
|
|
42334
42638
|
design: design.links,
|
|
42335
42639
|
height: headerHeight,
|
|
42336
|
-
key: getUniqueKey(
|
|
42640
|
+
key: getUniqueKey(dropdownLink.label, dropdownLink.to, index),
|
|
42337
42641
|
paddingHorizontal: design.body.paddingHorizontal,
|
|
42338
42642
|
totalLength: properties.links.length
|
|
42339
|
-
},
|
|
42643
|
+
}, _objectSpread$5({
|
|
42644
|
+
dropdownLink: dropdownLink,
|
|
42645
|
+
index: index
|
|
42646
|
+
}, otherProps)));
|
|
42340
42647
|
})), /*#__PURE__*/React__default.createElement("button", {
|
|
42341
42648
|
className: "col-span-1 col-start-1 flex items-center sm:col-span-1 lg:hidden",
|
|
42342
42649
|
onClick: function onClick() {
|