@danielgindi/virtual-list-helper 1.0.7 → 1.0.9
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/virtual-list-helper.cjs.js +976 -678
- package/dist/virtual-list-helper.cjs.js.map +1 -1
- package/dist/virtual-list-helper.cjs.min.js +2 -2
- package/dist/virtual-list-helper.cjs.min.js.map +1 -1
- package/dist/virtual-list-helper.es6.js +26 -3
- package/dist/virtual-list-helper.es6.js.map +1 -1
- package/dist/virtual-list-helper.es6.min.js +2 -2
- package/dist/virtual-list-helper.es6.min.js.map +1 -1
- package/dist/virtual-list-helper.umd.js +976 -678
- package/dist/virtual-list-helper.umd.js.map +1 -1
- package/dist/virtual-list-helper.umd.min.js +2 -2
- package/dist/virtual-list-helper.umd.min.js.map +1 -1
- package/lib/index.js +25 -2
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @danielgindi/virtual-list-helper 1.0.
|
|
2
|
+
* @danielgindi/virtual-list-helper 1.0.9
|
|
3
3
|
* git://github.com/danielgindi/virtual-list-helper.git
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -305,6 +305,191 @@ function _applyDecs(targetClass, memberDecs, classDecs) {
|
|
|
305
305
|
protoMetadataMap = {};
|
|
306
306
|
return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret;
|
|
307
307
|
}
|
|
308
|
+
function applyDecs2203Factory() {
|
|
309
|
+
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
310
|
+
return function (initializer) {
|
|
311
|
+
!function (decoratorFinishedRef, fnName) {
|
|
312
|
+
if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished");
|
|
313
|
+
}(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer);
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {
|
|
317
|
+
var kindStr;
|
|
318
|
+
switch (kind) {
|
|
319
|
+
case 1:
|
|
320
|
+
kindStr = "accessor";
|
|
321
|
+
break;
|
|
322
|
+
case 2:
|
|
323
|
+
kindStr = "method";
|
|
324
|
+
break;
|
|
325
|
+
case 3:
|
|
326
|
+
kindStr = "getter";
|
|
327
|
+
break;
|
|
328
|
+
case 4:
|
|
329
|
+
kindStr = "setter";
|
|
330
|
+
break;
|
|
331
|
+
default:
|
|
332
|
+
kindStr = "field";
|
|
333
|
+
}
|
|
334
|
+
var get,
|
|
335
|
+
set,
|
|
336
|
+
ctx = {
|
|
337
|
+
kind: kindStr,
|
|
338
|
+
name: isPrivate ? "#" + name : name,
|
|
339
|
+
static: isStatic,
|
|
340
|
+
private: isPrivate
|
|
341
|
+
},
|
|
342
|
+
decoratorFinishedRef = {
|
|
343
|
+
v: !1
|
|
344
|
+
};
|
|
345
|
+
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function () {
|
|
346
|
+
return this[name];
|
|
347
|
+
}, set = function (v) {
|
|
348
|
+
this[name] = v;
|
|
349
|
+
}) : 2 === kind ? get = function () {
|
|
350
|
+
return desc.value;
|
|
351
|
+
} : (1 !== kind && 3 !== kind || (get = function () {
|
|
352
|
+
return desc.get.call(this);
|
|
353
|
+
}), 1 !== kind && 4 !== kind || (set = function (v) {
|
|
354
|
+
desc.set.call(this, v);
|
|
355
|
+
})), ctx.access = get && set ? {
|
|
356
|
+
get: get,
|
|
357
|
+
set: set
|
|
358
|
+
} : get ? {
|
|
359
|
+
get: get
|
|
360
|
+
} : {
|
|
361
|
+
set: set
|
|
362
|
+
};
|
|
363
|
+
try {
|
|
364
|
+
return dec(value, ctx);
|
|
365
|
+
} finally {
|
|
366
|
+
decoratorFinishedRef.v = !0;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
function assertCallable(fn, hint) {
|
|
370
|
+
if ("function" != typeof fn) throw new TypeError(hint + " must be a function");
|
|
371
|
+
}
|
|
372
|
+
function assertValidReturnValue(kind, value) {
|
|
373
|
+
var type = typeof value;
|
|
374
|
+
if (1 === kind) {
|
|
375
|
+
if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
376
|
+
void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init");
|
|
377
|
+
} else if ("function" !== type) {
|
|
378
|
+
var hint;
|
|
379
|
+
throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0");
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {
|
|
383
|
+
var desc,
|
|
384
|
+
init,
|
|
385
|
+
value,
|
|
386
|
+
newValue,
|
|
387
|
+
get,
|
|
388
|
+
set,
|
|
389
|
+
decs = decInfo[0];
|
|
390
|
+
if (isPrivate ? desc = 0 === kind || 1 === kind ? {
|
|
391
|
+
get: decInfo[3],
|
|
392
|
+
set: decInfo[4]
|
|
393
|
+
} : 3 === kind ? {
|
|
394
|
+
get: decInfo[3]
|
|
395
|
+
} : 4 === kind ? {
|
|
396
|
+
set: decInfo[3]
|
|
397
|
+
} : {
|
|
398
|
+
value: decInfo[3]
|
|
399
|
+
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {
|
|
400
|
+
get: desc.get,
|
|
401
|
+
set: desc.set
|
|
402
|
+
} : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {
|
|
403
|
+
get: get,
|
|
404
|
+
set: set
|
|
405
|
+
}) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {
|
|
406
|
+
var newInit;
|
|
407
|
+
if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {
|
|
408
|
+
get: get,
|
|
409
|
+
set: set
|
|
410
|
+
}) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit));
|
|
411
|
+
}
|
|
412
|
+
if (0 === kind || 1 === kind) {
|
|
413
|
+
if (void 0 === init) init = function (instance, init) {
|
|
414
|
+
return init;
|
|
415
|
+
};else if ("function" != typeof init) {
|
|
416
|
+
var ownInitializers = init;
|
|
417
|
+
init = function (instance, init) {
|
|
418
|
+
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);
|
|
419
|
+
return value;
|
|
420
|
+
};
|
|
421
|
+
} else {
|
|
422
|
+
var originalInitializer = init;
|
|
423
|
+
init = function (instance, init) {
|
|
424
|
+
return originalInitializer.call(instance, init);
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
ret.push(init);
|
|
428
|
+
}
|
|
429
|
+
0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {
|
|
430
|
+
return value.get.call(instance, args);
|
|
431
|
+
}), ret.push(function (instance, args) {
|
|
432
|
+
return value.set.call(instance, args);
|
|
433
|
+
})) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {
|
|
434
|
+
return value.call(instance, args);
|
|
435
|
+
}) : Object.defineProperty(base, name, desc));
|
|
436
|
+
}
|
|
437
|
+
function pushInitializers(ret, initializers) {
|
|
438
|
+
initializers && ret.push(function (instance) {
|
|
439
|
+
for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);
|
|
440
|
+
return instance;
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
return function (targetClass, memberDecs, classDecs) {
|
|
444
|
+
var ret = [];
|
|
445
|
+
return function (ret, Class, decInfos) {
|
|
446
|
+
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {
|
|
447
|
+
var decInfo = decInfos[i];
|
|
448
|
+
if (Array.isArray(decInfo)) {
|
|
449
|
+
var base,
|
|
450
|
+
initializers,
|
|
451
|
+
kind = decInfo[1],
|
|
452
|
+
name = decInfo[2],
|
|
453
|
+
isPrivate = decInfo.length > 3,
|
|
454
|
+
isStatic = kind >= 5;
|
|
455
|
+
if (isStatic ? (base = Class, 0 != (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {
|
|
456
|
+
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,
|
|
457
|
+
existingKind = existingNonFields.get(name) || 0;
|
|
458
|
+
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name);
|
|
459
|
+
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);
|
|
460
|
+
}
|
|
461
|
+
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers);
|
|
465
|
+
}(ret, targetClass, memberDecs), function (ret, targetClass, classDecs) {
|
|
466
|
+
if (classDecs.length > 0) {
|
|
467
|
+
for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {
|
|
468
|
+
var decoratorFinishedRef = {
|
|
469
|
+
v: !1
|
|
470
|
+
};
|
|
471
|
+
try {
|
|
472
|
+
var nextNewClass = classDecs[i](newClass, {
|
|
473
|
+
kind: "class",
|
|
474
|
+
name: name,
|
|
475
|
+
addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)
|
|
476
|
+
});
|
|
477
|
+
} finally {
|
|
478
|
+
decoratorFinishedRef.v = !0;
|
|
479
|
+
}
|
|
480
|
+
void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);
|
|
481
|
+
}
|
|
482
|
+
ret.push(newClass, function () {
|
|
483
|
+
for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
}(ret, targetClass, classDecs), ret;
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
var applyDecs2203Impl;
|
|
490
|
+
function _applyDecs2203(targetClass, memberDecs, classDecs) {
|
|
491
|
+
return (applyDecs2203Impl = applyDecs2203Impl || applyDecs2203Factory())(targetClass, memberDecs, classDecs);
|
|
492
|
+
}
|
|
308
493
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
309
494
|
return function (initializer) {
|
|
310
495
|
assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer);
|
|
@@ -434,8 +619,8 @@ function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, ini
|
|
|
434
619
|
return value.call(instance, args);
|
|
435
620
|
}) : Object.defineProperty(base, name, desc));
|
|
436
621
|
}
|
|
437
|
-
function applyMemberDecs(
|
|
438
|
-
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {
|
|
622
|
+
function applyMemberDecs(Class, decInfos) {
|
|
623
|
+
for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {
|
|
439
624
|
var decInfo = decInfos[i];
|
|
440
625
|
if (Array.isArray(decInfo)) {
|
|
441
626
|
var base,
|
|
@@ -453,7 +638,7 @@ function applyMemberDecs(ret, Class, decInfos) {
|
|
|
453
638
|
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);
|
|
454
639
|
}
|
|
455
640
|
}
|
|
456
|
-
pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers);
|
|
641
|
+
return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;
|
|
457
642
|
}
|
|
458
643
|
function pushInitializers(ret, initializers) {
|
|
459
644
|
initializers && ret.push(function (instance) {
|
|
@@ -461,7 +646,7 @@ function pushInitializers(ret, initializers) {
|
|
|
461
646
|
return instance;
|
|
462
647
|
});
|
|
463
648
|
}
|
|
464
|
-
function applyClassDecs(
|
|
649
|
+
function applyClassDecs(targetClass, classDecs) {
|
|
465
650
|
if (classDecs.length > 0) {
|
|
466
651
|
for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {
|
|
467
652
|
var decoratorFinishedRef = {
|
|
@@ -478,14 +663,18 @@ function applyClassDecs(ret, targetClass, classDecs) {
|
|
|
478
663
|
}
|
|
479
664
|
void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);
|
|
480
665
|
}
|
|
481
|
-
|
|
666
|
+
return [newClass, function () {
|
|
482
667
|
for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);
|
|
483
|
-
}
|
|
668
|
+
}];
|
|
484
669
|
}
|
|
485
670
|
}
|
|
486
|
-
function
|
|
487
|
-
|
|
488
|
-
|
|
671
|
+
function _applyDecs2203R(targetClass, memberDecs, classDecs) {
|
|
672
|
+
return {
|
|
673
|
+
e: applyMemberDecs(targetClass, memberDecs),
|
|
674
|
+
get c() {
|
|
675
|
+
return applyClassDecs(targetClass, classDecs);
|
|
676
|
+
}
|
|
677
|
+
};
|
|
489
678
|
}
|
|
490
679
|
function _asyncGeneratorDelegate(inner) {
|
|
491
680
|
var iter = {},
|
|
@@ -556,6 +745,53 @@ function AsyncFromSyncIterator(s) {
|
|
|
556
745
|
function _awaitAsyncGenerator(value) {
|
|
557
746
|
return new _OverloadYield(value, 0);
|
|
558
747
|
}
|
|
748
|
+
function _checkInRHS(value) {
|
|
749
|
+
if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? typeof value : "null"));
|
|
750
|
+
return value;
|
|
751
|
+
}
|
|
752
|
+
function _defineAccessor(type, obj, key, fn) {
|
|
753
|
+
var desc = {
|
|
754
|
+
configurable: !0,
|
|
755
|
+
enumerable: !0
|
|
756
|
+
};
|
|
757
|
+
return desc[type] = fn, Object.defineProperty(obj, key, desc);
|
|
758
|
+
}
|
|
759
|
+
function _iterableToArrayLimit(arr, i) {
|
|
760
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
761
|
+
if (null != _i) {
|
|
762
|
+
var _s,
|
|
763
|
+
_e,
|
|
764
|
+
_x,
|
|
765
|
+
_r,
|
|
766
|
+
_arr = [],
|
|
767
|
+
_n = !0,
|
|
768
|
+
_d = !1;
|
|
769
|
+
try {
|
|
770
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
771
|
+
if (Object(_i) !== _i) return;
|
|
772
|
+
_n = !1;
|
|
773
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
774
|
+
} catch (err) {
|
|
775
|
+
_d = !0, _e = err;
|
|
776
|
+
} finally {
|
|
777
|
+
try {
|
|
778
|
+
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
779
|
+
} finally {
|
|
780
|
+
if (_d) throw _e;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
return _arr;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
function _iterableToArrayLimitLoose(arr, i) {
|
|
787
|
+
var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]);
|
|
788
|
+
if (null != _i) {
|
|
789
|
+
var _s,
|
|
790
|
+
_arr = [];
|
|
791
|
+
for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value);
|
|
792
|
+
return _arr;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
559
795
|
var REACT_ELEMENT_TYPE;
|
|
560
796
|
function _jsx(type, props, key, children) {
|
|
561
797
|
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103);
|
|
@@ -734,14 +970,9 @@ function _regeneratorRuntime() {
|
|
|
734
970
|
};
|
|
735
971
|
}
|
|
736
972
|
function maybeInvokeDelegate(delegate, context) {
|
|
737
|
-
var
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
741
|
-
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
742
|
-
}
|
|
743
|
-
return ContinueSentinel;
|
|
744
|
-
}
|
|
973
|
+
var methodName = context.method,
|
|
974
|
+
method = delegate.iterator[methodName];
|
|
975
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
745
976
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
746
977
|
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
747
978
|
var info = record.arg;
|
|
@@ -1010,7 +1241,7 @@ function _defineProperties(target, props) {
|
|
|
1010
1241
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
1011
1242
|
descriptor.configurable = true;
|
|
1012
1243
|
if ("value" in descriptor) descriptor.writable = true;
|
|
1013
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1244
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
1014
1245
|
}
|
|
1015
1246
|
}
|
|
1016
1247
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
@@ -1052,6 +1283,7 @@ function _defaults(obj, defaults) {
|
|
|
1052
1283
|
return obj;
|
|
1053
1284
|
}
|
|
1054
1285
|
function _defineProperty(obj, key, value) {
|
|
1286
|
+
key = _toPropertyKey(key);
|
|
1055
1287
|
if (key in obj) {
|
|
1056
1288
|
Object.defineProperty(obj, key, {
|
|
1057
1289
|
value: value,
|
|
@@ -1353,7 +1585,7 @@ function set$1(target, property, value, receiver) {
|
|
|
1353
1585
|
function _set(target, property, value, receiver, isStrict) {
|
|
1354
1586
|
var s = set$1(target, property, value, receiver || target);
|
|
1355
1587
|
if (!s && isStrict) {
|
|
1356
|
-
throw new
|
|
1588
|
+
throw new TypeError('failed to set property');
|
|
1357
1589
|
}
|
|
1358
1590
|
return value;
|
|
1359
1591
|
}
|
|
@@ -1381,7 +1613,7 @@ function _writeOnlyError(name) {
|
|
|
1381
1613
|
throw new TypeError("\"" + name + "\" is write-only");
|
|
1382
1614
|
}
|
|
1383
1615
|
function _classNameTDZError(name) {
|
|
1384
|
-
throw new
|
|
1616
|
+
throw new ReferenceError("Class \"" + name + "\" cannot be referenced in computed property keys.");
|
|
1385
1617
|
}
|
|
1386
1618
|
function _temporalUndefined() {}
|
|
1387
1619
|
function _tdz(name) {
|
|
@@ -1418,40 +1650,6 @@ function _maybeArrayLike(next, arr, i) {
|
|
|
1418
1650
|
function _iterableToArray(iter) {
|
|
1419
1651
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1420
1652
|
}
|
|
1421
|
-
function _iterableToArrayLimit(arr, i) {
|
|
1422
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
1423
|
-
if (_i == null) return;
|
|
1424
|
-
var _arr = [];
|
|
1425
|
-
var _n = true;
|
|
1426
|
-
var _d = false;
|
|
1427
|
-
var _s, _e;
|
|
1428
|
-
try {
|
|
1429
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
1430
|
-
_arr.push(_s.value);
|
|
1431
|
-
if (i && _arr.length === i) break;
|
|
1432
|
-
}
|
|
1433
|
-
} catch (err) {
|
|
1434
|
-
_d = true;
|
|
1435
|
-
_e = err;
|
|
1436
|
-
} finally {
|
|
1437
|
-
try {
|
|
1438
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
1439
|
-
} finally {
|
|
1440
|
-
if (_d) throw _e;
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
return _arr;
|
|
1444
|
-
}
|
|
1445
|
-
function _iterableToArrayLimitLoose(arr, i) {
|
|
1446
|
-
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
|
1447
|
-
if (_i == null) return;
|
|
1448
|
-
var _arr = [];
|
|
1449
|
-
for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) {
|
|
1450
|
-
_arr.push(_step.value);
|
|
1451
|
-
if (i && _arr.length === i) break;
|
|
1452
|
-
}
|
|
1453
|
-
return _arr;
|
|
1454
|
-
}
|
|
1455
1653
|
function _unsupportedIterableToArray(o, minLen) {
|
|
1456
1654
|
if (!o) return;
|
|
1457
1655
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -2072,9 +2270,16 @@ function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
|
2072
2270
|
}
|
|
2073
2271
|
|
|
2074
2272
|
function getAugmentedNamespace(n) {
|
|
2273
|
+
if (n.__esModule) return n;
|
|
2075
2274
|
var f = n.default;
|
|
2076
2275
|
if (typeof f == "function") {
|
|
2077
|
-
var a = function () {
|
|
2276
|
+
var a = function a () {
|
|
2277
|
+
if (this instanceof a) {
|
|
2278
|
+
var args = [null];
|
|
2279
|
+
args.push.apply(args, arguments);
|
|
2280
|
+
var Ctor = Function.bind.apply(f, args);
|
|
2281
|
+
return new Ctor();
|
|
2282
|
+
}
|
|
2078
2283
|
return f.apply(this, arguments);
|
|
2079
2284
|
};
|
|
2080
2285
|
a.prototype = f.prototype;
|
|
@@ -2094,6 +2299,23 @@ function getAugmentedNamespace(n) {
|
|
|
2094
2299
|
|
|
2095
2300
|
var es_number_constructor = {};
|
|
2096
2301
|
|
|
2302
|
+
var check = function (it) {
|
|
2303
|
+
return it && it.Math == Math && it;
|
|
2304
|
+
};
|
|
2305
|
+
|
|
2306
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2307
|
+
var global$e =
|
|
2308
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
2309
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
2310
|
+
check(typeof window == 'object' && window) ||
|
|
2311
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
2312
|
+
check(typeof self == 'object' && self) ||
|
|
2313
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
2314
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
2315
|
+
(function () { return this; })() || Function('return this')();
|
|
2316
|
+
|
|
2317
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
2318
|
+
|
|
2097
2319
|
var fails$f = function (exec) {
|
|
2098
2320
|
try {
|
|
2099
2321
|
return !!exec();
|
|
@@ -2110,21 +2332,6 @@ var descriptors = !fails$e(function () {
|
|
|
2110
2332
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
2111
2333
|
});
|
|
2112
2334
|
|
|
2113
|
-
var check = function (it) {
|
|
2114
|
-
return it && it.Math == Math && it;
|
|
2115
|
-
};
|
|
2116
|
-
|
|
2117
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2118
|
-
var global$e =
|
|
2119
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
2120
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
2121
|
-
check(typeof window == 'object' && window) ||
|
|
2122
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
2123
|
-
check(typeof self == 'object' && self) ||
|
|
2124
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
2125
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
2126
|
-
(function () { return this; })() || Function('return this')();
|
|
2127
|
-
|
|
2128
2335
|
var fails$d = fails$f;
|
|
2129
2336
|
|
|
2130
2337
|
var functionBindNative = !fails$d(function () {
|
|
@@ -2136,38 +2343,104 @@ var functionBindNative = !fails$d(function () {
|
|
|
2136
2343
|
|
|
2137
2344
|
var NATIVE_BIND$3 = functionBindNative;
|
|
2138
2345
|
|
|
2346
|
+
var call$8 = Function.prototype.call;
|
|
2347
|
+
|
|
2348
|
+
var functionCall = NATIVE_BIND$3 ? call$8.bind(call$8) : function () {
|
|
2349
|
+
return call$8.apply(call$8, arguments);
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
var objectPropertyIsEnumerable = {};
|
|
2353
|
+
|
|
2354
|
+
'use strict';
|
|
2355
|
+
var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
|
|
2356
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2357
|
+
var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
|
|
2358
|
+
|
|
2359
|
+
// Nashorn ~ JDK8 bug
|
|
2360
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
|
|
2361
|
+
|
|
2362
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
2363
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
2364
|
+
var f$7 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
2365
|
+
var descriptor = getOwnPropertyDescriptor$3(this, V);
|
|
2366
|
+
return !!descriptor && descriptor.enumerable;
|
|
2367
|
+
} : $propertyIsEnumerable$1;
|
|
2368
|
+
|
|
2369
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
2370
|
+
return {
|
|
2371
|
+
enumerable: !(bitmap & 1),
|
|
2372
|
+
configurable: !(bitmap & 2),
|
|
2373
|
+
writable: !(bitmap & 4),
|
|
2374
|
+
value: value
|
|
2375
|
+
};
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
2379
|
+
|
|
2139
2380
|
var FunctionPrototype$2 = Function.prototype;
|
|
2140
|
-
var call$
|
|
2141
|
-
var uncurryThisWithBind = NATIVE_BIND$
|
|
2381
|
+
var call$7 = FunctionPrototype$2.call;
|
|
2382
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$7, call$7);
|
|
2142
2383
|
|
|
2143
|
-
var
|
|
2384
|
+
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
2144
2385
|
return function () {
|
|
2145
|
-
return call$
|
|
2386
|
+
return call$7.apply(fn, arguments);
|
|
2146
2387
|
};
|
|
2147
2388
|
};
|
|
2148
2389
|
|
|
2149
|
-
var
|
|
2390
|
+
var uncurryThis$m = functionUncurryThis;
|
|
2150
2391
|
|
|
2151
|
-
var toString$
|
|
2152
|
-
var stringSlice$
|
|
2392
|
+
var toString$7 = uncurryThis$m({}.toString);
|
|
2393
|
+
var stringSlice$3 = uncurryThis$m(''.slice);
|
|
2153
2394
|
|
|
2154
2395
|
var classofRaw$2 = function (it) {
|
|
2155
|
-
return stringSlice$
|
|
2396
|
+
return stringSlice$3(toString$7(it), 8, -1);
|
|
2156
2397
|
};
|
|
2157
2398
|
|
|
2158
|
-
var
|
|
2159
|
-
var
|
|
2399
|
+
var uncurryThis$l = functionUncurryThis;
|
|
2400
|
+
var fails$c = fails$f;
|
|
2401
|
+
var classof$7 = classofRaw$2;
|
|
2160
2402
|
|
|
2161
|
-
var
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2403
|
+
var $Object$3 = Object;
|
|
2404
|
+
var split = uncurryThis$l(''.split);
|
|
2405
|
+
|
|
2406
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2407
|
+
var indexedObject = fails$c(function () {
|
|
2408
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
2409
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2410
|
+
return !$Object$3('z').propertyIsEnumerable(0);
|
|
2411
|
+
}) ? function (it) {
|
|
2412
|
+
return classof$7(it) == 'String' ? split(it, '') : $Object$3(it);
|
|
2413
|
+
} : $Object$3;
|
|
2414
|
+
|
|
2415
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
2416
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
2417
|
+
var isNullOrUndefined$2 = function (it) {
|
|
2418
|
+
return it === null || it === undefined;
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
2422
|
+
|
|
2423
|
+
var $TypeError$9 = TypeError;
|
|
2424
|
+
|
|
2425
|
+
// `RequireObjectCoercible` abstract operation
|
|
2426
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
2427
|
+
var requireObjectCoercible$3 = function (it) {
|
|
2428
|
+
if (isNullOrUndefined$1(it)) throw $TypeError$9("Can't call method on " + it);
|
|
2429
|
+
return it;
|
|
2430
|
+
};
|
|
2431
|
+
|
|
2432
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
2433
|
+
var IndexedObject$1 = indexedObject;
|
|
2434
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
2435
|
+
|
|
2436
|
+
var toIndexedObject$6 = function (it) {
|
|
2437
|
+
return IndexedObject$1(requireObjectCoercible$2(it));
|
|
2166
2438
|
};
|
|
2167
2439
|
|
|
2168
2440
|
var documentAll$2 = typeof document == 'object' && document.all;
|
|
2169
2441
|
|
|
2170
2442
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
2443
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
2171
2444
|
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
2172
2445
|
|
|
2173
2446
|
var documentAll_1 = {
|
|
@@ -2181,127 +2454,45 @@ var documentAll$1 = $documentAll$1.all;
|
|
|
2181
2454
|
|
|
2182
2455
|
// `IsCallable` abstract operation
|
|
2183
2456
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
2184
|
-
var isCallable$
|
|
2457
|
+
var isCallable$h = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
2185
2458
|
return typeof argument == 'function' || argument === documentAll$1;
|
|
2186
2459
|
} : function (argument) {
|
|
2187
2460
|
return typeof argument == 'function';
|
|
2188
2461
|
};
|
|
2189
2462
|
|
|
2190
|
-
var
|
|
2191
|
-
var isCallable$f = isCallable$g;
|
|
2192
|
-
|
|
2193
|
-
var replacement = /#|\.prototype\./;
|
|
2194
|
-
|
|
2195
|
-
var isForced$2 = function (feature, detection) {
|
|
2196
|
-
var value = data[normalize(feature)];
|
|
2197
|
-
return value == POLYFILL ? true
|
|
2198
|
-
: value == NATIVE ? false
|
|
2199
|
-
: isCallable$f(detection) ? fails$c(detection)
|
|
2200
|
-
: !!detection;
|
|
2201
|
-
};
|
|
2202
|
-
|
|
2203
|
-
var normalize = isForced$2.normalize = function (string) {
|
|
2204
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
|
2205
|
-
};
|
|
2206
|
-
|
|
2207
|
-
var data = isForced$2.data = {};
|
|
2208
|
-
var NATIVE = isForced$2.NATIVE = 'N';
|
|
2209
|
-
var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
2210
|
-
|
|
2211
|
-
var isForced_1 = isForced$2;
|
|
2212
|
-
|
|
2213
|
-
var objectDefineProperty = {};
|
|
2214
|
-
|
|
2215
|
-
var isCallable$e = isCallable$g;
|
|
2463
|
+
var isCallable$g = isCallable$h;
|
|
2216
2464
|
var $documentAll = documentAll_1;
|
|
2217
2465
|
|
|
2218
2466
|
var documentAll = $documentAll.all;
|
|
2219
2467
|
|
|
2220
|
-
var isObject$
|
|
2221
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
2468
|
+
var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
2469
|
+
return typeof it == 'object' ? it !== null : isCallable$g(it) || it === documentAll;
|
|
2222
2470
|
} : function (it) {
|
|
2223
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
2471
|
+
return typeof it == 'object' ? it !== null : isCallable$g(it);
|
|
2224
2472
|
};
|
|
2225
2473
|
|
|
2226
2474
|
var global$d = global$e;
|
|
2227
|
-
var
|
|
2228
|
-
|
|
2229
|
-
var document$1 = global$d.document;
|
|
2230
|
-
// typeof document.createElement is 'object' in old IE
|
|
2231
|
-
var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
|
|
2232
|
-
|
|
2233
|
-
var documentCreateElement$1 = function (it) {
|
|
2234
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
2235
|
-
};
|
|
2236
|
-
|
|
2237
|
-
var DESCRIPTORS$b = descriptors;
|
|
2238
|
-
var fails$b = fails$f;
|
|
2239
|
-
var createElement = documentCreateElement$1;
|
|
2240
|
-
|
|
2241
|
-
// Thanks to IE8 for its funny defineProperty
|
|
2242
|
-
var ie8DomDefine = !DESCRIPTORS$b && !fails$b(function () {
|
|
2243
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2244
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
2245
|
-
get: function () { return 7; }
|
|
2246
|
-
}).a != 7;
|
|
2247
|
-
});
|
|
2248
|
-
|
|
2249
|
-
var DESCRIPTORS$a = descriptors;
|
|
2250
|
-
var fails$a = fails$f;
|
|
2251
|
-
|
|
2252
|
-
// V8 ~ Chrome 36-
|
|
2253
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2254
|
-
var v8PrototypeDefineBug = DESCRIPTORS$a && fails$a(function () {
|
|
2255
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2256
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2257
|
-
value: 42,
|
|
2258
|
-
writable: false
|
|
2259
|
-
}).prototype != 42;
|
|
2260
|
-
});
|
|
2261
|
-
|
|
2262
|
-
var isObject$6 = isObject$8;
|
|
2263
|
-
|
|
2264
|
-
var $String$3 = String;
|
|
2265
|
-
var $TypeError$9 = TypeError;
|
|
2266
|
-
|
|
2267
|
-
// `Assert: Type(argument) is Object`
|
|
2268
|
-
var anObject$6 = function (argument) {
|
|
2269
|
-
if (isObject$6(argument)) return argument;
|
|
2270
|
-
throw $TypeError$9($String$3(argument) + ' is not an object');
|
|
2271
|
-
};
|
|
2272
|
-
|
|
2273
|
-
var NATIVE_BIND$2 = functionBindNative;
|
|
2274
|
-
|
|
2275
|
-
var call$7 = Function.prototype.call;
|
|
2276
|
-
|
|
2277
|
-
var functionCall = NATIVE_BIND$2 ? call$7.bind(call$7) : function () {
|
|
2278
|
-
return call$7.apply(call$7, arguments);
|
|
2279
|
-
};
|
|
2280
|
-
|
|
2281
|
-
var global$c = global$e;
|
|
2282
|
-
var isCallable$d = isCallable$g;
|
|
2475
|
+
var isCallable$f = isCallable$h;
|
|
2283
2476
|
|
|
2284
2477
|
var aFunction = function (argument) {
|
|
2285
|
-
return isCallable$
|
|
2478
|
+
return isCallable$f(argument) ? argument : undefined;
|
|
2286
2479
|
};
|
|
2287
2480
|
|
|
2288
|
-
var getBuiltIn$
|
|
2289
|
-
return arguments.length < 2 ? aFunction(global$
|
|
2481
|
+
var getBuiltIn$7 = function (namespace, method) {
|
|
2482
|
+
return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
|
|
2290
2483
|
};
|
|
2291
2484
|
|
|
2292
|
-
var uncurryThis$
|
|
2293
|
-
|
|
2294
|
-
var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);
|
|
2485
|
+
var uncurryThis$k = functionUncurryThis;
|
|
2295
2486
|
|
|
2296
|
-
var
|
|
2487
|
+
var objectIsPrototypeOf = uncurryThis$k({}.isPrototypeOf);
|
|
2297
2488
|
|
|
2298
|
-
var engineUserAgent =
|
|
2489
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
2299
2490
|
|
|
2300
|
-
var global$
|
|
2491
|
+
var global$c = global$e;
|
|
2301
2492
|
var userAgent = engineUserAgent;
|
|
2302
2493
|
|
|
2303
|
-
var process = global$
|
|
2304
|
-
var Deno = global$
|
|
2494
|
+
var process = global$c.process;
|
|
2495
|
+
var Deno = global$c.Deno;
|
|
2305
2496
|
var versions = process && process.versions || Deno && Deno.version;
|
|
2306
2497
|
var v8 = versions && versions.v8;
|
|
2307
2498
|
var match, version;
|
|
@@ -2328,10 +2519,10 @@ var engineV8Version = version;
|
|
|
2328
2519
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
2329
2520
|
|
|
2330
2521
|
var V8_VERSION$1 = engineV8Version;
|
|
2331
|
-
var fails$
|
|
2522
|
+
var fails$b = fails$f;
|
|
2332
2523
|
|
|
2333
2524
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
2334
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
2525
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
2335
2526
|
var symbol = Symbol();
|
|
2336
2527
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
2337
2528
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -2348,60 +2539,54 @@ var useSymbolAsUid = NATIVE_SYMBOL$6
|
|
|
2348
2539
|
&& !Symbol.sham
|
|
2349
2540
|
&& typeof Symbol.iterator == 'symbol';
|
|
2350
2541
|
|
|
2351
|
-
var getBuiltIn$6 = getBuiltIn$
|
|
2352
|
-
var isCallable$
|
|
2542
|
+
var getBuiltIn$6 = getBuiltIn$7;
|
|
2543
|
+
var isCallable$e = isCallable$h;
|
|
2353
2544
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
2354
2545
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
2355
2546
|
|
|
2356
|
-
var $Object$
|
|
2547
|
+
var $Object$2 = Object;
|
|
2357
2548
|
|
|
2358
2549
|
var isSymbol$5 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
2359
2550
|
return typeof it == 'symbol';
|
|
2360
2551
|
} : function (it) {
|
|
2361
2552
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
2362
|
-
return isCallable$
|
|
2553
|
+
return isCallable$e($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
|
|
2363
2554
|
};
|
|
2364
2555
|
|
|
2365
|
-
var $String$
|
|
2556
|
+
var $String$5 = String;
|
|
2366
2557
|
|
|
2367
2558
|
var tryToString$3 = function (argument) {
|
|
2368
2559
|
try {
|
|
2369
|
-
return $String$
|
|
2560
|
+
return $String$5(argument);
|
|
2370
2561
|
} catch (error) {
|
|
2371
2562
|
return 'Object';
|
|
2372
2563
|
}
|
|
2373
2564
|
};
|
|
2374
2565
|
|
|
2375
|
-
var isCallable$
|
|
2566
|
+
var isCallable$d = isCallable$h;
|
|
2376
2567
|
var tryToString$2 = tryToString$3;
|
|
2377
2568
|
|
|
2378
2569
|
var $TypeError$8 = TypeError;
|
|
2379
2570
|
|
|
2380
2571
|
// `Assert: IsCallable(argument) is true`
|
|
2381
|
-
var aCallable$
|
|
2382
|
-
if (isCallable$
|
|
2572
|
+
var aCallable$3 = function (argument) {
|
|
2573
|
+
if (isCallable$d(argument)) return argument;
|
|
2383
2574
|
throw $TypeError$8(tryToString$2(argument) + ' is not a function');
|
|
2384
2575
|
};
|
|
2385
2576
|
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
var isNullOrUndefined$2 = function (it) {
|
|
2389
|
-
return it === null || it === undefined;
|
|
2390
|
-
};
|
|
2391
|
-
|
|
2392
|
-
var aCallable$1 = aCallable$2;
|
|
2393
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
2577
|
+
var aCallable$2 = aCallable$3;
|
|
2578
|
+
var isNullOrUndefined = isNullOrUndefined$2;
|
|
2394
2579
|
|
|
2395
2580
|
// `GetMethod` abstract operation
|
|
2396
2581
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
2397
2582
|
var getMethod$1 = function (V, P) {
|
|
2398
2583
|
var func = V[P];
|
|
2399
|
-
return isNullOrUndefined
|
|
2584
|
+
return isNullOrUndefined(func) ? undefined : aCallable$2(func);
|
|
2400
2585
|
};
|
|
2401
2586
|
|
|
2402
2587
|
var call$6 = functionCall;
|
|
2403
|
-
var isCallable$
|
|
2404
|
-
var isObject$
|
|
2588
|
+
var isCallable$c = isCallable$h;
|
|
2589
|
+
var isObject$6 = isObject$7;
|
|
2405
2590
|
|
|
2406
2591
|
var $TypeError$7 = TypeError;
|
|
2407
2592
|
|
|
@@ -2409,75 +2594,68 @@ var $TypeError$7 = TypeError;
|
|
|
2409
2594
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
2410
2595
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
2411
2596
|
var fn, val;
|
|
2412
|
-
if (pref === 'string' && isCallable$
|
|
2413
|
-
if (isCallable$
|
|
2414
|
-
if (pref !== 'string' && isCallable$
|
|
2597
|
+
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$6(val = call$6(fn, input))) return val;
|
|
2598
|
+
if (isCallable$c(fn = input.valueOf) && !isObject$6(val = call$6(fn, input))) return val;
|
|
2599
|
+
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$6(val = call$6(fn, input))) return val;
|
|
2415
2600
|
throw $TypeError$7("Can't convert object to primitive value");
|
|
2416
2601
|
};
|
|
2417
2602
|
|
|
2418
|
-
var
|
|
2603
|
+
var sharedExports = {};
|
|
2604
|
+
var shared$6 = {
|
|
2605
|
+
get exports(){ return sharedExports; },
|
|
2606
|
+
set exports(v){ sharedExports = v; },
|
|
2607
|
+
};
|
|
2419
2608
|
|
|
2420
2609
|
var isPure = false;
|
|
2421
2610
|
|
|
2422
|
-
var global$
|
|
2611
|
+
var global$b = global$e;
|
|
2423
2612
|
|
|
2424
2613
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2425
2614
|
var defineProperty$6 = Object.defineProperty;
|
|
2426
2615
|
|
|
2427
2616
|
var defineGlobalProperty$3 = function (key, value) {
|
|
2428
2617
|
try {
|
|
2429
|
-
defineProperty$6(global$
|
|
2618
|
+
defineProperty$6(global$b, key, { value: value, configurable: true, writable: true });
|
|
2430
2619
|
} catch (error) {
|
|
2431
|
-
global$
|
|
2620
|
+
global$b[key] = value;
|
|
2432
2621
|
} return value;
|
|
2433
2622
|
};
|
|
2434
2623
|
|
|
2435
|
-
var global$
|
|
2624
|
+
var global$a = global$e;
|
|
2436
2625
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
2437
2626
|
|
|
2438
2627
|
var SHARED = '__core-js_shared__';
|
|
2439
|
-
var store$3 = global$
|
|
2628
|
+
var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
2440
2629
|
|
|
2441
2630
|
var sharedStore = store$3;
|
|
2442
2631
|
|
|
2443
|
-
var IS_PURE$
|
|
2632
|
+
var IS_PURE$2 = isPure;
|
|
2444
2633
|
var store$2 = sharedStore;
|
|
2445
2634
|
|
|
2446
2635
|
(shared$6.exports = function (key, value) {
|
|
2447
2636
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
2448
2637
|
})('versions', []).push({
|
|
2449
|
-
version: '3.
|
|
2450
|
-
mode: IS_PURE$
|
|
2451
|
-
copyright: '© 2014-
|
|
2452
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
2638
|
+
version: '3.28.0',
|
|
2639
|
+
mode: IS_PURE$2 ? 'pure' : 'global',
|
|
2640
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
2641
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',
|
|
2453
2642
|
source: 'https://github.com/zloirock/core-js'
|
|
2454
2643
|
});
|
|
2455
2644
|
|
|
2456
|
-
var
|
|
2457
|
-
|
|
2458
|
-
var $TypeError$6 = TypeError;
|
|
2459
|
-
|
|
2460
|
-
// `RequireObjectCoercible` abstract operation
|
|
2461
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
2462
|
-
var requireObjectCoercible$3 = function (it) {
|
|
2463
|
-
if (isNullOrUndefined(it)) throw $TypeError$6("Can't call method on " + it);
|
|
2464
|
-
return it;
|
|
2465
|
-
};
|
|
2466
|
-
|
|
2467
|
-
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
2645
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
2468
2646
|
|
|
2469
|
-
var $Object$
|
|
2647
|
+
var $Object$1 = Object;
|
|
2470
2648
|
|
|
2471
2649
|
// `ToObject` abstract operation
|
|
2472
2650
|
// https://tc39.es/ecma262/#sec-toobject
|
|
2473
2651
|
var toObject$4 = function (argument) {
|
|
2474
|
-
return $Object$
|
|
2652
|
+
return $Object$1(requireObjectCoercible$1(argument));
|
|
2475
2653
|
};
|
|
2476
2654
|
|
|
2477
|
-
var uncurryThis$
|
|
2655
|
+
var uncurryThis$j = functionUncurryThis;
|
|
2478
2656
|
var toObject$3 = toObject$4;
|
|
2479
2657
|
|
|
2480
|
-
var hasOwnProperty$1 = uncurryThis$
|
|
2658
|
+
var hasOwnProperty$1 = uncurryThis$j({}.hasOwnProperty);
|
|
2481
2659
|
|
|
2482
2660
|
// `HasOwnProperty` abstract operation
|
|
2483
2661
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -2486,62 +2664,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
2486
2664
|
return hasOwnProperty$1(toObject$3(it), key);
|
|
2487
2665
|
};
|
|
2488
2666
|
|
|
2489
|
-
var uncurryThis$
|
|
2667
|
+
var uncurryThis$i = functionUncurryThis;
|
|
2490
2668
|
|
|
2491
2669
|
var id = 0;
|
|
2492
2670
|
var postfix = Math.random();
|
|
2493
|
-
var toString$
|
|
2671
|
+
var toString$6 = uncurryThis$i(1.0.toString);
|
|
2494
2672
|
|
|
2495
2673
|
var uid$3 = function (key) {
|
|
2496
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
2674
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
|
|
2497
2675
|
};
|
|
2498
2676
|
|
|
2499
|
-
var global$
|
|
2500
|
-
var shared$5 =
|
|
2677
|
+
var global$9 = global$e;
|
|
2678
|
+
var shared$5 = sharedExports;
|
|
2501
2679
|
var hasOwn$d = hasOwnProperty_1;
|
|
2502
2680
|
var uid$2 = uid$3;
|
|
2503
2681
|
var NATIVE_SYMBOL$5 = symbolConstructorDetection;
|
|
2504
2682
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
2505
2683
|
|
|
2684
|
+
var Symbol$1 = global$9.Symbol;
|
|
2506
2685
|
var WellKnownSymbolsStore$1 = shared$5('wks');
|
|
2507
|
-
var Symbol$1
|
|
2508
|
-
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
2509
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$2;
|
|
2686
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$2;
|
|
2510
2687
|
|
|
2511
2688
|
var wellKnownSymbol$a = function (name) {
|
|
2512
|
-
if (!hasOwn$d(WellKnownSymbolsStore$1, name)
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
2517
|
-
WellKnownSymbolsStore$1[name] = symbolFor(description);
|
|
2518
|
-
} else {
|
|
2519
|
-
WellKnownSymbolsStore$1[name] = createWellKnownSymbol(description);
|
|
2520
|
-
}
|
|
2689
|
+
if (!hasOwn$d(WellKnownSymbolsStore$1, name)) {
|
|
2690
|
+
WellKnownSymbolsStore$1[name] = NATIVE_SYMBOL$5 && hasOwn$d(Symbol$1, name)
|
|
2691
|
+
? Symbol$1[name]
|
|
2692
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
2521
2693
|
} return WellKnownSymbolsStore$1[name];
|
|
2522
2694
|
};
|
|
2523
2695
|
|
|
2524
2696
|
var call$5 = functionCall;
|
|
2525
|
-
var isObject$
|
|
2697
|
+
var isObject$5 = isObject$7;
|
|
2526
2698
|
var isSymbol$4 = isSymbol$5;
|
|
2527
2699
|
var getMethod = getMethod$1;
|
|
2528
2700
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
2529
2701
|
var wellKnownSymbol$9 = wellKnownSymbol$a;
|
|
2530
2702
|
|
|
2531
|
-
var $TypeError$
|
|
2703
|
+
var $TypeError$6 = TypeError;
|
|
2532
2704
|
var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
|
|
2533
2705
|
|
|
2534
2706
|
// `ToPrimitive` abstract operation
|
|
2535
2707
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2536
2708
|
var toPrimitive$2 = function (input, pref) {
|
|
2537
|
-
if (!isObject$
|
|
2709
|
+
if (!isObject$5(input) || isSymbol$4(input)) return input;
|
|
2538
2710
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
2539
2711
|
var result;
|
|
2540
2712
|
if (exoticToPrim) {
|
|
2541
2713
|
if (pref === undefined) pref = 'default';
|
|
2542
2714
|
result = call$5(exoticToPrim, input, pref);
|
|
2543
|
-
if (!isObject$
|
|
2544
|
-
throw $TypeError$
|
|
2715
|
+
if (!isObject$5(result) || isSymbol$4(result)) return result;
|
|
2716
|
+
throw $TypeError$6("Can't convert object to primitive value");
|
|
2545
2717
|
}
|
|
2546
2718
|
if (pref === undefined) pref = 'number';
|
|
2547
2719
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -2557,29 +2729,101 @@ var toPropertyKey$4 = function (argument) {
|
|
|
2557
2729
|
return isSymbol$3(key) ? key : key + '';
|
|
2558
2730
|
};
|
|
2559
2731
|
|
|
2560
|
-
var
|
|
2732
|
+
var global$8 = global$e;
|
|
2733
|
+
var isObject$4 = isObject$7;
|
|
2734
|
+
|
|
2735
|
+
var document$1 = global$8.document;
|
|
2736
|
+
// typeof document.createElement is 'object' in old IE
|
|
2737
|
+
var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
|
2738
|
+
|
|
2739
|
+
var documentCreateElement$1 = function (it) {
|
|
2740
|
+
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
var DESCRIPTORS$b = descriptors;
|
|
2744
|
+
var fails$a = fails$f;
|
|
2745
|
+
var createElement = documentCreateElement$1;
|
|
2746
|
+
|
|
2747
|
+
// Thanks to IE8 for its funny defineProperty
|
|
2748
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$a(function () {
|
|
2749
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2750
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
2751
|
+
get: function () { return 7; }
|
|
2752
|
+
}).a != 7;
|
|
2753
|
+
});
|
|
2754
|
+
|
|
2755
|
+
var DESCRIPTORS$a = descriptors;
|
|
2756
|
+
var call$4 = functionCall;
|
|
2757
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
2758
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
2759
|
+
var toIndexedObject$5 = toIndexedObject$6;
|
|
2760
|
+
var toPropertyKey$3 = toPropertyKey$4;
|
|
2761
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
2561
2762
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
2763
|
+
|
|
2764
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2765
|
+
var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
2766
|
+
|
|
2767
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
2768
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
2769
|
+
var f$6 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
|
|
2770
|
+
O = toIndexedObject$5(O);
|
|
2771
|
+
P = toPropertyKey$3(P);
|
|
2772
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
2773
|
+
return $getOwnPropertyDescriptor$2(O, P);
|
|
2774
|
+
} catch (error) { /* empty */ }
|
|
2775
|
+
if (hasOwn$c(O, P)) return createPropertyDescriptor$3(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
2776
|
+
};
|
|
2777
|
+
|
|
2778
|
+
var objectDefineProperty = {};
|
|
2779
|
+
|
|
2780
|
+
var DESCRIPTORS$9 = descriptors;
|
|
2781
|
+
var fails$9 = fails$f;
|
|
2782
|
+
|
|
2783
|
+
// V8 ~ Chrome 36-
|
|
2784
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2785
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
2786
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2787
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2788
|
+
value: 42,
|
|
2789
|
+
writable: false
|
|
2790
|
+
}).prototype != 42;
|
|
2791
|
+
});
|
|
2792
|
+
|
|
2793
|
+
var isObject$3 = isObject$7;
|
|
2794
|
+
|
|
2795
|
+
var $String$4 = String;
|
|
2796
|
+
var $TypeError$5 = TypeError;
|
|
2797
|
+
|
|
2798
|
+
// `Assert: Type(argument) is Object`
|
|
2799
|
+
var anObject$6 = function (argument) {
|
|
2800
|
+
if (isObject$3(argument)) return argument;
|
|
2801
|
+
throw $TypeError$5($String$4(argument) + ' is not an object');
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
var DESCRIPTORS$8 = descriptors;
|
|
2805
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
2562
2806
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
2563
2807
|
var anObject$5 = anObject$6;
|
|
2564
|
-
var toPropertyKey$
|
|
2808
|
+
var toPropertyKey$2 = toPropertyKey$4;
|
|
2565
2809
|
|
|
2566
2810
|
var $TypeError$4 = TypeError;
|
|
2567
2811
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2568
2812
|
var $defineProperty$1 = Object.defineProperty;
|
|
2569
2813
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2570
|
-
var $getOwnPropertyDescriptor$
|
|
2814
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2571
2815
|
var ENUMERABLE = 'enumerable';
|
|
2572
2816
|
var CONFIGURABLE$1 = 'configurable';
|
|
2573
2817
|
var WRITABLE = 'writable';
|
|
2574
2818
|
|
|
2575
2819
|
// `Object.defineProperty` method
|
|
2576
2820
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2577
|
-
var f$
|
|
2821
|
+
var f$5 = objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
2578
2822
|
anObject$5(O);
|
|
2579
|
-
P = toPropertyKey$
|
|
2823
|
+
P = toPropertyKey$2(P);
|
|
2580
2824
|
anObject$5(Attributes);
|
|
2581
2825
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
2582
|
-
var current = $getOwnPropertyDescriptor$
|
|
2826
|
+
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
2583
2827
|
if (current && current[WRITABLE]) {
|
|
2584
2828
|
O[P] = Attributes.value;
|
|
2585
2829
|
Attributes = {
|
|
@@ -2591,9 +2835,9 @@ var f$7 = objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? f
|
|
|
2591
2835
|
} return $defineProperty$1(O, P, Attributes);
|
|
2592
2836
|
} : $defineProperty$1 : function defineProperty(O, P, Attributes) {
|
|
2593
2837
|
anObject$5(O);
|
|
2594
|
-
P = toPropertyKey$
|
|
2838
|
+
P = toPropertyKey$2(P);
|
|
2595
2839
|
anObject$5(Attributes);
|
|
2596
|
-
if (IE8_DOM_DEFINE
|
|
2840
|
+
if (IE8_DOM_DEFINE) try {
|
|
2597
2841
|
return $defineProperty$1(O, P, Attributes);
|
|
2598
2842
|
} catch (error) { /* empty */ }
|
|
2599
2843
|
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$4('Accessors not supported');
|
|
@@ -2601,19 +2845,34 @@ var f$7 = objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? f
|
|
|
2601
2845
|
return O;
|
|
2602
2846
|
};
|
|
2603
2847
|
|
|
2604
|
-
var
|
|
2848
|
+
var DESCRIPTORS$7 = descriptors;
|
|
2849
|
+
var definePropertyModule$5 = objectDefineProperty;
|
|
2850
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
2605
2851
|
|
|
2606
|
-
var
|
|
2607
|
-
|
|
2852
|
+
var createNonEnumerableProperty$2 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
2853
|
+
return definePropertyModule$5.f(object, key, createPropertyDescriptor$2(1, value));
|
|
2854
|
+
} : function (object, key, value) {
|
|
2855
|
+
object[key] = value;
|
|
2856
|
+
return object;
|
|
2857
|
+
};
|
|
2858
|
+
|
|
2859
|
+
var makeBuiltInExports = {};
|
|
2860
|
+
var makeBuiltIn$3 = {
|
|
2861
|
+
get exports(){ return makeBuiltInExports; },
|
|
2862
|
+
set exports(v){ makeBuiltInExports = v; },
|
|
2863
|
+
};
|
|
2864
|
+
|
|
2865
|
+
var DESCRIPTORS$6 = descriptors;
|
|
2866
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
2608
2867
|
|
|
2609
2868
|
var FunctionPrototype$1 = Function.prototype;
|
|
2610
2869
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2611
|
-
var getDescriptor = DESCRIPTORS$
|
|
2870
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
2612
2871
|
|
|
2613
|
-
var EXISTS = hasOwn$
|
|
2872
|
+
var EXISTS = hasOwn$b(FunctionPrototype$1, 'name');
|
|
2614
2873
|
// additional protection from minified / mangled / dropped function names
|
|
2615
2874
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
2616
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
2875
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
2617
2876
|
|
|
2618
2877
|
var functionName = {
|
|
2619
2878
|
EXISTS: EXISTS,
|
|
@@ -2621,14 +2880,14 @@ var functionName = {
|
|
|
2621
2880
|
CONFIGURABLE: CONFIGURABLE
|
|
2622
2881
|
};
|
|
2623
2882
|
|
|
2624
|
-
var uncurryThis$
|
|
2625
|
-
var isCallable$
|
|
2883
|
+
var uncurryThis$h = functionUncurryThis;
|
|
2884
|
+
var isCallable$b = isCallable$h;
|
|
2626
2885
|
var store$1 = sharedStore;
|
|
2627
2886
|
|
|
2628
|
-
var functionToString = uncurryThis$
|
|
2887
|
+
var functionToString = uncurryThis$h(Function.toString);
|
|
2629
2888
|
|
|
2630
2889
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
2631
|
-
if (!isCallable$
|
|
2890
|
+
if (!isCallable$b(store$1.inspectSource)) {
|
|
2632
2891
|
store$1.inspectSource = function (it) {
|
|
2633
2892
|
return functionToString(it);
|
|
2634
2893
|
};
|
|
@@ -2637,48 +2896,28 @@ if (!isCallable$9(store$1.inspectSource)) {
|
|
|
2637
2896
|
var inspectSource$2 = store$1.inspectSource;
|
|
2638
2897
|
|
|
2639
2898
|
var global$7 = global$e;
|
|
2640
|
-
var isCallable$
|
|
2899
|
+
var isCallable$a = isCallable$h;
|
|
2641
2900
|
|
|
2642
2901
|
var WeakMap$2 = global$7.WeakMap;
|
|
2643
2902
|
|
|
2644
|
-
var weakMapBasicDetection = isCallable$
|
|
2645
|
-
|
|
2646
|
-
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
2647
|
-
return {
|
|
2648
|
-
enumerable: !(bitmap & 1),
|
|
2649
|
-
configurable: !(bitmap & 2),
|
|
2650
|
-
writable: !(bitmap & 4),
|
|
2651
|
-
value: value
|
|
2652
|
-
};
|
|
2653
|
-
};
|
|
2654
|
-
|
|
2655
|
-
var DESCRIPTORS$7 = descriptors;
|
|
2656
|
-
var definePropertyModule$5 = objectDefineProperty;
|
|
2657
|
-
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
2658
|
-
|
|
2659
|
-
var createNonEnumerableProperty$2 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
2660
|
-
return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
|
|
2661
|
-
} : function (object, key, value) {
|
|
2662
|
-
object[key] = value;
|
|
2663
|
-
return object;
|
|
2664
|
-
};
|
|
2903
|
+
var weakMapBasicDetection = isCallable$a(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
|
2665
2904
|
|
|
2666
|
-
var shared$4 =
|
|
2905
|
+
var shared$4 = sharedExports;
|
|
2667
2906
|
var uid$1 = uid$3;
|
|
2668
2907
|
|
|
2669
|
-
var keys
|
|
2908
|
+
var keys = shared$4('keys');
|
|
2670
2909
|
|
|
2671
2910
|
var sharedKey$3 = function (key) {
|
|
2672
|
-
return keys
|
|
2911
|
+
return keys[key] || (keys[key] = uid$1(key));
|
|
2673
2912
|
};
|
|
2674
2913
|
|
|
2675
2914
|
var hiddenKeys$5 = {};
|
|
2676
2915
|
|
|
2677
2916
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
2678
2917
|
var global$6 = global$e;
|
|
2679
|
-
var isObject$
|
|
2918
|
+
var isObject$2 = isObject$7;
|
|
2680
2919
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
|
2681
|
-
var hasOwn$
|
|
2920
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
2682
2921
|
var shared$3 = sharedStore;
|
|
2683
2922
|
var sharedKey$2 = sharedKey$3;
|
|
2684
2923
|
var hiddenKeys$4 = hiddenKeys$5;
|
|
@@ -2695,7 +2934,7 @@ var enforce = function (it) {
|
|
|
2695
2934
|
var getterFor = function (TYPE) {
|
|
2696
2935
|
return function (it) {
|
|
2697
2936
|
var state;
|
|
2698
|
-
if (!isObject$
|
|
2937
|
+
if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
|
|
2699
2938
|
throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
|
|
2700
2939
|
} return state;
|
|
2701
2940
|
};
|
|
@@ -2724,16 +2963,16 @@ if (NATIVE_WEAK_MAP || shared$3.state) {
|
|
|
2724
2963
|
var STATE = sharedKey$2('state');
|
|
2725
2964
|
hiddenKeys$4[STATE] = true;
|
|
2726
2965
|
set = function (it, metadata) {
|
|
2727
|
-
if (hasOwn$
|
|
2966
|
+
if (hasOwn$a(it, STATE)) throw TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
2728
2967
|
metadata.facade = it;
|
|
2729
2968
|
createNonEnumerableProperty$1(it, STATE, metadata);
|
|
2730
2969
|
return metadata;
|
|
2731
2970
|
};
|
|
2732
2971
|
get = function (it) {
|
|
2733
|
-
return hasOwn$
|
|
2972
|
+
return hasOwn$a(it, STATE) ? it[STATE] : {};
|
|
2734
2973
|
};
|
|
2735
2974
|
has = function (it) {
|
|
2736
|
-
return hasOwn$
|
|
2975
|
+
return hasOwn$a(it, STATE);
|
|
2737
2976
|
};
|
|
2738
2977
|
}
|
|
2739
2978
|
|
|
@@ -2745,66 +2984,71 @@ var internalState = {
|
|
|
2745
2984
|
getterFor: getterFor
|
|
2746
2985
|
};
|
|
2747
2986
|
|
|
2987
|
+
var uncurryThis$g = functionUncurryThis;
|
|
2748
2988
|
var fails$8 = fails$f;
|
|
2749
|
-
var isCallable$
|
|
2750
|
-
var hasOwn$
|
|
2751
|
-
var DESCRIPTORS$
|
|
2989
|
+
var isCallable$9 = isCallable$h;
|
|
2990
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
2991
|
+
var DESCRIPTORS$5 = descriptors;
|
|
2752
2992
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
2753
2993
|
var inspectSource$1 = inspectSource$2;
|
|
2754
2994
|
var InternalStateModule$1 = internalState;
|
|
2755
2995
|
|
|
2756
2996
|
var enforceInternalState = InternalStateModule$1.enforce;
|
|
2757
2997
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
2998
|
+
var $String$3 = String;
|
|
2758
2999
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2759
3000
|
var defineProperty$5 = Object.defineProperty;
|
|
3001
|
+
var stringSlice$2 = uncurryThis$g(''.slice);
|
|
3002
|
+
var replace$3 = uncurryThis$g(''.replace);
|
|
3003
|
+
var join = uncurryThis$g([].join);
|
|
2760
3004
|
|
|
2761
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
3005
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
2762
3006
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
2763
3007
|
});
|
|
2764
3008
|
|
|
2765
3009
|
var TEMPLATE = String(String).split('String');
|
|
2766
3010
|
|
|
2767
|
-
var makeBuiltIn$
|
|
2768
|
-
if (String(name)
|
|
2769
|
-
name = '[' + String(name)
|
|
3011
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
3012
|
+
if (stringSlice$2($String$3(name), 0, 7) === 'Symbol(') {
|
|
3013
|
+
name = '[' + replace$3($String$3(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
2770
3014
|
}
|
|
2771
3015
|
if (options && options.getter) name = 'get ' + name;
|
|
2772
3016
|
if (options && options.setter) name = 'set ' + name;
|
|
2773
|
-
if (!hasOwn$
|
|
2774
|
-
if (DESCRIPTORS$
|
|
3017
|
+
if (!hasOwn$9(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
3018
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
2775
3019
|
else value.name = name;
|
|
2776
3020
|
}
|
|
2777
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
3021
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$9(options, 'arity') && value.length !== options.arity) {
|
|
2778
3022
|
defineProperty$5(value, 'length', { value: options.arity });
|
|
2779
3023
|
}
|
|
2780
3024
|
try {
|
|
2781
|
-
if (options && hasOwn$
|
|
2782
|
-
if (DESCRIPTORS$
|
|
3025
|
+
if (options && hasOwn$9(options, 'constructor') && options.constructor) {
|
|
3026
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
2783
3027
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
2784
3028
|
} else if (value.prototype) value.prototype = undefined;
|
|
2785
3029
|
} catch (error) { /* empty */ }
|
|
2786
3030
|
var state = enforceInternalState(value);
|
|
2787
|
-
if (!hasOwn$
|
|
2788
|
-
state.source =
|
|
3031
|
+
if (!hasOwn$9(state, 'source')) {
|
|
3032
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
2789
3033
|
} return value;
|
|
2790
3034
|
};
|
|
2791
3035
|
|
|
2792
3036
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
2793
3037
|
// eslint-disable-next-line no-extend-native -- required
|
|
2794
|
-
Function.prototype.toString = makeBuiltIn$
|
|
2795
|
-
return isCallable$
|
|
3038
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
3039
|
+
return isCallable$9(this) && getInternalState$1(this).source || inspectSource$1(this);
|
|
2796
3040
|
}, 'toString');
|
|
2797
3041
|
|
|
2798
|
-
var isCallable$
|
|
3042
|
+
var isCallable$8 = isCallable$h;
|
|
2799
3043
|
var definePropertyModule$4 = objectDefineProperty;
|
|
2800
|
-
var makeBuiltIn =
|
|
3044
|
+
var makeBuiltIn$1 = makeBuiltInExports;
|
|
2801
3045
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
2802
3046
|
|
|
2803
|
-
var defineBuiltIn$
|
|
3047
|
+
var defineBuiltIn$4 = function (O, key, value, options) {
|
|
2804
3048
|
if (!options) options = {};
|
|
2805
3049
|
var simple = options.enumerable;
|
|
2806
3050
|
var name = options.name !== undefined ? options.name : key;
|
|
2807
|
-
if (isCallable$
|
|
3051
|
+
if (isCallable$8(value)) makeBuiltIn$1(value, name, options);
|
|
2808
3052
|
if (options.global) {
|
|
2809
3053
|
if (simple) O[key] = value;
|
|
2810
3054
|
else defineGlobalProperty$1(key, value);
|
|
@@ -2823,90 +3067,8 @@ var defineBuiltIn$5 = function (O, key, value, options) {
|
|
|
2823
3067
|
} return O;
|
|
2824
3068
|
};
|
|
2825
3069
|
|
|
2826
|
-
var isCallable$5 = isCallable$g;
|
|
2827
|
-
|
|
2828
|
-
var $String$1 = String;
|
|
2829
|
-
var $TypeError$3 = TypeError;
|
|
2830
|
-
|
|
2831
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
2832
|
-
if (typeof argument == 'object' || isCallable$5(argument)) return argument;
|
|
2833
|
-
throw $TypeError$3("Can't set " + $String$1(argument) + ' as a prototype');
|
|
2834
|
-
};
|
|
2835
|
-
|
|
2836
|
-
/* eslint-disable no-proto -- safe */
|
|
2837
|
-
|
|
2838
|
-
var uncurryThis$e = functionUncurryThis;
|
|
2839
|
-
var anObject$4 = anObject$6;
|
|
2840
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
2841
|
-
|
|
2842
|
-
// `Object.setPrototypeOf` method
|
|
2843
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
2844
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
2845
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
2846
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
2847
|
-
var CORRECT_SETTER = false;
|
|
2848
|
-
var test = {};
|
|
2849
|
-
var setter;
|
|
2850
|
-
try {
|
|
2851
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2852
|
-
setter = uncurryThis$e(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
2853
|
-
setter(test, []);
|
|
2854
|
-
CORRECT_SETTER = test instanceof Array;
|
|
2855
|
-
} catch (error) { /* empty */ }
|
|
2856
|
-
return function setPrototypeOf(O, proto) {
|
|
2857
|
-
anObject$4(O);
|
|
2858
|
-
aPossiblePrototype(proto);
|
|
2859
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
2860
|
-
else O.__proto__ = proto;
|
|
2861
|
-
return O;
|
|
2862
|
-
};
|
|
2863
|
-
}() : undefined);
|
|
2864
|
-
|
|
2865
|
-
var isCallable$4 = isCallable$g;
|
|
2866
|
-
var isObject$2 = isObject$8;
|
|
2867
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
2868
|
-
|
|
2869
|
-
// makes subclassing work correct for wrapped built-ins
|
|
2870
|
-
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
2871
|
-
var NewTarget, NewTargetPrototype;
|
|
2872
|
-
if (
|
|
2873
|
-
// it can work only with native `setPrototypeOf`
|
|
2874
|
-
setPrototypeOf &&
|
|
2875
|
-
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2876
|
-
isCallable$4(NewTarget = dummy.constructor) &&
|
|
2877
|
-
NewTarget !== Wrapper &&
|
|
2878
|
-
isObject$2(NewTargetPrototype = NewTarget.prototype) &&
|
|
2879
|
-
NewTargetPrototype !== Wrapper.prototype
|
|
2880
|
-
) setPrototypeOf($this, NewTargetPrototype);
|
|
2881
|
-
return $this;
|
|
2882
|
-
};
|
|
2883
|
-
|
|
2884
3070
|
var objectGetOwnPropertyNames = {};
|
|
2885
3071
|
|
|
2886
|
-
var uncurryThis$d = functionUncurryThis;
|
|
2887
|
-
var fails$7 = fails$f;
|
|
2888
|
-
var classof$6 = classofRaw$2;
|
|
2889
|
-
|
|
2890
|
-
var $Object$1 = Object;
|
|
2891
|
-
var split = uncurryThis$d(''.split);
|
|
2892
|
-
|
|
2893
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2894
|
-
var indexedObject = fails$7(function () {
|
|
2895
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
2896
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2897
|
-
return !$Object$1('z').propertyIsEnumerable(0);
|
|
2898
|
-
}) ? function (it) {
|
|
2899
|
-
return classof$6(it) == 'String' ? split(it, '') : $Object$1(it);
|
|
2900
|
-
} : $Object$1;
|
|
2901
|
-
|
|
2902
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
2903
|
-
var IndexedObject$1 = indexedObject;
|
|
2904
|
-
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
2905
|
-
|
|
2906
|
-
var toIndexedObject$6 = function (it) {
|
|
2907
|
-
return IndexedObject$1(requireObjectCoercible$1(it));
|
|
2908
|
-
};
|
|
2909
|
-
|
|
2910
3072
|
var ceil = Math.ceil;
|
|
2911
3073
|
var floor = Math.floor;
|
|
2912
3074
|
|
|
@@ -2959,14 +3121,14 @@ var lengthOfArrayLike$4 = function (obj) {
|
|
|
2959
3121
|
return toLength(obj.length);
|
|
2960
3122
|
};
|
|
2961
3123
|
|
|
2962
|
-
var toIndexedObject$
|
|
3124
|
+
var toIndexedObject$4 = toIndexedObject$6;
|
|
2963
3125
|
var toAbsoluteIndex$2 = toAbsoluteIndex$3;
|
|
2964
3126
|
var lengthOfArrayLike$3 = lengthOfArrayLike$4;
|
|
2965
3127
|
|
|
2966
3128
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
2967
3129
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
2968
3130
|
return function ($this, el, fromIndex) {
|
|
2969
|
-
var O = toIndexedObject$
|
|
3131
|
+
var O = toIndexedObject$4($this);
|
|
2970
3132
|
var length = lengthOfArrayLike$3(O);
|
|
2971
3133
|
var index = toAbsoluteIndex$2(fromIndex, length);
|
|
2972
3134
|
var value;
|
|
@@ -2992,97 +3154,241 @@ var arrayIncludes = {
|
|
|
2992
3154
|
indexOf: createMethod$2(false)
|
|
2993
3155
|
};
|
|
2994
3156
|
|
|
2995
|
-
var uncurryThis$
|
|
2996
|
-
var hasOwn$
|
|
2997
|
-
var toIndexedObject$
|
|
3157
|
+
var uncurryThis$f = functionUncurryThis;
|
|
3158
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
3159
|
+
var toIndexedObject$3 = toIndexedObject$6;
|
|
2998
3160
|
var indexOf = arrayIncludes.indexOf;
|
|
2999
3161
|
var hiddenKeys$3 = hiddenKeys$5;
|
|
3000
3162
|
|
|
3001
|
-
var push$
|
|
3163
|
+
var push$3 = uncurryThis$f([].push);
|
|
3002
3164
|
|
|
3003
3165
|
var objectKeysInternal = function (object, names) {
|
|
3004
|
-
var O = toIndexedObject$
|
|
3166
|
+
var O = toIndexedObject$3(object);
|
|
3005
3167
|
var i = 0;
|
|
3006
3168
|
var result = [];
|
|
3007
3169
|
var key;
|
|
3008
|
-
for (key in O) !hasOwn$
|
|
3170
|
+
for (key in O) !hasOwn$8(hiddenKeys$3, key) && hasOwn$8(O, key) && push$3(result, key);
|
|
3009
3171
|
// Don't enum bug & hidden keys
|
|
3010
|
-
while (names.length > i) if (hasOwn$
|
|
3011
|
-
~indexOf(result, key) || push$
|
|
3172
|
+
while (names.length > i) if (hasOwn$8(O, key = names[i++])) {
|
|
3173
|
+
~indexOf(result, key) || push$3(result, key);
|
|
3174
|
+
}
|
|
3175
|
+
return result;
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3178
|
+
// IE8- don't enum bug keys
|
|
3179
|
+
var enumBugKeys$3 = [
|
|
3180
|
+
'constructor',
|
|
3181
|
+
'hasOwnProperty',
|
|
3182
|
+
'isPrototypeOf',
|
|
3183
|
+
'propertyIsEnumerable',
|
|
3184
|
+
'toLocaleString',
|
|
3185
|
+
'toString',
|
|
3186
|
+
'valueOf'
|
|
3187
|
+
];
|
|
3188
|
+
|
|
3189
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
3190
|
+
var enumBugKeys$2 = enumBugKeys$3;
|
|
3191
|
+
|
|
3192
|
+
var hiddenKeys$2 = enumBugKeys$2.concat('length', 'prototype');
|
|
3193
|
+
|
|
3194
|
+
// `Object.getOwnPropertyNames` method
|
|
3195
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
3196
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
3197
|
+
var f$4 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
3198
|
+
return internalObjectKeys$1(O, hiddenKeys$2);
|
|
3199
|
+
};
|
|
3200
|
+
|
|
3201
|
+
var objectGetOwnPropertySymbols = {};
|
|
3202
|
+
|
|
3203
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
3204
|
+
var f$3 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
3205
|
+
|
|
3206
|
+
var getBuiltIn$5 = getBuiltIn$7;
|
|
3207
|
+
var uncurryThis$e = functionUncurryThis;
|
|
3208
|
+
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
3209
|
+
var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
|
|
3210
|
+
var anObject$4 = anObject$6;
|
|
3211
|
+
|
|
3212
|
+
var concat = uncurryThis$e([].concat);
|
|
3213
|
+
|
|
3214
|
+
// all object keys, includes non-enumerable and symbols
|
|
3215
|
+
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
3216
|
+
var keys = getOwnPropertyNamesModule$1.f(anObject$4(it));
|
|
3217
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f;
|
|
3218
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
3219
|
+
};
|
|
3220
|
+
|
|
3221
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
3222
|
+
var ownKeys = ownKeys$1;
|
|
3223
|
+
var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
|
|
3224
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
3225
|
+
|
|
3226
|
+
var copyConstructorProperties$3 = function (target, source, exceptions) {
|
|
3227
|
+
var keys = ownKeys(source);
|
|
3228
|
+
var defineProperty = definePropertyModule$3.f;
|
|
3229
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
|
|
3230
|
+
for (var i = 0; i < keys.length; i++) {
|
|
3231
|
+
var key = keys[i];
|
|
3232
|
+
if (!hasOwn$7(target, key) && !(exceptions && hasOwn$7(exceptions, key))) {
|
|
3233
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
3234
|
+
}
|
|
3235
|
+
}
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
var fails$7 = fails$f;
|
|
3239
|
+
var isCallable$7 = isCallable$h;
|
|
3240
|
+
|
|
3241
|
+
var replacement = /#|\.prototype\./;
|
|
3242
|
+
|
|
3243
|
+
var isForced$2 = function (feature, detection) {
|
|
3244
|
+
var value = data[normalize(feature)];
|
|
3245
|
+
return value == POLYFILL ? true
|
|
3246
|
+
: value == NATIVE ? false
|
|
3247
|
+
: isCallable$7(detection) ? fails$7(detection)
|
|
3248
|
+
: !!detection;
|
|
3249
|
+
};
|
|
3250
|
+
|
|
3251
|
+
var normalize = isForced$2.normalize = function (string) {
|
|
3252
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
3253
|
+
};
|
|
3254
|
+
|
|
3255
|
+
var data = isForced$2.data = {};
|
|
3256
|
+
var NATIVE = isForced$2.NATIVE = 'N';
|
|
3257
|
+
var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
3258
|
+
|
|
3259
|
+
var isForced_1 = isForced$2;
|
|
3260
|
+
|
|
3261
|
+
var global$5 = global$e;
|
|
3262
|
+
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
3263
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
3264
|
+
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
3265
|
+
var defineGlobalProperty = defineGlobalProperty$3;
|
|
3266
|
+
var copyConstructorProperties$2 = copyConstructorProperties$3;
|
|
3267
|
+
var isForced$1 = isForced_1;
|
|
3268
|
+
|
|
3269
|
+
/*
|
|
3270
|
+
options.target - name of the target object
|
|
3271
|
+
options.global - target is the global object
|
|
3272
|
+
options.stat - export as static methods of target
|
|
3273
|
+
options.proto - export as prototype methods of target
|
|
3274
|
+
options.real - real prototype method for the `pure` version
|
|
3275
|
+
options.forced - export even if the native feature is available
|
|
3276
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
3277
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
3278
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
3279
|
+
options.sham - add a flag to not completely full polyfills
|
|
3280
|
+
options.enumerable - export as enumerable property
|
|
3281
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
3282
|
+
options.name - the .name of the function if it does not match the key
|
|
3283
|
+
*/
|
|
3284
|
+
var _export = function (options, source) {
|
|
3285
|
+
var TARGET = options.target;
|
|
3286
|
+
var GLOBAL = options.global;
|
|
3287
|
+
var STATIC = options.stat;
|
|
3288
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
3289
|
+
if (GLOBAL) {
|
|
3290
|
+
target = global$5;
|
|
3291
|
+
} else if (STATIC) {
|
|
3292
|
+
target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
3293
|
+
} else {
|
|
3294
|
+
target = (global$5[TARGET] || {}).prototype;
|
|
3295
|
+
}
|
|
3296
|
+
if (target) for (key in source) {
|
|
3297
|
+
sourceProperty = source[key];
|
|
3298
|
+
if (options.dontCallGetSet) {
|
|
3299
|
+
descriptor = getOwnPropertyDescriptor$2(target, key);
|
|
3300
|
+
targetProperty = descriptor && descriptor.value;
|
|
3301
|
+
} else targetProperty = target[key];
|
|
3302
|
+
FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
3303
|
+
// contained in target
|
|
3304
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
3305
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
3306
|
+
copyConstructorProperties$2(sourceProperty, targetProperty);
|
|
3307
|
+
}
|
|
3308
|
+
// add a flag to not completely full polyfills
|
|
3309
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
3310
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
3311
|
+
}
|
|
3312
|
+
defineBuiltIn$3(target, key, sourceProperty, options);
|
|
3012
3313
|
}
|
|
3013
|
-
return result;
|
|
3014
3314
|
};
|
|
3015
3315
|
|
|
3016
|
-
|
|
3017
|
-
var enumBugKeys$3 = [
|
|
3018
|
-
'constructor',
|
|
3019
|
-
'hasOwnProperty',
|
|
3020
|
-
'isPrototypeOf',
|
|
3021
|
-
'propertyIsEnumerable',
|
|
3022
|
-
'toLocaleString',
|
|
3023
|
-
'toString',
|
|
3024
|
-
'valueOf'
|
|
3025
|
-
];
|
|
3316
|
+
var global$4 = global$e;
|
|
3026
3317
|
|
|
3027
|
-
var
|
|
3028
|
-
var enumBugKeys$2 = enumBugKeys$3;
|
|
3318
|
+
var path$2 = global$4;
|
|
3029
3319
|
|
|
3030
|
-
var
|
|
3320
|
+
var uncurryThis$d = functionUncurryThis;
|
|
3321
|
+
var aCallable$1 = aCallable$3;
|
|
3031
3322
|
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
// eslint-disable-next-line es/no-object-
|
|
3035
|
-
|
|
3036
|
-
|
|
3323
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
3324
|
+
try {
|
|
3325
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3326
|
+
return uncurryThis$d(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
3327
|
+
} catch (error) { /* empty */ }
|
|
3037
3328
|
};
|
|
3038
3329
|
|
|
3039
|
-
var
|
|
3330
|
+
var isCallable$6 = isCallable$h;
|
|
3040
3331
|
|
|
3041
|
-
var
|
|
3332
|
+
var $String$2 = String;
|
|
3333
|
+
var $TypeError$3 = TypeError;
|
|
3042
3334
|
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3335
|
+
var aPossiblePrototype$1 = function (argument) {
|
|
3336
|
+
if (typeof argument == 'object' || isCallable$6(argument)) return argument;
|
|
3337
|
+
throw $TypeError$3("Can't set " + $String$2(argument) + ' as a prototype');
|
|
3338
|
+
};
|
|
3047
3339
|
|
|
3048
|
-
|
|
3049
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
|
|
3340
|
+
/* eslint-disable no-proto -- safe */
|
|
3050
3341
|
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
var
|
|
3054
|
-
var descriptor = getOwnPropertyDescriptor$3(this, V);
|
|
3055
|
-
return !!descriptor && descriptor.enumerable;
|
|
3056
|
-
} : $propertyIsEnumerable$1;
|
|
3342
|
+
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
3343
|
+
var anObject$3 = anObject$6;
|
|
3344
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
|
3057
3345
|
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
var
|
|
3063
|
-
var
|
|
3064
|
-
var
|
|
3065
|
-
var
|
|
3346
|
+
// `Object.setPrototypeOf` method
|
|
3347
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
3348
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
3349
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
3350
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
3351
|
+
var CORRECT_SETTER = false;
|
|
3352
|
+
var test = {};
|
|
3353
|
+
var setter;
|
|
3354
|
+
try {
|
|
3355
|
+
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
3356
|
+
setter(test, []);
|
|
3357
|
+
CORRECT_SETTER = test instanceof Array;
|
|
3358
|
+
} catch (error) { /* empty */ }
|
|
3359
|
+
return function setPrototypeOf(O, proto) {
|
|
3360
|
+
anObject$3(O);
|
|
3361
|
+
aPossiblePrototype(proto);
|
|
3362
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
3363
|
+
else O.__proto__ = proto;
|
|
3364
|
+
return O;
|
|
3365
|
+
};
|
|
3366
|
+
}() : undefined);
|
|
3066
3367
|
|
|
3067
|
-
|
|
3068
|
-
var $
|
|
3368
|
+
var isCallable$5 = isCallable$h;
|
|
3369
|
+
var isObject$1 = isObject$7;
|
|
3370
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
3069
3371
|
|
|
3070
|
-
//
|
|
3071
|
-
|
|
3072
|
-
var
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3372
|
+
// makes subclassing work correct for wrapped built-ins
|
|
3373
|
+
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
3374
|
+
var NewTarget, NewTargetPrototype;
|
|
3375
|
+
if (
|
|
3376
|
+
// it can work only with native `setPrototypeOf`
|
|
3377
|
+
setPrototypeOf &&
|
|
3378
|
+
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
3379
|
+
isCallable$5(NewTarget = dummy.constructor) &&
|
|
3380
|
+
NewTarget !== Wrapper &&
|
|
3381
|
+
isObject$1(NewTargetPrototype = NewTarget.prototype) &&
|
|
3382
|
+
NewTargetPrototype !== Wrapper.prototype
|
|
3383
|
+
) setPrototypeOf($this, NewTargetPrototype);
|
|
3384
|
+
return $this;
|
|
3079
3385
|
};
|
|
3080
3386
|
|
|
3081
|
-
var uncurryThis$
|
|
3387
|
+
var uncurryThis$c = functionUncurryThis;
|
|
3082
3388
|
|
|
3083
3389
|
// `thisNumberValue` abstract operation
|
|
3084
3390
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
3085
|
-
var thisNumberValue$1 = uncurryThis$
|
|
3391
|
+
var thisNumberValue$1 = uncurryThis$c(1.0.valueOf);
|
|
3086
3392
|
|
|
3087
3393
|
var wellKnownSymbol$8 = wellKnownSymbol$a;
|
|
3088
3394
|
|
|
@@ -3094,15 +3400,15 @@ test[TO_STRING_TAG$2] = 'z';
|
|
|
3094
3400
|
var toStringTagSupport = String(test) === '[object z]';
|
|
3095
3401
|
|
|
3096
3402
|
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
3097
|
-
var isCallable$
|
|
3098
|
-
var classofRaw = classofRaw$2;
|
|
3403
|
+
var isCallable$4 = isCallable$h;
|
|
3404
|
+
var classofRaw$1 = classofRaw$2;
|
|
3099
3405
|
var wellKnownSymbol$7 = wellKnownSymbol$a;
|
|
3100
3406
|
|
|
3101
3407
|
var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');
|
|
3102
3408
|
var $Object = Object;
|
|
3103
3409
|
|
|
3104
3410
|
// ES3 wrong here
|
|
3105
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
3411
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
|
3106
3412
|
|
|
3107
3413
|
// fallback for IE11 Script Access Denied error
|
|
3108
3414
|
var tryGet = function (it, key) {
|
|
@@ -3112,46 +3418,45 @@ var tryGet = function (it, key) {
|
|
|
3112
3418
|
};
|
|
3113
3419
|
|
|
3114
3420
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
3115
|
-
var classof$
|
|
3421
|
+
var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {
|
|
3116
3422
|
var O, tag, result;
|
|
3117
3423
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
3118
3424
|
// @@toStringTag case
|
|
3119
3425
|
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
3120
3426
|
// builtinTag case
|
|
3121
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
3427
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
3122
3428
|
// ES3 arguments fallback
|
|
3123
|
-
: (result = classofRaw(O)) == 'Object' && isCallable$
|
|
3429
|
+
: (result = classofRaw$1(O)) == 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
|
|
3124
3430
|
};
|
|
3125
3431
|
|
|
3126
|
-
var classof$
|
|
3432
|
+
var classof$5 = classof$6;
|
|
3127
3433
|
|
|
3128
|
-
var $String = String;
|
|
3434
|
+
var $String$1 = String;
|
|
3129
3435
|
|
|
3130
|
-
var toString$
|
|
3131
|
-
if (classof$
|
|
3132
|
-
return $String(argument);
|
|
3436
|
+
var toString$5 = function (argument) {
|
|
3437
|
+
if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
3438
|
+
return $String$1(argument);
|
|
3133
3439
|
};
|
|
3134
3440
|
|
|
3135
3441
|
// a string of all valid unicode whitespaces
|
|
3136
3442
|
var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
3137
3443
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
3138
3444
|
|
|
3139
|
-
var uncurryThis$
|
|
3445
|
+
var uncurryThis$b = functionUncurryThis;
|
|
3140
3446
|
var requireObjectCoercible = requireObjectCoercible$3;
|
|
3141
|
-
var toString$
|
|
3447
|
+
var toString$4 = toString$5;
|
|
3142
3448
|
var whitespaces = whitespaces$1;
|
|
3143
3449
|
|
|
3144
|
-
var replace$2 = uncurryThis$
|
|
3145
|
-
var
|
|
3146
|
-
var
|
|
3147
|
-
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
3450
|
+
var replace$2 = uncurryThis$b(''.replace);
|
|
3451
|
+
var ltrim = RegExp('^[' + whitespaces + ']+');
|
|
3452
|
+
var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');
|
|
3148
3453
|
|
|
3149
3454
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
3150
3455
|
var createMethod$1 = function (TYPE) {
|
|
3151
3456
|
return function ($this) {
|
|
3152
|
-
var string = toString$
|
|
3457
|
+
var string = toString$4(requireObjectCoercible($this));
|
|
3153
3458
|
if (TYPE & 1) string = replace$2(string, ltrim, '');
|
|
3154
|
-
if (TYPE & 2) string = replace$2(string, rtrim, '');
|
|
3459
|
+
if (TYPE & 2) string = replace$2(string, rtrim, '$1');
|
|
3155
3460
|
return string;
|
|
3156
3461
|
};
|
|
3157
3462
|
};
|
|
@@ -3169,29 +3474,32 @@ var stringTrim = {
|
|
|
3169
3474
|
};
|
|
3170
3475
|
|
|
3171
3476
|
'use strict';
|
|
3477
|
+
var $$9 = _export;
|
|
3478
|
+
var IS_PURE$1 = isPure;
|
|
3172
3479
|
var DESCRIPTORS$4 = descriptors;
|
|
3173
|
-
var global$
|
|
3174
|
-
var
|
|
3175
|
-
var
|
|
3176
|
-
var
|
|
3177
|
-
var hasOwn$
|
|
3480
|
+
var global$3 = global$e;
|
|
3481
|
+
var path$1 = path$2;
|
|
3482
|
+
var uncurryThis$a = functionUncurryThis;
|
|
3483
|
+
var isForced = isForced_1;
|
|
3484
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
3178
3485
|
var inheritIfRequired = inheritIfRequired$1;
|
|
3179
3486
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3180
3487
|
var isSymbol$2 = isSymbol$5;
|
|
3181
3488
|
var toPrimitive = toPrimitive$2;
|
|
3182
3489
|
var fails$6 = fails$f;
|
|
3183
3490
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
3184
|
-
var getOwnPropertyDescriptor$
|
|
3491
|
+
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
3185
3492
|
var defineProperty$4 = objectDefineProperty.f;
|
|
3186
3493
|
var thisNumberValue = thisNumberValue$1;
|
|
3187
3494
|
var trim = stringTrim.trim;
|
|
3188
3495
|
|
|
3189
3496
|
var NUMBER = 'Number';
|
|
3190
|
-
var NativeNumber = global$
|
|
3497
|
+
var NativeNumber = global$3[NUMBER];
|
|
3498
|
+
var PureNumberNamespace = path$1[NUMBER];
|
|
3191
3499
|
var NumberPrototype = NativeNumber.prototype;
|
|
3192
|
-
var TypeError$2 = global$
|
|
3193
|
-
var
|
|
3194
|
-
var charCodeAt$1 = uncurryThis$
|
|
3500
|
+
var TypeError$2 = global$3.TypeError;
|
|
3501
|
+
var stringSlice$1 = uncurryThis$a(''.slice);
|
|
3502
|
+
var charCodeAt$1 = uncurryThis$a(''.charCodeAt);
|
|
3195
3503
|
|
|
3196
3504
|
// `ToNumeric` abstract operation
|
|
3197
3505
|
// https://tc39.es/ecma262/#sec-tonumeric
|
|
@@ -3218,7 +3526,7 @@ var toNumber = function (argument) {
|
|
|
3218
3526
|
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
|
|
3219
3527
|
default: return +it;
|
|
3220
3528
|
}
|
|
3221
|
-
digits =
|
|
3529
|
+
digits = stringSlice$1(it, 2);
|
|
3222
3530
|
length = digits.length;
|
|
3223
3531
|
for (index = 0; index < length; index++) {
|
|
3224
3532
|
code = charCodeAt$1(digits, index);
|
|
@@ -3230,17 +3538,30 @@ var toNumber = function (argument) {
|
|
|
3230
3538
|
} return +it;
|
|
3231
3539
|
};
|
|
3232
3540
|
|
|
3541
|
+
var FORCED$2 = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));
|
|
3542
|
+
|
|
3543
|
+
var calledWithNew = function (dummy) {
|
|
3544
|
+
// includes check on 1..constructor(foo) case
|
|
3545
|
+
return isPrototypeOf$2(NumberPrototype, dummy) && fails$6(function () { thisNumberValue(dummy); });
|
|
3546
|
+
};
|
|
3547
|
+
|
|
3233
3548
|
// `Number` constructor
|
|
3234
3549
|
// https://tc39.es/ecma262/#sec-number-constructor
|
|
3235
|
-
|
|
3236
|
-
var
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3550
|
+
var NumberWrapper = function Number(value) {
|
|
3551
|
+
var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
|
|
3552
|
+
return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;
|
|
3553
|
+
};
|
|
3554
|
+
|
|
3555
|
+
NumberWrapper.prototype = NumberPrototype;
|
|
3556
|
+
if (FORCED$2 && !IS_PURE$1) NumberPrototype.constructor = NumberWrapper;
|
|
3557
|
+
|
|
3558
|
+
$$9({ global: true, constructor: true, wrap: true, forced: FORCED$2 }, {
|
|
3559
|
+
Number: NumberWrapper
|
|
3560
|
+
});
|
|
3561
|
+
|
|
3562
|
+
// Use `internal/copy-constructor-properties` helper in `core-js@4`
|
|
3563
|
+
var copyConstructorProperties$1 = function (target, source) {
|
|
3564
|
+
for (var keys = DESCRIPTORS$4 ? getOwnPropertyNames(source) : (
|
|
3244
3565
|
// ES3:
|
|
3245
3566
|
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
3246
3567
|
// ES2015 (in case, if modules with ES2015 Number statics required before):
|
|
@@ -3248,114 +3569,32 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
|
|
|
3248
3569
|
// ESNext
|
|
3249
3570
|
'fromString,range'
|
|
3250
3571
|
).split(','), j = 0, key; keys.length > j; j++) {
|
|
3251
|
-
if (hasOwn$
|
|
3252
|
-
defineProperty$4(
|
|
3572
|
+
if (hasOwn$6(source, key = keys[j]) && !hasOwn$6(target, key)) {
|
|
3573
|
+
defineProperty$4(target, key, getOwnPropertyDescriptor$1(source, key));
|
|
3253
3574
|
}
|
|
3254
3575
|
}
|
|
3255
|
-
NumberWrapper.prototype = NumberPrototype;
|
|
3256
|
-
NumberPrototype.constructor = NumberWrapper;
|
|
3257
|
-
defineBuiltIn$4(global$5, NUMBER, NumberWrapper, { constructor: true });
|
|
3258
|
-
}
|
|
3259
|
-
|
|
3260
|
-
var es_array_find = {};
|
|
3261
|
-
|
|
3262
|
-
var objectGetOwnPropertySymbols = {};
|
|
3263
|
-
|
|
3264
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
3265
|
-
var f$3 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
3266
|
-
|
|
3267
|
-
var getBuiltIn$5 = getBuiltIn$8;
|
|
3268
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
3269
|
-
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
3270
|
-
var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
|
|
3271
|
-
var anObject$3 = anObject$6;
|
|
3272
|
-
|
|
3273
|
-
var concat = uncurryThis$8([].concat);
|
|
3274
|
-
|
|
3275
|
-
// all object keys, includes non-enumerable and symbols
|
|
3276
|
-
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
3277
|
-
var keys = getOwnPropertyNamesModule$1.f(anObject$3(it));
|
|
3278
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f;
|
|
3279
|
-
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
3280
3576
|
};
|
|
3281
3577
|
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
|
|
3285
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
3578
|
+
if (IS_PURE$1 && PureNumberNamespace) copyConstructorProperties$1(path$1[NUMBER], PureNumberNamespace);
|
|
3579
|
+
if (FORCED$2 || IS_PURE$1) copyConstructorProperties$1(path$1[NUMBER], NativeNumber);
|
|
3286
3580
|
|
|
3287
|
-
var
|
|
3288
|
-
var keys = ownKeys(source);
|
|
3289
|
-
var defineProperty = definePropertyModule$3.f;
|
|
3290
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
|
|
3291
|
-
for (var i = 0; i < keys.length; i++) {
|
|
3292
|
-
var key = keys[i];
|
|
3293
|
-
if (!hasOwn$6(target, key) && !(exceptions && hasOwn$6(exceptions, key))) {
|
|
3294
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
3295
|
-
}
|
|
3296
|
-
}
|
|
3297
|
-
};
|
|
3581
|
+
var es_array_find = {};
|
|
3298
3582
|
|
|
3299
|
-
var
|
|
3300
|
-
var
|
|
3301
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
3302
|
-
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
3303
|
-
var defineGlobalProperty = defineGlobalProperty$3;
|
|
3304
|
-
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
3305
|
-
var isForced = isForced_1;
|
|
3583
|
+
var classofRaw = classofRaw$2;
|
|
3584
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
3306
3585
|
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
options.real - real prototype method for the `pure` version
|
|
3313
|
-
options.forced - export even if the native feature is available
|
|
3314
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
3315
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
3316
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
3317
|
-
options.sham - add a flag to not completely full polyfills
|
|
3318
|
-
options.enumerable - export as enumerable property
|
|
3319
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
3320
|
-
options.name - the .name of the function if it does not match the key
|
|
3321
|
-
*/
|
|
3322
|
-
var _export = function (options, source) {
|
|
3323
|
-
var TARGET = options.target;
|
|
3324
|
-
var GLOBAL = options.global;
|
|
3325
|
-
var STATIC = options.stat;
|
|
3326
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
3327
|
-
if (GLOBAL) {
|
|
3328
|
-
target = global$4;
|
|
3329
|
-
} else if (STATIC) {
|
|
3330
|
-
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
3331
|
-
} else {
|
|
3332
|
-
target = (global$4[TARGET] || {}).prototype;
|
|
3333
|
-
}
|
|
3334
|
-
if (target) for (key in source) {
|
|
3335
|
-
sourceProperty = source[key];
|
|
3336
|
-
if (options.dontCallGetSet) {
|
|
3337
|
-
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
3338
|
-
targetProperty = descriptor && descriptor.value;
|
|
3339
|
-
} else targetProperty = target[key];
|
|
3340
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
3341
|
-
// contained in target
|
|
3342
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
3343
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
3344
|
-
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
3345
|
-
}
|
|
3346
|
-
// add a flag to not completely full polyfills
|
|
3347
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
3348
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
3349
|
-
}
|
|
3350
|
-
defineBuiltIn$3(target, key, sourceProperty, options);
|
|
3351
|
-
}
|
|
3586
|
+
var functionUncurryThisClause = function (fn) {
|
|
3587
|
+
// Nashorn bug:
|
|
3588
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
3589
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
3590
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$9(fn);
|
|
3352
3591
|
};
|
|
3353
3592
|
|
|
3354
|
-
var uncurryThis$
|
|
3355
|
-
var aCallable = aCallable$
|
|
3593
|
+
var uncurryThis$8 = functionUncurryThisClause;
|
|
3594
|
+
var aCallable = aCallable$3;
|
|
3356
3595
|
var NATIVE_BIND$1 = functionBindNative;
|
|
3357
3596
|
|
|
3358
|
-
var bind$1 = uncurryThis$
|
|
3597
|
+
var bind$1 = uncurryThis$8(uncurryThis$8.bind);
|
|
3359
3598
|
|
|
3360
3599
|
// optional / simple context binding
|
|
3361
3600
|
var functionBindContext = function (fn, that) {
|
|
@@ -3365,31 +3604,31 @@ var functionBindContext = function (fn, that) {
|
|
|
3365
3604
|
};
|
|
3366
3605
|
};
|
|
3367
3606
|
|
|
3368
|
-
var classof$
|
|
3607
|
+
var classof$4 = classofRaw$2;
|
|
3369
3608
|
|
|
3370
3609
|
// `IsArray` abstract operation
|
|
3371
3610
|
// https://tc39.es/ecma262/#sec-isarray
|
|
3372
3611
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
3373
3612
|
var isArray$3 = Array.isArray || function isArray(argument) {
|
|
3374
|
-
return classof$
|
|
3613
|
+
return classof$4(argument) == 'Array';
|
|
3375
3614
|
};
|
|
3376
3615
|
|
|
3377
|
-
var uncurryThis$
|
|
3616
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
3378
3617
|
var fails$5 = fails$f;
|
|
3379
|
-
var isCallable$
|
|
3380
|
-
var classof$
|
|
3381
|
-
var getBuiltIn$4 = getBuiltIn$
|
|
3618
|
+
var isCallable$3 = isCallable$h;
|
|
3619
|
+
var classof$3 = classof$6;
|
|
3620
|
+
var getBuiltIn$4 = getBuiltIn$7;
|
|
3382
3621
|
var inspectSource = inspectSource$2;
|
|
3383
3622
|
|
|
3384
3623
|
var noop = function () { /* empty */ };
|
|
3385
3624
|
var empty = [];
|
|
3386
3625
|
var construct = getBuiltIn$4('Reflect', 'construct');
|
|
3387
3626
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
3388
|
-
var exec$1 = uncurryThis$
|
|
3627
|
+
var exec$1 = uncurryThis$7(constructorRegExp.exec);
|
|
3389
3628
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
3390
3629
|
|
|
3391
3630
|
var isConstructorModern = function isConstructor(argument) {
|
|
3392
|
-
if (!isCallable$
|
|
3631
|
+
if (!isCallable$3(argument)) return false;
|
|
3393
3632
|
try {
|
|
3394
3633
|
construct(noop, empty, argument);
|
|
3395
3634
|
return true;
|
|
@@ -3399,8 +3638,8 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
3399
3638
|
};
|
|
3400
3639
|
|
|
3401
3640
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
3402
|
-
if (!isCallable$
|
|
3403
|
-
switch (classof$
|
|
3641
|
+
if (!isCallable$3(argument)) return false;
|
|
3642
|
+
switch (classof$3(argument)) {
|
|
3404
3643
|
case 'AsyncFunction':
|
|
3405
3644
|
case 'GeneratorFunction':
|
|
3406
3645
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -3429,7 +3668,7 @@ var isConstructor$1 = !construct || fails$5(function () {
|
|
|
3429
3668
|
|
|
3430
3669
|
var isArray$2 = isArray$3;
|
|
3431
3670
|
var isConstructor = isConstructor$1;
|
|
3432
|
-
var isObject
|
|
3671
|
+
var isObject = isObject$7;
|
|
3433
3672
|
var wellKnownSymbol$6 = wellKnownSymbol$a;
|
|
3434
3673
|
|
|
3435
3674
|
var SPECIES$1 = wellKnownSymbol$6('species');
|
|
@@ -3443,7 +3682,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
3443
3682
|
C = originalArray.constructor;
|
|
3444
3683
|
// cross-realm fallback
|
|
3445
3684
|
if (isConstructor(C) && (C === $Array$1 || isArray$2(C.prototype))) C = undefined;
|
|
3446
|
-
else if (isObject
|
|
3685
|
+
else if (isObject(C)) {
|
|
3447
3686
|
C = C[SPECIES$1];
|
|
3448
3687
|
if (C === null) C = undefined;
|
|
3449
3688
|
}
|
|
@@ -3459,13 +3698,13 @@ var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
|
3459
3698
|
};
|
|
3460
3699
|
|
|
3461
3700
|
var bind = functionBindContext;
|
|
3462
|
-
var uncurryThis$
|
|
3701
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
3463
3702
|
var IndexedObject = indexedObject;
|
|
3464
3703
|
var toObject$2 = toObject$4;
|
|
3465
3704
|
var lengthOfArrayLike$2 = lengthOfArrayLike$4;
|
|
3466
3705
|
var arraySpeciesCreate$1 = arraySpeciesCreate$2;
|
|
3467
3706
|
|
|
3468
|
-
var push$
|
|
3707
|
+
var push$2 = uncurryThis$6([].push);
|
|
3469
3708
|
|
|
3470
3709
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
3471
3710
|
var createMethod = function (TYPE) {
|
|
@@ -3494,10 +3733,10 @@ var createMethod = function (TYPE) {
|
|
|
3494
3733
|
case 3: return true; // some
|
|
3495
3734
|
case 5: return value; // find
|
|
3496
3735
|
case 6: return index; // findIndex
|
|
3497
|
-
case 2: push$
|
|
3736
|
+
case 2: push$2(target, value); // filter
|
|
3498
3737
|
} else switch (TYPE) {
|
|
3499
3738
|
case 4: return false; // every
|
|
3500
|
-
case 7: push$
|
|
3739
|
+
case 7: push$2(target, value); // filterReject
|
|
3501
3740
|
}
|
|
3502
3741
|
}
|
|
3503
3742
|
}
|
|
@@ -3565,7 +3804,7 @@ var f$2 = objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ?
|
|
|
3565
3804
|
return O;
|
|
3566
3805
|
};
|
|
3567
3806
|
|
|
3568
|
-
var getBuiltIn$3 = getBuiltIn$
|
|
3807
|
+
var getBuiltIn$3 = getBuiltIn$7;
|
|
3569
3808
|
|
|
3570
3809
|
var html$1 = getBuiltIn$3('document', 'documentElement');
|
|
3571
3810
|
|
|
@@ -3701,22 +3940,22 @@ var es_object_toString = {};
|
|
|
3701
3940
|
|
|
3702
3941
|
'use strict';
|
|
3703
3942
|
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
3704
|
-
var classof$
|
|
3943
|
+
var classof$2 = classof$6;
|
|
3705
3944
|
|
|
3706
3945
|
// `Object.prototype.toString` method implementation
|
|
3707
3946
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
3708
3947
|
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
3709
|
-
return '[object ' + classof$
|
|
3948
|
+
return '[object ' + classof$2(this) + ']';
|
|
3710
3949
|
};
|
|
3711
3950
|
|
|
3712
3951
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3713
|
-
var defineBuiltIn$2 = defineBuiltIn$
|
|
3714
|
-
var toString$
|
|
3952
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
3953
|
+
var toString$3 = objectToString;
|
|
3715
3954
|
|
|
3716
3955
|
// `Object.prototype.toString` method
|
|
3717
3956
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
3718
3957
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
3719
|
-
defineBuiltIn$2(Object.prototype, 'toString', toString$
|
|
3958
|
+
defineBuiltIn$2(Object.prototype, 'toString', toString$3, { unsafe: true });
|
|
3720
3959
|
}
|
|
3721
3960
|
|
|
3722
3961
|
var es_array_splice = {};
|
|
@@ -3881,18 +4120,18 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
|
3881
4120
|
'use strict';
|
|
3882
4121
|
/* eslint-disable es/no-array-prototype-indexof -- required for testing */
|
|
3883
4122
|
var $$6 = _export;
|
|
3884
|
-
var uncurryThis$
|
|
4123
|
+
var uncurryThis$5 = functionUncurryThisClause;
|
|
3885
4124
|
var $indexOf = arrayIncludes.indexOf;
|
|
3886
4125
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
3887
4126
|
|
|
3888
|
-
var nativeIndexOf = uncurryThis$
|
|
4127
|
+
var nativeIndexOf = uncurryThis$5([].indexOf);
|
|
3889
4128
|
|
|
3890
4129
|
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
|
|
3891
|
-
var
|
|
4130
|
+
var FORCED$1 = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
|
|
3892
4131
|
|
|
3893
4132
|
// `Array.prototype.indexOf` method
|
|
3894
4133
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
3895
|
-
$$6({ target: 'Array', proto: true, forced:
|
|
4134
|
+
$$6({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
3896
4135
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
3897
4136
|
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
|
|
3898
4137
|
return NEGATIVE_ZERO
|
|
@@ -3927,7 +4166,7 @@ var arraySliceSimple = function (O, start, end) {
|
|
|
3927
4166
|
|
|
3928
4167
|
/* eslint-disable es/no-object-getownpropertynames -- safe */
|
|
3929
4168
|
|
|
3930
|
-
var classof = classofRaw$2;
|
|
4169
|
+
var classof$1 = classofRaw$2;
|
|
3931
4170
|
var toIndexedObject$1 = toIndexedObject$6;
|
|
3932
4171
|
var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
|
|
3933
4172
|
var arraySlice$2 = arraySliceSimple;
|
|
@@ -3945,37 +4184,42 @@ var getWindowNames = function (it) {
|
|
|
3945
4184
|
|
|
3946
4185
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
3947
4186
|
var f$1 = objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
|
|
3948
|
-
return windowNames && classof(it) == 'Window'
|
|
4187
|
+
return windowNames && classof$1(it) == 'Window'
|
|
3949
4188
|
? getWindowNames(it)
|
|
3950
4189
|
: $getOwnPropertyNames$1(toIndexedObject$1(it));
|
|
3951
4190
|
};
|
|
3952
4191
|
|
|
4192
|
+
var makeBuiltIn = makeBuiltInExports;
|
|
4193
|
+
var defineProperty$2 = objectDefineProperty;
|
|
4194
|
+
|
|
4195
|
+
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
4196
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
4197
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
4198
|
+
return defineProperty$2.f(target, name, descriptor);
|
|
4199
|
+
};
|
|
4200
|
+
|
|
3953
4201
|
var wellKnownSymbolWrapped = {};
|
|
3954
4202
|
|
|
3955
4203
|
var wellKnownSymbol$3 = wellKnownSymbol$a;
|
|
3956
4204
|
|
|
3957
4205
|
var f = wellKnownSymbolWrapped.f = wellKnownSymbol$3;
|
|
3958
4206
|
|
|
3959
|
-
var
|
|
3960
|
-
|
|
3961
|
-
var path$1 = global$3;
|
|
3962
|
-
|
|
3963
|
-
var path = path$1;
|
|
4207
|
+
var path = path$2;
|
|
3964
4208
|
var hasOwn$5 = hasOwnProperty_1;
|
|
3965
4209
|
var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
3966
|
-
var defineProperty$
|
|
4210
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
3967
4211
|
|
|
3968
4212
|
var wellKnownSymbolDefine = function (NAME) {
|
|
3969
4213
|
var Symbol = path.Symbol || (path.Symbol = {});
|
|
3970
|
-
if (!hasOwn$5(Symbol, NAME)) defineProperty$
|
|
4214
|
+
if (!hasOwn$5(Symbol, NAME)) defineProperty$1(Symbol, NAME, {
|
|
3971
4215
|
value: wrappedWellKnownSymbolModule$1.f(NAME)
|
|
3972
4216
|
});
|
|
3973
4217
|
};
|
|
3974
4218
|
|
|
3975
4219
|
var call$3 = functionCall;
|
|
3976
|
-
var getBuiltIn$2 = getBuiltIn$
|
|
4220
|
+
var getBuiltIn$2 = getBuiltIn$7;
|
|
3977
4221
|
var wellKnownSymbol$2 = wellKnownSymbol$a;
|
|
3978
|
-
var defineBuiltIn$1 = defineBuiltIn$
|
|
4222
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
3979
4223
|
|
|
3980
4224
|
var symbolDefineToPrimitive = function () {
|
|
3981
4225
|
var Symbol = getBuiltIn$2('Symbol');
|
|
@@ -3993,7 +4237,7 @@ var symbolDefineToPrimitive = function () {
|
|
|
3993
4237
|
}
|
|
3994
4238
|
};
|
|
3995
4239
|
|
|
3996
|
-
var defineProperty
|
|
4240
|
+
var defineProperty = objectDefineProperty.f;
|
|
3997
4241
|
var hasOwn$4 = hasOwnProperty_1;
|
|
3998
4242
|
var wellKnownSymbol$1 = wellKnownSymbol$a;
|
|
3999
4243
|
|
|
@@ -4002,7 +4246,7 @@ var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
|
4002
4246
|
var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
4003
4247
|
if (target && !STATIC) target = target.prototype;
|
|
4004
4248
|
if (target && !hasOwn$4(target, TO_STRING_TAG)) {
|
|
4005
|
-
defineProperty
|
|
4249
|
+
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
4006
4250
|
}
|
|
4007
4251
|
};
|
|
4008
4252
|
|
|
@@ -4010,7 +4254,7 @@ var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
|
4010
4254
|
var $$5 = _export;
|
|
4011
4255
|
var global$2 = global$e;
|
|
4012
4256
|
var call$2 = functionCall;
|
|
4013
|
-
var uncurryThis$
|
|
4257
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
4014
4258
|
var IS_PURE = isPure;
|
|
4015
4259
|
var DESCRIPTORS$1 = descriptors;
|
|
4016
4260
|
var NATIVE_SYMBOL$4 = symbolConstructorDetection;
|
|
@@ -4020,7 +4264,7 @@ var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
|
4020
4264
|
var anObject = anObject$6;
|
|
4021
4265
|
var toIndexedObject = toIndexedObject$6;
|
|
4022
4266
|
var toPropertyKey = toPropertyKey$4;
|
|
4023
|
-
var $toString = toString$
|
|
4267
|
+
var $toString = toString$5;
|
|
4024
4268
|
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
4025
4269
|
var nativeObjectCreate = objectCreate;
|
|
4026
4270
|
var objectKeys = objectKeys$2;
|
|
@@ -4031,8 +4275,9 @@ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
|
4031
4275
|
var definePropertyModule = objectDefineProperty;
|
|
4032
4276
|
var definePropertiesModule = objectDefineProperties;
|
|
4033
4277
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
4034
|
-
var defineBuiltIn = defineBuiltIn$
|
|
4035
|
-
var
|
|
4278
|
+
var defineBuiltIn = defineBuiltIn$4;
|
|
4279
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
4280
|
+
var shared$2 = sharedExports;
|
|
4036
4281
|
var sharedKey = sharedKey$3;
|
|
4037
4282
|
var hiddenKeys = hiddenKeys$5;
|
|
4038
4283
|
var uid = uid$3;
|
|
@@ -4060,7 +4305,7 @@ var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
|
4060
4305
|
var nativeDefineProperty = definePropertyModule.f;
|
|
4061
4306
|
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
|
|
4062
4307
|
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
4063
|
-
var push = uncurryThis$
|
|
4308
|
+
var push$1 = uncurryThis$4([].push);
|
|
4064
4309
|
|
|
4065
4310
|
var AllSymbols = shared$2('symbols');
|
|
4066
4311
|
var ObjectPrototypeSymbols = shared$2('op-symbols');
|
|
@@ -4147,7 +4392,7 @@ var $getOwnPropertyNames = function getOwnPropertyNames(O) {
|
|
|
4147
4392
|
var names = nativeGetOwnPropertyNames(toIndexedObject(O));
|
|
4148
4393
|
var result = [];
|
|
4149
4394
|
$forEach(names, function (key) {
|
|
4150
|
-
if (!hasOwn$3(AllSymbols, key) && !hasOwn$3(hiddenKeys, key)) push(result, key);
|
|
4395
|
+
if (!hasOwn$3(AllSymbols, key) && !hasOwn$3(hiddenKeys, key)) push$1(result, key);
|
|
4151
4396
|
});
|
|
4152
4397
|
return result;
|
|
4153
4398
|
};
|
|
@@ -4158,7 +4403,7 @@ var $getOwnPropertySymbols = function (O) {
|
|
|
4158
4403
|
var result = [];
|
|
4159
4404
|
$forEach(names, function (key) {
|
|
4160
4405
|
if (hasOwn$3(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$3(ObjectPrototype, key))) {
|
|
4161
|
-
push(result, AllSymbols[key]);
|
|
4406
|
+
push$1(result, AllSymbols[key]);
|
|
4162
4407
|
}
|
|
4163
4408
|
});
|
|
4164
4409
|
return result;
|
|
@@ -4203,7 +4448,7 @@ if (!NATIVE_SYMBOL$4) {
|
|
|
4203
4448
|
|
|
4204
4449
|
if (DESCRIPTORS$1) {
|
|
4205
4450
|
// https://github.com/tc39/proposal-Symbol-description
|
|
4206
|
-
|
|
4451
|
+
defineBuiltInAccessor$1(SymbolPrototype$1, 'description', {
|
|
4207
4452
|
configurable: true,
|
|
4208
4453
|
get: function description() {
|
|
4209
4454
|
return getInternalState(this).description;
|
|
@@ -4267,10 +4512,10 @@ var NATIVE_SYMBOL$3 = symbolConstructorDetection;
|
|
|
4267
4512
|
var symbolRegistryDetection = NATIVE_SYMBOL$3 && !!Symbol['for'] && !!Symbol.keyFor;
|
|
4268
4513
|
|
|
4269
4514
|
var $$4 = _export;
|
|
4270
|
-
var getBuiltIn$1 = getBuiltIn$
|
|
4515
|
+
var getBuiltIn$1 = getBuiltIn$7;
|
|
4271
4516
|
var hasOwn$2 = hasOwnProperty_1;
|
|
4272
|
-
var toString$
|
|
4273
|
-
var shared$1 =
|
|
4517
|
+
var toString$2 = toString$5;
|
|
4518
|
+
var shared$1 = sharedExports;
|
|
4274
4519
|
var NATIVE_SYMBOL_REGISTRY$1 = symbolRegistryDetection;
|
|
4275
4520
|
|
|
4276
4521
|
var StringToSymbolRegistry = shared$1('string-to-symbol-registry');
|
|
@@ -4280,7 +4525,7 @@ var SymbolToStringRegistry$1 = shared$1('symbol-to-string-registry');
|
|
|
4280
4525
|
// https://tc39.es/ecma262/#sec-symbol.for
|
|
4281
4526
|
$$4({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY$1 }, {
|
|
4282
4527
|
'for': function (key) {
|
|
4283
|
-
var string = toString$
|
|
4528
|
+
var string = toString$2(key);
|
|
4284
4529
|
if (hasOwn$2(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
|
|
4285
4530
|
var symbol = getBuiltIn$1('Symbol')(string);
|
|
4286
4531
|
StringToSymbolRegistry[string] = symbol;
|
|
@@ -4295,7 +4540,7 @@ var $$3 = _export;
|
|
|
4295
4540
|
var hasOwn$1 = hasOwnProperty_1;
|
|
4296
4541
|
var isSymbol$1 = isSymbol$5;
|
|
4297
4542
|
var tryToString = tryToString$3;
|
|
4298
|
-
var shared =
|
|
4543
|
+
var shared = sharedExports;
|
|
4299
4544
|
var NATIVE_SYMBOL_REGISTRY = symbolRegistryDetection;
|
|
4300
4545
|
|
|
4301
4546
|
var SymbolToStringRegistry = shared('symbol-to-string-registry');
|
|
@@ -4322,23 +4567,53 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND
|
|
|
4322
4567
|
return call$1.apply(apply$1, arguments);
|
|
4323
4568
|
});
|
|
4324
4569
|
|
|
4325
|
-
var uncurryThis$
|
|
4570
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
4571
|
+
|
|
4572
|
+
var arraySlice$1 = uncurryThis$3([].slice);
|
|
4326
4573
|
|
|
4327
|
-
var
|
|
4574
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
4575
|
+
var isArray = isArray$3;
|
|
4576
|
+
var isCallable$2 = isCallable$h;
|
|
4577
|
+
var classof = classofRaw$2;
|
|
4578
|
+
var toString$1 = toString$5;
|
|
4579
|
+
|
|
4580
|
+
var push = uncurryThis$2([].push);
|
|
4581
|
+
|
|
4582
|
+
var getJsonReplacerFunction = function (replacer) {
|
|
4583
|
+
if (isCallable$2(replacer)) return replacer;
|
|
4584
|
+
if (!isArray(replacer)) return;
|
|
4585
|
+
var rawLength = replacer.length;
|
|
4586
|
+
var keys = [];
|
|
4587
|
+
for (var i = 0; i < rawLength; i++) {
|
|
4588
|
+
var element = replacer[i];
|
|
4589
|
+
if (typeof element == 'string') push(keys, element);
|
|
4590
|
+
else if (typeof element == 'number' || classof(element) == 'Number' || classof(element) == 'String') push(keys, toString$1(element));
|
|
4591
|
+
}
|
|
4592
|
+
var keysLength = keys.length;
|
|
4593
|
+
var root = true;
|
|
4594
|
+
return function (key, value) {
|
|
4595
|
+
if (root) {
|
|
4596
|
+
root = false;
|
|
4597
|
+
return value;
|
|
4598
|
+
}
|
|
4599
|
+
if (isArray(this)) return value;
|
|
4600
|
+
for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4328
4603
|
|
|
4329
4604
|
var $$2 = _export;
|
|
4330
|
-
var getBuiltIn = getBuiltIn$
|
|
4605
|
+
var getBuiltIn = getBuiltIn$7;
|
|
4331
4606
|
var apply = functionApply;
|
|
4332
4607
|
var call = functionCall;
|
|
4333
4608
|
var uncurryThis$1 = functionUncurryThis;
|
|
4334
4609
|
var fails$1 = fails$f;
|
|
4335
|
-
var
|
|
4336
|
-
var isCallable$1 = isCallable$g;
|
|
4337
|
-
var isObject = isObject$8;
|
|
4610
|
+
var isCallable$1 = isCallable$h;
|
|
4338
4611
|
var isSymbol = isSymbol$5;
|
|
4339
4612
|
var arraySlice = arraySlice$1;
|
|
4613
|
+
var getReplacerFunction = getJsonReplacerFunction;
|
|
4340
4614
|
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
4341
4615
|
|
|
4616
|
+
var $String = String;
|
|
4342
4617
|
var $stringify = getBuiltIn('JSON', 'stringify');
|
|
4343
4618
|
var exec = uncurryThis$1(/./.exec);
|
|
4344
4619
|
var charAt = uncurryThis$1(''.charAt);
|
|
@@ -4368,13 +4643,13 @@ var ILL_FORMED_UNICODE = fails$1(function () {
|
|
|
4368
4643
|
|
|
4369
4644
|
var stringifyWithSymbolsFix = function (it, replacer) {
|
|
4370
4645
|
var args = arraySlice(arguments);
|
|
4371
|
-
var $replacer = replacer;
|
|
4372
|
-
if (!
|
|
4373
|
-
|
|
4374
|
-
|
|
4646
|
+
var $replacer = getReplacerFunction(replacer);
|
|
4647
|
+
if (!isCallable$1($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
|
4648
|
+
args[1] = function (key, value) {
|
|
4649
|
+
// some old implementations (like WebKit) could pass numbers as keys
|
|
4650
|
+
if (isCallable$1($replacer)) value = call($replacer, this, $String(key), value);
|
|
4375
4651
|
if (!isSymbol(value)) return value;
|
|
4376
4652
|
};
|
|
4377
|
-
args[1] = replacer;
|
|
4378
4653
|
return apply($stringify, null, args);
|
|
4379
4654
|
};
|
|
4380
4655
|
|
|
@@ -4430,11 +4705,11 @@ var DESCRIPTORS = descriptors;
|
|
|
4430
4705
|
var global$1 = global$e;
|
|
4431
4706
|
var uncurryThis = functionUncurryThis;
|
|
4432
4707
|
var hasOwn = hasOwnProperty_1;
|
|
4433
|
-
var isCallable = isCallable$
|
|
4708
|
+
var isCallable = isCallable$h;
|
|
4434
4709
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
4435
|
-
var toString = toString$
|
|
4436
|
-
var
|
|
4437
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
4710
|
+
var toString = toString$5;
|
|
4711
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
4712
|
+
var copyConstructorProperties = copyConstructorProperties$3;
|
|
4438
4713
|
|
|
4439
4714
|
var NativeSymbol = global$1.Symbol;
|
|
4440
4715
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
@@ -4466,7 +4741,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
4466
4741
|
var replace = uncurryThis(''.replace);
|
|
4467
4742
|
var stringSlice = uncurryThis(''.slice);
|
|
4468
4743
|
|
|
4469
|
-
|
|
4744
|
+
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
4470
4745
|
configurable: true,
|
|
4471
4746
|
get: function description() {
|
|
4472
4747
|
var symbol = thisSymbolValue(this);
|
|
@@ -4512,6 +4787,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
4512
4787
|
* @property {VirtualListHelper~ItemElementCreatorFunction} [itemElementCreatorFn] an optional function for providing fresh item elements (default creates `<li />`s)
|
|
4513
4788
|
* @property {VirtualListHelper~ItemRenderFunction} [onItemRender] a function for rendering element content based on item index
|
|
4514
4789
|
* @property {VirtualListHelper~ItemUnrenderFunction} [onItemUnrender] a function for freeing resources in an item element
|
|
4790
|
+
* @property {function(height: number)} [onScrollHeightChange] a function to be notified when scroll height changes
|
|
4515
4791
|
*
|
|
4516
4792
|
*/
|
|
4517
4793
|
|
|
@@ -4586,6 +4862,9 @@ function insertBeforeWithFragment(itemEl, fragment, before, itemParent) {
|
|
|
4586
4862
|
/** @type VirtualListHelper~ItemUnrenderFunction|null */
|
|
4587
4863
|
onItemUnrender: null,
|
|
4588
4864
|
|
|
4865
|
+
/** @type funct(height: number)|null */
|
|
4866
|
+
onScrollHeightChange: null,
|
|
4867
|
+
|
|
4589
4868
|
// internal:
|
|
4590
4869
|
|
|
4591
4870
|
/** @type Element|null */
|
|
@@ -4642,6 +4921,9 @@ function insertBeforeWithFragment(itemEl, fragment, before, itemParent) {
|
|
|
4642
4921
|
|
|
4643
4922
|
if (typeof opts.onItemUnrender === 'function')
|
|
4644
4923
|
this.setOnItemUnrender(opts.onItemUnrender);
|
|
4924
|
+
|
|
4925
|
+
if (typeof opts.onScrollHeightChange === 'function')
|
|
4926
|
+
this.setOnScrollHeightChange(opts.onScrollHeightChange);
|
|
4645
4927
|
}
|
|
4646
4928
|
|
|
4647
4929
|
/**
|
|
@@ -4852,6 +5134,17 @@ function insertBeforeWithFragment(itemEl, fragment, before, itemParent) {
|
|
|
4852
5134
|
return this;
|
|
4853
5135
|
}
|
|
4854
5136
|
|
|
5137
|
+
/**
|
|
5138
|
+
* The `onScrollHeightChange` is a function called when the scroll height changes.
|
|
5139
|
+
* @param {function(height: number)} fn
|
|
5140
|
+
* @returns {VirtualListHelper}
|
|
5141
|
+
*/ }, { key: "setOnScrollHeightChange", value:
|
|
5142
|
+
function setOnScrollHeightChange(fn) {
|
|
5143
|
+
var p = this._p;
|
|
5144
|
+
p.onScrollHeightChange = fn;
|
|
5145
|
+
return this;
|
|
5146
|
+
}
|
|
5147
|
+
|
|
4855
5148
|
/**
|
|
4856
5149
|
* Estimates the full scroll height. This gets better as more renderings occur.
|
|
4857
5150
|
* @returns {number}
|
|
@@ -5066,7 +5359,12 @@ function insertBeforeWithFragment(itemEl, fragment, before, itemParent) {
|
|
|
5066
5359
|
|
|
5067
5360
|
// Calculate up-to-date scroll height
|
|
5068
5361
|
var scrollHeight = this.estimateFullHeight();
|
|
5069
|
-
|
|
5362
|
+
var scrollHeightPx = scrollHeight + 'px';
|
|
5363
|
+
|
|
5364
|
+
if (virtualWrapper.style.height !== scrollHeightPx) {var _p$onScrollHeightChan;
|
|
5365
|
+
p.virtualWrapper.style.height = scrollHeightPx;
|
|
5366
|
+
(_p$onScrollHeightChan = p.onScrollHeightChange) === null || _p$onScrollHeightChan === void 0 ? void 0 : _p$onScrollHeightChan.call(p, scrollHeight);
|
|
5367
|
+
}
|
|
5070
5368
|
|
|
5071
5369
|
if (originalWidth !== list.clientWidth)
|
|
5072
5370
|
this.render();
|
|
@@ -5137,7 +5435,7 @@ function insertBeforeWithFragment(itemEl, fragment, before, itemParent) {
|
|
|
5137
5435
|
|
|
5138
5436
|
var p = this._p;
|
|
5139
5437
|
|
|
5140
|
-
if (atIndex <
|
|
5438
|
+
if (atIndex < 0 || atIndex >= p.count)
|
|
5141
5439
|
atIndex = p.count;
|
|
5142
5440
|
|
|
5143
5441
|
p.count += count;
|