@thecb/components 9.2.7-beta.9 → 9.2.8-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 +207 -159
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +207 -160
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/dropdown/Dropdown.js +4 -2
- package/src/components/atoms/icons/KebabMenuIcon.d.ts +1 -0
- package/src/components/atoms/icons/KebabMenuIcon.js +38 -0
- package/src/components/atoms/icons/icons.stories.js +3 -1
- package/src/components/atoms/icons/index.d.ts +1 -0
- package/src/components/atoms/icons/index.js +3 -1
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +0 -2
- package/src/components/molecules/modal/Modal.js +1 -16
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV1.js +0 -1
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +0 -1
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +1 -5
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -18247,6 +18247,34 @@ var PlusCircleIcon = function PlusCircleIcon(_ref) {
|
|
|
18247
18247
|
}));
|
|
18248
18248
|
};
|
|
18249
18249
|
|
|
18250
|
+
var KebabMenuIcon = function KebabMenuIcon() {
|
|
18251
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
18252
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18253
|
+
width: "21",
|
|
18254
|
+
height: "32",
|
|
18255
|
+
viewBox: "0 0 21 32",
|
|
18256
|
+
fill: "none"
|
|
18257
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18258
|
+
d: "M0 4C0 1.79086 1.79086 0 4 0L17 0C19.2091 0 21 1.79086 21 4V28C21 30.2091 19.2091 32 17 32H4C1.79086 32 0 30.2091 0 28L0 4Z",
|
|
18259
|
+
fill: "#FEFEFE"
|
|
18260
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
18261
|
+
fillRule: "evenodd",
|
|
18262
|
+
clipRule: "evenodd",
|
|
18263
|
+
d: "M10.5 6C9.39333 6 8.5 6.89333 8.5 8C8.5 9.10667 9.39333 10 10.5 10C11.6067 10 12.5 9.10667 12.5 8C12.5 6.89333 11.6067 6 10.5 6Z",
|
|
18264
|
+
fill: "#3B5BDB"
|
|
18265
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
18266
|
+
fillRule: "evenodd",
|
|
18267
|
+
clipRule: "evenodd",
|
|
18268
|
+
d: "M10.5 14C9.39333 14 8.5 14.8933 8.5 16C8.5 17.1067 9.39333 18 10.5 18C11.6067 18 12.5 17.1067 12.5 16C12.5 14.8933 11.6067 14 10.5 14Z",
|
|
18269
|
+
fill: "#3B5BDB"
|
|
18270
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
18271
|
+
fillRule: "evenodd",
|
|
18272
|
+
clipRule: "evenodd",
|
|
18273
|
+
d: "M10.5 22C9.39333 22 8.5 22.9067 8.5 24C8.5 25.0933 9.40667 26 10.5 26C11.5933 26 12.5 25.0933 12.5 24C12.5 22.9067 11.6067 22 10.5 22Z",
|
|
18274
|
+
fill: "#3B5BDB"
|
|
18275
|
+
}));
|
|
18276
|
+
};
|
|
18277
|
+
|
|
18250
18278
|
var color$2 = "#15749D";
|
|
18251
18279
|
var hoverColor$1 = "#116285";
|
|
18252
18280
|
var activeColor$1 = "#0E506D";
|
|
@@ -22427,17 +22455,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22427
22455
|
};
|
|
22428
22456
|
|
|
22429
22457
|
var check = function (it) {
|
|
22430
|
-
return it && it.Math
|
|
22458
|
+
return it && it.Math === Math && it;
|
|
22431
22459
|
};
|
|
22432
22460
|
|
|
22433
22461
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22434
22462
|
var global_1 =
|
|
22435
|
-
// eslint-disable-next-line es
|
|
22463
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22436
22464
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22437
22465
|
check(typeof window == 'object' && window) ||
|
|
22438
22466
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22439
22467
|
check(typeof self == 'object' && self) ||
|
|
22440
22468
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22469
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22441
22470
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22442
22471
|
(function () { return this; })() || Function('return this')();
|
|
22443
22472
|
|
|
@@ -22451,12 +22480,12 @@ var fails = function (exec) {
|
|
|
22451
22480
|
|
|
22452
22481
|
// Detect IE8's incomplete defineProperty implementation
|
|
22453
22482
|
var descriptors = !fails(function () {
|
|
22454
|
-
// eslint-disable-next-line es
|
|
22455
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22483
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22484
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22456
22485
|
});
|
|
22457
22486
|
|
|
22458
22487
|
var functionBindNative = !fails(function () {
|
|
22459
|
-
// eslint-disable-next-line es
|
|
22488
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22460
22489
|
var test = (function () { /* empty */ }).bind();
|
|
22461
22490
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22462
22491
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22469,7 +22498,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22469
22498
|
};
|
|
22470
22499
|
|
|
22471
22500
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22472
|
-
// eslint-disable-next-line es
|
|
22501
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22473
22502
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22474
22503
|
|
|
22475
22504
|
// Nashorn ~ JDK8 bug
|
|
@@ -22496,14 +22525,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22496
22525
|
};
|
|
22497
22526
|
|
|
22498
22527
|
var FunctionPrototype = Function.prototype;
|
|
22499
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22500
22528
|
var call$1 = FunctionPrototype.call;
|
|
22501
|
-
var
|
|
22529
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22502
22530
|
|
|
22503
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22504
|
-
return
|
|
22505
|
-
} : function (fn) {
|
|
22506
|
-
return fn && function () {
|
|
22531
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22532
|
+
return function () {
|
|
22507
22533
|
return call$1.apply(fn, arguments);
|
|
22508
22534
|
};
|
|
22509
22535
|
};
|
|
@@ -22524,15 +22550,21 @@ var indexedObject = fails(function () {
|
|
|
22524
22550
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22525
22551
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22526
22552
|
}) ? function (it) {
|
|
22527
|
-
return classofRaw(it)
|
|
22553
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22528
22554
|
} : $Object;
|
|
22529
22555
|
|
|
22556
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22557
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22558
|
+
var isNullOrUndefined = function (it) {
|
|
22559
|
+
return it === null || it === undefined;
|
|
22560
|
+
};
|
|
22561
|
+
|
|
22530
22562
|
var $TypeError = TypeError;
|
|
22531
22563
|
|
|
22532
22564
|
// `RequireObjectCoercible` abstract operation
|
|
22533
22565
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22534
22566
|
var requireObjectCoercible = function (it) {
|
|
22535
|
-
if (it
|
|
22567
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22536
22568
|
return it;
|
|
22537
22569
|
};
|
|
22538
22570
|
|
|
@@ -22544,13 +22576,32 @@ var toIndexedObject = function (it) {
|
|
|
22544
22576
|
return indexedObject(requireObjectCoercible(it));
|
|
22545
22577
|
};
|
|
22546
22578
|
|
|
22579
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22580
|
+
|
|
22581
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22582
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22583
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22584
|
+
|
|
22585
|
+
var documentAll_1 = {
|
|
22586
|
+
all: documentAll,
|
|
22587
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22588
|
+
};
|
|
22589
|
+
|
|
22590
|
+
var documentAll$1 = documentAll_1.all;
|
|
22591
|
+
|
|
22547
22592
|
// `IsCallable` abstract operation
|
|
22548
22593
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22549
|
-
var isCallable = function (argument) {
|
|
22594
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22595
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22596
|
+
} : function (argument) {
|
|
22550
22597
|
return typeof argument == 'function';
|
|
22551
22598
|
};
|
|
22552
22599
|
|
|
22553
|
-
var
|
|
22600
|
+
var documentAll$2 = documentAll_1.all;
|
|
22601
|
+
|
|
22602
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22603
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22604
|
+
} : function (it) {
|
|
22554
22605
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22555
22606
|
};
|
|
22556
22607
|
|
|
@@ -22564,7 +22615,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22564
22615
|
|
|
22565
22616
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22566
22617
|
|
|
22567
|
-
var engineUserAgent =
|
|
22618
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22568
22619
|
|
|
22569
22620
|
var process$1 = global_1.process;
|
|
22570
22621
|
var Deno = global_1.Deno;
|
|
@@ -22591,24 +22642,29 @@ if (!version && engineUserAgent) {
|
|
|
22591
22642
|
|
|
22592
22643
|
var engineV8Version = version;
|
|
22593
22644
|
|
|
22594
|
-
/* eslint-disable es
|
|
22645
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22646
|
+
|
|
22647
|
+
|
|
22595
22648
|
|
|
22596
22649
|
|
|
22650
|
+
var $String = global_1.String;
|
|
22597
22651
|
|
|
22598
|
-
// eslint-disable-next-line es
|
|
22599
|
-
var
|
|
22600
|
-
var symbol = Symbol();
|
|
22652
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22653
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22654
|
+
var symbol = Symbol('symbol detection');
|
|
22601
22655
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22602
22656
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22603
|
-
|
|
22657
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22658
|
+
// of course, fail.
|
|
22659
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22604
22660
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22605
22661
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22606
22662
|
});
|
|
22607
22663
|
|
|
22608
|
-
/* eslint-disable es
|
|
22664
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22609
22665
|
|
|
22610
22666
|
|
|
22611
|
-
var useSymbolAsUid =
|
|
22667
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22612
22668
|
&& !Symbol.sham
|
|
22613
22669
|
&& typeof Symbol.iterator == 'symbol';
|
|
22614
22670
|
|
|
@@ -22621,11 +22677,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22621
22677
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22622
22678
|
};
|
|
22623
22679
|
|
|
22624
|
-
var $String = String;
|
|
22680
|
+
var $String$1 = String;
|
|
22625
22681
|
|
|
22626
22682
|
var tryToString = function (argument) {
|
|
22627
22683
|
try {
|
|
22628
|
-
return $String(argument);
|
|
22684
|
+
return $String$1(argument);
|
|
22629
22685
|
} catch (error) {
|
|
22630
22686
|
return 'Object';
|
|
22631
22687
|
}
|
|
@@ -22636,14 +22692,14 @@ var $TypeError$1 = TypeError;
|
|
|
22636
22692
|
// `Assert: IsCallable(argument) is true`
|
|
22637
22693
|
var aCallable = function (argument) {
|
|
22638
22694
|
if (isCallable(argument)) return argument;
|
|
22639
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22695
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22640
22696
|
};
|
|
22641
22697
|
|
|
22642
22698
|
// `GetMethod` abstract operation
|
|
22643
22699
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22644
22700
|
var getMethod = function (V, P) {
|
|
22645
22701
|
var func = V[P];
|
|
22646
|
-
return func
|
|
22702
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22647
22703
|
};
|
|
22648
22704
|
|
|
22649
22705
|
var $TypeError$2 = TypeError;
|
|
@@ -22655,10 +22711,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22655
22711
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22656
22712
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22657
22713
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22658
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22714
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22659
22715
|
};
|
|
22660
22716
|
|
|
22661
|
-
// eslint-disable-next-line es
|
|
22717
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22662
22718
|
var defineProperty = Object.defineProperty;
|
|
22663
22719
|
|
|
22664
22720
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22675,13 +22731,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22675
22731
|
var sharedStore = store;
|
|
22676
22732
|
|
|
22677
22733
|
var shared = createCommonjsModule(function (module) {
|
|
22734
|
+
|
|
22735
|
+
|
|
22736
|
+
|
|
22678
22737
|
(module.exports = function (key, value) {
|
|
22679
22738
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22680
22739
|
})('versions', []).push({
|
|
22681
|
-
version: '3.
|
|
22740
|
+
version: '3.33.3',
|
|
22682
22741
|
mode: 'global',
|
|
22683
|
-
copyright: '© 2014-
|
|
22684
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22742
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22743
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
22685
22744
|
source: 'https://github.com/zloirock/core-js'
|
|
22686
22745
|
});
|
|
22687
22746
|
});
|
|
@@ -22698,7 +22757,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22698
22757
|
|
|
22699
22758
|
// `HasOwnProperty` abstract operation
|
|
22700
22759
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22701
|
-
// eslint-disable-next-line es
|
|
22760
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22702
22761
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22703
22762
|
return hasOwnProperty(toObject(it), key);
|
|
22704
22763
|
};
|
|
@@ -22711,21 +22770,15 @@ var uid = function (key) {
|
|
|
22711
22770
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22712
22771
|
};
|
|
22713
22772
|
|
|
22714
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22715
22773
|
var Symbol$1 = global_1.Symbol;
|
|
22716
|
-
var
|
|
22717
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22774
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22775
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22718
22776
|
|
|
22719
22777
|
var wellKnownSymbol = function (name) {
|
|
22720
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22721
|
-
|
|
22722
|
-
|
|
22723
|
-
|
|
22724
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22725
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22726
|
-
} else {
|
|
22727
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22728
|
-
}
|
|
22778
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22779
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22780
|
+
? Symbol$1[name]
|
|
22781
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22729
22782
|
} return WellKnownSymbolsStore[name];
|
|
22730
22783
|
};
|
|
22731
22784
|
|
|
@@ -22742,7 +22795,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22742
22795
|
if (pref === undefined) pref = 'default';
|
|
22743
22796
|
result = functionCall(exoticToPrim, input, pref);
|
|
22744
22797
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22745
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22798
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22746
22799
|
}
|
|
22747
22800
|
if (pref === undefined) pref = 'number';
|
|
22748
22801
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22765,13 +22818,13 @@ var documentCreateElement = function (it) {
|
|
|
22765
22818
|
|
|
22766
22819
|
// Thanks to IE8 for its funny defineProperty
|
|
22767
22820
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22768
|
-
// eslint-disable-next-line es
|
|
22821
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22769
22822
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22770
22823
|
get: function () { return 7; }
|
|
22771
|
-
}).a
|
|
22824
|
+
}).a !== 7;
|
|
22772
22825
|
});
|
|
22773
22826
|
|
|
22774
|
-
// eslint-disable-next-line es
|
|
22827
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22775
22828
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22776
22829
|
|
|
22777
22830
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22792,26 +22845,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22792
22845
|
// V8 ~ Chrome 36-
|
|
22793
22846
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22794
22847
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22795
|
-
// eslint-disable-next-line es
|
|
22848
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22796
22849
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22797
22850
|
value: 42,
|
|
22798
22851
|
writable: false
|
|
22799
|
-
}).prototype
|
|
22852
|
+
}).prototype !== 42;
|
|
22800
22853
|
});
|
|
22801
22854
|
|
|
22802
|
-
var $String$
|
|
22855
|
+
var $String$2 = String;
|
|
22803
22856
|
var $TypeError$4 = TypeError;
|
|
22804
22857
|
|
|
22805
22858
|
// `Assert: Type(argument) is Object`
|
|
22806
22859
|
var anObject = function (argument) {
|
|
22807
22860
|
if (isObject(argument)) return argument;
|
|
22808
|
-
throw $TypeError$4($String$
|
|
22861
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22809
22862
|
};
|
|
22810
22863
|
|
|
22811
22864
|
var $TypeError$5 = TypeError;
|
|
22812
|
-
// eslint-disable-next-line es
|
|
22865
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22813
22866
|
var $defineProperty = Object.defineProperty;
|
|
22814
|
-
// eslint-disable-next-line es
|
|
22867
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22815
22868
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22816
22869
|
var ENUMERABLE = 'enumerable';
|
|
22817
22870
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22841,7 +22894,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22841
22894
|
if (ie8DomDefine) try {
|
|
22842
22895
|
return $defineProperty(O, P, Attributes);
|
|
22843
22896
|
} catch (error) { /* empty */ }
|
|
22844
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22897
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22845
22898
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22846
22899
|
return O;
|
|
22847
22900
|
};
|
|
@@ -22858,7 +22911,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22858
22911
|
};
|
|
22859
22912
|
|
|
22860
22913
|
var FunctionPrototype$1 = Function.prototype;
|
|
22861
|
-
// eslint-disable-next-line es
|
|
22914
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22862
22915
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22863
22916
|
|
|
22864
22917
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22885,7 +22938,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22885
22938
|
|
|
22886
22939
|
var WeakMap$1 = global_1.WeakMap;
|
|
22887
22940
|
|
|
22888
|
-
var
|
|
22941
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22889
22942
|
|
|
22890
22943
|
var keys$1 = shared('keys');
|
|
22891
22944
|
|
|
@@ -22908,27 +22961,29 @@ var getterFor = function (TYPE) {
|
|
|
22908
22961
|
return function (it) {
|
|
22909
22962
|
var state;
|
|
22910
22963
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22911
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22964
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22912
22965
|
} return state;
|
|
22913
22966
|
};
|
|
22914
22967
|
};
|
|
22915
22968
|
|
|
22916
|
-
if (
|
|
22969
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22917
22970
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
22971
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22972
|
+
store$1.get = store$1.get;
|
|
22973
|
+
store$1.has = store$1.has;
|
|
22974
|
+
store$1.set = store$1.set;
|
|
22975
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22921
22976
|
set = function (it, metadata) {
|
|
22922
|
-
if (
|
|
22977
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22923
22978
|
metadata.facade = it;
|
|
22924
|
-
|
|
22979
|
+
store$1.set(it, metadata);
|
|
22925
22980
|
return metadata;
|
|
22926
22981
|
};
|
|
22927
22982
|
get = function (it) {
|
|
22928
|
-
return
|
|
22983
|
+
return store$1.get(it) || {};
|
|
22929
22984
|
};
|
|
22930
22985
|
has = function (it) {
|
|
22931
|
-
return
|
|
22986
|
+
return store$1.has(it);
|
|
22932
22987
|
};
|
|
22933
22988
|
} else {
|
|
22934
22989
|
var STATE = sharedKey('state');
|
|
@@ -22956,14 +23011,23 @@ var internalState = {
|
|
|
22956
23011
|
};
|
|
22957
23012
|
|
|
22958
23013
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
23014
|
+
|
|
23015
|
+
|
|
23016
|
+
|
|
23017
|
+
|
|
23018
|
+
|
|
22959
23019
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
22960
23020
|
|
|
22961
23021
|
|
|
22962
23022
|
|
|
22963
23023
|
var enforceInternalState = internalState.enforce;
|
|
22964
23024
|
var getInternalState = internalState.get;
|
|
22965
|
-
|
|
23025
|
+
var $String = String;
|
|
23026
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22966
23027
|
var defineProperty = Object.defineProperty;
|
|
23028
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
23029
|
+
var replace = functionUncurryThis(''.replace);
|
|
23030
|
+
var join = functionUncurryThis([].join);
|
|
22967
23031
|
|
|
22968
23032
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22969
23033
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22972,8 +23036,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22972
23036
|
var TEMPLATE = String(String).split('String');
|
|
22973
23037
|
|
|
22974
23038
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22975
|
-
if (String(name)
|
|
22976
|
-
name = '[' + String(name)
|
|
23039
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23040
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22977
23041
|
}
|
|
22978
23042
|
if (options && options.getter) name = 'get ' + name;
|
|
22979
23043
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22992,7 +23056,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22992
23056
|
} catch (error) { /* empty */ }
|
|
22993
23057
|
var state = enforceInternalState(value);
|
|
22994
23058
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22995
|
-
state.source =
|
|
23059
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22996
23060
|
} return value;
|
|
22997
23061
|
};
|
|
22998
23062
|
|
|
@@ -23031,7 +23095,7 @@ var floor = Math.floor;
|
|
|
23031
23095
|
|
|
23032
23096
|
// `Math.trunc` method
|
|
23033
23097
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23034
|
-
// eslint-disable-next-line es
|
|
23098
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23035
23099
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23036
23100
|
var n = +x;
|
|
23037
23101
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23079,10 +23143,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23079
23143
|
var value;
|
|
23080
23144
|
// Array#includes uses SameValueZero equality algorithm
|
|
23081
23145
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23082
|
-
if (IS_INCLUDES && el
|
|
23146
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23083
23147
|
value = O[index++];
|
|
23084
23148
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23085
|
-
if (value
|
|
23149
|
+
if (value !== value) return true;
|
|
23086
23150
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23087
23151
|
} else for (;length > index; index++) {
|
|
23088
23152
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23132,7 +23196,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23132
23196
|
|
|
23133
23197
|
// `Object.getOwnPropertyNames` method
|
|
23134
23198
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23135
|
-
// eslint-disable-next-line es
|
|
23199
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23136
23200
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23137
23201
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23138
23202
|
};
|
|
@@ -23141,7 +23205,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23141
23205
|
f: f$3
|
|
23142
23206
|
};
|
|
23143
23207
|
|
|
23144
|
-
// eslint-disable-next-line es
|
|
23208
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23145
23209
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23146
23210
|
|
|
23147
23211
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23173,8 +23237,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23173
23237
|
|
|
23174
23238
|
var isForced = function (feature, detection) {
|
|
23175
23239
|
var value = data[normalize(feature)];
|
|
23176
|
-
return value
|
|
23177
|
-
: value
|
|
23240
|
+
return value === POLYFILL ? true
|
|
23241
|
+
: value === NATIVE ? false
|
|
23178
23242
|
: isCallable(detection) ? fails(detection)
|
|
23179
23243
|
: !!detection;
|
|
23180
23244
|
};
|
|
@@ -23254,7 +23318,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23254
23318
|
var $Object$3 = Object;
|
|
23255
23319
|
|
|
23256
23320
|
// ES3 wrong here
|
|
23257
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23321
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23258
23322
|
|
|
23259
23323
|
// fallback for IE11 Script Access Denied error
|
|
23260
23324
|
var tryGet = function (it, key) {
|
|
@@ -23272,25 +23336,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23272
23336
|
// builtinTag case
|
|
23273
23337
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23274
23338
|
// ES3 arguments fallback
|
|
23275
|
-
: (result = classofRaw(O))
|
|
23339
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23276
23340
|
};
|
|
23277
23341
|
|
|
23278
|
-
var $String$
|
|
23342
|
+
var $String$3 = String;
|
|
23279
23343
|
|
|
23280
23344
|
var toString_1 = function (argument) {
|
|
23281
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23282
|
-
return $String$
|
|
23345
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23346
|
+
return $String$3(argument);
|
|
23283
23347
|
};
|
|
23284
23348
|
|
|
23285
23349
|
var charAt = functionUncurryThis(''.charAt);
|
|
23286
23350
|
|
|
23287
23351
|
var FORCED = fails(function () {
|
|
23288
|
-
// eslint-disable-next-line es
|
|
23352
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23289
23353
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23290
23354
|
});
|
|
23291
23355
|
|
|
23292
23356
|
// `String.prototype.at` method
|
|
23293
|
-
// https://
|
|
23357
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23294
23358
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23295
23359
|
at: function at(index) {
|
|
23296
23360
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23303,14 +23367,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23303
23367
|
|
|
23304
23368
|
// `Object.keys` method
|
|
23305
23369
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23306
|
-
// eslint-disable-next-line es
|
|
23370
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23307
23371
|
var objectKeys = Object.keys || function keys(O) {
|
|
23308
23372
|
return objectKeysInternal(O, enumBugKeys);
|
|
23309
23373
|
};
|
|
23310
23374
|
|
|
23311
23375
|
// `Object.defineProperties` method
|
|
23312
23376
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23313
|
-
// eslint-disable-next-line es
|
|
23377
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23314
23378
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23315
23379
|
anObject(O);
|
|
23316
23380
|
var props = toIndexedObject(Properties);
|
|
@@ -23399,7 +23463,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23399
23463
|
|
|
23400
23464
|
// `Object.create` method
|
|
23401
23465
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23402
|
-
// eslint-disable-next-line es
|
|
23466
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23403
23467
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23404
23468
|
var result;
|
|
23405
23469
|
if (O !== null) {
|
|
@@ -23419,7 +23483,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23419
23483
|
|
|
23420
23484
|
// Array.prototype[@@unscopables]
|
|
23421
23485
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23422
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23486
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23423
23487
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23424
23488
|
configurable: true,
|
|
23425
23489
|
value: objectCreate(null)
|
|
@@ -23432,7 +23496,7 @@ var addToUnscopables = function (key) {
|
|
|
23432
23496
|
};
|
|
23433
23497
|
|
|
23434
23498
|
// `Array.prototype.at` method
|
|
23435
|
-
// https://
|
|
23499
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23436
23500
|
_export({ target: 'Array', proto: true }, {
|
|
23437
23501
|
at: function at(index) {
|
|
23438
23502
|
var O = toObject(this);
|
|
@@ -23445,13 +23509,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23445
23509
|
|
|
23446
23510
|
addToUnscopables('at');
|
|
23447
23511
|
|
|
23448
|
-
// eslint-disable-next-line es
|
|
23449
|
-
var
|
|
23512
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23513
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23514
|
+
|
|
23515
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23516
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23517
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23518
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23519
|
+
};
|
|
23450
23520
|
|
|
23451
23521
|
var correctPrototypeGetter = !fails(function () {
|
|
23452
23522
|
function F() { /* empty */ }
|
|
23453
23523
|
F.prototype.constructor = null;
|
|
23454
|
-
// eslint-disable-next-line es
|
|
23524
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23455
23525
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23456
23526
|
});
|
|
23457
23527
|
|
|
@@ -23461,7 +23531,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23461
23531
|
|
|
23462
23532
|
// `Object.getPrototypeOf` method
|
|
23463
23533
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23464
|
-
// eslint-disable-next-line es
|
|
23534
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23465
23535
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23466
23536
|
var object = toObject(O);
|
|
23467
23537
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23471,12 +23541,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23471
23541
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23472
23542
|
};
|
|
23473
23543
|
|
|
23474
|
-
var
|
|
23544
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23545
|
+
try {
|
|
23546
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23547
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23548
|
+
} catch (error) { /* empty */ }
|
|
23549
|
+
};
|
|
23550
|
+
|
|
23551
|
+
var $String$4 = String;
|
|
23475
23552
|
var $TypeError$6 = TypeError;
|
|
23476
23553
|
|
|
23477
23554
|
var aPossiblePrototype = function (argument) {
|
|
23478
23555
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23479
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23556
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23480
23557
|
};
|
|
23481
23558
|
|
|
23482
23559
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23487,14 +23564,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23487
23564
|
// `Object.setPrototypeOf` method
|
|
23488
23565
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23489
23566
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23490
|
-
// eslint-disable-next-line es
|
|
23567
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23491
23568
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23492
23569
|
var CORRECT_SETTER = false;
|
|
23493
23570
|
var test = {};
|
|
23494
23571
|
var setter;
|
|
23495
23572
|
try {
|
|
23496
|
-
|
|
23497
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23573
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23498
23574
|
setter(test, []);
|
|
23499
23575
|
CORRECT_SETTER = test instanceof Array;
|
|
23500
23576
|
} catch (error) { /* empty */ }
|
|
@@ -23507,14 +23583,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23507
23583
|
};
|
|
23508
23584
|
}() : undefined);
|
|
23509
23585
|
|
|
23510
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23511
|
-
|
|
23512
|
-
|
|
23513
|
-
|
|
23514
|
-
|
|
23515
|
-
|
|
23516
|
-
|
|
23517
|
-
|
|
23518
23586
|
var enforceInternalState = internalState.enforce;
|
|
23519
23587
|
var getInternalState = internalState.get;
|
|
23520
23588
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23530,7 +23598,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23530
23598
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23531
23599
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23532
23600
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23533
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23601
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23534
23602
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23535
23603
|
var NAME, Constructor, Prototype;
|
|
23536
23604
|
|
|
@@ -23575,12 +23643,12 @@ var isTypedArray = function (it) {
|
|
|
23575
23643
|
|
|
23576
23644
|
var aTypedArray = function (it) {
|
|
23577
23645
|
if (isTypedArray(it)) return it;
|
|
23578
|
-
throw TypeError$2('Target is not a typed array');
|
|
23646
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23579
23647
|
};
|
|
23580
23648
|
|
|
23581
23649
|
var aTypedArrayConstructor = function (C) {
|
|
23582
23650
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23583
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23651
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23584
23652
|
};
|
|
23585
23653
|
|
|
23586
23654
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23644,7 +23712,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23644
23712
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23645
23713
|
// eslint-disable-next-line no-shadow -- safe
|
|
23646
23714
|
TypedArray = function TypedArray() {
|
|
23647
|
-
throw TypeError$2('Incorrect invocation');
|
|
23715
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23648
23716
|
};
|
|
23649
23717
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23650
23718
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23665,9 +23733,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23665
23733
|
|
|
23666
23734
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23667
23735
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23668
|
-
|
|
23669
|
-
|
|
23670
|
-
|
|
23736
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23737
|
+
configurable: true,
|
|
23738
|
+
get: function () {
|
|
23739
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23740
|
+
}
|
|
23741
|
+
});
|
|
23671
23742
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23672
23743
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23673
23744
|
}
|
|
@@ -23691,7 +23762,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23691
23762
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23692
23763
|
|
|
23693
23764
|
// `%TypedArray%.prototype.at` method
|
|
23694
|
-
// https://
|
|
23765
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23695
23766
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23696
23767
|
var O = aTypedArray$1(this);
|
|
23697
23768
|
var len = lengthOfArrayLike(O);
|
|
@@ -23998,7 +24069,9 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23998
24069
|
}
|
|
23999
24070
|
|
|
24000
24071
|
setFilteredOptions(options.filter(function (option) {
|
|
24001
|
-
|
|
24072
|
+
var _option$value, _option$value$toLower, _option$text, _option$text$toLowerC;
|
|
24073
|
+
|
|
24074
|
+
return (option === null || option === void 0 ? void 0 : (_option$value = option.value) === null || _option$value === void 0 ? void 0 : (_option$value$toLower = _option$value.toLowerCase()) === null || _option$value$toLower === void 0 ? void 0 : _option$value$toLower.indexOf(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase())) >= 0 || ((_option$text = option.text) === null || _option$text === void 0 ? void 0 : (_option$text$toLowerC = _option$text.toLowerCase()) === null || _option$text$toLowerC === void 0 ? void 0 : _option$text$toLowerC.indexOf(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase())) >= 0;
|
|
24002
24075
|
}));
|
|
24003
24076
|
}, [inputValue]);
|
|
24004
24077
|
React.useEffect(function () {
|
|
@@ -45751,9 +45824,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45751
45824
|
buttonExtraStyles = _ref.buttonExtraStyles,
|
|
45752
45825
|
children = _ref.children,
|
|
45753
45826
|
_ref$dataQa = _ref.dataQa,
|
|
45754
|
-
dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa
|
|
45755
|
-
_ref$initialFocus = _ref.initialFocus,
|
|
45756
|
-
initialFocus = _ref$initialFocus === void 0 ? null : _ref$initialFocus;
|
|
45827
|
+
dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa;
|
|
45757
45828
|
|
|
45758
45829
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
45759
45830
|
isMobile = _useContext.isMobile;
|
|
@@ -45763,7 +45834,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45763
45834
|
ref: modalContainerRef,
|
|
45764
45835
|
"data-qa": dataQa
|
|
45765
45836
|
}, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal // fallback to resolve Jest unit test errors when tabbable doesn't exist in jsdom https://github.com/focus-trap/focus-trap-react/issues/91
|
|
45766
|
-
,
|
|
45837
|
+
, {
|
|
45767
45838
|
focusTrapOptions: {
|
|
45768
45839
|
fallbackFocus: modalContainerRef === null || modalContainerRef === void 0 ? void 0 : modalContainerRef.current
|
|
45769
45840
|
},
|
|
@@ -45779,12 +45850,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45779
45850
|
dialogStyle: {
|
|
45780
45851
|
width: customWidth || "615px"
|
|
45781
45852
|
},
|
|
45782
|
-
underlayClickExits: underlayClickExits
|
|
45783
|
-
|
|
45784
|
-
"aria-name": modalHeaderText
|
|
45785
|
-
}, initialFocus ? {
|
|
45786
|
-
initialFocus: initialFocus
|
|
45787
|
-
} : {}), /*#__PURE__*/React__default.createElement(Box, {
|
|
45853
|
+
underlayClickExits: underlayClickExits
|
|
45854
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
45788
45855
|
padding: "0",
|
|
45789
45856
|
borderRadius: "2px",
|
|
45790
45857
|
boxShadow: "inset 0px -2px 0px 0px rgb(0, 80, 149)"
|
|
@@ -45830,9 +45897,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45830
45897
|
text: cancelButtonText,
|
|
45831
45898
|
dataQa: cancelButtonText,
|
|
45832
45899
|
extraStyles: buttonExtraStyles,
|
|
45833
|
-
className: "modal-cancel-button"
|
|
45834
|
-
role: "button",
|
|
45835
|
-
name: cancelButtonText
|
|
45900
|
+
className: "modal-cancel-button"
|
|
45836
45901
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
45837
45902
|
width: "100%",
|
|
45838
45903
|
padding: "0"
|
|
@@ -45844,9 +45909,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45844
45909
|
isLoading: isLoading,
|
|
45845
45910
|
disabled: isContinueActionDisabled,
|
|
45846
45911
|
extraStyles: buttonExtraStyles,
|
|
45847
|
-
className: "modal-continue-button"
|
|
45848
|
-
role: "button",
|
|
45849
|
-
name: continueButtonText
|
|
45912
|
+
className: "modal-continue-button"
|
|
45850
45913
|
}))) : /*#__PURE__*/React__default.createElement(Stack, {
|
|
45851
45914
|
childGap: "1rem",
|
|
45852
45915
|
direction: "row",
|
|
@@ -45857,9 +45920,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45857
45920
|
text: cancelButtonText,
|
|
45858
45921
|
dataQa: cancelButtonText,
|
|
45859
45922
|
extraStyles: buttonExtraStyles,
|
|
45860
|
-
className: "modal-cancel-button"
|
|
45861
|
-
role: "button",
|
|
45862
|
-
name: cancelButtonText
|
|
45923
|
+
className: "modal-cancel-button"
|
|
45863
45924
|
}), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
45864
45925
|
variant: useDangerButton ? "danger" : "primary",
|
|
45865
45926
|
action: continueAction,
|
|
@@ -45868,9 +45929,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45868
45929
|
isLoading: isLoading,
|
|
45869
45930
|
disabled: isContinueActionDisabled,
|
|
45870
45931
|
extraStyles: buttonExtraStyles,
|
|
45871
|
-
className: "modal-continue-button"
|
|
45872
|
-
role: "button",
|
|
45873
|
-
name: continueButtonText
|
|
45932
|
+
className: "modal-continue-button"
|
|
45874
45933
|
}))) : /*#__PURE__*/React__default.createElement(Box, {
|
|
45875
45934
|
padding: "0.5rem"
|
|
45876
45935
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
@@ -45879,9 +45938,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45879
45938
|
text: closeButtonText,
|
|
45880
45939
|
dataQa: closeButtonText,
|
|
45881
45940
|
extraStyles: buttonExtraStyles,
|
|
45882
|
-
className: "modal-close-button"
|
|
45883
|
-
role: "button",
|
|
45884
|
-
name: closeButtonText
|
|
45941
|
+
className: "modal-close-button"
|
|
45885
45942
|
}))))))))), children);
|
|
45886
45943
|
};
|
|
45887
45944
|
|
|
@@ -47726,9 +47783,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47726
47783
|
color: themeValues.linkColor,
|
|
47727
47784
|
weight: themeValues.fontWeight,
|
|
47728
47785
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47729
|
-
extraStyles: "cursor: pointer;"
|
|
47730
|
-
role: "button",
|
|
47731
|
-
className: "modal-trigger"
|
|
47786
|
+
extraStyles: "cursor: pointer;"
|
|
47732
47787
|
}, link));
|
|
47733
47788
|
};
|
|
47734
47789
|
|
|
@@ -47785,10 +47840,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
47785
47840
|
variant = _ref.variant,
|
|
47786
47841
|
_ref$linkVariant = _ref.linkVariant,
|
|
47787
47842
|
linkVariant = _ref$linkVariant === void 0 ? "p" : _ref$linkVariant,
|
|
47788
|
-
themeValues = _ref.themeValues
|
|
47789
|
-
|
|
47790
|
-
initialFocus = _ref$initialFocus === void 0 ? null : _ref$initialFocus;
|
|
47791
|
-
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
47843
|
+
themeValues = _ref.themeValues;
|
|
47844
|
+
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
47792
47845
|
modalOpen: isOpen,
|
|
47793
47846
|
hideModal: function hideModal() {
|
|
47794
47847
|
return toggleOpen(false);
|
|
@@ -47814,9 +47867,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
47814
47867
|
toggleAccepted(true);
|
|
47815
47868
|
toggleOpen(false);
|
|
47816
47869
|
}
|
|
47817
|
-
},
|
|
47818
|
-
initialFocus: initialFocus
|
|
47819
|
-
} : {}), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47870
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47820
47871
|
variant: linkVariant,
|
|
47821
47872
|
onClick: function onClick() {
|
|
47822
47873
|
return toggleOpen(true);
|
|
@@ -47828,9 +47879,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
47828
47879
|
color: themeValues.linkColor,
|
|
47829
47880
|
weight: themeValues.fontWeight,
|
|
47830
47881
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47831
|
-
extraStyles: "display: inline-block; width: fit-content; cursor: pointer"
|
|
47832
|
-
role: "button",
|
|
47833
|
-
className: "modal-trigger"
|
|
47882
|
+
extraStyles: "display: inline-block; width: fit-content; cursor: pointer"
|
|
47834
47883
|
}, link));
|
|
47835
47884
|
};
|
|
47836
47885
|
|
|
@@ -47865,8 +47914,7 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
|
47865
47914
|
terms: terms,
|
|
47866
47915
|
isOpen: showTerms,
|
|
47867
47916
|
toggleOpen: toggleShowTerms,
|
|
47868
|
-
linkVariant: linkVariant
|
|
47869
|
-
initialFocus: "[role=\"button\"]:not(.modal-trigger)"
|
|
47917
|
+
linkVariant: linkVariant
|
|
47870
47918
|
})))));
|
|
47871
47919
|
};
|
|
47872
47920
|
|
|
@@ -47949,8 +47997,7 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
47949
47997
|
isOpen: showTerms,
|
|
47950
47998
|
toggleOpen: toggleTerms,
|
|
47951
47999
|
linkVariant: modalVariant,
|
|
47952
|
-
title: modalTitle
|
|
47953
|
-
initialFocus: ".modal-close-button"
|
|
48000
|
+
title: modalTitle
|
|
47954
48001
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
47955
48002
|
"aria-live": "polite",
|
|
47956
48003
|
"aria-atomic": true
|
|
@@ -49873,6 +49920,7 @@ exports.ImageBox = ImageBox;
|
|
|
49873
49920
|
exports.Imposter = Imposter;
|
|
49874
49921
|
exports.InternalLink = InternalLink;
|
|
49875
49922
|
exports.Jumbo = Jumbo$1;
|
|
49923
|
+
exports.KebabMenuIcon = KebabMenuIcon;
|
|
49876
49924
|
exports.KioskImage = KioskImage;
|
|
49877
49925
|
exports.LabeledAmount = LabeledAmount$1;
|
|
49878
49926
|
exports.LineItem = LineItem$1;
|