@opengeoweb/layer-select 9.5.0 → 9.7.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 +200 -295
- package/package.json +23 -1
package/index.esm.js
CHANGED
|
@@ -66,11 +66,11 @@ var functionBindNative = !fails$i(function () {
|
|
|
66
66
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
var NATIVE_BIND$
|
|
69
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
70
70
|
|
|
71
71
|
var call$a = Function.prototype.call;
|
|
72
72
|
|
|
73
|
-
var functionCall = NATIVE_BIND$
|
|
73
|
+
var functionCall = NATIVE_BIND$2 ? call$a.bind(call$a) : function () {
|
|
74
74
|
return call$a.apply(call$a, arguments);
|
|
75
75
|
};
|
|
76
76
|
|
|
@@ -90,7 +90,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
90
90
|
return !!descriptor && descriptor.enumerable;
|
|
91
91
|
} : $propertyIsEnumerable;
|
|
92
92
|
|
|
93
|
-
var createPropertyDescriptor$
|
|
93
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
94
94
|
return {
|
|
95
95
|
enumerable: !(bitmap & 1),
|
|
96
96
|
configurable: !(bitmap & 2),
|
|
@@ -99,13 +99,13 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
var NATIVE_BIND$
|
|
102
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
103
103
|
|
|
104
|
-
var FunctionPrototype$
|
|
105
|
-
var call$9 = FunctionPrototype$
|
|
106
|
-
var uncurryThisWithBind = NATIVE_BIND$
|
|
104
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
105
|
+
var call$9 = FunctionPrototype$1.call;
|
|
106
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$9, call$9);
|
|
107
107
|
|
|
108
|
-
var functionUncurryThis = NATIVE_BIND$
|
|
108
|
+
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
109
109
|
return function () {
|
|
110
110
|
return call$9.apply(fn, arguments);
|
|
111
111
|
};
|
|
@@ -161,45 +161,29 @@ var toIndexedObject$5 = function (it) {
|
|
|
161
161
|
return IndexedObject$2(requireObjectCoercible$4(it));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
165
|
-
|
|
166
164
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
167
|
-
|
|
168
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
169
|
-
|
|
170
|
-
var documentAll_1 = {
|
|
171
|
-
all: documentAll$2,
|
|
172
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
173
|
-
};
|
|
174
|
-
|
|
175
|
-
var $documentAll$1 = documentAll_1;
|
|
176
|
-
|
|
177
|
-
var documentAll$1 = $documentAll$1.all;
|
|
165
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
178
166
|
|
|
179
167
|
// `IsCallable` abstract operation
|
|
180
168
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
181
|
-
|
|
182
|
-
|
|
169
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
170
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
171
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
183
172
|
} : function (argument) {
|
|
184
173
|
return typeof argument == 'function';
|
|
185
174
|
};
|
|
186
175
|
|
|
187
|
-
var isCallable$
|
|
188
|
-
var $documentAll = documentAll_1;
|
|
189
|
-
|
|
190
|
-
var documentAll = $documentAll.all;
|
|
176
|
+
var isCallable$f = isCallable$g;
|
|
191
177
|
|
|
192
|
-
var isObject$
|
|
193
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
194
|
-
} : function (it) {
|
|
195
|
-
return typeof it == 'object' ? it !== null : isCallable$g(it);
|
|
178
|
+
var isObject$9 = function (it) {
|
|
179
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
196
180
|
};
|
|
197
181
|
|
|
198
182
|
var global$f = global$g;
|
|
199
|
-
var isCallable$
|
|
183
|
+
var isCallable$e = isCallable$g;
|
|
200
184
|
|
|
201
185
|
var aFunction = function (argument) {
|
|
202
|
-
return isCallable$
|
|
186
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
203
187
|
};
|
|
204
188
|
|
|
205
189
|
var getBuiltIn$4 = function (namespace, method) {
|
|
@@ -267,7 +251,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
267
251
|
&& typeof Symbol.iterator == 'symbol';
|
|
268
252
|
|
|
269
253
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
270
|
-
var isCallable$
|
|
254
|
+
var isCallable$d = isCallable$g;
|
|
271
255
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
272
256
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
273
257
|
|
|
@@ -277,7 +261,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
277
261
|
return typeof it == 'symbol';
|
|
278
262
|
} : function (it) {
|
|
279
263
|
var $Symbol = getBuiltIn$3('Symbol');
|
|
280
|
-
return isCallable$
|
|
264
|
+
return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
|
|
281
265
|
};
|
|
282
266
|
|
|
283
267
|
var $String$4 = String;
|
|
@@ -290,14 +274,14 @@ var tryToString$3 = function (argument) {
|
|
|
290
274
|
}
|
|
291
275
|
};
|
|
292
276
|
|
|
293
|
-
var isCallable$
|
|
277
|
+
var isCallable$c = isCallable$g;
|
|
294
278
|
var tryToString$2 = tryToString$3;
|
|
295
279
|
|
|
296
280
|
var $TypeError$b = TypeError;
|
|
297
281
|
|
|
298
282
|
// `Assert: IsCallable(argument) is true`
|
|
299
283
|
var aCallable$6 = function (argument) {
|
|
300
|
-
if (isCallable$
|
|
284
|
+
if (isCallable$c(argument)) return argument;
|
|
301
285
|
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
302
286
|
};
|
|
303
287
|
|
|
@@ -312,8 +296,8 @@ var getMethod$2 = function (V, P) {
|
|
|
312
296
|
};
|
|
313
297
|
|
|
314
298
|
var call$8 = functionCall;
|
|
315
|
-
var isCallable$
|
|
316
|
-
var isObject$
|
|
299
|
+
var isCallable$b = isCallable$g;
|
|
300
|
+
var isObject$8 = isObject$9;
|
|
317
301
|
|
|
318
302
|
var $TypeError$a = TypeError;
|
|
319
303
|
|
|
@@ -321,9 +305,9 @@ var $TypeError$a = TypeError;
|
|
|
321
305
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
322
306
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
323
307
|
var fn, val;
|
|
324
|
-
if (pref === 'string' && isCallable$
|
|
325
|
-
if (isCallable$
|
|
326
|
-
if (pref !== 'string' && isCallable$
|
|
308
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$8(val = call$8(fn, input))) return val;
|
|
309
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$8(val = call$8(fn, input))) return val;
|
|
310
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$8(val = call$8(fn, input))) return val;
|
|
327
311
|
throw new $TypeError$a("Can't convert object to primitive value");
|
|
328
312
|
};
|
|
329
313
|
|
|
@@ -355,10 +339,10 @@ var store$2 = sharedStore;
|
|
|
355
339
|
(shared$4.exports = function (key, value) {
|
|
356
340
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
357
341
|
})('versions', []).push({
|
|
358
|
-
version: '3.
|
|
342
|
+
version: '3.35.1',
|
|
359
343
|
mode: 'global',
|
|
360
|
-
copyright: '© 2014-
|
|
361
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
344
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
345
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
|
|
362
346
|
source: 'https://github.com/zloirock/core-js'
|
|
363
347
|
});
|
|
364
348
|
|
|
@@ -414,7 +398,7 @@ var wellKnownSymbol$d = function (name) {
|
|
|
414
398
|
};
|
|
415
399
|
|
|
416
400
|
var call$7 = functionCall;
|
|
417
|
-
var isObject$
|
|
401
|
+
var isObject$7 = isObject$9;
|
|
418
402
|
var isSymbol$1 = isSymbol$2;
|
|
419
403
|
var getMethod$1 = getMethod$2;
|
|
420
404
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -426,13 +410,13 @@ var TO_PRIMITIVE = wellKnownSymbol$c('toPrimitive');
|
|
|
426
410
|
// `ToPrimitive` abstract operation
|
|
427
411
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
428
412
|
var toPrimitive$1 = function (input, pref) {
|
|
429
|
-
if (!isObject$
|
|
413
|
+
if (!isObject$7(input) || isSymbol$1(input)) return input;
|
|
430
414
|
var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
|
|
431
415
|
var result;
|
|
432
416
|
if (exoticToPrim) {
|
|
433
417
|
if (pref === undefined) pref = 'default';
|
|
434
418
|
result = call$7(exoticToPrim, input, pref);
|
|
435
|
-
if (!isObject$
|
|
419
|
+
if (!isObject$7(result) || isSymbol$1(result)) return result;
|
|
436
420
|
throw new $TypeError$9("Can't convert object to primitive value");
|
|
437
421
|
}
|
|
438
422
|
if (pref === undefined) pref = 'number';
|
|
@@ -444,17 +428,17 @@ var isSymbol = isSymbol$2;
|
|
|
444
428
|
|
|
445
429
|
// `ToPropertyKey` abstract operation
|
|
446
430
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
447
|
-
var toPropertyKey$
|
|
431
|
+
var toPropertyKey$2 = function (argument) {
|
|
448
432
|
var key = toPrimitive(argument, 'string');
|
|
449
433
|
return isSymbol(key) ? key : key + '';
|
|
450
434
|
};
|
|
451
435
|
|
|
452
436
|
var global$9 = global$g;
|
|
453
|
-
var isObject$
|
|
437
|
+
var isObject$6 = isObject$9;
|
|
454
438
|
|
|
455
439
|
var document$1 = global$9.document;
|
|
456
440
|
// typeof document.createElement is 'object' in old IE
|
|
457
|
-
var EXISTS$1 = isObject$
|
|
441
|
+
var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
|
|
458
442
|
|
|
459
443
|
var documentCreateElement$2 = function (it) {
|
|
460
444
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
@@ -475,9 +459,9 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$f(function () {
|
|
|
475
459
|
var DESCRIPTORS$8 = descriptors;
|
|
476
460
|
var call$6 = functionCall;
|
|
477
461
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
478
|
-
var createPropertyDescriptor$
|
|
462
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
479
463
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
480
|
-
var toPropertyKey$
|
|
464
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
481
465
|
var hasOwn$7 = hasOwnProperty_1;
|
|
482
466
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
483
467
|
|
|
@@ -488,11 +472,11 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
488
472
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
489
473
|
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
490
474
|
O = toIndexedObject$4(O);
|
|
491
|
-
P = toPropertyKey$
|
|
475
|
+
P = toPropertyKey$1(P);
|
|
492
476
|
if (IE8_DOM_DEFINE$1) try {
|
|
493
477
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
494
478
|
} catch (error) { /* empty */ }
|
|
495
|
-
if (hasOwn$7(O, P)) return createPropertyDescriptor$
|
|
479
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
496
480
|
};
|
|
497
481
|
|
|
498
482
|
var objectDefineProperty = {};
|
|
@@ -510,14 +494,14 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$e(function () {
|
|
|
510
494
|
}).prototype !== 42;
|
|
511
495
|
});
|
|
512
496
|
|
|
513
|
-
var isObject$
|
|
497
|
+
var isObject$5 = isObject$9;
|
|
514
498
|
|
|
515
499
|
var $String$3 = String;
|
|
516
500
|
var $TypeError$8 = TypeError;
|
|
517
501
|
|
|
518
502
|
// `Assert: Type(argument) is Object`
|
|
519
503
|
var anObject$9 = function (argument) {
|
|
520
|
-
if (isObject$
|
|
504
|
+
if (isObject$5(argument)) return argument;
|
|
521
505
|
throw new $TypeError$8($String$3(argument) + ' is not an object');
|
|
522
506
|
};
|
|
523
507
|
|
|
@@ -525,7 +509,7 @@ var DESCRIPTORS$6 = descriptors;
|
|
|
525
509
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
526
510
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
527
511
|
var anObject$8 = anObject$9;
|
|
528
|
-
var toPropertyKey
|
|
512
|
+
var toPropertyKey = toPropertyKey$2;
|
|
529
513
|
|
|
530
514
|
var $TypeError$7 = TypeError;
|
|
531
515
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -540,7 +524,7 @@ var WRITABLE = 'writable';
|
|
|
540
524
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
541
525
|
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
542
526
|
anObject$8(O);
|
|
543
|
-
P = toPropertyKey
|
|
527
|
+
P = toPropertyKey(P);
|
|
544
528
|
anObject$8(Attributes);
|
|
545
529
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
546
530
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
@@ -555,7 +539,7 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
555
539
|
} return $defineProperty(O, P, Attributes);
|
|
556
540
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
557
541
|
anObject$8(O);
|
|
558
|
-
P = toPropertyKey
|
|
542
|
+
P = toPropertyKey(P);
|
|
559
543
|
anObject$8(Attributes);
|
|
560
544
|
if (IE8_DOM_DEFINE) try {
|
|
561
545
|
return $defineProperty(O, P, Attributes);
|
|
@@ -566,11 +550,11 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
566
550
|
};
|
|
567
551
|
|
|
568
552
|
var DESCRIPTORS$5 = descriptors;
|
|
569
|
-
var definePropertyModule$
|
|
570
|
-
var createPropertyDescriptor$
|
|
553
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
554
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
571
555
|
|
|
572
556
|
var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
573
|
-
return definePropertyModule$
|
|
557
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
|
574
558
|
} : function (object, key, value) {
|
|
575
559
|
object[key] = value;
|
|
576
560
|
return object;
|
|
@@ -581,14 +565,14 @@ var makeBuiltIn$2 = {exports: {}};
|
|
|
581
565
|
var DESCRIPTORS$4 = descriptors;
|
|
582
566
|
var hasOwn$6 = hasOwnProperty_1;
|
|
583
567
|
|
|
584
|
-
var FunctionPrototype
|
|
568
|
+
var FunctionPrototype = Function.prototype;
|
|
585
569
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
586
570
|
var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
|
|
587
571
|
|
|
588
|
-
var EXISTS = hasOwn$6(FunctionPrototype
|
|
572
|
+
var EXISTS = hasOwn$6(FunctionPrototype, 'name');
|
|
589
573
|
// additional protection from minified / mangled / dropped function names
|
|
590
574
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
591
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype
|
|
575
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
592
576
|
|
|
593
577
|
var functionName = {
|
|
594
578
|
EXISTS: EXISTS,
|
|
@@ -597,13 +581,13 @@ var functionName = {
|
|
|
597
581
|
};
|
|
598
582
|
|
|
599
583
|
var uncurryThis$f = functionUncurryThis;
|
|
600
|
-
var isCallable$
|
|
584
|
+
var isCallable$a = isCallable$g;
|
|
601
585
|
var store$1 = sharedStore;
|
|
602
586
|
|
|
603
587
|
var functionToString = uncurryThis$f(Function.toString);
|
|
604
588
|
|
|
605
589
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
606
|
-
if (!isCallable$
|
|
590
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
607
591
|
store$1.inspectSource = function (it) {
|
|
608
592
|
return functionToString(it);
|
|
609
593
|
};
|
|
@@ -612,11 +596,11 @@ if (!isCallable$b(store$1.inspectSource)) {
|
|
|
612
596
|
var inspectSource$2 = store$1.inspectSource;
|
|
613
597
|
|
|
614
598
|
var global$8 = global$g;
|
|
615
|
-
var isCallable$
|
|
599
|
+
var isCallable$9 = isCallable$g;
|
|
616
600
|
|
|
617
601
|
var WeakMap$1 = global$8.WeakMap;
|
|
618
602
|
|
|
619
|
-
var weakMapBasicDetection = isCallable$
|
|
603
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
620
604
|
|
|
621
605
|
var shared$2 = shared$4.exports;
|
|
622
606
|
var uid = uid$2;
|
|
@@ -631,7 +615,7 @@ var hiddenKeys$4 = {};
|
|
|
631
615
|
|
|
632
616
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
633
617
|
var global$7 = global$g;
|
|
634
|
-
var isObject$
|
|
618
|
+
var isObject$4 = isObject$9;
|
|
635
619
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
636
620
|
var hasOwn$5 = hasOwnProperty_1;
|
|
637
621
|
var shared$1 = sharedStore;
|
|
@@ -650,7 +634,7 @@ var enforce = function (it) {
|
|
|
650
634
|
var getterFor = function (TYPE) {
|
|
651
635
|
return function (it) {
|
|
652
636
|
var state;
|
|
653
|
-
if (!isObject$
|
|
637
|
+
if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
|
|
654
638
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
655
639
|
} return state;
|
|
656
640
|
};
|
|
@@ -702,7 +686,7 @@ var internalState = {
|
|
|
702
686
|
|
|
703
687
|
var uncurryThis$e = functionUncurryThis;
|
|
704
688
|
var fails$d = fails$k;
|
|
705
|
-
var isCallable$
|
|
689
|
+
var isCallable$8 = isCallable$g;
|
|
706
690
|
var hasOwn$4 = hasOwnProperty_1;
|
|
707
691
|
var DESCRIPTORS$3 = descriptors;
|
|
708
692
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
@@ -726,7 +710,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
726
710
|
|
|
727
711
|
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
728
712
|
if (stringSlice$3($String$2(name), 0, 7) === 'Symbol(') {
|
|
729
|
-
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\)
|
|
713
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
730
714
|
}
|
|
731
715
|
if (options && options.getter) name = 'get ' + name;
|
|
732
716
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -752,11 +736,11 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
752
736
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
753
737
|
// eslint-disable-next-line no-extend-native -- required
|
|
754
738
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
755
|
-
return isCallable$
|
|
739
|
+
return isCallable$8(this) && getInternalState$2(this).source || inspectSource$1(this);
|
|
756
740
|
}, 'toString');
|
|
757
741
|
|
|
758
|
-
var isCallable$
|
|
759
|
-
var definePropertyModule$
|
|
742
|
+
var isCallable$7 = isCallable$g;
|
|
743
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
760
744
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
761
745
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
762
746
|
|
|
@@ -764,7 +748,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
|
|
|
764
748
|
if (!options) options = {};
|
|
765
749
|
var simple = options.enumerable;
|
|
766
750
|
var name = options.name !== undefined ? options.name : key;
|
|
767
|
-
if (isCallable$
|
|
751
|
+
if (isCallable$7(value)) makeBuiltIn(value, name, options);
|
|
768
752
|
if (options.global) {
|
|
769
753
|
if (simple) O[key] = value;
|
|
770
754
|
else defineGlobalProperty$1(key, value);
|
|
@@ -774,7 +758,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
|
|
|
774
758
|
else if (O[key]) simple = true;
|
|
775
759
|
} catch (error) { /* empty */ }
|
|
776
760
|
if (simple) O[key] = value;
|
|
777
|
-
else definePropertyModule$
|
|
761
|
+
else definePropertyModule$2.f(O, key, {
|
|
778
762
|
value: value,
|
|
779
763
|
enumerable: false,
|
|
780
764
|
configurable: !options.nonConfigurable,
|
|
@@ -808,15 +792,15 @@ var toIntegerOrInfinity$3 = function (argument) {
|
|
|
808
792
|
|
|
809
793
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
|
|
810
794
|
|
|
811
|
-
var max
|
|
795
|
+
var max = Math.max;
|
|
812
796
|
var min$2 = Math.min;
|
|
813
797
|
|
|
814
798
|
// Helper for a popular repeating case of the spec:
|
|
815
799
|
// Let integer be ? ToInteger(index).
|
|
816
800
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
817
|
-
var toAbsoluteIndex$
|
|
801
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
818
802
|
var integer = toIntegerOrInfinity$2(index);
|
|
819
|
-
return integer < 0 ? max
|
|
803
|
+
return integer < 0 ? max(integer + length, 0) : min$2(integer, length);
|
|
820
804
|
};
|
|
821
805
|
|
|
822
806
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
|
|
@@ -826,27 +810,28 @@ var min$1 = Math.min;
|
|
|
826
810
|
// `ToLength` abstract operation
|
|
827
811
|
// https://tc39.es/ecma262/#sec-tolength
|
|
828
812
|
var toLength$2 = function (argument) {
|
|
829
|
-
|
|
813
|
+
var len = toIntegerOrInfinity$1(argument);
|
|
814
|
+
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
830
815
|
};
|
|
831
816
|
|
|
832
817
|
var toLength$1 = toLength$2;
|
|
833
818
|
|
|
834
819
|
// `LengthOfArrayLike` abstract operation
|
|
835
820
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
836
|
-
var lengthOfArrayLike$
|
|
821
|
+
var lengthOfArrayLike$5 = function (obj) {
|
|
837
822
|
return toLength$1(obj.length);
|
|
838
823
|
};
|
|
839
824
|
|
|
840
825
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
841
|
-
var toAbsoluteIndex
|
|
842
|
-
var lengthOfArrayLike$
|
|
826
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
827
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$5;
|
|
843
828
|
|
|
844
829
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
845
830
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
846
831
|
return function ($this, el, fromIndex) {
|
|
847
832
|
var O = toIndexedObject$3($this);
|
|
848
|
-
var length = lengthOfArrayLike$
|
|
849
|
-
var index = toAbsoluteIndex
|
|
833
|
+
var length = lengthOfArrayLike$4(O);
|
|
834
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
850
835
|
var value;
|
|
851
836
|
// Array#includes uses SameValueZero equality algorithm
|
|
852
837
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -937,11 +922,11 @@ var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
937
922
|
var hasOwn$2 = hasOwnProperty_1;
|
|
938
923
|
var ownKeys = ownKeys$1;
|
|
939
924
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
940
|
-
var definePropertyModule$
|
|
925
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
941
926
|
|
|
942
927
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
943
928
|
var keys = ownKeys(source);
|
|
944
|
-
var defineProperty = definePropertyModule$
|
|
929
|
+
var defineProperty = definePropertyModule$1.f;
|
|
945
930
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
946
931
|
for (var i = 0; i < keys.length; i++) {
|
|
947
932
|
var key = keys[i];
|
|
@@ -952,7 +937,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
952
937
|
};
|
|
953
938
|
|
|
954
939
|
var fails$c = fails$k;
|
|
955
|
-
var isCallable$
|
|
940
|
+
var isCallable$6 = isCallable$g;
|
|
956
941
|
|
|
957
942
|
var replacement = /#|\.prototype\./;
|
|
958
943
|
|
|
@@ -960,7 +945,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
960
945
|
var value = data[normalize(feature)];
|
|
961
946
|
return value === POLYFILL ? true
|
|
962
947
|
: value === NATIVE ? false
|
|
963
|
-
: isCallable$
|
|
948
|
+
: isCallable$6(detection) ? fails$c(detection)
|
|
964
949
|
: !!detection;
|
|
965
950
|
};
|
|
966
951
|
|
|
@@ -1007,7 +992,7 @@ var _export = function (options, source) {
|
|
|
1007
992
|
} else if (STATIC) {
|
|
1008
993
|
target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1009
994
|
} else {
|
|
1010
|
-
target =
|
|
995
|
+
target = global$6[TARGET] && global$6[TARGET].prototype;
|
|
1011
996
|
}
|
|
1012
997
|
if (target) for (key in source) {
|
|
1013
998
|
sourceProperty = source[key];
|
|
@@ -1109,7 +1094,7 @@ $$8({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
|
|
|
1109
1094
|
var aCallable$4 = aCallable$6;
|
|
1110
1095
|
var toObject$3 = toObject$6;
|
|
1111
1096
|
var IndexedObject = indexedObject;
|
|
1112
|
-
var lengthOfArrayLike$
|
|
1097
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
1113
1098
|
|
|
1114
1099
|
var $TypeError$6 = TypeError;
|
|
1115
1100
|
|
|
@@ -1118,7 +1103,7 @@ var createMethod$1 = function (IS_RIGHT) {
|
|
|
1118
1103
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
1119
1104
|
var O = toObject$3(that);
|
|
1120
1105
|
var self = IndexedObject(O);
|
|
1121
|
-
var length = lengthOfArrayLike$
|
|
1106
|
+
var length = lengthOfArrayLike$3(O);
|
|
1122
1107
|
aCallable$4(callbackfn);
|
|
1123
1108
|
var index = IS_RIGHT ? length - 1 : 0;
|
|
1124
1109
|
var i = IS_RIGHT ? -1 : 1;
|
|
@@ -1188,7 +1173,7 @@ var objectDefineProperties = {};
|
|
|
1188
1173
|
|
|
1189
1174
|
var DESCRIPTORS$1 = descriptors;
|
|
1190
1175
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1191
|
-
var definePropertyModule
|
|
1176
|
+
var definePropertyModule = objectDefineProperty;
|
|
1192
1177
|
var anObject$6 = anObject$9;
|
|
1193
1178
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1194
1179
|
var objectKeys = objectKeys$2;
|
|
@@ -1203,7 +1188,7 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1203
1188
|
var length = keys.length;
|
|
1204
1189
|
var index = 0;
|
|
1205
1190
|
var key;
|
|
1206
|
-
while (length > index) definePropertyModule
|
|
1191
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1207
1192
|
return O;
|
|
1208
1193
|
};
|
|
1209
1194
|
|
|
@@ -1338,7 +1323,7 @@ $$6({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
1338
1323
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1339
1324
|
addToUnscopables$2('includes');
|
|
1340
1325
|
|
|
1341
|
-
var isObject$
|
|
1326
|
+
var isObject$3 = isObject$9;
|
|
1342
1327
|
var classof$5 = classofRaw$2;
|
|
1343
1328
|
var wellKnownSymbol$a = wellKnownSymbol$d;
|
|
1344
1329
|
|
|
@@ -1348,15 +1333,15 @@ var MATCH$1 = wellKnownSymbol$a('match');
|
|
|
1348
1333
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
1349
1334
|
var isRegexp = function (it) {
|
|
1350
1335
|
var isRegExp;
|
|
1351
|
-
return isObject$
|
|
1336
|
+
return isObject$3(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$5(it) === 'RegExp');
|
|
1352
1337
|
};
|
|
1353
1338
|
|
|
1354
|
-
var isRegExp
|
|
1339
|
+
var isRegExp = isRegexp;
|
|
1355
1340
|
|
|
1356
1341
|
var $TypeError$5 = TypeError;
|
|
1357
1342
|
|
|
1358
1343
|
var notARegexp = function (it) {
|
|
1359
|
-
if (isRegExp
|
|
1344
|
+
if (isRegExp(it)) {
|
|
1360
1345
|
throw new $TypeError$5("The method doesn't accept regular expressions");
|
|
1361
1346
|
} return it;
|
|
1362
1347
|
};
|
|
@@ -1371,7 +1356,7 @@ test$2[TO_STRING_TAG$2] = 'z';
|
|
|
1371
1356
|
var toStringTagSupport = String(test$2) === '[object z]';
|
|
1372
1357
|
|
|
1373
1358
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1374
|
-
var isCallable$
|
|
1359
|
+
var isCallable$5 = isCallable$g;
|
|
1375
1360
|
var classofRaw$1 = classofRaw$2;
|
|
1376
1361
|
var wellKnownSymbol$8 = wellKnownSymbol$d;
|
|
1377
1362
|
|
|
@@ -1397,7 +1382,7 @@ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1397
1382
|
// builtinTag case
|
|
1398
1383
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1399
1384
|
// ES3 arguments fallback
|
|
1400
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1385
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
|
|
1401
1386
|
};
|
|
1402
1387
|
|
|
1403
1388
|
var classof$3 = classof$4;
|
|
@@ -1738,20 +1723,20 @@ var functionUncurryThisClause = function (fn) {
|
|
|
1738
1723
|
|
|
1739
1724
|
var uncurryThis$8 = functionUncurryThisClause;
|
|
1740
1725
|
var aCallable$3 = aCallable$6;
|
|
1741
|
-
var NATIVE_BIND
|
|
1726
|
+
var NATIVE_BIND = functionBindNative;
|
|
1742
1727
|
|
|
1743
1728
|
var bind$1 = uncurryThis$8(uncurryThis$8.bind);
|
|
1744
1729
|
|
|
1745
1730
|
// optional / simple context binding
|
|
1746
1731
|
var functionBindContext = function (fn, that) {
|
|
1747
1732
|
aCallable$3(fn);
|
|
1748
|
-
return that === undefined ? fn : NATIVE_BIND
|
|
1733
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1749
1734
|
return fn.apply(that, arguments);
|
|
1750
1735
|
};
|
|
1751
1736
|
};
|
|
1752
1737
|
|
|
1753
1738
|
var isArray$2 = isArray$3;
|
|
1754
|
-
var lengthOfArrayLike$
|
|
1739
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
1755
1740
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
1756
1741
|
var bind = functionBindContext;
|
|
1757
1742
|
|
|
@@ -1768,7 +1753,7 @@ var flattenIntoArray$1 = function (target, original, source, sourceLen, start, d
|
|
|
1768
1753
|
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
1769
1754
|
|
|
1770
1755
|
if (depth > 0 && isArray$2(element)) {
|
|
1771
|
-
elementLen = lengthOfArrayLike$
|
|
1756
|
+
elementLen = lengthOfArrayLike$2(element);
|
|
1772
1757
|
targetIndex = flattenIntoArray$1(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
|
1773
1758
|
} else {
|
|
1774
1759
|
doesNotExceedSafeInteger(targetIndex + 1);
|
|
@@ -1786,22 +1771,21 @@ var flattenIntoArray_1 = flattenIntoArray$1;
|
|
|
1786
1771
|
|
|
1787
1772
|
var uncurryThis$7 = functionUncurryThis;
|
|
1788
1773
|
var fails$8 = fails$k;
|
|
1789
|
-
var isCallable$
|
|
1774
|
+
var isCallable$4 = isCallable$g;
|
|
1790
1775
|
var classof$1 = classof$4;
|
|
1791
1776
|
var getBuiltIn = getBuiltIn$4;
|
|
1792
1777
|
var inspectSource = inspectSource$2;
|
|
1793
1778
|
|
|
1794
1779
|
var noop = function () { /* empty */ };
|
|
1795
|
-
var empty = [];
|
|
1796
1780
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
1797
1781
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1798
|
-
var exec$
|
|
1782
|
+
var exec$1 = uncurryThis$7(constructorRegExp.exec);
|
|
1799
1783
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
1800
1784
|
|
|
1801
1785
|
var isConstructorModern = function isConstructor(argument) {
|
|
1802
|
-
if (!isCallable$
|
|
1786
|
+
if (!isCallable$4(argument)) return false;
|
|
1803
1787
|
try {
|
|
1804
|
-
construct(noop,
|
|
1788
|
+
construct(noop, [], argument);
|
|
1805
1789
|
return true;
|
|
1806
1790
|
} catch (error) {
|
|
1807
1791
|
return false;
|
|
@@ -1809,7 +1793,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
1809
1793
|
};
|
|
1810
1794
|
|
|
1811
1795
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
1812
|
-
if (!isCallable$
|
|
1796
|
+
if (!isCallable$4(argument)) return false;
|
|
1813
1797
|
switch (classof$1(argument)) {
|
|
1814
1798
|
case 'AsyncFunction':
|
|
1815
1799
|
case 'GeneratorFunction':
|
|
@@ -1819,7 +1803,7 @@ var isConstructorLegacy = function isConstructor(argument) {
|
|
|
1819
1803
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
1820
1804
|
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1821
1805
|
// (for example, `DOMQuad` and similar in FF41-)
|
|
1822
|
-
return INCORRECT_TO_STRING || !!exec$
|
|
1806
|
+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
|
|
1823
1807
|
} catch (error) {
|
|
1824
1808
|
return true;
|
|
1825
1809
|
}
|
|
@@ -1839,11 +1823,11 @@ var isConstructor$2 = !construct || fails$8(function () {
|
|
|
1839
1823
|
|
|
1840
1824
|
var isArray$1 = isArray$3;
|
|
1841
1825
|
var isConstructor$1 = isConstructor$2;
|
|
1842
|
-
var isObject$
|
|
1826
|
+
var isObject$2 = isObject$9;
|
|
1843
1827
|
var wellKnownSymbol$6 = wellKnownSymbol$d;
|
|
1844
1828
|
|
|
1845
1829
|
var SPECIES$2 = wellKnownSymbol$6('species');
|
|
1846
|
-
var $Array
|
|
1830
|
+
var $Array = Array;
|
|
1847
1831
|
|
|
1848
1832
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
1849
1833
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
@@ -1852,12 +1836,12 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
1852
1836
|
if (isArray$1(originalArray)) {
|
|
1853
1837
|
C = originalArray.constructor;
|
|
1854
1838
|
// cross-realm fallback
|
|
1855
|
-
if (isConstructor$1(C) && (C === $Array
|
|
1856
|
-
else if (isObject$
|
|
1839
|
+
if (isConstructor$1(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
|
|
1840
|
+
else if (isObject$2(C)) {
|
|
1857
1841
|
C = C[SPECIES$2];
|
|
1858
1842
|
if (C === null) C = undefined;
|
|
1859
1843
|
}
|
|
1860
|
-
} return C === undefined ? $Array
|
|
1844
|
+
} return C === undefined ? $Array : C;
|
|
1861
1845
|
};
|
|
1862
1846
|
|
|
1863
1847
|
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
@@ -1872,7 +1856,7 @@ var $$4 = _export;
|
|
|
1872
1856
|
var flattenIntoArray = flattenIntoArray_1;
|
|
1873
1857
|
var aCallable$2 = aCallable$6;
|
|
1874
1858
|
var toObject$2 = toObject$6;
|
|
1875
|
-
var lengthOfArrayLike$
|
|
1859
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$5;
|
|
1876
1860
|
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
1877
1861
|
|
|
1878
1862
|
// `Array.prototype.flatMap` method
|
|
@@ -1880,7 +1864,7 @@ var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
|
1880
1864
|
$$4({ target: 'Array', proto: true }, {
|
|
1881
1865
|
flatMap: function flatMap(callbackfn /* , thisArg */) {
|
|
1882
1866
|
var O = toObject$2(this);
|
|
1883
|
-
var sourceLen = lengthOfArrayLike$
|
|
1867
|
+
var sourceLen = lengthOfArrayLike$1(O);
|
|
1884
1868
|
var A;
|
|
1885
1869
|
aCallable$2(callbackfn);
|
|
1886
1870
|
A = arraySpeciesCreate(O, 0);
|
|
@@ -1908,7 +1892,7 @@ var correctPrototypeGetter = !fails$7(function () {
|
|
|
1908
1892
|
});
|
|
1909
1893
|
|
|
1910
1894
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1911
|
-
var isCallable$
|
|
1895
|
+
var isCallable$3 = isCallable$g;
|
|
1912
1896
|
var toObject$1 = toObject$6;
|
|
1913
1897
|
var sharedKey = sharedKey$3;
|
|
1914
1898
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1924,14 +1908,14 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
|
|
|
1924
1908
|
var object = toObject$1(O);
|
|
1925
1909
|
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1926
1910
|
var constructor = object.constructor;
|
|
1927
|
-
if (isCallable$
|
|
1911
|
+
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1928
1912
|
return constructor.prototype;
|
|
1929
1913
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1930
1914
|
};
|
|
1931
1915
|
|
|
1932
1916
|
var fails$6 = fails$k;
|
|
1933
|
-
var isCallable$
|
|
1934
|
-
var isObject = isObject$
|
|
1917
|
+
var isCallable$2 = isCallable$g;
|
|
1918
|
+
var isObject$1 = isObject$9;
|
|
1935
1919
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1936
1920
|
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1937
1921
|
var wellKnownSymbol$5 = wellKnownSymbol$d;
|
|
@@ -1954,7 +1938,7 @@ if ([].keys) {
|
|
|
1954
1938
|
}
|
|
1955
1939
|
}
|
|
1956
1940
|
|
|
1957
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$6(function () {
|
|
1941
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails$6(function () {
|
|
1958
1942
|
var test = {};
|
|
1959
1943
|
// FF44- legacy iterators case
|
|
1960
1944
|
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
|
@@ -1964,7 +1948,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1964
1948
|
|
|
1965
1949
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1966
1950
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1967
|
-
if (!isCallable$
|
|
1951
|
+
if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
|
|
1968
1952
|
defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
|
|
1969
1953
|
return this;
|
|
1970
1954
|
});
|
|
@@ -1990,7 +1974,7 @@ var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
|
1990
1974
|
|
|
1991
1975
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1992
1976
|
var create$1 = objectCreate;
|
|
1993
|
-
var createPropertyDescriptor
|
|
1977
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1994
1978
|
var setToStringTag$2 = setToStringTag$3;
|
|
1995
1979
|
var Iterators$2 = iterators;
|
|
1996
1980
|
|
|
@@ -1998,7 +1982,7 @@ var returnThis$1 = function () { return this; };
|
|
|
1998
1982
|
|
|
1999
1983
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2000
1984
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2001
|
-
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor
|
|
1985
|
+
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
2002
1986
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
2003
1987
|
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
2004
1988
|
return IteratorConstructor;
|
|
@@ -2014,13 +1998,19 @@ var functionUncurryThisAccessor = function (object, key, method) {
|
|
|
2014
1998
|
} catch (error) { /* empty */ }
|
|
2015
1999
|
};
|
|
2016
2000
|
|
|
2017
|
-
var
|
|
2001
|
+
var isObject = isObject$9;
|
|
2002
|
+
|
|
2003
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
2004
|
+
return isObject(argument) || argument === null;
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
2018
2008
|
|
|
2019
2009
|
var $String = String;
|
|
2020
2010
|
var $TypeError$3 = TypeError;
|
|
2021
2011
|
|
|
2022
2012
|
var aPossiblePrototype$1 = function (argument) {
|
|
2023
|
-
if (
|
|
2013
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
2024
2014
|
throw new $TypeError$3("Can't set " + $String(argument) + ' as a prototype');
|
|
2025
2015
|
};
|
|
2026
2016
|
|
|
@@ -2054,7 +2044,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2054
2044
|
var $$3 = _export;
|
|
2055
2045
|
var call$4 = functionCall;
|
|
2056
2046
|
var FunctionName = functionName;
|
|
2057
|
-
var isCallable$1 = isCallable$
|
|
2047
|
+
var isCallable$1 = isCallable$g;
|
|
2058
2048
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2059
2049
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
2060
2050
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -2307,78 +2297,51 @@ var deletePropertyOrThrow$1 = function (O, P) {
|
|
|
2307
2297
|
if (!delete O[P]) throw new $TypeError$2('Cannot delete property ' + tryToString$1(P) + ' of ' + tryToString$1(O));
|
|
2308
2298
|
};
|
|
2309
2299
|
|
|
2310
|
-
var
|
|
2311
|
-
var definePropertyModule = objectDefineProperty;
|
|
2312
|
-
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
2313
|
-
|
|
2314
|
-
var createProperty$1 = function (object, key, value) {
|
|
2315
|
-
var propertyKey = toPropertyKey(key);
|
|
2316
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
2317
|
-
else object[propertyKey] = value;
|
|
2318
|
-
};
|
|
2319
|
-
|
|
2320
|
-
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
2321
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
2322
|
-
var createProperty = createProperty$1;
|
|
2323
|
-
|
|
2324
|
-
var $Array = Array;
|
|
2325
|
-
var max = Math.max;
|
|
2300
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2326
2301
|
|
|
2327
|
-
var
|
|
2328
|
-
var length = lengthOfArrayLike$1(O);
|
|
2329
|
-
var k = toAbsoluteIndex(start, length);
|
|
2330
|
-
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
2331
|
-
var result = $Array(max(fin - k, 0));
|
|
2332
|
-
var n = 0;
|
|
2333
|
-
for (; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
2334
|
-
result.length = n;
|
|
2335
|
-
return result;
|
|
2336
|
-
};
|
|
2302
|
+
var arraySlice$1 = uncurryThis$5([].slice);
|
|
2337
2303
|
|
|
2338
|
-
var arraySlice
|
|
2304
|
+
var arraySlice = arraySlice$1;
|
|
2339
2305
|
|
|
2340
2306
|
var floor = Math.floor;
|
|
2341
2307
|
|
|
2342
|
-
var
|
|
2308
|
+
var sort = function (array, comparefn) {
|
|
2343
2309
|
var length = array.length;
|
|
2344
|
-
var middle = floor(length / 2);
|
|
2345
|
-
return length < 8 ? insertionSort(array, comparefn) : merge(
|
|
2346
|
-
array,
|
|
2347
|
-
mergeSort(arraySlice$1(array, 0, middle), comparefn),
|
|
2348
|
-
mergeSort(arraySlice$1(array, middle), comparefn),
|
|
2349
|
-
comparefn
|
|
2350
|
-
);
|
|
2351
|
-
};
|
|
2352
2310
|
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
while (i < length) {
|
|
2359
|
-
j = i;
|
|
2360
|
-
element = array[i];
|
|
2361
|
-
while (j && comparefn(array[j - 1], element) > 0) {
|
|
2362
|
-
array[j] = array[--j];
|
|
2363
|
-
}
|
|
2364
|
-
if (j !== i++) array[j] = element;
|
|
2365
|
-
} return array;
|
|
2366
|
-
};
|
|
2311
|
+
if (length < 8) {
|
|
2312
|
+
// insertion sort
|
|
2313
|
+
var i = 1;
|
|
2314
|
+
var element, j;
|
|
2367
2315
|
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2316
|
+
while (i < length) {
|
|
2317
|
+
j = i;
|
|
2318
|
+
element = array[i];
|
|
2319
|
+
while (j && comparefn(array[j - 1], element) > 0) {
|
|
2320
|
+
array[j] = array[--j];
|
|
2321
|
+
}
|
|
2322
|
+
if (j !== i++) array[j] = element;
|
|
2323
|
+
}
|
|
2324
|
+
} else {
|
|
2325
|
+
// merge sort
|
|
2326
|
+
var middle = floor(length / 2);
|
|
2327
|
+
var left = sort(arraySlice(array, 0, middle), comparefn);
|
|
2328
|
+
var right = sort(arraySlice(array, middle), comparefn);
|
|
2329
|
+
var llength = left.length;
|
|
2330
|
+
var rlength = right.length;
|
|
2331
|
+
var lindex = 0;
|
|
2332
|
+
var rindex = 0;
|
|
2333
|
+
|
|
2334
|
+
while (lindex < llength || rindex < rlength) {
|
|
2335
|
+
array[lindex + rindex] = (lindex < llength && rindex < rlength)
|
|
2336
|
+
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
|
|
2337
|
+
: lindex < llength ? left[lindex++] : right[rindex++];
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2373
2340
|
|
|
2374
|
-
|
|
2375
|
-
array[lindex + rindex] = (lindex < llength && rindex < rlength)
|
|
2376
|
-
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
|
|
2377
|
-
: lindex < llength ? left[lindex++] : right[rindex++];
|
|
2378
|
-
} return array;
|
|
2341
|
+
return array;
|
|
2379
2342
|
};
|
|
2380
2343
|
|
|
2381
|
-
var arraySort =
|
|
2344
|
+
var arraySort = sort;
|
|
2382
2345
|
|
|
2383
2346
|
var userAgent$1 = engineUserAgent;
|
|
2384
2347
|
|
|
@@ -2397,10 +2360,10 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
2397
2360
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
2398
2361
|
|
|
2399
2362
|
var $$2 = _export;
|
|
2400
|
-
var uncurryThis$
|
|
2363
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2401
2364
|
var aCallable = aCallable$6;
|
|
2402
2365
|
var toObject = toObject$6;
|
|
2403
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
2366
|
+
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
2404
2367
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
2405
2368
|
var toString$3 = toString$5;
|
|
2406
2369
|
var fails$5 = fails$k;
|
|
@@ -2412,8 +2375,8 @@ var V8 = engineV8Version;
|
|
|
2412
2375
|
var WEBKIT = engineWebkitVersion;
|
|
2413
2376
|
|
|
2414
2377
|
var test$1 = [];
|
|
2415
|
-
var nativeSort = uncurryThis$
|
|
2416
|
-
var push$1 = uncurryThis$
|
|
2378
|
+
var nativeSort = uncurryThis$4(test$1.sort);
|
|
2379
|
+
var push$1 = uncurryThis$4(test$1.push);
|
|
2417
2380
|
|
|
2418
2381
|
// IE8-
|
|
2419
2382
|
var FAILS_ON_UNDEFINED = fails$5(function () {
|
|
@@ -3461,7 +3424,7 @@ var regexpUnsupportedNcg = fails$2(function () {
|
|
|
3461
3424
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
3462
3425
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
3463
3426
|
var call$3 = functionCall;
|
|
3464
|
-
var uncurryThis$
|
|
3427
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
3465
3428
|
var toString$2 = toString$5;
|
|
3466
3429
|
var regexpFlags = regexpFlags$1;
|
|
3467
3430
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
@@ -3474,10 +3437,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
3474
3437
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
3475
3438
|
var nativeExec = RegExp.prototype.exec;
|
|
3476
3439
|
var patchedExec = nativeExec;
|
|
3477
|
-
var charAt$2 = uncurryThis$
|
|
3478
|
-
var indexOf = uncurryThis$
|
|
3479
|
-
var replace = uncurryThis$
|
|
3480
|
-
var stringSlice$2 = uncurryThis$
|
|
3440
|
+
var charAt$2 = uncurryThis$3(''.charAt);
|
|
3441
|
+
var indexOf = uncurryThis$3(''.indexOf);
|
|
3442
|
+
var replace = uncurryThis$3(''.replace);
|
|
3443
|
+
var stringSlice$2 = uncurryThis$3(''.slice);
|
|
3481
3444
|
|
|
3482
3445
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
3483
3446
|
var re1 = /a/;
|
|
@@ -3573,33 +3536,22 @@ if (PATCH) {
|
|
|
3573
3536
|
};
|
|
3574
3537
|
}
|
|
3575
3538
|
|
|
3576
|
-
var regexpExec$
|
|
3539
|
+
var regexpExec$2 = patchedExec;
|
|
3577
3540
|
|
|
3578
3541
|
var $$1 = _export;
|
|
3579
|
-
var exec
|
|
3542
|
+
var exec = regexpExec$2;
|
|
3580
3543
|
|
|
3581
3544
|
// `RegExp.prototype.exec` method
|
|
3582
3545
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
3583
|
-
$$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec
|
|
3584
|
-
exec: exec
|
|
3585
|
-
});
|
|
3586
|
-
|
|
3587
|
-
var NATIVE_BIND = functionBindNative;
|
|
3588
|
-
|
|
3589
|
-
var FunctionPrototype = Function.prototype;
|
|
3590
|
-
var apply$1 = FunctionPrototype.apply;
|
|
3591
|
-
var call$2 = FunctionPrototype.call;
|
|
3592
|
-
|
|
3593
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
3594
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$1) : function () {
|
|
3595
|
-
return call$2.apply(apply$1, arguments);
|
|
3546
|
+
$$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
3547
|
+
exec: exec
|
|
3596
3548
|
});
|
|
3597
3549
|
|
|
3598
3550
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
3599
3551
|
|
|
3600
|
-
var
|
|
3552
|
+
var call$2 = functionCall;
|
|
3601
3553
|
var defineBuiltIn = defineBuiltIn$4;
|
|
3602
|
-
var regexpExec$
|
|
3554
|
+
var regexpExec$1 = regexpExec$2;
|
|
3603
3555
|
var fails$1 = fails$k;
|
|
3604
3556
|
var wellKnownSymbol$1 = wellKnownSymbol$d;
|
|
3605
3557
|
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
@@ -3611,7 +3563,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
3611
3563
|
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
3612
3564
|
|
|
3613
3565
|
var DELEGATES_TO_SYMBOL = !fails$1(function () {
|
|
3614
|
-
// String methods call symbol-named
|
|
3566
|
+
// String methods call symbol-named RegExp methods
|
|
3615
3567
|
var O = {};
|
|
3616
3568
|
O[SYMBOL] = function () { return 7; };
|
|
3617
3569
|
return ''[KEY](O) !== 7;
|
|
@@ -3649,18 +3601,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
3649
3601
|
!DELEGATES_TO_EXEC ||
|
|
3650
3602
|
FORCED
|
|
3651
3603
|
) {
|
|
3652
|
-
var
|
|
3604
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
3653
3605
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
3654
|
-
var uncurriedNativeMethod = uncurryThis$3(nativeMethod);
|
|
3655
3606
|
var $exec = regexp.exec;
|
|
3656
|
-
if ($exec === regexpExec$
|
|
3607
|
+
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
3657
3608
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
3658
3609
|
// The native String method already delegates to @@method (this
|
|
3659
3610
|
// polyfilled function), leasing to infinite recursion.
|
|
3660
3611
|
// We avoid it by directly calling the native @@method method.
|
|
3661
|
-
return { done: true, value:
|
|
3612
|
+
return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) };
|
|
3662
3613
|
}
|
|
3663
|
-
return { done: true, value:
|
|
3614
|
+
return { done: true, value: call$2(nativeMethod, str, regexp, arg2) };
|
|
3664
3615
|
}
|
|
3665
3616
|
return { done: false };
|
|
3666
3617
|
});
|
|
@@ -3745,9 +3696,9 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
3745
3696
|
|
|
3746
3697
|
var call$1 = functionCall;
|
|
3747
3698
|
var anObject$1 = anObject$9;
|
|
3748
|
-
var isCallable = isCallable$
|
|
3699
|
+
var isCallable = isCallable$g;
|
|
3749
3700
|
var classof = classofRaw$2;
|
|
3750
|
-
var regexpExec
|
|
3701
|
+
var regexpExec = regexpExec$2;
|
|
3751
3702
|
|
|
3752
3703
|
var $TypeError = TypeError;
|
|
3753
3704
|
|
|
@@ -3760,35 +3711,29 @@ var regexpExecAbstract = function (R, S) {
|
|
|
3760
3711
|
if (result !== null) anObject$1(result);
|
|
3761
3712
|
return result;
|
|
3762
3713
|
}
|
|
3763
|
-
if (classof(R) === 'RegExp') return call$1(regexpExec
|
|
3714
|
+
if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
|
|
3764
3715
|
throw new $TypeError('RegExp#exec called on incompatible receiver');
|
|
3765
3716
|
};
|
|
3766
3717
|
|
|
3767
|
-
var apply = functionApply;
|
|
3768
3718
|
var call = functionCall;
|
|
3769
3719
|
var uncurryThis$1 = functionUncurryThis;
|
|
3770
3720
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
3771
3721
|
var anObject = anObject$9;
|
|
3772
3722
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
3773
|
-
var isRegExp = isRegexp;
|
|
3774
3723
|
var requireObjectCoercible = requireObjectCoercible$5;
|
|
3775
3724
|
var speciesConstructor = speciesConstructor$1;
|
|
3776
3725
|
var advanceStringIndex = advanceStringIndex$1;
|
|
3777
3726
|
var toLength = toLength$2;
|
|
3778
3727
|
var toString = toString$5;
|
|
3779
3728
|
var getMethod = getMethod$2;
|
|
3780
|
-
var
|
|
3781
|
-
var callRegExpExec = regexpExecAbstract;
|
|
3782
|
-
var regexpExec = regexpExec$3;
|
|
3729
|
+
var regExpExec = regexpExecAbstract;
|
|
3783
3730
|
var stickyHelpers = regexpStickyHelpers;
|
|
3784
3731
|
var fails = fails$k;
|
|
3785
3732
|
|
|
3786
3733
|
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
3787
3734
|
var MAX_UINT32 = 0xFFFFFFFF;
|
|
3788
3735
|
var min = Math.min;
|
|
3789
|
-
var
|
|
3790
|
-
var exec = uncurryThis$1(/./.exec);
|
|
3791
|
-
var push = uncurryThis$1($push);
|
|
3736
|
+
var push = uncurryThis$1([].push);
|
|
3792
3737
|
var stringSlice = uncurryThis$1(''.slice);
|
|
3793
3738
|
|
|
3794
3739
|
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
@@ -3802,60 +3747,20 @@ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
|
3802
3747
|
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
|
|
3803
3748
|
});
|
|
3804
3749
|
|
|
3750
|
+
var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
|
|
3751
|
+
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
3752
|
+
'test'.split(/(?:)/, -1).length !== 4 ||
|
|
3753
|
+
'ab'.split(/(?:ab)*/).length !== 2 ||
|
|
3754
|
+
'.'.split(/(.?)(.?)/).length !== 4 ||
|
|
3755
|
+
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
3756
|
+
'.'.split(/()()/).length > 1 ||
|
|
3757
|
+
''.split(/.?/).length;
|
|
3758
|
+
|
|
3805
3759
|
// @@split logic
|
|
3806
3760
|
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
|
|
3807
|
-
var internalSplit
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
3811
|
-
'test'.split(/(?:)/, -1).length !== 4 ||
|
|
3812
|
-
'ab'.split(/(?:ab)*/).length !== 2 ||
|
|
3813
|
-
'.'.split(/(.?)(.?)/).length !== 4 ||
|
|
3814
|
-
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
3815
|
-
'.'.split(/()()/).length > 1 ||
|
|
3816
|
-
''.split(/.?/).length
|
|
3817
|
-
) {
|
|
3818
|
-
// based on es5-shim implementation, need to rework it
|
|
3819
|
-
internalSplit = function (separator, limit) {
|
|
3820
|
-
var string = toString(requireObjectCoercible(this));
|
|
3821
|
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
3822
|
-
if (lim === 0) return [];
|
|
3823
|
-
if (separator === undefined) return [string];
|
|
3824
|
-
// If `separator` is not a regex, use native split
|
|
3825
|
-
if (!isRegExp(separator)) {
|
|
3826
|
-
return call(nativeSplit, string, separator, lim);
|
|
3827
|
-
}
|
|
3828
|
-
var output = [];
|
|
3829
|
-
var flags = (separator.ignoreCase ? 'i' : '') +
|
|
3830
|
-
(separator.multiline ? 'm' : '') +
|
|
3831
|
-
(separator.unicode ? 'u' : '') +
|
|
3832
|
-
(separator.sticky ? 'y' : '');
|
|
3833
|
-
var lastLastIndex = 0;
|
|
3834
|
-
// Make `global` and avoid `lastIndex` issues by working with a copy
|
|
3835
|
-
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
3836
|
-
var match, lastIndex, lastLength;
|
|
3837
|
-
while (match = call(regexpExec, separatorCopy, string)) {
|
|
3838
|
-
lastIndex = separatorCopy.lastIndex;
|
|
3839
|
-
if (lastIndex > lastLastIndex) {
|
|
3840
|
-
push(output, stringSlice(string, lastLastIndex, match.index));
|
|
3841
|
-
if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));
|
|
3842
|
-
lastLength = match[0].length;
|
|
3843
|
-
lastLastIndex = lastIndex;
|
|
3844
|
-
if (output.length >= lim) break;
|
|
3845
|
-
}
|
|
3846
|
-
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
|
|
3847
|
-
}
|
|
3848
|
-
if (lastLastIndex === string.length) {
|
|
3849
|
-
if (lastLength || !exec(separatorCopy, '')) push(output, '');
|
|
3850
|
-
} else push(output, stringSlice(string, lastLastIndex));
|
|
3851
|
-
return output.length > lim ? arraySlice(output, 0, lim) : output;
|
|
3852
|
-
};
|
|
3853
|
-
// Chakra, V8
|
|
3854
|
-
} else if ('0'.split(undefined, 0).length) {
|
|
3855
|
-
internalSplit = function (separator, limit) {
|
|
3856
|
-
return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
|
|
3857
|
-
};
|
|
3858
|
-
} else internalSplit = nativeSplit;
|
|
3761
|
+
var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
|
|
3762
|
+
return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
|
|
3763
|
+
} : nativeSplit;
|
|
3859
3764
|
|
|
3860
3765
|
return [
|
|
3861
3766
|
// `String.prototype.split` method
|
|
@@ -3875,30 +3780,30 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
3875
3780
|
function (string, limit) {
|
|
3876
3781
|
var rx = anObject(this);
|
|
3877
3782
|
var S = toString(string);
|
|
3878
|
-
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
|
|
3879
3783
|
|
|
3880
|
-
if (
|
|
3784
|
+
if (!BUGGY) {
|
|
3785
|
+
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
|
|
3786
|
+
if (res.done) return res.value;
|
|
3787
|
+
}
|
|
3881
3788
|
|
|
3882
3789
|
var C = speciesConstructor(rx, RegExp);
|
|
3883
|
-
|
|
3884
3790
|
var unicodeMatching = rx.unicode;
|
|
3885
3791
|
var flags = (rx.ignoreCase ? 'i' : '') +
|
|
3886
3792
|
(rx.multiline ? 'm' : '') +
|
|
3887
3793
|
(rx.unicode ? 'u' : '') +
|
|
3888
3794
|
(UNSUPPORTED_Y ? 'g' : 'y');
|
|
3889
|
-
|
|
3890
3795
|
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
|
3891
3796
|
// simulate the 'y' flag.
|
|
3892
3797
|
var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
|
|
3893
3798
|
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
3894
3799
|
if (lim === 0) return [];
|
|
3895
|
-
if (S.length === 0) return
|
|
3800
|
+
if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
|
|
3896
3801
|
var p = 0;
|
|
3897
3802
|
var q = 0;
|
|
3898
3803
|
var A = [];
|
|
3899
3804
|
while (q < S.length) {
|
|
3900
3805
|
splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
|
|
3901
|
-
var z =
|
|
3806
|
+
var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
|
|
3902
3807
|
var e;
|
|
3903
3808
|
if (
|
|
3904
3809
|
z === null ||
|
|
@@ -3919,7 +3824,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
3919
3824
|
return A;
|
|
3920
3825
|
}
|
|
3921
3826
|
];
|
|
3922
|
-
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
3827
|
+
}, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
3923
3828
|
|
|
3924
3829
|
var $ = _export;
|
|
3925
3830
|
var uncurryThis = functionUncurryThis;
|
package/package.json
CHANGED
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/layer-select",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.0",
|
|
4
4
|
"description": "GeoWeb layer select library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@opengeoweb/shared": "*",
|
|
12
|
+
"@opengeoweb/store": "*",
|
|
13
|
+
"react-redux": "^8.1.3",
|
|
14
|
+
"@opengeoweb/theme": "*",
|
|
15
|
+
"@mui/material": "5.12.0",
|
|
16
|
+
"@opengeoweb/webmap-react": "*",
|
|
17
|
+
"@opengeoweb/webmap": "*",
|
|
18
|
+
"react-window": "^1.8.10",
|
|
19
|
+
"@opengeoweb/snackbar": "*",
|
|
20
|
+
"@opengeoweb/form-fields": "*",
|
|
21
|
+
"react-hook-form": "7.47.0",
|
|
22
|
+
"@reduxjs/toolkit": "^1.9.7",
|
|
23
|
+
"@redux-eggs/core": "^2.2.0",
|
|
24
|
+
"@redux-eggs/redux-toolkit": "^2.2.0",
|
|
25
|
+
"@redux-eggs/saga-extension": "^2.2.0",
|
|
26
|
+
"lodash": "^4.17.21",
|
|
27
|
+
"redux-saga": "^1.2.3"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"react": "18"
|
|
31
|
+
},
|
|
10
32
|
"module": "./index.esm.js",
|
|
11
33
|
"type": "module",
|
|
12
34
|
"main": "./index.esm.js"
|