@ninetailed/experience.js-react 3.2.3-beta.0 → 3.3.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +300 -195
- package/index.js +300 -195
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var check = function (it) {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
19
|
-
var global$
|
|
19
|
+
var global$d =
|
|
20
20
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
21
21
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22
22
|
check(typeof window == 'object' && window) ||
|
|
@@ -98,30 +98,30 @@ var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
var uncurryThis$
|
|
101
|
+
var uncurryThis$a = functionUncurryThis;
|
|
102
102
|
|
|
103
|
-
var toString$
|
|
104
|
-
var stringSlice = uncurryThis$
|
|
103
|
+
var toString$3 = uncurryThis$a({}.toString);
|
|
104
|
+
var stringSlice$1 = uncurryThis$a(''.slice);
|
|
105
105
|
|
|
106
|
-
var classofRaw = function (it) {
|
|
107
|
-
return stringSlice(toString$
|
|
106
|
+
var classofRaw$1 = function (it) {
|
|
107
|
+
return stringSlice$1(toString$3(it), 8, -1);
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
var uncurryThis$
|
|
110
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
111
111
|
var fails$9 = fails$c;
|
|
112
|
-
var classof$
|
|
112
|
+
var classof$3 = classofRaw$1;
|
|
113
113
|
|
|
114
|
-
var $Object$
|
|
115
|
-
var split = uncurryThis$
|
|
114
|
+
var $Object$4 = Object;
|
|
115
|
+
var split = uncurryThis$9(''.split);
|
|
116
116
|
|
|
117
117
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
118
118
|
var indexedObject = fails$9(function () {
|
|
119
119
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
120
120
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
121
|
-
return !$Object$
|
|
121
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
122
122
|
}) ? function (it) {
|
|
123
|
-
return classof$
|
|
124
|
-
} : $Object$
|
|
123
|
+
return classof$3(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
124
|
+
} : $Object$4;
|
|
125
125
|
|
|
126
126
|
// we can't use just `it == null` since of `document.all` special case
|
|
127
127
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
@@ -164,47 +164,47 @@ var documentAll$1 = $documentAll$1.all;
|
|
|
164
164
|
|
|
165
165
|
// `IsCallable` abstract operation
|
|
166
166
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
167
|
-
var isCallable$
|
|
167
|
+
var isCallable$g = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
168
168
|
return typeof argument == 'function' || argument === documentAll$1;
|
|
169
169
|
} : function (argument) {
|
|
170
170
|
return typeof argument == 'function';
|
|
171
171
|
};
|
|
172
172
|
|
|
173
|
-
var isCallable$
|
|
173
|
+
var isCallable$f = isCallable$g;
|
|
174
174
|
var $documentAll = documentAll_1;
|
|
175
175
|
|
|
176
176
|
var documentAll = $documentAll.all;
|
|
177
177
|
|
|
178
178
|
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
179
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
179
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
|
|
180
180
|
} : function (it) {
|
|
181
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
181
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
var global$
|
|
185
|
-
var isCallable$
|
|
184
|
+
var global$c = global$d;
|
|
185
|
+
var isCallable$e = isCallable$g;
|
|
186
186
|
|
|
187
187
|
var aFunction = function (argument) {
|
|
188
|
-
return isCallable$
|
|
188
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
189
189
|
};
|
|
190
190
|
|
|
191
191
|
var getBuiltIn$4 = function (namespace, method) {
|
|
192
|
-
return arguments.length < 2 ? aFunction(global$
|
|
192
|
+
return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
|
|
193
193
|
};
|
|
194
194
|
|
|
195
|
-
var uncurryThis$
|
|
195
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
196
196
|
|
|
197
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
197
|
+
var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
|
|
198
198
|
|
|
199
199
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
200
200
|
|
|
201
201
|
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
202
202
|
|
|
203
|
-
var global$
|
|
203
|
+
var global$b = global$d;
|
|
204
204
|
var userAgent = engineUserAgent;
|
|
205
205
|
|
|
206
|
-
var process = global$
|
|
207
|
-
var Deno = global$
|
|
206
|
+
var process = global$b.process;
|
|
207
|
+
var Deno = global$b.Deno;
|
|
208
208
|
var versions = process && process.versions || Deno && Deno.version;
|
|
209
209
|
var v8 = versions && versions.v8;
|
|
210
210
|
var match, version;
|
|
@@ -245,44 +245,44 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(func
|
|
|
245
245
|
|
|
246
246
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
247
247
|
|
|
248
|
-
var NATIVE_SYMBOL$
|
|
248
|
+
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
249
249
|
|
|
250
|
-
var useSymbolAsUid = NATIVE_SYMBOL$
|
|
250
|
+
var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
251
251
|
&& !Symbol.sham
|
|
252
252
|
&& typeof Symbol.iterator == 'symbol';
|
|
253
253
|
|
|
254
254
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
255
|
-
var isCallable$
|
|
256
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
255
|
+
var isCallable$d = isCallable$g;
|
|
256
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
257
257
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
258
258
|
|
|
259
|
-
var $Object$
|
|
259
|
+
var $Object$3 = Object;
|
|
260
260
|
|
|
261
261
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
262
262
|
return typeof it == 'symbol';
|
|
263
263
|
} : function (it) {
|
|
264
264
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
265
|
-
return isCallable$
|
|
265
|
+
return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
var $String$
|
|
268
|
+
var $String$3 = String;
|
|
269
269
|
|
|
270
270
|
var tryToString$1 = function (argument) {
|
|
271
271
|
try {
|
|
272
|
-
return $String$
|
|
272
|
+
return $String$3(argument);
|
|
273
273
|
} catch (error) {
|
|
274
274
|
return 'Object';
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
|
|
278
|
-
var isCallable$
|
|
278
|
+
var isCallable$c = isCallable$g;
|
|
279
279
|
var tryToString = tryToString$1;
|
|
280
280
|
|
|
281
281
|
var $TypeError$6 = TypeError;
|
|
282
282
|
|
|
283
283
|
// `Assert: IsCallable(argument) is true`
|
|
284
284
|
var aCallable$2 = function (argument) {
|
|
285
|
-
if (isCallable$
|
|
285
|
+
if (isCallable$c(argument)) return argument;
|
|
286
286
|
throw $TypeError$6(tryToString(argument) + ' is not a function');
|
|
287
287
|
};
|
|
288
288
|
|
|
@@ -297,7 +297,7 @@ var getMethod$1 = function (V, P) {
|
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
var call$4 = functionCall;
|
|
300
|
-
var isCallable$
|
|
300
|
+
var isCallable$b = isCallable$g;
|
|
301
301
|
var isObject$5 = isObject$6;
|
|
302
302
|
|
|
303
303
|
var $TypeError$5 = TypeError;
|
|
@@ -306,32 +306,32 @@ var $TypeError$5 = TypeError;
|
|
|
306
306
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
307
307
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
308
308
|
var fn, val;
|
|
309
|
-
if (pref === 'string' && isCallable$
|
|
310
|
-
if (isCallable$
|
|
311
|
-
if (pref !== 'string' && isCallable$
|
|
309
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
|
310
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
|
|
311
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
|
312
312
|
throw $TypeError$5("Can't convert object to primitive value");
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
var shared$3 = {exports: {}};
|
|
316
316
|
|
|
317
|
-
var global$
|
|
317
|
+
var global$a = global$d;
|
|
318
318
|
|
|
319
319
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
320
|
-
var defineProperty$
|
|
320
|
+
var defineProperty$6 = Object.defineProperty;
|
|
321
321
|
|
|
322
322
|
var defineGlobalProperty$3 = function (key, value) {
|
|
323
323
|
try {
|
|
324
|
-
defineProperty$
|
|
324
|
+
defineProperty$6(global$a, key, { value: value, configurable: true, writable: true });
|
|
325
325
|
} catch (error) {
|
|
326
|
-
global$
|
|
326
|
+
global$a[key] = value;
|
|
327
327
|
} return value;
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
-
var global$
|
|
330
|
+
var global$9 = global$d;
|
|
331
331
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
332
332
|
|
|
333
333
|
var SHARED = '__core-js_shared__';
|
|
334
|
-
var store$3 = global$
|
|
334
|
+
var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
335
335
|
|
|
336
336
|
var sharedStore = store$3;
|
|
337
337
|
|
|
@@ -349,18 +349,18 @@ var store$2 = sharedStore;
|
|
|
349
349
|
|
|
350
350
|
var requireObjectCoercible = requireObjectCoercible$2;
|
|
351
351
|
|
|
352
|
-
var $Object$
|
|
352
|
+
var $Object$2 = Object;
|
|
353
353
|
|
|
354
354
|
// `ToObject` abstract operation
|
|
355
355
|
// https://tc39.es/ecma262/#sec-toobject
|
|
356
356
|
var toObject$4 = function (argument) {
|
|
357
|
-
return $Object$
|
|
357
|
+
return $Object$2(requireObjectCoercible(argument));
|
|
358
358
|
};
|
|
359
359
|
|
|
360
|
-
var uncurryThis$
|
|
360
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
361
361
|
var toObject$3 = toObject$4;
|
|
362
362
|
|
|
363
|
-
var hasOwnProperty = uncurryThis$
|
|
363
|
+
var hasOwnProperty = uncurryThis$7({}.hasOwnProperty);
|
|
364
364
|
|
|
365
365
|
// `HasOwnProperty` abstract operation
|
|
366
366
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -369,32 +369,32 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
369
369
|
return hasOwnProperty(toObject$3(it), key);
|
|
370
370
|
};
|
|
371
371
|
|
|
372
|
-
var uncurryThis$
|
|
372
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
373
373
|
|
|
374
374
|
var id = 0;
|
|
375
375
|
var postfix = Math.random();
|
|
376
|
-
var toString = uncurryThis$
|
|
376
|
+
var toString$2 = uncurryThis$6(1.0.toString);
|
|
377
377
|
|
|
378
378
|
var uid$2 = function (key) {
|
|
379
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
379
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
-
var global$
|
|
382
|
+
var global$8 = global$d;
|
|
383
383
|
var shared$2 = shared$3.exports;
|
|
384
|
-
var hasOwn$
|
|
384
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
385
385
|
var uid$1 = uid$2;
|
|
386
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
386
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
387
387
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
388
388
|
|
|
389
389
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
390
|
-
var Symbol$1 = global$
|
|
390
|
+
var Symbol$1 = global$8.Symbol;
|
|
391
391
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
392
392
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
393
393
|
|
|
394
|
-
var wellKnownSymbol$
|
|
395
|
-
if (!hasOwn$
|
|
394
|
+
var wellKnownSymbol$8 = function (name) {
|
|
395
|
+
if (!hasOwn$9(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
396
396
|
var description = 'Symbol.' + name;
|
|
397
|
-
if (NATIVE_SYMBOL && hasOwn$
|
|
397
|
+
if (NATIVE_SYMBOL$1 && hasOwn$9(Symbol$1, name)) {
|
|
398
398
|
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
399
399
|
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
400
400
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
@@ -409,10 +409,10 @@ var isObject$4 = isObject$6;
|
|
|
409
409
|
var isSymbol$1 = isSymbol$2;
|
|
410
410
|
var getMethod = getMethod$1;
|
|
411
411
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
412
|
-
var wellKnownSymbol$
|
|
412
|
+
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
413
413
|
|
|
414
414
|
var $TypeError$4 = TypeError;
|
|
415
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
415
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
416
416
|
|
|
417
417
|
// `ToPrimitive` abstract operation
|
|
418
418
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
@@ -440,10 +440,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
440
440
|
return isSymbol(key) ? key : key + '';
|
|
441
441
|
};
|
|
442
442
|
|
|
443
|
-
var global$
|
|
443
|
+
var global$7 = global$d;
|
|
444
444
|
var isObject$3 = isObject$6;
|
|
445
445
|
|
|
446
|
-
var document$1 = global$
|
|
446
|
+
var document$1 = global$7.document;
|
|
447
447
|
// typeof document.createElement is 'object' in old IE
|
|
448
448
|
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
449
449
|
|
|
@@ -451,25 +451,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
451
451
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
452
452
|
};
|
|
453
453
|
|
|
454
|
-
var DESCRIPTORS$
|
|
454
|
+
var DESCRIPTORS$a = descriptors;
|
|
455
455
|
var fails$7 = fails$c;
|
|
456
456
|
var createElement = documentCreateElement$2;
|
|
457
457
|
|
|
458
458
|
// Thanks to IE8 for its funny defineProperty
|
|
459
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
459
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
|
|
460
460
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
461
461
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
462
462
|
get: function () { return 7; }
|
|
463
463
|
}).a != 7;
|
|
464
464
|
});
|
|
465
465
|
|
|
466
|
-
var DESCRIPTORS$
|
|
466
|
+
var DESCRIPTORS$9 = descriptors;
|
|
467
467
|
var call$2 = functionCall;
|
|
468
468
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
469
469
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
470
470
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
471
471
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
472
|
-
var hasOwn$
|
|
472
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
473
473
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
474
474
|
|
|
475
475
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -477,23 +477,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
477
477
|
|
|
478
478
|
// `Object.getOwnPropertyDescriptor` method
|
|
479
479
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
480
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
480
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
481
481
|
O = toIndexedObject$4(O);
|
|
482
482
|
P = toPropertyKey$1(P);
|
|
483
483
|
if (IE8_DOM_DEFINE$1) try {
|
|
484
484
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
485
485
|
} catch (error) { /* empty */ }
|
|
486
|
-
if (hasOwn$
|
|
486
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
487
487
|
};
|
|
488
488
|
|
|
489
489
|
var objectDefineProperty = {};
|
|
490
490
|
|
|
491
|
-
var DESCRIPTORS$
|
|
491
|
+
var DESCRIPTORS$8 = descriptors;
|
|
492
492
|
var fails$6 = fails$c;
|
|
493
493
|
|
|
494
494
|
// V8 ~ Chrome 36-
|
|
495
495
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
496
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
496
|
+
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
|
|
497
497
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
498
498
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
499
499
|
value: 42,
|
|
@@ -503,16 +503,16 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
|
|
|
503
503
|
|
|
504
504
|
var isObject$2 = isObject$6;
|
|
505
505
|
|
|
506
|
-
var $String$
|
|
506
|
+
var $String$2 = String;
|
|
507
507
|
var $TypeError$3 = TypeError;
|
|
508
508
|
|
|
509
509
|
// `Assert: Type(argument) is Object`
|
|
510
510
|
var anObject$5 = function (argument) {
|
|
511
511
|
if (isObject$2(argument)) return argument;
|
|
512
|
-
throw $TypeError$3($String$
|
|
512
|
+
throw $TypeError$3($String$2(argument) + ' is not an object');
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
-
var DESCRIPTORS$
|
|
515
|
+
var DESCRIPTORS$7 = descriptors;
|
|
516
516
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
517
517
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
518
518
|
var anObject$4 = anObject$5;
|
|
@@ -529,7 +529,7 @@ var WRITABLE = 'writable';
|
|
|
529
529
|
|
|
530
530
|
// `Object.defineProperty` method
|
|
531
531
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
532
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
532
|
+
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
533
533
|
anObject$4(O);
|
|
534
534
|
P = toPropertyKey(P);
|
|
535
535
|
anObject$4(Attributes);
|
|
@@ -556,11 +556,11 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
556
556
|
return O;
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
var DESCRIPTORS$
|
|
559
|
+
var DESCRIPTORS$6 = descriptors;
|
|
560
560
|
var definePropertyModule$3 = objectDefineProperty;
|
|
561
561
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
562
562
|
|
|
563
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
|
563
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value) {
|
|
564
564
|
return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
|
565
565
|
} : function (object, key, value) {
|
|
566
566
|
object[key] = value;
|
|
@@ -569,17 +569,17 @@ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
569
569
|
|
|
570
570
|
var makeBuiltIn$2 = {exports: {}};
|
|
571
571
|
|
|
572
|
-
var DESCRIPTORS$
|
|
573
|
-
var hasOwn$
|
|
572
|
+
var DESCRIPTORS$5 = descriptors;
|
|
573
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
574
574
|
|
|
575
575
|
var FunctionPrototype = Function.prototype;
|
|
576
576
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
577
|
-
var getDescriptor = DESCRIPTORS$
|
|
577
|
+
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
578
578
|
|
|
579
|
-
var EXISTS = hasOwn$
|
|
579
|
+
var EXISTS = hasOwn$7(FunctionPrototype, 'name');
|
|
580
580
|
// additional protection from minified / mangled / dropped function names
|
|
581
581
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
582
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
582
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
583
583
|
|
|
584
584
|
var functionName = {
|
|
585
585
|
EXISTS: EXISTS,
|
|
@@ -587,14 +587,14 @@ var functionName = {
|
|
|
587
587
|
CONFIGURABLE: CONFIGURABLE
|
|
588
588
|
};
|
|
589
589
|
|
|
590
|
-
var uncurryThis$
|
|
591
|
-
var isCallable$
|
|
590
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
591
|
+
var isCallable$a = isCallable$g;
|
|
592
592
|
var store$1 = sharedStore;
|
|
593
593
|
|
|
594
|
-
var functionToString = uncurryThis$
|
|
594
|
+
var functionToString = uncurryThis$5(Function.toString);
|
|
595
595
|
|
|
596
596
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
597
|
-
if (!isCallable$
|
|
597
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
598
598
|
store$1.inspectSource = function (it) {
|
|
599
599
|
return functionToString(it);
|
|
600
600
|
};
|
|
@@ -602,12 +602,12 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
|
602
602
|
|
|
603
603
|
var inspectSource$1 = store$1.inspectSource;
|
|
604
604
|
|
|
605
|
-
var global$
|
|
606
|
-
var isCallable$
|
|
605
|
+
var global$6 = global$d;
|
|
606
|
+
var isCallable$9 = isCallable$g;
|
|
607
607
|
|
|
608
|
-
var WeakMap$1 = global$
|
|
608
|
+
var WeakMap$1 = global$6.WeakMap;
|
|
609
609
|
|
|
610
|
-
var weakMapBasicDetection = isCallable$
|
|
610
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
611
611
|
|
|
612
612
|
var shared$1 = shared$3.exports;
|
|
613
613
|
var uid = uid$2;
|
|
@@ -621,17 +621,17 @@ var sharedKey$3 = function (key) {
|
|
|
621
621
|
var hiddenKeys$4 = {};
|
|
622
622
|
|
|
623
623
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
624
|
-
var global$
|
|
624
|
+
var global$5 = global$d;
|
|
625
625
|
var isObject$1 = isObject$6;
|
|
626
626
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
627
|
-
var hasOwn$
|
|
627
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
628
628
|
var shared = sharedStore;
|
|
629
629
|
var sharedKey$2 = sharedKey$3;
|
|
630
630
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
631
631
|
|
|
632
632
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
633
|
-
var TypeError$1 = global$
|
|
634
|
-
var WeakMap = global$
|
|
633
|
+
var TypeError$1 = global$5.TypeError;
|
|
634
|
+
var WeakMap = global$5.WeakMap;
|
|
635
635
|
var set, get, has;
|
|
636
636
|
|
|
637
637
|
var enforce = function (it) {
|
|
@@ -670,16 +670,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
670
670
|
var STATE = sharedKey$2('state');
|
|
671
671
|
hiddenKeys$3[STATE] = true;
|
|
672
672
|
set = function (it, metadata) {
|
|
673
|
-
if (hasOwn$
|
|
673
|
+
if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
674
674
|
metadata.facade = it;
|
|
675
675
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
676
676
|
return metadata;
|
|
677
677
|
};
|
|
678
678
|
get = function (it) {
|
|
679
|
-
return hasOwn$
|
|
679
|
+
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
|
680
680
|
};
|
|
681
681
|
has = function (it) {
|
|
682
|
-
return hasOwn$
|
|
682
|
+
return hasOwn$6(it, STATE);
|
|
683
683
|
};
|
|
684
684
|
}
|
|
685
685
|
|
|
@@ -692,9 +692,9 @@ var internalState = {
|
|
|
692
692
|
};
|
|
693
693
|
|
|
694
694
|
var fails$5 = fails$c;
|
|
695
|
-
var isCallable$
|
|
696
|
-
var hasOwn$
|
|
697
|
-
var DESCRIPTORS$
|
|
695
|
+
var isCallable$8 = isCallable$g;
|
|
696
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
697
|
+
var DESCRIPTORS$4 = descriptors;
|
|
698
698
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
699
699
|
var inspectSource = inspectSource$1;
|
|
700
700
|
var InternalStateModule$1 = internalState;
|
|
@@ -702,10 +702,10 @@ var InternalStateModule$1 = internalState;
|
|
|
702
702
|
var enforceInternalState = InternalStateModule$1.enforce;
|
|
703
703
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
704
704
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
705
|
-
var defineProperty$
|
|
705
|
+
var defineProperty$5 = Object.defineProperty;
|
|
706
706
|
|
|
707
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
708
|
-
return defineProperty$
|
|
707
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
|
|
708
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
709
709
|
});
|
|
710
710
|
|
|
711
711
|
var TEMPLATE = String(String).split('String');
|
|
@@ -716,21 +716,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
716
716
|
}
|
|
717
717
|
if (options && options.getter) name = 'get ' + name;
|
|
718
718
|
if (options && options.setter) name = 'set ' + name;
|
|
719
|
-
if (!hasOwn$
|
|
720
|
-
if (DESCRIPTORS$
|
|
719
|
+
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
720
|
+
if (DESCRIPTORS$4) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
721
721
|
else value.name = name;
|
|
722
722
|
}
|
|
723
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
724
|
-
defineProperty$
|
|
723
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
|
724
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
725
725
|
}
|
|
726
726
|
try {
|
|
727
|
-
if (options && hasOwn$
|
|
728
|
-
if (DESCRIPTORS$
|
|
727
|
+
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
|
728
|
+
if (DESCRIPTORS$4) defineProperty$5(value, 'prototype', { writable: false });
|
|
729
729
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
730
730
|
} else if (value.prototype) value.prototype = undefined;
|
|
731
731
|
} catch (error) { /* empty */ }
|
|
732
732
|
var state = enforceInternalState(value);
|
|
733
|
-
if (!hasOwn$
|
|
733
|
+
if (!hasOwn$5(state, 'source')) {
|
|
734
734
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
735
735
|
} return value;
|
|
736
736
|
};
|
|
@@ -738,10 +738,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
738
738
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
739
739
|
// eslint-disable-next-line no-extend-native -- required
|
|
740
740
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
741
|
-
return isCallable$
|
|
741
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
|
742
742
|
}, 'toString');
|
|
743
743
|
|
|
744
|
-
var isCallable$
|
|
744
|
+
var isCallable$7 = isCallable$g;
|
|
745
745
|
var definePropertyModule$2 = objectDefineProperty;
|
|
746
746
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
747
747
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -750,7 +750,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
750
750
|
if (!options) options = {};
|
|
751
751
|
var simple = options.enumerable;
|
|
752
752
|
var name = options.name !== undefined ? options.name : key;
|
|
753
|
-
if (isCallable$
|
|
753
|
+
if (isCallable$7(value)) makeBuiltIn(value, name, options);
|
|
754
754
|
if (options.global) {
|
|
755
755
|
if (simple) O[key] = value;
|
|
756
756
|
else defineGlobalProperty$1(key, value);
|
|
@@ -856,22 +856,22 @@ var arrayIncludes = {
|
|
|
856
856
|
indexOf: createMethod$1(false)
|
|
857
857
|
};
|
|
858
858
|
|
|
859
|
-
var uncurryThis$
|
|
860
|
-
var hasOwn$
|
|
859
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
860
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
861
861
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
862
862
|
var indexOf = arrayIncludes.indexOf;
|
|
863
863
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
864
864
|
|
|
865
|
-
var push = uncurryThis$
|
|
865
|
+
var push = uncurryThis$4([].push);
|
|
866
866
|
|
|
867
867
|
var objectKeysInternal = function (object, names) {
|
|
868
868
|
var O = toIndexedObject$2(object);
|
|
869
869
|
var i = 0;
|
|
870
870
|
var result = [];
|
|
871
871
|
var key;
|
|
872
|
-
for (key in O) !hasOwn$
|
|
872
|
+
for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
|
|
873
873
|
// Don't enum bug & hidden keys
|
|
874
|
-
while (names.length > i) if (hasOwn$
|
|
874
|
+
while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
|
|
875
875
|
~indexOf(result, key) || push(result, key);
|
|
876
876
|
}
|
|
877
877
|
return result;
|
|
@@ -906,12 +906,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
906
906
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
907
907
|
|
|
908
908
|
var getBuiltIn$1 = getBuiltIn$4;
|
|
909
|
-
var uncurryThis$
|
|
909
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
910
910
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
911
911
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
912
912
|
var anObject$3 = anObject$5;
|
|
913
913
|
|
|
914
|
-
var concat$1 = uncurryThis$
|
|
914
|
+
var concat$1 = uncurryThis$3([].concat);
|
|
915
915
|
|
|
916
916
|
// all object keys, includes non-enumerable and symbols
|
|
917
917
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -920,25 +920,25 @@ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
920
920
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
921
921
|
};
|
|
922
922
|
|
|
923
|
-
var hasOwn$
|
|
923
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
924
924
|
var ownKeys = ownKeys$1;
|
|
925
925
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
926
926
|
var definePropertyModule$1 = objectDefineProperty;
|
|
927
927
|
|
|
928
|
-
var copyConstructorProperties$
|
|
928
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
929
929
|
var keys = ownKeys(source);
|
|
930
930
|
var defineProperty = definePropertyModule$1.f;
|
|
931
931
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
932
932
|
for (var i = 0; i < keys.length; i++) {
|
|
933
933
|
var key = keys[i];
|
|
934
|
-
if (!hasOwn$
|
|
934
|
+
if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
|
|
935
935
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
938
|
};
|
|
939
939
|
|
|
940
940
|
var fails$4 = fails$c;
|
|
941
|
-
var isCallable$
|
|
941
|
+
var isCallable$6 = isCallable$g;
|
|
942
942
|
|
|
943
943
|
var replacement = /#|\.prototype\./;
|
|
944
944
|
|
|
@@ -946,7 +946,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
946
946
|
var value = data[normalize(feature)];
|
|
947
947
|
return value == POLYFILL ? true
|
|
948
948
|
: value == NATIVE ? false
|
|
949
|
-
: isCallable$
|
|
949
|
+
: isCallable$6(detection) ? fails$4(detection)
|
|
950
950
|
: !!detection;
|
|
951
951
|
};
|
|
952
952
|
|
|
@@ -960,12 +960,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
960
960
|
|
|
961
961
|
var isForced_1 = isForced$1;
|
|
962
962
|
|
|
963
|
-
var global$
|
|
963
|
+
var global$4 = global$d;
|
|
964
964
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
965
965
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
966
966
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
967
967
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
968
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
968
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
969
969
|
var isForced = isForced_1;
|
|
970
970
|
|
|
971
971
|
/*
|
|
@@ -989,11 +989,11 @@ var _export = function (options, source) {
|
|
|
989
989
|
var STATIC = options.stat;
|
|
990
990
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
991
991
|
if (GLOBAL) {
|
|
992
|
-
target = global$
|
|
992
|
+
target = global$4;
|
|
993
993
|
} else if (STATIC) {
|
|
994
|
-
target = global$
|
|
994
|
+
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
995
995
|
} else {
|
|
996
|
-
target = (global$
|
|
996
|
+
target = (global$4[TARGET] || {}).prototype;
|
|
997
997
|
}
|
|
998
998
|
if (target) for (key in source) {
|
|
999
999
|
sourceProperty = source[key];
|
|
@@ -1005,7 +1005,7 @@ var _export = function (options, source) {
|
|
|
1005
1005
|
// contained in target
|
|
1006
1006
|
if (!FORCED && targetProperty !== undefined) {
|
|
1007
1007
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1008
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1008
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
1009
1009
|
}
|
|
1010
1010
|
// add a flag to not completely full polyfills
|
|
1011
1011
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
@@ -1025,8 +1025,8 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1025
1025
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1026
1026
|
};
|
|
1027
1027
|
|
|
1028
|
-
var DESCRIPTORS$
|
|
1029
|
-
var uncurryThis$
|
|
1028
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1029
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1030
1030
|
var call$1 = functionCall;
|
|
1031
1031
|
var fails$3 = fails$c;
|
|
1032
1032
|
var objectKeys$1 = objectKeys$2;
|
|
@@ -1038,17 +1038,17 @@ var IndexedObject$1 = indexedObject;
|
|
|
1038
1038
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1039
1039
|
var $assign = Object.assign;
|
|
1040
1040
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1041
|
-
var defineProperty$
|
|
1042
|
-
var concat = uncurryThis$
|
|
1041
|
+
var defineProperty$4 = Object.defineProperty;
|
|
1042
|
+
var concat = uncurryThis$2([].concat);
|
|
1043
1043
|
|
|
1044
1044
|
// `Object.assign` method
|
|
1045
1045
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1046
1046
|
var objectAssign = !$assign || fails$3(function () {
|
|
1047
1047
|
// should have correct order of operations (Edge bug)
|
|
1048
|
-
if (DESCRIPTORS$
|
|
1048
|
+
if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1049
1049
|
enumerable: true,
|
|
1050
1050
|
get: function () {
|
|
1051
|
-
defineProperty$
|
|
1051
|
+
defineProperty$4(this, 'b', {
|
|
1052
1052
|
value: 3,
|
|
1053
1053
|
enumerable: false
|
|
1054
1054
|
});
|
|
@@ -1077,18 +1077,18 @@ var objectAssign = !$assign || fails$3(function () {
|
|
|
1077
1077
|
var key;
|
|
1078
1078
|
while (length > j) {
|
|
1079
1079
|
key = keys[j++];
|
|
1080
|
-
if (!DESCRIPTORS$
|
|
1080
|
+
if (!DESCRIPTORS$3 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1081
1081
|
}
|
|
1082
1082
|
} return T;
|
|
1083
1083
|
} : $assign;
|
|
1084
1084
|
|
|
1085
|
-
var $$
|
|
1085
|
+
var $$3 = _export;
|
|
1086
1086
|
var assign = objectAssign;
|
|
1087
1087
|
|
|
1088
1088
|
// `Object.assign` method
|
|
1089
1089
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1090
1090
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1091
|
-
$$
|
|
1091
|
+
$$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1092
1092
|
assign: assign
|
|
1093
1093
|
});
|
|
1094
1094
|
|
|
@@ -1149,12 +1149,12 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
|
1149
1149
|
});
|
|
1150
1150
|
};
|
|
1151
1151
|
|
|
1152
|
-
var classof = classofRaw;
|
|
1153
|
-
var global$
|
|
1152
|
+
var classof$2 = classofRaw$1;
|
|
1153
|
+
var global$3 = global$d;
|
|
1154
1154
|
|
|
1155
|
-
var engineIsNode = classof(global$
|
|
1155
|
+
var engineIsNode = classof$2(global$3.process) == 'process';
|
|
1156
1156
|
|
|
1157
|
-
var $$
|
|
1157
|
+
var $$2 = _export;
|
|
1158
1158
|
var $reduce = arrayReduce.left;
|
|
1159
1159
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1160
1160
|
var CHROME_VERSION = engineV8Version;
|
|
@@ -1167,7 +1167,7 @@ var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
|
1167
1167
|
|
|
1168
1168
|
// `Array.prototype.reduce` method
|
|
1169
1169
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
1170
|
-
$$
|
|
1170
|
+
$$2({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
1171
1171
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
1172
1172
|
var length = arguments.length;
|
|
1173
1173
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -1176,7 +1176,7 @@ $$1({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
1176
1176
|
|
|
1177
1177
|
var objectDefineProperties = {};
|
|
1178
1178
|
|
|
1179
|
-
var DESCRIPTORS$
|
|
1179
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1180
1180
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1181
1181
|
var definePropertyModule = objectDefineProperty;
|
|
1182
1182
|
var anObject$2 = anObject$5;
|
|
@@ -1186,7 +1186,7 @@ var objectKeys = objectKeys$2;
|
|
|
1186
1186
|
// `Object.defineProperties` method
|
|
1187
1187
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1188
1188
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1189
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1189
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1190
1190
|
anObject$2(O);
|
|
1191
1191
|
var props = toIndexedObject$1(Properties);
|
|
1192
1192
|
var keys = objectKeys(Properties);
|
|
@@ -1286,17 +1286,17 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1286
1286
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1287
1287
|
};
|
|
1288
1288
|
|
|
1289
|
-
var wellKnownSymbol$
|
|
1289
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1290
1290
|
var create$1 = objectCreate;
|
|
1291
|
-
var defineProperty$
|
|
1291
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
1292
1292
|
|
|
1293
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
1293
|
+
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
|
|
1294
1294
|
var ArrayPrototype = Array.prototype;
|
|
1295
1295
|
|
|
1296
1296
|
// Array.prototype[@@unscopables]
|
|
1297
1297
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1298
1298
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
1299
|
-
defineProperty$
|
|
1299
|
+
defineProperty$3(ArrayPrototype, UNSCOPABLES, {
|
|
1300
1300
|
configurable: true,
|
|
1301
1301
|
value: create$1(null)
|
|
1302
1302
|
});
|
|
@@ -1318,36 +1318,36 @@ var correctPrototypeGetter = !fails$1(function () {
|
|
|
1318
1318
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1319
1319
|
});
|
|
1320
1320
|
|
|
1321
|
-
var hasOwn$
|
|
1322
|
-
var isCallable$
|
|
1321
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1322
|
+
var isCallable$5 = isCallable$g;
|
|
1323
1323
|
var toObject = toObject$4;
|
|
1324
1324
|
var sharedKey = sharedKey$3;
|
|
1325
1325
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1326
1326
|
|
|
1327
1327
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1328
|
-
var $Object = Object;
|
|
1329
|
-
var ObjectPrototype = $Object.prototype;
|
|
1328
|
+
var $Object$1 = Object;
|
|
1329
|
+
var ObjectPrototype = $Object$1.prototype;
|
|
1330
1330
|
|
|
1331
1331
|
// `Object.getPrototypeOf` method
|
|
1332
1332
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1333
1333
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1334
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1334
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1335
1335
|
var object = toObject(O);
|
|
1336
|
-
if (hasOwn$
|
|
1336
|
+
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
1337
1337
|
var constructor = object.constructor;
|
|
1338
|
-
if (isCallable$
|
|
1338
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
1339
1339
|
return constructor.prototype;
|
|
1340
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1340
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1341
1341
|
};
|
|
1342
1342
|
|
|
1343
1343
|
var fails = fails$c;
|
|
1344
|
-
var isCallable$
|
|
1344
|
+
var isCallable$4 = isCallable$g;
|
|
1345
1345
|
var isObject = isObject$6;
|
|
1346
1346
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1347
1347
|
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
1348
|
-
var wellKnownSymbol$
|
|
1348
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1349
1349
|
|
|
1350
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
1350
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
|
1351
1351
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1352
1352
|
|
|
1353
1353
|
// `%IteratorPrototype%` object
|
|
@@ -1375,7 +1375,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1375
1375
|
|
|
1376
1376
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1377
1377
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1378
|
-
if (!isCallable$
|
|
1378
|
+
if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
|
|
1379
1379
|
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
|
|
1380
1380
|
return this;
|
|
1381
1381
|
});
|
|
@@ -1386,16 +1386,16 @@ var iteratorsCore = {
|
|
|
1386
1386
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1387
1387
|
};
|
|
1388
1388
|
|
|
1389
|
-
var defineProperty$
|
|
1390
|
-
var hasOwn = hasOwnProperty_1;
|
|
1391
|
-
var wellKnownSymbol$
|
|
1389
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1390
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1391
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1392
1392
|
|
|
1393
|
-
var TO_STRING_TAG$
|
|
1393
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
|
|
1394
1394
|
|
|
1395
1395
|
var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
1396
1396
|
if (target && !STATIC) target = target.prototype;
|
|
1397
|
-
if (target && !hasOwn(target, TO_STRING_TAG$
|
|
1398
|
-
defineProperty$
|
|
1397
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$3)) {
|
|
1398
|
+
defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
1399
1399
|
}
|
|
1400
1400
|
};
|
|
1401
1401
|
|
|
@@ -1415,19 +1415,19 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1415
1415
|
return IteratorConstructor;
|
|
1416
1416
|
};
|
|
1417
1417
|
|
|
1418
|
-
var isCallable$
|
|
1418
|
+
var isCallable$3 = isCallable$g;
|
|
1419
1419
|
|
|
1420
|
-
var $String = String;
|
|
1420
|
+
var $String$1 = String;
|
|
1421
1421
|
var $TypeError = TypeError;
|
|
1422
1422
|
|
|
1423
1423
|
var aPossiblePrototype$1 = function (argument) {
|
|
1424
|
-
if (typeof argument == 'object' || isCallable$
|
|
1425
|
-
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
1424
|
+
if (typeof argument == 'object' || isCallable$3(argument)) return argument;
|
|
1425
|
+
throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1426
1426
|
};
|
|
1427
1427
|
|
|
1428
1428
|
/* eslint-disable no-proto -- safe */
|
|
1429
1429
|
|
|
1430
|
-
var uncurryThis = functionUncurryThis;
|
|
1430
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1431
1431
|
var anObject = anObject$5;
|
|
1432
1432
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1433
1433
|
|
|
@@ -1441,7 +1441,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1441
1441
|
var setter;
|
|
1442
1442
|
try {
|
|
1443
1443
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1444
|
-
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1444
|
+
setter = uncurryThis$1(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1445
1445
|
setter(test, []);
|
|
1446
1446
|
CORRECT_SETTER = test instanceof Array;
|
|
1447
1447
|
} catch (error) { /* empty */ }
|
|
@@ -1454,17 +1454,17 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1454
1454
|
};
|
|
1455
1455
|
}() : undefined);
|
|
1456
1456
|
|
|
1457
|
-
var
|
|
1457
|
+
var $$1 = _export;
|
|
1458
1458
|
var call = functionCall;
|
|
1459
1459
|
var FunctionName = functionName;
|
|
1460
|
-
var isCallable = isCallable$
|
|
1460
|
+
var isCallable$2 = isCallable$g;
|
|
1461
1461
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1462
1462
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1463
1463
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1464
1464
|
var setToStringTag = setToStringTag$2;
|
|
1465
1465
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1466
1466
|
var defineBuiltIn = defineBuiltIn$3;
|
|
1467
|
-
var wellKnownSymbol$
|
|
1467
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
1468
1468
|
var Iterators$1 = iterators;
|
|
1469
1469
|
var IteratorsCore = iteratorsCore;
|
|
1470
1470
|
|
|
@@ -1472,7 +1472,7 @@ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
|
1472
1472
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1473
1473
|
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1474
1474
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1475
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
1475
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
1476
1476
|
var KEYS = 'keys';
|
|
1477
1477
|
var VALUES = 'values';
|
|
1478
1478
|
var ENTRIES = 'entries';
|
|
@@ -1509,7 +1509,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1509
1509
|
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1510
1510
|
if (setPrototypeOf) {
|
|
1511
1511
|
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1512
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1512
|
+
} else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1513
1513
|
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
@@ -1539,7 +1539,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1539
1539
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1540
1540
|
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
1541
1541
|
}
|
|
1542
|
-
} else
|
|
1542
|
+
} else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1543
1543
|
}
|
|
1544
1544
|
|
|
1545
1545
|
// define iterator
|
|
@@ -1561,10 +1561,10 @@ var toIndexedObject = toIndexedObject$5;
|
|
|
1561
1561
|
var addToUnscopables = addToUnscopables$1;
|
|
1562
1562
|
var Iterators = iterators;
|
|
1563
1563
|
var InternalStateModule = internalState;
|
|
1564
|
-
var defineProperty = objectDefineProperty.f;
|
|
1564
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1565
1565
|
var defineIterator = iteratorDefine;
|
|
1566
1566
|
var createIterResultObject = createIterResultObject$1;
|
|
1567
|
-
var DESCRIPTORS = descriptors;
|
|
1567
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1568
1568
|
|
|
1569
1569
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1570
1570
|
var setInternalState = InternalStateModule.set;
|
|
@@ -1614,8 +1614,8 @@ addToUnscopables('values');
|
|
|
1614
1614
|
addToUnscopables('entries');
|
|
1615
1615
|
|
|
1616
1616
|
// V8 ~ Chrome 45- bug
|
|
1617
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
|
1618
|
-
defineProperty(values, 'name', { value: 'values' });
|
|
1617
|
+
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
1618
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
1619
1619
|
} catch (error) { /* empty */ }
|
|
1620
1620
|
|
|
1621
1621
|
// iterable DOM collections
|
|
@@ -1662,15 +1662,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1662
1662
|
|
|
1663
1663
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1664
1664
|
|
|
1665
|
-
var global$
|
|
1665
|
+
var global$2 = global$d;
|
|
1666
1666
|
var DOMIterables = domIterables;
|
|
1667
1667
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1668
1668
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1669
1669
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1670
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1670
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1671
1671
|
|
|
1672
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
1673
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
1672
|
+
var ITERATOR = wellKnownSymbol$2('iterator');
|
|
1673
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$2('toStringTag');
|
|
1674
1674
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1675
1675
|
|
|
1676
1676
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1681,8 +1681,8 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1681
1681
|
} catch (error) {
|
|
1682
1682
|
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1683
1683
|
}
|
|
1684
|
-
if (!CollectionPrototype[TO_STRING_TAG]) {
|
|
1685
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
1684
|
+
if (!CollectionPrototype[TO_STRING_TAG$2]) {
|
|
1685
|
+
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
|
1686
1686
|
}
|
|
1687
1687
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1688
1688
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
@@ -1696,7 +1696,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1696
1696
|
};
|
|
1697
1697
|
|
|
1698
1698
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1699
|
-
handlePrototype(global$
|
|
1699
|
+
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
1702
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -2018,6 +2018,111 @@ const MergeTag = ({
|
|
|
2018
2018
|
});
|
|
2019
2019
|
};
|
|
2020
2020
|
|
|
2021
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
2022
|
+
|
|
2023
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
2024
|
+
var test = {};
|
|
2025
|
+
|
|
2026
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
2027
|
+
|
|
2028
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
2029
|
+
|
|
2030
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2031
|
+
var isCallable$1 = isCallable$g;
|
|
2032
|
+
var classofRaw = classofRaw$1;
|
|
2033
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
|
2034
|
+
|
|
2035
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
2036
|
+
var $Object = Object;
|
|
2037
|
+
|
|
2038
|
+
// ES3 wrong here
|
|
2039
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
2040
|
+
|
|
2041
|
+
// fallback for IE11 Script Access Denied error
|
|
2042
|
+
var tryGet = function (it, key) {
|
|
2043
|
+
try {
|
|
2044
|
+
return it[key];
|
|
2045
|
+
} catch (error) { /* empty */ }
|
|
2046
|
+
};
|
|
2047
|
+
|
|
2048
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
2049
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
2050
|
+
var O, tag, result;
|
|
2051
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2052
|
+
// @@toStringTag case
|
|
2053
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2054
|
+
// builtinTag case
|
|
2055
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2056
|
+
// ES3 arguments fallback
|
|
2057
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
2058
|
+
};
|
|
2059
|
+
|
|
2060
|
+
var classof = classof$1;
|
|
2061
|
+
|
|
2062
|
+
var $String = String;
|
|
2063
|
+
|
|
2064
|
+
var toString$1 = function (argument) {
|
|
2065
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2066
|
+
return $String(argument);
|
|
2067
|
+
};
|
|
2068
|
+
|
|
2069
|
+
var $ = _export;
|
|
2070
|
+
var DESCRIPTORS = descriptors;
|
|
2071
|
+
var global$1 = global$d;
|
|
2072
|
+
var uncurryThis = functionUncurryThis;
|
|
2073
|
+
var hasOwn = hasOwnProperty_1;
|
|
2074
|
+
var isCallable = isCallable$g;
|
|
2075
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
2076
|
+
var toString = toString$1;
|
|
2077
|
+
var defineProperty = objectDefineProperty.f;
|
|
2078
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2079
|
+
|
|
2080
|
+
var NativeSymbol = global$1.Symbol;
|
|
2081
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
2082
|
+
|
|
2083
|
+
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
2084
|
+
// Safari 12 bug
|
|
2085
|
+
NativeSymbol().description !== undefined
|
|
2086
|
+
)) {
|
|
2087
|
+
var EmptyStringDescriptionStore = {};
|
|
2088
|
+
// wrap Symbol constructor for correct work with undefined description
|
|
2089
|
+
var SymbolWrapper = function Symbol() {
|
|
2090
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
|
2091
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
2092
|
+
? new NativeSymbol(description)
|
|
2093
|
+
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
2094
|
+
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
2095
|
+
if (description === '') EmptyStringDescriptionStore[result] = true;
|
|
2096
|
+
return result;
|
|
2097
|
+
};
|
|
2098
|
+
|
|
2099
|
+
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
2100
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
|
2101
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
|
2102
|
+
|
|
2103
|
+
var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
|
|
2104
|
+
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
|
2105
|
+
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
|
2106
|
+
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
2107
|
+
var replace = uncurryThis(''.replace);
|
|
2108
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2109
|
+
|
|
2110
|
+
defineProperty(SymbolPrototype, 'description', {
|
|
2111
|
+
configurable: true,
|
|
2112
|
+
get: function description() {
|
|
2113
|
+
var symbol = thisSymbolValue(this);
|
|
2114
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
|
2115
|
+
var string = symbolDescriptiveString(symbol);
|
|
2116
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
2117
|
+
return desc === '' ? undefined : desc;
|
|
2118
|
+
}
|
|
2119
|
+
});
|
|
2120
|
+
|
|
2121
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
2122
|
+
Symbol: SymbolWrapper
|
|
2123
|
+
});
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2021
2126
|
const TrackExperience = ({
|
|
2022
2127
|
children,
|
|
2023
2128
|
experience,
|
|
@@ -2041,8 +2146,8 @@ const TrackExperience = ({
|
|
|
2041
2146
|
experience: {
|
|
2042
2147
|
id: experience.id,
|
|
2043
2148
|
type: experience.type,
|
|
2044
|
-
name: '',
|
|
2045
|
-
description: ''
|
|
2149
|
+
name: experience.name || '',
|
|
2150
|
+
description: experience.description || ''
|
|
2046
2151
|
},
|
|
2047
2152
|
audience: experience.audience,
|
|
2048
2153
|
selectedVariant: variant,
|