@thecb/components 10.1.1-beta.2 → 10.1.2-beta.1
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 -189
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +188 -189
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.js +5 -7
- package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +1 -4
- package/src/components/atoms/button-with-link/ButtonWithLink.js +1 -5
- package/src/components/atoms/icons/ShoppingCartIcon.js +20 -38
- package/src/components/atoms/icons/icons.stories.js +1 -3
- package/src/components/atoms/icons/index.d.ts +0 -1
- package/src/components/atoms/icons/index.js +1 -3
- package/src/components/atoms/jumbo/Jumbo.js +1 -5
- package/src/components/atoms/layouts/Box.styled.js +0 -15
- package/src/components/atoms/icons/MultiCartIcon.d.ts +0 -1
- package/src/components/atoms/icons/MultiCartIcon.js +0 -26
package/dist/index.cjs.js
CHANGED
|
@@ -6482,7 +6482,7 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6482
6482
|
}).withConfig({
|
|
6483
6483
|
displayName: "Boxstyled__BoxWrapper",
|
|
6484
6484
|
componentId: "sc-1f9ij0d-0"
|
|
6485
|
-
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}&
|
|
6485
|
+
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
|
|
6486
6486
|
var padding = _ref2.padding;
|
|
6487
6487
|
return padding;
|
|
6488
6488
|
}, function (_ref3) {
|
|
@@ -6537,17 +6537,13 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6537
6537
|
as = _ref17.as;
|
|
6538
6538
|
return styled.css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6539
6539
|
}, function (_ref18) {
|
|
6540
|
-
var
|
|
6541
|
-
as = _ref18.as;
|
|
6542
|
-
return styled.css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6543
|
-
}, function (_ref19) {
|
|
6544
|
-
var color = _ref19.color;
|
|
6540
|
+
var color = _ref18.color;
|
|
6545
6541
|
return color;
|
|
6546
|
-
}, function (
|
|
6547
|
-
var hiddenStyles =
|
|
6542
|
+
}, function (_ref19) {
|
|
6543
|
+
var hiddenStyles = _ref19.hiddenStyles;
|
|
6548
6544
|
return hiddenStyles && styled.css(["display:none;"]);
|
|
6549
|
-
}, function (
|
|
6550
|
-
var extraStyles =
|
|
6545
|
+
}, function (_ref20) {
|
|
6546
|
+
var extraStyles = _ref20.extraStyles;
|
|
6551
6547
|
return styled.css(["", ""], extraStyles);
|
|
6552
6548
|
});
|
|
6553
6549
|
/* eslint-enable no-unused-vars */
|
|
@@ -12888,7 +12884,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12888
12884
|
}))))));
|
|
12889
12885
|
};
|
|
12890
12886
|
|
|
12891
|
-
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "
|
|
12887
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
|
|
12892
12888
|
var rotate$1 = posed.div({
|
|
12893
12889
|
fixed: {
|
|
12894
12890
|
rotate: "0deg"
|
|
@@ -12951,8 +12947,6 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12951
12947
|
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12952
12948
|
_ref2$isLoading = _ref2.isLoading,
|
|
12953
12949
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12954
|
-
_ref2$disabled = _ref2.disabled,
|
|
12955
|
-
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
12956
12950
|
_ref2$loadingColor = _ref2.loadingColor,
|
|
12957
12951
|
loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
|
|
12958
12952
|
_ref2$dataQa = _ref2.dataQa,
|
|
@@ -12972,7 +12966,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12972
12966
|
var isMobile = themeContext.isMobile;
|
|
12973
12967
|
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
12974
12968
|
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12975
|
-
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n
|
|
12969
|
+
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ".concat(extraDisabledStyles, "\n ");
|
|
12976
12970
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
12977
12971
|
ref: ref,
|
|
12978
12972
|
variant: variant,
|
|
@@ -12981,12 +12975,11 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12981
12975
|
minWidth: themeValues.minWidth,
|
|
12982
12976
|
background: themeValues.backgroundColor,
|
|
12983
12977
|
border: themeValues.border,
|
|
12984
|
-
hoverStyles:
|
|
12985
|
-
activeStyles:
|
|
12978
|
+
hoverStyles: hoverStyles,
|
|
12979
|
+
activeStyles: activeStyles,
|
|
12986
12980
|
disabledStyles: disabledStyles,
|
|
12987
|
-
"aria-disabled": disabled,
|
|
12988
12981
|
as: "button",
|
|
12989
|
-
onClick: isLoading
|
|
12982
|
+
onClick: isLoading ? undefined : action,
|
|
12990
12983
|
borderRadius: "2px",
|
|
12991
12984
|
theme: themeContext,
|
|
12992
12985
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|
|
@@ -15285,37 +15278,24 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15285
15278
|
|
|
15286
15279
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15287
15280
|
|
|
15288
|
-
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15281
|
+
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15282
|
+
var _ref$iconFill = _ref.iconFill,
|
|
15283
|
+
iconFill = _ref$iconFill === void 0 ? "#FFFFFF" : _ref$iconFill,
|
|
15284
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
15285
|
+
iconWidth = _ref$iconWidth === void 0 ? "32" : _ref$iconWidth,
|
|
15286
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
15287
|
+
iconHeight = _ref$iconHeight === void 0 ? "32" : _ref$iconHeight,
|
|
15288
|
+
iconStyle = _ref.iconStyle;
|
|
15289
15289
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15290
|
-
width: "32px",
|
|
15291
|
-
height: "32px",
|
|
15292
|
-
viewBox: "0 0 32 32",
|
|
15293
|
-
version: "1.1",
|
|
15294
15290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
"in": "SourceGraphic",
|
|
15300
|
-
type: "matrix",
|
|
15301
|
-
values: "0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"
|
|
15302
|
-
}))), /*#__PURE__*/React__default.createElement("g", {
|
|
15303
|
-
id: "cart-badge-Icon---Cart-Empty",
|
|
15304
|
-
stroke: "none",
|
|
15305
|
-
strokeWidth: "1",
|
|
15306
|
-
fill: "none",
|
|
15307
|
-
fillRule: "evenodd"
|
|
15308
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15309
|
-
filter: "url(#cart-badge-filter-1)",
|
|
15310
|
-
id: "cart-badge-Group"
|
|
15311
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15312
|
-
transform: "translate(3.000000, 7.000000)"
|
|
15291
|
+
width: iconWidth,
|
|
15292
|
+
height: iconHeight,
|
|
15293
|
+
viewBox: "0 0 ".concat(iconWidth, " ").concat(iconHeight),
|
|
15294
|
+
style: iconStyle
|
|
15313
15295
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15314
|
-
d: "
|
|
15315
|
-
|
|
15316
|
-
|
|
15317
|
-
fillRule: "nonzero"
|
|
15318
|
-
})))));
|
|
15296
|
+
d: "M22.6875 13.4336C22.6016 13.6914 22.4727 13.9062 22.3008 14.0352C22.1289 14.207 21.9141 14.25 21.6992 14.25H9.10938L9.36719 15.625H20.9258C21.2266 15.625 21.4844 15.7539 21.6992 16.0117C21.8711 16.2695 21.957 16.5703 21.9141 16.8711L21.6562 17.9453C22.0859 18.1602 22.3867 18.4609 22.6445 18.8477C22.9023 19.2344 23.0312 19.6641 23.0312 20.0938C23.0312 20.7812 22.7734 21.3398 22.3008 21.8125C21.8281 22.2852 21.2695 22.5 20.625 22.5C19.9375 22.5 19.3789 22.2852 18.9062 21.8125C18.4336 21.3398 18.2188 20.7812 18.2188 20.0938C18.2188 19.4062 18.4336 18.8477 18.9492 18.375H9.92578C10.3984 18.8477 10.6562 19.4062 10.6562 20.0938C10.6562 20.7812 10.3984 21.3398 9.92578 21.8125C9.45312 22.2852 8.89453 22.5 8.25 22.5C7.5625 22.5 7.00391 22.2852 6.53125 21.8125C6.05859 21.3398 5.84375 20.7812 5.84375 20.0938C5.84375 19.6641 5.92969 19.2773 6.14453 18.8906C6.35938 18.5469 6.66016 18.2461 7.04688 17.9883L4.03906 3.25H1.03125C0.730469 3.25 0.472656 3.16406 0.300781 2.94922C0.0859375 2.77734 0 2.51953 0 2.21875V1.53125C0 1.27344 0.0859375 1.01562 0.300781 0.800781C0.472656 0.628906 0.730469 0.5 1.03125 0.5H5.45703C5.67188 0.5 5.88672 0.585938 6.05859 0.757812C6.23047 0.929688 6.35938 1.10156 6.44531 1.31641L6.83203 3.25H23.7188C24.0625 3.25 24.3203 3.37891 24.5352 3.63672C24.707 3.89453 24.793 4.19531 24.707 4.49609L22.6875 13.4336Z",
|
|
15297
|
+
fill: iconFill
|
|
15298
|
+
}));
|
|
15319
15299
|
};
|
|
15320
15300
|
|
|
15321
15301
|
var TrashIcon = function TrashIcon(_ref) {
|
|
@@ -18308,25 +18288,6 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18308
18288
|
}));
|
|
18309
18289
|
};
|
|
18310
18290
|
|
|
18311
|
-
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18312
|
-
var _ref$iconFill = _ref.iconFill,
|
|
18313
|
-
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18314
|
-
_ref$isMobile = _ref.isMobile,
|
|
18315
|
-
isMobile = _ref$isMobile === void 0 ? true : _ref$isMobile;
|
|
18316
|
-
var iconWidth = isMobile ? "20" : "25";
|
|
18317
|
-
var iconHeight = isMobile ? "17" : "23";
|
|
18318
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
18319
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18320
|
-
width: iconWidth,
|
|
18321
|
-
height: iconHeight,
|
|
18322
|
-
viewBox: "0 0 ".concat(iconWidth, " ").concat(iconHeight),
|
|
18323
|
-
fill: "none"
|
|
18324
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18325
|
-
d: isMobile ? "M17.5312 9.99414C17.4648 10.1934 17.3652 10.3594 17.2324 10.459C17.0996 10.5918 16.9336 10.625 16.7676 10.625H7.03906L7.23828 11.6875H16.1699C16.4023 11.6875 16.6016 11.7871 16.7676 11.9863C16.9004 12.1855 16.9668 12.418 16.9336 12.6504L16.7344 13.4805C17.0664 13.6465 17.2988 13.8789 17.498 14.1777C17.6973 14.4766 17.7969 14.8086 17.7969 15.1406C17.7969 15.6719 17.5977 16.1035 17.2324 16.4688C16.8672 16.834 16.4355 17 15.9375 17C15.4062 17 14.9746 16.834 14.6094 16.4688C14.2441 16.1035 14.0781 15.6719 14.0781 15.1406C14.0781 14.6094 14.2441 14.1777 14.6426 13.8125H7.66992C8.03516 14.1777 8.23438 14.6094 8.23438 15.1406C8.23438 15.6719 8.03516 16.1035 7.66992 16.4688C7.30469 16.834 6.87305 17 6.375 17C5.84375 17 5.41211 16.834 5.04688 16.4688C4.68164 16.1035 4.51562 15.6719 4.51562 15.1406C4.51562 14.8086 4.58203 14.5098 4.74805 14.2109C4.91406 13.9453 5.14648 13.7129 5.44531 13.5137L3.12109 2.125H0.796875C0.564453 2.125 0.365234 2.05859 0.232422 1.89258C0.0664062 1.75977 0 1.56055 0 1.32812V0.796875C0 0.597656 0.0664062 0.398438 0.232422 0.232422C0.365234 0.0996094 0.564453 0 0.796875 0H4.2168C4.38281 0 4.54883 0.0664062 4.68164 0.199219C4.81445 0.332031 4.91406 0.464844 4.98047 0.630859L5.2793 2.125H18.3281C18.5938 2.125 18.793 2.22461 18.959 2.42383C19.0918 2.62305 19.1582 2.85547 19.0918 3.08789L17.5312 9.99414Z" : "M22.6875 13.4336C22.6016 13.6914 22.4727 13.9062 22.3008 14.0352C22.1289 14.207 21.9141 14.25 21.6992 14.25H9.10938L9.36719 15.625H20.9258C21.2266 15.625 21.4844 15.7539 21.6992 16.0117C21.8711 16.2695 21.957 16.5703 21.9141 16.8711L21.6562 17.9453C22.0859 18.1602 22.3867 18.4609 22.6445 18.8477C22.9023 19.2344 23.0312 19.6641 23.0312 20.0938C23.0312 20.7812 22.7734 21.3398 22.3008 21.8125C21.8281 22.2852 21.2695 22.5 20.625 22.5C19.9375 22.5 19.3789 22.2852 18.9062 21.8125C18.4336 21.3398 18.2188 20.7812 18.2188 20.0938C18.2188 19.4062 18.4336 18.8477 18.9492 18.375H9.92578C10.3984 18.8477 10.6562 19.4062 10.6562 20.0938C10.6562 20.7812 10.3984 21.3398 9.92578 21.8125C9.45312 22.2852 8.89453 22.5 8.25 22.5C7.5625 22.5 7.00391 22.2852 6.53125 21.8125C6.05859 21.3398 5.84375 20.7812 5.84375 20.0938C5.84375 19.6641 5.92969 19.2773 6.14453 18.8906C6.35938 18.5469 6.66016 18.2461 7.04688 17.9883L4.03906 3.25H1.03125C0.730469 3.25 0.472656 3.16406 0.300781 2.94922C0.0859375 2.77734 0 2.51953 0 2.21875V1.53125C0 1.27344 0.0859375 1.01562 0.300781 0.800781C0.472656 0.628906 0.730469 0.5 1.03125 0.5H5.45703C5.67188 0.5 5.88672 0.585938 6.05859 0.757812C6.23047 0.929688 6.35938 1.10156 6.44531 1.31641L6.83203 3.25H23.7188C24.0625 3.25 24.3203 3.37891 24.5352 3.63672C24.707 3.89453 24.793 4.19531 24.707 4.49609L22.6875 13.4336Z",
|
|
18326
|
-
fill: iconFill
|
|
18327
|
-
}));
|
|
18328
|
-
};
|
|
18329
|
-
|
|
18330
18291
|
var color$2 = "#15749D";
|
|
18331
18292
|
var hoverColor$1 = "#116285";
|
|
18332
18293
|
var activeColor$1 = "#0E506D";
|
|
@@ -21835,7 +21796,6 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21835
21796
|
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
|
|
21836
21797
|
dataQa: dataQa
|
|
21837
21798
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, _extends({}, otherProps, {
|
|
21838
|
-
disabled: disabled,
|
|
21839
21799
|
extraStyles: extraStyles
|
|
21840
21800
|
})));
|
|
21841
21801
|
};
|
|
@@ -22522,17 +22482,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22522
22482
|
};
|
|
22523
22483
|
|
|
22524
22484
|
var check = function (it) {
|
|
22525
|
-
return it && it.Math
|
|
22485
|
+
return it && it.Math === Math && it;
|
|
22526
22486
|
};
|
|
22527
22487
|
|
|
22528
22488
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22529
22489
|
var global_1 =
|
|
22530
|
-
// eslint-disable-next-line es
|
|
22490
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22531
22491
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22532
22492
|
check(typeof window == 'object' && window) ||
|
|
22533
22493
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22534
22494
|
check(typeof self == 'object' && self) ||
|
|
22535
22495
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22496
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22536
22497
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22537
22498
|
(function () { return this; })() || Function('return this')();
|
|
22538
22499
|
|
|
@@ -22546,12 +22507,12 @@ var fails = function (exec) {
|
|
|
22546
22507
|
|
|
22547
22508
|
// Detect IE8's incomplete defineProperty implementation
|
|
22548
22509
|
var descriptors = !fails(function () {
|
|
22549
|
-
// eslint-disable-next-line es
|
|
22550
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22510
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22511
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22551
22512
|
});
|
|
22552
22513
|
|
|
22553
22514
|
var functionBindNative = !fails(function () {
|
|
22554
|
-
// eslint-disable-next-line es
|
|
22515
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22555
22516
|
var test = (function () { /* empty */ }).bind();
|
|
22556
22517
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22557
22518
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22564,7 +22525,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22564
22525
|
};
|
|
22565
22526
|
|
|
22566
22527
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22567
|
-
// eslint-disable-next-line es
|
|
22528
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22568
22529
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22569
22530
|
|
|
22570
22531
|
// Nashorn ~ JDK8 bug
|
|
@@ -22591,14 +22552,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22591
22552
|
};
|
|
22592
22553
|
|
|
22593
22554
|
var FunctionPrototype = Function.prototype;
|
|
22594
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22595
22555
|
var call$1 = FunctionPrototype.call;
|
|
22596
|
-
var
|
|
22556
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22597
22557
|
|
|
22598
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22599
|
-
return
|
|
22600
|
-
} : function (fn) {
|
|
22601
|
-
return fn && function () {
|
|
22558
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22559
|
+
return function () {
|
|
22602
22560
|
return call$1.apply(fn, arguments);
|
|
22603
22561
|
};
|
|
22604
22562
|
};
|
|
@@ -22619,15 +22577,21 @@ var indexedObject = fails(function () {
|
|
|
22619
22577
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22620
22578
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22621
22579
|
}) ? function (it) {
|
|
22622
|
-
return classofRaw(it)
|
|
22580
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22623
22581
|
} : $Object;
|
|
22624
22582
|
|
|
22583
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22584
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22585
|
+
var isNullOrUndefined = function (it) {
|
|
22586
|
+
return it === null || it === undefined;
|
|
22587
|
+
};
|
|
22588
|
+
|
|
22625
22589
|
var $TypeError = TypeError;
|
|
22626
22590
|
|
|
22627
22591
|
// `RequireObjectCoercible` abstract operation
|
|
22628
22592
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22629
22593
|
var requireObjectCoercible = function (it) {
|
|
22630
|
-
if (it
|
|
22594
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22631
22595
|
return it;
|
|
22632
22596
|
};
|
|
22633
22597
|
|
|
@@ -22639,13 +22603,32 @@ var toIndexedObject = function (it) {
|
|
|
22639
22603
|
return indexedObject(requireObjectCoercible(it));
|
|
22640
22604
|
};
|
|
22641
22605
|
|
|
22606
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22607
|
+
|
|
22608
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22609
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22610
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22611
|
+
|
|
22612
|
+
var documentAll_1 = {
|
|
22613
|
+
all: documentAll,
|
|
22614
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22615
|
+
};
|
|
22616
|
+
|
|
22617
|
+
var documentAll$1 = documentAll_1.all;
|
|
22618
|
+
|
|
22642
22619
|
// `IsCallable` abstract operation
|
|
22643
22620
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22644
|
-
var isCallable = function (argument) {
|
|
22621
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22622
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22623
|
+
} : function (argument) {
|
|
22645
22624
|
return typeof argument == 'function';
|
|
22646
22625
|
};
|
|
22647
22626
|
|
|
22648
|
-
var
|
|
22627
|
+
var documentAll$2 = documentAll_1.all;
|
|
22628
|
+
|
|
22629
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22630
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22631
|
+
} : function (it) {
|
|
22649
22632
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22650
22633
|
};
|
|
22651
22634
|
|
|
@@ -22659,7 +22642,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22659
22642
|
|
|
22660
22643
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22661
22644
|
|
|
22662
|
-
var engineUserAgent =
|
|
22645
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22663
22646
|
|
|
22664
22647
|
var process$1 = global_1.process;
|
|
22665
22648
|
var Deno = global_1.Deno;
|
|
@@ -22686,24 +22669,29 @@ if (!version && engineUserAgent) {
|
|
|
22686
22669
|
|
|
22687
22670
|
var engineV8Version = version;
|
|
22688
22671
|
|
|
22689
|
-
/* eslint-disable es
|
|
22672
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22673
|
+
|
|
22690
22674
|
|
|
22691
22675
|
|
|
22692
22676
|
|
|
22693
|
-
|
|
22694
|
-
|
|
22695
|
-
|
|
22677
|
+
var $String = global_1.String;
|
|
22678
|
+
|
|
22679
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22680
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22681
|
+
var symbol = Symbol('symbol detection');
|
|
22696
22682
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22697
22683
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22698
|
-
|
|
22684
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22685
|
+
// of course, fail.
|
|
22686
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22699
22687
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22700
22688
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22701
22689
|
});
|
|
22702
22690
|
|
|
22703
|
-
/* eslint-disable es
|
|
22691
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22704
22692
|
|
|
22705
22693
|
|
|
22706
|
-
var useSymbolAsUid =
|
|
22694
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22707
22695
|
&& !Symbol.sham
|
|
22708
22696
|
&& typeof Symbol.iterator == 'symbol';
|
|
22709
22697
|
|
|
@@ -22716,11 +22704,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22716
22704
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22717
22705
|
};
|
|
22718
22706
|
|
|
22719
|
-
var $String = String;
|
|
22707
|
+
var $String$1 = String;
|
|
22720
22708
|
|
|
22721
22709
|
var tryToString = function (argument) {
|
|
22722
22710
|
try {
|
|
22723
|
-
return $String(argument);
|
|
22711
|
+
return $String$1(argument);
|
|
22724
22712
|
} catch (error) {
|
|
22725
22713
|
return 'Object';
|
|
22726
22714
|
}
|
|
@@ -22731,14 +22719,14 @@ var $TypeError$1 = TypeError;
|
|
|
22731
22719
|
// `Assert: IsCallable(argument) is true`
|
|
22732
22720
|
var aCallable = function (argument) {
|
|
22733
22721
|
if (isCallable(argument)) return argument;
|
|
22734
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22722
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22735
22723
|
};
|
|
22736
22724
|
|
|
22737
22725
|
// `GetMethod` abstract operation
|
|
22738
22726
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22739
22727
|
var getMethod = function (V, P) {
|
|
22740
22728
|
var func = V[P];
|
|
22741
|
-
return func
|
|
22729
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22742
22730
|
};
|
|
22743
22731
|
|
|
22744
22732
|
var $TypeError$2 = TypeError;
|
|
@@ -22750,10 +22738,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22750
22738
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22751
22739
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22752
22740
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22753
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22741
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22754
22742
|
};
|
|
22755
22743
|
|
|
22756
|
-
// eslint-disable-next-line es
|
|
22744
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22757
22745
|
var defineProperty = Object.defineProperty;
|
|
22758
22746
|
|
|
22759
22747
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22770,13 +22758,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22770
22758
|
var sharedStore = store;
|
|
22771
22759
|
|
|
22772
22760
|
var shared = createCommonjsModule(function (module) {
|
|
22761
|
+
|
|
22762
|
+
|
|
22763
|
+
|
|
22773
22764
|
(module.exports = function (key, value) {
|
|
22774
22765
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22775
22766
|
})('versions', []).push({
|
|
22776
|
-
version: '3.
|
|
22767
|
+
version: '3.33.3',
|
|
22777
22768
|
mode: 'global',
|
|
22778
|
-
copyright: '© 2014-
|
|
22779
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22769
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22770
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
22780
22771
|
source: 'https://github.com/zloirock/core-js'
|
|
22781
22772
|
});
|
|
22782
22773
|
});
|
|
@@ -22793,7 +22784,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22793
22784
|
|
|
22794
22785
|
// `HasOwnProperty` abstract operation
|
|
22795
22786
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22796
|
-
// eslint-disable-next-line es
|
|
22787
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22797
22788
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22798
22789
|
return hasOwnProperty(toObject(it), key);
|
|
22799
22790
|
};
|
|
@@ -22806,21 +22797,15 @@ var uid = function (key) {
|
|
|
22806
22797
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22807
22798
|
};
|
|
22808
22799
|
|
|
22809
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22810
22800
|
var Symbol$1 = global_1.Symbol;
|
|
22811
|
-
var
|
|
22812
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22801
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22802
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22813
22803
|
|
|
22814
22804
|
var wellKnownSymbol = function (name) {
|
|
22815
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22816
|
-
|
|
22817
|
-
|
|
22818
|
-
|
|
22819
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22820
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22821
|
-
} else {
|
|
22822
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22823
|
-
}
|
|
22805
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22806
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22807
|
+
? Symbol$1[name]
|
|
22808
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22824
22809
|
} return WellKnownSymbolsStore[name];
|
|
22825
22810
|
};
|
|
22826
22811
|
|
|
@@ -22837,7 +22822,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22837
22822
|
if (pref === undefined) pref = 'default';
|
|
22838
22823
|
result = functionCall(exoticToPrim, input, pref);
|
|
22839
22824
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22840
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22825
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22841
22826
|
}
|
|
22842
22827
|
if (pref === undefined) pref = 'number';
|
|
22843
22828
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22860,13 +22845,13 @@ var documentCreateElement = function (it) {
|
|
|
22860
22845
|
|
|
22861
22846
|
// Thanks to IE8 for its funny defineProperty
|
|
22862
22847
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22863
|
-
// eslint-disable-next-line es
|
|
22848
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22864
22849
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22865
22850
|
get: function () { return 7; }
|
|
22866
|
-
}).a
|
|
22851
|
+
}).a !== 7;
|
|
22867
22852
|
});
|
|
22868
22853
|
|
|
22869
|
-
// eslint-disable-next-line es
|
|
22854
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22870
22855
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22871
22856
|
|
|
22872
22857
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22887,26 +22872,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22887
22872
|
// V8 ~ Chrome 36-
|
|
22888
22873
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22889
22874
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22890
|
-
// eslint-disable-next-line es
|
|
22875
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22891
22876
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22892
22877
|
value: 42,
|
|
22893
22878
|
writable: false
|
|
22894
|
-
}).prototype
|
|
22879
|
+
}).prototype !== 42;
|
|
22895
22880
|
});
|
|
22896
22881
|
|
|
22897
|
-
var $String$
|
|
22882
|
+
var $String$2 = String;
|
|
22898
22883
|
var $TypeError$4 = TypeError;
|
|
22899
22884
|
|
|
22900
22885
|
// `Assert: Type(argument) is Object`
|
|
22901
22886
|
var anObject = function (argument) {
|
|
22902
22887
|
if (isObject(argument)) return argument;
|
|
22903
|
-
throw $TypeError$4($String$
|
|
22888
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22904
22889
|
};
|
|
22905
22890
|
|
|
22906
22891
|
var $TypeError$5 = TypeError;
|
|
22907
|
-
// eslint-disable-next-line es
|
|
22892
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22908
22893
|
var $defineProperty = Object.defineProperty;
|
|
22909
|
-
// eslint-disable-next-line es
|
|
22894
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22910
22895
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22911
22896
|
var ENUMERABLE = 'enumerable';
|
|
22912
22897
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22936,7 +22921,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22936
22921
|
if (ie8DomDefine) try {
|
|
22937
22922
|
return $defineProperty(O, P, Attributes);
|
|
22938
22923
|
} catch (error) { /* empty */ }
|
|
22939
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22924
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22940
22925
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22941
22926
|
return O;
|
|
22942
22927
|
};
|
|
@@ -22953,7 +22938,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22953
22938
|
};
|
|
22954
22939
|
|
|
22955
22940
|
var FunctionPrototype$1 = Function.prototype;
|
|
22956
|
-
// eslint-disable-next-line es
|
|
22941
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22957
22942
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22958
22943
|
|
|
22959
22944
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22980,7 +22965,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22980
22965
|
|
|
22981
22966
|
var WeakMap$1 = global_1.WeakMap;
|
|
22982
22967
|
|
|
22983
|
-
var
|
|
22968
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22984
22969
|
|
|
22985
22970
|
var keys$1 = shared('keys');
|
|
22986
22971
|
|
|
@@ -23003,27 +22988,29 @@ var getterFor = function (TYPE) {
|
|
|
23003
22988
|
return function (it) {
|
|
23004
22989
|
var state;
|
|
23005
22990
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
23006
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22991
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
23007
22992
|
} return state;
|
|
23008
22993
|
};
|
|
23009
22994
|
};
|
|
23010
22995
|
|
|
23011
|
-
if (
|
|
22996
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
23012
22997
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
23013
|
-
|
|
23014
|
-
|
|
23015
|
-
|
|
22998
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22999
|
+
store$1.get = store$1.get;
|
|
23000
|
+
store$1.has = store$1.has;
|
|
23001
|
+
store$1.set = store$1.set;
|
|
23002
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
23016
23003
|
set = function (it, metadata) {
|
|
23017
|
-
if (
|
|
23004
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
23018
23005
|
metadata.facade = it;
|
|
23019
|
-
|
|
23006
|
+
store$1.set(it, metadata);
|
|
23020
23007
|
return metadata;
|
|
23021
23008
|
};
|
|
23022
23009
|
get = function (it) {
|
|
23023
|
-
return
|
|
23010
|
+
return store$1.get(it) || {};
|
|
23024
23011
|
};
|
|
23025
23012
|
has = function (it) {
|
|
23026
|
-
return
|
|
23013
|
+
return store$1.has(it);
|
|
23027
23014
|
};
|
|
23028
23015
|
} else {
|
|
23029
23016
|
var STATE = sharedKey('state');
|
|
@@ -23051,14 +23038,23 @@ var internalState = {
|
|
|
23051
23038
|
};
|
|
23052
23039
|
|
|
23053
23040
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
23041
|
+
|
|
23042
|
+
|
|
23043
|
+
|
|
23044
|
+
|
|
23045
|
+
|
|
23054
23046
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
23055
23047
|
|
|
23056
23048
|
|
|
23057
23049
|
|
|
23058
23050
|
var enforceInternalState = internalState.enforce;
|
|
23059
23051
|
var getInternalState = internalState.get;
|
|
23060
|
-
|
|
23052
|
+
var $String = String;
|
|
23053
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
23061
23054
|
var defineProperty = Object.defineProperty;
|
|
23055
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
23056
|
+
var replace = functionUncurryThis(''.replace);
|
|
23057
|
+
var join = functionUncurryThis([].join);
|
|
23062
23058
|
|
|
23063
23059
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
23064
23060
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -23067,8 +23063,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
23067
23063
|
var TEMPLATE = String(String).split('String');
|
|
23068
23064
|
|
|
23069
23065
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
23070
|
-
if (String(name)
|
|
23071
|
-
name = '[' + String(name)
|
|
23066
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23067
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
23072
23068
|
}
|
|
23073
23069
|
if (options && options.getter) name = 'get ' + name;
|
|
23074
23070
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -23087,7 +23083,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
23087
23083
|
} catch (error) { /* empty */ }
|
|
23088
23084
|
var state = enforceInternalState(value);
|
|
23089
23085
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
23090
|
-
state.source =
|
|
23086
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
23091
23087
|
} return value;
|
|
23092
23088
|
};
|
|
23093
23089
|
|
|
@@ -23126,7 +23122,7 @@ var floor = Math.floor;
|
|
|
23126
23122
|
|
|
23127
23123
|
// `Math.trunc` method
|
|
23128
23124
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23129
|
-
// eslint-disable-next-line es
|
|
23125
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23130
23126
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23131
23127
|
var n = +x;
|
|
23132
23128
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23174,10 +23170,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23174
23170
|
var value;
|
|
23175
23171
|
// Array#includes uses SameValueZero equality algorithm
|
|
23176
23172
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23177
|
-
if (IS_INCLUDES && el
|
|
23173
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23178
23174
|
value = O[index++];
|
|
23179
23175
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23180
|
-
if (value
|
|
23176
|
+
if (value !== value) return true;
|
|
23181
23177
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23182
23178
|
} else for (;length > index; index++) {
|
|
23183
23179
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23227,7 +23223,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23227
23223
|
|
|
23228
23224
|
// `Object.getOwnPropertyNames` method
|
|
23229
23225
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23230
|
-
// eslint-disable-next-line es
|
|
23226
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23231
23227
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23232
23228
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23233
23229
|
};
|
|
@@ -23236,7 +23232,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23236
23232
|
f: f$3
|
|
23237
23233
|
};
|
|
23238
23234
|
|
|
23239
|
-
// eslint-disable-next-line es
|
|
23235
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23240
23236
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23241
23237
|
|
|
23242
23238
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23268,8 +23264,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23268
23264
|
|
|
23269
23265
|
var isForced = function (feature, detection) {
|
|
23270
23266
|
var value = data[normalize(feature)];
|
|
23271
|
-
return value
|
|
23272
|
-
: value
|
|
23267
|
+
return value === POLYFILL ? true
|
|
23268
|
+
: value === NATIVE ? false
|
|
23273
23269
|
: isCallable(detection) ? fails(detection)
|
|
23274
23270
|
: !!detection;
|
|
23275
23271
|
};
|
|
@@ -23349,7 +23345,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23349
23345
|
var $Object$3 = Object;
|
|
23350
23346
|
|
|
23351
23347
|
// ES3 wrong here
|
|
23352
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23348
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23353
23349
|
|
|
23354
23350
|
// fallback for IE11 Script Access Denied error
|
|
23355
23351
|
var tryGet = function (it, key) {
|
|
@@ -23367,25 +23363,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23367
23363
|
// builtinTag case
|
|
23368
23364
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23369
23365
|
// ES3 arguments fallback
|
|
23370
|
-
: (result = classofRaw(O))
|
|
23366
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23371
23367
|
};
|
|
23372
23368
|
|
|
23373
|
-
var $String$
|
|
23369
|
+
var $String$3 = String;
|
|
23374
23370
|
|
|
23375
23371
|
var toString_1 = function (argument) {
|
|
23376
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23377
|
-
return $String$
|
|
23372
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23373
|
+
return $String$3(argument);
|
|
23378
23374
|
};
|
|
23379
23375
|
|
|
23380
23376
|
var charAt = functionUncurryThis(''.charAt);
|
|
23381
23377
|
|
|
23382
23378
|
var FORCED = fails(function () {
|
|
23383
|
-
// eslint-disable-next-line es
|
|
23379
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23384
23380
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23385
23381
|
});
|
|
23386
23382
|
|
|
23387
23383
|
// `String.prototype.at` method
|
|
23388
|
-
// https://
|
|
23384
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23389
23385
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23390
23386
|
at: function at(index) {
|
|
23391
23387
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23398,14 +23394,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23398
23394
|
|
|
23399
23395
|
// `Object.keys` method
|
|
23400
23396
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23401
|
-
// eslint-disable-next-line es
|
|
23397
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23402
23398
|
var objectKeys = Object.keys || function keys(O) {
|
|
23403
23399
|
return objectKeysInternal(O, enumBugKeys);
|
|
23404
23400
|
};
|
|
23405
23401
|
|
|
23406
23402
|
// `Object.defineProperties` method
|
|
23407
23403
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23408
|
-
// eslint-disable-next-line es
|
|
23404
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23409
23405
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23410
23406
|
anObject(O);
|
|
23411
23407
|
var props = toIndexedObject(Properties);
|
|
@@ -23494,7 +23490,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23494
23490
|
|
|
23495
23491
|
// `Object.create` method
|
|
23496
23492
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23497
|
-
// eslint-disable-next-line es
|
|
23493
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23498
23494
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23499
23495
|
var result;
|
|
23500
23496
|
if (O !== null) {
|
|
@@ -23514,7 +23510,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23514
23510
|
|
|
23515
23511
|
// Array.prototype[@@unscopables]
|
|
23516
23512
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23517
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23513
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23518
23514
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23519
23515
|
configurable: true,
|
|
23520
23516
|
value: objectCreate(null)
|
|
@@ -23527,7 +23523,7 @@ var addToUnscopables = function (key) {
|
|
|
23527
23523
|
};
|
|
23528
23524
|
|
|
23529
23525
|
// `Array.prototype.at` method
|
|
23530
|
-
// https://
|
|
23526
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23531
23527
|
_export({ target: 'Array', proto: true }, {
|
|
23532
23528
|
at: function at(index) {
|
|
23533
23529
|
var O = toObject(this);
|
|
@@ -23540,13 +23536,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23540
23536
|
|
|
23541
23537
|
addToUnscopables('at');
|
|
23542
23538
|
|
|
23543
|
-
// eslint-disable-next-line es
|
|
23544
|
-
var
|
|
23539
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23540
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23541
|
+
|
|
23542
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23543
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23544
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23545
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23546
|
+
};
|
|
23545
23547
|
|
|
23546
23548
|
var correctPrototypeGetter = !fails(function () {
|
|
23547
23549
|
function F() { /* empty */ }
|
|
23548
23550
|
F.prototype.constructor = null;
|
|
23549
|
-
// eslint-disable-next-line es
|
|
23551
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23550
23552
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23551
23553
|
});
|
|
23552
23554
|
|
|
@@ -23556,7 +23558,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23556
23558
|
|
|
23557
23559
|
// `Object.getPrototypeOf` method
|
|
23558
23560
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23559
|
-
// eslint-disable-next-line es
|
|
23561
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23560
23562
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23561
23563
|
var object = toObject(O);
|
|
23562
23564
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23566,12 +23568,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23566
23568
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23567
23569
|
};
|
|
23568
23570
|
|
|
23569
|
-
var
|
|
23571
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23572
|
+
try {
|
|
23573
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23574
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23575
|
+
} catch (error) { /* empty */ }
|
|
23576
|
+
};
|
|
23577
|
+
|
|
23578
|
+
var $String$4 = String;
|
|
23570
23579
|
var $TypeError$6 = TypeError;
|
|
23571
23580
|
|
|
23572
23581
|
var aPossiblePrototype = function (argument) {
|
|
23573
23582
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23574
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23583
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23575
23584
|
};
|
|
23576
23585
|
|
|
23577
23586
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23582,14 +23591,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23582
23591
|
// `Object.setPrototypeOf` method
|
|
23583
23592
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23584
23593
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23585
|
-
// eslint-disable-next-line es
|
|
23594
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23586
23595
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23587
23596
|
var CORRECT_SETTER = false;
|
|
23588
23597
|
var test = {};
|
|
23589
23598
|
var setter;
|
|
23590
23599
|
try {
|
|
23591
|
-
|
|
23592
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23600
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23593
23601
|
setter(test, []);
|
|
23594
23602
|
CORRECT_SETTER = test instanceof Array;
|
|
23595
23603
|
} catch (error) { /* empty */ }
|
|
@@ -23602,14 +23610,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23602
23610
|
};
|
|
23603
23611
|
}() : undefined);
|
|
23604
23612
|
|
|
23605
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23606
|
-
|
|
23607
|
-
|
|
23608
|
-
|
|
23609
|
-
|
|
23610
|
-
|
|
23611
|
-
|
|
23612
|
-
|
|
23613
23613
|
var enforceInternalState = internalState.enforce;
|
|
23614
23614
|
var getInternalState = internalState.get;
|
|
23615
23615
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23625,7 +23625,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23625
23625
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23626
23626
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23627
23627
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23628
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23628
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23629
23629
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23630
23630
|
var NAME, Constructor, Prototype;
|
|
23631
23631
|
|
|
@@ -23670,12 +23670,12 @@ var isTypedArray = function (it) {
|
|
|
23670
23670
|
|
|
23671
23671
|
var aTypedArray = function (it) {
|
|
23672
23672
|
if (isTypedArray(it)) return it;
|
|
23673
|
-
throw TypeError$2('Target is not a typed array');
|
|
23673
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23674
23674
|
};
|
|
23675
23675
|
|
|
23676
23676
|
var aTypedArrayConstructor = function (C) {
|
|
23677
23677
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23678
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23678
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23679
23679
|
};
|
|
23680
23680
|
|
|
23681
23681
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23739,7 +23739,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23739
23739
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23740
23740
|
// eslint-disable-next-line no-shadow -- safe
|
|
23741
23741
|
TypedArray = function TypedArray() {
|
|
23742
|
-
throw TypeError$2('Incorrect invocation');
|
|
23742
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23743
23743
|
};
|
|
23744
23744
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23745
23745
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23760,9 +23760,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23760
23760
|
|
|
23761
23761
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23762
23762
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23763
|
-
|
|
23764
|
-
|
|
23765
|
-
|
|
23763
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23764
|
+
configurable: true,
|
|
23765
|
+
get: function () {
|
|
23766
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23767
|
+
}
|
|
23768
|
+
});
|
|
23766
23769
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23767
23770
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23768
23771
|
}
|
|
@@ -23786,7 +23789,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23786
23789
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23787
23790
|
|
|
23788
23791
|
// `%TypedArray%.prototype.at` method
|
|
23789
|
-
// https://
|
|
23792
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23790
23793
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23791
23794
|
var O = aTypedArray$1(this);
|
|
23792
23795
|
var len = lengthOfArrayLike(O);
|
|
@@ -26722,9 +26725,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26722
26725
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
26723
26726
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
26724
26727
|
openCartSlider = _ref.openCartSlider,
|
|
26725
|
-
extraStyles = _ref.extraStyles
|
|
26726
|
-
cartStatusExtraStyles = _ref.cartStatusExtraStyles,
|
|
26727
|
-
cartStatusThemeValues = _ref.cartStatusThemeValues;
|
|
26728
|
+
extraStyles = _ref.extraStyles;
|
|
26728
26729
|
|
|
26729
26730
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26730
26731
|
isMobile = _useContext.isMobile;
|
|
@@ -26749,8 +26750,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26749
26750
|
minHeight: "100%",
|
|
26750
26751
|
justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
|
|
26751
26752
|
align: "center",
|
|
26752
|
-
nowrap: showCartStatus
|
|
26753
|
-
extraStyles: cartStatusExtraStyles
|
|
26753
|
+
nowrap: showCartStatus
|
|
26754
26754
|
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
26755
26755
|
variant: isMobile ? "small" : "large",
|
|
26756
26756
|
as: "h1",
|
|
@@ -26767,7 +26767,6 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26767
26767
|
variant: "primary",
|
|
26768
26768
|
extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
|
|
26769
26769
|
}), showCartStatus && /*#__PURE__*/React__default.createElement(CartStatus, {
|
|
26770
|
-
themeValues: cartStatusThemeValues,
|
|
26771
26770
|
total: total,
|
|
26772
26771
|
itemsCount: itemsCount,
|
|
26773
26772
|
openCart: openCartSlider
|
|
@@ -50141,7 +50140,6 @@ exports.LoginForm = LoginForm;
|
|
|
50141
50140
|
exports.Modal = Modal$1;
|
|
50142
50141
|
exports.Module = Module$1;
|
|
50143
50142
|
exports.Motion = Motion;
|
|
50144
|
-
exports.MultiCartIcon = MultiCartIcon;
|
|
50145
50143
|
exports.NavFooter = NavFooter;
|
|
50146
50144
|
exports.NavHeader = NavHeader;
|
|
50147
50145
|
exports.NavMenuDesktop = NavMenuDesktop$1;
|