@dotcms/experiments 0.0.1-beta.4 → 0.0.1-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +870 -615
- package/package.json +4 -4
package/index.esm.js
CHANGED
|
@@ -10,7 +10,7 @@ var check = function (it) {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
13
|
-
var global$
|
|
13
|
+
var global$q =
|
|
14
14
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
15
15
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
16
16
|
check(typeof window == 'object' && window) ||
|
|
@@ -23,7 +23,7 @@ var global$p =
|
|
|
23
23
|
|
|
24
24
|
var objectGetOwnPropertyDescriptor = {};
|
|
25
25
|
|
|
26
|
-
var fails$
|
|
26
|
+
var fails$o = function (exec) {
|
|
27
27
|
try {
|
|
28
28
|
return !!exec();
|
|
29
29
|
} catch (error) {
|
|
@@ -31,17 +31,17 @@ var fails$n = function (exec) {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
var fails$
|
|
34
|
+
var fails$n = fails$o;
|
|
35
35
|
|
|
36
36
|
// Detect IE8's incomplete defineProperty implementation
|
|
37
|
-
var descriptors = !fails$
|
|
37
|
+
var descriptors = !fails$n(function () {
|
|
38
38
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
39
39
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
var fails$
|
|
42
|
+
var fails$m = fails$o;
|
|
43
43
|
|
|
44
|
-
var functionBindNative = !fails$
|
|
44
|
+
var functionBindNative = !fails$m(function () {
|
|
45
45
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
46
46
|
var test = (function () { /* empty */ }).bind();
|
|
47
47
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -50,10 +50,10 @@ var functionBindNative = !fails$l(function () {
|
|
|
50
50
|
|
|
51
51
|
var NATIVE_BIND$3 = functionBindNative;
|
|
52
52
|
|
|
53
|
-
var call$
|
|
53
|
+
var call$q = Function.prototype.call;
|
|
54
54
|
|
|
55
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
56
|
-
return call$
|
|
55
|
+
var functionCall = NATIVE_BIND$3 ? call$q.bind(call$q) : function () {
|
|
56
|
+
return call$q.apply(call$q, arguments);
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
var objectPropertyIsEnumerable = {};
|
|
@@ -84,12 +84,12 @@ var createPropertyDescriptor$6 = function (bitmap, value) {
|
|
|
84
84
|
var NATIVE_BIND$2 = functionBindNative;
|
|
85
85
|
|
|
86
86
|
var FunctionPrototype$2 = Function.prototype;
|
|
87
|
-
var call$
|
|
88
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
87
|
+
var call$p = FunctionPrototype$2.call;
|
|
88
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$p, call$p);
|
|
89
89
|
|
|
90
90
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
91
91
|
return function () {
|
|
92
|
-
return call$
|
|
92
|
+
return call$p.apply(fn, arguments);
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
|
|
@@ -103,14 +103,14 @@ var classofRaw$2 = function (it) {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
var uncurryThis$q = functionUncurryThis;
|
|
106
|
-
var fails$
|
|
106
|
+
var fails$l = fails$o;
|
|
107
107
|
var classof$b = classofRaw$2;
|
|
108
108
|
|
|
109
109
|
var $Object$4 = Object;
|
|
110
110
|
var split$3 = uncurryThis$q(''.split);
|
|
111
111
|
|
|
112
112
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
113
|
-
var indexedObject = fails$
|
|
113
|
+
var indexedObject = fails$l(function () {
|
|
114
114
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
115
115
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
116
116
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -126,12 +126,12 @@ var isNullOrUndefined$5 = function (it) {
|
|
|
126
126
|
|
|
127
127
|
var isNullOrUndefined$4 = isNullOrUndefined$5;
|
|
128
128
|
|
|
129
|
-
var $TypeError$
|
|
129
|
+
var $TypeError$g = TypeError;
|
|
130
130
|
|
|
131
131
|
// `RequireObjectCoercible` abstract operation
|
|
132
132
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
133
133
|
var requireObjectCoercible$6 = function (it) {
|
|
134
|
-
if (isNullOrUndefined$4(it)) throw new $TypeError$
|
|
134
|
+
if (isNullOrUndefined$4(it)) throw new $TypeError$g("Can't call method on " + it);
|
|
135
135
|
return it;
|
|
136
136
|
};
|
|
137
137
|
|
|
@@ -149,27 +149,27 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
149
149
|
// `IsCallable` abstract operation
|
|
150
150
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
151
151
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
152
|
-
var isCallable$
|
|
152
|
+
var isCallable$q = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
153
153
|
return typeof argument == 'function' || argument === documentAll;
|
|
154
154
|
} : function (argument) {
|
|
155
155
|
return typeof argument == 'function';
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
var isCallable$
|
|
158
|
+
var isCallable$p = isCallable$q;
|
|
159
159
|
|
|
160
160
|
var isObject$e = function (it) {
|
|
161
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
161
|
+
return typeof it == 'object' ? it !== null : isCallable$p(it);
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
var global$
|
|
165
|
-
var isCallable$
|
|
164
|
+
var global$p = global$q;
|
|
165
|
+
var isCallable$o = isCallable$q;
|
|
166
166
|
|
|
167
167
|
var aFunction = function (argument) {
|
|
168
|
-
return isCallable$
|
|
168
|
+
return isCallable$o(argument) ? argument : undefined;
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
var getBuiltIn$9 = function (namespace, method) {
|
|
172
|
-
return arguments.length < 2 ? aFunction(global$
|
|
172
|
+
return arguments.length < 2 ? aFunction(global$p[namespace]) : global$p[namespace] && global$p[namespace][method];
|
|
173
173
|
};
|
|
174
174
|
|
|
175
175
|
var uncurryThis$p = functionUncurryThis;
|
|
@@ -178,11 +178,11 @@ var objectIsPrototypeOf = uncurryThis$p({}.isPrototypeOf);
|
|
|
178
178
|
|
|
179
179
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
180
180
|
|
|
181
|
-
var global$
|
|
181
|
+
var global$o = global$q;
|
|
182
182
|
var userAgent$3 = engineUserAgent;
|
|
183
183
|
|
|
184
|
-
var process$3 = global$
|
|
185
|
-
var Deno$1 = global$
|
|
184
|
+
var process$3 = global$o.process;
|
|
185
|
+
var Deno$1 = global$o.Deno;
|
|
186
186
|
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
187
187
|
var v8 = versions && versions.v8;
|
|
188
188
|
var match, version;
|
|
@@ -208,13 +208,13 @@ var engineV8Version = version;
|
|
|
208
208
|
|
|
209
209
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
210
210
|
var V8_VERSION$1 = engineV8Version;
|
|
211
|
-
var fails$
|
|
212
|
-
var global$
|
|
211
|
+
var fails$k = fails$o;
|
|
212
|
+
var global$n = global$q;
|
|
213
213
|
|
|
214
|
-
var $String$6 = global$
|
|
214
|
+
var $String$6 = global$n.String;
|
|
215
215
|
|
|
216
216
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
217
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
217
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
|
|
218
218
|
var symbol = Symbol('symbol detection');
|
|
219
219
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
220
220
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -233,7 +233,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
233
233
|
&& typeof Symbol.iterator == 'symbol';
|
|
234
234
|
|
|
235
235
|
var getBuiltIn$8 = getBuiltIn$9;
|
|
236
|
-
var isCallable$
|
|
236
|
+
var isCallable$n = isCallable$q;
|
|
237
237
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
238
238
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
239
239
|
|
|
@@ -243,7 +243,7 @@ var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
243
243
|
return typeof it == 'symbol';
|
|
244
244
|
} : function (it) {
|
|
245
245
|
var $Symbol = getBuiltIn$8('Symbol');
|
|
246
|
-
return isCallable$
|
|
246
|
+
return isCallable$n($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
var $String$5 = String;
|
|
@@ -256,61 +256,61 @@ var tryToString$4 = function (argument) {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
|
|
259
|
-
var isCallable$
|
|
259
|
+
var isCallable$m = isCallable$q;
|
|
260
260
|
var tryToString$3 = tryToString$4;
|
|
261
261
|
|
|
262
|
-
var $TypeError$
|
|
262
|
+
var $TypeError$f = TypeError;
|
|
263
263
|
|
|
264
264
|
// `Assert: IsCallable(argument) is true`
|
|
265
|
-
var aCallable$
|
|
266
|
-
if (isCallable$
|
|
267
|
-
throw new $TypeError$
|
|
265
|
+
var aCallable$c = function (argument) {
|
|
266
|
+
if (isCallable$m(argument)) return argument;
|
|
267
|
+
throw new $TypeError$f(tryToString$3(argument) + ' is not a function');
|
|
268
268
|
};
|
|
269
269
|
|
|
270
|
-
var aCallable$
|
|
270
|
+
var aCallable$b = aCallable$c;
|
|
271
271
|
var isNullOrUndefined$3 = isNullOrUndefined$5;
|
|
272
272
|
|
|
273
273
|
// `GetMethod` abstract operation
|
|
274
274
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
275
|
-
var getMethod$
|
|
275
|
+
var getMethod$5 = function (V, P) {
|
|
276
276
|
var func = V[P];
|
|
277
|
-
return isNullOrUndefined$3(func) ? undefined : aCallable$
|
|
277
|
+
return isNullOrUndefined$3(func) ? undefined : aCallable$b(func);
|
|
278
278
|
};
|
|
279
279
|
|
|
280
|
-
var call$
|
|
281
|
-
var isCallable$
|
|
280
|
+
var call$o = functionCall;
|
|
281
|
+
var isCallable$l = isCallable$q;
|
|
282
282
|
var isObject$d = isObject$e;
|
|
283
283
|
|
|
284
|
-
var $TypeError$
|
|
284
|
+
var $TypeError$e = TypeError;
|
|
285
285
|
|
|
286
286
|
// `OrdinaryToPrimitive` abstract operation
|
|
287
287
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
288
288
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
289
289
|
var fn, val;
|
|
290
|
-
if (pref === 'string' && isCallable$
|
|
291
|
-
if (isCallable$
|
|
292
|
-
if (pref !== 'string' && isCallable$
|
|
293
|
-
throw new $TypeError$
|
|
290
|
+
if (pref === 'string' && isCallable$l(fn = input.toString) && !isObject$d(val = call$o(fn, input))) return val;
|
|
291
|
+
if (isCallable$l(fn = input.valueOf) && !isObject$d(val = call$o(fn, input))) return val;
|
|
292
|
+
if (pref !== 'string' && isCallable$l(fn = input.toString) && !isObject$d(val = call$o(fn, input))) return val;
|
|
293
|
+
throw new $TypeError$e("Can't convert object to primitive value");
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
var sharedStore = {exports: {}};
|
|
297
297
|
|
|
298
298
|
var isPure = false;
|
|
299
299
|
|
|
300
|
-
var global$
|
|
300
|
+
var global$m = global$q;
|
|
301
301
|
|
|
302
302
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
303
303
|
var defineProperty$7 = Object.defineProperty;
|
|
304
304
|
|
|
305
305
|
var defineGlobalProperty$3 = function (key, value) {
|
|
306
306
|
try {
|
|
307
|
-
defineProperty$7(global$
|
|
307
|
+
defineProperty$7(global$m, key, { value: value, configurable: true, writable: true });
|
|
308
308
|
} catch (error) {
|
|
309
|
-
global$
|
|
309
|
+
global$m[key] = value;
|
|
310
310
|
} return value;
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
-
var globalThis$1 = global$
|
|
313
|
+
var globalThis$1 = global$q;
|
|
314
314
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
315
315
|
|
|
316
316
|
var SHARED = '__core-js_shared__';
|
|
@@ -364,46 +364,46 @@ var uid$2 = function (key) {
|
|
|
364
364
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$c(++id + postfix, 36);
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
var global$
|
|
367
|
+
var global$l = global$q;
|
|
368
368
|
var shared$3 = shared$4;
|
|
369
|
-
var hasOwn$
|
|
369
|
+
var hasOwn$f = hasOwnProperty_1;
|
|
370
370
|
var uid$1 = uid$2;
|
|
371
371
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
372
372
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
373
373
|
|
|
374
|
-
var Symbol$1 = global$
|
|
374
|
+
var Symbol$1 = global$l.Symbol;
|
|
375
375
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
376
376
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
377
377
|
|
|
378
|
-
var wellKnownSymbol$
|
|
379
|
-
if (!hasOwn$
|
|
380
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$
|
|
378
|
+
var wellKnownSymbol$m = function (name) {
|
|
379
|
+
if (!hasOwn$f(WellKnownSymbolsStore, name)) {
|
|
380
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$f(Symbol$1, name)
|
|
381
381
|
? Symbol$1[name]
|
|
382
382
|
: createWellKnownSymbol('Symbol.' + name);
|
|
383
383
|
} return WellKnownSymbolsStore[name];
|
|
384
384
|
};
|
|
385
385
|
|
|
386
|
-
var call$
|
|
386
|
+
var call$n = functionCall;
|
|
387
387
|
var isObject$c = isObject$e;
|
|
388
388
|
var isSymbol$2 = isSymbol$3;
|
|
389
|
-
var getMethod$
|
|
389
|
+
var getMethod$4 = getMethod$5;
|
|
390
390
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
391
|
-
var wellKnownSymbol$
|
|
391
|
+
var wellKnownSymbol$l = wellKnownSymbol$m;
|
|
392
392
|
|
|
393
|
-
var $TypeError$
|
|
394
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
393
|
+
var $TypeError$d = TypeError;
|
|
394
|
+
var TO_PRIMITIVE = wellKnownSymbol$l('toPrimitive');
|
|
395
395
|
|
|
396
396
|
// `ToPrimitive` abstract operation
|
|
397
397
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
398
398
|
var toPrimitive$1 = function (input, pref) {
|
|
399
399
|
if (!isObject$c(input) || isSymbol$2(input)) return input;
|
|
400
|
-
var exoticToPrim = getMethod$
|
|
400
|
+
var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
|
|
401
401
|
var result;
|
|
402
402
|
if (exoticToPrim) {
|
|
403
403
|
if (pref === undefined) pref = 'default';
|
|
404
|
-
result = call$
|
|
404
|
+
result = call$n(exoticToPrim, input, pref);
|
|
405
405
|
if (!isObject$c(result) || isSymbol$2(result)) return result;
|
|
406
|
-
throw new $TypeError$
|
|
406
|
+
throw new $TypeError$d("Can't convert object to primitive value");
|
|
407
407
|
}
|
|
408
408
|
if (pref === undefined) pref = 'number';
|
|
409
409
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -419,10 +419,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
419
419
|
return isSymbol$1(key) ? key : key + '';
|
|
420
420
|
};
|
|
421
421
|
|
|
422
|
-
var global$
|
|
422
|
+
var global$k = global$q;
|
|
423
423
|
var isObject$b = isObject$e;
|
|
424
424
|
|
|
425
|
-
var document$3 = global$
|
|
425
|
+
var document$3 = global$k.document;
|
|
426
426
|
// typeof document.createElement is 'object' in old IE
|
|
427
427
|
var EXISTS$1 = isObject$b(document$3) && isObject$b(document$3.createElement);
|
|
428
428
|
|
|
@@ -430,25 +430,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
430
430
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
431
431
|
};
|
|
432
432
|
|
|
433
|
-
var DESCRIPTORS$
|
|
434
|
-
var fails$
|
|
433
|
+
var DESCRIPTORS$k = descriptors;
|
|
434
|
+
var fails$j = fails$o;
|
|
435
435
|
var createElement$1 = documentCreateElement$2;
|
|
436
436
|
|
|
437
437
|
// Thanks to IE8 for its funny defineProperty
|
|
438
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
438
|
+
var ie8DomDefine = !DESCRIPTORS$k && !fails$j(function () {
|
|
439
439
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
440
440
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
441
441
|
get: function () { return 7; }
|
|
442
442
|
}).a !== 7;
|
|
443
443
|
});
|
|
444
444
|
|
|
445
|
-
var DESCRIPTORS$
|
|
446
|
-
var call$
|
|
445
|
+
var DESCRIPTORS$j = descriptors;
|
|
446
|
+
var call$m = functionCall;
|
|
447
447
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
448
448
|
var createPropertyDescriptor$5 = createPropertyDescriptor$6;
|
|
449
449
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
450
450
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
451
|
-
var hasOwn$
|
|
451
|
+
var hasOwn$e = hasOwnProperty_1;
|
|
452
452
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
453
453
|
|
|
454
454
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -456,23 +456,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
456
456
|
|
|
457
457
|
// `Object.getOwnPropertyDescriptor` method
|
|
458
458
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
459
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
459
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$j ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
460
460
|
O = toIndexedObject$4(O);
|
|
461
461
|
P = toPropertyKey$1(P);
|
|
462
462
|
if (IE8_DOM_DEFINE$1) try {
|
|
463
463
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
464
464
|
} catch (error) { /* empty */ }
|
|
465
|
-
if (hasOwn$
|
|
465
|
+
if (hasOwn$e(O, P)) return createPropertyDescriptor$5(!call$m(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
466
466
|
};
|
|
467
467
|
|
|
468
468
|
var objectDefineProperty = {};
|
|
469
469
|
|
|
470
|
-
var DESCRIPTORS$
|
|
471
|
-
var fails$
|
|
470
|
+
var DESCRIPTORS$i = descriptors;
|
|
471
|
+
var fails$i = fails$o;
|
|
472
472
|
|
|
473
473
|
// V8 ~ Chrome 36-
|
|
474
474
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
475
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
475
|
+
var v8PrototypeDefineBug = DESCRIPTORS$i && fails$i(function () {
|
|
476
476
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
477
477
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
478
478
|
value: 42,
|
|
@@ -483,21 +483,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$h && fails$h(function () {
|
|
|
483
483
|
var isObject$a = isObject$e;
|
|
484
484
|
|
|
485
485
|
var $String$4 = String;
|
|
486
|
-
var $TypeError$
|
|
486
|
+
var $TypeError$c = TypeError;
|
|
487
487
|
|
|
488
488
|
// `Assert: Type(argument) is Object`
|
|
489
|
-
var anObject$
|
|
489
|
+
var anObject$l = function (argument) {
|
|
490
490
|
if (isObject$a(argument)) return argument;
|
|
491
|
-
throw new $TypeError$
|
|
491
|
+
throw new $TypeError$c($String$4(argument) + ' is not an object');
|
|
492
492
|
};
|
|
493
493
|
|
|
494
|
-
var DESCRIPTORS$
|
|
494
|
+
var DESCRIPTORS$h = descriptors;
|
|
495
495
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
496
496
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
497
|
-
var anObject$
|
|
497
|
+
var anObject$k = anObject$l;
|
|
498
498
|
var toPropertyKey = toPropertyKey$2;
|
|
499
499
|
|
|
500
|
-
var $TypeError$
|
|
500
|
+
var $TypeError$b = TypeError;
|
|
501
501
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
502
502
|
var $defineProperty = Object.defineProperty;
|
|
503
503
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -508,10 +508,10 @@ var WRITABLE = 'writable';
|
|
|
508
508
|
|
|
509
509
|
// `Object.defineProperty` method
|
|
510
510
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
511
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
512
|
-
anObject$
|
|
511
|
+
objectDefineProperty.f = DESCRIPTORS$h ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
512
|
+
anObject$k(O);
|
|
513
513
|
P = toPropertyKey(P);
|
|
514
|
-
anObject$
|
|
514
|
+
anObject$k(Attributes);
|
|
515
515
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
516
516
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
517
517
|
if (current && current[WRITABLE]) {
|
|
@@ -524,22 +524,22 @@ objectDefineProperty.f = DESCRIPTORS$g ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
524
524
|
}
|
|
525
525
|
} return $defineProperty(O, P, Attributes);
|
|
526
526
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
527
|
-
anObject$
|
|
527
|
+
anObject$k(O);
|
|
528
528
|
P = toPropertyKey(P);
|
|
529
|
-
anObject$
|
|
529
|
+
anObject$k(Attributes);
|
|
530
530
|
if (IE8_DOM_DEFINE) try {
|
|
531
531
|
return $defineProperty(O, P, Attributes);
|
|
532
532
|
} catch (error) { /* empty */ }
|
|
533
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
533
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$b('Accessors not supported');
|
|
534
534
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
535
535
|
return O;
|
|
536
536
|
};
|
|
537
537
|
|
|
538
|
-
var DESCRIPTORS$
|
|
538
|
+
var DESCRIPTORS$g = descriptors;
|
|
539
539
|
var definePropertyModule$4 = objectDefineProperty;
|
|
540
540
|
var createPropertyDescriptor$4 = createPropertyDescriptor$6;
|
|
541
541
|
|
|
542
|
-
var createNonEnumerableProperty$
|
|
542
|
+
var createNonEnumerableProperty$a = DESCRIPTORS$g ? function (object, key, value) {
|
|
543
543
|
return definePropertyModule$4.f(object, key, createPropertyDescriptor$4(1, value));
|
|
544
544
|
} : function (object, key, value) {
|
|
545
545
|
object[key] = value;
|
|
@@ -548,32 +548,31 @@ var createNonEnumerableProperty$9 = DESCRIPTORS$f ? function (object, key, value
|
|
|
548
548
|
|
|
549
549
|
var makeBuiltIn$3 = {exports: {}};
|
|
550
550
|
|
|
551
|
-
var DESCRIPTORS$
|
|
552
|
-
var hasOwn$
|
|
551
|
+
var DESCRIPTORS$f = descriptors;
|
|
552
|
+
var hasOwn$d = hasOwnProperty_1;
|
|
553
553
|
|
|
554
554
|
var FunctionPrototype$1 = Function.prototype;
|
|
555
555
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
556
|
-
var getDescriptor = DESCRIPTORS$
|
|
556
|
+
var getDescriptor = DESCRIPTORS$f && Object.getOwnPropertyDescriptor;
|
|
557
557
|
|
|
558
|
-
var EXISTS = hasOwn$
|
|
558
|
+
var EXISTS = hasOwn$d(FunctionPrototype$1, 'name');
|
|
559
559
|
// additional protection from minified / mangled / dropped function names
|
|
560
560
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
561
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
561
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$f || (DESCRIPTORS$f && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
562
562
|
|
|
563
563
|
var functionName = {
|
|
564
|
-
EXISTS: EXISTS,
|
|
565
564
|
PROPER: PROPER,
|
|
566
565
|
CONFIGURABLE: CONFIGURABLE
|
|
567
566
|
};
|
|
568
567
|
|
|
569
568
|
var uncurryThis$m = functionUncurryThis;
|
|
570
|
-
var isCallable$
|
|
569
|
+
var isCallable$k = isCallable$q;
|
|
571
570
|
var store$1 = sharedStoreExports;
|
|
572
571
|
|
|
573
572
|
var functionToString = uncurryThis$m(Function.toString);
|
|
574
573
|
|
|
575
574
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
576
|
-
if (!isCallable$
|
|
575
|
+
if (!isCallable$k(store$1.inspectSource)) {
|
|
577
576
|
store$1.inspectSource = function (it) {
|
|
578
577
|
return functionToString(it);
|
|
579
578
|
};
|
|
@@ -581,12 +580,12 @@ if (!isCallable$j(store$1.inspectSource)) {
|
|
|
581
580
|
|
|
582
581
|
var inspectSource$3 = store$1.inspectSource;
|
|
583
582
|
|
|
584
|
-
var global$
|
|
585
|
-
var isCallable$
|
|
583
|
+
var global$j = global$q;
|
|
584
|
+
var isCallable$j = isCallable$q;
|
|
586
585
|
|
|
587
|
-
var WeakMap$1 = global$
|
|
586
|
+
var WeakMap$1 = global$j.WeakMap;
|
|
588
587
|
|
|
589
|
-
var weakMapBasicDetection = isCallable$
|
|
588
|
+
var weakMapBasicDetection = isCallable$j(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
590
589
|
|
|
591
590
|
var shared$2 = shared$4;
|
|
592
591
|
var uid = uid$2;
|
|
@@ -600,17 +599,17 @@ var sharedKey$3 = function (key) {
|
|
|
600
599
|
var hiddenKeys$4 = {};
|
|
601
600
|
|
|
602
601
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
603
|
-
var global$
|
|
602
|
+
var global$i = global$q;
|
|
604
603
|
var isObject$9 = isObject$e;
|
|
605
|
-
var createNonEnumerableProperty$
|
|
606
|
-
var hasOwn$
|
|
604
|
+
var createNonEnumerableProperty$9 = createNonEnumerableProperty$a;
|
|
605
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
607
606
|
var shared$1 = sharedStoreExports;
|
|
608
607
|
var sharedKey$2 = sharedKey$3;
|
|
609
608
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
610
609
|
|
|
611
610
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
612
|
-
var TypeError$4 = global$
|
|
613
|
-
var WeakMap = global$
|
|
611
|
+
var TypeError$4 = global$i.TypeError;
|
|
612
|
+
var WeakMap = global$i.WeakMap;
|
|
614
613
|
var set$1, get, has;
|
|
615
614
|
|
|
616
615
|
var enforce = function (it) {
|
|
@@ -649,16 +648,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
649
648
|
var STATE = sharedKey$2('state');
|
|
650
649
|
hiddenKeys$3[STATE] = true;
|
|
651
650
|
set$1 = function (it, metadata) {
|
|
652
|
-
if (hasOwn$
|
|
651
|
+
if (hasOwn$c(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
|
|
653
652
|
metadata.facade = it;
|
|
654
|
-
createNonEnumerableProperty$
|
|
653
|
+
createNonEnumerableProperty$9(it, STATE, metadata);
|
|
655
654
|
return metadata;
|
|
656
655
|
};
|
|
657
656
|
get = function (it) {
|
|
658
|
-
return hasOwn$
|
|
657
|
+
return hasOwn$c(it, STATE) ? it[STATE] : {};
|
|
659
658
|
};
|
|
660
659
|
has = function (it) {
|
|
661
|
-
return hasOwn$
|
|
660
|
+
return hasOwn$c(it, STATE);
|
|
662
661
|
};
|
|
663
662
|
}
|
|
664
663
|
|
|
@@ -671,16 +670,16 @@ var internalState = {
|
|
|
671
670
|
};
|
|
672
671
|
|
|
673
672
|
var uncurryThis$l = functionUncurryThis;
|
|
674
|
-
var fails$
|
|
675
|
-
var isCallable$
|
|
676
|
-
var hasOwn$
|
|
677
|
-
var DESCRIPTORS$
|
|
673
|
+
var fails$h = fails$o;
|
|
674
|
+
var isCallable$i = isCallable$q;
|
|
675
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
676
|
+
var DESCRIPTORS$e = descriptors;
|
|
678
677
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
679
678
|
var inspectSource$2 = inspectSource$3;
|
|
680
|
-
var InternalStateModule$
|
|
679
|
+
var InternalStateModule$6 = internalState;
|
|
681
680
|
|
|
682
|
-
var enforceInternalState$1 = InternalStateModule$
|
|
683
|
-
var getInternalState$4 = InternalStateModule$
|
|
681
|
+
var enforceInternalState$1 = InternalStateModule$6.enforce;
|
|
682
|
+
var getInternalState$4 = InternalStateModule$6.get;
|
|
684
683
|
var $String$3 = String;
|
|
685
684
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
686
685
|
var defineProperty$6 = Object.defineProperty;
|
|
@@ -688,7 +687,7 @@ var stringSlice$5 = uncurryThis$l(''.slice);
|
|
|
688
687
|
var replace$7 = uncurryThis$l(''.replace);
|
|
689
688
|
var join$3 = uncurryThis$l([].join);
|
|
690
689
|
|
|
691
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
690
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$e && !fails$h(function () {
|
|
692
691
|
return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
693
692
|
});
|
|
694
693
|
|
|
@@ -700,21 +699,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
700
699
|
}
|
|
701
700
|
if (options && options.getter) name = 'get ' + name;
|
|
702
701
|
if (options && options.setter) name = 'set ' + name;
|
|
703
|
-
if (!hasOwn$
|
|
704
|
-
if (DESCRIPTORS$
|
|
702
|
+
if (!hasOwn$b(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
703
|
+
if (DESCRIPTORS$e) defineProperty$6(value, 'name', { value: name, configurable: true });
|
|
705
704
|
else value.name = name;
|
|
706
705
|
}
|
|
707
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
706
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$b(options, 'arity') && value.length !== options.arity) {
|
|
708
707
|
defineProperty$6(value, 'length', { value: options.arity });
|
|
709
708
|
}
|
|
710
709
|
try {
|
|
711
|
-
if (options && hasOwn$
|
|
712
|
-
if (DESCRIPTORS$
|
|
710
|
+
if (options && hasOwn$b(options, 'constructor') && options.constructor) {
|
|
711
|
+
if (DESCRIPTORS$e) defineProperty$6(value, 'prototype', { writable: false });
|
|
713
712
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
714
713
|
} else if (value.prototype) value.prototype = undefined;
|
|
715
714
|
} catch (error) { /* empty */ }
|
|
716
715
|
var state = enforceInternalState$1(value);
|
|
717
|
-
if (!hasOwn$
|
|
716
|
+
if (!hasOwn$b(state, 'source')) {
|
|
718
717
|
state.source = join$3(TEMPLATE, typeof name == 'string' ? name : '');
|
|
719
718
|
} return value;
|
|
720
719
|
};
|
|
@@ -722,12 +721,12 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
722
721
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
723
722
|
// eslint-disable-next-line no-extend-native -- required
|
|
724
723
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
725
|
-
return isCallable$
|
|
724
|
+
return isCallable$i(this) && getInternalState$4(this).source || inspectSource$2(this);
|
|
726
725
|
}, 'toString');
|
|
727
726
|
|
|
728
727
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
729
728
|
|
|
730
|
-
var isCallable$
|
|
729
|
+
var isCallable$h = isCallable$q;
|
|
731
730
|
var definePropertyModule$3 = objectDefineProperty;
|
|
732
731
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
733
732
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -736,7 +735,7 @@ var defineBuiltIn$d = function (O, key, value, options) {
|
|
|
736
735
|
if (!options) options = {};
|
|
737
736
|
var simple = options.enumerable;
|
|
738
737
|
var name = options.name !== undefined ? options.name : key;
|
|
739
|
-
if (isCallable$
|
|
738
|
+
if (isCallable$h(value)) makeBuiltIn$1(value, name, options);
|
|
740
739
|
if (options.global) {
|
|
741
740
|
if (simple) O[key] = value;
|
|
742
741
|
else defineGlobalProperty$1(key, value);
|
|
@@ -845,7 +844,7 @@ var arrayIncludes = {
|
|
|
845
844
|
};
|
|
846
845
|
|
|
847
846
|
var uncurryThis$k = functionUncurryThis;
|
|
848
|
-
var hasOwn$
|
|
847
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
849
848
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
850
849
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
851
850
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -857,9 +856,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
857
856
|
var i = 0;
|
|
858
857
|
var result = [];
|
|
859
858
|
var key;
|
|
860
|
-
for (key in O) !hasOwn$
|
|
859
|
+
for (key in O) !hasOwn$a(hiddenKeys$2, key) && hasOwn$a(O, key) && push$5(result, key);
|
|
861
860
|
// Don't enum bug & hidden keys
|
|
862
|
-
while (names.length > i) if (hasOwn$
|
|
861
|
+
while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
|
|
863
862
|
~indexOf$1(result, key) || push$5(result, key);
|
|
864
863
|
}
|
|
865
864
|
return result;
|
|
@@ -897,18 +896,18 @@ var getBuiltIn$7 = getBuiltIn$9;
|
|
|
897
896
|
var uncurryThis$j = functionUncurryThis;
|
|
898
897
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
899
898
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
900
|
-
var anObject$
|
|
899
|
+
var anObject$j = anObject$l;
|
|
901
900
|
|
|
902
901
|
var concat$1 = uncurryThis$j([].concat);
|
|
903
902
|
|
|
904
903
|
// all object keys, includes non-enumerable and symbols
|
|
905
904
|
var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
906
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
905
|
+
var keys = getOwnPropertyNamesModule.f(anObject$j(it));
|
|
907
906
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
908
907
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
909
908
|
};
|
|
910
909
|
|
|
911
|
-
var hasOwn$
|
|
910
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
912
911
|
var ownKeys = ownKeys$1;
|
|
913
912
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
914
913
|
var definePropertyModule$2 = objectDefineProperty;
|
|
@@ -919,14 +918,14 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
|
919
918
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
920
919
|
for (var i = 0; i < keys.length; i++) {
|
|
921
920
|
var key = keys[i];
|
|
922
|
-
if (!hasOwn$
|
|
921
|
+
if (!hasOwn$9(target, key) && !(exceptions && hasOwn$9(exceptions, key))) {
|
|
923
922
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
924
923
|
}
|
|
925
924
|
}
|
|
926
925
|
};
|
|
927
926
|
|
|
928
|
-
var fails$
|
|
929
|
-
var isCallable$
|
|
927
|
+
var fails$g = fails$o;
|
|
928
|
+
var isCallable$g = isCallable$q;
|
|
930
929
|
|
|
931
930
|
var replacement = /#|\.prototype\./;
|
|
932
931
|
|
|
@@ -934,7 +933,7 @@ var isForced$3 = function (feature, detection) {
|
|
|
934
933
|
var value = data[normalize(feature)];
|
|
935
934
|
return value === POLYFILL ? true
|
|
936
935
|
: value === NATIVE ? false
|
|
937
|
-
: isCallable$
|
|
936
|
+
: isCallable$g(detection) ? fails$g(detection)
|
|
938
937
|
: !!detection;
|
|
939
938
|
};
|
|
940
939
|
|
|
@@ -948,9 +947,9 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
948
947
|
|
|
949
948
|
var isForced_1 = isForced$3;
|
|
950
949
|
|
|
951
|
-
var global$
|
|
950
|
+
var global$h = global$q;
|
|
952
951
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
953
|
-
var createNonEnumerableProperty$
|
|
952
|
+
var createNonEnumerableProperty$8 = createNonEnumerableProperty$a;
|
|
954
953
|
var defineBuiltIn$c = defineBuiltIn$d;
|
|
955
954
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
956
955
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
@@ -977,11 +976,11 @@ var _export = function (options, source) {
|
|
|
977
976
|
var STATIC = options.stat;
|
|
978
977
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
979
978
|
if (GLOBAL) {
|
|
980
|
-
target = global$
|
|
979
|
+
target = global$h;
|
|
981
980
|
} else if (STATIC) {
|
|
982
|
-
target = global$
|
|
981
|
+
target = global$h[TARGET] || defineGlobalProperty(TARGET, {});
|
|
983
982
|
} else {
|
|
984
|
-
target = global$
|
|
983
|
+
target = global$h[TARGET] && global$h[TARGET].prototype;
|
|
985
984
|
}
|
|
986
985
|
if (target) for (key in source) {
|
|
987
986
|
sourceProperty = source[key];
|
|
@@ -997,7 +996,7 @@ var _export = function (options, source) {
|
|
|
997
996
|
}
|
|
998
997
|
// add a flag to not completely full polyfills
|
|
999
998
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1000
|
-
createNonEnumerableProperty$
|
|
999
|
+
createNonEnumerableProperty$8(sourceProperty, 'sham', true);
|
|
1001
1000
|
}
|
|
1002
1001
|
defineBuiltIn$c(target, key, sourceProperty, options);
|
|
1003
1002
|
}
|
|
@@ -1013,10 +1012,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1013
1012
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1014
1013
|
};
|
|
1015
1014
|
|
|
1016
|
-
var DESCRIPTORS$
|
|
1015
|
+
var DESCRIPTORS$d = descriptors;
|
|
1017
1016
|
var uncurryThis$i = functionUncurryThis;
|
|
1018
|
-
var call$
|
|
1019
|
-
var fails$
|
|
1017
|
+
var call$l = functionCall;
|
|
1018
|
+
var fails$f = fails$o;
|
|
1020
1019
|
var objectKeys$1 = objectKeys$2;
|
|
1021
1020
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1022
1021
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1031,9 +1030,9 @@ var concat = uncurryThis$i([].concat);
|
|
|
1031
1030
|
|
|
1032
1031
|
// `Object.assign` method
|
|
1033
1032
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1034
|
-
var objectAssign = !$assign || fails$
|
|
1033
|
+
var objectAssign = !$assign || fails$f(function () {
|
|
1035
1034
|
// should have correct order of operations (Edge bug)
|
|
1036
|
-
if (DESCRIPTORS$
|
|
1035
|
+
if (DESCRIPTORS$d && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
|
|
1037
1036
|
enumerable: true,
|
|
1038
1037
|
get: function () {
|
|
1039
1038
|
defineProperty$5(this, 'b', {
|
|
@@ -1065,18 +1064,18 @@ var objectAssign = !$assign || fails$e(function () {
|
|
|
1065
1064
|
var key;
|
|
1066
1065
|
while (length > j) {
|
|
1067
1066
|
key = keys[j++];
|
|
1068
|
-
if (!DESCRIPTORS$
|
|
1067
|
+
if (!DESCRIPTORS$d || call$l(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1069
1068
|
}
|
|
1070
1069
|
} return T;
|
|
1071
1070
|
} : $assign;
|
|
1072
1071
|
|
|
1073
|
-
var $$
|
|
1072
|
+
var $$l = _export;
|
|
1074
1073
|
var assign$1 = objectAssign;
|
|
1075
1074
|
|
|
1076
1075
|
// `Object.assign` method
|
|
1077
1076
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1078
1077
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1079
|
-
$$
|
|
1078
|
+
$$l({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
|
1080
1079
|
assign: assign$1
|
|
1081
1080
|
});
|
|
1082
1081
|
|
|
@@ -1084,7 +1083,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
1084
1083
|
if (null == r) return {};
|
|
1085
1084
|
var t = {};
|
|
1086
1085
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
1087
|
-
if (e.
|
|
1086
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
1088
1087
|
t[n] = r[n];
|
|
1089
1088
|
}
|
|
1090
1089
|
return t;
|
|
@@ -1092,18 +1091,18 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
1092
1091
|
|
|
1093
1092
|
var objectDefineProperties = {};
|
|
1094
1093
|
|
|
1095
|
-
var DESCRIPTORS$
|
|
1094
|
+
var DESCRIPTORS$c = descriptors;
|
|
1096
1095
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1097
1096
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1098
|
-
var anObject$
|
|
1097
|
+
var anObject$i = anObject$l;
|
|
1099
1098
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1100
1099
|
var objectKeys = objectKeys$2;
|
|
1101
1100
|
|
|
1102
1101
|
// `Object.defineProperties` method
|
|
1103
1102
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1104
1103
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1105
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1106
|
-
anObject$
|
|
1104
|
+
objectDefineProperties.f = DESCRIPTORS$c && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1105
|
+
anObject$i(O);
|
|
1107
1106
|
var props = toIndexedObject$1(Properties);
|
|
1108
1107
|
var keys = objectKeys(Properties);
|
|
1109
1108
|
var length = keys.length;
|
|
@@ -1118,7 +1117,7 @@ var getBuiltIn$6 = getBuiltIn$9;
|
|
|
1118
1117
|
var html$2 = getBuiltIn$6('document', 'documentElement');
|
|
1119
1118
|
|
|
1120
1119
|
/* global ActiveXObject -- old IE, WSH */
|
|
1121
|
-
var anObject$
|
|
1120
|
+
var anObject$h = anObject$l;
|
|
1122
1121
|
var definePropertiesModule = objectDefineProperties;
|
|
1123
1122
|
var enumBugKeys = enumBugKeys$3;
|
|
1124
1123
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1192,7 +1191,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1192
1191
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1193
1192
|
var result;
|
|
1194
1193
|
if (O !== null) {
|
|
1195
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1194
|
+
EmptyConstructor[PROTOTYPE] = anObject$h(O);
|
|
1196
1195
|
result = new EmptyConstructor();
|
|
1197
1196
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1198
1197
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1201,11 +1200,11 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1201
1200
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1202
1201
|
};
|
|
1203
1202
|
|
|
1204
|
-
var wellKnownSymbol$
|
|
1205
|
-
var create$
|
|
1203
|
+
var wellKnownSymbol$k = wellKnownSymbol$m;
|
|
1204
|
+
var create$5 = objectCreate;
|
|
1206
1205
|
var defineProperty$4 = objectDefineProperty.f;
|
|
1207
1206
|
|
|
1208
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
1207
|
+
var UNSCOPABLES = wellKnownSymbol$k('unscopables');
|
|
1209
1208
|
var ArrayPrototype$1 = Array.prototype;
|
|
1210
1209
|
|
|
1211
1210
|
// Array.prototype[@@unscopables]
|
|
@@ -1213,7 +1212,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
|
1213
1212
|
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
1214
1213
|
defineProperty$4(ArrayPrototype$1, UNSCOPABLES, {
|
|
1215
1214
|
configurable: true,
|
|
1216
|
-
value: create$
|
|
1215
|
+
value: create$5(null)
|
|
1217
1216
|
});
|
|
1218
1217
|
}
|
|
1219
1218
|
|
|
@@ -1224,17 +1223,17 @@ var addToUnscopables$2 = function (key) {
|
|
|
1224
1223
|
|
|
1225
1224
|
var iterators = {};
|
|
1226
1225
|
|
|
1227
|
-
var fails$
|
|
1226
|
+
var fails$e = fails$o;
|
|
1228
1227
|
|
|
1229
|
-
var correctPrototypeGetter = !fails$
|
|
1228
|
+
var correctPrototypeGetter = !fails$e(function () {
|
|
1230
1229
|
function F() { /* empty */ }
|
|
1231
1230
|
F.prototype.constructor = null;
|
|
1232
1231
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1233
1232
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1234
1233
|
});
|
|
1235
1234
|
|
|
1236
|
-
var hasOwn$
|
|
1237
|
-
var isCallable$
|
|
1235
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
1236
|
+
var isCallable$f = isCallable$q;
|
|
1238
1237
|
var toObject$1 = toObject$4;
|
|
1239
1238
|
var sharedKey = sharedKey$3;
|
|
1240
1239
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1248,26 +1247,26 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1248
1247
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1249
1248
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1250
1249
|
var object = toObject$1(O);
|
|
1251
|
-
if (hasOwn$
|
|
1250
|
+
if (hasOwn$8(object, IE_PROTO)) return object[IE_PROTO];
|
|
1252
1251
|
var constructor = object.constructor;
|
|
1253
|
-
if (isCallable$
|
|
1252
|
+
if (isCallable$f(constructor) && object instanceof constructor) {
|
|
1254
1253
|
return constructor.prototype;
|
|
1255
1254
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1256
1255
|
};
|
|
1257
1256
|
|
|
1258
|
-
var fails$
|
|
1259
|
-
var isCallable$
|
|
1257
|
+
var fails$d = fails$o;
|
|
1258
|
+
var isCallable$e = isCallable$q;
|
|
1260
1259
|
var isObject$8 = isObject$e;
|
|
1261
|
-
var getPrototypeOf$
|
|
1260
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1262
1261
|
var defineBuiltIn$b = defineBuiltIn$d;
|
|
1263
|
-
var wellKnownSymbol$
|
|
1262
|
+
var wellKnownSymbol$j = wellKnownSymbol$m;
|
|
1264
1263
|
|
|
1265
|
-
var ITERATOR$
|
|
1264
|
+
var ITERATOR$8 = wellKnownSymbol$j('iterator');
|
|
1266
1265
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1267
1266
|
|
|
1268
1267
|
// `%IteratorPrototype%` object
|
|
1269
1268
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1270
|
-
var IteratorPrototype$
|
|
1269
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1271
1270
|
|
|
1272
1271
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1273
1272
|
if ([].keys) {
|
|
@@ -1275,47 +1274,47 @@ if ([].keys) {
|
|
|
1275
1274
|
// Safari 8 has buggy iterators w/o `next`
|
|
1276
1275
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1277
1276
|
else {
|
|
1278
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1279
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1277
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1278
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1280
1279
|
}
|
|
1281
1280
|
}
|
|
1282
1281
|
|
|
1283
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$8(IteratorPrototype$
|
|
1282
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$8(IteratorPrototype$4) || fails$d(function () {
|
|
1284
1283
|
var test = {};
|
|
1285
1284
|
// FF44- legacy iterators case
|
|
1286
|
-
return IteratorPrototype$
|
|
1285
|
+
return IteratorPrototype$4[ITERATOR$8].call(test) !== test;
|
|
1287
1286
|
});
|
|
1288
1287
|
|
|
1289
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1288
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1290
1289
|
|
|
1291
1290
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1292
1291
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1293
|
-
if (!isCallable$
|
|
1294
|
-
defineBuiltIn$b(IteratorPrototype$
|
|
1292
|
+
if (!isCallable$e(IteratorPrototype$4[ITERATOR$8])) {
|
|
1293
|
+
defineBuiltIn$b(IteratorPrototype$4, ITERATOR$8, function () {
|
|
1295
1294
|
return this;
|
|
1296
1295
|
});
|
|
1297
1296
|
}
|
|
1298
1297
|
|
|
1299
1298
|
var iteratorsCore = {
|
|
1300
|
-
IteratorPrototype: IteratorPrototype$
|
|
1299
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1301
1300
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1302
1301
|
};
|
|
1303
1302
|
|
|
1304
1303
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1305
|
-
var hasOwn$
|
|
1306
|
-
var wellKnownSymbol$
|
|
1304
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
1305
|
+
var wellKnownSymbol$i = wellKnownSymbol$m;
|
|
1307
1306
|
|
|
1308
|
-
var TO_STRING_TAG$
|
|
1307
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$i('toStringTag');
|
|
1309
1308
|
|
|
1310
1309
|
var setToStringTag$6 = function (target, TAG, STATIC) {
|
|
1311
1310
|
if (target && !STATIC) target = target.prototype;
|
|
1312
|
-
if (target && !hasOwn$
|
|
1313
|
-
defineProperty$3(target, TO_STRING_TAG$
|
|
1311
|
+
if (target && !hasOwn$7(target, TO_STRING_TAG$4)) {
|
|
1312
|
+
defineProperty$3(target, TO_STRING_TAG$4, { configurable: true, value: TAG });
|
|
1314
1313
|
}
|
|
1315
1314
|
};
|
|
1316
1315
|
|
|
1317
|
-
var IteratorPrototype$
|
|
1318
|
-
var create$
|
|
1316
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1317
|
+
var create$4 = objectCreate;
|
|
1319
1318
|
var createPropertyDescriptor$3 = createPropertyDescriptor$6;
|
|
1320
1319
|
var setToStringTag$5 = setToStringTag$6;
|
|
1321
1320
|
var Iterators$4 = iterators;
|
|
@@ -1324,19 +1323,19 @@ var returnThis$1 = function () { return this; };
|
|
|
1324
1323
|
|
|
1325
1324
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1326
1325
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1327
|
-
IteratorConstructor.prototype = create$
|
|
1326
|
+
IteratorConstructor.prototype = create$4(IteratorPrototype$3, { next: createPropertyDescriptor$3(+!ENUMERABLE_NEXT, next) });
|
|
1328
1327
|
setToStringTag$5(IteratorConstructor, TO_STRING_TAG, false);
|
|
1329
1328
|
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1330
1329
|
return IteratorConstructor;
|
|
1331
1330
|
};
|
|
1332
1331
|
|
|
1333
1332
|
var uncurryThis$h = functionUncurryThis;
|
|
1334
|
-
var aCallable$
|
|
1333
|
+
var aCallable$a = aCallable$c;
|
|
1335
1334
|
|
|
1336
1335
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1337
1336
|
try {
|
|
1338
1337
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1339
|
-
return uncurryThis$h(aCallable$
|
|
1338
|
+
return uncurryThis$h(aCallable$a(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1340
1339
|
} catch (error) { /* empty */ }
|
|
1341
1340
|
};
|
|
1342
1341
|
|
|
@@ -1349,11 +1348,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1349
1348
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1350
1349
|
|
|
1351
1350
|
var $String$2 = String;
|
|
1352
|
-
var $TypeError$
|
|
1351
|
+
var $TypeError$a = TypeError;
|
|
1353
1352
|
|
|
1354
1353
|
var aPossiblePrototype$1 = function (argument) {
|
|
1355
1354
|
if (isPossiblePrototype(argument)) return argument;
|
|
1356
|
-
throw new $TypeError$
|
|
1355
|
+
throw new $TypeError$a("Can't set " + $String$2(argument) + ' as a prototype');
|
|
1357
1356
|
};
|
|
1358
1357
|
|
|
1359
1358
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1385,25 +1384,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1385
1384
|
};
|
|
1386
1385
|
}() : undefined);
|
|
1387
1386
|
|
|
1388
|
-
var $$
|
|
1389
|
-
var call$
|
|
1387
|
+
var $$k = _export;
|
|
1388
|
+
var call$k = functionCall;
|
|
1390
1389
|
var FunctionName = functionName;
|
|
1391
|
-
var isCallable$
|
|
1390
|
+
var isCallable$d = isCallable$q;
|
|
1392
1391
|
var createIteratorConstructor$1 = iteratorCreateConstructor;
|
|
1393
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1392
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1394
1393
|
var setPrototypeOf$3 = objectSetPrototypeOf;
|
|
1395
1394
|
var setToStringTag$4 = setToStringTag$6;
|
|
1396
|
-
var createNonEnumerableProperty$
|
|
1395
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$a;
|
|
1397
1396
|
var defineBuiltIn$a = defineBuiltIn$d;
|
|
1398
|
-
var wellKnownSymbol$
|
|
1397
|
+
var wellKnownSymbol$h = wellKnownSymbol$m;
|
|
1399
1398
|
var Iterators$3 = iterators;
|
|
1400
1399
|
var IteratorsCore = iteratorsCore;
|
|
1401
1400
|
|
|
1402
1401
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1403
1402
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1404
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1403
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1405
1404
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1406
|
-
var ITERATOR$
|
|
1405
|
+
var ITERATOR$7 = wellKnownSymbol$h('iterator');
|
|
1407
1406
|
var KEYS = 'keys';
|
|
1408
1407
|
var VALUES = 'values';
|
|
1409
1408
|
var ENTRIES = 'entries';
|
|
@@ -1429,7 +1428,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1429
1428
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1430
1429
|
var INCORRECT_VALUES_NAME = false;
|
|
1431
1430
|
var IterablePrototype = Iterable.prototype;
|
|
1432
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1431
|
+
var nativeIterator = IterablePrototype[ITERATOR$7]
|
|
1433
1432
|
|| IterablePrototype['@@iterator']
|
|
1434
1433
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1435
1434
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1438,13 +1437,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1438
1437
|
|
|
1439
1438
|
// fix native
|
|
1440
1439
|
if (anyNativeIterator) {
|
|
1441
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1440
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
1442
1441
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1443
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1442
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1444
1443
|
if (setPrototypeOf$3) {
|
|
1445
|
-
setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype);
|
|
1446
|
-
} else if (!isCallable$
|
|
1447
|
-
defineBuiltIn$a(CurrentIteratorPrototype, ITERATOR$
|
|
1444
|
+
setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1445
|
+
} else if (!isCallable$d(CurrentIteratorPrototype[ITERATOR$7])) {
|
|
1446
|
+
defineBuiltIn$a(CurrentIteratorPrototype, ITERATOR$7, returnThis);
|
|
1448
1447
|
}
|
|
1449
1448
|
}
|
|
1450
1449
|
// Set @@toStringTag to native iterators
|
|
@@ -1455,10 +1454,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1455
1454
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1456
1455
|
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1457
1456
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1458
|
-
createNonEnumerableProperty$
|
|
1457
|
+
createNonEnumerableProperty$7(IterablePrototype, 'name', VALUES);
|
|
1459
1458
|
} else {
|
|
1460
1459
|
INCORRECT_VALUES_NAME = true;
|
|
1461
|
-
defaultIterator = function values() { return call$
|
|
1460
|
+
defaultIterator = function values() { return call$k(nativeIterator, this); };
|
|
1462
1461
|
}
|
|
1463
1462
|
}
|
|
1464
1463
|
|
|
@@ -1473,12 +1472,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1473
1472
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1474
1473
|
defineBuiltIn$a(IterablePrototype, KEY, methods[KEY]);
|
|
1475
1474
|
}
|
|
1476
|
-
} else $$
|
|
1475
|
+
} else $$k({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1477
1476
|
}
|
|
1478
1477
|
|
|
1479
1478
|
// define iterator
|
|
1480
|
-
if (IterablePrototype[ITERATOR$
|
|
1481
|
-
defineBuiltIn$a(IterablePrototype, ITERATOR$
|
|
1479
|
+
if (IterablePrototype[ITERATOR$7] !== defaultIterator) {
|
|
1480
|
+
defineBuiltIn$a(IterablePrototype, ITERATOR$7, defaultIterator, { name: DEFAULT });
|
|
1482
1481
|
}
|
|
1483
1482
|
Iterators$3[NAME] = defaultIterator;
|
|
1484
1483
|
|
|
@@ -1487,22 +1486,22 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1487
1486
|
|
|
1488
1487
|
// `CreateIterResultObject` abstract operation
|
|
1489
1488
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1490
|
-
var createIterResultObject$
|
|
1489
|
+
var createIterResultObject$4 = function (value, done) {
|
|
1491
1490
|
return { value: value, done: done };
|
|
1492
1491
|
};
|
|
1493
1492
|
|
|
1494
1493
|
var toIndexedObject = toIndexedObject$5;
|
|
1495
1494
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
1496
1495
|
var Iterators$2 = iterators;
|
|
1497
|
-
var InternalStateModule$
|
|
1496
|
+
var InternalStateModule$5 = internalState;
|
|
1498
1497
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1499
1498
|
var defineIterator$1 = iteratorDefine;
|
|
1500
|
-
var createIterResultObject$
|
|
1501
|
-
var DESCRIPTORS$
|
|
1499
|
+
var createIterResultObject$3 = createIterResultObject$4;
|
|
1500
|
+
var DESCRIPTORS$b = descriptors;
|
|
1502
1501
|
|
|
1503
1502
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1504
|
-
var setInternalState$
|
|
1505
|
-
var getInternalState$3 = InternalStateModule$
|
|
1503
|
+
var setInternalState$5 = InternalStateModule$5.set;
|
|
1504
|
+
var getInternalState$3 = InternalStateModule$5.getterFor(ARRAY_ITERATOR);
|
|
1506
1505
|
|
|
1507
1506
|
// `Array.prototype.entries` method
|
|
1508
1507
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1515,7 +1514,7 @@ var getInternalState$3 = InternalStateModule$4.getterFor(ARRAY_ITERATOR);
|
|
|
1515
1514
|
// `CreateArrayIterator` internal method
|
|
1516
1515
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1517
1516
|
var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
|
|
1518
|
-
setInternalState$
|
|
1517
|
+
setInternalState$5(this, {
|
|
1519
1518
|
type: ARRAY_ITERATOR,
|
|
1520
1519
|
target: toIndexedObject(iterated), // target
|
|
1521
1520
|
index: 0, // next index
|
|
@@ -1529,12 +1528,12 @@ var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kin
|
|
|
1529
1528
|
var index = state.index++;
|
|
1530
1529
|
if (!target || index >= target.length) {
|
|
1531
1530
|
state.target = undefined;
|
|
1532
|
-
return createIterResultObject$
|
|
1531
|
+
return createIterResultObject$3(undefined, true);
|
|
1533
1532
|
}
|
|
1534
1533
|
switch (state.kind) {
|
|
1535
|
-
case 'keys': return createIterResultObject$
|
|
1536
|
-
case 'values': return createIterResultObject$
|
|
1537
|
-
} return createIterResultObject$
|
|
1534
|
+
case 'keys': return createIterResultObject$3(index, false);
|
|
1535
|
+
case 'values': return createIterResultObject$3(target[index], false);
|
|
1536
|
+
} return createIterResultObject$3([index, target[index]], false);
|
|
1538
1537
|
}, 'values');
|
|
1539
1538
|
|
|
1540
1539
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -1548,7 +1547,7 @@ addToUnscopables$1('values');
|
|
|
1548
1547
|
addToUnscopables$1('entries');
|
|
1549
1548
|
|
|
1550
1549
|
// V8 ~ Chrome 45- bug
|
|
1551
|
-
if (DESCRIPTORS$
|
|
1550
|
+
if (DESCRIPTORS$b && values.name !== 'values') try {
|
|
1552
1551
|
defineProperty$2(values, 'name', { value: 'values' });
|
|
1553
1552
|
} catch (error) { /* empty */ }
|
|
1554
1553
|
|
|
@@ -1596,30 +1595,30 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1596
1595
|
|
|
1597
1596
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1598
1597
|
|
|
1599
|
-
var global$
|
|
1598
|
+
var global$g = global$q;
|
|
1600
1599
|
var DOMIterables = domIterables;
|
|
1601
1600
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1602
1601
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1603
|
-
var createNonEnumerableProperty$
|
|
1602
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$a;
|
|
1604
1603
|
var setToStringTag$3 = setToStringTag$6;
|
|
1605
|
-
var wellKnownSymbol$
|
|
1604
|
+
var wellKnownSymbol$g = wellKnownSymbol$m;
|
|
1606
1605
|
|
|
1607
|
-
var ITERATOR$
|
|
1606
|
+
var ITERATOR$6 = wellKnownSymbol$g('iterator');
|
|
1608
1607
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1609
1608
|
|
|
1610
1609
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1611
1610
|
if (CollectionPrototype) {
|
|
1612
1611
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1613
|
-
if (CollectionPrototype[ITERATOR$
|
|
1614
|
-
createNonEnumerableProperty$
|
|
1612
|
+
if (CollectionPrototype[ITERATOR$6] !== ArrayValues) try {
|
|
1613
|
+
createNonEnumerableProperty$6(CollectionPrototype, ITERATOR$6, ArrayValues);
|
|
1615
1614
|
} catch (error) {
|
|
1616
|
-
CollectionPrototype[ITERATOR$
|
|
1615
|
+
CollectionPrototype[ITERATOR$6] = ArrayValues;
|
|
1617
1616
|
}
|
|
1618
1617
|
setToStringTag$3(CollectionPrototype, COLLECTION_NAME, true);
|
|
1619
1618
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1620
1619
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1621
1620
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1622
|
-
createNonEnumerableProperty$
|
|
1621
|
+
createNonEnumerableProperty$6(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1623
1622
|
} catch (error) {
|
|
1624
1623
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1625
1624
|
}
|
|
@@ -1628,7 +1627,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1628
1627
|
};
|
|
1629
1628
|
|
|
1630
1629
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1631
|
-
handlePrototype(global$
|
|
1630
|
+
handlePrototype(global$g[COLLECTION_NAME] && global$g[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1632
1631
|
}
|
|
1633
1632
|
|
|
1634
1633
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -1682,7 +1681,7 @@ const useExperimentVariant = data => {
|
|
|
1682
1681
|
return;
|
|
1683
1682
|
}
|
|
1684
1683
|
}
|
|
1685
|
-
}, [dotExperimentInstance, data]);
|
|
1684
|
+
}, [dotExperimentInstance, data, variantId, runningExperimentId]);
|
|
1686
1685
|
return {
|
|
1687
1686
|
shouldWaitForVariant
|
|
1688
1687
|
};
|
|
@@ -1726,11 +1725,11 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
1726
1725
|
|
|
1727
1726
|
var FunctionPrototype = Function.prototype;
|
|
1728
1727
|
var apply$3 = FunctionPrototype.apply;
|
|
1729
|
-
var call$
|
|
1728
|
+
var call$j = FunctionPrototype.call;
|
|
1730
1729
|
|
|
1731
1730
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1732
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1733
|
-
return call$
|
|
1731
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$j.bind(apply$3) : function () {
|
|
1732
|
+
return call$j.apply(apply$3, arguments);
|
|
1734
1733
|
});
|
|
1735
1734
|
|
|
1736
1735
|
var defineProperty$1 = objectDefineProperty.f;
|
|
@@ -1743,7 +1742,7 @@ var proxyAccessor$2 = function (Target, Source, key) {
|
|
|
1743
1742
|
});
|
|
1744
1743
|
};
|
|
1745
1744
|
|
|
1746
|
-
var isCallable$
|
|
1745
|
+
var isCallable$c = isCallable$q;
|
|
1747
1746
|
var isObject$5 = isObject$e;
|
|
1748
1747
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1749
1748
|
|
|
@@ -1754,7 +1753,7 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
1754
1753
|
// it can work only with native `setPrototypeOf`
|
|
1755
1754
|
setPrototypeOf$2 &&
|
|
1756
1755
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
1757
|
-
isCallable$
|
|
1756
|
+
isCallable$c(NewTarget = dummy.constructor) &&
|
|
1758
1757
|
NewTarget !== Wrapper &&
|
|
1759
1758
|
isObject$5(NewTargetPrototype = NewTarget.prototype) &&
|
|
1760
1759
|
NewTargetPrototype !== Wrapper.prototype
|
|
@@ -1762,21 +1761,21 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
1762
1761
|
return $this;
|
|
1763
1762
|
};
|
|
1764
1763
|
|
|
1765
|
-
var wellKnownSymbol$
|
|
1764
|
+
var wellKnownSymbol$f = wellKnownSymbol$m;
|
|
1766
1765
|
|
|
1767
|
-
var TO_STRING_TAG$
|
|
1766
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$f('toStringTag');
|
|
1768
1767
|
var test = {};
|
|
1769
1768
|
|
|
1770
|
-
test[TO_STRING_TAG$
|
|
1769
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1771
1770
|
|
|
1772
1771
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1773
1772
|
|
|
1774
1773
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1775
|
-
var isCallable$
|
|
1774
|
+
var isCallable$b = isCallable$q;
|
|
1776
1775
|
var classofRaw$1 = classofRaw$2;
|
|
1777
|
-
var wellKnownSymbol$
|
|
1776
|
+
var wellKnownSymbol$e = wellKnownSymbol$m;
|
|
1778
1777
|
|
|
1779
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1778
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
|
|
1780
1779
|
var $Object = Object;
|
|
1781
1780
|
|
|
1782
1781
|
// ES3 wrong here
|
|
@@ -1794,11 +1793,11 @@ var classof$a = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1794
1793
|
var O, tag, result;
|
|
1795
1794
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1796
1795
|
// @@toStringTag case
|
|
1797
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1796
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1798
1797
|
// builtinTag case
|
|
1799
1798
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1800
1799
|
// ES3 arguments fallback
|
|
1801
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1800
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
1802
1801
|
};
|
|
1803
1802
|
|
|
1804
1803
|
var classof$9 = classof$a;
|
|
@@ -1817,13 +1816,13 @@ var normalizeStringArgument$1 = function (argument, $default) {
|
|
|
1817
1816
|
};
|
|
1818
1817
|
|
|
1819
1818
|
var isObject$4 = isObject$e;
|
|
1820
|
-
var createNonEnumerableProperty$
|
|
1819
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$a;
|
|
1821
1820
|
|
|
1822
1821
|
// `InstallErrorCause` abstract operation
|
|
1823
1822
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
1824
1823
|
var installErrorCause$1 = function (O, options) {
|
|
1825
1824
|
if (isObject$4(options) && 'cause' in options) {
|
|
1826
|
-
createNonEnumerableProperty$
|
|
1825
|
+
createNonEnumerableProperty$5(O, 'cause', options.cause);
|
|
1827
1826
|
}
|
|
1828
1827
|
};
|
|
1829
1828
|
|
|
@@ -1843,10 +1842,10 @@ var errorStackClear = function (stack, dropEntries) {
|
|
|
1843
1842
|
} return stack;
|
|
1844
1843
|
};
|
|
1845
1844
|
|
|
1846
|
-
var fails$
|
|
1845
|
+
var fails$c = fails$o;
|
|
1847
1846
|
var createPropertyDescriptor$2 = createPropertyDescriptor$6;
|
|
1848
1847
|
|
|
1849
|
-
var errorStackInstallable = !fails$
|
|
1848
|
+
var errorStackInstallable = !fails$c(function () {
|
|
1850
1849
|
var error = new Error('a');
|
|
1851
1850
|
if (!('stack' in error)) return true;
|
|
1852
1851
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -1854,7 +1853,7 @@ var errorStackInstallable = !fails$b(function () {
|
|
|
1854
1853
|
return error.stack !== 7;
|
|
1855
1854
|
});
|
|
1856
1855
|
|
|
1857
|
-
var createNonEnumerableProperty$
|
|
1856
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$a;
|
|
1858
1857
|
var clearErrorStack = errorStackClear;
|
|
1859
1858
|
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
1860
1859
|
|
|
@@ -1864,13 +1863,13 @@ var captureStackTrace = Error.captureStackTrace;
|
|
|
1864
1863
|
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
1865
1864
|
if (ERROR_STACK_INSTALLABLE) {
|
|
1866
1865
|
if (captureStackTrace) captureStackTrace(error, C);
|
|
1867
|
-
else createNonEnumerableProperty$
|
|
1866
|
+
else createNonEnumerableProperty$4(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
1868
1867
|
}
|
|
1869
1868
|
};
|
|
1870
1869
|
|
|
1871
1870
|
var getBuiltIn$5 = getBuiltIn$9;
|
|
1872
|
-
var hasOwn$
|
|
1873
|
-
var createNonEnumerableProperty$
|
|
1871
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
1872
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$a;
|
|
1874
1873
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
1875
1874
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1876
1875
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
@@ -1879,7 +1878,7 @@ var inheritIfRequired$1 = inheritIfRequired$2;
|
|
|
1879
1878
|
var normalizeStringArgument = normalizeStringArgument$1;
|
|
1880
1879
|
var installErrorCause = installErrorCause$1;
|
|
1881
1880
|
var installErrorStack = errorStackInstall;
|
|
1882
|
-
var DESCRIPTORS$
|
|
1881
|
+
var DESCRIPTORS$a = descriptors;
|
|
1883
1882
|
|
|
1884
1883
|
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1885
1884
|
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
@@ -1893,7 +1892,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1893
1892
|
var OriginalErrorPrototype = OriginalError.prototype;
|
|
1894
1893
|
|
|
1895
1894
|
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1896
|
-
if (hasOwn$
|
|
1895
|
+
if (hasOwn$6(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
1897
1896
|
|
|
1898
1897
|
if (!FORCED) return OriginalError;
|
|
1899
1898
|
|
|
@@ -1902,7 +1901,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1902
1901
|
var WrappedError = wrapper(function (a, b) {
|
|
1903
1902
|
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1904
1903
|
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1905
|
-
if (message !== undefined) createNonEnumerableProperty$
|
|
1904
|
+
if (message !== undefined) createNonEnumerableProperty$3(result, 'message', message);
|
|
1906
1905
|
installErrorStack(result, WrappedError, result.stack, 2);
|
|
1907
1906
|
if (this && isPrototypeOf$4(OriginalErrorPrototype, this)) inheritIfRequired$1(result, this, WrappedError);
|
|
1908
1907
|
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
@@ -1914,7 +1913,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1914
1913
|
if (ERROR_NAME !== 'Error') {
|
|
1915
1914
|
if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
|
|
1916
1915
|
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
1917
|
-
} else if (DESCRIPTORS$
|
|
1916
|
+
} else if (DESCRIPTORS$a && STACK_TRACE_LIMIT in OriginalError) {
|
|
1918
1917
|
proxyAccessor$1(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1919
1918
|
proxyAccessor$1(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1920
1919
|
}
|
|
@@ -1924,7 +1923,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1924
1923
|
try {
|
|
1925
1924
|
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1926
1925
|
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1927
|
-
createNonEnumerableProperty$
|
|
1926
|
+
createNonEnumerableProperty$3(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1928
1927
|
}
|
|
1929
1928
|
OriginalErrorPrototype.constructor = WrappedError;
|
|
1930
1929
|
} catch (error) { /* empty */ }
|
|
@@ -1933,28 +1932,28 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1933
1932
|
};
|
|
1934
1933
|
|
|
1935
1934
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1936
|
-
var $$
|
|
1937
|
-
var global$
|
|
1935
|
+
var $$j = _export;
|
|
1936
|
+
var global$f = global$q;
|
|
1938
1937
|
var apply$2 = functionApply;
|
|
1939
1938
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
1940
1939
|
|
|
1941
1940
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1942
|
-
var WebAssembly = global$
|
|
1941
|
+
var WebAssembly = global$f[WEB_ASSEMBLY];
|
|
1943
1942
|
|
|
1944
1943
|
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
1945
|
-
var FORCED = new Error('e', { cause: 7 }).cause !== 7;
|
|
1944
|
+
var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
|
|
1946
1945
|
|
|
1947
1946
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1948
1947
|
var O = {};
|
|
1949
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
|
|
1950
|
-
$$
|
|
1948
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
|
|
1949
|
+
$$j({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
|
|
1951
1950
|
};
|
|
1952
1951
|
|
|
1953
1952
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1954
1953
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
1955
1954
|
var O = {};
|
|
1956
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
|
|
1957
|
-
$$
|
|
1955
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
|
|
1956
|
+
$$j({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
|
|
1958
1957
|
}
|
|
1959
1958
|
};
|
|
1960
1959
|
|
|
@@ -2005,14 +2004,14 @@ var isArray$1 = Array.isArray || function isArray(argument) {
|
|
|
2005
2004
|
|
|
2006
2005
|
var uncurryThis$e = functionUncurryThis;
|
|
2007
2006
|
var isArray = isArray$1;
|
|
2008
|
-
var isCallable$
|
|
2007
|
+
var isCallable$a = isCallable$q;
|
|
2009
2008
|
var classof$7 = classofRaw$2;
|
|
2010
2009
|
var toString$9 = toString$b;
|
|
2011
2010
|
|
|
2012
2011
|
var push$4 = uncurryThis$e([].push);
|
|
2013
2012
|
|
|
2014
2013
|
var getJsonReplacerFunction = function (replacer) {
|
|
2015
|
-
if (isCallable$
|
|
2014
|
+
if (isCallable$a(replacer)) return replacer;
|
|
2016
2015
|
if (!isArray(replacer)) return;
|
|
2017
2016
|
var rawLength = replacer.length;
|
|
2018
2017
|
var keys = [];
|
|
@@ -2033,13 +2032,13 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
2033
2032
|
};
|
|
2034
2033
|
};
|
|
2035
2034
|
|
|
2036
|
-
var $$
|
|
2035
|
+
var $$i = _export;
|
|
2037
2036
|
var getBuiltIn$4 = getBuiltIn$9;
|
|
2038
2037
|
var apply$1 = functionApply;
|
|
2039
|
-
var call$
|
|
2038
|
+
var call$i = functionCall;
|
|
2040
2039
|
var uncurryThis$d = functionUncurryThis;
|
|
2041
|
-
var fails$
|
|
2042
|
-
var isCallable$
|
|
2040
|
+
var fails$b = fails$o;
|
|
2041
|
+
var isCallable$9 = isCallable$q;
|
|
2043
2042
|
var isSymbol = isSymbol$3;
|
|
2044
2043
|
var arraySlice$3 = arraySlice$4;
|
|
2045
2044
|
var getReplacerFunction = getJsonReplacerFunction;
|
|
@@ -2057,7 +2056,7 @@ var tester = /[\uD800-\uDFFF]/g;
|
|
|
2057
2056
|
var low = /^[\uD800-\uDBFF]$/;
|
|
2058
2057
|
var hi = /^[\uDC00-\uDFFF]$/;
|
|
2059
2058
|
|
|
2060
|
-
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$
|
|
2059
|
+
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$b(function () {
|
|
2061
2060
|
var symbol = getBuiltIn$4('Symbol')('stringify detection');
|
|
2062
2061
|
// MS Edge converts symbol values to JSON as {}
|
|
2063
2062
|
return $stringify([symbol]) !== '[null]'
|
|
@@ -2068,7 +2067,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$a(function () {
|
|
|
2068
2067
|
});
|
|
2069
2068
|
|
|
2070
2069
|
// https://github.com/tc39/proposal-well-formed-stringify
|
|
2071
|
-
var ILL_FORMED_UNICODE = fails$
|
|
2070
|
+
var ILL_FORMED_UNICODE = fails$b(function () {
|
|
2072
2071
|
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|
|
2073
2072
|
|| $stringify('\uDEAD') !== '"\\udead"';
|
|
2074
2073
|
});
|
|
@@ -2076,10 +2075,10 @@ var ILL_FORMED_UNICODE = fails$a(function () {
|
|
|
2076
2075
|
var stringifyWithSymbolsFix = function (it, replacer) {
|
|
2077
2076
|
var args = arraySlice$3(arguments);
|
|
2078
2077
|
var $replacer = getReplacerFunction(replacer);
|
|
2079
|
-
if (!isCallable$
|
|
2078
|
+
if (!isCallable$9($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
|
2080
2079
|
args[1] = function (key, value) {
|
|
2081
2080
|
// some old implementations (like WebKit) could pass numbers as keys
|
|
2082
|
-
if (isCallable$
|
|
2081
|
+
if (isCallable$9($replacer)) value = call$i($replacer, this, $String(key), value);
|
|
2083
2082
|
if (!isSymbol(value)) return value;
|
|
2084
2083
|
};
|
|
2085
2084
|
return apply$1($stringify, null, args);
|
|
@@ -2096,7 +2095,7 @@ var fixIllFormed = function (match, offset, string) {
|
|
|
2096
2095
|
if ($stringify) {
|
|
2097
2096
|
// `JSON.stringify` method
|
|
2098
2097
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
2099
|
-
$$
|
|
2098
|
+
$$i({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
2100
2099
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2101
2100
|
stringify: function stringify(it, replacer, space) {
|
|
2102
2101
|
var args = arraySlice$3(arguments);
|
|
@@ -2106,32 +2105,32 @@ if ($stringify) {
|
|
|
2106
2105
|
});
|
|
2107
2106
|
}
|
|
2108
2107
|
|
|
2109
|
-
var global$
|
|
2108
|
+
var global$e = global$q;
|
|
2110
2109
|
var classof$6 = classofRaw$2;
|
|
2111
2110
|
|
|
2112
|
-
var engineIsNode = classof$6(global$
|
|
2111
|
+
var engineIsNode = classof$6(global$e.process) === 'process';
|
|
2113
2112
|
|
|
2114
2113
|
var makeBuiltIn = makeBuiltInExports;
|
|
2115
2114
|
var defineProperty = objectDefineProperty;
|
|
2116
2115
|
|
|
2117
|
-
var defineBuiltInAccessor$
|
|
2116
|
+
var defineBuiltInAccessor$6 = function (target, name, descriptor) {
|
|
2118
2117
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2119
2118
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2120
2119
|
return defineProperty.f(target, name, descriptor);
|
|
2121
2120
|
};
|
|
2122
2121
|
|
|
2123
2122
|
var getBuiltIn$3 = getBuiltIn$9;
|
|
2124
|
-
var defineBuiltInAccessor$
|
|
2125
|
-
var wellKnownSymbol$
|
|
2126
|
-
var DESCRIPTORS$
|
|
2123
|
+
var defineBuiltInAccessor$5 = defineBuiltInAccessor$6;
|
|
2124
|
+
var wellKnownSymbol$d = wellKnownSymbol$m;
|
|
2125
|
+
var DESCRIPTORS$9 = descriptors;
|
|
2127
2126
|
|
|
2128
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2127
|
+
var SPECIES$3 = wellKnownSymbol$d('species');
|
|
2129
2128
|
|
|
2130
2129
|
var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
2131
2130
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
2132
2131
|
|
|
2133
|
-
if (DESCRIPTORS$
|
|
2134
|
-
defineBuiltInAccessor$
|
|
2132
|
+
if (DESCRIPTORS$9 && Constructor && !Constructor[SPECIES$3]) {
|
|
2133
|
+
defineBuiltInAccessor$5(Constructor, SPECIES$3, {
|
|
2135
2134
|
configurable: true,
|
|
2136
2135
|
get: function () { return this; }
|
|
2137
2136
|
});
|
|
@@ -2140,16 +2139,16 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
2140
2139
|
|
|
2141
2140
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
2142
2141
|
|
|
2143
|
-
var $TypeError$
|
|
2142
|
+
var $TypeError$9 = TypeError;
|
|
2144
2143
|
|
|
2145
|
-
var anInstance$
|
|
2144
|
+
var anInstance$4 = function (it, Prototype) {
|
|
2146
2145
|
if (isPrototypeOf$3(Prototype, it)) return it;
|
|
2147
|
-
throw new $TypeError$
|
|
2146
|
+
throw new $TypeError$9('Incorrect invocation');
|
|
2148
2147
|
};
|
|
2149
2148
|
|
|
2150
2149
|
var uncurryThis$c = functionUncurryThis;
|
|
2151
|
-
var fails$
|
|
2152
|
-
var isCallable$
|
|
2150
|
+
var fails$a = fails$o;
|
|
2151
|
+
var isCallable$8 = isCallable$q;
|
|
2153
2152
|
var classof$5 = classof$a;
|
|
2154
2153
|
var getBuiltIn$2 = getBuiltIn$9;
|
|
2155
2154
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -2161,7 +2160,7 @@ var exec$4 = uncurryThis$c(constructorRegExp.exec);
|
|
|
2161
2160
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2162
2161
|
|
|
2163
2162
|
var isConstructorModern = function isConstructor(argument) {
|
|
2164
|
-
if (!isCallable$
|
|
2163
|
+
if (!isCallable$8(argument)) return false;
|
|
2165
2164
|
try {
|
|
2166
2165
|
construct(noop, [], argument);
|
|
2167
2166
|
return true;
|
|
@@ -2171,7 +2170,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2171
2170
|
};
|
|
2172
2171
|
|
|
2173
2172
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2174
|
-
if (!isCallable$
|
|
2173
|
+
if (!isCallable$8(argument)) return false;
|
|
2175
2174
|
switch (classof$5(argument)) {
|
|
2176
2175
|
case 'AsyncFunction':
|
|
2177
2176
|
case 'GeneratorFunction':
|
|
@@ -2191,7 +2190,7 @@ isConstructorLegacy.sham = true;
|
|
|
2191
2190
|
|
|
2192
2191
|
// `IsConstructor` abstract operation
|
|
2193
2192
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2194
|
-
var isConstructor$2 = !construct || fails$
|
|
2193
|
+
var isConstructor$2 = !construct || fails$a(function () {
|
|
2195
2194
|
var called;
|
|
2196
2195
|
return isConstructorModern(isConstructorModern.call)
|
|
2197
2196
|
|| !isConstructorModern(Object)
|
|
@@ -2202,27 +2201,27 @@ var isConstructor$2 = !construct || fails$9(function () {
|
|
|
2202
2201
|
var isConstructor$1 = isConstructor$2;
|
|
2203
2202
|
var tryToString$2 = tryToString$4;
|
|
2204
2203
|
|
|
2205
|
-
var $TypeError$
|
|
2204
|
+
var $TypeError$8 = TypeError;
|
|
2206
2205
|
|
|
2207
2206
|
// `Assert: IsConstructor(argument) is true`
|
|
2208
2207
|
var aConstructor$1 = function (argument) {
|
|
2209
2208
|
if (isConstructor$1(argument)) return argument;
|
|
2210
|
-
throw new $TypeError$
|
|
2209
|
+
throw new $TypeError$8(tryToString$2(argument) + ' is not a constructor');
|
|
2211
2210
|
};
|
|
2212
2211
|
|
|
2213
|
-
var anObject$
|
|
2212
|
+
var anObject$g = anObject$l;
|
|
2214
2213
|
var aConstructor = aConstructor$1;
|
|
2215
2214
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
2216
|
-
var wellKnownSymbol$
|
|
2215
|
+
var wellKnownSymbol$c = wellKnownSymbol$m;
|
|
2217
2216
|
|
|
2218
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
2217
|
+
var SPECIES$2 = wellKnownSymbol$c('species');
|
|
2219
2218
|
|
|
2220
2219
|
// `SpeciesConstructor` abstract operation
|
|
2221
2220
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
2222
2221
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
2223
|
-
var C = anObject$
|
|
2222
|
+
var C = anObject$g(O).constructor;
|
|
2224
2223
|
var S;
|
|
2225
|
-
return C === undefined || isNullOrUndefined$2(S = anObject$
|
|
2224
|
+
return C === undefined || isNullOrUndefined$2(S = anObject$g(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
2226
2225
|
};
|
|
2227
2226
|
|
|
2228
2227
|
var classofRaw = classofRaw$2;
|
|
@@ -2236,23 +2235,23 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2236
2235
|
};
|
|
2237
2236
|
|
|
2238
2237
|
var uncurryThis$a = functionUncurryThisClause;
|
|
2239
|
-
var aCallable$
|
|
2238
|
+
var aCallable$9 = aCallable$c;
|
|
2240
2239
|
var NATIVE_BIND = functionBindNative;
|
|
2241
2240
|
|
|
2242
2241
|
var bind$7 = uncurryThis$a(uncurryThis$a.bind);
|
|
2243
2242
|
|
|
2244
2243
|
// optional / simple context binding
|
|
2245
2244
|
var functionBindContext = function (fn, that) {
|
|
2246
|
-
aCallable$
|
|
2245
|
+
aCallable$9(fn);
|
|
2247
2246
|
return that === undefined ? fn : NATIVE_BIND ? bind$7(fn, that) : function (/* ...args */) {
|
|
2248
2247
|
return fn.apply(that, arguments);
|
|
2249
2248
|
};
|
|
2250
2249
|
};
|
|
2251
2250
|
|
|
2252
|
-
var $TypeError$
|
|
2251
|
+
var $TypeError$7 = TypeError;
|
|
2253
2252
|
|
|
2254
2253
|
var validateArgumentsLength$5 = function (passed, required) {
|
|
2255
|
-
if (passed < required) throw new $TypeError$
|
|
2254
|
+
if (passed < required) throw new $TypeError$7('Not enough arguments');
|
|
2256
2255
|
return passed;
|
|
2257
2256
|
};
|
|
2258
2257
|
|
|
@@ -2261,12 +2260,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
2261
2260
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2262
2261
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
2263
2262
|
|
|
2264
|
-
var global$
|
|
2263
|
+
var global$d = global$q;
|
|
2265
2264
|
var apply = functionApply;
|
|
2266
2265
|
var bind$6 = functionBindContext;
|
|
2267
|
-
var isCallable$
|
|
2268
|
-
var hasOwn$
|
|
2269
|
-
var fails$
|
|
2266
|
+
var isCallable$7 = isCallable$q;
|
|
2267
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
2268
|
+
var fails$9 = fails$o;
|
|
2270
2269
|
var html = html$2;
|
|
2271
2270
|
var arraySlice$2 = arraySlice$4;
|
|
2272
2271
|
var createElement = documentCreateElement$2;
|
|
@@ -2274,25 +2273,25 @@ var validateArgumentsLength$4 = validateArgumentsLength$5;
|
|
|
2274
2273
|
var IS_IOS$1 = engineIsIos;
|
|
2275
2274
|
var IS_NODE$3 = engineIsNode;
|
|
2276
2275
|
|
|
2277
|
-
var set = global$
|
|
2278
|
-
var clear = global$
|
|
2279
|
-
var process$2 = global$
|
|
2280
|
-
var Dispatch = global$
|
|
2281
|
-
var Function$1 = global$
|
|
2282
|
-
var MessageChannel = global$
|
|
2283
|
-
var String$1 = global$
|
|
2276
|
+
var set = global$d.setImmediate;
|
|
2277
|
+
var clear = global$d.clearImmediate;
|
|
2278
|
+
var process$2 = global$d.process;
|
|
2279
|
+
var Dispatch = global$d.Dispatch;
|
|
2280
|
+
var Function$1 = global$d.Function;
|
|
2281
|
+
var MessageChannel = global$d.MessageChannel;
|
|
2282
|
+
var String$1 = global$d.String;
|
|
2284
2283
|
var counter = 0;
|
|
2285
2284
|
var queue$2 = {};
|
|
2286
2285
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2287
2286
|
var $location, defer, channel, port;
|
|
2288
2287
|
|
|
2289
|
-
fails$
|
|
2288
|
+
fails$9(function () {
|
|
2290
2289
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2291
|
-
$location = global$
|
|
2290
|
+
$location = global$d.location;
|
|
2292
2291
|
});
|
|
2293
2292
|
|
|
2294
2293
|
var run = function (id) {
|
|
2295
|
-
if (hasOwn$
|
|
2294
|
+
if (hasOwn$5(queue$2, id)) {
|
|
2296
2295
|
var fn = queue$2[id];
|
|
2297
2296
|
delete queue$2[id];
|
|
2298
2297
|
fn();
|
|
@@ -2311,14 +2310,14 @@ var eventListener = function (event) {
|
|
|
2311
2310
|
|
|
2312
2311
|
var globalPostMessageDefer = function (id) {
|
|
2313
2312
|
// old engines have not location.origin
|
|
2314
|
-
global$
|
|
2313
|
+
global$d.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
2315
2314
|
};
|
|
2316
2315
|
|
|
2317
2316
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
2318
2317
|
if (!set || !clear) {
|
|
2319
2318
|
set = function setImmediate(handler) {
|
|
2320
2319
|
validateArgumentsLength$4(arguments.length, 1);
|
|
2321
|
-
var fn = isCallable$
|
|
2320
|
+
var fn = isCallable$7(handler) ? handler : Function$1(handler);
|
|
2322
2321
|
var args = arraySlice$2(arguments, 1);
|
|
2323
2322
|
queue$2[++counter] = function () {
|
|
2324
2323
|
apply(fn, undefined, args);
|
|
@@ -2349,14 +2348,14 @@ if (!set || !clear) {
|
|
|
2349
2348
|
// Browsers with postMessage, skip WebWorkers
|
|
2350
2349
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2351
2350
|
} else if (
|
|
2352
|
-
global$
|
|
2353
|
-
isCallable$
|
|
2354
|
-
!global$
|
|
2351
|
+
global$d.addEventListener &&
|
|
2352
|
+
isCallable$7(global$d.postMessage) &&
|
|
2353
|
+
!global$d.importScripts &&
|
|
2355
2354
|
$location && $location.protocol !== 'file:' &&
|
|
2356
|
-
!fails$
|
|
2355
|
+
!fails$9(globalPostMessageDefer)
|
|
2357
2356
|
) {
|
|
2358
2357
|
defer = globalPostMessageDefer;
|
|
2359
|
-
global$
|
|
2358
|
+
global$d.addEventListener('message', eventListener, false);
|
|
2360
2359
|
// IE8-
|
|
2361
2360
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
2362
2361
|
defer = function (id) {
|
|
@@ -2374,20 +2373,18 @@ if (!set || !clear) {
|
|
|
2374
2373
|
}
|
|
2375
2374
|
|
|
2376
2375
|
var task$1 = {
|
|
2377
|
-
set: set
|
|
2378
|
-
clear: clear
|
|
2379
|
-
};
|
|
2376
|
+
set: set};
|
|
2380
2377
|
|
|
2381
|
-
var global$
|
|
2382
|
-
var DESCRIPTORS$
|
|
2378
|
+
var global$c = global$q;
|
|
2379
|
+
var DESCRIPTORS$8 = descriptors;
|
|
2383
2380
|
|
|
2384
2381
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2385
2382
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2386
2383
|
|
|
2387
2384
|
// Avoid NodeJS experimental warning
|
|
2388
2385
|
var safeGetBuiltIn$2 = function (name) {
|
|
2389
|
-
if (!DESCRIPTORS$
|
|
2390
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
2386
|
+
if (!DESCRIPTORS$8) return global$c[name];
|
|
2387
|
+
var descriptor = getOwnPropertyDescriptor(global$c, name);
|
|
2391
2388
|
return descriptor && descriptor.value;
|
|
2392
2389
|
};
|
|
2393
2390
|
|
|
@@ -2424,7 +2421,7 @@ var userAgent = engineUserAgent;
|
|
|
2424
2421
|
|
|
2425
2422
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
2426
2423
|
|
|
2427
|
-
var global$
|
|
2424
|
+
var global$b = global$q;
|
|
2428
2425
|
var safeGetBuiltIn$1 = safeGetBuiltIn$2;
|
|
2429
2426
|
var bind$5 = functionBindContext;
|
|
2430
2427
|
var macrotask = task$1.set;
|
|
@@ -2434,10 +2431,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
2434
2431
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
2435
2432
|
var IS_NODE$2 = engineIsNode;
|
|
2436
2433
|
|
|
2437
|
-
var MutationObserver = global$
|
|
2438
|
-
var document$2 = global$
|
|
2439
|
-
var process$1 = global$
|
|
2440
|
-
var Promise$1 = global$
|
|
2434
|
+
var MutationObserver = global$b.MutationObserver || global$b.WebKitMutationObserver;
|
|
2435
|
+
var document$2 = global$b.document;
|
|
2436
|
+
var process$1 = global$b.process;
|
|
2437
|
+
var Promise$1 = global$b.Promise;
|
|
2441
2438
|
var microtask$1 = safeGetBuiltIn$1('queueMicrotask');
|
|
2442
2439
|
var notify$1, toggle, node, promise, then;
|
|
2443
2440
|
|
|
@@ -2489,7 +2486,7 @@ if (!microtask$1) {
|
|
|
2489
2486
|
// - setTimeout
|
|
2490
2487
|
} else {
|
|
2491
2488
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
2492
|
-
macrotask = bind$5(macrotask, global$
|
|
2489
|
+
macrotask = bind$5(macrotask, global$b);
|
|
2493
2490
|
notify$1 = function () {
|
|
2494
2491
|
macrotask(flush);
|
|
2495
2492
|
};
|
|
@@ -2518,9 +2515,9 @@ var perform$3 = function (exec) {
|
|
|
2518
2515
|
}
|
|
2519
2516
|
};
|
|
2520
2517
|
|
|
2521
|
-
var global$
|
|
2518
|
+
var global$a = global$q;
|
|
2522
2519
|
|
|
2523
|
-
var promiseNativeConstructor = global$
|
|
2520
|
+
var promiseNativeConstructor = global$a.Promise;
|
|
2524
2521
|
|
|
2525
2522
|
/* global Deno -- Deno case */
|
|
2526
2523
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
@@ -2532,20 +2529,20 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
2532
2529
|
&& typeof window == 'object'
|
|
2533
2530
|
&& typeof document == 'object';
|
|
2534
2531
|
|
|
2535
|
-
var global$
|
|
2532
|
+
var global$9 = global$q;
|
|
2536
2533
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
2537
|
-
var isCallable$
|
|
2534
|
+
var isCallable$6 = isCallable$q;
|
|
2538
2535
|
var isForced$1 = isForced_1;
|
|
2539
2536
|
var inspectSource = inspectSource$3;
|
|
2540
|
-
var wellKnownSymbol$
|
|
2537
|
+
var wellKnownSymbol$b = wellKnownSymbol$m;
|
|
2541
2538
|
var IS_BROWSER = engineIsBrowser;
|
|
2542
2539
|
var IS_DENO = engineIsDeno;
|
|
2543
2540
|
var V8_VERSION = engineV8Version;
|
|
2544
2541
|
|
|
2545
2542
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
2546
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
2543
|
+
var SPECIES$1 = wellKnownSymbol$b('species');
|
|
2547
2544
|
var SUBCLASSING = false;
|
|
2548
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
2545
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$6(global$9.PromiseRejectionEvent);
|
|
2549
2546
|
|
|
2550
2547
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced$1('Promise', function () {
|
|
2551
2548
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2579,19 +2576,19 @@ var promiseConstructorDetection = {
|
|
|
2579
2576
|
|
|
2580
2577
|
var newPromiseCapability$2 = {};
|
|
2581
2578
|
|
|
2582
|
-
var aCallable$
|
|
2579
|
+
var aCallable$8 = aCallable$c;
|
|
2583
2580
|
|
|
2584
|
-
var $TypeError$
|
|
2581
|
+
var $TypeError$6 = TypeError;
|
|
2585
2582
|
|
|
2586
2583
|
var PromiseCapability = function (C) {
|
|
2587
2584
|
var resolve, reject;
|
|
2588
2585
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
2589
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
2586
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$6('Bad Promise constructor');
|
|
2590
2587
|
resolve = $$resolve;
|
|
2591
2588
|
reject = $$reject;
|
|
2592
2589
|
});
|
|
2593
|
-
this.resolve = aCallable$
|
|
2594
|
-
this.reject = aCallable$
|
|
2590
|
+
this.resolve = aCallable$8(resolve);
|
|
2591
|
+
this.reject = aCallable$8(reject);
|
|
2595
2592
|
};
|
|
2596
2593
|
|
|
2597
2594
|
// `NewPromiseCapability` abstract operation
|
|
@@ -2600,25 +2597,25 @@ newPromiseCapability$2.f = function (C) {
|
|
|
2600
2597
|
return new PromiseCapability(C);
|
|
2601
2598
|
};
|
|
2602
2599
|
|
|
2603
|
-
var $$
|
|
2600
|
+
var $$h = _export;
|
|
2604
2601
|
var IS_NODE = engineIsNode;
|
|
2605
|
-
var global$
|
|
2606
|
-
var call$
|
|
2602
|
+
var global$8 = global$q;
|
|
2603
|
+
var call$h = functionCall;
|
|
2607
2604
|
var defineBuiltIn$9 = defineBuiltIn$d;
|
|
2608
2605
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2609
2606
|
var setToStringTag$2 = setToStringTag$6;
|
|
2610
2607
|
var setSpecies$1 = setSpecies$2;
|
|
2611
|
-
var aCallable$
|
|
2612
|
-
var isCallable$
|
|
2608
|
+
var aCallable$7 = aCallable$c;
|
|
2609
|
+
var isCallable$5 = isCallable$q;
|
|
2613
2610
|
var isObject$3 = isObject$e;
|
|
2614
|
-
var anInstance$
|
|
2611
|
+
var anInstance$3 = anInstance$4;
|
|
2615
2612
|
var speciesConstructor = speciesConstructor$1;
|
|
2616
2613
|
var task = task$1.set;
|
|
2617
2614
|
var microtask = microtask_1;
|
|
2618
2615
|
var hostReportErrors = hostReportErrors$1;
|
|
2619
2616
|
var perform$2 = perform$3;
|
|
2620
2617
|
var Queue = queue$1;
|
|
2621
|
-
var InternalStateModule$
|
|
2618
|
+
var InternalStateModule$4 = internalState;
|
|
2622
2619
|
var NativePromiseConstructor$2 = promiseNativeConstructor;
|
|
2623
2620
|
var PromiseConstructorDetection = promiseConstructorDetection;
|
|
2624
2621
|
var newPromiseCapabilityModule$3 = newPromiseCapability$2;
|
|
@@ -2627,18 +2624,18 @@ var PROMISE = 'Promise';
|
|
|
2627
2624
|
var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
|
|
2628
2625
|
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
2629
2626
|
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
2630
|
-
var getInternalPromiseState = InternalStateModule$
|
|
2631
|
-
var setInternalState$
|
|
2627
|
+
var getInternalPromiseState = InternalStateModule$4.getterFor(PROMISE);
|
|
2628
|
+
var setInternalState$4 = InternalStateModule$4.set;
|
|
2632
2629
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
2633
2630
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
2634
2631
|
var PromisePrototype = NativePromisePrototype$1;
|
|
2635
|
-
var TypeError$3 = global$
|
|
2636
|
-
var document$1 = global$
|
|
2637
|
-
var process = global$
|
|
2632
|
+
var TypeError$3 = global$8.TypeError;
|
|
2633
|
+
var document$1 = global$8.document;
|
|
2634
|
+
var process = global$8.process;
|
|
2638
2635
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
2639
2636
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
2640
2637
|
|
|
2641
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
2638
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$8.dispatchEvent);
|
|
2642
2639
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
2643
2640
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
2644
2641
|
var PENDING = 0;
|
|
@@ -2652,7 +2649,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
2652
2649
|
// helpers
|
|
2653
2650
|
var isThenable = function (it) {
|
|
2654
2651
|
var then;
|
|
2655
|
-
return isObject$3(it) && isCallable$
|
|
2652
|
+
return isObject$3(it) && isCallable$5(then = it.then) ? then : false;
|
|
2656
2653
|
};
|
|
2657
2654
|
|
|
2658
2655
|
var callReaction = function (reaction, state) {
|
|
@@ -2681,7 +2678,7 @@ var callReaction = function (reaction, state) {
|
|
|
2681
2678
|
if (result === reaction.promise) {
|
|
2682
2679
|
reject(new TypeError$3('Promise-chain cycle'));
|
|
2683
2680
|
} else if (then = isThenable(result)) {
|
|
2684
|
-
call$
|
|
2681
|
+
call$h(then, result, resolve, reject);
|
|
2685
2682
|
} else resolve(result);
|
|
2686
2683
|
} else reject(value);
|
|
2687
2684
|
} catch (error) {
|
|
@@ -2711,14 +2708,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
2711
2708
|
event.promise = promise;
|
|
2712
2709
|
event.reason = reason;
|
|
2713
2710
|
event.initEvent(name, false, true);
|
|
2714
|
-
global$
|
|
2711
|
+
global$8.dispatchEvent(event);
|
|
2715
2712
|
} else event = { promise: promise, reason: reason };
|
|
2716
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
2713
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$8['on' + name])) handler(event);
|
|
2717
2714
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
2718
2715
|
};
|
|
2719
2716
|
|
|
2720
2717
|
var onUnhandled = function (state) {
|
|
2721
|
-
call$
|
|
2718
|
+
call$h(task, global$8, function () {
|
|
2722
2719
|
var promise = state.facade;
|
|
2723
2720
|
var value = state.value;
|
|
2724
2721
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -2741,7 +2738,7 @@ var isUnhandled = function (state) {
|
|
|
2741
2738
|
};
|
|
2742
2739
|
|
|
2743
2740
|
var onHandleUnhandled = function (state) {
|
|
2744
|
-
call$
|
|
2741
|
+
call$h(task, global$8, function () {
|
|
2745
2742
|
var promise = state.facade;
|
|
2746
2743
|
if (IS_NODE) {
|
|
2747
2744
|
process.emit('rejectionHandled', promise);
|
|
@@ -2775,7 +2772,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2775
2772
|
microtask(function () {
|
|
2776
2773
|
var wrapper = { done: false };
|
|
2777
2774
|
try {
|
|
2778
|
-
call$
|
|
2775
|
+
call$h(then, value,
|
|
2779
2776
|
bind$4(internalResolve, wrapper, state),
|
|
2780
2777
|
bind$4(internalReject, wrapper, state)
|
|
2781
2778
|
);
|
|
@@ -2797,9 +2794,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2797
2794
|
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
2798
2795
|
// 25.4.3.1 Promise(executor)
|
|
2799
2796
|
PromiseConstructor = function Promise(executor) {
|
|
2800
|
-
anInstance$
|
|
2801
|
-
aCallable$
|
|
2802
|
-
call$
|
|
2797
|
+
anInstance$3(this, PromisePrototype);
|
|
2798
|
+
aCallable$7(executor);
|
|
2799
|
+
call$h(Internal, this);
|
|
2803
2800
|
var state = getInternalPromiseState(this);
|
|
2804
2801
|
try {
|
|
2805
2802
|
executor(bind$4(internalResolve, state), bind$4(internalReject, state));
|
|
@@ -2812,7 +2809,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2812
2809
|
|
|
2813
2810
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2814
2811
|
Internal = function Promise(executor) {
|
|
2815
|
-
setInternalState$
|
|
2812
|
+
setInternalState$4(this, {
|
|
2816
2813
|
type: PROMISE,
|
|
2817
2814
|
done: false,
|
|
2818
2815
|
notified: false,
|
|
@@ -2830,8 +2827,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2830
2827
|
var state = getInternalPromiseState(this);
|
|
2831
2828
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
2832
2829
|
state.parent = true;
|
|
2833
|
-
reaction.ok = isCallable$
|
|
2834
|
-
reaction.fail = isCallable$
|
|
2830
|
+
reaction.ok = isCallable$5(onFulfilled) ? onFulfilled : true;
|
|
2831
|
+
reaction.fail = isCallable$5(onRejected) && onRejected;
|
|
2835
2832
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
2836
2833
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
2837
2834
|
else microtask(function () {
|
|
@@ -2854,7 +2851,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2854
2851
|
: newGenericPromiseCapability(C);
|
|
2855
2852
|
};
|
|
2856
2853
|
|
|
2857
|
-
if (isCallable$
|
|
2854
|
+
if (isCallable$5(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
2858
2855
|
nativeThen = NativePromisePrototype$1.then;
|
|
2859
2856
|
|
|
2860
2857
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
@@ -2862,7 +2859,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2862
2859
|
defineBuiltIn$9(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
2863
2860
|
var that = this;
|
|
2864
2861
|
return new PromiseConstructor(function (resolve, reject) {
|
|
2865
|
-
call$
|
|
2862
|
+
call$h(nativeThen, that, resolve, reject);
|
|
2866
2863
|
}).then(onFulfilled, onRejected);
|
|
2867
2864
|
// https://github.com/zloirock/core-js/issues/640
|
|
2868
2865
|
}, { unsafe: true });
|
|
@@ -2880,88 +2877,88 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2880
2877
|
}
|
|
2881
2878
|
}
|
|
2882
2879
|
|
|
2883
|
-
$$
|
|
2880
|
+
$$h({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
2884
2881
|
Promise: PromiseConstructor
|
|
2885
2882
|
});
|
|
2886
2883
|
|
|
2887
2884
|
setToStringTag$2(PromiseConstructor, PROMISE, false);
|
|
2888
2885
|
setSpecies$1(PROMISE);
|
|
2889
2886
|
|
|
2890
|
-
var wellKnownSymbol$
|
|
2887
|
+
var wellKnownSymbol$a = wellKnownSymbol$m;
|
|
2891
2888
|
var Iterators$1 = iterators;
|
|
2892
2889
|
|
|
2893
|
-
var ITERATOR$
|
|
2890
|
+
var ITERATOR$5 = wellKnownSymbol$a('iterator');
|
|
2894
2891
|
var ArrayPrototype = Array.prototype;
|
|
2895
2892
|
|
|
2896
2893
|
// check on default Array iterator
|
|
2897
2894
|
var isArrayIteratorMethod$2 = function (it) {
|
|
2898
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$
|
|
2895
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$5] === it);
|
|
2899
2896
|
};
|
|
2900
2897
|
|
|
2901
2898
|
var classof$4 = classof$a;
|
|
2902
|
-
var getMethod$
|
|
2899
|
+
var getMethod$3 = getMethod$5;
|
|
2903
2900
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
2904
2901
|
var Iterators = iterators;
|
|
2905
|
-
var wellKnownSymbol$
|
|
2902
|
+
var wellKnownSymbol$9 = wellKnownSymbol$m;
|
|
2906
2903
|
|
|
2907
|
-
var ITERATOR$
|
|
2904
|
+
var ITERATOR$4 = wellKnownSymbol$9('iterator');
|
|
2908
2905
|
|
|
2909
2906
|
var getIteratorMethod$4 = function (it) {
|
|
2910
|
-
if (!isNullOrUndefined$1(it)) return getMethod$
|
|
2911
|
-
|| getMethod$
|
|
2907
|
+
if (!isNullOrUndefined$1(it)) return getMethod$3(it, ITERATOR$4)
|
|
2908
|
+
|| getMethod$3(it, '@@iterator')
|
|
2912
2909
|
|| Iterators[classof$4(it)];
|
|
2913
2910
|
};
|
|
2914
2911
|
|
|
2915
|
-
var call$
|
|
2916
|
-
var aCallable$
|
|
2917
|
-
var anObject$
|
|
2912
|
+
var call$g = functionCall;
|
|
2913
|
+
var aCallable$6 = aCallable$c;
|
|
2914
|
+
var anObject$f = anObject$l;
|
|
2918
2915
|
var tryToString$1 = tryToString$4;
|
|
2919
2916
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
2920
2917
|
|
|
2921
|
-
var $TypeError$
|
|
2918
|
+
var $TypeError$5 = TypeError;
|
|
2922
2919
|
|
|
2923
2920
|
var getIterator$3 = function (argument, usingIterator) {
|
|
2924
2921
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
2925
|
-
if (aCallable$
|
|
2926
|
-
throw new $TypeError$
|
|
2922
|
+
if (aCallable$6(iteratorMethod)) return anObject$f(call$g(iteratorMethod, argument));
|
|
2923
|
+
throw new $TypeError$5(tryToString$1(argument) + ' is not iterable');
|
|
2927
2924
|
};
|
|
2928
2925
|
|
|
2929
|
-
var call$
|
|
2930
|
-
var anObject$
|
|
2931
|
-
var getMethod$
|
|
2926
|
+
var call$f = functionCall;
|
|
2927
|
+
var anObject$e = anObject$l;
|
|
2928
|
+
var getMethod$2 = getMethod$5;
|
|
2932
2929
|
|
|
2933
|
-
var iteratorClose$
|
|
2930
|
+
var iteratorClose$3 = function (iterator, kind, value) {
|
|
2934
2931
|
var innerResult, innerError;
|
|
2935
|
-
anObject$
|
|
2932
|
+
anObject$e(iterator);
|
|
2936
2933
|
try {
|
|
2937
|
-
innerResult = getMethod$
|
|
2934
|
+
innerResult = getMethod$2(iterator, 'return');
|
|
2938
2935
|
if (!innerResult) {
|
|
2939
2936
|
if (kind === 'throw') throw value;
|
|
2940
2937
|
return value;
|
|
2941
2938
|
}
|
|
2942
|
-
innerResult = call$
|
|
2939
|
+
innerResult = call$f(innerResult, iterator);
|
|
2943
2940
|
} catch (error) {
|
|
2944
2941
|
innerError = true;
|
|
2945
2942
|
innerResult = error;
|
|
2946
2943
|
}
|
|
2947
2944
|
if (kind === 'throw') throw value;
|
|
2948
2945
|
if (innerError) throw innerResult;
|
|
2949
|
-
anObject$
|
|
2946
|
+
anObject$e(innerResult);
|
|
2950
2947
|
return value;
|
|
2951
2948
|
};
|
|
2952
2949
|
|
|
2953
2950
|
var bind$3 = functionBindContext;
|
|
2954
|
-
var call$
|
|
2955
|
-
var anObject$
|
|
2951
|
+
var call$e = functionCall;
|
|
2952
|
+
var anObject$d = anObject$l;
|
|
2956
2953
|
var tryToString = tryToString$4;
|
|
2957
2954
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
2958
2955
|
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
2959
2956
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
2960
2957
|
var getIterator$2 = getIterator$3;
|
|
2961
2958
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
2962
|
-
var iteratorClose$
|
|
2959
|
+
var iteratorClose$2 = iteratorClose$3;
|
|
2963
2960
|
|
|
2964
|
-
var $TypeError$
|
|
2961
|
+
var $TypeError$4 = TypeError;
|
|
2965
2962
|
|
|
2966
2963
|
var Result = function (stopped, result) {
|
|
2967
2964
|
this.stopped = stopped;
|
|
@@ -2970,7 +2967,7 @@ var Result = function (stopped, result) {
|
|
|
2970
2967
|
|
|
2971
2968
|
var ResultPrototype = Result.prototype;
|
|
2972
2969
|
|
|
2973
|
-
var iterate$
|
|
2970
|
+
var iterate$4 = function (iterable, unboundFunction, options) {
|
|
2974
2971
|
var that = options && options.that;
|
|
2975
2972
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2976
2973
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -2980,13 +2977,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2980
2977
|
var iterator, iterFn, index, length, result, next, step;
|
|
2981
2978
|
|
|
2982
2979
|
var stop = function (condition) {
|
|
2983
|
-
if (iterator) iteratorClose$
|
|
2980
|
+
if (iterator) iteratorClose$2(iterator, 'normal', condition);
|
|
2984
2981
|
return new Result(true, condition);
|
|
2985
2982
|
};
|
|
2986
2983
|
|
|
2987
2984
|
var callFn = function (value) {
|
|
2988
2985
|
if (AS_ENTRIES) {
|
|
2989
|
-
anObject$
|
|
2986
|
+
anObject$d(value);
|
|
2990
2987
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2991
2988
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2992
2989
|
};
|
|
@@ -2997,7 +2994,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2997
2994
|
iterator = iterable;
|
|
2998
2995
|
} else {
|
|
2999
2996
|
iterFn = getIteratorMethod$2(iterable);
|
|
3000
|
-
if (!iterFn) throw new $TypeError$
|
|
2997
|
+
if (!iterFn) throw new $TypeError$4(tryToString(iterable) + ' is not iterable');
|
|
3001
2998
|
// optimisation for array iterators
|
|
3002
2999
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
3003
3000
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
@@ -3009,19 +3006,19 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3009
3006
|
}
|
|
3010
3007
|
|
|
3011
3008
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3012
|
-
while (!(step = call$
|
|
3009
|
+
while (!(step = call$e(next, iterator)).done) {
|
|
3013
3010
|
try {
|
|
3014
3011
|
result = callFn(step.value);
|
|
3015
3012
|
} catch (error) {
|
|
3016
|
-
iteratorClose$
|
|
3013
|
+
iteratorClose$2(iterator, 'throw', error);
|
|
3017
3014
|
}
|
|
3018
3015
|
if (typeof result == 'object' && result && isPrototypeOf$2(ResultPrototype, result)) return result;
|
|
3019
3016
|
} return new Result(false);
|
|
3020
3017
|
};
|
|
3021
3018
|
|
|
3022
|
-
var wellKnownSymbol$
|
|
3019
|
+
var wellKnownSymbol$8 = wellKnownSymbol$m;
|
|
3023
3020
|
|
|
3024
|
-
var ITERATOR$
|
|
3021
|
+
var ITERATOR$3 = wellKnownSymbol$8('iterator');
|
|
3025
3022
|
var SAFE_CLOSING = false;
|
|
3026
3023
|
|
|
3027
3024
|
try {
|
|
@@ -3034,7 +3031,7 @@ try {
|
|
|
3034
3031
|
SAFE_CLOSING = true;
|
|
3035
3032
|
}
|
|
3036
3033
|
};
|
|
3037
|
-
iteratorWithReturn[ITERATOR$
|
|
3034
|
+
iteratorWithReturn[ITERATOR$3] = function () {
|
|
3038
3035
|
return this;
|
|
3039
3036
|
};
|
|
3040
3037
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -3048,7 +3045,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
3048
3045
|
var ITERATION_SUPPORT = false;
|
|
3049
3046
|
try {
|
|
3050
3047
|
var object = {};
|
|
3051
|
-
object[ITERATOR$
|
|
3048
|
+
object[ITERATOR$3] = function () {
|
|
3052
3049
|
return {
|
|
3053
3050
|
next: function () {
|
|
3054
3051
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -3068,32 +3065,32 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3068
3065
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
3069
3066
|
});
|
|
3070
3067
|
|
|
3071
|
-
var $$
|
|
3072
|
-
var call$
|
|
3073
|
-
var aCallable$
|
|
3068
|
+
var $$g = _export;
|
|
3069
|
+
var call$d = functionCall;
|
|
3070
|
+
var aCallable$5 = aCallable$c;
|
|
3074
3071
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3075
3072
|
var perform$1 = perform$3;
|
|
3076
|
-
var iterate$
|
|
3073
|
+
var iterate$3 = iterate$4;
|
|
3077
3074
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
3078
3075
|
|
|
3079
3076
|
// `Promise.all` method
|
|
3080
3077
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3081
|
-
$$
|
|
3078
|
+
$$g({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
3082
3079
|
all: function all(iterable) {
|
|
3083
3080
|
var C = this;
|
|
3084
3081
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
3085
3082
|
var resolve = capability.resolve;
|
|
3086
3083
|
var reject = capability.reject;
|
|
3087
3084
|
var result = perform$1(function () {
|
|
3088
|
-
var $promiseResolve = aCallable$
|
|
3085
|
+
var $promiseResolve = aCallable$5(C.resolve);
|
|
3089
3086
|
var values = [];
|
|
3090
3087
|
var counter = 0;
|
|
3091
3088
|
var remaining = 1;
|
|
3092
|
-
iterate$
|
|
3089
|
+
iterate$3(iterable, function (promise) {
|
|
3093
3090
|
var index = counter++;
|
|
3094
3091
|
var alreadyCalled = false;
|
|
3095
3092
|
remaining++;
|
|
3096
|
-
call$
|
|
3093
|
+
call$d($promiseResolve, C, promise).then(function (value) {
|
|
3097
3094
|
if (alreadyCalled) return;
|
|
3098
3095
|
alreadyCalled = true;
|
|
3099
3096
|
values[index] = value;
|
|
@@ -3107,50 +3104,50 @@ $$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3107
3104
|
}
|
|
3108
3105
|
});
|
|
3109
3106
|
|
|
3110
|
-
var $$
|
|
3107
|
+
var $$f = _export;
|
|
3111
3108
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3112
3109
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3113
3110
|
var getBuiltIn$1 = getBuiltIn$9;
|
|
3114
|
-
var isCallable$
|
|
3111
|
+
var isCallable$4 = isCallable$q;
|
|
3115
3112
|
var defineBuiltIn$8 = defineBuiltIn$d;
|
|
3116
3113
|
|
|
3117
3114
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
3118
3115
|
|
|
3119
3116
|
// `Promise.prototype.catch` method
|
|
3120
3117
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
3121
|
-
$$
|
|
3118
|
+
$$f({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
3122
3119
|
'catch': function (onRejected) {
|
|
3123
3120
|
return this.then(undefined, onRejected);
|
|
3124
3121
|
}
|
|
3125
3122
|
});
|
|
3126
3123
|
|
|
3127
3124
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
3128
|
-
if (isCallable$
|
|
3125
|
+
if (isCallable$4(NativePromiseConstructor)) {
|
|
3129
3126
|
var method = getBuiltIn$1('Promise').prototype['catch'];
|
|
3130
3127
|
if (NativePromisePrototype['catch'] !== method) {
|
|
3131
3128
|
defineBuiltIn$8(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
3132
3129
|
}
|
|
3133
3130
|
}
|
|
3134
3131
|
|
|
3135
|
-
var $$
|
|
3136
|
-
var call$
|
|
3137
|
-
var aCallable = aCallable$
|
|
3132
|
+
var $$e = _export;
|
|
3133
|
+
var call$c = functionCall;
|
|
3134
|
+
var aCallable$4 = aCallable$c;
|
|
3138
3135
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3139
3136
|
var perform = perform$3;
|
|
3140
|
-
var iterate = iterate$
|
|
3137
|
+
var iterate$2 = iterate$4;
|
|
3141
3138
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
3142
3139
|
|
|
3143
3140
|
// `Promise.race` method
|
|
3144
3141
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
3145
|
-
$$
|
|
3142
|
+
$$e({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
3146
3143
|
race: function race(iterable) {
|
|
3147
3144
|
var C = this;
|
|
3148
3145
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
3149
3146
|
var reject = capability.reject;
|
|
3150
3147
|
var result = perform(function () {
|
|
3151
|
-
var $promiseResolve = aCallable(C.resolve);
|
|
3152
|
-
iterate(iterable, function (promise) {
|
|
3153
|
-
call$
|
|
3148
|
+
var $promiseResolve = aCallable$4(C.resolve);
|
|
3149
|
+
iterate$2(iterable, function (promise) {
|
|
3150
|
+
call$c($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
3154
3151
|
});
|
|
3155
3152
|
});
|
|
3156
3153
|
if (result.error) reject(result.value);
|
|
@@ -3158,13 +3155,13 @@ $$9({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3158
3155
|
}
|
|
3159
3156
|
});
|
|
3160
3157
|
|
|
3161
|
-
var $$
|
|
3158
|
+
var $$d = _export;
|
|
3162
3159
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3163
3160
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3164
3161
|
|
|
3165
3162
|
// `Promise.reject` method
|
|
3166
3163
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3167
|
-
$$
|
|
3164
|
+
$$d({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
3168
3165
|
reject: function reject(r) {
|
|
3169
3166
|
var capability = newPromiseCapabilityModule.f(this);
|
|
3170
3167
|
var capabilityReject = capability.reject;
|
|
@@ -3173,12 +3170,12 @@ $$8({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
3173
3170
|
}
|
|
3174
3171
|
});
|
|
3175
3172
|
|
|
3176
|
-
var anObject$
|
|
3173
|
+
var anObject$c = anObject$l;
|
|
3177
3174
|
var isObject$2 = isObject$e;
|
|
3178
3175
|
var newPromiseCapability = newPromiseCapability$2;
|
|
3179
3176
|
|
|
3180
3177
|
var promiseResolve$1 = function (C, x) {
|
|
3181
|
-
anObject$
|
|
3178
|
+
anObject$c(C);
|
|
3182
3179
|
if (isObject$2(x) && x.constructor === C) return x;
|
|
3183
3180
|
var promiseCapability = newPromiseCapability.f(C);
|
|
3184
3181
|
var resolve = promiseCapability.resolve;
|
|
@@ -3186,7 +3183,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
3186
3183
|
return promiseCapability.promise;
|
|
3187
3184
|
};
|
|
3188
3185
|
|
|
3189
|
-
var $$
|
|
3186
|
+
var $$c = _export;
|
|
3190
3187
|
var getBuiltIn = getBuiltIn$9;
|
|
3191
3188
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3192
3189
|
var promiseResolve = promiseResolve$1;
|
|
@@ -3195,18 +3192,18 @@ getBuiltIn('Promise');
|
|
|
3195
3192
|
|
|
3196
3193
|
// `Promise.resolve` method
|
|
3197
3194
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3198
|
-
$$
|
|
3195
|
+
$$c({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
3199
3196
|
resolve: function resolve(x) {
|
|
3200
3197
|
return promiseResolve(this, x);
|
|
3201
3198
|
}
|
|
3202
3199
|
});
|
|
3203
3200
|
|
|
3204
|
-
var anObject$
|
|
3201
|
+
var anObject$b = anObject$l;
|
|
3205
3202
|
|
|
3206
3203
|
// `RegExp.prototype.flags` getter implementation
|
|
3207
3204
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
3208
3205
|
var regexpFlags$1 = function () {
|
|
3209
|
-
var that = anObject$
|
|
3206
|
+
var that = anObject$b(this);
|
|
3210
3207
|
var result = '';
|
|
3211
3208
|
if (that.hasIndices) result += 'd';
|
|
3212
3209
|
if (that.global) result += 'g';
|
|
@@ -3219,13 +3216,13 @@ var regexpFlags$1 = function () {
|
|
|
3219
3216
|
return result;
|
|
3220
3217
|
};
|
|
3221
3218
|
|
|
3222
|
-
var fails$
|
|
3223
|
-
var global$
|
|
3219
|
+
var fails$8 = fails$o;
|
|
3220
|
+
var global$7 = global$q;
|
|
3224
3221
|
|
|
3225
3222
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
3226
|
-
var $RegExp$2 = global$
|
|
3223
|
+
var $RegExp$2 = global$7.RegExp;
|
|
3227
3224
|
|
|
3228
|
-
var UNSUPPORTED_Y$2 = fails$
|
|
3225
|
+
var UNSUPPORTED_Y$2 = fails$8(function () {
|
|
3229
3226
|
var re = $RegExp$2('a', 'y');
|
|
3230
3227
|
re.lastIndex = 2;
|
|
3231
3228
|
return re.exec('abcd') !== null;
|
|
@@ -3233,11 +3230,11 @@ var UNSUPPORTED_Y$2 = fails$7(function () {
|
|
|
3233
3230
|
|
|
3234
3231
|
// UC Browser bug
|
|
3235
3232
|
// https://github.com/zloirock/core-js/issues/1008
|
|
3236
|
-
var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$
|
|
3233
|
+
var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$8(function () {
|
|
3237
3234
|
return !$RegExp$2('a', 'y').sticky;
|
|
3238
3235
|
});
|
|
3239
3236
|
|
|
3240
|
-
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$
|
|
3237
|
+
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$8(function () {
|
|
3241
3238
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
3242
3239
|
var re = $RegExp$2('^r', 'gy');
|
|
3243
3240
|
re.lastIndex = 2;
|
|
@@ -3250,24 +3247,24 @@ var regexpStickyHelpers = {
|
|
|
3250
3247
|
UNSUPPORTED_Y: UNSUPPORTED_Y$2
|
|
3251
3248
|
};
|
|
3252
3249
|
|
|
3253
|
-
var fails$
|
|
3254
|
-
var global$
|
|
3250
|
+
var fails$7 = fails$o;
|
|
3251
|
+
var global$6 = global$q;
|
|
3255
3252
|
|
|
3256
3253
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
3257
|
-
var $RegExp$1 = global$
|
|
3254
|
+
var $RegExp$1 = global$6.RegExp;
|
|
3258
3255
|
|
|
3259
|
-
var regexpUnsupportedDotAll = fails$
|
|
3256
|
+
var regexpUnsupportedDotAll = fails$7(function () {
|
|
3260
3257
|
var re = $RegExp$1('.', 's');
|
|
3261
3258
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
3262
3259
|
});
|
|
3263
3260
|
|
|
3264
|
-
var fails$
|
|
3265
|
-
var global$
|
|
3261
|
+
var fails$6 = fails$o;
|
|
3262
|
+
var global$5 = global$q;
|
|
3266
3263
|
|
|
3267
3264
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
3268
|
-
var $RegExp = global$
|
|
3265
|
+
var $RegExp = global$5.RegExp;
|
|
3269
3266
|
|
|
3270
|
-
var regexpUnsupportedNcg = fails$
|
|
3267
|
+
var regexpUnsupportedNcg = fails$6(function () {
|
|
3271
3268
|
var re = $RegExp('(?<a>b)', 'g');
|
|
3272
3269
|
return re.exec('b').groups.a !== 'b' ||
|
|
3273
3270
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -3275,13 +3272,13 @@ var regexpUnsupportedNcg = fails$5(function () {
|
|
|
3275
3272
|
|
|
3276
3273
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
3277
3274
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
3278
|
-
var call$
|
|
3275
|
+
var call$b = functionCall;
|
|
3279
3276
|
var uncurryThis$9 = functionUncurryThis;
|
|
3280
3277
|
var toString$8 = toString$b;
|
|
3281
3278
|
var regexpFlags = regexpFlags$1;
|
|
3282
3279
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
3283
3280
|
var shared = shared$4;
|
|
3284
|
-
var create$
|
|
3281
|
+
var create$3 = objectCreate;
|
|
3285
3282
|
var getInternalState$2 = internalState.get;
|
|
3286
3283
|
var UNSUPPORTED_DOT_ALL$2 = regexpUnsupportedDotAll;
|
|
3287
3284
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
@@ -3297,8 +3294,8 @@ var stringSlice$4 = uncurryThis$9(''.slice);
|
|
|
3297
3294
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
3298
3295
|
var re1 = /a/;
|
|
3299
3296
|
var re2 = /b*/g;
|
|
3300
|
-
call$
|
|
3301
|
-
call$
|
|
3297
|
+
call$b(nativeExec, re1, 'a');
|
|
3298
|
+
call$b(nativeExec, re2, 'a');
|
|
3302
3299
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
3303
3300
|
})();
|
|
3304
3301
|
|
|
@@ -3319,14 +3316,14 @@ if (PATCH) {
|
|
|
3319
3316
|
|
|
3320
3317
|
if (raw) {
|
|
3321
3318
|
raw.lastIndex = re.lastIndex;
|
|
3322
|
-
result = call$
|
|
3319
|
+
result = call$b(patchedExec, raw, str);
|
|
3323
3320
|
re.lastIndex = raw.lastIndex;
|
|
3324
3321
|
return result;
|
|
3325
3322
|
}
|
|
3326
3323
|
|
|
3327
3324
|
var groups = state.groups;
|
|
3328
3325
|
var sticky = UNSUPPORTED_Y$1 && re.sticky;
|
|
3329
|
-
var flags = call$
|
|
3326
|
+
var flags = call$b(regexpFlags, re);
|
|
3330
3327
|
var source = re.source;
|
|
3331
3328
|
var charsAdded = 0;
|
|
3332
3329
|
var strCopy = str;
|
|
@@ -3354,7 +3351,7 @@ if (PATCH) {
|
|
|
3354
3351
|
}
|
|
3355
3352
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
3356
3353
|
|
|
3357
|
-
match = call$
|
|
3354
|
+
match = call$b(nativeExec, sticky ? reCopy : re, strCopy);
|
|
3358
3355
|
|
|
3359
3356
|
if (sticky) {
|
|
3360
3357
|
if (match) {
|
|
@@ -3369,7 +3366,7 @@ if (PATCH) {
|
|
|
3369
3366
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
3370
3367
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
3371
3368
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
3372
|
-
call$
|
|
3369
|
+
call$b(nativeReplace, match[0], reCopy, function () {
|
|
3373
3370
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
3374
3371
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
3375
3372
|
}
|
|
@@ -3377,7 +3374,7 @@ if (PATCH) {
|
|
|
3377
3374
|
}
|
|
3378
3375
|
|
|
3379
3376
|
if (match && groups) {
|
|
3380
|
-
match.groups = object = create$
|
|
3377
|
+
match.groups = object = create$3(null);
|
|
3381
3378
|
for (i = 0; i < groups.length; i++) {
|
|
3382
3379
|
group = groups[i];
|
|
3383
3380
|
object[group[0]] = match[group[1]];
|
|
@@ -3390,38 +3387,38 @@ if (PATCH) {
|
|
|
3390
3387
|
|
|
3391
3388
|
var regexpExec$2 = patchedExec;
|
|
3392
3389
|
|
|
3393
|
-
var $$
|
|
3390
|
+
var $$b = _export;
|
|
3394
3391
|
var exec$3 = regexpExec$2;
|
|
3395
3392
|
|
|
3396
3393
|
// `RegExp.prototype.exec` method
|
|
3397
3394
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
3398
|
-
$$
|
|
3395
|
+
$$b({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
|
|
3399
3396
|
exec: exec$3
|
|
3400
3397
|
});
|
|
3401
3398
|
|
|
3402
3399
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
3403
3400
|
|
|
3404
|
-
var call$
|
|
3401
|
+
var call$a = functionCall;
|
|
3405
3402
|
var defineBuiltIn$7 = defineBuiltIn$d;
|
|
3406
3403
|
var regexpExec$1 = regexpExec$2;
|
|
3407
|
-
var fails$
|
|
3408
|
-
var wellKnownSymbol$
|
|
3409
|
-
var createNonEnumerableProperty$
|
|
3404
|
+
var fails$5 = fails$o;
|
|
3405
|
+
var wellKnownSymbol$7 = wellKnownSymbol$m;
|
|
3406
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$a;
|
|
3410
3407
|
|
|
3411
|
-
var SPECIES = wellKnownSymbol$
|
|
3408
|
+
var SPECIES = wellKnownSymbol$7('species');
|
|
3412
3409
|
var RegExpPrototype$4 = RegExp.prototype;
|
|
3413
3410
|
|
|
3414
3411
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
3415
|
-
var SYMBOL = wellKnownSymbol$
|
|
3412
|
+
var SYMBOL = wellKnownSymbol$7(KEY);
|
|
3416
3413
|
|
|
3417
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
3414
|
+
var DELEGATES_TO_SYMBOL = !fails$5(function () {
|
|
3418
3415
|
// String methods call symbol-named RegExp methods
|
|
3419
3416
|
var O = {};
|
|
3420
3417
|
O[SYMBOL] = function () { return 7; };
|
|
3421
3418
|
return ''[KEY](O) !== 7;
|
|
3422
3419
|
});
|
|
3423
3420
|
|
|
3424
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
3421
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$5(function () {
|
|
3425
3422
|
// Symbol-named RegExp methods call .exec
|
|
3426
3423
|
var execCalled = false;
|
|
3427
3424
|
var re = /a/;
|
|
@@ -3461,9 +3458,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
3461
3458
|
// The native String method already delegates to @@method (this
|
|
3462
3459
|
// polyfilled function), leasing to infinite recursion.
|
|
3463
3460
|
// We avoid it by directly calling the native @@method method.
|
|
3464
|
-
return { done: true, value: call$
|
|
3461
|
+
return { done: true, value: call$a(nativeRegExpMethod, regexp, str, arg2) };
|
|
3465
3462
|
}
|
|
3466
|
-
return { done: true, value: call$
|
|
3463
|
+
return { done: true, value: call$a(nativeMethod, str, regexp, arg2) };
|
|
3467
3464
|
}
|
|
3468
3465
|
return { done: false };
|
|
3469
3466
|
});
|
|
@@ -3472,7 +3469,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
3472
3469
|
defineBuiltIn$7(RegExpPrototype$4, SYMBOL, methods[1]);
|
|
3473
3470
|
}
|
|
3474
3471
|
|
|
3475
|
-
if (SHAM) createNonEnumerableProperty$
|
|
3472
|
+
if (SHAM) createNonEnumerableProperty$2(RegExpPrototype$4[SYMBOL], 'sham', true);
|
|
3476
3473
|
};
|
|
3477
3474
|
|
|
3478
3475
|
// `SameValue` abstract operation
|
|
@@ -3483,35 +3480,35 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
3483
3480
|
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
3484
3481
|
};
|
|
3485
3482
|
|
|
3486
|
-
var call$
|
|
3487
|
-
var anObject$
|
|
3488
|
-
var isCallable$
|
|
3483
|
+
var call$9 = functionCall;
|
|
3484
|
+
var anObject$a = anObject$l;
|
|
3485
|
+
var isCallable$3 = isCallable$q;
|
|
3489
3486
|
var classof$3 = classofRaw$2;
|
|
3490
3487
|
var regexpExec = regexpExec$2;
|
|
3491
3488
|
|
|
3492
|
-
var $TypeError$
|
|
3489
|
+
var $TypeError$3 = TypeError;
|
|
3493
3490
|
|
|
3494
3491
|
// `RegExpExec` abstract operation
|
|
3495
3492
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
3496
3493
|
var regexpExecAbstract = function (R, S) {
|
|
3497
3494
|
var exec = R.exec;
|
|
3498
|
-
if (isCallable$
|
|
3499
|
-
var result = call$
|
|
3500
|
-
if (result !== null) anObject$
|
|
3495
|
+
if (isCallable$3(exec)) {
|
|
3496
|
+
var result = call$9(exec, R, S);
|
|
3497
|
+
if (result !== null) anObject$a(result);
|
|
3501
3498
|
return result;
|
|
3502
3499
|
}
|
|
3503
|
-
if (classof$3(R) === 'RegExp') return call$
|
|
3504
|
-
throw new $TypeError$
|
|
3500
|
+
if (classof$3(R) === 'RegExp') return call$9(regexpExec, R, S);
|
|
3501
|
+
throw new $TypeError$3('RegExp#exec called on incompatible receiver');
|
|
3505
3502
|
};
|
|
3506
3503
|
|
|
3507
|
-
var call$
|
|
3504
|
+
var call$8 = functionCall;
|
|
3508
3505
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
3509
|
-
var anObject$
|
|
3506
|
+
var anObject$9 = anObject$l;
|
|
3510
3507
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
3511
3508
|
var requireObjectCoercible$2 = requireObjectCoercible$6;
|
|
3512
3509
|
var sameValue = sameValue$1;
|
|
3513
3510
|
var toString$7 = toString$b;
|
|
3514
|
-
var getMethod = getMethod$
|
|
3511
|
+
var getMethod$1 = getMethod$5;
|
|
3515
3512
|
var regExpExec = regexpExecAbstract;
|
|
3516
3513
|
|
|
3517
3514
|
// @@search logic
|
|
@@ -3521,13 +3518,13 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
3521
3518
|
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
3522
3519
|
function search(regexp) {
|
|
3523
3520
|
var O = requireObjectCoercible$2(this);
|
|
3524
|
-
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
|
|
3525
|
-
return searcher ? call$
|
|
3521
|
+
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod$1(regexp, SEARCH);
|
|
3522
|
+
return searcher ? call$8(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$7(O));
|
|
3526
3523
|
},
|
|
3527
3524
|
// `RegExp.prototype[@@search]` method
|
|
3528
3525
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
3529
3526
|
function (string) {
|
|
3530
|
-
var rx = anObject$
|
|
3527
|
+
var rx = anObject$9(this);
|
|
3531
3528
|
var S = toString$7(string);
|
|
3532
3529
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
3533
3530
|
|
|
@@ -3542,12 +3539,134 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
3542
3539
|
];
|
|
3543
3540
|
});
|
|
3544
3541
|
|
|
3545
|
-
var
|
|
3546
|
-
var
|
|
3542
|
+
var DESCRIPTORS$7 = descriptors;
|
|
3543
|
+
var definePropertyModule = objectDefineProperty;
|
|
3544
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$6;
|
|
3545
|
+
|
|
3546
|
+
var createProperty$2 = function (object, key, value) {
|
|
3547
|
+
if (DESCRIPTORS$7) definePropertyModule.f(object, key, createPropertyDescriptor$1(0, value));
|
|
3548
|
+
else object[key] = value;
|
|
3549
|
+
};
|
|
3550
|
+
|
|
3551
|
+
var $$a = _export;
|
|
3552
|
+
var global$4 = global$q;
|
|
3553
|
+
var anInstance$2 = anInstance$4;
|
|
3554
|
+
var anObject$8 = anObject$l;
|
|
3555
|
+
var isCallable$2 = isCallable$q;
|
|
3556
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
3557
|
+
var defineBuiltInAccessor$4 = defineBuiltInAccessor$6;
|
|
3558
|
+
var createProperty$1 = createProperty$2;
|
|
3559
|
+
var fails$4 = fails$o;
|
|
3560
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
3561
|
+
var wellKnownSymbol$6 = wellKnownSymbol$m;
|
|
3562
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
3547
3563
|
var DESCRIPTORS$6 = descriptors;
|
|
3548
|
-
var IS_PURE = isPure;
|
|
3549
3564
|
|
|
3550
|
-
var
|
|
3565
|
+
var CONSTRUCTOR = 'constructor';
|
|
3566
|
+
var ITERATOR$2 = 'Iterator';
|
|
3567
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
|
|
3568
|
+
|
|
3569
|
+
var $TypeError$2 = TypeError;
|
|
3570
|
+
var NativeIterator = global$4[ITERATOR$2];
|
|
3571
|
+
|
|
3572
|
+
// FF56- have non-standard global helper `Iterator`
|
|
3573
|
+
var FORCED = !isCallable$2(NativeIterator)
|
|
3574
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
3575
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
3576
|
+
|| !fails$4(function () { NativeIterator({}); });
|
|
3577
|
+
|
|
3578
|
+
var IteratorConstructor = function Iterator() {
|
|
3579
|
+
anInstance$2(this, IteratorPrototype$1);
|
|
3580
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$2('Abstract class Iterator not directly constructable');
|
|
3581
|
+
};
|
|
3582
|
+
|
|
3583
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3584
|
+
if (DESCRIPTORS$6) {
|
|
3585
|
+
defineBuiltInAccessor$4(IteratorPrototype$1, key, {
|
|
3586
|
+
configurable: true,
|
|
3587
|
+
get: function () {
|
|
3588
|
+
return value;
|
|
3589
|
+
},
|
|
3590
|
+
set: function (replacement) {
|
|
3591
|
+
anObject$8(this);
|
|
3592
|
+
if (this === IteratorPrototype$1) throw new $TypeError$2("You can't redefine this property");
|
|
3593
|
+
if (hasOwn$4(this, key)) this[key] = replacement;
|
|
3594
|
+
else createProperty$1(this, key, replacement);
|
|
3595
|
+
}
|
|
3596
|
+
});
|
|
3597
|
+
} else IteratorPrototype$1[key] = value;
|
|
3598
|
+
};
|
|
3599
|
+
|
|
3600
|
+
if (!hasOwn$4(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$2);
|
|
3601
|
+
|
|
3602
|
+
if (FORCED || !hasOwn$4(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
3603
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
3607
|
+
|
|
3608
|
+
// `Iterator` constructor
|
|
3609
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3610
|
+
$$a({ global: true, constructor: true, forced: FORCED }, {
|
|
3611
|
+
Iterator: IteratorConstructor
|
|
3612
|
+
});
|
|
3613
|
+
|
|
3614
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
3615
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
3616
|
+
var getIteratorDirect$4 = function (obj) {
|
|
3617
|
+
return {
|
|
3618
|
+
iterator: obj,
|
|
3619
|
+
next: obj.next,
|
|
3620
|
+
done: false
|
|
3621
|
+
};
|
|
3622
|
+
};
|
|
3623
|
+
|
|
3624
|
+
var $$9 = _export;
|
|
3625
|
+
var iterate$1 = iterate$4;
|
|
3626
|
+
var aCallable$3 = aCallable$c;
|
|
3627
|
+
var anObject$7 = anObject$l;
|
|
3628
|
+
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
3629
|
+
|
|
3630
|
+
// `Iterator.prototype.find` method
|
|
3631
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3632
|
+
$$9({ target: 'Iterator', proto: true, real: true }, {
|
|
3633
|
+
find: function find(predicate) {
|
|
3634
|
+
anObject$7(this);
|
|
3635
|
+
aCallable$3(predicate);
|
|
3636
|
+
var record = getIteratorDirect$3(this);
|
|
3637
|
+
var counter = 0;
|
|
3638
|
+
return iterate$1(record, function (value, stop) {
|
|
3639
|
+
if (predicate(value, counter++)) return stop(value);
|
|
3640
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
3641
|
+
}
|
|
3642
|
+
});
|
|
3643
|
+
|
|
3644
|
+
var $$8 = _export;
|
|
3645
|
+
var iterate = iterate$4;
|
|
3646
|
+
var aCallable$2 = aCallable$c;
|
|
3647
|
+
var anObject$6 = anObject$l;
|
|
3648
|
+
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
3649
|
+
|
|
3650
|
+
// `Iterator.prototype.forEach` method
|
|
3651
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3652
|
+
$$8({ target: 'Iterator', proto: true, real: true }, {
|
|
3653
|
+
forEach: function forEach(fn) {
|
|
3654
|
+
anObject$6(this);
|
|
3655
|
+
aCallable$2(fn);
|
|
3656
|
+
var record = getIteratorDirect$2(this);
|
|
3657
|
+
var counter = 0;
|
|
3658
|
+
iterate(record, function (value) {
|
|
3659
|
+
fn(value, counter++);
|
|
3660
|
+
}, { IS_RECORD: true });
|
|
3661
|
+
}
|
|
3662
|
+
});
|
|
3663
|
+
|
|
3664
|
+
var fails$3 = fails$o;
|
|
3665
|
+
var wellKnownSymbol$5 = wellKnownSymbol$m;
|
|
3666
|
+
var DESCRIPTORS$5 = descriptors;
|
|
3667
|
+
var IS_PURE$2 = isPure;
|
|
3668
|
+
|
|
3669
|
+
var ITERATOR$1 = wellKnownSymbol$5('iterator');
|
|
3551
3670
|
|
|
3552
3671
|
var urlConstructorDetection = !fails$3(function () {
|
|
3553
3672
|
// eslint-disable-next-line unicorn/relative-url-style -- required for testing
|
|
@@ -3564,8 +3683,8 @@ var urlConstructorDetection = !fails$3(function () {
|
|
|
3564
3683
|
// `undefined` case is a Chromium 117 bug
|
|
3565
3684
|
// https://bugs.chromium.org/p/v8/issues/detail?id=14222
|
|
3566
3685
|
params2['delete']('b', undefined);
|
|
3567
|
-
return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
|
|
3568
|
-
|| (!params.size && (IS_PURE || !DESCRIPTORS$
|
|
3686
|
+
return (IS_PURE$2 && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
|
|
3687
|
+
|| (!params.size && (IS_PURE$2 || !DESCRIPTORS$5))
|
|
3569
3688
|
|| !params.sort
|
|
3570
3689
|
|| url.href !== 'http://a/c%20d?a=1&c=3'
|
|
3571
3690
|
|| params.get('c') !== '3'
|
|
@@ -3586,7 +3705,7 @@ var urlConstructorDetection = !fails$3(function () {
|
|
|
3586
3705
|
|
|
3587
3706
|
var defineBuiltIn$6 = defineBuiltIn$d;
|
|
3588
3707
|
|
|
3589
|
-
var defineBuiltIns$
|
|
3708
|
+
var defineBuiltIns$2 = function (target, src, options) {
|
|
3590
3709
|
for (var key in src) defineBuiltIn$6(target, key, src[key], options);
|
|
3591
3710
|
return target;
|
|
3592
3711
|
};
|
|
@@ -3635,42 +3754,42 @@ var arraySort$1 = sort;
|
|
|
3635
3754
|
|
|
3636
3755
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
3637
3756
|
|
|
3638
|
-
var $$
|
|
3639
|
-
var global$3 = global$
|
|
3757
|
+
var $$7 = _export;
|
|
3758
|
+
var global$3 = global$q;
|
|
3640
3759
|
var safeGetBuiltIn = safeGetBuiltIn$2;
|
|
3641
|
-
var call$
|
|
3760
|
+
var call$7 = functionCall;
|
|
3642
3761
|
var uncurryThis$8 = functionUncurryThis;
|
|
3643
|
-
var DESCRIPTORS$
|
|
3762
|
+
var DESCRIPTORS$4 = descriptors;
|
|
3644
3763
|
var USE_NATIVE_URL$1 = urlConstructorDetection;
|
|
3645
3764
|
var defineBuiltIn$5 = defineBuiltIn$d;
|
|
3646
|
-
var defineBuiltInAccessor$3 = defineBuiltInAccessor$
|
|
3647
|
-
var defineBuiltIns = defineBuiltIns$
|
|
3765
|
+
var defineBuiltInAccessor$3 = defineBuiltInAccessor$6;
|
|
3766
|
+
var defineBuiltIns$1 = defineBuiltIns$2;
|
|
3648
3767
|
var setToStringTag$1 = setToStringTag$6;
|
|
3649
3768
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
3650
|
-
var InternalStateModule$
|
|
3651
|
-
var anInstance$1 = anInstance$
|
|
3652
|
-
var isCallable$1 = isCallable$
|
|
3769
|
+
var InternalStateModule$3 = internalState;
|
|
3770
|
+
var anInstance$1 = anInstance$4;
|
|
3771
|
+
var isCallable$1 = isCallable$q;
|
|
3653
3772
|
var hasOwn$3 = hasOwnProperty_1;
|
|
3654
3773
|
var bind$2 = functionBindContext;
|
|
3655
3774
|
var classof$2 = classof$a;
|
|
3656
|
-
var anObject$
|
|
3775
|
+
var anObject$5 = anObject$l;
|
|
3657
3776
|
var isObject$1 = isObject$e;
|
|
3658
3777
|
var $toString$2 = toString$b;
|
|
3659
|
-
var create$
|
|
3660
|
-
var createPropertyDescriptor
|
|
3778
|
+
var create$2 = objectCreate;
|
|
3779
|
+
var createPropertyDescriptor = createPropertyDescriptor$6;
|
|
3661
3780
|
var getIterator$1 = getIterator$3;
|
|
3662
3781
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
3663
|
-
var createIterResultObject$
|
|
3782
|
+
var createIterResultObject$2 = createIterResultObject$4;
|
|
3664
3783
|
var validateArgumentsLength$3 = validateArgumentsLength$5;
|
|
3665
|
-
var wellKnownSymbol$
|
|
3784
|
+
var wellKnownSymbol$4 = wellKnownSymbol$m;
|
|
3666
3785
|
var arraySort = arraySort$1;
|
|
3667
3786
|
|
|
3668
|
-
var ITERATOR = wellKnownSymbol$
|
|
3787
|
+
var ITERATOR = wellKnownSymbol$4('iterator');
|
|
3669
3788
|
var URL_SEARCH_PARAMS = 'URLSearchParams';
|
|
3670
3789
|
var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
|
|
3671
|
-
var setInternalState$
|
|
3672
|
-
var getInternalParamsState = InternalStateModule$
|
|
3673
|
-
var getInternalIteratorState = InternalStateModule$
|
|
3790
|
+
var setInternalState$3 = InternalStateModule$3.set;
|
|
3791
|
+
var getInternalParamsState = InternalStateModule$3.getterFor(URL_SEARCH_PARAMS);
|
|
3792
|
+
var getInternalIteratorState = InternalStateModule$3.getterFor(URL_SEARCH_PARAMS_ITERATOR);
|
|
3674
3793
|
|
|
3675
3794
|
var nativeFetch = safeGetBuiltIn('fetch');
|
|
3676
3795
|
var NativeRequest = safeGetBuiltIn('Request');
|
|
@@ -3738,7 +3857,7 @@ var serialize = function (it) {
|
|
|
3738
3857
|
};
|
|
3739
3858
|
|
|
3740
3859
|
var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
|
|
3741
|
-
setInternalState$
|
|
3860
|
+
setInternalState$3(this, {
|
|
3742
3861
|
type: URL_SEARCH_PARAMS_ITERATOR,
|
|
3743
3862
|
target: getInternalParamsState(params).entries,
|
|
3744
3863
|
index: 0,
|
|
@@ -3750,13 +3869,13 @@ var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params
|
|
|
3750
3869
|
var index = state.index++;
|
|
3751
3870
|
if (!target || index >= target.length) {
|
|
3752
3871
|
state.target = undefined;
|
|
3753
|
-
return createIterResultObject$
|
|
3872
|
+
return createIterResultObject$2(undefined, true);
|
|
3754
3873
|
}
|
|
3755
3874
|
var entry = target[index];
|
|
3756
3875
|
switch (state.kind) {
|
|
3757
|
-
case 'keys': return createIterResultObject$
|
|
3758
|
-
case 'values': return createIterResultObject$
|
|
3759
|
-
} return createIterResultObject$
|
|
3876
|
+
case 'keys': return createIterResultObject$2(entry.key, false);
|
|
3877
|
+
case 'values': return createIterResultObject$2(entry.value, false);
|
|
3878
|
+
} return createIterResultObject$2([entry.key, entry.value], false);
|
|
3760
3879
|
}, true);
|
|
3761
3880
|
|
|
3762
3881
|
var URLSearchParamsState = function (init) {
|
|
@@ -3783,13 +3902,13 @@ URLSearchParamsState.prototype = {
|
|
|
3783
3902
|
if (iteratorMethod) {
|
|
3784
3903
|
iterator = getIterator$1(object, iteratorMethod);
|
|
3785
3904
|
next = iterator.next;
|
|
3786
|
-
while (!(step = call$
|
|
3787
|
-
entryIterator = getIterator$1(anObject$
|
|
3905
|
+
while (!(step = call$7(next, iterator)).done) {
|
|
3906
|
+
entryIterator = getIterator$1(anObject$5(step.value));
|
|
3788
3907
|
entryNext = entryIterator.next;
|
|
3789
3908
|
if (
|
|
3790
|
-
(first = call$
|
|
3791
|
-
(second = call$
|
|
3792
|
-
!call$
|
|
3909
|
+
(first = call$7(entryNext, entryIterator)).done ||
|
|
3910
|
+
(second = call$7(entryNext, entryIterator)).done ||
|
|
3911
|
+
!call$7(entryNext, entryIterator).done
|
|
3793
3912
|
) throw new TypeError$2('Expected sequence with length 2');
|
|
3794
3913
|
push$3(entries, { key: $toString$2(first.value), value: $toString$2(second.value) });
|
|
3795
3914
|
}
|
|
@@ -3839,20 +3958,20 @@ URLSearchParamsState.prototype = {
|
|
|
3839
3958
|
var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
|
|
3840
3959
|
anInstance$1(this, URLSearchParamsPrototype$3);
|
|
3841
3960
|
var init = arguments.length > 0 ? arguments[0] : undefined;
|
|
3842
|
-
var state = setInternalState$
|
|
3843
|
-
if (!DESCRIPTORS$
|
|
3961
|
+
var state = setInternalState$3(this, new URLSearchParamsState(init));
|
|
3962
|
+
if (!DESCRIPTORS$4) this.size = state.entries.length;
|
|
3844
3963
|
};
|
|
3845
3964
|
|
|
3846
3965
|
var URLSearchParamsPrototype$3 = URLSearchParamsConstructor.prototype;
|
|
3847
3966
|
|
|
3848
|
-
defineBuiltIns(URLSearchParamsPrototype$3, {
|
|
3967
|
+
defineBuiltIns$1(URLSearchParamsPrototype$3, {
|
|
3849
3968
|
// `URLSearchParams.prototype.append` method
|
|
3850
3969
|
// https://url.spec.whatwg.org/#dom-urlsearchparams-append
|
|
3851
3970
|
append: function append(name, value) {
|
|
3852
3971
|
var state = getInternalParamsState(this);
|
|
3853
3972
|
validateArgumentsLength$3(arguments.length, 2);
|
|
3854
3973
|
push$3(state.entries, { key: $toString$2(name), value: $toString$2(value) });
|
|
3855
|
-
if (!DESCRIPTORS$
|
|
3974
|
+
if (!DESCRIPTORS$4) this.length++;
|
|
3856
3975
|
state.updateURL();
|
|
3857
3976
|
},
|
|
3858
3977
|
// `URLSearchParams.prototype.delete` method
|
|
@@ -3872,7 +3991,7 @@ defineBuiltIns(URLSearchParamsPrototype$3, {
|
|
|
3872
3991
|
if (value !== undefined) break;
|
|
3873
3992
|
} else index++;
|
|
3874
3993
|
}
|
|
3875
|
-
if (!DESCRIPTORS$
|
|
3994
|
+
if (!DESCRIPTORS$4) this.size = entries.length;
|
|
3876
3995
|
state.updateURL();
|
|
3877
3996
|
},
|
|
3878
3997
|
// `URLSearchParams.prototype.get` method
|
|
@@ -3937,7 +4056,7 @@ defineBuiltIns(URLSearchParamsPrototype$3, {
|
|
|
3937
4056
|
}
|
|
3938
4057
|
}
|
|
3939
4058
|
if (!found) push$3(entries, { key: key, value: val });
|
|
3940
|
-
if (!DESCRIPTORS$
|
|
4059
|
+
if (!DESCRIPTORS$4) this.size = entries.length;
|
|
3941
4060
|
state.updateURL();
|
|
3942
4061
|
},
|
|
3943
4062
|
// `URLSearchParams.prototype.sort` method
|
|
@@ -3985,7 +4104,7 @@ defineBuiltIn$5(URLSearchParamsPrototype$3, 'toString', function toString() {
|
|
|
3985
4104
|
|
|
3986
4105
|
// `URLSearchParams.prototype.size` getter
|
|
3987
4106
|
// https://github.com/whatwg/url/pull/734
|
|
3988
|
-
if (DESCRIPTORS$
|
|
4107
|
+
if (DESCRIPTORS$4) defineBuiltInAccessor$3(URLSearchParamsPrototype$3, 'size', {
|
|
3989
4108
|
get: function size() {
|
|
3990
4109
|
return getInternalParamsState(this).entries.length;
|
|
3991
4110
|
},
|
|
@@ -3995,7 +4114,7 @@ if (DESCRIPTORS$5) defineBuiltInAccessor$3(URLSearchParamsPrototype$3, 'size', {
|
|
|
3995
4114
|
|
|
3996
4115
|
setToStringTag$1(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
|
|
3997
4116
|
|
|
3998
|
-
$$
|
|
4117
|
+
$$7({ global: true, constructor: true, forced: !USE_NATIVE_URL$1 }, {
|
|
3999
4118
|
URLSearchParams: URLSearchParamsConstructor
|
|
4000
4119
|
});
|
|
4001
4120
|
|
|
@@ -4013,16 +4132,16 @@ if (!USE_NATIVE_URL$1 && isCallable$1(Headers)) {
|
|
|
4013
4132
|
if (!headersHas(headers, 'content-type')) {
|
|
4014
4133
|
headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
|
|
4015
4134
|
}
|
|
4016
|
-
return create$
|
|
4017
|
-
body: createPropertyDescriptor
|
|
4018
|
-
headers: createPropertyDescriptor
|
|
4135
|
+
return create$2(init, {
|
|
4136
|
+
body: createPropertyDescriptor(0, $toString$2(body)),
|
|
4137
|
+
headers: createPropertyDescriptor(0, headers)
|
|
4019
4138
|
});
|
|
4020
4139
|
}
|
|
4021
4140
|
} return init;
|
|
4022
4141
|
};
|
|
4023
4142
|
|
|
4024
4143
|
if (isCallable$1(nativeFetch)) {
|
|
4025
|
-
$$
|
|
4144
|
+
$$7({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
|
|
4026
4145
|
fetch: function fetch(input /* , init */) {
|
|
4027
4146
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
4028
4147
|
}
|
|
@@ -4038,7 +4157,7 @@ if (!USE_NATIVE_URL$1 && isCallable$1(Headers)) {
|
|
|
4038
4157
|
RequestPrototype.constructor = RequestConstructor;
|
|
4039
4158
|
RequestConstructor.prototype = RequestPrototype;
|
|
4040
4159
|
|
|
4041
|
-
$$
|
|
4160
|
+
$$7({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
|
|
4042
4161
|
Request: RequestConstructor
|
|
4043
4162
|
});
|
|
4044
4163
|
}
|
|
@@ -4126,16 +4245,16 @@ if (params.has('a', 2) || !params.has('a', undefined)) {
|
|
|
4126
4245
|
}, { enumerable: true, unsafe: true });
|
|
4127
4246
|
}
|
|
4128
4247
|
|
|
4129
|
-
var DESCRIPTORS$
|
|
4248
|
+
var DESCRIPTORS$3 = descriptors;
|
|
4130
4249
|
var uncurryThis$5 = functionUncurryThis;
|
|
4131
|
-
var defineBuiltInAccessor$2 = defineBuiltInAccessor$
|
|
4250
|
+
var defineBuiltInAccessor$2 = defineBuiltInAccessor$6;
|
|
4132
4251
|
|
|
4133
4252
|
var URLSearchParamsPrototype = URLSearchParams.prototype;
|
|
4134
4253
|
var forEach = uncurryThis$5(URLSearchParamsPrototype.forEach);
|
|
4135
4254
|
|
|
4136
4255
|
// `URLSearchParams.prototype.size` getter
|
|
4137
4256
|
// https://github.com/whatwg/url/pull/734
|
|
4138
|
-
if (DESCRIPTORS$
|
|
4257
|
+
if (DESCRIPTORS$3 && !('size' in URLSearchParamsPrototype)) {
|
|
4139
4258
|
defineBuiltInAccessor$2(URLSearchParamsPrototype, 'size', {
|
|
4140
4259
|
get: function size() {
|
|
4141
4260
|
var count = 0;
|
|
@@ -4224,9 +4343,9 @@ var DEBUG_LEVELS;
|
|
|
4224
4343
|
})(DEBUG_LEVELS || (DEBUG_LEVELS = {}));
|
|
4225
4344
|
const PAGE_VIEW_EVENT_NAME = 'pageview';
|
|
4226
4345
|
|
|
4227
|
-
var $$
|
|
4346
|
+
var $$6 = _export;
|
|
4228
4347
|
var $includes = arrayIncludes.includes;
|
|
4229
|
-
var fails$2 = fails$
|
|
4348
|
+
var fails$2 = fails$o;
|
|
4230
4349
|
var addToUnscopables = addToUnscopables$2;
|
|
4231
4350
|
|
|
4232
4351
|
// FF99+ bug
|
|
@@ -4237,7 +4356,7 @@ var BROKEN_ON_SPARSE = fails$2(function () {
|
|
|
4237
4356
|
|
|
4238
4357
|
// `Array.prototype.includes` method
|
|
4239
4358
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
4240
|
-
$$
|
|
4359
|
+
$$6({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
4241
4360
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
4242
4361
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
4243
4362
|
}
|
|
@@ -4248,9 +4367,9 @@ addToUnscopables('includes');
|
|
|
4248
4367
|
|
|
4249
4368
|
var isObject = isObject$e;
|
|
4250
4369
|
var classof$1 = classofRaw$2;
|
|
4251
|
-
var wellKnownSymbol$
|
|
4370
|
+
var wellKnownSymbol$3 = wellKnownSymbol$m;
|
|
4252
4371
|
|
|
4253
|
-
var MATCH$2 = wellKnownSymbol$
|
|
4372
|
+
var MATCH$2 = wellKnownSymbol$3('match');
|
|
4254
4373
|
|
|
4255
4374
|
// `IsRegExp` abstract operation
|
|
4256
4375
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
@@ -4259,7 +4378,7 @@ var isRegexp = function (it) {
|
|
|
4259
4378
|
return isObject(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
|
|
4260
4379
|
};
|
|
4261
4380
|
|
|
4262
|
-
var call$
|
|
4381
|
+
var call$6 = functionCall;
|
|
4263
4382
|
var hasOwn$2 = hasOwnProperty_1;
|
|
4264
4383
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
4265
4384
|
var regExpFlags = regexpFlags$1;
|
|
@@ -4269,16 +4388,16 @@ var RegExpPrototype$3 = RegExp.prototype;
|
|
|
4269
4388
|
var regexpGetFlags = function (R) {
|
|
4270
4389
|
var flags = R.flags;
|
|
4271
4390
|
return flags === undefined && !('flags' in RegExpPrototype$3) && !hasOwn$2(R, 'flags') && isPrototypeOf$1(RegExpPrototype$3, R)
|
|
4272
|
-
? call$
|
|
4391
|
+
? call$6(regExpFlags, R) : flags;
|
|
4273
4392
|
};
|
|
4274
4393
|
|
|
4275
|
-
var DESCRIPTORS$
|
|
4276
|
-
var global$2 = global$
|
|
4394
|
+
var DESCRIPTORS$2 = descriptors;
|
|
4395
|
+
var global$2 = global$q;
|
|
4277
4396
|
var uncurryThis$4 = functionUncurryThis;
|
|
4278
4397
|
var isForced = isForced_1;
|
|
4279
4398
|
var inheritIfRequired = inheritIfRequired$2;
|
|
4280
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
4281
|
-
var create = objectCreate;
|
|
4399
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$a;
|
|
4400
|
+
var create$1 = objectCreate;
|
|
4282
4401
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
4283
4402
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
4284
4403
|
var isRegExp$1 = isRegexp;
|
|
@@ -4287,15 +4406,15 @@ var getRegExpFlags$1 = regexpGetFlags;
|
|
|
4287
4406
|
var stickyHelpers = regexpStickyHelpers;
|
|
4288
4407
|
var proxyAccessor = proxyAccessor$2;
|
|
4289
4408
|
var defineBuiltIn$2 = defineBuiltIn$d;
|
|
4290
|
-
var fails$1 = fails$
|
|
4409
|
+
var fails$1 = fails$o;
|
|
4291
4410
|
var hasOwn$1 = hasOwnProperty_1;
|
|
4292
4411
|
var enforceInternalState = internalState.enforce;
|
|
4293
4412
|
var setSpecies = setSpecies$2;
|
|
4294
|
-
var wellKnownSymbol$
|
|
4413
|
+
var wellKnownSymbol$2 = wellKnownSymbol$m;
|
|
4295
4414
|
var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
4296
4415
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
4297
4416
|
|
|
4298
|
-
var MATCH$1 = wellKnownSymbol$
|
|
4417
|
+
var MATCH$1 = wellKnownSymbol$2('match');
|
|
4299
4418
|
var NativeRegExp = global$2.RegExp;
|
|
4300
4419
|
var RegExpPrototype$2 = NativeRegExp.prototype;
|
|
4301
4420
|
var SyntaxError = global$2.SyntaxError;
|
|
@@ -4315,7 +4434,7 @@ var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
|
4315
4434
|
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
|
4316
4435
|
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
4317
4436
|
|
|
4318
|
-
var BASE_FORCED = DESCRIPTORS$
|
|
4437
|
+
var BASE_FORCED = DESCRIPTORS$2 &&
|
|
4319
4438
|
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG || fails$1(function () {
|
|
4320
4439
|
re2[MATCH$1] = false;
|
|
4321
4440
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
@@ -4351,7 +4470,7 @@ var handleNCG = function (string) {
|
|
|
4351
4470
|
var index = 0;
|
|
4352
4471
|
var result = '';
|
|
4353
4472
|
var named = [];
|
|
4354
|
-
var names = create(null);
|
|
4473
|
+
var names = create$1(null);
|
|
4355
4474
|
var brackets = false;
|
|
4356
4475
|
var ncg = false;
|
|
4357
4476
|
var groupid = 0;
|
|
@@ -4446,7 +4565,7 @@ if (isForced('RegExp', BASE_FORCED)) {
|
|
|
4446
4565
|
|
|
4447
4566
|
if (pattern !== rawPattern) try {
|
|
4448
4567
|
// fails in old engines, but we have no alternatives for unsupported regex syntax
|
|
4449
|
-
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
|
4568
|
+
createNonEnumerableProperty$1(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
|
4450
4569
|
} catch (error) { /* empty */ }
|
|
4451
4570
|
|
|
4452
4571
|
return result;
|
|
@@ -4464,10 +4583,10 @@ if (isForced('RegExp', BASE_FORCED)) {
|
|
|
4464
4583
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
4465
4584
|
setSpecies('RegExp');
|
|
4466
4585
|
|
|
4467
|
-
var DESCRIPTORS$
|
|
4586
|
+
var DESCRIPTORS$1 = descriptors;
|
|
4468
4587
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
4469
4588
|
var classof = classofRaw$2;
|
|
4470
|
-
var defineBuiltInAccessor$1 = defineBuiltInAccessor$
|
|
4589
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$6;
|
|
4471
4590
|
var getInternalState$1 = internalState.get;
|
|
4472
4591
|
|
|
4473
4592
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
@@ -4475,7 +4594,7 @@ var $TypeError$1 = TypeError;
|
|
|
4475
4594
|
|
|
4476
4595
|
// `RegExp.prototype.dotAll` getter
|
|
4477
4596
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
|
|
4478
|
-
if (DESCRIPTORS$
|
|
4597
|
+
if (DESCRIPTORS$1 && UNSUPPORTED_DOT_ALL) {
|
|
4479
4598
|
defineBuiltInAccessor$1(RegExpPrototype$1, 'dotAll', {
|
|
4480
4599
|
configurable: true,
|
|
4481
4600
|
get: function dotAll() {
|
|
@@ -4492,10 +4611,10 @@ if (DESCRIPTORS$2 && UNSUPPORTED_DOT_ALL) {
|
|
|
4492
4611
|
|
|
4493
4612
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
4494
4613
|
|
|
4495
|
-
var $$
|
|
4496
|
-
var call$
|
|
4497
|
-
var isCallable = isCallable$
|
|
4498
|
-
var anObject$
|
|
4614
|
+
var $$5 = _export;
|
|
4615
|
+
var call$5 = functionCall;
|
|
4616
|
+
var isCallable = isCallable$q;
|
|
4617
|
+
var anObject$4 = anObject$l;
|
|
4499
4618
|
var toString$3 = toString$b;
|
|
4500
4619
|
|
|
4501
4620
|
var DELEGATES_TO_EXEC = function () {
|
|
@@ -4512,24 +4631,24 @@ var nativeTest = /./.test;
|
|
|
4512
4631
|
|
|
4513
4632
|
// `RegExp.prototype.test` method
|
|
4514
4633
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
4515
|
-
$$
|
|
4634
|
+
$$5({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
4516
4635
|
test: function (S) {
|
|
4517
|
-
var R = anObject$
|
|
4636
|
+
var R = anObject$4(this);
|
|
4518
4637
|
var string = toString$3(S);
|
|
4519
4638
|
var exec = R.exec;
|
|
4520
|
-
if (!isCallable(exec)) return call$
|
|
4521
|
-
var result = call$
|
|
4639
|
+
if (!isCallable(exec)) return call$5(nativeTest, R, string);
|
|
4640
|
+
var result = call$5(exec, R, string);
|
|
4522
4641
|
if (result === null) return false;
|
|
4523
|
-
anObject$
|
|
4642
|
+
anObject$4(result);
|
|
4524
4643
|
return true;
|
|
4525
4644
|
}
|
|
4526
4645
|
});
|
|
4527
4646
|
|
|
4528
4647
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4529
4648
|
var defineBuiltIn$1 = defineBuiltIn$d;
|
|
4530
|
-
var anObject$
|
|
4649
|
+
var anObject$3 = anObject$l;
|
|
4531
4650
|
var $toString$1 = toString$b;
|
|
4532
|
-
var fails = fails$
|
|
4651
|
+
var fails = fails$o;
|
|
4533
4652
|
var getRegExpFlags = regexpGetFlags;
|
|
4534
4653
|
|
|
4535
4654
|
var TO_STRING = 'toString';
|
|
@@ -4544,7 +4663,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
4544
4663
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
4545
4664
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
4546
4665
|
defineBuiltIn$1(RegExpPrototype, TO_STRING, function toString() {
|
|
4547
|
-
var R = anObject$
|
|
4666
|
+
var R = anObject$3(this);
|
|
4548
4667
|
var pattern = $toString$1(R.source);
|
|
4549
4668
|
var flags = $toString$1(getRegExpFlags(R));
|
|
4550
4669
|
return '/' + pattern + '/' + flags;
|
|
@@ -4561,9 +4680,9 @@ var notARegexp = function (it) {
|
|
|
4561
4680
|
} return it;
|
|
4562
4681
|
};
|
|
4563
4682
|
|
|
4564
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
4683
|
+
var wellKnownSymbol$1 = wellKnownSymbol$m;
|
|
4565
4684
|
|
|
4566
|
-
var MATCH = wellKnownSymbol('match');
|
|
4685
|
+
var MATCH = wellKnownSymbol$1('match');
|
|
4567
4686
|
|
|
4568
4687
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
4569
4688
|
var regexp = /./;
|
|
@@ -4577,7 +4696,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
4577
4696
|
} return false;
|
|
4578
4697
|
};
|
|
4579
4698
|
|
|
4580
|
-
var $$
|
|
4699
|
+
var $$4 = _export;
|
|
4581
4700
|
var uncurryThis$3 = functionUncurryThis;
|
|
4582
4701
|
var notARegExp = notARegexp;
|
|
4583
4702
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
@@ -4588,7 +4707,7 @@ var stringIndexOf = uncurryThis$3(''.indexOf);
|
|
|
4588
4707
|
|
|
4589
4708
|
// `String.prototype.includes` method
|
|
4590
4709
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
4591
|
-
$$
|
|
4710
|
+
$$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
4592
4711
|
includes: function includes(searchString /* , position = 0 */) {
|
|
4593
4712
|
return !!~stringIndexOf(
|
|
4594
4713
|
toString$2(requireObjectCoercible$1(this)),
|
|
@@ -4598,6 +4717,163 @@ $$2({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
|
|
|
4598
4717
|
}
|
|
4599
4718
|
});
|
|
4600
4719
|
|
|
4720
|
+
var call$4 = functionCall;
|
|
4721
|
+
var create = objectCreate;
|
|
4722
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$a;
|
|
4723
|
+
var defineBuiltIns = defineBuiltIns$2;
|
|
4724
|
+
var wellKnownSymbol = wellKnownSymbol$m;
|
|
4725
|
+
var InternalStateModule$2 = internalState;
|
|
4726
|
+
var getMethod = getMethod$5;
|
|
4727
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
4728
|
+
var createIterResultObject$1 = createIterResultObject$4;
|
|
4729
|
+
var iteratorClose$1 = iteratorClose$3;
|
|
4730
|
+
|
|
4731
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4732
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
4733
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
4734
|
+
var setInternalState$2 = InternalStateModule$2.set;
|
|
4735
|
+
|
|
4736
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
4737
|
+
var getInternalState = InternalStateModule$2.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
4738
|
+
|
|
4739
|
+
return defineBuiltIns(create(IteratorPrototype), {
|
|
4740
|
+
next: function next() {
|
|
4741
|
+
var state = getInternalState(this);
|
|
4742
|
+
// for simplification:
|
|
4743
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
4744
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
4745
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
4746
|
+
try {
|
|
4747
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
4748
|
+
return createIterResultObject$1(result, state.done);
|
|
4749
|
+
} catch (error) {
|
|
4750
|
+
state.done = true;
|
|
4751
|
+
throw error;
|
|
4752
|
+
}
|
|
4753
|
+
},
|
|
4754
|
+
'return': function () {
|
|
4755
|
+
var state = getInternalState(this);
|
|
4756
|
+
var iterator = state.iterator;
|
|
4757
|
+
state.done = true;
|
|
4758
|
+
if (IS_ITERATOR) {
|
|
4759
|
+
var returnMethod = getMethod(iterator, 'return');
|
|
4760
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject$1(undefined, true);
|
|
4761
|
+
}
|
|
4762
|
+
if (state.inner) try {
|
|
4763
|
+
iteratorClose$1(state.inner.iterator, 'normal');
|
|
4764
|
+
} catch (error) {
|
|
4765
|
+
return iteratorClose$1(iterator, 'throw', error);
|
|
4766
|
+
}
|
|
4767
|
+
iteratorClose$1(iterator, 'normal');
|
|
4768
|
+
return createIterResultObject$1(undefined, true);
|
|
4769
|
+
}
|
|
4770
|
+
});
|
|
4771
|
+
};
|
|
4772
|
+
|
|
4773
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
4774
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
4775
|
+
|
|
4776
|
+
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
4777
|
+
|
|
4778
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
4779
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
4780
|
+
if (state) {
|
|
4781
|
+
state.iterator = record.iterator;
|
|
4782
|
+
state.next = record.next;
|
|
4783
|
+
} else state = record;
|
|
4784
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
4785
|
+
state.nextHandler = nextHandler;
|
|
4786
|
+
state.counter = 0;
|
|
4787
|
+
state.done = false;
|
|
4788
|
+
setInternalState$2(this, state);
|
|
4789
|
+
};
|
|
4790
|
+
|
|
4791
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
4792
|
+
|
|
4793
|
+
return IteratorProxy;
|
|
4794
|
+
};
|
|
4795
|
+
|
|
4796
|
+
var anObject$2 = anObject$l;
|
|
4797
|
+
var iteratorClose = iteratorClose$3;
|
|
4798
|
+
|
|
4799
|
+
// call something on iterator step with safe closing on error
|
|
4800
|
+
var callWithSafeIterationClosing$3 = function (iterator, fn, value, ENTRIES) {
|
|
4801
|
+
try {
|
|
4802
|
+
return ENTRIES ? fn(anObject$2(value)[0], value[1]) : fn(value);
|
|
4803
|
+
} catch (error) {
|
|
4804
|
+
iteratorClose(iterator, 'throw', error);
|
|
4805
|
+
}
|
|
4806
|
+
};
|
|
4807
|
+
|
|
4808
|
+
var $$3 = _export;
|
|
4809
|
+
var call$3 = functionCall;
|
|
4810
|
+
var aCallable$1 = aCallable$c;
|
|
4811
|
+
var anObject$1 = anObject$l;
|
|
4812
|
+
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
4813
|
+
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
4814
|
+
var callWithSafeIterationClosing$2 = callWithSafeIterationClosing$3;
|
|
4815
|
+
var IS_PURE$1 = isPure;
|
|
4816
|
+
|
|
4817
|
+
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
4818
|
+
var iterator = this.iterator;
|
|
4819
|
+
var predicate = this.predicate;
|
|
4820
|
+
var next = this.next;
|
|
4821
|
+
var result, done, value;
|
|
4822
|
+
while (true) {
|
|
4823
|
+
result = anObject$1(call$3(next, iterator));
|
|
4824
|
+
done = this.done = !!result.done;
|
|
4825
|
+
if (done) return;
|
|
4826
|
+
value = result.value;
|
|
4827
|
+
if (callWithSafeIterationClosing$2(iterator, predicate, [value, this.counter++], true)) return value;
|
|
4828
|
+
}
|
|
4829
|
+
});
|
|
4830
|
+
|
|
4831
|
+
// `Iterator.prototype.filter` method
|
|
4832
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4833
|
+
$$3({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
4834
|
+
filter: function filter(predicate) {
|
|
4835
|
+
anObject$1(this);
|
|
4836
|
+
aCallable$1(predicate);
|
|
4837
|
+
return new IteratorProxy$1(getIteratorDirect$1(this), {
|
|
4838
|
+
predicate: predicate
|
|
4839
|
+
});
|
|
4840
|
+
}
|
|
4841
|
+
});
|
|
4842
|
+
|
|
4843
|
+
var call$2 = functionCall;
|
|
4844
|
+
var aCallable = aCallable$c;
|
|
4845
|
+
var anObject = anObject$l;
|
|
4846
|
+
var getIteratorDirect = getIteratorDirect$4;
|
|
4847
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
4848
|
+
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$3;
|
|
4849
|
+
|
|
4850
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
4851
|
+
var iterator = this.iterator;
|
|
4852
|
+
var result = anObject(call$2(this.next, iterator));
|
|
4853
|
+
var done = this.done = !!result.done;
|
|
4854
|
+
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
4855
|
+
});
|
|
4856
|
+
|
|
4857
|
+
// `Iterator.prototype.map` method
|
|
4858
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4859
|
+
var iteratorMap = function map(mapper) {
|
|
4860
|
+
anObject(this);
|
|
4861
|
+
aCallable(mapper);
|
|
4862
|
+
return new IteratorProxy(getIteratorDirect(this), {
|
|
4863
|
+
mapper: mapper
|
|
4864
|
+
});
|
|
4865
|
+
};
|
|
4866
|
+
|
|
4867
|
+
var $$2 = _export;
|
|
4868
|
+
var map = iteratorMap;
|
|
4869
|
+
var IS_PURE = isPure;
|
|
4870
|
+
|
|
4871
|
+
// `Iterator.prototype.map` method
|
|
4872
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4873
|
+
$$2({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
4874
|
+
map: map
|
|
4875
|
+
});
|
|
4876
|
+
|
|
4601
4877
|
var uncurryThis$2 = functionUncurryThis;
|
|
4602
4878
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
4603
4879
|
var toString$1 = toString$b;
|
|
@@ -4639,7 +4915,7 @@ var charAt$1 = stringMultibyte.charAt;
|
|
|
4639
4915
|
var toString = toString$b;
|
|
4640
4916
|
var InternalStateModule$1 = internalState;
|
|
4641
4917
|
var defineIterator = iteratorDefine;
|
|
4642
|
-
var createIterResultObject = createIterResultObject$
|
|
4918
|
+
var createIterResultObject = createIterResultObject$4;
|
|
4643
4919
|
|
|
4644
4920
|
var STRING_ITERATOR = 'String Iterator';
|
|
4645
4921
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
@@ -4666,35 +4942,14 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
4666
4942
|
return createIterResultObject(point, false);
|
|
4667
4943
|
});
|
|
4668
4944
|
|
|
4669
|
-
var anObject = anObject$g;
|
|
4670
|
-
var iteratorClose = iteratorClose$2;
|
|
4671
|
-
|
|
4672
|
-
// call something on iterator step with safe closing on error
|
|
4673
|
-
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
4674
|
-
try {
|
|
4675
|
-
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
|
|
4676
|
-
} catch (error) {
|
|
4677
|
-
iteratorClose(iterator, 'throw', error);
|
|
4678
|
-
}
|
|
4679
|
-
};
|
|
4680
|
-
|
|
4681
|
-
var DESCRIPTORS$1 = descriptors;
|
|
4682
|
-
var definePropertyModule = objectDefineProperty;
|
|
4683
|
-
var createPropertyDescriptor = createPropertyDescriptor$6;
|
|
4684
|
-
|
|
4685
|
-
var createProperty$1 = function (object, key, value) {
|
|
4686
|
-
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
4687
|
-
else object[key] = value;
|
|
4688
|
-
};
|
|
4689
|
-
|
|
4690
4945
|
var bind$1 = functionBindContext;
|
|
4691
4946
|
var call$1 = functionCall;
|
|
4692
4947
|
var toObject = toObject$4;
|
|
4693
|
-
var callWithSafeIterationClosing = callWithSafeIterationClosing$
|
|
4948
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$3;
|
|
4694
4949
|
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
4695
4950
|
var isConstructor = isConstructor$2;
|
|
4696
4951
|
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
4697
|
-
var createProperty = createProperty$
|
|
4952
|
+
var createProperty = createProperty$2;
|
|
4698
4953
|
var getIterator = getIterator$3;
|
|
4699
4954
|
var getIteratorMethod = getIteratorMethod$4;
|
|
4700
4955
|
|
|
@@ -4919,12 +5174,12 @@ var stringPunycodeToAscii = function (input) {
|
|
|
4919
5174
|
var $$1 = _export;
|
|
4920
5175
|
var DESCRIPTORS = descriptors;
|
|
4921
5176
|
var USE_NATIVE_URL = urlConstructorDetection;
|
|
4922
|
-
var global$1 = global$
|
|
5177
|
+
var global$1 = global$q;
|
|
4923
5178
|
var bind = functionBindContext;
|
|
4924
5179
|
var uncurryThis = functionUncurryThis;
|
|
4925
5180
|
var defineBuiltIn = defineBuiltIn$d;
|
|
4926
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
4927
|
-
var anInstance = anInstance$
|
|
5181
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$6;
|
|
5182
|
+
var anInstance = anInstance$4;
|
|
4928
5183
|
var hasOwn = hasOwnProperty_1;
|
|
4929
5184
|
var assign = objectAssign;
|
|
4930
5185
|
var arrayFrom = arrayFrom$1;
|