@thecb/components 9.3.5-beta.0 → 9.3.6-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +216 -203
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +216 -203
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/icons/ShoppingCartIcon.js +2 -3
- package/src/components/atoms/jumbo/Jumbo.js +3 -1
- package/src/components/atoms/labeled-amount/LabeledAmount.js +32 -7
- package/src/components/atoms/labeled-amount/LabeledAmount.stories.js +0 -13
- package/src/components/atoms/labeled-amount/LabeledAmount.theme.js +1 -5
- package/src/components/atoms/line-item/LineItem.js +35 -21
- package/src/components/atoms/line-item/LineItem.theme.js +2 -2
- package/src/components/molecules/modal/Modal.js +3 -3
- package/src/components/molecules/payment-details/PaymentDetails.js +13 -14
- package/src/components/molecules/payment-details/PaymentDetails.stories.js +0 -36
- package/src/components/molecules/payment-details/PaymentDetails.theme.js +2 -2
- package/src/components/atoms/labeled-amount/LabeledAmountV1.js +0 -37
- package/src/components/atoms/labeled-amount/LabeledAmountV2.js +0 -25
package/dist/index.esm.js
CHANGED
|
@@ -15269,7 +15269,8 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15269
15269
|
|
|
15270
15270
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15271
15271
|
|
|
15272
|
-
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15272
|
+
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15273
|
+
var iconFill = _ref.iconFill;
|
|
15273
15274
|
return /*#__PURE__*/React.createElement("svg", {
|
|
15274
15275
|
width: "32px",
|
|
15275
15276
|
height: "32px",
|
|
@@ -15297,8 +15298,7 @@ var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
|
15297
15298
|
}, /*#__PURE__*/React.createElement("path", {
|
|
15298
15299
|
d: "M18.7499553,20.499994 C19.348912,20.499994 19.8632339,20.2851508 20.2929204,19.8554643 C20.7226068,19.4257779 20.9374501,18.911456 20.9374501,18.3124993 C20.9374501,17.8958334 20.8267735,17.5117199 20.6054196,17.1601583 C20.3840658,16.8085966 20.0780771,16.5416703 19.6874531,16.3593789 L19.6874531,16.3593789 L19.9218275,15.3828187 C19.9739105,15.0963613 19.9088069,14.835945 19.7265155,14.6015706 C19.544224,14.3671962 19.3098496,14.2500089 19.0233921,14.2500089 L19.0233921,14.2500089 L8.5156047,14.2500089 L8.28123026,13.0000119 L19.7265155,13.0000119 C19.9348481,13.0000119 20.1236501,12.9349077 20.2929204,12.8046999 C20.4621906,12.6744921 20.5728678,12.4922006 20.6249508,12.2578262 L20.6249508,12.2578262 L22.4608839,4.13284556 C22.5390088,3.84638811 22.4869258,3.58597187 22.3046343,3.35159742 C22.1223429,3.11722298 21.8749478,3.00004172 21.5624486,3.00004172 L21.5624486,3.00004172 L6.21092269,3.00004172 L5.85936103,1.24222745 C5.80727802,1.03389482 5.6966008,0.858113985 5.52733057,0.714884961 C5.35806034,0.571655937 5.16925831,0.500041723 4.96092567,0.500041723 L4.96092567,0.500041723 L0.937497765,0.500041723 C0.67708152,0.500041723 0.455728279,0.591187141 0.273436848,0.773478571 C0.0911454173,0.955770002 0,1.17712324 0,1.43753949 L0,1.43753949 L0,2.062538 C0,2.32295424 0.0911454173,2.54430748 0.273436848,2.72659891 C0.455728279,2.90889035 0.67708152,3.00004172 0.937497765,3.00004172 L0.937497765,3.00004172 L3.67186625,3.00004172 L6.40623473,16.3984413 C6.06769367,16.606774 5.80076742,16.8802108 5.60545539,17.2187519 C5.41014335,17.5572929 5.31248733,17.9218752 5.31248733,18.3124993 C5.31248733,18.911456 5.52733057,19.4257779 5.95701705,19.8554643 C6.38670352,20.2851508 6.90102541,20.499994 7.49998212,20.499994 C8.09893883,20.499994 8.61326071,20.2851508 9.04294719,19.8554643 C9.47263367,19.4257779 9.6874769,18.904946 9.6874769,18.2929681 C9.6874769,17.6809901 9.46612307,17.1666689 9.02341599,16.750003 L9.02341599,16.750003 L17.2265214,16.750003 C16.7838143,17.1666689 16.5624605,17.6809901 16.5624605,18.2929681 C16.5624605,18.904946 16.7773037,19.4257779 17.2069902,19.8554643 C17.6366767,20.2851508 18.1509986,20.499994 18.7499553,20.499994 Z",
|
|
15299
15300
|
id: "cart-badge-shopping-cart",
|
|
15300
|
-
fill: "#FFFFFF"
|
|
15301
|
-
fillRule: "nonzero"
|
|
15301
|
+
fill: iconFill !== null && iconFill !== void 0 ? iconFill : "#FFFFFF"
|
|
15302
15302
|
})))));
|
|
15303
15303
|
};
|
|
15304
15304
|
|
|
@@ -22486,17 +22486,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22486
22486
|
};
|
|
22487
22487
|
|
|
22488
22488
|
var check = function (it) {
|
|
22489
|
-
return it && it.Math
|
|
22489
|
+
return it && it.Math === Math && it;
|
|
22490
22490
|
};
|
|
22491
22491
|
|
|
22492
22492
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22493
22493
|
var global_1 =
|
|
22494
|
-
// eslint-disable-next-line es
|
|
22494
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22495
22495
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22496
22496
|
check(typeof window == 'object' && window) ||
|
|
22497
22497
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22498
22498
|
check(typeof self == 'object' && self) ||
|
|
22499
22499
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22500
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22500
22501
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22501
22502
|
(function () { return this; })() || Function('return this')();
|
|
22502
22503
|
|
|
@@ -22510,12 +22511,12 @@ var fails = function (exec) {
|
|
|
22510
22511
|
|
|
22511
22512
|
// Detect IE8's incomplete defineProperty implementation
|
|
22512
22513
|
var descriptors = !fails(function () {
|
|
22513
|
-
// eslint-disable-next-line es
|
|
22514
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22514
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22515
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22515
22516
|
});
|
|
22516
22517
|
|
|
22517
22518
|
var functionBindNative = !fails(function () {
|
|
22518
|
-
// eslint-disable-next-line es
|
|
22519
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22519
22520
|
var test = (function () { /* empty */ }).bind();
|
|
22520
22521
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22521
22522
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22528,7 +22529,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22528
22529
|
};
|
|
22529
22530
|
|
|
22530
22531
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22531
|
-
// eslint-disable-next-line es
|
|
22532
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22532
22533
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22533
22534
|
|
|
22534
22535
|
// Nashorn ~ JDK8 bug
|
|
@@ -22555,14 +22556,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22555
22556
|
};
|
|
22556
22557
|
|
|
22557
22558
|
var FunctionPrototype = Function.prototype;
|
|
22558
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22559
22559
|
var call$1 = FunctionPrototype.call;
|
|
22560
|
-
var
|
|
22560
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22561
22561
|
|
|
22562
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22563
|
-
return
|
|
22564
|
-
} : function (fn) {
|
|
22565
|
-
return fn && function () {
|
|
22562
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22563
|
+
return function () {
|
|
22566
22564
|
return call$1.apply(fn, arguments);
|
|
22567
22565
|
};
|
|
22568
22566
|
};
|
|
@@ -22583,15 +22581,21 @@ var indexedObject = fails(function () {
|
|
|
22583
22581
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22584
22582
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22585
22583
|
}) ? function (it) {
|
|
22586
|
-
return classofRaw(it)
|
|
22584
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22587
22585
|
} : $Object;
|
|
22588
22586
|
|
|
22587
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22588
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22589
|
+
var isNullOrUndefined = function (it) {
|
|
22590
|
+
return it === null || it === undefined;
|
|
22591
|
+
};
|
|
22592
|
+
|
|
22589
22593
|
var $TypeError = TypeError;
|
|
22590
22594
|
|
|
22591
22595
|
// `RequireObjectCoercible` abstract operation
|
|
22592
22596
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22593
22597
|
var requireObjectCoercible = function (it) {
|
|
22594
|
-
if (it
|
|
22598
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22595
22599
|
return it;
|
|
22596
22600
|
};
|
|
22597
22601
|
|
|
@@ -22603,13 +22607,32 @@ var toIndexedObject = function (it) {
|
|
|
22603
22607
|
return indexedObject(requireObjectCoercible(it));
|
|
22604
22608
|
};
|
|
22605
22609
|
|
|
22610
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22611
|
+
|
|
22612
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22613
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22614
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22615
|
+
|
|
22616
|
+
var documentAll_1 = {
|
|
22617
|
+
all: documentAll,
|
|
22618
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22619
|
+
};
|
|
22620
|
+
|
|
22621
|
+
var documentAll$1 = documentAll_1.all;
|
|
22622
|
+
|
|
22606
22623
|
// `IsCallable` abstract operation
|
|
22607
22624
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22608
|
-
var isCallable = function (argument) {
|
|
22625
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22626
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22627
|
+
} : function (argument) {
|
|
22609
22628
|
return typeof argument == 'function';
|
|
22610
22629
|
};
|
|
22611
22630
|
|
|
22612
|
-
var
|
|
22631
|
+
var documentAll$2 = documentAll_1.all;
|
|
22632
|
+
|
|
22633
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22634
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22635
|
+
} : function (it) {
|
|
22613
22636
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22614
22637
|
};
|
|
22615
22638
|
|
|
@@ -22623,7 +22646,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22623
22646
|
|
|
22624
22647
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22625
22648
|
|
|
22626
|
-
var engineUserAgent =
|
|
22649
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22627
22650
|
|
|
22628
22651
|
var process$1 = global_1.process;
|
|
22629
22652
|
var Deno = global_1.Deno;
|
|
@@ -22650,24 +22673,29 @@ if (!version && engineUserAgent) {
|
|
|
22650
22673
|
|
|
22651
22674
|
var engineV8Version = version;
|
|
22652
22675
|
|
|
22653
|
-
/* eslint-disable es
|
|
22676
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22677
|
+
|
|
22654
22678
|
|
|
22655
22679
|
|
|
22656
22680
|
|
|
22657
|
-
|
|
22658
|
-
|
|
22659
|
-
|
|
22681
|
+
var $String = global_1.String;
|
|
22682
|
+
|
|
22683
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22684
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22685
|
+
var symbol = Symbol('symbol detection');
|
|
22660
22686
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22661
22687
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22662
|
-
|
|
22688
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22689
|
+
// of course, fail.
|
|
22690
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22663
22691
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22664
22692
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22665
22693
|
});
|
|
22666
22694
|
|
|
22667
|
-
/* eslint-disable es
|
|
22695
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22668
22696
|
|
|
22669
22697
|
|
|
22670
|
-
var useSymbolAsUid =
|
|
22698
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22671
22699
|
&& !Symbol.sham
|
|
22672
22700
|
&& typeof Symbol.iterator == 'symbol';
|
|
22673
22701
|
|
|
@@ -22680,11 +22708,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22680
22708
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22681
22709
|
};
|
|
22682
22710
|
|
|
22683
|
-
var $String = String;
|
|
22711
|
+
var $String$1 = String;
|
|
22684
22712
|
|
|
22685
22713
|
var tryToString = function (argument) {
|
|
22686
22714
|
try {
|
|
22687
|
-
return $String(argument);
|
|
22715
|
+
return $String$1(argument);
|
|
22688
22716
|
} catch (error) {
|
|
22689
22717
|
return 'Object';
|
|
22690
22718
|
}
|
|
@@ -22695,14 +22723,14 @@ var $TypeError$1 = TypeError;
|
|
|
22695
22723
|
// `Assert: IsCallable(argument) is true`
|
|
22696
22724
|
var aCallable = function (argument) {
|
|
22697
22725
|
if (isCallable(argument)) return argument;
|
|
22698
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22726
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22699
22727
|
};
|
|
22700
22728
|
|
|
22701
22729
|
// `GetMethod` abstract operation
|
|
22702
22730
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22703
22731
|
var getMethod = function (V, P) {
|
|
22704
22732
|
var func = V[P];
|
|
22705
|
-
return func
|
|
22733
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22706
22734
|
};
|
|
22707
22735
|
|
|
22708
22736
|
var $TypeError$2 = TypeError;
|
|
@@ -22714,10 +22742,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22714
22742
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22715
22743
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22716
22744
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22717
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22745
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22718
22746
|
};
|
|
22719
22747
|
|
|
22720
|
-
// eslint-disable-next-line es
|
|
22748
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22721
22749
|
var defineProperty = Object.defineProperty;
|
|
22722
22750
|
|
|
22723
22751
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22734,13 +22762,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22734
22762
|
var sharedStore = store;
|
|
22735
22763
|
|
|
22736
22764
|
var shared = createCommonjsModule(function (module) {
|
|
22765
|
+
|
|
22766
|
+
|
|
22767
|
+
|
|
22737
22768
|
(module.exports = function (key, value) {
|
|
22738
22769
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22739
22770
|
})('versions', []).push({
|
|
22740
|
-
version: '3.
|
|
22771
|
+
version: '3.33.3',
|
|
22741
22772
|
mode: 'global',
|
|
22742
|
-
copyright: '© 2014-
|
|
22743
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22773
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22774
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
22744
22775
|
source: 'https://github.com/zloirock/core-js'
|
|
22745
22776
|
});
|
|
22746
22777
|
});
|
|
@@ -22757,7 +22788,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22757
22788
|
|
|
22758
22789
|
// `HasOwnProperty` abstract operation
|
|
22759
22790
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22760
|
-
// eslint-disable-next-line es
|
|
22791
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22761
22792
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22762
22793
|
return hasOwnProperty(toObject(it), key);
|
|
22763
22794
|
};
|
|
@@ -22770,21 +22801,15 @@ var uid = function (key) {
|
|
|
22770
22801
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22771
22802
|
};
|
|
22772
22803
|
|
|
22773
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22774
22804
|
var Symbol$1 = global_1.Symbol;
|
|
22775
|
-
var
|
|
22776
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22805
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22806
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22777
22807
|
|
|
22778
22808
|
var wellKnownSymbol = function (name) {
|
|
22779
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22780
|
-
|
|
22781
|
-
|
|
22782
|
-
|
|
22783
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22784
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22785
|
-
} else {
|
|
22786
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22787
|
-
}
|
|
22809
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22810
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22811
|
+
? Symbol$1[name]
|
|
22812
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22788
22813
|
} return WellKnownSymbolsStore[name];
|
|
22789
22814
|
};
|
|
22790
22815
|
|
|
@@ -22801,7 +22826,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22801
22826
|
if (pref === undefined) pref = 'default';
|
|
22802
22827
|
result = functionCall(exoticToPrim, input, pref);
|
|
22803
22828
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22804
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22829
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22805
22830
|
}
|
|
22806
22831
|
if (pref === undefined) pref = 'number';
|
|
22807
22832
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22824,13 +22849,13 @@ var documentCreateElement = function (it) {
|
|
|
22824
22849
|
|
|
22825
22850
|
// Thanks to IE8 for its funny defineProperty
|
|
22826
22851
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22827
|
-
// eslint-disable-next-line es
|
|
22852
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22828
22853
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22829
22854
|
get: function () { return 7; }
|
|
22830
|
-
}).a
|
|
22855
|
+
}).a !== 7;
|
|
22831
22856
|
});
|
|
22832
22857
|
|
|
22833
|
-
// eslint-disable-next-line es
|
|
22858
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22834
22859
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22835
22860
|
|
|
22836
22861
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22851,26 +22876,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22851
22876
|
// V8 ~ Chrome 36-
|
|
22852
22877
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22853
22878
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22854
|
-
// eslint-disable-next-line es
|
|
22879
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22855
22880
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22856
22881
|
value: 42,
|
|
22857
22882
|
writable: false
|
|
22858
|
-
}).prototype
|
|
22883
|
+
}).prototype !== 42;
|
|
22859
22884
|
});
|
|
22860
22885
|
|
|
22861
|
-
var $String$
|
|
22886
|
+
var $String$2 = String;
|
|
22862
22887
|
var $TypeError$4 = TypeError;
|
|
22863
22888
|
|
|
22864
22889
|
// `Assert: Type(argument) is Object`
|
|
22865
22890
|
var anObject = function (argument) {
|
|
22866
22891
|
if (isObject(argument)) return argument;
|
|
22867
|
-
throw $TypeError$4($String$
|
|
22892
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22868
22893
|
};
|
|
22869
22894
|
|
|
22870
22895
|
var $TypeError$5 = TypeError;
|
|
22871
|
-
// eslint-disable-next-line es
|
|
22896
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22872
22897
|
var $defineProperty = Object.defineProperty;
|
|
22873
|
-
// eslint-disable-next-line es
|
|
22898
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22874
22899
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22875
22900
|
var ENUMERABLE = 'enumerable';
|
|
22876
22901
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22900,7 +22925,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22900
22925
|
if (ie8DomDefine) try {
|
|
22901
22926
|
return $defineProperty(O, P, Attributes);
|
|
22902
22927
|
} catch (error) { /* empty */ }
|
|
22903
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22928
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22904
22929
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22905
22930
|
return O;
|
|
22906
22931
|
};
|
|
@@ -22917,7 +22942,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22917
22942
|
};
|
|
22918
22943
|
|
|
22919
22944
|
var FunctionPrototype$1 = Function.prototype;
|
|
22920
|
-
// eslint-disable-next-line es
|
|
22945
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22921
22946
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22922
22947
|
|
|
22923
22948
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22944,7 +22969,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22944
22969
|
|
|
22945
22970
|
var WeakMap$1 = global_1.WeakMap;
|
|
22946
22971
|
|
|
22947
|
-
var
|
|
22972
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22948
22973
|
|
|
22949
22974
|
var keys$1 = shared('keys');
|
|
22950
22975
|
|
|
@@ -22967,27 +22992,29 @@ var getterFor = function (TYPE) {
|
|
|
22967
22992
|
return function (it) {
|
|
22968
22993
|
var state;
|
|
22969
22994
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22970
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22995
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22971
22996
|
} return state;
|
|
22972
22997
|
};
|
|
22973
22998
|
};
|
|
22974
22999
|
|
|
22975
|
-
if (
|
|
23000
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22976
23001
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22977
|
-
|
|
22978
|
-
|
|
22979
|
-
|
|
23002
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
23003
|
+
store$1.get = store$1.get;
|
|
23004
|
+
store$1.has = store$1.has;
|
|
23005
|
+
store$1.set = store$1.set;
|
|
23006
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22980
23007
|
set = function (it, metadata) {
|
|
22981
|
-
if (
|
|
23008
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22982
23009
|
metadata.facade = it;
|
|
22983
|
-
|
|
23010
|
+
store$1.set(it, metadata);
|
|
22984
23011
|
return metadata;
|
|
22985
23012
|
};
|
|
22986
23013
|
get = function (it) {
|
|
22987
|
-
return
|
|
23014
|
+
return store$1.get(it) || {};
|
|
22988
23015
|
};
|
|
22989
23016
|
has = function (it) {
|
|
22990
|
-
return
|
|
23017
|
+
return store$1.has(it);
|
|
22991
23018
|
};
|
|
22992
23019
|
} else {
|
|
22993
23020
|
var STATE = sharedKey('state');
|
|
@@ -23015,14 +23042,23 @@ var internalState = {
|
|
|
23015
23042
|
};
|
|
23016
23043
|
|
|
23017
23044
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
23045
|
+
|
|
23046
|
+
|
|
23047
|
+
|
|
23048
|
+
|
|
23049
|
+
|
|
23018
23050
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
23019
23051
|
|
|
23020
23052
|
|
|
23021
23053
|
|
|
23022
23054
|
var enforceInternalState = internalState.enforce;
|
|
23023
23055
|
var getInternalState = internalState.get;
|
|
23024
|
-
|
|
23056
|
+
var $String = String;
|
|
23057
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
23025
23058
|
var defineProperty = Object.defineProperty;
|
|
23059
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
23060
|
+
var replace = functionUncurryThis(''.replace);
|
|
23061
|
+
var join = functionUncurryThis([].join);
|
|
23026
23062
|
|
|
23027
23063
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
23028
23064
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -23031,8 +23067,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
23031
23067
|
var TEMPLATE = String(String).split('String');
|
|
23032
23068
|
|
|
23033
23069
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
23034
|
-
if (String(name)
|
|
23035
|
-
name = '[' + String(name)
|
|
23070
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23071
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
23036
23072
|
}
|
|
23037
23073
|
if (options && options.getter) name = 'get ' + name;
|
|
23038
23074
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -23051,7 +23087,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
23051
23087
|
} catch (error) { /* empty */ }
|
|
23052
23088
|
var state = enforceInternalState(value);
|
|
23053
23089
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
23054
|
-
state.source =
|
|
23090
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
23055
23091
|
} return value;
|
|
23056
23092
|
};
|
|
23057
23093
|
|
|
@@ -23090,7 +23126,7 @@ var floor = Math.floor;
|
|
|
23090
23126
|
|
|
23091
23127
|
// `Math.trunc` method
|
|
23092
23128
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23093
|
-
// eslint-disable-next-line es
|
|
23129
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23094
23130
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23095
23131
|
var n = +x;
|
|
23096
23132
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23138,10 +23174,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23138
23174
|
var value;
|
|
23139
23175
|
// Array#includes uses SameValueZero equality algorithm
|
|
23140
23176
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23141
|
-
if (IS_INCLUDES && el
|
|
23177
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23142
23178
|
value = O[index++];
|
|
23143
23179
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23144
|
-
if (value
|
|
23180
|
+
if (value !== value) return true;
|
|
23145
23181
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23146
23182
|
} else for (;length > index; index++) {
|
|
23147
23183
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23191,7 +23227,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23191
23227
|
|
|
23192
23228
|
// `Object.getOwnPropertyNames` method
|
|
23193
23229
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23194
|
-
// eslint-disable-next-line es
|
|
23230
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23195
23231
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23196
23232
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23197
23233
|
};
|
|
@@ -23200,7 +23236,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23200
23236
|
f: f$3
|
|
23201
23237
|
};
|
|
23202
23238
|
|
|
23203
|
-
// eslint-disable-next-line es
|
|
23239
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23204
23240
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23205
23241
|
|
|
23206
23242
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23232,8 +23268,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23232
23268
|
|
|
23233
23269
|
var isForced = function (feature, detection) {
|
|
23234
23270
|
var value = data[normalize(feature)];
|
|
23235
|
-
return value
|
|
23236
|
-
: value
|
|
23271
|
+
return value === POLYFILL ? true
|
|
23272
|
+
: value === NATIVE ? false
|
|
23237
23273
|
: isCallable(detection) ? fails(detection)
|
|
23238
23274
|
: !!detection;
|
|
23239
23275
|
};
|
|
@@ -23313,7 +23349,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23313
23349
|
var $Object$3 = Object;
|
|
23314
23350
|
|
|
23315
23351
|
// ES3 wrong here
|
|
23316
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23352
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23317
23353
|
|
|
23318
23354
|
// fallback for IE11 Script Access Denied error
|
|
23319
23355
|
var tryGet = function (it, key) {
|
|
@@ -23331,25 +23367,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23331
23367
|
// builtinTag case
|
|
23332
23368
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23333
23369
|
// ES3 arguments fallback
|
|
23334
|
-
: (result = classofRaw(O))
|
|
23370
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23335
23371
|
};
|
|
23336
23372
|
|
|
23337
|
-
var $String$
|
|
23373
|
+
var $String$3 = String;
|
|
23338
23374
|
|
|
23339
23375
|
var toString_1 = function (argument) {
|
|
23340
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23341
|
-
return $String$
|
|
23376
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23377
|
+
return $String$3(argument);
|
|
23342
23378
|
};
|
|
23343
23379
|
|
|
23344
23380
|
var charAt = functionUncurryThis(''.charAt);
|
|
23345
23381
|
|
|
23346
23382
|
var FORCED = fails(function () {
|
|
23347
|
-
// eslint-disable-next-line es
|
|
23383
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23348
23384
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23349
23385
|
});
|
|
23350
23386
|
|
|
23351
23387
|
// `String.prototype.at` method
|
|
23352
|
-
// https://
|
|
23388
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23353
23389
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23354
23390
|
at: function at(index) {
|
|
23355
23391
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23362,14 +23398,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23362
23398
|
|
|
23363
23399
|
// `Object.keys` method
|
|
23364
23400
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23365
|
-
// eslint-disable-next-line es
|
|
23401
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23366
23402
|
var objectKeys = Object.keys || function keys(O) {
|
|
23367
23403
|
return objectKeysInternal(O, enumBugKeys);
|
|
23368
23404
|
};
|
|
23369
23405
|
|
|
23370
23406
|
// `Object.defineProperties` method
|
|
23371
23407
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23372
|
-
// eslint-disable-next-line es
|
|
23408
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23373
23409
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23374
23410
|
anObject(O);
|
|
23375
23411
|
var props = toIndexedObject(Properties);
|
|
@@ -23458,7 +23494,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23458
23494
|
|
|
23459
23495
|
// `Object.create` method
|
|
23460
23496
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23461
|
-
// eslint-disable-next-line es
|
|
23497
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23462
23498
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23463
23499
|
var result;
|
|
23464
23500
|
if (O !== null) {
|
|
@@ -23478,7 +23514,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23478
23514
|
|
|
23479
23515
|
// Array.prototype[@@unscopables]
|
|
23480
23516
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23481
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23517
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23482
23518
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23483
23519
|
configurable: true,
|
|
23484
23520
|
value: objectCreate(null)
|
|
@@ -23491,7 +23527,7 @@ var addToUnscopables = function (key) {
|
|
|
23491
23527
|
};
|
|
23492
23528
|
|
|
23493
23529
|
// `Array.prototype.at` method
|
|
23494
|
-
// https://
|
|
23530
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23495
23531
|
_export({ target: 'Array', proto: true }, {
|
|
23496
23532
|
at: function at(index) {
|
|
23497
23533
|
var O = toObject(this);
|
|
@@ -23504,13 +23540,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23504
23540
|
|
|
23505
23541
|
addToUnscopables('at');
|
|
23506
23542
|
|
|
23507
|
-
// eslint-disable-next-line es
|
|
23508
|
-
var
|
|
23543
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23544
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23545
|
+
|
|
23546
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23547
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23548
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23549
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23550
|
+
};
|
|
23509
23551
|
|
|
23510
23552
|
var correctPrototypeGetter = !fails(function () {
|
|
23511
23553
|
function F() { /* empty */ }
|
|
23512
23554
|
F.prototype.constructor = null;
|
|
23513
|
-
// eslint-disable-next-line es
|
|
23555
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23514
23556
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23515
23557
|
});
|
|
23516
23558
|
|
|
@@ -23520,7 +23562,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23520
23562
|
|
|
23521
23563
|
// `Object.getPrototypeOf` method
|
|
23522
23564
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23523
|
-
// eslint-disable-next-line es
|
|
23565
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23524
23566
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23525
23567
|
var object = toObject(O);
|
|
23526
23568
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23530,12 +23572,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23530
23572
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23531
23573
|
};
|
|
23532
23574
|
|
|
23533
|
-
var
|
|
23575
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23576
|
+
try {
|
|
23577
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23578
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23579
|
+
} catch (error) { /* empty */ }
|
|
23580
|
+
};
|
|
23581
|
+
|
|
23582
|
+
var $String$4 = String;
|
|
23534
23583
|
var $TypeError$6 = TypeError;
|
|
23535
23584
|
|
|
23536
23585
|
var aPossiblePrototype = function (argument) {
|
|
23537
23586
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23538
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23587
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23539
23588
|
};
|
|
23540
23589
|
|
|
23541
23590
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23546,14 +23595,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23546
23595
|
// `Object.setPrototypeOf` method
|
|
23547
23596
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23548
23597
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23549
|
-
// eslint-disable-next-line es
|
|
23598
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23550
23599
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23551
23600
|
var CORRECT_SETTER = false;
|
|
23552
23601
|
var test = {};
|
|
23553
23602
|
var setter;
|
|
23554
23603
|
try {
|
|
23555
|
-
|
|
23556
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23604
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23557
23605
|
setter(test, []);
|
|
23558
23606
|
CORRECT_SETTER = test instanceof Array;
|
|
23559
23607
|
} catch (error) { /* empty */ }
|
|
@@ -23566,14 +23614,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23566
23614
|
};
|
|
23567
23615
|
}() : undefined);
|
|
23568
23616
|
|
|
23569
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23570
|
-
|
|
23571
|
-
|
|
23572
|
-
|
|
23573
|
-
|
|
23574
|
-
|
|
23575
|
-
|
|
23576
|
-
|
|
23577
23617
|
var enforceInternalState = internalState.enforce;
|
|
23578
23618
|
var getInternalState = internalState.get;
|
|
23579
23619
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23589,7 +23629,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23589
23629
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23590
23630
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23591
23631
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23592
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23632
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23593
23633
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23594
23634
|
var NAME, Constructor, Prototype;
|
|
23595
23635
|
|
|
@@ -23634,12 +23674,12 @@ var isTypedArray = function (it) {
|
|
|
23634
23674
|
|
|
23635
23675
|
var aTypedArray = function (it) {
|
|
23636
23676
|
if (isTypedArray(it)) return it;
|
|
23637
|
-
throw TypeError$2('Target is not a typed array');
|
|
23677
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23638
23678
|
};
|
|
23639
23679
|
|
|
23640
23680
|
var aTypedArrayConstructor = function (C) {
|
|
23641
23681
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23642
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23682
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23643
23683
|
};
|
|
23644
23684
|
|
|
23645
23685
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23703,7 +23743,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23703
23743
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23704
23744
|
// eslint-disable-next-line no-shadow -- safe
|
|
23705
23745
|
TypedArray = function TypedArray() {
|
|
23706
|
-
throw TypeError$2('Incorrect invocation');
|
|
23746
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23707
23747
|
};
|
|
23708
23748
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23709
23749
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23724,9 +23764,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23724
23764
|
|
|
23725
23765
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23726
23766
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
|
|
23767
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23768
|
+
configurable: true,
|
|
23769
|
+
get: function () {
|
|
23770
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23771
|
+
}
|
|
23772
|
+
});
|
|
23730
23773
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23731
23774
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23732
23775
|
}
|
|
@@ -23750,7 +23793,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23750
23793
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23751
23794
|
|
|
23752
23795
|
// `%TypedArray%.prototype.at` method
|
|
23753
|
-
// https://
|
|
23796
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23754
23797
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23755
23798
|
var O = aTypedArray$1(this);
|
|
23756
23799
|
var len = lengthOfArrayLike(O);
|
|
@@ -26689,7 +26732,8 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26689
26732
|
itemsCount = _ref.itemsCount,
|
|
26690
26733
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
26691
26734
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
26692
|
-
openCartSlider = _ref.openCartSlider
|
|
26735
|
+
openCartSlider = _ref.openCartSlider,
|
|
26736
|
+
extraStyles = _ref.extraStyles;
|
|
26693
26737
|
|
|
26694
26738
|
var _useContext = useContext(ThemeContext),
|
|
26695
26739
|
isMobile = _useContext.isMobile;
|
|
@@ -26698,7 +26742,8 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26698
26742
|
padding: "0 20px",
|
|
26699
26743
|
minHeight: "65px",
|
|
26700
26744
|
id: "heroImage-".concat(slug),
|
|
26701
|
-
className: "themeJumboBackground"
|
|
26745
|
+
className: "themeJumboBackground",
|
|
26746
|
+
extraStyles: extraStyles
|
|
26702
26747
|
}, /*#__PURE__*/React.createElement(Center, {
|
|
26703
26748
|
maxWidth: "76.5rem"
|
|
26704
26749
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
@@ -26743,17 +26788,13 @@ var fontWeight$4 = {
|
|
|
26743
26788
|
pS: "600",
|
|
26744
26789
|
p: "600",
|
|
26745
26790
|
pL: "600",
|
|
26746
|
-
h6: "700"
|
|
26747
|
-
regular: "600",
|
|
26748
|
-
extraSmall: "600",
|
|
26749
|
-
small: "600",
|
|
26750
|
-
large: "600"
|
|
26791
|
+
h6: "700"
|
|
26751
26792
|
};
|
|
26752
26793
|
var fallbackValues$p = {
|
|
26753
26794
|
fontWeight: fontWeight$4
|
|
26754
26795
|
};
|
|
26755
26796
|
|
|
26756
|
-
var
|
|
26797
|
+
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26757
26798
|
var _ref$variant = _ref.variant,
|
|
26758
26799
|
variant = _ref$variant === void 0 ? "pL" : _ref$variant,
|
|
26759
26800
|
label = _ref.label,
|
|
@@ -26777,46 +26818,19 @@ var LabeledAmountV1 = function LabeledAmountV1(_ref) {
|
|
|
26777
26818
|
}, amount));
|
|
26778
26819
|
};
|
|
26779
26820
|
|
|
26780
|
-
var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
26781
|
-
var _ref$variant = _ref.variant,
|
|
26782
|
-
variant = _ref$variant === void 0 ? "regular" : _ref$variant,
|
|
26783
|
-
label = _ref.label,
|
|
26784
|
-
amount = _ref.amount,
|
|
26785
|
-
themeValues = _ref.themeValues,
|
|
26786
|
-
as = _ref.as,
|
|
26787
|
-
extraStyles = _ref.extraStyles;
|
|
26788
|
-
return /*#__PURE__*/React.createElement(Detail$1, {
|
|
26789
|
-
variant: variant,
|
|
26790
|
-
as: as,
|
|
26791
|
-
weight: themeValues.fontWeight,
|
|
26792
|
-
extraStyles: "display: flex; justify-content: space-between; ".concat(extraStyles)
|
|
26793
|
-
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
26794
|
-
};
|
|
26795
|
-
|
|
26796
|
-
var _excluded$u = ["version"];
|
|
26797
|
-
|
|
26798
|
-
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26799
|
-
var _ref$version = _ref.version,
|
|
26800
|
-
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26801
|
-
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26802
|
-
|
|
26803
|
-
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26804
|
-
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
26805
|
-
};
|
|
26806
|
-
|
|
26807
26821
|
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$p, "default");
|
|
26808
26822
|
|
|
26809
26823
|
var weightTitle = {
|
|
26810
26824
|
"default": "600",
|
|
26811
26825
|
small: "400"
|
|
26812
26826
|
};
|
|
26813
|
-
var
|
|
26814
|
-
"default": "
|
|
26815
|
-
small: "
|
|
26827
|
+
var paragraphVariant = {
|
|
26828
|
+
"default": "pL",
|
|
26829
|
+
small: "pS"
|
|
26816
26830
|
};
|
|
26817
26831
|
var fallbackValues$q = {
|
|
26818
26832
|
weightTitle: weightTitle,
|
|
26819
|
-
|
|
26833
|
+
paragraphVariant: paragraphVariant
|
|
26820
26834
|
};
|
|
26821
26835
|
|
|
26822
26836
|
var LineItem = function LineItem(_ref) {
|
|
@@ -26843,27 +26857,35 @@ var LineItem = function LineItem(_ref) {
|
|
|
26843
26857
|
var visibleCustomAttrs = customAttributes === null || customAttributes === void 0 ? void 0 : (_customAttributes$fil = customAttributes.filter(function (attr) {
|
|
26844
26858
|
return (visibleFields === null || visibleFields === void 0 ? void 0 : visibleFields.includes(attr.key)) && attr.key !== "description";
|
|
26845
26859
|
})) === null || _customAttributes$fil === void 0 ? void 0 : _customAttributes$fil.map(function (attr) {
|
|
26846
|
-
return /*#__PURE__*/React.createElement(
|
|
26847
|
-
variant: "
|
|
26860
|
+
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
26861
|
+
variant: "pS",
|
|
26848
26862
|
weight: "400",
|
|
26849
26863
|
key: attr.key,
|
|
26850
26864
|
color: STORM_GREY
|
|
26851
26865
|
}, "".concat(formatAttrKeys(attr.key), ": ").concat(attr.value));
|
|
26852
26866
|
});
|
|
26853
|
-
return /*#__PURE__*/React.createElement(
|
|
26867
|
+
return /*#__PURE__*/React.createElement(Cluster, {
|
|
26868
|
+
nowrap: true,
|
|
26869
|
+
justify: "space-between",
|
|
26870
|
+
align: "start"
|
|
26871
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
26854
26872
|
childGap: "0px"
|
|
26855
|
-
}, /*#__PURE__*/React.createElement(
|
|
26856
|
-
|
|
26857
|
-
|
|
26858
|
-
|
|
26859
|
-
|
|
26860
|
-
}, /*#__PURE__*/React.createElement("span", null, description), /*#__PURE__*/React.createElement("span", null, !!displayQuantity && "x".concat(displayQuantity)), /*#__PURE__*/React.createElement("span", null, amount)), /*#__PURE__*/React.createElement(Detail$1, {
|
|
26861
|
-
as: "p",
|
|
26862
|
-
variant: themeValues.detailVariant,
|
|
26873
|
+
}, /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
26874
|
+
variant: themeValues.paragraphVariant,
|
|
26875
|
+
weight: themeValues.weightTitle
|
|
26876
|
+
}, description), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
26877
|
+
variant: themeValues.paragraphVariant,
|
|
26863
26878
|
weight: "400"
|
|
26864
26879
|
}, subDescription), visibleCustomAttrs && /*#__PURE__*/React.createElement(Stack, {
|
|
26865
26880
|
childGap: "0.25rem"
|
|
26866
|
-
}, visibleCustomAttrs))
|
|
26881
|
+
}, visibleCustomAttrs)), !!displayQuantity && /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
26882
|
+
variant: themeValues.paragraphVariant,
|
|
26883
|
+
weight: themeValues.weightTitle
|
|
26884
|
+
}, "x".concat(displayQuantity)), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
26885
|
+
variant: themeValues.paragraphVariant,
|
|
26886
|
+
weight: "600",
|
|
26887
|
+
extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"
|
|
26888
|
+
}, amount));
|
|
26867
26889
|
};
|
|
26868
26890
|
|
|
26869
26891
|
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$q, "default");
|
|
@@ -26941,7 +26963,7 @@ var Loading = function Loading() {
|
|
|
26941
26963
|
})))));
|
|
26942
26964
|
};
|
|
26943
26965
|
|
|
26944
|
-
var _excluded$
|
|
26966
|
+
var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26945
26967
|
|
|
26946
26968
|
var NavFooter = function NavFooter(_ref) {
|
|
26947
26969
|
var leftContent = _ref.leftContent,
|
|
@@ -26957,7 +26979,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26957
26979
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
26958
26980
|
isMobile = _ref.isMobile,
|
|
26959
26981
|
footerWidth = _ref.footerWidth,
|
|
26960
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26982
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26961
26983
|
|
|
26962
26984
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26963
26985
|
padding: footerPadding,
|
|
@@ -26989,7 +27011,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26989
27011
|
}, rightContent)))))));
|
|
26990
27012
|
};
|
|
26991
27013
|
|
|
26992
|
-
var _excluded$
|
|
27014
|
+
var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
26993
27015
|
|
|
26994
27016
|
var NavHeader = function NavHeader(_ref) {
|
|
26995
27017
|
var leftContent = _ref.leftContent,
|
|
@@ -26999,7 +27021,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
26999
27021
|
isMobile = _ref.isMobile,
|
|
27000
27022
|
backgroundColor = _ref.backgroundColor,
|
|
27001
27023
|
headerWidth = _ref.headerWidth,
|
|
27002
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27024
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
27003
27025
|
|
|
27004
27026
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27005
27027
|
padding: "0 16px 4px",
|
|
@@ -38794,7 +38816,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
38794
38816
|
return extraStyles;
|
|
38795
38817
|
});
|
|
38796
38818
|
|
|
38797
|
-
var _excluded$
|
|
38819
|
+
var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38798
38820
|
|
|
38799
38821
|
var TableRow = function TableRow(_ref) {
|
|
38800
38822
|
var children = _ref.children,
|
|
@@ -38804,7 +38826,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38804
38826
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38805
38827
|
onClick = _ref.onClick,
|
|
38806
38828
|
themeValues = _ref.themeValues,
|
|
38807
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38829
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
38808
38830
|
|
|
38809
38831
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
38810
38832
|
onClick: onClick,
|
|
@@ -45877,10 +45899,9 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45877
45899
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
45878
45900
|
justify: "flex-start",
|
|
45879
45901
|
align: "center"
|
|
45880
|
-
}, /*#__PURE__*/React.createElement(
|
|
45881
|
-
|
|
45882
|
-
weight: FONT_WEIGHT_SEMIBOLD
|
|
45883
|
-
fontSize: "1.25rem"
|
|
45902
|
+
}, /*#__PURE__*/React.createElement(Heading$1, {
|
|
45903
|
+
variant: "h6",
|
|
45904
|
+
weight: FONT_WEIGHT_SEMIBOLD
|
|
45884
45905
|
}, modalHeaderText))), /*#__PURE__*/React.createElement(Box, {
|
|
45885
45906
|
background: modalBodyBg,
|
|
45886
45907
|
padding: "1.5rem"
|
|
@@ -47372,12 +47393,12 @@ var lineItem = {
|
|
|
47372
47393
|
small: "small"
|
|
47373
47394
|
};
|
|
47374
47395
|
var labeledAmountSubtotal = {
|
|
47375
|
-
"default": "
|
|
47376
|
-
small: "
|
|
47396
|
+
"default": "pL",
|
|
47397
|
+
small: "pS"
|
|
47377
47398
|
};
|
|
47378
47399
|
var labeledAmountTotal = {
|
|
47379
|
-
"default": "
|
|
47380
|
-
small: "
|
|
47400
|
+
"default": "h6",
|
|
47401
|
+
small: "p"
|
|
47381
47402
|
};
|
|
47382
47403
|
var fallbackValues$N = {
|
|
47383
47404
|
backgroundColor: backgroundColor$c,
|
|
@@ -47386,7 +47407,7 @@ var fallbackValues$N = {
|
|
|
47386
47407
|
labeledAmountTotal: labeledAmountTotal
|
|
47387
47408
|
};
|
|
47388
47409
|
|
|
47389
|
-
var _excluded$
|
|
47410
|
+
var _excluded$x = ["amount"],
|
|
47390
47411
|
_excluded2$1 = ["amount"];
|
|
47391
47412
|
|
|
47392
47413
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47437,9 +47458,6 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
47437
47458
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
47438
47459
|
padding: "16px 0px"
|
|
47439
47460
|
}, /*#__PURE__*/React.createElement(SolidDivider$1, null)), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
47440
|
-
version: "v2",
|
|
47441
|
-
as: "h3",
|
|
47442
|
-
variant: "small",
|
|
47443
47461
|
extraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 14px;"),
|
|
47444
47462
|
label: "Amount paid",
|
|
47445
47463
|
amount: displayCurrency(voidableAmountPaid)
|
|
@@ -47447,18 +47465,15 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
47447
47465
|
, subtotal ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
47448
47466
|
padding: "0.5rem 0"
|
|
47449
47467
|
}, /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
47450
|
-
version: "v2",
|
|
47451
47468
|
variant: themeValues.labeledAmountSubtotal,
|
|
47452
47469
|
label: "Subtotal",
|
|
47453
|
-
amount: displayCurrency(subtotal)
|
|
47454
|
-
as: "h3"
|
|
47470
|
+
amount: displayCurrency(subtotal)
|
|
47455
47471
|
}), feeElems), /*#__PURE__*/React.createElement(SolidDivider$1, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
47456
|
-
|
|
47457
|
-
as: "h3",
|
|
47472
|
+
as: "p",
|
|
47458
47473
|
variant: themeValues.labeledAmountTotal,
|
|
47459
47474
|
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|
|
47460
47475
|
amount: displayCurrency(typeof remainingBalance === "number" ? remainingBalance : total),
|
|
47461
|
-
extraStyles: "
|
|
47476
|
+
extraStyles: variant === "small" && "font-weight: ".concat(FONT_WEIGHT_BOLD, ";")
|
|
47462
47477
|
}));
|
|
47463
47478
|
};
|
|
47464
47479
|
|
|
@@ -47637,7 +47652,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47637
47652
|
return fee.amount > 0;
|
|
47638
47653
|
}).map(function (_ref5) {
|
|
47639
47654
|
var amount = _ref5.amount,
|
|
47640
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47655
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
47641
47656
|
|
|
47642
47657
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47643
47658
|
amount: displayCurrency(amount)
|
|
@@ -47666,8 +47681,6 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47666
47681
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
47667
47682
|
padding: "4px 0"
|
|
47668
47683
|
}), /*#__PURE__*/React.createElement(LabeledAmount$1, _extends({
|
|
47669
|
-
version: "v2",
|
|
47670
|
-
as: "h3",
|
|
47671
47684
|
key: fee.label,
|
|
47672
47685
|
variant: themeValues.labeledAmountSubtotal
|
|
47673
47686
|
}, fee)));
|
|
@@ -47711,7 +47724,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47711
47724
|
align: "center"
|
|
47712
47725
|
}, /*#__PURE__*/React.createElement(Title$1, {
|
|
47713
47726
|
weight: FONT_WEIGHT_BOLD,
|
|
47714
|
-
as: "
|
|
47727
|
+
as: "h1",
|
|
47715
47728
|
extraStyles: "font-size: 1.375rem;",
|
|
47716
47729
|
id: "payment-details-title"
|
|
47717
47730
|
}, titleText), /*#__PURE__*/React.createElement(Title$1, {
|
|
@@ -47719,7 +47732,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47719
47732
|
as: "p",
|
|
47720
47733
|
extraStyles: "font-size: 1.375rem;"
|
|
47721
47734
|
}, displayCurrency(total)))) : /*#__PURE__*/React.createElement(Title$1, {
|
|
47722
|
-
as: "
|
|
47735
|
+
as: "h1",
|
|
47723
47736
|
weight: FONT_WEIGHT_BOLD,
|
|
47724
47737
|
margin: "1rem 0 0 0",
|
|
47725
47738
|
extraStyles: "font-size: 1.75rem;",
|
|
@@ -48061,12 +48074,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48061
48074
|
}, errorMessage))))));
|
|
48062
48075
|
};
|
|
48063
48076
|
|
|
48064
|
-
var _excluded$
|
|
48077
|
+
var _excluded$y = ["version"];
|
|
48065
48078
|
|
|
48066
48079
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48067
48080
|
var _ref$version = _ref.version,
|
|
48068
48081
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48069
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48082
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
48070
48083
|
|
|
48071
48084
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48072
48085
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48745,7 +48758,7 @@ var fallbackValues$Q = {
|
|
|
48745
48758
|
focusStyles: focusStyles
|
|
48746
48759
|
};
|
|
48747
48760
|
|
|
48748
|
-
var _excluded$
|
|
48761
|
+
var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired"];
|
|
48749
48762
|
/*
|
|
48750
48763
|
Takes an array of section objects, each object should look like:
|
|
48751
48764
|
{
|
|
@@ -48793,7 +48806,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48793
48806
|
ariaDescribedBy = _ref.ariaDescribedBy,
|
|
48794
48807
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
48795
48808
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
48796
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48809
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
48797
48810
|
|
|
48798
48811
|
var _useState = useState(null),
|
|
48799
48812
|
_useState2 = _slicedToArray(_useState, 2),
|