billboard.js 3.9.2 → 3.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +219 -187
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +871 -814
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +14 -14
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +15 -15
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +14 -14
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +11 -11
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +652 -627
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +664 -639
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +665 -640
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +664 -639
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +661 -636
- package/dist/theme/dark.css +1 -1
- package/dist/theme/dark.min.css +1 -1
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist-esm/billboard.js +28 -18
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +12 -12
- package/src/ChartInternal/internals/tooltip.ts +3 -3
- package/src/ChartInternal/shape/arc.ts +14 -4
package/dist/billboard.pkgd.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.9.
|
|
8
|
+
* @version 3.9.4
|
|
9
9
|
*
|
|
10
10
|
* All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills.
|
|
11
11
|
* - @types/d3-selection ^3.0.5
|
|
@@ -99,29 +99,29 @@ __webpack_require__(203);
|
|
|
99
99
|
__webpack_require__(204);
|
|
100
100
|
__webpack_require__(205);
|
|
101
101
|
__webpack_require__(207);
|
|
102
|
-
__webpack_require__(
|
|
103
|
-
__webpack_require__(
|
|
104
|
-
__webpack_require__(
|
|
105
|
-
__webpack_require__(221);
|
|
102
|
+
__webpack_require__(215);
|
|
103
|
+
__webpack_require__(217);
|
|
104
|
+
__webpack_require__(220);
|
|
106
105
|
__webpack_require__(222);
|
|
107
106
|
__webpack_require__(223);
|
|
108
107
|
__webpack_require__(224);
|
|
109
108
|
__webpack_require__(225);
|
|
110
|
-
__webpack_require__(
|
|
109
|
+
__webpack_require__(226);
|
|
111
110
|
__webpack_require__(230);
|
|
112
|
-
__webpack_require__(
|
|
111
|
+
__webpack_require__(231);
|
|
113
112
|
__webpack_require__(233);
|
|
114
113
|
__webpack_require__(234);
|
|
115
|
-
__webpack_require__(
|
|
114
|
+
__webpack_require__(235);
|
|
116
115
|
__webpack_require__(237);
|
|
117
116
|
__webpack_require__(238);
|
|
118
|
-
__webpack_require__(95);
|
|
119
117
|
__webpack_require__(239);
|
|
118
|
+
__webpack_require__(95);
|
|
120
119
|
__webpack_require__(240);
|
|
121
|
-
__webpack_require__(
|
|
122
|
-
__webpack_require__(
|
|
120
|
+
__webpack_require__(241);
|
|
121
|
+
__webpack_require__(249);
|
|
123
122
|
__webpack_require__(251);
|
|
124
123
|
__webpack_require__(252);
|
|
124
|
+
__webpack_require__(253);
|
|
125
125
|
__webpack_require__(254);
|
|
126
126
|
__webpack_require__(255);
|
|
127
127
|
__webpack_require__(257);
|
|
@@ -393,7 +393,7 @@ var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChil
|
|
|
393
393
|
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
|
|
394
394
|
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
|
|
395
395
|
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
|
|
396
|
-
})).a
|
|
396
|
+
})).a !== 7;
|
|
397
397
|
}) ? function (O, P, Attributes) {
|
|
398
398
|
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
|
|
399
399
|
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
|
|
@@ -649,7 +649,7 @@ module.exports = function (options, source) {
|
|
|
649
649
|
"use strict";
|
|
650
650
|
|
|
651
651
|
var check = function (it) {
|
|
652
|
-
return it && it.Math
|
|
652
|
+
return it && it.Math === Math && it;
|
|
653
653
|
};
|
|
654
654
|
|
|
655
655
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
@@ -705,7 +705,7 @@ var fails = __webpack_require__(7);
|
|
|
705
705
|
// Detect IE8's incomplete defineProperty implementation
|
|
706
706
|
module.exports = !fails(function () {
|
|
707
707
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
708
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
708
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
709
709
|
});
|
|
710
710
|
|
|
711
711
|
|
|
@@ -826,7 +826,7 @@ module.exports = fails(function () {
|
|
|
826
826
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
827
827
|
return !$Object('z').propertyIsEnumerable(0);
|
|
828
828
|
}) ? function (it) {
|
|
829
|
-
return classof(it)
|
|
829
|
+
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
|
830
830
|
} : $Object;
|
|
831
831
|
|
|
832
832
|
|
|
@@ -1080,7 +1080,7 @@ var $String = global.String;
|
|
|
1080
1080
|
|
|
1081
1081
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1082
1082
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
1083
|
-
var symbol = Symbol();
|
|
1083
|
+
var symbol = Symbol('symbol detection');
|
|
1084
1084
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1085
1085
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
1086
1086
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
@@ -1248,10 +1248,10 @@ var store = __webpack_require__(37);
|
|
|
1248
1248
|
(module.exports = function (key, value) {
|
|
1249
1249
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1250
1250
|
})('versions', []).push({
|
|
1251
|
-
version: '3.32.
|
|
1251
|
+
version: '3.32.1',
|
|
1252
1252
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1253
1253
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1254
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.32.
|
|
1254
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE',
|
|
1255
1255
|
source: 'https://github.com/zloirock/core-js'
|
|
1256
1256
|
});
|
|
1257
1257
|
|
|
@@ -1368,7 +1368,7 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
1368
1368
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1369
1369
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1370
1370
|
get: function () { return 7; }
|
|
1371
|
-
}).a
|
|
1371
|
+
}).a !== 7;
|
|
1372
1372
|
});
|
|
1373
1373
|
|
|
1374
1374
|
|
|
@@ -1475,7 +1475,7 @@ module.exports = DESCRIPTORS && fails(function () {
|
|
|
1475
1475
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1476
1476
|
value: 42,
|
|
1477
1477
|
writable: false
|
|
1478
|
-
}).prototype
|
|
1478
|
+
}).prototype !== 42;
|
|
1479
1479
|
});
|
|
1480
1480
|
|
|
1481
1481
|
|
|
@@ -1870,10 +1870,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
1870
1870
|
var value;
|
|
1871
1871
|
// Array#includes uses SameValueZero equality algorithm
|
|
1872
1872
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1873
|
-
if (IS_INCLUDES && el
|
|
1873
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
1874
1874
|
value = O[index++];
|
|
1875
1875
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1876
|
-
if (value
|
|
1876
|
+
if (value !== value) return true;
|
|
1877
1877
|
// Array#indexOf ignores holes, Array#includes - not
|
|
1878
1878
|
} else for (;length > index; index++) {
|
|
1879
1879
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -2019,8 +2019,8 @@ var replacement = /#|\.prototype\./;
|
|
|
2019
2019
|
|
|
2020
2020
|
var isForced = function (feature, detection) {
|
|
2021
2021
|
var value = data[normalize(feature)];
|
|
2022
|
-
return value
|
|
2023
|
-
: value
|
|
2022
|
+
return value === POLYFILL ? true
|
|
2023
|
+
: value === NATIVE ? false
|
|
2024
2024
|
: isCallable(detection) ? fails(detection)
|
|
2025
2025
|
: !!detection;
|
|
2026
2026
|
};
|
|
@@ -2067,7 +2067,7 @@ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
|
2067
2067
|
var $Object = Object;
|
|
2068
2068
|
|
|
2069
2069
|
// ES3 wrong here
|
|
2070
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
2070
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
2071
2071
|
|
|
2072
2072
|
// fallback for IE11 Script Access Denied error
|
|
2073
2073
|
var tryGet = function (it, key) {
|
|
@@ -2085,7 +2085,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
2085
2085
|
// builtinTag case
|
|
2086
2086
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2087
2087
|
// ES3 arguments fallback
|
|
2088
|
-
: (result = classofRaw(O))
|
|
2088
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
2089
2089
|
};
|
|
2090
2090
|
|
|
2091
2091
|
|
|
@@ -2277,7 +2277,7 @@ var getWindowNames = function (it) {
|
|
|
2277
2277
|
|
|
2278
2278
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
2279
2279
|
module.exports.f = function getOwnPropertyNames(it) {
|
|
2280
|
-
return windowNames && classof(it)
|
|
2280
|
+
return windowNames && classof(it) === 'Window'
|
|
2281
2281
|
? getWindowNames(it)
|
|
2282
2282
|
: $getOwnPropertyNames(toIndexedObject(it));
|
|
2283
2283
|
};
|
|
@@ -2301,7 +2301,8 @@ module.exports = function (O, start, end) {
|
|
|
2301
2301
|
var k = toAbsoluteIndex(start, length);
|
|
2302
2302
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
2303
2303
|
var result = $Array(max(fin - k, 0));
|
|
2304
|
-
|
|
2304
|
+
var n = 0;
|
|
2305
|
+
for (; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
2305
2306
|
result.length = n;
|
|
2306
2307
|
return result;
|
|
2307
2308
|
};
|
|
@@ -2446,13 +2447,13 @@ var push = uncurryThis([].push);
|
|
|
2446
2447
|
|
|
2447
2448
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2448
2449
|
var createMethod = function (TYPE) {
|
|
2449
|
-
var IS_MAP = TYPE
|
|
2450
|
-
var IS_FILTER = TYPE
|
|
2451
|
-
var IS_SOME = TYPE
|
|
2452
|
-
var IS_EVERY = TYPE
|
|
2453
|
-
var IS_FIND_INDEX = TYPE
|
|
2454
|
-
var IS_FILTER_REJECT = TYPE
|
|
2455
|
-
var NO_HOLES = TYPE
|
|
2450
|
+
var IS_MAP = TYPE === 1;
|
|
2451
|
+
var IS_FILTER = TYPE === 2;
|
|
2452
|
+
var IS_SOME = TYPE === 3;
|
|
2453
|
+
var IS_EVERY = TYPE === 4;
|
|
2454
|
+
var IS_FIND_INDEX = TYPE === 6;
|
|
2455
|
+
var IS_FILTER_REJECT = TYPE === 7;
|
|
2456
|
+
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
|
|
2456
2457
|
return function ($this, callbackfn, that, specificCreate) {
|
|
2457
2458
|
var O = toObject($this);
|
|
2458
2459
|
var self = IndexedObject(O);
|
|
@@ -2605,7 +2606,7 @@ var classof = __webpack_require__(15);
|
|
|
2605
2606
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2606
2607
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2607
2608
|
module.exports = Array.isArray || function isArray(argument) {
|
|
2608
|
-
return classof(argument)
|
|
2609
|
+
return classof(argument) === 'Array';
|
|
2609
2610
|
};
|
|
2610
2611
|
|
|
2611
2612
|
|
|
@@ -2767,13 +2768,13 @@ var low = /^[\uD800-\uDBFF]$/;
|
|
|
2767
2768
|
var hi = /^[\uDC00-\uDFFF]$/;
|
|
2768
2769
|
|
|
2769
2770
|
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
|
|
2770
|
-
var symbol = getBuiltIn('Symbol')();
|
|
2771
|
+
var symbol = getBuiltIn('Symbol')('stringify detection');
|
|
2771
2772
|
// MS Edge converts symbol values to JSON as {}
|
|
2772
|
-
return $stringify([symbol])
|
|
2773
|
+
return $stringify([symbol]) !== '[null]'
|
|
2773
2774
|
// WebKit converts symbol values to JSON as null
|
|
2774
|
-
|| $stringify({ a: symbol })
|
|
2775
|
+
|| $stringify({ a: symbol }) !== '{}'
|
|
2775
2776
|
// V8 throws on boxed symbols
|
|
2776
|
-
|| $stringify(Object(symbol))
|
|
2777
|
+
|| $stringify(Object(symbol)) !== '{}';
|
|
2777
2778
|
});
|
|
2778
2779
|
|
|
2779
2780
|
// https://github.com/tc39/proposal-well-formed-stringify
|
|
@@ -2867,7 +2868,7 @@ module.exports = function (replacer) {
|
|
|
2867
2868
|
for (var i = 0; i < rawLength; i++) {
|
|
2868
2869
|
var element = replacer[i];
|
|
2869
2870
|
if (typeof element == 'string') push(keys, element);
|
|
2870
|
-
else if (typeof element == 'number' || classof(element)
|
|
2871
|
+
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
|
|
2871
2872
|
}
|
|
2872
2873
|
var keysLength = keys.length;
|
|
2873
2874
|
var root = true;
|
|
@@ -2950,7 +2951,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
2950
2951
|
SymbolWrapper.prototype = SymbolPrototype;
|
|
2951
2952
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
2952
2953
|
|
|
2953
|
-
var NATIVE_SYMBOL = String(NativeSymbol('
|
|
2954
|
+
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
2954
2955
|
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
|
2955
2956
|
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
|
2956
2957
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
@@ -3910,7 +3911,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
3910
3911
|
|
|
3911
3912
|
// Array.prototype[@@unscopables]
|
|
3912
3913
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3913
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
3914
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3914
3915
|
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3915
3916
|
configurable: true,
|
|
3916
3917
|
value: create(null)
|
|
@@ -4299,7 +4300,7 @@ var lengthOfArrayLike = __webpack_require__(64);
|
|
|
4299
4300
|
|
|
4300
4301
|
// `Array.prototype.{ findLast, findLastIndex }` methods implementation
|
|
4301
4302
|
var createMethod = function (TYPE) {
|
|
4302
|
-
var IS_FIND_LAST_INDEX = TYPE
|
|
4303
|
+
var IS_FIND_LAST_INDEX = TYPE === 1;
|
|
4303
4304
|
return function ($this, callbackfn, that) {
|
|
4304
4305
|
var O = toObject($this);
|
|
4305
4306
|
var self = IndexedObject(O);
|
|
@@ -4457,7 +4458,7 @@ var forEach = __webpack_require__(161);
|
|
|
4457
4458
|
// `Array.prototype.forEach` method
|
|
4458
4459
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
4459
4460
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
4460
|
-
$({ target: 'Array', proto: true, forced: [].forEach
|
|
4461
|
+
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
|
|
4461
4462
|
forEach: forEach
|
|
4462
4463
|
});
|
|
4463
4464
|
|
|
@@ -4744,9 +4745,10 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
|
4744
4745
|
state.target = undefined;
|
|
4745
4746
|
return createIterResultObject(undefined, true);
|
|
4746
4747
|
}
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4748
|
+
switch (kind) {
|
|
4749
|
+
case 'keys': return createIterResultObject(index, false);
|
|
4750
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
4751
|
+
} return createIterResultObject([index, target[index]], false);
|
|
4750
4752
|
}, 'values');
|
|
4751
4753
|
|
|
4752
4754
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -4817,7 +4819,7 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
4817
4819
|
|| IterablePrototype['@@iterator']
|
|
4818
4820
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
4819
4821
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
4820
|
-
var anyNativeIterator = NAME
|
|
4822
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
4821
4823
|
var CurrentIteratorPrototype, methods, KEY;
|
|
4822
4824
|
|
|
4823
4825
|
// fix native
|
|
@@ -4838,7 +4840,7 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
4838
4840
|
}
|
|
4839
4841
|
|
|
4840
4842
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
4841
|
-
if (PROPER_FUNCTION_NAME && DEFAULT
|
|
4843
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
4842
4844
|
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
|
|
4843
4845
|
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
|
|
4844
4846
|
} else {
|
|
@@ -4977,7 +4979,7 @@ var arrayMethodIsStrict = __webpack_require__(148);
|
|
|
4977
4979
|
|
|
4978
4980
|
var nativeJoin = uncurryThis([].join);
|
|
4979
4981
|
|
|
4980
|
-
var ES3_STRINGS = IndexedObject
|
|
4982
|
+
var ES3_STRINGS = IndexedObject !== Object;
|
|
4981
4983
|
var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
|
|
4982
4984
|
|
|
4983
4985
|
// `Array.prototype.join` method
|
|
@@ -5262,9 +5264,10 @@ module.exports = {
|
|
|
5262
5264
|
|
|
5263
5265
|
"use strict";
|
|
5264
5266
|
|
|
5267
|
+
var global = __webpack_require__(4);
|
|
5265
5268
|
var classof = __webpack_require__(15);
|
|
5266
5269
|
|
|
5267
|
-
module.exports =
|
|
5270
|
+
module.exports = classof(global.process) === 'process';
|
|
5268
5271
|
|
|
5269
5272
|
|
|
5270
5273
|
/***/ }),
|
|
@@ -6234,7 +6237,7 @@ if (!NATIVE_ARRAY_BUFFER) {
|
|
|
6234
6237
|
new NativeArrayBuffer();
|
|
6235
6238
|
new NativeArrayBuffer(1.5);
|
|
6236
6239
|
new NativeArrayBuffer(NaN);
|
|
6237
|
-
return NativeArrayBuffer.length
|
|
6240
|
+
return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;
|
|
6238
6241
|
})) {
|
|
6239
6242
|
/* eslint-enable no-new -- required for testing */
|
|
6240
6243
|
$ArrayBuffer = function ArrayBuffer(length) {
|
|
@@ -6348,11 +6351,14 @@ module.exports = function (it) {
|
|
|
6348
6351
|
|
|
6349
6352
|
/***/ }),
|
|
6350
6353
|
/* 213 */
|
|
6351
|
-
/***/ (function(module) {
|
|
6354
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6352
6355
|
|
|
6353
6356
|
"use strict";
|
|
6354
6357
|
|
|
6355
6358
|
// IEEE754 conversions based on https://github.com/feross/ieee754
|
|
6359
|
+
var sign = __webpack_require__(214);
|
|
6360
|
+
var trunc = __webpack_require__(63);
|
|
6361
|
+
|
|
6356
6362
|
var $Array = Array;
|
|
6357
6363
|
var abs = Math.abs;
|
|
6358
6364
|
var pow = Math.pow;
|
|
@@ -6360,20 +6366,28 @@ var floor = Math.floor;
|
|
|
6360
6366
|
var log = Math.log;
|
|
6361
6367
|
var LN2 = Math.LN2;
|
|
6362
6368
|
|
|
6369
|
+
var roundToEven = function (number) {
|
|
6370
|
+
var truncated = trunc(number);
|
|
6371
|
+
var delta = abs(number - truncated);
|
|
6372
|
+
if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) {
|
|
6373
|
+
return truncated + sign(number);
|
|
6374
|
+
} return truncated;
|
|
6375
|
+
};
|
|
6376
|
+
|
|
6363
6377
|
var pack = function (number, mantissaLength, bytes) {
|
|
6364
6378
|
var buffer = $Array(bytes);
|
|
6365
6379
|
var exponentLength = bytes * 8 - mantissaLength - 1;
|
|
6366
6380
|
var eMax = (1 << exponentLength) - 1;
|
|
6367
6381
|
var eBias = eMax >> 1;
|
|
6368
6382
|
var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;
|
|
6369
|
-
var
|
|
6383
|
+
var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
|
|
6370
6384
|
var index = 0;
|
|
6371
6385
|
var exponent, mantissa, c;
|
|
6372
6386
|
number = abs(number);
|
|
6373
6387
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6374
|
-
if (number
|
|
6388
|
+
if (number !== number || number === Infinity) {
|
|
6375
6389
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6376
|
-
mantissa = number
|
|
6390
|
+
mantissa = number !== number ? 1 : 0;
|
|
6377
6391
|
exponent = eMax;
|
|
6378
6392
|
} else {
|
|
6379
6393
|
exponent = floor(log(number) / LN2);
|
|
@@ -6395,10 +6409,10 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6395
6409
|
mantissa = 0;
|
|
6396
6410
|
exponent = eMax;
|
|
6397
6411
|
} else if (exponent + eBias >= 1) {
|
|
6398
|
-
mantissa = (number * c - 1) * pow(2, mantissaLength);
|
|
6412
|
+
mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));
|
|
6399
6413
|
exponent = exponent + eBias;
|
|
6400
6414
|
} else {
|
|
6401
|
-
mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);
|
|
6415
|
+
mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));
|
|
6402
6416
|
exponent = 0;
|
|
6403
6417
|
}
|
|
6404
6418
|
}
|
|
@@ -6414,7 +6428,7 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6414
6428
|
exponent /= 256;
|
|
6415
6429
|
exponentLength -= 8;
|
|
6416
6430
|
}
|
|
6417
|
-
buffer[--index] |=
|
|
6431
|
+
buffer[--index] |= s * 128;
|
|
6418
6432
|
return buffer;
|
|
6419
6433
|
};
|
|
6420
6434
|
|
|
@@ -6425,10 +6439,10 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6425
6439
|
var eBias = eMax >> 1;
|
|
6426
6440
|
var nBits = exponentLength - 7;
|
|
6427
6441
|
var index = bytes - 1;
|
|
6428
|
-
var
|
|
6429
|
-
var exponent =
|
|
6442
|
+
var s = buffer[index--];
|
|
6443
|
+
var exponent = s & 127;
|
|
6430
6444
|
var mantissa;
|
|
6431
|
-
|
|
6445
|
+
s >>= 7;
|
|
6432
6446
|
while (nBits > 0) {
|
|
6433
6447
|
exponent = exponent * 256 + buffer[index--];
|
|
6434
6448
|
nBits -= 8;
|
|
@@ -6443,11 +6457,11 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6443
6457
|
if (exponent === 0) {
|
|
6444
6458
|
exponent = 1 - eBias;
|
|
6445
6459
|
} else if (exponent === eMax) {
|
|
6446
|
-
return mantissa ? NaN :
|
|
6460
|
+
return mantissa ? NaN : s ? -Infinity : Infinity;
|
|
6447
6461
|
} else {
|
|
6448
6462
|
mantissa = mantissa + pow(2, mantissaLength);
|
|
6449
6463
|
exponent = exponent - eBias;
|
|
6450
|
-
} return (
|
|
6464
|
+
} return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
|
|
6451
6465
|
};
|
|
6452
6466
|
|
|
6453
6467
|
module.exports = {
|
|
@@ -6458,12 +6472,28 @@ module.exports = {
|
|
|
6458
6472
|
|
|
6459
6473
|
/***/ }),
|
|
6460
6474
|
/* 214 */
|
|
6475
|
+
/***/ (function(module) {
|
|
6476
|
+
|
|
6477
|
+
"use strict";
|
|
6478
|
+
|
|
6479
|
+
// `Math.sign` method implementation
|
|
6480
|
+
// https://tc39.es/ecma262/#sec-math.sign
|
|
6481
|
+
// eslint-disable-next-line es/no-math-sign -- safe
|
|
6482
|
+
module.exports = Math.sign || function sign(x) {
|
|
6483
|
+
var n = +x;
|
|
6484
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6485
|
+
return n === 0 || n !== n ? n : n < 0 ? -1 : 1;
|
|
6486
|
+
};
|
|
6487
|
+
|
|
6488
|
+
|
|
6489
|
+
/***/ }),
|
|
6490
|
+
/* 215 */
|
|
6461
6491
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6462
6492
|
|
|
6463
6493
|
"use strict";
|
|
6464
6494
|
|
|
6465
6495
|
var $ = __webpack_require__(3);
|
|
6466
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
6496
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
6467
6497
|
|
|
6468
6498
|
var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
|
|
6469
6499
|
|
|
@@ -6475,7 +6505,7 @@ $({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
|
|
|
6475
6505
|
|
|
6476
6506
|
|
|
6477
6507
|
/***/ }),
|
|
6478
|
-
/*
|
|
6508
|
+
/* 216 */
|
|
6479
6509
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6480
6510
|
|
|
6481
6511
|
"use strict";
|
|
@@ -6675,7 +6705,7 @@ module.exports = {
|
|
|
6675
6705
|
|
|
6676
6706
|
|
|
6677
6707
|
/***/ }),
|
|
6678
|
-
/*
|
|
6708
|
+
/* 217 */
|
|
6679
6709
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6680
6710
|
|
|
6681
6711
|
"use strict";
|
|
@@ -6687,7 +6717,7 @@ var ArrayBufferModule = __webpack_require__(208);
|
|
|
6687
6717
|
var anObject = __webpack_require__(47);
|
|
6688
6718
|
var toAbsoluteIndex = __webpack_require__(61);
|
|
6689
6719
|
var toLength = __webpack_require__(65);
|
|
6690
|
-
var speciesConstructor = __webpack_require__(
|
|
6720
|
+
var speciesConstructor = __webpack_require__(218);
|
|
6691
6721
|
|
|
6692
6722
|
var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
|
|
6693
6723
|
var DataView = ArrayBufferModule.DataView;
|
|
@@ -6722,13 +6752,13 @@ $({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE },
|
|
|
6722
6752
|
|
|
6723
6753
|
|
|
6724
6754
|
/***/ }),
|
|
6725
|
-
/*
|
|
6755
|
+
/* 218 */
|
|
6726
6756
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6727
6757
|
|
|
6728
6758
|
"use strict";
|
|
6729
6759
|
|
|
6730
6760
|
var anObject = __webpack_require__(47);
|
|
6731
|
-
var aConstructor = __webpack_require__(
|
|
6761
|
+
var aConstructor = __webpack_require__(219);
|
|
6732
6762
|
var isNullOrUndefined = __webpack_require__(17);
|
|
6733
6763
|
var wellKnownSymbol = __webpack_require__(34);
|
|
6734
6764
|
|
|
@@ -6744,7 +6774,7 @@ module.exports = function (O, defaultConstructor) {
|
|
|
6744
6774
|
|
|
6745
6775
|
|
|
6746
6776
|
/***/ }),
|
|
6747
|
-
/*
|
|
6777
|
+
/* 219 */
|
|
6748
6778
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6749
6779
|
|
|
6750
6780
|
"use strict";
|
|
@@ -6762,17 +6792,17 @@ module.exports = function (argument) {
|
|
|
6762
6792
|
|
|
6763
6793
|
|
|
6764
6794
|
/***/ }),
|
|
6765
|
-
/*
|
|
6795
|
+
/* 220 */
|
|
6766
6796
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6767
6797
|
|
|
6768
6798
|
"use strict";
|
|
6769
6799
|
|
|
6770
6800
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
6771
|
-
__webpack_require__(
|
|
6801
|
+
__webpack_require__(221);
|
|
6772
6802
|
|
|
6773
6803
|
|
|
6774
6804
|
/***/ }),
|
|
6775
|
-
/*
|
|
6805
|
+
/* 221 */
|
|
6776
6806
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6777
6807
|
|
|
6778
6808
|
"use strict";
|
|
@@ -6789,7 +6819,7 @@ $({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, {
|
|
|
6789
6819
|
|
|
6790
6820
|
|
|
6791
6821
|
/***/ }),
|
|
6792
|
-
/*
|
|
6822
|
+
/* 222 */
|
|
6793
6823
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6794
6824
|
|
|
6795
6825
|
"use strict";
|
|
@@ -6816,7 +6846,7 @@ $({ target: 'Date', proto: true, forced: FORCED }, {
|
|
|
6816
6846
|
|
|
6817
6847
|
|
|
6818
6848
|
/***/ }),
|
|
6819
|
-
/*
|
|
6849
|
+
/* 223 */
|
|
6820
6850
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6821
6851
|
|
|
6822
6852
|
"use strict";
|
|
@@ -6838,7 +6868,7 @@ $({ target: 'Date', stat: true }, {
|
|
|
6838
6868
|
|
|
6839
6869
|
|
|
6840
6870
|
/***/ }),
|
|
6841
|
-
/*
|
|
6871
|
+
/* 224 */
|
|
6842
6872
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6843
6873
|
|
|
6844
6874
|
"use strict";
|
|
@@ -6858,14 +6888,14 @@ $({ target: 'Date', proto: true }, {
|
|
|
6858
6888
|
// validate
|
|
6859
6889
|
thisTimeValue(this);
|
|
6860
6890
|
var yi = toIntegerOrInfinity(year);
|
|
6861
|
-
var yyyy =
|
|
6891
|
+
var yyyy = yi >= 0 && yi <= 99 ? yi + 1900 : yi;
|
|
6862
6892
|
return setFullYear(this, yyyy);
|
|
6863
6893
|
}
|
|
6864
6894
|
});
|
|
6865
6895
|
|
|
6866
6896
|
|
|
6867
6897
|
/***/ }),
|
|
6868
|
-
/*
|
|
6898
|
+
/* 225 */
|
|
6869
6899
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6870
6900
|
|
|
6871
6901
|
"use strict";
|
|
@@ -6880,13 +6910,13 @@ $({ target: 'Date', proto: true }, {
|
|
|
6880
6910
|
|
|
6881
6911
|
|
|
6882
6912
|
/***/ }),
|
|
6883
|
-
/*
|
|
6913
|
+
/* 226 */
|
|
6884
6914
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6885
6915
|
|
|
6886
6916
|
"use strict";
|
|
6887
6917
|
|
|
6888
6918
|
var $ = __webpack_require__(3);
|
|
6889
|
-
var toISOString = __webpack_require__(
|
|
6919
|
+
var toISOString = __webpack_require__(227);
|
|
6890
6920
|
|
|
6891
6921
|
// `Date.prototype.toISOString` method
|
|
6892
6922
|
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
|
|
@@ -6897,14 +6927,14 @@ $({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOStr
|
|
|
6897
6927
|
|
|
6898
6928
|
|
|
6899
6929
|
/***/ }),
|
|
6900
|
-
/*
|
|
6930
|
+
/* 227 */
|
|
6901
6931
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6902
6932
|
|
|
6903
6933
|
"use strict";
|
|
6904
6934
|
|
|
6905
6935
|
var uncurryThis = __webpack_require__(14);
|
|
6906
6936
|
var fails = __webpack_require__(7);
|
|
6907
|
-
var padStart = (__webpack_require__(
|
|
6937
|
+
var padStart = (__webpack_require__(228).start);
|
|
6908
6938
|
|
|
6909
6939
|
var $RangeError = RangeError;
|
|
6910
6940
|
var $isFinite = isFinite;
|
|
@@ -6924,7 +6954,7 @@ var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);
|
|
|
6924
6954
|
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
|
|
6925
6955
|
// PhantomJS / old WebKit fails here:
|
|
6926
6956
|
module.exports = (fails(function () {
|
|
6927
|
-
return nativeDateToISOString.call(new Date(-5e13 - 1))
|
|
6957
|
+
return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z';
|
|
6928
6958
|
}) || !fails(function () {
|
|
6929
6959
|
nativeDateToISOString.call(new Date(NaN));
|
|
6930
6960
|
})) ? function toISOString() {
|
|
@@ -6945,7 +6975,7 @@ module.exports = (fails(function () {
|
|
|
6945
6975
|
|
|
6946
6976
|
|
|
6947
6977
|
/***/ }),
|
|
6948
|
-
/*
|
|
6978
|
+
/* 228 */
|
|
6949
6979
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6950
6980
|
|
|
6951
6981
|
"use strict";
|
|
@@ -6954,7 +6984,7 @@ module.exports = (fails(function () {
|
|
|
6954
6984
|
var uncurryThis = __webpack_require__(14);
|
|
6955
6985
|
var toLength = __webpack_require__(65);
|
|
6956
6986
|
var toString = __webpack_require__(69);
|
|
6957
|
-
var $repeat = __webpack_require__(
|
|
6987
|
+
var $repeat = __webpack_require__(229);
|
|
6958
6988
|
var requireObjectCoercible = __webpack_require__(16);
|
|
6959
6989
|
|
|
6960
6990
|
var repeat = uncurryThis($repeat);
|
|
@@ -6969,7 +6999,7 @@ var createMethod = function (IS_END) {
|
|
|
6969
6999
|
var stringLength = S.length;
|
|
6970
7000
|
var fillStr = fillString === undefined ? ' ' : toString(fillString);
|
|
6971
7001
|
var fillLen, stringFiller;
|
|
6972
|
-
if (intMaxLength <= stringLength || fillStr
|
|
7002
|
+
if (intMaxLength <= stringLength || fillStr === '') return S;
|
|
6973
7003
|
fillLen = intMaxLength - stringLength;
|
|
6974
7004
|
stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
|
|
6975
7005
|
if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
|
|
@@ -6988,7 +7018,7 @@ module.exports = {
|
|
|
6988
7018
|
|
|
6989
7019
|
|
|
6990
7020
|
/***/ }),
|
|
6991
|
-
/*
|
|
7021
|
+
/* 229 */
|
|
6992
7022
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6993
7023
|
|
|
6994
7024
|
"use strict";
|
|
@@ -7005,14 +7035,14 @@ module.exports = function repeat(count) {
|
|
|
7005
7035
|
var str = toString(requireObjectCoercible(this));
|
|
7006
7036
|
var result = '';
|
|
7007
7037
|
var n = toIntegerOrInfinity(count);
|
|
7008
|
-
if (n < 0 || n
|
|
7038
|
+
if (n < 0 || n === Infinity) throw $RangeError('Wrong number of repetitions');
|
|
7009
7039
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
7010
7040
|
return result;
|
|
7011
7041
|
};
|
|
7012
7042
|
|
|
7013
7043
|
|
|
7014
7044
|
/***/ }),
|
|
7015
|
-
/*
|
|
7045
|
+
/* 230 */
|
|
7016
7046
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7017
7047
|
|
|
7018
7048
|
"use strict";
|
|
@@ -7040,14 +7070,14 @@ $({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {
|
|
|
7040
7070
|
|
|
7041
7071
|
|
|
7042
7072
|
/***/ }),
|
|
7043
|
-
/*
|
|
7073
|
+
/* 231 */
|
|
7044
7074
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7045
7075
|
|
|
7046
7076
|
"use strict";
|
|
7047
7077
|
|
|
7048
7078
|
var hasOwn = __webpack_require__(39);
|
|
7049
7079
|
var defineBuiltIn = __webpack_require__(48);
|
|
7050
|
-
var dateToPrimitive = __webpack_require__(
|
|
7080
|
+
var dateToPrimitive = __webpack_require__(232);
|
|
7051
7081
|
var wellKnownSymbol = __webpack_require__(34);
|
|
7052
7082
|
|
|
7053
7083
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
@@ -7061,7 +7091,7 @@ if (!hasOwn(DatePrototype, TO_PRIMITIVE)) {
|
|
|
7061
7091
|
|
|
7062
7092
|
|
|
7063
7093
|
/***/ }),
|
|
7064
|
-
/*
|
|
7094
|
+
/* 232 */
|
|
7065
7095
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7066
7096
|
|
|
7067
7097
|
"use strict";
|
|
@@ -7082,7 +7112,7 @@ module.exports = function (hint) {
|
|
|
7082
7112
|
|
|
7083
7113
|
|
|
7084
7114
|
/***/ }),
|
|
7085
|
-
/*
|
|
7115
|
+
/* 233 */
|
|
7086
7116
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7087
7117
|
|
|
7088
7118
|
"use strict";
|
|
@@ -7099,7 +7129,7 @@ var thisTimeValue = uncurryThis(DatePrototype.getTime);
|
|
|
7099
7129
|
|
|
7100
7130
|
// `Date.prototype.toString` method
|
|
7101
7131
|
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
7102
|
-
if (String(new Date(NaN))
|
|
7132
|
+
if (String(new Date(NaN)) !== INVALID_DATE) {
|
|
7103
7133
|
defineBuiltIn(DatePrototype, TO_STRING, function toString() {
|
|
7104
7134
|
var value = thisTimeValue(this);
|
|
7105
7135
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -7109,7 +7139,7 @@ if (String(new Date(NaN)) != INVALID_DATE) {
|
|
|
7109
7139
|
|
|
7110
7140
|
|
|
7111
7141
|
/***/ }),
|
|
7112
|
-
/*
|
|
7142
|
+
/* 234 */
|
|
7113
7143
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7114
7144
|
|
|
7115
7145
|
"use strict";
|
|
@@ -7159,14 +7189,14 @@ $({ global: true }, {
|
|
|
7159
7189
|
|
|
7160
7190
|
|
|
7161
7191
|
/***/ }),
|
|
7162
|
-
/*
|
|
7192
|
+
/* 235 */
|
|
7163
7193
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7164
7194
|
|
|
7165
7195
|
"use strict";
|
|
7166
7196
|
|
|
7167
7197
|
// TODO: Remove from `core-js@4`
|
|
7168
7198
|
var $ = __webpack_require__(3);
|
|
7169
|
-
var bind = __webpack_require__(
|
|
7199
|
+
var bind = __webpack_require__(236);
|
|
7170
7200
|
|
|
7171
7201
|
// `Function.prototype.bind` method
|
|
7172
7202
|
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
@@ -7177,7 +7207,7 @@ $({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
|
|
|
7177
7207
|
|
|
7178
7208
|
|
|
7179
7209
|
/***/ }),
|
|
7180
|
-
/*
|
|
7210
|
+
/* 236 */
|
|
7181
7211
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7182
7212
|
|
|
7183
7213
|
"use strict";
|
|
@@ -7196,7 +7226,9 @@ var factories = {};
|
|
|
7196
7226
|
|
|
7197
7227
|
var construct = function (C, argsLength, args) {
|
|
7198
7228
|
if (!hasOwn(factories, argsLength)) {
|
|
7199
|
-
|
|
7229
|
+
var list = [];
|
|
7230
|
+
var i = 0;
|
|
7231
|
+
for (; i < argsLength; i++) list[i] = 'a[' + i + ']';
|
|
7200
7232
|
factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');
|
|
7201
7233
|
} return factories[argsLength](C, args);
|
|
7202
7234
|
};
|
|
@@ -7218,7 +7250,7 @@ module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args
|
|
|
7218
7250
|
|
|
7219
7251
|
|
|
7220
7252
|
/***/ }),
|
|
7221
|
-
/*
|
|
7253
|
+
/* 237 */
|
|
7222
7254
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7223
7255
|
|
|
7224
7256
|
"use strict";
|
|
@@ -7248,7 +7280,7 @@ if (!(HAS_INSTANCE in FunctionPrototype)) {
|
|
|
7248
7280
|
|
|
7249
7281
|
|
|
7250
7282
|
/***/ }),
|
|
7251
|
-
/*
|
|
7283
|
+
/* 238 */
|
|
7252
7284
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7253
7285
|
|
|
7254
7286
|
"use strict";
|
|
@@ -7281,7 +7313,7 @@ if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
|
7281
7313
|
|
|
7282
7314
|
|
|
7283
7315
|
/***/ }),
|
|
7284
|
-
/*
|
|
7316
|
+
/* 239 */
|
|
7285
7317
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7286
7318
|
|
|
7287
7319
|
"use strict";
|
|
@@ -7297,7 +7329,7 @@ $({ global: true, forced: global.globalThis !== global }, {
|
|
|
7297
7329
|
|
|
7298
7330
|
|
|
7299
7331
|
/***/ }),
|
|
7300
|
-
/*
|
|
7332
|
+
/* 240 */
|
|
7301
7333
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7302
7334
|
|
|
7303
7335
|
"use strict";
|
|
@@ -7311,23 +7343,23 @@ setToStringTag(global.JSON, 'JSON', true);
|
|
|
7311
7343
|
|
|
7312
7344
|
|
|
7313
7345
|
/***/ }),
|
|
7314
|
-
/*
|
|
7346
|
+
/* 241 */
|
|
7315
7347
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7316
7348
|
|
|
7317
7349
|
"use strict";
|
|
7318
7350
|
|
|
7319
7351
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
7320
|
-
__webpack_require__(
|
|
7352
|
+
__webpack_require__(242);
|
|
7321
7353
|
|
|
7322
7354
|
|
|
7323
7355
|
/***/ }),
|
|
7324
|
-
/*
|
|
7356
|
+
/* 242 */
|
|
7325
7357
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7326
7358
|
|
|
7327
7359
|
"use strict";
|
|
7328
7360
|
|
|
7329
|
-
var collection = __webpack_require__(
|
|
7330
|
-
var collectionStrong = __webpack_require__(
|
|
7361
|
+
var collection = __webpack_require__(243);
|
|
7362
|
+
var collectionStrong = __webpack_require__(248);
|
|
7331
7363
|
|
|
7332
7364
|
// `Map` constructor
|
|
7333
7365
|
// https://tc39.es/ecma262/#sec-map-objects
|
|
@@ -7337,7 +7369,7 @@ collection('Map', function (init) {
|
|
|
7337
7369
|
|
|
7338
7370
|
|
|
7339
7371
|
/***/ }),
|
|
7340
|
-
/*
|
|
7372
|
+
/* 243 */
|
|
7341
7373
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7342
7374
|
|
|
7343
7375
|
"use strict";
|
|
@@ -7347,7 +7379,7 @@ var global = __webpack_require__(4);
|
|
|
7347
7379
|
var uncurryThis = __webpack_require__(14);
|
|
7348
7380
|
var isForced = __webpack_require__(68);
|
|
7349
7381
|
var defineBuiltIn = __webpack_require__(48);
|
|
7350
|
-
var InternalMetadataModule = __webpack_require__(
|
|
7382
|
+
var InternalMetadataModule = __webpack_require__(244);
|
|
7351
7383
|
var iterate = __webpack_require__(132);
|
|
7352
7384
|
var anInstance = __webpack_require__(211);
|
|
7353
7385
|
var isCallable = __webpack_require__(21);
|
|
@@ -7370,14 +7402,14 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7370
7402
|
var fixMethod = function (KEY) {
|
|
7371
7403
|
var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);
|
|
7372
7404
|
defineBuiltIn(NativePrototype, KEY,
|
|
7373
|
-
KEY
|
|
7405
|
+
KEY === 'add' ? function add(value) {
|
|
7374
7406
|
uncurriedNativeMethod(this, value === 0 ? 0 : value);
|
|
7375
7407
|
return this;
|
|
7376
|
-
} : KEY
|
|
7408
|
+
} : KEY === 'delete' ? function (key) {
|
|
7377
7409
|
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7378
|
-
} : KEY
|
|
7410
|
+
} : KEY === 'get' ? function get(key) {
|
|
7379
7411
|
return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7380
|
-
} : KEY
|
|
7412
|
+
} : KEY === 'has' ? function has(key) {
|
|
7381
7413
|
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7382
7414
|
} : function set(key, value) {
|
|
7383
7415
|
uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
|
|
@@ -7400,7 +7432,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7400
7432
|
} else if (isForced(CONSTRUCTOR_NAME, true)) {
|
|
7401
7433
|
var instance = new Constructor();
|
|
7402
7434
|
// early implementations not supports chaining
|
|
7403
|
-
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1)
|
|
7435
|
+
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;
|
|
7404
7436
|
// V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
|
|
7405
7437
|
var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
|
|
7406
7438
|
// most early implementations doesn't supports iterables, most modern - not close it correctly
|
|
@@ -7439,7 +7471,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7439
7471
|
}
|
|
7440
7472
|
|
|
7441
7473
|
exported[CONSTRUCTOR_NAME] = Constructor;
|
|
7442
|
-
$({ global: true, constructor: true, forced: Constructor
|
|
7474
|
+
$({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);
|
|
7443
7475
|
|
|
7444
7476
|
setToStringTag(Constructor, CONSTRUCTOR_NAME);
|
|
7445
7477
|
|
|
@@ -7450,7 +7482,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7450
7482
|
|
|
7451
7483
|
|
|
7452
7484
|
/***/ }),
|
|
7453
|
-
/*
|
|
7485
|
+
/* 244 */
|
|
7454
7486
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7455
7487
|
|
|
7456
7488
|
"use strict";
|
|
@@ -7463,9 +7495,9 @@ var hasOwn = __webpack_require__(39);
|
|
|
7463
7495
|
var defineProperty = (__webpack_require__(45).f);
|
|
7464
7496
|
var getOwnPropertyNamesModule = __webpack_require__(58);
|
|
7465
7497
|
var getOwnPropertyNamesExternalModule = __webpack_require__(76);
|
|
7466
|
-
var isExtensible = __webpack_require__(
|
|
7498
|
+
var isExtensible = __webpack_require__(245);
|
|
7467
7499
|
var uid = __webpack_require__(41);
|
|
7468
|
-
var FREEZING = __webpack_require__(
|
|
7500
|
+
var FREEZING = __webpack_require__(247);
|
|
7469
7501
|
|
|
7470
7502
|
var REQUIRED = false;
|
|
7471
7503
|
var METADATA = uid('meta');
|
|
@@ -7547,7 +7579,7 @@ hiddenKeys[METADATA] = true;
|
|
|
7547
7579
|
|
|
7548
7580
|
|
|
7549
7581
|
/***/ }),
|
|
7550
|
-
/*
|
|
7582
|
+
/* 245 */
|
|
7551
7583
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7552
7584
|
|
|
7553
7585
|
"use strict";
|
|
@@ -7555,7 +7587,7 @@ hiddenKeys[METADATA] = true;
|
|
|
7555
7587
|
var fails = __webpack_require__(7);
|
|
7556
7588
|
var isObject = __webpack_require__(20);
|
|
7557
7589
|
var classof = __webpack_require__(15);
|
|
7558
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
7590
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
7559
7591
|
|
|
7560
7592
|
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
7561
7593
|
var $isExtensible = Object.isExtensible;
|
|
@@ -7565,13 +7597,13 @@ var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });
|
|
|
7565
7597
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
7566
7598
|
module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
7567
7599
|
if (!isObject(it)) return false;
|
|
7568
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
7600
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;
|
|
7569
7601
|
return $isExtensible ? $isExtensible(it) : true;
|
|
7570
7602
|
} : $isExtensible;
|
|
7571
7603
|
|
|
7572
7604
|
|
|
7573
7605
|
/***/ }),
|
|
7574
|
-
/*
|
|
7606
|
+
/* 246 */
|
|
7575
7607
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7576
7608
|
|
|
7577
7609
|
"use strict";
|
|
@@ -7589,7 +7621,7 @@ module.exports = fails(function () {
|
|
|
7589
7621
|
|
|
7590
7622
|
|
|
7591
7623
|
/***/ }),
|
|
7592
|
-
/*
|
|
7624
|
+
/* 247 */
|
|
7593
7625
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7594
7626
|
|
|
7595
7627
|
"use strict";
|
|
@@ -7603,7 +7635,7 @@ module.exports = !fails(function () {
|
|
|
7603
7635
|
|
|
7604
7636
|
|
|
7605
7637
|
/***/ }),
|
|
7606
|
-
/*
|
|
7638
|
+
/* 248 */
|
|
7607
7639
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7608
7640
|
|
|
7609
7641
|
"use strict";
|
|
@@ -7619,7 +7651,7 @@ var defineIterator = __webpack_require__(170);
|
|
|
7619
7651
|
var createIterResultObject = __webpack_require__(173);
|
|
7620
7652
|
var setSpecies = __webpack_require__(194);
|
|
7621
7653
|
var DESCRIPTORS = __webpack_require__(6);
|
|
7622
|
-
var fastKey = (__webpack_require__(
|
|
7654
|
+
var fastKey = (__webpack_require__(244).fastKey);
|
|
7623
7655
|
var InternalStateModule = __webpack_require__(52);
|
|
7624
7656
|
|
|
7625
7657
|
var setInternalState = InternalStateModule.set;
|
|
@@ -7678,7 +7710,7 @@ module.exports = {
|
|
|
7678
7710
|
if (index !== 'F') return state.index[index];
|
|
7679
7711
|
// frozen object case
|
|
7680
7712
|
for (entry = state.first; entry; entry = entry.next) {
|
|
7681
|
-
if (entry.key
|
|
7713
|
+
if (entry.key === key) return entry;
|
|
7682
7714
|
}
|
|
7683
7715
|
};
|
|
7684
7716
|
|
|
@@ -7715,8 +7747,8 @@ module.exports = {
|
|
|
7715
7747
|
entry.removed = true;
|
|
7716
7748
|
if (prev) prev.next = next;
|
|
7717
7749
|
if (next) next.previous = prev;
|
|
7718
|
-
if (state.first
|
|
7719
|
-
if (state.last
|
|
7750
|
+
if (state.first === entry) state.first = next;
|
|
7751
|
+
if (state.last === entry) state.last = prev;
|
|
7720
7752
|
if (DESCRIPTORS) state.size--;
|
|
7721
7753
|
else that.size--;
|
|
7722
7754
|
} return !!entry;
|
|
@@ -7803,8 +7835,8 @@ module.exports = {
|
|
|
7803
7835
|
return createIterResultObject(undefined, true);
|
|
7804
7836
|
}
|
|
7805
7837
|
// return step by kind
|
|
7806
|
-
if (kind
|
|
7807
|
-
if (kind
|
|
7838
|
+
if (kind === 'keys') return createIterResultObject(entry.key, false);
|
|
7839
|
+
if (kind === 'values') return createIterResultObject(entry.value, false);
|
|
7808
7840
|
return createIterResultObject([entry.key, entry.value], false);
|
|
7809
7841
|
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
|
|
7810
7842
|
|
|
@@ -7817,13 +7849,13 @@ module.exports = {
|
|
|
7817
7849
|
|
|
7818
7850
|
|
|
7819
7851
|
/***/ }),
|
|
7820
|
-
/*
|
|
7852
|
+
/* 249 */
|
|
7821
7853
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7822
7854
|
|
|
7823
7855
|
"use strict";
|
|
7824
7856
|
|
|
7825
7857
|
var $ = __webpack_require__(3);
|
|
7826
|
-
var log1p = __webpack_require__(
|
|
7858
|
+
var log1p = __webpack_require__(250);
|
|
7827
7859
|
|
|
7828
7860
|
// eslint-disable-next-line es/no-math-acosh -- required for testing
|
|
7829
7861
|
var $acosh = Math.acosh;
|
|
@@ -7833,9 +7865,9 @@ var LN2 = Math.LN2;
|
|
|
7833
7865
|
|
|
7834
7866
|
var FORCED = !$acosh
|
|
7835
7867
|
// V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
|
|
7836
|
-
|| Math.floor($acosh(Number.MAX_VALUE))
|
|
7868
|
+
|| Math.floor($acosh(Number.MAX_VALUE)) !== 710
|
|
7837
7869
|
// Tor Browser bug: Math.acosh(Infinity) -> NaN
|
|
7838
|
-
|| $acosh(Infinity)
|
|
7870
|
+
|| $acosh(Infinity) !== Infinity;
|
|
7839
7871
|
|
|
7840
7872
|
// `Math.acosh` method
|
|
7841
7873
|
// https://tc39.es/ecma262/#sec-math.acosh
|
|
@@ -7850,7 +7882,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, {
|
|
|
7850
7882
|
|
|
7851
7883
|
|
|
7852
7884
|
/***/ }),
|
|
7853
|
-
/*
|
|
7885
|
+
/* 250 */
|
|
7854
7886
|
/***/ (function(module) {
|
|
7855
7887
|
|
|
7856
7888
|
"use strict";
|
|
@@ -7867,7 +7899,7 @@ module.exports = Math.log1p || function log1p(x) {
|
|
|
7867
7899
|
|
|
7868
7900
|
|
|
7869
7901
|
/***/ }),
|
|
7870
|
-
/*
|
|
7902
|
+
/* 251 */
|
|
7871
7903
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7872
7904
|
|
|
7873
7905
|
"use strict";
|
|
@@ -7881,7 +7913,7 @@ var sqrt = Math.sqrt;
|
|
|
7881
7913
|
|
|
7882
7914
|
function asinh(x) {
|
|
7883
7915
|
var n = +x;
|
|
7884
|
-
return !isFinite(n) || n
|
|
7916
|
+
return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));
|
|
7885
7917
|
}
|
|
7886
7918
|
|
|
7887
7919
|
var FORCED = !($asinh && 1 / $asinh(0) > 0);
|
|
@@ -7895,7 +7927,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, {
|
|
|
7895
7927
|
|
|
7896
7928
|
|
|
7897
7929
|
/***/ }),
|
|
7898
|
-
/*
|
|
7930
|
+
/* 252 */
|
|
7899
7931
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7900
7932
|
|
|
7901
7933
|
"use strict";
|
|
@@ -7914,19 +7946,19 @@ var FORCED = !($atanh && 1 / $atanh(-0) < 0);
|
|
|
7914
7946
|
$({ target: 'Math', stat: true, forced: FORCED }, {
|
|
7915
7947
|
atanh: function atanh(x) {
|
|
7916
7948
|
var n = +x;
|
|
7917
|
-
return n
|
|
7949
|
+
return n === 0 ? n : log((1 + n) / (1 - n)) / 2;
|
|
7918
7950
|
}
|
|
7919
7951
|
});
|
|
7920
7952
|
|
|
7921
7953
|
|
|
7922
7954
|
/***/ }),
|
|
7923
|
-
/*
|
|
7955
|
+
/* 253 */
|
|
7924
7956
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7925
7957
|
|
|
7926
7958
|
"use strict";
|
|
7927
7959
|
|
|
7928
7960
|
var $ = __webpack_require__(3);
|
|
7929
|
-
var sign = __webpack_require__(
|
|
7961
|
+
var sign = __webpack_require__(214);
|
|
7930
7962
|
|
|
7931
7963
|
var abs = Math.abs;
|
|
7932
7964
|
var pow = Math.pow;
|
|
@@ -7941,22 +7973,6 @@ $({ target: 'Math', stat: true }, {
|
|
|
7941
7973
|
});
|
|
7942
7974
|
|
|
7943
7975
|
|
|
7944
|
-
/***/ }),
|
|
7945
|
-
/* 253 */
|
|
7946
|
-
/***/ (function(module) {
|
|
7947
|
-
|
|
7948
|
-
"use strict";
|
|
7949
|
-
|
|
7950
|
-
// `Math.sign` method implementation
|
|
7951
|
-
// https://tc39.es/ecma262/#sec-math.sign
|
|
7952
|
-
// eslint-disable-next-line es/no-math-sign -- safe
|
|
7953
|
-
module.exports = Math.sign || function sign(x) {
|
|
7954
|
-
var n = +x;
|
|
7955
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
7956
|
-
return n == 0 || n != n ? n : n < 0 ? -1 : 1;
|
|
7957
|
-
};
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
7976
|
/***/ }),
|
|
7961
7977
|
/* 254 */
|
|
7962
7978
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -8021,10 +8037,10 @@ module.exports = (!$expm1
|
|
|
8021
8037
|
// Old FF bug
|
|
8022
8038
|
|| $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
|
|
8023
8039
|
// Tor Browser bug
|
|
8024
|
-
|| $expm1(-2e-17)
|
|
8040
|
+
|| $expm1(-2e-17) !== -2e-17
|
|
8025
8041
|
) ? function expm1(x) {
|
|
8026
8042
|
var n = +x;
|
|
8027
|
-
return n
|
|
8043
|
+
return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;
|
|
8028
8044
|
} : $expm1;
|
|
8029
8045
|
|
|
8030
8046
|
|
|
@@ -8040,7 +8056,7 @@ var expm1 = __webpack_require__(256);
|
|
|
8040
8056
|
// `Math.expm1` method
|
|
8041
8057
|
// https://tc39.es/ecma262/#sec-math.expm1
|
|
8042
8058
|
// eslint-disable-next-line es/no-math-expm1 -- required for testing
|
|
8043
|
-
$({ target: 'Math', stat: true, forced: expm1
|
|
8059
|
+
$({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 });
|
|
8044
8060
|
|
|
8045
8061
|
|
|
8046
8062
|
/***/ }),
|
|
@@ -8063,7 +8079,7 @@ $({ target: 'Math', stat: true }, { fround: fround });
|
|
|
8063
8079
|
|
|
8064
8080
|
"use strict";
|
|
8065
8081
|
|
|
8066
|
-
var sign = __webpack_require__(
|
|
8082
|
+
var sign = __webpack_require__(214);
|
|
8067
8083
|
|
|
8068
8084
|
var abs = Math.abs;
|
|
8069
8085
|
var pow = Math.pow;
|
|
@@ -8088,7 +8104,7 @@ module.exports = Math.fround || function fround(x) {
|
|
|
8088
8104
|
a = (1 + EPSILON32 / EPSILON) * $abs;
|
|
8089
8105
|
result = a - (a - $abs);
|
|
8090
8106
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8091
|
-
if (result > MAX32 || result
|
|
8107
|
+
if (result > MAX32 || result !== result) return $sign * Infinity;
|
|
8092
8108
|
return $sign * result;
|
|
8093
8109
|
};
|
|
8094
8110
|
|
|
@@ -8149,7 +8165,7 @@ var fails = __webpack_require__(7);
|
|
|
8149
8165
|
var $imul = Math.imul;
|
|
8150
8166
|
|
|
8151
8167
|
var FORCED = fails(function () {
|
|
8152
|
-
return $imul(0xFFFFFFFF, 5)
|
|
8168
|
+
return $imul(0xFFFFFFFF, 5) !== -5 || $imul.length !== 2;
|
|
8153
8169
|
});
|
|
8154
8170
|
|
|
8155
8171
|
// `Math.imul` method
|
|
@@ -8205,7 +8221,7 @@ module.exports = Math.log10 || function log10(x) {
|
|
|
8205
8221
|
"use strict";
|
|
8206
8222
|
|
|
8207
8223
|
var $ = __webpack_require__(3);
|
|
8208
|
-
var log1p = __webpack_require__(
|
|
8224
|
+
var log1p = __webpack_require__(250);
|
|
8209
8225
|
|
|
8210
8226
|
// `Math.log1p` method
|
|
8211
8227
|
// https://tc39.es/ecma262/#sec-math.log1p
|
|
@@ -8239,7 +8255,7 @@ $({ target: 'Math', stat: true }, {
|
|
|
8239
8255
|
"use strict";
|
|
8240
8256
|
|
|
8241
8257
|
var $ = __webpack_require__(3);
|
|
8242
|
-
var sign = __webpack_require__(
|
|
8258
|
+
var sign = __webpack_require__(214);
|
|
8243
8259
|
|
|
8244
8260
|
// `Math.sign` method
|
|
8245
8261
|
// https://tc39.es/ecma262/#sec-math.sign
|
|
@@ -8264,7 +8280,7 @@ var E = Math.E;
|
|
|
8264
8280
|
|
|
8265
8281
|
var FORCED = fails(function () {
|
|
8266
8282
|
// eslint-disable-next-line es/no-math-sinh -- required for testing
|
|
8267
|
-
return Math.sinh(-2e-17)
|
|
8283
|
+
return Math.sinh(-2e-17) !== -2e-17;
|
|
8268
8284
|
});
|
|
8269
8285
|
|
|
8270
8286
|
// `Math.sinh` method
|
|
@@ -8296,7 +8312,7 @@ $({ target: 'Math', stat: true }, {
|
|
|
8296
8312
|
var n = +x;
|
|
8297
8313
|
var a = expm1(n);
|
|
8298
8314
|
var b = expm1(-n);
|
|
8299
|
-
return a
|
|
8315
|
+
return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n));
|
|
8300
8316
|
}
|
|
8301
8317
|
});
|
|
8302
8318
|
|
|
@@ -8597,7 +8613,7 @@ var $ = __webpack_require__(3);
|
|
|
8597
8613
|
$({ target: 'Number', stat: true }, {
|
|
8598
8614
|
isNaN: function isNaN(number) {
|
|
8599
8615
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8600
|
-
return number
|
|
8616
|
+
return number !== number;
|
|
8601
8617
|
}
|
|
8602
8618
|
});
|
|
8603
8619
|
|
|
@@ -8664,7 +8680,7 @@ var parseFloat = __webpack_require__(285);
|
|
|
8664
8680
|
// `Number.parseFloat` method
|
|
8665
8681
|
// https://tc39.es/ecma262/#sec-number.parseFloat
|
|
8666
8682
|
// eslint-disable-next-line es/no-number-parsefloat -- required for testing
|
|
8667
|
-
$({ target: 'Number', stat: true, forced: Number.parseFloat
|
|
8683
|
+
$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, {
|
|
8668
8684
|
parseFloat: parseFloat
|
|
8669
8685
|
});
|
|
8670
8686
|
|
|
@@ -8695,7 +8711,7 @@ var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
|
|
|
8695
8711
|
module.exports = FORCED ? function parseFloat(string) {
|
|
8696
8712
|
var trimmedString = trim(toString(string));
|
|
8697
8713
|
var result = $parseFloat(trimmedString);
|
|
8698
|
-
return result === 0 && charAt(trimmedString, 0)
|
|
8714
|
+
return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
|
|
8699
8715
|
} : $parseFloat;
|
|
8700
8716
|
|
|
8701
8717
|
|
|
@@ -8711,7 +8727,7 @@ var parseInt = __webpack_require__(287);
|
|
|
8711
8727
|
// `Number.parseInt` method
|
|
8712
8728
|
// https://tc39.es/ecma262/#sec-number.parseint
|
|
8713
8729
|
// eslint-disable-next-line es/no-number-parseint -- required for testing
|
|
8714
|
-
$({ target: 'Number', stat: true, forced: Number.parseInt
|
|
8730
|
+
$({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, {
|
|
8715
8731
|
parseInt: parseInt
|
|
8716
8732
|
});
|
|
8717
8733
|
|
|
@@ -8756,7 +8772,7 @@ var $ = __webpack_require__(3);
|
|
|
8756
8772
|
var uncurryThis = __webpack_require__(14);
|
|
8757
8773
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
8758
8774
|
var thisNumberValue = __webpack_require__(272);
|
|
8759
|
-
var $repeat = __webpack_require__(
|
|
8775
|
+
var $repeat = __webpack_require__(229);
|
|
8760
8776
|
var log10 = __webpack_require__(263);
|
|
8761
8777
|
var fails = __webpack_require__(7);
|
|
8762
8778
|
|
|
@@ -8865,7 +8881,7 @@ var $ = __webpack_require__(3);
|
|
|
8865
8881
|
var uncurryThis = __webpack_require__(14);
|
|
8866
8882
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
8867
8883
|
var thisNumberValue = __webpack_require__(272);
|
|
8868
|
-
var $repeat = __webpack_require__(
|
|
8884
|
+
var $repeat = __webpack_require__(229);
|
|
8869
8885
|
var fails = __webpack_require__(7);
|
|
8870
8886
|
|
|
8871
8887
|
var $RangeError = RangeError;
|
|
@@ -8947,7 +8963,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, {
|
|
|
8947
8963
|
// TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
|
|
8948
8964
|
if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits');
|
|
8949
8965
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8950
|
-
if (number
|
|
8966
|
+
if (number !== number) return 'NaN';
|
|
8951
8967
|
if (number <= -1e21 || number >= 1e21) return $String(number);
|
|
8952
8968
|
if (number < 0) {
|
|
8953
8969
|
sign = '-';
|
|
@@ -9081,11 +9097,11 @@ module.exports = !$assign || fails(function () {
|
|
|
9081
9097
|
var A = {};
|
|
9082
9098
|
var B = {};
|
|
9083
9099
|
// eslint-disable-next-line es/no-symbol -- safe
|
|
9084
|
-
var symbol = Symbol();
|
|
9100
|
+
var symbol = Symbol('assign detection');
|
|
9085
9101
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
9086
9102
|
A[symbol] = 7;
|
|
9087
9103
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
9088
|
-
return $assign({}, A)[symbol]
|
|
9104
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
9089
9105
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
9090
9106
|
var T = toObject(target);
|
|
9091
9107
|
var argumentsLength = arguments.length;
|
|
@@ -9313,10 +9329,10 @@ module.exports = {
|
|
|
9313
9329
|
"use strict";
|
|
9314
9330
|
|
|
9315
9331
|
var $ = __webpack_require__(3);
|
|
9316
|
-
var FREEZING = __webpack_require__(
|
|
9332
|
+
var FREEZING = __webpack_require__(247);
|
|
9317
9333
|
var fails = __webpack_require__(7);
|
|
9318
9334
|
var isObject = __webpack_require__(20);
|
|
9319
|
-
var onFreeze = (__webpack_require__(
|
|
9335
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9320
9336
|
|
|
9321
9337
|
// eslint-disable-next-line es/no-object-freeze -- safe
|
|
9322
9338
|
var $freeze = Object.freeze;
|
|
@@ -9496,7 +9512,7 @@ $({ target: 'Object', stat: true }, {
|
|
|
9496
9512
|
// eslint-disable-next-line es/no-object-is -- safe
|
|
9497
9513
|
module.exports = Object.is || function is(x, y) {
|
|
9498
9514
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
9499
|
-
return x === y ? x !== 0 || 1 / x === 1 / y : x
|
|
9515
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
9500
9516
|
};
|
|
9501
9517
|
|
|
9502
9518
|
|
|
@@ -9507,7 +9523,7 @@ module.exports = Object.is || function is(x, y) {
|
|
|
9507
9523
|
"use strict";
|
|
9508
9524
|
|
|
9509
9525
|
var $ = __webpack_require__(3);
|
|
9510
|
-
var $isExtensible = __webpack_require__(
|
|
9526
|
+
var $isExtensible = __webpack_require__(245);
|
|
9511
9527
|
|
|
9512
9528
|
// `Object.isExtensible` method
|
|
9513
9529
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
@@ -9527,7 +9543,7 @@ var $ = __webpack_require__(3);
|
|
|
9527
9543
|
var fails = __webpack_require__(7);
|
|
9528
9544
|
var isObject = __webpack_require__(20);
|
|
9529
9545
|
var classof = __webpack_require__(15);
|
|
9530
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
9546
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
9531
9547
|
|
|
9532
9548
|
// eslint-disable-next-line es/no-object-isfrozen -- safe
|
|
9533
9549
|
var $isFrozen = Object.isFrozen;
|
|
@@ -9539,7 +9555,7 @@ var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); })
|
|
|
9539
9555
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
9540
9556
|
isFrozen: function isFrozen(it) {
|
|
9541
9557
|
if (!isObject(it)) return true;
|
|
9542
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
9558
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
|
|
9543
9559
|
return $isFrozen ? $isFrozen(it) : false;
|
|
9544
9560
|
}
|
|
9545
9561
|
});
|
|
@@ -9555,7 +9571,7 @@ var $ = __webpack_require__(3);
|
|
|
9555
9571
|
var fails = __webpack_require__(7);
|
|
9556
9572
|
var isObject = __webpack_require__(20);
|
|
9557
9573
|
var classof = __webpack_require__(15);
|
|
9558
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
9574
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
9559
9575
|
|
|
9560
9576
|
// eslint-disable-next-line es/no-object-issealed -- safe
|
|
9561
9577
|
var $isSealed = Object.isSealed;
|
|
@@ -9567,7 +9583,7 @@ var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); })
|
|
|
9567
9583
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
9568
9584
|
isSealed: function isSealed(it) {
|
|
9569
9585
|
if (!isObject(it)) return true;
|
|
9570
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
9586
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
|
|
9571
9587
|
return $isSealed ? $isSealed(it) : false;
|
|
9572
9588
|
}
|
|
9573
9589
|
});
|
|
@@ -9663,8 +9679,8 @@ if (DESCRIPTORS) {
|
|
|
9663
9679
|
|
|
9664
9680
|
var $ = __webpack_require__(3);
|
|
9665
9681
|
var isObject = __webpack_require__(20);
|
|
9666
|
-
var onFreeze = (__webpack_require__(
|
|
9667
|
-
var FREEZING = __webpack_require__(
|
|
9682
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9683
|
+
var FREEZING = __webpack_require__(247);
|
|
9668
9684
|
var fails = __webpack_require__(7);
|
|
9669
9685
|
|
|
9670
9686
|
// eslint-disable-next-line es/no-object-preventextensions -- safe
|
|
@@ -9724,8 +9740,8 @@ if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototyp
|
|
|
9724
9740
|
|
|
9725
9741
|
var $ = __webpack_require__(3);
|
|
9726
9742
|
var isObject = __webpack_require__(20);
|
|
9727
|
-
var onFreeze = (__webpack_require__(
|
|
9728
|
-
var FREEZING = __webpack_require__(
|
|
9743
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9744
|
+
var FREEZING = __webpack_require__(247);
|
|
9729
9745
|
var fails = __webpack_require__(7);
|
|
9730
9746
|
|
|
9731
9747
|
// eslint-disable-next-line es/no-object-seal -- safe
|
|
@@ -9819,7 +9835,7 @@ var $parseFloat = __webpack_require__(285);
|
|
|
9819
9835
|
|
|
9820
9836
|
// `parseFloat` method
|
|
9821
9837
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
9822
|
-
$({ global: true, forced: parseFloat
|
|
9838
|
+
$({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
9823
9839
|
parseFloat: $parseFloat
|
|
9824
9840
|
});
|
|
9825
9841
|
|
|
@@ -9835,7 +9851,7 @@ var $parseInt = __webpack_require__(287);
|
|
|
9835
9851
|
|
|
9836
9852
|
// `parseInt` method
|
|
9837
9853
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
9838
|
-
$({ global: true, forced: parseInt
|
|
9854
|
+
$({ global: true, forced: parseInt !== $parseInt }, {
|
|
9839
9855
|
parseInt: $parseInt
|
|
9840
9856
|
});
|
|
9841
9857
|
|
|
@@ -9874,7 +9890,7 @@ var aCallable = __webpack_require__(31);
|
|
|
9874
9890
|
var isCallable = __webpack_require__(21);
|
|
9875
9891
|
var isObject = __webpack_require__(20);
|
|
9876
9892
|
var anInstance = __webpack_require__(211);
|
|
9877
|
-
var speciesConstructor = __webpack_require__(
|
|
9893
|
+
var speciesConstructor = __webpack_require__(218);
|
|
9878
9894
|
var task = (__webpack_require__(327).set);
|
|
9879
9895
|
var microtask = __webpack_require__(330);
|
|
9880
9896
|
var hostReportErrors = __webpack_require__(334);
|
|
@@ -9919,7 +9935,7 @@ var isThenable = function (it) {
|
|
|
9919
9935
|
|
|
9920
9936
|
var callReaction = function (reaction, state) {
|
|
9921
9937
|
var value = state.value;
|
|
9922
|
-
var ok = state.state
|
|
9938
|
+
var ok = state.state === FULFILLED;
|
|
9923
9939
|
var handler = ok ? reaction.ok : reaction.fail;
|
|
9924
9940
|
var resolve = reaction.resolve;
|
|
9925
9941
|
var reject = reaction.reject;
|
|
@@ -10095,7 +10111,7 @@ if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
|
10095
10111
|
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
10096
10112
|
reaction.fail = isCallable(onRejected) && onRejected;
|
|
10097
10113
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
10098
|
-
if (state.state
|
|
10114
|
+
if (state.state === PENDING) state.reactions.add(reaction);
|
|
10099
10115
|
else microtask(function () {
|
|
10100
10116
|
callReaction(reaction, state);
|
|
10101
10117
|
});
|
|
@@ -10451,7 +10467,7 @@ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
10451
10467
|
module.exports = function (a, b) {
|
|
10452
10468
|
try {
|
|
10453
10469
|
// eslint-disable-next-line no-console -- safe
|
|
10454
|
-
arguments.length
|
|
10470
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
|
10455
10471
|
} catch (error) { /* empty */ }
|
|
10456
10472
|
};
|
|
10457
10473
|
|
|
@@ -10901,7 +10917,7 @@ var NativePromiseConstructor = __webpack_require__(336);
|
|
|
10901
10917
|
var fails = __webpack_require__(7);
|
|
10902
10918
|
var getBuiltIn = __webpack_require__(24);
|
|
10903
10919
|
var isCallable = __webpack_require__(21);
|
|
10904
|
-
var speciesConstructor = __webpack_require__(
|
|
10920
|
+
var speciesConstructor = __webpack_require__(218);
|
|
10905
10921
|
var promiseResolve = __webpack_require__(347);
|
|
10906
10922
|
var defineBuiltIn = __webpack_require__(48);
|
|
10907
10923
|
|
|
@@ -10975,8 +10991,8 @@ $({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {
|
|
|
10975
10991
|
var $ = __webpack_require__(3);
|
|
10976
10992
|
var getBuiltIn = __webpack_require__(24);
|
|
10977
10993
|
var apply = __webpack_require__(96);
|
|
10978
|
-
var bind = __webpack_require__(
|
|
10979
|
-
var aConstructor = __webpack_require__(
|
|
10994
|
+
var bind = __webpack_require__(236);
|
|
10995
|
+
var aConstructor = __webpack_require__(219);
|
|
10980
10996
|
var anObject = __webpack_require__(47);
|
|
10981
10997
|
var isObject = __webpack_require__(20);
|
|
10982
10998
|
var create = __webpack_require__(72);
|
|
@@ -11007,7 +11023,7 @@ $({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
|
|
|
11007
11023
|
anObject(args);
|
|
11008
11024
|
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
|
|
11009
11025
|
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
|
|
11010
|
-
if (Target
|
|
11026
|
+
if (Target === newTarget) {
|
|
11011
11027
|
// w/o altered newTarget, optimization for 0-4 arguments
|
|
11012
11028
|
switch (args.length) {
|
|
11013
11029
|
case 0: return new Target();
|
|
@@ -11196,7 +11212,7 @@ $({ target: 'Reflect', stat: true }, {
|
|
|
11196
11212
|
|
|
11197
11213
|
var $ = __webpack_require__(3);
|
|
11198
11214
|
var anObject = __webpack_require__(47);
|
|
11199
|
-
var $isExtensible = __webpack_require__(
|
|
11215
|
+
var $isExtensible = __webpack_require__(245);
|
|
11200
11216
|
|
|
11201
11217
|
// `Reflect.isExtensible` method
|
|
11202
11218
|
// https://tc39.es/ecma262/#sec-reflect.isextensible
|
|
@@ -11233,7 +11249,7 @@ $({ target: 'Reflect', stat: true }, {
|
|
|
11233
11249
|
var $ = __webpack_require__(3);
|
|
11234
11250
|
var getBuiltIn = __webpack_require__(24);
|
|
11235
11251
|
var anObject = __webpack_require__(47);
|
|
11236
|
-
var FREEZING = __webpack_require__(
|
|
11252
|
+
var FREEZING = __webpack_require__(247);
|
|
11237
11253
|
|
|
11238
11254
|
// `Reflect.preventExtensions` method
|
|
11239
11255
|
// https://tc39.es/ecma262/#sec-reflect.preventextensions
|
|
@@ -11404,7 +11420,7 @@ var BASE_FORCED = DESCRIPTORS &&
|
|
|
11404
11420
|
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
11405
11421
|
re2[MATCH] = false;
|
|
11406
11422
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
11407
|
-
return NativeRegExp(re1)
|
|
11423
|
+
return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
|
|
11408
11424
|
}));
|
|
11409
11425
|
|
|
11410
11426
|
var handleDotAll = function (string) {
|
|
@@ -11566,7 +11582,7 @@ var MATCH = wellKnownSymbol('match');
|
|
|
11566
11582
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
11567
11583
|
module.exports = function (it) {
|
|
11568
11584
|
var isRegExp;
|
|
11569
|
-
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it)
|
|
11585
|
+
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
|
|
11570
11586
|
};
|
|
11571
11587
|
|
|
11572
11588
|
|
|
@@ -11630,7 +11646,7 @@ var $RegExp = global.RegExp;
|
|
|
11630
11646
|
var UNSUPPORTED_Y = fails(function () {
|
|
11631
11647
|
var re = $RegExp('a', 'y');
|
|
11632
11648
|
re.lastIndex = 2;
|
|
11633
|
-
return re.exec('abcd')
|
|
11649
|
+
return re.exec('abcd') !== null;
|
|
11634
11650
|
});
|
|
11635
11651
|
|
|
11636
11652
|
// UC Browser bug
|
|
@@ -11643,7 +11659,7 @@ var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
|
|
|
11643
11659
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
11644
11660
|
var re = $RegExp('^r', 'gy');
|
|
11645
11661
|
re.lastIndex = 2;
|
|
11646
|
-
return re.exec('str')
|
|
11662
|
+
return re.exec('str') !== null;
|
|
11647
11663
|
});
|
|
11648
11664
|
|
|
11649
11665
|
module.exports = {
|
|
@@ -12018,9 +12034,9 @@ var TO_STRING = 'toString';
|
|
|
12018
12034
|
var RegExpPrototype = RegExp.prototype;
|
|
12019
12035
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
12020
12036
|
|
|
12021
|
-
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' })
|
|
12037
|
+
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
12022
12038
|
// FF44- RegExp#toString has a wrong name
|
|
12023
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name
|
|
12039
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
12024
12040
|
|
|
12025
12041
|
// `RegExp.prototype.toString` method
|
|
12026
12042
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
@@ -12050,8 +12066,8 @@ __webpack_require__(381);
|
|
|
12050
12066
|
|
|
12051
12067
|
"use strict";
|
|
12052
12068
|
|
|
12053
|
-
var collection = __webpack_require__(
|
|
12054
|
-
var collectionStrong = __webpack_require__(
|
|
12069
|
+
var collection = __webpack_require__(243);
|
|
12070
|
+
var collectionStrong = __webpack_require__(248);
|
|
12055
12071
|
|
|
12056
12072
|
// `Set` constructor
|
|
12057
12073
|
// https://tc39.es/ecma262/#sec-set-objects
|
|
@@ -12257,7 +12273,7 @@ var $fromCodePoint = String.fromCodePoint;
|
|
|
12257
12273
|
var join = uncurryThis([].join);
|
|
12258
12274
|
|
|
12259
12275
|
// length should be 1, old FF problem
|
|
12260
|
-
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length
|
|
12276
|
+
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;
|
|
12261
12277
|
|
|
12262
12278
|
// `String.fromCodePoint` method
|
|
12263
12279
|
// https://tc39.es/ecma262/#sec-string.fromcodepoint
|
|
@@ -12329,9 +12345,9 @@ $({ target: 'String', proto: true }, {
|
|
|
12329
12345
|
for (var i = 0; i < length; i++) {
|
|
12330
12346
|
var charCode = charCodeAt(S, i);
|
|
12331
12347
|
// single UTF-16 code unit
|
|
12332
|
-
if ((charCode & 0xF800)
|
|
12348
|
+
if ((charCode & 0xF800) !== 0xD800) continue;
|
|
12333
12349
|
// unpaired surrogate
|
|
12334
|
-
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00)
|
|
12350
|
+
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false;
|
|
12335
12351
|
} return true;
|
|
12336
12352
|
}
|
|
12337
12353
|
});
|
|
@@ -12455,7 +12471,7 @@ module.exports = function (KEY, exec, FORCED, SHAM) {
|
|
|
12455
12471
|
// String methods call symbol-named RegEp methods
|
|
12456
12472
|
var O = {};
|
|
12457
12473
|
O[SYMBOL] = function () { return 7; };
|
|
12458
|
-
return ''[KEY](O)
|
|
12474
|
+
return ''[KEY](O) !== 7;
|
|
12459
12475
|
});
|
|
12460
12476
|
|
|
12461
12477
|
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
@@ -12578,7 +12594,7 @@ var getMethod = __webpack_require__(30);
|
|
|
12578
12594
|
var defineBuiltIn = __webpack_require__(48);
|
|
12579
12595
|
var fails = __webpack_require__(7);
|
|
12580
12596
|
var wellKnownSymbol = __webpack_require__(34);
|
|
12581
|
-
var speciesConstructor = __webpack_require__(
|
|
12597
|
+
var speciesConstructor = __webpack_require__(218);
|
|
12582
12598
|
var advanceStringIndex = __webpack_require__(394);
|
|
12583
12599
|
var regExpExec = __webpack_require__(395);
|
|
12584
12600
|
var InternalStateModule = __webpack_require__(52);
|
|
@@ -12651,7 +12667,7 @@ $({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
|
|
|
12651
12667
|
}
|
|
12652
12668
|
if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
|
|
12653
12669
|
matcher = getMethod(regexp, MATCH_ALL);
|
|
12654
|
-
if (matcher === undefined && IS_PURE && classof(regexp)
|
|
12670
|
+
if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll;
|
|
12655
12671
|
if (matcher) return call(matcher, regexp, O);
|
|
12656
12672
|
} else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
|
|
12657
12673
|
S = toString(O);
|
|
@@ -12670,7 +12686,7 @@ IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_
|
|
|
12670
12686
|
"use strict";
|
|
12671
12687
|
|
|
12672
12688
|
var $ = __webpack_require__(3);
|
|
12673
|
-
var $padEnd = (__webpack_require__(
|
|
12689
|
+
var $padEnd = (__webpack_require__(228).end);
|
|
12674
12690
|
var WEBKIT_BUG = __webpack_require__(398);
|
|
12675
12691
|
|
|
12676
12692
|
// `String.prototype.padEnd` method
|
|
@@ -12701,7 +12717,7 @@ module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari
|
|
|
12701
12717
|
"use strict";
|
|
12702
12718
|
|
|
12703
12719
|
var $ = __webpack_require__(3);
|
|
12704
|
-
var $padStart = (__webpack_require__(
|
|
12720
|
+
var $padStart = (__webpack_require__(228).start);
|
|
12705
12721
|
var WEBKIT_BUG = __webpack_require__(398);
|
|
12706
12722
|
|
|
12707
12723
|
// `String.prototype.padStart` method
|
|
@@ -12755,7 +12771,7 @@ $({ target: 'String', stat: true }, {
|
|
|
12755
12771
|
"use strict";
|
|
12756
12772
|
|
|
12757
12773
|
var $ = __webpack_require__(3);
|
|
12758
|
-
var repeat = __webpack_require__(
|
|
12774
|
+
var repeat = __webpack_require__(229);
|
|
12759
12775
|
|
|
12760
12776
|
// `String.prototype.repeat` method
|
|
12761
12777
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -12859,13 +12875,16 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12859
12875
|
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
12860
12876
|
|
|
12861
12877
|
var global = rx.global;
|
|
12878
|
+
var fullUnicode;
|
|
12862
12879
|
if (global) {
|
|
12863
|
-
|
|
12880
|
+
fullUnicode = rx.unicode;
|
|
12864
12881
|
rx.lastIndex = 0;
|
|
12865
12882
|
}
|
|
12883
|
+
|
|
12866
12884
|
var results = [];
|
|
12885
|
+
var result;
|
|
12867
12886
|
while (true) {
|
|
12868
|
-
|
|
12887
|
+
result = regExpExec(rx, S);
|
|
12869
12888
|
if (result === null) break;
|
|
12870
12889
|
|
|
12871
12890
|
push(results, result);
|
|
@@ -12883,6 +12902,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12883
12902
|
var matched = toString(result[0]);
|
|
12884
12903
|
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
12885
12904
|
var captures = [];
|
|
12905
|
+
var replacement;
|
|
12886
12906
|
// NOTE: This is equivalent to
|
|
12887
12907
|
// captures = result.slice(1).map(maybeToString)
|
|
12888
12908
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
@@ -12893,7 +12913,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12893
12913
|
if (functionalReplace) {
|
|
12894
12914
|
var replacerArgs = concat([matched], captures, position, S);
|
|
12895
12915
|
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
12896
|
-
|
|
12916
|
+
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
12897
12917
|
} else {
|
|
12898
12918
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
12899
12919
|
}
|
|
@@ -12902,6 +12922,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12902
12922
|
nextSourcePosition = position + matched.length;
|
|
12903
12923
|
}
|
|
12904
12924
|
}
|
|
12925
|
+
|
|
12905
12926
|
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
12906
12927
|
}
|
|
12907
12928
|
];
|
|
@@ -13098,7 +13119,7 @@ var anObject = __webpack_require__(47);
|
|
|
13098
13119
|
var isNullOrUndefined = __webpack_require__(17);
|
|
13099
13120
|
var isRegExp = __webpack_require__(367);
|
|
13100
13121
|
var requireObjectCoercible = __webpack_require__(16);
|
|
13101
|
-
var speciesConstructor = __webpack_require__(
|
|
13122
|
+
var speciesConstructor = __webpack_require__(218);
|
|
13102
13123
|
var advanceStringIndex = __webpack_require__(394);
|
|
13103
13124
|
var toLength = __webpack_require__(65);
|
|
13104
13125
|
var toString = __webpack_require__(69);
|
|
@@ -13132,11 +13153,11 @@ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
|
13132
13153
|
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
|
|
13133
13154
|
var internalSplit;
|
|
13134
13155
|
if (
|
|
13135
|
-
'abbc'.split(/(b)*/)[1]
|
|
13156
|
+
'abbc'.split(/(b)*/)[1] === 'c' ||
|
|
13136
13157
|
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
13137
|
-
'test'.split(/(?:)/, -1).length
|
|
13138
|
-
'ab'.split(/(?:ab)*/).length
|
|
13139
|
-
'.'.split(/(.?)(.?)/).length
|
|
13158
|
+
'test'.split(/(?:)/, -1).length !== 4 ||
|
|
13159
|
+
'ab'.split(/(?:ab)*/).length !== 2 ||
|
|
13160
|
+
'.'.split(/(.?)(.?)/).length !== 4 ||
|
|
13140
13161
|
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
13141
13162
|
'.'.split(/()()/).length > 1 ||
|
|
13142
13163
|
''.split(/.?/).length
|
|
@@ -13365,9 +13386,9 @@ $({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {
|
|
|
13365
13386
|
for (var i = 0; i < length; i++) {
|
|
13366
13387
|
var charCode = charCodeAt(S, i);
|
|
13367
13388
|
// single UTF-16 code unit
|
|
13368
|
-
if ((charCode & 0xF800)
|
|
13389
|
+
if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i);
|
|
13369
13390
|
// unpaired surrogate
|
|
13370
|
-
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00)
|
|
13391
|
+
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER;
|
|
13371
13392
|
// surrogate pair
|
|
13372
13393
|
else {
|
|
13373
13394
|
result[i] = charAt(S, i);
|
|
@@ -13844,7 +13865,7 @@ var global = __webpack_require__(4);
|
|
|
13844
13865
|
var call = __webpack_require__(8);
|
|
13845
13866
|
var DESCRIPTORS = __webpack_require__(6);
|
|
13846
13867
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
13847
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
13868
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
13848
13869
|
var ArrayBufferModule = __webpack_require__(208);
|
|
13849
13870
|
var anInstance = __webpack_require__(211);
|
|
13850
13871
|
var createPropertyDescriptor = __webpack_require__(11);
|
|
@@ -13910,7 +13931,7 @@ var addGetter = function (it, key) {
|
|
|
13910
13931
|
|
|
13911
13932
|
var isArrayBuffer = function (it) {
|
|
13912
13933
|
var klass;
|
|
13913
|
-
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it))
|
|
13934
|
+
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';
|
|
13914
13935
|
};
|
|
13915
13936
|
|
|
13916
13937
|
var isTypedArrayIndex = function (target, key) {
|
|
@@ -14066,7 +14087,7 @@ if (DESCRIPTORS) {
|
|
|
14066
14087
|
createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
|
|
14067
14088
|
}
|
|
14068
14089
|
|
|
14069
|
-
var FORCED = TypedArrayConstructor
|
|
14090
|
+
var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;
|
|
14070
14091
|
|
|
14071
14092
|
exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
|
|
14072
14093
|
|
|
@@ -14095,7 +14116,7 @@ if (DESCRIPTORS) {
|
|
|
14095
14116
|
var global = __webpack_require__(4);
|
|
14096
14117
|
var fails = __webpack_require__(7);
|
|
14097
14118
|
var checkCorrectnessOfIteration = __webpack_require__(165);
|
|
14098
|
-
var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(
|
|
14119
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(216).NATIVE_ARRAY_BUFFER_VIEWS);
|
|
14099
14120
|
|
|
14100
14121
|
var ArrayBuffer = global.ArrayBuffer;
|
|
14101
14122
|
var Int8Array = global.Int8Array;
|
|
@@ -14171,14 +14192,14 @@ module.exports = function (it) {
|
|
|
14171
14192
|
|
|
14172
14193
|
var bind = __webpack_require__(86);
|
|
14173
14194
|
var call = __webpack_require__(8);
|
|
14174
|
-
var aConstructor = __webpack_require__(
|
|
14195
|
+
var aConstructor = __webpack_require__(219);
|
|
14175
14196
|
var toObject = __webpack_require__(40);
|
|
14176
14197
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14177
14198
|
var getIterator = __webpack_require__(135);
|
|
14178
14199
|
var getIteratorMethod = __webpack_require__(136);
|
|
14179
14200
|
var isArrayIteratorMethod = __webpack_require__(133);
|
|
14180
14201
|
var isBigIntArray = __webpack_require__(440);
|
|
14181
|
-
var aTypedArrayConstructor = (__webpack_require__(
|
|
14202
|
+
var aTypedArrayConstructor = (__webpack_require__(216).aTypedArrayConstructor);
|
|
14182
14203
|
var toBigInt = __webpack_require__(441);
|
|
14183
14204
|
|
|
14184
14205
|
module.exports = function from(source /* , mapfn, thisArg */) {
|
|
@@ -14222,7 +14243,7 @@ var classof = __webpack_require__(70);
|
|
|
14222
14243
|
|
|
14223
14244
|
module.exports = function (it) {
|
|
14224
14245
|
var klass = classof(it);
|
|
14225
|
-
return klass
|
|
14246
|
+
return klass === 'BigInt64Array' || klass === 'BigUint64Array';
|
|
14226
14247
|
};
|
|
14227
14248
|
|
|
14228
14249
|
|
|
@@ -14388,7 +14409,7 @@ createTypedArrayConstructor('Uint32', function (init) {
|
|
|
14388
14409
|
|
|
14389
14410
|
"use strict";
|
|
14390
14411
|
|
|
14391
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14412
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14392
14413
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14393
14414
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
14394
14415
|
|
|
@@ -14413,7 +14434,7 @@ exportTypedArrayMethod('at', function at(index) {
|
|
|
14413
14434
|
"use strict";
|
|
14414
14435
|
|
|
14415
14436
|
var uncurryThis = __webpack_require__(14);
|
|
14416
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14437
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14417
14438
|
var $ArrayCopyWithin = __webpack_require__(145);
|
|
14418
14439
|
|
|
14419
14440
|
var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);
|
|
@@ -14433,7 +14454,7 @@ exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end
|
|
|
14433
14454
|
|
|
14434
14455
|
"use strict";
|
|
14435
14456
|
|
|
14436
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14457
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14437
14458
|
var $every = (__webpack_require__(85).every);
|
|
14438
14459
|
|
|
14439
14460
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14452,7 +14473,7 @@ exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {
|
|
|
14452
14473
|
|
|
14453
14474
|
"use strict";
|
|
14454
14475
|
|
|
14455
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14476
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14456
14477
|
var $fill = __webpack_require__(150);
|
|
14457
14478
|
var toBigInt = __webpack_require__(441);
|
|
14458
14479
|
var classof = __webpack_require__(70);
|
|
@@ -14488,7 +14509,7 @@ exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
|
|
|
14488
14509
|
|
|
14489
14510
|
"use strict";
|
|
14490
14511
|
|
|
14491
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14512
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14492
14513
|
var $filter = (__webpack_require__(85).filter);
|
|
14493
14514
|
var fromSpeciesAndList = __webpack_require__(455);
|
|
14494
14515
|
|
|
@@ -14523,8 +14544,8 @@ module.exports = function (instance, list) {
|
|
|
14523
14544
|
|
|
14524
14545
|
"use strict";
|
|
14525
14546
|
|
|
14526
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14527
|
-
var speciesConstructor = __webpack_require__(
|
|
14547
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14548
|
+
var speciesConstructor = __webpack_require__(218);
|
|
14528
14549
|
|
|
14529
14550
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
|
14530
14551
|
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
|
|
@@ -14542,7 +14563,7 @@ module.exports = function (originalArray) {
|
|
|
14542
14563
|
|
|
14543
14564
|
"use strict";
|
|
14544
14565
|
|
|
14545
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14566
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14546
14567
|
var $find = (__webpack_require__(85).find);
|
|
14547
14568
|
|
|
14548
14569
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14561,7 +14582,7 @@ exportTypedArrayMethod('find', function find(predicate /* , thisArg */) {
|
|
|
14561
14582
|
|
|
14562
14583
|
"use strict";
|
|
14563
14584
|
|
|
14564
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14585
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14565
14586
|
var $findIndex = (__webpack_require__(85).findIndex);
|
|
14566
14587
|
|
|
14567
14588
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14580,7 +14601,7 @@ exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */
|
|
|
14580
14601
|
|
|
14581
14602
|
"use strict";
|
|
14582
14603
|
|
|
14583
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14604
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14584
14605
|
var $findLast = (__webpack_require__(155).findLast);
|
|
14585
14606
|
|
|
14586
14607
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14599,7 +14620,7 @@ exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */)
|
|
|
14599
14620
|
|
|
14600
14621
|
"use strict";
|
|
14601
14622
|
|
|
14602
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14623
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14603
14624
|
var $findLastIndex = (__webpack_require__(155).findLastIndex);
|
|
14604
14625
|
|
|
14605
14626
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14618,7 +14639,7 @@ exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , th
|
|
|
14618
14639
|
|
|
14619
14640
|
"use strict";
|
|
14620
14641
|
|
|
14621
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14642
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14622
14643
|
var $forEach = (__webpack_require__(85).forEach);
|
|
14623
14644
|
|
|
14624
14645
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14638,7 +14659,7 @@ exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {
|
|
|
14638
14659
|
"use strict";
|
|
14639
14660
|
|
|
14640
14661
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
14641
|
-
var exportTypedArrayStaticMethod = (__webpack_require__(
|
|
14662
|
+
var exportTypedArrayStaticMethod = (__webpack_require__(216).exportTypedArrayStaticMethod);
|
|
14642
14663
|
var typedArrayFrom = __webpack_require__(439);
|
|
14643
14664
|
|
|
14644
14665
|
// `%TypedArray%.from` method
|
|
@@ -14652,7 +14673,7 @@ exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_R
|
|
|
14652
14673
|
|
|
14653
14674
|
"use strict";
|
|
14654
14675
|
|
|
14655
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14676
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14656
14677
|
var $includes = (__webpack_require__(60).includes);
|
|
14657
14678
|
|
|
14658
14679
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14671,7 +14692,7 @@ exportTypedArrayMethod('includes', function includes(searchElement /* , fromInde
|
|
|
14671
14692
|
|
|
14672
14693
|
"use strict";
|
|
14673
14694
|
|
|
14674
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14695
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14675
14696
|
var $indexOf = (__webpack_require__(60).indexOf);
|
|
14676
14697
|
|
|
14677
14698
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14693,7 +14714,7 @@ exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex
|
|
|
14693
14714
|
var global = __webpack_require__(4);
|
|
14694
14715
|
var fails = __webpack_require__(7);
|
|
14695
14716
|
var uncurryThis = __webpack_require__(14);
|
|
14696
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14717
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14697
14718
|
var ArrayIterators = __webpack_require__(169);
|
|
14698
14719
|
var wellKnownSymbol = __webpack_require__(34);
|
|
14699
14720
|
|
|
@@ -14743,7 +14764,7 @@ exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUE
|
|
|
14743
14764
|
|
|
14744
14765
|
"use strict";
|
|
14745
14766
|
|
|
14746
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14767
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14747
14768
|
var uncurryThis = __webpack_require__(14);
|
|
14748
14769
|
|
|
14749
14770
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14763,7 +14784,7 @@ exportTypedArrayMethod('join', function join(separator) {
|
|
|
14763
14784
|
|
|
14764
14785
|
"use strict";
|
|
14765
14786
|
|
|
14766
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14787
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14767
14788
|
var apply = __webpack_require__(96);
|
|
14768
14789
|
var $lastIndexOf = __webpack_require__(176);
|
|
14769
14790
|
|
|
@@ -14784,7 +14805,7 @@ exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fr
|
|
|
14784
14805
|
|
|
14785
14806
|
"use strict";
|
|
14786
14807
|
|
|
14787
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14808
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14788
14809
|
var $map = (__webpack_require__(85).map);
|
|
14789
14810
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
14790
14811
|
|
|
@@ -14806,7 +14827,7 @@ exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {
|
|
|
14806
14827
|
|
|
14807
14828
|
"use strict";
|
|
14808
14829
|
|
|
14809
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14830
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14810
14831
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
14811
14832
|
|
|
14812
14833
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
|
@@ -14829,7 +14850,7 @@ exportTypedArrayStaticMethod('of', function of(/* ...items */) {
|
|
|
14829
14850
|
|
|
14830
14851
|
"use strict";
|
|
14831
14852
|
|
|
14832
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14853
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14833
14854
|
var $reduce = (__webpack_require__(182).left);
|
|
14834
14855
|
|
|
14835
14856
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14849,7 +14870,7 @@ exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */
|
|
|
14849
14870
|
|
|
14850
14871
|
"use strict";
|
|
14851
14872
|
|
|
14852
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14873
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14853
14874
|
var $reduceRight = (__webpack_require__(182).right);
|
|
14854
14875
|
|
|
14855
14876
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14869,7 +14890,7 @@ exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initi
|
|
|
14869
14890
|
|
|
14870
14891
|
"use strict";
|
|
14871
14892
|
|
|
14872
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14893
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14873
14894
|
|
|
14874
14895
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
14875
14896
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -14899,7 +14920,7 @@ exportTypedArrayMethod('reverse', function reverse() {
|
|
|
14899
14920
|
|
|
14900
14921
|
var global = __webpack_require__(4);
|
|
14901
14922
|
var call = __webpack_require__(8);
|
|
14902
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14923
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14903
14924
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14904
14925
|
var toOffset = __webpack_require__(436);
|
|
14905
14926
|
var toIndexedObject = __webpack_require__(40);
|
|
@@ -14948,7 +14969,7 @@ exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
|
|
|
14948
14969
|
|
|
14949
14970
|
"use strict";
|
|
14950
14971
|
|
|
14951
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14972
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14952
14973
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
14953
14974
|
var fails = __webpack_require__(7);
|
|
14954
14975
|
var arraySlice = __webpack_require__(97);
|
|
@@ -14980,7 +15001,7 @@ exportTypedArrayMethod('slice', function slice(start, end) {
|
|
|
14980
15001
|
|
|
14981
15002
|
"use strict";
|
|
14982
15003
|
|
|
14983
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15004
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14984
15005
|
var $some = (__webpack_require__(85).some);
|
|
14985
15006
|
|
|
14986
15007
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -15004,7 +15025,7 @@ var uncurryThis = __webpack_require__(87);
|
|
|
15004
15025
|
var fails = __webpack_require__(7);
|
|
15005
15026
|
var aCallable = __webpack_require__(31);
|
|
15006
15027
|
var internalSort = __webpack_require__(189);
|
|
15007
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15028
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15008
15029
|
var FF = __webpack_require__(190);
|
|
15009
15030
|
var IE_OR_EDGE = __webpack_require__(191);
|
|
15010
15031
|
var V8 = __webpack_require__(28);
|
|
@@ -15076,7 +15097,7 @@ exportTypedArrayMethod('sort', function sort(comparefn) {
|
|
|
15076
15097
|
|
|
15077
15098
|
"use strict";
|
|
15078
15099
|
|
|
15079
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15100
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15080
15101
|
var toLength = __webpack_require__(65);
|
|
15081
15102
|
var toAbsoluteIndex = __webpack_require__(61);
|
|
15082
15103
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
@@ -15107,7 +15128,7 @@ exportTypedArrayMethod('subarray', function subarray(begin, end) {
|
|
|
15107
15128
|
|
|
15108
15129
|
var global = __webpack_require__(4);
|
|
15109
15130
|
var apply = __webpack_require__(96);
|
|
15110
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15131
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15111
15132
|
var fails = __webpack_require__(7);
|
|
15112
15133
|
var arraySlice = __webpack_require__(97);
|
|
15113
15134
|
|
|
@@ -15122,7 +15143,7 @@ var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
|
|
|
15122
15143
|
});
|
|
15123
15144
|
|
|
15124
15145
|
var FORCED = fails(function () {
|
|
15125
|
-
return [1, 2].toLocaleString()
|
|
15146
|
+
return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();
|
|
15126
15147
|
}) || !fails(function () {
|
|
15127
15148
|
Int8Array.prototype.toLocaleString.call([1, 2]);
|
|
15128
15149
|
});
|
|
@@ -15145,7 +15166,7 @@ exportTypedArrayMethod('toLocaleString', function toLocaleString() {
|
|
|
15145
15166
|
"use strict";
|
|
15146
15167
|
|
|
15147
15168
|
var arrayToReversed = __webpack_require__(197);
|
|
15148
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15169
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15149
15170
|
|
|
15150
15171
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
15151
15172
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -15164,7 +15185,7 @@ exportTypedArrayMethod('toReversed', function toReversed() {
|
|
|
15164
15185
|
|
|
15165
15186
|
"use strict";
|
|
15166
15187
|
|
|
15167
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15188
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15168
15189
|
var uncurryThis = __webpack_require__(14);
|
|
15169
15190
|
var aCallable = __webpack_require__(31);
|
|
15170
15191
|
var arrayFromConstructorAndList = __webpack_require__(199);
|
|
@@ -15190,7 +15211,7 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
|
|
|
15190
15211
|
|
|
15191
15212
|
"use strict";
|
|
15192
15213
|
|
|
15193
|
-
var exportTypedArrayMethod = (__webpack_require__(
|
|
15214
|
+
var exportTypedArrayMethod = (__webpack_require__(216).exportTypedArrayMethod);
|
|
15194
15215
|
var fails = __webpack_require__(7);
|
|
15195
15216
|
var global = __webpack_require__(4);
|
|
15196
15217
|
var uncurryThis = __webpack_require__(14);
|
|
@@ -15206,7 +15227,7 @@ if (fails(function () { arrayToString.call({}); })) {
|
|
|
15206
15227
|
};
|
|
15207
15228
|
}
|
|
15208
15229
|
|
|
15209
|
-
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString
|
|
15230
|
+
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;
|
|
15210
15231
|
|
|
15211
15232
|
// `%TypedArray%.prototype.toString` method
|
|
15212
15233
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
|
|
@@ -15220,7 +15241,7 @@ exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
|
|
|
15220
15241
|
"use strict";
|
|
15221
15242
|
|
|
15222
15243
|
var arrayWith = __webpack_require__(206);
|
|
15223
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15244
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15224
15245
|
var isBigIntArray = __webpack_require__(440);
|
|
15225
15246
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
15226
15247
|
var toBigInt = __webpack_require__(441);
|
|
@@ -15318,12 +15339,12 @@ __webpack_require__(485);
|
|
|
15318
15339
|
|
|
15319
15340
|
"use strict";
|
|
15320
15341
|
|
|
15321
|
-
var FREEZING = __webpack_require__(
|
|
15342
|
+
var FREEZING = __webpack_require__(247);
|
|
15322
15343
|
var global = __webpack_require__(4);
|
|
15323
15344
|
var uncurryThis = __webpack_require__(14);
|
|
15324
15345
|
var defineBuiltIns = __webpack_require__(210);
|
|
15325
|
-
var InternalMetadataModule = __webpack_require__(
|
|
15326
|
-
var collection = __webpack_require__(
|
|
15346
|
+
var InternalMetadataModule = __webpack_require__(244);
|
|
15347
|
+
var collection = __webpack_require__(243);
|
|
15327
15348
|
var collectionWeak = __webpack_require__(486);
|
|
15328
15349
|
var isObject = __webpack_require__(20);
|
|
15329
15350
|
var enforceInternalState = (__webpack_require__(52).enforce);
|
|
@@ -15420,8 +15441,8 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) {
|
|
|
15420
15441
|
else if (isSealed(key)) arrayIntegrityLevel = SEALED;
|
|
15421
15442
|
}
|
|
15422
15443
|
nativeSet(this, key, value);
|
|
15423
|
-
if (arrayIntegrityLevel
|
|
15424
|
-
if (arrayIntegrityLevel
|
|
15444
|
+
if (arrayIntegrityLevel === FROZEN) freeze(key);
|
|
15445
|
+
if (arrayIntegrityLevel === SEALED) seal(key);
|
|
15425
15446
|
return this;
|
|
15426
15447
|
}
|
|
15427
15448
|
});
|
|
@@ -15436,7 +15457,7 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) {
|
|
|
15436
15457
|
|
|
15437
15458
|
var uncurryThis = __webpack_require__(14);
|
|
15438
15459
|
var defineBuiltIns = __webpack_require__(210);
|
|
15439
|
-
var getWeakData = (__webpack_require__(
|
|
15460
|
+
var getWeakData = (__webpack_require__(244).getWeakData);
|
|
15440
15461
|
var anInstance = __webpack_require__(211);
|
|
15441
15462
|
var anObject = __webpack_require__(47);
|
|
15442
15463
|
var isNullOrUndefined = __webpack_require__(17);
|
|
@@ -15582,7 +15603,7 @@ __webpack_require__(488);
|
|
|
15582
15603
|
|
|
15583
15604
|
"use strict";
|
|
15584
15605
|
|
|
15585
|
-
var collection = __webpack_require__(
|
|
15606
|
+
var collection = __webpack_require__(243);
|
|
15586
15607
|
var collectionWeak = __webpack_require__(486);
|
|
15587
15608
|
|
|
15588
15609
|
// `WeakSet` constructor
|
|
@@ -15645,10 +15666,10 @@ $({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_E
|
|
|
15645
15666
|
var position = 0;
|
|
15646
15667
|
var bc = 0;
|
|
15647
15668
|
var chr, bs;
|
|
15648
|
-
if (string.length % 4
|
|
15669
|
+
if (string.length % 4 === 0) {
|
|
15649
15670
|
string = replace(string, finalEq, '');
|
|
15650
15671
|
}
|
|
15651
|
-
if (string.length % 4
|
|
15672
|
+
if (string.length % 4 === 1 || exec(disallowed, string)) {
|
|
15652
15673
|
throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');
|
|
15653
15674
|
}
|
|
15654
15675
|
while (chr = charAt(string, position++)) {
|
|
@@ -15903,7 +15924,7 @@ var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {
|
|
|
15903
15924
|
// eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe
|
|
15904
15925
|
new MessageChannel().port1.postMessage(new WeakMap());
|
|
15905
15926
|
} catch (error) {
|
|
15906
|
-
if (error.name
|
|
15927
|
+
if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor;
|
|
15907
15928
|
}
|
|
15908
15929
|
})();
|
|
15909
15930
|
var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;
|
|
@@ -16226,7 +16247,7 @@ var Function = global.Function;
|
|
|
16226
16247
|
// dirty IE9- and Bun 0.3.0- checks
|
|
16227
16248
|
var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {
|
|
16228
16249
|
var version = global.Bun.version.split('.');
|
|
16229
|
-
return version.length < 3 || version[0]
|
|
16250
|
+
return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0');
|
|
16230
16251
|
})();
|
|
16231
16252
|
|
|
16232
16253
|
// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix
|
|
@@ -16400,7 +16421,7 @@ var checkBasicSemantic = function (structuredCloneImplementation) {
|
|
|
16400
16421
|
var set1 = new global.Set([7]);
|
|
16401
16422
|
var set2 = structuredCloneImplementation(set1);
|
|
16402
16423
|
var number = structuredCloneImplementation(Object(7));
|
|
16403
|
-
return set2
|
|
16424
|
+
return set2 === set1 || !set2.has(7) || typeof number != 'object' || number !== 7;
|
|
16404
16425
|
}) && structuredCloneImplementation;
|
|
16405
16426
|
};
|
|
16406
16427
|
|
|
@@ -16416,7 +16437,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
16416
16437
|
var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
|
|
16417
16438
|
return !fails(function () {
|
|
16418
16439
|
var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
|
|
16419
|
-
return test.name
|
|
16440
|
+
return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3;
|
|
16420
16441
|
});
|
|
16421
16442
|
};
|
|
16422
16443
|
|
|
@@ -16778,7 +16799,7 @@ var structuredCloneInternal = function (value, map, transferredBuffers) {
|
|
|
16778
16799
|
if (hasOwn(value, 'cause')) {
|
|
16779
16800
|
createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map, transferredBuffers));
|
|
16780
16801
|
}
|
|
16781
|
-
if (name
|
|
16802
|
+
if (name === 'AggregateError') {
|
|
16782
16803
|
cloned.errors = structuredCloneInternal(value.errors, map, transferredBuffers);
|
|
16783
16804
|
} // break omitted
|
|
16784
16805
|
case 'DOMException':
|
|
@@ -16846,7 +16867,7 @@ var replacePlaceholders = function (value, map) {
|
|
|
16846
16867
|
if (hasOwn(value, 'cause')) {
|
|
16847
16868
|
value.cause = replacePlaceholders(value.cause, map);
|
|
16848
16869
|
}
|
|
16849
|
-
if (value.name
|
|
16870
|
+
if (value.name === 'AggregateError') {
|
|
16850
16871
|
value.errors = replacePlaceholders(value.errors, map);
|
|
16851
16872
|
} // break omitted
|
|
16852
16873
|
case 'DOMException':
|
|
@@ -17039,7 +17060,7 @@ module.exports = !!structuredClone && !fails(function () {
|
|
|
17039
17060
|
if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;
|
|
17040
17061
|
var buffer = new ArrayBuffer(8);
|
|
17041
17062
|
var clone = structuredClone(buffer, { transfer: [buffer] });
|
|
17042
|
-
return buffer.byteLength
|
|
17063
|
+
return buffer.byteLength !== 0 || clone.byteLength !== 8;
|
|
17043
17064
|
});
|
|
17044
17065
|
|
|
17045
17066
|
|
|
@@ -17180,7 +17201,7 @@ var EOF;
|
|
|
17180
17201
|
var parseIPv4 = function (input) {
|
|
17181
17202
|
var parts = split(input, '.');
|
|
17182
17203
|
var partsLength, numbers, index, part, radix, number, ipv4;
|
|
17183
|
-
if (parts.length && parts[parts.length - 1]
|
|
17204
|
+
if (parts.length && parts[parts.length - 1] === '') {
|
|
17184
17205
|
parts.length--;
|
|
17185
17206
|
}
|
|
17186
17207
|
partsLength = parts.length;
|
|
@@ -17188,23 +17209,23 @@ var parseIPv4 = function (input) {
|
|
|
17188
17209
|
numbers = [];
|
|
17189
17210
|
for (index = 0; index < partsLength; index++) {
|
|
17190
17211
|
part = parts[index];
|
|
17191
|
-
if (part
|
|
17212
|
+
if (part === '') return input;
|
|
17192
17213
|
radix = 10;
|
|
17193
|
-
if (part.length > 1 && charAt(part, 0)
|
|
17214
|
+
if (part.length > 1 && charAt(part, 0) === '0') {
|
|
17194
17215
|
radix = exec(HEX_START, part) ? 16 : 8;
|
|
17195
|
-
part = stringSlice(part, radix
|
|
17216
|
+
part = stringSlice(part, radix === 8 ? 1 : 2);
|
|
17196
17217
|
}
|
|
17197
17218
|
if (part === '') {
|
|
17198
17219
|
number = 0;
|
|
17199
17220
|
} else {
|
|
17200
|
-
if (!exec(radix
|
|
17221
|
+
if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input;
|
|
17201
17222
|
number = parseInt(part, radix);
|
|
17202
17223
|
}
|
|
17203
17224
|
push(numbers, number);
|
|
17204
17225
|
}
|
|
17205
17226
|
for (index = 0; index < partsLength; index++) {
|
|
17206
17227
|
number = numbers[index];
|
|
17207
|
-
if (index
|
|
17228
|
+
if (index === partsLength - 1) {
|
|
17208
17229
|
if (number >= pow(256, 5 - partsLength)) return null;
|
|
17209
17230
|
} else if (number > 255) return null;
|
|
17210
17231
|
}
|
|
@@ -17228,15 +17249,15 @@ var parseIPv6 = function (input) {
|
|
|
17228
17249
|
return charAt(input, pointer);
|
|
17229
17250
|
};
|
|
17230
17251
|
|
|
17231
|
-
if (chr()
|
|
17232
|
-
if (charAt(input, 1)
|
|
17252
|
+
if (chr() === ':') {
|
|
17253
|
+
if (charAt(input, 1) !== ':') return;
|
|
17233
17254
|
pointer += 2;
|
|
17234
17255
|
pieceIndex++;
|
|
17235
17256
|
compress = pieceIndex;
|
|
17236
17257
|
}
|
|
17237
17258
|
while (chr()) {
|
|
17238
|
-
if (pieceIndex
|
|
17239
|
-
if (chr()
|
|
17259
|
+
if (pieceIndex === 8) return;
|
|
17260
|
+
if (chr() === ':') {
|
|
17240
17261
|
if (compress !== null) return;
|
|
17241
17262
|
pointer++;
|
|
17242
17263
|
pieceIndex++;
|
|
@@ -17249,33 +17270,33 @@ var parseIPv6 = function (input) {
|
|
|
17249
17270
|
pointer++;
|
|
17250
17271
|
length++;
|
|
17251
17272
|
}
|
|
17252
|
-
if (chr()
|
|
17253
|
-
if (length
|
|
17273
|
+
if (chr() === '.') {
|
|
17274
|
+
if (length === 0) return;
|
|
17254
17275
|
pointer -= length;
|
|
17255
17276
|
if (pieceIndex > 6) return;
|
|
17256
17277
|
numbersSeen = 0;
|
|
17257
17278
|
while (chr()) {
|
|
17258
17279
|
ipv4Piece = null;
|
|
17259
17280
|
if (numbersSeen > 0) {
|
|
17260
|
-
if (chr()
|
|
17281
|
+
if (chr() === '.' && numbersSeen < 4) pointer++;
|
|
17261
17282
|
else return;
|
|
17262
17283
|
}
|
|
17263
17284
|
if (!exec(DIGIT, chr())) return;
|
|
17264
17285
|
while (exec(DIGIT, chr())) {
|
|
17265
17286
|
number = parseInt(chr(), 10);
|
|
17266
17287
|
if (ipv4Piece === null) ipv4Piece = number;
|
|
17267
|
-
else if (ipv4Piece
|
|
17288
|
+
else if (ipv4Piece === 0) return;
|
|
17268
17289
|
else ipv4Piece = ipv4Piece * 10 + number;
|
|
17269
17290
|
if (ipv4Piece > 255) return;
|
|
17270
17291
|
pointer++;
|
|
17271
17292
|
}
|
|
17272
17293
|
address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
|
|
17273
17294
|
numbersSeen++;
|
|
17274
|
-
if (numbersSeen
|
|
17295
|
+
if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;
|
|
17275
17296
|
}
|
|
17276
|
-
if (numbersSeen
|
|
17297
|
+
if (numbersSeen !== 4) return;
|
|
17277
17298
|
break;
|
|
17278
|
-
} else if (chr()
|
|
17299
|
+
} else if (chr() === ':') {
|
|
17279
17300
|
pointer++;
|
|
17280
17301
|
if (!chr()) return;
|
|
17281
17302
|
} else if (chr()) return;
|
|
@@ -17284,12 +17305,12 @@ var parseIPv6 = function (input) {
|
|
|
17284
17305
|
if (compress !== null) {
|
|
17285
17306
|
swaps = pieceIndex - compress;
|
|
17286
17307
|
pieceIndex = 7;
|
|
17287
|
-
while (pieceIndex
|
|
17308
|
+
while (pieceIndex !== 0 && swaps > 0) {
|
|
17288
17309
|
swap = address[pieceIndex];
|
|
17289
17310
|
address[pieceIndex--] = address[compress + swaps - 1];
|
|
17290
17311
|
address[compress + --swaps] = swap;
|
|
17291
17312
|
}
|
|
17292
|
-
} else if (pieceIndex
|
|
17313
|
+
} else if (pieceIndex !== 8) return;
|
|
17293
17314
|
return address;
|
|
17294
17315
|
};
|
|
17295
17316
|
|
|
@@ -17377,15 +17398,15 @@ var specialSchemes = {
|
|
|
17377
17398
|
// https://url.spec.whatwg.org/#windows-drive-letter
|
|
17378
17399
|
var isWindowsDriveLetter = function (string, normalized) {
|
|
17379
17400
|
var second;
|
|
17380
|
-
return string.length
|
|
17381
|
-
&& ((second = charAt(string, 1))
|
|
17401
|
+
return string.length === 2 && exec(ALPHA, charAt(string, 0))
|
|
17402
|
+
&& ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));
|
|
17382
17403
|
};
|
|
17383
17404
|
|
|
17384
17405
|
// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
|
|
17385
17406
|
var startsWithWindowsDriveLetter = function (string) {
|
|
17386
17407
|
var third;
|
|
17387
17408
|
return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
|
|
17388
|
-
string.length
|
|
17409
|
+
string.length === 2 ||
|
|
17389
17410
|
((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
|
|
17390
17411
|
);
|
|
17391
17412
|
};
|
|
@@ -17489,27 +17510,27 @@ URLState.prototype = {
|
|
|
17489
17510
|
break;
|
|
17490
17511
|
|
|
17491
17512
|
case SCHEME:
|
|
17492
|
-
if (chr && (exec(ALPHANUMERIC, chr) || chr
|
|
17513
|
+
if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) {
|
|
17493
17514
|
buffer += toLowerCase(chr);
|
|
17494
|
-
} else if (chr
|
|
17515
|
+
} else if (chr === ':') {
|
|
17495
17516
|
if (stateOverride && (
|
|
17496
|
-
(url.isSpecial()
|
|
17497
|
-
(buffer
|
|
17498
|
-
(url.scheme
|
|
17517
|
+
(url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||
|
|
17518
|
+
(buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||
|
|
17519
|
+
(url.scheme === 'file' && !url.host)
|
|
17499
17520
|
)) return;
|
|
17500
17521
|
url.scheme = buffer;
|
|
17501
17522
|
if (stateOverride) {
|
|
17502
|
-
if (url.isSpecial() && specialSchemes[url.scheme]
|
|
17523
|
+
if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;
|
|
17503
17524
|
return;
|
|
17504
17525
|
}
|
|
17505
17526
|
buffer = '';
|
|
17506
|
-
if (url.scheme
|
|
17527
|
+
if (url.scheme === 'file') {
|
|
17507
17528
|
state = FILE;
|
|
17508
|
-
} else if (url.isSpecial() && base && base.scheme
|
|
17529
|
+
} else if (url.isSpecial() && base && base.scheme === url.scheme) {
|
|
17509
17530
|
state = SPECIAL_RELATIVE_OR_AUTHORITY;
|
|
17510
17531
|
} else if (url.isSpecial()) {
|
|
17511
17532
|
state = SPECIAL_AUTHORITY_SLASHES;
|
|
17512
|
-
} else if (codePoints[pointer + 1]
|
|
17533
|
+
} else if (codePoints[pointer + 1] === '/') {
|
|
17513
17534
|
state = PATH_OR_AUTHORITY;
|
|
17514
17535
|
pointer++;
|
|
17515
17536
|
} else {
|
|
@@ -17526,8 +17547,8 @@ URLState.prototype = {
|
|
|
17526
17547
|
break;
|
|
17527
17548
|
|
|
17528
17549
|
case NO_SCHEME:
|
|
17529
|
-
if (!base || (base.cannotBeABaseURL && chr
|
|
17530
|
-
if (base.cannotBeABaseURL && chr
|
|
17550
|
+
if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;
|
|
17551
|
+
if (base.cannotBeABaseURL && chr === '#') {
|
|
17531
17552
|
url.scheme = base.scheme;
|
|
17532
17553
|
url.path = arraySlice(base.path);
|
|
17533
17554
|
url.query = base.query;
|
|
@@ -17536,11 +17557,11 @@ URLState.prototype = {
|
|
|
17536
17557
|
state = FRAGMENT;
|
|
17537
17558
|
break;
|
|
17538
17559
|
}
|
|
17539
|
-
state = base.scheme
|
|
17560
|
+
state = base.scheme === 'file' ? FILE : RELATIVE;
|
|
17540
17561
|
continue;
|
|
17541
17562
|
|
|
17542
17563
|
case SPECIAL_RELATIVE_OR_AUTHORITY:
|
|
17543
|
-
if (chr
|
|
17564
|
+
if (chr === '/' && codePoints[pointer + 1] === '/') {
|
|
17544
17565
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17545
17566
|
pointer++;
|
|
17546
17567
|
} else {
|
|
@@ -17549,7 +17570,7 @@ URLState.prototype = {
|
|
|
17549
17570
|
} break;
|
|
17550
17571
|
|
|
17551
17572
|
case PATH_OR_AUTHORITY:
|
|
17552
|
-
if (chr
|
|
17573
|
+
if (chr === '/') {
|
|
17553
17574
|
state = AUTHORITY;
|
|
17554
17575
|
break;
|
|
17555
17576
|
} else {
|
|
@@ -17559,16 +17580,16 @@ URLState.prototype = {
|
|
|
17559
17580
|
|
|
17560
17581
|
case RELATIVE:
|
|
17561
17582
|
url.scheme = base.scheme;
|
|
17562
|
-
if (chr
|
|
17583
|
+
if (chr === EOF) {
|
|
17563
17584
|
url.username = base.username;
|
|
17564
17585
|
url.password = base.password;
|
|
17565
17586
|
url.host = base.host;
|
|
17566
17587
|
url.port = base.port;
|
|
17567
17588
|
url.path = arraySlice(base.path);
|
|
17568
17589
|
url.query = base.query;
|
|
17569
|
-
} else if (chr
|
|
17590
|
+
} else if (chr === '/' || (chr === '\\' && url.isSpecial())) {
|
|
17570
17591
|
state = RELATIVE_SLASH;
|
|
17571
|
-
} else if (chr
|
|
17592
|
+
} else if (chr === '?') {
|
|
17572
17593
|
url.username = base.username;
|
|
17573
17594
|
url.password = base.password;
|
|
17574
17595
|
url.host = base.host;
|
|
@@ -17576,7 +17597,7 @@ URLState.prototype = {
|
|
|
17576
17597
|
url.path = arraySlice(base.path);
|
|
17577
17598
|
url.query = '';
|
|
17578
17599
|
state = QUERY;
|
|
17579
|
-
} else if (chr
|
|
17600
|
+
} else if (chr === '#') {
|
|
17580
17601
|
url.username = base.username;
|
|
17581
17602
|
url.password = base.password;
|
|
17582
17603
|
url.host = base.host;
|
|
@@ -17597,9 +17618,9 @@ URLState.prototype = {
|
|
|
17597
17618
|
} break;
|
|
17598
17619
|
|
|
17599
17620
|
case RELATIVE_SLASH:
|
|
17600
|
-
if (url.isSpecial() && (chr
|
|
17621
|
+
if (url.isSpecial() && (chr === '/' || chr === '\\')) {
|
|
17601
17622
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17602
|
-
} else if (chr
|
|
17623
|
+
} else if (chr === '/') {
|
|
17603
17624
|
state = AUTHORITY;
|
|
17604
17625
|
} else {
|
|
17605
17626
|
url.username = base.username;
|
|
@@ -17612,24 +17633,24 @@ URLState.prototype = {
|
|
|
17612
17633
|
|
|
17613
17634
|
case SPECIAL_AUTHORITY_SLASHES:
|
|
17614
17635
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17615
|
-
if (chr
|
|
17636
|
+
if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue;
|
|
17616
17637
|
pointer++;
|
|
17617
17638
|
break;
|
|
17618
17639
|
|
|
17619
17640
|
case SPECIAL_AUTHORITY_IGNORE_SLASHES:
|
|
17620
|
-
if (chr
|
|
17641
|
+
if (chr !== '/' && chr !== '\\') {
|
|
17621
17642
|
state = AUTHORITY;
|
|
17622
17643
|
continue;
|
|
17623
17644
|
} break;
|
|
17624
17645
|
|
|
17625
17646
|
case AUTHORITY:
|
|
17626
|
-
if (chr
|
|
17647
|
+
if (chr === '@') {
|
|
17627
17648
|
if (seenAt) buffer = '%40' + buffer;
|
|
17628
17649
|
seenAt = true;
|
|
17629
17650
|
bufferCodePoints = arrayFrom(buffer);
|
|
17630
17651
|
for (var i = 0; i < bufferCodePoints.length; i++) {
|
|
17631
17652
|
var codePoint = bufferCodePoints[i];
|
|
17632
|
-
if (codePoint
|
|
17653
|
+
if (codePoint === ':' && !seenPasswordToken) {
|
|
17633
17654
|
seenPasswordToken = true;
|
|
17634
17655
|
continue;
|
|
17635
17656
|
}
|
|
@@ -17639,10 +17660,10 @@ URLState.prototype = {
|
|
|
17639
17660
|
}
|
|
17640
17661
|
buffer = '';
|
|
17641
17662
|
} else if (
|
|
17642
|
-
chr
|
|
17643
|
-
(chr
|
|
17663
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17664
|
+
(chr === '\\' && url.isSpecial())
|
|
17644
17665
|
) {
|
|
17645
|
-
if (seenAt && buffer
|
|
17666
|
+
if (seenAt && buffer === '') return INVALID_AUTHORITY;
|
|
17646
17667
|
pointer -= arrayFrom(buffer).length + 1;
|
|
17647
17668
|
buffer = '';
|
|
17648
17669
|
state = HOST;
|
|
@@ -17651,22 +17672,22 @@ URLState.prototype = {
|
|
|
17651
17672
|
|
|
17652
17673
|
case HOST:
|
|
17653
17674
|
case HOSTNAME:
|
|
17654
|
-
if (stateOverride && url.scheme
|
|
17675
|
+
if (stateOverride && url.scheme === 'file') {
|
|
17655
17676
|
state = FILE_HOST;
|
|
17656
17677
|
continue;
|
|
17657
|
-
} else if (chr
|
|
17658
|
-
if (buffer
|
|
17678
|
+
} else if (chr === ':' && !seenBracket) {
|
|
17679
|
+
if (buffer === '') return INVALID_HOST;
|
|
17659
17680
|
failure = url.parseHost(buffer);
|
|
17660
17681
|
if (failure) return failure;
|
|
17661
17682
|
buffer = '';
|
|
17662
17683
|
state = PORT;
|
|
17663
|
-
if (stateOverride
|
|
17684
|
+
if (stateOverride === HOSTNAME) return;
|
|
17664
17685
|
} else if (
|
|
17665
|
-
chr
|
|
17666
|
-
(chr
|
|
17686
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17687
|
+
(chr === '\\' && url.isSpecial())
|
|
17667
17688
|
) {
|
|
17668
|
-
if (url.isSpecial() && buffer
|
|
17669
|
-
if (stateOverride && buffer
|
|
17689
|
+
if (url.isSpecial() && buffer === '') return INVALID_HOST;
|
|
17690
|
+
if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;
|
|
17670
17691
|
failure = url.parseHost(buffer);
|
|
17671
17692
|
if (failure) return failure;
|
|
17672
17693
|
buffer = '';
|
|
@@ -17674,8 +17695,8 @@ URLState.prototype = {
|
|
|
17674
17695
|
if (stateOverride) return;
|
|
17675
17696
|
continue;
|
|
17676
17697
|
} else {
|
|
17677
|
-
if (chr
|
|
17678
|
-
else if (chr
|
|
17698
|
+
if (chr === '[') seenBracket = true;
|
|
17699
|
+
else if (chr === ']') seenBracket = false;
|
|
17679
17700
|
buffer += chr;
|
|
17680
17701
|
} break;
|
|
17681
17702
|
|
|
@@ -17683,11 +17704,11 @@ URLState.prototype = {
|
|
|
17683
17704
|
if (exec(DIGIT, chr)) {
|
|
17684
17705
|
buffer += chr;
|
|
17685
17706
|
} else if (
|
|
17686
|
-
chr
|
|
17687
|
-
(chr
|
|
17707
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17708
|
+
(chr === '\\' && url.isSpecial()) ||
|
|
17688
17709
|
stateOverride
|
|
17689
17710
|
) {
|
|
17690
|
-
if (buffer
|
|
17711
|
+
if (buffer !== '') {
|
|
17691
17712
|
var port = parseInt(buffer, 10);
|
|
17692
17713
|
if (port > 0xFFFF) return INVALID_PORT;
|
|
17693
17714
|
url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
|
|
@@ -17701,31 +17722,35 @@ URLState.prototype = {
|
|
|
17701
17722
|
|
|
17702
17723
|
case FILE:
|
|
17703
17724
|
url.scheme = 'file';
|
|
17704
|
-
if (chr
|
|
17705
|
-
else if (base && base.scheme
|
|
17706
|
-
|
|
17707
|
-
|
|
17708
|
-
url.path = arraySlice(base.path);
|
|
17709
|
-
url.query = base.query;
|
|
17710
|
-
} else if (chr == '?') {
|
|
17711
|
-
url.host = base.host;
|
|
17712
|
-
url.path = arraySlice(base.path);
|
|
17713
|
-
url.query = '';
|
|
17714
|
-
state = QUERY;
|
|
17715
|
-
} else if (chr == '#') {
|
|
17716
|
-
url.host = base.host;
|
|
17717
|
-
url.path = arraySlice(base.path);
|
|
17718
|
-
url.query = base.query;
|
|
17719
|
-
url.fragment = '';
|
|
17720
|
-
state = FRAGMENT;
|
|
17721
|
-
} else {
|
|
17722
|
-
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17725
|
+
if (chr === '/' || chr === '\\') state = FILE_SLASH;
|
|
17726
|
+
else if (base && base.scheme === 'file') {
|
|
17727
|
+
switch (chr) {
|
|
17728
|
+
case EOF:
|
|
17723
17729
|
url.host = base.host;
|
|
17724
17730
|
url.path = arraySlice(base.path);
|
|
17725
|
-
url.
|
|
17726
|
-
|
|
17727
|
-
|
|
17728
|
-
|
|
17731
|
+
url.query = base.query;
|
|
17732
|
+
break;
|
|
17733
|
+
case '?':
|
|
17734
|
+
url.host = base.host;
|
|
17735
|
+
url.path = arraySlice(base.path);
|
|
17736
|
+
url.query = '';
|
|
17737
|
+
state = QUERY;
|
|
17738
|
+
break;
|
|
17739
|
+
case '#':
|
|
17740
|
+
url.host = base.host;
|
|
17741
|
+
url.path = arraySlice(base.path);
|
|
17742
|
+
url.query = base.query;
|
|
17743
|
+
url.fragment = '';
|
|
17744
|
+
state = FRAGMENT;
|
|
17745
|
+
break;
|
|
17746
|
+
default:
|
|
17747
|
+
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17748
|
+
url.host = base.host;
|
|
17749
|
+
url.path = arraySlice(base.path);
|
|
17750
|
+
url.shortenPath();
|
|
17751
|
+
}
|
|
17752
|
+
state = PATH;
|
|
17753
|
+
continue;
|
|
17729
17754
|
}
|
|
17730
17755
|
} else {
|
|
17731
17756
|
state = PATH;
|
|
@@ -17733,11 +17758,11 @@ URLState.prototype = {
|
|
|
17733
17758
|
} break;
|
|
17734
17759
|
|
|
17735
17760
|
case FILE_SLASH:
|
|
17736
|
-
if (chr
|
|
17761
|
+
if (chr === '/' || chr === '\\') {
|
|
17737
17762
|
state = FILE_HOST;
|
|
17738
17763
|
break;
|
|
17739
17764
|
}
|
|
17740
|
-
if (base && base.scheme
|
|
17765
|
+
if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17741
17766
|
if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
|
|
17742
17767
|
else url.host = base.host;
|
|
17743
17768
|
}
|
|
@@ -17745,17 +17770,17 @@ URLState.prototype = {
|
|
|
17745
17770
|
continue;
|
|
17746
17771
|
|
|
17747
17772
|
case FILE_HOST:
|
|
17748
|
-
if (chr
|
|
17773
|
+
if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') {
|
|
17749
17774
|
if (!stateOverride && isWindowsDriveLetter(buffer)) {
|
|
17750
17775
|
state = PATH;
|
|
17751
|
-
} else if (buffer
|
|
17776
|
+
} else if (buffer === '') {
|
|
17752
17777
|
url.host = '';
|
|
17753
17778
|
if (stateOverride) return;
|
|
17754
17779
|
state = PATH_START;
|
|
17755
17780
|
} else {
|
|
17756
17781
|
failure = url.parseHost(buffer);
|
|
17757
17782
|
if (failure) return failure;
|
|
17758
|
-
if (url.host
|
|
17783
|
+
if (url.host === 'localhost') url.host = '';
|
|
17759
17784
|
if (stateOverride) return;
|
|
17760
17785
|
buffer = '';
|
|
17761
17786
|
state = PATH_START;
|
|
@@ -17766,50 +17791,50 @@ URLState.prototype = {
|
|
|
17766
17791
|
case PATH_START:
|
|
17767
17792
|
if (url.isSpecial()) {
|
|
17768
17793
|
state = PATH;
|
|
17769
|
-
if (chr
|
|
17770
|
-
} else if (!stateOverride && chr
|
|
17794
|
+
if (chr !== '/' && chr !== '\\') continue;
|
|
17795
|
+
} else if (!stateOverride && chr === '?') {
|
|
17771
17796
|
url.query = '';
|
|
17772
17797
|
state = QUERY;
|
|
17773
|
-
} else if (!stateOverride && chr
|
|
17798
|
+
} else if (!stateOverride && chr === '#') {
|
|
17774
17799
|
url.fragment = '';
|
|
17775
17800
|
state = FRAGMENT;
|
|
17776
|
-
} else if (chr
|
|
17801
|
+
} else if (chr !== EOF) {
|
|
17777
17802
|
state = PATH;
|
|
17778
|
-
if (chr
|
|
17803
|
+
if (chr !== '/') continue;
|
|
17779
17804
|
} break;
|
|
17780
17805
|
|
|
17781
17806
|
case PATH:
|
|
17782
17807
|
if (
|
|
17783
|
-
chr
|
|
17784
|
-
(chr
|
|
17785
|
-
(!stateOverride && (chr
|
|
17808
|
+
chr === EOF || chr === '/' ||
|
|
17809
|
+
(chr === '\\' && url.isSpecial()) ||
|
|
17810
|
+
(!stateOverride && (chr === '?' || chr === '#'))
|
|
17786
17811
|
) {
|
|
17787
17812
|
if (isDoubleDot(buffer)) {
|
|
17788
17813
|
url.shortenPath();
|
|
17789
|
-
if (chr
|
|
17814
|
+
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
|
|
17790
17815
|
push(url.path, '');
|
|
17791
17816
|
}
|
|
17792
17817
|
} else if (isSingleDot(buffer)) {
|
|
17793
|
-
if (chr
|
|
17818
|
+
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
|
|
17794
17819
|
push(url.path, '');
|
|
17795
17820
|
}
|
|
17796
17821
|
} else {
|
|
17797
|
-
if (url.scheme
|
|
17822
|
+
if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
|
|
17798
17823
|
if (url.host) url.host = '';
|
|
17799
17824
|
buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
|
|
17800
17825
|
}
|
|
17801
17826
|
push(url.path, buffer);
|
|
17802
17827
|
}
|
|
17803
17828
|
buffer = '';
|
|
17804
|
-
if (url.scheme
|
|
17829
|
+
if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {
|
|
17805
17830
|
while (url.path.length > 1 && url.path[0] === '') {
|
|
17806
17831
|
shift(url.path);
|
|
17807
17832
|
}
|
|
17808
17833
|
}
|
|
17809
|
-
if (chr
|
|
17834
|
+
if (chr === '?') {
|
|
17810
17835
|
url.query = '';
|
|
17811
17836
|
state = QUERY;
|
|
17812
|
-
} else if (chr
|
|
17837
|
+
} else if (chr === '#') {
|
|
17813
17838
|
url.fragment = '';
|
|
17814
17839
|
state = FRAGMENT;
|
|
17815
17840
|
}
|
|
@@ -17818,28 +17843,28 @@ URLState.prototype = {
|
|
|
17818
17843
|
} break;
|
|
17819
17844
|
|
|
17820
17845
|
case CANNOT_BE_A_BASE_URL_PATH:
|
|
17821
|
-
if (chr
|
|
17846
|
+
if (chr === '?') {
|
|
17822
17847
|
url.query = '';
|
|
17823
17848
|
state = QUERY;
|
|
17824
|
-
} else if (chr
|
|
17849
|
+
} else if (chr === '#') {
|
|
17825
17850
|
url.fragment = '';
|
|
17826
17851
|
state = FRAGMENT;
|
|
17827
|
-
} else if (chr
|
|
17852
|
+
} else if (chr !== EOF) {
|
|
17828
17853
|
url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
|
|
17829
17854
|
} break;
|
|
17830
17855
|
|
|
17831
17856
|
case QUERY:
|
|
17832
|
-
if (!stateOverride && chr
|
|
17857
|
+
if (!stateOverride && chr === '#') {
|
|
17833
17858
|
url.fragment = '';
|
|
17834
17859
|
state = FRAGMENT;
|
|
17835
|
-
} else if (chr
|
|
17836
|
-
if (chr
|
|
17837
|
-
else if (chr
|
|
17860
|
+
} else if (chr !== EOF) {
|
|
17861
|
+
if (chr === "'" && url.isSpecial()) url.query += '%27';
|
|
17862
|
+
else if (chr === '#') url.query += '%23';
|
|
17838
17863
|
else url.query += percentEncode(chr, C0ControlPercentEncodeSet);
|
|
17839
17864
|
} break;
|
|
17840
17865
|
|
|
17841
17866
|
case FRAGMENT:
|
|
17842
|
-
if (chr
|
|
17867
|
+
if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
|
|
17843
17868
|
break;
|
|
17844
17869
|
}
|
|
17845
17870
|
|
|
@@ -17849,8 +17874,8 @@ URLState.prototype = {
|
|
|
17849
17874
|
// https://url.spec.whatwg.org/#host-parsing
|
|
17850
17875
|
parseHost: function (input) {
|
|
17851
17876
|
var result, codePoints, index;
|
|
17852
|
-
if (charAt(input, 0)
|
|
17853
|
-
if (charAt(input, input.length - 1)
|
|
17877
|
+
if (charAt(input, 0) === '[') {
|
|
17878
|
+
if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;
|
|
17854
17879
|
result = parseIPv6(stringSlice(input, 1, -1));
|
|
17855
17880
|
if (!result) return INVALID_HOST;
|
|
17856
17881
|
this.host = result;
|
|
@@ -17873,11 +17898,11 @@ URLState.prototype = {
|
|
|
17873
17898
|
},
|
|
17874
17899
|
// https://url.spec.whatwg.org/#cannot-have-a-username-password-port
|
|
17875
17900
|
cannotHaveUsernamePasswordPort: function () {
|
|
17876
|
-
return !this.host || this.cannotBeABaseURL || this.scheme
|
|
17901
|
+
return !this.host || this.cannotBeABaseURL || this.scheme === 'file';
|
|
17877
17902
|
},
|
|
17878
17903
|
// https://url.spec.whatwg.org/#include-credentials
|
|
17879
17904
|
includesCredentials: function () {
|
|
17880
|
-
return this.username
|
|
17905
|
+
return this.username !== '' || this.password !== '';
|
|
17881
17906
|
},
|
|
17882
17907
|
// https://url.spec.whatwg.org/#is-special
|
|
17883
17908
|
isSpecial: function () {
|
|
@@ -17887,7 +17912,7 @@ URLState.prototype = {
|
|
|
17887
17912
|
shortenPath: function () {
|
|
17888
17913
|
var path = this.path;
|
|
17889
17914
|
var pathSize = path.length;
|
|
17890
|
-
if (pathSize && (this.scheme
|
|
17915
|
+
if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {
|
|
17891
17916
|
path.length--;
|
|
17892
17917
|
}
|
|
17893
17918
|
},
|
|
@@ -17910,7 +17935,7 @@ URLState.prototype = {
|
|
|
17910
17935
|
}
|
|
17911
17936
|
output += serializeHost(host);
|
|
17912
17937
|
if (port !== null) output += ':' + port;
|
|
17913
|
-
} else if (scheme
|
|
17938
|
+
} else if (scheme === 'file') output += '//';
|
|
17914
17939
|
output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
|
|
17915
17940
|
if (query !== null) output += '?' + query;
|
|
17916
17941
|
if (fragment !== null) output += '#' + fragment;
|
|
@@ -17926,12 +17951,12 @@ URLState.prototype = {
|
|
|
17926
17951
|
getOrigin: function () {
|
|
17927
17952
|
var scheme = this.scheme;
|
|
17928
17953
|
var port = this.port;
|
|
17929
|
-
if (scheme
|
|
17954
|
+
if (scheme === 'blob') try {
|
|
17930
17955
|
return new URLConstructor(scheme.path[0]).origin;
|
|
17931
17956
|
} catch (error) {
|
|
17932
17957
|
return 'null';
|
|
17933
17958
|
}
|
|
17934
|
-
if (scheme
|
|
17959
|
+
if (scheme === 'file' || !this.isSpecial()) return 'null';
|
|
17935
17960
|
return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
|
|
17936
17961
|
},
|
|
17937
17962
|
// https://url.spec.whatwg.org/#dom-url-protocol
|
|
@@ -17994,7 +18019,7 @@ URLState.prototype = {
|
|
|
17994
18019
|
setPort: function (port) {
|
|
17995
18020
|
if (this.cannotHaveUsernamePasswordPort()) return;
|
|
17996
18021
|
port = $toString(port);
|
|
17997
|
-
if (port
|
|
18022
|
+
if (port === '') this.port = null;
|
|
17998
18023
|
else this.parse(port, PORT);
|
|
17999
18024
|
},
|
|
18000
18025
|
// https://url.spec.whatwg.org/#dom-url-pathname
|
|
@@ -18014,10 +18039,10 @@ URLState.prototype = {
|
|
|
18014
18039
|
},
|
|
18015
18040
|
setSearch: function (search) {
|
|
18016
18041
|
search = $toString(search);
|
|
18017
|
-
if (search
|
|
18042
|
+
if (search === '') {
|
|
18018
18043
|
this.query = null;
|
|
18019
18044
|
} else {
|
|
18020
|
-
if (
|
|
18045
|
+
if (charAt(search, 0) === '?') search = stringSlice(search, 1);
|
|
18021
18046
|
this.query = '';
|
|
18022
18047
|
this.parse(search, QUERY);
|
|
18023
18048
|
}
|
|
@@ -18034,11 +18059,11 @@ URLState.prototype = {
|
|
|
18034
18059
|
},
|
|
18035
18060
|
setHash: function (hash) {
|
|
18036
18061
|
hash = $toString(hash);
|
|
18037
|
-
if (hash
|
|
18062
|
+
if (hash === '') {
|
|
18038
18063
|
this.fragment = null;
|
|
18039
18064
|
return;
|
|
18040
18065
|
}
|
|
18041
|
-
if (
|
|
18066
|
+
if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);
|
|
18042
18067
|
this.fragment = '';
|
|
18043
18068
|
this.parse(hash, FRAGMENT);
|
|
18044
18069
|
},
|
|
@@ -18252,7 +18277,7 @@ var ucs2decode = function (string) {
|
|
|
18252
18277
|
if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
|
|
18253
18278
|
// It's a high surrogate, and there is a next character.
|
|
18254
18279
|
var extra = charCodeAt(string, counter++);
|
|
18255
|
-
if ((extra & 0xFC00)
|
|
18280
|
+
if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.
|
|
18256
18281
|
push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
|
|
18257
18282
|
} else {
|
|
18258
18283
|
// It's an unmatched surrogate; only append this code unit, in case the
|
|
@@ -18351,7 +18376,7 @@ var encode = function (input) {
|
|
|
18351
18376
|
if (currentValue < n && ++delta > maxInt) {
|
|
18352
18377
|
throw $RangeError(OVERFLOW_ERROR);
|
|
18353
18378
|
}
|
|
18354
|
-
if (currentValue
|
|
18379
|
+
if (currentValue === n) {
|
|
18355
18380
|
// Represent delta as a generalized variable-length integer.
|
|
18356
18381
|
var q = delta;
|
|
18357
18382
|
var k = base;
|
|
@@ -18366,7 +18391,7 @@ var encode = function (input) {
|
|
|
18366
18391
|
}
|
|
18367
18392
|
|
|
18368
18393
|
push(output, fromCharCode(digitToBasic(q)));
|
|
18369
|
-
bias = adapt(delta, handledCPCountPlusOne, handledCPCount
|
|
18394
|
+
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
|
|
18370
18395
|
delta = 0;
|
|
18371
18396
|
handledCPCount++;
|
|
18372
18397
|
}
|
|
@@ -20933,14 +20958,14 @@ var TYPE_BY_CATEGORY = {
|
|
|
20933
20958
|
Spline: [TYPE.SPLINE, TYPE.AREA_SPLINE, TYPE.AREA_SPLINE_RANGE]
|
|
20934
20959
|
};
|
|
20935
20960
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
20936
|
-
function _typeof(
|
|
20961
|
+
function _typeof(o) {
|
|
20937
20962
|
"@babel/helpers - typeof";
|
|
20938
20963
|
|
|
20939
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
20940
|
-
return typeof
|
|
20941
|
-
} : function (
|
|
20942
|
-
return
|
|
20943
|
-
}, _typeof(
|
|
20964
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
20965
|
+
return typeof o;
|
|
20966
|
+
} : function (o) {
|
|
20967
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
20968
|
+
}, _typeof(o);
|
|
20944
20969
|
}
|
|
20945
20970
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
20946
20971
|
|
|
@@ -23454,8 +23479,8 @@ function brush_brush(dim) {
|
|
|
23454
23479
|
|
|
23455
23480
|
|
|
23456
23481
|
var util_this = undefined;
|
|
23457
|
-
function ownKeys(
|
|
23458
|
-
function _objectSpread(
|
|
23482
|
+
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; }
|
|
23483
|
+
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; }
|
|
23459
23484
|
/**
|
|
23460
23485
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
23461
23486
|
* billboard.js project is licensed under the MIT license
|
|
@@ -23978,7 +24003,7 @@ function getCssRules(styleSheets) {
|
|
|
23978
24003
|
}
|
|
23979
24004
|
} catch (e) {
|
|
23980
24005
|
var _window$console;
|
|
23981
|
-
(_window$console = win.console) == null
|
|
24006
|
+
(_window$console = win.console) == null || _window$console.warn("Error while reading rules from " + sheet.href + ": " + e.toString());
|
|
23982
24007
|
}
|
|
23983
24008
|
}.bind(this));
|
|
23984
24009
|
return rules;
|
|
@@ -24377,8 +24402,8 @@ function logError(head, tail) {
|
|
|
24377
24402
|
}
|
|
24378
24403
|
;// CONCATENATED MODULE: ./src/config/classes.ts
|
|
24379
24404
|
|
|
24380
|
-
function classes_ownKeys(
|
|
24381
|
-
function classes_objectSpread(
|
|
24405
|
+
function classes_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; }
|
|
24406
|
+
function classes_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? classes_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : classes_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24382
24407
|
/**
|
|
24383
24408
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
24384
24409
|
* billboard.js project is licensed under the MIT license
|
|
@@ -26676,8 +26701,8 @@ var tooltip_this = undefined;
|
|
|
26676
26701
|
;// CONCATENATED MODULE: ./src/config/Options/Options.ts
|
|
26677
26702
|
|
|
26678
26703
|
|
|
26679
|
-
function Options_ownKeys(
|
|
26680
|
-
function Options_objectSpread(
|
|
26704
|
+
function Options_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; }
|
|
26705
|
+
function Options_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Options_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Options_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26681
26706
|
/**
|
|
26682
26707
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
26683
26708
|
* billboard.js project is licensed under the MIT license
|
|
@@ -26942,7 +26967,7 @@ function generateWait() {
|
|
|
26942
26967
|
}
|
|
26943
26968
|
runUntil(function () {
|
|
26944
26969
|
_newArrowCheck(this, _this5);
|
|
26945
|
-
callback == null
|
|
26970
|
+
callback == null || callback();
|
|
26946
26971
|
}.bind(this), loop);
|
|
26947
26972
|
};
|
|
26948
26973
|
f.add = function (t) {
|
|
@@ -27315,7 +27340,7 @@ function json(json, keysParam) {
|
|
|
27315
27340
|
} else {
|
|
27316
27341
|
Object.keys(json).forEach(function (key) {
|
|
27317
27342
|
var tmp = json[key].concat();
|
|
27318
|
-
tmp.unshift == null
|
|
27343
|
+
tmp.unshift == null || tmp.unshift(key);
|
|
27319
27344
|
newRows.push(tmp);
|
|
27320
27345
|
});
|
|
27321
27346
|
data = columns(newRows);
|
|
@@ -27611,7 +27636,7 @@ function getDataKeyForJson(keysParam, config) {
|
|
|
27611
27636
|
}.bind(this));
|
|
27612
27637
|
|
|
27613
27638
|
// this needs to be sorted because its index and value.index is identical
|
|
27614
|
-
(_$$$data$xs$t$id = $$.data.xs[t.id]) == null
|
|
27639
|
+
(_$$$data$xs$t$id = $$.data.xs[t.id]) == null || _$$$data$xs$t$id.sort(function (v1, v2) {
|
|
27615
27640
|
_newArrowCheck(this, _this5);
|
|
27616
27641
|
return v1 - v2;
|
|
27617
27642
|
}.bind(this));
|
|
@@ -28707,7 +28732,7 @@ function callDone(fn, resizeAfter) {
|
|
|
28707
28732
|
var $$ = this,
|
|
28708
28733
|
api = $$.api;
|
|
28709
28734
|
resizeAfter && $$.api.flush(!0);
|
|
28710
|
-
fn == null
|
|
28735
|
+
fn == null || fn.call(api);
|
|
28711
28736
|
}
|
|
28712
28737
|
/* harmony default export */ var load = ({
|
|
28713
28738
|
load: function load(rawTargets, args) {
|
|
@@ -29302,8 +29327,8 @@ function drag_defaultTouchable() {
|
|
|
29302
29327
|
_$$$$el2 = $$.$el,
|
|
29303
29328
|
eventRect = _$$$$el2.eventRect,
|
|
29304
29329
|
zoomResetBtn = _$$$$el2.zoomResetBtn;
|
|
29305
|
-
eventRect == null
|
|
29306
|
-
zoomResetBtn == null
|
|
29330
|
+
eventRect == null || eventRect.on(".zoom wheel.zoom .drag", null);
|
|
29331
|
+
zoomResetBtn == null || zoomResetBtn.on("click", null).style("display", "none");
|
|
29307
29332
|
},
|
|
29308
29333
|
/**
|
|
29309
29334
|
* Unbind all attached events
|
|
@@ -29325,7 +29350,7 @@ function drag_defaultTouchable() {
|
|
|
29325
29350
|
_newArrowCheck(this, _this5);
|
|
29326
29351
|
return v == null ? void 0 : v.on("wheel click mouseover mousemove mouseout touchstart touchmove touchend touchstart.eventRect touchmove.eventRect touchend.eventRect .brush .drag .zoom wheel.zoom dblclick.zoom", null);
|
|
29327
29352
|
}.bind(this));
|
|
29328
|
-
$$.unbindZoomEvent == null
|
|
29353
|
+
$$.unbindZoomEvent == null || $$.unbindZoomEvent();
|
|
29329
29354
|
}
|
|
29330
29355
|
});
|
|
29331
29356
|
;// CONCATENATED MODULE: ./src/ChartInternal/internals/class.ts
|
|
@@ -30292,7 +30317,7 @@ var schemeCategory10 = ["#1f77b4", "#ff7f0e", "#2ca02c", "#d62728", "#9467bd", "
|
|
|
30292
30317
|
org.xDomain = x.domain();
|
|
30293
30318
|
zoomEnabled && $$.zoom.updateScaleExtent();
|
|
30294
30319
|
subX.domain(x.domain());
|
|
30295
|
-
(_$$$brush = $$.brush) == null
|
|
30320
|
+
(_$$$brush = $$.brush) == null || _$$$brush.scale(subX);
|
|
30296
30321
|
}
|
|
30297
30322
|
if (withUpdateXDomain) {
|
|
30298
30323
|
var domainValue = domain || !$$.brush || brushEmpty($$) ? org.xDomain : getBrushSelection($$).map(subX.invert);
|
|
@@ -30522,7 +30547,7 @@ function getLegendColor(id) {
|
|
|
30522
30547
|
}
|
|
30523
30548
|
|
|
30524
30549
|
// toggle legend state
|
|
30525
|
-
(_$el$legend = $el.legend) == null
|
|
30550
|
+
(_$el$legend = $el.legend) == null || _$el$legend.selectAll("." + $LEGEND.legendItem).classed($LEGEND.legendItemHidden, function (id) {
|
|
30526
30551
|
var hide = !$$.isTargetToShow(id);
|
|
30527
30552
|
if (hide) {
|
|
30528
30553
|
this.style.opacity = null;
|
|
@@ -31284,7 +31309,7 @@ function getLegendColor(id) {
|
|
|
31284
31309
|
// event rects will redrawn when flow called
|
|
31285
31310
|
if (config.interaction_enabled && !flow && wth.EventRect) {
|
|
31286
31311
|
$$.redrawEventRect();
|
|
31287
|
-
$$.bindZoomEvent == null
|
|
31312
|
+
$$.bindZoomEvent == null || $$.bindZoomEvent();
|
|
31288
31313
|
}
|
|
31289
31314
|
} else {
|
|
31290
31315
|
// arc
|
|
@@ -31309,7 +31334,7 @@ function getLegendColor(id) {
|
|
|
31309
31334
|
$$.hasDataLabel() && !$$.hasArcType(null, ["radar"]) && $$.updateText();
|
|
31310
31335
|
|
|
31311
31336
|
// title
|
|
31312
|
-
$$.redrawTitle == null
|
|
31337
|
+
$$.redrawTitle == null || $$.redrawTitle();
|
|
31313
31338
|
initializing && $$.updateTypesElements();
|
|
31314
31339
|
$$.generateRedrawList(targetsToShow, flow, duration, wth.Subchart);
|
|
31315
31340
|
$$.updateTooltipOnRedraw();
|
|
@@ -32910,7 +32935,7 @@ function getScale(type, min, max) {
|
|
|
32910
32935
|
scale.y = linear_linear().rangeRound([padding.top, current.height - padding.bottom]);
|
|
32911
32936
|
} else {
|
|
32912
32937
|
// update for arc
|
|
32913
|
-
$$.updateArc == null
|
|
32938
|
+
$$.updateArc == null || $$.updateArc();
|
|
32914
32939
|
}
|
|
32915
32940
|
},
|
|
32916
32941
|
/**
|
|
@@ -34523,7 +34548,7 @@ function stepAfter(context) {
|
|
|
34523
34548
|
$el = $$.$el;
|
|
34524
34549
|
if (hasAxis && !withoutAxis && $$.axis.x && config.axis_rotated) {
|
|
34525
34550
|
var _$$$axis$subX;
|
|
34526
|
-
(_$$$axis$subX = $$.axis.subX) == null
|
|
34551
|
+
(_$$$axis$subX = $$.axis.subX) == null || _$$$axis$subX.create($el.axis.subX);
|
|
34527
34552
|
}
|
|
34528
34553
|
|
|
34529
34554
|
// pass 'withoutAxis' param to not animate at the init rendering
|
|
@@ -34653,7 +34678,7 @@ function stepAfter(context) {
|
|
|
34653
34678
|
bottom: 0,
|
|
34654
34679
|
left: 0
|
|
34655
34680
|
};
|
|
34656
|
-
$$.updateSizeForLegend == null
|
|
34681
|
+
$$.updateSizeForLegend == null || $$.updateSizeForLegend(currLegend);
|
|
34657
34682
|
state.width = state.current.width - state.margin.left - state.margin.right;
|
|
34658
34683
|
state.height = state.current.height - state.margin.top - state.margin.bottom;
|
|
34659
34684
|
if (state.width < 0) {
|
|
@@ -34680,7 +34705,7 @@ function stepAfter(context) {
|
|
|
34680
34705
|
if (hasGauge && !config.gauge_fullCircle) {
|
|
34681
34706
|
state.arcHeight += state.height - $$.getPaddingBottomForGauge();
|
|
34682
34707
|
}
|
|
34683
|
-
$$.updateRadius == null
|
|
34708
|
+
$$.updateRadius == null || $$.updateRadius();
|
|
34684
34709
|
}
|
|
34685
34710
|
if (state.isLegendRight && isNonAxis) {
|
|
34686
34711
|
state.margin3.left = state.arcWidth / 2 + state.radiusExpanded * 1.1;
|
|
@@ -35548,75 +35573,76 @@ function title_getTextPos(pos, width) {
|
|
|
35548
35573
|
len = d.length;
|
|
35549
35574
|
var text, row, param, value, i;
|
|
35550
35575
|
var _loop = function () {
|
|
35551
|
-
|
|
35552
|
-
|
|
35553
|
-
|
|
35554
|
-
|
|
35555
|
-
}
|
|
35556
|
-
if (isUndefined(text)) {
|
|
35557
|
-
var title = (state.hasAxis || state.hasRadar) && sanitise(titleFormat ? titleFormat(row.x) : row.x);
|
|
35558
|
-
text = tplProcess(tpl[0], {
|
|
35559
|
-
CLASS_TOOLTIP: $TOOLTIP.tooltip,
|
|
35560
|
-
TITLE: isValue(title) ? tplStr ? title : "<tr><th colspan=\"2\">" + title + "</th></tr>" : ""
|
|
35561
|
-
});
|
|
35562
|
-
}
|
|
35563
|
-
if (!row.ratio && $el.arcs) {
|
|
35564
|
-
param = ["arc", $$.$el.arcs.select("path." + $ARC.arc + "-" + row.id).data()[0]];
|
|
35565
|
-
row.ratio = $$.getRatio.apply($$, param);
|
|
35566
|
-
}
|
|
35567
|
-
param = [row.ratio, row.id, row.index, d];
|
|
35568
|
-
value = sanitise(valueFormat.apply(void 0, [getRowValue(row)].concat(param)));
|
|
35569
|
-
if ($$.isAreaRangeType(row)) {
|
|
35570
|
-
var _map2 = ["high", "low"].map(function (v) {
|
|
35571
|
-
_newArrowCheck(this, _this3);
|
|
35572
|
-
return sanitise(valueFormat.apply(void 0, [$$.getRangedData(row, v)].concat(param)));
|
|
35573
|
-
}.bind(this)),
|
|
35574
|
-
high = _map2[0],
|
|
35575
|
-
low = _map2[1];
|
|
35576
|
-
value = "<b>Mid:</b> " + value + " <b>High:</b> " + high + " <b>Low:</b> " + low;
|
|
35577
|
-
} else if ($$.isCandlestickType(row)) {
|
|
35578
|
-
var _map3 = ["open", "high", "low", "close", "volume"].map(function (v) {
|
|
35579
|
-
_newArrowCheck(this, _this3);
|
|
35580
|
-
return sanitise(valueFormat.apply(void 0, [$$.getRangedData(row, v, "candlestick")].concat(param)));
|
|
35581
|
-
}.bind(this)),
|
|
35582
|
-
open = _map3[0],
|
|
35583
|
-
_high = _map3[1],
|
|
35584
|
-
_low = _map3[2],
|
|
35585
|
-
close = _map3[3],
|
|
35586
|
-
volume = _map3[4];
|
|
35587
|
-
value = "<b>Open:</b> " + open + " <b>High:</b> " + _high + " <b>Low:</b> " + _low + " <b>Close:</b> " + close + (volume ? " <b>Volume:</b> " + volume : "");
|
|
35588
|
-
} else if ($$.isBarRangeType(row)) {
|
|
35589
|
-
var _row$value = row.value,
|
|
35590
|
-
start = _row$value[0],
|
|
35591
|
-
end = _row$value[1];
|
|
35592
|
-
value = valueFormat(start) + " ~ " + valueFormat(end);
|
|
35593
|
-
}
|
|
35594
|
-
if (value !== undefined) {
|
|
35595
|
-
// Skip elements when their name is set to null
|
|
35596
|
-
if (row.name === null) {
|
|
35597
|
-
return "continue";
|
|
35576
|
+
var _this3 = this;
|
|
35577
|
+
row = d[i];
|
|
35578
|
+
if (!row || !(getRowValue(row) || getRowValue(row) === 0)) {
|
|
35579
|
+
return 0; // continue
|
|
35598
35580
|
}
|
|
35599
|
-
|
|
35600
|
-
|
|
35601
|
-
|
|
35602
|
-
|
|
35603
|
-
|
|
35604
|
-
|
|
35605
|
-
VALUE: value
|
|
35606
|
-
};
|
|
35607
|
-
if (tplStr && isObject(contents.text)) {
|
|
35608
|
-
var index = targetIds.indexOf(row.id);
|
|
35609
|
-
Object.keys(contents.text).forEach(function (key) {
|
|
35610
|
-
_newArrowCheck(this, _this3);
|
|
35611
|
-
contentValue[key] = contents.text[key][index];
|
|
35612
|
-
}.bind(this));
|
|
35581
|
+
if (isUndefined(text)) {
|
|
35582
|
+
var title = (state.hasAxis || state.hasRadar) && sanitise(titleFormat ? titleFormat(row.x) : row.x);
|
|
35583
|
+
text = tplProcess(tpl[0], {
|
|
35584
|
+
CLASS_TOOLTIP: $TOOLTIP.tooltip,
|
|
35585
|
+
TITLE: isValue(title) ? tplStr ? title : "<tr><th colspan=\"2\">" + title + "</th></tr>" : ""
|
|
35586
|
+
});
|
|
35613
35587
|
}
|
|
35614
|
-
|
|
35615
|
-
|
|
35616
|
-
|
|
35588
|
+
if (!row.ratio && $el.arcs) {
|
|
35589
|
+
param = ["arc", $$.$el.arcs.select("path." + $ARC.arc + "-" + row.id).data()[0]];
|
|
35590
|
+
row.ratio = $$.getRatio.apply($$, param);
|
|
35591
|
+
}
|
|
35592
|
+
param = [row.ratio, row.id, row.index, d];
|
|
35593
|
+
value = sanitise(valueFormat.apply(void 0, [getRowValue(row)].concat(param)));
|
|
35594
|
+
if ($$.isAreaRangeType(row)) {
|
|
35595
|
+
var _map2 = ["high", "low"].map(function (v) {
|
|
35596
|
+
_newArrowCheck(this, _this3);
|
|
35597
|
+
return sanitise(valueFormat.apply(void 0, [$$.getRangedData(row, v)].concat(param)));
|
|
35598
|
+
}.bind(this)),
|
|
35599
|
+
high = _map2[0],
|
|
35600
|
+
low = _map2[1];
|
|
35601
|
+
value = "<b>Mid:</b> " + value + " <b>High:</b> " + high + " <b>Low:</b> " + low;
|
|
35602
|
+
} else if ($$.isCandlestickType(row)) {
|
|
35603
|
+
var _map3 = ["open", "high", "low", "close", "volume"].map(function (v) {
|
|
35604
|
+
_newArrowCheck(this, _this3);
|
|
35605
|
+
return sanitise(valueFormat.apply(void 0, [$$.getRangedData(row, v, "candlestick")].concat(param)));
|
|
35606
|
+
}.bind(this)),
|
|
35607
|
+
open = _map3[0],
|
|
35608
|
+
_high = _map3[1],
|
|
35609
|
+
_low = _map3[2],
|
|
35610
|
+
close = _map3[3],
|
|
35611
|
+
volume = _map3[4];
|
|
35612
|
+
value = "<b>Open:</b> " + open + " <b>High:</b> " + _high + " <b>Low:</b> " + _low + " <b>Close:</b> " + close + (volume ? " <b>Volume:</b> " + volume : "");
|
|
35613
|
+
} else if ($$.isBarRangeType(row)) {
|
|
35614
|
+
var _row$value = row.value,
|
|
35615
|
+
start = _row$value[0],
|
|
35616
|
+
end = _row$value[1];
|
|
35617
|
+
value = valueFormat(start) + " ~ " + valueFormat(end);
|
|
35618
|
+
}
|
|
35619
|
+
if (value !== undefined) {
|
|
35620
|
+
// Skip elements when their name is set to null
|
|
35621
|
+
if (row.name === null) {
|
|
35622
|
+
return 0; // continue
|
|
35623
|
+
}
|
|
35624
|
+
var name = sanitise(nameFormat.apply(void 0, [row.name].concat(param))),
|
|
35625
|
+
_color = getBgColor(row),
|
|
35626
|
+
contentValue = {
|
|
35627
|
+
CLASS_TOOLTIP_NAME: $TOOLTIP.tooltipName + $$.getTargetSelectorSuffix(row.id),
|
|
35628
|
+
COLOR: tplStr || !$$.patterns ? _color : "<svg><rect style=\"fill:" + _color + "\" width=\"10\" height=\"10\"></rect></svg>",
|
|
35629
|
+
NAME: name,
|
|
35630
|
+
VALUE: value
|
|
35631
|
+
};
|
|
35632
|
+
if (tplStr && isObject(contents.text)) {
|
|
35633
|
+
var index = targetIds.indexOf(row.id);
|
|
35634
|
+
Object.keys(contents.text).forEach(function (key) {
|
|
35635
|
+
_newArrowCheck(this, _this3);
|
|
35636
|
+
contentValue[key] = contents.text[key][index];
|
|
35637
|
+
}.bind(this));
|
|
35638
|
+
}
|
|
35639
|
+
text += tplProcess(tpl[1], contentValue);
|
|
35640
|
+
}
|
|
35641
|
+
},
|
|
35642
|
+
_ret;
|
|
35617
35643
|
for (i = 0; i < len; i++) {
|
|
35618
|
-
|
|
35619
|
-
if (_ret ===
|
|
35644
|
+
_ret = _loop();
|
|
35645
|
+
if (_ret === 0) continue;
|
|
35620
35646
|
}
|
|
35621
35647
|
return text + "</table>";
|
|
35622
35648
|
},
|
|
@@ -35645,7 +35671,7 @@ function title_getTextPos(pos, width) {
|
|
|
35645
35671
|
eventRect = _$$$$el.eventRect,
|
|
35646
35672
|
tooltip = _$$$$el.tooltip,
|
|
35647
35673
|
bindto = config.tooltip_contents.bindto,
|
|
35648
|
-
datum = tooltip.datum();
|
|
35674
|
+
datum = tooltip == null || tooltip.datum == null ? void 0 : tooltip.datum();
|
|
35649
35675
|
if (!bindto && datum) {
|
|
35650
35676
|
var _config$tooltip_posit,
|
|
35651
35677
|
_config$tooltip_posit2,
|
|
@@ -35760,11 +35786,12 @@ function title_getTextPos(pos, width) {
|
|
|
35760
35786
|
dataToShow = selectedData.filter(function (d) {
|
|
35761
35787
|
_newArrowCheck(this, _this6);
|
|
35762
35788
|
return d && isValue($$.getBaseValue(d));
|
|
35763
|
-
}.bind(this))
|
|
35789
|
+
}.bind(this)),
|
|
35790
|
+
_tooltip;
|
|
35764
35791
|
if (!tooltip || dataToShow.length === 0 || !config.tooltip_show) {
|
|
35765
35792
|
return;
|
|
35766
35793
|
}
|
|
35767
|
-
var datum = tooltip.datum();
|
|
35794
|
+
var datum = (_tooltip = tooltip) == null || _tooltip.datum == null ? void 0 : _tooltip.datum();
|
|
35768
35795
|
var dataStr = JSON.stringify(selectedData);
|
|
35769
35796
|
if (!datum || datum.current !== dataStr) {
|
|
35770
35797
|
var _selectedData$concat$ = selectedData.concat().sort()[0],
|
|
@@ -35832,7 +35859,8 @@ function title_getTextPos(pos, width) {
|
|
|
35832
35859
|
config = $$.config,
|
|
35833
35860
|
tooltip = $$.$el.tooltip;
|
|
35834
35861
|
if (tooltip && tooltip.style("display") !== "none" && (!config.tooltip_doNotHide || force)) {
|
|
35835
|
-
var
|
|
35862
|
+
var _tooltip$datum$curren,
|
|
35863
|
+
selectedData = JSON.parse((_tooltip$datum$curren = tooltip == null || tooltip.datum == null ? void 0 : tooltip.datum().current) != null ? _tooltip$datum$curren : {});
|
|
35836
35864
|
callFn(config.tooltip_onhide, api, selectedData);
|
|
35837
35865
|
|
|
35838
35866
|
// hide tooltip
|
|
@@ -36890,7 +36918,7 @@ var ChartInternal = /*#__PURE__*/function () {
|
|
|
36890
36918
|
// Point types
|
|
36891
36919
|
var hasPointType = $$.hasType("bubble") || $$.hasType("scatter");
|
|
36892
36920
|
if (hasPointType) {
|
|
36893
|
-
$$.updateTargetForCircle == null
|
|
36921
|
+
$$.updateTargetForCircle == null || $$.updateTargetForCircle();
|
|
36894
36922
|
}
|
|
36895
36923
|
|
|
36896
36924
|
// Fade-in each chart
|
|
@@ -37121,16 +37149,16 @@ function loadConfig(config) {
|
|
|
37121
37149
|
if (state.resizing) {
|
|
37122
37150
|
var _$$$brush;
|
|
37123
37151
|
// arguments[1] is given when is called from resize
|
|
37124
|
-
(_$$$brush = $$.brush) == null
|
|
37152
|
+
(_$$$brush = $$.brush) == null || _$$$brush.updateResize();
|
|
37125
37153
|
} else {
|
|
37126
37154
|
var _$$$axis;
|
|
37127
37155
|
// re-update config info
|
|
37128
|
-
(_$$$axis = $$.axis) == null
|
|
37156
|
+
(_$$$axis = $$.axis) == null || _$$$axis.setOrient();
|
|
37129
37157
|
}
|
|
37130
37158
|
|
|
37131
37159
|
// hide possible reset zoom button
|
|
37132
37160
|
// https://github.com/naver/billboard.js/issues/2201
|
|
37133
|
-
zoomResetBtn == null
|
|
37161
|
+
zoomResetBtn == null || zoomResetBtn.style("display", "none");
|
|
37134
37162
|
$$.scale.zoom = null;
|
|
37135
37163
|
soft ? $$.redraw({
|
|
37136
37164
|
withTransform: !0,
|
|
@@ -38502,9 +38530,9 @@ var tooltip_tooltip = {
|
|
|
38502
38530
|
// reset last touch point index
|
|
38503
38531
|
inputType === "touch" && $$.callOverOutForTouch();
|
|
38504
38532
|
$$.hideTooltip(!0);
|
|
38505
|
-
$$.hideGridFocus == null
|
|
38506
|
-
$$.unexpandCircles == null
|
|
38507
|
-
$$.expandBarTypeShapes == null
|
|
38533
|
+
$$.hideGridFocus == null || $$.hideGridFocus();
|
|
38534
|
+
$$.unexpandCircles == null || $$.unexpandCircles();
|
|
38535
|
+
$$.expandBarTypeShapes == null || $$.expandBarTypeShapes(!1);
|
|
38508
38536
|
}
|
|
38509
38537
|
};
|
|
38510
38538
|
/* harmony default export */ var api_tooltip = ({
|
|
@@ -40655,7 +40683,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
40655
40683
|
} else if (this.x) {
|
|
40656
40684
|
var _this$subX;
|
|
40657
40685
|
this.x.tickValues(values);
|
|
40658
|
-
(_this$subX = this.subX) == null
|
|
40686
|
+
(_this$subX = this.subX) == null || _this$subX.tickValues(values);
|
|
40659
40687
|
}
|
|
40660
40688
|
return values;
|
|
40661
40689
|
};
|
|
@@ -41098,7 +41126,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41098
41126
|
} else if (this.x) {
|
|
41099
41127
|
var _this$subX2;
|
|
41100
41128
|
this.x.tickValues([]);
|
|
41101
|
-
(_this$subX2 = this.subX) == null
|
|
41129
|
+
(_this$subX2 = this.subX) == null || _this$subX2.tickValues([]);
|
|
41102
41130
|
}
|
|
41103
41131
|
if (config.zoom_rescale && !flow) {
|
|
41104
41132
|
xDomainForZoom = scale.x.orgDomain();
|
|
@@ -41137,8 +41165,8 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41137
41165
|
// Update sub domain
|
|
41138
41166
|
if (wth.Y) {
|
|
41139
41167
|
var _scale$subY, _scale$subY2;
|
|
41140
|
-
(_scale$subY = scale.subY) == null
|
|
41141
|
-
(_scale$subY2 = scale.subY2) == null
|
|
41168
|
+
(_scale$subY = scale.subY) == null || _scale$subY.domain($$.getYDomain(targetsToShow, "y"));
|
|
41169
|
+
(_scale$subY2 = scale.subY2) == null || _scale$subY2.domain($$.getYDomain(targetsToShow, "y2"));
|
|
41142
41170
|
}
|
|
41143
41171
|
}
|
|
41144
41172
|
|
|
@@ -41259,7 +41287,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41259
41287
|
// update data's index value to be alinged with the x Axis
|
|
41260
41288
|
$$.updateDataIndexByX(xAxisTickValues);
|
|
41261
41289
|
$$.updateXs(xAxisTickValues);
|
|
41262
|
-
$$.updatePointClass == null
|
|
41290
|
+
$$.updatePointClass == null || $$.updatePointClass(!0);
|
|
41263
41291
|
state.eventReceiver.data = xAxisTickValues;
|
|
41264
41292
|
}
|
|
41265
41293
|
$$.updateEventRectData();
|
|
@@ -41504,7 +41532,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41504
41532
|
selectedData = $$.getAllValuesOnIndex(index);
|
|
41505
41533
|
if (isTooltipGrouped) {
|
|
41506
41534
|
$$.showTooltip(selectedData, context);
|
|
41507
|
-
$$.showGridFocus == null
|
|
41535
|
+
$$.showGridFocus == null || $$.showGridFocus(selectedData);
|
|
41508
41536
|
if (!isSelectionEnabled || isSelectionGrouped) {
|
|
41509
41537
|
return;
|
|
41510
41538
|
}
|
|
@@ -41516,7 +41544,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41516
41544
|
return $$.isWithinShape(this, d);
|
|
41517
41545
|
});
|
|
41518
41546
|
if (shapeAtIndex.empty() && !isTooltipGrouped) {
|
|
41519
|
-
$$.hideGridFocus == null
|
|
41547
|
+
$$.hideGridFocus == null || $$.hideGridFocus();
|
|
41520
41548
|
$$.hideTooltip();
|
|
41521
41549
|
isSelectionGrouped || $$.setExpand(index);
|
|
41522
41550
|
}
|
|
@@ -41529,8 +41557,8 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41529
41557
|
}
|
|
41530
41558
|
if (!isTooltipGrouped) {
|
|
41531
41559
|
$$.showTooltip(d, context);
|
|
41532
|
-
$$.showGridFocus == null
|
|
41533
|
-
$$.unexpandCircles == null
|
|
41560
|
+
$$.showGridFocus == null || $$.showGridFocus(d);
|
|
41561
|
+
$$.unexpandCircles == null || $$.unexpandCircles();
|
|
41534
41562
|
selected.each(function (d) {
|
|
41535
41563
|
_newArrowCheck(this, _this7);
|
|
41536
41564
|
return $$.setExpand(index, d.id);
|
|
@@ -41704,7 +41732,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41704
41732
|
var index = d.index;
|
|
41705
41733
|
main.selectAll("." + $SHAPE.shape + "-" + index).each(function (d2) {
|
|
41706
41734
|
if (config.data_selection_grouped || $$.isWithinShape(this, d2)) {
|
|
41707
|
-
$$.toggleShape == null
|
|
41735
|
+
$$.toggleShape == null || $$.toggleShape(this, d2, index);
|
|
41708
41736
|
config.data_onclick.bind($$.api)(d2, this);
|
|
41709
41737
|
}
|
|
41710
41738
|
});
|
|
@@ -41757,7 +41785,7 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
41757
41785
|
if ($$.isBarType(closest.id) || $$.dist(closest, mouse) < config.point_sensitivity) {
|
|
41758
41786
|
$$.$el.main.selectAll("." + $SHAPE.shapes + $$.getTargetSelectorSuffix(closest.id)).selectAll("." + $SHAPE.shape + "-" + closest.index).each(function () {
|
|
41759
41787
|
if (config.data_selection_grouped || $$.isWithinShape(this, closest)) {
|
|
41760
|
-
$$.toggleShape == null
|
|
41788
|
+
$$.toggleShape == null || $$.toggleShape(this, closest, closest.index);
|
|
41761
41789
|
config.data_onclick.bind($$.api)(closest, this);
|
|
41762
41790
|
}
|
|
41763
41791
|
});
|
|
@@ -42458,7 +42486,7 @@ function smoothLines(el, type) {
|
|
|
42458
42486
|
}.bind(this));
|
|
42459
42487
|
});
|
|
42460
42488
|
smoothLines(focusEl, "grid");
|
|
42461
|
-
$$.showCircleFocus == null
|
|
42489
|
+
$$.showCircleFocus == null || $$.showCircleFocus(data);
|
|
42462
42490
|
},
|
|
42463
42491
|
hideGridFocus: function hideGridFocus() {
|
|
42464
42492
|
var $$ = this,
|
|
@@ -42468,7 +42496,7 @@ function smoothLines(el, type) {
|
|
|
42468
42496
|
main = $$.$el.main;
|
|
42469
42497
|
if (inputType === "mouse" || !resizing) {
|
|
42470
42498
|
main.selectAll("line." + $FOCUS.xgridFocus + ", line." + $FOCUS.ygridFocus).style("visibility", "hidden");
|
|
42471
|
-
$$.hideCircleFocus == null
|
|
42499
|
+
$$.hideCircleFocus == null || $$.hideCircleFocus();
|
|
42472
42500
|
}
|
|
42473
42501
|
},
|
|
42474
42502
|
updateGridFocus: function updateGridFocus() {
|
|
@@ -44572,8 +44600,8 @@ function smoothLines(el, type) {
|
|
|
44572
44600
|
});
|
|
44573
44601
|
;// CONCATENATED MODULE: ./src/config/Options/axis/axis.ts
|
|
44574
44602
|
|
|
44575
|
-
function axis_ownKeys(
|
|
44576
|
-
function axis_objectSpread(
|
|
44603
|
+
function axis_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; }
|
|
44604
|
+
function axis_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? axis_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : axis_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44577
44605
|
/**
|
|
44578
44606
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
44579
44607
|
* billboard.js project is licensed under the MIT license
|
|
@@ -45251,6 +45279,9 @@ function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
|
|
|
45251
45279
|
}
|
|
45252
45280
|
;// CONCATENATED MODULE: ./src/ChartInternal/shape/arc.ts
|
|
45253
45281
|
|
|
45282
|
+
|
|
45283
|
+
function arc_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; }
|
|
45284
|
+
function arc_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? arc_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : arc_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45254
45285
|
/**
|
|
45255
45286
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
45256
45287
|
* billboard.js project is licensed under the MIT license
|
|
@@ -45350,17 +45381,43 @@ function getRadiusFn(expandRate) {
|
|
|
45350
45381
|
*/
|
|
45351
45382
|
function getAttrTweenFn(fn) {
|
|
45352
45383
|
return function (d) {
|
|
45353
|
-
var
|
|
45384
|
+
var _this2 = this,
|
|
45385
|
+
getAngleKeyValue = function (_ref) {
|
|
45386
|
+
var _ref$startAngle = _ref.startAngle,
|
|
45387
|
+
startAngle = _ref$startAngle === void 0 ? 0 : _ref$startAngle,
|
|
45388
|
+
_ref$endAngle = _ref.endAngle,
|
|
45389
|
+
endAngle = _ref$endAngle === void 0 ? 0 : _ref$endAngle,
|
|
45390
|
+
_ref$padAngle = _ref.padAngle,
|
|
45391
|
+
padAngle = _ref$padAngle === void 0 ? 0 : _ref$padAngle;
|
|
45392
|
+
_newArrowCheck(this, _this2);
|
|
45393
|
+
return {
|
|
45394
|
+
startAngle: startAngle,
|
|
45395
|
+
endAngle: endAngle,
|
|
45396
|
+
padAngle: padAngle
|
|
45397
|
+
};
|
|
45398
|
+
}.bind(this),
|
|
45399
|
+
interpolate = value(getAngleKeyValue(this._current), getAngleKeyValue(d));
|
|
45400
|
+
// d3.interpolate interpolates id value, if id is given as color string(ex. gold, silver, etc)
|
|
45401
|
+
// to avoid unexpected behavior, interpolate only angle values
|
|
45402
|
+
// https://github.com/naver/billboard.js/issues/3321
|
|
45403
|
+
|
|
45354
45404
|
this._current = d;
|
|
45355
45405
|
return function (t) {
|
|
45356
|
-
var interpolated = interpolate(t)
|
|
45357
|
-
|
|
45406
|
+
var interpolated = interpolate(t),
|
|
45407
|
+
data = d.data,
|
|
45408
|
+
index = d.index,
|
|
45409
|
+
value = d.value;
|
|
45410
|
+
return fn(arc_objectSpread(arc_objectSpread({}, interpolated), {}, {
|
|
45411
|
+
data: data,
|
|
45412
|
+
index: index,
|
|
45413
|
+
value: value
|
|
45414
|
+
}));
|
|
45358
45415
|
};
|
|
45359
45416
|
};
|
|
45360
45417
|
}
|
|
45361
45418
|
/* harmony default export */ var arc = ({
|
|
45362
45419
|
initPie: function initPie() {
|
|
45363
|
-
var
|
|
45420
|
+
var _this3 = this,
|
|
45364
45421
|
$$ = this,
|
|
45365
45422
|
config = $$.config,
|
|
45366
45423
|
dataType = config.data_type,
|
|
@@ -45368,10 +45425,10 @@ function getAttrTweenFn(fn) {
|
|
|
45368
45425
|
startingAngle = config[dataType + "_startingAngle"] || 0,
|
|
45369
45426
|
padAngle = (padding ? padding * .01 : config[dataType + "_padAngle"]) || 0;
|
|
45370
45427
|
$$.pie = pie().startAngle(startingAngle).endAngle(startingAngle + 2 * Math.PI).padAngle(padAngle).value(function (d) {
|
|
45371
|
-
var
|
|
45372
|
-
_newArrowCheck(this,
|
|
45428
|
+
var _this4 = this;
|
|
45429
|
+
_newArrowCheck(this, _this3);
|
|
45373
45430
|
return d.values.reduce(function (a, b) {
|
|
45374
|
-
_newArrowCheck(this,
|
|
45431
|
+
_newArrowCheck(this, _this4);
|
|
45375
45432
|
return a + b.value;
|
|
45376
45433
|
}.bind(this), 0);
|
|
45377
45434
|
}.bind(this)).sort($$.getSortCompareFn.bind($$)(!0));
|
|
@@ -45455,7 +45512,7 @@ function getAttrTweenFn(fn) {
|
|
|
45455
45512
|
return startAngle;
|
|
45456
45513
|
},
|
|
45457
45514
|
updateAngle: function updateAngle(dValue) {
|
|
45458
|
-
var
|
|
45515
|
+
var _this5 = this,
|
|
45459
45516
|
$$ = this,
|
|
45460
45517
|
config = $$.config,
|
|
45461
45518
|
state = $$.state,
|
|
@@ -45476,7 +45533,7 @@ function getAttrTweenFn(fn) {
|
|
|
45476
45533
|
}
|
|
45477
45534
|
pie($$.filterTargetsToShow()).forEach(function (t, i) {
|
|
45478
45535
|
var _d$data;
|
|
45479
|
-
_newArrowCheck(this,
|
|
45536
|
+
_newArrowCheck(this, _this5);
|
|
45480
45537
|
if (!found && t.data.id === ((_d$data = d.data) == null ? void 0 : _d$data.id)) {
|
|
45481
45538
|
found = !0;
|
|
45482
45539
|
d = t;
|
|
@@ -45527,7 +45584,7 @@ function getAttrTweenFn(fn) {
|
|
|
45527
45584
|
* @private
|
|
45528
45585
|
*/
|
|
45529
45586
|
getSvgArcExpanded: function getSvgArcExpanded(rate) {
|
|
45530
|
-
var
|
|
45587
|
+
var _this6 = this;
|
|
45531
45588
|
if (rate === void 0) {
|
|
45532
45589
|
rate = 1;
|
|
45533
45590
|
}
|
|
@@ -45538,7 +45595,7 @@ function getAttrTweenFn(fn) {
|
|
|
45538
45595
|
corner = _getRadiusFn$call2.corner,
|
|
45539
45596
|
arc = src_arc().innerRadius(inner).outerRadius(outer);
|
|
45540
45597
|
return function (d) {
|
|
45541
|
-
_newArrowCheck(this,
|
|
45598
|
+
_newArrowCheck(this, _this6);
|
|
45542
45599
|
var updated = $$.updateAngle(d),
|
|
45543
45600
|
outerR = outer(updated);
|
|
45544
45601
|
var cornerR = 0;
|
|
@@ -45558,7 +45615,7 @@ function getAttrTweenFn(fn) {
|
|
|
45558
45615
|
* @private
|
|
45559
45616
|
*/
|
|
45560
45617
|
transformForArcLabel: function transformForArcLabel(d) {
|
|
45561
|
-
var
|
|
45618
|
+
var _this7 = this,
|
|
45562
45619
|
$$ = this,
|
|
45563
45620
|
config = $$.config,
|
|
45564
45621
|
radiusExpanded = $$.state.radiusExpanded,
|
|
@@ -45579,14 +45636,14 @@ function getAttrTweenFn(fn) {
|
|
|
45579
45636
|
}
|
|
45580
45637
|
var c = this.svgArc.centroid(updated),
|
|
45581
45638
|
_c$map = c.map(function (v) {
|
|
45582
|
-
_newArrowCheck(this,
|
|
45639
|
+
_newArrowCheck(this, _this7);
|
|
45583
45640
|
return isNaN(v) ? 0 : v;
|
|
45584
45641
|
}.bind(this)),
|
|
45585
45642
|
x = _c$map[0],
|
|
45586
45643
|
y = _c$map[1],
|
|
45587
45644
|
h = Math.sqrt(x * x + y * y);
|
|
45588
45645
|
var ratio = (_filter$map = ["donut", "pie", "polar"].filter($$.hasType.bind($$)).map(function (v) {
|
|
45589
|
-
_newArrowCheck(this,
|
|
45646
|
+
_newArrowCheck(this, _this7);
|
|
45590
45647
|
return config[v + "_label_ratio"];
|
|
45591
45648
|
}.bind(this))) == null ? void 0 : _filter$map[0];
|
|
45592
45649
|
if (ratio) {
|
|
@@ -45628,14 +45685,14 @@ function getAttrTweenFn(fn) {
|
|
|
45628
45685
|
}
|
|
45629
45686
|
},
|
|
45630
45687
|
expandArc: function expandArc(targetIds) {
|
|
45631
|
-
var
|
|
45688
|
+
var _this8 = this,
|
|
45632
45689
|
$$ = this,
|
|
45633
45690
|
transiting = $$.state.transiting,
|
|
45634
45691
|
$el = $$.$el;
|
|
45635
45692
|
// MEMO: avoid to cancel transition
|
|
45636
45693
|
if (transiting) {
|
|
45637
45694
|
var interval = setInterval(function () {
|
|
45638
|
-
_newArrowCheck(this,
|
|
45695
|
+
_newArrowCheck(this, _this8);
|
|
45639
45696
|
if (!transiting) {
|
|
45640
45697
|
clearInterval(interval);
|
|
45641
45698
|
$el.legend.selectAll("." + $FOCUS.legendItemFocused).size() > 0 && $$.expandArc(targetIds);
|
|
@@ -45654,7 +45711,7 @@ function getAttrTweenFn(fn) {
|
|
|
45654
45711
|
});
|
|
45655
45712
|
},
|
|
45656
45713
|
unexpandArc: function unexpandArc(targetIds) {
|
|
45657
|
-
var
|
|
45714
|
+
var _this9 = this,
|
|
45658
45715
|
$$ = this,
|
|
45659
45716
|
transiting = $$.state.transiting,
|
|
45660
45717
|
svg = $$.$el.svg;
|
|
@@ -45663,7 +45720,7 @@ function getAttrTweenFn(fn) {
|
|
|
45663
45720
|
}
|
|
45664
45721
|
var newTargetIds = $$.mapToTargetIds(targetIds);
|
|
45665
45722
|
svg.selectAll($$.selectorTargets(newTargetIds, "." + $ARC.chartArc)).selectAll("path").transition().duration(function (d) {
|
|
45666
|
-
_newArrowCheck(this,
|
|
45723
|
+
_newArrowCheck(this, _this9);
|
|
45667
45724
|
return $$.getExpandConfig(d.data.id, "duration");
|
|
45668
45725
|
}.bind(this)).attrTween("d", getAttrTweenFn($$.svgArc.bind($$)));
|
|
45669
45726
|
svg.selectAll("" + $ARC.arc).style("opacity", null);
|
|
@@ -45697,30 +45754,30 @@ function getAttrTweenFn(fn) {
|
|
|
45697
45754
|
return $$.isDonutType(id) && config.donut_expand || $$.isGaugeType(id) && config.gauge_expand || $$.isPieType(id) && config.pie_expand;
|
|
45698
45755
|
},
|
|
45699
45756
|
shouldShowArcLabel: function shouldShowArcLabel() {
|
|
45700
|
-
var
|
|
45757
|
+
var _this10 = this,
|
|
45701
45758
|
$$ = this,
|
|
45702
45759
|
config = $$.config;
|
|
45703
45760
|
return ["donut", "gauge", "pie", "polar"].some(function (v) {
|
|
45704
|
-
_newArrowCheck(this,
|
|
45761
|
+
_newArrowCheck(this, _this10);
|
|
45705
45762
|
return $$.hasType(v) && config[v + "_label_show"];
|
|
45706
45763
|
}.bind(this));
|
|
45707
45764
|
},
|
|
45708
45765
|
getArcLabelFormat: function getArcLabelFormat() {
|
|
45709
|
-
var
|
|
45766
|
+
var _this11 = this,
|
|
45710
45767
|
$$ = this,
|
|
45711
45768
|
config = $$.config,
|
|
45712
45769
|
format = function (v) {
|
|
45713
|
-
_newArrowCheck(this,
|
|
45770
|
+
_newArrowCheck(this, _this11);
|
|
45714
45771
|
return v;
|
|
45715
45772
|
}.bind(this);
|
|
45716
45773
|
["donut", "gauge", "pie", "polar"].filter($$.hasType.bind($$)).forEach(function (v) {
|
|
45717
|
-
_newArrowCheck(this,
|
|
45774
|
+
_newArrowCheck(this, _this11);
|
|
45718
45775
|
format = config[v + "_label_format"];
|
|
45719
45776
|
}.bind(this));
|
|
45720
45777
|
return isFunction(format) ? format.bind($$.api) : format;
|
|
45721
45778
|
},
|
|
45722
45779
|
updateTargetsForArc: function updateTargetsForArc(targets) {
|
|
45723
|
-
var
|
|
45780
|
+
var _this12 = this,
|
|
45724
45781
|
$$ = this,
|
|
45725
45782
|
$el = $$.$el,
|
|
45726
45783
|
hasGauge = $$.hasType("gauge"),
|
|
@@ -45729,7 +45786,7 @@ function getAttrTweenFn(fn) {
|
|
|
45729
45786
|
classFocus = $$.classFocus.bind($$),
|
|
45730
45787
|
chartArcs = $el.main.select("." + $ARC.chartArcs),
|
|
45731
45788
|
mainPieUpdate = chartArcs.selectAll("." + $ARC.chartArc).data($$.pie(targets)).attr("class", function (d) {
|
|
45732
|
-
_newArrowCheck(this,
|
|
45789
|
+
_newArrowCheck(this, _this12);
|
|
45733
45790
|
return classChartArc(d) + classFocus(d.data);
|
|
45734
45791
|
}.bind(this)),
|
|
45735
45792
|
mainPieEnter = mainPieUpdate.enter().append("g").attr("class", classChartArc).call(this.setCssRule(!1, "." + $ARC.chartArcs + " text", ["pointer-events:none", "text-anchor:middle"]));
|
|
@@ -45796,7 +45853,7 @@ function getAttrTweenFn(fn) {
|
|
|
45796
45853
|
return !1;
|
|
45797
45854
|
},
|
|
45798
45855
|
redrawArc: function redrawArc(duration, durationForExit, withTransform) {
|
|
45799
|
-
var
|
|
45856
|
+
var _this13 = this,
|
|
45800
45857
|
$$ = this,
|
|
45801
45858
|
config = $$.config,
|
|
45802
45859
|
state = $$.state,
|
|
@@ -45806,10 +45863,10 @@ function getAttrTweenFn(fn) {
|
|
|
45806
45863
|
mainArc = main.selectAll("." + $ARC.arcs).selectAll("." + $ARC.arc).data($$.arcData.bind($$));
|
|
45807
45864
|
mainArc.exit().transition().duration(durationForExit).style("opacity", "0").remove();
|
|
45808
45865
|
mainArc = mainArc.enter().append("path").attr("class", $$.getClass("arc", !0)).style("fill", function (d) {
|
|
45809
|
-
_newArrowCheck(this,
|
|
45866
|
+
_newArrowCheck(this, _this13);
|
|
45810
45867
|
return $$.color(d.data);
|
|
45811
45868
|
}.bind(this)).style("cursor", function (d) {
|
|
45812
|
-
_newArrowCheck(this,
|
|
45869
|
+
_newArrowCheck(this, _this13);
|
|
45813
45870
|
return isSelectable != null && isSelectable.bind != null && isSelectable.bind($$.api)(d) ? "pointer" : null;
|
|
45814
45871
|
}.bind(this)).style("opacity", "0").each(function (d) {
|
|
45815
45872
|
if ($$.isGaugeType(d.data)) {
|
|
@@ -45823,19 +45880,19 @@ function getAttrTweenFn(fn) {
|
|
|
45823
45880
|
$$.hasMultiArcGauge() && $$.redrawMultiArcGauge();
|
|
45824
45881
|
}
|
|
45825
45882
|
mainArc.attr("transform", function (d) {
|
|
45826
|
-
_newArrowCheck(this,
|
|
45883
|
+
_newArrowCheck(this, _this13);
|
|
45827
45884
|
return !$$.isGaugeType(d.data) && withTransform ? "scale(0)" : "";
|
|
45828
45885
|
}.bind(this)).style("opacity", function (d) {
|
|
45829
45886
|
return d === this._current ? "0" : null;
|
|
45830
45887
|
}).each(function () {
|
|
45831
|
-
_newArrowCheck(this,
|
|
45888
|
+
_newArrowCheck(this, _this13);
|
|
45832
45889
|
state.transiting = !0;
|
|
45833
45890
|
}.bind(this)).transition().duration(duration).attrTween("d", function (d) {
|
|
45834
|
-
var
|
|
45891
|
+
var _this14 = this,
|
|
45835
45892
|
updated = $$.updateAngle(d);
|
|
45836
45893
|
if (!updated) {
|
|
45837
45894
|
return function () {
|
|
45838
|
-
_newArrowCheck(this,
|
|
45895
|
+
_newArrowCheck(this, _this14);
|
|
45839
45896
|
return "M 0 0";
|
|
45840
45897
|
}.bind(this);
|
|
45841
45898
|
}
|
|
@@ -45854,7 +45911,7 @@ function getAttrTweenFn(fn) {
|
|
|
45854
45911
|
return $$.getArc(interpolated, !0);
|
|
45855
45912
|
};
|
|
45856
45913
|
}).attr("transform", withTransform ? "scale(1)" : "").style("fill", function (d) {
|
|
45857
|
-
_newArrowCheck(this,
|
|
45914
|
+
_newArrowCheck(this, _this13);
|
|
45858
45915
|
var color;
|
|
45859
45916
|
if ($$.levelColor) {
|
|
45860
45917
|
color = $$.levelColor(d.data.values[0].value);
|
|
@@ -45889,7 +45946,7 @@ function getAttrTweenFn(fn) {
|
|
|
45889
45946
|
* @private
|
|
45890
45947
|
*/
|
|
45891
45948
|
redrawNeedle: function redrawNeedle() {
|
|
45892
|
-
var
|
|
45949
|
+
var _this15 = this,
|
|
45893
45950
|
$$ = this,
|
|
45894
45951
|
$el = $$.$el,
|
|
45895
45952
|
config = $$.config,
|
|
@@ -45909,7 +45966,7 @@ function getAttrTweenFn(fn) {
|
|
|
45909
45966
|
bottomRy = config.arc_needle_bottom_ry,
|
|
45910
45967
|
needleAngle = $$.getNeedleAngle(),
|
|
45911
45968
|
updateNeedleValue = function () {
|
|
45912
|
-
_newArrowCheck(this,
|
|
45969
|
+
_newArrowCheck(this, _this15);
|
|
45913
45970
|
var title = $$.getArcTitleWithNeedleValue();
|
|
45914
45971
|
title && $$.setArcTitle(title);
|
|
45915
45972
|
}.bind(this); // needle options
|
|
@@ -45925,14 +45982,14 @@ function getAttrTweenFn(fn) {
|
|
|
45925
45982
|
* @private
|
|
45926
45983
|
*/
|
|
45927
45984
|
$el.needle.updateHelper = function (v, updateConfig) {
|
|
45928
|
-
var
|
|
45985
|
+
var _this16 = this;
|
|
45929
45986
|
if (updateConfig === void 0) {
|
|
45930
45987
|
updateConfig = !1;
|
|
45931
45988
|
}
|
|
45932
|
-
_newArrowCheck(this,
|
|
45989
|
+
_newArrowCheck(this, _this15);
|
|
45933
45990
|
if ($el.needle.style("display") !== "none") {
|
|
45934
45991
|
$$.$T($el.needle).style("transform", "rotate(" + $$.getNeedleAngle(v) + "deg)").call(endall, function () {
|
|
45935
|
-
_newArrowCheck(this,
|
|
45992
|
+
_newArrowCheck(this, _this16);
|
|
45936
45993
|
updateConfig && (config.arc_needle_value = v);
|
|
45937
45994
|
updateNeedleValue();
|
|
45938
45995
|
}.bind(this));
|
|
@@ -45978,7 +46035,7 @@ function getAttrTweenFn(fn) {
|
|
|
45978
46035
|
return (startingAngle + radian) * (180 / Math.PI);
|
|
45979
46036
|
},
|
|
45980
46037
|
redrawBackgroundArcs: function redrawBackgroundArcs() {
|
|
45981
|
-
var
|
|
46038
|
+
var _this17 = this,
|
|
45982
46039
|
$$ = this,
|
|
45983
46040
|
config = $$.config,
|
|
45984
46041
|
state = $$.state,
|
|
@@ -45992,11 +46049,11 @@ function getAttrTweenFn(fn) {
|
|
|
45992
46049
|
var index = 0;
|
|
45993
46050
|
backgroundArc = backgroundArc.selectAll("path." + $ARC.chartArcsBackground).data($$.data.targets);
|
|
45994
46051
|
backgroundArc.enter().append("path").attr("class", function (d, i) {
|
|
45995
|
-
_newArrowCheck(this,
|
|
46052
|
+
_newArrowCheck(this, _this17);
|
|
45996
46053
|
return $ARC.chartArcsBackground + " " + $ARC.chartArcsBackground + "-" + i;
|
|
45997
|
-
}.bind(this)).merge(backgroundArc).style("fill", config.gauge_background || null).attr("d", function (
|
|
45998
|
-
var id =
|
|
45999
|
-
_newArrowCheck(this,
|
|
46054
|
+
}.bind(this)).merge(backgroundArc).style("fill", config.gauge_background || null).attr("d", function (_ref3) {
|
|
46055
|
+
var id = _ref3.id;
|
|
46056
|
+
_newArrowCheck(this, _this17);
|
|
46000
46057
|
if (showEmptyTextLabel || state.hiddenTargetIds.indexOf(id) >= 0) {
|
|
46001
46058
|
return "M 0 0";
|
|
46002
46059
|
}
|
|
@@ -46013,7 +46070,7 @@ function getAttrTweenFn(fn) {
|
|
|
46013
46070
|
backgroundArc.exit().remove();
|
|
46014
46071
|
} else {
|
|
46015
46072
|
backgroundArc.attr("d", showEmptyTextLabel ? "M 0 0" : function () {
|
|
46016
|
-
_newArrowCheck(this,
|
|
46073
|
+
_newArrowCheck(this, _this17);
|
|
46017
46074
|
var d = {
|
|
46018
46075
|
data: [{
|
|
46019
46076
|
value: config.gauge_max
|
|
@@ -46026,7 +46083,7 @@ function getAttrTweenFn(fn) {
|
|
|
46026
46083
|
}
|
|
46027
46084
|
},
|
|
46028
46085
|
bindArcEvent: function bindArcEvent(arc) {
|
|
46029
|
-
var
|
|
46086
|
+
var _this18 = this,
|
|
46030
46087
|
$$ = this,
|
|
46031
46088
|
config = $$.config,
|
|
46032
46089
|
state = $$.state,
|
|
@@ -46054,7 +46111,7 @@ function getAttrTweenFn(fn) {
|
|
|
46054
46111
|
var arcData;
|
|
46055
46112
|
if (updated) {
|
|
46056
46113
|
arcData = $$.convertToArcData(updated);
|
|
46057
|
-
$$.toggleShape == null
|
|
46114
|
+
$$.toggleShape == null || $$.toggleShape(this, arcData, i);
|
|
46058
46115
|
config.data_onclick.bind($$.api)(arcData, this);
|
|
46059
46116
|
}
|
|
46060
46117
|
});
|
|
@@ -46074,7 +46131,7 @@ function getAttrTweenFn(fn) {
|
|
|
46074
46131
|
selectArc(this, arcData, id);
|
|
46075
46132
|
$$.setOverOut(!0, arcData);
|
|
46076
46133
|
}).on("mouseout", function (event, d) {
|
|
46077
|
-
_newArrowCheck(this,
|
|
46134
|
+
_newArrowCheck(this, _this18);
|
|
46078
46135
|
if (state.transiting) {
|
|
46079
46136
|
// skip while transiting
|
|
46080
46137
|
return;
|
|
@@ -46095,7 +46152,7 @@ function getAttrTweenFn(fn) {
|
|
|
46095
46152
|
// touch events
|
|
46096
46153
|
if (isTouch && $$.hasArcType() && !$$.radars) {
|
|
46097
46154
|
var getEventArc = function (event) {
|
|
46098
|
-
_newArrowCheck(this,
|
|
46155
|
+
_newArrowCheck(this, _this18);
|
|
46099
46156
|
var touch = event.changedTouches[0],
|
|
46100
46157
|
eventArc = src_select(browser_doc.elementFromPoint(touch.clientX, touch.clientY));
|
|
46101
46158
|
return eventArc;
|
|
@@ -46118,7 +46175,7 @@ function getAttrTweenFn(fn) {
|
|
|
46118
46175
|
}
|
|
46119
46176
|
},
|
|
46120
46177
|
redrawArcText: function redrawArcText(duration) {
|
|
46121
|
-
var
|
|
46178
|
+
var _this19 = this,
|
|
46122
46179
|
$$ = this,
|
|
46123
46180
|
config = $$.config,
|
|
46124
46181
|
state = $$.state,
|
|
@@ -46131,13 +46188,13 @@ function getAttrTweenFn(fn) {
|
|
|
46131
46188
|
// for gauge type, update text when has no title & multi data
|
|
46132
46189
|
if (!(hasGauge && $$.data.targets.length === 1 && config.gauge_title)) {
|
|
46133
46190
|
text = main.selectAll("." + $ARC.chartArc).select("text").style("opacity", "0").attr("class", function (d) {
|
|
46134
|
-
_newArrowCheck(this,
|
|
46191
|
+
_newArrowCheck(this, _this19);
|
|
46135
46192
|
return $$.isGaugeType(d.data) ? $GAUGE.gaugeValue : null;
|
|
46136
46193
|
}.bind(this)).call($$.textForArcLabel.bind($$)).attr("transform", $$.transformForArcLabel.bind($$)).style("font-size", function (d) {
|
|
46137
|
-
_newArrowCheck(this,
|
|
46194
|
+
_newArrowCheck(this, _this19);
|
|
46138
46195
|
return $$.isGaugeType(d.data) && $$.data.targets.length === 1 && !hasMultiArcGauge ? Math.round(state.radius / 5) + "px" : null;
|
|
46139
46196
|
}.bind(this)).transition().duration(duration).style("opacity", function (d) {
|
|
46140
|
-
_newArrowCheck(this,
|
|
46197
|
+
_newArrowCheck(this, _this19);
|
|
46141
46198
|
return $$.isTargetToShow(d.data.id) && $$.isArcType(d.data) ? null : "0";
|
|
46142
46199
|
}.bind(this));
|
|
46143
46200
|
hasMultiArcGauge && text.attr("dy", "-.1em");
|
|
@@ -46163,14 +46220,14 @@ function getAttrTweenFn(fn) {
|
|
|
46163
46220
|
* @private
|
|
46164
46221
|
*/
|
|
46165
46222
|
getArcElementByIdOrIndex: function getArcElementByIdOrIndex(value) {
|
|
46166
|
-
var
|
|
46223
|
+
var _this20 = this,
|
|
46167
46224
|
$$ = this,
|
|
46168
46225
|
arcs = $$.$el.arcs,
|
|
46169
46226
|
filterFn = isNumber(value) ? function (d) {
|
|
46170
|
-
_newArrowCheck(this,
|
|
46227
|
+
_newArrowCheck(this, _this20);
|
|
46171
46228
|
return d.index === value;
|
|
46172
46229
|
}.bind(this) : function (d) {
|
|
46173
|
-
_newArrowCheck(this,
|
|
46230
|
+
_newArrowCheck(this, _this20);
|
|
46174
46231
|
return d.data.id === value;
|
|
46175
46232
|
}.bind(this),
|
|
46176
46233
|
_arcs;
|
|
@@ -46758,8 +46815,8 @@ function point_y(p) {
|
|
|
46758
46815
|
;// CONCATENATED MODULE: ./src/ChartInternal/shape/candlestick.ts
|
|
46759
46816
|
|
|
46760
46817
|
|
|
46761
|
-
function candlestick_ownKeys(
|
|
46762
|
-
function candlestick_objectSpread(
|
|
46818
|
+
function candlestick_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; }
|
|
46819
|
+
function candlestick_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? candlestick_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : candlestick_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
46763
46820
|
/**
|
|
46764
46821
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
46765
46822
|
* billboard.js project is licensed under the MIT license
|
|
@@ -50895,8 +50952,8 @@ function setSelection(isSelection, ids, indices, resetOther) {
|
|
|
50895
50952
|
$$.updateTargetsForSubchart($$.data.targets);
|
|
50896
50953
|
$target = (_subchart$main = subchart.main) == null ? void 0 : _subchart$main.selectAll("." + $COMMON.target);
|
|
50897
50954
|
}
|
|
50898
|
-
(_$target = $target) == null
|
|
50899
|
-
(_subchart$main2 = subchart.main) == null
|
|
50955
|
+
(_$target = $target) == null || _$target.style("opacity", null);
|
|
50956
|
+
(_subchart$main2 = subchart.main) == null || _subchart$main2.style("display", null);
|
|
50900
50957
|
this.resize();
|
|
50901
50958
|
}
|
|
50902
50959
|
},
|
|
@@ -51733,7 +51790,7 @@ util_extend(zoom, {
|
|
|
51733
51790
|
if ($$.scale.zoom) {
|
|
51734
51791
|
config.subchart_show ? $$.brush.getSelection().call($$.brush.move, null) : $$.zoom.updateTransformScale(transform_identity);
|
|
51735
51792
|
$$.updateZoom(!0);
|
|
51736
|
-
zoomResetBtn == null
|
|
51793
|
+
zoomResetBtn == null || zoomResetBtn.style("display", "none");
|
|
51737
51794
|
|
|
51738
51795
|
// reset transform
|
|
51739
51796
|
if (transform_transform(eventRect.node()) !== transform_identity) {
|
|
@@ -51866,8 +51923,8 @@ util_extend(zoom, {
|
|
|
51866
51923
|
;// CONCATENATED MODULE: ./src/ChartInternal/internals/selection.ts
|
|
51867
51924
|
|
|
51868
51925
|
|
|
51869
|
-
function selection_ownKeys(
|
|
51870
|
-
function selection_objectSpread(
|
|
51926
|
+
function selection_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; }
|
|
51927
|
+
function selection_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? selection_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : selection_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
51871
51928
|
/**
|
|
51872
51929
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
51873
51930
|
* billboard.js project is licensed under the MIT license
|
|
@@ -52111,7 +52168,7 @@ function selection_objectSpread(target) { for (var i = 1, source; i < arguments.
|
|
|
52111
52168
|
return isNaN(v);
|
|
52112
52169
|
}.bind(this)).length === 0) {
|
|
52113
52170
|
var _subchart$main;
|
|
52114
|
-
(_subchart$main = subchart.main) == null
|
|
52171
|
+
(_subchart$main = subchart.main) == null || _subchart$main.select("." + classes.brush).call(this);
|
|
52115
52172
|
}
|
|
52116
52173
|
return this;
|
|
52117
52174
|
};
|
|
@@ -52454,7 +52511,7 @@ function selection_objectSpread(target) { for (var i = 1, source; i < arguments.
|
|
|
52454
52511
|
var isRotated = config.axis_rotated;
|
|
52455
52512
|
|
|
52456
52513
|
// in case of resize, update range of orgXScale
|
|
52457
|
-
(_org$xScale = org.xScale) == null
|
|
52514
|
+
(_org$xScale = org.xScale) == null || _org$xScale.range(scale.x.range());
|
|
52458
52515
|
|
|
52459
52516
|
// rescale from the original scale
|
|
52460
52517
|
var newScale = transform[isRotated ? "rescaleY" : "rescaleX"](org.xScale || scale.x),
|
|
@@ -53082,7 +53139,7 @@ var _defaults = {};
|
|
|
53082
53139
|
|
|
53083
53140
|
/**
|
|
53084
53141
|
* @namespace bb
|
|
53085
|
-
* @version 3.9.
|
|
53142
|
+
* @version 3.9.4
|
|
53086
53143
|
*/
|
|
53087
53144
|
var bb = {
|
|
53088
53145
|
/**
|
|
@@ -53092,7 +53149,7 @@ var bb = {
|
|
|
53092
53149
|
* bb.version; // "1.0.0"
|
|
53093
53150
|
* @memberof bb
|
|
53094
53151
|
*/
|
|
53095
|
-
version: "3.9.
|
|
53152
|
+
version: "3.9.4",
|
|
53096
53153
|
/**
|
|
53097
53154
|
* Generate chart
|
|
53098
53155
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|
|
@@ -53272,304 +53329,304 @@ var _typeof = (__webpack_require__(529)["default"]);
|
|
|
53272
53329
|
function _regeneratorRuntime() {
|
|
53273
53330
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
53274
53331
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
53275
|
-
return
|
|
53332
|
+
return e;
|
|
53276
53333
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
53277
|
-
var
|
|
53278
|
-
|
|
53279
|
-
|
|
53280
|
-
|
|
53281
|
-
|
|
53334
|
+
var t,
|
|
53335
|
+
e = {},
|
|
53336
|
+
r = Object.prototype,
|
|
53337
|
+
n = r.hasOwnProperty,
|
|
53338
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
53339
|
+
t[e] = r.value;
|
|
53282
53340
|
},
|
|
53283
|
-
|
|
53284
|
-
|
|
53285
|
-
|
|
53286
|
-
|
|
53287
|
-
function define(
|
|
53288
|
-
return Object.defineProperty(
|
|
53289
|
-
value:
|
|
53341
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
53342
|
+
a = i.iterator || "@@iterator",
|
|
53343
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
53344
|
+
u = i.toStringTag || "@@toStringTag";
|
|
53345
|
+
function define(t, e, r) {
|
|
53346
|
+
return Object.defineProperty(t, e, {
|
|
53347
|
+
value: r,
|
|
53290
53348
|
enumerable: !0,
|
|
53291
53349
|
configurable: !0,
|
|
53292
53350
|
writable: !0
|
|
53293
|
-
}),
|
|
53351
|
+
}), t[e];
|
|
53294
53352
|
}
|
|
53295
53353
|
try {
|
|
53296
53354
|
define({}, "");
|
|
53297
|
-
} catch (
|
|
53298
|
-
define = function define(
|
|
53299
|
-
return
|
|
53355
|
+
} catch (t) {
|
|
53356
|
+
define = function define(t, e, r) {
|
|
53357
|
+
return t[e] = r;
|
|
53300
53358
|
};
|
|
53301
53359
|
}
|
|
53302
|
-
function wrap(
|
|
53303
|
-
var
|
|
53304
|
-
|
|
53305
|
-
|
|
53306
|
-
return
|
|
53307
|
-
value: makeInvokeMethod(
|
|
53308
|
-
}),
|
|
53360
|
+
function wrap(t, e, r, n) {
|
|
53361
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
53362
|
+
a = Object.create(i.prototype),
|
|
53363
|
+
c = new Context(n || []);
|
|
53364
|
+
return o(a, "_invoke", {
|
|
53365
|
+
value: makeInvokeMethod(t, r, c)
|
|
53366
|
+
}), a;
|
|
53309
53367
|
}
|
|
53310
|
-
function tryCatch(
|
|
53368
|
+
function tryCatch(t, e, r) {
|
|
53311
53369
|
try {
|
|
53312
53370
|
return {
|
|
53313
53371
|
type: "normal",
|
|
53314
|
-
arg:
|
|
53372
|
+
arg: t.call(e, r)
|
|
53315
53373
|
};
|
|
53316
|
-
} catch (
|
|
53374
|
+
} catch (t) {
|
|
53317
53375
|
return {
|
|
53318
53376
|
type: "throw",
|
|
53319
|
-
arg:
|
|
53377
|
+
arg: t
|
|
53320
53378
|
};
|
|
53321
53379
|
}
|
|
53322
53380
|
}
|
|
53323
|
-
|
|
53324
|
-
var
|
|
53381
|
+
e.wrap = wrap;
|
|
53382
|
+
var h = "suspendedStart",
|
|
53383
|
+
l = "suspendedYield",
|
|
53384
|
+
f = "executing",
|
|
53385
|
+
s = "completed",
|
|
53386
|
+
y = {};
|
|
53325
53387
|
function Generator() {}
|
|
53326
53388
|
function GeneratorFunction() {}
|
|
53327
53389
|
function GeneratorFunctionPrototype() {}
|
|
53328
|
-
var
|
|
53329
|
-
define(
|
|
53390
|
+
var p = {};
|
|
53391
|
+
define(p, a, function () {
|
|
53330
53392
|
return this;
|
|
53331
53393
|
});
|
|
53332
|
-
var
|
|
53333
|
-
|
|
53334
|
-
|
|
53335
|
-
var
|
|
53336
|
-
function defineIteratorMethods(
|
|
53337
|
-
["next", "throw", "return"].forEach(function (
|
|
53338
|
-
define(
|
|
53339
|
-
return this._invoke(
|
|
53394
|
+
var d = Object.getPrototypeOf,
|
|
53395
|
+
v = d && d(d(values([])));
|
|
53396
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
53397
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
53398
|
+
function defineIteratorMethods(t) {
|
|
53399
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
53400
|
+
define(t, e, function (t) {
|
|
53401
|
+
return this._invoke(e, t);
|
|
53340
53402
|
});
|
|
53341
53403
|
});
|
|
53342
53404
|
}
|
|
53343
|
-
function AsyncIterator(
|
|
53344
|
-
function invoke(
|
|
53345
|
-
var
|
|
53346
|
-
if ("throw" !==
|
|
53347
|
-
var
|
|
53348
|
-
|
|
53349
|
-
return
|
|
53350
|
-
invoke("next",
|
|
53351
|
-
}, function (
|
|
53352
|
-
invoke("throw",
|
|
53353
|
-
}) :
|
|
53354
|
-
|
|
53355
|
-
}, function (
|
|
53356
|
-
return invoke("throw",
|
|
53405
|
+
function AsyncIterator(t, e) {
|
|
53406
|
+
function invoke(r, o, i, a) {
|
|
53407
|
+
var c = tryCatch(t[r], t, o);
|
|
53408
|
+
if ("throw" !== c.type) {
|
|
53409
|
+
var u = c.arg,
|
|
53410
|
+
h = u.value;
|
|
53411
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
53412
|
+
invoke("next", t, i, a);
|
|
53413
|
+
}, function (t) {
|
|
53414
|
+
invoke("throw", t, i, a);
|
|
53415
|
+
}) : e.resolve(h).then(function (t) {
|
|
53416
|
+
u.value = t, i(u);
|
|
53417
|
+
}, function (t) {
|
|
53418
|
+
return invoke("throw", t, i, a);
|
|
53357
53419
|
});
|
|
53358
53420
|
}
|
|
53359
|
-
|
|
53421
|
+
a(c.arg);
|
|
53360
53422
|
}
|
|
53361
|
-
var
|
|
53362
|
-
|
|
53363
|
-
value: function value(
|
|
53423
|
+
var r;
|
|
53424
|
+
o(this, "_invoke", {
|
|
53425
|
+
value: function value(t, n) {
|
|
53364
53426
|
function callInvokeWithMethodAndArg() {
|
|
53365
|
-
return new
|
|
53366
|
-
invoke(
|
|
53427
|
+
return new e(function (e, r) {
|
|
53428
|
+
invoke(t, n, e, r);
|
|
53367
53429
|
});
|
|
53368
53430
|
}
|
|
53369
|
-
return
|
|
53431
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
53370
53432
|
}
|
|
53371
53433
|
});
|
|
53372
53434
|
}
|
|
53373
|
-
function makeInvokeMethod(
|
|
53374
|
-
var
|
|
53375
|
-
return function (
|
|
53376
|
-
if (
|
|
53377
|
-
if (
|
|
53378
|
-
if ("throw" ===
|
|
53379
|
-
return
|
|
53380
|
-
|
|
53381
|
-
|
|
53382
|
-
|
|
53383
|
-
|
|
53384
|
-
|
|
53385
|
-
|
|
53386
|
-
|
|
53387
|
-
|
|
53435
|
+
function makeInvokeMethod(e, r, n) {
|
|
53436
|
+
var o = h;
|
|
53437
|
+
return function (i, a) {
|
|
53438
|
+
if (o === f) throw new Error("Generator is already running");
|
|
53439
|
+
if (o === s) {
|
|
53440
|
+
if ("throw" === i) throw a;
|
|
53441
|
+
return {
|
|
53442
|
+
value: t,
|
|
53443
|
+
done: !0
|
|
53444
|
+
};
|
|
53445
|
+
}
|
|
53446
|
+
for (n.method = i, n.arg = a;;) {
|
|
53447
|
+
var c = n.delegate;
|
|
53448
|
+
if (c) {
|
|
53449
|
+
var u = maybeInvokeDelegate(c, n);
|
|
53450
|
+
if (u) {
|
|
53451
|
+
if (u === y) continue;
|
|
53452
|
+
return u;
|
|
53388
53453
|
}
|
|
53389
53454
|
}
|
|
53390
|
-
if ("next" ===
|
|
53391
|
-
if (
|
|
53392
|
-
|
|
53393
|
-
} else "return" ===
|
|
53394
|
-
|
|
53395
|
-
var
|
|
53396
|
-
if ("normal" ===
|
|
53397
|
-
if (
|
|
53455
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
53456
|
+
if (o === h) throw o = s, n.arg;
|
|
53457
|
+
n.dispatchException(n.arg);
|
|
53458
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
53459
|
+
o = f;
|
|
53460
|
+
var p = tryCatch(e, r, n);
|
|
53461
|
+
if ("normal" === p.type) {
|
|
53462
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
53398
53463
|
return {
|
|
53399
|
-
value:
|
|
53400
|
-
done:
|
|
53464
|
+
value: p.arg,
|
|
53465
|
+
done: n.done
|
|
53401
53466
|
};
|
|
53402
53467
|
}
|
|
53403
|
-
"throw" ===
|
|
53468
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
53404
53469
|
}
|
|
53405
53470
|
};
|
|
53406
53471
|
}
|
|
53407
|
-
function maybeInvokeDelegate(
|
|
53408
|
-
var
|
|
53409
|
-
|
|
53410
|
-
if (
|
|
53411
|
-
var
|
|
53412
|
-
if ("throw" ===
|
|
53413
|
-
var
|
|
53414
|
-
return
|
|
53415
|
-
}
|
|
53416
|
-
function pushTryEntry(
|
|
53417
|
-
var
|
|
53418
|
-
tryLoc:
|
|
53472
|
+
function maybeInvokeDelegate(e, r) {
|
|
53473
|
+
var n = r.method,
|
|
53474
|
+
o = e.iterator[n];
|
|
53475
|
+
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;
|
|
53476
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
53477
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
53478
|
+
var a = i.arg;
|
|
53479
|
+
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);
|
|
53480
|
+
}
|
|
53481
|
+
function pushTryEntry(t) {
|
|
53482
|
+
var e = {
|
|
53483
|
+
tryLoc: t[0]
|
|
53419
53484
|
};
|
|
53420
|
-
1 in
|
|
53485
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
53421
53486
|
}
|
|
53422
|
-
function resetTryEntry(
|
|
53423
|
-
var
|
|
53424
|
-
|
|
53487
|
+
function resetTryEntry(t) {
|
|
53488
|
+
var e = t.completion || {};
|
|
53489
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
53425
53490
|
}
|
|
53426
|
-
function Context(
|
|
53491
|
+
function Context(t) {
|
|
53427
53492
|
this.tryEntries = [{
|
|
53428
53493
|
tryLoc: "root"
|
|
53429
|
-
}],
|
|
53430
|
-
}
|
|
53431
|
-
function values(
|
|
53432
|
-
if (
|
|
53433
|
-
var
|
|
53434
|
-
if (
|
|
53435
|
-
if ("function" == typeof
|
|
53436
|
-
if (!isNaN(
|
|
53437
|
-
var
|
|
53438
|
-
|
|
53439
|
-
for (; ++
|
|
53440
|
-
return next.value =
|
|
53494
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
53495
|
+
}
|
|
53496
|
+
function values(e) {
|
|
53497
|
+
if (e || "" === e) {
|
|
53498
|
+
var r = e[a];
|
|
53499
|
+
if (r) return r.call(e);
|
|
53500
|
+
if ("function" == typeof e.next) return e;
|
|
53501
|
+
if (!isNaN(e.length)) {
|
|
53502
|
+
var o = -1,
|
|
53503
|
+
i = function next() {
|
|
53504
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
53505
|
+
return next.value = t, next.done = !0, next;
|
|
53441
53506
|
};
|
|
53442
|
-
return
|
|
53507
|
+
return i.next = i;
|
|
53443
53508
|
}
|
|
53444
53509
|
}
|
|
53445
|
-
|
|
53446
|
-
next: doneResult
|
|
53447
|
-
};
|
|
53448
|
-
}
|
|
53449
|
-
function doneResult() {
|
|
53450
|
-
return {
|
|
53451
|
-
value: undefined,
|
|
53452
|
-
done: !0
|
|
53453
|
-
};
|
|
53510
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
53454
53511
|
}
|
|
53455
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
53512
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
53456
53513
|
value: GeneratorFunctionPrototype,
|
|
53457
53514
|
configurable: !0
|
|
53458
|
-
}),
|
|
53515
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
53459
53516
|
value: GeneratorFunction,
|
|
53460
53517
|
configurable: !0
|
|
53461
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
53462
|
-
var
|
|
53463
|
-
return !!
|
|
53464
|
-
},
|
|
53465
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
53466
|
-
},
|
|
53518
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
53519
|
+
var e = "function" == typeof t && t.constructor;
|
|
53520
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
53521
|
+
}, e.mark = function (t) {
|
|
53522
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
53523
|
+
}, e.awrap = function (t) {
|
|
53467
53524
|
return {
|
|
53468
|
-
__await:
|
|
53525
|
+
__await: t
|
|
53469
53526
|
};
|
|
53470
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
53527
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
53471
53528
|
return this;
|
|
53472
|
-
}),
|
|
53473
|
-
void 0 ===
|
|
53474
|
-
var
|
|
53475
|
-
return
|
|
53476
|
-
return
|
|
53529
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
53530
|
+
void 0 === i && (i = Promise);
|
|
53531
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
53532
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
53533
|
+
return t.done ? t.value : a.next();
|
|
53477
53534
|
});
|
|
53478
|
-
}, defineIteratorMethods(
|
|
53535
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
53479
53536
|
return this;
|
|
53480
|
-
}), define(
|
|
53537
|
+
}), define(g, "toString", function () {
|
|
53481
53538
|
return "[object Generator]";
|
|
53482
|
-
}),
|
|
53483
|
-
var
|
|
53484
|
-
|
|
53485
|
-
for (var
|
|
53486
|
-
return
|
|
53487
|
-
for (;
|
|
53488
|
-
var
|
|
53489
|
-
if (
|
|
53539
|
+
}), e.keys = function (t) {
|
|
53540
|
+
var e = Object(t),
|
|
53541
|
+
r = [];
|
|
53542
|
+
for (var n in e) r.push(n);
|
|
53543
|
+
return r.reverse(), function next() {
|
|
53544
|
+
for (; r.length;) {
|
|
53545
|
+
var t = r.pop();
|
|
53546
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
53490
53547
|
}
|
|
53491
53548
|
return next.done = !0, next;
|
|
53492
53549
|
};
|
|
53493
|
-
},
|
|
53550
|
+
}, e.values = values, Context.prototype = {
|
|
53494
53551
|
constructor: Context,
|
|
53495
|
-
reset: function reset(
|
|
53496
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
53552
|
+
reset: function reset(e) {
|
|
53553
|
+
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);
|
|
53497
53554
|
},
|
|
53498
53555
|
stop: function stop() {
|
|
53499
53556
|
this.done = !0;
|
|
53500
|
-
var
|
|
53501
|
-
if ("throw" ===
|
|
53557
|
+
var t = this.tryEntries[0].completion;
|
|
53558
|
+
if ("throw" === t.type) throw t.arg;
|
|
53502
53559
|
return this.rval;
|
|
53503
53560
|
},
|
|
53504
|
-
dispatchException: function dispatchException(
|
|
53505
|
-
if (this.done) throw
|
|
53506
|
-
var
|
|
53507
|
-
function handle(
|
|
53508
|
-
return
|
|
53509
|
-
}
|
|
53510
|
-
for (var
|
|
53511
|
-
var
|
|
53512
|
-
|
|
53513
|
-
if ("root" ===
|
|
53514
|
-
if (
|
|
53515
|
-
var
|
|
53516
|
-
|
|
53517
|
-
if (
|
|
53518
|
-
if (this.prev <
|
|
53519
|
-
if (this.prev <
|
|
53520
|
-
} else if (
|
|
53521
|
-
if (this.prev <
|
|
53561
|
+
dispatchException: function dispatchException(e) {
|
|
53562
|
+
if (this.done) throw e;
|
|
53563
|
+
var r = this;
|
|
53564
|
+
function handle(n, o) {
|
|
53565
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
53566
|
+
}
|
|
53567
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
53568
|
+
var i = this.tryEntries[o],
|
|
53569
|
+
a = i.completion;
|
|
53570
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
53571
|
+
if (i.tryLoc <= this.prev) {
|
|
53572
|
+
var c = n.call(i, "catchLoc"),
|
|
53573
|
+
u = n.call(i, "finallyLoc");
|
|
53574
|
+
if (c && u) {
|
|
53575
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
53576
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
53577
|
+
} else if (c) {
|
|
53578
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
53522
53579
|
} else {
|
|
53523
|
-
if (!
|
|
53524
|
-
if (this.prev <
|
|
53580
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
53581
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
53525
53582
|
}
|
|
53526
53583
|
}
|
|
53527
53584
|
}
|
|
53528
53585
|
},
|
|
53529
|
-
abrupt: function abrupt(
|
|
53530
|
-
for (var
|
|
53531
|
-
var
|
|
53532
|
-
if (
|
|
53533
|
-
var
|
|
53586
|
+
abrupt: function abrupt(t, e) {
|
|
53587
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
53588
|
+
var o = this.tryEntries[r];
|
|
53589
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
53590
|
+
var i = o;
|
|
53534
53591
|
break;
|
|
53535
53592
|
}
|
|
53536
53593
|
}
|
|
53537
|
-
|
|
53538
|
-
var
|
|
53539
|
-
return
|
|
53594
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
53595
|
+
var a = i ? i.completion : {};
|
|
53596
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
53540
53597
|
},
|
|
53541
|
-
complete: function complete(
|
|
53542
|
-
if ("throw" ===
|
|
53543
|
-
return "break" ===
|
|
53598
|
+
complete: function complete(t, e) {
|
|
53599
|
+
if ("throw" === t.type) throw t.arg;
|
|
53600
|
+
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;
|
|
53544
53601
|
},
|
|
53545
|
-
finish: function finish(
|
|
53546
|
-
for (var
|
|
53547
|
-
var
|
|
53548
|
-
if (
|
|
53602
|
+
finish: function finish(t) {
|
|
53603
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
53604
|
+
var r = this.tryEntries[e];
|
|
53605
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
53549
53606
|
}
|
|
53550
53607
|
},
|
|
53551
|
-
"catch": function _catch(
|
|
53552
|
-
for (var
|
|
53553
|
-
var
|
|
53554
|
-
if (
|
|
53555
|
-
var
|
|
53556
|
-
if ("throw" ===
|
|
53557
|
-
var
|
|
53558
|
-
resetTryEntry(
|
|
53608
|
+
"catch": function _catch(t) {
|
|
53609
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
53610
|
+
var r = this.tryEntries[e];
|
|
53611
|
+
if (r.tryLoc === t) {
|
|
53612
|
+
var n = r.completion;
|
|
53613
|
+
if ("throw" === n.type) {
|
|
53614
|
+
var o = n.arg;
|
|
53615
|
+
resetTryEntry(r);
|
|
53559
53616
|
}
|
|
53560
|
-
return
|
|
53617
|
+
return o;
|
|
53561
53618
|
}
|
|
53562
53619
|
}
|
|
53563
53620
|
throw new Error("illegal catch attempt");
|
|
53564
53621
|
},
|
|
53565
|
-
delegateYield: function delegateYield(
|
|
53622
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
53566
53623
|
return this.delegate = {
|
|
53567
|
-
iterator: values(
|
|
53568
|
-
resultName:
|
|
53569
|
-
nextLoc:
|
|
53570
|
-
}, "next" === this.method && (this.arg =
|
|
53624
|
+
iterator: values(e),
|
|
53625
|
+
resultName: r,
|
|
53626
|
+
nextLoc: n
|
|
53627
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
53571
53628
|
}
|
|
53572
|
-
},
|
|
53629
|
+
}, e;
|
|
53573
53630
|
}
|
|
53574
53631
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
53575
53632
|
|
|
@@ -53577,14 +53634,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
|
53577
53634
|
/* 529 */
|
|
53578
53635
|
/***/ (function(module) {
|
|
53579
53636
|
|
|
53580
|
-
function _typeof(
|
|
53637
|
+
function _typeof(o) {
|
|
53581
53638
|
"@babel/helpers - typeof";
|
|
53582
53639
|
|
|
53583
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
53584
|
-
return typeof
|
|
53585
|
-
} : function (
|
|
53586
|
-
return
|
|
53587
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
|
53640
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
53641
|
+
return typeof o;
|
|
53642
|
+
} : function (o) {
|
|
53643
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
53644
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
53588
53645
|
}
|
|
53589
53646
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
53590
53647
|
|