@ninetailed/experience.js 3.0.0-beta.28 → 3.0.0-beta.32
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 +229 -166
- package/index.js +230 -167
- package/lib/Ninetailed.d.ts +8 -8
- package/package.json +2 -2
package/index.cjs
CHANGED
|
@@ -39,7 +39,7 @@ var global$n =
|
|
|
39
39
|
|
|
40
40
|
var objectGetOwnPropertyDescriptor = {};
|
|
41
41
|
|
|
42
|
-
var fails$
|
|
42
|
+
var fails$m = function (exec) {
|
|
43
43
|
try {
|
|
44
44
|
return !!exec();
|
|
45
45
|
} catch (error) {
|
|
@@ -47,17 +47,17 @@ var fails$l = function (exec) {
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
var fails$
|
|
50
|
+
var fails$l = fails$m;
|
|
51
51
|
|
|
52
52
|
// Detect IE8's incomplete defineProperty implementation
|
|
53
|
-
var descriptors = !fails$
|
|
53
|
+
var descriptors = !fails$l(function () {
|
|
54
54
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
55
55
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
var fails$
|
|
58
|
+
var fails$k = fails$m;
|
|
59
59
|
|
|
60
|
-
var functionBindNative = !fails$
|
|
60
|
+
var functionBindNative = !fails$k(function () {
|
|
61
61
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
62
62
|
var test = (function () { /* empty */ }).bind();
|
|
63
63
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -66,10 +66,10 @@ var functionBindNative = !fails$j(function () {
|
|
|
66
66
|
|
|
67
67
|
var NATIVE_BIND$3 = functionBindNative;
|
|
68
68
|
|
|
69
|
-
var call$
|
|
69
|
+
var call$i = Function.prototype.call;
|
|
70
70
|
|
|
71
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
72
|
-
return call$
|
|
71
|
+
var functionCall = NATIVE_BIND$3 ? call$i.bind(call$i) : function () {
|
|
72
|
+
return call$i.apply(call$i, arguments);
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
var objectPropertyIsEnumerable = {};
|
|
@@ -100,12 +100,12 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
100
100
|
var NATIVE_BIND$2 = functionBindNative;
|
|
101
101
|
|
|
102
102
|
var FunctionPrototype$2 = Function.prototype;
|
|
103
|
-
var call$
|
|
104
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
103
|
+
var call$h = FunctionPrototype$2.call;
|
|
104
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$h, call$h);
|
|
105
105
|
|
|
106
106
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
107
107
|
return function () {
|
|
108
|
-
return call$
|
|
108
|
+
return call$h.apply(fn, arguments);
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
|
|
@@ -119,14 +119,14 @@ var classofRaw$2 = function (it) {
|
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
var uncurryThis$l = functionUncurryThis;
|
|
122
|
-
var fails$
|
|
122
|
+
var fails$j = fails$m;
|
|
123
123
|
var classof$7 = classofRaw$2;
|
|
124
124
|
|
|
125
125
|
var $Object$4 = Object;
|
|
126
126
|
var split = uncurryThis$l(''.split);
|
|
127
127
|
|
|
128
128
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
129
|
-
var indexedObject = fails$
|
|
129
|
+
var indexedObject = fails$j(function () {
|
|
130
130
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
131
131
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
132
132
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -242,10 +242,10 @@ var engineV8Version = version;
|
|
|
242
242
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
243
243
|
|
|
244
244
|
var V8_VERSION$1 = engineV8Version;
|
|
245
|
-
var fails$
|
|
245
|
+
var fails$i = fails$m;
|
|
246
246
|
|
|
247
247
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
248
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
248
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
|
|
249
249
|
var symbol = Symbol();
|
|
250
250
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
251
251
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -264,7 +264,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
264
264
|
|
|
265
265
|
var getBuiltIn$6 = getBuiltIn$8;
|
|
266
266
|
var isCallable$j = isCallable$m;
|
|
267
|
-
var isPrototypeOf$
|
|
267
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
268
268
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
269
269
|
|
|
270
270
|
var $Object$3 = Object;
|
|
@@ -273,7 +273,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
273
273
|
return typeof it == 'symbol';
|
|
274
274
|
} : function (it) {
|
|
275
275
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
276
|
-
return isCallable$j($Symbol) && isPrototypeOf$
|
|
276
|
+
return isCallable$j($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
277
277
|
};
|
|
278
278
|
|
|
279
279
|
var $String$3 = String;
|
|
@@ -307,7 +307,7 @@ var getMethod$4 = function (V, P) {
|
|
|
307
307
|
return isNullOrUndefined$3(func) ? undefined : aCallable$7(func);
|
|
308
308
|
};
|
|
309
309
|
|
|
310
|
-
var call$
|
|
310
|
+
var call$g = functionCall;
|
|
311
311
|
var isCallable$h = isCallable$m;
|
|
312
312
|
var isObject$8 = isObject$9;
|
|
313
313
|
|
|
@@ -317,9 +317,9 @@ var $TypeError$d = TypeError;
|
|
|
317
317
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
318
318
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
319
319
|
var fn, val;
|
|
320
|
-
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$8(val = call$
|
|
321
|
-
if (isCallable$h(fn = input.valueOf) && !isObject$8(val = call$
|
|
322
|
-
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$8(val = call$
|
|
320
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$8(val = call$g(fn, input))) return val;
|
|
321
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$8(val = call$g(fn, input))) return val;
|
|
322
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$8(val = call$g(fn, input))) return val;
|
|
323
323
|
throw $TypeError$d("Can't convert object to primitive value");
|
|
324
324
|
};
|
|
325
325
|
|
|
@@ -392,7 +392,7 @@ var uid$2 = function (key) {
|
|
|
392
392
|
|
|
393
393
|
var global$i = global$n;
|
|
394
394
|
var shared$3 = shared$4.exports;
|
|
395
|
-
var hasOwn$
|
|
395
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
396
396
|
var uid$1 = uid$2;
|
|
397
397
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
398
398
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
@@ -403,9 +403,9 @@ var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
|
403
403
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
404
404
|
|
|
405
405
|
var wellKnownSymbol$i = function (name) {
|
|
406
|
-
if (!hasOwn$
|
|
406
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
407
407
|
var description = 'Symbol.' + name;
|
|
408
|
-
if (NATIVE_SYMBOL && hasOwn$
|
|
408
|
+
if (NATIVE_SYMBOL && hasOwn$a(Symbol$2, name)) {
|
|
409
409
|
WellKnownSymbolsStore[name] = Symbol$2[name];
|
|
410
410
|
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
411
411
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
@@ -415,7 +415,7 @@ var wellKnownSymbol$i = function (name) {
|
|
|
415
415
|
} return WellKnownSymbolsStore[name];
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
-
var call$
|
|
418
|
+
var call$f = functionCall;
|
|
419
419
|
var isObject$7 = isObject$9;
|
|
420
420
|
var isSymbol$1 = isSymbol$2;
|
|
421
421
|
var getMethod$3 = getMethod$4;
|
|
@@ -433,7 +433,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
433
433
|
var result;
|
|
434
434
|
if (exoticToPrim) {
|
|
435
435
|
if (pref === undefined) pref = 'default';
|
|
436
|
-
result = call$
|
|
436
|
+
result = call$f(exoticToPrim, input, pref);
|
|
437
437
|
if (!isObject$7(result) || isSymbol$1(result)) return result;
|
|
438
438
|
throw $TypeError$c("Can't convert object to primitive value");
|
|
439
439
|
}
|
|
@@ -463,11 +463,11 @@ var documentCreateElement$2 = function (it) {
|
|
|
463
463
|
};
|
|
464
464
|
|
|
465
465
|
var DESCRIPTORS$a = descriptors;
|
|
466
|
-
var fails$
|
|
466
|
+
var fails$h = fails$m;
|
|
467
467
|
var createElement$1 = documentCreateElement$2;
|
|
468
468
|
|
|
469
469
|
// Thanks to IE8 for its funny defineProperty
|
|
470
|
-
var ie8DomDefine = !DESCRIPTORS$a && !fails$
|
|
470
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$h(function () {
|
|
471
471
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
472
472
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
473
473
|
get: function () { return 7; }
|
|
@@ -475,12 +475,12 @@ var ie8DomDefine = !DESCRIPTORS$a && !fails$g(function () {
|
|
|
475
475
|
});
|
|
476
476
|
|
|
477
477
|
var DESCRIPTORS$9 = descriptors;
|
|
478
|
-
var call$
|
|
478
|
+
var call$e = functionCall;
|
|
479
479
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
480
480
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
481
481
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
482
482
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
483
|
-
var hasOwn$
|
|
483
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
484
484
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
485
485
|
|
|
486
486
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -494,17 +494,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 :
|
|
|
494
494
|
if (IE8_DOM_DEFINE$1) try {
|
|
495
495
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
496
496
|
} catch (error) { /* empty */ }
|
|
497
|
-
if (hasOwn$
|
|
497
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$2(!call$e(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
498
498
|
};
|
|
499
499
|
|
|
500
500
|
var objectDefineProperty = {};
|
|
501
501
|
|
|
502
502
|
var DESCRIPTORS$8 = descriptors;
|
|
503
|
-
var fails$
|
|
503
|
+
var fails$g = fails$m;
|
|
504
504
|
|
|
505
505
|
// V8 ~ Chrome 36-
|
|
506
506
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
507
|
-
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$
|
|
507
|
+
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$g(function () {
|
|
508
508
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
509
509
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
510
510
|
value: 42,
|
|
@@ -518,7 +518,7 @@ var $String$2 = String;
|
|
|
518
518
|
var $TypeError$b = TypeError;
|
|
519
519
|
|
|
520
520
|
// `Assert: Type(argument) is Object`
|
|
521
|
-
var anObject$
|
|
521
|
+
var anObject$e = function (argument) {
|
|
522
522
|
if (isObject$5(argument)) return argument;
|
|
523
523
|
throw $TypeError$b($String$2(argument) + ' is not an object');
|
|
524
524
|
};
|
|
@@ -526,7 +526,7 @@ var anObject$d = function (argument) {
|
|
|
526
526
|
var DESCRIPTORS$7 = descriptors;
|
|
527
527
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
528
528
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
529
|
-
var anObject$
|
|
529
|
+
var anObject$d = anObject$e;
|
|
530
530
|
var toPropertyKey = toPropertyKey$2;
|
|
531
531
|
|
|
532
532
|
var $TypeError$a = TypeError;
|
|
@@ -541,9 +541,9 @@ var WRITABLE = 'writable';
|
|
|
541
541
|
// `Object.defineProperty` method
|
|
542
542
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
543
543
|
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
544
|
-
anObject$
|
|
544
|
+
anObject$d(O);
|
|
545
545
|
P = toPropertyKey(P);
|
|
546
|
-
anObject$
|
|
546
|
+
anObject$d(Attributes);
|
|
547
547
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
548
548
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
549
549
|
if (current && current[WRITABLE]) {
|
|
@@ -556,9 +556,9 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
556
556
|
}
|
|
557
557
|
} return $defineProperty(O, P, Attributes);
|
|
558
558
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
559
|
-
anObject$
|
|
559
|
+
anObject$d(O);
|
|
560
560
|
P = toPropertyKey(P);
|
|
561
|
-
anObject$
|
|
561
|
+
anObject$d(Attributes);
|
|
562
562
|
if (IE8_DOM_DEFINE) try {
|
|
563
563
|
return $defineProperty(O, P, Attributes);
|
|
564
564
|
} catch (error) { /* empty */ }
|
|
@@ -581,13 +581,13 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$6 ? function (object, key, value
|
|
|
581
581
|
var makeBuiltIn$2 = {exports: {}};
|
|
582
582
|
|
|
583
583
|
var DESCRIPTORS$5 = descriptors;
|
|
584
|
-
var hasOwn$
|
|
584
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
585
585
|
|
|
586
586
|
var FunctionPrototype$1 = Function.prototype;
|
|
587
587
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
588
588
|
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
589
589
|
|
|
590
|
-
var EXISTS = hasOwn$
|
|
590
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
591
591
|
// additional protection from minified / mangled / dropped function names
|
|
592
592
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
593
593
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
@@ -635,7 +635,7 @@ var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
|
635
635
|
var global$f = global$n;
|
|
636
636
|
var isObject$4 = isObject$9;
|
|
637
637
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
638
|
-
var hasOwn$
|
|
638
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
639
639
|
var shared$1 = sharedStore;
|
|
640
640
|
var sharedKey$2 = sharedKey$3;
|
|
641
641
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
@@ -681,16 +681,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
681
681
|
var STATE = sharedKey$2('state');
|
|
682
682
|
hiddenKeys$3[STATE] = true;
|
|
683
683
|
set$1 = function (it, metadata) {
|
|
684
|
-
if (hasOwn$
|
|
684
|
+
if (hasOwn$7(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
685
685
|
metadata.facade = it;
|
|
686
686
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
687
687
|
return metadata;
|
|
688
688
|
};
|
|
689
689
|
get = function (it) {
|
|
690
|
-
return hasOwn$
|
|
690
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
691
691
|
};
|
|
692
692
|
has = function (it) {
|
|
693
|
-
return hasOwn$
|
|
693
|
+
return hasOwn$7(it, STATE);
|
|
694
694
|
};
|
|
695
695
|
}
|
|
696
696
|
|
|
@@ -702,9 +702,9 @@ var internalState = {
|
|
|
702
702
|
getterFor: getterFor
|
|
703
703
|
};
|
|
704
704
|
|
|
705
|
-
var fails$
|
|
705
|
+
var fails$f = fails$m;
|
|
706
706
|
var isCallable$e = isCallable$m;
|
|
707
|
-
var hasOwn$
|
|
707
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
708
708
|
var DESCRIPTORS$4 = descriptors;
|
|
709
709
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
710
710
|
var inspectSource$2 = inspectSource$3;
|
|
@@ -715,7 +715,7 @@ var getInternalState$2 = InternalStateModule$2.get;
|
|
|
715
715
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
716
716
|
var defineProperty$4 = Object.defineProperty;
|
|
717
717
|
|
|
718
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$
|
|
718
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$f(function () {
|
|
719
719
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
720
720
|
});
|
|
721
721
|
|
|
@@ -727,21 +727,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
727
727
|
}
|
|
728
728
|
if (options && options.getter) name = 'get ' + name;
|
|
729
729
|
if (options && options.setter) name = 'set ' + name;
|
|
730
|
-
if (!hasOwn$
|
|
730
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
731
731
|
if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
732
732
|
else value.name = name;
|
|
733
733
|
}
|
|
734
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
734
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
735
735
|
defineProperty$4(value, 'length', { value: options.arity });
|
|
736
736
|
}
|
|
737
737
|
try {
|
|
738
|
-
if (options && hasOwn$
|
|
738
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
739
739
|
if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
|
|
740
740
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
741
741
|
} else if (value.prototype) value.prototype = undefined;
|
|
742
742
|
} catch (error) { /* empty */ }
|
|
743
743
|
var state = enforceInternalState(value);
|
|
744
|
-
if (!hasOwn$
|
|
744
|
+
if (!hasOwn$6(state, 'source')) {
|
|
745
745
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
746
746
|
} return value;
|
|
747
747
|
};
|
|
@@ -757,7 +757,7 @@ var definePropertyModule$3 = objectDefineProperty;
|
|
|
757
757
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
758
758
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
759
759
|
|
|
760
|
-
var defineBuiltIn$
|
|
760
|
+
var defineBuiltIn$7 = function (O, key, value, options) {
|
|
761
761
|
if (!options) options = {};
|
|
762
762
|
var simple = options.enumerable;
|
|
763
763
|
var name = options.name !== undefined ? options.name : key;
|
|
@@ -868,7 +868,7 @@ var arrayIncludes = {
|
|
|
868
868
|
};
|
|
869
869
|
|
|
870
870
|
var uncurryThis$g = functionUncurryThis;
|
|
871
|
-
var hasOwn$
|
|
871
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
872
872
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
873
873
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
874
874
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -880,9 +880,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
880
880
|
var i = 0;
|
|
881
881
|
var result = [];
|
|
882
882
|
var key;
|
|
883
|
-
for (key in O) !hasOwn$
|
|
883
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$1(result, key);
|
|
884
884
|
// Don't enum bug & hidden keys
|
|
885
|
-
while (names.length > i) if (hasOwn$
|
|
885
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
886
886
|
~indexOf$1(result, key) || push$1(result, key);
|
|
887
887
|
}
|
|
888
888
|
return result;
|
|
@@ -920,18 +920,18 @@ var getBuiltIn$5 = getBuiltIn$8;
|
|
|
920
920
|
var uncurryThis$f = functionUncurryThis;
|
|
921
921
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
922
922
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
923
|
-
var anObject$
|
|
923
|
+
var anObject$c = anObject$e;
|
|
924
924
|
|
|
925
925
|
var concat$2 = uncurryThis$f([].concat);
|
|
926
926
|
|
|
927
927
|
// all object keys, includes non-enumerable and symbols
|
|
928
928
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
929
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
929
|
+
var keys = getOwnPropertyNamesModule.f(anObject$c(it));
|
|
930
930
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
931
931
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
932
932
|
};
|
|
933
933
|
|
|
934
|
-
var hasOwn$
|
|
934
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
935
935
|
var ownKeys = ownKeys$1;
|
|
936
936
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
937
937
|
var definePropertyModule$2 = objectDefineProperty;
|
|
@@ -942,13 +942,13 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
942
942
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
943
943
|
for (var i = 0; i < keys.length; i++) {
|
|
944
944
|
var key = keys[i];
|
|
945
|
-
if (!hasOwn$
|
|
945
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
946
946
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
};
|
|
950
950
|
|
|
951
|
-
var fails$
|
|
951
|
+
var fails$e = fails$m;
|
|
952
952
|
var isCallable$c = isCallable$m;
|
|
953
953
|
|
|
954
954
|
var replacement = /#|\.prototype\./;
|
|
@@ -957,7 +957,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
957
957
|
var value = data[normalize$1(feature)];
|
|
958
958
|
return value == POLYFILL ? true
|
|
959
959
|
: value == NATIVE ? false
|
|
960
|
-
: isCallable$c(detection) ? fails$
|
|
960
|
+
: isCallable$c(detection) ? fails$e(detection)
|
|
961
961
|
: !!detection;
|
|
962
962
|
};
|
|
963
963
|
|
|
@@ -974,7 +974,7 @@ var isForced_1 = isForced$2;
|
|
|
974
974
|
var global$e = global$n;
|
|
975
975
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
976
976
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
977
|
-
var defineBuiltIn$
|
|
977
|
+
var defineBuiltIn$6 = defineBuiltIn$7;
|
|
978
978
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
979
979
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
980
980
|
var isForced$1 = isForced_1;
|
|
@@ -1022,7 +1022,7 @@ var _export = function (options, source) {
|
|
|
1022
1022
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1023
1023
|
createNonEnumerableProperty$3(sourceProperty, 'sham', true);
|
|
1024
1024
|
}
|
|
1025
|
-
defineBuiltIn$
|
|
1025
|
+
defineBuiltIn$6(target, key, sourceProperty, options);
|
|
1026
1026
|
}
|
|
1027
1027
|
};
|
|
1028
1028
|
|
|
@@ -1044,7 +1044,7 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
1044
1044
|
/* eslint-disable no-proto -- safe */
|
|
1045
1045
|
|
|
1046
1046
|
var uncurryThis$e = functionUncurryThis;
|
|
1047
|
-
var anObject$
|
|
1047
|
+
var anObject$b = anObject$e;
|
|
1048
1048
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1049
1049
|
|
|
1050
1050
|
// `Object.setPrototypeOf` method
|
|
@@ -1062,7 +1062,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1062
1062
|
CORRECT_SETTER = test instanceof Array;
|
|
1063
1063
|
} catch (error) { /* empty */ }
|
|
1064
1064
|
return function setPrototypeOf(O, proto) {
|
|
1065
|
-
anObject$
|
|
1065
|
+
anObject$b(O);
|
|
1066
1066
|
aPossiblePrototype(proto);
|
|
1067
1067
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1068
1068
|
else O.__proto__ = proto;
|
|
@@ -1071,14 +1071,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1071
1071
|
}() : undefined);
|
|
1072
1072
|
|
|
1073
1073
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1074
|
-
var hasOwn$
|
|
1074
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1075
1075
|
var wellKnownSymbol$g = wellKnownSymbol$i;
|
|
1076
1076
|
|
|
1077
1077
|
var TO_STRING_TAG$3 = wellKnownSymbol$g('toStringTag');
|
|
1078
1078
|
|
|
1079
1079
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1080
1080
|
if (target && !STATIC) target = target.prototype;
|
|
1081
|
-
if (target && !hasOwn$
|
|
1081
|
+
if (target && !hasOwn$3(target, TO_STRING_TAG$3)) {
|
|
1082
1082
|
defineProperty$3(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
@@ -1102,12 +1102,12 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
};
|
|
1104
1104
|
|
|
1105
|
-
var isPrototypeOf$
|
|
1105
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1106
1106
|
|
|
1107
1107
|
var $TypeError$8 = TypeError;
|
|
1108
1108
|
|
|
1109
1109
|
var anInstance$1 = function (it, Prototype) {
|
|
1110
|
-
if (isPrototypeOf$
|
|
1110
|
+
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1111
1111
|
throw $TypeError$8('Incorrect invocation');
|
|
1112
1112
|
};
|
|
1113
1113
|
|
|
@@ -1151,7 +1151,7 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
|
|
1153
1153
|
var uncurryThis$d = functionUncurryThis;
|
|
1154
|
-
var fails$
|
|
1154
|
+
var fails$d = fails$m;
|
|
1155
1155
|
var isCallable$9 = isCallable$m;
|
|
1156
1156
|
var classof$4 = classof$5;
|
|
1157
1157
|
var getBuiltIn$3 = getBuiltIn$8;
|
|
@@ -1195,7 +1195,7 @@ isConstructorLegacy.sham = true;
|
|
|
1195
1195
|
|
|
1196
1196
|
// `IsConstructor` abstract operation
|
|
1197
1197
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1198
|
-
var isConstructor$1 = !construct || fails$
|
|
1198
|
+
var isConstructor$1 = !construct || fails$d(function () {
|
|
1199
1199
|
var called;
|
|
1200
1200
|
return isConstructorModern(isConstructorModern.call)
|
|
1201
1201
|
|| !isConstructorModern(Object)
|
|
@@ -1214,7 +1214,7 @@ var aConstructor$1 = function (argument) {
|
|
|
1214
1214
|
throw $TypeError$7(tryToString$2(argument) + ' is not a constructor');
|
|
1215
1215
|
};
|
|
1216
1216
|
|
|
1217
|
-
var anObject$
|
|
1217
|
+
var anObject$a = anObject$e;
|
|
1218
1218
|
var aConstructor = aConstructor$1;
|
|
1219
1219
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
1220
1220
|
var wellKnownSymbol$c = wellKnownSymbol$i;
|
|
@@ -1224,20 +1224,20 @@ var SPECIES$2 = wellKnownSymbol$c('species');
|
|
|
1224
1224
|
// `SpeciesConstructor` abstract operation
|
|
1225
1225
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1226
1226
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
1227
|
-
var C = anObject$
|
|
1227
|
+
var C = anObject$a(O).constructor;
|
|
1228
1228
|
var S;
|
|
1229
|
-
return C === undefined || isNullOrUndefined$2(S = anObject$
|
|
1229
|
+
return C === undefined || isNullOrUndefined$2(S = anObject$a(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
1230
1230
|
};
|
|
1231
1231
|
|
|
1232
1232
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1233
1233
|
|
|
1234
1234
|
var FunctionPrototype = Function.prototype;
|
|
1235
1235
|
var apply$2 = FunctionPrototype.apply;
|
|
1236
|
-
var call$
|
|
1236
|
+
var call$d = FunctionPrototype.call;
|
|
1237
1237
|
|
|
1238
1238
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1239
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1240
|
-
return call$
|
|
1239
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$d.bind(apply$2) : function () {
|
|
1240
|
+
return call$d.apply(apply$2, arguments);
|
|
1241
1241
|
});
|
|
1242
1242
|
|
|
1243
1243
|
var classofRaw = classofRaw$2;
|
|
@@ -1287,8 +1287,8 @@ var global$c = global$n;
|
|
|
1287
1287
|
var apply$1 = functionApply;
|
|
1288
1288
|
var bind$3 = functionBindContext;
|
|
1289
1289
|
var isCallable$8 = isCallable$m;
|
|
1290
|
-
var hasOwn$
|
|
1291
|
-
var fails$
|
|
1290
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1291
|
+
var fails$c = fails$m;
|
|
1292
1292
|
var html$1 = html$2;
|
|
1293
1293
|
var arraySlice = arraySlice$1;
|
|
1294
1294
|
var createElement = documentCreateElement$2;
|
|
@@ -1314,7 +1314,7 @@ try {
|
|
|
1314
1314
|
} catch (error) { /* empty */ }
|
|
1315
1315
|
|
|
1316
1316
|
var run = function (id) {
|
|
1317
|
-
if (hasOwn$
|
|
1317
|
+
if (hasOwn$2(queue$1, id)) {
|
|
1318
1318
|
var fn = queue$1[id];
|
|
1319
1319
|
delete queue$1[id];
|
|
1320
1320
|
fn();
|
|
@@ -1375,7 +1375,7 @@ if (!set || !clear) {
|
|
|
1375
1375
|
isCallable$8(global$c.postMessage) &&
|
|
1376
1376
|
!global$c.importScripts &&
|
|
1377
1377
|
$location && $location.protocol !== 'file:' &&
|
|
1378
|
-
!fails$
|
|
1378
|
+
!fails$c(post)
|
|
1379
1379
|
) {
|
|
1380
1380
|
defer = post;
|
|
1381
1381
|
global$c.addEventListener('message', listener, false);
|
|
@@ -1622,8 +1622,8 @@ newPromiseCapability$2.f = function (C) {
|
|
|
1622
1622
|
var $$d = _export;
|
|
1623
1623
|
var IS_NODE$1 = engineIsNode;
|
|
1624
1624
|
var global$6 = global$n;
|
|
1625
|
-
var call$
|
|
1626
|
-
var defineBuiltIn$
|
|
1625
|
+
var call$c = functionCall;
|
|
1626
|
+
var defineBuiltIn$5 = defineBuiltIn$7;
|
|
1627
1627
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1628
1628
|
var setToStringTag$2 = setToStringTag$3;
|
|
1629
1629
|
var setSpecies = setSpecies$1;
|
|
@@ -1700,7 +1700,7 @@ var callReaction = function (reaction, state) {
|
|
|
1700
1700
|
if (result === reaction.promise) {
|
|
1701
1701
|
reject(TypeError$1('Promise-chain cycle'));
|
|
1702
1702
|
} else if (then = isThenable(result)) {
|
|
1703
|
-
call$
|
|
1703
|
+
call$c(then, result, resolve, reject);
|
|
1704
1704
|
} else resolve(result);
|
|
1705
1705
|
} else reject(value);
|
|
1706
1706
|
} catch (error) {
|
|
@@ -1737,7 +1737,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
1737
1737
|
};
|
|
1738
1738
|
|
|
1739
1739
|
var onUnhandled = function (state) {
|
|
1740
|
-
call$
|
|
1740
|
+
call$c(task, global$6, function () {
|
|
1741
1741
|
var promise = state.facade;
|
|
1742
1742
|
var value = state.value;
|
|
1743
1743
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -1760,7 +1760,7 @@ var isUnhandled = function (state) {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
|
|
1762
1762
|
var onHandleUnhandled = function (state) {
|
|
1763
|
-
call$
|
|
1763
|
+
call$c(task, global$6, function () {
|
|
1764
1764
|
var promise = state.facade;
|
|
1765
1765
|
if (IS_NODE$1) {
|
|
1766
1766
|
process.emit('rejectionHandled', promise);
|
|
@@ -1794,7 +1794,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1794
1794
|
microtask(function () {
|
|
1795
1795
|
var wrapper = { done: false };
|
|
1796
1796
|
try {
|
|
1797
|
-
call$
|
|
1797
|
+
call$c(then, value,
|
|
1798
1798
|
bind$1(internalResolve, wrapper, state),
|
|
1799
1799
|
bind$1(internalReject, wrapper, state)
|
|
1800
1800
|
);
|
|
@@ -1818,7 +1818,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1818
1818
|
PromiseConstructor = function Promise(executor) {
|
|
1819
1819
|
anInstance(this, PromisePrototype);
|
|
1820
1820
|
aCallable$4(executor);
|
|
1821
|
-
call$
|
|
1821
|
+
call$c(Internal, this);
|
|
1822
1822
|
var state = getInternalPromiseState(this);
|
|
1823
1823
|
try {
|
|
1824
1824
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -1845,7 +1845,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1845
1845
|
|
|
1846
1846
|
// `Promise.prototype.then` method
|
|
1847
1847
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
1848
|
-
Internal.prototype = defineBuiltIn$
|
|
1848
|
+
Internal.prototype = defineBuiltIn$5(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
1849
1849
|
var state = getInternalPromiseState(this);
|
|
1850
1850
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
1851
1851
|
state.parent = true;
|
|
@@ -1878,10 +1878,10 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1878
1878
|
|
|
1879
1879
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
1880
1880
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
1881
|
-
defineBuiltIn$
|
|
1881
|
+
defineBuiltIn$5(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
1882
1882
|
var that = this;
|
|
1883
1883
|
return new PromiseConstructor(function (resolve, reject) {
|
|
1884
|
-
call$
|
|
1884
|
+
call$c(nativeThen, that, resolve, reject);
|
|
1885
1885
|
}).then(onFulfilled, onRejected);
|
|
1886
1886
|
// https://github.com/zloirock/core-js/issues/640
|
|
1887
1887
|
}, { unsafe: true });
|
|
@@ -1933,9 +1933,9 @@ var getIteratorMethod$2 = function (it) {
|
|
|
1933
1933
|
|| Iterators$3[classof$3(it)];
|
|
1934
1934
|
};
|
|
1935
1935
|
|
|
1936
|
-
var call$
|
|
1936
|
+
var call$b = functionCall;
|
|
1937
1937
|
var aCallable$3 = aCallable$8;
|
|
1938
|
-
var anObject$
|
|
1938
|
+
var anObject$9 = anObject$e;
|
|
1939
1939
|
var tryToString$1 = tryToString$4;
|
|
1940
1940
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
1941
1941
|
|
|
@@ -1943,41 +1943,41 @@ var $TypeError$4 = TypeError;
|
|
|
1943
1943
|
|
|
1944
1944
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1945
1945
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1946
|
-
if (aCallable$3(iteratorMethod)) return anObject$
|
|
1946
|
+
if (aCallable$3(iteratorMethod)) return anObject$9(call$b(iteratorMethod, argument));
|
|
1947
1947
|
throw $TypeError$4(tryToString$1(argument) + ' is not iterable');
|
|
1948
1948
|
};
|
|
1949
1949
|
|
|
1950
|
-
var call$
|
|
1951
|
-
var anObject$
|
|
1950
|
+
var call$a = functionCall;
|
|
1951
|
+
var anObject$8 = anObject$e;
|
|
1952
1952
|
var getMethod$1 = getMethod$4;
|
|
1953
1953
|
|
|
1954
1954
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
1955
1955
|
var innerResult, innerError;
|
|
1956
|
-
anObject$
|
|
1956
|
+
anObject$8(iterator);
|
|
1957
1957
|
try {
|
|
1958
1958
|
innerResult = getMethod$1(iterator, 'return');
|
|
1959
1959
|
if (!innerResult) {
|
|
1960
1960
|
if (kind === 'throw') throw value;
|
|
1961
1961
|
return value;
|
|
1962
1962
|
}
|
|
1963
|
-
innerResult = call$
|
|
1963
|
+
innerResult = call$a(innerResult, iterator);
|
|
1964
1964
|
} catch (error) {
|
|
1965
1965
|
innerError = true;
|
|
1966
1966
|
innerResult = error;
|
|
1967
1967
|
}
|
|
1968
1968
|
if (kind === 'throw') throw value;
|
|
1969
1969
|
if (innerError) throw innerResult;
|
|
1970
|
-
anObject$
|
|
1970
|
+
anObject$8(innerResult);
|
|
1971
1971
|
return value;
|
|
1972
1972
|
};
|
|
1973
1973
|
|
|
1974
1974
|
var bind = functionBindContext;
|
|
1975
|
-
var call$
|
|
1976
|
-
var anObject$
|
|
1975
|
+
var call$9 = functionCall;
|
|
1976
|
+
var anObject$7 = anObject$e;
|
|
1977
1977
|
var tryToString = tryToString$4;
|
|
1978
1978
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
1979
1979
|
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
1980
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
1980
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1981
1981
|
var getIterator = getIterator$1;
|
|
1982
1982
|
var getIteratorMethod = getIteratorMethod$2;
|
|
1983
1983
|
var iteratorClose = iteratorClose$1;
|
|
@@ -2007,7 +2007,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2007
2007
|
|
|
2008
2008
|
var callFn = function (value) {
|
|
2009
2009
|
if (AS_ENTRIES) {
|
|
2010
|
-
anObject$
|
|
2010
|
+
anObject$7(value);
|
|
2011
2011
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2012
2012
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2013
2013
|
};
|
|
@@ -2023,20 +2023,20 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2023
2023
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2024
2024
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
2025
2025
|
result = callFn(iterable[index]);
|
|
2026
|
-
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
2026
|
+
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
2027
2027
|
} return new Result(false);
|
|
2028
2028
|
}
|
|
2029
2029
|
iterator = getIterator(iterable, iterFn);
|
|
2030
2030
|
}
|
|
2031
2031
|
|
|
2032
2032
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2033
|
-
while (!(step = call$
|
|
2033
|
+
while (!(step = call$9(next, iterator)).done) {
|
|
2034
2034
|
try {
|
|
2035
2035
|
result = callFn(step.value);
|
|
2036
2036
|
} catch (error) {
|
|
2037
2037
|
iteratorClose(iterator, 'throw', error);
|
|
2038
2038
|
}
|
|
2039
|
-
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
2039
|
+
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
2040
2040
|
} return new Result(false);
|
|
2041
2041
|
};
|
|
2042
2042
|
|
|
@@ -2088,7 +2088,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2088
2088
|
});
|
|
2089
2089
|
|
|
2090
2090
|
var $$c = _export;
|
|
2091
|
-
var call$
|
|
2091
|
+
var call$8 = functionCall;
|
|
2092
2092
|
var aCallable$2 = aCallable$8;
|
|
2093
2093
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2094
2094
|
var perform$1 = perform$3;
|
|
@@ -2112,7 +2112,7 @@ $$c({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2112
2112
|
var index = counter++;
|
|
2113
2113
|
var alreadyCalled = false;
|
|
2114
2114
|
remaining++;
|
|
2115
|
-
call$
|
|
2115
|
+
call$8($promiseResolve, C, promise).then(function (value) {
|
|
2116
2116
|
if (alreadyCalled) return;
|
|
2117
2117
|
alreadyCalled = true;
|
|
2118
2118
|
values[index] = value;
|
|
@@ -2131,7 +2131,7 @@ var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
|
2131
2131
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
2132
2132
|
var getBuiltIn$1 = getBuiltIn$8;
|
|
2133
2133
|
var isCallable$5 = isCallable$m;
|
|
2134
|
-
var defineBuiltIn$
|
|
2134
|
+
var defineBuiltIn$4 = defineBuiltIn$7;
|
|
2135
2135
|
|
|
2136
2136
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
2137
2137
|
|
|
@@ -2147,12 +2147,12 @@ $$b({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real
|
|
|
2147
2147
|
if (isCallable$5(NativePromiseConstructor)) {
|
|
2148
2148
|
var method = getBuiltIn$1('Promise').prototype['catch'];
|
|
2149
2149
|
if (NativePromisePrototype['catch'] !== method) {
|
|
2150
|
-
defineBuiltIn$
|
|
2150
|
+
defineBuiltIn$4(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
2153
|
|
|
2154
2154
|
var $$a = _export;
|
|
2155
|
-
var call$
|
|
2155
|
+
var call$7 = functionCall;
|
|
2156
2156
|
var aCallable$1 = aCallable$8;
|
|
2157
2157
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2158
2158
|
var perform = perform$3;
|
|
@@ -2169,7 +2169,7 @@ $$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2169
2169
|
var result = perform(function () {
|
|
2170
2170
|
var $promiseResolve = aCallable$1(C.resolve);
|
|
2171
2171
|
iterate(iterable, function (promise) {
|
|
2172
|
-
call$
|
|
2172
|
+
call$7($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2173
2173
|
});
|
|
2174
2174
|
});
|
|
2175
2175
|
if (result.error) reject(result.value);
|
|
@@ -2178,7 +2178,7 @@ $$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2178
2178
|
});
|
|
2179
2179
|
|
|
2180
2180
|
var $$9 = _export;
|
|
2181
|
-
var call$
|
|
2181
|
+
var call$6 = functionCall;
|
|
2182
2182
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
2183
2183
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2184
2184
|
|
|
@@ -2187,17 +2187,17 @@ var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
|
2187
2187
|
$$9({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
2188
2188
|
reject: function reject(r) {
|
|
2189
2189
|
var capability = newPromiseCapabilityModule.f(this);
|
|
2190
|
-
call$
|
|
2190
|
+
call$6(capability.reject, undefined, r);
|
|
2191
2191
|
return capability.promise;
|
|
2192
2192
|
}
|
|
2193
2193
|
});
|
|
2194
2194
|
|
|
2195
|
-
var anObject$
|
|
2195
|
+
var anObject$6 = anObject$e;
|
|
2196
2196
|
var isObject$2 = isObject$9;
|
|
2197
2197
|
var newPromiseCapability = newPromiseCapability$2;
|
|
2198
2198
|
|
|
2199
2199
|
var promiseResolve$1 = function (C, x) {
|
|
2200
|
-
anObject$
|
|
2200
|
+
anObject$6(C);
|
|
2201
2201
|
if (isObject$2(x) && x.constructor === C) return x;
|
|
2202
2202
|
var promiseCapability = newPromiseCapability.f(C);
|
|
2203
2203
|
var resolve = promiseCapability.resolve;
|
|
@@ -2232,8 +2232,8 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
2232
2232
|
|
|
2233
2233
|
var DESCRIPTORS$2 = descriptors;
|
|
2234
2234
|
var uncurryThis$9 = functionUncurryThis;
|
|
2235
|
-
var call$
|
|
2236
|
-
var fails$
|
|
2235
|
+
var call$5 = functionCall;
|
|
2236
|
+
var fails$b = fails$m;
|
|
2237
2237
|
var objectKeys$1 = objectKeys$2;
|
|
2238
2238
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
2239
2239
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -2248,7 +2248,7 @@ var concat$1 = uncurryThis$9([].concat);
|
|
|
2248
2248
|
|
|
2249
2249
|
// `Object.assign` method
|
|
2250
2250
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2251
|
-
var objectAssign = !$assign || fails$
|
|
2251
|
+
var objectAssign = !$assign || fails$b(function () {
|
|
2252
2252
|
// should have correct order of operations (Edge bug)
|
|
2253
2253
|
if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
|
|
2254
2254
|
enumerable: true,
|
|
@@ -2282,7 +2282,7 @@ var objectAssign = !$assign || fails$a(function () {
|
|
|
2282
2282
|
var key;
|
|
2283
2283
|
while (length > j) {
|
|
2284
2284
|
key = keys[j++];
|
|
2285
|
-
if (!DESCRIPTORS$2 || call$
|
|
2285
|
+
if (!DESCRIPTORS$2 || call$5(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
2286
2286
|
}
|
|
2287
2287
|
} return T;
|
|
2288
2288
|
} : $assign;
|
|
@@ -2302,7 +2302,7 @@ var objectDefineProperties = {};
|
|
|
2302
2302
|
var DESCRIPTORS$1 = descriptors;
|
|
2303
2303
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
2304
2304
|
var definePropertyModule = objectDefineProperty;
|
|
2305
|
-
var anObject$
|
|
2305
|
+
var anObject$5 = anObject$e;
|
|
2306
2306
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
2307
2307
|
var objectKeys = objectKeys$2;
|
|
2308
2308
|
|
|
@@ -2310,7 +2310,7 @@ var objectKeys = objectKeys$2;
|
|
|
2310
2310
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
2311
2311
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
2312
2312
|
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
2313
|
-
anObject$
|
|
2313
|
+
anObject$5(O);
|
|
2314
2314
|
var props = toIndexedObject$1(Properties);
|
|
2315
2315
|
var keys = objectKeys(Properties);
|
|
2316
2316
|
var length = keys.length;
|
|
@@ -2322,7 +2322,7 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
2322
2322
|
|
|
2323
2323
|
/* global ActiveXObject -- old IE, WSH */
|
|
2324
2324
|
|
|
2325
|
-
var anObject$
|
|
2325
|
+
var anObject$4 = anObject$e;
|
|
2326
2326
|
var definePropertiesModule = objectDefineProperties;
|
|
2327
2327
|
var enumBugKeys = enumBugKeys$3;
|
|
2328
2328
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -2396,7 +2396,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
2396
2396
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
2397
2397
|
var result;
|
|
2398
2398
|
if (O !== null) {
|
|
2399
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
2399
|
+
EmptyConstructor[PROTOTYPE] = anObject$4(O);
|
|
2400
2400
|
result = new EmptyConstructor();
|
|
2401
2401
|
EmptyConstructor[PROTOTYPE] = null;
|
|
2402
2402
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -2428,11 +2428,11 @@ var addToUnscopables$2 = function (key) {
|
|
|
2428
2428
|
|
|
2429
2429
|
var $$6 = _export;
|
|
2430
2430
|
var $includes = arrayIncludes.includes;
|
|
2431
|
-
var fails$
|
|
2431
|
+
var fails$a = fails$m;
|
|
2432
2432
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
2433
2433
|
|
|
2434
2434
|
// FF99+ bug
|
|
2435
|
-
var BROKEN_ON_SPARSE = fails$
|
|
2435
|
+
var BROKEN_ON_SPARSE = fails$a(function () {
|
|
2436
2436
|
return !Array(1).includes();
|
|
2437
2437
|
});
|
|
2438
2438
|
|
|
@@ -2734,6 +2734,10 @@ const ninetailedPlugin = ({
|
|
|
2734
2734
|
}) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2735
2735
|
experience_jsShared.logger.info('Sending Identify event.');
|
|
2736
2736
|
const ctx = buildClientNinetailedRequestContext();
|
|
2737
|
+
if (payload.userId === '' && (!payload.traits || typeof payload.traits === 'object' && Object.keys(payload.traits).length === 0)) {
|
|
2738
|
+
experience_jsShared.logger.info('Skipping Identify event as no userId and no traits are set.');
|
|
2739
|
+
return;
|
|
2740
|
+
}
|
|
2737
2741
|
yield enqueueEvent(experience_jsShared.buildIdentifyEvent({
|
|
2738
2742
|
// doing this here as the anonymous id is set to late from init
|
|
2739
2743
|
messageId: payload.meta.rid,
|
|
@@ -2786,7 +2790,64 @@ const ninetailedPlugin = ({
|
|
|
2786
2790
|
};
|
|
2787
2791
|
};
|
|
2788
2792
|
|
|
2789
|
-
var
|
|
2793
|
+
var anObject$3 = anObject$e;
|
|
2794
|
+
|
|
2795
|
+
// `RegExp.prototype.flags` getter implementation
|
|
2796
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2797
|
+
var regexpFlags$1 = function () {
|
|
2798
|
+
var that = anObject$3(this);
|
|
2799
|
+
var result = '';
|
|
2800
|
+
if (that.hasIndices) result += 'd';
|
|
2801
|
+
if (that.global) result += 'g';
|
|
2802
|
+
if (that.ignoreCase) result += 'i';
|
|
2803
|
+
if (that.multiline) result += 'm';
|
|
2804
|
+
if (that.dotAll) result += 's';
|
|
2805
|
+
if (that.unicode) result += 'u';
|
|
2806
|
+
if (that.unicodeSets) result += 'v';
|
|
2807
|
+
if (that.sticky) result += 'y';
|
|
2808
|
+
return result;
|
|
2809
|
+
};
|
|
2810
|
+
|
|
2811
|
+
var call$4 = functionCall;
|
|
2812
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2813
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
2814
|
+
var regExpFlags = regexpFlags$1;
|
|
2815
|
+
|
|
2816
|
+
var RegExpPrototype$2 = RegExp.prototype;
|
|
2817
|
+
|
|
2818
|
+
var regexpGetFlags = function (R) {
|
|
2819
|
+
var flags = R.flags;
|
|
2820
|
+
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
|
|
2821
|
+
? call$4(regExpFlags, R) : flags;
|
|
2822
|
+
};
|
|
2823
|
+
|
|
2824
|
+
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
2825
|
+
var defineBuiltIn$3 = defineBuiltIn$7;
|
|
2826
|
+
var anObject$2 = anObject$e;
|
|
2827
|
+
var $toString = toString$7;
|
|
2828
|
+
var fails$9 = fails$m;
|
|
2829
|
+
var getRegExpFlags = regexpGetFlags;
|
|
2830
|
+
|
|
2831
|
+
var TO_STRING = 'toString';
|
|
2832
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
|
2833
|
+
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
2834
|
+
|
|
2835
|
+
var NOT_GENERIC = fails$9(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
2836
|
+
// FF44- RegExp#toString has a wrong name
|
|
2837
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name != TO_STRING;
|
|
2838
|
+
|
|
2839
|
+
// `RegExp.prototype.toString` method
|
|
2840
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2841
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2842
|
+
defineBuiltIn$3(RegExp.prototype, TO_STRING, function toString() {
|
|
2843
|
+
var R = anObject$2(this);
|
|
2844
|
+
var pattern = $toString(R.source);
|
|
2845
|
+
var flags = $toString(getRegExpFlags(R));
|
|
2846
|
+
return '/' + pattern + '/' + flags;
|
|
2847
|
+
}, { unsafe: true });
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
var fails$8 = fails$m;
|
|
2790
2851
|
|
|
2791
2852
|
var correctPrototypeGetter = !fails$8(function () {
|
|
2792
2853
|
function F() { /* empty */ }
|
|
@@ -2817,11 +2878,11 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
|
|
|
2817
2878
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2818
2879
|
};
|
|
2819
2880
|
|
|
2820
|
-
var fails$7 = fails$
|
|
2881
|
+
var fails$7 = fails$m;
|
|
2821
2882
|
var isCallable$3 = isCallable$m;
|
|
2822
2883
|
var isObject = isObject$9;
|
|
2823
2884
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2824
|
-
var defineBuiltIn$2 = defineBuiltIn$
|
|
2885
|
+
var defineBuiltIn$2 = defineBuiltIn$7;
|
|
2825
2886
|
var wellKnownSymbol$4 = wellKnownSymbol$i;
|
|
2826
2887
|
|
|
2827
2888
|
var ITERATOR$3 = wellKnownSymbol$4('iterator');
|
|
@@ -2888,7 +2949,7 @@ var getPrototypeOf = objectGetPrototypeOf;
|
|
|
2888
2949
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2889
2950
|
var setToStringTag = setToStringTag$3;
|
|
2890
2951
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
2891
|
-
var defineBuiltIn$1 = defineBuiltIn$
|
|
2952
|
+
var defineBuiltIn$1 = defineBuiltIn$7;
|
|
2892
2953
|
var wellKnownSymbol$3 = wellKnownSymbol$i;
|
|
2893
2954
|
var Iterators$1 = iterators;
|
|
2894
2955
|
var IteratorsCore = iteratorsCore;
|
|
@@ -3142,12 +3203,20 @@ class Ninetailed {
|
|
|
3142
3203
|
} = {}) {
|
|
3143
3204
|
this.isInitialized = false;
|
|
3144
3205
|
this.page = (data, options) => __awaiter(this, void 0, void 0, function* () {
|
|
3206
|
+
const result = experience_jsShared.PageviewProperties.partial().default({}).safeParse(data);
|
|
3207
|
+
if (!result.success) {
|
|
3208
|
+
throw new Error(`[Validation Error] "page" was called with invalid params. Page data is not valid: ${result.error.format()}`);
|
|
3209
|
+
}
|
|
3145
3210
|
yield this.waitUntilInitialized();
|
|
3146
3211
|
return this.instance.page(data, this.buildOptions(options));
|
|
3147
3212
|
});
|
|
3148
|
-
this.track = (event,
|
|
3213
|
+
this.track = (event, properties, options) => __awaiter(this, void 0, void 0, function* () {
|
|
3214
|
+
const result = experience_jsShared.Properties.default({}).safeParse(properties);
|
|
3215
|
+
if (!result.success) {
|
|
3216
|
+
throw new Error(`[Validation Error] "track" was called with invalid params. Properties are no valid json object: ${result.error.format()}`);
|
|
3217
|
+
}
|
|
3149
3218
|
yield this.waitUntilInitialized();
|
|
3150
|
-
return this.instance.track(event,
|
|
3219
|
+
return this.instance.track(event.toString(), properties, this.buildOptions(options));
|
|
3151
3220
|
});
|
|
3152
3221
|
this.trackHasSeenComponent = payload => __awaiter(this, void 0, void 0, function* () {
|
|
3153
3222
|
return this.track('hasSeenComponent', payload, {
|
|
@@ -3157,8 +3226,11 @@ class Ninetailed {
|
|
|
3157
3226
|
}
|
|
3158
3227
|
});
|
|
3159
3228
|
});
|
|
3160
|
-
this.trackExperience =
|
|
3161
|
-
|
|
3229
|
+
this.trackExperience = properties => {
|
|
3230
|
+
// we stringify and parse the properties to remove non serializable values
|
|
3231
|
+
const stringifiedProperties = JSON.stringify(properties);
|
|
3232
|
+
const sanitizedProperties = JSON.parse(stringifiedProperties);
|
|
3233
|
+
return this.track('nt_experience', sanitizedProperties, {
|
|
3162
3234
|
plugins: {
|
|
3163
3235
|
all: true,
|
|
3164
3236
|
ninetailed: false
|
|
@@ -3166,9 +3238,12 @@ class Ninetailed {
|
|
|
3166
3238
|
});
|
|
3167
3239
|
};
|
|
3168
3240
|
this.identify = (uid, traits, options) => __awaiter(this, void 0, void 0, function* () {
|
|
3241
|
+
const result = experience_jsShared.Traits.default({}).safeParse(traits);
|
|
3242
|
+
if (!result.success) {
|
|
3243
|
+
throw new Error(`[Validation Error] "identify" was called with invalid params. Traits are no valid json: ${result.error.format()}`);
|
|
3244
|
+
}
|
|
3169
3245
|
yield this.waitUntilInitialized();
|
|
3170
|
-
|
|
3171
|
-
return this.instance.identify(uid, traits, this.buildOptions(options));
|
|
3246
|
+
return this.instance.identify(uid.toString(), result.data, this.buildOptions(options));
|
|
3172
3247
|
});
|
|
3173
3248
|
this.reset = () => {
|
|
3174
3249
|
this.onIsInitialized(() => {
|
|
@@ -3264,6 +3339,11 @@ class Ninetailed {
|
|
|
3264
3339
|
// put in private method
|
|
3265
3340
|
this.onProfileChange(profileState => {
|
|
3266
3341
|
this._profileState = profileState;
|
|
3342
|
+
if (typeof window !== 'undefined') {
|
|
3343
|
+
window.ninetailed = Object.assign({}, window.ninetailed, {
|
|
3344
|
+
profile: this.profileState.profile
|
|
3345
|
+
});
|
|
3346
|
+
}
|
|
3267
3347
|
});
|
|
3268
3348
|
this.registerWindowHandlers();
|
|
3269
3349
|
}
|
|
@@ -3281,7 +3361,8 @@ class Ninetailed {
|
|
|
3281
3361
|
trackHasSeenComponent: this.trackHasSeenComponent.bind(this),
|
|
3282
3362
|
identify: this.identify.bind(this),
|
|
3283
3363
|
reset: this.reset.bind(this),
|
|
3284
|
-
debug: this.debug.bind(this)
|
|
3364
|
+
debug: this.debug.bind(this),
|
|
3365
|
+
profile: this.profileState.profile
|
|
3285
3366
|
});
|
|
3286
3367
|
}
|
|
3287
3368
|
}
|
|
@@ -3432,25 +3513,7 @@ $$3({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
|
|
|
3432
3513
|
}
|
|
3433
3514
|
});
|
|
3434
3515
|
|
|
3435
|
-
var
|
|
3436
|
-
|
|
3437
|
-
// `RegExp.prototype.flags` getter implementation
|
|
3438
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
3439
|
-
var regexpFlags$1 = function () {
|
|
3440
|
-
var that = anObject$2(this);
|
|
3441
|
-
var result = '';
|
|
3442
|
-
if (that.hasIndices) result += 'd';
|
|
3443
|
-
if (that.global) result += 'g';
|
|
3444
|
-
if (that.ignoreCase) result += 'i';
|
|
3445
|
-
if (that.multiline) result += 'm';
|
|
3446
|
-
if (that.dotAll) result += 's';
|
|
3447
|
-
if (that.unicode) result += 'u';
|
|
3448
|
-
if (that.unicodeSets) result += 'v';
|
|
3449
|
-
if (that.sticky) result += 'y';
|
|
3450
|
-
return result;
|
|
3451
|
-
};
|
|
3452
|
-
|
|
3453
|
-
var fails$6 = fails$l;
|
|
3516
|
+
var fails$6 = fails$m;
|
|
3454
3517
|
var global$4 = global$n;
|
|
3455
3518
|
|
|
3456
3519
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
@@ -3481,7 +3544,7 @@ var regexpStickyHelpers = {
|
|
|
3481
3544
|
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
3482
3545
|
};
|
|
3483
3546
|
|
|
3484
|
-
var fails$5 = fails$
|
|
3547
|
+
var fails$5 = fails$m;
|
|
3485
3548
|
var global$3 = global$n;
|
|
3486
3549
|
|
|
3487
3550
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
@@ -3492,7 +3555,7 @@ var regexpUnsupportedDotAll = fails$5(function () {
|
|
|
3492
3555
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
3493
3556
|
});
|
|
3494
3557
|
|
|
3495
|
-
var fails$4 = fails$
|
|
3558
|
+
var fails$4 = fails$m;
|
|
3496
3559
|
var global$2 = global$n;
|
|
3497
3560
|
|
|
3498
3561
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
@@ -3633,9 +3696,9 @@ $$2({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
|
3633
3696
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
3634
3697
|
|
|
3635
3698
|
var uncurryThis$5 = functionUncurryThisClause;
|
|
3636
|
-
var defineBuiltIn = defineBuiltIn$
|
|
3699
|
+
var defineBuiltIn = defineBuiltIn$7;
|
|
3637
3700
|
var regexpExec$1 = regexpExec$2;
|
|
3638
|
-
var fails$3 = fails$
|
|
3701
|
+
var fails$3 = fails$m;
|
|
3639
3702
|
var wellKnownSymbol$1 = wellKnownSymbol$i;
|
|
3640
3703
|
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
3641
3704
|
|
|
@@ -3795,7 +3858,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
3795
3858
|
};
|
|
3796
3859
|
|
|
3797
3860
|
var call$1 = functionCall;
|
|
3798
|
-
var anObject$1 = anObject$
|
|
3861
|
+
var anObject$1 = anObject$e;
|
|
3799
3862
|
var isCallable$1 = isCallable$m;
|
|
3800
3863
|
var classof = classofRaw$2;
|
|
3801
3864
|
var regexpExec = regexpExec$2;
|
|
@@ -3819,8 +3882,8 @@ var apply = functionApply;
|
|
|
3819
3882
|
var call = functionCall;
|
|
3820
3883
|
var uncurryThis$2 = functionUncurryThis;
|
|
3821
3884
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
3822
|
-
var fails$2 = fails$
|
|
3823
|
-
var anObject = anObject$
|
|
3885
|
+
var fails$2 = fails$m;
|
|
3886
|
+
var anObject = anObject$e;
|
|
3824
3887
|
var isCallable = isCallable$m;
|
|
3825
3888
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
3826
3889
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
@@ -4122,7 +4185,7 @@ var arrayReduce = {
|
|
|
4122
4185
|
right: createMethod$1(true)
|
|
4123
4186
|
};
|
|
4124
4187
|
|
|
4125
|
-
var fails$1 = fails$
|
|
4188
|
+
var fails$1 = fails$m;
|
|
4126
4189
|
|
|
4127
4190
|
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
4128
4191
|
var method = [][METHOD_NAME];
|
|
@@ -4189,7 +4252,7 @@ var stringTrim = {
|
|
|
4189
4252
|
};
|
|
4190
4253
|
|
|
4191
4254
|
var global$1 = global$n;
|
|
4192
|
-
var fails = fails$
|
|
4255
|
+
var fails = fails$m;
|
|
4193
4256
|
var uncurryThis = functionUncurryThis;
|
|
4194
4257
|
var toString = toString$7;
|
|
4195
4258
|
var trim = stringTrim.trim;
|