@opengeoweb/webmap-react 9.6.0 → 9.8.0
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/index.esm.js +287 -305
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -394,12 +394,12 @@ var functionBindNative = !fails$h(function () {
|
|
|
394
394
|
var NATIVE_BIND$3 = functionBindNative;
|
|
395
395
|
|
|
396
396
|
var FunctionPrototype$2 = Function.prototype;
|
|
397
|
-
var call$
|
|
398
|
-
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$
|
|
397
|
+
var call$e = FunctionPrototype$2.call;
|
|
398
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$e, call$e);
|
|
399
399
|
|
|
400
400
|
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
401
401
|
return function () {
|
|
402
|
-
return call$
|
|
402
|
+
return call$e.apply(fn, arguments);
|
|
403
403
|
};
|
|
404
404
|
};
|
|
405
405
|
|
|
@@ -458,7 +458,7 @@ var check = function (it) {
|
|
|
458
458
|
};
|
|
459
459
|
|
|
460
460
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
461
|
-
var global$
|
|
461
|
+
var global$k =
|
|
462
462
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
463
463
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
464
464
|
check(typeof window == 'object' && window) ||
|
|
@@ -471,24 +471,24 @@ var global$j =
|
|
|
471
471
|
|
|
472
472
|
var shared$3 = {exports: {}};
|
|
473
473
|
|
|
474
|
-
var global$
|
|
474
|
+
var global$j = global$k;
|
|
475
475
|
|
|
476
476
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
477
477
|
var defineProperty$6 = Object.defineProperty;
|
|
478
478
|
|
|
479
479
|
var defineGlobalProperty$3 = function (key, value) {
|
|
480
480
|
try {
|
|
481
|
-
defineProperty$6(global$
|
|
481
|
+
defineProperty$6(global$j, key, { value: value, configurable: true, writable: true });
|
|
482
482
|
} catch (error) {
|
|
483
|
-
global$
|
|
483
|
+
global$j[key] = value;
|
|
484
484
|
} return value;
|
|
485
485
|
};
|
|
486
486
|
|
|
487
|
-
var global$
|
|
487
|
+
var global$i = global$k;
|
|
488
488
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
489
489
|
|
|
490
490
|
var SHARED = '__core-js_shared__';
|
|
491
|
-
var store$3 = global$
|
|
491
|
+
var store$3 = global$i[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
492
492
|
|
|
493
493
|
var sharedStore = store$3;
|
|
494
494
|
|
|
@@ -497,10 +497,10 @@ var store$2 = sharedStore;
|
|
|
497
497
|
(shared$3.exports = function (key, value) {
|
|
498
498
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
499
499
|
})('versions', []).push({
|
|
500
|
-
version: '3.
|
|
500
|
+
version: '3.35.1',
|
|
501
501
|
mode: 'global',
|
|
502
|
-
copyright: '© 2014-
|
|
503
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
502
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
503
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
|
|
504
504
|
source: 'https://github.com/zloirock/core-js'
|
|
505
505
|
});
|
|
506
506
|
|
|
@@ -538,11 +538,11 @@ var uid$2 = function (key) {
|
|
|
538
538
|
|
|
539
539
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
540
540
|
|
|
541
|
-
var global$
|
|
541
|
+
var global$h = global$k;
|
|
542
542
|
var userAgent$5 = engineUserAgent;
|
|
543
543
|
|
|
544
|
-
var process$3 = global$
|
|
545
|
-
var Deno$1 = global$
|
|
544
|
+
var process$3 = global$h.process;
|
|
545
|
+
var Deno$1 = global$h.Deno;
|
|
546
546
|
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
547
547
|
var v8 = versions && versions.v8;
|
|
548
548
|
var match, version;
|
|
@@ -569,9 +569,9 @@ var engineV8Version = version;
|
|
|
569
569
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
570
570
|
var V8_VERSION$1 = engineV8Version;
|
|
571
571
|
var fails$f = fails$i;
|
|
572
|
-
var global$
|
|
572
|
+
var global$g = global$k;
|
|
573
573
|
|
|
574
|
-
var $String$5 = global$
|
|
574
|
+
var $String$5 = global$g.String;
|
|
575
575
|
|
|
576
576
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
577
577
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
|
|
@@ -592,14 +592,14 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
592
592
|
&& !Symbol.sham
|
|
593
593
|
&& typeof Symbol.iterator == 'symbol';
|
|
594
594
|
|
|
595
|
-
var global$
|
|
595
|
+
var global$f = global$k;
|
|
596
596
|
var shared$2 = shared$3.exports;
|
|
597
597
|
var hasOwn$a = hasOwnProperty_1;
|
|
598
598
|
var uid$1 = uid$2;
|
|
599
599
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
600
600
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
601
601
|
|
|
602
|
-
var Symbol$2 = global$
|
|
602
|
+
var Symbol$2 = global$f.Symbol;
|
|
603
603
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
604
604
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
605
605
|
|
|
@@ -611,48 +611,32 @@ var wellKnownSymbol$g = function (name) {
|
|
|
611
611
|
} return WellKnownSymbolsStore[name];
|
|
612
612
|
};
|
|
613
613
|
|
|
614
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
615
|
-
|
|
616
614
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
617
|
-
|
|
618
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
619
|
-
|
|
620
|
-
var documentAll_1 = {
|
|
621
|
-
all: documentAll$2,
|
|
622
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
var $documentAll$1 = documentAll_1;
|
|
626
|
-
|
|
627
|
-
var documentAll$1 = $documentAll$1.all;
|
|
615
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
628
616
|
|
|
629
617
|
// `IsCallable` abstract operation
|
|
630
618
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
631
|
-
|
|
632
|
-
|
|
619
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
620
|
+
var isCallable$j = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
621
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
633
622
|
} : function (argument) {
|
|
634
623
|
return typeof argument == 'function';
|
|
635
624
|
};
|
|
636
625
|
|
|
637
|
-
var isCallable$
|
|
638
|
-
var $documentAll = documentAll_1;
|
|
626
|
+
var isCallable$i = isCallable$j;
|
|
639
627
|
|
|
640
|
-
var
|
|
641
|
-
|
|
642
|
-
var isObject$9 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
643
|
-
return typeof it == 'object' ? it !== null : isCallable$j(it) || it === documentAll;
|
|
644
|
-
} : function (it) {
|
|
645
|
-
return typeof it == 'object' ? it !== null : isCallable$j(it);
|
|
628
|
+
var isObject$a = function (it) {
|
|
629
|
+
return typeof it == 'object' ? it !== null : isCallable$i(it);
|
|
646
630
|
};
|
|
647
631
|
|
|
648
|
-
var isObject$
|
|
632
|
+
var isObject$9 = isObject$a;
|
|
649
633
|
|
|
650
634
|
var $String$4 = String;
|
|
651
635
|
var $TypeError$e = TypeError;
|
|
652
636
|
|
|
653
637
|
// `Assert: Type(argument) is Object`
|
|
654
638
|
var anObject$c = function (argument) {
|
|
655
|
-
if (isObject$
|
|
639
|
+
if (isObject$9(argument)) return argument;
|
|
656
640
|
throw new $TypeError$e($String$4(argument) + ' is not an object');
|
|
657
641
|
};
|
|
658
642
|
|
|
@@ -666,12 +650,12 @@ var descriptors = !fails$e(function () {
|
|
|
666
650
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
667
651
|
});
|
|
668
652
|
|
|
669
|
-
var DESCRIPTORS$
|
|
653
|
+
var DESCRIPTORS$b = descriptors;
|
|
670
654
|
var fails$d = fails$i;
|
|
671
655
|
|
|
672
656
|
// V8 ~ Chrome 36-
|
|
673
657
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
674
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
658
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$d(function () {
|
|
675
659
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
676
660
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
677
661
|
value: 42,
|
|
@@ -681,23 +665,23 @@ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$d(function () {
|
|
|
681
665
|
|
|
682
666
|
var objectDefineProperty = {};
|
|
683
667
|
|
|
684
|
-
var global$
|
|
685
|
-
var isObject$
|
|
668
|
+
var global$e = global$k;
|
|
669
|
+
var isObject$8 = isObject$a;
|
|
686
670
|
|
|
687
|
-
var document$3 = global$
|
|
671
|
+
var document$3 = global$e.document;
|
|
688
672
|
// typeof document.createElement is 'object' in old IE
|
|
689
|
-
var EXISTS$1 = isObject$
|
|
673
|
+
var EXISTS$1 = isObject$8(document$3) && isObject$8(document$3.createElement);
|
|
690
674
|
|
|
691
675
|
var documentCreateElement$2 = function (it) {
|
|
692
676
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
693
677
|
};
|
|
694
678
|
|
|
695
|
-
var DESCRIPTORS$
|
|
679
|
+
var DESCRIPTORS$a = descriptors;
|
|
696
680
|
var fails$c = fails$i;
|
|
697
681
|
var createElement$1 = documentCreateElement$2;
|
|
698
682
|
|
|
699
683
|
// Thanks to IE8 for its funny defineProperty
|
|
700
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
684
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$c(function () {
|
|
701
685
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
702
686
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
703
687
|
get: function () { return 7; }
|
|
@@ -706,21 +690,21 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$c(function () {
|
|
|
706
690
|
|
|
707
691
|
var NATIVE_BIND$2 = functionBindNative;
|
|
708
692
|
|
|
709
|
-
var call$
|
|
693
|
+
var call$d = Function.prototype.call;
|
|
710
694
|
|
|
711
|
-
var functionCall = NATIVE_BIND$2 ? call$
|
|
712
|
-
return call$
|
|
695
|
+
var functionCall = NATIVE_BIND$2 ? call$d.bind(call$d) : function () {
|
|
696
|
+
return call$d.apply(call$d, arguments);
|
|
713
697
|
};
|
|
714
698
|
|
|
715
|
-
var global$
|
|
716
|
-
var isCallable$
|
|
699
|
+
var global$d = global$k;
|
|
700
|
+
var isCallable$h = isCallable$j;
|
|
717
701
|
|
|
718
702
|
var aFunction = function (argument) {
|
|
719
|
-
return isCallable$
|
|
703
|
+
return isCallable$h(argument) ? argument : undefined;
|
|
720
704
|
};
|
|
721
705
|
|
|
722
706
|
var getBuiltIn$7 = function (namespace, method) {
|
|
723
|
-
return arguments.length < 2 ? aFunction(global$
|
|
707
|
+
return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
|
|
724
708
|
};
|
|
725
709
|
|
|
726
710
|
var uncurryThis$f = functionUncurryThis;
|
|
@@ -728,7 +712,7 @@ var uncurryThis$f = functionUncurryThis;
|
|
|
728
712
|
var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
|
|
729
713
|
|
|
730
714
|
var getBuiltIn$6 = getBuiltIn$7;
|
|
731
|
-
var isCallable$
|
|
715
|
+
var isCallable$g = isCallable$j;
|
|
732
716
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
733
717
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
734
718
|
|
|
@@ -738,7 +722,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
738
722
|
return typeof it == 'symbol';
|
|
739
723
|
} : function (it) {
|
|
740
724
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
741
|
-
return isCallable$
|
|
725
|
+
return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
|
|
742
726
|
};
|
|
743
727
|
|
|
744
728
|
var $String$3 = String;
|
|
@@ -751,14 +735,14 @@ var tryToString$5 = function (argument) {
|
|
|
751
735
|
}
|
|
752
736
|
};
|
|
753
737
|
|
|
754
|
-
var isCallable$
|
|
738
|
+
var isCallable$f = isCallable$j;
|
|
755
739
|
var tryToString$4 = tryToString$5;
|
|
756
740
|
|
|
757
741
|
var $TypeError$d = TypeError;
|
|
758
742
|
|
|
759
743
|
// `Assert: IsCallable(argument) is true`
|
|
760
744
|
var aCallable$a = function (argument) {
|
|
761
|
-
if (isCallable$
|
|
745
|
+
if (isCallable$f(argument)) return argument;
|
|
762
746
|
throw new $TypeError$d(tryToString$4(argument) + ' is not a function');
|
|
763
747
|
};
|
|
764
748
|
|
|
@@ -772,9 +756,9 @@ var getMethod$3 = function (V, P) {
|
|
|
772
756
|
return isNullOrUndefined$2(func) ? undefined : aCallable$9(func);
|
|
773
757
|
};
|
|
774
758
|
|
|
775
|
-
var call$
|
|
776
|
-
var isCallable$
|
|
777
|
-
var isObject$
|
|
759
|
+
var call$c = functionCall;
|
|
760
|
+
var isCallable$e = isCallable$j;
|
|
761
|
+
var isObject$7 = isObject$a;
|
|
778
762
|
|
|
779
763
|
var $TypeError$c = TypeError;
|
|
780
764
|
|
|
@@ -782,14 +766,14 @@ var $TypeError$c = TypeError;
|
|
|
782
766
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
783
767
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
784
768
|
var fn, val;
|
|
785
|
-
if (pref === 'string' && isCallable$
|
|
786
|
-
if (isCallable$
|
|
787
|
-
if (pref !== 'string' && isCallable$
|
|
769
|
+
if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$7(val = call$c(fn, input))) return val;
|
|
770
|
+
if (isCallable$e(fn = input.valueOf) && !isObject$7(val = call$c(fn, input))) return val;
|
|
771
|
+
if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$7(val = call$c(fn, input))) return val;
|
|
788
772
|
throw new $TypeError$c("Can't convert object to primitive value");
|
|
789
773
|
};
|
|
790
774
|
|
|
791
|
-
var call$
|
|
792
|
-
var isObject$
|
|
775
|
+
var call$b = functionCall;
|
|
776
|
+
var isObject$6 = isObject$a;
|
|
793
777
|
var isSymbol$1 = isSymbol$2;
|
|
794
778
|
var getMethod$2 = getMethod$3;
|
|
795
779
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -801,13 +785,13 @@ var TO_PRIMITIVE = wellKnownSymbol$f('toPrimitive');
|
|
|
801
785
|
// `ToPrimitive` abstract operation
|
|
802
786
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
803
787
|
var toPrimitive$1 = function (input, pref) {
|
|
804
|
-
if (!isObject$
|
|
788
|
+
if (!isObject$6(input) || isSymbol$1(input)) return input;
|
|
805
789
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
806
790
|
var result;
|
|
807
791
|
if (exoticToPrim) {
|
|
808
792
|
if (pref === undefined) pref = 'default';
|
|
809
|
-
result = call$
|
|
810
|
-
if (!isObject$
|
|
793
|
+
result = call$b(exoticToPrim, input, pref);
|
|
794
|
+
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
811
795
|
throw new $TypeError$b("Can't convert object to primitive value");
|
|
812
796
|
}
|
|
813
797
|
if (pref === undefined) pref = 'number';
|
|
@@ -819,16 +803,16 @@ var isSymbol = isSymbol$2;
|
|
|
819
803
|
|
|
820
804
|
// `ToPropertyKey` abstract operation
|
|
821
805
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
822
|
-
var toPropertyKey$
|
|
806
|
+
var toPropertyKey$2 = function (argument) {
|
|
823
807
|
var key = toPrimitive(argument, 'string');
|
|
824
808
|
return isSymbol(key) ? key : key + '';
|
|
825
809
|
};
|
|
826
810
|
|
|
827
|
-
var DESCRIPTORS$
|
|
811
|
+
var DESCRIPTORS$9 = descriptors;
|
|
828
812
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
829
813
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
830
814
|
var anObject$b = anObject$c;
|
|
831
|
-
var toPropertyKey$
|
|
815
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
832
816
|
|
|
833
817
|
var $TypeError$a = TypeError;
|
|
834
818
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -841,9 +825,9 @@ var WRITABLE = 'writable';
|
|
|
841
825
|
|
|
842
826
|
// `Object.defineProperty` method
|
|
843
827
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
844
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
828
|
+
objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
845
829
|
anObject$b(O);
|
|
846
|
-
P = toPropertyKey$
|
|
830
|
+
P = toPropertyKey$1(P);
|
|
847
831
|
anObject$b(Attributes);
|
|
848
832
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
849
833
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
@@ -858,7 +842,7 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
858
842
|
} return $defineProperty(O, P, Attributes);
|
|
859
843
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
860
844
|
anObject$b(O);
|
|
861
|
-
P = toPropertyKey$
|
|
845
|
+
P = toPropertyKey$1(P);
|
|
862
846
|
anObject$b(Attributes);
|
|
863
847
|
if (IE8_DOM_DEFINE$1) try {
|
|
864
848
|
return $defineProperty(O, P, Attributes);
|
|
@@ -891,15 +875,15 @@ var toIntegerOrInfinity$2 = function (argument) {
|
|
|
891
875
|
|
|
892
876
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
893
877
|
|
|
894
|
-
var max
|
|
878
|
+
var max = Math.max;
|
|
895
879
|
var min$1 = Math.min;
|
|
896
880
|
|
|
897
881
|
// Helper for a popular repeating case of the spec:
|
|
898
882
|
// Let integer be ? ToInteger(index).
|
|
899
883
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
900
|
-
var toAbsoluteIndex$
|
|
884
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
901
885
|
var integer = toIntegerOrInfinity$1(index);
|
|
902
|
-
return integer < 0 ? max
|
|
886
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
903
887
|
};
|
|
904
888
|
|
|
905
889
|
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
@@ -909,27 +893,28 @@ var min = Math.min;
|
|
|
909
893
|
// `ToLength` abstract operation
|
|
910
894
|
// https://tc39.es/ecma262/#sec-tolength
|
|
911
895
|
var toLength$1 = function (argument) {
|
|
912
|
-
|
|
896
|
+
var len = toIntegerOrInfinity(argument);
|
|
897
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
913
898
|
};
|
|
914
899
|
|
|
915
900
|
var toLength = toLength$1;
|
|
916
901
|
|
|
917
902
|
// `LengthOfArrayLike` abstract operation
|
|
918
903
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
919
|
-
var lengthOfArrayLike$
|
|
904
|
+
var lengthOfArrayLike$4 = function (obj) {
|
|
920
905
|
return toLength(obj.length);
|
|
921
906
|
};
|
|
922
907
|
|
|
923
908
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
924
|
-
var toAbsoluteIndex
|
|
925
|
-
var lengthOfArrayLike$
|
|
909
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
910
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$4;
|
|
926
911
|
|
|
927
912
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
928
913
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
929
914
|
return function ($this, el, fromIndex) {
|
|
930
915
|
var O = toIndexedObject$4($this);
|
|
931
|
-
var length = lengthOfArrayLike$
|
|
932
|
-
var index = toAbsoluteIndex
|
|
916
|
+
var length = lengthOfArrayLike$3(O);
|
|
917
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
933
918
|
var value;
|
|
934
919
|
// Array#includes uses SameValueZero equality algorithm
|
|
935
920
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -997,9 +982,9 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
997
982
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
998
983
|
};
|
|
999
984
|
|
|
1000
|
-
var DESCRIPTORS$
|
|
985
|
+
var DESCRIPTORS$8 = descriptors;
|
|
1001
986
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1002
|
-
var definePropertyModule$
|
|
987
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
1003
988
|
var anObject$a = anObject$c;
|
|
1004
989
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
1005
990
|
var objectKeys$1 = objectKeys$2;
|
|
@@ -1007,14 +992,14 @@ var objectKeys$1 = objectKeys$2;
|
|
|
1007
992
|
// `Object.defineProperties` method
|
|
1008
993
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1009
994
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1010
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
995
|
+
objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1011
996
|
anObject$a(O);
|
|
1012
997
|
var props = toIndexedObject$2(Properties);
|
|
1013
998
|
var keys = objectKeys$1(Properties);
|
|
1014
999
|
var length = keys.length;
|
|
1015
1000
|
var index = 0;
|
|
1016
1001
|
var key;
|
|
1017
|
-
while (length > index) definePropertyModule$
|
|
1002
|
+
while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
|
|
1018
1003
|
return O;
|
|
1019
1004
|
};
|
|
1020
1005
|
|
|
@@ -1138,14 +1123,14 @@ var addToUnscopables$2 = function (key) {
|
|
|
1138
1123
|
|
|
1139
1124
|
var iterators = {};
|
|
1140
1125
|
|
|
1141
|
-
var global$
|
|
1142
|
-
var isCallable$
|
|
1126
|
+
var global$c = global$k;
|
|
1127
|
+
var isCallable$d = isCallable$j;
|
|
1143
1128
|
|
|
1144
|
-
var WeakMap$1 = global$
|
|
1129
|
+
var WeakMap$1 = global$c.WeakMap;
|
|
1145
1130
|
|
|
1146
|
-
var weakMapBasicDetection = isCallable$
|
|
1131
|
+
var weakMapBasicDetection = isCallable$d(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
1147
1132
|
|
|
1148
|
-
var createPropertyDescriptor$
|
|
1133
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
1149
1134
|
return {
|
|
1150
1135
|
enumerable: !(bitmap & 1),
|
|
1151
1136
|
configurable: !(bitmap & 2),
|
|
@@ -1154,20 +1139,20 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
|
1154
1139
|
};
|
|
1155
1140
|
};
|
|
1156
1141
|
|
|
1157
|
-
var DESCRIPTORS$
|
|
1158
|
-
var definePropertyModule$
|
|
1159
|
-
var createPropertyDescriptor$
|
|
1142
|
+
var DESCRIPTORS$7 = descriptors;
|
|
1143
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1144
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
1160
1145
|
|
|
1161
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
|
1162
|
-
return definePropertyModule$
|
|
1146
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
1147
|
+
return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
|
|
1163
1148
|
} : function (object, key, value) {
|
|
1164
1149
|
object[key] = value;
|
|
1165
1150
|
return object;
|
|
1166
1151
|
};
|
|
1167
1152
|
|
|
1168
1153
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
1169
|
-
var global$
|
|
1170
|
-
var isObject$
|
|
1154
|
+
var global$b = global$k;
|
|
1155
|
+
var isObject$5 = isObject$a;
|
|
1171
1156
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
1172
1157
|
var hasOwn$8 = hasOwnProperty_1;
|
|
1173
1158
|
var shared = sharedStore;
|
|
@@ -1175,8 +1160,8 @@ var sharedKey$1 = sharedKey$3;
|
|
|
1175
1160
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
1176
1161
|
|
|
1177
1162
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1178
|
-
var TypeError$2 = global$
|
|
1179
|
-
var WeakMap = global$
|
|
1163
|
+
var TypeError$2 = global$b.TypeError;
|
|
1164
|
+
var WeakMap = global$b.WeakMap;
|
|
1180
1165
|
var set$1, get, has;
|
|
1181
1166
|
|
|
1182
1167
|
var enforce = function (it) {
|
|
@@ -1186,7 +1171,7 @@ var enforce = function (it) {
|
|
|
1186
1171
|
var getterFor = function (TYPE) {
|
|
1187
1172
|
return function (it) {
|
|
1188
1173
|
var state;
|
|
1189
|
-
if (!isObject$
|
|
1174
|
+
if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
|
|
1190
1175
|
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
1191
1176
|
} return state;
|
|
1192
1177
|
};
|
|
@@ -1254,12 +1239,12 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
1254
1239
|
return !!descriptor && descriptor.enumerable;
|
|
1255
1240
|
} : $propertyIsEnumerable;
|
|
1256
1241
|
|
|
1257
|
-
var DESCRIPTORS$
|
|
1258
|
-
var call$
|
|
1242
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1243
|
+
var call$a = functionCall;
|
|
1259
1244
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
1260
|
-
var createPropertyDescriptor$
|
|
1245
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
1261
1246
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1262
|
-
var toPropertyKey
|
|
1247
|
+
var toPropertyKey = toPropertyKey$2;
|
|
1263
1248
|
var hasOwn$7 = hasOwnProperty_1;
|
|
1264
1249
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1265
1250
|
|
|
@@ -1268,28 +1253,28 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
1268
1253
|
|
|
1269
1254
|
// `Object.getOwnPropertyDescriptor` method
|
|
1270
1255
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1271
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
1256
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
1272
1257
|
O = toIndexedObject$1(O);
|
|
1273
|
-
P = toPropertyKey
|
|
1258
|
+
P = toPropertyKey(P);
|
|
1274
1259
|
if (IE8_DOM_DEFINE) try {
|
|
1275
1260
|
return $getOwnPropertyDescriptor(O, P);
|
|
1276
1261
|
} catch (error) { /* empty */ }
|
|
1277
|
-
if (hasOwn$7(O, P)) return createPropertyDescriptor$
|
|
1262
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$a(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
1278
1263
|
};
|
|
1279
1264
|
|
|
1280
1265
|
var makeBuiltIn$3 = {exports: {}};
|
|
1281
1266
|
|
|
1282
|
-
var DESCRIPTORS$
|
|
1267
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1283
1268
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1284
1269
|
|
|
1285
1270
|
var FunctionPrototype$1 = Function.prototype;
|
|
1286
1271
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1287
|
-
var getDescriptor = DESCRIPTORS$
|
|
1272
|
+
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
1288
1273
|
|
|
1289
1274
|
var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
|
|
1290
1275
|
// additional protection from minified / mangled / dropped function names
|
|
1291
1276
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1292
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
1277
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
1293
1278
|
|
|
1294
1279
|
var functionName = {
|
|
1295
1280
|
EXISTS: EXISTS,
|
|
@@ -1298,13 +1283,13 @@ var functionName = {
|
|
|
1298
1283
|
};
|
|
1299
1284
|
|
|
1300
1285
|
var uncurryThis$d = functionUncurryThis;
|
|
1301
|
-
var isCallable$
|
|
1286
|
+
var isCallable$c = isCallable$j;
|
|
1302
1287
|
var store = sharedStore;
|
|
1303
1288
|
|
|
1304
1289
|
var functionToString = uncurryThis$d(Function.toString);
|
|
1305
1290
|
|
|
1306
1291
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1307
|
-
if (!isCallable$
|
|
1292
|
+
if (!isCallable$c(store.inspectSource)) {
|
|
1308
1293
|
store.inspectSource = function (it) {
|
|
1309
1294
|
return functionToString(it);
|
|
1310
1295
|
};
|
|
@@ -1314,9 +1299,9 @@ var inspectSource$3 = store.inspectSource;
|
|
|
1314
1299
|
|
|
1315
1300
|
var uncurryThis$c = functionUncurryThis;
|
|
1316
1301
|
var fails$b = fails$i;
|
|
1317
|
-
var isCallable$
|
|
1302
|
+
var isCallable$b = isCallable$j;
|
|
1318
1303
|
var hasOwn$5 = hasOwnProperty_1;
|
|
1319
|
-
var DESCRIPTORS$
|
|
1304
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1320
1305
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
1321
1306
|
var inspectSource$2 = inspectSource$3;
|
|
1322
1307
|
var InternalStateModule$2 = internalState;
|
|
@@ -1330,7 +1315,7 @@ var stringSlice = uncurryThis$c(''.slice);
|
|
|
1330
1315
|
var replace$1 = uncurryThis$c(''.replace);
|
|
1331
1316
|
var join = uncurryThis$c([].join);
|
|
1332
1317
|
|
|
1333
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
1318
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$b(function () {
|
|
1334
1319
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1335
1320
|
});
|
|
1336
1321
|
|
|
@@ -1338,12 +1323,12 @@ var TEMPLATE = String(String).split('String');
|
|
|
1338
1323
|
|
|
1339
1324
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
1340
1325
|
if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
|
|
1341
|
-
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\)
|
|
1326
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
1342
1327
|
}
|
|
1343
1328
|
if (options && options.getter) name = 'get ' + name;
|
|
1344
1329
|
if (options && options.setter) name = 'set ' + name;
|
|
1345
1330
|
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
1346
|
-
if (DESCRIPTORS$
|
|
1331
|
+
if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
1347
1332
|
else value.name = name;
|
|
1348
1333
|
}
|
|
1349
1334
|
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
|
@@ -1351,7 +1336,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1351
1336
|
}
|
|
1352
1337
|
try {
|
|
1353
1338
|
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
|
1354
|
-
if (DESCRIPTORS$
|
|
1339
|
+
if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
|
|
1355
1340
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1356
1341
|
} else if (value.prototype) value.prototype = undefined;
|
|
1357
1342
|
} catch (error) { /* empty */ }
|
|
@@ -1364,11 +1349,11 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1364
1349
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1365
1350
|
// eslint-disable-next-line no-extend-native -- required
|
|
1366
1351
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
1367
|
-
return isCallable$
|
|
1352
|
+
return isCallable$b(this) && getInternalState$1(this).source || inspectSource$2(this);
|
|
1368
1353
|
}, 'toString');
|
|
1369
1354
|
|
|
1370
|
-
var isCallable$
|
|
1371
|
-
var definePropertyModule$
|
|
1355
|
+
var isCallable$a = isCallable$j;
|
|
1356
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1372
1357
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
|
1373
1358
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1374
1359
|
|
|
@@ -1376,7 +1361,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
1376
1361
|
if (!options) options = {};
|
|
1377
1362
|
var simple = options.enumerable;
|
|
1378
1363
|
var name = options.name !== undefined ? options.name : key;
|
|
1379
|
-
if (isCallable$
|
|
1364
|
+
if (isCallable$a(value)) makeBuiltIn$1(value, name, options);
|
|
1380
1365
|
if (options.global) {
|
|
1381
1366
|
if (simple) O[key] = value;
|
|
1382
1367
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1386,7 +1371,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
1386
1371
|
else if (O[key]) simple = true;
|
|
1387
1372
|
} catch (error) { /* empty */ }
|
|
1388
1373
|
if (simple) O[key] = value;
|
|
1389
|
-
else definePropertyModule$
|
|
1374
|
+
else definePropertyModule$1.f(O, key, {
|
|
1390
1375
|
value: value,
|
|
1391
1376
|
enumerable: false,
|
|
1392
1377
|
configurable: !options.nonConfigurable,
|
|
@@ -1432,11 +1417,11 @@ var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
1432
1417
|
var hasOwn$4 = hasOwnProperty_1;
|
|
1433
1418
|
var ownKeys = ownKeys$1;
|
|
1434
1419
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1435
|
-
var definePropertyModule
|
|
1420
|
+
var definePropertyModule = objectDefineProperty;
|
|
1436
1421
|
|
|
1437
1422
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1438
1423
|
var keys = ownKeys(source);
|
|
1439
|
-
var defineProperty = definePropertyModule
|
|
1424
|
+
var defineProperty = definePropertyModule.f;
|
|
1440
1425
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1441
1426
|
for (var i = 0; i < keys.length; i++) {
|
|
1442
1427
|
var key = keys[i];
|
|
@@ -1447,7 +1432,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1447
1432
|
};
|
|
1448
1433
|
|
|
1449
1434
|
var fails$a = fails$i;
|
|
1450
|
-
var isCallable$
|
|
1435
|
+
var isCallable$9 = isCallable$j;
|
|
1451
1436
|
|
|
1452
1437
|
var replacement = /#|\.prototype\./;
|
|
1453
1438
|
|
|
@@ -1455,7 +1440,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
1455
1440
|
var value = data[normalize(feature)];
|
|
1456
1441
|
return value === POLYFILL ? true
|
|
1457
1442
|
: value === NATIVE ? false
|
|
1458
|
-
: isCallable$
|
|
1443
|
+
: isCallable$9(detection) ? fails$a(detection)
|
|
1459
1444
|
: !!detection;
|
|
1460
1445
|
};
|
|
1461
1446
|
|
|
@@ -1469,7 +1454,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
1469
1454
|
|
|
1470
1455
|
var isForced_1 = isForced$2;
|
|
1471
1456
|
|
|
1472
|
-
var global$
|
|
1457
|
+
var global$a = global$k;
|
|
1473
1458
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1474
1459
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
1475
1460
|
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
@@ -1498,11 +1483,11 @@ var _export = function (options, source) {
|
|
|
1498
1483
|
var STATIC = options.stat;
|
|
1499
1484
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1500
1485
|
if (GLOBAL) {
|
|
1501
|
-
target = global$
|
|
1486
|
+
target = global$a;
|
|
1502
1487
|
} else if (STATIC) {
|
|
1503
|
-
target = global$
|
|
1488
|
+
target = global$a[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1504
1489
|
} else {
|
|
1505
|
-
target =
|
|
1490
|
+
target = global$a[TARGET] && global$a[TARGET].prototype;
|
|
1506
1491
|
}
|
|
1507
1492
|
if (target) for (key in source) {
|
|
1508
1493
|
sourceProperty = source[key];
|
|
@@ -1534,7 +1519,7 @@ var correctPrototypeGetter = !fails$9(function () {
|
|
|
1534
1519
|
});
|
|
1535
1520
|
|
|
1536
1521
|
var hasOwn$3 = hasOwnProperty_1;
|
|
1537
|
-
var isCallable$
|
|
1522
|
+
var isCallable$8 = isCallable$j;
|
|
1538
1523
|
var toObject$3 = toObject$5;
|
|
1539
1524
|
var sharedKey = sharedKey$3;
|
|
1540
1525
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1550,14 +1535,14 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1550
1535
|
var object = toObject$3(O);
|
|
1551
1536
|
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
1552
1537
|
var constructor = object.constructor;
|
|
1553
|
-
if (isCallable$
|
|
1538
|
+
if (isCallable$8(constructor) && object instanceof constructor) {
|
|
1554
1539
|
return constructor.prototype;
|
|
1555
1540
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1556
1541
|
};
|
|
1557
1542
|
|
|
1558
1543
|
var fails$8 = fails$i;
|
|
1559
|
-
var isCallable$
|
|
1560
|
-
var isObject$
|
|
1544
|
+
var isCallable$7 = isCallable$j;
|
|
1545
|
+
var isObject$4 = isObject$a;
|
|
1561
1546
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1562
1547
|
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1563
1548
|
var wellKnownSymbol$d = wellKnownSymbol$g;
|
|
@@ -1580,7 +1565,7 @@ if ([].keys) {
|
|
|
1580
1565
|
}
|
|
1581
1566
|
}
|
|
1582
1567
|
|
|
1583
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$
|
|
1568
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$2) || fails$8(function () {
|
|
1584
1569
|
var test = {};
|
|
1585
1570
|
// FF44- legacy iterators case
|
|
1586
1571
|
return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
|
|
@@ -1590,7 +1575,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1590
1575
|
|
|
1591
1576
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1592
1577
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1593
|
-
if (!isCallable$
|
|
1578
|
+
if (!isCallable$7(IteratorPrototype$2[ITERATOR$6])) {
|
|
1594
1579
|
defineBuiltIn$4(IteratorPrototype$2, ITERATOR$6, function () {
|
|
1595
1580
|
return this;
|
|
1596
1581
|
});
|
|
@@ -1616,7 +1601,7 @@ var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
|
1616
1601
|
|
|
1617
1602
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1618
1603
|
var create = objectCreate;
|
|
1619
|
-
var createPropertyDescriptor
|
|
1604
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1620
1605
|
var setToStringTag$3 = setToStringTag$4;
|
|
1621
1606
|
var Iterators$4 = iterators;
|
|
1622
1607
|
|
|
@@ -1624,7 +1609,7 @@ var returnThis$1 = function () { return this; };
|
|
|
1624
1609
|
|
|
1625
1610
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1626
1611
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1627
|
-
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor
|
|
1612
|
+
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
1628
1613
|
setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
|
|
1629
1614
|
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1630
1615
|
return IteratorConstructor;
|
|
@@ -1640,13 +1625,19 @@ var functionUncurryThisAccessor = function (object, key, method) {
|
|
|
1640
1625
|
} catch (error) { /* empty */ }
|
|
1641
1626
|
};
|
|
1642
1627
|
|
|
1643
|
-
var
|
|
1628
|
+
var isObject$3 = isObject$a;
|
|
1629
|
+
|
|
1630
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
1631
|
+
return isObject$3(argument) || argument === null;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1644
1635
|
|
|
1645
1636
|
var $String$1 = String;
|
|
1646
1637
|
var $TypeError$9 = TypeError;
|
|
1647
1638
|
|
|
1648
1639
|
var aPossiblePrototype$1 = function (argument) {
|
|
1649
|
-
if (
|
|
1640
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
1650
1641
|
throw new $TypeError$9("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1651
1642
|
};
|
|
1652
1643
|
|
|
@@ -1678,9 +1669,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1678
1669
|
}() : undefined);
|
|
1679
1670
|
|
|
1680
1671
|
var $$d = _export;
|
|
1681
|
-
var call$
|
|
1672
|
+
var call$9 = functionCall;
|
|
1682
1673
|
var FunctionName = functionName;
|
|
1683
|
-
var isCallable$6 = isCallable$
|
|
1674
|
+
var isCallable$6 = isCallable$j;
|
|
1684
1675
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1685
1676
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1686
1677
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
@@ -1750,7 +1741,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1750
1741
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
1751
1742
|
} else {
|
|
1752
1743
|
INCORRECT_VALUES_NAME = true;
|
|
1753
|
-
defaultIterator = function values() { return call$
|
|
1744
|
+
defaultIterator = function values() { return call$9(nativeIterator, this); };
|
|
1754
1745
|
}
|
|
1755
1746
|
}
|
|
1756
1747
|
|
|
@@ -1790,7 +1781,7 @@ var InternalStateModule$1 = internalState;
|
|
|
1790
1781
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1791
1782
|
var defineIterator = iteratorDefine;
|
|
1792
1783
|
var createIterResultObject = createIterResultObject$1;
|
|
1793
|
-
var DESCRIPTORS$
|
|
1784
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1794
1785
|
|
|
1795
1786
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1796
1787
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
@@ -1840,7 +1831,7 @@ addToUnscopables$1('values');
|
|
|
1840
1831
|
addToUnscopables$1('entries');
|
|
1841
1832
|
|
|
1842
1833
|
// V8 ~ Chrome 45- bug
|
|
1843
|
-
if (DESCRIPTORS$
|
|
1834
|
+
if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
1844
1835
|
defineProperty$2(values, 'name', { value: 'values' });
|
|
1845
1836
|
} catch (error) { /* empty */ }
|
|
1846
1837
|
|
|
@@ -1888,7 +1879,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1888
1879
|
|
|
1889
1880
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1890
1881
|
|
|
1891
|
-
var global$
|
|
1882
|
+
var global$9 = global$k;
|
|
1892
1883
|
var DOMIterables = domIterables;
|
|
1893
1884
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1894
1885
|
var ArrayIteratorMethods = es_array_iterator;
|
|
@@ -1920,14 +1911,14 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1920
1911
|
};
|
|
1921
1912
|
|
|
1922
1913
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1923
|
-
handlePrototype(global$
|
|
1914
|
+
handlePrototype(global$9[COLLECTION_NAME] && global$9[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1924
1915
|
}
|
|
1925
1916
|
|
|
1926
1917
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1927
1918
|
|
|
1928
|
-
var DESCRIPTORS$
|
|
1919
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1929
1920
|
var uncurryThis$9 = functionUncurryThis;
|
|
1930
|
-
var call$
|
|
1921
|
+
var call$8 = functionCall;
|
|
1931
1922
|
var fails$7 = fails$i;
|
|
1932
1923
|
var objectKeys = objectKeys$2;
|
|
1933
1924
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
@@ -1945,7 +1936,7 @@ var concat = uncurryThis$9([].concat);
|
|
|
1945
1936
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1946
1937
|
var objectAssign = !$assign || fails$7(function () {
|
|
1947
1938
|
// should have correct order of operations (Edge bug)
|
|
1948
|
-
if (DESCRIPTORS$
|
|
1939
|
+
if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
1949
1940
|
enumerable: true,
|
|
1950
1941
|
get: function () {
|
|
1951
1942
|
defineProperty$1(this, 'b', {
|
|
@@ -1977,7 +1968,7 @@ var objectAssign = !$assign || fails$7(function () {
|
|
|
1977
1968
|
var key;
|
|
1978
1969
|
while (length > j) {
|
|
1979
1970
|
key = keys[j++];
|
|
1980
|
-
if (!DESCRIPTORS$
|
|
1971
|
+
if (!DESCRIPTORS$2 || call$8(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1981
1972
|
}
|
|
1982
1973
|
} return T;
|
|
1983
1974
|
} : $assign;
|
|
@@ -2251,7 +2242,7 @@ test$2[TO_STRING_TAG$1] = 'z';
|
|
|
2251
2242
|
var toStringTagSupport = String(test$2) === '[object z]';
|
|
2252
2243
|
|
|
2253
2244
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2254
|
-
var isCallable$5 = isCallable$
|
|
2245
|
+
var isCallable$5 = isCallable$j;
|
|
2255
2246
|
var classofRaw$1 = classofRaw$2;
|
|
2256
2247
|
var wellKnownSymbol$8 = wellKnownSymbol$g;
|
|
2257
2248
|
|
|
@@ -2324,15 +2315,15 @@ var stringTrim = {
|
|
|
2324
2315
|
trim: createMethod$1(3)
|
|
2325
2316
|
};
|
|
2326
2317
|
|
|
2327
|
-
var global$
|
|
2318
|
+
var global$8 = global$k;
|
|
2328
2319
|
var fails$6 = fails$i;
|
|
2329
2320
|
var uncurryThis$7 = functionUncurryThis;
|
|
2330
2321
|
var toString$2 = toString$4;
|
|
2331
2322
|
var trim = stringTrim.trim;
|
|
2332
2323
|
var whitespaces = whitespaces$2;
|
|
2333
2324
|
|
|
2334
|
-
var $parseInt$1 = global$
|
|
2335
|
-
var Symbol$1 = global$
|
|
2325
|
+
var $parseInt$1 = global$8.parseInt;
|
|
2326
|
+
var Symbol$1 = global$8.Symbol;
|
|
2336
2327
|
var ITERATOR$3 = Symbol$1 && Symbol$1.iterator;
|
|
2337
2328
|
var hex = /^[+-]?0x/i;
|
|
2338
2329
|
var exec$1 = uncurryThis$7(hex.exec);
|
|
@@ -2374,7 +2365,7 @@ var regexpFlags = function () {
|
|
|
2374
2365
|
return result;
|
|
2375
2366
|
};
|
|
2376
2367
|
|
|
2377
|
-
var call$
|
|
2368
|
+
var call$7 = functionCall;
|
|
2378
2369
|
var hasOwn$1 = hasOwnProperty_1;
|
|
2379
2370
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
2380
2371
|
var regExpFlags = regexpFlags;
|
|
@@ -2384,7 +2375,7 @@ var RegExpPrototype$1 = RegExp.prototype;
|
|
|
2384
2375
|
var regexpGetFlags = function (R) {
|
|
2385
2376
|
var flags = R.flags;
|
|
2386
2377
|
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
|
|
2387
|
-
? call$
|
|
2378
|
+
? call$7(regExpFlags, R) : flags;
|
|
2388
2379
|
};
|
|
2389
2380
|
|
|
2390
2381
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
@@ -2405,7 +2396,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
2405
2396
|
// `RegExp.prototype.toString` method
|
|
2406
2397
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2407
2398
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2408
|
-
defineBuiltIn$2(
|
|
2399
|
+
defineBuiltIn$2(RegExpPrototype, TO_STRING, function toString() {
|
|
2409
2400
|
var R = anObject$5(this);
|
|
2410
2401
|
var pattern = $toString(R.source);
|
|
2411
2402
|
var flags = $toString(getRegExpFlags(R));
|
|
@@ -2421,78 +2412,51 @@ var deletePropertyOrThrow$1 = function (O, P) {
|
|
|
2421
2412
|
if (!delete O[P]) throw new $TypeError$8('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
2422
2413
|
};
|
|
2423
2414
|
|
|
2424
|
-
var
|
|
2425
|
-
var definePropertyModule = objectDefineProperty;
|
|
2426
|
-
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
2427
|
-
|
|
2428
|
-
var createProperty$1 = function (object, key, value) {
|
|
2429
|
-
var propertyKey = toPropertyKey(key);
|
|
2430
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
2431
|
-
else object[propertyKey] = value;
|
|
2432
|
-
};
|
|
2433
|
-
|
|
2434
|
-
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
2435
|
-
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
2436
|
-
var createProperty = createProperty$1;
|
|
2437
|
-
|
|
2438
|
-
var $Array = Array;
|
|
2439
|
-
var max = Math.max;
|
|
2415
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
2440
2416
|
|
|
2441
|
-
var
|
|
2442
|
-
var length = lengthOfArrayLike$3(O);
|
|
2443
|
-
var k = toAbsoluteIndex(start, length);
|
|
2444
|
-
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
2445
|
-
var result = $Array(max(fin - k, 0));
|
|
2446
|
-
var n = 0;
|
|
2447
|
-
for (; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
2448
|
-
result.length = n;
|
|
2449
|
-
return result;
|
|
2450
|
-
};
|
|
2417
|
+
var arraySlice$2 = uncurryThis$6([].slice);
|
|
2451
2418
|
|
|
2452
|
-
var arraySlice$
|
|
2419
|
+
var arraySlice$1 = arraySlice$2;
|
|
2453
2420
|
|
|
2454
2421
|
var floor = Math.floor;
|
|
2455
2422
|
|
|
2456
|
-
var
|
|
2423
|
+
var sort = function (array, comparefn) {
|
|
2457
2424
|
var length = array.length;
|
|
2458
|
-
var middle = floor(length / 2);
|
|
2459
|
-
return length < 8 ? insertionSort(array, comparefn) : merge(
|
|
2460
|
-
array,
|
|
2461
|
-
mergeSort(arraySlice$2(array, 0, middle), comparefn),
|
|
2462
|
-
mergeSort(arraySlice$2(array, middle), comparefn),
|
|
2463
|
-
comparefn
|
|
2464
|
-
);
|
|
2465
|
-
};
|
|
2466
2425
|
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2426
|
+
if (length < 8) {
|
|
2427
|
+
// insertion sort
|
|
2428
|
+
var i = 1;
|
|
2429
|
+
var element, j;
|
|
2471
2430
|
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2431
|
+
while (i < length) {
|
|
2432
|
+
j = i;
|
|
2433
|
+
element = array[i];
|
|
2434
|
+
while (j && comparefn(array[j - 1], element) > 0) {
|
|
2435
|
+
array[j] = array[--j];
|
|
2436
|
+
}
|
|
2437
|
+
if (j !== i++) array[j] = element;
|
|
2477
2438
|
}
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2439
|
+
} else {
|
|
2440
|
+
// merge sort
|
|
2441
|
+
var middle = floor(length / 2);
|
|
2442
|
+
var left = sort(arraySlice$1(array, 0, middle), comparefn);
|
|
2443
|
+
var right = sort(arraySlice$1(array, middle), comparefn);
|
|
2444
|
+
var llength = left.length;
|
|
2445
|
+
var rlength = right.length;
|
|
2446
|
+
var lindex = 0;
|
|
2447
|
+
var rindex = 0;
|
|
2481
2448
|
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2449
|
+
while (lindex < llength || rindex < rlength) {
|
|
2450
|
+
array[lindex + rindex] = (lindex < llength && rindex < rlength)
|
|
2451
|
+
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
|
|
2452
|
+
: lindex < llength ? left[lindex++] : right[rindex++];
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2487
2455
|
|
|
2488
|
-
|
|
2489
|
-
array[lindex + rindex] = (lindex < llength && rindex < rlength)
|
|
2490
|
-
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
|
|
2491
|
-
: lindex < llength ? left[lindex++] : right[rindex++];
|
|
2492
|
-
} return array;
|
|
2456
|
+
return array;
|
|
2493
2457
|
};
|
|
2494
2458
|
|
|
2495
|
-
var arraySort =
|
|
2459
|
+
var arraySort = sort;
|
|
2496
2460
|
|
|
2497
2461
|
var fails$4 = fails$i;
|
|
2498
2462
|
|
|
@@ -2521,10 +2485,10 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
|
|
|
2521
2485
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
2522
2486
|
|
|
2523
2487
|
var $$a = _export;
|
|
2524
|
-
var uncurryThis$
|
|
2488
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2525
2489
|
var aCallable$7 = aCallable$a;
|
|
2526
2490
|
var toObject$1 = toObject$5;
|
|
2527
|
-
var lengthOfArrayLike$2 = lengthOfArrayLike$
|
|
2491
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$4;
|
|
2528
2492
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
2529
2493
|
var toString$1 = toString$4;
|
|
2530
2494
|
var fails$3 = fails$i;
|
|
@@ -2536,8 +2500,8 @@ var V8 = engineV8Version;
|
|
|
2536
2500
|
var WEBKIT = engineWebkitVersion;
|
|
2537
2501
|
|
|
2538
2502
|
var test$1 = [];
|
|
2539
|
-
var nativeSort = uncurryThis$
|
|
2540
|
-
var push = uncurryThis$
|
|
2503
|
+
var nativeSort = uncurryThis$5(test$1.sort);
|
|
2504
|
+
var push = uncurryThis$5(test$1.push);
|
|
2541
2505
|
|
|
2542
2506
|
// IE8-
|
|
2543
2507
|
var FAILS_ON_UNDEFINED = fails$3(function () {
|
|
@@ -2636,10 +2600,10 @@ var isArray$1 = Array.isArray || function isArray(argument) {
|
|
|
2636
2600
|
};
|
|
2637
2601
|
|
|
2638
2602
|
var $$9 = _export;
|
|
2639
|
-
var uncurryThis$
|
|
2603
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2640
2604
|
var isArray = isArray$1;
|
|
2641
2605
|
|
|
2642
|
-
var nativeReverse = uncurryThis$
|
|
2606
|
+
var nativeReverse = uncurryThis$4([].reverse);
|
|
2643
2607
|
var test = [1, 2];
|
|
2644
2608
|
|
|
2645
2609
|
// `Array.prototype.reverse` method
|
|
@@ -2975,8 +2939,18 @@ class MapDraw extends React.PureComponent {
|
|
|
2975
2939
|
};
|
|
2976
2940
|
this.handleExitDrawMode = (reason = 'escaped') => {
|
|
2977
2941
|
const {
|
|
2978
|
-
exitDrawModeCallback
|
|
2942
|
+
exitDrawModeCallback,
|
|
2943
|
+
selectedFeatureIndex
|
|
2979
2944
|
} = this.props;
|
|
2945
|
+
// remove last vertice when pressing ESC while drawing a polygon
|
|
2946
|
+
if (this.myDrawMode === DRAWMODE.POLYGON && this.myEditMode === EDITMODE.ADD_FEATURE && reason === 'escaped') {
|
|
2947
|
+
const currentFeature = this.geojson.features[selectedFeatureIndex];
|
|
2948
|
+
const currentGeometry = currentFeature.geometry;
|
|
2949
|
+
const coordinates = currentGeometry.coordinates[0];
|
|
2950
|
+
if (currentGeometry.type === 'Polygon') {
|
|
2951
|
+
coordinates.splice(coordinates.length - 1, 1);
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2980
2954
|
if (exitDrawModeCallback && (this.myEditMode === EDITMODE.EMPTY || this.myEditMode === EDITMODE.DELETE_FEATURES)) {
|
|
2981
2955
|
exitDrawModeCallback(reason);
|
|
2982
2956
|
}
|
|
@@ -3078,7 +3052,8 @@ class MapDraw extends React.PureComponent {
|
|
|
3078
3052
|
geojson,
|
|
3079
3053
|
isInEditMode,
|
|
3080
3054
|
isInDeleteMode,
|
|
3081
|
-
drawMode
|
|
3055
|
+
drawMode,
|
|
3056
|
+
mapId
|
|
3082
3057
|
} = this.props;
|
|
3083
3058
|
const prevGeojson = prevProps && prevProps.geojson;
|
|
3084
3059
|
const prevIsInEditMode = prevProps && prevProps.isInEditMode;
|
|
@@ -3097,6 +3072,7 @@ class MapDraw extends React.PureComponent {
|
|
|
3097
3072
|
return;
|
|
3098
3073
|
}
|
|
3099
3074
|
}
|
|
3075
|
+
webmapUtils.getWMJSMapById(mapId).draw('MapDraw::componentDidUpdateIsInEditMode');
|
|
3100
3076
|
}
|
|
3101
3077
|
/* Handle toggle delete */
|
|
3102
3078
|
if (isInDeleteMode !== prevIsInDeleteMode) {
|
|
@@ -6297,7 +6273,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
6297
6273
|
var aCallable$6 = aCallable$a;
|
|
6298
6274
|
var toObject = toObject$5;
|
|
6299
6275
|
var IndexedObject = indexedObject;
|
|
6300
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$
|
|
6276
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$4;
|
|
6301
6277
|
|
|
6302
6278
|
var $TypeError$7 = TypeError;
|
|
6303
6279
|
|
|
@@ -6337,10 +6313,10 @@ var arrayReduce = {
|
|
|
6337
6313
|
right: createMethod(true)
|
|
6338
6314
|
};
|
|
6339
6315
|
|
|
6340
|
-
var global$
|
|
6316
|
+
var global$7 = global$k;
|
|
6341
6317
|
var classof$3 = classofRaw$2;
|
|
6342
6318
|
|
|
6343
|
-
var engineIsNode = classof$3(global$
|
|
6319
|
+
var engineIsNode = classof$3(global$7.process) === 'process';
|
|
6344
6320
|
|
|
6345
6321
|
var $$8 = _export;
|
|
6346
6322
|
var $reduce = arrayReduce.left;
|
|
@@ -6374,14 +6350,14 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
|
6374
6350
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
6375
6351
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
6376
6352
|
var wellKnownSymbol$7 = wellKnownSymbol$g;
|
|
6377
|
-
var DESCRIPTORS = descriptors;
|
|
6353
|
+
var DESCRIPTORS$1 = descriptors;
|
|
6378
6354
|
|
|
6379
6355
|
var SPECIES$2 = wellKnownSymbol$7('species');
|
|
6380
6356
|
|
|
6381
6357
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
6382
6358
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
6383
6359
|
|
|
6384
|
-
if (DESCRIPTORS && Constructor && !Constructor[SPECIES$2]) {
|
|
6360
|
+
if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES$2]) {
|
|
6385
6361
|
defineBuiltInAccessor(Constructor, SPECIES$2, {
|
|
6386
6362
|
configurable: true,
|
|
6387
6363
|
get: function () { return this; }
|
|
@@ -6398,24 +6374,23 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
6398
6374
|
throw new $TypeError$6('Incorrect invocation');
|
|
6399
6375
|
};
|
|
6400
6376
|
|
|
6401
|
-
var uncurryThis$
|
|
6377
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
6402
6378
|
var fails$2 = fails$i;
|
|
6403
|
-
var isCallable$4 = isCallable$
|
|
6379
|
+
var isCallable$4 = isCallable$j;
|
|
6404
6380
|
var classof$2 = classof$6;
|
|
6405
6381
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
6406
6382
|
var inspectSource$1 = inspectSource$3;
|
|
6407
6383
|
|
|
6408
6384
|
var noop = function () { /* empty */ };
|
|
6409
|
-
var empty = [];
|
|
6410
6385
|
var construct = getBuiltIn$2('Reflect', 'construct');
|
|
6411
6386
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
6412
|
-
var exec = uncurryThis$
|
|
6387
|
+
var exec = uncurryThis$3(constructorRegExp.exec);
|
|
6413
6388
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
6414
6389
|
|
|
6415
6390
|
var isConstructorModern = function isConstructor(argument) {
|
|
6416
6391
|
if (!isCallable$4(argument)) return false;
|
|
6417
6392
|
try {
|
|
6418
|
-
construct(noop,
|
|
6393
|
+
construct(noop, [], argument);
|
|
6419
6394
|
return true;
|
|
6420
6395
|
} catch (error) {
|
|
6421
6396
|
return false;
|
|
@@ -6481,28 +6456,28 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
6481
6456
|
|
|
6482
6457
|
var FunctionPrototype = Function.prototype;
|
|
6483
6458
|
var apply$1 = FunctionPrototype.apply;
|
|
6484
|
-
var call$
|
|
6459
|
+
var call$6 = FunctionPrototype.call;
|
|
6485
6460
|
|
|
6486
6461
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
6487
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
6488
|
-
return call$
|
|
6462
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$6.bind(apply$1) : function () {
|
|
6463
|
+
return call$6.apply(apply$1, arguments);
|
|
6489
6464
|
});
|
|
6490
6465
|
|
|
6491
6466
|
var classofRaw = classofRaw$2;
|
|
6492
|
-
var uncurryThis$
|
|
6467
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
6493
6468
|
|
|
6494
6469
|
var functionUncurryThisClause = function (fn) {
|
|
6495
6470
|
// Nashorn bug:
|
|
6496
6471
|
// https://github.com/zloirock/core-js/issues/1128
|
|
6497
6472
|
// https://github.com/zloirock/core-js/issues/1130
|
|
6498
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
6473
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$2(fn);
|
|
6499
6474
|
};
|
|
6500
6475
|
|
|
6501
|
-
var uncurryThis$
|
|
6476
|
+
var uncurryThis$1 = functionUncurryThisClause;
|
|
6502
6477
|
var aCallable$5 = aCallable$a;
|
|
6503
6478
|
var NATIVE_BIND = functionBindNative;
|
|
6504
6479
|
|
|
6505
|
-
var bind$4 = uncurryThis$
|
|
6480
|
+
var bind$4 = uncurryThis$1(uncurryThis$1.bind);
|
|
6506
6481
|
|
|
6507
6482
|
// optional / simple context binding
|
|
6508
6483
|
var functionBindContext = function (fn, that) {
|
|
@@ -6512,10 +6487,6 @@ var functionBindContext = function (fn, that) {
|
|
|
6512
6487
|
};
|
|
6513
6488
|
};
|
|
6514
6489
|
|
|
6515
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
6516
|
-
|
|
6517
|
-
var arraySlice$1 = uncurryThis$1([].slice);
|
|
6518
|
-
|
|
6519
6490
|
var $TypeError$4 = TypeError;
|
|
6520
6491
|
|
|
6521
6492
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
@@ -6528,26 +6499,26 @@ var userAgent$2 = engineUserAgent;
|
|
|
6528
6499
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
6529
6500
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
6530
6501
|
|
|
6531
|
-
var global$
|
|
6502
|
+
var global$6 = global$k;
|
|
6532
6503
|
var apply = functionApply;
|
|
6533
6504
|
var bind$3 = functionBindContext;
|
|
6534
|
-
var isCallable$3 = isCallable$
|
|
6505
|
+
var isCallable$3 = isCallable$j;
|
|
6535
6506
|
var hasOwn = hasOwnProperty_1;
|
|
6536
6507
|
var fails$1 = fails$i;
|
|
6537
6508
|
var html = html$2;
|
|
6538
|
-
var arraySlice = arraySlice$
|
|
6509
|
+
var arraySlice = arraySlice$2;
|
|
6539
6510
|
var createElement = documentCreateElement$2;
|
|
6540
6511
|
var validateArgumentsLength = validateArgumentsLength$1;
|
|
6541
6512
|
var IS_IOS$1 = engineIsIos;
|
|
6542
6513
|
var IS_NODE$3 = engineIsNode;
|
|
6543
6514
|
|
|
6544
|
-
var set = global$
|
|
6545
|
-
var clear = global$
|
|
6546
|
-
var process$2 = global$
|
|
6547
|
-
var Dispatch = global$
|
|
6548
|
-
var Function$1 = global$
|
|
6549
|
-
var MessageChannel = global$
|
|
6550
|
-
var String$1 = global$
|
|
6515
|
+
var set = global$6.setImmediate;
|
|
6516
|
+
var clear = global$6.clearImmediate;
|
|
6517
|
+
var process$2 = global$6.process;
|
|
6518
|
+
var Dispatch = global$6.Dispatch;
|
|
6519
|
+
var Function$1 = global$6.Function;
|
|
6520
|
+
var MessageChannel = global$6.MessageChannel;
|
|
6521
|
+
var String$1 = global$6.String;
|
|
6551
6522
|
var counter = 0;
|
|
6552
6523
|
var queue$2 = {};
|
|
6553
6524
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -6555,7 +6526,7 @@ var $location, defer, channel, port;
|
|
|
6555
6526
|
|
|
6556
6527
|
fails$1(function () {
|
|
6557
6528
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
6558
|
-
$location = global$
|
|
6529
|
+
$location = global$6.location;
|
|
6559
6530
|
});
|
|
6560
6531
|
|
|
6561
6532
|
var run = function (id) {
|
|
@@ -6578,7 +6549,7 @@ var eventListener = function (event) {
|
|
|
6578
6549
|
|
|
6579
6550
|
var globalPostMessageDefer = function (id) {
|
|
6580
6551
|
// old engines have not location.origin
|
|
6581
|
-
global$
|
|
6552
|
+
global$6.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
6582
6553
|
};
|
|
6583
6554
|
|
|
6584
6555
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -6616,14 +6587,14 @@ if (!set || !clear) {
|
|
|
6616
6587
|
// Browsers with postMessage, skip WebWorkers
|
|
6617
6588
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
6618
6589
|
} else if (
|
|
6619
|
-
global$
|
|
6620
|
-
isCallable$3(global$
|
|
6621
|
-
!global$
|
|
6590
|
+
global$6.addEventListener &&
|
|
6591
|
+
isCallable$3(global$6.postMessage) &&
|
|
6592
|
+
!global$6.importScripts &&
|
|
6622
6593
|
$location && $location.protocol !== 'file:' &&
|
|
6623
6594
|
!fails$1(globalPostMessageDefer)
|
|
6624
6595
|
) {
|
|
6625
6596
|
defer = globalPostMessageDefer;
|
|
6626
|
-
global$
|
|
6597
|
+
global$6.addEventListener('message', eventListener, false);
|
|
6627
6598
|
// IE8-
|
|
6628
6599
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
6629
6600
|
defer = function (id) {
|
|
@@ -6645,6 +6616,19 @@ var task$1 = {
|
|
|
6645
6616
|
clear: clear
|
|
6646
6617
|
};
|
|
6647
6618
|
|
|
6619
|
+
var global$5 = global$k;
|
|
6620
|
+
var DESCRIPTORS = descriptors;
|
|
6621
|
+
|
|
6622
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6623
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6624
|
+
|
|
6625
|
+
// Avoid NodeJS experimental warning
|
|
6626
|
+
var safeGetBuiltIn$1 = function (name) {
|
|
6627
|
+
if (!DESCRIPTORS) return global$5[name];
|
|
6628
|
+
var descriptor = getOwnPropertyDescriptor(global$5, name);
|
|
6629
|
+
return descriptor && descriptor.value;
|
|
6630
|
+
};
|
|
6631
|
+
|
|
6648
6632
|
var Queue$2 = function () {
|
|
6649
6633
|
this.head = null;
|
|
6650
6634
|
this.tail = null;
|
|
@@ -6678,9 +6662,9 @@ var userAgent = engineUserAgent;
|
|
|
6678
6662
|
|
|
6679
6663
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
6680
6664
|
|
|
6681
|
-
var global$4 = global$
|
|
6665
|
+
var global$4 = global$k;
|
|
6666
|
+
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
6682
6667
|
var bind$2 = functionBindContext;
|
|
6683
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
6684
6668
|
var macrotask = task$1.set;
|
|
6685
6669
|
var Queue$1 = queue$1;
|
|
6686
6670
|
var IS_IOS = engineIsIos;
|
|
@@ -6692,9 +6676,7 @@ var MutationObserver = global$4.MutationObserver || global$4.WebKitMutationObser
|
|
|
6692
6676
|
var document$2 = global$4.document;
|
|
6693
6677
|
var process$1 = global$4.process;
|
|
6694
6678
|
var Promise$1 = global$4.Promise;
|
|
6695
|
-
|
|
6696
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$4, 'queueMicrotask');
|
|
6697
|
-
var microtask$1 = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
6679
|
+
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
6698
6680
|
var notify$1, toggle, node, promise, then;
|
|
6699
6681
|
|
|
6700
6682
|
// modern engines have queueMicrotask method
|
|
@@ -6774,7 +6756,7 @@ var perform$3 = function (exec) {
|
|
|
6774
6756
|
}
|
|
6775
6757
|
};
|
|
6776
6758
|
|
|
6777
|
-
var global$3 = global$
|
|
6759
|
+
var global$3 = global$k;
|
|
6778
6760
|
|
|
6779
6761
|
var promiseNativeConstructor = global$3.Promise;
|
|
6780
6762
|
|
|
@@ -6788,9 +6770,9 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
6788
6770
|
&& typeof window == 'object'
|
|
6789
6771
|
&& typeof document == 'object';
|
|
6790
6772
|
|
|
6791
|
-
var global$2 = global$
|
|
6773
|
+
var global$2 = global$k;
|
|
6792
6774
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
6793
|
-
var isCallable$2 = isCallable$
|
|
6775
|
+
var isCallable$2 = isCallable$j;
|
|
6794
6776
|
var isForced = isForced_1;
|
|
6795
6777
|
var inspectSource = inspectSource$3;
|
|
6796
6778
|
var wellKnownSymbol$5 = wellKnownSymbol$g;
|
|
@@ -6858,15 +6840,15 @@ newPromiseCapability$2.f = function (C) {
|
|
|
6858
6840
|
|
|
6859
6841
|
var $$7 = _export;
|
|
6860
6842
|
var IS_NODE = engineIsNode;
|
|
6861
|
-
var global$1 = global$
|
|
6862
|
-
var call$
|
|
6843
|
+
var global$1 = global$k;
|
|
6844
|
+
var call$5 = functionCall;
|
|
6863
6845
|
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
6864
6846
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
6865
6847
|
var setToStringTag = setToStringTag$4;
|
|
6866
6848
|
var setSpecies = setSpecies$1;
|
|
6867
6849
|
var aCallable$3 = aCallable$a;
|
|
6868
|
-
var isCallable$1 = isCallable$
|
|
6869
|
-
var isObject$2 = isObject$
|
|
6850
|
+
var isCallable$1 = isCallable$j;
|
|
6851
|
+
var isObject$2 = isObject$a;
|
|
6870
6852
|
var anInstance = anInstance$1;
|
|
6871
6853
|
var speciesConstructor = speciesConstructor$1;
|
|
6872
6854
|
var task = task$1.set;
|
|
@@ -6937,7 +6919,7 @@ var callReaction = function (reaction, state) {
|
|
|
6937
6919
|
if (result === reaction.promise) {
|
|
6938
6920
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
6939
6921
|
} else if (then = isThenable(result)) {
|
|
6940
|
-
call$
|
|
6922
|
+
call$5(then, result, resolve, reject);
|
|
6941
6923
|
} else resolve(result);
|
|
6942
6924
|
} else reject(value);
|
|
6943
6925
|
} catch (error) {
|
|
@@ -6974,7 +6956,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
6974
6956
|
};
|
|
6975
6957
|
|
|
6976
6958
|
var onUnhandled = function (state) {
|
|
6977
|
-
call$
|
|
6959
|
+
call$5(task, global$1, function () {
|
|
6978
6960
|
var promise = state.facade;
|
|
6979
6961
|
var value = state.value;
|
|
6980
6962
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -6997,7 +6979,7 @@ var isUnhandled = function (state) {
|
|
|
6997
6979
|
};
|
|
6998
6980
|
|
|
6999
6981
|
var onHandleUnhandled = function (state) {
|
|
7000
|
-
call$
|
|
6982
|
+
call$5(task, global$1, function () {
|
|
7001
6983
|
var promise = state.facade;
|
|
7002
6984
|
if (IS_NODE) {
|
|
7003
6985
|
process.emit('rejectionHandled', promise);
|
|
@@ -7031,7 +7013,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
7031
7013
|
microtask(function () {
|
|
7032
7014
|
var wrapper = { done: false };
|
|
7033
7015
|
try {
|
|
7034
|
-
call$
|
|
7016
|
+
call$5(then, value,
|
|
7035
7017
|
bind$1(internalResolve, wrapper, state),
|
|
7036
7018
|
bind$1(internalReject, wrapper, state)
|
|
7037
7019
|
);
|
|
@@ -7055,7 +7037,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
7055
7037
|
PromiseConstructor = function Promise(executor) {
|
|
7056
7038
|
anInstance(this, PromisePrototype);
|
|
7057
7039
|
aCallable$3(executor);
|
|
7058
|
-
call$
|
|
7040
|
+
call$5(Internal, this);
|
|
7059
7041
|
var state = getInternalPromiseState(this);
|
|
7060
7042
|
try {
|
|
7061
7043
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -7118,7 +7100,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
7118
7100
|
defineBuiltIn$1(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
7119
7101
|
var that = this;
|
|
7120
7102
|
return new PromiseConstructor(function (resolve, reject) {
|
|
7121
|
-
call$
|
|
7103
|
+
call$5(nativeThen, that, resolve, reject);
|
|
7122
7104
|
}).then(onFulfilled, onRejected);
|
|
7123
7105
|
// https://github.com/zloirock/core-js/issues/640
|
|
7124
7106
|
}, { unsafe: true });
|
|
@@ -7168,7 +7150,7 @@ var getIteratorMethod$2 = function (it) {
|
|
|
7168
7150
|
|| Iterators[classof$1(it)];
|
|
7169
7151
|
};
|
|
7170
7152
|
|
|
7171
|
-
var call$
|
|
7153
|
+
var call$4 = functionCall;
|
|
7172
7154
|
var aCallable$2 = aCallable$a;
|
|
7173
7155
|
var anObject$3 = anObject$c;
|
|
7174
7156
|
var tryToString$1 = tryToString$5;
|
|
@@ -7178,11 +7160,11 @@ var $TypeError$2 = TypeError;
|
|
|
7178
7160
|
|
|
7179
7161
|
var getIterator$1 = function (argument, usingIterator) {
|
|
7180
7162
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
7181
|
-
if (aCallable$2(iteratorMethod)) return anObject$3(call$
|
|
7163
|
+
if (aCallable$2(iteratorMethod)) return anObject$3(call$4(iteratorMethod, argument));
|
|
7182
7164
|
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
7183
7165
|
};
|
|
7184
7166
|
|
|
7185
|
-
var call$
|
|
7167
|
+
var call$3 = functionCall;
|
|
7186
7168
|
var anObject$2 = anObject$c;
|
|
7187
7169
|
var getMethod = getMethod$3;
|
|
7188
7170
|
|
|
@@ -7195,7 +7177,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
7195
7177
|
if (kind === 'throw') throw value;
|
|
7196
7178
|
return value;
|
|
7197
7179
|
}
|
|
7198
|
-
innerResult = call$
|
|
7180
|
+
innerResult = call$3(innerResult, iterator);
|
|
7199
7181
|
} catch (error) {
|
|
7200
7182
|
innerError = true;
|
|
7201
7183
|
innerResult = error;
|
|
@@ -7207,11 +7189,11 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
7207
7189
|
};
|
|
7208
7190
|
|
|
7209
7191
|
var bind = functionBindContext;
|
|
7210
|
-
var call$
|
|
7192
|
+
var call$2 = functionCall;
|
|
7211
7193
|
var anObject$1 = anObject$c;
|
|
7212
7194
|
var tryToString = tryToString$5;
|
|
7213
7195
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
7214
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
7196
|
+
var lengthOfArrayLike = lengthOfArrayLike$4;
|
|
7215
7197
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
7216
7198
|
var getIterator = getIterator$1;
|
|
7217
7199
|
var getIteratorMethod = getIteratorMethod$2;
|
|
@@ -7265,7 +7247,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
7265
7247
|
}
|
|
7266
7248
|
|
|
7267
7249
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
7268
|
-
while (!(step = call$
|
|
7250
|
+
while (!(step = call$2(next, iterator)).done) {
|
|
7269
7251
|
try {
|
|
7270
7252
|
result = callFn(step.value);
|
|
7271
7253
|
} catch (error) {
|
|
@@ -7325,7 +7307,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
7325
7307
|
});
|
|
7326
7308
|
|
|
7327
7309
|
var $$6 = _export;
|
|
7328
|
-
var call$
|
|
7310
|
+
var call$1 = functionCall;
|
|
7329
7311
|
var aCallable$1 = aCallable$a;
|
|
7330
7312
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
7331
7313
|
var perform$1 = perform$3;
|
|
@@ -7349,7 +7331,7 @@ $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
7349
7331
|
var index = counter++;
|
|
7350
7332
|
var alreadyCalled = false;
|
|
7351
7333
|
remaining++;
|
|
7352
|
-
call$
|
|
7334
|
+
call$1($promiseResolve, C, promise).then(function (value) {
|
|
7353
7335
|
if (alreadyCalled) return;
|
|
7354
7336
|
alreadyCalled = true;
|
|
7355
7337
|
values[index] = value;
|
|
@@ -7367,7 +7349,7 @@ var $$5 = _export;
|
|
|
7367
7349
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
7368
7350
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
7369
7351
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
7370
|
-
var isCallable = isCallable$
|
|
7352
|
+
var isCallable = isCallable$j;
|
|
7371
7353
|
var defineBuiltIn = defineBuiltIn$6;
|
|
7372
7354
|
|
|
7373
7355
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
@@ -7389,7 +7371,7 @@ if (isCallable(NativePromiseConstructor)) {
|
|
|
7389
7371
|
}
|
|
7390
7372
|
|
|
7391
7373
|
var $$4 = _export;
|
|
7392
|
-
var call
|
|
7374
|
+
var call = functionCall;
|
|
7393
7375
|
var aCallable = aCallable$a;
|
|
7394
7376
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
7395
7377
|
var perform = perform$3;
|
|
@@ -7406,7 +7388,7 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
7406
7388
|
var result = perform(function () {
|
|
7407
7389
|
var $promiseResolve = aCallable(C.resolve);
|
|
7408
7390
|
iterate(iterable, function (promise) {
|
|
7409
|
-
call
|
|
7391
|
+
call($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
7410
7392
|
});
|
|
7411
7393
|
});
|
|
7412
7394
|
if (result.error) reject(result.value);
|
|
@@ -7415,7 +7397,6 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
7415
7397
|
});
|
|
7416
7398
|
|
|
7417
7399
|
var $$3 = _export;
|
|
7418
|
-
var call = functionCall;
|
|
7419
7400
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
7420
7401
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
7421
7402
|
|
|
@@ -7424,13 +7405,14 @@ var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
|
7424
7405
|
$$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
7425
7406
|
reject: function reject(r) {
|
|
7426
7407
|
var capability = newPromiseCapabilityModule.f(this);
|
|
7427
|
-
|
|
7408
|
+
var capabilityReject = capability.reject;
|
|
7409
|
+
capabilityReject(r);
|
|
7428
7410
|
return capability.promise;
|
|
7429
7411
|
}
|
|
7430
7412
|
});
|
|
7431
7413
|
|
|
7432
7414
|
var anObject = anObject$c;
|
|
7433
|
-
var isObject$1 = isObject$
|
|
7415
|
+
var isObject$1 = isObject$a;
|
|
7434
7416
|
var newPromiseCapability = newPromiseCapability$2;
|
|
7435
7417
|
|
|
7436
7418
|
var promiseResolve$1 = function (C, x) {
|
|
@@ -7479,7 +7461,7 @@ $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
7479
7461
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
7480
7462
|
addToUnscopables('includes');
|
|
7481
7463
|
|
|
7482
|
-
var isObject = isObject$
|
|
7464
|
+
var isObject = isObject$a;
|
|
7483
7465
|
var classof = classofRaw$2;
|
|
7484
7466
|
var wellKnownSymbol$1 = wellKnownSymbol$g;
|
|
7485
7467
|
|