@bcrumbs.net/bc-api 0.0.41 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +590 -433
- package/index.esm.js +586 -435
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/clients/utils.d.ts +2 -0
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parse } from 'graphql';
|
|
2
|
-
import { InMemoryCache, ApolloClient, from, useQuery, createHttpLink, useLazyQuery, useMutation } from '@apollo/client';
|
|
2
|
+
import { InMemoryCache, ApolloClient, from, useQuery, createHttpLink, useLazyQuery, useMutation, split as split$1 } from '@apollo/client';
|
|
3
3
|
import { onError } from '@apollo/client/link/error';
|
|
4
4
|
import { setContext } from '@apollo/client/link/context';
|
|
5
5
|
import { RestLink } from 'apollo-link-rest';
|
|
@@ -9,6 +9,8 @@ import Url from 'url';
|
|
|
9
9
|
import require$$0$1 from 'punycode';
|
|
10
10
|
import https from 'https';
|
|
11
11
|
import zlib from 'zlib';
|
|
12
|
+
import { BatchHttpLink } from '@apollo/client/link/batch-http';
|
|
13
|
+
import { getMainDefinition } from '@apollo/client/utilities';
|
|
12
14
|
|
|
13
15
|
/******************************************************************************
|
|
14
16
|
Copyright (c) Microsoft Corporation.
|
|
@@ -24,7 +26,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
24
26
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
27
|
PERFORMANCE OF THIS SOFTWARE.
|
|
26
28
|
***************************************************************************** */
|
|
27
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
29
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
var __assign = function() {
|
|
@@ -207,7 +209,7 @@ var check = function (it) {
|
|
|
207
209
|
};
|
|
208
210
|
|
|
209
211
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
210
|
-
var global$
|
|
212
|
+
var global$m =
|
|
211
213
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
212
214
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
213
215
|
check(typeof window == 'object' && window) ||
|
|
@@ -220,7 +222,7 @@ var global$l =
|
|
|
220
222
|
|
|
221
223
|
var objectGetOwnPropertyDescriptor = {};
|
|
222
224
|
|
|
223
|
-
var fails$
|
|
225
|
+
var fails$j = function (exec) {
|
|
224
226
|
try {
|
|
225
227
|
return !!exec();
|
|
226
228
|
} catch (error) {
|
|
@@ -228,17 +230,17 @@ var fails$i = function (exec) {
|
|
|
228
230
|
}
|
|
229
231
|
};
|
|
230
232
|
|
|
231
|
-
var fails$
|
|
233
|
+
var fails$i = fails$j;
|
|
232
234
|
|
|
233
235
|
// Detect IE8's incomplete defineProperty implementation
|
|
234
|
-
var descriptors = !fails$
|
|
236
|
+
var descriptors = !fails$i(function () {
|
|
235
237
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
236
238
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
237
239
|
});
|
|
238
240
|
|
|
239
|
-
var fails$
|
|
241
|
+
var fails$h = fails$j;
|
|
240
242
|
|
|
241
|
-
var functionBindNative = !fails$
|
|
243
|
+
var functionBindNative = !fails$h(function () {
|
|
242
244
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
243
245
|
var test = (function () { /* empty */ }).bind();
|
|
244
246
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -269,7 +271,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
269
271
|
return !!descriptor && descriptor.enumerable;
|
|
270
272
|
} : $propertyIsEnumerable;
|
|
271
273
|
|
|
272
|
-
var createPropertyDescriptor$
|
|
274
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
273
275
|
return {
|
|
274
276
|
enumerable: !(bitmap & 1),
|
|
275
277
|
configurable: !(bitmap & 2),
|
|
@@ -300,14 +302,14 @@ var classofRaw$2 = function (it) {
|
|
|
300
302
|
};
|
|
301
303
|
|
|
302
304
|
var uncurryThis$h = functionUncurryThis;
|
|
303
|
-
var fails$
|
|
305
|
+
var fails$g = fails$j;
|
|
304
306
|
var classof$6 = classofRaw$2;
|
|
305
307
|
|
|
306
308
|
var $Object$4 = Object;
|
|
307
309
|
var split = uncurryThis$h(''.split);
|
|
308
310
|
|
|
309
311
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
310
|
-
var indexedObject = fails$
|
|
312
|
+
var indexedObject = fails$g(function () {
|
|
311
313
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
312
314
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
313
315
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -323,12 +325,12 @@ var isNullOrUndefined$6 = function (it) {
|
|
|
323
325
|
|
|
324
326
|
var isNullOrUndefined$5 = isNullOrUndefined$6;
|
|
325
327
|
|
|
326
|
-
var $TypeError$
|
|
328
|
+
var $TypeError$e = TypeError;
|
|
327
329
|
|
|
328
330
|
// `RequireObjectCoercible` abstract operation
|
|
329
331
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
330
332
|
var requireObjectCoercible$6 = function (it) {
|
|
331
|
-
if (isNullOrUndefined$5(it)) throw new $TypeError$
|
|
333
|
+
if (isNullOrUndefined$5(it)) throw new $TypeError$e("Can't call method on " + it);
|
|
332
334
|
return it;
|
|
333
335
|
};
|
|
334
336
|
|
|
@@ -346,27 +348,27 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
346
348
|
// `IsCallable` abstract operation
|
|
347
349
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
348
350
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
349
|
-
var isCallable$
|
|
351
|
+
var isCallable$m = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
350
352
|
return typeof argument == 'function' || argument === documentAll;
|
|
351
353
|
} : function (argument) {
|
|
352
354
|
return typeof argument == 'function';
|
|
353
355
|
};
|
|
354
356
|
|
|
355
|
-
var isCallable$
|
|
357
|
+
var isCallable$l = isCallable$m;
|
|
356
358
|
|
|
357
359
|
var isObject$a = function (it) {
|
|
358
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
360
|
+
return typeof it == 'object' ? it !== null : isCallable$l(it);
|
|
359
361
|
};
|
|
360
362
|
|
|
361
|
-
var global$
|
|
362
|
-
var isCallable$
|
|
363
|
+
var global$l = global$m;
|
|
364
|
+
var isCallable$k = isCallable$m;
|
|
363
365
|
|
|
364
366
|
var aFunction = function (argument) {
|
|
365
|
-
return isCallable$
|
|
367
|
+
return isCallable$k(argument) ? argument : undefined;
|
|
366
368
|
};
|
|
367
369
|
|
|
368
370
|
var getBuiltIn$7 = function (namespace, method) {
|
|
369
|
-
return arguments.length < 2 ? aFunction(global$
|
|
371
|
+
return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
|
|
370
372
|
};
|
|
371
373
|
|
|
372
374
|
var uncurryThis$g = functionUncurryThis;
|
|
@@ -375,11 +377,11 @@ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
|
|
|
375
377
|
|
|
376
378
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
377
379
|
|
|
378
|
-
var global$
|
|
380
|
+
var global$k = global$m;
|
|
379
381
|
var userAgent$3 = engineUserAgent;
|
|
380
382
|
|
|
381
|
-
var process$4 = global$
|
|
382
|
-
var Deno$1 = global$
|
|
383
|
+
var process$4 = global$k.process;
|
|
384
|
+
var Deno$1 = global$k.Deno;
|
|
383
385
|
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
|
384
386
|
var v8 = versions && versions.v8;
|
|
385
387
|
var match, version;
|
|
@@ -405,13 +407,13 @@ var engineV8Version = version;
|
|
|
405
407
|
|
|
406
408
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
407
409
|
var V8_VERSION$1 = engineV8Version;
|
|
408
|
-
var fails$
|
|
409
|
-
var global$
|
|
410
|
+
var fails$f = fails$j;
|
|
411
|
+
var global$j = global$m;
|
|
410
412
|
|
|
411
|
-
var $String$5 = global$
|
|
413
|
+
var $String$5 = global$j.String;
|
|
412
414
|
|
|
413
415
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
414
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
416
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
|
|
415
417
|
var symbol = Symbol('symbol detection');
|
|
416
418
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
417
419
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -430,7 +432,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
430
432
|
&& typeof Symbol.iterator == 'symbol';
|
|
431
433
|
|
|
432
434
|
var getBuiltIn$6 = getBuiltIn$7;
|
|
433
|
-
var isCallable$
|
|
435
|
+
var isCallable$j = isCallable$m;
|
|
434
436
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
435
437
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
436
438
|
|
|
@@ -440,7 +442,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
440
442
|
return typeof it == 'symbol';
|
|
441
443
|
} : function (it) {
|
|
442
444
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
443
|
-
return isCallable$
|
|
445
|
+
return isCallable$j($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
444
446
|
};
|
|
445
447
|
|
|
446
448
|
var $String$4 = String;
|
|
@@ -453,59 +455,59 @@ var tryToString$4 = function (argument) {
|
|
|
453
455
|
}
|
|
454
456
|
};
|
|
455
457
|
|
|
456
|
-
var isCallable$
|
|
458
|
+
var isCallable$i = isCallable$m;
|
|
457
459
|
var tryToString$3 = tryToString$4;
|
|
458
460
|
|
|
459
|
-
var $TypeError$
|
|
461
|
+
var $TypeError$d = TypeError;
|
|
460
462
|
|
|
461
463
|
// `Assert: IsCallable(argument) is true`
|
|
462
|
-
var aCallable$
|
|
463
|
-
if (isCallable$
|
|
464
|
-
throw new $TypeError$
|
|
464
|
+
var aCallable$a = function (argument) {
|
|
465
|
+
if (isCallable$i(argument)) return argument;
|
|
466
|
+
throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
|
|
465
467
|
};
|
|
466
468
|
|
|
467
|
-
var aCallable$
|
|
469
|
+
var aCallable$9 = aCallable$a;
|
|
468
470
|
var isNullOrUndefined$4 = isNullOrUndefined$6;
|
|
469
471
|
|
|
470
472
|
// `GetMethod` abstract operation
|
|
471
473
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
472
474
|
var getMethod$5 = function (V, P) {
|
|
473
475
|
var func = V[P];
|
|
474
|
-
return isNullOrUndefined$4(func) ? undefined : aCallable$
|
|
476
|
+
return isNullOrUndefined$4(func) ? undefined : aCallable$9(func);
|
|
475
477
|
};
|
|
476
478
|
|
|
477
479
|
var call$g = functionCall;
|
|
478
|
-
var isCallable$
|
|
480
|
+
var isCallable$h = isCallable$m;
|
|
479
481
|
var isObject$9 = isObject$a;
|
|
480
482
|
|
|
481
|
-
var $TypeError$
|
|
483
|
+
var $TypeError$c = TypeError;
|
|
482
484
|
|
|
483
485
|
// `OrdinaryToPrimitive` abstract operation
|
|
484
486
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
485
487
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
486
488
|
var fn, val;
|
|
487
|
-
if (pref === 'string' && isCallable$
|
|
488
|
-
if (isCallable$
|
|
489
|
-
if (pref !== 'string' && isCallable$
|
|
490
|
-
throw new $TypeError$
|
|
489
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$g(fn, input))) return val;
|
|
490
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$9(val = call$g(fn, input))) return val;
|
|
491
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$g(fn, input))) return val;
|
|
492
|
+
throw new $TypeError$c("Can't convert object to primitive value");
|
|
491
493
|
};
|
|
492
494
|
|
|
493
495
|
var sharedStore = {exports: {}};
|
|
494
496
|
|
|
495
|
-
var global$
|
|
497
|
+
var global$i = global$m;
|
|
496
498
|
|
|
497
499
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
498
500
|
var defineProperty$6 = Object.defineProperty;
|
|
499
501
|
|
|
500
502
|
var defineGlobalProperty$3 = function (key, value) {
|
|
501
503
|
try {
|
|
502
|
-
defineProperty$6(global$
|
|
504
|
+
defineProperty$6(global$i, key, { value: value, configurable: true, writable: true });
|
|
503
505
|
} catch (error) {
|
|
504
|
-
global$
|
|
506
|
+
global$i[key] = value;
|
|
505
507
|
} return value;
|
|
506
508
|
};
|
|
507
509
|
|
|
508
|
-
var globalThis$1 = global$
|
|
510
|
+
var globalThis$1 = global$m;
|
|
509
511
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
510
512
|
|
|
511
513
|
var SHARED = '__core-js_shared__';
|
|
@@ -559,20 +561,20 @@ var uid$2 = function (key) {
|
|
|
559
561
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
|
|
560
562
|
};
|
|
561
563
|
|
|
562
|
-
var global$
|
|
564
|
+
var global$h = global$m;
|
|
563
565
|
var shared$3 = shared$4;
|
|
564
|
-
var hasOwn$
|
|
566
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
565
567
|
var uid$1 = uid$2;
|
|
566
568
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
567
569
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
568
570
|
|
|
569
|
-
var Symbol$1 = global$
|
|
571
|
+
var Symbol$1 = global$h.Symbol;
|
|
570
572
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
571
573
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
572
574
|
|
|
573
|
-
var wellKnownSymbol$
|
|
574
|
-
if (!hasOwn$
|
|
575
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
575
|
+
var wellKnownSymbol$h = function (name) {
|
|
576
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
577
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
576
578
|
? Symbol$1[name]
|
|
577
579
|
: createWellKnownSymbol('Symbol.' + name);
|
|
578
580
|
} return WellKnownSymbolsStore[name];
|
|
@@ -583,10 +585,10 @@ var isObject$8 = isObject$a;
|
|
|
583
585
|
var isSymbol$1 = isSymbol$2;
|
|
584
586
|
var getMethod$4 = getMethod$5;
|
|
585
587
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
586
|
-
var wellKnownSymbol$
|
|
588
|
+
var wellKnownSymbol$g = wellKnownSymbol$h;
|
|
587
589
|
|
|
588
|
-
var $TypeError$
|
|
589
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
590
|
+
var $TypeError$b = TypeError;
|
|
591
|
+
var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
|
|
590
592
|
|
|
591
593
|
// `ToPrimitive` abstract operation
|
|
592
594
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
@@ -598,7 +600,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
598
600
|
if (pref === undefined) pref = 'default';
|
|
599
601
|
result = call$f(exoticToPrim, input, pref);
|
|
600
602
|
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
601
|
-
throw new $TypeError$
|
|
603
|
+
throw new $TypeError$b("Can't convert object to primitive value");
|
|
602
604
|
}
|
|
603
605
|
if (pref === undefined) pref = 'number';
|
|
604
606
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -614,10 +616,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
614
616
|
return isSymbol(key) ? key : key + '';
|
|
615
617
|
};
|
|
616
618
|
|
|
617
|
-
var global$
|
|
619
|
+
var global$g = global$m;
|
|
618
620
|
var isObject$7 = isObject$a;
|
|
619
621
|
|
|
620
|
-
var document$3 = global$
|
|
622
|
+
var document$3 = global$g.document;
|
|
621
623
|
// typeof document.createElement is 'object' in old IE
|
|
622
624
|
var EXISTS$1 = isObject$7(document$3) && isObject$7(document$3.createElement);
|
|
623
625
|
|
|
@@ -625,25 +627,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
625
627
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
626
628
|
};
|
|
627
629
|
|
|
628
|
-
var DESCRIPTORS$
|
|
629
|
-
var fails$
|
|
630
|
+
var DESCRIPTORS$d = descriptors;
|
|
631
|
+
var fails$e = fails$j;
|
|
630
632
|
var createElement$1 = documentCreateElement$2;
|
|
631
633
|
|
|
632
634
|
// Thanks to IE8 for its funny defineProperty
|
|
633
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
635
|
+
var ie8DomDefine = !DESCRIPTORS$d && !fails$e(function () {
|
|
634
636
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
635
637
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
636
638
|
get: function () { return 7; }
|
|
637
639
|
}).a !== 7;
|
|
638
640
|
});
|
|
639
641
|
|
|
640
|
-
var DESCRIPTORS$
|
|
642
|
+
var DESCRIPTORS$c = descriptors;
|
|
641
643
|
var call$e = functionCall;
|
|
642
644
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
643
|
-
var createPropertyDescriptor$
|
|
645
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
644
646
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
645
647
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
646
|
-
var hasOwn$
|
|
648
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
647
649
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
648
650
|
|
|
649
651
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -651,23 +653,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
651
653
|
|
|
652
654
|
// `Object.getOwnPropertyDescriptor` method
|
|
653
655
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
654
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
656
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
655
657
|
O = toIndexedObject$4(O);
|
|
656
658
|
P = toPropertyKey$1(P);
|
|
657
659
|
if (IE8_DOM_DEFINE$1) try {
|
|
658
660
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
659
661
|
} catch (error) { /* empty */ }
|
|
660
|
-
if (hasOwn$
|
|
662
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$e(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
661
663
|
};
|
|
662
664
|
|
|
663
665
|
var objectDefineProperty = {};
|
|
664
666
|
|
|
665
|
-
var DESCRIPTORS$
|
|
666
|
-
var fails$
|
|
667
|
+
var DESCRIPTORS$b = descriptors;
|
|
668
|
+
var fails$d = fails$j;
|
|
667
669
|
|
|
668
670
|
// V8 ~ Chrome 36-
|
|
669
671
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
670
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
672
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$d(function () {
|
|
671
673
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
672
674
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
673
675
|
value: 42,
|
|
@@ -678,21 +680,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$c(function () {
|
|
|
678
680
|
var isObject$6 = isObject$a;
|
|
679
681
|
|
|
680
682
|
var $String$3 = String;
|
|
681
|
-
var $TypeError$
|
|
683
|
+
var $TypeError$a = TypeError;
|
|
682
684
|
|
|
683
685
|
// `Assert: Type(argument) is Object`
|
|
684
|
-
var anObject$
|
|
686
|
+
var anObject$g = function (argument) {
|
|
685
687
|
if (isObject$6(argument)) return argument;
|
|
686
|
-
throw new $TypeError$
|
|
688
|
+
throw new $TypeError$a($String$3(argument) + ' is not an object');
|
|
687
689
|
};
|
|
688
690
|
|
|
689
|
-
var DESCRIPTORS$
|
|
691
|
+
var DESCRIPTORS$a = descriptors;
|
|
690
692
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
691
693
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
692
|
-
var anObject$
|
|
694
|
+
var anObject$f = anObject$g;
|
|
693
695
|
var toPropertyKey = toPropertyKey$2;
|
|
694
696
|
|
|
695
|
-
var $TypeError$
|
|
697
|
+
var $TypeError$9 = TypeError;
|
|
696
698
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
697
699
|
var $defineProperty = Object.defineProperty;
|
|
698
700
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -703,10 +705,10 @@ var WRITABLE = 'writable';
|
|
|
703
705
|
|
|
704
706
|
// `Object.defineProperty` method
|
|
705
707
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
706
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
707
|
-
anObject$
|
|
708
|
+
objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
709
|
+
anObject$f(O);
|
|
708
710
|
P = toPropertyKey(P);
|
|
709
|
-
anObject$
|
|
711
|
+
anObject$f(Attributes);
|
|
710
712
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
711
713
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
712
714
|
if (current && current[WRITABLE]) {
|
|
@@ -719,23 +721,23 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
719
721
|
}
|
|
720
722
|
} return $defineProperty(O, P, Attributes);
|
|
721
723
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
722
|
-
anObject$
|
|
724
|
+
anObject$f(O);
|
|
723
725
|
P = toPropertyKey(P);
|
|
724
|
-
anObject$
|
|
726
|
+
anObject$f(Attributes);
|
|
725
727
|
if (IE8_DOM_DEFINE) try {
|
|
726
728
|
return $defineProperty(O, P, Attributes);
|
|
727
729
|
} catch (error) { /* empty */ }
|
|
728
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
730
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$9('Accessors not supported');
|
|
729
731
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
730
732
|
return O;
|
|
731
733
|
};
|
|
732
734
|
|
|
733
|
-
var DESCRIPTORS$
|
|
734
|
-
var definePropertyModule$
|
|
735
|
-
var createPropertyDescriptor$
|
|
735
|
+
var DESCRIPTORS$9 = descriptors;
|
|
736
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
737
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
736
738
|
|
|
737
|
-
var createNonEnumerableProperty$5 = DESCRIPTORS$
|
|
738
|
-
return definePropertyModule$
|
|
739
|
+
var createNonEnumerableProperty$5 = DESCRIPTORS$9 ? function (object, key, value) {
|
|
740
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
739
741
|
} : function (object, key, value) {
|
|
740
742
|
object[key] = value;
|
|
741
743
|
return object;
|
|
@@ -743,32 +745,31 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
743
745
|
|
|
744
746
|
var makeBuiltIn$3 = {exports: {}};
|
|
745
747
|
|
|
746
|
-
var DESCRIPTORS$
|
|
747
|
-
var hasOwn$
|
|
748
|
+
var DESCRIPTORS$8 = descriptors;
|
|
749
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
748
750
|
|
|
749
751
|
var FunctionPrototype$1 = Function.prototype;
|
|
750
752
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
751
|
-
var getDescriptor = DESCRIPTORS$
|
|
753
|
+
var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
|
|
752
754
|
|
|
753
|
-
var EXISTS = hasOwn$
|
|
755
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
754
756
|
// additional protection from minified / mangled / dropped function names
|
|
755
757
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
756
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
758
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
757
759
|
|
|
758
760
|
var functionName = {
|
|
759
|
-
EXISTS: EXISTS,
|
|
760
761
|
PROPER: PROPER,
|
|
761
762
|
CONFIGURABLE: CONFIGURABLE
|
|
762
763
|
};
|
|
763
764
|
|
|
764
765
|
var uncurryThis$d = functionUncurryThis;
|
|
765
|
-
var isCallable$
|
|
766
|
+
var isCallable$g = isCallable$m;
|
|
766
767
|
var store$1 = sharedStoreExports;
|
|
767
768
|
|
|
768
769
|
var functionToString = uncurryThis$d(Function.toString);
|
|
769
770
|
|
|
770
771
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
771
|
-
if (!isCallable$
|
|
772
|
+
if (!isCallable$g(store$1.inspectSource)) {
|
|
772
773
|
store$1.inspectSource = function (it) {
|
|
773
774
|
return functionToString(it);
|
|
774
775
|
};
|
|
@@ -776,12 +777,12 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
|
776
777
|
|
|
777
778
|
var inspectSource$3 = store$1.inspectSource;
|
|
778
779
|
|
|
779
|
-
var global$
|
|
780
|
-
var isCallable$
|
|
780
|
+
var global$f = global$m;
|
|
781
|
+
var isCallable$f = isCallable$m;
|
|
781
782
|
|
|
782
|
-
var WeakMap$1 = global$
|
|
783
|
+
var WeakMap$1 = global$f.WeakMap;
|
|
783
784
|
|
|
784
|
-
var weakMapBasicDetection = isCallable$
|
|
785
|
+
var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
785
786
|
|
|
786
787
|
var shared$2 = shared$4;
|
|
787
788
|
var uid = uid$2;
|
|
@@ -795,17 +796,17 @@ var sharedKey$3 = function (key) {
|
|
|
795
796
|
var hiddenKeys$4 = {};
|
|
796
797
|
|
|
797
798
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
798
|
-
var global$
|
|
799
|
+
var global$e = global$m;
|
|
799
800
|
var isObject$5 = isObject$a;
|
|
800
801
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
801
|
-
var hasOwn$
|
|
802
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
802
803
|
var shared$1 = sharedStoreExports;
|
|
803
804
|
var sharedKey$2 = sharedKey$3;
|
|
804
805
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
805
806
|
|
|
806
807
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
807
|
-
var TypeError$2 = global$
|
|
808
|
-
var WeakMap = global$
|
|
808
|
+
var TypeError$2 = global$e.TypeError;
|
|
809
|
+
var WeakMap = global$e.WeakMap;
|
|
809
810
|
var set$1, get, has;
|
|
810
811
|
|
|
811
812
|
var enforce = function (it) {
|
|
@@ -844,16 +845,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
844
845
|
var STATE = sharedKey$2('state');
|
|
845
846
|
hiddenKeys$3[STATE] = true;
|
|
846
847
|
set$1 = function (it, metadata) {
|
|
847
|
-
if (hasOwn$
|
|
848
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
848
849
|
metadata.facade = it;
|
|
849
850
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
850
851
|
return metadata;
|
|
851
852
|
};
|
|
852
853
|
get = function (it) {
|
|
853
|
-
return hasOwn$
|
|
854
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
854
855
|
};
|
|
855
856
|
has = function (it) {
|
|
856
|
-
return hasOwn$
|
|
857
|
+
return hasOwn$7(it, STATE);
|
|
857
858
|
};
|
|
858
859
|
}
|
|
859
860
|
|
|
@@ -866,10 +867,10 @@ var internalState = {
|
|
|
866
867
|
};
|
|
867
868
|
|
|
868
869
|
var uncurryThis$c = functionUncurryThis;
|
|
869
|
-
var fails$
|
|
870
|
-
var isCallable$
|
|
871
|
-
var hasOwn$
|
|
872
|
-
var DESCRIPTORS$
|
|
870
|
+
var fails$c = fails$j;
|
|
871
|
+
var isCallable$e = isCallable$m;
|
|
872
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
873
|
+
var DESCRIPTORS$7 = descriptors;
|
|
873
874
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
874
875
|
var inspectSource$2 = inspectSource$3;
|
|
875
876
|
var InternalStateModule$2 = internalState;
|
|
@@ -883,7 +884,7 @@ var stringSlice$4 = uncurryThis$c(''.slice);
|
|
|
883
884
|
var replace$2 = uncurryThis$c(''.replace);
|
|
884
885
|
var join = uncurryThis$c([].join);
|
|
885
886
|
|
|
886
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
887
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$7 && !fails$c(function () {
|
|
887
888
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
888
889
|
});
|
|
889
890
|
|
|
@@ -895,21 +896,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
895
896
|
}
|
|
896
897
|
if (options && options.getter) name = 'get ' + name;
|
|
897
898
|
if (options && options.setter) name = 'set ' + name;
|
|
898
|
-
if (!hasOwn$
|
|
899
|
-
if (DESCRIPTORS$
|
|
899
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
900
|
+
if (DESCRIPTORS$7) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
900
901
|
else value.name = name;
|
|
901
902
|
}
|
|
902
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
903
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
903
904
|
defineProperty$5(value, 'length', { value: options.arity });
|
|
904
905
|
}
|
|
905
906
|
try {
|
|
906
|
-
if (options && hasOwn$
|
|
907
|
-
if (DESCRIPTORS$
|
|
907
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
908
|
+
if (DESCRIPTORS$7) defineProperty$5(value, 'prototype', { writable: false });
|
|
908
909
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
909
910
|
} else if (value.prototype) value.prototype = undefined;
|
|
910
911
|
} catch (error) { /* empty */ }
|
|
911
912
|
var state = enforceInternalState(value);
|
|
912
|
-
if (!hasOwn$
|
|
913
|
+
if (!hasOwn$6(state, 'source')) {
|
|
913
914
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
914
915
|
} return value;
|
|
915
916
|
};
|
|
@@ -917,13 +918,13 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
917
918
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
918
919
|
// eslint-disable-next-line no-extend-native -- required
|
|
919
920
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
920
|
-
return isCallable$
|
|
921
|
+
return isCallable$e(this) && getInternalState$2(this).source || inspectSource$2(this);
|
|
921
922
|
}, 'toString');
|
|
922
923
|
|
|
923
924
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
924
925
|
|
|
925
|
-
var isCallable$
|
|
926
|
-
var definePropertyModule$
|
|
926
|
+
var isCallable$d = isCallable$m;
|
|
927
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
927
928
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
928
929
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
929
930
|
|
|
@@ -931,7 +932,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
931
932
|
if (!options) options = {};
|
|
932
933
|
var simple = options.enumerable;
|
|
933
934
|
var name = options.name !== undefined ? options.name : key;
|
|
934
|
-
if (isCallable$
|
|
935
|
+
if (isCallable$d(value)) makeBuiltIn$1(value, name, options);
|
|
935
936
|
if (options.global) {
|
|
936
937
|
if (simple) O[key] = value;
|
|
937
938
|
else defineGlobalProperty$1(key, value);
|
|
@@ -941,7 +942,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
941
942
|
else if (O[key]) simple = true;
|
|
942
943
|
} catch (error) { /* empty */ }
|
|
943
944
|
if (simple) O[key] = value;
|
|
944
|
-
else definePropertyModule$
|
|
945
|
+
else definePropertyModule$3.f(O, key, {
|
|
945
946
|
value: value,
|
|
946
947
|
enumerable: false,
|
|
947
948
|
configurable: !options.nonConfigurable,
|
|
@@ -1031,16 +1032,13 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
1031
1032
|
};
|
|
1032
1033
|
|
|
1033
1034
|
var arrayIncludes = {
|
|
1034
|
-
// `Array.prototype.includes` method
|
|
1035
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1036
|
-
includes: createMethod$1(true),
|
|
1037
1035
|
// `Array.prototype.indexOf` method
|
|
1038
1036
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1039
1037
|
indexOf: createMethod$1(false)
|
|
1040
1038
|
};
|
|
1041
1039
|
|
|
1042
1040
|
var uncurryThis$b = functionUncurryThis;
|
|
1043
|
-
var hasOwn$
|
|
1041
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1044
1042
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
1045
1043
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
1046
1044
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -1052,9 +1050,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
1052
1050
|
var i = 0;
|
|
1053
1051
|
var result = [];
|
|
1054
1052
|
var key;
|
|
1055
|
-
for (key in O) !hasOwn$
|
|
1053
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$1(result, key);
|
|
1056
1054
|
// Don't enum bug & hidden keys
|
|
1057
|
-
while (names.length > i) if (hasOwn$
|
|
1055
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
1058
1056
|
~indexOf$1(result, key) || push$1(result, key);
|
|
1059
1057
|
}
|
|
1060
1058
|
return result;
|
|
@@ -1092,36 +1090,36 @@ var getBuiltIn$5 = getBuiltIn$7;
|
|
|
1092
1090
|
var uncurryThis$a = functionUncurryThis;
|
|
1093
1091
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1094
1092
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1095
|
-
var anObject$
|
|
1093
|
+
var anObject$e = anObject$g;
|
|
1096
1094
|
|
|
1097
1095
|
var concat$2 = uncurryThis$a([].concat);
|
|
1098
1096
|
|
|
1099
1097
|
// all object keys, includes non-enumerable and symbols
|
|
1100
1098
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1101
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1099
|
+
var keys = getOwnPropertyNamesModule.f(anObject$e(it));
|
|
1102
1100
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1103
1101
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1104
1102
|
};
|
|
1105
1103
|
|
|
1106
|
-
var hasOwn$
|
|
1104
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1107
1105
|
var ownKeys = ownKeys$1;
|
|
1108
1106
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1109
|
-
var definePropertyModule$
|
|
1107
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1110
1108
|
|
|
1111
1109
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1112
1110
|
var keys = ownKeys(source);
|
|
1113
|
-
var defineProperty = definePropertyModule$
|
|
1111
|
+
var defineProperty = definePropertyModule$2.f;
|
|
1114
1112
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1115
1113
|
for (var i = 0; i < keys.length; i++) {
|
|
1116
1114
|
var key = keys[i];
|
|
1117
|
-
if (!hasOwn$
|
|
1115
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
1118
1116
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1119
1117
|
}
|
|
1120
1118
|
}
|
|
1121
1119
|
};
|
|
1122
1120
|
|
|
1123
|
-
var fails$
|
|
1124
|
-
var isCallable$
|
|
1121
|
+
var fails$b = fails$j;
|
|
1122
|
+
var isCallable$c = isCallable$m;
|
|
1125
1123
|
|
|
1126
1124
|
var replacement = /#|\.prototype\./;
|
|
1127
1125
|
|
|
@@ -1129,7 +1127,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
1129
1127
|
var value = data[normalize$1(feature)];
|
|
1130
1128
|
return value === POLYFILL ? true
|
|
1131
1129
|
: value === NATIVE ? false
|
|
1132
|
-
: isCallable$
|
|
1130
|
+
: isCallable$c(detection) ? fails$b(detection)
|
|
1133
1131
|
: !!detection;
|
|
1134
1132
|
};
|
|
1135
1133
|
|
|
@@ -1143,7 +1141,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
1143
1141
|
|
|
1144
1142
|
var isForced_1 = isForced$2;
|
|
1145
1143
|
|
|
1146
|
-
var global$
|
|
1144
|
+
var global$d = global$m;
|
|
1147
1145
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1148
1146
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
1149
1147
|
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
@@ -1172,11 +1170,11 @@ var _export = function (options, source) {
|
|
|
1172
1170
|
var STATIC = options.stat;
|
|
1173
1171
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1174
1172
|
if (GLOBAL) {
|
|
1175
|
-
target = global$
|
|
1173
|
+
target = global$d;
|
|
1176
1174
|
} else if (STATIC) {
|
|
1177
|
-
target = global$
|
|
1175
|
+
target = global$d[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1178
1176
|
} else {
|
|
1179
|
-
target = global$
|
|
1177
|
+
target = global$d[TARGET] && global$d[TARGET].prototype;
|
|
1180
1178
|
}
|
|
1181
1179
|
if (target) for (key in source) {
|
|
1182
1180
|
sourceProperty = source[key];
|
|
@@ -1208,10 +1206,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1208
1206
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1209
1207
|
};
|
|
1210
1208
|
|
|
1211
|
-
var DESCRIPTORS$
|
|
1209
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1212
1210
|
var uncurryThis$9 = functionUncurryThis;
|
|
1213
1211
|
var call$d = functionCall;
|
|
1214
|
-
var fails$
|
|
1212
|
+
var fails$a = fails$j;
|
|
1215
1213
|
var objectKeys$1 = objectKeys$2;
|
|
1216
1214
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1217
1215
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1226,9 +1224,9 @@ var concat$1 = uncurryThis$9([].concat);
|
|
|
1226
1224
|
|
|
1227
1225
|
// `Object.assign` method
|
|
1228
1226
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1229
|
-
var objectAssign = !$assign || fails$
|
|
1227
|
+
var objectAssign = !$assign || fails$a(function () {
|
|
1230
1228
|
// should have correct order of operations (Edge bug)
|
|
1231
|
-
if (DESCRIPTORS$
|
|
1229
|
+
if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1232
1230
|
enumerable: true,
|
|
1233
1231
|
get: function () {
|
|
1234
1232
|
defineProperty$4(this, 'b', {
|
|
@@ -1260,36 +1258,36 @@ var objectAssign = !$assign || fails$9(function () {
|
|
|
1260
1258
|
var key;
|
|
1261
1259
|
while (length > j) {
|
|
1262
1260
|
key = keys[j++];
|
|
1263
|
-
if (!DESCRIPTORS$
|
|
1261
|
+
if (!DESCRIPTORS$6 || call$d(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1264
1262
|
}
|
|
1265
1263
|
} return T;
|
|
1266
1264
|
} : $assign;
|
|
1267
1265
|
|
|
1268
|
-
var $$
|
|
1266
|
+
var $$b = _export;
|
|
1269
1267
|
var assign = objectAssign;
|
|
1270
1268
|
|
|
1271
1269
|
// `Object.assign` method
|
|
1272
1270
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1273
1271
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1274
|
-
$$
|
|
1272
|
+
$$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1275
1273
|
assign: assign
|
|
1276
1274
|
});
|
|
1277
1275
|
|
|
1278
|
-
var wellKnownSymbol$
|
|
1276
|
+
var wellKnownSymbol$f = wellKnownSymbol$h;
|
|
1279
1277
|
|
|
1280
|
-
var TO_STRING_TAG$
|
|
1278
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$f('toStringTag');
|
|
1281
1279
|
var test = {};
|
|
1282
1280
|
|
|
1283
|
-
test[TO_STRING_TAG$
|
|
1281
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1284
1282
|
|
|
1285
1283
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1286
1284
|
|
|
1287
1285
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1288
|
-
var isCallable$
|
|
1286
|
+
var isCallable$b = isCallable$m;
|
|
1289
1287
|
var classofRaw$1 = classofRaw$2;
|
|
1290
|
-
var wellKnownSymbol$
|
|
1288
|
+
var wellKnownSymbol$e = wellKnownSymbol$h;
|
|
1291
1289
|
|
|
1292
|
-
var TO_STRING_TAG$
|
|
1290
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
|
|
1293
1291
|
var $Object$1 = Object;
|
|
1294
1292
|
|
|
1295
1293
|
// ES3 wrong here
|
|
@@ -1307,11 +1305,11 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1307
1305
|
var O, tag, result;
|
|
1308
1306
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1309
1307
|
// @@toStringTag case
|
|
1310
|
-
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$
|
|
1308
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1311
1309
|
// builtinTag case
|
|
1312
1310
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1313
1311
|
// ES3 arguments fallback
|
|
1314
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1312
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
1315
1313
|
};
|
|
1316
1314
|
|
|
1317
1315
|
var classof$4 = classof$5;
|
|
@@ -1323,12 +1321,12 @@ var toString$4 = function (argument) {
|
|
|
1323
1321
|
return $String$1(argument);
|
|
1324
1322
|
};
|
|
1325
1323
|
|
|
1326
|
-
var anObject$
|
|
1324
|
+
var anObject$d = anObject$g;
|
|
1327
1325
|
|
|
1328
1326
|
// `RegExp.prototype.flags` getter implementation
|
|
1329
1327
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1330
1328
|
var regexpFlags$1 = function () {
|
|
1331
|
-
var that = anObject$
|
|
1329
|
+
var that = anObject$d(this);
|
|
1332
1330
|
var result = '';
|
|
1333
1331
|
if (that.hasIndices) result += 'd';
|
|
1334
1332
|
if (that.global) result += 'g';
|
|
@@ -1341,13 +1339,13 @@ var regexpFlags$1 = function () {
|
|
|
1341
1339
|
return result;
|
|
1342
1340
|
};
|
|
1343
1341
|
|
|
1344
|
-
var fails$
|
|
1345
|
-
var global$
|
|
1342
|
+
var fails$9 = fails$j;
|
|
1343
|
+
var global$c = global$m;
|
|
1346
1344
|
|
|
1347
1345
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1348
|
-
var $RegExp$2 = global$
|
|
1346
|
+
var $RegExp$2 = global$c.RegExp;
|
|
1349
1347
|
|
|
1350
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
1348
|
+
var UNSUPPORTED_Y$1 = fails$9(function () {
|
|
1351
1349
|
var re = $RegExp$2('a', 'y');
|
|
1352
1350
|
re.lastIndex = 2;
|
|
1353
1351
|
return re.exec('abcd') !== null;
|
|
@@ -1355,11 +1353,11 @@ var UNSUPPORTED_Y$1 = fails$8(function () {
|
|
|
1355
1353
|
|
|
1356
1354
|
// UC Browser bug
|
|
1357
1355
|
// https://github.com/zloirock/core-js/issues/1008
|
|
1358
|
-
|
|
1356
|
+
UNSUPPORTED_Y$1 || fails$9(function () {
|
|
1359
1357
|
return !$RegExp$2('a', 'y').sticky;
|
|
1360
1358
|
});
|
|
1361
1359
|
|
|
1362
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
1360
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$9(function () {
|
|
1363
1361
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
1364
1362
|
var re = $RegExp$2('^r', 'gy');
|
|
1365
1363
|
re.lastIndex = 2;
|
|
@@ -1367,31 +1365,28 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$8(function () {
|
|
|
1367
1365
|
});
|
|
1368
1366
|
|
|
1369
1367
|
var regexpStickyHelpers = {
|
|
1370
|
-
BROKEN_CARET: BROKEN_CARET
|
|
1371
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
1372
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
1373
|
-
};
|
|
1368
|
+
BROKEN_CARET: BROKEN_CARET};
|
|
1374
1369
|
|
|
1375
1370
|
var objectDefineProperties = {};
|
|
1376
1371
|
|
|
1377
|
-
var DESCRIPTORS$
|
|
1372
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1378
1373
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1379
|
-
var definePropertyModule = objectDefineProperty;
|
|
1380
|
-
var anObject$
|
|
1374
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1375
|
+
var anObject$c = anObject$g;
|
|
1381
1376
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1382
1377
|
var objectKeys = objectKeys$2;
|
|
1383
1378
|
|
|
1384
1379
|
// `Object.defineProperties` method
|
|
1385
1380
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1386
1381
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1387
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1388
|
-
anObject$
|
|
1382
|
+
objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1383
|
+
anObject$c(O);
|
|
1389
1384
|
var props = toIndexedObject$1(Properties);
|
|
1390
1385
|
var keys = objectKeys(Properties);
|
|
1391
1386
|
var length = keys.length;
|
|
1392
1387
|
var index = 0;
|
|
1393
1388
|
var key;
|
|
1394
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1389
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1395
1390
|
return O;
|
|
1396
1391
|
};
|
|
1397
1392
|
|
|
@@ -1400,7 +1395,7 @@ var getBuiltIn$4 = getBuiltIn$7;
|
|
|
1400
1395
|
var html$2 = getBuiltIn$4('document', 'documentElement');
|
|
1401
1396
|
|
|
1402
1397
|
/* global ActiveXObject -- old IE, WSH */
|
|
1403
|
-
var anObject$
|
|
1398
|
+
var anObject$b = anObject$g;
|
|
1404
1399
|
var definePropertiesModule = objectDefineProperties;
|
|
1405
1400
|
var enumBugKeys = enumBugKeys$3;
|
|
1406
1401
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1474,7 +1469,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1474
1469
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1475
1470
|
var result;
|
|
1476
1471
|
if (O !== null) {
|
|
1477
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1472
|
+
EmptyConstructor[PROTOTYPE] = anObject$b(O);
|
|
1478
1473
|
result = new EmptyConstructor();
|
|
1479
1474
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1480
1475
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1483,24 +1478,24 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1483
1478
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1484
1479
|
};
|
|
1485
1480
|
|
|
1486
|
-
var fails$
|
|
1487
|
-
var global$
|
|
1481
|
+
var fails$8 = fails$j;
|
|
1482
|
+
var global$b = global$m;
|
|
1488
1483
|
|
|
1489
1484
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1490
|
-
var $RegExp$1 = global$
|
|
1485
|
+
var $RegExp$1 = global$b.RegExp;
|
|
1491
1486
|
|
|
1492
|
-
var regexpUnsupportedDotAll = fails$
|
|
1487
|
+
var regexpUnsupportedDotAll = fails$8(function () {
|
|
1493
1488
|
var re = $RegExp$1('.', 's');
|
|
1494
1489
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1495
1490
|
});
|
|
1496
1491
|
|
|
1497
|
-
var fails$
|
|
1498
|
-
var global$
|
|
1492
|
+
var fails$7 = fails$j;
|
|
1493
|
+
var global$a = global$m;
|
|
1499
1494
|
|
|
1500
1495
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1501
|
-
var $RegExp = global$
|
|
1496
|
+
var $RegExp = global$a.RegExp;
|
|
1502
1497
|
|
|
1503
|
-
var regexpUnsupportedNcg = fails$
|
|
1498
|
+
var regexpUnsupportedNcg = fails$7(function () {
|
|
1504
1499
|
var re = $RegExp('(?<a>b)', 'g');
|
|
1505
1500
|
return re.exec('b').groups.a !== 'b' ||
|
|
1506
1501
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -1623,12 +1618,12 @@ if (PATCH) {
|
|
|
1623
1618
|
|
|
1624
1619
|
var regexpExec$2 = patchedExec;
|
|
1625
1620
|
|
|
1626
|
-
var $$
|
|
1621
|
+
var $$a = _export;
|
|
1627
1622
|
var exec$1 = regexpExec$2;
|
|
1628
1623
|
|
|
1629
1624
|
// `RegExp.prototype.exec` method
|
|
1630
1625
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
1631
|
-
$$
|
|
1626
|
+
$$a({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
1632
1627
|
exec: exec$1
|
|
1633
1628
|
});
|
|
1634
1629
|
|
|
@@ -1648,24 +1643,24 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
|
|
|
1648
1643
|
var call$a = functionCall;
|
|
1649
1644
|
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1650
1645
|
var regexpExec$1 = regexpExec$2;
|
|
1651
|
-
var fails$
|
|
1652
|
-
var wellKnownSymbol$
|
|
1646
|
+
var fails$6 = fails$j;
|
|
1647
|
+
var wellKnownSymbol$d = wellKnownSymbol$h;
|
|
1653
1648
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
1654
1649
|
|
|
1655
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
1650
|
+
var SPECIES$3 = wellKnownSymbol$d('species');
|
|
1656
1651
|
var RegExpPrototype = RegExp.prototype;
|
|
1657
1652
|
|
|
1658
1653
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
1659
|
-
var SYMBOL = wellKnownSymbol$
|
|
1654
|
+
var SYMBOL = wellKnownSymbol$d(KEY);
|
|
1660
1655
|
|
|
1661
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
1656
|
+
var DELEGATES_TO_SYMBOL = !fails$6(function () {
|
|
1662
1657
|
// String methods call symbol-named RegExp methods
|
|
1663
1658
|
var O = {};
|
|
1664
1659
|
O[SYMBOL] = function () { return 7; };
|
|
1665
1660
|
return ''[KEY](O) !== 7;
|
|
1666
1661
|
});
|
|
1667
1662
|
|
|
1668
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
1663
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {
|
|
1669
1664
|
// Symbol-named RegExp methods call .exec
|
|
1670
1665
|
var execCalled = false;
|
|
1671
1666
|
var re = /a/;
|
|
@@ -1748,9 +1743,6 @@ var createMethod = function (CONVERT_TO_STRING) {
|
|
|
1748
1743
|
};
|
|
1749
1744
|
|
|
1750
1745
|
var stringMultibyte = {
|
|
1751
|
-
// `String.prototype.codePointAt` method
|
|
1752
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
1753
|
-
codeAt: createMethod(false),
|
|
1754
1746
|
// `String.prototype.at` method
|
|
1755
1747
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
1756
1748
|
charAt: createMethod(true)
|
|
@@ -1811,33 +1803,33 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
1811
1803
|
};
|
|
1812
1804
|
|
|
1813
1805
|
var call$9 = functionCall;
|
|
1814
|
-
var anObject$
|
|
1815
|
-
var isCallable$
|
|
1806
|
+
var anObject$a = anObject$g;
|
|
1807
|
+
var isCallable$a = isCallable$m;
|
|
1816
1808
|
var classof$3 = classofRaw$2;
|
|
1817
1809
|
var regexpExec = regexpExec$2;
|
|
1818
1810
|
|
|
1819
|
-
var $TypeError$
|
|
1811
|
+
var $TypeError$8 = TypeError;
|
|
1820
1812
|
|
|
1821
1813
|
// `RegExpExec` abstract operation
|
|
1822
1814
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
1823
1815
|
var regexpExecAbstract = function (R, S) {
|
|
1824
1816
|
var exec = R.exec;
|
|
1825
|
-
if (isCallable$
|
|
1817
|
+
if (isCallable$a(exec)) {
|
|
1826
1818
|
var result = call$9(exec, R, S);
|
|
1827
|
-
if (result !== null) anObject$
|
|
1819
|
+
if (result !== null) anObject$a(result);
|
|
1828
1820
|
return result;
|
|
1829
1821
|
}
|
|
1830
1822
|
if (classof$3(R) === 'RegExp') return call$9(regexpExec, R, S);
|
|
1831
|
-
throw new $TypeError$
|
|
1823
|
+
throw new $TypeError$8('RegExp#exec called on incompatible receiver');
|
|
1832
1824
|
};
|
|
1833
1825
|
|
|
1834
1826
|
var apply$1 = functionApply;
|
|
1835
1827
|
var call$8 = functionCall;
|
|
1836
1828
|
var uncurryThis$5 = functionUncurryThis;
|
|
1837
1829
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
1838
|
-
var fails$
|
|
1839
|
-
var anObject$
|
|
1840
|
-
var isCallable$
|
|
1830
|
+
var fails$5 = fails$j;
|
|
1831
|
+
var anObject$9 = anObject$g;
|
|
1832
|
+
var isCallable$9 = isCallable$m;
|
|
1841
1833
|
var isNullOrUndefined$3 = isNullOrUndefined$6;
|
|
1842
1834
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
1843
1835
|
var toLength = toLength$2;
|
|
@@ -1847,9 +1839,9 @@ var advanceStringIndex = advanceStringIndex$1;
|
|
|
1847
1839
|
var getMethod$3 = getMethod$5;
|
|
1848
1840
|
var getSubstitution = getSubstitution$1;
|
|
1849
1841
|
var regExpExec$1 = regexpExecAbstract;
|
|
1850
|
-
var wellKnownSymbol$
|
|
1842
|
+
var wellKnownSymbol$c = wellKnownSymbol$h;
|
|
1851
1843
|
|
|
1852
|
-
var REPLACE = wellKnownSymbol$
|
|
1844
|
+
var REPLACE = wellKnownSymbol$c('replace');
|
|
1853
1845
|
var max = Math.max;
|
|
1854
1846
|
var min = Math.min;
|
|
1855
1847
|
var concat = uncurryThis$5([].concat);
|
|
@@ -1876,7 +1868,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
1876
1868
|
return false;
|
|
1877
1869
|
})();
|
|
1878
1870
|
|
|
1879
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
1871
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$5(function () {
|
|
1880
1872
|
var re = /./;
|
|
1881
1873
|
re.exec = function () {
|
|
1882
1874
|
var result = [];
|
|
@@ -1904,7 +1896,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
1904
1896
|
// `RegExp.prototype[@@replace]` method
|
|
1905
1897
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
1906
1898
|
function (string, replaceValue) {
|
|
1907
|
-
var rx = anObject$
|
|
1899
|
+
var rx = anObject$9(this);
|
|
1908
1900
|
var S = toString$1(string);
|
|
1909
1901
|
|
|
1910
1902
|
if (
|
|
@@ -1916,7 +1908,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
1916
1908
|
if (res.done) return res.value;
|
|
1917
1909
|
}
|
|
1918
1910
|
|
|
1919
|
-
var functionalReplace = isCallable$
|
|
1911
|
+
var functionalReplace = isCallable$9(replaceValue);
|
|
1920
1912
|
if (!functionalReplace) replaceValue = toString$1(replaceValue);
|
|
1921
1913
|
|
|
1922
1914
|
var global = rx.global;
|
|
@@ -1983,7 +1975,7 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
1983
1975
|
|
|
1984
1976
|
var call$7 = functionCall;
|
|
1985
1977
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
1986
|
-
var anObject$
|
|
1978
|
+
var anObject$8 = anObject$g;
|
|
1987
1979
|
var isNullOrUndefined$2 = isNullOrUndefined$6;
|
|
1988
1980
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
1989
1981
|
var sameValue = sameValue$1;
|
|
@@ -2004,7 +1996,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
2004
1996
|
// `RegExp.prototype[@@search]` method
|
|
2005
1997
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
2006
1998
|
function (string) {
|
|
2007
|
-
var rx = anObject$
|
|
1999
|
+
var rx = anObject$8(this);
|
|
2008
2000
|
var S = toString(string);
|
|
2009
2001
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
2010
2002
|
|
|
@@ -2124,11 +2116,11 @@ const appConfig = {
|
|
|
2124
2116
|
}
|
|
2125
2117
|
};
|
|
2126
2118
|
|
|
2127
|
-
var wellKnownSymbol$
|
|
2119
|
+
var wellKnownSymbol$b = wellKnownSymbol$h;
|
|
2128
2120
|
var create$1 = objectCreate;
|
|
2129
2121
|
var defineProperty$3 = objectDefineProperty.f;
|
|
2130
2122
|
|
|
2131
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
2123
|
+
var UNSCOPABLES = wellKnownSymbol$b('unscopables');
|
|
2132
2124
|
var ArrayPrototype$1 = Array.prototype;
|
|
2133
2125
|
|
|
2134
2126
|
// Array.prototype[@@unscopables]
|
|
@@ -2147,17 +2139,17 @@ var addToUnscopables$1 = function (key) {
|
|
|
2147
2139
|
|
|
2148
2140
|
var iterators = {};
|
|
2149
2141
|
|
|
2150
|
-
var fails$
|
|
2142
|
+
var fails$4 = fails$j;
|
|
2151
2143
|
|
|
2152
|
-
var correctPrototypeGetter = !fails$
|
|
2144
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
2153
2145
|
function F() { /* empty */ }
|
|
2154
2146
|
F.prototype.constructor = null;
|
|
2155
2147
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
2156
2148
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
2157
2149
|
});
|
|
2158
2150
|
|
|
2159
|
-
var hasOwn$
|
|
2160
|
-
var isCallable$
|
|
2151
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
2152
|
+
var isCallable$8 = isCallable$m;
|
|
2161
2153
|
var toObject = toObject$4;
|
|
2162
2154
|
var sharedKey = sharedKey$3;
|
|
2163
2155
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -2171,26 +2163,26 @@ var ObjectPrototype = $Object.prototype;
|
|
|
2171
2163
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2172
2164
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2173
2165
|
var object = toObject(O);
|
|
2174
|
-
if (hasOwn$
|
|
2166
|
+
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
2175
2167
|
var constructor = object.constructor;
|
|
2176
|
-
if (isCallable$
|
|
2168
|
+
if (isCallable$8(constructor) && object instanceof constructor) {
|
|
2177
2169
|
return constructor.prototype;
|
|
2178
2170
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2179
2171
|
};
|
|
2180
2172
|
|
|
2181
|
-
var fails$
|
|
2182
|
-
var isCallable$
|
|
2173
|
+
var fails$3 = fails$j;
|
|
2174
|
+
var isCallable$7 = isCallable$m;
|
|
2183
2175
|
var isObject$4 = isObject$a;
|
|
2184
|
-
var getPrototypeOf$
|
|
2176
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
2185
2177
|
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
2186
|
-
var wellKnownSymbol$
|
|
2178
|
+
var wellKnownSymbol$a = wellKnownSymbol$h;
|
|
2187
2179
|
|
|
2188
|
-
var ITERATOR$
|
|
2180
|
+
var ITERATOR$6 = wellKnownSymbol$a('iterator');
|
|
2189
2181
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
2190
2182
|
|
|
2191
2183
|
// `%IteratorPrototype%` object
|
|
2192
2184
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
2193
|
-
var IteratorPrototype$
|
|
2185
|
+
var IteratorPrototype$3, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
2194
2186
|
|
|
2195
2187
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
2196
2188
|
if ([].keys) {
|
|
@@ -2198,48 +2190,48 @@ if ([].keys) {
|
|
|
2198
2190
|
// Safari 8 has buggy iterators w/o `next`
|
|
2199
2191
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
2200
2192
|
else {
|
|
2201
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
2202
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
2193
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
2194
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$3 = PrototypeOfArrayIteratorPrototype;
|
|
2203
2195
|
}
|
|
2204
2196
|
}
|
|
2205
2197
|
|
|
2206
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$
|
|
2198
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$3) || fails$3(function () {
|
|
2207
2199
|
var test = {};
|
|
2208
2200
|
// FF44- legacy iterators case
|
|
2209
|
-
return IteratorPrototype$
|
|
2201
|
+
return IteratorPrototype$3[ITERATOR$6].call(test) !== test;
|
|
2210
2202
|
});
|
|
2211
2203
|
|
|
2212
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
2204
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$3 = {};
|
|
2213
2205
|
|
|
2214
2206
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
2215
2207
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
2216
|
-
if (!isCallable$
|
|
2217
|
-
defineBuiltIn$3(IteratorPrototype$
|
|
2208
|
+
if (!isCallable$7(IteratorPrototype$3[ITERATOR$6])) {
|
|
2209
|
+
defineBuiltIn$3(IteratorPrototype$3, ITERATOR$6, function () {
|
|
2218
2210
|
return this;
|
|
2219
2211
|
});
|
|
2220
2212
|
}
|
|
2221
2213
|
|
|
2222
2214
|
var iteratorsCore = {
|
|
2223
|
-
IteratorPrototype: IteratorPrototype$
|
|
2215
|
+
IteratorPrototype: IteratorPrototype$3,
|
|
2224
2216
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
2225
2217
|
};
|
|
2226
2218
|
|
|
2227
2219
|
var defineProperty$2 = objectDefineProperty.f;
|
|
2228
|
-
var hasOwn$
|
|
2229
|
-
var wellKnownSymbol$
|
|
2220
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2221
|
+
var wellKnownSymbol$9 = wellKnownSymbol$h;
|
|
2230
2222
|
|
|
2231
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
2223
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag');
|
|
2232
2224
|
|
|
2233
2225
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
2234
2226
|
if (target && !STATIC) target = target.prototype;
|
|
2235
|
-
if (target && !hasOwn$
|
|
2236
|
-
defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
2227
|
+
if (target && !hasOwn$2(target, TO_STRING_TAG$1)) {
|
|
2228
|
+
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
2237
2229
|
}
|
|
2238
2230
|
};
|
|
2239
2231
|
|
|
2240
|
-
var IteratorPrototype$
|
|
2232
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
2241
2233
|
var create = objectCreate;
|
|
2242
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
2234
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
2243
2235
|
var setToStringTag$3 = setToStringTag$4;
|
|
2244
2236
|
var Iterators$4 = iterators;
|
|
2245
2237
|
|
|
@@ -2247,19 +2239,19 @@ var returnThis$1 = function () { return this; };
|
|
|
2247
2239
|
|
|
2248
2240
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2249
2241
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2250
|
-
IteratorConstructor.prototype = create(IteratorPrototype$
|
|
2242
|
+
IteratorConstructor.prototype = create(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
2251
2243
|
setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
|
|
2252
2244
|
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
2253
2245
|
return IteratorConstructor;
|
|
2254
2246
|
};
|
|
2255
2247
|
|
|
2256
2248
|
var uncurryThis$4 = functionUncurryThis;
|
|
2257
|
-
var aCallable$
|
|
2249
|
+
var aCallable$8 = aCallable$a;
|
|
2258
2250
|
|
|
2259
2251
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2260
2252
|
try {
|
|
2261
2253
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2262
|
-
return uncurryThis$4(aCallable$
|
|
2254
|
+
return uncurryThis$4(aCallable$8(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2263
2255
|
} catch (error) { /* empty */ }
|
|
2264
2256
|
};
|
|
2265
2257
|
|
|
@@ -2272,11 +2264,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
2272
2264
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
2273
2265
|
|
|
2274
2266
|
var $String = String;
|
|
2275
|
-
var $TypeError$
|
|
2267
|
+
var $TypeError$7 = TypeError;
|
|
2276
2268
|
|
|
2277
2269
|
var aPossiblePrototype$1 = function (argument) {
|
|
2278
2270
|
if (isPossiblePrototype(argument)) return argument;
|
|
2279
|
-
throw new $TypeError$
|
|
2271
|
+
throw new $TypeError$7("Can't set " + $String(argument) + ' as a prototype');
|
|
2280
2272
|
};
|
|
2281
2273
|
|
|
2282
2274
|
/* eslint-disable no-proto -- safe */
|
|
@@ -2308,25 +2300,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2308
2300
|
};
|
|
2309
2301
|
}() : undefined);
|
|
2310
2302
|
|
|
2311
|
-
var $$
|
|
2303
|
+
var $$9 = _export;
|
|
2312
2304
|
var call$6 = functionCall;
|
|
2313
2305
|
var FunctionName = functionName;
|
|
2314
|
-
var isCallable$
|
|
2306
|
+
var isCallable$6 = isCallable$m;
|
|
2315
2307
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2316
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
2308
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2317
2309
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
2318
2310
|
var setToStringTag$2 = setToStringTag$4;
|
|
2319
2311
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
2320
2312
|
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
2321
|
-
var wellKnownSymbol$
|
|
2313
|
+
var wellKnownSymbol$8 = wellKnownSymbol$h;
|
|
2322
2314
|
var Iterators$3 = iterators;
|
|
2323
2315
|
var IteratorsCore = iteratorsCore;
|
|
2324
2316
|
|
|
2325
2317
|
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2326
2318
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2327
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2319
|
+
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
2328
2320
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2329
|
-
var ITERATOR$
|
|
2321
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
2330
2322
|
var KEYS = 'keys';
|
|
2331
2323
|
var VALUES = 'values';
|
|
2332
2324
|
var ENTRIES = 'entries';
|
|
@@ -2352,7 +2344,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2352
2344
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2353
2345
|
var INCORRECT_VALUES_NAME = false;
|
|
2354
2346
|
var IterablePrototype = Iterable.prototype;
|
|
2355
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
2347
|
+
var nativeIterator = IterablePrototype[ITERATOR$5]
|
|
2356
2348
|
|| IterablePrototype['@@iterator']
|
|
2357
2349
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2358
2350
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -2361,13 +2353,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2361
2353
|
|
|
2362
2354
|
// fix native
|
|
2363
2355
|
if (anyNativeIterator) {
|
|
2364
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2356
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
2365
2357
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2366
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2358
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
2367
2359
|
if (setPrototypeOf$1) {
|
|
2368
|
-
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
|
2369
|
-
} else if (!isCallable$
|
|
2370
|
-
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$
|
|
2360
|
+
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
2361
|
+
} else if (!isCallable$6(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
2362
|
+
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
2371
2363
|
}
|
|
2372
2364
|
}
|
|
2373
2365
|
// Set @@toStringTag to native iterators
|
|
@@ -2396,12 +2388,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2396
2388
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2397
2389
|
defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
|
|
2398
2390
|
}
|
|
2399
|
-
} else $$
|
|
2391
|
+
} else $$9({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2400
2392
|
}
|
|
2401
2393
|
|
|
2402
2394
|
// define iterator
|
|
2403
|
-
if (IterablePrototype[ITERATOR$
|
|
2404
|
-
defineBuiltIn$2(IterablePrototype, ITERATOR$
|
|
2395
|
+
if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
|
|
2396
|
+
defineBuiltIn$2(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
|
|
2405
2397
|
}
|
|
2406
2398
|
Iterators$3[NAME] = defaultIterator;
|
|
2407
2399
|
|
|
@@ -2421,7 +2413,7 @@ var InternalStateModule$1 = internalState;
|
|
|
2421
2413
|
var defineProperty$1 = objectDefineProperty.f;
|
|
2422
2414
|
var defineIterator = iteratorDefine;
|
|
2423
2415
|
var createIterResultObject = createIterResultObject$1;
|
|
2424
|
-
var DESCRIPTORS$
|
|
2416
|
+
var DESCRIPTORS$4 = descriptors;
|
|
2425
2417
|
|
|
2426
2418
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
2427
2419
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
@@ -2471,36 +2463,36 @@ addToUnscopables('values');
|
|
|
2471
2463
|
addToUnscopables('entries');
|
|
2472
2464
|
|
|
2473
2465
|
// V8 ~ Chrome 45- bug
|
|
2474
|
-
if (DESCRIPTORS$
|
|
2466
|
+
if (DESCRIPTORS$4 && values.name !== 'values') try {
|
|
2475
2467
|
defineProperty$1(values, 'name', { value: 'values' });
|
|
2476
2468
|
} catch (error) { /* empty */ }
|
|
2477
2469
|
|
|
2478
|
-
var global$
|
|
2470
|
+
var global$9 = global$m;
|
|
2479
2471
|
var classof$2 = classofRaw$2;
|
|
2480
2472
|
|
|
2481
|
-
var engineIsNode = classof$2(global$
|
|
2473
|
+
var engineIsNode = classof$2(global$9.process) === 'process';
|
|
2482
2474
|
|
|
2483
2475
|
var makeBuiltIn = makeBuiltInExports;
|
|
2484
2476
|
var defineProperty = objectDefineProperty;
|
|
2485
2477
|
|
|
2486
|
-
var defineBuiltInAccessor$
|
|
2478
|
+
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
2487
2479
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2488
2480
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2489
2481
|
return defineProperty.f(target, name, descriptor);
|
|
2490
2482
|
};
|
|
2491
2483
|
|
|
2492
2484
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
2493
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
2494
|
-
var wellKnownSymbol$
|
|
2495
|
-
var DESCRIPTORS$
|
|
2485
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
2486
|
+
var wellKnownSymbol$7 = wellKnownSymbol$h;
|
|
2487
|
+
var DESCRIPTORS$3 = descriptors;
|
|
2496
2488
|
|
|
2497
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
2489
|
+
var SPECIES$2 = wellKnownSymbol$7('species');
|
|
2498
2490
|
|
|
2499
2491
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2500
2492
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
2501
2493
|
|
|
2502
|
-
if (DESCRIPTORS$
|
|
2503
|
-
defineBuiltInAccessor(Constructor, SPECIES$2, {
|
|
2494
|
+
if (DESCRIPTORS$3 && Constructor && !Constructor[SPECIES$2]) {
|
|
2495
|
+
defineBuiltInAccessor$1(Constructor, SPECIES$2, {
|
|
2504
2496
|
configurable: true,
|
|
2505
2497
|
get: function () { return this; }
|
|
2506
2498
|
});
|
|
@@ -2509,16 +2501,16 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
2509
2501
|
|
|
2510
2502
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2511
2503
|
|
|
2512
|
-
var $TypeError$
|
|
2504
|
+
var $TypeError$6 = TypeError;
|
|
2513
2505
|
|
|
2514
|
-
var anInstance$
|
|
2506
|
+
var anInstance$2 = function (it, Prototype) {
|
|
2515
2507
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
2516
|
-
throw new $TypeError$
|
|
2508
|
+
throw new $TypeError$6('Incorrect invocation');
|
|
2517
2509
|
};
|
|
2518
2510
|
|
|
2519
2511
|
var uncurryThis$3 = functionUncurryThis;
|
|
2520
|
-
var fails$
|
|
2521
|
-
var isCallable$
|
|
2512
|
+
var fails$2 = fails$j;
|
|
2513
|
+
var isCallable$5 = isCallable$m;
|
|
2522
2514
|
var classof$1 = classof$5;
|
|
2523
2515
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
2524
2516
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -2530,7 +2522,7 @@ var exec = uncurryThis$3(constructorRegExp.exec);
|
|
|
2530
2522
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2531
2523
|
|
|
2532
2524
|
var isConstructorModern = function isConstructor(argument) {
|
|
2533
|
-
if (!isCallable$
|
|
2525
|
+
if (!isCallable$5(argument)) return false;
|
|
2534
2526
|
try {
|
|
2535
2527
|
construct(noop, [], argument);
|
|
2536
2528
|
return true;
|
|
@@ -2540,7 +2532,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2540
2532
|
};
|
|
2541
2533
|
|
|
2542
2534
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2543
|
-
if (!isCallable$
|
|
2535
|
+
if (!isCallable$5(argument)) return false;
|
|
2544
2536
|
switch (classof$1(argument)) {
|
|
2545
2537
|
case 'AsyncFunction':
|
|
2546
2538
|
case 'GeneratorFunction':
|
|
@@ -2560,7 +2552,7 @@ isConstructorLegacy.sham = true;
|
|
|
2560
2552
|
|
|
2561
2553
|
// `IsConstructor` abstract operation
|
|
2562
2554
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2563
|
-
var isConstructor$1 = !construct || fails$
|
|
2555
|
+
var isConstructor$1 = !construct || fails$2(function () {
|
|
2564
2556
|
var called;
|
|
2565
2557
|
return isConstructorModern(isConstructorModern.call)
|
|
2566
2558
|
|| !isConstructorModern(Object)
|
|
@@ -2571,27 +2563,27 @@ var isConstructor$1 = !construct || fails$1(function () {
|
|
|
2571
2563
|
var isConstructor = isConstructor$1;
|
|
2572
2564
|
var tryToString$2 = tryToString$4;
|
|
2573
2565
|
|
|
2574
|
-
var $TypeError$
|
|
2566
|
+
var $TypeError$5 = TypeError;
|
|
2575
2567
|
|
|
2576
2568
|
// `Assert: IsConstructor(argument) is true`
|
|
2577
2569
|
var aConstructor$1 = function (argument) {
|
|
2578
2570
|
if (isConstructor(argument)) return argument;
|
|
2579
|
-
throw new $TypeError$
|
|
2571
|
+
throw new $TypeError$5(tryToString$2(argument) + ' is not a constructor');
|
|
2580
2572
|
};
|
|
2581
2573
|
|
|
2582
|
-
var anObject$
|
|
2574
|
+
var anObject$7 = anObject$g;
|
|
2583
2575
|
var aConstructor = aConstructor$1;
|
|
2584
2576
|
var isNullOrUndefined$1 = isNullOrUndefined$6;
|
|
2585
|
-
var wellKnownSymbol$
|
|
2577
|
+
var wellKnownSymbol$6 = wellKnownSymbol$h;
|
|
2586
2578
|
|
|
2587
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
2579
|
+
var SPECIES$1 = wellKnownSymbol$6('species');
|
|
2588
2580
|
|
|
2589
2581
|
// `SpeciesConstructor` abstract operation
|
|
2590
2582
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
2591
2583
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
2592
|
-
var C = anObject$
|
|
2584
|
+
var C = anObject$7(O).constructor;
|
|
2593
2585
|
var S;
|
|
2594
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
2586
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$7(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
|
|
2595
2587
|
};
|
|
2596
2588
|
|
|
2597
2589
|
var classofRaw = classofRaw$2;
|
|
@@ -2605,14 +2597,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2605
2597
|
};
|
|
2606
2598
|
|
|
2607
2599
|
var uncurryThis$1 = functionUncurryThisClause;
|
|
2608
|
-
var aCallable$
|
|
2600
|
+
var aCallable$7 = aCallable$a;
|
|
2609
2601
|
var NATIVE_BIND = functionBindNative;
|
|
2610
2602
|
|
|
2611
2603
|
var bind$4 = uncurryThis$1(uncurryThis$1.bind);
|
|
2612
2604
|
|
|
2613
2605
|
// optional / simple context binding
|
|
2614
2606
|
var functionBindContext = function (fn, that) {
|
|
2615
|
-
aCallable$
|
|
2607
|
+
aCallable$7(fn);
|
|
2616
2608
|
return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
|
|
2617
2609
|
return fn.apply(that, arguments);
|
|
2618
2610
|
};
|
|
@@ -2622,10 +2614,10 @@ var uncurryThis = functionUncurryThis;
|
|
|
2622
2614
|
|
|
2623
2615
|
var arraySlice$1 = uncurryThis([].slice);
|
|
2624
2616
|
|
|
2625
|
-
var $TypeError$
|
|
2617
|
+
var $TypeError$4 = TypeError;
|
|
2626
2618
|
|
|
2627
2619
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
2628
|
-
if (passed < required) throw new $TypeError$
|
|
2620
|
+
if (passed < required) throw new $TypeError$4('Not enough arguments');
|
|
2629
2621
|
return passed;
|
|
2630
2622
|
};
|
|
2631
2623
|
|
|
@@ -2634,12 +2626,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
2634
2626
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2635
2627
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
2636
2628
|
|
|
2637
|
-
var global$
|
|
2629
|
+
var global$8 = global$m;
|
|
2638
2630
|
var apply = functionApply;
|
|
2639
2631
|
var bind$3 = functionBindContext;
|
|
2640
|
-
var isCallable$
|
|
2641
|
-
var hasOwn = hasOwnProperty_1;
|
|
2642
|
-
var fails = fails$
|
|
2632
|
+
var isCallable$4 = isCallable$m;
|
|
2633
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2634
|
+
var fails$1 = fails$j;
|
|
2643
2635
|
var html = html$2;
|
|
2644
2636
|
var arraySlice = arraySlice$1;
|
|
2645
2637
|
var createElement = documentCreateElement$2;
|
|
@@ -2647,25 +2639,25 @@ var validateArgumentsLength = validateArgumentsLength$1;
|
|
|
2647
2639
|
var IS_IOS$1 = engineIsIos;
|
|
2648
2640
|
var IS_NODE$3 = engineIsNode;
|
|
2649
2641
|
|
|
2650
|
-
var set = global$
|
|
2651
|
-
var clear = global$
|
|
2652
|
-
var process$3 = global$
|
|
2653
|
-
var Dispatch = global$
|
|
2654
|
-
var Function$1 = global$
|
|
2655
|
-
var MessageChannel = global$
|
|
2656
|
-
var String$1 = global$
|
|
2642
|
+
var set = global$8.setImmediate;
|
|
2643
|
+
var clear = global$8.clearImmediate;
|
|
2644
|
+
var process$3 = global$8.process;
|
|
2645
|
+
var Dispatch = global$8.Dispatch;
|
|
2646
|
+
var Function$1 = global$8.Function;
|
|
2647
|
+
var MessageChannel = global$8.MessageChannel;
|
|
2648
|
+
var String$1 = global$8.String;
|
|
2657
2649
|
var counter = 0;
|
|
2658
2650
|
var queue$2 = {};
|
|
2659
2651
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2660
2652
|
var $location, defer, channel, port;
|
|
2661
2653
|
|
|
2662
|
-
fails(function () {
|
|
2654
|
+
fails$1(function () {
|
|
2663
2655
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2664
|
-
$location = global$
|
|
2656
|
+
$location = global$8.location;
|
|
2665
2657
|
});
|
|
2666
2658
|
|
|
2667
2659
|
var run = function (id) {
|
|
2668
|
-
if (hasOwn(queue$2, id)) {
|
|
2660
|
+
if (hasOwn$1(queue$2, id)) {
|
|
2669
2661
|
var fn = queue$2[id];
|
|
2670
2662
|
delete queue$2[id];
|
|
2671
2663
|
fn();
|
|
@@ -2684,14 +2676,14 @@ var eventListener = function (event) {
|
|
|
2684
2676
|
|
|
2685
2677
|
var globalPostMessageDefer = function (id) {
|
|
2686
2678
|
// old engines have not location.origin
|
|
2687
|
-
global$
|
|
2679
|
+
global$8.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
2688
2680
|
};
|
|
2689
2681
|
|
|
2690
2682
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
2691
2683
|
if (!set || !clear) {
|
|
2692
2684
|
set = function setImmediate(handler) {
|
|
2693
2685
|
validateArgumentsLength(arguments.length, 1);
|
|
2694
|
-
var fn = isCallable$
|
|
2686
|
+
var fn = isCallable$4(handler) ? handler : Function$1(handler);
|
|
2695
2687
|
var args = arraySlice(arguments, 1);
|
|
2696
2688
|
queue$2[++counter] = function () {
|
|
2697
2689
|
apply(fn, undefined, args);
|
|
@@ -2722,14 +2714,14 @@ if (!set || !clear) {
|
|
|
2722
2714
|
// Browsers with postMessage, skip WebWorkers
|
|
2723
2715
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2724
2716
|
} else if (
|
|
2725
|
-
global$
|
|
2726
|
-
isCallable$
|
|
2727
|
-
!global$
|
|
2717
|
+
global$8.addEventListener &&
|
|
2718
|
+
isCallable$4(global$8.postMessage) &&
|
|
2719
|
+
!global$8.importScripts &&
|
|
2728
2720
|
$location && $location.protocol !== 'file:' &&
|
|
2729
|
-
!fails(globalPostMessageDefer)
|
|
2721
|
+
!fails$1(globalPostMessageDefer)
|
|
2730
2722
|
) {
|
|
2731
2723
|
defer = globalPostMessageDefer;
|
|
2732
|
-
global$
|
|
2724
|
+
global$8.addEventListener('message', eventListener, false);
|
|
2733
2725
|
// IE8-
|
|
2734
2726
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
2735
2727
|
defer = function (id) {
|
|
@@ -2747,20 +2739,18 @@ if (!set || !clear) {
|
|
|
2747
2739
|
}
|
|
2748
2740
|
|
|
2749
2741
|
var task$1 = {
|
|
2750
|
-
set: set
|
|
2751
|
-
clear: clear
|
|
2752
|
-
};
|
|
2742
|
+
set: set};
|
|
2753
2743
|
|
|
2754
|
-
var global$
|
|
2755
|
-
var DESCRIPTORS = descriptors;
|
|
2744
|
+
var global$7 = global$m;
|
|
2745
|
+
var DESCRIPTORS$2 = descriptors;
|
|
2756
2746
|
|
|
2757
2747
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2758
2748
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2759
2749
|
|
|
2760
2750
|
// Avoid NodeJS experimental warning
|
|
2761
2751
|
var safeGetBuiltIn$1 = function (name) {
|
|
2762
|
-
if (!DESCRIPTORS) return global$
|
|
2763
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
2752
|
+
if (!DESCRIPTORS$2) return global$7[name];
|
|
2753
|
+
var descriptor = getOwnPropertyDescriptor(global$7, name);
|
|
2764
2754
|
return descriptor && descriptor.value;
|
|
2765
2755
|
};
|
|
2766
2756
|
|
|
@@ -2797,7 +2787,7 @@ var userAgent = engineUserAgent;
|
|
|
2797
2787
|
|
|
2798
2788
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
2799
2789
|
|
|
2800
|
-
var global$
|
|
2790
|
+
var global$6 = global$m;
|
|
2801
2791
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
2802
2792
|
var bind$2 = functionBindContext;
|
|
2803
2793
|
var macrotask = task$1.set;
|
|
@@ -2807,10 +2797,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
2807
2797
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
2808
2798
|
var IS_NODE$2 = engineIsNode;
|
|
2809
2799
|
|
|
2810
|
-
var MutationObserver = global$
|
|
2811
|
-
var document$2 = global$
|
|
2812
|
-
var process$2 = global$
|
|
2813
|
-
var Promise$1 = global$
|
|
2800
|
+
var MutationObserver = global$6.MutationObserver || global$6.WebKitMutationObserver;
|
|
2801
|
+
var document$2 = global$6.document;
|
|
2802
|
+
var process$2 = global$6.process;
|
|
2803
|
+
var Promise$1 = global$6.Promise;
|
|
2814
2804
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
2815
2805
|
var notify$1, toggle, node, promise, then;
|
|
2816
2806
|
|
|
@@ -2862,7 +2852,7 @@ if (!microtask$1) {
|
|
|
2862
2852
|
// - setTimeout
|
|
2863
2853
|
} else {
|
|
2864
2854
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
2865
|
-
macrotask = bind$2(macrotask, global$
|
|
2855
|
+
macrotask = bind$2(macrotask, global$6);
|
|
2866
2856
|
notify$1 = function () {
|
|
2867
2857
|
macrotask(flush);
|
|
2868
2858
|
};
|
|
@@ -2891,9 +2881,9 @@ var perform$3 = function (exec) {
|
|
|
2891
2881
|
}
|
|
2892
2882
|
};
|
|
2893
2883
|
|
|
2894
|
-
var global$
|
|
2884
|
+
var global$5 = global$m;
|
|
2895
2885
|
|
|
2896
|
-
var promiseNativeConstructor = global$
|
|
2886
|
+
var promiseNativeConstructor = global$5.Promise;
|
|
2897
2887
|
|
|
2898
2888
|
/* global Deno -- Deno case */
|
|
2899
2889
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
@@ -2905,20 +2895,20 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
2905
2895
|
&& typeof window == 'object'
|
|
2906
2896
|
&& typeof document == 'object';
|
|
2907
2897
|
|
|
2908
|
-
var global$
|
|
2898
|
+
var global$4 = global$m;
|
|
2909
2899
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
2910
|
-
var isCallable$
|
|
2900
|
+
var isCallable$3 = isCallable$m;
|
|
2911
2901
|
var isForced = isForced_1;
|
|
2912
2902
|
var inspectSource = inspectSource$3;
|
|
2913
|
-
var wellKnownSymbol$
|
|
2903
|
+
var wellKnownSymbol$5 = wellKnownSymbol$h;
|
|
2914
2904
|
var IS_BROWSER = engineIsBrowser;
|
|
2915
2905
|
var IS_DENO = engineIsDeno;
|
|
2916
2906
|
var V8_VERSION = engineV8Version;
|
|
2917
2907
|
|
|
2918
2908
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
2919
|
-
var SPECIES = wellKnownSymbol$
|
|
2909
|
+
var SPECIES = wellKnownSymbol$5('species');
|
|
2920
2910
|
var SUBCLASSING = false;
|
|
2921
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
2911
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$3(global$4.PromiseRejectionEvent);
|
|
2922
2912
|
|
|
2923
2913
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
2924
2914
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2952,19 +2942,19 @@ var promiseConstructorDetection = {
|
|
|
2952
2942
|
|
|
2953
2943
|
var newPromiseCapability$2 = {};
|
|
2954
2944
|
|
|
2955
|
-
var aCallable$
|
|
2945
|
+
var aCallable$6 = aCallable$a;
|
|
2956
2946
|
|
|
2957
|
-
var $TypeError$
|
|
2947
|
+
var $TypeError$3 = TypeError;
|
|
2958
2948
|
|
|
2959
2949
|
var PromiseCapability = function (C) {
|
|
2960
2950
|
var resolve, reject;
|
|
2961
2951
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
2962
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
2952
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$3('Bad Promise constructor');
|
|
2963
2953
|
resolve = $$resolve;
|
|
2964
2954
|
reject = $$reject;
|
|
2965
2955
|
});
|
|
2966
|
-
this.resolve = aCallable$
|
|
2967
|
-
this.reject = aCallable$
|
|
2956
|
+
this.resolve = aCallable$6(resolve);
|
|
2957
|
+
this.reject = aCallable$6(reject);
|
|
2968
2958
|
};
|
|
2969
2959
|
|
|
2970
2960
|
// `NewPromiseCapability` abstract operation
|
|
@@ -2973,18 +2963,18 @@ newPromiseCapability$2.f = function (C) {
|
|
|
2973
2963
|
return new PromiseCapability(C);
|
|
2974
2964
|
};
|
|
2975
2965
|
|
|
2976
|
-
var $$
|
|
2966
|
+
var $$8 = _export;
|
|
2977
2967
|
var IS_NODE = engineIsNode;
|
|
2978
|
-
var global$
|
|
2968
|
+
var global$3 = global$m;
|
|
2979
2969
|
var call$5 = functionCall;
|
|
2980
2970
|
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
2981
2971
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2982
2972
|
var setToStringTag$1 = setToStringTag$4;
|
|
2983
2973
|
var setSpecies = setSpecies$1;
|
|
2984
|
-
var aCallable$
|
|
2985
|
-
var isCallable$
|
|
2974
|
+
var aCallable$5 = aCallable$a;
|
|
2975
|
+
var isCallable$2 = isCallable$m;
|
|
2986
2976
|
var isObject$1 = isObject$a;
|
|
2987
|
-
var anInstance = anInstance$
|
|
2977
|
+
var anInstance$1 = anInstance$2;
|
|
2988
2978
|
var speciesConstructor = speciesConstructor$1;
|
|
2989
2979
|
var task = task$1.set;
|
|
2990
2980
|
var microtask = microtask_1;
|
|
@@ -3005,13 +2995,13 @@ var setInternalState = InternalStateModule.set;
|
|
|
3005
2995
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
3006
2996
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
3007
2997
|
var PromisePrototype = NativePromisePrototype$1;
|
|
3008
|
-
var TypeError$1 = global$
|
|
3009
|
-
var document$1 = global$
|
|
3010
|
-
var process$1 = global$
|
|
2998
|
+
var TypeError$1 = global$3.TypeError;
|
|
2999
|
+
var document$1 = global$3.document;
|
|
3000
|
+
var process$1 = global$3.process;
|
|
3011
3001
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
3012
3002
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
3013
3003
|
|
|
3014
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
3004
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$3.dispatchEvent);
|
|
3015
3005
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
3016
3006
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
3017
3007
|
var PENDING = 0;
|
|
@@ -3025,7 +3015,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
3025
3015
|
// helpers
|
|
3026
3016
|
var isThenable = function (it) {
|
|
3027
3017
|
var then;
|
|
3028
|
-
return isObject$1(it) && isCallable$
|
|
3018
|
+
return isObject$1(it) && isCallable$2(then = it.then) ? then : false;
|
|
3029
3019
|
};
|
|
3030
3020
|
|
|
3031
3021
|
var callReaction = function (reaction, state) {
|
|
@@ -3084,14 +3074,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
3084
3074
|
event.promise = promise;
|
|
3085
3075
|
event.reason = reason;
|
|
3086
3076
|
event.initEvent(name, false, true);
|
|
3087
|
-
global$
|
|
3077
|
+
global$3.dispatchEvent(event);
|
|
3088
3078
|
} else event = { promise: promise, reason: reason };
|
|
3089
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
3079
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$3['on' + name])) handler(event);
|
|
3090
3080
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
3091
3081
|
};
|
|
3092
3082
|
|
|
3093
3083
|
var onUnhandled = function (state) {
|
|
3094
|
-
call$5(task, global$
|
|
3084
|
+
call$5(task, global$3, function () {
|
|
3095
3085
|
var promise = state.facade;
|
|
3096
3086
|
var value = state.value;
|
|
3097
3087
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -3114,7 +3104,7 @@ var isUnhandled = function (state) {
|
|
|
3114
3104
|
};
|
|
3115
3105
|
|
|
3116
3106
|
var onHandleUnhandled = function (state) {
|
|
3117
|
-
call$5(task, global$
|
|
3107
|
+
call$5(task, global$3, function () {
|
|
3118
3108
|
var promise = state.facade;
|
|
3119
3109
|
if (IS_NODE) {
|
|
3120
3110
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -3170,8 +3160,8 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
3170
3160
|
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
3171
3161
|
// 25.4.3.1 Promise(executor)
|
|
3172
3162
|
PromiseConstructor = function Promise(executor) {
|
|
3173
|
-
anInstance(this, PromisePrototype);
|
|
3174
|
-
aCallable$
|
|
3163
|
+
anInstance$1(this, PromisePrototype);
|
|
3164
|
+
aCallable$5(executor);
|
|
3175
3165
|
call$5(Internal, this);
|
|
3176
3166
|
var state = getInternalPromiseState(this);
|
|
3177
3167
|
try {
|
|
@@ -3203,8 +3193,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3203
3193
|
var state = getInternalPromiseState(this);
|
|
3204
3194
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
3205
3195
|
state.parent = true;
|
|
3206
|
-
reaction.ok = isCallable$
|
|
3207
|
-
reaction.fail = isCallable$
|
|
3196
|
+
reaction.ok = isCallable$2(onFulfilled) ? onFulfilled : true;
|
|
3197
|
+
reaction.fail = isCallable$2(onRejected) && onRejected;
|
|
3208
3198
|
reaction.domain = IS_NODE ? process$1.domain : undefined;
|
|
3209
3199
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
3210
3200
|
else microtask(function () {
|
|
@@ -3227,7 +3217,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3227
3217
|
: newGenericPromiseCapability(C);
|
|
3228
3218
|
};
|
|
3229
3219
|
|
|
3230
|
-
if (isCallable$
|
|
3220
|
+
if (isCallable$2(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
3231
3221
|
nativeThen = NativePromisePrototype$1.then;
|
|
3232
3222
|
|
|
3233
3223
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
@@ -3253,59 +3243,59 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3253
3243
|
}
|
|
3254
3244
|
}
|
|
3255
3245
|
|
|
3256
|
-
$$
|
|
3246
|
+
$$8({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
3257
3247
|
Promise: PromiseConstructor
|
|
3258
3248
|
});
|
|
3259
3249
|
|
|
3260
3250
|
setToStringTag$1(PromiseConstructor, PROMISE, false);
|
|
3261
3251
|
setSpecies(PROMISE);
|
|
3262
3252
|
|
|
3263
|
-
var wellKnownSymbol$
|
|
3253
|
+
var wellKnownSymbol$4 = wellKnownSymbol$h;
|
|
3264
3254
|
var Iterators$1 = iterators;
|
|
3265
3255
|
|
|
3266
|
-
var ITERATOR$
|
|
3256
|
+
var ITERATOR$4 = wellKnownSymbol$4('iterator');
|
|
3267
3257
|
var ArrayPrototype = Array.prototype;
|
|
3268
3258
|
|
|
3269
3259
|
// check on default Array iterator
|
|
3270
3260
|
var isArrayIteratorMethod$1 = function (it) {
|
|
3271
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$
|
|
3261
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$4] === it);
|
|
3272
3262
|
};
|
|
3273
3263
|
|
|
3274
3264
|
var classof = classof$5;
|
|
3275
3265
|
var getMethod$1 = getMethod$5;
|
|
3276
3266
|
var isNullOrUndefined = isNullOrUndefined$6;
|
|
3277
3267
|
var Iterators = iterators;
|
|
3278
|
-
var wellKnownSymbol$
|
|
3268
|
+
var wellKnownSymbol$3 = wellKnownSymbol$h;
|
|
3279
3269
|
|
|
3280
|
-
var ITERATOR$
|
|
3270
|
+
var ITERATOR$3 = wellKnownSymbol$3('iterator');
|
|
3281
3271
|
|
|
3282
3272
|
var getIteratorMethod$2 = function (it) {
|
|
3283
|
-
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$
|
|
3273
|
+
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$3)
|
|
3284
3274
|
|| getMethod$1(it, '@@iterator')
|
|
3285
3275
|
|| Iterators[classof(it)];
|
|
3286
3276
|
};
|
|
3287
3277
|
|
|
3288
3278
|
var call$4 = functionCall;
|
|
3289
|
-
var aCallable$
|
|
3290
|
-
var anObject$
|
|
3279
|
+
var aCallable$4 = aCallable$a;
|
|
3280
|
+
var anObject$6 = anObject$g;
|
|
3291
3281
|
var tryToString$1 = tryToString$4;
|
|
3292
3282
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3293
3283
|
|
|
3294
|
-
var $TypeError$
|
|
3284
|
+
var $TypeError$2 = TypeError;
|
|
3295
3285
|
|
|
3296
3286
|
var getIterator$1 = function (argument, usingIterator) {
|
|
3297
3287
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3298
|
-
if (aCallable$
|
|
3299
|
-
throw new $TypeError$
|
|
3288
|
+
if (aCallable$4(iteratorMethod)) return anObject$6(call$4(iteratorMethod, argument));
|
|
3289
|
+
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
3300
3290
|
};
|
|
3301
3291
|
|
|
3302
3292
|
var call$3 = functionCall;
|
|
3303
|
-
var anObject$
|
|
3293
|
+
var anObject$5 = anObject$g;
|
|
3304
3294
|
var getMethod = getMethod$5;
|
|
3305
3295
|
|
|
3306
3296
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
3307
3297
|
var innerResult, innerError;
|
|
3308
|
-
anObject$
|
|
3298
|
+
anObject$5(iterator);
|
|
3309
3299
|
try {
|
|
3310
3300
|
innerResult = getMethod(iterator, 'return');
|
|
3311
3301
|
if (!innerResult) {
|
|
@@ -3319,13 +3309,13 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
3319
3309
|
}
|
|
3320
3310
|
if (kind === 'throw') throw value;
|
|
3321
3311
|
if (innerError) throw innerResult;
|
|
3322
|
-
anObject$
|
|
3312
|
+
anObject$5(innerResult);
|
|
3323
3313
|
return value;
|
|
3324
3314
|
};
|
|
3325
3315
|
|
|
3326
3316
|
var bind = functionBindContext;
|
|
3327
3317
|
var call$2 = functionCall;
|
|
3328
|
-
var anObject$
|
|
3318
|
+
var anObject$4 = anObject$g;
|
|
3329
3319
|
var tryToString = tryToString$4;
|
|
3330
3320
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3331
3321
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
@@ -3334,7 +3324,7 @@ var getIterator = getIterator$1;
|
|
|
3334
3324
|
var getIteratorMethod = getIteratorMethod$2;
|
|
3335
3325
|
var iteratorClose = iteratorClose$1;
|
|
3336
3326
|
|
|
3337
|
-
var $TypeError = TypeError;
|
|
3327
|
+
var $TypeError$1 = TypeError;
|
|
3338
3328
|
|
|
3339
3329
|
var Result = function (stopped, result) {
|
|
3340
3330
|
this.stopped = stopped;
|
|
@@ -3343,7 +3333,7 @@ var Result = function (stopped, result) {
|
|
|
3343
3333
|
|
|
3344
3334
|
var ResultPrototype = Result.prototype;
|
|
3345
3335
|
|
|
3346
|
-
var iterate$
|
|
3336
|
+
var iterate$4 = function (iterable, unboundFunction, options) {
|
|
3347
3337
|
var that = options && options.that;
|
|
3348
3338
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3349
3339
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -3359,7 +3349,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3359
3349
|
|
|
3360
3350
|
var callFn = function (value) {
|
|
3361
3351
|
if (AS_ENTRIES) {
|
|
3362
|
-
anObject$
|
|
3352
|
+
anObject$4(value);
|
|
3363
3353
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3364
3354
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3365
3355
|
};
|
|
@@ -3370,7 +3360,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3370
3360
|
iterator = iterable;
|
|
3371
3361
|
} else {
|
|
3372
3362
|
iterFn = getIteratorMethod(iterable);
|
|
3373
|
-
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3363
|
+
if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
3374
3364
|
// optimisation for array iterators
|
|
3375
3365
|
if (isArrayIteratorMethod(iterFn)) {
|
|
3376
3366
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -3392,9 +3382,9 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3392
3382
|
} return new Result(false);
|
|
3393
3383
|
};
|
|
3394
3384
|
|
|
3395
|
-
var wellKnownSymbol$
|
|
3385
|
+
var wellKnownSymbol$2 = wellKnownSymbol$h;
|
|
3396
3386
|
|
|
3397
|
-
var ITERATOR$
|
|
3387
|
+
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
3398
3388
|
var SAFE_CLOSING = false;
|
|
3399
3389
|
|
|
3400
3390
|
try {
|
|
@@ -3407,7 +3397,7 @@ try {
|
|
|
3407
3397
|
SAFE_CLOSING = true;
|
|
3408
3398
|
}
|
|
3409
3399
|
};
|
|
3410
|
-
iteratorWithReturn[ITERATOR$
|
|
3400
|
+
iteratorWithReturn[ITERATOR$2] = function () {
|
|
3411
3401
|
return this;
|
|
3412
3402
|
};
|
|
3413
3403
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -3421,7 +3411,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
3421
3411
|
var ITERATION_SUPPORT = false;
|
|
3422
3412
|
try {
|
|
3423
3413
|
var object = {};
|
|
3424
|
-
object[ITERATOR$
|
|
3414
|
+
object[ITERATOR$2] = function () {
|
|
3425
3415
|
return {
|
|
3426
3416
|
next: function () {
|
|
3427
3417
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -3441,28 +3431,28 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3441
3431
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
3442
3432
|
});
|
|
3443
3433
|
|
|
3444
|
-
var $$
|
|
3434
|
+
var $$7 = _export;
|
|
3445
3435
|
var call$1 = functionCall;
|
|
3446
|
-
var aCallable$
|
|
3436
|
+
var aCallable$3 = aCallable$a;
|
|
3447
3437
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3448
3438
|
var perform$1 = perform$3;
|
|
3449
|
-
var iterate$
|
|
3439
|
+
var iterate$3 = iterate$4;
|
|
3450
3440
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
3451
3441
|
|
|
3452
3442
|
// `Promise.all` method
|
|
3453
3443
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3454
|
-
$$
|
|
3444
|
+
$$7({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
3455
3445
|
all: function all(iterable) {
|
|
3456
3446
|
var C = this;
|
|
3457
3447
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
3458
3448
|
var resolve = capability.resolve;
|
|
3459
3449
|
var reject = capability.reject;
|
|
3460
3450
|
var result = perform$1(function () {
|
|
3461
|
-
var $promiseResolve = aCallable$
|
|
3451
|
+
var $promiseResolve = aCallable$3(C.resolve);
|
|
3462
3452
|
var values = [];
|
|
3463
3453
|
var counter = 0;
|
|
3464
3454
|
var remaining = 1;
|
|
3465
|
-
iterate$
|
|
3455
|
+
iterate$3(iterable, function (promise) {
|
|
3466
3456
|
var index = counter++;
|
|
3467
3457
|
var alreadyCalled = false;
|
|
3468
3458
|
remaining++;
|
|
@@ -3480,49 +3470,49 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3480
3470
|
}
|
|
3481
3471
|
});
|
|
3482
3472
|
|
|
3483
|
-
var $$
|
|
3473
|
+
var $$6 = _export;
|
|
3484
3474
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3485
3475
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3486
3476
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
3487
|
-
var isCallable = isCallable$
|
|
3477
|
+
var isCallable$1 = isCallable$m;
|
|
3488
3478
|
var defineBuiltIn = defineBuiltIn$6;
|
|
3489
3479
|
|
|
3490
3480
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
3491
3481
|
|
|
3492
3482
|
// `Promise.prototype.catch` method
|
|
3493
3483
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
3494
|
-
$$
|
|
3484
|
+
$$6({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
3495
3485
|
'catch': function (onRejected) {
|
|
3496
3486
|
return this.then(undefined, onRejected);
|
|
3497
3487
|
}
|
|
3498
3488
|
});
|
|
3499
3489
|
|
|
3500
3490
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
3501
|
-
if (isCallable(NativePromiseConstructor)) {
|
|
3491
|
+
if (isCallable$1(NativePromiseConstructor)) {
|
|
3502
3492
|
var method = getBuiltIn$1('Promise').prototype['catch'];
|
|
3503
3493
|
if (NativePromisePrototype['catch'] !== method) {
|
|
3504
3494
|
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
3505
3495
|
}
|
|
3506
3496
|
}
|
|
3507
3497
|
|
|
3508
|
-
var $$
|
|
3498
|
+
var $$5 = _export;
|
|
3509
3499
|
var call = functionCall;
|
|
3510
|
-
var aCallable = aCallable$
|
|
3500
|
+
var aCallable$2 = aCallable$a;
|
|
3511
3501
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3512
3502
|
var perform = perform$3;
|
|
3513
|
-
var iterate = iterate$
|
|
3503
|
+
var iterate$2 = iterate$4;
|
|
3514
3504
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
3515
3505
|
|
|
3516
3506
|
// `Promise.race` method
|
|
3517
3507
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
3518
|
-
$$
|
|
3508
|
+
$$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
3519
3509
|
race: function race(iterable) {
|
|
3520
3510
|
var C = this;
|
|
3521
3511
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
3522
3512
|
var reject = capability.reject;
|
|
3523
3513
|
var result = perform(function () {
|
|
3524
|
-
var $promiseResolve = aCallable(C.resolve);
|
|
3525
|
-
iterate(iterable, function (promise) {
|
|
3514
|
+
var $promiseResolve = aCallable$2(C.resolve);
|
|
3515
|
+
iterate$2(iterable, function (promise) {
|
|
3526
3516
|
call($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
3527
3517
|
});
|
|
3528
3518
|
});
|
|
@@ -3531,13 +3521,13 @@ $$2({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3531
3521
|
}
|
|
3532
3522
|
});
|
|
3533
3523
|
|
|
3534
|
-
var $$
|
|
3524
|
+
var $$4 = _export;
|
|
3535
3525
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3536
3526
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3537
3527
|
|
|
3538
3528
|
// `Promise.reject` method
|
|
3539
3529
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3540
|
-
$$
|
|
3530
|
+
$$4({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
3541
3531
|
reject: function reject(r) {
|
|
3542
3532
|
var capability = newPromiseCapabilityModule.f(this);
|
|
3543
3533
|
var capabilityReject = capability.reject;
|
|
@@ -3546,12 +3536,12 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
3546
3536
|
}
|
|
3547
3537
|
});
|
|
3548
3538
|
|
|
3549
|
-
var anObject = anObject$
|
|
3539
|
+
var anObject$3 = anObject$g;
|
|
3550
3540
|
var isObject = isObject$a;
|
|
3551
3541
|
var newPromiseCapability = newPromiseCapability$2;
|
|
3552
3542
|
|
|
3553
3543
|
var promiseResolve$1 = function (C, x) {
|
|
3554
|
-
anObject(C);
|
|
3544
|
+
anObject$3(C);
|
|
3555
3545
|
if (isObject(x) && x.constructor === C) return x;
|
|
3556
3546
|
var promiseCapability = newPromiseCapability.f(C);
|
|
3557
3547
|
var resolve = promiseCapability.resolve;
|
|
@@ -3559,7 +3549,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
3559
3549
|
return promiseCapability.promise;
|
|
3560
3550
|
};
|
|
3561
3551
|
|
|
3562
|
-
var
|
|
3552
|
+
var $$3 = _export;
|
|
3563
3553
|
var getBuiltIn = getBuiltIn$7;
|
|
3564
3554
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3565
3555
|
var promiseResolve = promiseResolve$1;
|
|
@@ -3568,12 +3558,114 @@ getBuiltIn('Promise');
|
|
|
3568
3558
|
|
|
3569
3559
|
// `Promise.resolve` method
|
|
3570
3560
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3571
|
-
|
|
3561
|
+
$$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
3572
3562
|
resolve: function resolve(x) {
|
|
3573
3563
|
return promiseResolve(this, x);
|
|
3574
3564
|
}
|
|
3575
3565
|
});
|
|
3576
3566
|
|
|
3567
|
+
var DESCRIPTORS$1 = descriptors;
|
|
3568
|
+
var definePropertyModule = objectDefineProperty;
|
|
3569
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
3570
|
+
|
|
3571
|
+
var createProperty$1 = function (object, key, value) {
|
|
3572
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
3573
|
+
else object[key] = value;
|
|
3574
|
+
};
|
|
3575
|
+
|
|
3576
|
+
var $$2 = _export;
|
|
3577
|
+
var global$2 = global$m;
|
|
3578
|
+
var anInstance = anInstance$2;
|
|
3579
|
+
var anObject$2 = anObject$g;
|
|
3580
|
+
var isCallable = isCallable$m;
|
|
3581
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
3582
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
3583
|
+
var createProperty = createProperty$1;
|
|
3584
|
+
var fails = fails$j;
|
|
3585
|
+
var hasOwn = hasOwnProperty_1;
|
|
3586
|
+
var wellKnownSymbol$1 = wellKnownSymbol$h;
|
|
3587
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3588
|
+
var DESCRIPTORS = descriptors;
|
|
3589
|
+
|
|
3590
|
+
var CONSTRUCTOR = 'constructor';
|
|
3591
|
+
var ITERATOR$1 = 'Iterator';
|
|
3592
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
3593
|
+
|
|
3594
|
+
var $TypeError = TypeError;
|
|
3595
|
+
var NativeIterator = global$2[ITERATOR$1];
|
|
3596
|
+
|
|
3597
|
+
// FF56- have non-standard global helper `Iterator`
|
|
3598
|
+
var FORCED = !isCallable(NativeIterator)
|
|
3599
|
+
|| NativeIterator.prototype !== IteratorPrototype
|
|
3600
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
3601
|
+
|| !fails(function () { NativeIterator({}); });
|
|
3602
|
+
|
|
3603
|
+
var IteratorConstructor = function Iterator() {
|
|
3604
|
+
anInstance(this, IteratorPrototype);
|
|
3605
|
+
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
|
|
3606
|
+
};
|
|
3607
|
+
|
|
3608
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3609
|
+
if (DESCRIPTORS) {
|
|
3610
|
+
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
3611
|
+
configurable: true,
|
|
3612
|
+
get: function () {
|
|
3613
|
+
return value;
|
|
3614
|
+
},
|
|
3615
|
+
set: function (replacement) {
|
|
3616
|
+
anObject$2(this);
|
|
3617
|
+
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
|
|
3618
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
3619
|
+
else createProperty(this, key, replacement);
|
|
3620
|
+
}
|
|
3621
|
+
});
|
|
3622
|
+
} else IteratorPrototype[key] = value;
|
|
3623
|
+
};
|
|
3624
|
+
|
|
3625
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR$1);
|
|
3626
|
+
|
|
3627
|
+
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
3628
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
3629
|
+
}
|
|
3630
|
+
|
|
3631
|
+
IteratorConstructor.prototype = IteratorPrototype;
|
|
3632
|
+
|
|
3633
|
+
// `Iterator` constructor
|
|
3634
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3635
|
+
$$2({ global: true, constructor: true, forced: FORCED }, {
|
|
3636
|
+
Iterator: IteratorConstructor
|
|
3637
|
+
});
|
|
3638
|
+
|
|
3639
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
3640
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
3641
|
+
var getIteratorDirect$2 = function (obj) {
|
|
3642
|
+
return {
|
|
3643
|
+
iterator: obj,
|
|
3644
|
+
next: obj.next,
|
|
3645
|
+
done: false
|
|
3646
|
+
};
|
|
3647
|
+
};
|
|
3648
|
+
|
|
3649
|
+
var $$1 = _export;
|
|
3650
|
+
var iterate$1 = iterate$4;
|
|
3651
|
+
var aCallable$1 = aCallable$a;
|
|
3652
|
+
var anObject$1 = anObject$g;
|
|
3653
|
+
var getIteratorDirect$1 = getIteratorDirect$2;
|
|
3654
|
+
|
|
3655
|
+
// `Iterator.prototype.find` method
|
|
3656
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3657
|
+
$$1({ target: 'Iterator', proto: true, real: true }, {
|
|
3658
|
+
find: function find(predicate) {
|
|
3659
|
+
anObject$1(this);
|
|
3660
|
+
aCallable$1(predicate);
|
|
3661
|
+
var record = getIteratorDirect$1(this);
|
|
3662
|
+
var counter = 0;
|
|
3663
|
+
return iterate$1(record, function (value, stop) {
|
|
3664
|
+
if (predicate(value, counter++)) return stop(value);
|
|
3665
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
3666
|
+
}
|
|
3667
|
+
});
|
|
3668
|
+
|
|
3577
3669
|
// iterable DOM collections
|
|
3578
3670
|
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
3579
3671
|
var domIterables = {
|
|
@@ -3618,13 +3710,13 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
3618
3710
|
|
|
3619
3711
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
3620
3712
|
|
|
3621
|
-
var global$1 = global$
|
|
3713
|
+
var global$1 = global$m;
|
|
3622
3714
|
var DOMIterables = domIterables;
|
|
3623
3715
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3624
3716
|
var ArrayIteratorMethods = es_array_iterator;
|
|
3625
3717
|
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
3626
3718
|
var setToStringTag = setToStringTag$4;
|
|
3627
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
3719
|
+
var wellKnownSymbol = wellKnownSymbol$h;
|
|
3628
3720
|
|
|
3629
3721
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
3630
3722
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
@@ -3661,27 +3753,36 @@ const defaultErrorHandler = ({
|
|
|
3661
3753
|
graphQLErrors
|
|
3662
3754
|
}) => {
|
|
3663
3755
|
if (networkError && networkError.statusCode === 401) {
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
return window.location.replace('/account/login');
|
|
3667
|
-
}
|
|
3668
|
-
} else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
|
|
3669
|
-
if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
|
|
3670
|
-
return window.location.replace('/error?message=' + networkError.message);
|
|
3671
|
-
}
|
|
3756
|
+
redirectToLogin();
|
|
3757
|
+
return;
|
|
3672
3758
|
}
|
|
3673
|
-
if (graphQLErrors && graphQLErrors.
|
|
3674
|
-
|
|
3675
|
-
return ((_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a['code']) === 'FORBIDDEN';
|
|
3676
|
-
})) {
|
|
3677
|
-
const error = graphQLErrors.find(error => {
|
|
3759
|
+
if (graphQLErrors && graphQLErrors.length > 0) {
|
|
3760
|
+
const unauthenticatedError = graphQLErrors.find(error => {
|
|
3678
3761
|
var _a;
|
|
3679
|
-
return ((_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a['code']) === '
|
|
3762
|
+
return ((_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a['code']) === 'UNAUTHENTICATED';
|
|
3680
3763
|
});
|
|
3681
|
-
if (
|
|
3682
|
-
|
|
3764
|
+
if (unauthenticatedError) {
|
|
3765
|
+
redirectToLogin();
|
|
3766
|
+
return;
|
|
3683
3767
|
}
|
|
3684
3768
|
}
|
|
3769
|
+
if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
|
|
3770
|
+
if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
|
|
3771
|
+
return window.location.replace('/error?message=' + networkError.message);
|
|
3772
|
+
}
|
|
3773
|
+
}
|
|
3774
|
+
// TODO: Uncomment this and fix when we have a proper way to handle 403 errors, if needed
|
|
3775
|
+
// if (
|
|
3776
|
+
// graphQLErrors &&
|
|
3777
|
+
// graphQLErrors.find((error) => error?.extensions?.['code'] === 'FORBIDDEN')
|
|
3778
|
+
// ) {
|
|
3779
|
+
// const error = graphQLErrors.find(
|
|
3780
|
+
// (error) => error?.extensions?.['code'] === 'FORBIDDEN'
|
|
3781
|
+
// );
|
|
3782
|
+
// if (typeof window !== 'undefined' && window.location.pathname !== '/403') {
|
|
3783
|
+
// return window.location.replace('/403?message=' + error?.message);
|
|
3784
|
+
// }
|
|
3785
|
+
// }
|
|
3685
3786
|
};
|
|
3686
3787
|
// Overridable error handler
|
|
3687
3788
|
let currentErrorHandler = defaultErrorHandler;
|
|
@@ -3735,6 +3836,19 @@ function getUserContext() {
|
|
|
3735
3836
|
});
|
|
3736
3837
|
});
|
|
3737
3838
|
}
|
|
3839
|
+
const clearAuthData = () => {
|
|
3840
|
+
if (typeof window !== 'undefined') {
|
|
3841
|
+
window.localStorage.removeItem('token');
|
|
3842
|
+
window.localStorage.removeItem('ContextId');
|
|
3843
|
+
window.localStorage.removeItem('userInfo');
|
|
3844
|
+
}
|
|
3845
|
+
};
|
|
3846
|
+
const redirectToLogin = () => {
|
|
3847
|
+
if (typeof window !== 'undefined' && window.location.pathname !== '/account/login') {
|
|
3848
|
+
clearAuthData();
|
|
3849
|
+
window.location.href = '/account/login';
|
|
3850
|
+
}
|
|
3851
|
+
};
|
|
3738
3852
|
|
|
3739
3853
|
const {
|
|
3740
3854
|
networkInterface: uri$4
|
|
@@ -3774,11 +3888,11 @@ const errorLink$3 = onError(({
|
|
|
3774
3888
|
}
|
|
3775
3889
|
} else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
|
|
3776
3890
|
if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
|
|
3777
|
-
return window.location.replace('/
|
|
3891
|
+
return window.location.replace('/error?message=' + networkError.message);
|
|
3778
3892
|
}
|
|
3779
3893
|
} else {
|
|
3780
3894
|
if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
|
|
3781
|
-
return window.location.replace('/
|
|
3895
|
+
return window.location.replace('/error?message=Cannot connect to the server, please make sure you have an active internet connection');
|
|
3782
3896
|
}
|
|
3783
3897
|
}
|
|
3784
3898
|
});
|
|
@@ -3936,14 +4050,14 @@ const errorLink$2 = onError(handleHandler);
|
|
|
3936
4050
|
/* eslint-disable no-process-env */
|
|
3937
4051
|
const isDevEnv$3 = process.env['NODE_ENV'] !== 'production';
|
|
3938
4052
|
/* eslint-enable no-process-env */
|
|
3939
|
-
const link_dquery$
|
|
4053
|
+
const link_dquery$1 = createHttpLink({
|
|
3940
4054
|
uri: uri$3,
|
|
3941
4055
|
fetchOptions: {
|
|
3942
4056
|
mode: 'cors'
|
|
3943
4057
|
}
|
|
3944
4058
|
});
|
|
3945
4059
|
const dqueryClient = new ApolloClient({
|
|
3946
|
-
link: from([errorLink$2, link_dquery$
|
|
4060
|
+
link: from([errorLink$2, link_dquery$1]),
|
|
3947
4061
|
cache: cache$3,
|
|
3948
4062
|
connectToDevTools: isDevEnv$3,
|
|
3949
4063
|
queryDeduplication: true
|
|
@@ -3974,7 +4088,7 @@ let _$6 = t => t,
|
|
|
3974
4088
|
_t7$2,
|
|
3975
4089
|
_t8$2,
|
|
3976
4090
|
_t9$2,
|
|
3977
|
-
|
|
4091
|
+
_t0$1;
|
|
3978
4092
|
const showcaseContentsQuery = gql(_t$6 || (_t$6 = _$6`
|
|
3979
4093
|
query ($rootId: Int!, $path: String, $deep: Int!) {
|
|
3980
4094
|
contents(rootId: $rootId, deep: $deep, path: $path) {
|
|
@@ -4407,7 +4521,7 @@ const useTemplateSectionsThumbsMap = companyContextId => useQuery(showcaseTempla
|
|
|
4407
4521
|
companyContextId
|
|
4408
4522
|
}
|
|
4409
4523
|
});
|
|
4410
|
-
const showcaseContext = gql(
|
|
4524
|
+
const showcaseContext = gql(_t0$1 || (_t0$1 = _$6`
|
|
4411
4525
|
query ($domain: String!) {
|
|
4412
4526
|
contextId(domain: $domain)
|
|
4413
4527
|
}
|
|
@@ -5292,7 +5406,7 @@ let _$1 = t => t,
|
|
|
5292
5406
|
_t7,
|
|
5293
5407
|
_t8,
|
|
5294
5408
|
_t9,
|
|
5295
|
-
|
|
5409
|
+
_t0;
|
|
5296
5410
|
const showcaseConfigurationQuery = gql(_t$1 || (_t$1 = _$1`
|
|
5297
5411
|
query ($ContextId: Int) {
|
|
5298
5412
|
showcaseConfiguration(Key: "ShowcaseConfig", ContextId: $ContextId)
|
|
@@ -5583,7 +5697,7 @@ const useQueryUsage = AccountId => useQuery(queryUsage, {
|
|
|
5583
5697
|
AccountId
|
|
5584
5698
|
}
|
|
5585
5699
|
});
|
|
5586
|
-
const querySectionThumb = gql(
|
|
5700
|
+
const querySectionThumb = gql(_t0 || (_t0 = _$1`
|
|
5587
5701
|
query ($sectionId: Int!, $templateId: Int!, $templateContextId: Int!) {
|
|
5588
5702
|
querySectionThumb(
|
|
5589
5703
|
sectionId: $sectionId
|
|
@@ -5731,7 +5845,7 @@ const useDeleteFileMutation = () => useMutation(deleteFileMutation, {
|
|
|
5731
5845
|
client: dconfigClient
|
|
5732
5846
|
});
|
|
5733
5847
|
|
|
5734
|
-
function unfetch_module(e,n){return n=n||{},new Promise(function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return {ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e
|
|
5848
|
+
function unfetch_module(e,n){return n=n||{},new Promise(function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return {ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e,true),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+","+t:t;}),t(a());},s.onerror=r,s.withCredentials="include"==n.credentials,n.headers)s.setRequestHeader(l,n.headers[l]);s.send(n.body||null);})}
|
|
5735
5849
|
|
|
5736
5850
|
var unfetch_module$1 = /*#__PURE__*/Object.freeze({
|
|
5737
5851
|
__proto__: null,
|
|
@@ -86869,10 +86983,6 @@ function getNodeRequestOptions(request) {
|
|
|
86869
86983
|
agent = agent(parsedURL);
|
|
86870
86984
|
}
|
|
86871
86985
|
|
|
86872
|
-
if (!headers.has('Connection') && !agent) {
|
|
86873
|
-
headers.set('Connection', 'close');
|
|
86874
|
-
}
|
|
86875
|
-
|
|
86876
86986
|
// HTTP-network fetch step 4.2
|
|
86877
86987
|
// chunked encoding is handled by Node.js
|
|
86878
86988
|
|
|
@@ -87246,8 +87356,11 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|
|
87246
87356
|
|
|
87247
87357
|
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
|
|
87248
87358
|
response.once('close', function (hadError) {
|
|
87359
|
+
// tests for socket presence, as in some situations the
|
|
87360
|
+
// the 'socket' event is not triggered for the request
|
|
87361
|
+
// (happens in deno), avoids `TypeError`
|
|
87249
87362
|
// if a data listener is still present we didn't end cleanly
|
|
87250
|
-
const hasDataListener = socket.listenerCount('data') > 0;
|
|
87363
|
+
const hasDataListener = socket && socket.listenerCount('data') > 0;
|
|
87251
87364
|
|
|
87252
87365
|
if (hasDataListener && !hadError) {
|
|
87253
87366
|
const err = new Error('Premature close');
|
|
@@ -87284,6 +87397,7 @@ fetch$1.Promise = global.Promise;
|
|
|
87284
87397
|
|
|
87285
87398
|
var lib = /*#__PURE__*/Object.freeze({
|
|
87286
87399
|
__proto__: null,
|
|
87400
|
+
AbortError: AbortError,
|
|
87287
87401
|
FetchError: FetchError,
|
|
87288
87402
|
Headers: Headers,
|
|
87289
87403
|
Request: Request,
|
|
@@ -87326,14 +87440,31 @@ const errorLink$1 = onError(handleHandler);
|
|
|
87326
87440
|
/* eslint-disable no-process-env */
|
|
87327
87441
|
const isDevEnv$1 = process.env['NODE_ENV'] !== 'production';
|
|
87328
87442
|
/* eslint-enable no-process-env */
|
|
87329
|
-
const
|
|
87443
|
+
const httpLink = createHttpLink({
|
|
87330
87444
|
uri: `${uri$1}/gq`,
|
|
87331
87445
|
fetchOptions: {
|
|
87332
87446
|
mode: 'cors'
|
|
87333
87447
|
}
|
|
87334
87448
|
});
|
|
87449
|
+
const batchLink = new BatchHttpLink({
|
|
87450
|
+
uri: `${uri$1}/gq`,
|
|
87451
|
+
batchMax: 5,
|
|
87452
|
+
// Max number of operations in a single batch
|
|
87453
|
+
batchInterval: 200,
|
|
87454
|
+
// Time in ms to wait for operations to accumulate
|
|
87455
|
+
fetchOptions: {
|
|
87456
|
+
mode: 'cors'
|
|
87457
|
+
}
|
|
87458
|
+
});
|
|
87459
|
+
// use batch link for queries and http link for mutations
|
|
87460
|
+
const splitLink = split$1(({
|
|
87461
|
+
query
|
|
87462
|
+
}) => {
|
|
87463
|
+
const definition = getMainDefinition(query);
|
|
87464
|
+
return definition.kind === 'OperationDefinition' && definition.operation === 'query';
|
|
87465
|
+
}, batchLink, httpLink);
|
|
87335
87466
|
const coreClient = new ApolloClient({
|
|
87336
|
-
link: from([authLink$1, errorLink$1,
|
|
87467
|
+
link: from([authLink$1, errorLink$1, splitLink]),
|
|
87337
87468
|
cache: cache$1,
|
|
87338
87469
|
connectToDevTools: isDevEnv$1,
|
|
87339
87470
|
queryDeduplication: true
|
|
@@ -87361,6 +87492,26 @@ const botClient = new ApolloClient({
|
|
|
87361
87492
|
queryDeduplication: true
|
|
87362
87493
|
});
|
|
87363
87494
|
|
|
87495
|
+
var $ = _export;
|
|
87496
|
+
var iterate = iterate$4;
|
|
87497
|
+
var aCallable = aCallable$a;
|
|
87498
|
+
var anObject = anObject$g;
|
|
87499
|
+
var getIteratorDirect = getIteratorDirect$2;
|
|
87500
|
+
|
|
87501
|
+
// `Iterator.prototype.forEach` method
|
|
87502
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
87503
|
+
$({ target: 'Iterator', proto: true, real: true }, {
|
|
87504
|
+
forEach: function forEach(fn) {
|
|
87505
|
+
anObject(this);
|
|
87506
|
+
aCallable(fn);
|
|
87507
|
+
var record = getIteratorDirect(this);
|
|
87508
|
+
var counter = 0;
|
|
87509
|
+
iterate(record, function (value) {
|
|
87510
|
+
fn(value, counter++);
|
|
87511
|
+
}, { IS_RECORD: true });
|
|
87512
|
+
}
|
|
87513
|
+
});
|
|
87514
|
+
|
|
87364
87515
|
class ModelUtilities {
|
|
87365
87516
|
static ConvertModelsListToFieldsMap(models) {
|
|
87366
87517
|
const fieldsMap = new Map();
|
|
@@ -87395,4 +87546,4 @@ var ModelFieldsTypes;
|
|
|
87395
87546
|
ModelFieldsTypes["JSON"] = "JSON";
|
|
87396
87547
|
})(ModelFieldsTypes || (ModelFieldsTypes = {}));
|
|
87397
87548
|
|
|
87398
|
-
export { CreateCheckoutSessionUri, CreatePortalSessionUri, ModelFieldsTypes, ModelUtilities, VALIDATE_COMPANY_NAME, addDomain, addDomainOptions, apiBackend, apiV2Backend, appConfig, botClient, companyUsersQuery, contentInstancesQuery, coreClient, createCompany, createContentInstanceMutation, createContentInstanceMutationOptions, createContentMutation, createContentMutationOptions, createFileMutation, createFolderMutation, dconfigClient, deleteFileMutation, deleteFolderMutation, dqueryClient, filesQuery, foldersTreeQuery, forgetPassword, forgetPasswordOptions, frontend, getErrorHandler, inviteUser, inviteUserOptions, login, loginOptions, menuConfigurationQuery, portalThemeConfig, querySectionThumb, queryUsage, registeUsage, register, registerOptions, removeContentMutation, removeDomain, removeDomainOptions, removeUserFromCompany, removeUserFromCompanyOptions, resetPassword, resetPasswordOptions, setErrorHandler, showcaseClient, showcaseConfig, showcaseConfigById, showcaseConfigurationQuery, showcaseConfigurationQueryOptions, showcaseContentsQuery, showcaseContext, showcaseDomainsQuery, showcasePagesQuery, showcaseSectionQuery, showcaseSectionsQuery, showcaseTemplateSectionsThumbsMap, showcaseTemplatesQuery, showcaseTemplatesQueryOptions, subscriptionConfigurationQuery, subscriptionConfigurationQueryOptions, tokenClient, updateCompany, updateCompanyOptions, updateContentInstanceFieldValuesMutation, updateContentInstanceFieldValuesMutationOptions, updateContentsOrderingMutation, updateContentsOrderingMutationOptions, updateTemplateSectionThumb, updateUserPassword, updateUserPasswordOptions, updateUserProfile, updateUserProfileOptions, useContentInstancesQuery, useCreateCompanyMutation, useCreateContentInstanceMutation, useCreateContentMutation, useCreateFileMutation, useCreateFolderMutation, useDeleteContentMutation, useDeleteFileMutation, useDeleteFolderMutation, useDomainsQuery, useFilesQuery, useFoldersTreeQuery, useMenuConfigurationQuery, useModelChildrenQuery, useModelsQuery, usePortalThemeConfig, useQuerySectionThumb, useQueryUsage, useRegisterUsage, useShowcaseConfig, useShowcaseConfigById, useShowcaseConfigurationQuery, useShowcaseContentsQuery, useShowcaseContext, useShowcasePagesQuery, useShowcaseSectionQuery, useShowcaseSectionsQuery, useShowcaseTemplate, useShowcaseTemplateOptions, useShowcaseTemplateProgress, useShowcaseTemplateProgressQuery, useTemplateSectionsThumbsMap, useUpdateContentInstanceFieldValuesMutation, useUpdateContentsOrderingMutation, useUserCompaniesQuery, useValidateCompanyName, userCompaniesQuery, userCompaniesQueryOptions, userInfoQuery, userInfoQueryOptions, viewTypeChildrenQuery, viewTypeChildrenQueryOptions, viewTypesQuery, viewTypesQueryOptions };
|
|
87549
|
+
export { CreateCheckoutSessionUri, CreatePortalSessionUri, ModelFieldsTypes, ModelUtilities, VALIDATE_COMPANY_NAME, addDomain, addDomainOptions, apiBackend, apiV2Backend, appConfig, botClient, clearAuthData, companyUsersQuery, contentInstancesQuery, coreClient, createCompany, createContentInstanceMutation, createContentInstanceMutationOptions, createContentMutation, createContentMutationOptions, createFileMutation, createFolderMutation, dconfigClient, deleteFileMutation, deleteFolderMutation, dqueryClient, filesQuery, foldersTreeQuery, forgetPassword, forgetPasswordOptions, frontend, getErrorHandler, getUserContext, getUserToken, handleAuth, handleHandler, inviteUser, inviteUserOptions, login, loginOptions, menuConfigurationQuery, portalThemeConfig, querySectionThumb, queryUsage, redirectToLogin, registeUsage, register, registerOptions, removeContentMutation, removeDomain, removeDomainOptions, removeUserFromCompany, removeUserFromCompanyOptions, resetPassword, resetPasswordOptions, setErrorHandler, showcaseClient, showcaseConfig, showcaseConfigById, showcaseConfigurationQuery, showcaseConfigurationQueryOptions, showcaseContentsQuery, showcaseContext, showcaseDomainsQuery, showcasePagesQuery, showcaseSectionQuery, showcaseSectionsQuery, showcaseTemplateSectionsThumbsMap, showcaseTemplatesQuery, showcaseTemplatesQueryOptions, subscriptionConfigurationQuery, subscriptionConfigurationQueryOptions, tokenClient, updateCompany, updateCompanyOptions, updateContentInstanceFieldValuesMutation, updateContentInstanceFieldValuesMutationOptions, updateContentsOrderingMutation, updateContentsOrderingMutationOptions, updateTemplateSectionThumb, updateUserPassword, updateUserPasswordOptions, updateUserProfile, updateUserProfileOptions, useContentInstancesQuery, useCreateCompanyMutation, useCreateContentInstanceMutation, useCreateContentMutation, useCreateFileMutation, useCreateFolderMutation, useDeleteContentMutation, useDeleteFileMutation, useDeleteFolderMutation, useDomainsQuery, useFilesQuery, useFoldersTreeQuery, useMenuConfigurationQuery, useModelChildrenQuery, useModelsQuery, usePortalThemeConfig, useQuerySectionThumb, useQueryUsage, useRegisterUsage, useShowcaseConfig, useShowcaseConfigById, useShowcaseConfigurationQuery, useShowcaseContentsQuery, useShowcaseContext, useShowcasePagesQuery, useShowcaseSectionQuery, useShowcaseSectionsQuery, useShowcaseTemplate, useShowcaseTemplateOptions, useShowcaseTemplateProgress, useShowcaseTemplateProgressQuery, useTemplateSectionsThumbsMap, useUpdateContentInstanceFieldValuesMutation, useUpdateContentsOrderingMutation, useUserCompaniesQuery, useValidateCompanyName, userCompaniesQuery, userCompaniesQueryOptions, userInfoQuery, userInfoQueryOptions, viewTypeChildrenQuery, viewTypeChildrenQueryOptions, viewTypesQuery, viewTypesQueryOptions };
|