@thecb/components 7.8.1 → 7.8.2
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 +187 -155
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +187 -155
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +101 -96
- package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
- package/src/constants/colors.js +6 -0
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -5015,7 +5015,9 @@ var INFO_BLUE = "#E4F4FD";
|
|
|
5015
5015
|
var HOVER_LIGHT_BLUE = "#EFFAFF";
|
|
5016
5016
|
var MATISSE_BLUE = "#15749D";
|
|
5017
5017
|
var ROYAL_BLUE = "#3181E3";
|
|
5018
|
-
var ASTRAL_BLUE = "#3176AA";
|
|
5018
|
+
var ASTRAL_BLUE = "#3176AA";
|
|
5019
|
+
var SAPPHIRE_BLUE = "#116285";
|
|
5020
|
+
var PEACOCK_BLUE = "#0E506D"; // GREEN
|
|
5019
5021
|
|
|
5020
5022
|
var FOREST_GREEN = "#19b03F";
|
|
5021
5023
|
var MEADOW_GREEN = "#16C98D";
|
|
@@ -5038,6 +5040,7 @@ var RED = "#FF0000";
|
|
|
5038
5040
|
var CRIMSON_RED = "#ED1C24";
|
|
5039
5041
|
var THUNDERBIRD_RED = "#C3191F";
|
|
5040
5042
|
var RAZZMATAZZ_RED = "#D11053";
|
|
5043
|
+
var RASPBERRY = "#ED125F";
|
|
5041
5044
|
var FANTASY_RED = "#FCF4F4";
|
|
5042
5045
|
var COSMOS_RED = "#FFD0D3";
|
|
5043
5046
|
var BLUSH_RED = "#FFF0F5"; // Second level color constants
|
|
@@ -5122,6 +5125,8 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5122
5125
|
MATISSE_BLUE: MATISSE_BLUE,
|
|
5123
5126
|
ROYAL_BLUE: ROYAL_BLUE,
|
|
5124
5127
|
ASTRAL_BLUE: ASTRAL_BLUE,
|
|
5128
|
+
SAPPHIRE_BLUE: SAPPHIRE_BLUE,
|
|
5129
|
+
PEACOCK_BLUE: PEACOCK_BLUE,
|
|
5125
5130
|
FOREST_GREEN: FOREST_GREEN,
|
|
5126
5131
|
MEADOW_GREEN: MEADOW_GREEN,
|
|
5127
5132
|
POLAR_GREEN: POLAR_GREEN,
|
|
@@ -5143,6 +5148,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5143
5148
|
FANTASY_RED: FANTASY_RED,
|
|
5144
5149
|
COSMOS_RED: COSMOS_RED,
|
|
5145
5150
|
BLUSH_RED: BLUSH_RED,
|
|
5151
|
+
RASPBERRY: RASPBERRY,
|
|
5146
5152
|
ALERT_COLORS: ALERT_COLORS,
|
|
5147
5153
|
ERROR_COLOR: ERROR_COLOR
|
|
5148
5154
|
});
|
|
@@ -12543,10 +12549,6 @@ var Reel = function Reel(_ref) {
|
|
|
12543
12549
|
}), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
12544
12550
|
};
|
|
12545
12551
|
|
|
12546
|
-
/*
|
|
12547
|
-
For now I'm using string values, eventually shared components library will have its own constants file
|
|
12548
|
-
for colors/values that should be used here instead
|
|
12549
|
-
*/
|
|
12550
12552
|
var padding = {
|
|
12551
12553
|
primary: "0.75rem 1.5rem",
|
|
12552
12554
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12562,18 +12564,18 @@ var padding = {
|
|
|
12562
12564
|
whitePrimary: "1.125rem 0.75rem"
|
|
12563
12565
|
};
|
|
12564
12566
|
var color$1 = {
|
|
12565
|
-
primary:
|
|
12566
|
-
secondary:
|
|
12567
|
-
back:
|
|
12568
|
-
smallPrimary:
|
|
12569
|
-
smallSecondary:
|
|
12570
|
-
smallGhost:
|
|
12571
|
-
ghost:
|
|
12572
|
-
tertiary:
|
|
12573
|
-
danger:
|
|
12574
|
-
dangerSecondary:
|
|
12575
|
-
whiteSecondary:
|
|
12576
|
-
whitePrimary:
|
|
12567
|
+
primary: WHITE,
|
|
12568
|
+
secondary: MATISSE_BLUE,
|
|
12569
|
+
back: MATISSE_BLUE,
|
|
12570
|
+
smallPrimary: WHITE,
|
|
12571
|
+
smallSecondary: MATISSE_BLUE,
|
|
12572
|
+
smallGhost: MATISSE_BLUE,
|
|
12573
|
+
ghost: MATISSE_BLUE,
|
|
12574
|
+
tertiary: MATISSE_BLUE,
|
|
12575
|
+
danger: WHITE,
|
|
12576
|
+
dangerSecondary: ERROR_COLOR,
|
|
12577
|
+
whiteSecondary: WHITE,
|
|
12578
|
+
whitePrimary: WHITE
|
|
12577
12579
|
};
|
|
12578
12580
|
var fontSizeVariant = {
|
|
12579
12581
|
primary: "pS",
|
|
@@ -12632,116 +12634,116 @@ var minWidth = {
|
|
|
12632
12634
|
whitePrimary: "130px"
|
|
12633
12635
|
};
|
|
12634
12636
|
var backgroundColor = {
|
|
12635
|
-
primary:
|
|
12636
|
-
secondary:
|
|
12637
|
-
back:
|
|
12638
|
-
smallPrimary:
|
|
12639
|
-
smallSecondary:
|
|
12640
|
-
smallGhost:
|
|
12641
|
-
ghost:
|
|
12642
|
-
tertiary:
|
|
12643
|
-
danger:
|
|
12644
|
-
dangerSecondary:
|
|
12645
|
-
whiteSecondary:
|
|
12646
|
-
whitePrimary:
|
|
12637
|
+
primary: MATISSE_BLUE,
|
|
12638
|
+
secondary: TRANSPARENT,
|
|
12639
|
+
back: TRANSPARENT,
|
|
12640
|
+
smallPrimary: MATISSE_BLUE,
|
|
12641
|
+
smallSecondary: TRANSPARENT,
|
|
12642
|
+
smallGhost: TRANSPARENT,
|
|
12643
|
+
ghost: TRANSPARENT,
|
|
12644
|
+
tertiary: TRANSPARENT,
|
|
12645
|
+
danger: RASPBERRY,
|
|
12646
|
+
dangerSecondary: TRANSPARENT,
|
|
12647
|
+
whiteSecondary: TRANSPARENT,
|
|
12648
|
+
whitePrimary: TRANSPARENT
|
|
12647
12649
|
};
|
|
12648
12650
|
var border = {
|
|
12649
|
-
primary: "2px solid
|
|
12650
|
-
secondary: "2px solid
|
|
12651
|
-
back: "2px solid
|
|
12652
|
-
smallPrimary: "2px solid
|
|
12653
|
-
smallSecondary: "2px solid
|
|
12651
|
+
primary: "2px solid " + MATISSE_BLUE,
|
|
12652
|
+
secondary: "2px solid " + MATISSE_BLUE,
|
|
12653
|
+
back: "2px solid " + MATISSE_BLUE,
|
|
12654
|
+
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12655
|
+
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
12654
12656
|
smallGhost: "none",
|
|
12655
12657
|
ghost: "none",
|
|
12656
12658
|
tertiary: "none",
|
|
12657
|
-
danger: "2px solid
|
|
12658
|
-
dangerSecondary: "2px solid
|
|
12659
|
-
whiteSecondary: "2px solid
|
|
12660
|
-
whitePrimary: "2px solid
|
|
12659
|
+
danger: "2px solid " + RASPBERRY,
|
|
12660
|
+
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12661
|
+
whiteSecondary: "2px solid " + WHITE,
|
|
12662
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12661
12663
|
};
|
|
12662
12664
|
var hoverBackgroundColor = {
|
|
12663
|
-
primary:
|
|
12665
|
+
primary: SAPPHIRE_BLUE,
|
|
12664
12666
|
secondary: "#DBEAF0",
|
|
12665
|
-
back:
|
|
12666
|
-
smallPrimary:
|
|
12667
|
+
back: TRANSPARENT,
|
|
12668
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12667
12669
|
smallSecondary: "#DBEAF0",
|
|
12668
|
-
smallGhost:
|
|
12669
|
-
ghost:
|
|
12670
|
-
tertiary:
|
|
12670
|
+
smallGhost: TRANSPARENT,
|
|
12671
|
+
ghost: TRANSPARENT,
|
|
12672
|
+
tertiary: TRANSPARENT,
|
|
12671
12673
|
danger: "#BA002C",
|
|
12672
|
-
dangerSecondary: "
|
|
12673
|
-
whiteSecondary:
|
|
12674
|
-
whitePrimary:
|
|
12674
|
+
dangerSecondary: "#FAE7EE",
|
|
12675
|
+
whiteSecondary: TRANSPARENT,
|
|
12676
|
+
whitePrimary: TRANSPARENT
|
|
12675
12677
|
};
|
|
12676
12678
|
var hoverBorderColor = {
|
|
12677
|
-
primary:
|
|
12678
|
-
secondary:
|
|
12679
|
+
primary: SAPPHIRE_BLUE,
|
|
12680
|
+
secondary: MATISSE_BLUE,
|
|
12679
12681
|
back: "#DCEAF1",
|
|
12680
|
-
smallPrimary:
|
|
12681
|
-
smallSecondary:
|
|
12682
|
-
smallGhost:
|
|
12683
|
-
ghost:
|
|
12684
|
-
tertiary:
|
|
12682
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12683
|
+
smallSecondary: MATISSE_BLUE,
|
|
12684
|
+
smallGhost: TRANSPARENT,
|
|
12685
|
+
ghost: TRANSPARENT,
|
|
12686
|
+
tertiary: TRANSPARENT,
|
|
12685
12687
|
danger: "#BA002C",
|
|
12686
12688
|
dangerSecondary: "#B10541",
|
|
12687
|
-
whiteSecondary: "2px solid
|
|
12688
|
-
whitePrimary: "2px solid
|
|
12689
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12690
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12689
12691
|
};
|
|
12690
12692
|
var hoverColor = {
|
|
12691
|
-
primary:
|
|
12692
|
-
secondary:
|
|
12693
|
-
back:
|
|
12694
|
-
smallPrimary:
|
|
12695
|
-
smallSecondary:
|
|
12696
|
-
smallGhost:
|
|
12697
|
-
ghost:
|
|
12698
|
-
tertiary:
|
|
12699
|
-
danger:
|
|
12693
|
+
primary: WHITE,
|
|
12694
|
+
secondary: SAPPHIRE_BLUE,
|
|
12695
|
+
back: SAPPHIRE_BLUE,
|
|
12696
|
+
smallPrimary: WHITE,
|
|
12697
|
+
smallSecondary: SAPPHIRE_BLUE,
|
|
12698
|
+
smallGhost: SAPPHIRE_BLUE,
|
|
12699
|
+
ghost: SAPPHIRE_BLUE,
|
|
12700
|
+
tertiary: SAPPHIRE_BLUE,
|
|
12701
|
+
danger: WHITE,
|
|
12700
12702
|
dangerSecondary: "#B10541",
|
|
12701
|
-
whiteSecondary:
|
|
12702
|
-
whitePrimary:
|
|
12703
|
+
whiteSecondary: WHITE,
|
|
12704
|
+
whitePrimary: WHITE
|
|
12703
12705
|
};
|
|
12704
12706
|
var activeBackgroundColor = {
|
|
12705
|
-
primary:
|
|
12707
|
+
primary: PEACOCK_BLUE,
|
|
12706
12708
|
secondary: "#B8D5E1",
|
|
12707
|
-
back:
|
|
12708
|
-
smallPrimary:
|
|
12709
|
+
back: TRANSPARENT,
|
|
12710
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12709
12711
|
smallSecondary: "#B8D5E1",
|
|
12710
|
-
smallGhost:
|
|
12711
|
-
ghost:
|
|
12712
|
-
tertiary:
|
|
12712
|
+
smallGhost: TRANSPARENT,
|
|
12713
|
+
ghost: TRANSPARENT,
|
|
12714
|
+
tertiary: TRANSPARENT,
|
|
12713
12715
|
danger: "#870000",
|
|
12714
|
-
dangerSecondary: "
|
|
12715
|
-
whiteSecondary:
|
|
12716
|
-
whitePrimary:
|
|
12716
|
+
dangerSecondary: "#FAE7EE",
|
|
12717
|
+
whiteSecondary: TRANSPARENT,
|
|
12718
|
+
whitePrimary: TRANSPARENT
|
|
12717
12719
|
};
|
|
12718
12720
|
var activeBorderColor = {
|
|
12719
|
-
primary:
|
|
12720
|
-
secondary:
|
|
12721
|
-
back:
|
|
12722
|
-
smallPrimary:
|
|
12723
|
-
smallSecondary:
|
|
12724
|
-
smallGhost:
|
|
12725
|
-
ghost:
|
|
12726
|
-
tertiary:
|
|
12721
|
+
primary: PEACOCK_BLUE,
|
|
12722
|
+
secondary: MATISSE_BLUE,
|
|
12723
|
+
back: PEACOCK_BLUE,
|
|
12724
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12725
|
+
smallSecondary: MATISSE_BLUE,
|
|
12726
|
+
smallGhost: TRANSPARENT,
|
|
12727
|
+
ghost: TRANSPARENT,
|
|
12728
|
+
tertiary: TRANSPARENT,
|
|
12727
12729
|
danger: "#870000",
|
|
12728
12730
|
dangerSecondary: "#910029",
|
|
12729
|
-
whiteSecondary: "2px solid
|
|
12730
|
-
whitePrimary: "2px solid
|
|
12731
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12732
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12731
12733
|
};
|
|
12732
12734
|
var activeColor = {
|
|
12733
|
-
primary:
|
|
12734
|
-
secondary:
|
|
12735
|
-
back:
|
|
12736
|
-
smallPrimary:
|
|
12737
|
-
smallSecondary:
|
|
12738
|
-
smallGhost:
|
|
12739
|
-
ghost:
|
|
12740
|
-
tertiary:
|
|
12741
|
-
danger:
|
|
12735
|
+
primary: WHITE,
|
|
12736
|
+
secondary: MATISSE_BLUE,
|
|
12737
|
+
back: PEACOCK_BLUE,
|
|
12738
|
+
smallPrimary: WHITE,
|
|
12739
|
+
smallSecondary: PEACOCK_BLUE,
|
|
12740
|
+
smallGhost: PEACOCK_BLUE,
|
|
12741
|
+
ghost: PEACOCK_BLUE,
|
|
12742
|
+
tertiary: PEACOCK_BLUE,
|
|
12743
|
+
danger: WHITE,
|
|
12742
12744
|
dangerSecondary: "#910029",
|
|
12743
|
-
whiteSecondary:
|
|
12744
|
-
whitePrimary:
|
|
12745
|
+
whiteSecondary: WHITE,
|
|
12746
|
+
whitePrimary: WHITE
|
|
12745
12747
|
};
|
|
12746
12748
|
var fallbackValues$1 = {
|
|
12747
12749
|
padding: padding,
|
|
@@ -21327,7 +21329,7 @@ var check = function (it) {
|
|
|
21327
21329
|
|
|
21328
21330
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
21329
21331
|
var global_1 =
|
|
21330
|
-
// eslint-disable-next-line es
|
|
21332
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
21331
21333
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
21332
21334
|
check(typeof window == 'object' && window) ||
|
|
21333
21335
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -21346,12 +21348,12 @@ var fails = function (exec) {
|
|
|
21346
21348
|
|
|
21347
21349
|
// Detect IE8's incomplete defineProperty implementation
|
|
21348
21350
|
var descriptors = !fails(function () {
|
|
21349
|
-
// eslint-disable-next-line es
|
|
21351
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
21350
21352
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
21351
21353
|
});
|
|
21352
21354
|
|
|
21353
21355
|
var functionBindNative = !fails(function () {
|
|
21354
|
-
// eslint-disable-next-line es
|
|
21356
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
21355
21357
|
var test = (function () { /* empty */ }).bind();
|
|
21356
21358
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
21357
21359
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -21364,7 +21366,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
21364
21366
|
};
|
|
21365
21367
|
|
|
21366
21368
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
21367
|
-
// eslint-disable-next-line es
|
|
21369
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21368
21370
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
21369
21371
|
|
|
21370
21372
|
// Nashorn ~ JDK8 bug
|
|
@@ -21391,25 +21393,29 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
21391
21393
|
};
|
|
21392
21394
|
|
|
21393
21395
|
var FunctionPrototype = Function.prototype;
|
|
21394
|
-
var bind$1 = FunctionPrototype.bind;
|
|
21395
21396
|
var call$1 = FunctionPrototype.call;
|
|
21396
|
-
var
|
|
21397
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
21397
21398
|
|
|
21398
|
-
var
|
|
21399
|
-
return
|
|
21400
|
-
} : function (fn) {
|
|
21401
|
-
return fn && function () {
|
|
21399
|
+
var functionUncurryThisRaw = function (fn) {
|
|
21400
|
+
return functionBindNative ? uncurryThisWithBind(fn) : function () {
|
|
21402
21401
|
return call$1.apply(fn, arguments);
|
|
21403
21402
|
};
|
|
21404
21403
|
};
|
|
21405
21404
|
|
|
21406
|
-
var toString$2 =
|
|
21407
|
-
var stringSlice =
|
|
21405
|
+
var toString$2 = functionUncurryThisRaw({}.toString);
|
|
21406
|
+
var stringSlice = functionUncurryThisRaw(''.slice);
|
|
21408
21407
|
|
|
21409
21408
|
var classofRaw = function (it) {
|
|
21410
21409
|
return stringSlice(toString$2(it), 8, -1);
|
|
21411
21410
|
};
|
|
21412
21411
|
|
|
21412
|
+
var functionUncurryThis = function (fn) {
|
|
21413
|
+
// Nashorn bug:
|
|
21414
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
21415
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
21416
|
+
if (classofRaw(fn) === 'Function') return functionUncurryThisRaw(fn);
|
|
21417
|
+
};
|
|
21418
|
+
|
|
21413
21419
|
var $Object = Object;
|
|
21414
21420
|
var split = functionUncurryThis(''.split);
|
|
21415
21421
|
|
|
@@ -21422,12 +21428,18 @@ var indexedObject = fails(function () {
|
|
|
21422
21428
|
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
21423
21429
|
} : $Object;
|
|
21424
21430
|
|
|
21431
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
21432
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
21433
|
+
var isNullOrUndefined = function (it) {
|
|
21434
|
+
return it === null || it === undefined;
|
|
21435
|
+
};
|
|
21436
|
+
|
|
21425
21437
|
var $TypeError = TypeError;
|
|
21426
21438
|
|
|
21427
21439
|
// `RequireObjectCoercible` abstract operation
|
|
21428
21440
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
21429
21441
|
var requireObjectCoercible = function (it) {
|
|
21430
|
-
if (it
|
|
21442
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
21431
21443
|
return it;
|
|
21432
21444
|
};
|
|
21433
21445
|
|
|
@@ -21439,13 +21451,31 @@ var toIndexedObject = function (it) {
|
|
|
21439
21451
|
return indexedObject(requireObjectCoercible(it));
|
|
21440
21452
|
};
|
|
21441
21453
|
|
|
21454
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
21455
|
+
|
|
21456
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
21457
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
21458
|
+
|
|
21459
|
+
var documentAll_1 = {
|
|
21460
|
+
all: documentAll,
|
|
21461
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
21462
|
+
};
|
|
21463
|
+
|
|
21464
|
+
var documentAll$1 = documentAll_1.all;
|
|
21465
|
+
|
|
21442
21466
|
// `IsCallable` abstract operation
|
|
21443
21467
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
21444
|
-
var isCallable = function (argument) {
|
|
21468
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
21469
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
21470
|
+
} : function (argument) {
|
|
21445
21471
|
return typeof argument == 'function';
|
|
21446
21472
|
};
|
|
21447
21473
|
|
|
21448
|
-
var
|
|
21474
|
+
var documentAll$2 = documentAll_1.all;
|
|
21475
|
+
|
|
21476
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
21477
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
21478
|
+
} : function (it) {
|
|
21449
21479
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
21450
21480
|
};
|
|
21451
21481
|
|
|
@@ -21486,12 +21516,12 @@ if (!version && engineUserAgent) {
|
|
|
21486
21516
|
|
|
21487
21517
|
var engineV8Version = version;
|
|
21488
21518
|
|
|
21489
|
-
/* eslint-disable es
|
|
21519
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
21490
21520
|
|
|
21491
21521
|
|
|
21492
21522
|
|
|
21493
|
-
// eslint-disable-next-line es
|
|
21494
|
-
var
|
|
21523
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
21524
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
21495
21525
|
var symbol = Symbol();
|
|
21496
21526
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
21497
21527
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -21500,10 +21530,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
21500
21530
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
21501
21531
|
});
|
|
21502
21532
|
|
|
21503
|
-
/* eslint-disable es
|
|
21533
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
21504
21534
|
|
|
21505
21535
|
|
|
21506
|
-
var useSymbolAsUid =
|
|
21536
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
21507
21537
|
&& !Symbol.sham
|
|
21508
21538
|
&& typeof Symbol.iterator == 'symbol';
|
|
21509
21539
|
|
|
@@ -21538,7 +21568,7 @@ var aCallable = function (argument) {
|
|
|
21538
21568
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
21539
21569
|
var getMethod = function (V, P) {
|
|
21540
21570
|
var func = V[P];
|
|
21541
|
-
return func
|
|
21571
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
21542
21572
|
};
|
|
21543
21573
|
|
|
21544
21574
|
var $TypeError$2 = TypeError;
|
|
@@ -21553,7 +21583,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
21553
21583
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
21554
21584
|
};
|
|
21555
21585
|
|
|
21556
|
-
// eslint-disable-next-line es
|
|
21586
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
21557
21587
|
var defineProperty = Object.defineProperty;
|
|
21558
21588
|
|
|
21559
21589
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -21573,10 +21603,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
21573
21603
|
(module.exports = function (key, value) {
|
|
21574
21604
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
21575
21605
|
})('versions', []).push({
|
|
21576
|
-
version: '3.
|
|
21606
|
+
version: '3.25.5',
|
|
21577
21607
|
mode: 'global',
|
|
21578
21608
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
21579
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
21609
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
|
21580
21610
|
source: 'https://github.com/zloirock/core-js'
|
|
21581
21611
|
});
|
|
21582
21612
|
});
|
|
@@ -21593,7 +21623,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
21593
21623
|
|
|
21594
21624
|
// `HasOwnProperty` abstract operation
|
|
21595
21625
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
21596
|
-
// eslint-disable-next-line es
|
|
21626
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
21597
21627
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
21598
21628
|
return hasOwnProperty(toObject(it), key);
|
|
21599
21629
|
};
|
|
@@ -21612,9 +21642,9 @@ var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
|
21612
21642
|
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
21613
21643
|
|
|
21614
21644
|
var wellKnownSymbol = function (name) {
|
|
21615
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(
|
|
21645
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(symbolConstructorDetection || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
21616
21646
|
var description = 'Symbol.' + name;
|
|
21617
|
-
if (
|
|
21647
|
+
if (symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)) {
|
|
21618
21648
|
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
21619
21649
|
} else if (useSymbolAsUid && symbolFor) {
|
|
21620
21650
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
@@ -21660,13 +21690,13 @@ var documentCreateElement = function (it) {
|
|
|
21660
21690
|
|
|
21661
21691
|
// Thanks to IE8 for its funny defineProperty
|
|
21662
21692
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
21663
|
-
// eslint-disable-next-line es
|
|
21693
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
21664
21694
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
21665
21695
|
get: function () { return 7; }
|
|
21666
21696
|
}).a != 7;
|
|
21667
21697
|
});
|
|
21668
21698
|
|
|
21669
|
-
// eslint-disable-next-line es
|
|
21699
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21670
21700
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
21671
21701
|
|
|
21672
21702
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -21687,7 +21717,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
21687
21717
|
// V8 ~ Chrome 36-
|
|
21688
21718
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
21689
21719
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
21690
|
-
// eslint-disable-next-line es
|
|
21720
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
21691
21721
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
21692
21722
|
value: 42,
|
|
21693
21723
|
writable: false
|
|
@@ -21704,9 +21734,9 @@ var anObject = function (argument) {
|
|
|
21704
21734
|
};
|
|
21705
21735
|
|
|
21706
21736
|
var $TypeError$5 = TypeError;
|
|
21707
|
-
// eslint-disable-next-line es
|
|
21737
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
21708
21738
|
var $defineProperty = Object.defineProperty;
|
|
21709
|
-
// eslint-disable-next-line es
|
|
21739
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21710
21740
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
21711
21741
|
var ENUMERABLE = 'enumerable';
|
|
21712
21742
|
var CONFIGURABLE = 'configurable';
|
|
@@ -21753,7 +21783,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
21753
21783
|
};
|
|
21754
21784
|
|
|
21755
21785
|
var FunctionPrototype$1 = Function.prototype;
|
|
21756
|
-
// eslint-disable-next-line es
|
|
21786
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21757
21787
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
21758
21788
|
|
|
21759
21789
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -21780,7 +21810,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
21780
21810
|
|
|
21781
21811
|
var WeakMap$1 = global_1.WeakMap;
|
|
21782
21812
|
|
|
21783
|
-
var
|
|
21813
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
21784
21814
|
|
|
21785
21815
|
var keys$1 = shared('keys');
|
|
21786
21816
|
|
|
@@ -21808,28 +21838,30 @@ var getterFor = function (TYPE) {
|
|
|
21808
21838
|
};
|
|
21809
21839
|
};
|
|
21810
21840
|
|
|
21811
|
-
if (
|
|
21841
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
21812
21842
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
21813
|
-
|
|
21814
|
-
|
|
21815
|
-
|
|
21843
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
21844
|
+
store$1.get = store$1.get;
|
|
21845
|
+
store$1.has = store$1.has;
|
|
21846
|
+
store$1.set = store$1.set;
|
|
21847
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
21816
21848
|
set = function (it, metadata) {
|
|
21817
|
-
if (
|
|
21849
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
21818
21850
|
metadata.facade = it;
|
|
21819
|
-
|
|
21851
|
+
store$1.set(it, metadata);
|
|
21820
21852
|
return metadata;
|
|
21821
21853
|
};
|
|
21822
21854
|
get = function (it) {
|
|
21823
|
-
return
|
|
21855
|
+
return store$1.get(it) || {};
|
|
21824
21856
|
};
|
|
21825
21857
|
has = function (it) {
|
|
21826
|
-
return
|
|
21858
|
+
return store$1.has(it);
|
|
21827
21859
|
};
|
|
21828
21860
|
} else {
|
|
21829
21861
|
var STATE = sharedKey('state');
|
|
21830
21862
|
hiddenKeys[STATE] = true;
|
|
21831
21863
|
set = function (it, metadata) {
|
|
21832
|
-
if (hasOwnProperty_1(it, STATE)) throw
|
|
21864
|
+
if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
21833
21865
|
metadata.facade = it;
|
|
21834
21866
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
21835
21867
|
return metadata;
|
|
@@ -21857,7 +21889,7 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
|
21857
21889
|
|
|
21858
21890
|
var enforceInternalState = internalState.enforce;
|
|
21859
21891
|
var getInternalState = internalState.get;
|
|
21860
|
-
// eslint-disable-next-line es
|
|
21892
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
21861
21893
|
var defineProperty = Object.defineProperty;
|
|
21862
21894
|
|
|
21863
21895
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
@@ -21926,7 +21958,7 @@ var floor = Math.floor;
|
|
|
21926
21958
|
|
|
21927
21959
|
// `Math.trunc` method
|
|
21928
21960
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
21929
|
-
// eslint-disable-next-line es
|
|
21961
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
21930
21962
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
21931
21963
|
var n = +x;
|
|
21932
21964
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -22027,7 +22059,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
22027
22059
|
|
|
22028
22060
|
// `Object.getOwnPropertyNames` method
|
|
22029
22061
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
22030
|
-
// eslint-disable-next-line es
|
|
22062
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
22031
22063
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
22032
22064
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
22033
22065
|
};
|
|
@@ -22036,7 +22068,7 @@ var objectGetOwnPropertyNames = {
|
|
|
22036
22068
|
f: f$3
|
|
22037
22069
|
};
|
|
22038
22070
|
|
|
22039
|
-
// eslint-disable-next-line es
|
|
22071
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
22040
22072
|
var f$4 = Object.getOwnPropertySymbols;
|
|
22041
22073
|
|
|
22042
22074
|
var objectGetOwnPropertySymbols = {
|
|
@@ -22180,7 +22212,7 @@ var toString_1 = function (argument) {
|
|
|
22180
22212
|
var charAt = functionUncurryThis(''.charAt);
|
|
22181
22213
|
|
|
22182
22214
|
var FORCED = fails(function () {
|
|
22183
|
-
// eslint-disable-next-line es
|
|
22215
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
22184
22216
|
return '𠮷'.at(-2) !== '\uD842';
|
|
22185
22217
|
});
|
|
22186
22218
|
|
|
@@ -22198,14 +22230,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
22198
22230
|
|
|
22199
22231
|
// `Object.keys` method
|
|
22200
22232
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
22201
|
-
// eslint-disable-next-line es
|
|
22233
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
22202
22234
|
var objectKeys = Object.keys || function keys(O) {
|
|
22203
22235
|
return objectKeysInternal(O, enumBugKeys);
|
|
22204
22236
|
};
|
|
22205
22237
|
|
|
22206
22238
|
// `Object.defineProperties` method
|
|
22207
22239
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
22208
|
-
// eslint-disable-next-line es
|
|
22240
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
22209
22241
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
22210
22242
|
anObject(O);
|
|
22211
22243
|
var props = toIndexedObject(Properties);
|
|
@@ -22294,7 +22326,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
22294
22326
|
|
|
22295
22327
|
// `Object.create` method
|
|
22296
22328
|
// https://tc39.es/ecma262/#sec-object.create
|
|
22297
|
-
// eslint-disable-next-line es
|
|
22329
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
22298
22330
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
22299
22331
|
var result;
|
|
22300
22332
|
if (O !== null) {
|
|
@@ -22340,13 +22372,13 @@ _export({ target: 'Array', proto: true }, {
|
|
|
22340
22372
|
|
|
22341
22373
|
addToUnscopables('at');
|
|
22342
22374
|
|
|
22343
|
-
// eslint-disable-next-line es
|
|
22344
|
-
var
|
|
22375
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
22376
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
22345
22377
|
|
|
22346
22378
|
var correctPrototypeGetter = !fails(function () {
|
|
22347
22379
|
function F() { /* empty */ }
|
|
22348
22380
|
F.prototype.constructor = null;
|
|
22349
|
-
// eslint-disable-next-line es
|
|
22381
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
22350
22382
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
22351
22383
|
});
|
|
22352
22384
|
|
|
@@ -22356,7 +22388,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
22356
22388
|
|
|
22357
22389
|
// `Object.getPrototypeOf` method
|
|
22358
22390
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
22359
|
-
// eslint-disable-next-line es
|
|
22391
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
22360
22392
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
22361
22393
|
var object = toObject(O);
|
|
22362
22394
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -22382,13 +22414,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
22382
22414
|
// `Object.setPrototypeOf` method
|
|
22383
22415
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
22384
22416
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
22385
|
-
// eslint-disable-next-line es
|
|
22417
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
22386
22418
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
22387
22419
|
var CORRECT_SETTER = false;
|
|
22388
22420
|
var test = {};
|
|
22389
22421
|
var setter;
|
|
22390
22422
|
try {
|
|
22391
|
-
// eslint-disable-next-line es
|
|
22423
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22392
22424
|
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
22393
22425
|
setter(test, []);
|
|
22394
22426
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -22425,7 +22457,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
22425
22457
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
22426
22458
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
22427
22459
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
22428
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
22460
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
22429
22461
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
22430
22462
|
var NAME, Constructor, Prototype;
|
|
22431
22463
|
|