@beeq/tailwindcss 1.10.0-beta.7 → 1.10.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.cjs.js +1028 -487
- package/index.esm.js +1028 -487
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -268,7 +268,7 @@ var globalThis_1 =
|
|
|
268
268
|
|
|
269
269
|
var objectGetOwnPropertyDescriptor = {};
|
|
270
270
|
|
|
271
|
-
var fails$
|
|
271
|
+
var fails$f = function (exec) {
|
|
272
272
|
try {
|
|
273
273
|
return !!exec();
|
|
274
274
|
} catch (error) {
|
|
@@ -276,17 +276,17 @@ var fails$e = function (exec) {
|
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
var fails$
|
|
279
|
+
var fails$e = fails$f;
|
|
280
280
|
|
|
281
281
|
// Detect IE8's incomplete defineProperty implementation
|
|
282
|
-
var descriptors = !fails$
|
|
282
|
+
var descriptors = !fails$e(function () {
|
|
283
283
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
284
284
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
285
285
|
});
|
|
286
286
|
|
|
287
|
-
var fails$
|
|
287
|
+
var fails$d = fails$f;
|
|
288
288
|
|
|
289
|
-
var functionBindNative = !fails$
|
|
289
|
+
var functionBindNative = !fails$d(function () {
|
|
290
290
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
291
291
|
var test = (function () { /* empty */ }).bind();
|
|
292
292
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -295,10 +295,10 @@ var functionBindNative = !fails$c(function () {
|
|
|
295
295
|
|
|
296
296
|
var NATIVE_BIND$3 = functionBindNative;
|
|
297
297
|
|
|
298
|
-
var call$
|
|
298
|
+
var call$e = Function.prototype.call;
|
|
299
299
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
300
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
301
|
-
return call$
|
|
300
|
+
var functionCall = NATIVE_BIND$3 ? call$e.bind(call$e) : function () {
|
|
301
|
+
return call$e.apply(call$e, arguments);
|
|
302
302
|
};
|
|
303
303
|
|
|
304
304
|
var objectPropertyIsEnumerable = {};
|
|
@@ -317,7 +317,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
317
317
|
return !!descriptor && descriptor.enumerable;
|
|
318
318
|
} : $propertyIsEnumerable;
|
|
319
319
|
|
|
320
|
-
var createPropertyDescriptor$
|
|
320
|
+
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
321
321
|
return {
|
|
322
322
|
enumerable: !(bitmap & 1),
|
|
323
323
|
configurable: !(bitmap & 2),
|
|
@@ -329,39 +329,39 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
329
329
|
var NATIVE_BIND$2 = functionBindNative;
|
|
330
330
|
|
|
331
331
|
var FunctionPrototype$2 = Function.prototype;
|
|
332
|
-
var call$
|
|
332
|
+
var call$d = FunctionPrototype$2.call;
|
|
333
333
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
334
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
334
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$d, call$d);
|
|
335
335
|
|
|
336
336
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
337
337
|
return function () {
|
|
338
|
-
return call$
|
|
338
|
+
return call$d.apply(fn, arguments);
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
|
|
342
|
-
var uncurryThis$
|
|
342
|
+
var uncurryThis$e = functionUncurryThis;
|
|
343
343
|
|
|
344
|
-
var toString$
|
|
345
|
-
var stringSlice$1 = uncurryThis$
|
|
344
|
+
var toString$3 = uncurryThis$e({}.toString);
|
|
345
|
+
var stringSlice$1 = uncurryThis$e(''.slice);
|
|
346
346
|
|
|
347
347
|
var classofRaw$2 = function (it) {
|
|
348
|
-
return stringSlice$1(toString$
|
|
348
|
+
return stringSlice$1(toString$3(it), 8, -1);
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
var uncurryThis$
|
|
352
|
-
var fails$
|
|
353
|
-
var classof$
|
|
351
|
+
var uncurryThis$d = functionUncurryThis;
|
|
352
|
+
var fails$c = fails$f;
|
|
353
|
+
var classof$3 = classofRaw$2;
|
|
354
354
|
|
|
355
355
|
var $Object$4 = Object;
|
|
356
|
-
var split = uncurryThis$
|
|
356
|
+
var split = uncurryThis$d(''.split);
|
|
357
357
|
|
|
358
358
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
359
|
-
var indexedObject = fails$
|
|
359
|
+
var indexedObject = fails$c(function () {
|
|
360
360
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
361
361
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
362
362
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
363
363
|
}) ? function (it) {
|
|
364
|
-
return classof$
|
|
364
|
+
return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
365
365
|
} : $Object$4;
|
|
366
366
|
|
|
367
367
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -372,21 +372,21 @@ var isNullOrUndefined$3 = function (it) {
|
|
|
372
372
|
|
|
373
373
|
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
374
374
|
|
|
375
|
-
var $TypeError$
|
|
375
|
+
var $TypeError$c = TypeError;
|
|
376
376
|
|
|
377
377
|
// `RequireObjectCoercible` abstract operation
|
|
378
378
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
379
|
-
var requireObjectCoercible$
|
|
380
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$
|
|
379
|
+
var requireObjectCoercible$3 = function (it) {
|
|
380
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$c("Can't call method on " + it);
|
|
381
381
|
return it;
|
|
382
382
|
};
|
|
383
383
|
|
|
384
384
|
// toObject with fallback for non-array-like ES3 strings
|
|
385
385
|
var IndexedObject = indexedObject;
|
|
386
|
-
var requireObjectCoercible$
|
|
386
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
387
387
|
|
|
388
|
-
var toIndexedObject$
|
|
389
|
-
return IndexedObject(requireObjectCoercible$
|
|
388
|
+
var toIndexedObject$5 = function (it) {
|
|
389
|
+
return IndexedObject(requireObjectCoercible$2(it));
|
|
390
390
|
};
|
|
391
391
|
|
|
392
392
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -395,45 +395,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
395
395
|
// `IsCallable` abstract operation
|
|
396
396
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
397
397
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
398
|
-
var isCallable$
|
|
398
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
399
399
|
return typeof argument == 'function' || argument === documentAll;
|
|
400
400
|
} : function (argument) {
|
|
401
401
|
return typeof argument == 'function';
|
|
402
402
|
};
|
|
403
403
|
|
|
404
|
-
var isCallable$
|
|
404
|
+
var isCallable$f = isCallable$g;
|
|
405
405
|
|
|
406
|
-
var isObject$
|
|
407
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
406
|
+
var isObject$a = function (it) {
|
|
407
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
408
408
|
};
|
|
409
409
|
|
|
410
|
-
var globalThis$
|
|
411
|
-
var isCallable$
|
|
410
|
+
var globalThis$f = globalThis_1;
|
|
411
|
+
var isCallable$e = isCallable$g;
|
|
412
412
|
|
|
413
413
|
var aFunction = function (argument) {
|
|
414
|
-
return isCallable$
|
|
414
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
415
415
|
};
|
|
416
416
|
|
|
417
|
-
var getBuiltIn$
|
|
418
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
417
|
+
var getBuiltIn$5 = function (namespace, method) {
|
|
418
|
+
return arguments.length < 2 ? aFunction(globalThis$f[namespace]) : globalThis$f[namespace] && globalThis$f[namespace][method];
|
|
419
419
|
};
|
|
420
420
|
|
|
421
|
-
var uncurryThis$
|
|
421
|
+
var uncurryThis$c = functionUncurryThis;
|
|
422
422
|
|
|
423
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
423
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
424
424
|
|
|
425
|
-
var globalThis$
|
|
425
|
+
var globalThis$e = globalThis_1;
|
|
426
426
|
|
|
427
|
-
var navigator = globalThis$
|
|
427
|
+
var navigator = globalThis$e.navigator;
|
|
428
428
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
429
429
|
|
|
430
430
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
431
431
|
|
|
432
|
-
var globalThis$
|
|
432
|
+
var globalThis$d = globalThis_1;
|
|
433
433
|
var userAgent = environmentUserAgent;
|
|
434
434
|
|
|
435
|
-
var process = globalThis$
|
|
436
|
-
var Deno = globalThis$
|
|
435
|
+
var process = globalThis$d.process;
|
|
436
|
+
var Deno = globalThis$d.Deno;
|
|
437
437
|
var versions = process && process.versions || Deno && Deno.version;
|
|
438
438
|
var v8 = versions && versions.v8;
|
|
439
439
|
var match, version;
|
|
@@ -459,19 +459,19 @@ var environmentV8Version = version;
|
|
|
459
459
|
|
|
460
460
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
461
461
|
var V8_VERSION = environmentV8Version;
|
|
462
|
-
var fails$
|
|
463
|
-
var globalThis$
|
|
462
|
+
var fails$b = fails$f;
|
|
463
|
+
var globalThis$c = globalThis_1;
|
|
464
464
|
|
|
465
|
-
var $String$
|
|
465
|
+
var $String$5 = globalThis$c.String;
|
|
466
466
|
|
|
467
467
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
468
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
468
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
469
469
|
var symbol = Symbol('symbol detection');
|
|
470
470
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
471
471
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
472
472
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
473
473
|
// of course, fail.
|
|
474
|
-
return !$String$
|
|
474
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
475
475
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
476
476
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
477
477
|
});
|
|
@@ -483,9 +483,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
483
483
|
!Symbol.sham &&
|
|
484
484
|
typeof Symbol.iterator == 'symbol';
|
|
485
485
|
|
|
486
|
-
var getBuiltIn$
|
|
487
|
-
var isCallable$
|
|
488
|
-
var isPrototypeOf$
|
|
486
|
+
var getBuiltIn$4 = getBuiltIn$5;
|
|
487
|
+
var isCallable$d = isCallable$g;
|
|
488
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
489
489
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
490
490
|
|
|
491
491
|
var $Object$3 = Object;
|
|
@@ -493,29 +493,29 @@ var $Object$3 = Object;
|
|
|
493
493
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
494
494
|
return typeof it == 'symbol';
|
|
495
495
|
} : function (it) {
|
|
496
|
-
var $Symbol = getBuiltIn$
|
|
497
|
-
return isCallable$
|
|
496
|
+
var $Symbol = getBuiltIn$4('Symbol');
|
|
497
|
+
return isCallable$d($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
var $String$
|
|
500
|
+
var $String$4 = String;
|
|
501
501
|
|
|
502
502
|
var tryToString$3 = function (argument) {
|
|
503
503
|
try {
|
|
504
|
-
return $String$
|
|
504
|
+
return $String$4(argument);
|
|
505
505
|
} catch (error) {
|
|
506
506
|
return 'Object';
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
-
var isCallable$
|
|
510
|
+
var isCallable$c = isCallable$g;
|
|
511
511
|
var tryToString$2 = tryToString$3;
|
|
512
512
|
|
|
513
|
-
var $TypeError$
|
|
513
|
+
var $TypeError$b = TypeError;
|
|
514
514
|
|
|
515
515
|
// `Assert: IsCallable(argument) is true`
|
|
516
516
|
var aCallable$8 = function (argument) {
|
|
517
|
-
if (isCallable$
|
|
518
|
-
throw new $TypeError$
|
|
517
|
+
if (isCallable$c(argument)) return argument;
|
|
518
|
+
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
519
519
|
};
|
|
520
520
|
|
|
521
521
|
var aCallable$7 = aCallable$8;
|
|
@@ -528,42 +528,42 @@ var getMethod$4 = function (V, P) {
|
|
|
528
528
|
return isNullOrUndefined$1(func) ? undefined : aCallable$7(func);
|
|
529
529
|
};
|
|
530
530
|
|
|
531
|
-
var call$
|
|
532
|
-
var isCallable$
|
|
533
|
-
var isObject$
|
|
531
|
+
var call$c = functionCall;
|
|
532
|
+
var isCallable$b = isCallable$g;
|
|
533
|
+
var isObject$9 = isObject$a;
|
|
534
534
|
|
|
535
|
-
var $TypeError$
|
|
535
|
+
var $TypeError$a = TypeError;
|
|
536
536
|
|
|
537
537
|
// `OrdinaryToPrimitive` abstract operation
|
|
538
538
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
539
539
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
540
540
|
var fn, val;
|
|
541
|
-
if (pref === 'string' && isCallable$
|
|
542
|
-
if (isCallable$
|
|
543
|
-
if (pref !== 'string' && isCallable$
|
|
544
|
-
throw new $TypeError$
|
|
541
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val;
|
|
542
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$9(val = call$c(fn, input))) return val;
|
|
543
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val;
|
|
544
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
|
545
545
|
};
|
|
546
546
|
|
|
547
547
|
var sharedStore = {exports: {}};
|
|
548
548
|
|
|
549
|
-
var globalThis$
|
|
549
|
+
var globalThis$b = globalThis_1;
|
|
550
550
|
|
|
551
551
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
552
|
-
var defineProperty$
|
|
552
|
+
var defineProperty$6 = Object.defineProperty;
|
|
553
553
|
|
|
554
554
|
var defineGlobalProperty$3 = function (key, value) {
|
|
555
555
|
try {
|
|
556
|
-
defineProperty$
|
|
556
|
+
defineProperty$6(globalThis$b, key, { value: value, configurable: true, writable: true });
|
|
557
557
|
} catch (error) {
|
|
558
|
-
globalThis$
|
|
558
|
+
globalThis$b[key] = value;
|
|
559
559
|
} return value;
|
|
560
560
|
};
|
|
561
561
|
|
|
562
|
-
var globalThis$
|
|
562
|
+
var globalThis$a = globalThis_1;
|
|
563
563
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
564
564
|
|
|
565
565
|
var SHARED = '__core-js_shared__';
|
|
566
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
566
|
+
var store$3 = sharedStore.exports = globalThis$a[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
567
567
|
|
|
568
568
|
(store$3.versions || (store$3.versions = [])).push({
|
|
569
569
|
version: '3.44.0',
|
|
@@ -581,20 +581,20 @@ var shared$3 = function (key, value) {
|
|
|
581
581
|
return store$2[key] || (store$2[key] = value || {});
|
|
582
582
|
};
|
|
583
583
|
|
|
584
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
584
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
585
585
|
|
|
586
586
|
var $Object$2 = Object;
|
|
587
587
|
|
|
588
588
|
// `ToObject` abstract operation
|
|
589
589
|
// https://tc39.es/ecma262/#sec-toobject
|
|
590
590
|
var toObject$2 = function (argument) {
|
|
591
|
-
return $Object$2(requireObjectCoercible(argument));
|
|
591
|
+
return $Object$2(requireObjectCoercible$1(argument));
|
|
592
592
|
};
|
|
593
593
|
|
|
594
|
-
var uncurryThis$
|
|
594
|
+
var uncurryThis$b = functionUncurryThis;
|
|
595
595
|
var toObject$1 = toObject$2;
|
|
596
596
|
|
|
597
|
-
var hasOwnProperty = uncurryThis$
|
|
597
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
598
598
|
|
|
599
599
|
// `HasOwnProperty` abstract operation
|
|
600
600
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -603,56 +603,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
603
603
|
return hasOwnProperty(toObject$1(it), key);
|
|
604
604
|
};
|
|
605
605
|
|
|
606
|
-
var uncurryThis$
|
|
606
|
+
var uncurryThis$a = functionUncurryThis;
|
|
607
607
|
|
|
608
608
|
var id = 0;
|
|
609
609
|
var postfix = Math.random();
|
|
610
|
-
var toString = uncurryThis$
|
|
610
|
+
var toString$2 = uncurryThis$a(1.1.toString);
|
|
611
611
|
|
|
612
612
|
var uid$2 = function (key) {
|
|
613
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
613
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
|
614
614
|
};
|
|
615
615
|
|
|
616
|
-
var globalThis$
|
|
616
|
+
var globalThis$9 = globalThis_1;
|
|
617
617
|
var shared$2 = shared$3;
|
|
618
|
-
var hasOwn$
|
|
618
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
619
619
|
var uid$1 = uid$2;
|
|
620
620
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
621
621
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
622
622
|
|
|
623
|
-
var Symbol$1 = globalThis$
|
|
623
|
+
var Symbol$1 = globalThis$9.Symbol;
|
|
624
624
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
625
625
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
626
626
|
|
|
627
|
-
var wellKnownSymbol$
|
|
628
|
-
if (!hasOwn$
|
|
629
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
627
|
+
var wellKnownSymbol$c = function (name) {
|
|
628
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
629
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
630
630
|
? Symbol$1[name]
|
|
631
631
|
: createWellKnownSymbol('Symbol.' + name);
|
|
632
632
|
} return WellKnownSymbolsStore[name];
|
|
633
633
|
};
|
|
634
634
|
|
|
635
|
-
var call$
|
|
636
|
-
var isObject$
|
|
635
|
+
var call$b = functionCall;
|
|
636
|
+
var isObject$8 = isObject$a;
|
|
637
637
|
var isSymbol$1 = isSymbol$2;
|
|
638
638
|
var getMethod$3 = getMethod$4;
|
|
639
639
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
640
|
-
var wellKnownSymbol$
|
|
640
|
+
var wellKnownSymbol$b = wellKnownSymbol$c;
|
|
641
641
|
|
|
642
|
-
var $TypeError$
|
|
643
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
642
|
+
var $TypeError$9 = TypeError;
|
|
643
|
+
var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
|
|
644
644
|
|
|
645
645
|
// `ToPrimitive` abstract operation
|
|
646
646
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
647
647
|
var toPrimitive$1 = function (input, pref) {
|
|
648
|
-
if (!isObject$
|
|
648
|
+
if (!isObject$8(input) || isSymbol$1(input)) return input;
|
|
649
649
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
650
650
|
var result;
|
|
651
651
|
if (exoticToPrim) {
|
|
652
652
|
if (pref === undefined) pref = 'default';
|
|
653
|
-
result = call$
|
|
654
|
-
if (!isObject$
|
|
655
|
-
throw new $TypeError$
|
|
653
|
+
result = call$b(exoticToPrim, input, pref);
|
|
654
|
+
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
655
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
656
656
|
}
|
|
657
657
|
if (pref === undefined) pref = 'number';
|
|
658
658
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -668,36 +668,36 @@ var toPropertyKey$2 = function (argument) {
|
|
|
668
668
|
return isSymbol(key) ? key : key + '';
|
|
669
669
|
};
|
|
670
670
|
|
|
671
|
-
var globalThis$
|
|
672
|
-
var isObject$
|
|
671
|
+
var globalThis$8 = globalThis_1;
|
|
672
|
+
var isObject$7 = isObject$a;
|
|
673
673
|
|
|
674
|
-
var document$1 = globalThis$
|
|
674
|
+
var document$1 = globalThis$8.document;
|
|
675
675
|
// typeof document.createElement is 'object' in old IE
|
|
676
|
-
var EXISTS$1 = isObject$
|
|
676
|
+
var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
|
|
677
677
|
|
|
678
|
-
var documentCreateElement$
|
|
678
|
+
var documentCreateElement$2 = function (it) {
|
|
679
679
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
680
680
|
};
|
|
681
681
|
|
|
682
|
-
var DESCRIPTORS$
|
|
683
|
-
var fails$
|
|
684
|
-
var createElement = documentCreateElement$
|
|
682
|
+
var DESCRIPTORS$b = descriptors;
|
|
683
|
+
var fails$a = fails$f;
|
|
684
|
+
var createElement = documentCreateElement$2;
|
|
685
685
|
|
|
686
686
|
// Thanks to IE8 for its funny defineProperty
|
|
687
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
687
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$a(function () {
|
|
688
688
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
689
689
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
690
690
|
get: function () { return 7; }
|
|
691
691
|
}).a !== 7;
|
|
692
692
|
});
|
|
693
693
|
|
|
694
|
-
var DESCRIPTORS$
|
|
695
|
-
var call$
|
|
694
|
+
var DESCRIPTORS$a = descriptors;
|
|
695
|
+
var call$a = functionCall;
|
|
696
696
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
697
|
-
var createPropertyDescriptor$
|
|
698
|
-
var toIndexedObject$
|
|
697
|
+
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
698
|
+
var toIndexedObject$4 = toIndexedObject$5;
|
|
699
699
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
700
|
-
var hasOwn$
|
|
700
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
701
701
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
702
702
|
|
|
703
703
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -705,23 +705,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
705
705
|
|
|
706
706
|
// `Object.getOwnPropertyDescriptor` method
|
|
707
707
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
708
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
709
|
-
O = toIndexedObject$
|
|
708
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
709
|
+
O = toIndexedObject$4(O);
|
|
710
710
|
P = toPropertyKey$1(P);
|
|
711
711
|
if (IE8_DOM_DEFINE$1) try {
|
|
712
712
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
713
713
|
} catch (error) { /* empty */ }
|
|
714
|
-
if (hasOwn$
|
|
714
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$4(!call$a(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
715
715
|
};
|
|
716
716
|
|
|
717
717
|
var objectDefineProperty = {};
|
|
718
718
|
|
|
719
|
-
var DESCRIPTORS$
|
|
720
|
-
var fails$
|
|
719
|
+
var DESCRIPTORS$9 = descriptors;
|
|
720
|
+
var fails$9 = fails$f;
|
|
721
721
|
|
|
722
722
|
// V8 ~ Chrome 36-
|
|
723
723
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
724
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
724
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
725
725
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
726
726
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
727
727
|
value: 42,
|
|
@@ -729,24 +729,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
|
729
729
|
}).prototype !== 42;
|
|
730
730
|
});
|
|
731
731
|
|
|
732
|
-
var isObject$
|
|
732
|
+
var isObject$6 = isObject$a;
|
|
733
733
|
|
|
734
|
-
var $String$
|
|
735
|
-
var $TypeError$
|
|
734
|
+
var $String$3 = String;
|
|
735
|
+
var $TypeError$8 = TypeError;
|
|
736
736
|
|
|
737
737
|
// `Assert: Type(argument) is Object`
|
|
738
738
|
var anObject$d = function (argument) {
|
|
739
|
-
if (isObject$
|
|
740
|
-
throw new $TypeError$
|
|
739
|
+
if (isObject$6(argument)) return argument;
|
|
740
|
+
throw new $TypeError$8($String$3(argument) + ' is not an object');
|
|
741
741
|
};
|
|
742
742
|
|
|
743
|
-
var DESCRIPTORS$
|
|
743
|
+
var DESCRIPTORS$8 = descriptors;
|
|
744
744
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
745
745
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
746
746
|
var anObject$c = anObject$d;
|
|
747
747
|
var toPropertyKey = toPropertyKey$2;
|
|
748
748
|
|
|
749
|
-
var $TypeError$
|
|
749
|
+
var $TypeError$7 = TypeError;
|
|
750
750
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
751
751
|
var $defineProperty = Object.defineProperty;
|
|
752
752
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -757,7 +757,7 @@ var WRITABLE = 'writable';
|
|
|
757
757
|
|
|
758
758
|
// `Object.defineProperty` method
|
|
759
759
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
760
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
760
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
761
761
|
anObject$c(O);
|
|
762
762
|
P = toPropertyKey(P);
|
|
763
763
|
anObject$c(Attributes);
|
|
@@ -779,17 +779,17 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
779
779
|
if (IE8_DOM_DEFINE) try {
|
|
780
780
|
return $defineProperty(O, P, Attributes);
|
|
781
781
|
} catch (error) { /* empty */ }
|
|
782
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
782
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
|
|
783
783
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
784
784
|
return O;
|
|
785
785
|
};
|
|
786
786
|
|
|
787
|
-
var DESCRIPTORS$
|
|
787
|
+
var DESCRIPTORS$7 = descriptors;
|
|
788
788
|
var definePropertyModule$4 = objectDefineProperty;
|
|
789
|
-
var createPropertyDescriptor$
|
|
789
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
790
790
|
|
|
791
|
-
var createNonEnumerableProperty$
|
|
792
|
-
return definePropertyModule$4.f(object, key, createPropertyDescriptor$
|
|
791
|
+
var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
792
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$3(1, value));
|
|
793
793
|
} : function (object, key, value) {
|
|
794
794
|
object[key] = value;
|
|
795
795
|
return object;
|
|
@@ -797,28 +797,31 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
797
797
|
|
|
798
798
|
var makeBuiltIn$3 = {exports: {}};
|
|
799
799
|
|
|
800
|
-
var DESCRIPTORS$
|
|
801
|
-
var hasOwn$
|
|
800
|
+
var DESCRIPTORS$6 = descriptors;
|
|
801
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
802
802
|
|
|
803
803
|
var FunctionPrototype$1 = Function.prototype;
|
|
804
804
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
805
|
-
var getDescriptor = DESCRIPTORS$
|
|
805
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
806
806
|
|
|
807
|
-
var EXISTS = hasOwn$
|
|
808
|
-
|
|
807
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
808
|
+
// additional protection from minified / mangled / dropped function names
|
|
809
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
810
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
809
811
|
|
|
810
812
|
var functionName = {
|
|
813
|
+
PROPER: PROPER,
|
|
811
814
|
CONFIGURABLE: CONFIGURABLE
|
|
812
815
|
};
|
|
813
816
|
|
|
814
|
-
var uncurryThis$
|
|
815
|
-
var isCallable$
|
|
817
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
818
|
+
var isCallable$a = isCallable$g;
|
|
816
819
|
var store$1 = sharedStoreExports;
|
|
817
820
|
|
|
818
|
-
var functionToString = uncurryThis$
|
|
821
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
819
822
|
|
|
820
823
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
821
|
-
if (!isCallable$
|
|
824
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
822
825
|
store$1.inspectSource = function (it) {
|
|
823
826
|
return functionToString(it);
|
|
824
827
|
};
|
|
@@ -826,12 +829,12 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
|
826
829
|
|
|
827
830
|
var inspectSource$1 = store$1.inspectSource;
|
|
828
831
|
|
|
829
|
-
var globalThis$
|
|
830
|
-
var isCallable$
|
|
832
|
+
var globalThis$7 = globalThis_1;
|
|
833
|
+
var isCallable$9 = isCallable$g;
|
|
831
834
|
|
|
832
|
-
var WeakMap$1 = globalThis$
|
|
835
|
+
var WeakMap$1 = globalThis$7.WeakMap;
|
|
833
836
|
|
|
834
|
-
var weakMapBasicDetection = isCallable$
|
|
837
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
835
838
|
|
|
836
839
|
var shared$1 = shared$3;
|
|
837
840
|
var uid = uid$2;
|
|
@@ -845,17 +848,17 @@ var sharedKey$3 = function (key) {
|
|
|
845
848
|
var hiddenKeys$4 = {};
|
|
846
849
|
|
|
847
850
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
848
|
-
var globalThis$
|
|
849
|
-
var isObject$
|
|
850
|
-
var createNonEnumerableProperty$
|
|
851
|
-
var hasOwn$
|
|
851
|
+
var globalThis$6 = globalThis_1;
|
|
852
|
+
var isObject$5 = isObject$a;
|
|
853
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
854
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
852
855
|
var shared = sharedStoreExports;
|
|
853
856
|
var sharedKey$2 = sharedKey$3;
|
|
854
857
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
855
858
|
|
|
856
859
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
857
|
-
var TypeError$1 = globalThis$
|
|
858
|
-
var WeakMap = globalThis$
|
|
860
|
+
var TypeError$1 = globalThis$6.TypeError;
|
|
861
|
+
var WeakMap = globalThis$6.WeakMap;
|
|
859
862
|
var set, get, has$6;
|
|
860
863
|
|
|
861
864
|
var enforce = function (it) {
|
|
@@ -865,7 +868,7 @@ var enforce = function (it) {
|
|
|
865
868
|
var getterFor = function (TYPE) {
|
|
866
869
|
return function (it) {
|
|
867
870
|
var state;
|
|
868
|
-
if (!isObject$
|
|
871
|
+
if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
|
|
869
872
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
870
873
|
} return state;
|
|
871
874
|
};
|
|
@@ -894,16 +897,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
894
897
|
var STATE = sharedKey$2('state');
|
|
895
898
|
hiddenKeys$3[STATE] = true;
|
|
896
899
|
set = function (it, metadata) {
|
|
897
|
-
if (hasOwn$
|
|
900
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
898
901
|
metadata.facade = it;
|
|
899
|
-
createNonEnumerableProperty$
|
|
902
|
+
createNonEnumerableProperty$7(it, STATE, metadata);
|
|
900
903
|
return metadata;
|
|
901
904
|
};
|
|
902
905
|
get = function (it) {
|
|
903
|
-
return hasOwn$
|
|
906
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
904
907
|
};
|
|
905
908
|
has$6 = function (it) {
|
|
906
|
-
return hasOwn$
|
|
909
|
+
return hasOwn$7(it, STATE);
|
|
907
910
|
};
|
|
908
911
|
}
|
|
909
912
|
|
|
@@ -915,51 +918,51 @@ var internalState = {
|
|
|
915
918
|
getterFor: getterFor
|
|
916
919
|
};
|
|
917
920
|
|
|
918
|
-
var uncurryThis$
|
|
919
|
-
var fails$
|
|
920
|
-
var isCallable$
|
|
921
|
-
var hasOwn$
|
|
922
|
-
var DESCRIPTORS$
|
|
923
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
921
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
922
|
+
var fails$8 = fails$f;
|
|
923
|
+
var isCallable$8 = isCallable$g;
|
|
924
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
925
|
+
var DESCRIPTORS$5 = descriptors;
|
|
926
|
+
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
924
927
|
var inspectSource = inspectSource$1;
|
|
925
|
-
var InternalStateModule$
|
|
928
|
+
var InternalStateModule$2 = internalState;
|
|
926
929
|
|
|
927
|
-
var enforceInternalState = InternalStateModule$
|
|
928
|
-
var getInternalState = InternalStateModule$
|
|
929
|
-
var $String = String;
|
|
930
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
931
|
+
var getInternalState$1 = InternalStateModule$2.get;
|
|
932
|
+
var $String$2 = String;
|
|
930
933
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
931
|
-
var defineProperty$
|
|
932
|
-
var stringSlice = uncurryThis$
|
|
933
|
-
var replace = uncurryThis$
|
|
934
|
-
var join = uncurryThis$
|
|
934
|
+
var defineProperty$5 = Object.defineProperty;
|
|
935
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
936
|
+
var replace$1 = uncurryThis$8(''.replace);
|
|
937
|
+
var join = uncurryThis$8([].join);
|
|
935
938
|
|
|
936
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
937
|
-
return defineProperty$
|
|
939
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
940
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
938
941
|
});
|
|
939
942
|
|
|
940
943
|
var TEMPLATE = String(String).split('String');
|
|
941
944
|
|
|
942
945
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
943
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
944
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
946
|
+
if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
|
|
947
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
945
948
|
}
|
|
946
949
|
if (options && options.getter) name = 'get ' + name;
|
|
947
950
|
if (options && options.setter) name = 'set ' + name;
|
|
948
|
-
if (!hasOwn$
|
|
949
|
-
if (DESCRIPTORS$
|
|
951
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
952
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
950
953
|
else value.name = name;
|
|
951
954
|
}
|
|
952
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
953
|
-
defineProperty$
|
|
955
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
956
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
954
957
|
}
|
|
955
958
|
try {
|
|
956
|
-
if (options && hasOwn$
|
|
957
|
-
if (DESCRIPTORS$
|
|
959
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
960
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
958
961
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
959
962
|
} else if (value.prototype) value.prototype = undefined;
|
|
960
963
|
} catch (error) { /* empty */ }
|
|
961
964
|
var state = enforceInternalState(value);
|
|
962
|
-
if (!hasOwn$
|
|
965
|
+
if (!hasOwn$6(state, 'source')) {
|
|
963
966
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
964
967
|
} return value;
|
|
965
968
|
};
|
|
@@ -967,21 +970,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
967
970
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
968
971
|
// eslint-disable-next-line no-extend-native -- required
|
|
969
972
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
970
|
-
return isCallable$
|
|
973
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
|
971
974
|
}, 'toString');
|
|
972
975
|
|
|
973
976
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
974
977
|
|
|
975
|
-
var isCallable$
|
|
978
|
+
var isCallable$7 = isCallable$g;
|
|
976
979
|
var definePropertyModule$3 = objectDefineProperty;
|
|
977
980
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
978
981
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
979
982
|
|
|
980
|
-
var defineBuiltIn$
|
|
983
|
+
var defineBuiltIn$4 = function (O, key, value, options) {
|
|
981
984
|
if (!options) options = {};
|
|
982
985
|
var simple = options.enumerable;
|
|
983
986
|
var name = options.name !== undefined ? options.name : key;
|
|
984
|
-
if (isCallable$
|
|
987
|
+
if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
|
|
985
988
|
if (options.global) {
|
|
986
989
|
if (simple) O[key] = value;
|
|
987
990
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1055,14 +1058,14 @@ var lengthOfArrayLike$2 = function (obj) {
|
|
|
1055
1058
|
return toLength(obj.length);
|
|
1056
1059
|
};
|
|
1057
1060
|
|
|
1058
|
-
var toIndexedObject$
|
|
1061
|
+
var toIndexedObject$3 = toIndexedObject$5;
|
|
1059
1062
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1060
1063
|
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
1061
1064
|
|
|
1062
1065
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1063
1066
|
var createMethod = function (IS_INCLUDES) {
|
|
1064
1067
|
return function ($this, el, fromIndex) {
|
|
1065
|
-
var O = toIndexedObject$
|
|
1068
|
+
var O = toIndexedObject$3($this);
|
|
1066
1069
|
var length = lengthOfArrayLike$1(O);
|
|
1067
1070
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
1068
1071
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
@@ -1086,22 +1089,22 @@ var arrayIncludes = {
|
|
|
1086
1089
|
indexOf: createMethod(false)
|
|
1087
1090
|
};
|
|
1088
1091
|
|
|
1089
|
-
var uncurryThis$
|
|
1090
|
-
var hasOwn$
|
|
1091
|
-
var toIndexedObject$
|
|
1092
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1093
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1094
|
+
var toIndexedObject$2 = toIndexedObject$5;
|
|
1092
1095
|
var indexOf = arrayIncludes.indexOf;
|
|
1093
1096
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
1094
1097
|
|
|
1095
|
-
var push = uncurryThis$
|
|
1098
|
+
var push = uncurryThis$7([].push);
|
|
1096
1099
|
|
|
1097
1100
|
var objectKeysInternal = function (object, names) {
|
|
1098
|
-
var O = toIndexedObject$
|
|
1101
|
+
var O = toIndexedObject$2(object);
|
|
1099
1102
|
var i = 0;
|
|
1100
1103
|
var result = [];
|
|
1101
1104
|
var key;
|
|
1102
|
-
for (key in O) !hasOwn$
|
|
1105
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push(result, key);
|
|
1103
1106
|
// Don't enum bug & hidden keys
|
|
1104
|
-
while (names.length > i) if (hasOwn$
|
|
1107
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
1105
1108
|
~indexOf(result, key) || push(result, key);
|
|
1106
1109
|
}
|
|
1107
1110
|
return result;
|
|
@@ -1135,40 +1138,40 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1135
1138
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1136
1139
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1137
1140
|
|
|
1138
|
-
var getBuiltIn$
|
|
1139
|
-
var uncurryThis$
|
|
1141
|
+
var getBuiltIn$3 = getBuiltIn$5;
|
|
1142
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1140
1143
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1141
1144
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1142
1145
|
var anObject$b = anObject$d;
|
|
1143
1146
|
|
|
1144
|
-
var concat = uncurryThis$
|
|
1147
|
+
var concat = uncurryThis$6([].concat);
|
|
1145
1148
|
|
|
1146
1149
|
// all object keys, includes non-enumerable and symbols
|
|
1147
|
-
var ownKeys$1 = getBuiltIn$
|
|
1150
|
+
var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1148
1151
|
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
1149
1152
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1150
1153
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
1151
1154
|
};
|
|
1152
1155
|
|
|
1153
|
-
var hasOwn$
|
|
1156
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1154
1157
|
var ownKeys = ownKeys$1;
|
|
1155
1158
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1156
1159
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1157
1160
|
|
|
1158
|
-
var copyConstructorProperties$
|
|
1161
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
1159
1162
|
var keys = ownKeys(source);
|
|
1160
1163
|
var defineProperty = definePropertyModule$2.f;
|
|
1161
1164
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1162
1165
|
for (var i = 0; i < keys.length; i++) {
|
|
1163
1166
|
var key = keys[i];
|
|
1164
|
-
if (!hasOwn$
|
|
1167
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
1165
1168
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1166
1169
|
}
|
|
1167
1170
|
}
|
|
1168
1171
|
};
|
|
1169
1172
|
|
|
1170
|
-
var fails$
|
|
1171
|
-
var isCallable$
|
|
1173
|
+
var fails$7 = fails$f;
|
|
1174
|
+
var isCallable$6 = isCallable$g;
|
|
1172
1175
|
|
|
1173
1176
|
var replacement = /#|\.prototype\./;
|
|
1174
1177
|
|
|
@@ -1176,7 +1179,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1176
1179
|
var value = data[normalize(feature)];
|
|
1177
1180
|
return value === POLYFILL ? true
|
|
1178
1181
|
: value === NATIVE ? false
|
|
1179
|
-
: isCallable$
|
|
1182
|
+
: isCallable$6(detection) ? fails$7(detection)
|
|
1180
1183
|
: !!detection;
|
|
1181
1184
|
};
|
|
1182
1185
|
|
|
@@ -1190,12 +1193,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1190
1193
|
|
|
1191
1194
|
var isForced_1 = isForced$1;
|
|
1192
1195
|
|
|
1193
|
-
var globalThis$
|
|
1196
|
+
var globalThis$5 = globalThis_1;
|
|
1194
1197
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1195
|
-
var createNonEnumerableProperty$
|
|
1196
|
-
var defineBuiltIn$
|
|
1198
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
1199
|
+
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
1197
1200
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1198
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
1201
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1199
1202
|
var isForced = isForced_1;
|
|
1200
1203
|
|
|
1201
1204
|
/*
|
|
@@ -1219,11 +1222,11 @@ var _export = function (options, source) {
|
|
|
1219
1222
|
var STATIC = options.stat;
|
|
1220
1223
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1221
1224
|
if (GLOBAL) {
|
|
1222
|
-
target = globalThis$
|
|
1225
|
+
target = globalThis$5;
|
|
1223
1226
|
} else if (STATIC) {
|
|
1224
|
-
target = globalThis$
|
|
1227
|
+
target = globalThis$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1225
1228
|
} else {
|
|
1226
|
-
target = globalThis$
|
|
1229
|
+
target = globalThis$5[TARGET] && globalThis$5[TARGET].prototype;
|
|
1227
1230
|
}
|
|
1228
1231
|
if (target) for (key in source) {
|
|
1229
1232
|
sourceProperty = source[key];
|
|
@@ -1235,16 +1238,340 @@ var _export = function (options, source) {
|
|
|
1235
1238
|
// contained in target
|
|
1236
1239
|
if (!FORCED && targetProperty !== undefined) {
|
|
1237
1240
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1238
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1241
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
1239
1242
|
}
|
|
1240
1243
|
// add a flag to not completely full polyfills
|
|
1241
1244
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1242
|
-
createNonEnumerableProperty$
|
|
1245
|
+
createNonEnumerableProperty$6(sourceProperty, 'sham', true);
|
|
1243
1246
|
}
|
|
1244
|
-
defineBuiltIn$
|
|
1247
|
+
defineBuiltIn$3(target, key, sourceProperty, options);
|
|
1245
1248
|
}
|
|
1246
1249
|
};
|
|
1247
1250
|
|
|
1251
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
1252
|
+
|
|
1253
|
+
var FunctionPrototype = Function.prototype;
|
|
1254
|
+
var apply$2 = FunctionPrototype.apply;
|
|
1255
|
+
var call$9 = FunctionPrototype.call;
|
|
1256
|
+
|
|
1257
|
+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
1258
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$9.bind(apply$2) : function () {
|
|
1259
|
+
return call$9.apply(apply$2, arguments);
|
|
1260
|
+
});
|
|
1261
|
+
|
|
1262
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1263
|
+
var aCallable$6 = aCallable$8;
|
|
1264
|
+
|
|
1265
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1266
|
+
try {
|
|
1267
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1268
|
+
return uncurryThis$5(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1269
|
+
} catch (error) { /* empty */ }
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
var isObject$4 = isObject$a;
|
|
1273
|
+
|
|
1274
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
1275
|
+
return isObject$4(argument) || argument === null;
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1279
|
+
|
|
1280
|
+
var $String$1 = String;
|
|
1281
|
+
var $TypeError$6 = TypeError;
|
|
1282
|
+
|
|
1283
|
+
var aPossiblePrototype$1 = function (argument) {
|
|
1284
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
1285
|
+
throw new $TypeError$6("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
/* eslint-disable no-proto -- safe */
|
|
1289
|
+
var uncurryThisAccessor$1 = functionUncurryThisAccessor;
|
|
1290
|
+
var isObject$3 = isObject$a;
|
|
1291
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1292
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1293
|
+
|
|
1294
|
+
// `Object.setPrototypeOf` method
|
|
1295
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1296
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1297
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1298
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1299
|
+
var CORRECT_SETTER = false;
|
|
1300
|
+
var test = {};
|
|
1301
|
+
var setter;
|
|
1302
|
+
try {
|
|
1303
|
+
setter = uncurryThisAccessor$1(Object.prototype, '__proto__', 'set');
|
|
1304
|
+
setter(test, []);
|
|
1305
|
+
CORRECT_SETTER = test instanceof Array;
|
|
1306
|
+
} catch (error) { /* empty */ }
|
|
1307
|
+
return function setPrototypeOf(O, proto) {
|
|
1308
|
+
requireObjectCoercible(O);
|
|
1309
|
+
aPossiblePrototype(proto);
|
|
1310
|
+
if (!isObject$3(O)) return O;
|
|
1311
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
1312
|
+
else O.__proto__ = proto;
|
|
1313
|
+
return O;
|
|
1314
|
+
};
|
|
1315
|
+
}() : undefined);
|
|
1316
|
+
|
|
1317
|
+
var defineProperty$4 = objectDefineProperty.f;
|
|
1318
|
+
|
|
1319
|
+
var proxyAccessor$1 = function (Target, Source, key) {
|
|
1320
|
+
key in Target || defineProperty$4(Target, key, {
|
|
1321
|
+
configurable: true,
|
|
1322
|
+
get: function () { return Source[key]; },
|
|
1323
|
+
set: function (it) { Source[key] = it; }
|
|
1324
|
+
});
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
var isCallable$5 = isCallable$g;
|
|
1328
|
+
var isObject$2 = isObject$a;
|
|
1329
|
+
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1330
|
+
|
|
1331
|
+
// makes subclassing work correct for wrapped built-ins
|
|
1332
|
+
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
1333
|
+
var NewTarget, NewTargetPrototype;
|
|
1334
|
+
if (
|
|
1335
|
+
// it can work only with native `setPrototypeOf`
|
|
1336
|
+
setPrototypeOf$2 &&
|
|
1337
|
+
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
1338
|
+
isCallable$5(NewTarget = dummy.constructor) &&
|
|
1339
|
+
NewTarget !== Wrapper &&
|
|
1340
|
+
isObject$2(NewTargetPrototype = NewTarget.prototype) &&
|
|
1341
|
+
NewTargetPrototype !== Wrapper.prototype
|
|
1342
|
+
) setPrototypeOf$2($this, NewTargetPrototype);
|
|
1343
|
+
return $this;
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
var wellKnownSymbol$a = wellKnownSymbol$c;
|
|
1347
|
+
|
|
1348
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$a('toStringTag');
|
|
1349
|
+
var test = {};
|
|
1350
|
+
|
|
1351
|
+
test[TO_STRING_TAG$4] = 'z';
|
|
1352
|
+
|
|
1353
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
1354
|
+
|
|
1355
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1356
|
+
var isCallable$4 = isCallable$g;
|
|
1357
|
+
var classofRaw$1 = classofRaw$2;
|
|
1358
|
+
var wellKnownSymbol$9 = wellKnownSymbol$c;
|
|
1359
|
+
|
|
1360
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$9('toStringTag');
|
|
1361
|
+
var $Object$1 = Object;
|
|
1362
|
+
|
|
1363
|
+
// ES3 wrong here
|
|
1364
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1365
|
+
|
|
1366
|
+
// fallback for IE11 Script Access Denied error
|
|
1367
|
+
var tryGet = function (it, key) {
|
|
1368
|
+
try {
|
|
1369
|
+
return it[key];
|
|
1370
|
+
} catch (error) { /* empty */ }
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1374
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1375
|
+
var O, tag, result;
|
|
1376
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1377
|
+
// @@toStringTag case
|
|
1378
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$3)) == 'string' ? tag
|
|
1379
|
+
// builtinTag case
|
|
1380
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1381
|
+
// ES3 arguments fallback
|
|
1382
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
var classof$1 = classof$2;
|
|
1386
|
+
|
|
1387
|
+
var $String = String;
|
|
1388
|
+
|
|
1389
|
+
var toString$1 = function (argument) {
|
|
1390
|
+
if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1391
|
+
return $String(argument);
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
var toString = toString$1;
|
|
1395
|
+
|
|
1396
|
+
var normalizeStringArgument$1 = function (argument, $default) {
|
|
1397
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
var isObject$1 = isObject$a;
|
|
1401
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1402
|
+
|
|
1403
|
+
// `InstallErrorCause` abstract operation
|
|
1404
|
+
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
1405
|
+
var installErrorCause$1 = function (O, options) {
|
|
1406
|
+
if (isObject$1(options) && 'cause' in options) {
|
|
1407
|
+
createNonEnumerableProperty$5(O, 'cause', options.cause);
|
|
1408
|
+
}
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1412
|
+
|
|
1413
|
+
var $Error = Error;
|
|
1414
|
+
var replace = uncurryThis$4(''.replace);
|
|
1415
|
+
|
|
1416
|
+
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
1417
|
+
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
1418
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
1419
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
1420
|
+
|
|
1421
|
+
var errorStackClear = function (stack, dropEntries) {
|
|
1422
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
1423
|
+
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
1424
|
+
} return stack;
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
var fails$6 = fails$f;
|
|
1428
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
1429
|
+
|
|
1430
|
+
var errorStackInstallable = !fails$6(function () {
|
|
1431
|
+
var error = new Error('a');
|
|
1432
|
+
if (!('stack' in error)) return true;
|
|
1433
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1434
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor$2(1, 7));
|
|
1435
|
+
return error.stack !== 7;
|
|
1436
|
+
});
|
|
1437
|
+
|
|
1438
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
1439
|
+
var clearErrorStack = errorStackClear;
|
|
1440
|
+
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
1441
|
+
|
|
1442
|
+
// non-standard V8
|
|
1443
|
+
// eslint-disable-next-line es/no-nonstandard-error-properties -- safe
|
|
1444
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
1445
|
+
|
|
1446
|
+
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
1447
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
1448
|
+
if (captureStackTrace) captureStackTrace(error, C);
|
|
1449
|
+
else createNonEnumerableProperty$4(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
1450
|
+
}
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
var getBuiltIn$2 = getBuiltIn$5;
|
|
1454
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1455
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
1456
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1457
|
+
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1458
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
|
1459
|
+
var proxyAccessor = proxyAccessor$1;
|
|
1460
|
+
var inheritIfRequired = inheritIfRequired$1;
|
|
1461
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
1462
|
+
var installErrorCause = installErrorCause$1;
|
|
1463
|
+
var installErrorStack = errorStackInstall;
|
|
1464
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1465
|
+
|
|
1466
|
+
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1467
|
+
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
1468
|
+
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
1469
|
+
var path = FULL_NAME.split('.');
|
|
1470
|
+
var ERROR_NAME = path[path.length - 1];
|
|
1471
|
+
var OriginalError = getBuiltIn$2.apply(null, path);
|
|
1472
|
+
|
|
1473
|
+
if (!OriginalError) return;
|
|
1474
|
+
|
|
1475
|
+
var OriginalErrorPrototype = OriginalError.prototype;
|
|
1476
|
+
|
|
1477
|
+
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1478
|
+
if (hasOwn$3(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
1479
|
+
|
|
1480
|
+
if (!FORCED) return OriginalError;
|
|
1481
|
+
|
|
1482
|
+
var BaseError = getBuiltIn$2('Error');
|
|
1483
|
+
|
|
1484
|
+
var WrappedError = wrapper(function (a, b) {
|
|
1485
|
+
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1486
|
+
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1487
|
+
if (message !== undefined) createNonEnumerableProperty$3(result, 'message', message);
|
|
1488
|
+
installErrorStack(result, WrappedError, result.stack, 2);
|
|
1489
|
+
if (this && isPrototypeOf$2(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
1490
|
+
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
1491
|
+
return result;
|
|
1492
|
+
});
|
|
1493
|
+
|
|
1494
|
+
WrappedError.prototype = OriginalErrorPrototype;
|
|
1495
|
+
|
|
1496
|
+
if (ERROR_NAME !== 'Error') {
|
|
1497
|
+
if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
|
|
1498
|
+
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
1499
|
+
} else if (DESCRIPTORS$4 && STACK_TRACE_LIMIT in OriginalError) {
|
|
1500
|
+
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1501
|
+
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
copyConstructorProperties(WrappedError, OriginalError);
|
|
1505
|
+
|
|
1506
|
+
try {
|
|
1507
|
+
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1508
|
+
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1509
|
+
createNonEnumerableProperty$3(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1510
|
+
}
|
|
1511
|
+
OriginalErrorPrototype.constructor = WrappedError;
|
|
1512
|
+
} catch (error) { /* empty */ }
|
|
1513
|
+
|
|
1514
|
+
return WrappedError;
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1518
|
+
var $$d = _export;
|
|
1519
|
+
var globalThis$4 = globalThis_1;
|
|
1520
|
+
var apply$1 = functionApply;
|
|
1521
|
+
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
1522
|
+
|
|
1523
|
+
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1524
|
+
var WebAssembly = globalThis$4[WEB_ASSEMBLY];
|
|
1525
|
+
|
|
1526
|
+
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
1527
|
+
var FORCED$5 = new Error('e', { cause: 7 }).cause !== 7;
|
|
1528
|
+
|
|
1529
|
+
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1530
|
+
var O = {};
|
|
1531
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$5);
|
|
1532
|
+
$$d({ global: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1535
|
+
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1536
|
+
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
1537
|
+
var O = {};
|
|
1538
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$5);
|
|
1539
|
+
$$d({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
|
|
1540
|
+
}
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
// https://tc39.es/ecma262/#sec-nativeerror
|
|
1544
|
+
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
1545
|
+
return function Error(message) { return apply$1(init, this, arguments); };
|
|
1546
|
+
});
|
|
1547
|
+
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
1548
|
+
return function EvalError(message) { return apply$1(init, this, arguments); };
|
|
1549
|
+
});
|
|
1550
|
+
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
1551
|
+
return function RangeError(message) { return apply$1(init, this, arguments); };
|
|
1552
|
+
});
|
|
1553
|
+
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
1554
|
+
return function ReferenceError(message) { return apply$1(init, this, arguments); };
|
|
1555
|
+
});
|
|
1556
|
+
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
1557
|
+
return function SyntaxError(message) { return apply$1(init, this, arguments); };
|
|
1558
|
+
});
|
|
1559
|
+
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
1560
|
+
return function TypeError(message) { return apply$1(init, this, arguments); };
|
|
1561
|
+
});
|
|
1562
|
+
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
1563
|
+
return function URIError(message) { return apply$1(init, this, arguments); };
|
|
1564
|
+
});
|
|
1565
|
+
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
1566
|
+
return function CompileError(message) { return apply$1(init, this, arguments); };
|
|
1567
|
+
});
|
|
1568
|
+
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
1569
|
+
return function LinkError(message) { return apply$1(init, this, arguments); };
|
|
1570
|
+
});
|
|
1571
|
+
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
1572
|
+
return function RuntimeError(message) { return apply$1(init, this, arguments); };
|
|
1573
|
+
});
|
|
1574
|
+
|
|
1248
1575
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1249
1576
|
|
|
1250
1577
|
var $TypeError$5 = TypeError;
|
|
@@ -1254,7 +1581,7 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
1254
1581
|
throw new $TypeError$5('Incorrect invocation');
|
|
1255
1582
|
};
|
|
1256
1583
|
|
|
1257
|
-
var fails$5 = fails$
|
|
1584
|
+
var fails$5 = fails$f;
|
|
1258
1585
|
|
|
1259
1586
|
var correctPrototypeGetter = !fails$5(function () {
|
|
1260
1587
|
function F() { /* empty */ }
|
|
@@ -1263,43 +1590,43 @@ var correctPrototypeGetter = !fails$5(function () {
|
|
|
1263
1590
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1264
1591
|
});
|
|
1265
1592
|
|
|
1266
|
-
var hasOwn$
|
|
1267
|
-
var isCallable$3 = isCallable$
|
|
1593
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1594
|
+
var isCallable$3 = isCallable$g;
|
|
1268
1595
|
var toObject = toObject$2;
|
|
1269
1596
|
var sharedKey$1 = sharedKey$3;
|
|
1270
1597
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1271
1598
|
|
|
1272
1599
|
var IE_PROTO$1 = sharedKey$1('IE_PROTO');
|
|
1273
|
-
var $Object
|
|
1274
|
-
var ObjectPrototype = $Object
|
|
1600
|
+
var $Object = Object;
|
|
1601
|
+
var ObjectPrototype = $Object.prototype;
|
|
1275
1602
|
|
|
1276
1603
|
// `Object.getPrototypeOf` method
|
|
1277
1604
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1278
1605
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1279
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object
|
|
1606
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1280
1607
|
var object = toObject(O);
|
|
1281
|
-
if (hasOwn$
|
|
1608
|
+
if (hasOwn$2(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1282
1609
|
var constructor = object.constructor;
|
|
1283
1610
|
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1284
1611
|
return constructor.prototype;
|
|
1285
|
-
} return object instanceof $Object
|
|
1612
|
+
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1286
1613
|
};
|
|
1287
1614
|
|
|
1288
1615
|
var makeBuiltIn = makeBuiltInExports;
|
|
1289
|
-
var defineProperty = objectDefineProperty;
|
|
1616
|
+
var defineProperty$3 = objectDefineProperty;
|
|
1290
1617
|
|
|
1291
1618
|
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1292
1619
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1293
1620
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1294
|
-
return defineProperty.f(target, name, descriptor);
|
|
1621
|
+
return defineProperty$3.f(target, name, descriptor);
|
|
1295
1622
|
};
|
|
1296
1623
|
|
|
1297
|
-
var DESCRIPTORS$
|
|
1624
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1298
1625
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1299
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1626
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1300
1627
|
|
|
1301
|
-
var createProperty$
|
|
1302
|
-
if (DESCRIPTORS$
|
|
1628
|
+
var createProperty$2 = function (object, key, value) {
|
|
1629
|
+
if (DESCRIPTORS$3) definePropertyModule$1.f(object, key, createPropertyDescriptor$1(0, value));
|
|
1303
1630
|
else object[key] = value;
|
|
1304
1631
|
};
|
|
1305
1632
|
|
|
@@ -1315,19 +1642,19 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1315
1642
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1316
1643
|
};
|
|
1317
1644
|
|
|
1318
|
-
var DESCRIPTORS$
|
|
1645
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1319
1646
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1320
1647
|
var definePropertyModule = objectDefineProperty;
|
|
1321
1648
|
var anObject$a = anObject$d;
|
|
1322
|
-
var toIndexedObject = toIndexedObject$
|
|
1649
|
+
var toIndexedObject$1 = toIndexedObject$5;
|
|
1323
1650
|
var objectKeys = objectKeys$1;
|
|
1324
1651
|
|
|
1325
1652
|
// `Object.defineProperties` method
|
|
1326
1653
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1327
1654
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1328
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1655
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1329
1656
|
anObject$a(O);
|
|
1330
|
-
var props = toIndexedObject(Properties);
|
|
1657
|
+
var props = toIndexedObject$1(Properties);
|
|
1331
1658
|
var keys = objectKeys(Properties);
|
|
1332
1659
|
var length = keys.length;
|
|
1333
1660
|
var index = 0;
|
|
@@ -1336,7 +1663,7 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1336
1663
|
return O;
|
|
1337
1664
|
};
|
|
1338
1665
|
|
|
1339
|
-
var getBuiltIn$1 = getBuiltIn$
|
|
1666
|
+
var getBuiltIn$1 = getBuiltIn$5;
|
|
1340
1667
|
|
|
1341
1668
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1342
1669
|
|
|
@@ -1346,7 +1673,7 @@ var definePropertiesModule = objectDefineProperties;
|
|
|
1346
1673
|
var enumBugKeys = enumBugKeys$3;
|
|
1347
1674
|
var hiddenKeys = hiddenKeys$4;
|
|
1348
1675
|
var html = html$1;
|
|
1349
|
-
var documentCreateElement = documentCreateElement$
|
|
1676
|
+
var documentCreateElement$1 = documentCreateElement$2;
|
|
1350
1677
|
var sharedKey = sharedKey$3;
|
|
1351
1678
|
|
|
1352
1679
|
var GT = '>';
|
|
@@ -1374,7 +1701,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
1374
1701
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1375
1702
|
var NullProtoObjectViaIFrame = function () {
|
|
1376
1703
|
// Thrash, waste and sodomy: IE GC bug
|
|
1377
|
-
var iframe = documentCreateElement('iframe');
|
|
1704
|
+
var iframe = documentCreateElement$1('iframe');
|
|
1378
1705
|
var JS = 'java' + SCRIPT + ':';
|
|
1379
1706
|
var iframeDocument;
|
|
1380
1707
|
iframe.style.display = 'none';
|
|
@@ -1425,204 +1752,168 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1425
1752
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1426
1753
|
};
|
|
1427
1754
|
|
|
1428
|
-
var fails$4 = fails$
|
|
1429
|
-
var isCallable$2 = isCallable$
|
|
1430
|
-
var isObject = isObject$
|
|
1431
|
-
var getPrototypeOf$
|
|
1432
|
-
var defineBuiltIn$
|
|
1433
|
-
var wellKnownSymbol$
|
|
1755
|
+
var fails$4 = fails$f;
|
|
1756
|
+
var isCallable$2 = isCallable$g;
|
|
1757
|
+
var isObject = isObject$a;
|
|
1758
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1759
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1760
|
+
var wellKnownSymbol$8 = wellKnownSymbol$c;
|
|
1434
1761
|
|
|
1435
|
-
var ITERATOR$
|
|
1762
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
1763
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1436
1764
|
|
|
1437
1765
|
// `%IteratorPrototype%` object
|
|
1438
1766
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1439
|
-
var IteratorPrototype$
|
|
1767
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1440
1768
|
|
|
1441
1769
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1442
1770
|
if ([].keys) {
|
|
1443
1771
|
arrayIterator = [].keys();
|
|
1444
1772
|
// Safari 8 has buggy iterators w/o `next`
|
|
1445
|
-
if (!('next' in arrayIterator)) ;
|
|
1773
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1446
1774
|
else {
|
|
1447
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1448
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1775
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1776
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1449
1777
|
}
|
|
1450
1778
|
}
|
|
1451
1779
|
|
|
1452
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$
|
|
1780
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$4) || fails$4(function () {
|
|
1453
1781
|
var test = {};
|
|
1454
1782
|
// FF44- legacy iterators case
|
|
1455
|
-
return IteratorPrototype$
|
|
1783
|
+
return IteratorPrototype$4[ITERATOR$5].call(test) !== test;
|
|
1456
1784
|
});
|
|
1457
1785
|
|
|
1458
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1786
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1459
1787
|
|
|
1460
1788
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1461
1789
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1462
|
-
if (!isCallable$2(IteratorPrototype$
|
|
1463
|
-
defineBuiltIn$
|
|
1790
|
+
if (!isCallable$2(IteratorPrototype$4[ITERATOR$5])) {
|
|
1791
|
+
defineBuiltIn$2(IteratorPrototype$4, ITERATOR$5, function () {
|
|
1464
1792
|
return this;
|
|
1465
1793
|
});
|
|
1466
1794
|
}
|
|
1467
1795
|
|
|
1468
1796
|
var iteratorsCore = {
|
|
1469
|
-
IteratorPrototype: IteratorPrototype$
|
|
1797
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1798
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1799
|
+
};
|
|
1470
1800
|
|
|
1471
|
-
var $$
|
|
1472
|
-
var globalThis$
|
|
1801
|
+
var $$c = _export;
|
|
1802
|
+
var globalThis$3 = globalThis_1;
|
|
1473
1803
|
var anInstance = anInstance$1;
|
|
1474
1804
|
var anObject$8 = anObject$d;
|
|
1475
|
-
var isCallable$1 = isCallable$
|
|
1476
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1805
|
+
var isCallable$1 = isCallable$g;
|
|
1806
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1477
1807
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1478
|
-
var createProperty = createProperty$
|
|
1479
|
-
var fails$3 = fails$
|
|
1480
|
-
var hasOwn = hasOwnProperty_1;
|
|
1481
|
-
var wellKnownSymbol$
|
|
1482
|
-
var IteratorPrototype$
|
|
1483
|
-
var DESCRIPTORS = descriptors;
|
|
1808
|
+
var createProperty$1 = createProperty$2;
|
|
1809
|
+
var fails$3 = fails$f;
|
|
1810
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1811
|
+
var wellKnownSymbol$7 = wellKnownSymbol$c;
|
|
1812
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1813
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1484
1814
|
|
|
1485
1815
|
var CONSTRUCTOR = 'constructor';
|
|
1486
|
-
var ITERATOR$
|
|
1487
|
-
var TO_STRING_TAG$
|
|
1816
|
+
var ITERATOR$4 = 'Iterator';
|
|
1817
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$7('toStringTag');
|
|
1488
1818
|
|
|
1489
1819
|
var $TypeError$4 = TypeError;
|
|
1490
|
-
var NativeIterator = globalThis$
|
|
1820
|
+
var NativeIterator = globalThis$3[ITERATOR$4];
|
|
1491
1821
|
|
|
1492
1822
|
// FF56- have non-standard global helper `Iterator`
|
|
1493
1823
|
var FORCED$4 = !isCallable$1(NativeIterator)
|
|
1494
|
-
|| NativeIterator.prototype !== IteratorPrototype$
|
|
1824
|
+
|| NativeIterator.prototype !== IteratorPrototype$3
|
|
1495
1825
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1496
1826
|
|| !fails$3(function () { NativeIterator({}); });
|
|
1497
1827
|
|
|
1498
1828
|
var IteratorConstructor = function Iterator() {
|
|
1499
|
-
anInstance(this, IteratorPrototype$
|
|
1500
|
-
if (getPrototypeOf(this) === IteratorPrototype$
|
|
1829
|
+
anInstance(this, IteratorPrototype$3);
|
|
1830
|
+
if (getPrototypeOf$1(this) === IteratorPrototype$3) throw new $TypeError$4('Abstract class Iterator not directly constructable');
|
|
1501
1831
|
};
|
|
1502
1832
|
|
|
1503
1833
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1504
|
-
if (DESCRIPTORS) {
|
|
1505
|
-
defineBuiltInAccessor(IteratorPrototype$
|
|
1834
|
+
if (DESCRIPTORS$1) {
|
|
1835
|
+
defineBuiltInAccessor(IteratorPrototype$3, key, {
|
|
1506
1836
|
configurable: true,
|
|
1507
1837
|
get: function () {
|
|
1508
1838
|
return value;
|
|
1509
1839
|
},
|
|
1510
1840
|
set: function (replacement) {
|
|
1511
1841
|
anObject$8(this);
|
|
1512
|
-
if (this === IteratorPrototype$
|
|
1513
|
-
if (hasOwn(this, key)) this[key] = replacement;
|
|
1514
|
-
else createProperty(this, key, replacement);
|
|
1842
|
+
if (this === IteratorPrototype$3) throw new $TypeError$4("You can't redefine this property");
|
|
1843
|
+
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
1844
|
+
else createProperty$1(this, key, replacement);
|
|
1515
1845
|
}
|
|
1516
1846
|
});
|
|
1517
|
-
} else IteratorPrototype$
|
|
1847
|
+
} else IteratorPrototype$3[key] = value;
|
|
1518
1848
|
};
|
|
1519
1849
|
|
|
1520
|
-
if (!hasOwn(IteratorPrototype$
|
|
1850
|
+
if (!hasOwn$1(IteratorPrototype$3, TO_STRING_TAG$2)) defineIteratorPrototypeAccessor(TO_STRING_TAG$2, ITERATOR$4);
|
|
1521
1851
|
|
|
1522
|
-
if (FORCED$4 || !hasOwn(IteratorPrototype$
|
|
1852
|
+
if (FORCED$4 || !hasOwn$1(IteratorPrototype$3, CONSTRUCTOR) || IteratorPrototype$3[CONSTRUCTOR] === Object) {
|
|
1523
1853
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1524
1854
|
}
|
|
1525
1855
|
|
|
1526
|
-
IteratorConstructor.prototype = IteratorPrototype$
|
|
1856
|
+
IteratorConstructor.prototype = IteratorPrototype$3;
|
|
1527
1857
|
|
|
1528
1858
|
// `Iterator` constructor
|
|
1529
1859
|
// https://tc39.es/ecma262/#sec-iterator
|
|
1530
|
-
$$
|
|
1860
|
+
$$c({ global: true, constructor: true, forced: FORCED$4 }, {
|
|
1531
1861
|
Iterator: IteratorConstructor
|
|
1532
1862
|
});
|
|
1533
1863
|
|
|
1534
|
-
var classofRaw
|
|
1535
|
-
var uncurryThis$
|
|
1864
|
+
var classofRaw = classofRaw$2;
|
|
1865
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1536
1866
|
|
|
1537
1867
|
var functionUncurryThisClause = function (fn) {
|
|
1538
1868
|
// Nashorn bug:
|
|
1539
1869
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1540
1870
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1541
|
-
if (classofRaw
|
|
1871
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);
|
|
1542
1872
|
};
|
|
1543
1873
|
|
|
1544
|
-
var uncurryThis$
|
|
1545
|
-
var aCallable$
|
|
1546
|
-
var NATIVE_BIND
|
|
1874
|
+
var uncurryThis$2 = functionUncurryThisClause;
|
|
1875
|
+
var aCallable$5 = aCallable$8;
|
|
1876
|
+
var NATIVE_BIND = functionBindNative;
|
|
1547
1877
|
|
|
1548
|
-
var bind$1 = uncurryThis$
|
|
1878
|
+
var bind$1 = uncurryThis$2(uncurryThis$2.bind);
|
|
1549
1879
|
|
|
1550
1880
|
// optional / simple context binding
|
|
1551
1881
|
var functionBindContext = function (fn, that) {
|
|
1552
|
-
aCallable$
|
|
1553
|
-
return that === undefined ? fn : NATIVE_BIND
|
|
1882
|
+
aCallable$5(fn);
|
|
1883
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1554
1884
|
return fn.apply(that, arguments);
|
|
1555
1885
|
};
|
|
1556
1886
|
};
|
|
1557
1887
|
|
|
1558
1888
|
var iterators = {};
|
|
1559
1889
|
|
|
1560
|
-
var wellKnownSymbol$
|
|
1561
|
-
var Iterators$
|
|
1890
|
+
var wellKnownSymbol$6 = wellKnownSymbol$c;
|
|
1891
|
+
var Iterators$4 = iterators;
|
|
1562
1892
|
|
|
1563
|
-
var ITERATOR$
|
|
1564
|
-
var ArrayPrototype = Array.prototype;
|
|
1893
|
+
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
1894
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
1565
1895
|
|
|
1566
1896
|
// check on default Array iterator
|
|
1567
1897
|
var isArrayIteratorMethod$1 = function (it) {
|
|
1568
|
-
return it !== undefined && (Iterators$
|
|
1898
|
+
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$3] === it);
|
|
1569
1899
|
};
|
|
1570
1900
|
|
|
1571
|
-
var
|
|
1572
|
-
|
|
1573
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$3('toStringTag');
|
|
1574
|
-
var test = {};
|
|
1575
|
-
|
|
1576
|
-
test[TO_STRING_TAG$2] = 'z';
|
|
1577
|
-
|
|
1578
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
1579
|
-
|
|
1580
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1581
|
-
var isCallable = isCallable$e;
|
|
1582
|
-
var classofRaw = classofRaw$2;
|
|
1583
|
-
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1584
|
-
|
|
1585
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
1586
|
-
var $Object = Object;
|
|
1587
|
-
|
|
1588
|
-
// ES3 wrong here
|
|
1589
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1590
|
-
|
|
1591
|
-
// fallback for IE11 Script Access Denied error
|
|
1592
|
-
var tryGet = function (it, key) {
|
|
1593
|
-
try {
|
|
1594
|
-
return it[key];
|
|
1595
|
-
} catch (error) { /* empty */ }
|
|
1596
|
-
};
|
|
1597
|
-
|
|
1598
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
1599
|
-
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1600
|
-
var O, tag, result;
|
|
1601
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1602
|
-
// @@toStringTag case
|
|
1603
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
1604
|
-
// builtinTag case
|
|
1605
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1606
|
-
// ES3 arguments fallback
|
|
1607
|
-
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1608
|
-
};
|
|
1609
|
-
|
|
1610
|
-
var classof = classof$1;
|
|
1901
|
+
var classof = classof$2;
|
|
1611
1902
|
var getMethod$2 = getMethod$4;
|
|
1612
1903
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1613
|
-
var Iterators = iterators;
|
|
1614
|
-
var wellKnownSymbol$
|
|
1904
|
+
var Iterators$3 = iterators;
|
|
1905
|
+
var wellKnownSymbol$5 = wellKnownSymbol$c;
|
|
1615
1906
|
|
|
1616
|
-
var ITERATOR = wellKnownSymbol$
|
|
1907
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
|
1617
1908
|
|
|
1618
1909
|
var getIteratorMethod$2 = function (it) {
|
|
1619
|
-
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR)
|
|
1910
|
+
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR$2)
|
|
1620
1911
|
|| getMethod$2(it, '@@iterator')
|
|
1621
|
-
|| Iterators[classof(it)];
|
|
1912
|
+
|| Iterators$3[classof(it)];
|
|
1622
1913
|
};
|
|
1623
1914
|
|
|
1624
1915
|
var call$8 = functionCall;
|
|
1625
|
-
var aCallable$
|
|
1916
|
+
var aCallable$4 = aCallable$8;
|
|
1626
1917
|
var anObject$7 = anObject$d;
|
|
1627
1918
|
var tryToString$1 = tryToString$3;
|
|
1628
1919
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
@@ -1631,7 +1922,7 @@ var $TypeError$3 = TypeError;
|
|
|
1631
1922
|
|
|
1632
1923
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1633
1924
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1634
|
-
if (aCallable$
|
|
1925
|
+
if (aCallable$4(iteratorMethod)) return anObject$7(call$8(iteratorMethod, argument));
|
|
1635
1926
|
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
1636
1927
|
};
|
|
1637
1928
|
|
|
@@ -1679,7 +1970,7 @@ var Result = function (stopped, result) {
|
|
|
1679
1970
|
|
|
1680
1971
|
var ResultPrototype = Result.prototype;
|
|
1681
1972
|
|
|
1682
|
-
var iterate$
|
|
1973
|
+
var iterate$5 = function (iterable, unboundFunction, options) {
|
|
1683
1974
|
var that = options && options.that;
|
|
1684
1975
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
1685
1976
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -1738,11 +2029,11 @@ var getIteratorDirect$4 = function (obj) {
|
|
|
1738
2029
|
};
|
|
1739
2030
|
};
|
|
1740
2031
|
|
|
1741
|
-
var globalThis$
|
|
2032
|
+
var globalThis$2 = globalThis_1;
|
|
1742
2033
|
|
|
1743
2034
|
// https://github.com/tc39/ecma262/pull/3467
|
|
1744
2035
|
var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, ExpectedError) {
|
|
1745
|
-
var Iterator = globalThis$
|
|
2036
|
+
var Iterator = globalThis$2.Iterator;
|
|
1746
2037
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
1747
2038
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
1748
2039
|
|
|
@@ -1761,10 +2052,10 @@ var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, Expected
|
|
|
1761
2052
|
if (!CLOSED) return method;
|
|
1762
2053
|
};
|
|
1763
2054
|
|
|
1764
|
-
var $$
|
|
2055
|
+
var $$b = _export;
|
|
1765
2056
|
var call$5 = functionCall;
|
|
1766
|
-
var iterate$
|
|
1767
|
-
var aCallable$
|
|
2057
|
+
var iterate$4 = iterate$5;
|
|
2058
|
+
var aCallable$3 = aCallable$8;
|
|
1768
2059
|
var anObject$4 = anObject$d;
|
|
1769
2060
|
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
1770
2061
|
var iteratorClose$7 = iteratorClose$9;
|
|
@@ -1774,11 +2065,11 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
|
|
|
1774
2065
|
|
|
1775
2066
|
// `Iterator.prototype.forEach` method
|
|
1776
2067
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
1777
|
-
$$
|
|
2068
|
+
$$b({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
1778
2069
|
forEach: function forEach(fn) {
|
|
1779
2070
|
anObject$4(this);
|
|
1780
2071
|
try {
|
|
1781
|
-
aCallable$
|
|
2072
|
+
aCallable$3(fn);
|
|
1782
2073
|
} catch (error) {
|
|
1783
2074
|
iteratorClose$7(this, 'throw', error);
|
|
1784
2075
|
}
|
|
@@ -1787,22 +2078,22 @@ $$9({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
|
|
|
1787
2078
|
|
|
1788
2079
|
var record = getIteratorDirect$3(this);
|
|
1789
2080
|
var counter = 0;
|
|
1790
|
-
iterate$
|
|
2081
|
+
iterate$4(record, function (value) {
|
|
1791
2082
|
fn(value, counter++);
|
|
1792
2083
|
}, { IS_RECORD: true });
|
|
1793
2084
|
}
|
|
1794
2085
|
});
|
|
1795
2086
|
|
|
1796
|
-
var defineBuiltIn = defineBuiltIn$
|
|
2087
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1797
2088
|
|
|
1798
2089
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
1799
|
-
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
2090
|
+
for (var key in src) defineBuiltIn$1(target, key, src[key], options);
|
|
1800
2091
|
return target;
|
|
1801
2092
|
};
|
|
1802
2093
|
|
|
1803
2094
|
// `CreateIterResultObject` abstract operation
|
|
1804
2095
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1805
|
-
var createIterResultObject$
|
|
2096
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1806
2097
|
return { value: value, done: done };
|
|
1807
2098
|
};
|
|
1808
2099
|
|
|
@@ -1823,38 +2114,38 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
1823
2114
|
};
|
|
1824
2115
|
|
|
1825
2116
|
var call$4 = functionCall;
|
|
1826
|
-
var create = objectCreate;
|
|
1827
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
2117
|
+
var create$2 = objectCreate;
|
|
2118
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
1828
2119
|
var defineBuiltIns = defineBuiltIns$1;
|
|
1829
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1830
|
-
var InternalStateModule = internalState;
|
|
2120
|
+
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
2121
|
+
var InternalStateModule$1 = internalState;
|
|
1831
2122
|
var getMethod = getMethod$4;
|
|
1832
|
-
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
1833
|
-
var createIterResultObject = createIterResultObject$
|
|
2123
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
2124
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1834
2125
|
var iteratorClose$5 = iteratorClose$9;
|
|
1835
2126
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
1836
2127
|
|
|
1837
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
2128
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
1838
2129
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
1839
2130
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
1840
2131
|
var NORMAL = 'normal';
|
|
1841
2132
|
var THROW = 'throw';
|
|
1842
|
-
var setInternalState = InternalStateModule.set;
|
|
2133
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1843
2134
|
|
|
1844
2135
|
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
1845
|
-
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
2136
|
+
var getInternalState = InternalStateModule$1.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
1846
2137
|
|
|
1847
|
-
return defineBuiltIns(create(IteratorPrototype), {
|
|
2138
|
+
return defineBuiltIns(create$2(IteratorPrototype$2), {
|
|
1848
2139
|
next: function next() {
|
|
1849
2140
|
var state = getInternalState(this);
|
|
1850
2141
|
// for simplification:
|
|
1851
2142
|
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
|
|
1852
2143
|
// for `%IteratorHelperPrototype%.next` - just a value
|
|
1853
2144
|
if (IS_ITERATOR) return state.nextHandler();
|
|
1854
|
-
if (state.done) return createIterResultObject(undefined, true);
|
|
2145
|
+
if (state.done) return createIterResultObject$1(undefined, true);
|
|
1855
2146
|
try {
|
|
1856
2147
|
var result = state.nextHandler();
|
|
1857
|
-
return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
|
|
2148
|
+
return state.returnHandlerResult ? result : createIterResultObject$1(result, state.done);
|
|
1858
2149
|
} catch (error) {
|
|
1859
2150
|
state.done = true;
|
|
1860
2151
|
throw error;
|
|
@@ -1866,7 +2157,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1866
2157
|
state.done = true;
|
|
1867
2158
|
if (IS_ITERATOR) {
|
|
1868
2159
|
var returnMethod = getMethod(iterator, 'return');
|
|
1869
|
-
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2160
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject$1(undefined, true);
|
|
1870
2161
|
}
|
|
1871
2162
|
if (state.inner) try {
|
|
1872
2163
|
iteratorClose$5(state.inner.iterator, NORMAL);
|
|
@@ -1879,7 +2170,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1879
2170
|
return iteratorClose$5(iterator, THROW, error);
|
|
1880
2171
|
}
|
|
1881
2172
|
if (iterator) iteratorClose$5(iterator, NORMAL);
|
|
1882
|
-
return createIterResultObject(undefined, true);
|
|
2173
|
+
return createIterResultObject$1(undefined, true);
|
|
1883
2174
|
}
|
|
1884
2175
|
});
|
|
1885
2176
|
};
|
|
@@ -1887,7 +2178,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1887
2178
|
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
1888
2179
|
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
1889
2180
|
|
|
1890
|
-
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
2181
|
+
createNonEnumerableProperty$2(IteratorHelperPrototype, TO_STRING_TAG$1, 'Iterator Helper');
|
|
1891
2182
|
|
|
1892
2183
|
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
|
|
1893
2184
|
var IteratorProxy = function Iterator(record, state) {
|
|
@@ -1900,7 +2191,7 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RES
|
|
|
1900
2191
|
state.nextHandler = nextHandler;
|
|
1901
2192
|
state.counter = 0;
|
|
1902
2193
|
state.done = false;
|
|
1903
|
-
setInternalState(this, state);
|
|
2194
|
+
setInternalState$1(this, state);
|
|
1904
2195
|
};
|
|
1905
2196
|
|
|
1906
2197
|
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
@@ -1932,9 +2223,9 @@ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
|
|
|
1932
2223
|
}
|
|
1933
2224
|
};
|
|
1934
2225
|
|
|
1935
|
-
var $$
|
|
2226
|
+
var $$a = _export;
|
|
1936
2227
|
var call$3 = functionCall;
|
|
1937
|
-
var aCallable$
|
|
2228
|
+
var aCallable$2 = aCallable$8;
|
|
1938
2229
|
var anObject$2 = anObject$d;
|
|
1939
2230
|
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
1940
2231
|
var createIteratorProxy = iteratorCreateProxy;
|
|
@@ -1958,11 +2249,11 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
1958
2249
|
|
|
1959
2250
|
// `Iterator.prototype.map` method
|
|
1960
2251
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
1961
|
-
$$
|
|
2252
|
+
$$a({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
1962
2253
|
map: function map(mapper) {
|
|
1963
2254
|
anObject$2(this);
|
|
1964
2255
|
try {
|
|
1965
|
-
aCallable$
|
|
2256
|
+
aCallable$2(mapper);
|
|
1966
2257
|
} catch (error) {
|
|
1967
2258
|
iteratorClose$3(this, 'throw', error);
|
|
1968
2259
|
}
|
|
@@ -1975,26 +2266,15 @@ $$8({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
|
1975
2266
|
}
|
|
1976
2267
|
});
|
|
1977
2268
|
|
|
1978
|
-
var
|
|
1979
|
-
|
|
1980
|
-
var
|
|
1981
|
-
var apply$1 = FunctionPrototype.apply;
|
|
1982
|
-
var call$2 = FunctionPrototype.call;
|
|
1983
|
-
|
|
1984
|
-
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
1985
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$1) : function () {
|
|
1986
|
-
return call$2.apply(apply$1, arguments);
|
|
1987
|
-
});
|
|
1988
|
-
|
|
1989
|
-
var $$7 = _export;
|
|
1990
|
-
var iterate$2 = iterate$4;
|
|
1991
|
-
var aCallable$2 = aCallable$8;
|
|
2269
|
+
var $$9 = _export;
|
|
2270
|
+
var iterate$3 = iterate$5;
|
|
2271
|
+
var aCallable$1 = aCallable$8;
|
|
1992
2272
|
var anObject$1 = anObject$d;
|
|
1993
2273
|
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
1994
2274
|
var iteratorClose$2 = iteratorClose$9;
|
|
1995
2275
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3;
|
|
1996
2276
|
var apply = functionApply;
|
|
1997
|
-
var fails$2 = fails$
|
|
2277
|
+
var fails$2 = fails$f;
|
|
1998
2278
|
|
|
1999
2279
|
var $TypeError$1 = TypeError;
|
|
2000
2280
|
|
|
@@ -2008,11 +2288,11 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
2008
2288
|
|
|
2009
2289
|
// `Iterator.prototype.reduce` method
|
|
2010
2290
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
2011
|
-
$$
|
|
2291
|
+
$$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
2012
2292
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
2013
2293
|
anObject$1(this);
|
|
2014
2294
|
try {
|
|
2015
|
-
aCallable$
|
|
2295
|
+
aCallable$1(reducer);
|
|
2016
2296
|
} catch (error) {
|
|
2017
2297
|
iteratorClose$2(this, 'throw', error);
|
|
2018
2298
|
}
|
|
@@ -2024,7 +2304,7 @@ $$7({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2024
2304
|
}
|
|
2025
2305
|
var record = getIteratorDirect$1(this);
|
|
2026
2306
|
var counter = 0;
|
|
2027
|
-
iterate$
|
|
2307
|
+
iterate$3(record, function (value) {
|
|
2028
2308
|
if (noInitial) {
|
|
2029
2309
|
noInitial = false;
|
|
2030
2310
|
accumulator = value;
|
|
@@ -2038,7 +2318,23 @@ $$7({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2038
2318
|
}
|
|
2039
2319
|
});
|
|
2040
2320
|
|
|
2041
|
-
var
|
|
2321
|
+
var $$8 = _export;
|
|
2322
|
+
var iterate$2 = iterate$5;
|
|
2323
|
+
var createProperty = createProperty$2;
|
|
2324
|
+
|
|
2325
|
+
// `Object.fromEntries` method
|
|
2326
|
+
// https://tc39.es/ecma262/#sec-object.fromentries
|
|
2327
|
+
$$8({ target: 'Object', stat: true }, {
|
|
2328
|
+
fromEntries: function fromEntries(iterable) {
|
|
2329
|
+
var obj = {};
|
|
2330
|
+
iterate$2(iterable, function (k, v) {
|
|
2331
|
+
createProperty(obj, k, v);
|
|
2332
|
+
}, { AS_ENTRIES: true });
|
|
2333
|
+
return obj;
|
|
2334
|
+
}
|
|
2335
|
+
});
|
|
2336
|
+
|
|
2337
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
2042
2338
|
|
|
2043
2339
|
// eslint-disable-next-line es/no-set -- safe
|
|
2044
2340
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2046,9 +2342,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2046
2342
|
var setHelpers = {
|
|
2047
2343
|
// eslint-disable-next-line es/no-set -- safe
|
|
2048
2344
|
Set: Set,
|
|
2049
|
-
add: uncurryThis$
|
|
2050
|
-
has: uncurryThis$
|
|
2051
|
-
remove: uncurryThis$
|
|
2345
|
+
add: uncurryThis$1(SetPrototype$1.add),
|
|
2346
|
+
has: uncurryThis$1(SetPrototype$1.has),
|
|
2347
|
+
remove: uncurryThis$1(SetPrototype$1['delete']),
|
|
2052
2348
|
proto: SetPrototype$1
|
|
2053
2349
|
};
|
|
2054
2350
|
|
|
@@ -2060,26 +2356,26 @@ var aSet$7 = function (it) {
|
|
|
2060
2356
|
return it;
|
|
2061
2357
|
};
|
|
2062
2358
|
|
|
2063
|
-
var call$
|
|
2359
|
+
var call$2 = functionCall;
|
|
2064
2360
|
|
|
2065
2361
|
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
2066
2362
|
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
2067
2363
|
var next = record.next;
|
|
2068
2364
|
var step, result;
|
|
2069
|
-
while (!(step = call$
|
|
2365
|
+
while (!(step = call$2(next, iterator)).done) {
|
|
2070
2366
|
result = fn(step.value);
|
|
2071
2367
|
if (result !== undefined) return result;
|
|
2072
2368
|
}
|
|
2073
2369
|
};
|
|
2074
2370
|
|
|
2075
|
-
var uncurryThis
|
|
2371
|
+
var uncurryThis = functionUncurryThis;
|
|
2076
2372
|
var iterateSimple$6 = iterateSimple$7;
|
|
2077
2373
|
var SetHelpers$5 = setHelpers;
|
|
2078
2374
|
|
|
2079
2375
|
var Set$3 = SetHelpers$5.Set;
|
|
2080
2376
|
var SetPrototype = SetHelpers$5.proto;
|
|
2081
|
-
var forEach = uncurryThis
|
|
2082
|
-
var keys = uncurryThis
|
|
2377
|
+
var forEach = uncurryThis(SetPrototype.forEach);
|
|
2378
|
+
var keys = uncurryThis(SetPrototype.keys);
|
|
2083
2379
|
var next = keys(new Set$3()).next;
|
|
2084
2380
|
|
|
2085
2381
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2100,16 +2396,6 @@ var setClone = function (set) {
|
|
|
2100
2396
|
return result;
|
|
2101
2397
|
};
|
|
2102
2398
|
|
|
2103
|
-
var uncurryThis = functionUncurryThis;
|
|
2104
|
-
var aCallable$1 = aCallable$8;
|
|
2105
|
-
|
|
2106
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2107
|
-
try {
|
|
2108
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2109
|
-
return uncurryThis(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2110
|
-
} catch (error) { /* empty */ }
|
|
2111
|
-
};
|
|
2112
|
-
|
|
2113
2399
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2114
2400
|
var SetHelpers$3 = setHelpers;
|
|
2115
2401
|
|
|
@@ -2119,7 +2405,7 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
2119
2405
|
|
|
2120
2406
|
var aCallable = aCallable$8;
|
|
2121
2407
|
var anObject = anObject$d;
|
|
2122
|
-
var call = functionCall;
|
|
2408
|
+
var call$1 = functionCall;
|
|
2123
2409
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2124
2410
|
var getIteratorDirect = getIteratorDirect$4;
|
|
2125
2411
|
|
|
@@ -2137,10 +2423,10 @@ var SetRecord = function (set, intSize) {
|
|
|
2137
2423
|
|
|
2138
2424
|
SetRecord.prototype = {
|
|
2139
2425
|
getIterator: function () {
|
|
2140
|
-
return getIteratorDirect(anObject(call(this.keys, this.set)));
|
|
2426
|
+
return getIteratorDirect(anObject(call$1(this.keys, this.set)));
|
|
2141
2427
|
},
|
|
2142
2428
|
includes: function (it) {
|
|
2143
|
-
return call(this.has, this.set, it);
|
|
2429
|
+
return call$1(this.has, this.set, it);
|
|
2144
2430
|
}
|
|
2145
2431
|
};
|
|
2146
2432
|
|
|
@@ -2183,7 +2469,7 @@ var setDifference = function difference(other) {
|
|
|
2183
2469
|
return result;
|
|
2184
2470
|
};
|
|
2185
2471
|
|
|
2186
|
-
var getBuiltIn = getBuiltIn$
|
|
2472
|
+
var getBuiltIn = getBuiltIn$5;
|
|
2187
2473
|
|
|
2188
2474
|
var createSetLike = function (size) {
|
|
2189
2475
|
return {
|
|
@@ -2243,9 +2529,9 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
2243
2529
|
}
|
|
2244
2530
|
};
|
|
2245
2531
|
|
|
2246
|
-
var $$
|
|
2532
|
+
var $$7 = _export;
|
|
2247
2533
|
var difference = setDifference;
|
|
2248
|
-
var fails$1 = fails$
|
|
2534
|
+
var fails$1 = fails$f;
|
|
2249
2535
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
2250
2536
|
|
|
2251
2537
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
@@ -2276,7 +2562,7 @@ var FORCED$2 = SET_LIKE_INCORRECT_BEHAVIOR || fails$1(function () {
|
|
|
2276
2562
|
|
|
2277
2563
|
// `Set.prototype.difference` method
|
|
2278
2564
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
2279
|
-
$$
|
|
2565
|
+
$$7({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
|
|
2280
2566
|
difference: difference
|
|
2281
2567
|
});
|
|
2282
2568
|
|
|
@@ -2311,8 +2597,8 @@ var setIntersection = function intersection(other) {
|
|
|
2311
2597
|
return result;
|
|
2312
2598
|
};
|
|
2313
2599
|
|
|
2314
|
-
var $$
|
|
2315
|
-
var fails = fails$
|
|
2600
|
+
var $$6 = _export;
|
|
2601
|
+
var fails = fails$f;
|
|
2316
2602
|
var intersection = setIntersection;
|
|
2317
2603
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
2318
2604
|
|
|
@@ -2325,7 +2611,7 @@ var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
|
2325
2611
|
|
|
2326
2612
|
// `Set.prototype.intersection` method
|
|
2327
2613
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
2328
|
-
$$
|
|
2614
|
+
$$6({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
2329
2615
|
intersection: intersection
|
|
2330
2616
|
});
|
|
2331
2617
|
|
|
@@ -2351,7 +2637,7 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
2351
2637
|
}) !== false;
|
|
2352
2638
|
};
|
|
2353
2639
|
|
|
2354
|
-
var $$
|
|
2640
|
+
var $$5 = _export;
|
|
2355
2641
|
var isDisjointFrom = setIsDisjointFrom;
|
|
2356
2642
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
2357
2643
|
|
|
@@ -2361,7 +2647,7 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
2361
2647
|
|
|
2362
2648
|
// `Set.prototype.isDisjointFrom` method
|
|
2363
2649
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
2364
|
-
$$
|
|
2650
|
+
$$5({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
2365
2651
|
isDisjointFrom: isDisjointFrom
|
|
2366
2652
|
});
|
|
2367
2653
|
|
|
@@ -2381,7 +2667,7 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
2381
2667
|
}, true) !== false;
|
|
2382
2668
|
};
|
|
2383
2669
|
|
|
2384
|
-
var $$
|
|
2670
|
+
var $$4 = _export;
|
|
2385
2671
|
var isSubsetOf = setIsSubsetOf;
|
|
2386
2672
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
2387
2673
|
|
|
@@ -2391,7 +2677,7 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
2391
2677
|
|
|
2392
2678
|
// `Set.prototype.isSubsetOf` method
|
|
2393
2679
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
2394
|
-
$$
|
|
2680
|
+
$$4({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
2395
2681
|
isSubsetOf: isSubsetOf
|
|
2396
2682
|
});
|
|
2397
2683
|
|
|
@@ -2414,7 +2700,7 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
2414
2700
|
}) !== false;
|
|
2415
2701
|
};
|
|
2416
2702
|
|
|
2417
|
-
var $$
|
|
2703
|
+
var $$3 = _export;
|
|
2418
2704
|
var isSupersetOf = setIsSupersetOf;
|
|
2419
2705
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
2420
2706
|
|
|
@@ -2424,7 +2710,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
2424
2710
|
|
|
2425
2711
|
// `Set.prototype.isSupersetOf` method
|
|
2426
2712
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
2427
|
-
$$
|
|
2713
|
+
$$3({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2428
2714
|
isSupersetOf: isSupersetOf
|
|
2429
2715
|
});
|
|
2430
2716
|
|
|
@@ -2481,7 +2767,7 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
2481
2767
|
}
|
|
2482
2768
|
};
|
|
2483
2769
|
|
|
2484
|
-
var $$
|
|
2770
|
+
var $$2 = _export;
|
|
2485
2771
|
var symmetricDifference = setSymmetricDifference;
|
|
2486
2772
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
2487
2773
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
@@ -2490,7 +2776,7 @@ var FORCED$1 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGet
|
|
|
2490
2776
|
|
|
2491
2777
|
// `Set.prototype.symmetricDifference` method
|
|
2492
2778
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
2493
|
-
$$
|
|
2779
|
+
$$2({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
|
|
2494
2780
|
symmetricDifference: symmetricDifference
|
|
2495
2781
|
});
|
|
2496
2782
|
|
|
@@ -2512,7 +2798,7 @@ var setUnion = function union(other) {
|
|
|
2512
2798
|
return result;
|
|
2513
2799
|
};
|
|
2514
2800
|
|
|
2515
|
-
var
|
|
2801
|
+
var $$1 = _export;
|
|
2516
2802
|
var union = setUnion;
|
|
2517
2803
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
2518
2804
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
@@ -2521,10 +2807,302 @@ var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning(
|
|
|
2521
2807
|
|
|
2522
2808
|
// `Set.prototype.union` method
|
|
2523
2809
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
2524
|
-
|
|
2810
|
+
$$1({ target: 'Set', proto: true, real: true, forced: FORCED }, {
|
|
2525
2811
|
union: union
|
|
2526
2812
|
});
|
|
2527
2813
|
|
|
2814
|
+
// iterable DOM collections
|
|
2815
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
2816
|
+
var domIterables = {
|
|
2817
|
+
CSSRuleList: 0,
|
|
2818
|
+
CSSStyleDeclaration: 0,
|
|
2819
|
+
CSSValueList: 0,
|
|
2820
|
+
ClientRectList: 0,
|
|
2821
|
+
DOMRectList: 0,
|
|
2822
|
+
DOMStringList: 0,
|
|
2823
|
+
DOMTokenList: 1,
|
|
2824
|
+
DataTransferItemList: 0,
|
|
2825
|
+
FileList: 0,
|
|
2826
|
+
HTMLAllCollection: 0,
|
|
2827
|
+
HTMLCollection: 0,
|
|
2828
|
+
HTMLFormElement: 0,
|
|
2829
|
+
HTMLSelectElement: 0,
|
|
2830
|
+
MediaList: 0,
|
|
2831
|
+
MimeTypeArray: 0,
|
|
2832
|
+
NamedNodeMap: 0,
|
|
2833
|
+
NodeList: 1,
|
|
2834
|
+
PaintRequestList: 0,
|
|
2835
|
+
Plugin: 0,
|
|
2836
|
+
PluginArray: 0,
|
|
2837
|
+
SVGLengthList: 0,
|
|
2838
|
+
SVGNumberList: 0,
|
|
2839
|
+
SVGPathSegList: 0,
|
|
2840
|
+
SVGPointList: 0,
|
|
2841
|
+
SVGStringList: 0,
|
|
2842
|
+
SVGTransformList: 0,
|
|
2843
|
+
SourceBufferList: 0,
|
|
2844
|
+
StyleSheetList: 0,
|
|
2845
|
+
TextTrackCueList: 0,
|
|
2846
|
+
TextTrackList: 0,
|
|
2847
|
+
TouchList: 0
|
|
2848
|
+
};
|
|
2849
|
+
|
|
2850
|
+
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
2851
|
+
var documentCreateElement = documentCreateElement$2;
|
|
2852
|
+
|
|
2853
|
+
var classList = documentCreateElement('span').classList;
|
|
2854
|
+
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
2855
|
+
|
|
2856
|
+
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
2857
|
+
|
|
2858
|
+
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
2859
|
+
var create$1 = objectCreate;
|
|
2860
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
2861
|
+
|
|
2862
|
+
var UNSCOPABLES = wellKnownSymbol$3('unscopables');
|
|
2863
|
+
var ArrayPrototype = Array.prototype;
|
|
2864
|
+
|
|
2865
|
+
// Array.prototype[@@unscopables]
|
|
2866
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2867
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
2868
|
+
defineProperty$2(ArrayPrototype, UNSCOPABLES, {
|
|
2869
|
+
configurable: true,
|
|
2870
|
+
value: create$1(null)
|
|
2871
|
+
});
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
// add a key to Array.prototype[@@unscopables]
|
|
2875
|
+
var addToUnscopables$1 = function (key) {
|
|
2876
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
2877
|
+
};
|
|
2878
|
+
|
|
2879
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
2880
|
+
var hasOwn = hasOwnProperty_1;
|
|
2881
|
+
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
2882
|
+
|
|
2883
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
2884
|
+
|
|
2885
|
+
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
2886
|
+
if (target && !STATIC) target = target.prototype;
|
|
2887
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
2888
|
+
defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
2889
|
+
}
|
|
2890
|
+
};
|
|
2891
|
+
|
|
2892
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
2893
|
+
var create = objectCreate;
|
|
2894
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
2895
|
+
var setToStringTag$2 = setToStringTag$3;
|
|
2896
|
+
var Iterators$2 = iterators;
|
|
2897
|
+
|
|
2898
|
+
var returnThis$1 = function () { return this; };
|
|
2899
|
+
|
|
2900
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2901
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2902
|
+
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
2903
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
2904
|
+
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
2905
|
+
return IteratorConstructor;
|
|
2906
|
+
};
|
|
2907
|
+
|
|
2908
|
+
var $ = _export;
|
|
2909
|
+
var call = functionCall;
|
|
2910
|
+
var FunctionName = functionName;
|
|
2911
|
+
var isCallable = isCallable$g;
|
|
2912
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2913
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
2914
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
2915
|
+
var setToStringTag$1 = setToStringTag$3;
|
|
2916
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
2917
|
+
var defineBuiltIn = defineBuiltIn$4;
|
|
2918
|
+
var wellKnownSymbol$1 = wellKnownSymbol$c;
|
|
2919
|
+
var Iterators$1 = iterators;
|
|
2920
|
+
var IteratorsCore = iteratorsCore;
|
|
2921
|
+
|
|
2922
|
+
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2923
|
+
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2924
|
+
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2925
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2926
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
2927
|
+
var KEYS = 'keys';
|
|
2928
|
+
var VALUES = 'values';
|
|
2929
|
+
var ENTRIES = 'entries';
|
|
2930
|
+
|
|
2931
|
+
var returnThis = function () { return this; };
|
|
2932
|
+
|
|
2933
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
2934
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
2935
|
+
|
|
2936
|
+
var getIterationMethod = function (KIND) {
|
|
2937
|
+
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
2938
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
2939
|
+
|
|
2940
|
+
switch (KIND) {
|
|
2941
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
2942
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
2943
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
return function () { return new IteratorConstructor(this); };
|
|
2947
|
+
};
|
|
2948
|
+
|
|
2949
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2950
|
+
var INCORRECT_VALUES_NAME = false;
|
|
2951
|
+
var IterablePrototype = Iterable.prototype;
|
|
2952
|
+
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
2953
|
+
|| IterablePrototype['@@iterator']
|
|
2954
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2955
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
2956
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
2957
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
2958
|
+
|
|
2959
|
+
// fix native
|
|
2960
|
+
if (anyNativeIterator) {
|
|
2961
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2962
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2963
|
+
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2964
|
+
if (setPrototypeOf) {
|
|
2965
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
2966
|
+
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
2967
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
// Set @@toStringTag to native iterators
|
|
2971
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
2976
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
2977
|
+
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
2978
|
+
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
2979
|
+
} else {
|
|
2980
|
+
INCORRECT_VALUES_NAME = true;
|
|
2981
|
+
defaultIterator = function values() { return call(nativeIterator, this); };
|
|
2982
|
+
}
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
// export additional methods
|
|
2986
|
+
if (DEFAULT) {
|
|
2987
|
+
methods = {
|
|
2988
|
+
values: getIterationMethod(VALUES),
|
|
2989
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
2990
|
+
entries: getIterationMethod(ENTRIES)
|
|
2991
|
+
};
|
|
2992
|
+
if (FORCED) for (KEY in methods) {
|
|
2993
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2994
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
2995
|
+
}
|
|
2996
|
+
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
// define iterator
|
|
3000
|
+
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
3001
|
+
defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
3002
|
+
}
|
|
3003
|
+
Iterators$1[NAME] = defaultIterator;
|
|
3004
|
+
|
|
3005
|
+
return methods;
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
var toIndexedObject = toIndexedObject$5;
|
|
3009
|
+
var addToUnscopables = addToUnscopables$1;
|
|
3010
|
+
var Iterators = iterators;
|
|
3011
|
+
var InternalStateModule = internalState;
|
|
3012
|
+
var defineProperty = objectDefineProperty.f;
|
|
3013
|
+
var defineIterator = iteratorDefine;
|
|
3014
|
+
var createIterResultObject = createIterResultObject$2;
|
|
3015
|
+
var DESCRIPTORS = descriptors;
|
|
3016
|
+
|
|
3017
|
+
var ARRAY_ITERATOR = 'Array Iterator';
|
|
3018
|
+
var setInternalState = InternalStateModule.set;
|
|
3019
|
+
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
3020
|
+
|
|
3021
|
+
// `Array.prototype.entries` method
|
|
3022
|
+
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
3023
|
+
// `Array.prototype.keys` method
|
|
3024
|
+
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
3025
|
+
// `Array.prototype.values` method
|
|
3026
|
+
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
3027
|
+
// `Array.prototype[@@iterator]` method
|
|
3028
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
3029
|
+
// `CreateArrayIterator` internal method
|
|
3030
|
+
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
3031
|
+
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
3032
|
+
setInternalState(this, {
|
|
3033
|
+
type: ARRAY_ITERATOR,
|
|
3034
|
+
target: toIndexedObject(iterated), // target
|
|
3035
|
+
index: 0, // next index
|
|
3036
|
+
kind: kind // kind
|
|
3037
|
+
});
|
|
3038
|
+
// `%ArrayIteratorPrototype%.next` method
|
|
3039
|
+
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
3040
|
+
}, function () {
|
|
3041
|
+
var state = getInternalState(this);
|
|
3042
|
+
var target = state.target;
|
|
3043
|
+
var index = state.index++;
|
|
3044
|
+
if (!target || index >= target.length) {
|
|
3045
|
+
state.target = null;
|
|
3046
|
+
return createIterResultObject(undefined, true);
|
|
3047
|
+
}
|
|
3048
|
+
switch (state.kind) {
|
|
3049
|
+
case 'keys': return createIterResultObject(index, false);
|
|
3050
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
3051
|
+
} return createIterResultObject([index, target[index]], false);
|
|
3052
|
+
}, 'values');
|
|
3053
|
+
|
|
3054
|
+
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
3055
|
+
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
3056
|
+
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
3057
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
3058
|
+
|
|
3059
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3060
|
+
addToUnscopables('keys');
|
|
3061
|
+
addToUnscopables('values');
|
|
3062
|
+
addToUnscopables('entries');
|
|
3063
|
+
|
|
3064
|
+
// V8 ~ Chrome 45- bug
|
|
3065
|
+
if (DESCRIPTORS && values.name !== 'values') try {
|
|
3066
|
+
defineProperty(values, 'name', { value: 'values' });
|
|
3067
|
+
} catch (error) { /* empty */ }
|
|
3068
|
+
|
|
3069
|
+
var globalThis$1 = globalThis_1;
|
|
3070
|
+
var DOMIterables = domIterables;
|
|
3071
|
+
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3072
|
+
var ArrayIteratorMethods = es_array_iterator;
|
|
3073
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$8;
|
|
3074
|
+
var setToStringTag = setToStringTag$3;
|
|
3075
|
+
var wellKnownSymbol = wellKnownSymbol$c;
|
|
3076
|
+
|
|
3077
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
3078
|
+
var ArrayValues = ArrayIteratorMethods.values;
|
|
3079
|
+
|
|
3080
|
+
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
3081
|
+
if (CollectionPrototype) {
|
|
3082
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3083
|
+
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
3084
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
3085
|
+
} catch (error) {
|
|
3086
|
+
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
3087
|
+
}
|
|
3088
|
+
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
3089
|
+
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
3090
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3091
|
+
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
3092
|
+
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
3093
|
+
} catch (error) {
|
|
3094
|
+
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
};
|
|
3099
|
+
|
|
3100
|
+
for (var COLLECTION_NAME in DOMIterables) {
|
|
3101
|
+
handlePrototype(globalThis$1[COLLECTION_NAME] && globalThis$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
3105
|
+
|
|
2528
3106
|
const cache = new Map();
|
|
2529
3107
|
const processVariables = (theme, prefix, cacheKey) => {
|
|
2530
3108
|
if (cache.has(cacheKey)) return cache.get(cacheKey);
|
|
@@ -2542,17 +3120,11 @@ const resolveInheritance = themes => {
|
|
|
2542
3120
|
if (resolved.has(name)) return resolved.get(name);
|
|
2543
3121
|
const theme = themeMap.get(name);
|
|
2544
3122
|
if (!theme) throw new Error(`Theme "${name}" not found`);
|
|
2545
|
-
const merged = theme.extends ? {
|
|
2546
|
-
...resolve(theme.extends),
|
|
2547
|
-
...theme.theme
|
|
2548
|
-
} : {
|
|
2549
|
-
...theme.theme
|
|
2550
|
-
};
|
|
3123
|
+
const merged = theme.extends ? Object.assign({}, resolve(theme.extends), theme.theme) : Object.assign({}, theme.theme);
|
|
2551
3124
|
resolved.set(name, merged);
|
|
2552
3125
|
return merged;
|
|
2553
3126
|
};
|
|
2554
|
-
return themes.map(t => ({
|
|
2555
|
-
...t,
|
|
3127
|
+
return themes.map(t => Object.assign({}, t, {
|
|
2556
3128
|
theme: resolve(t.name)
|
|
2557
3129
|
}));
|
|
2558
3130
|
};
|
|
@@ -2564,7 +3136,7 @@ function createThemeSwapper({
|
|
|
2564
3136
|
return ({
|
|
2565
3137
|
addBase
|
|
2566
3138
|
}) => {
|
|
2567
|
-
if (!themes
|
|
3139
|
+
if (!(themes != null && themes.length)) throw new Error('At least one theme required');
|
|
2568
3140
|
const names = new Set();
|
|
2569
3141
|
themes.forEach(({
|
|
2570
3142
|
name,
|
|
@@ -2572,7 +3144,7 @@ function createThemeSwapper({
|
|
|
2572
3144
|
}, i) => {
|
|
2573
3145
|
if (!name) throw new Error(`Theme at index ${i} missing name`);
|
|
2574
3146
|
if (names.has(name)) throw new Error(`Duplicate theme: "${name}"`);
|
|
2575
|
-
if (!selectors
|
|
3147
|
+
if (!(selectors != null && selectors.length)) throw new Error(`Theme "${name}" needs selectors`);
|
|
2576
3148
|
names.add(name);
|
|
2577
3149
|
});
|
|
2578
3150
|
if (debug) {
|
|
@@ -3603,22 +4175,16 @@ const TYPOGRAPHY_DEFAULT = {
|
|
|
3603
4175
|
const inherit = 'inherit';
|
|
3604
4176
|
var index = {
|
|
3605
4177
|
theme: {
|
|
3606
|
-
colors: {
|
|
4178
|
+
colors: Object.assign({
|
|
3607
4179
|
inherit,
|
|
3608
4180
|
current: 'currentColor',
|
|
3609
|
-
transparent: 'transparent'
|
|
3610
|
-
|
|
4181
|
+
transparent: 'transparent'
|
|
4182
|
+
}, PRIMITIVE_COLORS, {
|
|
3611
4183
|
focus: DECLARATIVE_COLORS.focus,
|
|
3612
|
-
data: {
|
|
3613
|
-
|
|
3614
|
-
},
|
|
3615
|
-
|
|
3616
|
-
...DECLARATIVE_COLORS.icon
|
|
3617
|
-
},
|
|
3618
|
-
ui: {
|
|
3619
|
-
...DECLARATIVE_COLORS.ui
|
|
3620
|
-
}
|
|
3621
|
-
},
|
|
4184
|
+
data: Object.assign({}, DECLARATIVE_COLORS.data),
|
|
4185
|
+
icon: Object.assign({}, DECLARATIVE_COLORS.icon),
|
|
4186
|
+
ui: Object.assign({}, DECLARATIVE_COLORS.ui)
|
|
4187
|
+
}),
|
|
3622
4188
|
borderRadius: {
|
|
3623
4189
|
none: 'var(--bq-radius--none)',
|
|
3624
4190
|
xs2: 'var(--bq-radius--xs2)',
|
|
@@ -3680,21 +4246,11 @@ var index = {
|
|
|
3680
4246
|
l: 'var(--bq-stroke-l)'
|
|
3681
4247
|
},
|
|
3682
4248
|
extend: {
|
|
3683
|
-
backgroundColor: {
|
|
3684
|
-
|
|
3685
|
-
},
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
},
|
|
3689
|
-
stroke: {
|
|
3690
|
-
...DECLARATIVE_COLORS.stroke
|
|
3691
|
-
},
|
|
3692
|
-
textColor: {
|
|
3693
|
-
...DECLARATIVE_COLORS.text
|
|
3694
|
-
},
|
|
3695
|
-
fill: {
|
|
3696
|
-
...DECLARATIVE_COLORS.icon
|
|
3697
|
-
},
|
|
4249
|
+
backgroundColor: Object.assign({}, DECLARATIVE_COLORS.bg),
|
|
4250
|
+
borderColor: Object.assign({}, DECLARATIVE_COLORS.stroke),
|
|
4251
|
+
stroke: Object.assign({}, DECLARATIVE_COLORS.stroke),
|
|
4252
|
+
textColor: Object.assign({}, DECLARATIVE_COLORS.text),
|
|
4253
|
+
fill: Object.assign({}, DECLARATIVE_COLORS.icon),
|
|
3698
4254
|
content: {
|
|
3699
4255
|
empty: "''"
|
|
3700
4256
|
},
|
|
@@ -3725,12 +4281,9 @@ var index = {
|
|
|
3725
4281
|
addComponents,
|
|
3726
4282
|
theme
|
|
3727
4283
|
}) {
|
|
3728
|
-
addBase({
|
|
3729
|
-
':root, ::backdrop': {
|
|
3730
|
-
|
|
3731
|
-
},
|
|
3732
|
-
...reset
|
|
3733
|
-
});
|
|
4284
|
+
addBase(Object.assign({
|
|
4285
|
+
':root, ::backdrop': Object.assign({}, CSS_COLORS)
|
|
4286
|
+
}, reset));
|
|
3734
4287
|
addComponents({
|
|
3735
4288
|
'.focus': {
|
|
3736
4289
|
outline: `var(--bq-ring-width, 2px) solid var(--bq-ring-color-focus, ${String(theme('colors.focus'))})`,
|
|
@@ -3741,42 +4294,30 @@ var index = {
|
|
|
3741
4294
|
themes: [{
|
|
3742
4295
|
name: 'base',
|
|
3743
4296
|
selectors: [':root'],
|
|
3744
|
-
theme: {
|
|
3745
|
-
...DefaultRootTheme
|
|
3746
|
-
}
|
|
4297
|
+
theme: Object.assign({}, DefaultRootTheme)
|
|
3747
4298
|
}, {
|
|
3748
4299
|
name: 'light',
|
|
3749
4300
|
selectors: [':root:not([bq-theme]):not([bq-mode])', ':root[bq-theme="beeq"]:not([bq-mode])', '.beeq:not([bq-mode])', '[bq-mode="light"]', '.light'],
|
|
3750
|
-
theme: {
|
|
3751
|
-
...DefaultLightTheme
|
|
3752
|
-
},
|
|
4301
|
+
theme: Object.assign({}, DefaultLightTheme),
|
|
3753
4302
|
mode: true
|
|
3754
4303
|
}, {
|
|
3755
4304
|
name: 'dark',
|
|
3756
4305
|
selectors: ['[bq-mode="dark"]', '.dark'],
|
|
3757
|
-
theme: {
|
|
3758
|
-
...DefaultDarkTheme
|
|
3759
|
-
},
|
|
4306
|
+
theme: Object.assign({}, DefaultDarkTheme),
|
|
3760
4307
|
mode: true
|
|
3761
4308
|
}, {
|
|
3762
4309
|
name: 'endava',
|
|
3763
4310
|
selectors: ['[bq-theme="endava"]', '.endava'],
|
|
3764
|
-
theme: {
|
|
3765
|
-
...EndavaRootTheme
|
|
3766
|
-
}
|
|
4311
|
+
theme: Object.assign({}, EndavaRootTheme)
|
|
3767
4312
|
}, {
|
|
3768
4313
|
name: 'endava-light',
|
|
3769
4314
|
selectors: ['[bq-theme="endava"]:not([bq-mode])', '.endava:not([bq-mode])', '[bq-theme="endava"][bq-mode="light"]', '.endava.light'],
|
|
3770
|
-
theme: {
|
|
3771
|
-
...EndavaLightTheme
|
|
3772
|
-
},
|
|
4315
|
+
theme: Object.assign({}, EndavaLightTheme),
|
|
3773
4316
|
mode: true
|
|
3774
4317
|
}, {
|
|
3775
4318
|
name: 'endava-dark',
|
|
3776
4319
|
selectors: ['[bq-theme="endava"][bq-mode="dark"]', '.endava.dark'],
|
|
3777
|
-
theme: {
|
|
3778
|
-
...EndavaDarkTheme
|
|
3779
|
-
},
|
|
4320
|
+
theme: Object.assign({}, EndavaDarkTheme),
|
|
3780
4321
|
mode: true
|
|
3781
4322
|
}]
|
|
3782
4323
|
})]
|