@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.esm.js
CHANGED
|
@@ -5007,7 +5007,9 @@ var INFO_BLUE = "#E4F4FD";
|
|
|
5007
5007
|
var HOVER_LIGHT_BLUE = "#EFFAFF";
|
|
5008
5008
|
var MATISSE_BLUE = "#15749D";
|
|
5009
5009
|
var ROYAL_BLUE = "#3181E3";
|
|
5010
|
-
var ASTRAL_BLUE = "#3176AA";
|
|
5010
|
+
var ASTRAL_BLUE = "#3176AA";
|
|
5011
|
+
var SAPPHIRE_BLUE = "#116285";
|
|
5012
|
+
var PEACOCK_BLUE = "#0E506D"; // GREEN
|
|
5011
5013
|
|
|
5012
5014
|
var FOREST_GREEN = "#19b03F";
|
|
5013
5015
|
var MEADOW_GREEN = "#16C98D";
|
|
@@ -5030,6 +5032,7 @@ var RED = "#FF0000";
|
|
|
5030
5032
|
var CRIMSON_RED = "#ED1C24";
|
|
5031
5033
|
var THUNDERBIRD_RED = "#C3191F";
|
|
5032
5034
|
var RAZZMATAZZ_RED = "#D11053";
|
|
5035
|
+
var RASPBERRY = "#ED125F";
|
|
5033
5036
|
var FANTASY_RED = "#FCF4F4";
|
|
5034
5037
|
var COSMOS_RED = "#FFD0D3";
|
|
5035
5038
|
var BLUSH_RED = "#FFF0F5"; // Second level color constants
|
|
@@ -5114,6 +5117,8 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5114
5117
|
MATISSE_BLUE: MATISSE_BLUE,
|
|
5115
5118
|
ROYAL_BLUE: ROYAL_BLUE,
|
|
5116
5119
|
ASTRAL_BLUE: ASTRAL_BLUE,
|
|
5120
|
+
SAPPHIRE_BLUE: SAPPHIRE_BLUE,
|
|
5121
|
+
PEACOCK_BLUE: PEACOCK_BLUE,
|
|
5117
5122
|
FOREST_GREEN: FOREST_GREEN,
|
|
5118
5123
|
MEADOW_GREEN: MEADOW_GREEN,
|
|
5119
5124
|
POLAR_GREEN: POLAR_GREEN,
|
|
@@ -5135,6 +5140,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5135
5140
|
FANTASY_RED: FANTASY_RED,
|
|
5136
5141
|
COSMOS_RED: COSMOS_RED,
|
|
5137
5142
|
BLUSH_RED: BLUSH_RED,
|
|
5143
|
+
RASPBERRY: RASPBERRY,
|
|
5138
5144
|
ALERT_COLORS: ALERT_COLORS,
|
|
5139
5145
|
ERROR_COLOR: ERROR_COLOR
|
|
5140
5146
|
});
|
|
@@ -12535,10 +12541,6 @@ var Reel = function Reel(_ref) {
|
|
|
12535
12541
|
}), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
12536
12542
|
};
|
|
12537
12543
|
|
|
12538
|
-
/*
|
|
12539
|
-
For now I'm using string values, eventually shared components library will have its own constants file
|
|
12540
|
-
for colors/values that should be used here instead
|
|
12541
|
-
*/
|
|
12542
12544
|
var padding = {
|
|
12543
12545
|
primary: "0.75rem 1.5rem",
|
|
12544
12546
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12554,18 +12556,18 @@ var padding = {
|
|
|
12554
12556
|
whitePrimary: "1.125rem 0.75rem"
|
|
12555
12557
|
};
|
|
12556
12558
|
var color$1 = {
|
|
12557
|
-
primary:
|
|
12558
|
-
secondary:
|
|
12559
|
-
back:
|
|
12560
|
-
smallPrimary:
|
|
12561
|
-
smallSecondary:
|
|
12562
|
-
smallGhost:
|
|
12563
|
-
ghost:
|
|
12564
|
-
tertiary:
|
|
12565
|
-
danger:
|
|
12566
|
-
dangerSecondary:
|
|
12567
|
-
whiteSecondary:
|
|
12568
|
-
whitePrimary:
|
|
12559
|
+
primary: WHITE,
|
|
12560
|
+
secondary: MATISSE_BLUE,
|
|
12561
|
+
back: MATISSE_BLUE,
|
|
12562
|
+
smallPrimary: WHITE,
|
|
12563
|
+
smallSecondary: MATISSE_BLUE,
|
|
12564
|
+
smallGhost: MATISSE_BLUE,
|
|
12565
|
+
ghost: MATISSE_BLUE,
|
|
12566
|
+
tertiary: MATISSE_BLUE,
|
|
12567
|
+
danger: WHITE,
|
|
12568
|
+
dangerSecondary: ERROR_COLOR,
|
|
12569
|
+
whiteSecondary: WHITE,
|
|
12570
|
+
whitePrimary: WHITE
|
|
12569
12571
|
};
|
|
12570
12572
|
var fontSizeVariant = {
|
|
12571
12573
|
primary: "pS",
|
|
@@ -12624,116 +12626,116 @@ var minWidth = {
|
|
|
12624
12626
|
whitePrimary: "130px"
|
|
12625
12627
|
};
|
|
12626
12628
|
var backgroundColor = {
|
|
12627
|
-
primary:
|
|
12628
|
-
secondary:
|
|
12629
|
-
back:
|
|
12630
|
-
smallPrimary:
|
|
12631
|
-
smallSecondary:
|
|
12632
|
-
smallGhost:
|
|
12633
|
-
ghost:
|
|
12634
|
-
tertiary:
|
|
12635
|
-
danger:
|
|
12636
|
-
dangerSecondary:
|
|
12637
|
-
whiteSecondary:
|
|
12638
|
-
whitePrimary:
|
|
12629
|
+
primary: MATISSE_BLUE,
|
|
12630
|
+
secondary: TRANSPARENT,
|
|
12631
|
+
back: TRANSPARENT,
|
|
12632
|
+
smallPrimary: MATISSE_BLUE,
|
|
12633
|
+
smallSecondary: TRANSPARENT,
|
|
12634
|
+
smallGhost: TRANSPARENT,
|
|
12635
|
+
ghost: TRANSPARENT,
|
|
12636
|
+
tertiary: TRANSPARENT,
|
|
12637
|
+
danger: RASPBERRY,
|
|
12638
|
+
dangerSecondary: TRANSPARENT,
|
|
12639
|
+
whiteSecondary: TRANSPARENT,
|
|
12640
|
+
whitePrimary: TRANSPARENT
|
|
12639
12641
|
};
|
|
12640
12642
|
var border = {
|
|
12641
|
-
primary: "2px solid
|
|
12642
|
-
secondary: "2px solid
|
|
12643
|
-
back: "2px solid
|
|
12644
|
-
smallPrimary: "2px solid
|
|
12645
|
-
smallSecondary: "2px solid
|
|
12643
|
+
primary: "2px solid " + MATISSE_BLUE,
|
|
12644
|
+
secondary: "2px solid " + MATISSE_BLUE,
|
|
12645
|
+
back: "2px solid " + MATISSE_BLUE,
|
|
12646
|
+
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12647
|
+
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
12646
12648
|
smallGhost: "none",
|
|
12647
12649
|
ghost: "none",
|
|
12648
12650
|
tertiary: "none",
|
|
12649
|
-
danger: "2px solid
|
|
12650
|
-
dangerSecondary: "2px solid
|
|
12651
|
-
whiteSecondary: "2px solid
|
|
12652
|
-
whitePrimary: "2px solid
|
|
12651
|
+
danger: "2px solid " + RASPBERRY,
|
|
12652
|
+
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12653
|
+
whiteSecondary: "2px solid " + WHITE,
|
|
12654
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12653
12655
|
};
|
|
12654
12656
|
var hoverBackgroundColor = {
|
|
12655
|
-
primary:
|
|
12657
|
+
primary: SAPPHIRE_BLUE,
|
|
12656
12658
|
secondary: "#DBEAF0",
|
|
12657
|
-
back:
|
|
12658
|
-
smallPrimary:
|
|
12659
|
+
back: TRANSPARENT,
|
|
12660
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12659
12661
|
smallSecondary: "#DBEAF0",
|
|
12660
|
-
smallGhost:
|
|
12661
|
-
ghost:
|
|
12662
|
-
tertiary:
|
|
12662
|
+
smallGhost: TRANSPARENT,
|
|
12663
|
+
ghost: TRANSPARENT,
|
|
12664
|
+
tertiary: TRANSPARENT,
|
|
12663
12665
|
danger: "#BA002C",
|
|
12664
|
-
dangerSecondary: "
|
|
12665
|
-
whiteSecondary:
|
|
12666
|
-
whitePrimary:
|
|
12666
|
+
dangerSecondary: "#FAE7EE",
|
|
12667
|
+
whiteSecondary: TRANSPARENT,
|
|
12668
|
+
whitePrimary: TRANSPARENT
|
|
12667
12669
|
};
|
|
12668
12670
|
var hoverBorderColor = {
|
|
12669
|
-
primary:
|
|
12670
|
-
secondary:
|
|
12671
|
+
primary: SAPPHIRE_BLUE,
|
|
12672
|
+
secondary: MATISSE_BLUE,
|
|
12671
12673
|
back: "#DCEAF1",
|
|
12672
|
-
smallPrimary:
|
|
12673
|
-
smallSecondary:
|
|
12674
|
-
smallGhost:
|
|
12675
|
-
ghost:
|
|
12676
|
-
tertiary:
|
|
12674
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12675
|
+
smallSecondary: MATISSE_BLUE,
|
|
12676
|
+
smallGhost: TRANSPARENT,
|
|
12677
|
+
ghost: TRANSPARENT,
|
|
12678
|
+
tertiary: TRANSPARENT,
|
|
12677
12679
|
danger: "#BA002C",
|
|
12678
12680
|
dangerSecondary: "#B10541",
|
|
12679
|
-
whiteSecondary: "2px solid
|
|
12680
|
-
whitePrimary: "2px solid
|
|
12681
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12682
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12681
12683
|
};
|
|
12682
12684
|
var hoverColor = {
|
|
12683
|
-
primary:
|
|
12684
|
-
secondary:
|
|
12685
|
-
back:
|
|
12686
|
-
smallPrimary:
|
|
12687
|
-
smallSecondary:
|
|
12688
|
-
smallGhost:
|
|
12689
|
-
ghost:
|
|
12690
|
-
tertiary:
|
|
12691
|
-
danger:
|
|
12685
|
+
primary: WHITE,
|
|
12686
|
+
secondary: SAPPHIRE_BLUE,
|
|
12687
|
+
back: SAPPHIRE_BLUE,
|
|
12688
|
+
smallPrimary: WHITE,
|
|
12689
|
+
smallSecondary: SAPPHIRE_BLUE,
|
|
12690
|
+
smallGhost: SAPPHIRE_BLUE,
|
|
12691
|
+
ghost: SAPPHIRE_BLUE,
|
|
12692
|
+
tertiary: SAPPHIRE_BLUE,
|
|
12693
|
+
danger: WHITE,
|
|
12692
12694
|
dangerSecondary: "#B10541",
|
|
12693
|
-
whiteSecondary:
|
|
12694
|
-
whitePrimary:
|
|
12695
|
+
whiteSecondary: WHITE,
|
|
12696
|
+
whitePrimary: WHITE
|
|
12695
12697
|
};
|
|
12696
12698
|
var activeBackgroundColor = {
|
|
12697
|
-
primary:
|
|
12699
|
+
primary: PEACOCK_BLUE,
|
|
12698
12700
|
secondary: "#B8D5E1",
|
|
12699
|
-
back:
|
|
12700
|
-
smallPrimary:
|
|
12701
|
+
back: TRANSPARENT,
|
|
12702
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12701
12703
|
smallSecondary: "#B8D5E1",
|
|
12702
|
-
smallGhost:
|
|
12703
|
-
ghost:
|
|
12704
|
-
tertiary:
|
|
12704
|
+
smallGhost: TRANSPARENT,
|
|
12705
|
+
ghost: TRANSPARENT,
|
|
12706
|
+
tertiary: TRANSPARENT,
|
|
12705
12707
|
danger: "#870000",
|
|
12706
|
-
dangerSecondary: "
|
|
12707
|
-
whiteSecondary:
|
|
12708
|
-
whitePrimary:
|
|
12708
|
+
dangerSecondary: "#FAE7EE",
|
|
12709
|
+
whiteSecondary: TRANSPARENT,
|
|
12710
|
+
whitePrimary: TRANSPARENT
|
|
12709
12711
|
};
|
|
12710
12712
|
var activeBorderColor = {
|
|
12711
|
-
primary:
|
|
12712
|
-
secondary:
|
|
12713
|
-
back:
|
|
12714
|
-
smallPrimary:
|
|
12715
|
-
smallSecondary:
|
|
12716
|
-
smallGhost:
|
|
12717
|
-
ghost:
|
|
12718
|
-
tertiary:
|
|
12713
|
+
primary: PEACOCK_BLUE,
|
|
12714
|
+
secondary: MATISSE_BLUE,
|
|
12715
|
+
back: PEACOCK_BLUE,
|
|
12716
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12717
|
+
smallSecondary: MATISSE_BLUE,
|
|
12718
|
+
smallGhost: TRANSPARENT,
|
|
12719
|
+
ghost: TRANSPARENT,
|
|
12720
|
+
tertiary: TRANSPARENT,
|
|
12719
12721
|
danger: "#870000",
|
|
12720
12722
|
dangerSecondary: "#910029",
|
|
12721
|
-
whiteSecondary: "2px solid
|
|
12722
|
-
whitePrimary: "2px solid
|
|
12723
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12724
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12723
12725
|
};
|
|
12724
12726
|
var activeColor = {
|
|
12725
|
-
primary:
|
|
12726
|
-
secondary:
|
|
12727
|
-
back:
|
|
12728
|
-
smallPrimary:
|
|
12729
|
-
smallSecondary:
|
|
12730
|
-
smallGhost:
|
|
12731
|
-
ghost:
|
|
12732
|
-
tertiary:
|
|
12733
|
-
danger:
|
|
12727
|
+
primary: WHITE,
|
|
12728
|
+
secondary: MATISSE_BLUE,
|
|
12729
|
+
back: PEACOCK_BLUE,
|
|
12730
|
+
smallPrimary: WHITE,
|
|
12731
|
+
smallSecondary: PEACOCK_BLUE,
|
|
12732
|
+
smallGhost: PEACOCK_BLUE,
|
|
12733
|
+
ghost: PEACOCK_BLUE,
|
|
12734
|
+
tertiary: PEACOCK_BLUE,
|
|
12735
|
+
danger: WHITE,
|
|
12734
12736
|
dangerSecondary: "#910029",
|
|
12735
|
-
whiteSecondary:
|
|
12736
|
-
whitePrimary:
|
|
12737
|
+
whiteSecondary: WHITE,
|
|
12738
|
+
whitePrimary: WHITE
|
|
12737
12739
|
};
|
|
12738
12740
|
var fallbackValues$1 = {
|
|
12739
12741
|
padding: padding,
|
|
@@ -21319,7 +21321,7 @@ var check = function (it) {
|
|
|
21319
21321
|
|
|
21320
21322
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
21321
21323
|
var global_1 =
|
|
21322
|
-
// eslint-disable-next-line es
|
|
21324
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
21323
21325
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
21324
21326
|
check(typeof window == 'object' && window) ||
|
|
21325
21327
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -21338,12 +21340,12 @@ var fails = function (exec) {
|
|
|
21338
21340
|
|
|
21339
21341
|
// Detect IE8's incomplete defineProperty implementation
|
|
21340
21342
|
var descriptors = !fails(function () {
|
|
21341
|
-
// eslint-disable-next-line es
|
|
21343
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
21342
21344
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
21343
21345
|
});
|
|
21344
21346
|
|
|
21345
21347
|
var functionBindNative = !fails(function () {
|
|
21346
|
-
// eslint-disable-next-line es
|
|
21348
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
21347
21349
|
var test = (function () { /* empty */ }).bind();
|
|
21348
21350
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
21349
21351
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -21356,7 +21358,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
21356
21358
|
};
|
|
21357
21359
|
|
|
21358
21360
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
21359
|
-
// eslint-disable-next-line es
|
|
21361
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21360
21362
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
21361
21363
|
|
|
21362
21364
|
// Nashorn ~ JDK8 bug
|
|
@@ -21383,25 +21385,29 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
21383
21385
|
};
|
|
21384
21386
|
|
|
21385
21387
|
var FunctionPrototype = Function.prototype;
|
|
21386
|
-
var bind$1 = FunctionPrototype.bind;
|
|
21387
21388
|
var call$1 = FunctionPrototype.call;
|
|
21388
|
-
var
|
|
21389
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
21389
21390
|
|
|
21390
|
-
var
|
|
21391
|
-
return
|
|
21392
|
-
} : function (fn) {
|
|
21393
|
-
return fn && function () {
|
|
21391
|
+
var functionUncurryThisRaw = function (fn) {
|
|
21392
|
+
return functionBindNative ? uncurryThisWithBind(fn) : function () {
|
|
21394
21393
|
return call$1.apply(fn, arguments);
|
|
21395
21394
|
};
|
|
21396
21395
|
};
|
|
21397
21396
|
|
|
21398
|
-
var toString$2 =
|
|
21399
|
-
var stringSlice =
|
|
21397
|
+
var toString$2 = functionUncurryThisRaw({}.toString);
|
|
21398
|
+
var stringSlice = functionUncurryThisRaw(''.slice);
|
|
21400
21399
|
|
|
21401
21400
|
var classofRaw = function (it) {
|
|
21402
21401
|
return stringSlice(toString$2(it), 8, -1);
|
|
21403
21402
|
};
|
|
21404
21403
|
|
|
21404
|
+
var functionUncurryThis = function (fn) {
|
|
21405
|
+
// Nashorn bug:
|
|
21406
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
21407
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
21408
|
+
if (classofRaw(fn) === 'Function') return functionUncurryThisRaw(fn);
|
|
21409
|
+
};
|
|
21410
|
+
|
|
21405
21411
|
var $Object = Object;
|
|
21406
21412
|
var split = functionUncurryThis(''.split);
|
|
21407
21413
|
|
|
@@ -21414,12 +21420,18 @@ var indexedObject = fails(function () {
|
|
|
21414
21420
|
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
21415
21421
|
} : $Object;
|
|
21416
21422
|
|
|
21423
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
21424
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
21425
|
+
var isNullOrUndefined = function (it) {
|
|
21426
|
+
return it === null || it === undefined;
|
|
21427
|
+
};
|
|
21428
|
+
|
|
21417
21429
|
var $TypeError = TypeError;
|
|
21418
21430
|
|
|
21419
21431
|
// `RequireObjectCoercible` abstract operation
|
|
21420
21432
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
21421
21433
|
var requireObjectCoercible = function (it) {
|
|
21422
|
-
if (it
|
|
21434
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
21423
21435
|
return it;
|
|
21424
21436
|
};
|
|
21425
21437
|
|
|
@@ -21431,13 +21443,31 @@ var toIndexedObject = function (it) {
|
|
|
21431
21443
|
return indexedObject(requireObjectCoercible(it));
|
|
21432
21444
|
};
|
|
21433
21445
|
|
|
21446
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
21447
|
+
|
|
21448
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
21449
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
21450
|
+
|
|
21451
|
+
var documentAll_1 = {
|
|
21452
|
+
all: documentAll,
|
|
21453
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
21454
|
+
};
|
|
21455
|
+
|
|
21456
|
+
var documentAll$1 = documentAll_1.all;
|
|
21457
|
+
|
|
21434
21458
|
// `IsCallable` abstract operation
|
|
21435
21459
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
21436
|
-
var isCallable = function (argument) {
|
|
21460
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
21461
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
21462
|
+
} : function (argument) {
|
|
21437
21463
|
return typeof argument == 'function';
|
|
21438
21464
|
};
|
|
21439
21465
|
|
|
21440
|
-
var
|
|
21466
|
+
var documentAll$2 = documentAll_1.all;
|
|
21467
|
+
|
|
21468
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
21469
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
21470
|
+
} : function (it) {
|
|
21441
21471
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
21442
21472
|
};
|
|
21443
21473
|
|
|
@@ -21478,12 +21508,12 @@ if (!version && engineUserAgent) {
|
|
|
21478
21508
|
|
|
21479
21509
|
var engineV8Version = version;
|
|
21480
21510
|
|
|
21481
|
-
/* eslint-disable es
|
|
21511
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
21482
21512
|
|
|
21483
21513
|
|
|
21484
21514
|
|
|
21485
|
-
// eslint-disable-next-line es
|
|
21486
|
-
var
|
|
21515
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
21516
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
21487
21517
|
var symbol = Symbol();
|
|
21488
21518
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
21489
21519
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -21492,10 +21522,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
21492
21522
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
21493
21523
|
});
|
|
21494
21524
|
|
|
21495
|
-
/* eslint-disable es
|
|
21525
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
21496
21526
|
|
|
21497
21527
|
|
|
21498
|
-
var useSymbolAsUid =
|
|
21528
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
21499
21529
|
&& !Symbol.sham
|
|
21500
21530
|
&& typeof Symbol.iterator == 'symbol';
|
|
21501
21531
|
|
|
@@ -21530,7 +21560,7 @@ var aCallable = function (argument) {
|
|
|
21530
21560
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
21531
21561
|
var getMethod = function (V, P) {
|
|
21532
21562
|
var func = V[P];
|
|
21533
|
-
return func
|
|
21563
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
21534
21564
|
};
|
|
21535
21565
|
|
|
21536
21566
|
var $TypeError$2 = TypeError;
|
|
@@ -21545,7 +21575,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
21545
21575
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
21546
21576
|
};
|
|
21547
21577
|
|
|
21548
|
-
// eslint-disable-next-line es
|
|
21578
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
21549
21579
|
var defineProperty = Object.defineProperty;
|
|
21550
21580
|
|
|
21551
21581
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -21565,10 +21595,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
21565
21595
|
(module.exports = function (key, value) {
|
|
21566
21596
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
21567
21597
|
})('versions', []).push({
|
|
21568
|
-
version: '3.
|
|
21598
|
+
version: '3.25.5',
|
|
21569
21599
|
mode: 'global',
|
|
21570
21600
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
21571
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
21601
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
|
21572
21602
|
source: 'https://github.com/zloirock/core-js'
|
|
21573
21603
|
});
|
|
21574
21604
|
});
|
|
@@ -21585,7 +21615,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
21585
21615
|
|
|
21586
21616
|
// `HasOwnProperty` abstract operation
|
|
21587
21617
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
21588
|
-
// eslint-disable-next-line es
|
|
21618
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
21589
21619
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
21590
21620
|
return hasOwnProperty(toObject(it), key);
|
|
21591
21621
|
};
|
|
@@ -21604,9 +21634,9 @@ var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
|
21604
21634
|
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
21605
21635
|
|
|
21606
21636
|
var wellKnownSymbol = function (name) {
|
|
21607
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(
|
|
21637
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(symbolConstructorDetection || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
21608
21638
|
var description = 'Symbol.' + name;
|
|
21609
|
-
if (
|
|
21639
|
+
if (symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)) {
|
|
21610
21640
|
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
21611
21641
|
} else if (useSymbolAsUid && symbolFor) {
|
|
21612
21642
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
@@ -21652,13 +21682,13 @@ var documentCreateElement = function (it) {
|
|
|
21652
21682
|
|
|
21653
21683
|
// Thanks to IE8 for its funny defineProperty
|
|
21654
21684
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
21655
|
-
// eslint-disable-next-line es
|
|
21685
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
21656
21686
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
21657
21687
|
get: function () { return 7; }
|
|
21658
21688
|
}).a != 7;
|
|
21659
21689
|
});
|
|
21660
21690
|
|
|
21661
|
-
// eslint-disable-next-line es
|
|
21691
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21662
21692
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
21663
21693
|
|
|
21664
21694
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -21679,7 +21709,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
21679
21709
|
// V8 ~ Chrome 36-
|
|
21680
21710
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
21681
21711
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
21682
|
-
// eslint-disable-next-line es
|
|
21712
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
21683
21713
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
21684
21714
|
value: 42,
|
|
21685
21715
|
writable: false
|
|
@@ -21696,9 +21726,9 @@ var anObject = function (argument) {
|
|
|
21696
21726
|
};
|
|
21697
21727
|
|
|
21698
21728
|
var $TypeError$5 = TypeError;
|
|
21699
|
-
// eslint-disable-next-line es
|
|
21729
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
21700
21730
|
var $defineProperty = Object.defineProperty;
|
|
21701
|
-
// eslint-disable-next-line es
|
|
21731
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21702
21732
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
21703
21733
|
var ENUMERABLE = 'enumerable';
|
|
21704
21734
|
var CONFIGURABLE = 'configurable';
|
|
@@ -21745,7 +21775,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
21745
21775
|
};
|
|
21746
21776
|
|
|
21747
21777
|
var FunctionPrototype$1 = Function.prototype;
|
|
21748
|
-
// eslint-disable-next-line es
|
|
21778
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
21749
21779
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
21750
21780
|
|
|
21751
21781
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -21772,7 +21802,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
21772
21802
|
|
|
21773
21803
|
var WeakMap$1 = global_1.WeakMap;
|
|
21774
21804
|
|
|
21775
|
-
var
|
|
21805
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
21776
21806
|
|
|
21777
21807
|
var keys$1 = shared('keys');
|
|
21778
21808
|
|
|
@@ -21800,28 +21830,30 @@ var getterFor = function (TYPE) {
|
|
|
21800
21830
|
};
|
|
21801
21831
|
};
|
|
21802
21832
|
|
|
21803
|
-
if (
|
|
21833
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
21804
21834
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21835
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
21836
|
+
store$1.get = store$1.get;
|
|
21837
|
+
store$1.has = store$1.has;
|
|
21838
|
+
store$1.set = store$1.set;
|
|
21839
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
21808
21840
|
set = function (it, metadata) {
|
|
21809
|
-
if (
|
|
21841
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
21810
21842
|
metadata.facade = it;
|
|
21811
|
-
|
|
21843
|
+
store$1.set(it, metadata);
|
|
21812
21844
|
return metadata;
|
|
21813
21845
|
};
|
|
21814
21846
|
get = function (it) {
|
|
21815
|
-
return
|
|
21847
|
+
return store$1.get(it) || {};
|
|
21816
21848
|
};
|
|
21817
21849
|
has = function (it) {
|
|
21818
|
-
return
|
|
21850
|
+
return store$1.has(it);
|
|
21819
21851
|
};
|
|
21820
21852
|
} else {
|
|
21821
21853
|
var STATE = sharedKey('state');
|
|
21822
21854
|
hiddenKeys[STATE] = true;
|
|
21823
21855
|
set = function (it, metadata) {
|
|
21824
|
-
if (hasOwnProperty_1(it, STATE)) throw
|
|
21856
|
+
if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
21825
21857
|
metadata.facade = it;
|
|
21826
21858
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
21827
21859
|
return metadata;
|
|
@@ -21849,7 +21881,7 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
|
21849
21881
|
|
|
21850
21882
|
var enforceInternalState = internalState.enforce;
|
|
21851
21883
|
var getInternalState = internalState.get;
|
|
21852
|
-
// eslint-disable-next-line es
|
|
21884
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
21853
21885
|
var defineProperty = Object.defineProperty;
|
|
21854
21886
|
|
|
21855
21887
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
@@ -21918,7 +21950,7 @@ var floor = Math.floor;
|
|
|
21918
21950
|
|
|
21919
21951
|
// `Math.trunc` method
|
|
21920
21952
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
21921
|
-
// eslint-disable-next-line es
|
|
21953
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
21922
21954
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
21923
21955
|
var n = +x;
|
|
21924
21956
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -22019,7 +22051,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
22019
22051
|
|
|
22020
22052
|
// `Object.getOwnPropertyNames` method
|
|
22021
22053
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
22022
|
-
// eslint-disable-next-line es
|
|
22054
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
22023
22055
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
22024
22056
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
22025
22057
|
};
|
|
@@ -22028,7 +22060,7 @@ var objectGetOwnPropertyNames = {
|
|
|
22028
22060
|
f: f$3
|
|
22029
22061
|
};
|
|
22030
22062
|
|
|
22031
|
-
// eslint-disable-next-line es
|
|
22063
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
22032
22064
|
var f$4 = Object.getOwnPropertySymbols;
|
|
22033
22065
|
|
|
22034
22066
|
var objectGetOwnPropertySymbols = {
|
|
@@ -22172,7 +22204,7 @@ var toString_1 = function (argument) {
|
|
|
22172
22204
|
var charAt = functionUncurryThis(''.charAt);
|
|
22173
22205
|
|
|
22174
22206
|
var FORCED = fails(function () {
|
|
22175
|
-
// eslint-disable-next-line es
|
|
22207
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
22176
22208
|
return '𠮷'.at(-2) !== '\uD842';
|
|
22177
22209
|
});
|
|
22178
22210
|
|
|
@@ -22190,14 +22222,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
22190
22222
|
|
|
22191
22223
|
// `Object.keys` method
|
|
22192
22224
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
22193
|
-
// eslint-disable-next-line es
|
|
22225
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
22194
22226
|
var objectKeys = Object.keys || function keys(O) {
|
|
22195
22227
|
return objectKeysInternal(O, enumBugKeys);
|
|
22196
22228
|
};
|
|
22197
22229
|
|
|
22198
22230
|
// `Object.defineProperties` method
|
|
22199
22231
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
22200
|
-
// eslint-disable-next-line es
|
|
22232
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
22201
22233
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
22202
22234
|
anObject(O);
|
|
22203
22235
|
var props = toIndexedObject(Properties);
|
|
@@ -22286,7 +22318,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
22286
22318
|
|
|
22287
22319
|
// `Object.create` method
|
|
22288
22320
|
// https://tc39.es/ecma262/#sec-object.create
|
|
22289
|
-
// eslint-disable-next-line es
|
|
22321
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
22290
22322
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
22291
22323
|
var result;
|
|
22292
22324
|
if (O !== null) {
|
|
@@ -22332,13 +22364,13 @@ _export({ target: 'Array', proto: true }, {
|
|
|
22332
22364
|
|
|
22333
22365
|
addToUnscopables('at');
|
|
22334
22366
|
|
|
22335
|
-
// eslint-disable-next-line es
|
|
22336
|
-
var
|
|
22367
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
22368
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
22337
22369
|
|
|
22338
22370
|
var correctPrototypeGetter = !fails(function () {
|
|
22339
22371
|
function F() { /* empty */ }
|
|
22340
22372
|
F.prototype.constructor = null;
|
|
22341
|
-
// eslint-disable-next-line es
|
|
22373
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
22342
22374
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
22343
22375
|
});
|
|
22344
22376
|
|
|
@@ -22348,7 +22380,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
22348
22380
|
|
|
22349
22381
|
// `Object.getPrototypeOf` method
|
|
22350
22382
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
22351
|
-
// eslint-disable-next-line es
|
|
22383
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
22352
22384
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
22353
22385
|
var object = toObject(O);
|
|
22354
22386
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -22374,13 +22406,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
22374
22406
|
// `Object.setPrototypeOf` method
|
|
22375
22407
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
22376
22408
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
22377
|
-
// eslint-disable-next-line es
|
|
22409
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
22378
22410
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
22379
22411
|
var CORRECT_SETTER = false;
|
|
22380
22412
|
var test = {};
|
|
22381
22413
|
var setter;
|
|
22382
22414
|
try {
|
|
22383
|
-
// eslint-disable-next-line es
|
|
22415
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22384
22416
|
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
22385
22417
|
setter(test, []);
|
|
22386
22418
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -22417,7 +22449,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
22417
22449
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
22418
22450
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
22419
22451
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
22420
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
22452
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
22421
22453
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
22422
22454
|
var NAME, Constructor, Prototype;
|
|
22423
22455
|
|