billboard.js 3.9.2 → 3.10.0-next.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/README.md +2 -2
- package/dist/billboard.css +2 -2
- package/dist/billboard.js +2705 -2529
- package/dist/billboard.min.css +2 -2
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +3516 -3329
- package/dist/billboard.pkgd.min.js +4 -4
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +15 -15
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +215 -196
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +244 -239
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +184 -164
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +170 -151
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/{billboardjs-plugin-bubblecompare.js → billboardjs-plugin-bubblecompare.pkgd.js} +667 -642
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-sparkline.js → billboardjs-plugin-sparkline.pkgd.js} +864 -820
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-stanford.js → billboardjs-plugin-stanford.pkgd.js} +929 -900
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-tableview.js → billboardjs-plugin-tableview.pkgd.js} +833 -788
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-textoverlap.js → billboardjs-plugin-textoverlap.pkgd.js} +932 -897
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +12 -0
- package/dist/theme/dark.css +5 -4
- package/dist/theme/dark.min.css +2 -2
- package/dist/theme/datalab.css +5 -4
- package/dist/theme/datalab.min.css +2 -2
- package/dist/theme/graph.css +5 -4
- package/dist/theme/graph.min.css +2 -2
- package/dist/theme/insight.css +5 -4
- package/dist/theme/insight.min.css +2 -2
- package/dist-esm/billboard.js +605 -468
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +3 -3
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +13 -7
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +21 -28
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +17 -11
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +13 -7
- package/package.json +31 -31
- package/src/Chart/api/axis.ts +4 -0
- package/src/Chart/api/category.ts +8 -4
- package/src/Chart/api/export.ts +1 -2
- package/src/Chart/api/subchart.ts +162 -89
- package/src/Chart/api/zoom.ts +69 -79
- package/src/ChartInternal/Axis/AxisRendererHelper.ts +0 -8
- package/src/ChartInternal/data/IData.ts +4 -1
- package/src/ChartInternal/data/convert.helper.ts +1 -15
- package/src/ChartInternal/data/data.ts +8 -2
- package/src/ChartInternal/interactions/eventrect.ts +0 -1
- package/src/ChartInternal/interactions/flow.ts +1 -7
- package/src/ChartInternal/interactions/interaction.ts +10 -4
- package/src/ChartInternal/interactions/subchart.ts +36 -30
- package/src/ChartInternal/interactions/zoom.ts +13 -3
- package/src/ChartInternal/internals/category.ts +2 -2
- package/src/ChartInternal/internals/clip.ts +4 -4
- package/src/ChartInternal/internals/domain.ts +46 -10
- package/src/ChartInternal/internals/grid.ts +57 -86
- package/src/ChartInternal/internals/redraw.ts +0 -5
- package/src/ChartInternal/internals/region.ts +35 -12
- package/src/ChartInternal/internals/text.ts +1 -26
- package/src/ChartInternal/internals/title.ts +10 -48
- package/src/ChartInternal/internals/tooltip.ts +47 -51
- package/src/ChartInternal/shape/arc.ts +16 -6
- package/src/ChartInternal/shape/candlestick.ts +2 -17
- package/src/ChartInternal/shape/shape.ts +50 -4
- package/src/ChartInternal/shape/treemap.ts +2 -2
- package/src/Plugin/bubblecompare/index.ts +1 -1
- package/src/Plugin/stanford/Elements.ts +10 -2
- package/src/Plugin/stanford/index.ts +1 -24
- package/src/Plugin/tableview/index.ts +2 -2
- package/src/config/Options/axis/x.ts +1 -0
- package/src/config/Options/common/main.ts +12 -2
- package/src/config/Options/common/tooltip.ts +10 -10
- package/src/config/Options/data/axis.ts +3 -1
- package/src/config/Options/data/data.ts +10 -2
- package/src/config/Store/State.ts +3 -0
- package/src/module/Cache.ts +7 -5
- package/src/module/browser.ts +34 -14
- package/src/module/util.ts +8 -4
- package/src/module/worker.ts +24 -13
- package/src/scss/billboard.scss +4 -2
- package/src/scss/theme/dark.scss +4 -2
- package/src/scss/theme/datalab.scss +4 -2
- package/src/scss/theme/graph.scss +4 -2
- package/src/scss/theme/insight.scss +4 -2
- package/types/chart.d.ts +11 -0
- package/types/options.d.ts +3 -3
- package/types/types.d.ts +15 -1
package/dist/plugin/pkgd/{billboardjs-plugin-sparkline.js → billboardjs-plugin-sparkline.pkgd.js}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.
|
|
8
|
+
* @version 3.10.0-next.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
else if(typeof exports === 'object')
|
|
18
18
|
exports["bb"] = factory();
|
|
19
19
|
else
|
|
20
|
-
root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["sparkline"] = factory();
|
|
20
|
+
root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["sparkline.pkgd"] = factory();
|
|
21
21
|
})(this, function() {
|
|
22
22
|
return /******/ (function() { // webpackBootstrap
|
|
23
23
|
/******/ var __webpack_modules__ = ([
|
|
@@ -84,29 +84,29 @@ __webpack_require__(203);
|
|
|
84
84
|
__webpack_require__(204);
|
|
85
85
|
__webpack_require__(205);
|
|
86
86
|
__webpack_require__(207);
|
|
87
|
-
__webpack_require__(
|
|
88
|
-
__webpack_require__(
|
|
89
|
-
__webpack_require__(
|
|
90
|
-
__webpack_require__(221);
|
|
87
|
+
__webpack_require__(215);
|
|
88
|
+
__webpack_require__(217);
|
|
89
|
+
__webpack_require__(220);
|
|
91
90
|
__webpack_require__(222);
|
|
92
91
|
__webpack_require__(223);
|
|
93
92
|
__webpack_require__(224);
|
|
94
93
|
__webpack_require__(225);
|
|
95
|
-
__webpack_require__(
|
|
94
|
+
__webpack_require__(226);
|
|
96
95
|
__webpack_require__(230);
|
|
97
|
-
__webpack_require__(
|
|
96
|
+
__webpack_require__(231);
|
|
98
97
|
__webpack_require__(233);
|
|
99
98
|
__webpack_require__(234);
|
|
100
|
-
__webpack_require__(
|
|
99
|
+
__webpack_require__(235);
|
|
101
100
|
__webpack_require__(237);
|
|
102
101
|
__webpack_require__(238);
|
|
103
|
-
__webpack_require__(95);
|
|
104
102
|
__webpack_require__(239);
|
|
103
|
+
__webpack_require__(95);
|
|
105
104
|
__webpack_require__(240);
|
|
106
|
-
__webpack_require__(
|
|
107
|
-
__webpack_require__(
|
|
105
|
+
__webpack_require__(241);
|
|
106
|
+
__webpack_require__(249);
|
|
108
107
|
__webpack_require__(251);
|
|
109
108
|
__webpack_require__(252);
|
|
109
|
+
__webpack_require__(253);
|
|
110
110
|
__webpack_require__(254);
|
|
111
111
|
__webpack_require__(255);
|
|
112
112
|
__webpack_require__(257);
|
|
@@ -378,7 +378,7 @@ var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChil
|
|
|
378
378
|
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
|
|
379
379
|
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
|
|
380
380
|
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
|
|
381
|
-
})).a
|
|
381
|
+
})).a !== 7;
|
|
382
382
|
}) ? function (O, P, Attributes) {
|
|
383
383
|
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
|
|
384
384
|
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
|
|
@@ -634,7 +634,7 @@ module.exports = function (options, source) {
|
|
|
634
634
|
"use strict";
|
|
635
635
|
|
|
636
636
|
var check = function (it) {
|
|
637
|
-
return it && it.Math
|
|
637
|
+
return it && it.Math === Math && it;
|
|
638
638
|
};
|
|
639
639
|
|
|
640
640
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
@@ -690,7 +690,7 @@ var fails = __webpack_require__(7);
|
|
|
690
690
|
// Detect IE8's incomplete defineProperty implementation
|
|
691
691
|
module.exports = !fails(function () {
|
|
692
692
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
693
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
693
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
|
|
@@ -811,7 +811,7 @@ module.exports = fails(function () {
|
|
|
811
811
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
812
812
|
return !$Object('z').propertyIsEnumerable(0);
|
|
813
813
|
}) ? function (it) {
|
|
814
|
-
return classof(it)
|
|
814
|
+
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
|
815
815
|
} : $Object;
|
|
816
816
|
|
|
817
817
|
|
|
@@ -1065,7 +1065,7 @@ var $String = global.String;
|
|
|
1065
1065
|
|
|
1066
1066
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1067
1067
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
1068
|
-
var symbol = Symbol();
|
|
1068
|
+
var symbol = Symbol('symbol detection');
|
|
1069
1069
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1070
1070
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
1071
1071
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
@@ -1233,10 +1233,10 @@ var store = __webpack_require__(37);
|
|
|
1233
1233
|
(module.exports = function (key, value) {
|
|
1234
1234
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1235
1235
|
})('versions', []).push({
|
|
1236
|
-
version: '3.32.
|
|
1236
|
+
version: '3.32.1',
|
|
1237
1237
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1238
1238
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1239
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.32.
|
|
1239
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE',
|
|
1240
1240
|
source: 'https://github.com/zloirock/core-js'
|
|
1241
1241
|
});
|
|
1242
1242
|
|
|
@@ -1353,7 +1353,7 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
1353
1353
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1354
1354
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1355
1355
|
get: function () { return 7; }
|
|
1356
|
-
}).a
|
|
1356
|
+
}).a !== 7;
|
|
1357
1357
|
});
|
|
1358
1358
|
|
|
1359
1359
|
|
|
@@ -1460,7 +1460,7 @@ module.exports = DESCRIPTORS && fails(function () {
|
|
|
1460
1460
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1461
1461
|
value: 42,
|
|
1462
1462
|
writable: false
|
|
1463
|
-
}).prototype
|
|
1463
|
+
}).prototype !== 42;
|
|
1464
1464
|
});
|
|
1465
1465
|
|
|
1466
1466
|
|
|
@@ -1855,10 +1855,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
1855
1855
|
var value;
|
|
1856
1856
|
// Array#includes uses SameValueZero equality algorithm
|
|
1857
1857
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1858
|
-
if (IS_INCLUDES && el
|
|
1858
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
1859
1859
|
value = O[index++];
|
|
1860
1860
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1861
|
-
if (value
|
|
1861
|
+
if (value !== value) return true;
|
|
1862
1862
|
// Array#indexOf ignores holes, Array#includes - not
|
|
1863
1863
|
} else for (;length > index; index++) {
|
|
1864
1864
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -2004,8 +2004,8 @@ var replacement = /#|\.prototype\./;
|
|
|
2004
2004
|
|
|
2005
2005
|
var isForced = function (feature, detection) {
|
|
2006
2006
|
var value = data[normalize(feature)];
|
|
2007
|
-
return value
|
|
2008
|
-
: value
|
|
2007
|
+
return value === POLYFILL ? true
|
|
2008
|
+
: value === NATIVE ? false
|
|
2009
2009
|
: isCallable(detection) ? fails(detection)
|
|
2010
2010
|
: !!detection;
|
|
2011
2011
|
};
|
|
@@ -2052,7 +2052,7 @@ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
|
2052
2052
|
var $Object = Object;
|
|
2053
2053
|
|
|
2054
2054
|
// ES3 wrong here
|
|
2055
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
2055
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
2056
2056
|
|
|
2057
2057
|
// fallback for IE11 Script Access Denied error
|
|
2058
2058
|
var tryGet = function (it, key) {
|
|
@@ -2070,7 +2070,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
2070
2070
|
// builtinTag case
|
|
2071
2071
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2072
2072
|
// ES3 arguments fallback
|
|
2073
|
-
: (result = classofRaw(O))
|
|
2073
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
2074
2074
|
};
|
|
2075
2075
|
|
|
2076
2076
|
|
|
@@ -2262,7 +2262,7 @@ var getWindowNames = function (it) {
|
|
|
2262
2262
|
|
|
2263
2263
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
2264
2264
|
module.exports.f = function getOwnPropertyNames(it) {
|
|
2265
|
-
return windowNames && classof(it)
|
|
2265
|
+
return windowNames && classof(it) === 'Window'
|
|
2266
2266
|
? getWindowNames(it)
|
|
2267
2267
|
: $getOwnPropertyNames(toIndexedObject(it));
|
|
2268
2268
|
};
|
|
@@ -2286,7 +2286,8 @@ module.exports = function (O, start, end) {
|
|
|
2286
2286
|
var k = toAbsoluteIndex(start, length);
|
|
2287
2287
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
2288
2288
|
var result = $Array(max(fin - k, 0));
|
|
2289
|
-
|
|
2289
|
+
var n = 0;
|
|
2290
|
+
for (; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
2290
2291
|
result.length = n;
|
|
2291
2292
|
return result;
|
|
2292
2293
|
};
|
|
@@ -2431,13 +2432,13 @@ var push = uncurryThis([].push);
|
|
|
2431
2432
|
|
|
2432
2433
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2433
2434
|
var createMethod = function (TYPE) {
|
|
2434
|
-
var IS_MAP = TYPE
|
|
2435
|
-
var IS_FILTER = TYPE
|
|
2436
|
-
var IS_SOME = TYPE
|
|
2437
|
-
var IS_EVERY = TYPE
|
|
2438
|
-
var IS_FIND_INDEX = TYPE
|
|
2439
|
-
var IS_FILTER_REJECT = TYPE
|
|
2440
|
-
var NO_HOLES = TYPE
|
|
2435
|
+
var IS_MAP = TYPE === 1;
|
|
2436
|
+
var IS_FILTER = TYPE === 2;
|
|
2437
|
+
var IS_SOME = TYPE === 3;
|
|
2438
|
+
var IS_EVERY = TYPE === 4;
|
|
2439
|
+
var IS_FIND_INDEX = TYPE === 6;
|
|
2440
|
+
var IS_FILTER_REJECT = TYPE === 7;
|
|
2441
|
+
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
|
|
2441
2442
|
return function ($this, callbackfn, that, specificCreate) {
|
|
2442
2443
|
var O = toObject($this);
|
|
2443
2444
|
var self = IndexedObject(O);
|
|
@@ -2590,7 +2591,7 @@ var classof = __webpack_require__(15);
|
|
|
2590
2591
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2591
2592
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2592
2593
|
module.exports = Array.isArray || function isArray(argument) {
|
|
2593
|
-
return classof(argument)
|
|
2594
|
+
return classof(argument) === 'Array';
|
|
2594
2595
|
};
|
|
2595
2596
|
|
|
2596
2597
|
|
|
@@ -2752,13 +2753,13 @@ var low = /^[\uD800-\uDBFF]$/;
|
|
|
2752
2753
|
var hi = /^[\uDC00-\uDFFF]$/;
|
|
2753
2754
|
|
|
2754
2755
|
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
|
|
2755
|
-
var symbol = getBuiltIn('Symbol')();
|
|
2756
|
+
var symbol = getBuiltIn('Symbol')('stringify detection');
|
|
2756
2757
|
// MS Edge converts symbol values to JSON as {}
|
|
2757
|
-
return $stringify([symbol])
|
|
2758
|
+
return $stringify([symbol]) !== '[null]'
|
|
2758
2759
|
// WebKit converts symbol values to JSON as null
|
|
2759
|
-
|| $stringify({ a: symbol })
|
|
2760
|
+
|| $stringify({ a: symbol }) !== '{}'
|
|
2760
2761
|
// V8 throws on boxed symbols
|
|
2761
|
-
|| $stringify(Object(symbol))
|
|
2762
|
+
|| $stringify(Object(symbol)) !== '{}';
|
|
2762
2763
|
});
|
|
2763
2764
|
|
|
2764
2765
|
// https://github.com/tc39/proposal-well-formed-stringify
|
|
@@ -2852,7 +2853,7 @@ module.exports = function (replacer) {
|
|
|
2852
2853
|
for (var i = 0; i < rawLength; i++) {
|
|
2853
2854
|
var element = replacer[i];
|
|
2854
2855
|
if (typeof element == 'string') push(keys, element);
|
|
2855
|
-
else if (typeof element == 'number' || classof(element)
|
|
2856
|
+
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
|
|
2856
2857
|
}
|
|
2857
2858
|
var keysLength = keys.length;
|
|
2858
2859
|
var root = true;
|
|
@@ -2935,7 +2936,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
2935
2936
|
SymbolWrapper.prototype = SymbolPrototype;
|
|
2936
2937
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
2937
2938
|
|
|
2938
|
-
var NATIVE_SYMBOL = String(NativeSymbol('
|
|
2939
|
+
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
2939
2940
|
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
|
2940
2941
|
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
|
2941
2942
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
@@ -3895,7 +3896,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
3895
3896
|
|
|
3896
3897
|
// Array.prototype[@@unscopables]
|
|
3897
3898
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3898
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
3899
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3899
3900
|
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3900
3901
|
configurable: true,
|
|
3901
3902
|
value: create(null)
|
|
@@ -4284,7 +4285,7 @@ var lengthOfArrayLike = __webpack_require__(64);
|
|
|
4284
4285
|
|
|
4285
4286
|
// `Array.prototype.{ findLast, findLastIndex }` methods implementation
|
|
4286
4287
|
var createMethod = function (TYPE) {
|
|
4287
|
-
var IS_FIND_LAST_INDEX = TYPE
|
|
4288
|
+
var IS_FIND_LAST_INDEX = TYPE === 1;
|
|
4288
4289
|
return function ($this, callbackfn, that) {
|
|
4289
4290
|
var O = toObject($this);
|
|
4290
4291
|
var self = IndexedObject(O);
|
|
@@ -4442,7 +4443,7 @@ var forEach = __webpack_require__(161);
|
|
|
4442
4443
|
// `Array.prototype.forEach` method
|
|
4443
4444
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
4444
4445
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
4445
|
-
$({ target: 'Array', proto: true, forced: [].forEach
|
|
4446
|
+
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
|
|
4446
4447
|
forEach: forEach
|
|
4447
4448
|
});
|
|
4448
4449
|
|
|
@@ -4729,9 +4730,10 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
|
4729
4730
|
state.target = undefined;
|
|
4730
4731
|
return createIterResultObject(undefined, true);
|
|
4731
4732
|
}
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4733
|
+
switch (kind) {
|
|
4734
|
+
case 'keys': return createIterResultObject(index, false);
|
|
4735
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
4736
|
+
} return createIterResultObject([index, target[index]], false);
|
|
4735
4737
|
}, 'values');
|
|
4736
4738
|
|
|
4737
4739
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -4802,7 +4804,7 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
4802
4804
|
|| IterablePrototype['@@iterator']
|
|
4803
4805
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
4804
4806
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
4805
|
-
var anyNativeIterator = NAME
|
|
4807
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
4806
4808
|
var CurrentIteratorPrototype, methods, KEY;
|
|
4807
4809
|
|
|
4808
4810
|
// fix native
|
|
@@ -4823,7 +4825,7 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
4823
4825
|
}
|
|
4824
4826
|
|
|
4825
4827
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
4826
|
-
if (PROPER_FUNCTION_NAME && DEFAULT
|
|
4828
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
4827
4829
|
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
|
|
4828
4830
|
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
|
|
4829
4831
|
} else {
|
|
@@ -4962,7 +4964,7 @@ var arrayMethodIsStrict = __webpack_require__(148);
|
|
|
4962
4964
|
|
|
4963
4965
|
var nativeJoin = uncurryThis([].join);
|
|
4964
4966
|
|
|
4965
|
-
var ES3_STRINGS = IndexedObject
|
|
4967
|
+
var ES3_STRINGS = IndexedObject !== Object;
|
|
4966
4968
|
var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
|
|
4967
4969
|
|
|
4968
4970
|
// `Array.prototype.join` method
|
|
@@ -5247,9 +5249,10 @@ module.exports = {
|
|
|
5247
5249
|
|
|
5248
5250
|
"use strict";
|
|
5249
5251
|
|
|
5252
|
+
var global = __webpack_require__(4);
|
|
5250
5253
|
var classof = __webpack_require__(15);
|
|
5251
5254
|
|
|
5252
|
-
module.exports =
|
|
5255
|
+
module.exports = classof(global.process) === 'process';
|
|
5253
5256
|
|
|
5254
5257
|
|
|
5255
5258
|
/***/ }),
|
|
@@ -6219,7 +6222,7 @@ if (!NATIVE_ARRAY_BUFFER) {
|
|
|
6219
6222
|
new NativeArrayBuffer();
|
|
6220
6223
|
new NativeArrayBuffer(1.5);
|
|
6221
6224
|
new NativeArrayBuffer(NaN);
|
|
6222
|
-
return NativeArrayBuffer.length
|
|
6225
|
+
return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;
|
|
6223
6226
|
})) {
|
|
6224
6227
|
/* eslint-enable no-new -- required for testing */
|
|
6225
6228
|
$ArrayBuffer = function ArrayBuffer(length) {
|
|
@@ -6333,11 +6336,14 @@ module.exports = function (it) {
|
|
|
6333
6336
|
|
|
6334
6337
|
/***/ }),
|
|
6335
6338
|
/* 213 */
|
|
6336
|
-
/***/ (function(module) {
|
|
6339
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6337
6340
|
|
|
6338
6341
|
"use strict";
|
|
6339
6342
|
|
|
6340
6343
|
// IEEE754 conversions based on https://github.com/feross/ieee754
|
|
6344
|
+
var sign = __webpack_require__(214);
|
|
6345
|
+
var trunc = __webpack_require__(63);
|
|
6346
|
+
|
|
6341
6347
|
var $Array = Array;
|
|
6342
6348
|
var abs = Math.abs;
|
|
6343
6349
|
var pow = Math.pow;
|
|
@@ -6345,20 +6351,28 @@ var floor = Math.floor;
|
|
|
6345
6351
|
var log = Math.log;
|
|
6346
6352
|
var LN2 = Math.LN2;
|
|
6347
6353
|
|
|
6354
|
+
var roundToEven = function (number) {
|
|
6355
|
+
var truncated = trunc(number);
|
|
6356
|
+
var delta = abs(number - truncated);
|
|
6357
|
+
if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) {
|
|
6358
|
+
return truncated + sign(number);
|
|
6359
|
+
} return truncated;
|
|
6360
|
+
};
|
|
6361
|
+
|
|
6348
6362
|
var pack = function (number, mantissaLength, bytes) {
|
|
6349
6363
|
var buffer = $Array(bytes);
|
|
6350
6364
|
var exponentLength = bytes * 8 - mantissaLength - 1;
|
|
6351
6365
|
var eMax = (1 << exponentLength) - 1;
|
|
6352
6366
|
var eBias = eMax >> 1;
|
|
6353
6367
|
var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;
|
|
6354
|
-
var
|
|
6368
|
+
var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
|
|
6355
6369
|
var index = 0;
|
|
6356
6370
|
var exponent, mantissa, c;
|
|
6357
6371
|
number = abs(number);
|
|
6358
6372
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6359
|
-
if (number
|
|
6373
|
+
if (number !== number || number === Infinity) {
|
|
6360
6374
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6361
|
-
mantissa = number
|
|
6375
|
+
mantissa = number !== number ? 1 : 0;
|
|
6362
6376
|
exponent = eMax;
|
|
6363
6377
|
} else {
|
|
6364
6378
|
exponent = floor(log(number) / LN2);
|
|
@@ -6380,10 +6394,10 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6380
6394
|
mantissa = 0;
|
|
6381
6395
|
exponent = eMax;
|
|
6382
6396
|
} else if (exponent + eBias >= 1) {
|
|
6383
|
-
mantissa = (number * c - 1) * pow(2, mantissaLength);
|
|
6397
|
+
mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));
|
|
6384
6398
|
exponent = exponent + eBias;
|
|
6385
6399
|
} else {
|
|
6386
|
-
mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);
|
|
6400
|
+
mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));
|
|
6387
6401
|
exponent = 0;
|
|
6388
6402
|
}
|
|
6389
6403
|
}
|
|
@@ -6399,7 +6413,7 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6399
6413
|
exponent /= 256;
|
|
6400
6414
|
exponentLength -= 8;
|
|
6401
6415
|
}
|
|
6402
|
-
buffer[--index] |=
|
|
6416
|
+
buffer[--index] |= s * 128;
|
|
6403
6417
|
return buffer;
|
|
6404
6418
|
};
|
|
6405
6419
|
|
|
@@ -6410,10 +6424,10 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6410
6424
|
var eBias = eMax >> 1;
|
|
6411
6425
|
var nBits = exponentLength - 7;
|
|
6412
6426
|
var index = bytes - 1;
|
|
6413
|
-
var
|
|
6414
|
-
var exponent =
|
|
6427
|
+
var s = buffer[index--];
|
|
6428
|
+
var exponent = s & 127;
|
|
6415
6429
|
var mantissa;
|
|
6416
|
-
|
|
6430
|
+
s >>= 7;
|
|
6417
6431
|
while (nBits > 0) {
|
|
6418
6432
|
exponent = exponent * 256 + buffer[index--];
|
|
6419
6433
|
nBits -= 8;
|
|
@@ -6428,11 +6442,11 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6428
6442
|
if (exponent === 0) {
|
|
6429
6443
|
exponent = 1 - eBias;
|
|
6430
6444
|
} else if (exponent === eMax) {
|
|
6431
|
-
return mantissa ? NaN :
|
|
6445
|
+
return mantissa ? NaN : s ? -Infinity : Infinity;
|
|
6432
6446
|
} else {
|
|
6433
6447
|
mantissa = mantissa + pow(2, mantissaLength);
|
|
6434
6448
|
exponent = exponent - eBias;
|
|
6435
|
-
} return (
|
|
6449
|
+
} return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
|
|
6436
6450
|
};
|
|
6437
6451
|
|
|
6438
6452
|
module.exports = {
|
|
@@ -6443,12 +6457,28 @@ module.exports = {
|
|
|
6443
6457
|
|
|
6444
6458
|
/***/ }),
|
|
6445
6459
|
/* 214 */
|
|
6460
|
+
/***/ (function(module) {
|
|
6461
|
+
|
|
6462
|
+
"use strict";
|
|
6463
|
+
|
|
6464
|
+
// `Math.sign` method implementation
|
|
6465
|
+
// https://tc39.es/ecma262/#sec-math.sign
|
|
6466
|
+
// eslint-disable-next-line es/no-math-sign -- safe
|
|
6467
|
+
module.exports = Math.sign || function sign(x) {
|
|
6468
|
+
var n = +x;
|
|
6469
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6470
|
+
return n === 0 || n !== n ? n : n < 0 ? -1 : 1;
|
|
6471
|
+
};
|
|
6472
|
+
|
|
6473
|
+
|
|
6474
|
+
/***/ }),
|
|
6475
|
+
/* 215 */
|
|
6446
6476
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6447
6477
|
|
|
6448
6478
|
"use strict";
|
|
6449
6479
|
|
|
6450
6480
|
var $ = __webpack_require__(3);
|
|
6451
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
6481
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
6452
6482
|
|
|
6453
6483
|
var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
|
|
6454
6484
|
|
|
@@ -6460,7 +6490,7 @@ $({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
|
|
|
6460
6490
|
|
|
6461
6491
|
|
|
6462
6492
|
/***/ }),
|
|
6463
|
-
/*
|
|
6493
|
+
/* 216 */
|
|
6464
6494
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6465
6495
|
|
|
6466
6496
|
"use strict";
|
|
@@ -6660,7 +6690,7 @@ module.exports = {
|
|
|
6660
6690
|
|
|
6661
6691
|
|
|
6662
6692
|
/***/ }),
|
|
6663
|
-
/*
|
|
6693
|
+
/* 217 */
|
|
6664
6694
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6665
6695
|
|
|
6666
6696
|
"use strict";
|
|
@@ -6672,7 +6702,7 @@ var ArrayBufferModule = __webpack_require__(208);
|
|
|
6672
6702
|
var anObject = __webpack_require__(47);
|
|
6673
6703
|
var toAbsoluteIndex = __webpack_require__(61);
|
|
6674
6704
|
var toLength = __webpack_require__(65);
|
|
6675
|
-
var speciesConstructor = __webpack_require__(
|
|
6705
|
+
var speciesConstructor = __webpack_require__(218);
|
|
6676
6706
|
|
|
6677
6707
|
var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
|
|
6678
6708
|
var DataView = ArrayBufferModule.DataView;
|
|
@@ -6707,13 +6737,13 @@ $({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE },
|
|
|
6707
6737
|
|
|
6708
6738
|
|
|
6709
6739
|
/***/ }),
|
|
6710
|
-
/*
|
|
6740
|
+
/* 218 */
|
|
6711
6741
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6712
6742
|
|
|
6713
6743
|
"use strict";
|
|
6714
6744
|
|
|
6715
6745
|
var anObject = __webpack_require__(47);
|
|
6716
|
-
var aConstructor = __webpack_require__(
|
|
6746
|
+
var aConstructor = __webpack_require__(219);
|
|
6717
6747
|
var isNullOrUndefined = __webpack_require__(17);
|
|
6718
6748
|
var wellKnownSymbol = __webpack_require__(34);
|
|
6719
6749
|
|
|
@@ -6729,7 +6759,7 @@ module.exports = function (O, defaultConstructor) {
|
|
|
6729
6759
|
|
|
6730
6760
|
|
|
6731
6761
|
/***/ }),
|
|
6732
|
-
/*
|
|
6762
|
+
/* 219 */
|
|
6733
6763
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6734
6764
|
|
|
6735
6765
|
"use strict";
|
|
@@ -6747,17 +6777,17 @@ module.exports = function (argument) {
|
|
|
6747
6777
|
|
|
6748
6778
|
|
|
6749
6779
|
/***/ }),
|
|
6750
|
-
/*
|
|
6780
|
+
/* 220 */
|
|
6751
6781
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6752
6782
|
|
|
6753
6783
|
"use strict";
|
|
6754
6784
|
|
|
6755
6785
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
6756
|
-
__webpack_require__(
|
|
6786
|
+
__webpack_require__(221);
|
|
6757
6787
|
|
|
6758
6788
|
|
|
6759
6789
|
/***/ }),
|
|
6760
|
-
/*
|
|
6790
|
+
/* 221 */
|
|
6761
6791
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6762
6792
|
|
|
6763
6793
|
"use strict";
|
|
@@ -6774,7 +6804,7 @@ $({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, {
|
|
|
6774
6804
|
|
|
6775
6805
|
|
|
6776
6806
|
/***/ }),
|
|
6777
|
-
/*
|
|
6807
|
+
/* 222 */
|
|
6778
6808
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6779
6809
|
|
|
6780
6810
|
"use strict";
|
|
@@ -6801,7 +6831,7 @@ $({ target: 'Date', proto: true, forced: FORCED }, {
|
|
|
6801
6831
|
|
|
6802
6832
|
|
|
6803
6833
|
/***/ }),
|
|
6804
|
-
/*
|
|
6834
|
+
/* 223 */
|
|
6805
6835
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6806
6836
|
|
|
6807
6837
|
"use strict";
|
|
@@ -6823,7 +6853,7 @@ $({ target: 'Date', stat: true }, {
|
|
|
6823
6853
|
|
|
6824
6854
|
|
|
6825
6855
|
/***/ }),
|
|
6826
|
-
/*
|
|
6856
|
+
/* 224 */
|
|
6827
6857
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6828
6858
|
|
|
6829
6859
|
"use strict";
|
|
@@ -6843,14 +6873,14 @@ $({ target: 'Date', proto: true }, {
|
|
|
6843
6873
|
// validate
|
|
6844
6874
|
thisTimeValue(this);
|
|
6845
6875
|
var yi = toIntegerOrInfinity(year);
|
|
6846
|
-
var yyyy =
|
|
6876
|
+
var yyyy = yi >= 0 && yi <= 99 ? yi + 1900 : yi;
|
|
6847
6877
|
return setFullYear(this, yyyy);
|
|
6848
6878
|
}
|
|
6849
6879
|
});
|
|
6850
6880
|
|
|
6851
6881
|
|
|
6852
6882
|
/***/ }),
|
|
6853
|
-
/*
|
|
6883
|
+
/* 225 */
|
|
6854
6884
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6855
6885
|
|
|
6856
6886
|
"use strict";
|
|
@@ -6865,13 +6895,13 @@ $({ target: 'Date', proto: true }, {
|
|
|
6865
6895
|
|
|
6866
6896
|
|
|
6867
6897
|
/***/ }),
|
|
6868
|
-
/*
|
|
6898
|
+
/* 226 */
|
|
6869
6899
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6870
6900
|
|
|
6871
6901
|
"use strict";
|
|
6872
6902
|
|
|
6873
6903
|
var $ = __webpack_require__(3);
|
|
6874
|
-
var toISOString = __webpack_require__(
|
|
6904
|
+
var toISOString = __webpack_require__(227);
|
|
6875
6905
|
|
|
6876
6906
|
// `Date.prototype.toISOString` method
|
|
6877
6907
|
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
|
|
@@ -6882,14 +6912,14 @@ $({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOStr
|
|
|
6882
6912
|
|
|
6883
6913
|
|
|
6884
6914
|
/***/ }),
|
|
6885
|
-
/*
|
|
6915
|
+
/* 227 */
|
|
6886
6916
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6887
6917
|
|
|
6888
6918
|
"use strict";
|
|
6889
6919
|
|
|
6890
6920
|
var uncurryThis = __webpack_require__(14);
|
|
6891
6921
|
var fails = __webpack_require__(7);
|
|
6892
|
-
var padStart = (__webpack_require__(
|
|
6922
|
+
var padStart = (__webpack_require__(228).start);
|
|
6893
6923
|
|
|
6894
6924
|
var $RangeError = RangeError;
|
|
6895
6925
|
var $isFinite = isFinite;
|
|
@@ -6909,7 +6939,7 @@ var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);
|
|
|
6909
6939
|
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
|
|
6910
6940
|
// PhantomJS / old WebKit fails here:
|
|
6911
6941
|
module.exports = (fails(function () {
|
|
6912
|
-
return nativeDateToISOString.call(new Date(-5e13 - 1))
|
|
6942
|
+
return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z';
|
|
6913
6943
|
}) || !fails(function () {
|
|
6914
6944
|
nativeDateToISOString.call(new Date(NaN));
|
|
6915
6945
|
})) ? function toISOString() {
|
|
@@ -6930,7 +6960,7 @@ module.exports = (fails(function () {
|
|
|
6930
6960
|
|
|
6931
6961
|
|
|
6932
6962
|
/***/ }),
|
|
6933
|
-
/*
|
|
6963
|
+
/* 228 */
|
|
6934
6964
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6935
6965
|
|
|
6936
6966
|
"use strict";
|
|
@@ -6939,7 +6969,7 @@ module.exports = (fails(function () {
|
|
|
6939
6969
|
var uncurryThis = __webpack_require__(14);
|
|
6940
6970
|
var toLength = __webpack_require__(65);
|
|
6941
6971
|
var toString = __webpack_require__(69);
|
|
6942
|
-
var $repeat = __webpack_require__(
|
|
6972
|
+
var $repeat = __webpack_require__(229);
|
|
6943
6973
|
var requireObjectCoercible = __webpack_require__(16);
|
|
6944
6974
|
|
|
6945
6975
|
var repeat = uncurryThis($repeat);
|
|
@@ -6954,7 +6984,7 @@ var createMethod = function (IS_END) {
|
|
|
6954
6984
|
var stringLength = S.length;
|
|
6955
6985
|
var fillStr = fillString === undefined ? ' ' : toString(fillString);
|
|
6956
6986
|
var fillLen, stringFiller;
|
|
6957
|
-
if (intMaxLength <= stringLength || fillStr
|
|
6987
|
+
if (intMaxLength <= stringLength || fillStr === '') return S;
|
|
6958
6988
|
fillLen = intMaxLength - stringLength;
|
|
6959
6989
|
stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
|
|
6960
6990
|
if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
|
|
@@ -6973,7 +7003,7 @@ module.exports = {
|
|
|
6973
7003
|
|
|
6974
7004
|
|
|
6975
7005
|
/***/ }),
|
|
6976
|
-
/*
|
|
7006
|
+
/* 229 */
|
|
6977
7007
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6978
7008
|
|
|
6979
7009
|
"use strict";
|
|
@@ -6990,14 +7020,14 @@ module.exports = function repeat(count) {
|
|
|
6990
7020
|
var str = toString(requireObjectCoercible(this));
|
|
6991
7021
|
var result = '';
|
|
6992
7022
|
var n = toIntegerOrInfinity(count);
|
|
6993
|
-
if (n < 0 || n
|
|
7023
|
+
if (n < 0 || n === Infinity) throw $RangeError('Wrong number of repetitions');
|
|
6994
7024
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
6995
7025
|
return result;
|
|
6996
7026
|
};
|
|
6997
7027
|
|
|
6998
7028
|
|
|
6999
7029
|
/***/ }),
|
|
7000
|
-
/*
|
|
7030
|
+
/* 230 */
|
|
7001
7031
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7002
7032
|
|
|
7003
7033
|
"use strict";
|
|
@@ -7025,14 +7055,14 @@ $({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {
|
|
|
7025
7055
|
|
|
7026
7056
|
|
|
7027
7057
|
/***/ }),
|
|
7028
|
-
/*
|
|
7058
|
+
/* 231 */
|
|
7029
7059
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7030
7060
|
|
|
7031
7061
|
"use strict";
|
|
7032
7062
|
|
|
7033
7063
|
var hasOwn = __webpack_require__(39);
|
|
7034
7064
|
var defineBuiltIn = __webpack_require__(48);
|
|
7035
|
-
var dateToPrimitive = __webpack_require__(
|
|
7065
|
+
var dateToPrimitive = __webpack_require__(232);
|
|
7036
7066
|
var wellKnownSymbol = __webpack_require__(34);
|
|
7037
7067
|
|
|
7038
7068
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
@@ -7046,7 +7076,7 @@ if (!hasOwn(DatePrototype, TO_PRIMITIVE)) {
|
|
|
7046
7076
|
|
|
7047
7077
|
|
|
7048
7078
|
/***/ }),
|
|
7049
|
-
/*
|
|
7079
|
+
/* 232 */
|
|
7050
7080
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7051
7081
|
|
|
7052
7082
|
"use strict";
|
|
@@ -7067,7 +7097,7 @@ module.exports = function (hint) {
|
|
|
7067
7097
|
|
|
7068
7098
|
|
|
7069
7099
|
/***/ }),
|
|
7070
|
-
/*
|
|
7100
|
+
/* 233 */
|
|
7071
7101
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7072
7102
|
|
|
7073
7103
|
"use strict";
|
|
@@ -7084,7 +7114,7 @@ var thisTimeValue = uncurryThis(DatePrototype.getTime);
|
|
|
7084
7114
|
|
|
7085
7115
|
// `Date.prototype.toString` method
|
|
7086
7116
|
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
7087
|
-
if (String(new Date(NaN))
|
|
7117
|
+
if (String(new Date(NaN)) !== INVALID_DATE) {
|
|
7088
7118
|
defineBuiltIn(DatePrototype, TO_STRING, function toString() {
|
|
7089
7119
|
var value = thisTimeValue(this);
|
|
7090
7120
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -7094,7 +7124,7 @@ if (String(new Date(NaN)) != INVALID_DATE) {
|
|
|
7094
7124
|
|
|
7095
7125
|
|
|
7096
7126
|
/***/ }),
|
|
7097
|
-
/*
|
|
7127
|
+
/* 234 */
|
|
7098
7128
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7099
7129
|
|
|
7100
7130
|
"use strict";
|
|
@@ -7144,14 +7174,14 @@ $({ global: true }, {
|
|
|
7144
7174
|
|
|
7145
7175
|
|
|
7146
7176
|
/***/ }),
|
|
7147
|
-
/*
|
|
7177
|
+
/* 235 */
|
|
7148
7178
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7149
7179
|
|
|
7150
7180
|
"use strict";
|
|
7151
7181
|
|
|
7152
7182
|
// TODO: Remove from `core-js@4`
|
|
7153
7183
|
var $ = __webpack_require__(3);
|
|
7154
|
-
var bind = __webpack_require__(
|
|
7184
|
+
var bind = __webpack_require__(236);
|
|
7155
7185
|
|
|
7156
7186
|
// `Function.prototype.bind` method
|
|
7157
7187
|
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
@@ -7162,7 +7192,7 @@ $({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
|
|
|
7162
7192
|
|
|
7163
7193
|
|
|
7164
7194
|
/***/ }),
|
|
7165
|
-
/*
|
|
7195
|
+
/* 236 */
|
|
7166
7196
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7167
7197
|
|
|
7168
7198
|
"use strict";
|
|
@@ -7181,7 +7211,9 @@ var factories = {};
|
|
|
7181
7211
|
|
|
7182
7212
|
var construct = function (C, argsLength, args) {
|
|
7183
7213
|
if (!hasOwn(factories, argsLength)) {
|
|
7184
|
-
|
|
7214
|
+
var list = [];
|
|
7215
|
+
var i = 0;
|
|
7216
|
+
for (; i < argsLength; i++) list[i] = 'a[' + i + ']';
|
|
7185
7217
|
factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');
|
|
7186
7218
|
} return factories[argsLength](C, args);
|
|
7187
7219
|
};
|
|
@@ -7203,7 +7235,7 @@ module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args
|
|
|
7203
7235
|
|
|
7204
7236
|
|
|
7205
7237
|
/***/ }),
|
|
7206
|
-
/*
|
|
7238
|
+
/* 237 */
|
|
7207
7239
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7208
7240
|
|
|
7209
7241
|
"use strict";
|
|
@@ -7233,7 +7265,7 @@ if (!(HAS_INSTANCE in FunctionPrototype)) {
|
|
|
7233
7265
|
|
|
7234
7266
|
|
|
7235
7267
|
/***/ }),
|
|
7236
|
-
/*
|
|
7268
|
+
/* 238 */
|
|
7237
7269
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7238
7270
|
|
|
7239
7271
|
"use strict";
|
|
@@ -7266,7 +7298,7 @@ if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
|
7266
7298
|
|
|
7267
7299
|
|
|
7268
7300
|
/***/ }),
|
|
7269
|
-
/*
|
|
7301
|
+
/* 239 */
|
|
7270
7302
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7271
7303
|
|
|
7272
7304
|
"use strict";
|
|
@@ -7282,7 +7314,7 @@ $({ global: true, forced: global.globalThis !== global }, {
|
|
|
7282
7314
|
|
|
7283
7315
|
|
|
7284
7316
|
/***/ }),
|
|
7285
|
-
/*
|
|
7317
|
+
/* 240 */
|
|
7286
7318
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7287
7319
|
|
|
7288
7320
|
"use strict";
|
|
@@ -7296,23 +7328,23 @@ setToStringTag(global.JSON, 'JSON', true);
|
|
|
7296
7328
|
|
|
7297
7329
|
|
|
7298
7330
|
/***/ }),
|
|
7299
|
-
/*
|
|
7331
|
+
/* 241 */
|
|
7300
7332
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7301
7333
|
|
|
7302
7334
|
"use strict";
|
|
7303
7335
|
|
|
7304
7336
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
7305
|
-
__webpack_require__(
|
|
7337
|
+
__webpack_require__(242);
|
|
7306
7338
|
|
|
7307
7339
|
|
|
7308
7340
|
/***/ }),
|
|
7309
|
-
/*
|
|
7341
|
+
/* 242 */
|
|
7310
7342
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7311
7343
|
|
|
7312
7344
|
"use strict";
|
|
7313
7345
|
|
|
7314
|
-
var collection = __webpack_require__(
|
|
7315
|
-
var collectionStrong = __webpack_require__(
|
|
7346
|
+
var collection = __webpack_require__(243);
|
|
7347
|
+
var collectionStrong = __webpack_require__(248);
|
|
7316
7348
|
|
|
7317
7349
|
// `Map` constructor
|
|
7318
7350
|
// https://tc39.es/ecma262/#sec-map-objects
|
|
@@ -7322,7 +7354,7 @@ collection('Map', function (init) {
|
|
|
7322
7354
|
|
|
7323
7355
|
|
|
7324
7356
|
/***/ }),
|
|
7325
|
-
/*
|
|
7357
|
+
/* 243 */
|
|
7326
7358
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7327
7359
|
|
|
7328
7360
|
"use strict";
|
|
@@ -7332,7 +7364,7 @@ var global = __webpack_require__(4);
|
|
|
7332
7364
|
var uncurryThis = __webpack_require__(14);
|
|
7333
7365
|
var isForced = __webpack_require__(68);
|
|
7334
7366
|
var defineBuiltIn = __webpack_require__(48);
|
|
7335
|
-
var InternalMetadataModule = __webpack_require__(
|
|
7367
|
+
var InternalMetadataModule = __webpack_require__(244);
|
|
7336
7368
|
var iterate = __webpack_require__(132);
|
|
7337
7369
|
var anInstance = __webpack_require__(211);
|
|
7338
7370
|
var isCallable = __webpack_require__(21);
|
|
@@ -7355,14 +7387,14 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7355
7387
|
var fixMethod = function (KEY) {
|
|
7356
7388
|
var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);
|
|
7357
7389
|
defineBuiltIn(NativePrototype, KEY,
|
|
7358
|
-
KEY
|
|
7390
|
+
KEY === 'add' ? function add(value) {
|
|
7359
7391
|
uncurriedNativeMethod(this, value === 0 ? 0 : value);
|
|
7360
7392
|
return this;
|
|
7361
|
-
} : KEY
|
|
7393
|
+
} : KEY === 'delete' ? function (key) {
|
|
7362
7394
|
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7363
|
-
} : KEY
|
|
7395
|
+
} : KEY === 'get' ? function get(key) {
|
|
7364
7396
|
return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7365
|
-
} : KEY
|
|
7397
|
+
} : KEY === 'has' ? function has(key) {
|
|
7366
7398
|
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7367
7399
|
} : function set(key, value) {
|
|
7368
7400
|
uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
|
|
@@ -7385,7 +7417,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7385
7417
|
} else if (isForced(CONSTRUCTOR_NAME, true)) {
|
|
7386
7418
|
var instance = new Constructor();
|
|
7387
7419
|
// early implementations not supports chaining
|
|
7388
|
-
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1)
|
|
7420
|
+
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;
|
|
7389
7421
|
// V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
|
|
7390
7422
|
var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
|
|
7391
7423
|
// most early implementations doesn't supports iterables, most modern - not close it correctly
|
|
@@ -7424,7 +7456,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7424
7456
|
}
|
|
7425
7457
|
|
|
7426
7458
|
exported[CONSTRUCTOR_NAME] = Constructor;
|
|
7427
|
-
$({ global: true, constructor: true, forced: Constructor
|
|
7459
|
+
$({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);
|
|
7428
7460
|
|
|
7429
7461
|
setToStringTag(Constructor, CONSTRUCTOR_NAME);
|
|
7430
7462
|
|
|
@@ -7435,7 +7467,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7435
7467
|
|
|
7436
7468
|
|
|
7437
7469
|
/***/ }),
|
|
7438
|
-
/*
|
|
7470
|
+
/* 244 */
|
|
7439
7471
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7440
7472
|
|
|
7441
7473
|
"use strict";
|
|
@@ -7448,9 +7480,9 @@ var hasOwn = __webpack_require__(39);
|
|
|
7448
7480
|
var defineProperty = (__webpack_require__(45).f);
|
|
7449
7481
|
var getOwnPropertyNamesModule = __webpack_require__(58);
|
|
7450
7482
|
var getOwnPropertyNamesExternalModule = __webpack_require__(76);
|
|
7451
|
-
var isExtensible = __webpack_require__(
|
|
7483
|
+
var isExtensible = __webpack_require__(245);
|
|
7452
7484
|
var uid = __webpack_require__(41);
|
|
7453
|
-
var FREEZING = __webpack_require__(
|
|
7485
|
+
var FREEZING = __webpack_require__(247);
|
|
7454
7486
|
|
|
7455
7487
|
var REQUIRED = false;
|
|
7456
7488
|
var METADATA = uid('meta');
|
|
@@ -7532,7 +7564,7 @@ hiddenKeys[METADATA] = true;
|
|
|
7532
7564
|
|
|
7533
7565
|
|
|
7534
7566
|
/***/ }),
|
|
7535
|
-
/*
|
|
7567
|
+
/* 245 */
|
|
7536
7568
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7537
7569
|
|
|
7538
7570
|
"use strict";
|
|
@@ -7540,7 +7572,7 @@ hiddenKeys[METADATA] = true;
|
|
|
7540
7572
|
var fails = __webpack_require__(7);
|
|
7541
7573
|
var isObject = __webpack_require__(20);
|
|
7542
7574
|
var classof = __webpack_require__(15);
|
|
7543
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
7575
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
7544
7576
|
|
|
7545
7577
|
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
7546
7578
|
var $isExtensible = Object.isExtensible;
|
|
@@ -7550,13 +7582,13 @@ var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });
|
|
|
7550
7582
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
7551
7583
|
module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
7552
7584
|
if (!isObject(it)) return false;
|
|
7553
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
7585
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;
|
|
7554
7586
|
return $isExtensible ? $isExtensible(it) : true;
|
|
7555
7587
|
} : $isExtensible;
|
|
7556
7588
|
|
|
7557
7589
|
|
|
7558
7590
|
/***/ }),
|
|
7559
|
-
/*
|
|
7591
|
+
/* 246 */
|
|
7560
7592
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7561
7593
|
|
|
7562
7594
|
"use strict";
|
|
@@ -7574,7 +7606,7 @@ module.exports = fails(function () {
|
|
|
7574
7606
|
|
|
7575
7607
|
|
|
7576
7608
|
/***/ }),
|
|
7577
|
-
/*
|
|
7609
|
+
/* 247 */
|
|
7578
7610
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7579
7611
|
|
|
7580
7612
|
"use strict";
|
|
@@ -7588,7 +7620,7 @@ module.exports = !fails(function () {
|
|
|
7588
7620
|
|
|
7589
7621
|
|
|
7590
7622
|
/***/ }),
|
|
7591
|
-
/*
|
|
7623
|
+
/* 248 */
|
|
7592
7624
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7593
7625
|
|
|
7594
7626
|
"use strict";
|
|
@@ -7604,7 +7636,7 @@ var defineIterator = __webpack_require__(170);
|
|
|
7604
7636
|
var createIterResultObject = __webpack_require__(173);
|
|
7605
7637
|
var setSpecies = __webpack_require__(194);
|
|
7606
7638
|
var DESCRIPTORS = __webpack_require__(6);
|
|
7607
|
-
var fastKey = (__webpack_require__(
|
|
7639
|
+
var fastKey = (__webpack_require__(244).fastKey);
|
|
7608
7640
|
var InternalStateModule = __webpack_require__(52);
|
|
7609
7641
|
|
|
7610
7642
|
var setInternalState = InternalStateModule.set;
|
|
@@ -7663,7 +7695,7 @@ module.exports = {
|
|
|
7663
7695
|
if (index !== 'F') return state.index[index];
|
|
7664
7696
|
// frozen object case
|
|
7665
7697
|
for (entry = state.first; entry; entry = entry.next) {
|
|
7666
|
-
if (entry.key
|
|
7698
|
+
if (entry.key === key) return entry;
|
|
7667
7699
|
}
|
|
7668
7700
|
};
|
|
7669
7701
|
|
|
@@ -7700,8 +7732,8 @@ module.exports = {
|
|
|
7700
7732
|
entry.removed = true;
|
|
7701
7733
|
if (prev) prev.next = next;
|
|
7702
7734
|
if (next) next.previous = prev;
|
|
7703
|
-
if (state.first
|
|
7704
|
-
if (state.last
|
|
7735
|
+
if (state.first === entry) state.first = next;
|
|
7736
|
+
if (state.last === entry) state.last = prev;
|
|
7705
7737
|
if (DESCRIPTORS) state.size--;
|
|
7706
7738
|
else that.size--;
|
|
7707
7739
|
} return !!entry;
|
|
@@ -7788,8 +7820,8 @@ module.exports = {
|
|
|
7788
7820
|
return createIterResultObject(undefined, true);
|
|
7789
7821
|
}
|
|
7790
7822
|
// return step by kind
|
|
7791
|
-
if (kind
|
|
7792
|
-
if (kind
|
|
7823
|
+
if (kind === 'keys') return createIterResultObject(entry.key, false);
|
|
7824
|
+
if (kind === 'values') return createIterResultObject(entry.value, false);
|
|
7793
7825
|
return createIterResultObject([entry.key, entry.value], false);
|
|
7794
7826
|
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
|
|
7795
7827
|
|
|
@@ -7802,13 +7834,13 @@ module.exports = {
|
|
|
7802
7834
|
|
|
7803
7835
|
|
|
7804
7836
|
/***/ }),
|
|
7805
|
-
/*
|
|
7837
|
+
/* 249 */
|
|
7806
7838
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7807
7839
|
|
|
7808
7840
|
"use strict";
|
|
7809
7841
|
|
|
7810
7842
|
var $ = __webpack_require__(3);
|
|
7811
|
-
var log1p = __webpack_require__(
|
|
7843
|
+
var log1p = __webpack_require__(250);
|
|
7812
7844
|
|
|
7813
7845
|
// eslint-disable-next-line es/no-math-acosh -- required for testing
|
|
7814
7846
|
var $acosh = Math.acosh;
|
|
@@ -7818,9 +7850,9 @@ var LN2 = Math.LN2;
|
|
|
7818
7850
|
|
|
7819
7851
|
var FORCED = !$acosh
|
|
7820
7852
|
// V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
|
|
7821
|
-
|| Math.floor($acosh(Number.MAX_VALUE))
|
|
7853
|
+
|| Math.floor($acosh(Number.MAX_VALUE)) !== 710
|
|
7822
7854
|
// Tor Browser bug: Math.acosh(Infinity) -> NaN
|
|
7823
|
-
|| $acosh(Infinity)
|
|
7855
|
+
|| $acosh(Infinity) !== Infinity;
|
|
7824
7856
|
|
|
7825
7857
|
// `Math.acosh` method
|
|
7826
7858
|
// https://tc39.es/ecma262/#sec-math.acosh
|
|
@@ -7835,7 +7867,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, {
|
|
|
7835
7867
|
|
|
7836
7868
|
|
|
7837
7869
|
/***/ }),
|
|
7838
|
-
/*
|
|
7870
|
+
/* 250 */
|
|
7839
7871
|
/***/ (function(module) {
|
|
7840
7872
|
|
|
7841
7873
|
"use strict";
|
|
@@ -7852,7 +7884,7 @@ module.exports = Math.log1p || function log1p(x) {
|
|
|
7852
7884
|
|
|
7853
7885
|
|
|
7854
7886
|
/***/ }),
|
|
7855
|
-
/*
|
|
7887
|
+
/* 251 */
|
|
7856
7888
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7857
7889
|
|
|
7858
7890
|
"use strict";
|
|
@@ -7866,7 +7898,7 @@ var sqrt = Math.sqrt;
|
|
|
7866
7898
|
|
|
7867
7899
|
function asinh(x) {
|
|
7868
7900
|
var n = +x;
|
|
7869
|
-
return !isFinite(n) || n
|
|
7901
|
+
return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));
|
|
7870
7902
|
}
|
|
7871
7903
|
|
|
7872
7904
|
var FORCED = !($asinh && 1 / $asinh(0) > 0);
|
|
@@ -7880,7 +7912,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, {
|
|
|
7880
7912
|
|
|
7881
7913
|
|
|
7882
7914
|
/***/ }),
|
|
7883
|
-
/*
|
|
7915
|
+
/* 252 */
|
|
7884
7916
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7885
7917
|
|
|
7886
7918
|
"use strict";
|
|
@@ -7899,19 +7931,19 @@ var FORCED = !($atanh && 1 / $atanh(-0) < 0);
|
|
|
7899
7931
|
$({ target: 'Math', stat: true, forced: FORCED }, {
|
|
7900
7932
|
atanh: function atanh(x) {
|
|
7901
7933
|
var n = +x;
|
|
7902
|
-
return n
|
|
7934
|
+
return n === 0 ? n : log((1 + n) / (1 - n)) / 2;
|
|
7903
7935
|
}
|
|
7904
7936
|
});
|
|
7905
7937
|
|
|
7906
7938
|
|
|
7907
7939
|
/***/ }),
|
|
7908
|
-
/*
|
|
7940
|
+
/* 253 */
|
|
7909
7941
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7910
7942
|
|
|
7911
7943
|
"use strict";
|
|
7912
7944
|
|
|
7913
7945
|
var $ = __webpack_require__(3);
|
|
7914
|
-
var sign = __webpack_require__(
|
|
7946
|
+
var sign = __webpack_require__(214);
|
|
7915
7947
|
|
|
7916
7948
|
var abs = Math.abs;
|
|
7917
7949
|
var pow = Math.pow;
|
|
@@ -7926,22 +7958,6 @@ $({ target: 'Math', stat: true }, {
|
|
|
7926
7958
|
});
|
|
7927
7959
|
|
|
7928
7960
|
|
|
7929
|
-
/***/ }),
|
|
7930
|
-
/* 253 */
|
|
7931
|
-
/***/ (function(module) {
|
|
7932
|
-
|
|
7933
|
-
"use strict";
|
|
7934
|
-
|
|
7935
|
-
// `Math.sign` method implementation
|
|
7936
|
-
// https://tc39.es/ecma262/#sec-math.sign
|
|
7937
|
-
// eslint-disable-next-line es/no-math-sign -- safe
|
|
7938
|
-
module.exports = Math.sign || function sign(x) {
|
|
7939
|
-
var n = +x;
|
|
7940
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
7941
|
-
return n == 0 || n != n ? n : n < 0 ? -1 : 1;
|
|
7942
|
-
};
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
7961
|
/***/ }),
|
|
7946
7962
|
/* 254 */
|
|
7947
7963
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -8006,10 +8022,10 @@ module.exports = (!$expm1
|
|
|
8006
8022
|
// Old FF bug
|
|
8007
8023
|
|| $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
|
|
8008
8024
|
// Tor Browser bug
|
|
8009
|
-
|| $expm1(-2e-17)
|
|
8025
|
+
|| $expm1(-2e-17) !== -2e-17
|
|
8010
8026
|
) ? function expm1(x) {
|
|
8011
8027
|
var n = +x;
|
|
8012
|
-
return n
|
|
8028
|
+
return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;
|
|
8013
8029
|
} : $expm1;
|
|
8014
8030
|
|
|
8015
8031
|
|
|
@@ -8025,7 +8041,7 @@ var expm1 = __webpack_require__(256);
|
|
|
8025
8041
|
// `Math.expm1` method
|
|
8026
8042
|
// https://tc39.es/ecma262/#sec-math.expm1
|
|
8027
8043
|
// eslint-disable-next-line es/no-math-expm1 -- required for testing
|
|
8028
|
-
$({ target: 'Math', stat: true, forced: expm1
|
|
8044
|
+
$({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 });
|
|
8029
8045
|
|
|
8030
8046
|
|
|
8031
8047
|
/***/ }),
|
|
@@ -8048,7 +8064,7 @@ $({ target: 'Math', stat: true }, { fround: fround });
|
|
|
8048
8064
|
|
|
8049
8065
|
"use strict";
|
|
8050
8066
|
|
|
8051
|
-
var sign = __webpack_require__(
|
|
8067
|
+
var sign = __webpack_require__(214);
|
|
8052
8068
|
|
|
8053
8069
|
var abs = Math.abs;
|
|
8054
8070
|
var pow = Math.pow;
|
|
@@ -8073,7 +8089,7 @@ module.exports = Math.fround || function fround(x) {
|
|
|
8073
8089
|
a = (1 + EPSILON32 / EPSILON) * $abs;
|
|
8074
8090
|
result = a - (a - $abs);
|
|
8075
8091
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8076
|
-
if (result > MAX32 || result
|
|
8092
|
+
if (result > MAX32 || result !== result) return $sign * Infinity;
|
|
8077
8093
|
return $sign * result;
|
|
8078
8094
|
};
|
|
8079
8095
|
|
|
@@ -8134,7 +8150,7 @@ var fails = __webpack_require__(7);
|
|
|
8134
8150
|
var $imul = Math.imul;
|
|
8135
8151
|
|
|
8136
8152
|
var FORCED = fails(function () {
|
|
8137
|
-
return $imul(0xFFFFFFFF, 5)
|
|
8153
|
+
return $imul(0xFFFFFFFF, 5) !== -5 || $imul.length !== 2;
|
|
8138
8154
|
});
|
|
8139
8155
|
|
|
8140
8156
|
// `Math.imul` method
|
|
@@ -8190,7 +8206,7 @@ module.exports = Math.log10 || function log10(x) {
|
|
|
8190
8206
|
"use strict";
|
|
8191
8207
|
|
|
8192
8208
|
var $ = __webpack_require__(3);
|
|
8193
|
-
var log1p = __webpack_require__(
|
|
8209
|
+
var log1p = __webpack_require__(250);
|
|
8194
8210
|
|
|
8195
8211
|
// `Math.log1p` method
|
|
8196
8212
|
// https://tc39.es/ecma262/#sec-math.log1p
|
|
@@ -8224,7 +8240,7 @@ $({ target: 'Math', stat: true }, {
|
|
|
8224
8240
|
"use strict";
|
|
8225
8241
|
|
|
8226
8242
|
var $ = __webpack_require__(3);
|
|
8227
|
-
var sign = __webpack_require__(
|
|
8243
|
+
var sign = __webpack_require__(214);
|
|
8228
8244
|
|
|
8229
8245
|
// `Math.sign` method
|
|
8230
8246
|
// https://tc39.es/ecma262/#sec-math.sign
|
|
@@ -8249,7 +8265,7 @@ var E = Math.E;
|
|
|
8249
8265
|
|
|
8250
8266
|
var FORCED = fails(function () {
|
|
8251
8267
|
// eslint-disable-next-line es/no-math-sinh -- required for testing
|
|
8252
|
-
return Math.sinh(-2e-17)
|
|
8268
|
+
return Math.sinh(-2e-17) !== -2e-17;
|
|
8253
8269
|
});
|
|
8254
8270
|
|
|
8255
8271
|
// `Math.sinh` method
|
|
@@ -8281,7 +8297,7 @@ $({ target: 'Math', stat: true }, {
|
|
|
8281
8297
|
var n = +x;
|
|
8282
8298
|
var a = expm1(n);
|
|
8283
8299
|
var b = expm1(-n);
|
|
8284
|
-
return a
|
|
8300
|
+
return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n));
|
|
8285
8301
|
}
|
|
8286
8302
|
});
|
|
8287
8303
|
|
|
@@ -8582,7 +8598,7 @@ var $ = __webpack_require__(3);
|
|
|
8582
8598
|
$({ target: 'Number', stat: true }, {
|
|
8583
8599
|
isNaN: function isNaN(number) {
|
|
8584
8600
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8585
|
-
return number
|
|
8601
|
+
return number !== number;
|
|
8586
8602
|
}
|
|
8587
8603
|
});
|
|
8588
8604
|
|
|
@@ -8649,7 +8665,7 @@ var parseFloat = __webpack_require__(285);
|
|
|
8649
8665
|
// `Number.parseFloat` method
|
|
8650
8666
|
// https://tc39.es/ecma262/#sec-number.parseFloat
|
|
8651
8667
|
// eslint-disable-next-line es/no-number-parsefloat -- required for testing
|
|
8652
|
-
$({ target: 'Number', stat: true, forced: Number.parseFloat
|
|
8668
|
+
$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, {
|
|
8653
8669
|
parseFloat: parseFloat
|
|
8654
8670
|
});
|
|
8655
8671
|
|
|
@@ -8680,7 +8696,7 @@ var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
|
|
|
8680
8696
|
module.exports = FORCED ? function parseFloat(string) {
|
|
8681
8697
|
var trimmedString = trim(toString(string));
|
|
8682
8698
|
var result = $parseFloat(trimmedString);
|
|
8683
|
-
return result === 0 && charAt(trimmedString, 0)
|
|
8699
|
+
return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
|
|
8684
8700
|
} : $parseFloat;
|
|
8685
8701
|
|
|
8686
8702
|
|
|
@@ -8696,7 +8712,7 @@ var parseInt = __webpack_require__(287);
|
|
|
8696
8712
|
// `Number.parseInt` method
|
|
8697
8713
|
// https://tc39.es/ecma262/#sec-number.parseint
|
|
8698
8714
|
// eslint-disable-next-line es/no-number-parseint -- required for testing
|
|
8699
|
-
$({ target: 'Number', stat: true, forced: Number.parseInt
|
|
8715
|
+
$({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, {
|
|
8700
8716
|
parseInt: parseInt
|
|
8701
8717
|
});
|
|
8702
8718
|
|
|
@@ -8741,7 +8757,7 @@ var $ = __webpack_require__(3);
|
|
|
8741
8757
|
var uncurryThis = __webpack_require__(14);
|
|
8742
8758
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
8743
8759
|
var thisNumberValue = __webpack_require__(272);
|
|
8744
|
-
var $repeat = __webpack_require__(
|
|
8760
|
+
var $repeat = __webpack_require__(229);
|
|
8745
8761
|
var log10 = __webpack_require__(263);
|
|
8746
8762
|
var fails = __webpack_require__(7);
|
|
8747
8763
|
|
|
@@ -8850,7 +8866,7 @@ var $ = __webpack_require__(3);
|
|
|
8850
8866
|
var uncurryThis = __webpack_require__(14);
|
|
8851
8867
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
8852
8868
|
var thisNumberValue = __webpack_require__(272);
|
|
8853
|
-
var $repeat = __webpack_require__(
|
|
8869
|
+
var $repeat = __webpack_require__(229);
|
|
8854
8870
|
var fails = __webpack_require__(7);
|
|
8855
8871
|
|
|
8856
8872
|
var $RangeError = RangeError;
|
|
@@ -8932,7 +8948,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, {
|
|
|
8932
8948
|
// TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
|
|
8933
8949
|
if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits');
|
|
8934
8950
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8935
|
-
if (number
|
|
8951
|
+
if (number !== number) return 'NaN';
|
|
8936
8952
|
if (number <= -1e21 || number >= 1e21) return $String(number);
|
|
8937
8953
|
if (number < 0) {
|
|
8938
8954
|
sign = '-';
|
|
@@ -9066,11 +9082,11 @@ module.exports = !$assign || fails(function () {
|
|
|
9066
9082
|
var A = {};
|
|
9067
9083
|
var B = {};
|
|
9068
9084
|
// eslint-disable-next-line es/no-symbol -- safe
|
|
9069
|
-
var symbol = Symbol();
|
|
9085
|
+
var symbol = Symbol('assign detection');
|
|
9070
9086
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
9071
9087
|
A[symbol] = 7;
|
|
9072
9088
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
9073
|
-
return $assign({}, A)[symbol]
|
|
9089
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
9074
9090
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
9075
9091
|
var T = toObject(target);
|
|
9076
9092
|
var argumentsLength = arguments.length;
|
|
@@ -9298,10 +9314,10 @@ module.exports = {
|
|
|
9298
9314
|
"use strict";
|
|
9299
9315
|
|
|
9300
9316
|
var $ = __webpack_require__(3);
|
|
9301
|
-
var FREEZING = __webpack_require__(
|
|
9317
|
+
var FREEZING = __webpack_require__(247);
|
|
9302
9318
|
var fails = __webpack_require__(7);
|
|
9303
9319
|
var isObject = __webpack_require__(20);
|
|
9304
|
-
var onFreeze = (__webpack_require__(
|
|
9320
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9305
9321
|
|
|
9306
9322
|
// eslint-disable-next-line es/no-object-freeze -- safe
|
|
9307
9323
|
var $freeze = Object.freeze;
|
|
@@ -9481,7 +9497,7 @@ $({ target: 'Object', stat: true }, {
|
|
|
9481
9497
|
// eslint-disable-next-line es/no-object-is -- safe
|
|
9482
9498
|
module.exports = Object.is || function is(x, y) {
|
|
9483
9499
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
9484
|
-
return x === y ? x !== 0 || 1 / x === 1 / y : x
|
|
9500
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
9485
9501
|
};
|
|
9486
9502
|
|
|
9487
9503
|
|
|
@@ -9492,7 +9508,7 @@ module.exports = Object.is || function is(x, y) {
|
|
|
9492
9508
|
"use strict";
|
|
9493
9509
|
|
|
9494
9510
|
var $ = __webpack_require__(3);
|
|
9495
|
-
var $isExtensible = __webpack_require__(
|
|
9511
|
+
var $isExtensible = __webpack_require__(245);
|
|
9496
9512
|
|
|
9497
9513
|
// `Object.isExtensible` method
|
|
9498
9514
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
@@ -9512,7 +9528,7 @@ var $ = __webpack_require__(3);
|
|
|
9512
9528
|
var fails = __webpack_require__(7);
|
|
9513
9529
|
var isObject = __webpack_require__(20);
|
|
9514
9530
|
var classof = __webpack_require__(15);
|
|
9515
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
9531
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
9516
9532
|
|
|
9517
9533
|
// eslint-disable-next-line es/no-object-isfrozen -- safe
|
|
9518
9534
|
var $isFrozen = Object.isFrozen;
|
|
@@ -9524,7 +9540,7 @@ var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); })
|
|
|
9524
9540
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
9525
9541
|
isFrozen: function isFrozen(it) {
|
|
9526
9542
|
if (!isObject(it)) return true;
|
|
9527
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
9543
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
|
|
9528
9544
|
return $isFrozen ? $isFrozen(it) : false;
|
|
9529
9545
|
}
|
|
9530
9546
|
});
|
|
@@ -9540,7 +9556,7 @@ var $ = __webpack_require__(3);
|
|
|
9540
9556
|
var fails = __webpack_require__(7);
|
|
9541
9557
|
var isObject = __webpack_require__(20);
|
|
9542
9558
|
var classof = __webpack_require__(15);
|
|
9543
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
9559
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
9544
9560
|
|
|
9545
9561
|
// eslint-disable-next-line es/no-object-issealed -- safe
|
|
9546
9562
|
var $isSealed = Object.isSealed;
|
|
@@ -9552,7 +9568,7 @@ var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); })
|
|
|
9552
9568
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
9553
9569
|
isSealed: function isSealed(it) {
|
|
9554
9570
|
if (!isObject(it)) return true;
|
|
9555
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
9571
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
|
|
9556
9572
|
return $isSealed ? $isSealed(it) : false;
|
|
9557
9573
|
}
|
|
9558
9574
|
});
|
|
@@ -9648,8 +9664,8 @@ if (DESCRIPTORS) {
|
|
|
9648
9664
|
|
|
9649
9665
|
var $ = __webpack_require__(3);
|
|
9650
9666
|
var isObject = __webpack_require__(20);
|
|
9651
|
-
var onFreeze = (__webpack_require__(
|
|
9652
|
-
var FREEZING = __webpack_require__(
|
|
9667
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9668
|
+
var FREEZING = __webpack_require__(247);
|
|
9653
9669
|
var fails = __webpack_require__(7);
|
|
9654
9670
|
|
|
9655
9671
|
// eslint-disable-next-line es/no-object-preventextensions -- safe
|
|
@@ -9709,8 +9725,8 @@ if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototyp
|
|
|
9709
9725
|
|
|
9710
9726
|
var $ = __webpack_require__(3);
|
|
9711
9727
|
var isObject = __webpack_require__(20);
|
|
9712
|
-
var onFreeze = (__webpack_require__(
|
|
9713
|
-
var FREEZING = __webpack_require__(
|
|
9728
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9729
|
+
var FREEZING = __webpack_require__(247);
|
|
9714
9730
|
var fails = __webpack_require__(7);
|
|
9715
9731
|
|
|
9716
9732
|
// eslint-disable-next-line es/no-object-seal -- safe
|
|
@@ -9804,7 +9820,7 @@ var $parseFloat = __webpack_require__(285);
|
|
|
9804
9820
|
|
|
9805
9821
|
// `parseFloat` method
|
|
9806
9822
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
9807
|
-
$({ global: true, forced: parseFloat
|
|
9823
|
+
$({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
9808
9824
|
parseFloat: $parseFloat
|
|
9809
9825
|
});
|
|
9810
9826
|
|
|
@@ -9820,7 +9836,7 @@ var $parseInt = __webpack_require__(287);
|
|
|
9820
9836
|
|
|
9821
9837
|
// `parseInt` method
|
|
9822
9838
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
9823
|
-
$({ global: true, forced: parseInt
|
|
9839
|
+
$({ global: true, forced: parseInt !== $parseInt }, {
|
|
9824
9840
|
parseInt: $parseInt
|
|
9825
9841
|
});
|
|
9826
9842
|
|
|
@@ -9859,7 +9875,7 @@ var aCallable = __webpack_require__(31);
|
|
|
9859
9875
|
var isCallable = __webpack_require__(21);
|
|
9860
9876
|
var isObject = __webpack_require__(20);
|
|
9861
9877
|
var anInstance = __webpack_require__(211);
|
|
9862
|
-
var speciesConstructor = __webpack_require__(
|
|
9878
|
+
var speciesConstructor = __webpack_require__(218);
|
|
9863
9879
|
var task = (__webpack_require__(327).set);
|
|
9864
9880
|
var microtask = __webpack_require__(330);
|
|
9865
9881
|
var hostReportErrors = __webpack_require__(334);
|
|
@@ -9904,7 +9920,7 @@ var isThenable = function (it) {
|
|
|
9904
9920
|
|
|
9905
9921
|
var callReaction = function (reaction, state) {
|
|
9906
9922
|
var value = state.value;
|
|
9907
|
-
var ok = state.state
|
|
9923
|
+
var ok = state.state === FULFILLED;
|
|
9908
9924
|
var handler = ok ? reaction.ok : reaction.fail;
|
|
9909
9925
|
var resolve = reaction.resolve;
|
|
9910
9926
|
var reject = reaction.reject;
|
|
@@ -10080,7 +10096,7 @@ if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
|
10080
10096
|
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
10081
10097
|
reaction.fail = isCallable(onRejected) && onRejected;
|
|
10082
10098
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
10083
|
-
if (state.state
|
|
10099
|
+
if (state.state === PENDING) state.reactions.add(reaction);
|
|
10084
10100
|
else microtask(function () {
|
|
10085
10101
|
callReaction(reaction, state);
|
|
10086
10102
|
});
|
|
@@ -10436,7 +10452,7 @@ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
10436
10452
|
module.exports = function (a, b) {
|
|
10437
10453
|
try {
|
|
10438
10454
|
// eslint-disable-next-line no-console -- safe
|
|
10439
|
-
arguments.length
|
|
10455
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
|
10440
10456
|
} catch (error) { /* empty */ }
|
|
10441
10457
|
};
|
|
10442
10458
|
|
|
@@ -10886,7 +10902,7 @@ var NativePromiseConstructor = __webpack_require__(336);
|
|
|
10886
10902
|
var fails = __webpack_require__(7);
|
|
10887
10903
|
var getBuiltIn = __webpack_require__(24);
|
|
10888
10904
|
var isCallable = __webpack_require__(21);
|
|
10889
|
-
var speciesConstructor = __webpack_require__(
|
|
10905
|
+
var speciesConstructor = __webpack_require__(218);
|
|
10890
10906
|
var promiseResolve = __webpack_require__(347);
|
|
10891
10907
|
var defineBuiltIn = __webpack_require__(48);
|
|
10892
10908
|
|
|
@@ -10960,8 +10976,8 @@ $({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {
|
|
|
10960
10976
|
var $ = __webpack_require__(3);
|
|
10961
10977
|
var getBuiltIn = __webpack_require__(24);
|
|
10962
10978
|
var apply = __webpack_require__(96);
|
|
10963
|
-
var bind = __webpack_require__(
|
|
10964
|
-
var aConstructor = __webpack_require__(
|
|
10979
|
+
var bind = __webpack_require__(236);
|
|
10980
|
+
var aConstructor = __webpack_require__(219);
|
|
10965
10981
|
var anObject = __webpack_require__(47);
|
|
10966
10982
|
var isObject = __webpack_require__(20);
|
|
10967
10983
|
var create = __webpack_require__(72);
|
|
@@ -10992,7 +11008,7 @@ $({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
|
|
|
10992
11008
|
anObject(args);
|
|
10993
11009
|
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
|
|
10994
11010
|
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
|
|
10995
|
-
if (Target
|
|
11011
|
+
if (Target === newTarget) {
|
|
10996
11012
|
// w/o altered newTarget, optimization for 0-4 arguments
|
|
10997
11013
|
switch (args.length) {
|
|
10998
11014
|
case 0: return new Target();
|
|
@@ -11181,7 +11197,7 @@ $({ target: 'Reflect', stat: true }, {
|
|
|
11181
11197
|
|
|
11182
11198
|
var $ = __webpack_require__(3);
|
|
11183
11199
|
var anObject = __webpack_require__(47);
|
|
11184
|
-
var $isExtensible = __webpack_require__(
|
|
11200
|
+
var $isExtensible = __webpack_require__(245);
|
|
11185
11201
|
|
|
11186
11202
|
// `Reflect.isExtensible` method
|
|
11187
11203
|
// https://tc39.es/ecma262/#sec-reflect.isextensible
|
|
@@ -11218,7 +11234,7 @@ $({ target: 'Reflect', stat: true }, {
|
|
|
11218
11234
|
var $ = __webpack_require__(3);
|
|
11219
11235
|
var getBuiltIn = __webpack_require__(24);
|
|
11220
11236
|
var anObject = __webpack_require__(47);
|
|
11221
|
-
var FREEZING = __webpack_require__(
|
|
11237
|
+
var FREEZING = __webpack_require__(247);
|
|
11222
11238
|
|
|
11223
11239
|
// `Reflect.preventExtensions` method
|
|
11224
11240
|
// https://tc39.es/ecma262/#sec-reflect.preventextensions
|
|
@@ -11389,7 +11405,7 @@ var BASE_FORCED = DESCRIPTORS &&
|
|
|
11389
11405
|
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
11390
11406
|
re2[MATCH] = false;
|
|
11391
11407
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
11392
|
-
return NativeRegExp(re1)
|
|
11408
|
+
return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
|
|
11393
11409
|
}));
|
|
11394
11410
|
|
|
11395
11411
|
var handleDotAll = function (string) {
|
|
@@ -11551,7 +11567,7 @@ var MATCH = wellKnownSymbol('match');
|
|
|
11551
11567
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
11552
11568
|
module.exports = function (it) {
|
|
11553
11569
|
var isRegExp;
|
|
11554
|
-
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it)
|
|
11570
|
+
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
|
|
11555
11571
|
};
|
|
11556
11572
|
|
|
11557
11573
|
|
|
@@ -11615,7 +11631,7 @@ var $RegExp = global.RegExp;
|
|
|
11615
11631
|
var UNSUPPORTED_Y = fails(function () {
|
|
11616
11632
|
var re = $RegExp('a', 'y');
|
|
11617
11633
|
re.lastIndex = 2;
|
|
11618
|
-
return re.exec('abcd')
|
|
11634
|
+
return re.exec('abcd') !== null;
|
|
11619
11635
|
});
|
|
11620
11636
|
|
|
11621
11637
|
// UC Browser bug
|
|
@@ -11628,7 +11644,7 @@ var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
|
|
|
11628
11644
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
11629
11645
|
var re = $RegExp('^r', 'gy');
|
|
11630
11646
|
re.lastIndex = 2;
|
|
11631
|
-
return re.exec('str')
|
|
11647
|
+
return re.exec('str') !== null;
|
|
11632
11648
|
});
|
|
11633
11649
|
|
|
11634
11650
|
module.exports = {
|
|
@@ -12003,9 +12019,9 @@ var TO_STRING = 'toString';
|
|
|
12003
12019
|
var RegExpPrototype = RegExp.prototype;
|
|
12004
12020
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
12005
12021
|
|
|
12006
|
-
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' })
|
|
12022
|
+
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
12007
12023
|
// FF44- RegExp#toString has a wrong name
|
|
12008
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name
|
|
12024
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
12009
12025
|
|
|
12010
12026
|
// `RegExp.prototype.toString` method
|
|
12011
12027
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
@@ -12035,8 +12051,8 @@ __webpack_require__(381);
|
|
|
12035
12051
|
|
|
12036
12052
|
"use strict";
|
|
12037
12053
|
|
|
12038
|
-
var collection = __webpack_require__(
|
|
12039
|
-
var collectionStrong = __webpack_require__(
|
|
12054
|
+
var collection = __webpack_require__(243);
|
|
12055
|
+
var collectionStrong = __webpack_require__(248);
|
|
12040
12056
|
|
|
12041
12057
|
// `Set` constructor
|
|
12042
12058
|
// https://tc39.es/ecma262/#sec-set-objects
|
|
@@ -12242,7 +12258,7 @@ var $fromCodePoint = String.fromCodePoint;
|
|
|
12242
12258
|
var join = uncurryThis([].join);
|
|
12243
12259
|
|
|
12244
12260
|
// length should be 1, old FF problem
|
|
12245
|
-
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length
|
|
12261
|
+
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;
|
|
12246
12262
|
|
|
12247
12263
|
// `String.fromCodePoint` method
|
|
12248
12264
|
// https://tc39.es/ecma262/#sec-string.fromcodepoint
|
|
@@ -12314,9 +12330,9 @@ $({ target: 'String', proto: true }, {
|
|
|
12314
12330
|
for (var i = 0; i < length; i++) {
|
|
12315
12331
|
var charCode = charCodeAt(S, i);
|
|
12316
12332
|
// single UTF-16 code unit
|
|
12317
|
-
if ((charCode & 0xF800)
|
|
12333
|
+
if ((charCode & 0xF800) !== 0xD800) continue;
|
|
12318
12334
|
// unpaired surrogate
|
|
12319
|
-
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00)
|
|
12335
|
+
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false;
|
|
12320
12336
|
} return true;
|
|
12321
12337
|
}
|
|
12322
12338
|
});
|
|
@@ -12440,7 +12456,7 @@ module.exports = function (KEY, exec, FORCED, SHAM) {
|
|
|
12440
12456
|
// String methods call symbol-named RegEp methods
|
|
12441
12457
|
var O = {};
|
|
12442
12458
|
O[SYMBOL] = function () { return 7; };
|
|
12443
|
-
return ''[KEY](O)
|
|
12459
|
+
return ''[KEY](O) !== 7;
|
|
12444
12460
|
});
|
|
12445
12461
|
|
|
12446
12462
|
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
@@ -12563,7 +12579,7 @@ var getMethod = __webpack_require__(30);
|
|
|
12563
12579
|
var defineBuiltIn = __webpack_require__(48);
|
|
12564
12580
|
var fails = __webpack_require__(7);
|
|
12565
12581
|
var wellKnownSymbol = __webpack_require__(34);
|
|
12566
|
-
var speciesConstructor = __webpack_require__(
|
|
12582
|
+
var speciesConstructor = __webpack_require__(218);
|
|
12567
12583
|
var advanceStringIndex = __webpack_require__(394);
|
|
12568
12584
|
var regExpExec = __webpack_require__(395);
|
|
12569
12585
|
var InternalStateModule = __webpack_require__(52);
|
|
@@ -12636,7 +12652,7 @@ $({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
|
|
|
12636
12652
|
}
|
|
12637
12653
|
if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
|
|
12638
12654
|
matcher = getMethod(regexp, MATCH_ALL);
|
|
12639
|
-
if (matcher === undefined && IS_PURE && classof(regexp)
|
|
12655
|
+
if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll;
|
|
12640
12656
|
if (matcher) return call(matcher, regexp, O);
|
|
12641
12657
|
} else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
|
|
12642
12658
|
S = toString(O);
|
|
@@ -12655,7 +12671,7 @@ IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_
|
|
|
12655
12671
|
"use strict";
|
|
12656
12672
|
|
|
12657
12673
|
var $ = __webpack_require__(3);
|
|
12658
|
-
var $padEnd = (__webpack_require__(
|
|
12674
|
+
var $padEnd = (__webpack_require__(228).end);
|
|
12659
12675
|
var WEBKIT_BUG = __webpack_require__(398);
|
|
12660
12676
|
|
|
12661
12677
|
// `String.prototype.padEnd` method
|
|
@@ -12686,7 +12702,7 @@ module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari
|
|
|
12686
12702
|
"use strict";
|
|
12687
12703
|
|
|
12688
12704
|
var $ = __webpack_require__(3);
|
|
12689
|
-
var $padStart = (__webpack_require__(
|
|
12705
|
+
var $padStart = (__webpack_require__(228).start);
|
|
12690
12706
|
var WEBKIT_BUG = __webpack_require__(398);
|
|
12691
12707
|
|
|
12692
12708
|
// `String.prototype.padStart` method
|
|
@@ -12740,7 +12756,7 @@ $({ target: 'String', stat: true }, {
|
|
|
12740
12756
|
"use strict";
|
|
12741
12757
|
|
|
12742
12758
|
var $ = __webpack_require__(3);
|
|
12743
|
-
var repeat = __webpack_require__(
|
|
12759
|
+
var repeat = __webpack_require__(229);
|
|
12744
12760
|
|
|
12745
12761
|
// `String.prototype.repeat` method
|
|
12746
12762
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -12844,13 +12860,16 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12844
12860
|
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
12845
12861
|
|
|
12846
12862
|
var global = rx.global;
|
|
12863
|
+
var fullUnicode;
|
|
12847
12864
|
if (global) {
|
|
12848
|
-
|
|
12865
|
+
fullUnicode = rx.unicode;
|
|
12849
12866
|
rx.lastIndex = 0;
|
|
12850
12867
|
}
|
|
12868
|
+
|
|
12851
12869
|
var results = [];
|
|
12870
|
+
var result;
|
|
12852
12871
|
while (true) {
|
|
12853
|
-
|
|
12872
|
+
result = regExpExec(rx, S);
|
|
12854
12873
|
if (result === null) break;
|
|
12855
12874
|
|
|
12856
12875
|
push(results, result);
|
|
@@ -12868,6 +12887,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12868
12887
|
var matched = toString(result[0]);
|
|
12869
12888
|
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
12870
12889
|
var captures = [];
|
|
12890
|
+
var replacement;
|
|
12871
12891
|
// NOTE: This is equivalent to
|
|
12872
12892
|
// captures = result.slice(1).map(maybeToString)
|
|
12873
12893
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
@@ -12878,7 +12898,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12878
12898
|
if (functionalReplace) {
|
|
12879
12899
|
var replacerArgs = concat([matched], captures, position, S);
|
|
12880
12900
|
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
12881
|
-
|
|
12901
|
+
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
12882
12902
|
} else {
|
|
12883
12903
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
12884
12904
|
}
|
|
@@ -12887,6 +12907,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12887
12907
|
nextSourcePosition = position + matched.length;
|
|
12888
12908
|
}
|
|
12889
12909
|
}
|
|
12910
|
+
|
|
12890
12911
|
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
12891
12912
|
}
|
|
12892
12913
|
];
|
|
@@ -13083,7 +13104,7 @@ var anObject = __webpack_require__(47);
|
|
|
13083
13104
|
var isNullOrUndefined = __webpack_require__(17);
|
|
13084
13105
|
var isRegExp = __webpack_require__(367);
|
|
13085
13106
|
var requireObjectCoercible = __webpack_require__(16);
|
|
13086
|
-
var speciesConstructor = __webpack_require__(
|
|
13107
|
+
var speciesConstructor = __webpack_require__(218);
|
|
13087
13108
|
var advanceStringIndex = __webpack_require__(394);
|
|
13088
13109
|
var toLength = __webpack_require__(65);
|
|
13089
13110
|
var toString = __webpack_require__(69);
|
|
@@ -13117,11 +13138,11 @@ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
|
13117
13138
|
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
|
|
13118
13139
|
var internalSplit;
|
|
13119
13140
|
if (
|
|
13120
|
-
'abbc'.split(/(b)*/)[1]
|
|
13141
|
+
'abbc'.split(/(b)*/)[1] === 'c' ||
|
|
13121
13142
|
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
13122
|
-
'test'.split(/(?:)/, -1).length
|
|
13123
|
-
'ab'.split(/(?:ab)*/).length
|
|
13124
|
-
'.'.split(/(.?)(.?)/).length
|
|
13143
|
+
'test'.split(/(?:)/, -1).length !== 4 ||
|
|
13144
|
+
'ab'.split(/(?:ab)*/).length !== 2 ||
|
|
13145
|
+
'.'.split(/(.?)(.?)/).length !== 4 ||
|
|
13125
13146
|
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
13126
13147
|
'.'.split(/()()/).length > 1 ||
|
|
13127
13148
|
''.split(/.?/).length
|
|
@@ -13350,9 +13371,9 @@ $({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {
|
|
|
13350
13371
|
for (var i = 0; i < length; i++) {
|
|
13351
13372
|
var charCode = charCodeAt(S, i);
|
|
13352
13373
|
// single UTF-16 code unit
|
|
13353
|
-
if ((charCode & 0xF800)
|
|
13374
|
+
if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i);
|
|
13354
13375
|
// unpaired surrogate
|
|
13355
|
-
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00)
|
|
13376
|
+
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER;
|
|
13356
13377
|
// surrogate pair
|
|
13357
13378
|
else {
|
|
13358
13379
|
result[i] = charAt(S, i);
|
|
@@ -13829,7 +13850,7 @@ var global = __webpack_require__(4);
|
|
|
13829
13850
|
var call = __webpack_require__(8);
|
|
13830
13851
|
var DESCRIPTORS = __webpack_require__(6);
|
|
13831
13852
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
13832
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
13853
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
13833
13854
|
var ArrayBufferModule = __webpack_require__(208);
|
|
13834
13855
|
var anInstance = __webpack_require__(211);
|
|
13835
13856
|
var createPropertyDescriptor = __webpack_require__(11);
|
|
@@ -13895,7 +13916,7 @@ var addGetter = function (it, key) {
|
|
|
13895
13916
|
|
|
13896
13917
|
var isArrayBuffer = function (it) {
|
|
13897
13918
|
var klass;
|
|
13898
|
-
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it))
|
|
13919
|
+
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';
|
|
13899
13920
|
};
|
|
13900
13921
|
|
|
13901
13922
|
var isTypedArrayIndex = function (target, key) {
|
|
@@ -14051,7 +14072,7 @@ if (DESCRIPTORS) {
|
|
|
14051
14072
|
createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
|
|
14052
14073
|
}
|
|
14053
14074
|
|
|
14054
|
-
var FORCED = TypedArrayConstructor
|
|
14075
|
+
var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;
|
|
14055
14076
|
|
|
14056
14077
|
exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
|
|
14057
14078
|
|
|
@@ -14080,7 +14101,7 @@ if (DESCRIPTORS) {
|
|
|
14080
14101
|
var global = __webpack_require__(4);
|
|
14081
14102
|
var fails = __webpack_require__(7);
|
|
14082
14103
|
var checkCorrectnessOfIteration = __webpack_require__(165);
|
|
14083
|
-
var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(
|
|
14104
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(216).NATIVE_ARRAY_BUFFER_VIEWS);
|
|
14084
14105
|
|
|
14085
14106
|
var ArrayBuffer = global.ArrayBuffer;
|
|
14086
14107
|
var Int8Array = global.Int8Array;
|
|
@@ -14156,14 +14177,14 @@ module.exports = function (it) {
|
|
|
14156
14177
|
|
|
14157
14178
|
var bind = __webpack_require__(86);
|
|
14158
14179
|
var call = __webpack_require__(8);
|
|
14159
|
-
var aConstructor = __webpack_require__(
|
|
14180
|
+
var aConstructor = __webpack_require__(219);
|
|
14160
14181
|
var toObject = __webpack_require__(40);
|
|
14161
14182
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14162
14183
|
var getIterator = __webpack_require__(135);
|
|
14163
14184
|
var getIteratorMethod = __webpack_require__(136);
|
|
14164
14185
|
var isArrayIteratorMethod = __webpack_require__(133);
|
|
14165
14186
|
var isBigIntArray = __webpack_require__(440);
|
|
14166
|
-
var aTypedArrayConstructor = (__webpack_require__(
|
|
14187
|
+
var aTypedArrayConstructor = (__webpack_require__(216).aTypedArrayConstructor);
|
|
14167
14188
|
var toBigInt = __webpack_require__(441);
|
|
14168
14189
|
|
|
14169
14190
|
module.exports = function from(source /* , mapfn, thisArg */) {
|
|
@@ -14207,7 +14228,7 @@ var classof = __webpack_require__(70);
|
|
|
14207
14228
|
|
|
14208
14229
|
module.exports = function (it) {
|
|
14209
14230
|
var klass = classof(it);
|
|
14210
|
-
return klass
|
|
14231
|
+
return klass === 'BigInt64Array' || klass === 'BigUint64Array';
|
|
14211
14232
|
};
|
|
14212
14233
|
|
|
14213
14234
|
|
|
@@ -14373,7 +14394,7 @@ createTypedArrayConstructor('Uint32', function (init) {
|
|
|
14373
14394
|
|
|
14374
14395
|
"use strict";
|
|
14375
14396
|
|
|
14376
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14397
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14377
14398
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14378
14399
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
14379
14400
|
|
|
@@ -14398,7 +14419,7 @@ exportTypedArrayMethod('at', function at(index) {
|
|
|
14398
14419
|
"use strict";
|
|
14399
14420
|
|
|
14400
14421
|
var uncurryThis = __webpack_require__(14);
|
|
14401
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14422
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14402
14423
|
var $ArrayCopyWithin = __webpack_require__(145);
|
|
14403
14424
|
|
|
14404
14425
|
var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);
|
|
@@ -14418,7 +14439,7 @@ exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end
|
|
|
14418
14439
|
|
|
14419
14440
|
"use strict";
|
|
14420
14441
|
|
|
14421
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14442
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14422
14443
|
var $every = (__webpack_require__(85).every);
|
|
14423
14444
|
|
|
14424
14445
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14437,7 +14458,7 @@ exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {
|
|
|
14437
14458
|
|
|
14438
14459
|
"use strict";
|
|
14439
14460
|
|
|
14440
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14461
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14441
14462
|
var $fill = __webpack_require__(150);
|
|
14442
14463
|
var toBigInt = __webpack_require__(441);
|
|
14443
14464
|
var classof = __webpack_require__(70);
|
|
@@ -14473,7 +14494,7 @@ exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
|
|
|
14473
14494
|
|
|
14474
14495
|
"use strict";
|
|
14475
14496
|
|
|
14476
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14497
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14477
14498
|
var $filter = (__webpack_require__(85).filter);
|
|
14478
14499
|
var fromSpeciesAndList = __webpack_require__(455);
|
|
14479
14500
|
|
|
@@ -14508,8 +14529,8 @@ module.exports = function (instance, list) {
|
|
|
14508
14529
|
|
|
14509
14530
|
"use strict";
|
|
14510
14531
|
|
|
14511
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14512
|
-
var speciesConstructor = __webpack_require__(
|
|
14532
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14533
|
+
var speciesConstructor = __webpack_require__(218);
|
|
14513
14534
|
|
|
14514
14535
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
|
14515
14536
|
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
|
|
@@ -14527,7 +14548,7 @@ module.exports = function (originalArray) {
|
|
|
14527
14548
|
|
|
14528
14549
|
"use strict";
|
|
14529
14550
|
|
|
14530
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14551
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14531
14552
|
var $find = (__webpack_require__(85).find);
|
|
14532
14553
|
|
|
14533
14554
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14546,7 +14567,7 @@ exportTypedArrayMethod('find', function find(predicate /* , thisArg */) {
|
|
|
14546
14567
|
|
|
14547
14568
|
"use strict";
|
|
14548
14569
|
|
|
14549
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14570
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14550
14571
|
var $findIndex = (__webpack_require__(85).findIndex);
|
|
14551
14572
|
|
|
14552
14573
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14565,7 +14586,7 @@ exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */
|
|
|
14565
14586
|
|
|
14566
14587
|
"use strict";
|
|
14567
14588
|
|
|
14568
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14589
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14569
14590
|
var $findLast = (__webpack_require__(155).findLast);
|
|
14570
14591
|
|
|
14571
14592
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14584,7 +14605,7 @@ exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */)
|
|
|
14584
14605
|
|
|
14585
14606
|
"use strict";
|
|
14586
14607
|
|
|
14587
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14608
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14588
14609
|
var $findLastIndex = (__webpack_require__(155).findLastIndex);
|
|
14589
14610
|
|
|
14590
14611
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14603,7 +14624,7 @@ exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , th
|
|
|
14603
14624
|
|
|
14604
14625
|
"use strict";
|
|
14605
14626
|
|
|
14606
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14627
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14607
14628
|
var $forEach = (__webpack_require__(85).forEach);
|
|
14608
14629
|
|
|
14609
14630
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14623,7 +14644,7 @@ exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {
|
|
|
14623
14644
|
"use strict";
|
|
14624
14645
|
|
|
14625
14646
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
14626
|
-
var exportTypedArrayStaticMethod = (__webpack_require__(
|
|
14647
|
+
var exportTypedArrayStaticMethod = (__webpack_require__(216).exportTypedArrayStaticMethod);
|
|
14627
14648
|
var typedArrayFrom = __webpack_require__(439);
|
|
14628
14649
|
|
|
14629
14650
|
// `%TypedArray%.from` method
|
|
@@ -14637,7 +14658,7 @@ exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_R
|
|
|
14637
14658
|
|
|
14638
14659
|
"use strict";
|
|
14639
14660
|
|
|
14640
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14661
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14641
14662
|
var $includes = (__webpack_require__(60).includes);
|
|
14642
14663
|
|
|
14643
14664
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14656,7 +14677,7 @@ exportTypedArrayMethod('includes', function includes(searchElement /* , fromInde
|
|
|
14656
14677
|
|
|
14657
14678
|
"use strict";
|
|
14658
14679
|
|
|
14659
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14680
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14660
14681
|
var $indexOf = (__webpack_require__(60).indexOf);
|
|
14661
14682
|
|
|
14662
14683
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14678,7 +14699,7 @@ exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex
|
|
|
14678
14699
|
var global = __webpack_require__(4);
|
|
14679
14700
|
var fails = __webpack_require__(7);
|
|
14680
14701
|
var uncurryThis = __webpack_require__(14);
|
|
14681
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14702
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14682
14703
|
var ArrayIterators = __webpack_require__(169);
|
|
14683
14704
|
var wellKnownSymbol = __webpack_require__(34);
|
|
14684
14705
|
|
|
@@ -14728,7 +14749,7 @@ exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUE
|
|
|
14728
14749
|
|
|
14729
14750
|
"use strict";
|
|
14730
14751
|
|
|
14731
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14752
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14732
14753
|
var uncurryThis = __webpack_require__(14);
|
|
14733
14754
|
|
|
14734
14755
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14748,7 +14769,7 @@ exportTypedArrayMethod('join', function join(separator) {
|
|
|
14748
14769
|
|
|
14749
14770
|
"use strict";
|
|
14750
14771
|
|
|
14751
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14772
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14752
14773
|
var apply = __webpack_require__(96);
|
|
14753
14774
|
var $lastIndexOf = __webpack_require__(176);
|
|
14754
14775
|
|
|
@@ -14769,7 +14790,7 @@ exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fr
|
|
|
14769
14790
|
|
|
14770
14791
|
"use strict";
|
|
14771
14792
|
|
|
14772
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14793
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14773
14794
|
var $map = (__webpack_require__(85).map);
|
|
14774
14795
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
14775
14796
|
|
|
@@ -14791,7 +14812,7 @@ exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {
|
|
|
14791
14812
|
|
|
14792
14813
|
"use strict";
|
|
14793
14814
|
|
|
14794
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14815
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14795
14816
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
14796
14817
|
|
|
14797
14818
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
|
@@ -14814,7 +14835,7 @@ exportTypedArrayStaticMethod('of', function of(/* ...items */) {
|
|
|
14814
14835
|
|
|
14815
14836
|
"use strict";
|
|
14816
14837
|
|
|
14817
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14838
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14818
14839
|
var $reduce = (__webpack_require__(182).left);
|
|
14819
14840
|
|
|
14820
14841
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14834,7 +14855,7 @@ exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */
|
|
|
14834
14855
|
|
|
14835
14856
|
"use strict";
|
|
14836
14857
|
|
|
14837
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14858
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14838
14859
|
var $reduceRight = (__webpack_require__(182).right);
|
|
14839
14860
|
|
|
14840
14861
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14854,7 +14875,7 @@ exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initi
|
|
|
14854
14875
|
|
|
14855
14876
|
"use strict";
|
|
14856
14877
|
|
|
14857
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14878
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14858
14879
|
|
|
14859
14880
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
14860
14881
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -14884,7 +14905,7 @@ exportTypedArrayMethod('reverse', function reverse() {
|
|
|
14884
14905
|
|
|
14885
14906
|
var global = __webpack_require__(4);
|
|
14886
14907
|
var call = __webpack_require__(8);
|
|
14887
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14908
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14888
14909
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14889
14910
|
var toOffset = __webpack_require__(436);
|
|
14890
14911
|
var toIndexedObject = __webpack_require__(40);
|
|
@@ -14933,7 +14954,7 @@ exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
|
|
|
14933
14954
|
|
|
14934
14955
|
"use strict";
|
|
14935
14956
|
|
|
14936
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14957
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14937
14958
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
14938
14959
|
var fails = __webpack_require__(7);
|
|
14939
14960
|
var arraySlice = __webpack_require__(97);
|
|
@@ -14965,7 +14986,7 @@ exportTypedArrayMethod('slice', function slice(start, end) {
|
|
|
14965
14986
|
|
|
14966
14987
|
"use strict";
|
|
14967
14988
|
|
|
14968
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14989
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14969
14990
|
var $some = (__webpack_require__(85).some);
|
|
14970
14991
|
|
|
14971
14992
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14989,7 +15010,7 @@ var uncurryThis = __webpack_require__(87);
|
|
|
14989
15010
|
var fails = __webpack_require__(7);
|
|
14990
15011
|
var aCallable = __webpack_require__(31);
|
|
14991
15012
|
var internalSort = __webpack_require__(189);
|
|
14992
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15013
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14993
15014
|
var FF = __webpack_require__(190);
|
|
14994
15015
|
var IE_OR_EDGE = __webpack_require__(191);
|
|
14995
15016
|
var V8 = __webpack_require__(28);
|
|
@@ -15061,7 +15082,7 @@ exportTypedArrayMethod('sort', function sort(comparefn) {
|
|
|
15061
15082
|
|
|
15062
15083
|
"use strict";
|
|
15063
15084
|
|
|
15064
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15085
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15065
15086
|
var toLength = __webpack_require__(65);
|
|
15066
15087
|
var toAbsoluteIndex = __webpack_require__(61);
|
|
15067
15088
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
@@ -15092,7 +15113,7 @@ exportTypedArrayMethod('subarray', function subarray(begin, end) {
|
|
|
15092
15113
|
|
|
15093
15114
|
var global = __webpack_require__(4);
|
|
15094
15115
|
var apply = __webpack_require__(96);
|
|
15095
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15116
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15096
15117
|
var fails = __webpack_require__(7);
|
|
15097
15118
|
var arraySlice = __webpack_require__(97);
|
|
15098
15119
|
|
|
@@ -15107,7 +15128,7 @@ var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
|
|
|
15107
15128
|
});
|
|
15108
15129
|
|
|
15109
15130
|
var FORCED = fails(function () {
|
|
15110
|
-
return [1, 2].toLocaleString()
|
|
15131
|
+
return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();
|
|
15111
15132
|
}) || !fails(function () {
|
|
15112
15133
|
Int8Array.prototype.toLocaleString.call([1, 2]);
|
|
15113
15134
|
});
|
|
@@ -15130,7 +15151,7 @@ exportTypedArrayMethod('toLocaleString', function toLocaleString() {
|
|
|
15130
15151
|
"use strict";
|
|
15131
15152
|
|
|
15132
15153
|
var arrayToReversed = __webpack_require__(197);
|
|
15133
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15154
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15134
15155
|
|
|
15135
15156
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
15136
15157
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -15149,7 +15170,7 @@ exportTypedArrayMethod('toReversed', function toReversed() {
|
|
|
15149
15170
|
|
|
15150
15171
|
"use strict";
|
|
15151
15172
|
|
|
15152
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15173
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15153
15174
|
var uncurryThis = __webpack_require__(14);
|
|
15154
15175
|
var aCallable = __webpack_require__(31);
|
|
15155
15176
|
var arrayFromConstructorAndList = __webpack_require__(199);
|
|
@@ -15175,7 +15196,7 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
|
|
|
15175
15196
|
|
|
15176
15197
|
"use strict";
|
|
15177
15198
|
|
|
15178
|
-
var exportTypedArrayMethod = (__webpack_require__(
|
|
15199
|
+
var exportTypedArrayMethod = (__webpack_require__(216).exportTypedArrayMethod);
|
|
15179
15200
|
var fails = __webpack_require__(7);
|
|
15180
15201
|
var global = __webpack_require__(4);
|
|
15181
15202
|
var uncurryThis = __webpack_require__(14);
|
|
@@ -15191,7 +15212,7 @@ if (fails(function () { arrayToString.call({}); })) {
|
|
|
15191
15212
|
};
|
|
15192
15213
|
}
|
|
15193
15214
|
|
|
15194
|
-
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString
|
|
15215
|
+
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;
|
|
15195
15216
|
|
|
15196
15217
|
// `%TypedArray%.prototype.toString` method
|
|
15197
15218
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
|
|
@@ -15205,7 +15226,7 @@ exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
|
|
|
15205
15226
|
"use strict";
|
|
15206
15227
|
|
|
15207
15228
|
var arrayWith = __webpack_require__(206);
|
|
15208
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15229
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15209
15230
|
var isBigIntArray = __webpack_require__(440);
|
|
15210
15231
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
15211
15232
|
var toBigInt = __webpack_require__(441);
|
|
@@ -15303,12 +15324,12 @@ __webpack_require__(485);
|
|
|
15303
15324
|
|
|
15304
15325
|
"use strict";
|
|
15305
15326
|
|
|
15306
|
-
var FREEZING = __webpack_require__(
|
|
15327
|
+
var FREEZING = __webpack_require__(247);
|
|
15307
15328
|
var global = __webpack_require__(4);
|
|
15308
15329
|
var uncurryThis = __webpack_require__(14);
|
|
15309
15330
|
var defineBuiltIns = __webpack_require__(210);
|
|
15310
|
-
var InternalMetadataModule = __webpack_require__(
|
|
15311
|
-
var collection = __webpack_require__(
|
|
15331
|
+
var InternalMetadataModule = __webpack_require__(244);
|
|
15332
|
+
var collection = __webpack_require__(243);
|
|
15312
15333
|
var collectionWeak = __webpack_require__(486);
|
|
15313
15334
|
var isObject = __webpack_require__(20);
|
|
15314
15335
|
var enforceInternalState = (__webpack_require__(52).enforce);
|
|
@@ -15405,8 +15426,8 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) {
|
|
|
15405
15426
|
else if (isSealed(key)) arrayIntegrityLevel = SEALED;
|
|
15406
15427
|
}
|
|
15407
15428
|
nativeSet(this, key, value);
|
|
15408
|
-
if (arrayIntegrityLevel
|
|
15409
|
-
if (arrayIntegrityLevel
|
|
15429
|
+
if (arrayIntegrityLevel === FROZEN) freeze(key);
|
|
15430
|
+
if (arrayIntegrityLevel === SEALED) seal(key);
|
|
15410
15431
|
return this;
|
|
15411
15432
|
}
|
|
15412
15433
|
});
|
|
@@ -15421,7 +15442,7 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) {
|
|
|
15421
15442
|
|
|
15422
15443
|
var uncurryThis = __webpack_require__(14);
|
|
15423
15444
|
var defineBuiltIns = __webpack_require__(210);
|
|
15424
|
-
var getWeakData = (__webpack_require__(
|
|
15445
|
+
var getWeakData = (__webpack_require__(244).getWeakData);
|
|
15425
15446
|
var anInstance = __webpack_require__(211);
|
|
15426
15447
|
var anObject = __webpack_require__(47);
|
|
15427
15448
|
var isNullOrUndefined = __webpack_require__(17);
|
|
@@ -15567,7 +15588,7 @@ __webpack_require__(488);
|
|
|
15567
15588
|
|
|
15568
15589
|
"use strict";
|
|
15569
15590
|
|
|
15570
|
-
var collection = __webpack_require__(
|
|
15591
|
+
var collection = __webpack_require__(243);
|
|
15571
15592
|
var collectionWeak = __webpack_require__(486);
|
|
15572
15593
|
|
|
15573
15594
|
// `WeakSet` constructor
|
|
@@ -15630,10 +15651,10 @@ $({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_E
|
|
|
15630
15651
|
var position = 0;
|
|
15631
15652
|
var bc = 0;
|
|
15632
15653
|
var chr, bs;
|
|
15633
|
-
if (string.length % 4
|
|
15654
|
+
if (string.length % 4 === 0) {
|
|
15634
15655
|
string = replace(string, finalEq, '');
|
|
15635
15656
|
}
|
|
15636
|
-
if (string.length % 4
|
|
15657
|
+
if (string.length % 4 === 1 || exec(disallowed, string)) {
|
|
15637
15658
|
throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');
|
|
15638
15659
|
}
|
|
15639
15660
|
while (chr = charAt(string, position++)) {
|
|
@@ -15888,7 +15909,7 @@ var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {
|
|
|
15888
15909
|
// eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe
|
|
15889
15910
|
new MessageChannel().port1.postMessage(new WeakMap());
|
|
15890
15911
|
} catch (error) {
|
|
15891
|
-
if (error.name
|
|
15912
|
+
if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor;
|
|
15892
15913
|
}
|
|
15893
15914
|
})();
|
|
15894
15915
|
var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;
|
|
@@ -16211,7 +16232,7 @@ var Function = global.Function;
|
|
|
16211
16232
|
// dirty IE9- and Bun 0.3.0- checks
|
|
16212
16233
|
var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {
|
|
16213
16234
|
var version = global.Bun.version.split('.');
|
|
16214
|
-
return version.length < 3 || version[0]
|
|
16235
|
+
return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0');
|
|
16215
16236
|
})();
|
|
16216
16237
|
|
|
16217
16238
|
// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix
|
|
@@ -16385,7 +16406,7 @@ var checkBasicSemantic = function (structuredCloneImplementation) {
|
|
|
16385
16406
|
var set1 = new global.Set([7]);
|
|
16386
16407
|
var set2 = structuredCloneImplementation(set1);
|
|
16387
16408
|
var number = structuredCloneImplementation(Object(7));
|
|
16388
|
-
return set2
|
|
16409
|
+
return set2 === set1 || !set2.has(7) || typeof number != 'object' || number !== 7;
|
|
16389
16410
|
}) && structuredCloneImplementation;
|
|
16390
16411
|
};
|
|
16391
16412
|
|
|
@@ -16401,7 +16422,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
16401
16422
|
var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
|
|
16402
16423
|
return !fails(function () {
|
|
16403
16424
|
var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
|
|
16404
|
-
return test.name
|
|
16425
|
+
return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3;
|
|
16405
16426
|
});
|
|
16406
16427
|
};
|
|
16407
16428
|
|
|
@@ -16763,7 +16784,7 @@ var structuredCloneInternal = function (value, map, transferredBuffers) {
|
|
|
16763
16784
|
if (hasOwn(value, 'cause')) {
|
|
16764
16785
|
createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map, transferredBuffers));
|
|
16765
16786
|
}
|
|
16766
|
-
if (name
|
|
16787
|
+
if (name === 'AggregateError') {
|
|
16767
16788
|
cloned.errors = structuredCloneInternal(value.errors, map, transferredBuffers);
|
|
16768
16789
|
} // break omitted
|
|
16769
16790
|
case 'DOMException':
|
|
@@ -16831,7 +16852,7 @@ var replacePlaceholders = function (value, map) {
|
|
|
16831
16852
|
if (hasOwn(value, 'cause')) {
|
|
16832
16853
|
value.cause = replacePlaceholders(value.cause, map);
|
|
16833
16854
|
}
|
|
16834
|
-
if (value.name
|
|
16855
|
+
if (value.name === 'AggregateError') {
|
|
16835
16856
|
value.errors = replacePlaceholders(value.errors, map);
|
|
16836
16857
|
} // break omitted
|
|
16837
16858
|
case 'DOMException':
|
|
@@ -17024,7 +17045,7 @@ module.exports = !!structuredClone && !fails(function () {
|
|
|
17024
17045
|
if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;
|
|
17025
17046
|
var buffer = new ArrayBuffer(8);
|
|
17026
17047
|
var clone = structuredClone(buffer, { transfer: [buffer] });
|
|
17027
|
-
return buffer.byteLength
|
|
17048
|
+
return buffer.byteLength !== 0 || clone.byteLength !== 8;
|
|
17028
17049
|
});
|
|
17029
17050
|
|
|
17030
17051
|
|
|
@@ -17165,7 +17186,7 @@ var EOF;
|
|
|
17165
17186
|
var parseIPv4 = function (input) {
|
|
17166
17187
|
var parts = split(input, '.');
|
|
17167
17188
|
var partsLength, numbers, index, part, radix, number, ipv4;
|
|
17168
|
-
if (parts.length && parts[parts.length - 1]
|
|
17189
|
+
if (parts.length && parts[parts.length - 1] === '') {
|
|
17169
17190
|
parts.length--;
|
|
17170
17191
|
}
|
|
17171
17192
|
partsLength = parts.length;
|
|
@@ -17173,23 +17194,23 @@ var parseIPv4 = function (input) {
|
|
|
17173
17194
|
numbers = [];
|
|
17174
17195
|
for (index = 0; index < partsLength; index++) {
|
|
17175
17196
|
part = parts[index];
|
|
17176
|
-
if (part
|
|
17197
|
+
if (part === '') return input;
|
|
17177
17198
|
radix = 10;
|
|
17178
|
-
if (part.length > 1 && charAt(part, 0)
|
|
17199
|
+
if (part.length > 1 && charAt(part, 0) === '0') {
|
|
17179
17200
|
radix = exec(HEX_START, part) ? 16 : 8;
|
|
17180
|
-
part = stringSlice(part, radix
|
|
17201
|
+
part = stringSlice(part, radix === 8 ? 1 : 2);
|
|
17181
17202
|
}
|
|
17182
17203
|
if (part === '') {
|
|
17183
17204
|
number = 0;
|
|
17184
17205
|
} else {
|
|
17185
|
-
if (!exec(radix
|
|
17206
|
+
if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input;
|
|
17186
17207
|
number = parseInt(part, radix);
|
|
17187
17208
|
}
|
|
17188
17209
|
push(numbers, number);
|
|
17189
17210
|
}
|
|
17190
17211
|
for (index = 0; index < partsLength; index++) {
|
|
17191
17212
|
number = numbers[index];
|
|
17192
|
-
if (index
|
|
17213
|
+
if (index === partsLength - 1) {
|
|
17193
17214
|
if (number >= pow(256, 5 - partsLength)) return null;
|
|
17194
17215
|
} else if (number > 255) return null;
|
|
17195
17216
|
}
|
|
@@ -17213,15 +17234,15 @@ var parseIPv6 = function (input) {
|
|
|
17213
17234
|
return charAt(input, pointer);
|
|
17214
17235
|
};
|
|
17215
17236
|
|
|
17216
|
-
if (chr()
|
|
17217
|
-
if (charAt(input, 1)
|
|
17237
|
+
if (chr() === ':') {
|
|
17238
|
+
if (charAt(input, 1) !== ':') return;
|
|
17218
17239
|
pointer += 2;
|
|
17219
17240
|
pieceIndex++;
|
|
17220
17241
|
compress = pieceIndex;
|
|
17221
17242
|
}
|
|
17222
17243
|
while (chr()) {
|
|
17223
|
-
if (pieceIndex
|
|
17224
|
-
if (chr()
|
|
17244
|
+
if (pieceIndex === 8) return;
|
|
17245
|
+
if (chr() === ':') {
|
|
17225
17246
|
if (compress !== null) return;
|
|
17226
17247
|
pointer++;
|
|
17227
17248
|
pieceIndex++;
|
|
@@ -17234,33 +17255,33 @@ var parseIPv6 = function (input) {
|
|
|
17234
17255
|
pointer++;
|
|
17235
17256
|
length++;
|
|
17236
17257
|
}
|
|
17237
|
-
if (chr()
|
|
17238
|
-
if (length
|
|
17258
|
+
if (chr() === '.') {
|
|
17259
|
+
if (length === 0) return;
|
|
17239
17260
|
pointer -= length;
|
|
17240
17261
|
if (pieceIndex > 6) return;
|
|
17241
17262
|
numbersSeen = 0;
|
|
17242
17263
|
while (chr()) {
|
|
17243
17264
|
ipv4Piece = null;
|
|
17244
17265
|
if (numbersSeen > 0) {
|
|
17245
|
-
if (chr()
|
|
17266
|
+
if (chr() === '.' && numbersSeen < 4) pointer++;
|
|
17246
17267
|
else return;
|
|
17247
17268
|
}
|
|
17248
17269
|
if (!exec(DIGIT, chr())) return;
|
|
17249
17270
|
while (exec(DIGIT, chr())) {
|
|
17250
17271
|
number = parseInt(chr(), 10);
|
|
17251
17272
|
if (ipv4Piece === null) ipv4Piece = number;
|
|
17252
|
-
else if (ipv4Piece
|
|
17273
|
+
else if (ipv4Piece === 0) return;
|
|
17253
17274
|
else ipv4Piece = ipv4Piece * 10 + number;
|
|
17254
17275
|
if (ipv4Piece > 255) return;
|
|
17255
17276
|
pointer++;
|
|
17256
17277
|
}
|
|
17257
17278
|
address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
|
|
17258
17279
|
numbersSeen++;
|
|
17259
|
-
if (numbersSeen
|
|
17280
|
+
if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;
|
|
17260
17281
|
}
|
|
17261
|
-
if (numbersSeen
|
|
17282
|
+
if (numbersSeen !== 4) return;
|
|
17262
17283
|
break;
|
|
17263
|
-
} else if (chr()
|
|
17284
|
+
} else if (chr() === ':') {
|
|
17264
17285
|
pointer++;
|
|
17265
17286
|
if (!chr()) return;
|
|
17266
17287
|
} else if (chr()) return;
|
|
@@ -17269,12 +17290,12 @@ var parseIPv6 = function (input) {
|
|
|
17269
17290
|
if (compress !== null) {
|
|
17270
17291
|
swaps = pieceIndex - compress;
|
|
17271
17292
|
pieceIndex = 7;
|
|
17272
|
-
while (pieceIndex
|
|
17293
|
+
while (pieceIndex !== 0 && swaps > 0) {
|
|
17273
17294
|
swap = address[pieceIndex];
|
|
17274
17295
|
address[pieceIndex--] = address[compress + swaps - 1];
|
|
17275
17296
|
address[compress + --swaps] = swap;
|
|
17276
17297
|
}
|
|
17277
|
-
} else if (pieceIndex
|
|
17298
|
+
} else if (pieceIndex !== 8) return;
|
|
17278
17299
|
return address;
|
|
17279
17300
|
};
|
|
17280
17301
|
|
|
@@ -17362,15 +17383,15 @@ var specialSchemes = {
|
|
|
17362
17383
|
// https://url.spec.whatwg.org/#windows-drive-letter
|
|
17363
17384
|
var isWindowsDriveLetter = function (string, normalized) {
|
|
17364
17385
|
var second;
|
|
17365
|
-
return string.length
|
|
17366
|
-
&& ((second = charAt(string, 1))
|
|
17386
|
+
return string.length === 2 && exec(ALPHA, charAt(string, 0))
|
|
17387
|
+
&& ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));
|
|
17367
17388
|
};
|
|
17368
17389
|
|
|
17369
17390
|
// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
|
|
17370
17391
|
var startsWithWindowsDriveLetter = function (string) {
|
|
17371
17392
|
var third;
|
|
17372
17393
|
return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
|
|
17373
|
-
string.length
|
|
17394
|
+
string.length === 2 ||
|
|
17374
17395
|
((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
|
|
17375
17396
|
);
|
|
17376
17397
|
};
|
|
@@ -17474,27 +17495,27 @@ URLState.prototype = {
|
|
|
17474
17495
|
break;
|
|
17475
17496
|
|
|
17476
17497
|
case SCHEME:
|
|
17477
|
-
if (chr && (exec(ALPHANUMERIC, chr) || chr
|
|
17498
|
+
if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) {
|
|
17478
17499
|
buffer += toLowerCase(chr);
|
|
17479
|
-
} else if (chr
|
|
17500
|
+
} else if (chr === ':') {
|
|
17480
17501
|
if (stateOverride && (
|
|
17481
|
-
(url.isSpecial()
|
|
17482
|
-
(buffer
|
|
17483
|
-
(url.scheme
|
|
17502
|
+
(url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||
|
|
17503
|
+
(buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||
|
|
17504
|
+
(url.scheme === 'file' && !url.host)
|
|
17484
17505
|
)) return;
|
|
17485
17506
|
url.scheme = buffer;
|
|
17486
17507
|
if (stateOverride) {
|
|
17487
|
-
if (url.isSpecial() && specialSchemes[url.scheme]
|
|
17508
|
+
if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;
|
|
17488
17509
|
return;
|
|
17489
17510
|
}
|
|
17490
17511
|
buffer = '';
|
|
17491
|
-
if (url.scheme
|
|
17512
|
+
if (url.scheme === 'file') {
|
|
17492
17513
|
state = FILE;
|
|
17493
|
-
} else if (url.isSpecial() && base && base.scheme
|
|
17514
|
+
} else if (url.isSpecial() && base && base.scheme === url.scheme) {
|
|
17494
17515
|
state = SPECIAL_RELATIVE_OR_AUTHORITY;
|
|
17495
17516
|
} else if (url.isSpecial()) {
|
|
17496
17517
|
state = SPECIAL_AUTHORITY_SLASHES;
|
|
17497
|
-
} else if (codePoints[pointer + 1]
|
|
17518
|
+
} else if (codePoints[pointer + 1] === '/') {
|
|
17498
17519
|
state = PATH_OR_AUTHORITY;
|
|
17499
17520
|
pointer++;
|
|
17500
17521
|
} else {
|
|
@@ -17511,8 +17532,8 @@ URLState.prototype = {
|
|
|
17511
17532
|
break;
|
|
17512
17533
|
|
|
17513
17534
|
case NO_SCHEME:
|
|
17514
|
-
if (!base || (base.cannotBeABaseURL && chr
|
|
17515
|
-
if (base.cannotBeABaseURL && chr
|
|
17535
|
+
if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;
|
|
17536
|
+
if (base.cannotBeABaseURL && chr === '#') {
|
|
17516
17537
|
url.scheme = base.scheme;
|
|
17517
17538
|
url.path = arraySlice(base.path);
|
|
17518
17539
|
url.query = base.query;
|
|
@@ -17521,11 +17542,11 @@ URLState.prototype = {
|
|
|
17521
17542
|
state = FRAGMENT;
|
|
17522
17543
|
break;
|
|
17523
17544
|
}
|
|
17524
|
-
state = base.scheme
|
|
17545
|
+
state = base.scheme === 'file' ? FILE : RELATIVE;
|
|
17525
17546
|
continue;
|
|
17526
17547
|
|
|
17527
17548
|
case SPECIAL_RELATIVE_OR_AUTHORITY:
|
|
17528
|
-
if (chr
|
|
17549
|
+
if (chr === '/' && codePoints[pointer + 1] === '/') {
|
|
17529
17550
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17530
17551
|
pointer++;
|
|
17531
17552
|
} else {
|
|
@@ -17534,7 +17555,7 @@ URLState.prototype = {
|
|
|
17534
17555
|
} break;
|
|
17535
17556
|
|
|
17536
17557
|
case PATH_OR_AUTHORITY:
|
|
17537
|
-
if (chr
|
|
17558
|
+
if (chr === '/') {
|
|
17538
17559
|
state = AUTHORITY;
|
|
17539
17560
|
break;
|
|
17540
17561
|
} else {
|
|
@@ -17544,16 +17565,16 @@ URLState.prototype = {
|
|
|
17544
17565
|
|
|
17545
17566
|
case RELATIVE:
|
|
17546
17567
|
url.scheme = base.scheme;
|
|
17547
|
-
if (chr
|
|
17568
|
+
if (chr === EOF) {
|
|
17548
17569
|
url.username = base.username;
|
|
17549
17570
|
url.password = base.password;
|
|
17550
17571
|
url.host = base.host;
|
|
17551
17572
|
url.port = base.port;
|
|
17552
17573
|
url.path = arraySlice(base.path);
|
|
17553
17574
|
url.query = base.query;
|
|
17554
|
-
} else if (chr
|
|
17575
|
+
} else if (chr === '/' || (chr === '\\' && url.isSpecial())) {
|
|
17555
17576
|
state = RELATIVE_SLASH;
|
|
17556
|
-
} else if (chr
|
|
17577
|
+
} else if (chr === '?') {
|
|
17557
17578
|
url.username = base.username;
|
|
17558
17579
|
url.password = base.password;
|
|
17559
17580
|
url.host = base.host;
|
|
@@ -17561,7 +17582,7 @@ URLState.prototype = {
|
|
|
17561
17582
|
url.path = arraySlice(base.path);
|
|
17562
17583
|
url.query = '';
|
|
17563
17584
|
state = QUERY;
|
|
17564
|
-
} else if (chr
|
|
17585
|
+
} else if (chr === '#') {
|
|
17565
17586
|
url.username = base.username;
|
|
17566
17587
|
url.password = base.password;
|
|
17567
17588
|
url.host = base.host;
|
|
@@ -17582,9 +17603,9 @@ URLState.prototype = {
|
|
|
17582
17603
|
} break;
|
|
17583
17604
|
|
|
17584
17605
|
case RELATIVE_SLASH:
|
|
17585
|
-
if (url.isSpecial() && (chr
|
|
17606
|
+
if (url.isSpecial() && (chr === '/' || chr === '\\')) {
|
|
17586
17607
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17587
|
-
} else if (chr
|
|
17608
|
+
} else if (chr === '/') {
|
|
17588
17609
|
state = AUTHORITY;
|
|
17589
17610
|
} else {
|
|
17590
17611
|
url.username = base.username;
|
|
@@ -17597,24 +17618,24 @@ URLState.prototype = {
|
|
|
17597
17618
|
|
|
17598
17619
|
case SPECIAL_AUTHORITY_SLASHES:
|
|
17599
17620
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17600
|
-
if (chr
|
|
17621
|
+
if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue;
|
|
17601
17622
|
pointer++;
|
|
17602
17623
|
break;
|
|
17603
17624
|
|
|
17604
17625
|
case SPECIAL_AUTHORITY_IGNORE_SLASHES:
|
|
17605
|
-
if (chr
|
|
17626
|
+
if (chr !== '/' && chr !== '\\') {
|
|
17606
17627
|
state = AUTHORITY;
|
|
17607
17628
|
continue;
|
|
17608
17629
|
} break;
|
|
17609
17630
|
|
|
17610
17631
|
case AUTHORITY:
|
|
17611
|
-
if (chr
|
|
17632
|
+
if (chr === '@') {
|
|
17612
17633
|
if (seenAt) buffer = '%40' + buffer;
|
|
17613
17634
|
seenAt = true;
|
|
17614
17635
|
bufferCodePoints = arrayFrom(buffer);
|
|
17615
17636
|
for (var i = 0; i < bufferCodePoints.length; i++) {
|
|
17616
17637
|
var codePoint = bufferCodePoints[i];
|
|
17617
|
-
if (codePoint
|
|
17638
|
+
if (codePoint === ':' && !seenPasswordToken) {
|
|
17618
17639
|
seenPasswordToken = true;
|
|
17619
17640
|
continue;
|
|
17620
17641
|
}
|
|
@@ -17624,10 +17645,10 @@ URLState.prototype = {
|
|
|
17624
17645
|
}
|
|
17625
17646
|
buffer = '';
|
|
17626
17647
|
} else if (
|
|
17627
|
-
chr
|
|
17628
|
-
(chr
|
|
17648
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17649
|
+
(chr === '\\' && url.isSpecial())
|
|
17629
17650
|
) {
|
|
17630
|
-
if (seenAt && buffer
|
|
17651
|
+
if (seenAt && buffer === '') return INVALID_AUTHORITY;
|
|
17631
17652
|
pointer -= arrayFrom(buffer).length + 1;
|
|
17632
17653
|
buffer = '';
|
|
17633
17654
|
state = HOST;
|
|
@@ -17636,22 +17657,22 @@ URLState.prototype = {
|
|
|
17636
17657
|
|
|
17637
17658
|
case HOST:
|
|
17638
17659
|
case HOSTNAME:
|
|
17639
|
-
if (stateOverride && url.scheme
|
|
17660
|
+
if (stateOverride && url.scheme === 'file') {
|
|
17640
17661
|
state = FILE_HOST;
|
|
17641
17662
|
continue;
|
|
17642
|
-
} else if (chr
|
|
17643
|
-
if (buffer
|
|
17663
|
+
} else if (chr === ':' && !seenBracket) {
|
|
17664
|
+
if (buffer === '') return INVALID_HOST;
|
|
17644
17665
|
failure = url.parseHost(buffer);
|
|
17645
17666
|
if (failure) return failure;
|
|
17646
17667
|
buffer = '';
|
|
17647
17668
|
state = PORT;
|
|
17648
|
-
if (stateOverride
|
|
17669
|
+
if (stateOverride === HOSTNAME) return;
|
|
17649
17670
|
} else if (
|
|
17650
|
-
chr
|
|
17651
|
-
(chr
|
|
17671
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17672
|
+
(chr === '\\' && url.isSpecial())
|
|
17652
17673
|
) {
|
|
17653
|
-
if (url.isSpecial() && buffer
|
|
17654
|
-
if (stateOverride && buffer
|
|
17674
|
+
if (url.isSpecial() && buffer === '') return INVALID_HOST;
|
|
17675
|
+
if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;
|
|
17655
17676
|
failure = url.parseHost(buffer);
|
|
17656
17677
|
if (failure) return failure;
|
|
17657
17678
|
buffer = '';
|
|
@@ -17659,8 +17680,8 @@ URLState.prototype = {
|
|
|
17659
17680
|
if (stateOverride) return;
|
|
17660
17681
|
continue;
|
|
17661
17682
|
} else {
|
|
17662
|
-
if (chr
|
|
17663
|
-
else if (chr
|
|
17683
|
+
if (chr === '[') seenBracket = true;
|
|
17684
|
+
else if (chr === ']') seenBracket = false;
|
|
17664
17685
|
buffer += chr;
|
|
17665
17686
|
} break;
|
|
17666
17687
|
|
|
@@ -17668,11 +17689,11 @@ URLState.prototype = {
|
|
|
17668
17689
|
if (exec(DIGIT, chr)) {
|
|
17669
17690
|
buffer += chr;
|
|
17670
17691
|
} else if (
|
|
17671
|
-
chr
|
|
17672
|
-
(chr
|
|
17692
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17693
|
+
(chr === '\\' && url.isSpecial()) ||
|
|
17673
17694
|
stateOverride
|
|
17674
17695
|
) {
|
|
17675
|
-
if (buffer
|
|
17696
|
+
if (buffer !== '') {
|
|
17676
17697
|
var port = parseInt(buffer, 10);
|
|
17677
17698
|
if (port > 0xFFFF) return INVALID_PORT;
|
|
17678
17699
|
url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
|
|
@@ -17686,31 +17707,35 @@ URLState.prototype = {
|
|
|
17686
17707
|
|
|
17687
17708
|
case FILE:
|
|
17688
17709
|
url.scheme = 'file';
|
|
17689
|
-
if (chr
|
|
17690
|
-
else if (base && base.scheme
|
|
17691
|
-
|
|
17692
|
-
|
|
17693
|
-
url.path = arraySlice(base.path);
|
|
17694
|
-
url.query = base.query;
|
|
17695
|
-
} else if (chr == '?') {
|
|
17696
|
-
url.host = base.host;
|
|
17697
|
-
url.path = arraySlice(base.path);
|
|
17698
|
-
url.query = '';
|
|
17699
|
-
state = QUERY;
|
|
17700
|
-
} else if (chr == '#') {
|
|
17701
|
-
url.host = base.host;
|
|
17702
|
-
url.path = arraySlice(base.path);
|
|
17703
|
-
url.query = base.query;
|
|
17704
|
-
url.fragment = '';
|
|
17705
|
-
state = FRAGMENT;
|
|
17706
|
-
} else {
|
|
17707
|
-
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17710
|
+
if (chr === '/' || chr === '\\') state = FILE_SLASH;
|
|
17711
|
+
else if (base && base.scheme === 'file') {
|
|
17712
|
+
switch (chr) {
|
|
17713
|
+
case EOF:
|
|
17708
17714
|
url.host = base.host;
|
|
17709
17715
|
url.path = arraySlice(base.path);
|
|
17710
|
-
url.
|
|
17711
|
-
|
|
17712
|
-
|
|
17713
|
-
|
|
17716
|
+
url.query = base.query;
|
|
17717
|
+
break;
|
|
17718
|
+
case '?':
|
|
17719
|
+
url.host = base.host;
|
|
17720
|
+
url.path = arraySlice(base.path);
|
|
17721
|
+
url.query = '';
|
|
17722
|
+
state = QUERY;
|
|
17723
|
+
break;
|
|
17724
|
+
case '#':
|
|
17725
|
+
url.host = base.host;
|
|
17726
|
+
url.path = arraySlice(base.path);
|
|
17727
|
+
url.query = base.query;
|
|
17728
|
+
url.fragment = '';
|
|
17729
|
+
state = FRAGMENT;
|
|
17730
|
+
break;
|
|
17731
|
+
default:
|
|
17732
|
+
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17733
|
+
url.host = base.host;
|
|
17734
|
+
url.path = arraySlice(base.path);
|
|
17735
|
+
url.shortenPath();
|
|
17736
|
+
}
|
|
17737
|
+
state = PATH;
|
|
17738
|
+
continue;
|
|
17714
17739
|
}
|
|
17715
17740
|
} else {
|
|
17716
17741
|
state = PATH;
|
|
@@ -17718,11 +17743,11 @@ URLState.prototype = {
|
|
|
17718
17743
|
} break;
|
|
17719
17744
|
|
|
17720
17745
|
case FILE_SLASH:
|
|
17721
|
-
if (chr
|
|
17746
|
+
if (chr === '/' || chr === '\\') {
|
|
17722
17747
|
state = FILE_HOST;
|
|
17723
17748
|
break;
|
|
17724
17749
|
}
|
|
17725
|
-
if (base && base.scheme
|
|
17750
|
+
if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17726
17751
|
if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
|
|
17727
17752
|
else url.host = base.host;
|
|
17728
17753
|
}
|
|
@@ -17730,17 +17755,17 @@ URLState.prototype = {
|
|
|
17730
17755
|
continue;
|
|
17731
17756
|
|
|
17732
17757
|
case FILE_HOST:
|
|
17733
|
-
if (chr
|
|
17758
|
+
if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') {
|
|
17734
17759
|
if (!stateOverride && isWindowsDriveLetter(buffer)) {
|
|
17735
17760
|
state = PATH;
|
|
17736
|
-
} else if (buffer
|
|
17761
|
+
} else if (buffer === '') {
|
|
17737
17762
|
url.host = '';
|
|
17738
17763
|
if (stateOverride) return;
|
|
17739
17764
|
state = PATH_START;
|
|
17740
17765
|
} else {
|
|
17741
17766
|
failure = url.parseHost(buffer);
|
|
17742
17767
|
if (failure) return failure;
|
|
17743
|
-
if (url.host
|
|
17768
|
+
if (url.host === 'localhost') url.host = '';
|
|
17744
17769
|
if (stateOverride) return;
|
|
17745
17770
|
buffer = '';
|
|
17746
17771
|
state = PATH_START;
|
|
@@ -17751,50 +17776,50 @@ URLState.prototype = {
|
|
|
17751
17776
|
case PATH_START:
|
|
17752
17777
|
if (url.isSpecial()) {
|
|
17753
17778
|
state = PATH;
|
|
17754
|
-
if (chr
|
|
17755
|
-
} else if (!stateOverride && chr
|
|
17779
|
+
if (chr !== '/' && chr !== '\\') continue;
|
|
17780
|
+
} else if (!stateOverride && chr === '?') {
|
|
17756
17781
|
url.query = '';
|
|
17757
17782
|
state = QUERY;
|
|
17758
|
-
} else if (!stateOverride && chr
|
|
17783
|
+
} else if (!stateOverride && chr === '#') {
|
|
17759
17784
|
url.fragment = '';
|
|
17760
17785
|
state = FRAGMENT;
|
|
17761
|
-
} else if (chr
|
|
17786
|
+
} else if (chr !== EOF) {
|
|
17762
17787
|
state = PATH;
|
|
17763
|
-
if (chr
|
|
17788
|
+
if (chr !== '/') continue;
|
|
17764
17789
|
} break;
|
|
17765
17790
|
|
|
17766
17791
|
case PATH:
|
|
17767
17792
|
if (
|
|
17768
|
-
chr
|
|
17769
|
-
(chr
|
|
17770
|
-
(!stateOverride && (chr
|
|
17793
|
+
chr === EOF || chr === '/' ||
|
|
17794
|
+
(chr === '\\' && url.isSpecial()) ||
|
|
17795
|
+
(!stateOverride && (chr === '?' || chr === '#'))
|
|
17771
17796
|
) {
|
|
17772
17797
|
if (isDoubleDot(buffer)) {
|
|
17773
17798
|
url.shortenPath();
|
|
17774
|
-
if (chr
|
|
17799
|
+
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
|
|
17775
17800
|
push(url.path, '');
|
|
17776
17801
|
}
|
|
17777
17802
|
} else if (isSingleDot(buffer)) {
|
|
17778
|
-
if (chr
|
|
17803
|
+
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
|
|
17779
17804
|
push(url.path, '');
|
|
17780
17805
|
}
|
|
17781
17806
|
} else {
|
|
17782
|
-
if (url.scheme
|
|
17807
|
+
if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
|
|
17783
17808
|
if (url.host) url.host = '';
|
|
17784
17809
|
buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
|
|
17785
17810
|
}
|
|
17786
17811
|
push(url.path, buffer);
|
|
17787
17812
|
}
|
|
17788
17813
|
buffer = '';
|
|
17789
|
-
if (url.scheme
|
|
17814
|
+
if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {
|
|
17790
17815
|
while (url.path.length > 1 && url.path[0] === '') {
|
|
17791
17816
|
shift(url.path);
|
|
17792
17817
|
}
|
|
17793
17818
|
}
|
|
17794
|
-
if (chr
|
|
17819
|
+
if (chr === '?') {
|
|
17795
17820
|
url.query = '';
|
|
17796
17821
|
state = QUERY;
|
|
17797
|
-
} else if (chr
|
|
17822
|
+
} else if (chr === '#') {
|
|
17798
17823
|
url.fragment = '';
|
|
17799
17824
|
state = FRAGMENT;
|
|
17800
17825
|
}
|
|
@@ -17803,28 +17828,28 @@ URLState.prototype = {
|
|
|
17803
17828
|
} break;
|
|
17804
17829
|
|
|
17805
17830
|
case CANNOT_BE_A_BASE_URL_PATH:
|
|
17806
|
-
if (chr
|
|
17831
|
+
if (chr === '?') {
|
|
17807
17832
|
url.query = '';
|
|
17808
17833
|
state = QUERY;
|
|
17809
|
-
} else if (chr
|
|
17834
|
+
} else if (chr === '#') {
|
|
17810
17835
|
url.fragment = '';
|
|
17811
17836
|
state = FRAGMENT;
|
|
17812
|
-
} else if (chr
|
|
17837
|
+
} else if (chr !== EOF) {
|
|
17813
17838
|
url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
|
|
17814
17839
|
} break;
|
|
17815
17840
|
|
|
17816
17841
|
case QUERY:
|
|
17817
|
-
if (!stateOverride && chr
|
|
17842
|
+
if (!stateOverride && chr === '#') {
|
|
17818
17843
|
url.fragment = '';
|
|
17819
17844
|
state = FRAGMENT;
|
|
17820
|
-
} else if (chr
|
|
17821
|
-
if (chr
|
|
17822
|
-
else if (chr
|
|
17845
|
+
} else if (chr !== EOF) {
|
|
17846
|
+
if (chr === "'" && url.isSpecial()) url.query += '%27';
|
|
17847
|
+
else if (chr === '#') url.query += '%23';
|
|
17823
17848
|
else url.query += percentEncode(chr, C0ControlPercentEncodeSet);
|
|
17824
17849
|
} break;
|
|
17825
17850
|
|
|
17826
17851
|
case FRAGMENT:
|
|
17827
|
-
if (chr
|
|
17852
|
+
if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
|
|
17828
17853
|
break;
|
|
17829
17854
|
}
|
|
17830
17855
|
|
|
@@ -17834,8 +17859,8 @@ URLState.prototype = {
|
|
|
17834
17859
|
// https://url.spec.whatwg.org/#host-parsing
|
|
17835
17860
|
parseHost: function (input) {
|
|
17836
17861
|
var result, codePoints, index;
|
|
17837
|
-
if (charAt(input, 0)
|
|
17838
|
-
if (charAt(input, input.length - 1)
|
|
17862
|
+
if (charAt(input, 0) === '[') {
|
|
17863
|
+
if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;
|
|
17839
17864
|
result = parseIPv6(stringSlice(input, 1, -1));
|
|
17840
17865
|
if (!result) return INVALID_HOST;
|
|
17841
17866
|
this.host = result;
|
|
@@ -17858,11 +17883,11 @@ URLState.prototype = {
|
|
|
17858
17883
|
},
|
|
17859
17884
|
// https://url.spec.whatwg.org/#cannot-have-a-username-password-port
|
|
17860
17885
|
cannotHaveUsernamePasswordPort: function () {
|
|
17861
|
-
return !this.host || this.cannotBeABaseURL || this.scheme
|
|
17886
|
+
return !this.host || this.cannotBeABaseURL || this.scheme === 'file';
|
|
17862
17887
|
},
|
|
17863
17888
|
// https://url.spec.whatwg.org/#include-credentials
|
|
17864
17889
|
includesCredentials: function () {
|
|
17865
|
-
return this.username
|
|
17890
|
+
return this.username !== '' || this.password !== '';
|
|
17866
17891
|
},
|
|
17867
17892
|
// https://url.spec.whatwg.org/#is-special
|
|
17868
17893
|
isSpecial: function () {
|
|
@@ -17872,7 +17897,7 @@ URLState.prototype = {
|
|
|
17872
17897
|
shortenPath: function () {
|
|
17873
17898
|
var path = this.path;
|
|
17874
17899
|
var pathSize = path.length;
|
|
17875
|
-
if (pathSize && (this.scheme
|
|
17900
|
+
if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {
|
|
17876
17901
|
path.length--;
|
|
17877
17902
|
}
|
|
17878
17903
|
},
|
|
@@ -17895,7 +17920,7 @@ URLState.prototype = {
|
|
|
17895
17920
|
}
|
|
17896
17921
|
output += serializeHost(host);
|
|
17897
17922
|
if (port !== null) output += ':' + port;
|
|
17898
|
-
} else if (scheme
|
|
17923
|
+
} else if (scheme === 'file') output += '//';
|
|
17899
17924
|
output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
|
|
17900
17925
|
if (query !== null) output += '?' + query;
|
|
17901
17926
|
if (fragment !== null) output += '#' + fragment;
|
|
@@ -17911,12 +17936,12 @@ URLState.prototype = {
|
|
|
17911
17936
|
getOrigin: function () {
|
|
17912
17937
|
var scheme = this.scheme;
|
|
17913
17938
|
var port = this.port;
|
|
17914
|
-
if (scheme
|
|
17939
|
+
if (scheme === 'blob') try {
|
|
17915
17940
|
return new URLConstructor(scheme.path[0]).origin;
|
|
17916
17941
|
} catch (error) {
|
|
17917
17942
|
return 'null';
|
|
17918
17943
|
}
|
|
17919
|
-
if (scheme
|
|
17944
|
+
if (scheme === 'file' || !this.isSpecial()) return 'null';
|
|
17920
17945
|
return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
|
|
17921
17946
|
},
|
|
17922
17947
|
// https://url.spec.whatwg.org/#dom-url-protocol
|
|
@@ -17979,7 +18004,7 @@ URLState.prototype = {
|
|
|
17979
18004
|
setPort: function (port) {
|
|
17980
18005
|
if (this.cannotHaveUsernamePasswordPort()) return;
|
|
17981
18006
|
port = $toString(port);
|
|
17982
|
-
if (port
|
|
18007
|
+
if (port === '') this.port = null;
|
|
17983
18008
|
else this.parse(port, PORT);
|
|
17984
18009
|
},
|
|
17985
18010
|
// https://url.spec.whatwg.org/#dom-url-pathname
|
|
@@ -17999,10 +18024,10 @@ URLState.prototype = {
|
|
|
17999
18024
|
},
|
|
18000
18025
|
setSearch: function (search) {
|
|
18001
18026
|
search = $toString(search);
|
|
18002
|
-
if (search
|
|
18027
|
+
if (search === '') {
|
|
18003
18028
|
this.query = null;
|
|
18004
18029
|
} else {
|
|
18005
|
-
if (
|
|
18030
|
+
if (charAt(search, 0) === '?') search = stringSlice(search, 1);
|
|
18006
18031
|
this.query = '';
|
|
18007
18032
|
this.parse(search, QUERY);
|
|
18008
18033
|
}
|
|
@@ -18019,11 +18044,11 @@ URLState.prototype = {
|
|
|
18019
18044
|
},
|
|
18020
18045
|
setHash: function (hash) {
|
|
18021
18046
|
hash = $toString(hash);
|
|
18022
|
-
if (hash
|
|
18047
|
+
if (hash === '') {
|
|
18023
18048
|
this.fragment = null;
|
|
18024
18049
|
return;
|
|
18025
18050
|
}
|
|
18026
|
-
if (
|
|
18051
|
+
if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);
|
|
18027
18052
|
this.fragment = '';
|
|
18028
18053
|
this.parse(hash, FRAGMENT);
|
|
18029
18054
|
},
|
|
@@ -18237,7 +18262,7 @@ var ucs2decode = function (string) {
|
|
|
18237
18262
|
if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
|
|
18238
18263
|
// It's a high surrogate, and there is a next character.
|
|
18239
18264
|
var extra = charCodeAt(string, counter++);
|
|
18240
|
-
if ((extra & 0xFC00)
|
|
18265
|
+
if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.
|
|
18241
18266
|
push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
|
|
18242
18267
|
} else {
|
|
18243
18268
|
// It's an unmatched surrogate; only append this code unit, in case the
|
|
@@ -18336,7 +18361,7 @@ var encode = function (input) {
|
|
|
18336
18361
|
if (currentValue < n && ++delta > maxInt) {
|
|
18337
18362
|
throw $RangeError(OVERFLOW_ERROR);
|
|
18338
18363
|
}
|
|
18339
|
-
if (currentValue
|
|
18364
|
+
if (currentValue === n) {
|
|
18340
18365
|
// Represent delta as a generalized variable-length integer.
|
|
18341
18366
|
var q = delta;
|
|
18342
18367
|
var k = base;
|
|
@@ -18351,7 +18376,7 @@ var encode = function (input) {
|
|
|
18351
18376
|
}
|
|
18352
18377
|
|
|
18353
18378
|
push(output, fromCharCode(digitToBasic(q)));
|
|
18354
|
-
bias = adapt(delta, handledCPCountPlusOne, handledCPCount
|
|
18379
|
+
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
|
|
18355
18380
|
delta = 0;
|
|
18356
18381
|
handledCPCount++;
|
|
18357
18382
|
}
|
|
@@ -19011,304 +19036,304 @@ var _typeof = (__webpack_require__(529)["default"]);
|
|
|
19011
19036
|
function _regeneratorRuntime() {
|
|
19012
19037
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
19013
19038
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
19014
|
-
return
|
|
19039
|
+
return e;
|
|
19015
19040
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19016
|
-
var
|
|
19017
|
-
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19041
|
+
var t,
|
|
19042
|
+
e = {},
|
|
19043
|
+
r = Object.prototype,
|
|
19044
|
+
n = r.hasOwnProperty,
|
|
19045
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
19046
|
+
t[e] = r.value;
|
|
19021
19047
|
},
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
|
|
19026
|
-
function define(
|
|
19027
|
-
return Object.defineProperty(
|
|
19028
|
-
value:
|
|
19048
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
19049
|
+
a = i.iterator || "@@iterator",
|
|
19050
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
19051
|
+
u = i.toStringTag || "@@toStringTag";
|
|
19052
|
+
function define(t, e, r) {
|
|
19053
|
+
return Object.defineProperty(t, e, {
|
|
19054
|
+
value: r,
|
|
19029
19055
|
enumerable: !0,
|
|
19030
19056
|
configurable: !0,
|
|
19031
19057
|
writable: !0
|
|
19032
|
-
}),
|
|
19058
|
+
}), t[e];
|
|
19033
19059
|
}
|
|
19034
19060
|
try {
|
|
19035
19061
|
define({}, "");
|
|
19036
|
-
} catch (
|
|
19037
|
-
define = function define(
|
|
19038
|
-
return
|
|
19062
|
+
} catch (t) {
|
|
19063
|
+
define = function define(t, e, r) {
|
|
19064
|
+
return t[e] = r;
|
|
19039
19065
|
};
|
|
19040
19066
|
}
|
|
19041
|
-
function wrap(
|
|
19042
|
-
var
|
|
19043
|
-
|
|
19044
|
-
|
|
19045
|
-
return
|
|
19046
|
-
value: makeInvokeMethod(
|
|
19047
|
-
}),
|
|
19067
|
+
function wrap(t, e, r, n) {
|
|
19068
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
19069
|
+
a = Object.create(i.prototype),
|
|
19070
|
+
c = new Context(n || []);
|
|
19071
|
+
return o(a, "_invoke", {
|
|
19072
|
+
value: makeInvokeMethod(t, r, c)
|
|
19073
|
+
}), a;
|
|
19048
19074
|
}
|
|
19049
|
-
function tryCatch(
|
|
19075
|
+
function tryCatch(t, e, r) {
|
|
19050
19076
|
try {
|
|
19051
19077
|
return {
|
|
19052
19078
|
type: "normal",
|
|
19053
|
-
arg:
|
|
19079
|
+
arg: t.call(e, r)
|
|
19054
19080
|
};
|
|
19055
|
-
} catch (
|
|
19081
|
+
} catch (t) {
|
|
19056
19082
|
return {
|
|
19057
19083
|
type: "throw",
|
|
19058
|
-
arg:
|
|
19084
|
+
arg: t
|
|
19059
19085
|
};
|
|
19060
19086
|
}
|
|
19061
19087
|
}
|
|
19062
|
-
|
|
19063
|
-
var
|
|
19088
|
+
e.wrap = wrap;
|
|
19089
|
+
var h = "suspendedStart",
|
|
19090
|
+
l = "suspendedYield",
|
|
19091
|
+
f = "executing",
|
|
19092
|
+
s = "completed",
|
|
19093
|
+
y = {};
|
|
19064
19094
|
function Generator() {}
|
|
19065
19095
|
function GeneratorFunction() {}
|
|
19066
19096
|
function GeneratorFunctionPrototype() {}
|
|
19067
|
-
var
|
|
19068
|
-
define(
|
|
19097
|
+
var p = {};
|
|
19098
|
+
define(p, a, function () {
|
|
19069
19099
|
return this;
|
|
19070
19100
|
});
|
|
19071
|
-
var
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
var
|
|
19075
|
-
function defineIteratorMethods(
|
|
19076
|
-
["next", "throw", "return"].forEach(function (
|
|
19077
|
-
define(
|
|
19078
|
-
return this._invoke(
|
|
19101
|
+
var d = Object.getPrototypeOf,
|
|
19102
|
+
v = d && d(d(values([])));
|
|
19103
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
19104
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
19105
|
+
function defineIteratorMethods(t) {
|
|
19106
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
19107
|
+
define(t, e, function (t) {
|
|
19108
|
+
return this._invoke(e, t);
|
|
19079
19109
|
});
|
|
19080
19110
|
});
|
|
19081
19111
|
}
|
|
19082
|
-
function AsyncIterator(
|
|
19083
|
-
function invoke(
|
|
19084
|
-
var
|
|
19085
|
-
if ("throw" !==
|
|
19086
|
-
var
|
|
19087
|
-
|
|
19088
|
-
return
|
|
19089
|
-
invoke("next",
|
|
19090
|
-
}, function (
|
|
19091
|
-
invoke("throw",
|
|
19092
|
-
}) :
|
|
19093
|
-
|
|
19094
|
-
}, function (
|
|
19095
|
-
return invoke("throw",
|
|
19112
|
+
function AsyncIterator(t, e) {
|
|
19113
|
+
function invoke(r, o, i, a) {
|
|
19114
|
+
var c = tryCatch(t[r], t, o);
|
|
19115
|
+
if ("throw" !== c.type) {
|
|
19116
|
+
var u = c.arg,
|
|
19117
|
+
h = u.value;
|
|
19118
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
19119
|
+
invoke("next", t, i, a);
|
|
19120
|
+
}, function (t) {
|
|
19121
|
+
invoke("throw", t, i, a);
|
|
19122
|
+
}) : e.resolve(h).then(function (t) {
|
|
19123
|
+
u.value = t, i(u);
|
|
19124
|
+
}, function (t) {
|
|
19125
|
+
return invoke("throw", t, i, a);
|
|
19096
19126
|
});
|
|
19097
19127
|
}
|
|
19098
|
-
|
|
19128
|
+
a(c.arg);
|
|
19099
19129
|
}
|
|
19100
|
-
var
|
|
19101
|
-
|
|
19102
|
-
value: function value(
|
|
19130
|
+
var r;
|
|
19131
|
+
o(this, "_invoke", {
|
|
19132
|
+
value: function value(t, n) {
|
|
19103
19133
|
function callInvokeWithMethodAndArg() {
|
|
19104
|
-
return new
|
|
19105
|
-
invoke(
|
|
19134
|
+
return new e(function (e, r) {
|
|
19135
|
+
invoke(t, n, e, r);
|
|
19106
19136
|
});
|
|
19107
19137
|
}
|
|
19108
|
-
return
|
|
19138
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
19109
19139
|
}
|
|
19110
19140
|
});
|
|
19111
19141
|
}
|
|
19112
|
-
function makeInvokeMethod(
|
|
19113
|
-
var
|
|
19114
|
-
return function (
|
|
19115
|
-
if (
|
|
19116
|
-
if (
|
|
19117
|
-
if ("throw" ===
|
|
19118
|
-
return
|
|
19142
|
+
function makeInvokeMethod(e, r, n) {
|
|
19143
|
+
var o = h;
|
|
19144
|
+
return function (i, a) {
|
|
19145
|
+
if (o === f) throw new Error("Generator is already running");
|
|
19146
|
+
if (o === s) {
|
|
19147
|
+
if ("throw" === i) throw a;
|
|
19148
|
+
return {
|
|
19149
|
+
value: t,
|
|
19150
|
+
done: !0
|
|
19151
|
+
};
|
|
19119
19152
|
}
|
|
19120
|
-
for (
|
|
19121
|
-
var
|
|
19122
|
-
if (
|
|
19123
|
-
var
|
|
19124
|
-
if (
|
|
19125
|
-
if (
|
|
19126
|
-
return
|
|
19153
|
+
for (n.method = i, n.arg = a;;) {
|
|
19154
|
+
var c = n.delegate;
|
|
19155
|
+
if (c) {
|
|
19156
|
+
var u = maybeInvokeDelegate(c, n);
|
|
19157
|
+
if (u) {
|
|
19158
|
+
if (u === y) continue;
|
|
19159
|
+
return u;
|
|
19127
19160
|
}
|
|
19128
19161
|
}
|
|
19129
|
-
if ("next" ===
|
|
19130
|
-
if (
|
|
19131
|
-
|
|
19132
|
-
} else "return" ===
|
|
19133
|
-
|
|
19134
|
-
var
|
|
19135
|
-
if ("normal" ===
|
|
19136
|
-
if (
|
|
19162
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
19163
|
+
if (o === h) throw o = s, n.arg;
|
|
19164
|
+
n.dispatchException(n.arg);
|
|
19165
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
19166
|
+
o = f;
|
|
19167
|
+
var p = tryCatch(e, r, n);
|
|
19168
|
+
if ("normal" === p.type) {
|
|
19169
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
19137
19170
|
return {
|
|
19138
|
-
value:
|
|
19139
|
-
done:
|
|
19171
|
+
value: p.arg,
|
|
19172
|
+
done: n.done
|
|
19140
19173
|
};
|
|
19141
19174
|
}
|
|
19142
|
-
"throw" ===
|
|
19175
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
19143
19176
|
}
|
|
19144
19177
|
};
|
|
19145
19178
|
}
|
|
19146
|
-
function maybeInvokeDelegate(
|
|
19147
|
-
var
|
|
19148
|
-
|
|
19149
|
-
if (
|
|
19150
|
-
var
|
|
19151
|
-
if ("throw" ===
|
|
19152
|
-
var
|
|
19153
|
-
return
|
|
19154
|
-
}
|
|
19155
|
-
function pushTryEntry(
|
|
19156
|
-
var
|
|
19157
|
-
tryLoc:
|
|
19179
|
+
function maybeInvokeDelegate(e, r) {
|
|
19180
|
+
var n = r.method,
|
|
19181
|
+
o = e.iterator[n];
|
|
19182
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
19183
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
19184
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
19185
|
+
var a = i.arg;
|
|
19186
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
19187
|
+
}
|
|
19188
|
+
function pushTryEntry(t) {
|
|
19189
|
+
var e = {
|
|
19190
|
+
tryLoc: t[0]
|
|
19158
19191
|
};
|
|
19159
|
-
1 in
|
|
19192
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
19160
19193
|
}
|
|
19161
|
-
function resetTryEntry(
|
|
19162
|
-
var
|
|
19163
|
-
|
|
19194
|
+
function resetTryEntry(t) {
|
|
19195
|
+
var e = t.completion || {};
|
|
19196
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
19164
19197
|
}
|
|
19165
|
-
function Context(
|
|
19198
|
+
function Context(t) {
|
|
19166
19199
|
this.tryEntries = [{
|
|
19167
19200
|
tryLoc: "root"
|
|
19168
|
-
}],
|
|
19169
|
-
}
|
|
19170
|
-
function values(
|
|
19171
|
-
if (
|
|
19172
|
-
var
|
|
19173
|
-
if (
|
|
19174
|
-
if ("function" == typeof
|
|
19175
|
-
if (!isNaN(
|
|
19176
|
-
var
|
|
19177
|
-
|
|
19178
|
-
for (; ++
|
|
19179
|
-
return next.value =
|
|
19201
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
19202
|
+
}
|
|
19203
|
+
function values(e) {
|
|
19204
|
+
if (e || "" === e) {
|
|
19205
|
+
var r = e[a];
|
|
19206
|
+
if (r) return r.call(e);
|
|
19207
|
+
if ("function" == typeof e.next) return e;
|
|
19208
|
+
if (!isNaN(e.length)) {
|
|
19209
|
+
var o = -1,
|
|
19210
|
+
i = function next() {
|
|
19211
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
19212
|
+
return next.value = t, next.done = !0, next;
|
|
19180
19213
|
};
|
|
19181
|
-
return
|
|
19214
|
+
return i.next = i;
|
|
19182
19215
|
}
|
|
19183
19216
|
}
|
|
19184
|
-
|
|
19185
|
-
next: doneResult
|
|
19186
|
-
};
|
|
19187
|
-
}
|
|
19188
|
-
function doneResult() {
|
|
19189
|
-
return {
|
|
19190
|
-
value: undefined,
|
|
19191
|
-
done: !0
|
|
19192
|
-
};
|
|
19217
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
19193
19218
|
}
|
|
19194
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
19219
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
19195
19220
|
value: GeneratorFunctionPrototype,
|
|
19196
19221
|
configurable: !0
|
|
19197
|
-
}),
|
|
19222
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
19198
19223
|
value: GeneratorFunction,
|
|
19199
19224
|
configurable: !0
|
|
19200
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
19201
|
-
var
|
|
19202
|
-
return !!
|
|
19203
|
-
},
|
|
19204
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
19205
|
-
},
|
|
19225
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
19226
|
+
var e = "function" == typeof t && t.constructor;
|
|
19227
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
19228
|
+
}, e.mark = function (t) {
|
|
19229
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
19230
|
+
}, e.awrap = function (t) {
|
|
19206
19231
|
return {
|
|
19207
|
-
__await:
|
|
19232
|
+
__await: t
|
|
19208
19233
|
};
|
|
19209
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
19234
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
19210
19235
|
return this;
|
|
19211
|
-
}),
|
|
19212
|
-
void 0 ===
|
|
19213
|
-
var
|
|
19214
|
-
return
|
|
19215
|
-
return
|
|
19236
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
19237
|
+
void 0 === i && (i = Promise);
|
|
19238
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
19239
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
19240
|
+
return t.done ? t.value : a.next();
|
|
19216
19241
|
});
|
|
19217
|
-
}, defineIteratorMethods(
|
|
19242
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
19218
19243
|
return this;
|
|
19219
|
-
}), define(
|
|
19244
|
+
}), define(g, "toString", function () {
|
|
19220
19245
|
return "[object Generator]";
|
|
19221
|
-
}),
|
|
19222
|
-
var
|
|
19223
|
-
|
|
19224
|
-
for (var
|
|
19225
|
-
return
|
|
19226
|
-
for (;
|
|
19227
|
-
var
|
|
19228
|
-
if (
|
|
19246
|
+
}), e.keys = function (t) {
|
|
19247
|
+
var e = Object(t),
|
|
19248
|
+
r = [];
|
|
19249
|
+
for (var n in e) r.push(n);
|
|
19250
|
+
return r.reverse(), function next() {
|
|
19251
|
+
for (; r.length;) {
|
|
19252
|
+
var t = r.pop();
|
|
19253
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
19229
19254
|
}
|
|
19230
19255
|
return next.done = !0, next;
|
|
19231
19256
|
};
|
|
19232
|
-
},
|
|
19257
|
+
}, e.values = values, Context.prototype = {
|
|
19233
19258
|
constructor: Context,
|
|
19234
|
-
reset: function reset(
|
|
19235
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
19259
|
+
reset: function reset(e) {
|
|
19260
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
19236
19261
|
},
|
|
19237
19262
|
stop: function stop() {
|
|
19238
19263
|
this.done = !0;
|
|
19239
|
-
var
|
|
19240
|
-
if ("throw" ===
|
|
19264
|
+
var t = this.tryEntries[0].completion;
|
|
19265
|
+
if ("throw" === t.type) throw t.arg;
|
|
19241
19266
|
return this.rval;
|
|
19242
19267
|
},
|
|
19243
|
-
dispatchException: function dispatchException(
|
|
19244
|
-
if (this.done) throw
|
|
19245
|
-
var
|
|
19246
|
-
function handle(
|
|
19247
|
-
return
|
|
19268
|
+
dispatchException: function dispatchException(e) {
|
|
19269
|
+
if (this.done) throw e;
|
|
19270
|
+
var r = this;
|
|
19271
|
+
function handle(n, o) {
|
|
19272
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
19248
19273
|
}
|
|
19249
|
-
for (var
|
|
19250
|
-
var
|
|
19251
|
-
|
|
19252
|
-
if ("root" ===
|
|
19253
|
-
if (
|
|
19254
|
-
var
|
|
19255
|
-
|
|
19256
|
-
if (
|
|
19257
|
-
if (this.prev <
|
|
19258
|
-
if (this.prev <
|
|
19259
|
-
} else if (
|
|
19260
|
-
if (this.prev <
|
|
19274
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
19275
|
+
var i = this.tryEntries[o],
|
|
19276
|
+
a = i.completion;
|
|
19277
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
19278
|
+
if (i.tryLoc <= this.prev) {
|
|
19279
|
+
var c = n.call(i, "catchLoc"),
|
|
19280
|
+
u = n.call(i, "finallyLoc");
|
|
19281
|
+
if (c && u) {
|
|
19282
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
19283
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
19284
|
+
} else if (c) {
|
|
19285
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
19261
19286
|
} else {
|
|
19262
|
-
if (!
|
|
19263
|
-
if (this.prev <
|
|
19287
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
19288
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
19264
19289
|
}
|
|
19265
19290
|
}
|
|
19266
19291
|
}
|
|
19267
19292
|
},
|
|
19268
|
-
abrupt: function abrupt(
|
|
19269
|
-
for (var
|
|
19270
|
-
var
|
|
19271
|
-
if (
|
|
19272
|
-
var
|
|
19293
|
+
abrupt: function abrupt(t, e) {
|
|
19294
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
19295
|
+
var o = this.tryEntries[r];
|
|
19296
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
19297
|
+
var i = o;
|
|
19273
19298
|
break;
|
|
19274
19299
|
}
|
|
19275
19300
|
}
|
|
19276
|
-
|
|
19277
|
-
var
|
|
19278
|
-
return
|
|
19301
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
19302
|
+
var a = i ? i.completion : {};
|
|
19303
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
19279
19304
|
},
|
|
19280
|
-
complete: function complete(
|
|
19281
|
-
if ("throw" ===
|
|
19282
|
-
return "break" ===
|
|
19305
|
+
complete: function complete(t, e) {
|
|
19306
|
+
if ("throw" === t.type) throw t.arg;
|
|
19307
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
19283
19308
|
},
|
|
19284
|
-
finish: function finish(
|
|
19285
|
-
for (var
|
|
19286
|
-
var
|
|
19287
|
-
if (
|
|
19309
|
+
finish: function finish(t) {
|
|
19310
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
19311
|
+
var r = this.tryEntries[e];
|
|
19312
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
19288
19313
|
}
|
|
19289
19314
|
},
|
|
19290
|
-
"catch": function _catch(
|
|
19291
|
-
for (var
|
|
19292
|
-
var
|
|
19293
|
-
if (
|
|
19294
|
-
var
|
|
19295
|
-
if ("throw" ===
|
|
19296
|
-
var
|
|
19297
|
-
resetTryEntry(
|
|
19315
|
+
"catch": function _catch(t) {
|
|
19316
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
19317
|
+
var r = this.tryEntries[e];
|
|
19318
|
+
if (r.tryLoc === t) {
|
|
19319
|
+
var n = r.completion;
|
|
19320
|
+
if ("throw" === n.type) {
|
|
19321
|
+
var o = n.arg;
|
|
19322
|
+
resetTryEntry(r);
|
|
19298
19323
|
}
|
|
19299
|
-
return
|
|
19324
|
+
return o;
|
|
19300
19325
|
}
|
|
19301
19326
|
}
|
|
19302
19327
|
throw new Error("illegal catch attempt");
|
|
19303
19328
|
},
|
|
19304
|
-
delegateYield: function delegateYield(
|
|
19329
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
19305
19330
|
return this.delegate = {
|
|
19306
|
-
iterator: values(
|
|
19307
|
-
resultName:
|
|
19308
|
-
nextLoc:
|
|
19309
|
-
}, "next" === this.method && (this.arg =
|
|
19331
|
+
iterator: values(e),
|
|
19332
|
+
resultName: r,
|
|
19333
|
+
nextLoc: n
|
|
19334
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
19310
19335
|
}
|
|
19311
|
-
},
|
|
19336
|
+
}, e;
|
|
19312
19337
|
}
|
|
19313
19338
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19314
19339
|
|
|
@@ -19316,14 +19341,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
|
19316
19341
|
/* 529 */
|
|
19317
19342
|
/***/ (function(module) {
|
|
19318
19343
|
|
|
19319
|
-
function _typeof(
|
|
19344
|
+
function _typeof(o) {
|
|
19320
19345
|
"@babel/helpers - typeof";
|
|
19321
19346
|
|
|
19322
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
19323
|
-
return typeof
|
|
19324
|
-
} : function (
|
|
19325
|
-
return
|
|
19326
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
|
19347
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
19348
|
+
return typeof o;
|
|
19349
|
+
} : function (o) {
|
|
19350
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
19351
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
19327
19352
|
}
|
|
19328
19353
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19329
19354
|
|
|
@@ -19367,14 +19392,14 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
19367
19392
|
_setPrototypeOf(subClass, superClass);
|
|
19368
19393
|
}
|
|
19369
19394
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
19370
|
-
function _typeof(
|
|
19395
|
+
function _typeof(o) {
|
|
19371
19396
|
"@babel/helpers - typeof";
|
|
19372
19397
|
|
|
19373
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
19374
|
-
return typeof
|
|
19375
|
-
} : function (
|
|
19376
|
-
return
|
|
19377
|
-
}, _typeof(
|
|
19398
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
19399
|
+
return typeof o;
|
|
19400
|
+
} : function (o) {
|
|
19401
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
19402
|
+
}, _typeof(o);
|
|
19378
19403
|
}
|
|
19379
19404
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
19380
19405
|
|
|
@@ -19413,8 +19438,8 @@ function _defineProperty(obj, key, value) {
|
|
|
19413
19438
|
}
|
|
19414
19439
|
;// CONCATENATED MODULE: ./src/config/classes.ts
|
|
19415
19440
|
|
|
19416
|
-
function ownKeys(
|
|
19417
|
-
function _objectSpread(
|
|
19441
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19442
|
+
function _objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19418
19443
|
/**
|
|
19419
19444
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
19420
19445
|
* billboard.js project is licensed under the MIT license
|
|
@@ -19423,7 +19448,7 @@ function _objectSpread(target) { for (var i = 1, source; i < arguments.length; i
|
|
|
19423
19448
|
* CSS class names definition
|
|
19424
19449
|
* @private
|
|
19425
19450
|
*/
|
|
19426
|
-
|
|
19451
|
+
const $COMMON = {
|
|
19427
19452
|
button: "bb-button",
|
|
19428
19453
|
chart: "bb-chart",
|
|
19429
19454
|
empty: "bb-empty",
|
|
@@ -19431,7 +19456,7 @@ var $COMMON = {
|
|
|
19431
19456
|
target: "bb-target",
|
|
19432
19457
|
EXPANDED: "_expanded_"
|
|
19433
19458
|
};
|
|
19434
|
-
|
|
19459
|
+
const $ARC = {
|
|
19435
19460
|
arc: "bb-arc",
|
|
19436
19461
|
arcLabelLine: "bb-arc-label-line",
|
|
19437
19462
|
arcs: "bb-arcs",
|
|
@@ -19441,11 +19466,11 @@ var $ARC = {
|
|
|
19441
19466
|
chartArcsTitle: "bb-chart-arcs-title",
|
|
19442
19467
|
needle: "bb-needle"
|
|
19443
19468
|
};
|
|
19444
|
-
|
|
19469
|
+
const $AREA = {
|
|
19445
19470
|
area: "bb-area",
|
|
19446
19471
|
areas: "bb-areas"
|
|
19447
19472
|
};
|
|
19448
|
-
|
|
19473
|
+
const $AXIS = {
|
|
19449
19474
|
axis: "bb-axis",
|
|
19450
19475
|
axisX: "bb-axis-x",
|
|
19451
19476
|
axisXLabel: "bb-axis-x-label",
|
|
@@ -19454,13 +19479,13 @@ var $AXIS = {
|
|
|
19454
19479
|
axisY2Label: "bb-axis-y2-label",
|
|
19455
19480
|
axisYLabel: "bb-axis-y-label"
|
|
19456
19481
|
};
|
|
19457
|
-
|
|
19482
|
+
const $BAR = {
|
|
19458
19483
|
bar: "bb-bar",
|
|
19459
19484
|
bars: "bb-bars",
|
|
19460
19485
|
chartBar: "bb-chart-bar",
|
|
19461
19486
|
chartBars: "bb-chart-bars"
|
|
19462
19487
|
};
|
|
19463
|
-
|
|
19488
|
+
const $CANDLESTICK = {
|
|
19464
19489
|
candlestick: "bb-candlestick",
|
|
19465
19490
|
candlesticks: "bb-candlesticks",
|
|
19466
19491
|
chartCandlestick: "bb-chart-candlestick",
|
|
@@ -19468,27 +19493,27 @@ var $CANDLESTICK = {
|
|
|
19468
19493
|
valueDown: "bb-value-down",
|
|
19469
19494
|
valueUp: "bb-value-up"
|
|
19470
19495
|
};
|
|
19471
|
-
|
|
19496
|
+
const $CIRCLE = {
|
|
19472
19497
|
chartCircles: "bb-chart-circles",
|
|
19473
19498
|
circle: "bb-circle",
|
|
19474
19499
|
circles: "bb-circles"
|
|
19475
19500
|
};
|
|
19476
|
-
|
|
19501
|
+
const $COLOR = {
|
|
19477
19502
|
colorPattern: "bb-color-pattern",
|
|
19478
19503
|
colorScale: "bb-colorscale"
|
|
19479
19504
|
};
|
|
19480
|
-
|
|
19505
|
+
const $DRAG = {
|
|
19481
19506
|
dragarea: "bb-dragarea",
|
|
19482
19507
|
INCLUDED: "_included_"
|
|
19483
19508
|
};
|
|
19484
|
-
|
|
19509
|
+
const $GAUGE = {
|
|
19485
19510
|
chartArcsGaugeMax: "bb-chart-arcs-gauge-max",
|
|
19486
19511
|
chartArcsGaugeMin: "bb-chart-arcs-gauge-min",
|
|
19487
19512
|
chartArcsGaugeUnit: "bb-chart-arcs-gauge-unit",
|
|
19488
19513
|
chartArcsGaugeTitle: "bb-chart-arcs-gauge-title",
|
|
19489
19514
|
gaugeValue: "bb-gauge-value"
|
|
19490
19515
|
};
|
|
19491
|
-
|
|
19516
|
+
const $LEGEND = {
|
|
19492
19517
|
legend: "bb-legend",
|
|
19493
19518
|
legendBackground: "bb-legend-background",
|
|
19494
19519
|
legendItem: "bb-legend-item",
|
|
@@ -19497,26 +19522,26 @@ var $LEGEND = {
|
|
|
19497
19522
|
legendItemPoint: "bb-legend-item-point",
|
|
19498
19523
|
legendItemTile: "bb-legend-item-tile"
|
|
19499
19524
|
};
|
|
19500
|
-
|
|
19525
|
+
const $LINE = {
|
|
19501
19526
|
chartLine: "bb-chart-line",
|
|
19502
19527
|
chartLines: "bb-chart-lines",
|
|
19503
19528
|
line: "bb-line",
|
|
19504
19529
|
lines: "bb-lines"
|
|
19505
19530
|
};
|
|
19506
|
-
|
|
19531
|
+
const $EVENT = {
|
|
19507
19532
|
eventRect: "bb-event-rect",
|
|
19508
19533
|
eventRects: "bb-event-rects",
|
|
19509
19534
|
eventRectsMultiple: "bb-event-rects-multiple",
|
|
19510
19535
|
eventRectsSingle: "bb-event-rects-single"
|
|
19511
19536
|
};
|
|
19512
|
-
|
|
19537
|
+
const $FOCUS = {
|
|
19513
19538
|
focused: "bb-focused",
|
|
19514
19539
|
defocused: "bb-defocused",
|
|
19515
19540
|
legendItemFocused: "bb-legend-item-focused",
|
|
19516
19541
|
xgridFocus: "bb-xgrid-focus",
|
|
19517
19542
|
ygridFocus: "bb-ygrid-focus"
|
|
19518
19543
|
};
|
|
19519
|
-
|
|
19544
|
+
const $GRID = {
|
|
19520
19545
|
grid: "bb-grid",
|
|
19521
19546
|
gridLines: "bb-grid-lines",
|
|
19522
19547
|
xgrid: "bb-xgrid",
|
|
@@ -19528,32 +19553,32 @@ var $GRID = {
|
|
|
19528
19553
|
ygridLines: "bb-ygrid-lines",
|
|
19529
19554
|
ygrids: "bb-ygrids"
|
|
19530
19555
|
};
|
|
19531
|
-
|
|
19556
|
+
const $LEVEL = {
|
|
19532
19557
|
level: "bb-level",
|
|
19533
19558
|
levels: "bb-levels"
|
|
19534
19559
|
};
|
|
19535
|
-
|
|
19560
|
+
const $RADAR = {
|
|
19536
19561
|
chartRadar: "bb-chart-radar",
|
|
19537
19562
|
chartRadars: "bb-chart-radars"
|
|
19538
19563
|
};
|
|
19539
|
-
|
|
19564
|
+
const $REGION = {
|
|
19540
19565
|
region: "bb-region",
|
|
19541
19566
|
regions: "bb-regions"
|
|
19542
19567
|
};
|
|
19543
|
-
|
|
19568
|
+
const $SELECT = {
|
|
19544
19569
|
selectedCircle: "bb-selected-circle",
|
|
19545
19570
|
selectedCircles: "bb-selected-circles",
|
|
19546
19571
|
SELECTED: "_selected_"
|
|
19547
19572
|
};
|
|
19548
|
-
|
|
19573
|
+
const $SHAPE = {
|
|
19549
19574
|
shape: "bb-shape",
|
|
19550
19575
|
shapes: "bb-shapes"
|
|
19551
19576
|
};
|
|
19552
|
-
|
|
19577
|
+
const $SUBCHART = {
|
|
19553
19578
|
brush: "bb-brush",
|
|
19554
19579
|
subchart: "bb-subchart"
|
|
19555
19580
|
};
|
|
19556
|
-
|
|
19581
|
+
const $TEXT = {
|
|
19557
19582
|
chartText: "bb-chart-text",
|
|
19558
19583
|
chartTexts: "bb-chart-texts",
|
|
19559
19584
|
text: "bb-text",
|
|
@@ -19561,17 +19586,17 @@ var $TEXT = {
|
|
|
19561
19586
|
title: "bb-title",
|
|
19562
19587
|
TextOverlapping: "text-overlapping"
|
|
19563
19588
|
};
|
|
19564
|
-
|
|
19589
|
+
const $TOOLTIP = {
|
|
19565
19590
|
tooltip: "bb-tooltip",
|
|
19566
19591
|
tooltipContainer: "bb-tooltip-container",
|
|
19567
19592
|
tooltipName: "bb-tooltip-name"
|
|
19568
19593
|
};
|
|
19569
|
-
|
|
19594
|
+
const $TREEMAP = {
|
|
19570
19595
|
treemap: "bb-treemap",
|
|
19571
19596
|
chartTreemap: "bb-chart-treemap",
|
|
19572
19597
|
chartTreemaps: "bb-chart-treemaps"
|
|
19573
19598
|
};
|
|
19574
|
-
|
|
19599
|
+
const $ZOOM = {
|
|
19575
19600
|
buttonZoomReset: "bb-zoom-reset",
|
|
19576
19601
|
zoomBrush: "bb-zoom-brush"
|
|
19577
19602
|
};
|
|
@@ -19595,7 +19620,7 @@ var $ZOOM = {
|
|
|
19595
19620
|
* @example
|
|
19596
19621
|
* bb.plugin.stanford.version; // ex) 1.9.0
|
|
19597
19622
|
*/
|
|
19598
|
-
|
|
19623
|
+
let Plugin = /*#__PURE__*/function () {
|
|
19599
19624
|
/**
|
|
19600
19625
|
* Constructor
|
|
19601
19626
|
* @param {Any} options config option object
|
|
@@ -19649,7 +19674,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
19649
19674
|
};
|
|
19650
19675
|
return Plugin;
|
|
19651
19676
|
}();
|
|
19652
|
-
Plugin.version = "3.
|
|
19677
|
+
Plugin.version = "3.10.0-next.1";
|
|
19653
19678
|
|
|
19654
19679
|
;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts
|
|
19655
19680
|
/**
|
|
@@ -19664,7 +19689,7 @@ Plugin.version = "3.9.2";
|
|
|
19664
19689
|
* @returns {TableviewOptions}
|
|
19665
19690
|
* @private
|
|
19666
19691
|
*/
|
|
19667
|
-
|
|
19692
|
+
let Options = function () {
|
|
19668
19693
|
return {
|
|
19669
19694
|
/**
|
|
19670
19695
|
* Specify sparkline charts holder selector.
|
|
@@ -19682,7 +19707,7 @@ var Options = function () {
|
|
|
19682
19707
|
|
|
19683
19708
|
;// CONCATENATED MODULE: ./node_modules/d3-selection/src/sourceEvent.js
|
|
19684
19709
|
/* harmony default export */ function sourceEvent(event) {
|
|
19685
|
-
|
|
19710
|
+
let sourceEvent;
|
|
19686
19711
|
while (sourceEvent = event.sourceEvent) event = sourceEvent;
|
|
19687
19712
|
return event;
|
|
19688
19713
|
}
|
|
@@ -20165,7 +20190,7 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Sy
|
|
|
20165
20190
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20166
20191
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
20167
20192
|
/* harmony default export */ function size() {
|
|
20168
|
-
|
|
20193
|
+
let size = 0;
|
|
20169
20194
|
for (var _iterator = _createForOfIteratorHelperLoose(this), _step; !(_step = _iterator()).done;) {
|
|
20170
20195
|
_step.value;
|
|
20171
20196
|
++size;
|
|
@@ -20717,10 +20742,10 @@ Selection.prototype = selection.prototype = (_selection$prototype = {
|
|
|
20717
20742
|
;// CONCATENATED MODULE: ./node_modules/d3-drag/src/noevent.js
|
|
20718
20743
|
// These are typically used in conjunction with noevent to ensure that we can
|
|
20719
20744
|
// preventDefault on the event.
|
|
20720
|
-
|
|
20745
|
+
const nonpassive = {
|
|
20721
20746
|
passive: !1
|
|
20722
20747
|
};
|
|
20723
|
-
|
|
20748
|
+
const nonpassivecapture = {
|
|
20724
20749
|
capture: !0,
|
|
20725
20750
|
passive: !1
|
|
20726
20751
|
};
|
|
@@ -21035,7 +21060,7 @@ function rgb_formatHex8() {
|
|
|
21035
21060
|
return "#" + hex(this.r) + hex(this.g) + hex(this.b) + hex((isNaN(this.opacity) ? 1 : this.opacity) * 255);
|
|
21036
21061
|
}
|
|
21037
21062
|
function rgb_formatRgb() {
|
|
21038
|
-
|
|
21063
|
+
const a = clampa(this.opacity);
|
|
21039
21064
|
return "" + (a === 1 ? "rgb(" : "rgba(") + clampi(this.r) + ", " + clampi(this.g) + ", " + clampi(this.b) + (a === 1 ? ")" : ", " + a + ")");
|
|
21040
21065
|
}
|
|
21041
21066
|
function clampa(opacity) {
|
|
@@ -21108,7 +21133,7 @@ src_define(Hsl, hsl, extend(Color, {
|
|
|
21108
21133
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
21109
21134
|
},
|
|
21110
21135
|
formatHsl: function formatHsl() {
|
|
21111
|
-
|
|
21136
|
+
const a = clampa(this.opacity);
|
|
21112
21137
|
return "" + (a === 1 ? "hsl(" : "hsla(") + clamph(this.h) + ", " + clampt(this.s) * 100 + "%, " + clampt(this.l) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
|
|
21113
21138
|
}
|
|
21114
21139
|
}));
|
|
@@ -21716,7 +21741,7 @@ var svgNode;
|
|
|
21716
21741
|
|
|
21717
21742
|
/* eslint-disable no-undef */
|
|
21718
21743
|
function parseCss(value) {
|
|
21719
|
-
|
|
21744
|
+
const m = new (typeof DOMMatrix === "function" ? DOMMatrix : WebKitCSSMatrix)(value + "");
|
|
21720
21745
|
return m.isIdentity ? identity : decompose(m.a, m.b, m.c, m.d, m.e, m.f);
|
|
21721
21746
|
}
|
|
21722
21747
|
function parseSvg(value) {
|
|
@@ -22471,7 +22496,7 @@ var src_constant_this = undefined;
|
|
|
22471
22496
|
}).bind(undefined));
|
|
22472
22497
|
;// CONCATENATED MODULE: ./node_modules/d3-brush/src/event.js
|
|
22473
22498
|
function BrushEvent(type, _ref) {
|
|
22474
|
-
|
|
22499
|
+
let sourceEvent = _ref.sourceEvent,
|
|
22475
22500
|
target = _ref.target,
|
|
22476
22501
|
selection = _ref.selection,
|
|
22477
22502
|
mode = _ref.mode,
|
|
@@ -22540,7 +22565,7 @@ var MODE_DRAG = {
|
|
|
22540
22565
|
MODE_CENTER = {
|
|
22541
22566
|
name: "center"
|
|
22542
22567
|
};
|
|
22543
|
-
|
|
22568
|
+
const abs = Math.abs,
|
|
22544
22569
|
max = Math.max,
|
|
22545
22570
|
min = Math.min;
|
|
22546
22571
|
function number1(e) {
|
|
@@ -22826,7 +22851,7 @@ function brush_brush(dim) {
|
|
|
22826
22851
|
lockY,
|
|
22827
22852
|
points = Array.from(event.touches || [event], function (t) {
|
|
22828
22853
|
_newArrowCheck(this, _this);
|
|
22829
|
-
|
|
22854
|
+
const i = t.identifier;
|
|
22830
22855
|
t = src_pointer(t, that);
|
|
22831
22856
|
t.point0 = t.slice();
|
|
22832
22857
|
t.identifier = i;
|
|
@@ -22836,7 +22861,7 @@ function brush_brush(dim) {
|
|
|
22836
22861
|
var emit = emitter(that, arguments, !0).beforestart();
|
|
22837
22862
|
if (type === "overlay") {
|
|
22838
22863
|
if (selection) moving = !0;
|
|
22839
|
-
|
|
22864
|
+
const pts = [points[0], points[1] || points[0]];
|
|
22840
22865
|
state.selection = selection = [[w0 = dim === Y ? W : min(pts[0][0], pts[1][0]), n0 = dim === X ? N : min(pts[0][1], pts[1][1])], [e0 = dim === Y ? E : max(pts[0][0], pts[1][0]), s0 = dim === X ? S : max(pts[0][1], pts[1][1])]];
|
|
22841
22866
|
if (points.length > 1) move(event);
|
|
22842
22867
|
} else {
|
|
@@ -22863,26 +22888,26 @@ function brush_brush(dim) {
|
|
|
22863
22888
|
emit.start(event, mode.name);
|
|
22864
22889
|
function moved(event) {
|
|
22865
22890
|
for (var _iterator = brush_createForOfIteratorHelperLoose(event.changedTouches || [event]), _step; !(_step = _iterator()).done;) {
|
|
22866
|
-
|
|
22891
|
+
const p = _step.value;
|
|
22867
22892
|
for (var _iterator3 = brush_createForOfIteratorHelperLoose(points), _step3; !(_step3 = _iterator3()).done;) {
|
|
22868
|
-
|
|
22893
|
+
const d = _step3.value;
|
|
22869
22894
|
if (d.identifier === p.identifier) d.cur = src_pointer(p, that);
|
|
22870
22895
|
}
|
|
22871
22896
|
}
|
|
22872
22897
|
if (shifting && !lockX && !lockY && points.length === 1) {
|
|
22873
|
-
|
|
22898
|
+
const point = points[0];
|
|
22874
22899
|
if (abs(point.cur[0] - point[0]) > abs(point.cur[1] - point[1])) lockY = !0;else lockX = !0;
|
|
22875
22900
|
}
|
|
22876
22901
|
for (var _iterator2 = brush_createForOfIteratorHelperLoose(points), _step2; !(_step2 = _iterator2()).done;) {
|
|
22877
|
-
|
|
22878
|
-
if (
|
|
22902
|
+
const point = _step2.value;
|
|
22903
|
+
if (point.cur) point[0] = point.cur[0], point[1] = point.cur[1];
|
|
22879
22904
|
}
|
|
22880
22905
|
moving = !0;
|
|
22881
22906
|
src_noevent(event);
|
|
22882
22907
|
move(event);
|
|
22883
22908
|
}
|
|
22884
22909
|
function move(event) {
|
|
22885
|
-
|
|
22910
|
+
const point = points[0],
|
|
22886
22911
|
point0 = point.point0;
|
|
22887
22912
|
var t;
|
|
22888
22913
|
dx = point[0] - point0[0];
|
|
@@ -23073,7 +23098,6 @@ function brush_brush(dim) {
|
|
|
23073
23098
|
|
|
23074
23099
|
;// CONCATENATED MODULE: ./src/module/browser.ts
|
|
23075
23100
|
|
|
23076
|
-
var browser_this = undefined;
|
|
23077
23101
|
/**
|
|
23078
23102
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
23079
23103
|
* billboard.js project is licensed under the MIT license
|
|
@@ -23084,32 +23108,47 @@ var browser_this = undefined;
|
|
|
23084
23108
|
*/
|
|
23085
23109
|
/* eslint-disable no-new-func, no-undef */
|
|
23086
23110
|
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
|
-
|
|
23092
|
-
|
|
23093
|
-
|
|
23094
|
-
|
|
23095
|
-
|
|
23111
|
+
|
|
23112
|
+
/**
|
|
23113
|
+
* Get global object
|
|
23114
|
+
* @returns {object} window object
|
|
23115
|
+
* @private
|
|
23116
|
+
*/
|
|
23117
|
+
function getGlobal() {
|
|
23118
|
+
return typeof globalThis === "object" && globalThis !== null && globalThis.Object === Object && globalThis || typeof global === "object" && global !== null && global.Object === Object && global || typeof self === "object" && self !== null && self.Object === Object && self || Function("return this")();
|
|
23119
|
+
}
|
|
23120
|
+
|
|
23121
|
+
/**
|
|
23122
|
+
* Get fallback object
|
|
23123
|
+
* @param {object} w global object
|
|
23124
|
+
* @returns {Array} fallback object array
|
|
23125
|
+
* @private
|
|
23126
|
+
*/
|
|
23127
|
+
function getFallback(w) {
|
|
23128
|
+
var _this = this;
|
|
23129
|
+
const hasRAF = typeof (w == null ? void 0 : w.requestAnimationFrame) === "function",
|
|
23130
|
+
hasRIC = typeof (w == null ? void 0 : w.requestIdleCallback) === "function";
|
|
23131
|
+
return [hasRAF ? w.requestAnimationFrame : function (cb) {
|
|
23132
|
+
_newArrowCheck(this, _this);
|
|
23096
23133
|
return setTimeout(cb, 1);
|
|
23097
|
-
}.bind(
|
|
23098
|
-
|
|
23099
|
-
_newArrowCheck(this, browser_this);
|
|
23134
|
+
}.bind(this), hasRAF ? w.cancelAnimationFrame : function (id) {
|
|
23135
|
+
_newArrowCheck(this, _this);
|
|
23100
23136
|
return clearTimeout(id);
|
|
23101
|
-
}.bind(
|
|
23102
|
-
|
|
23103
|
-
|
|
23104
|
-
doc = win == null ? void 0 : win.document
|
|
23105
|
-
|
|
23106
|
-
|
|
23137
|
+
}.bind(this), hasRIC ? w.requestIdleCallback : requestAnimationFrame, hasRIC ? w.cancelIdleCallback : cancelAnimationFrame];
|
|
23138
|
+
}
|
|
23139
|
+
const win = getGlobal(),
|
|
23140
|
+
doc = win == null ? void 0 : win.document,
|
|
23141
|
+
_getFallback = getFallback(win),
|
|
23142
|
+
requestAnimationFrame = _getFallback[0],
|
|
23143
|
+
cancelAnimationFrame = _getFallback[1],
|
|
23144
|
+
requestIdleCallback = _getFallback[2],
|
|
23145
|
+
cancelIdleCallback = _getFallback[3];
|
|
23107
23146
|
;// CONCATENATED MODULE: ./src/module/util.ts
|
|
23108
23147
|
|
|
23109
23148
|
|
|
23110
23149
|
var util_this = undefined;
|
|
23111
|
-
function util_ownKeys(
|
|
23112
|
-
function util_objectSpread(
|
|
23150
|
+
function util_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
23151
|
+
function util_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? util_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : util_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23113
23152
|
/**
|
|
23114
23153
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
23115
23154
|
* billboard.js project is licensed under the MIT license
|
|
@@ -23119,7 +23158,7 @@ function util_objectSpread(target) { for (var i = 1, source; i < arguments.lengt
|
|
|
23119
23158
|
|
|
23120
23159
|
|
|
23121
23160
|
|
|
23122
|
-
|
|
23161
|
+
const isValue = function (v) {
|
|
23123
23162
|
_newArrowCheck(this, util_this);
|
|
23124
23163
|
return v || v === 0;
|
|
23125
23164
|
}.bind(undefined),
|
|
@@ -23212,8 +23251,8 @@ function getOption(options, key, defaultValue) {
|
|
|
23212
23251
|
* @private
|
|
23213
23252
|
*/
|
|
23214
23253
|
function hasValue(dict, value) {
|
|
23215
|
-
var _this2 = this
|
|
23216
|
-
|
|
23254
|
+
var _this2 = this;
|
|
23255
|
+
let found = !1;
|
|
23217
23256
|
Object.keys(dict).forEach(function (key) {
|
|
23218
23257
|
_newArrowCheck(this, _this2);
|
|
23219
23258
|
return dict[key] === value && (found = !0);
|
|
@@ -23230,7 +23269,7 @@ function hasValue(dict, value) {
|
|
|
23230
23269
|
* @private
|
|
23231
23270
|
*/
|
|
23232
23271
|
function callFn(fn, thisArg) {
|
|
23233
|
-
|
|
23272
|
+
const isFn = isFunction(fn);
|
|
23234
23273
|
for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
23235
23274
|
args[_key - 2] = arguments[_key];
|
|
23236
23275
|
}
|
|
@@ -23245,14 +23284,15 @@ function callFn(fn, thisArg) {
|
|
|
23245
23284
|
* @private
|
|
23246
23285
|
*/
|
|
23247
23286
|
function endall(transition, cb) {
|
|
23248
|
-
var _this3 = this
|
|
23249
|
-
|
|
23250
|
-
|
|
23251
|
-
|
|
23252
|
-
|
|
23253
|
-
|
|
23254
|
-
|
|
23255
|
-
|
|
23287
|
+
var _this3 = this;
|
|
23288
|
+
let n = 0;
|
|
23289
|
+
const end = function () {
|
|
23290
|
+
for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
23291
|
+
args[_key2] = arguments[_key2];
|
|
23292
|
+
}
|
|
23293
|
+
--n || cb.apply.apply(cb, [this].concat(args));
|
|
23294
|
+
};
|
|
23295
|
+
|
|
23256
23296
|
// if is transition selection
|
|
23257
23297
|
if ("duration" in transition) {
|
|
23258
23298
|
transition.each(function () {
|
|
@@ -23271,8 +23311,8 @@ function endall(transition, cb) {
|
|
|
23271
23311
|
* @returns {string}
|
|
23272
23312
|
* @private
|
|
23273
23313
|
*/
|
|
23274
|
-
function
|
|
23275
|
-
return isString(str) ? str.replace(
|
|
23314
|
+
function sanitize(str) {
|
|
23315
|
+
return isString(str) ? str.replace(/<(script|img)?/ig, "<").replace(/(script)?>/ig, ">") : str;
|
|
23276
23316
|
}
|
|
23277
23317
|
|
|
23278
23318
|
/**
|
|
@@ -23297,12 +23337,12 @@ function setTextValue(node, text, dy, toMiddle) {
|
|
|
23297
23337
|
if (text.indexOf("\n") === -1) {
|
|
23298
23338
|
node.text(text);
|
|
23299
23339
|
} else {
|
|
23300
|
-
|
|
23340
|
+
const diff = [node.text(), text].map(function (v) {
|
|
23301
23341
|
_newArrowCheck(this, _this4);
|
|
23302
23342
|
return v.replace(/[\s\n]/g, "");
|
|
23303
23343
|
}.bind(this));
|
|
23304
23344
|
if (diff[0] !== diff[1]) {
|
|
23305
|
-
|
|
23345
|
+
const multiline = text.split("\n"),
|
|
23306
23346
|
len = toMiddle ? multiline.length - 1 : 1;
|
|
23307
23347
|
// reset possible text
|
|
23308
23348
|
node.html("");
|
|
@@ -23328,7 +23368,7 @@ function getRectSegList(path) {
|
|
|
23328
23368
|
* | |
|
|
23329
23369
|
* seg0 ---------- seg3
|
|
23330
23370
|
* */
|
|
23331
|
-
|
|
23371
|
+
const _path$getBBox = path.getBBox(),
|
|
23332
23372
|
x = _path$getBBox.x,
|
|
23333
23373
|
y = _path$getBBox.y,
|
|
23334
23374
|
width = _path$getBBox.width,
|
|
@@ -23362,7 +23402,7 @@ function getRectSegList(path) {
|
|
|
23362
23402
|
* @private
|
|
23363
23403
|
*/
|
|
23364
23404
|
function getPathBox(path) {
|
|
23365
|
-
|
|
23405
|
+
const _path$getBoundingClie = path.getBoundingClientRect(),
|
|
23366
23406
|
width = _path$getBoundingClie.width,
|
|
23367
23407
|
height = _path$getBoundingClie.height,
|
|
23368
23408
|
items = getRectSegList(path),
|
|
@@ -23385,9 +23425,12 @@ function getPathBox(path) {
|
|
|
23385
23425
|
*/
|
|
23386
23426
|
function getPointer(event, element) {
|
|
23387
23427
|
var _ref,
|
|
23388
|
-
touches = event && ((_ref = event.touches || event.sourceEvent && event.sourceEvent.touches) == null ? void 0 : _ref[0]),
|
|
23389
|
-
pointer = src_pointer(touches || event, element),
|
|
23390
23428
|
_this5 = this;
|
|
23429
|
+
const touches = event && ((_ref = event.touches || event.sourceEvent && event.sourceEvent.touches) == null ? void 0 : _ref[0]);
|
|
23430
|
+
let pointer = [0, 0];
|
|
23431
|
+
try {
|
|
23432
|
+
pointer = src_pointer(touches || event, element);
|
|
23433
|
+
} catch (e) {}
|
|
23391
23434
|
return pointer.map(function (v) {
|
|
23392
23435
|
_newArrowCheck(this, _this5);
|
|
23393
23436
|
return isNaN(v) ? 0 : v;
|
|
@@ -23401,10 +23444,10 @@ function getPointer(event, element) {
|
|
|
23401
23444
|
* @private
|
|
23402
23445
|
*/
|
|
23403
23446
|
function getBrushSelection(ctx) {
|
|
23404
|
-
|
|
23447
|
+
const event = ctx.event,
|
|
23405
23448
|
$el = ctx.$el,
|
|
23406
23449
|
main = $el.subchart.main || $el.main;
|
|
23407
|
-
|
|
23450
|
+
let selection;
|
|
23408
23451
|
|
|
23409
23452
|
// check from event
|
|
23410
23453
|
if (event && event.type === "brush") {
|
|
@@ -23424,7 +23467,7 @@ function getBrushSelection(ctx) {
|
|
|
23424
23467
|
* @private
|
|
23425
23468
|
*/
|
|
23426
23469
|
function getBoundingRect(node) {
|
|
23427
|
-
|
|
23470
|
+
const needEvaluate = !("rect" in node) || "rect" in node && node.hasAttribute("width") && node.rect.width !== +node.getAttribute("width");
|
|
23428
23471
|
return needEvaluate ? node.rect = node.getBoundingClientRect() : node.rect;
|
|
23429
23472
|
}
|
|
23430
23473
|
|
|
@@ -23446,7 +23489,7 @@ function getRandom(asStr, min, max) {
|
|
|
23446
23489
|
if (max === void 0) {
|
|
23447
23490
|
max = 1e4;
|
|
23448
23491
|
}
|
|
23449
|
-
|
|
23492
|
+
const crpt = win.crypto || win.msCrypto,
|
|
23450
23493
|
rand = crpt ? min + crpt.getRandomValues(new Uint32Array(1))[0] % (max - min + 1) : Math.floor(Math.random() * (max - min) + min);
|
|
23451
23494
|
return asStr ? rand + "" : rand;
|
|
23452
23495
|
}
|
|
@@ -23465,8 +23508,8 @@ function findIndex(arr, v, start, end, isRotated) {
|
|
|
23465
23508
|
if (start > end) {
|
|
23466
23509
|
return -1;
|
|
23467
23510
|
}
|
|
23468
|
-
|
|
23469
|
-
|
|
23511
|
+
const mid = Math.floor((start + end) / 2);
|
|
23512
|
+
let _arr$mid = arr[mid],
|
|
23470
23513
|
x = _arr$mid.x,
|
|
23471
23514
|
_arr$mid$w = _arr$mid.w,
|
|
23472
23515
|
w = _arr$mid$w === void 0 ? 0 : _arr$mid$w;
|
|
@@ -23487,7 +23530,7 @@ function findIndex(arr, v, start, end, isRotated) {
|
|
|
23487
23530
|
* @private
|
|
23488
23531
|
*/
|
|
23489
23532
|
function brushEmpty(ctx) {
|
|
23490
|
-
|
|
23533
|
+
const selection = getBrushSelection(ctx);
|
|
23491
23534
|
if (selection) {
|
|
23492
23535
|
// brush selected area
|
|
23493
23536
|
// two-dimensional: [[x0, y0], [x1, y1]]
|
|
@@ -23504,17 +23547,19 @@ function brushEmpty(ctx) {
|
|
|
23504
23547
|
* @private
|
|
23505
23548
|
*/
|
|
23506
23549
|
function deepClone() {
|
|
23507
|
-
|
|
23508
|
-
|
|
23509
|
-
|
|
23510
|
-
|
|
23511
|
-
|
|
23512
|
-
|
|
23513
|
-
|
|
23514
|
-
return r;
|
|
23550
|
+
var _this6 = this;
|
|
23551
|
+
const _clone = function clone(v) {
|
|
23552
|
+
_newArrowCheck(this, _this6);
|
|
23553
|
+
if (isObject(v) && v.constructor) {
|
|
23554
|
+
const r = new v.constructor();
|
|
23555
|
+
for (const k in v) {
|
|
23556
|
+
r[k] = _clone(v[k]);
|
|
23515
23557
|
}
|
|
23516
|
-
return
|
|
23517
|
-
}
|
|
23558
|
+
return r;
|
|
23559
|
+
}
|
|
23560
|
+
return v;
|
|
23561
|
+
}.bind(this);
|
|
23562
|
+
for (var _len3 = arguments.length, objectN = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
23518
23563
|
objectN[_key3] = arguments[_key3];
|
|
23519
23564
|
}
|
|
23520
23565
|
return objectN.map(function (v) {
|
|
@@ -23546,7 +23591,7 @@ function util_extend(target, source) {
|
|
|
23546
23591
|
}
|
|
23547
23592
|
|
|
23548
23593
|
// exclude name with only numbers
|
|
23549
|
-
for (
|
|
23594
|
+
for (const p in source) {
|
|
23550
23595
|
if (/^\d+$/.test(p) || p in target) {
|
|
23551
23596
|
continue;
|
|
23552
23597
|
}
|
|
@@ -23561,7 +23606,7 @@ function util_extend(target, source) {
|
|
|
23561
23606
|
* @returns {string} capitalized string
|
|
23562
23607
|
* @private
|
|
23563
23608
|
*/
|
|
23564
|
-
|
|
23609
|
+
const capitalize = function (str) {
|
|
23565
23610
|
_newArrowCheck(this, util_this);
|
|
23566
23611
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
23567
23612
|
}.bind(undefined);
|
|
@@ -23590,7 +23635,7 @@ function camelize(str, separator) {
|
|
|
23590
23635
|
* @returns {Array}
|
|
23591
23636
|
* @private
|
|
23592
23637
|
*/
|
|
23593
|
-
|
|
23638
|
+
const toArray = function (v) {
|
|
23594
23639
|
_newArrowCheck(this, util_this);
|
|
23595
23640
|
return [].slice.call(v);
|
|
23596
23641
|
}.bind(undefined);
|
|
@@ -23604,8 +23649,8 @@ var toArray = function (v) {
|
|
|
23604
23649
|
* @private
|
|
23605
23650
|
*/
|
|
23606
23651
|
function addCssRules(style, selector, prop) {
|
|
23607
|
-
var _this9 = this
|
|
23608
|
-
|
|
23652
|
+
var _this9 = this;
|
|
23653
|
+
const rootSelctor = style.rootSelctor,
|
|
23609
23654
|
sheet = style.sheet,
|
|
23610
23655
|
getSelector = function (s) {
|
|
23611
23656
|
_newArrowCheck(this, _this9);
|
|
@@ -23622,8 +23667,8 @@ function addCssRules(style, selector, prop) {
|
|
|
23622
23667
|
* @private
|
|
23623
23668
|
*/
|
|
23624
23669
|
function getCssRules(styleSheets) {
|
|
23625
|
-
var _this10 = this
|
|
23626
|
-
|
|
23670
|
+
var _this10 = this;
|
|
23671
|
+
let rules = [];
|
|
23627
23672
|
styleSheets.forEach(function (sheet) {
|
|
23628
23673
|
_newArrowCheck(this, _this10);
|
|
23629
23674
|
try {
|
|
@@ -23632,7 +23677,7 @@ function getCssRules(styleSheets) {
|
|
|
23632
23677
|
}
|
|
23633
23678
|
} catch (e) {
|
|
23634
23679
|
var _window$console;
|
|
23635
|
-
(_window$console = win.console) == null
|
|
23680
|
+
(_window$console = win.console) == null || _window$console.warn("Error while reading rules from " + sheet.href + ": " + e.toString());
|
|
23636
23681
|
}
|
|
23637
23682
|
}.bind(this));
|
|
23638
23683
|
return rules;
|
|
@@ -23645,7 +23690,7 @@ function getCssRules(styleSheets) {
|
|
|
23645
23690
|
* @private
|
|
23646
23691
|
*/
|
|
23647
23692
|
function getTranslation(node) {
|
|
23648
|
-
|
|
23693
|
+
const transform = node ? node.transform : null,
|
|
23649
23694
|
baseVal = transform && transform.baseVal;
|
|
23650
23695
|
return baseVal && baseVal.numberOfItems ? baseVal.getItem(0).matrix : {
|
|
23651
23696
|
a: 0,
|
|
@@ -23664,8 +23709,8 @@ function getTranslation(node) {
|
|
|
23664
23709
|
* @private
|
|
23665
23710
|
*/
|
|
23666
23711
|
function getUnique(data) {
|
|
23667
|
-
var _this11 = this
|
|
23668
|
-
|
|
23712
|
+
var _this11 = this;
|
|
23713
|
+
const isDate = data[0] instanceof Date,
|
|
23669
23714
|
d = (isDate ? data.map(Number) : data).filter(function (v, i, self) {
|
|
23670
23715
|
_newArrowCheck(this, _this11);
|
|
23671
23716
|
return self.indexOf(v) === i;
|
|
@@ -23704,11 +23749,11 @@ function mergeObj(target) {
|
|
|
23704
23749
|
if (!objectN.length || objectN.length === 1 && !objectN[0]) {
|
|
23705
23750
|
return target;
|
|
23706
23751
|
}
|
|
23707
|
-
|
|
23752
|
+
const source = objectN.shift();
|
|
23708
23753
|
if (isObject(target) && isObject(source)) {
|
|
23709
23754
|
Object.keys(source).forEach(function (key) {
|
|
23710
23755
|
_newArrowCheck(this, _this13);
|
|
23711
|
-
|
|
23756
|
+
const value = source[key];
|
|
23712
23757
|
if (isObject(value)) {
|
|
23713
23758
|
target[key] || (target[key] = {});
|
|
23714
23759
|
target[key] = mergeObj(target[key], value);
|
|
@@ -23732,7 +23777,7 @@ function sortValue(data, isAsc) {
|
|
|
23732
23777
|
if (isAsc === void 0) {
|
|
23733
23778
|
isAsc = !0;
|
|
23734
23779
|
}
|
|
23735
|
-
|
|
23780
|
+
let fn;
|
|
23736
23781
|
if (data[0] instanceof Date) {
|
|
23737
23782
|
fn = isAsc ? function (a, b) {
|
|
23738
23783
|
_newArrowCheck(this, _this14);
|
|
@@ -23765,11 +23810,11 @@ function sortValue(data, isAsc) {
|
|
|
23765
23810
|
* @private
|
|
23766
23811
|
*/
|
|
23767
23812
|
function getMinMax(type, data) {
|
|
23768
|
-
var _this15 = this
|
|
23769
|
-
|
|
23770
|
-
|
|
23771
|
-
|
|
23772
|
-
|
|
23813
|
+
var _this15 = this;
|
|
23814
|
+
let res = data.filter(function (v) {
|
|
23815
|
+
_newArrowCheck(this, _this15);
|
|
23816
|
+
return notEmpty(v);
|
|
23817
|
+
}.bind(this));
|
|
23773
23818
|
if (res.length) {
|
|
23774
23819
|
if (isNumber(res[0])) {
|
|
23775
23820
|
res = Math[type].apply(Math, res);
|
|
@@ -23790,14 +23835,14 @@ function getMinMax(type, data) {
|
|
|
23790
23835
|
* @returns {Array}
|
|
23791
23836
|
* @private
|
|
23792
23837
|
*/
|
|
23793
|
-
|
|
23838
|
+
const getRange = function (start, end, step) {
|
|
23794
23839
|
if (step === void 0) {
|
|
23795
23840
|
step = 1;
|
|
23796
23841
|
}
|
|
23797
23842
|
_newArrowCheck(this, util_this);
|
|
23798
|
-
|
|
23843
|
+
const res = [],
|
|
23799
23844
|
n = Math.max(0, Math.ceil((end - start) / step)) | 0;
|
|
23800
|
-
for (
|
|
23845
|
+
for (let i = start; i < n; i++) {
|
|
23801
23846
|
res.push(start + i * step);
|
|
23802
23847
|
}
|
|
23803
23848
|
return res;
|
|
@@ -23806,7 +23851,7 @@ var getRange = function (start, end, step) {
|
|
|
23806
23851
|
mouse: function () {
|
|
23807
23852
|
var _this16 = this;
|
|
23808
23853
|
_newArrowCheck(this, util_this);
|
|
23809
|
-
|
|
23854
|
+
const getParams = function () {
|
|
23810
23855
|
_newArrowCheck(this, _this16);
|
|
23811
23856
|
return {
|
|
23812
23857
|
bubbles: !1,
|
|
@@ -23834,7 +23879,7 @@ var getRange = function (start, end, step) {
|
|
|
23834
23879
|
params = getParams();
|
|
23835
23880
|
}
|
|
23836
23881
|
_newArrowCheck(this, _this16);
|
|
23837
|
-
|
|
23882
|
+
const mouseEvent = doc.createEvent("MouseEvent");
|
|
23838
23883
|
|
|
23839
23884
|
// https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent
|
|
23840
23885
|
mouseEvent.initMouseEvent(eventType, params.bubbles, params.cancelable, win, 0,
|
|
@@ -23846,7 +23891,7 @@ var getRange = function (start, end, step) {
|
|
|
23846
23891
|
}.bind(undefined)(),
|
|
23847
23892
|
touch: function touch(el, eventType, params) {
|
|
23848
23893
|
_newArrowCheck(this, util_this);
|
|
23849
|
-
|
|
23894
|
+
const touchObj = new Touch(mergeObj({
|
|
23850
23895
|
identifier: Date.now(),
|
|
23851
23896
|
target: el,
|
|
23852
23897
|
radiusX: 2.5,
|
|
@@ -23872,8 +23917,8 @@ var getRange = function (start, end, step) {
|
|
|
23872
23917
|
* @private
|
|
23873
23918
|
*/
|
|
23874
23919
|
function tplProcess(tpl, data) {
|
|
23875
|
-
|
|
23876
|
-
for (
|
|
23920
|
+
let res = tpl;
|
|
23921
|
+
for (const x in data) {
|
|
23877
23922
|
res = res.replace(new RegExp("{=" + x + "}", "g"), data[x]);
|
|
23878
23923
|
}
|
|
23879
23924
|
return res;
|
|
@@ -23887,13 +23932,14 @@ function tplProcess(tpl, data) {
|
|
|
23887
23932
|
* @private
|
|
23888
23933
|
*/
|
|
23889
23934
|
function parseDate(date) {
|
|
23890
|
-
|
|
23935
|
+
let parsedDate;
|
|
23891
23936
|
if (date instanceof Date) {
|
|
23892
23937
|
parsedDate = date;
|
|
23893
23938
|
} else if (isString(date)) {
|
|
23894
|
-
var _format$dataTime
|
|
23895
|
-
|
|
23939
|
+
var _format$dataTime;
|
|
23940
|
+
const config = this.config,
|
|
23896
23941
|
format = this.format;
|
|
23942
|
+
|
|
23897
23943
|
// if fails to parse, try by new Date()
|
|
23898
23944
|
// https://github.com/naver/billboard.js/issues/1714
|
|
23899
23945
|
parsedDate = (_format$dataTime = format.dataTime(config.data_xFormat)(date)) != null ? _format$dataTime : new Date(date);
|
|
@@ -23923,11 +23969,11 @@ function isTabVisible() {
|
|
|
23923
23969
|
* @private
|
|
23924
23970
|
*/
|
|
23925
23971
|
function convertInputType(mouse, touch) {
|
|
23926
|
-
var _this17 = this
|
|
23927
|
-
|
|
23972
|
+
var _this17 = this;
|
|
23973
|
+
const DocumentTouch = win.DocumentTouch,
|
|
23928
23974
|
matchMedia = win.matchMedia,
|
|
23929
|
-
navigator = win.navigator
|
|
23930
|
-
|
|
23975
|
+
navigator = win.navigator;
|
|
23976
|
+
let hasTouch = !1;
|
|
23931
23977
|
if (touch) {
|
|
23932
23978
|
// Some Edge desktop return true: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/20417074/
|
|
23933
23979
|
if (navigator && "maxTouchPoints" in navigator) {
|
|
@@ -23943,7 +23989,7 @@ function convertInputType(mouse, touch) {
|
|
|
23943
23989
|
hasTouch = !0;
|
|
23944
23990
|
} else {
|
|
23945
23991
|
// Only as a last resort, fall back to user agent sniffing
|
|
23946
|
-
|
|
23992
|
+
const UA = navigator.userAgent;
|
|
23947
23993
|
hasTouch = /\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(UA) || /\b(Android|Windows Phone|iPad|iPod)\b/i.test(UA);
|
|
23948
23994
|
}
|
|
23949
23995
|
}
|
|
@@ -23952,7 +23998,7 @@ function convertInputType(mouse, touch) {
|
|
|
23952
23998
|
// Check if agent has mouse using any-hover, touch devices (e.g iPad) with external mouse will return true as long as mouse is connected
|
|
23953
23999
|
// https://css-tricks.com/interaction-media-features-and-their-potential-for-incorrect-assumptions/#aa-testing-the-capabilities-of-all-inputs
|
|
23954
24000
|
// Demo: https://patrickhlauke.github.io/touch/pointer-hover-any-pointer-any-hover/
|
|
23955
|
-
|
|
24001
|
+
const hasMouse = mouse && ["any-hover:hover", "any-pointer:fine"].some(function (v) {
|
|
23956
24002
|
_newArrowCheck(this, _this17);
|
|
23957
24003
|
return matchMedia == null ? void 0 : matchMedia("(" + v + ")").matches;
|
|
23958
24004
|
}.bind(this));
|
|
@@ -23991,22 +24037,20 @@ function runUntil(fn, conditionFn) {
|
|
|
23991
24037
|
* @private
|
|
23992
24038
|
*/
|
|
23993
24039
|
function loadConfig(config) {
|
|
23994
|
-
var _this = this
|
|
23995
|
-
|
|
23996
|
-
|
|
23997
|
-
|
|
23998
|
-
|
|
23999
|
-
|
|
24000
|
-
|
|
24001
|
-
|
|
24002
|
-
|
|
24003
|
-
|
|
24004
|
-
|
|
24005
|
-
|
|
24006
|
-
|
|
24007
|
-
|
|
24008
|
-
return undefined;
|
|
24009
|
-
}.bind(this);
|
|
24040
|
+
var _this = this;
|
|
24041
|
+
const thisConfig = this.config;
|
|
24042
|
+
let target, keys, read;
|
|
24043
|
+
const _find = function find() {
|
|
24044
|
+
_newArrowCheck(this, _this);
|
|
24045
|
+
const key = keys.shift();
|
|
24046
|
+
if (key && target && isObjectType(target) && key in target) {
|
|
24047
|
+
target = target[key];
|
|
24048
|
+
return _find();
|
|
24049
|
+
} else if (!key) {
|
|
24050
|
+
return target;
|
|
24051
|
+
}
|
|
24052
|
+
return undefined;
|
|
24053
|
+
}.bind(this);
|
|
24010
24054
|
Object.keys(thisConfig).forEach(function (key) {
|
|
24011
24055
|
_newArrowCheck(this, _this);
|
|
24012
24056
|
target = config;
|
|
@@ -24080,7 +24124,7 @@ function loadConfig(config) {
|
|
|
24080
24124
|
* ]
|
|
24081
24125
|
* })
|
|
24082
24126
|
*/
|
|
24083
|
-
|
|
24127
|
+
let Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
24084
24128
|
_inheritsLoose(Sparkline, _Plugin);
|
|
24085
24129
|
function Sparkline(options) {
|
|
24086
24130
|
var _this = _Plugin.call(this, options) || this;
|
|
@@ -24107,9 +24151,9 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24107
24151
|
this.outHandler = this.outHandler.bind(this);
|
|
24108
24152
|
};
|
|
24109
24153
|
_proto.validate = function validate() {
|
|
24110
|
-
|
|
24154
|
+
const $$ = this.$$,
|
|
24111
24155
|
config = this.config;
|
|
24112
|
-
|
|
24156
|
+
let msg = "";
|
|
24113
24157
|
if (!config.selector || !document.querySelector(config.selector)) {
|
|
24114
24158
|
msg = "No holder elements found from given selector option.";
|
|
24115
24159
|
}
|
|
@@ -24121,7 +24165,7 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24121
24165
|
}
|
|
24122
24166
|
};
|
|
24123
24167
|
_proto.overrideInternals = function overrideInternals() {
|
|
24124
|
-
|
|
24168
|
+
const $$ = this.$$,
|
|
24125
24169
|
getBarW = $$.getBarW,
|
|
24126
24170
|
getIndices = $$.getIndices;
|
|
24127
24171
|
// override internal methods to positioning bars
|
|
@@ -24133,15 +24177,15 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24133
24177
|
};
|
|
24134
24178
|
};
|
|
24135
24179
|
_proto.overrideOptions = function overrideOptions() {
|
|
24136
|
-
var _this2 = this
|
|
24137
|
-
|
|
24180
|
+
var _this2 = this;
|
|
24181
|
+
const config = this.$$.config;
|
|
24138
24182
|
config.legend_show = !1;
|
|
24139
24183
|
config.resize_auto = !1;
|
|
24140
24184
|
config.axis_x_show = !1;
|
|
24141
24185
|
|
|
24142
24186
|
// set default axes padding
|
|
24143
24187
|
if (config.padding !== !1) {
|
|
24144
|
-
|
|
24188
|
+
const hasOption = function (o) {
|
|
24145
24189
|
_newArrowCheck(this, _this2);
|
|
24146
24190
|
return Object.keys(o || {}).length > 0;
|
|
24147
24191
|
}.bind(this);
|
|
@@ -24159,8 +24203,8 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24159
24203
|
config.axis_y_show = !1;
|
|
24160
24204
|
if (!config.tooltip_position) {
|
|
24161
24205
|
config.tooltip_position = function (data, width, height) {
|
|
24162
|
-
|
|
24163
|
-
|
|
24206
|
+
const event = this.internal.state.event;
|
|
24207
|
+
let top = event.pageY - height * 1.35,
|
|
24164
24208
|
left = event.pageX - width / 2;
|
|
24165
24209
|
if (top < 0) {
|
|
24166
24210
|
top = 0;
|
|
@@ -24176,14 +24220,15 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24176
24220
|
}
|
|
24177
24221
|
};
|
|
24178
24222
|
_proto.$init = function $init() {
|
|
24179
|
-
var _$el$tooltip
|
|
24180
|
-
|
|
24223
|
+
var _$el$tooltip;
|
|
24224
|
+
const $el = this.$$.$el;
|
|
24225
|
+
|
|
24181
24226
|
// make disable-ish main chart element
|
|
24182
24227
|
$el.chart.style("width", "0").style("height", "0").style("pointer-events", "none");
|
|
24183
24228
|
((_$el$tooltip = $el.tooltip) == null ? void 0 : _$el$tooltip.node()) && document.body.appendChild($el.tooltip.node());
|
|
24184
24229
|
};
|
|
24185
24230
|
_proto.$afterInit = function $afterInit() {
|
|
24186
|
-
|
|
24231
|
+
const $$ = this.$$;
|
|
24187
24232
|
$$.$el.svg.attr("style", null).style("width", "0").style("height", "0");
|
|
24188
24233
|
this.bindEvents(!0);
|
|
24189
24234
|
}
|
|
@@ -24198,12 +24243,12 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24198
24243
|
if (bind === void 0) {
|
|
24199
24244
|
bind = !0;
|
|
24200
24245
|
}
|
|
24201
|
-
|
|
24246
|
+
const config = this.$$.config;
|
|
24202
24247
|
if (config.interaction_enabled && config.tooltip_show) {
|
|
24203
|
-
|
|
24248
|
+
const method = (bind ? "add" : "remove") + "EventListener";
|
|
24204
24249
|
this.element.forEach(function (el) {
|
|
24205
24250
|
_newArrowCheck(this, _this3);
|
|
24206
|
-
|
|
24251
|
+
const svg = el.querySelector("svg");
|
|
24207
24252
|
svg[method]("mouseover", this.overHandler);
|
|
24208
24253
|
svg[method]("mousemove", this.moveHandler);
|
|
24209
24254
|
svg[method]("mouseout", this.outHandler);
|
|
@@ -24211,14 +24256,13 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24211
24256
|
}
|
|
24212
24257
|
};
|
|
24213
24258
|
_proto.overHandler = function overHandler(e) {
|
|
24214
|
-
|
|
24259
|
+
const $$ = this.$$,
|
|
24215
24260
|
eventReceiver = $$.state.eventReceiver;
|
|
24216
24261
|
eventReceiver.rect = e.target.getBoundingClientRect();
|
|
24217
24262
|
};
|
|
24218
24263
|
_proto.moveHandler = function moveHandler(e) {
|
|
24219
|
-
var _$$$api$data,
|
|
24220
|
-
|
|
24221
|
-
$$ = this.$$,
|
|
24264
|
+
var _$$$api$data, _data$values;
|
|
24265
|
+
const $$ = this.$$,
|
|
24222
24266
|
index = $$.getDataIndexFromEvent(e),
|
|
24223
24267
|
data = (_$$$api$data = $$.api.data(e.target.__id)) == null ? void 0 : _$$$api$data[0],
|
|
24224
24268
|
d = data == null || (_data$values = data.values) == null ? void 0 : _data$values[index];
|
|
@@ -24227,29 +24271,29 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24227
24271
|
}
|
|
24228
24272
|
$$.state.event = e;
|
|
24229
24273
|
if ($$.config.point_focus_only && d) {
|
|
24230
|
-
$$.showCircleFocus == null
|
|
24274
|
+
$$.showCircleFocus == null || $$.showCircleFocus([d]);
|
|
24231
24275
|
}
|
|
24232
24276
|
$$.setExpand(index, data.id, !0);
|
|
24233
24277
|
$$.showTooltip([d], e.target);
|
|
24234
24278
|
};
|
|
24235
24279
|
_proto.outHandler = function outHandler(e) {
|
|
24236
|
-
|
|
24280
|
+
const $$ = this.$$;
|
|
24237
24281
|
$$.state.event = e;
|
|
24238
24282
|
$$.config.point_focus_only ? $$.hideCircleFocus() : $$.unexpandCircles();
|
|
24239
24283
|
$$.hideTooltip();
|
|
24240
24284
|
};
|
|
24241
24285
|
_proto.$redraw = function $redraw() {
|
|
24242
24286
|
var _$el$chart$html$match,
|
|
24243
|
-
_this4 = this
|
|
24244
|
-
|
|
24245
|
-
$el = $$.$el
|
|
24246
|
-
|
|
24247
|
-
|
|
24287
|
+
_this4 = this;
|
|
24288
|
+
const $$ = this.$$,
|
|
24289
|
+
$el = $$.$el;
|
|
24290
|
+
let el = this.element;
|
|
24291
|
+
const data = $$.api.data(),
|
|
24248
24292
|
svgWrapper = (_$el$chart$html$match = $el.chart.html().match(/<svg[^>]*>/)) == null ? void 0 : _$el$chart$html$match[0];
|
|
24249
24293
|
// append sparkline holder if is less than the data length
|
|
24250
24294
|
if (el.length < data.length) {
|
|
24251
|
-
|
|
24252
|
-
for (
|
|
24295
|
+
const chart = $el.chart.node();
|
|
24296
|
+
for (let i = data.length - el.length; i > 0; i--) {
|
|
24253
24297
|
chart.parentNode.insertBefore(el[0].cloneNode(), chart.nextSibling);
|
|
24254
24298
|
}
|
|
24255
24299
|
this.element = document.querySelectorAll(this.config.selector);
|
|
@@ -24260,9 +24304,9 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
24260
24304
|
return v.id;
|
|
24261
24305
|
}.bind(this)).forEach(function (id, i) {
|
|
24262
24306
|
_newArrowCheck(this, _this4);
|
|
24263
|
-
|
|
24307
|
+
const selector = "." + $COMMON.target + "-" + id,
|
|
24264
24308
|
shape = $el.main.selectAll(selector);
|
|
24265
|
-
|
|
24309
|
+
let svg = el[i].querySelector("svg");
|
|
24266
24310
|
if (!svg) {
|
|
24267
24311
|
el[i].innerHTML = svgWrapper + "</svg>";
|
|
24268
24312
|
svg = el[i].querySelector("svg");
|