@bcrumbs.net/bc-api 0.0.39 → 0.0.40

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 CHANGED
@@ -2115,7 +2115,7 @@ const appConfig = {
2115
2115
  networkInterface: exports.apiV2Backend + '/billing'
2116
2116
  },
2117
2117
  core: {
2118
- networkInterface: exports.apiV2Backend + '/core'
2118
+ networkInterface: 'http://localhost:6085/core'
2119
2119
  },
2120
2120
  bot: {
2121
2121
  networkInterface: exports.apiV2Backend + '/bot'
@@ -2126,10 +2126,134 @@ const appConfig = {
2126
2126
  }
2127
2127
  };
2128
2128
 
2129
- var global$8 = global$l;
2130
- var classof$2 = classofRaw$2;
2129
+ var wellKnownSymbol$a = wellKnownSymbol$g;
2130
+ var create$1 = objectCreate;
2131
+ var defineProperty$3 = objectDefineProperty.f;
2131
2132
 
2132
- var engineIsNode = classof$2(global$8.process) === 'process';
2133
+ var UNSCOPABLES = wellKnownSymbol$a('unscopables');
2134
+ var ArrayPrototype$1 = Array.prototype;
2135
+
2136
+ // Array.prototype[@@unscopables]
2137
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2138
+ if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
2139
+ defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
2140
+ configurable: true,
2141
+ value: create$1(null)
2142
+ });
2143
+ }
2144
+
2145
+ // add a key to Array.prototype[@@unscopables]
2146
+ var addToUnscopables$1 = function (key) {
2147
+ ArrayPrototype$1[UNSCOPABLES][key] = true;
2148
+ };
2149
+
2150
+ var iterators = {};
2151
+
2152
+ var fails$3 = fails$i;
2153
+
2154
+ var correctPrototypeGetter = !fails$3(function () {
2155
+ function F() { /* empty */ }
2156
+ F.prototype.constructor = null;
2157
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
2158
+ return Object.getPrototypeOf(new F()) !== F.prototype;
2159
+ });
2160
+
2161
+ var hasOwn$2 = hasOwnProperty_1;
2162
+ var isCallable$7 = isCallable$l;
2163
+ var toObject = toObject$4;
2164
+ var sharedKey = sharedKey$3;
2165
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
2166
+
2167
+ var IE_PROTO = sharedKey('IE_PROTO');
2168
+ var $Object = Object;
2169
+ var ObjectPrototype = $Object.prototype;
2170
+
2171
+ // `Object.getPrototypeOf` method
2172
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
2173
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
2174
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
2175
+ var object = toObject(O);
2176
+ if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
2177
+ var constructor = object.constructor;
2178
+ if (isCallable$7(constructor) && object instanceof constructor) {
2179
+ return constructor.prototype;
2180
+ } return object instanceof $Object ? ObjectPrototype : null;
2181
+ };
2182
+
2183
+ var fails$2 = fails$i;
2184
+ var isCallable$6 = isCallable$l;
2185
+ var isObject$4 = isObject$a;
2186
+ var getPrototypeOf$1 = objectGetPrototypeOf;
2187
+ var defineBuiltIn$3 = defineBuiltIn$6;
2188
+ var wellKnownSymbol$9 = wellKnownSymbol$g;
2189
+
2190
+ var ITERATOR$5 = wellKnownSymbol$9('iterator');
2191
+ var BUGGY_SAFARI_ITERATORS$1 = false;
2192
+
2193
+ // `%IteratorPrototype%` object
2194
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
2195
+ var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
2196
+
2197
+ /* eslint-disable es/no-array-prototype-keys -- safe */
2198
+ if ([].keys) {
2199
+ arrayIterator = [].keys();
2200
+ // Safari 8 has buggy iterators w/o `next`
2201
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
2202
+ else {
2203
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
2204
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
2205
+ }
2206
+ }
2207
+
2208
+ var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$2) || fails$2(function () {
2209
+ var test = {};
2210
+ // FF44- legacy iterators case
2211
+ return IteratorPrototype$2[ITERATOR$5].call(test) !== test;
2212
+ });
2213
+
2214
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
2215
+
2216
+ // `%IteratorPrototype%[@@iterator]()` method
2217
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
2218
+ if (!isCallable$6(IteratorPrototype$2[ITERATOR$5])) {
2219
+ defineBuiltIn$3(IteratorPrototype$2, ITERATOR$5, function () {
2220
+ return this;
2221
+ });
2222
+ }
2223
+
2224
+ var iteratorsCore = {
2225
+ IteratorPrototype: IteratorPrototype$2,
2226
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
2227
+ };
2228
+
2229
+ var defineProperty$2 = objectDefineProperty.f;
2230
+ var hasOwn$1 = hasOwnProperty_1;
2231
+ var wellKnownSymbol$8 = wellKnownSymbol$g;
2232
+
2233
+ var TO_STRING_TAG = wellKnownSymbol$8('toStringTag');
2234
+
2235
+ var setToStringTag$4 = function (target, TAG, STATIC) {
2236
+ if (target && !STATIC) target = target.prototype;
2237
+ if (target && !hasOwn$1(target, TO_STRING_TAG)) {
2238
+ defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
2239
+ }
2240
+ };
2241
+
2242
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
2243
+ var create = objectCreate;
2244
+ var createPropertyDescriptor = createPropertyDescriptor$3;
2245
+ var setToStringTag$3 = setToStringTag$4;
2246
+ var Iterators$4 = iterators;
2247
+
2248
+ var returnThis$1 = function () { return this; };
2249
+
2250
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
2251
+ var TO_STRING_TAG = NAME + ' Iterator';
2252
+ IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
2253
+ setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
2254
+ Iterators$4[TO_STRING_TAG] = returnThis$1;
2255
+ return IteratorConstructor;
2256
+ };
2133
2257
 
2134
2258
  var uncurryThis$4 = functionUncurryThis;
2135
2259
  var aCallable$6 = aCallable$8;
@@ -2141,10 +2265,10 @@ var functionUncurryThisAccessor = function (object, key, method) {
2141
2265
  } catch (error) { /* empty */ }
2142
2266
  };
2143
2267
 
2144
- var isObject$4 = isObject$a;
2268
+ var isObject$3 = isObject$a;
2145
2269
 
2146
2270
  var isPossiblePrototype$1 = function (argument) {
2147
- return isObject$4(argument) || argument === null;
2271
+ return isObject$3(argument) || argument === null;
2148
2272
  };
2149
2273
 
2150
2274
  var isPossiblePrototype = isPossiblePrototype$1;
@@ -2159,7 +2283,7 @@ var aPossiblePrototype$1 = function (argument) {
2159
2283
 
2160
2284
  /* eslint-disable no-proto -- safe */
2161
2285
  var uncurryThisAccessor = functionUncurryThisAccessor;
2162
- var isObject$3 = isObject$a;
2286
+ var isObject$2 = isObject$a;
2163
2287
  var requireObjectCoercible = requireObjectCoercible$6;
2164
2288
  var aPossiblePrototype = aPossiblePrototype$1;
2165
2289
 
@@ -2179,46 +2303,205 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2179
2303
  return function setPrototypeOf(O, proto) {
2180
2304
  requireObjectCoercible(O);
2181
2305
  aPossiblePrototype(proto);
2182
- if (!isObject$3(O)) return O;
2306
+ if (!isObject$2(O)) return O;
2183
2307
  if (CORRECT_SETTER) setter(O, proto);
2184
2308
  else O.__proto__ = proto;
2185
2309
  return O;
2186
2310
  };
2187
2311
  }() : undefined);
2188
2312
 
2189
- var defineProperty$3 = objectDefineProperty.f;
2190
- var hasOwn$2 = hasOwnProperty_1;
2191
- var wellKnownSymbol$a = wellKnownSymbol$g;
2313
+ var $$6 = _export;
2314
+ var call$6 = functionCall;
2315
+ var FunctionName = functionName;
2316
+ var isCallable$5 = isCallable$l;
2317
+ var createIteratorConstructor = iteratorCreateConstructor;
2318
+ var getPrototypeOf = objectGetPrototypeOf;
2319
+ var setPrototypeOf$1 = objectSetPrototypeOf;
2320
+ var setToStringTag$2 = setToStringTag$4;
2321
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
2322
+ var defineBuiltIn$2 = defineBuiltIn$6;
2323
+ var wellKnownSymbol$7 = wellKnownSymbol$g;
2324
+ var Iterators$3 = iterators;
2325
+ var IteratorsCore = iteratorsCore;
2326
+
2327
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
2328
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
2329
+ var IteratorPrototype = IteratorsCore.IteratorPrototype;
2330
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
2331
+ var ITERATOR$4 = wellKnownSymbol$7('iterator');
2332
+ var KEYS = 'keys';
2333
+ var VALUES = 'values';
2334
+ var ENTRIES = 'entries';
2335
+
2336
+ var returnThis = function () { return this; };
2192
2337
 
2193
- var TO_STRING_TAG = wellKnownSymbol$a('toStringTag');
2338
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
2339
+ createIteratorConstructor(IteratorConstructor, NAME, next);
2194
2340
 
2195
- var setToStringTag$4 = function (target, TAG, STATIC) {
2196
- if (target && !STATIC) target = target.prototype;
2197
- if (target && !hasOwn$2(target, TO_STRING_TAG)) {
2198
- defineProperty$3(target, TO_STRING_TAG, { configurable: true, value: TAG });
2341
+ var getIterationMethod = function (KIND) {
2342
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
2343
+ if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
2344
+
2345
+ switch (KIND) {
2346
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
2347
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
2348
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
2349
+ }
2350
+
2351
+ return function () { return new IteratorConstructor(this); };
2352
+ };
2353
+
2354
+ var TO_STRING_TAG = NAME + ' Iterator';
2355
+ var INCORRECT_VALUES_NAME = false;
2356
+ var IterablePrototype = Iterable.prototype;
2357
+ var nativeIterator = IterablePrototype[ITERATOR$4]
2358
+ || IterablePrototype['@@iterator']
2359
+ || DEFAULT && IterablePrototype[DEFAULT];
2360
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
2361
+ var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
2362
+ var CurrentIteratorPrototype, methods, KEY;
2363
+
2364
+ // fix native
2365
+ if (anyNativeIterator) {
2366
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
2367
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
2368
+ if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
2369
+ if (setPrototypeOf$1) {
2370
+ setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
2371
+ } else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$4])) {
2372
+ defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$4, returnThis);
2373
+ }
2374
+ }
2375
+ // Set @@toStringTag to native iterators
2376
+ setToStringTag$2(CurrentIteratorPrototype, TO_STRING_TAG, true);
2377
+ }
2378
+ }
2379
+
2380
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
2381
+ if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
2382
+ if (CONFIGURABLE_FUNCTION_NAME) {
2383
+ createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
2384
+ } else {
2385
+ INCORRECT_VALUES_NAME = true;
2386
+ defaultIterator = function values() { return call$6(nativeIterator, this); };
2387
+ }
2388
+ }
2389
+
2390
+ // export additional methods
2391
+ if (DEFAULT) {
2392
+ methods = {
2393
+ values: getIterationMethod(VALUES),
2394
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
2395
+ entries: getIterationMethod(ENTRIES)
2396
+ };
2397
+ if (FORCED) for (KEY in methods) {
2398
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
2399
+ defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
2400
+ }
2401
+ } else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
2402
+ }
2403
+
2404
+ // define iterator
2405
+ if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
2406
+ defineBuiltIn$2(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
2199
2407
  }
2408
+ Iterators$3[NAME] = defaultIterator;
2409
+
2410
+ return methods;
2411
+ };
2412
+
2413
+ // `CreateIterResultObject` abstract operation
2414
+ // https://tc39.es/ecma262/#sec-createiterresultobject
2415
+ var createIterResultObject$1 = function (value, done) {
2416
+ return { value: value, done: done };
2200
2417
  };
2201
2418
 
2419
+ var toIndexedObject = toIndexedObject$5;
2420
+ var addToUnscopables = addToUnscopables$1;
2421
+ var Iterators$2 = iterators;
2422
+ var InternalStateModule$1 = internalState;
2423
+ var defineProperty$1 = objectDefineProperty.f;
2424
+ var defineIterator = iteratorDefine;
2425
+ var createIterResultObject = createIterResultObject$1;
2426
+ var DESCRIPTORS$2 = descriptors;
2427
+
2428
+ var ARRAY_ITERATOR = 'Array Iterator';
2429
+ var setInternalState$1 = InternalStateModule$1.set;
2430
+ var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
2431
+
2432
+ // `Array.prototype.entries` method
2433
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
2434
+ // `Array.prototype.keys` method
2435
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
2436
+ // `Array.prototype.values` method
2437
+ // https://tc39.es/ecma262/#sec-array.prototype.values
2438
+ // `Array.prototype[@@iterator]` method
2439
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
2440
+ // `CreateArrayIterator` internal method
2441
+ // https://tc39.es/ecma262/#sec-createarrayiterator
2442
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
2443
+ setInternalState$1(this, {
2444
+ type: ARRAY_ITERATOR,
2445
+ target: toIndexedObject(iterated), // target
2446
+ index: 0, // next index
2447
+ kind: kind // kind
2448
+ });
2449
+ // `%ArrayIteratorPrototype%.next` method
2450
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
2451
+ }, function () {
2452
+ var state = getInternalState(this);
2453
+ var target = state.target;
2454
+ var index = state.index++;
2455
+ if (!target || index >= target.length) {
2456
+ state.target = undefined;
2457
+ return createIterResultObject(undefined, true);
2458
+ }
2459
+ switch (state.kind) {
2460
+ case 'keys': return createIterResultObject(index, false);
2461
+ case 'values': return createIterResultObject(target[index], false);
2462
+ } return createIterResultObject([index, target[index]], false);
2463
+ }, 'values');
2464
+
2465
+ // argumentsList[@@iterator] is %ArrayProto_values%
2466
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
2467
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
2468
+ var values = Iterators$2.Arguments = Iterators$2.Array;
2469
+
2470
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2471
+ addToUnscopables('keys');
2472
+ addToUnscopables('values');
2473
+ addToUnscopables('entries');
2474
+
2475
+ // V8 ~ Chrome 45- bug
2476
+ if (DESCRIPTORS$2 && values.name !== 'values') try {
2477
+ defineProperty$1(values, 'name', { value: 'values' });
2478
+ } catch (error) { /* empty */ }
2479
+
2480
+ var global$8 = global$l;
2481
+ var classof$2 = classofRaw$2;
2482
+
2483
+ var engineIsNode = classof$2(global$8.process) === 'process';
2484
+
2202
2485
  var makeBuiltIn = makeBuiltInExports;
2203
- var defineProperty$2 = objectDefineProperty;
2486
+ var defineProperty = objectDefineProperty;
2204
2487
 
2205
2488
  var defineBuiltInAccessor$1 = function (target, name, descriptor) {
2206
2489
  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
2207
2490
  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
2208
- return defineProperty$2.f(target, name, descriptor);
2491
+ return defineProperty.f(target, name, descriptor);
2209
2492
  };
2210
2493
 
2211
2494
  var getBuiltIn$3 = getBuiltIn$7;
2212
2495
  var defineBuiltInAccessor = defineBuiltInAccessor$1;
2213
- var wellKnownSymbol$9 = wellKnownSymbol$g;
2214
- var DESCRIPTORS$2 = descriptors;
2496
+ var wellKnownSymbol$6 = wellKnownSymbol$g;
2497
+ var DESCRIPTORS$1 = descriptors;
2215
2498
 
2216
- var SPECIES$2 = wellKnownSymbol$9('species');
2499
+ var SPECIES$2 = wellKnownSymbol$6('species');
2217
2500
 
2218
2501
  var setSpecies$1 = function (CONSTRUCTOR_NAME) {
2219
2502
  var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
2220
2503
 
2221
- if (DESCRIPTORS$2 && Constructor && !Constructor[SPECIES$2]) {
2504
+ if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES$2]) {
2222
2505
  defineBuiltInAccessor(Constructor, SPECIES$2, {
2223
2506
  configurable: true,
2224
2507
  get: function () { return this; }
@@ -2236,8 +2519,8 @@ var anInstance$1 = function (it, Prototype) {
2236
2519
  };
2237
2520
 
2238
2521
  var uncurryThis$3 = functionUncurryThis;
2239
- var fails$3 = fails$i;
2240
- var isCallable$7 = isCallable$l;
2522
+ var fails$1 = fails$i;
2523
+ var isCallable$4 = isCallable$l;
2241
2524
  var classof$1 = classof$5;
2242
2525
  var getBuiltIn$2 = getBuiltIn$7;
2243
2526
  var inspectSource$1 = inspectSource$3;
@@ -2249,7 +2532,7 @@ var exec = uncurryThis$3(constructorRegExp.exec);
2249
2532
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
2250
2533
 
2251
2534
  var isConstructorModern = function isConstructor(argument) {
2252
- if (!isCallable$7(argument)) return false;
2535
+ if (!isCallable$4(argument)) return false;
2253
2536
  try {
2254
2537
  construct(noop, [], argument);
2255
2538
  return true;
@@ -2259,7 +2542,7 @@ var isConstructorModern = function isConstructor(argument) {
2259
2542
  };
2260
2543
 
2261
2544
  var isConstructorLegacy = function isConstructor(argument) {
2262
- if (!isCallable$7(argument)) return false;
2545
+ if (!isCallable$4(argument)) return false;
2263
2546
  switch (classof$1(argument)) {
2264
2547
  case 'AsyncFunction':
2265
2548
  case 'GeneratorFunction':
@@ -2279,7 +2562,7 @@ isConstructorLegacy.sham = true;
2279
2562
 
2280
2563
  // `IsConstructor` abstract operation
2281
2564
  // https://tc39.es/ecma262/#sec-isconstructor
2282
- var isConstructor$1 = !construct || fails$3(function () {
2565
+ var isConstructor$1 = !construct || fails$1(function () {
2283
2566
  var called;
2284
2567
  return isConstructorModern(isConstructorModern.call)
2285
2568
  || !isConstructorModern(Object)
@@ -2301,9 +2584,9 @@ var aConstructor$1 = function (argument) {
2301
2584
  var anObject$4 = anObject$d;
2302
2585
  var aConstructor = aConstructor$1;
2303
2586
  var isNullOrUndefined$1 = isNullOrUndefined$6;
2304
- var wellKnownSymbol$8 = wellKnownSymbol$g;
2587
+ var wellKnownSymbol$5 = wellKnownSymbol$g;
2305
2588
 
2306
- var SPECIES$1 = wellKnownSymbol$8('species');
2589
+ var SPECIES$1 = wellKnownSymbol$5('species');
2307
2590
 
2308
2591
  // `SpeciesConstructor` abstract operation
2309
2592
  // https://tc39.es/ecma262/#sec-speciesconstructor
@@ -2356,9 +2639,9 @@ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
2356
2639
  var global$7 = global$l;
2357
2640
  var apply = functionApply;
2358
2641
  var bind$3 = functionBindContext;
2359
- var isCallable$6 = isCallable$l;
2360
- var hasOwn$1 = hasOwnProperty_1;
2361
- var fails$2 = fails$i;
2642
+ var isCallable$3 = isCallable$l;
2643
+ var hasOwn = hasOwnProperty_1;
2644
+ var fails = fails$i;
2362
2645
  var html = html$2;
2363
2646
  var arraySlice = arraySlice$1;
2364
2647
  var createElement = documentCreateElement$2;
@@ -2378,13 +2661,13 @@ var queue$2 = {};
2378
2661
  var ONREADYSTATECHANGE = 'onreadystatechange';
2379
2662
  var $location, defer, channel, port;
2380
2663
 
2381
- fails$2(function () {
2664
+ fails(function () {
2382
2665
  // Deno throws a ReferenceError on `location` access without `--location` flag
2383
2666
  $location = global$7.location;
2384
2667
  });
2385
2668
 
2386
2669
  var run = function (id) {
2387
- if (hasOwn$1(queue$2, id)) {
2670
+ if (hasOwn(queue$2, id)) {
2388
2671
  var fn = queue$2[id];
2389
2672
  delete queue$2[id];
2390
2673
  fn();
@@ -2410,7 +2693,7 @@ var globalPostMessageDefer = function (id) {
2410
2693
  if (!set || !clear) {
2411
2694
  set = function setImmediate(handler) {
2412
2695
  validateArgumentsLength(arguments.length, 1);
2413
- var fn = isCallable$6(handler) ? handler : Function$1(handler);
2696
+ var fn = isCallable$3(handler) ? handler : Function$1(handler);
2414
2697
  var args = arraySlice(arguments, 1);
2415
2698
  queue$2[++counter] = function () {
2416
2699
  apply(fn, undefined, args);
@@ -2442,10 +2725,10 @@ if (!set || !clear) {
2442
2725
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2443
2726
  } else if (
2444
2727
  global$7.addEventListener &&
2445
- isCallable$6(global$7.postMessage) &&
2728
+ isCallable$3(global$7.postMessage) &&
2446
2729
  !global$7.importScripts &&
2447
2730
  $location && $location.protocol !== 'file:' &&
2448
- !fails$2(globalPostMessageDefer)
2731
+ !fails(globalPostMessageDefer)
2449
2732
  ) {
2450
2733
  defer = globalPostMessageDefer;
2451
2734
  global$7.addEventListener('message', eventListener, false);
@@ -2471,14 +2754,14 @@ var task$1 = {
2471
2754
  };
2472
2755
 
2473
2756
  var global$6 = global$l;
2474
- var DESCRIPTORS$1 = descriptors;
2757
+ var DESCRIPTORS = descriptors;
2475
2758
 
2476
2759
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2477
2760
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2478
2761
 
2479
2762
  // Avoid NodeJS experimental warning
2480
2763
  var safeGetBuiltIn$1 = function (name) {
2481
- if (!DESCRIPTORS$1) return global$6[name];
2764
+ if (!DESCRIPTORS) return global$6[name];
2482
2765
  var descriptor = getOwnPropertyDescriptor(global$6, name);
2483
2766
  return descriptor && descriptor.value;
2484
2767
  };
@@ -2626,18 +2909,18 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
2626
2909
 
2627
2910
  var global$3 = global$l;
2628
2911
  var NativePromiseConstructor$3 = promiseNativeConstructor;
2629
- var isCallable$5 = isCallable$l;
2912
+ var isCallable$2 = isCallable$l;
2630
2913
  var isForced = isForced_1;
2631
2914
  var inspectSource = inspectSource$3;
2632
- var wellKnownSymbol$7 = wellKnownSymbol$g;
2915
+ var wellKnownSymbol$4 = wellKnownSymbol$g;
2633
2916
  var IS_BROWSER = engineIsBrowser;
2634
2917
  var IS_DENO = engineIsDeno;
2635
2918
  var V8_VERSION = engineV8Version;
2636
2919
 
2637
2920
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
2638
- var SPECIES = wellKnownSymbol$7('species');
2921
+ var SPECIES = wellKnownSymbol$4('species');
2639
2922
  var SUBCLASSING = false;
2640
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$5(global$3.PromiseRejectionEvent);
2923
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(global$3.PromiseRejectionEvent);
2641
2924
 
2642
2925
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
2643
2926
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -2692,17 +2975,17 @@ newPromiseCapability$2.f = function (C) {
2692
2975
  return new PromiseCapability(C);
2693
2976
  };
2694
2977
 
2695
- var $$6 = _export;
2978
+ var $$5 = _export;
2696
2979
  var IS_NODE = engineIsNode;
2697
2980
  var global$2 = global$l;
2698
- var call$6 = functionCall;
2699
- var defineBuiltIn$3 = defineBuiltIn$6;
2700
- var setPrototypeOf$1 = objectSetPrototypeOf;
2701
- var setToStringTag$3 = setToStringTag$4;
2981
+ var call$5 = functionCall;
2982
+ var defineBuiltIn$1 = defineBuiltIn$6;
2983
+ var setPrototypeOf = objectSetPrototypeOf;
2984
+ var setToStringTag$1 = setToStringTag$4;
2702
2985
  var setSpecies = setSpecies$1;
2703
2986
  var aCallable$3 = aCallable$8;
2704
- var isCallable$4 = isCallable$l;
2705
- var isObject$2 = isObject$a;
2987
+ var isCallable$1 = isCallable$l;
2988
+ var isObject$1 = isObject$a;
2706
2989
  var anInstance = anInstance$1;
2707
2990
  var speciesConstructor = speciesConstructor$1;
2708
2991
  var task = task$1.set;
@@ -2710,7 +2993,7 @@ var microtask = microtask_1;
2710
2993
  var hostReportErrors = hostReportErrors$1;
2711
2994
  var perform$2 = perform$3;
2712
2995
  var Queue = queue$1;
2713
- var InternalStateModule$1 = internalState;
2996
+ var InternalStateModule = internalState;
2714
2997
  var NativePromiseConstructor$2 = promiseNativeConstructor;
2715
2998
  var PromiseConstructorDetection = promiseConstructorDetection;
2716
2999
  var newPromiseCapabilityModule$3 = newPromiseCapability$2;
@@ -2719,8 +3002,8 @@ var PROMISE = 'Promise';
2719
3002
  var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
2720
3003
  var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
2721
3004
  var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
2722
- var getInternalPromiseState = InternalStateModule$1.getterFor(PROMISE);
2723
- var setInternalState$1 = InternalStateModule$1.set;
3005
+ var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
3006
+ var setInternalState = InternalStateModule.set;
2724
3007
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
2725
3008
  var PromiseConstructor = NativePromiseConstructor$2;
2726
3009
  var PromisePrototype = NativePromisePrototype$1;
@@ -2744,7 +3027,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
2744
3027
  // helpers
2745
3028
  var isThenable = function (it) {
2746
3029
  var then;
2747
- return isObject$2(it) && isCallable$4(then = it.then) ? then : false;
3030
+ return isObject$1(it) && isCallable$1(then = it.then) ? then : false;
2748
3031
  };
2749
3032
 
2750
3033
  var callReaction = function (reaction, state) {
@@ -2773,7 +3056,7 @@ var callReaction = function (reaction, state) {
2773
3056
  if (result === reaction.promise) {
2774
3057
  reject(new TypeError$1('Promise-chain cycle'));
2775
3058
  } else if (then = isThenable(result)) {
2776
- call$6(then, result, resolve, reject);
3059
+ call$5(then, result, resolve, reject);
2777
3060
  } else resolve(result);
2778
3061
  } else reject(value);
2779
3062
  } catch (error) {
@@ -2810,7 +3093,7 @@ var dispatchEvent = function (name, promise, reason) {
2810
3093
  };
2811
3094
 
2812
3095
  var onUnhandled = function (state) {
2813
- call$6(task, global$2, function () {
3096
+ call$5(task, global$2, function () {
2814
3097
  var promise = state.facade;
2815
3098
  var value = state.value;
2816
3099
  var IS_UNHANDLED = isUnhandled(state);
@@ -2833,7 +3116,7 @@ var isUnhandled = function (state) {
2833
3116
  };
2834
3117
 
2835
3118
  var onHandleUnhandled = function (state) {
2836
- call$6(task, global$2, function () {
3119
+ call$5(task, global$2, function () {
2837
3120
  var promise = state.facade;
2838
3121
  if (IS_NODE) {
2839
3122
  process$1.emit('rejectionHandled', promise);
@@ -2867,7 +3150,7 @@ var internalResolve = function (state, value, unwrap) {
2867
3150
  microtask(function () {
2868
3151
  var wrapper = { done: false };
2869
3152
  try {
2870
- call$6(then, value,
3153
+ call$5(then, value,
2871
3154
  bind$1(internalResolve, wrapper, state),
2872
3155
  bind$1(internalReject, wrapper, state)
2873
3156
  );
@@ -2891,7 +3174,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2891
3174
  PromiseConstructor = function Promise(executor) {
2892
3175
  anInstance(this, PromisePrototype);
2893
3176
  aCallable$3(executor);
2894
- call$6(Internal, this);
3177
+ call$5(Internal, this);
2895
3178
  var state = getInternalPromiseState(this);
2896
3179
  try {
2897
3180
  executor(bind$1(internalResolve, state), bind$1(internalReject, state));
@@ -2904,7 +3187,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2904
3187
 
2905
3188
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2906
3189
  Internal = function Promise(executor) {
2907
- setInternalState$1(this, {
3190
+ setInternalState(this, {
2908
3191
  type: PROMISE,
2909
3192
  done: false,
2910
3193
  notified: false,
@@ -2918,12 +3201,12 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2918
3201
 
2919
3202
  // `Promise.prototype.then` method
2920
3203
  // https://tc39.es/ecma262/#sec-promise.prototype.then
2921
- Internal.prototype = defineBuiltIn$3(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
3204
+ Internal.prototype = defineBuiltIn$1(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
2922
3205
  var state = getInternalPromiseState(this);
2923
3206
  var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
2924
3207
  state.parent = true;
2925
- reaction.ok = isCallable$4(onFulfilled) ? onFulfilled : true;
2926
- reaction.fail = isCallable$4(onRejected) && onRejected;
3208
+ reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
3209
+ reaction.fail = isCallable$1(onRejected) && onRejected;
2927
3210
  reaction.domain = IS_NODE ? process$1.domain : undefined;
2928
3211
  if (state.state === PENDING) state.reactions.add(reaction);
2929
3212
  else microtask(function () {
@@ -2946,15 +3229,15 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2946
3229
  : newGenericPromiseCapability(C);
2947
3230
  };
2948
3231
 
2949
- if (isCallable$4(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
3232
+ if (isCallable$1(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
2950
3233
  nativeThen = NativePromisePrototype$1.then;
2951
3234
 
2952
3235
  if (!NATIVE_PROMISE_SUBCLASSING) {
2953
3236
  // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
2954
- defineBuiltIn$3(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
3237
+ defineBuiltIn$1(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
2955
3238
  var that = this;
2956
3239
  return new PromiseConstructor(function (resolve, reject) {
2957
- call$6(nativeThen, that, resolve, reject);
3240
+ call$5(nativeThen, that, resolve, reject);
2958
3241
  }).then(onFulfilled, onRejected);
2959
3242
  // https://github.com/zloirock/core-js/issues/640
2960
3243
  }, { unsafe: true });
@@ -2966,47 +3249,45 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2966
3249
  } catch (error) { /* empty */ }
2967
3250
 
2968
3251
  // make `instanceof Promise` work for native promise-based APIs
2969
- if (setPrototypeOf$1) {
2970
- setPrototypeOf$1(NativePromisePrototype$1, PromisePrototype);
3252
+ if (setPrototypeOf) {
3253
+ setPrototypeOf(NativePromisePrototype$1, PromisePrototype);
2971
3254
  }
2972
3255
  }
2973
3256
  }
2974
3257
 
2975
- $$6({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
3258
+ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2976
3259
  Promise: PromiseConstructor
2977
3260
  });
2978
3261
 
2979
- setToStringTag$3(PromiseConstructor, PROMISE, false);
3262
+ setToStringTag$1(PromiseConstructor, PROMISE, false);
2980
3263
  setSpecies(PROMISE);
2981
3264
 
2982
- var iterators = {};
2983
-
2984
- var wellKnownSymbol$6 = wellKnownSymbol$g;
2985
- var Iterators$4 = iterators;
3265
+ var wellKnownSymbol$3 = wellKnownSymbol$g;
3266
+ var Iterators$1 = iterators;
2986
3267
 
2987
- var ITERATOR$5 = wellKnownSymbol$6('iterator');
2988
- var ArrayPrototype$1 = Array.prototype;
3268
+ var ITERATOR$3 = wellKnownSymbol$3('iterator');
3269
+ var ArrayPrototype = Array.prototype;
2989
3270
 
2990
3271
  // check on default Array iterator
2991
3272
  var isArrayIteratorMethod$1 = function (it) {
2992
- return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$5] === it);
3273
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
2993
3274
  };
2994
3275
 
2995
3276
  var classof = classof$5;
2996
3277
  var getMethod$1 = getMethod$5;
2997
3278
  var isNullOrUndefined = isNullOrUndefined$6;
2998
- var Iterators$3 = iterators;
2999
- var wellKnownSymbol$5 = wellKnownSymbol$g;
3279
+ var Iterators = iterators;
3280
+ var wellKnownSymbol$2 = wellKnownSymbol$g;
3000
3281
 
3001
- var ITERATOR$4 = wellKnownSymbol$5('iterator');
3282
+ var ITERATOR$2 = wellKnownSymbol$2('iterator');
3002
3283
 
3003
3284
  var getIteratorMethod$2 = function (it) {
3004
- if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$4)
3285
+ if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$2)
3005
3286
  || getMethod$1(it, '@@iterator')
3006
- || Iterators$3[classof(it)];
3287
+ || Iterators[classof(it)];
3007
3288
  };
3008
3289
 
3009
- var call$5 = functionCall;
3290
+ var call$4 = functionCall;
3010
3291
  var aCallable$2 = aCallable$8;
3011
3292
  var anObject$3 = anObject$d;
3012
3293
  var tryToString$1 = tryToString$4;
@@ -3016,11 +3297,11 @@ var $TypeError$1 = TypeError;
3016
3297
 
3017
3298
  var getIterator$1 = function (argument, usingIterator) {
3018
3299
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
3019
- if (aCallable$2(iteratorMethod)) return anObject$3(call$5(iteratorMethod, argument));
3300
+ if (aCallable$2(iteratorMethod)) return anObject$3(call$4(iteratorMethod, argument));
3020
3301
  throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
3021
3302
  };
3022
3303
 
3023
- var call$4 = functionCall;
3304
+ var call$3 = functionCall;
3024
3305
  var anObject$2 = anObject$d;
3025
3306
  var getMethod = getMethod$5;
3026
3307
 
@@ -3033,7 +3314,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
3033
3314
  if (kind === 'throw') throw value;
3034
3315
  return value;
3035
3316
  }
3036
- innerResult = call$4(innerResult, iterator);
3317
+ innerResult = call$3(innerResult, iterator);
3037
3318
  } catch (error) {
3038
3319
  innerError = true;
3039
3320
  innerResult = error;
@@ -3045,7 +3326,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
3045
3326
  };
3046
3327
 
3047
3328
  var bind = functionBindContext;
3048
- var call$3 = functionCall;
3329
+ var call$2 = functionCall;
3049
3330
  var anObject$1 = anObject$d;
3050
3331
  var tryToString = tryToString$4;
3051
3332
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
@@ -3103,7 +3384,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
3103
3384
  }
3104
3385
 
3105
3386
  next = IS_RECORD ? iterable.next : iterator.next;
3106
- while (!(step = call$3(next, iterator)).done) {
3387
+ while (!(step = call$2(next, iterator)).done) {
3107
3388
  try {
3108
3389
  result = callFn(step.value);
3109
3390
  } catch (error) {
@@ -3113,9 +3394,9 @@ var iterate$2 = function (iterable, unboundFunction, options) {
3113
3394
  } return new Result(false);
3114
3395
  };
3115
3396
 
3116
- var wellKnownSymbol$4 = wellKnownSymbol$g;
3397
+ var wellKnownSymbol$1 = wellKnownSymbol$g;
3117
3398
 
3118
- var ITERATOR$3 = wellKnownSymbol$4('iterator');
3399
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
3119
3400
  var SAFE_CLOSING = false;
3120
3401
 
3121
3402
  try {
@@ -3128,7 +3409,7 @@ try {
3128
3409
  SAFE_CLOSING = true;
3129
3410
  }
3130
3411
  };
3131
- iteratorWithReturn[ITERATOR$3] = function () {
3412
+ iteratorWithReturn[ITERATOR$1] = function () {
3132
3413
  return this;
3133
3414
  };
3134
3415
  // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
@@ -3142,7 +3423,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
3142
3423
  var ITERATION_SUPPORT = false;
3143
3424
  try {
3144
3425
  var object = {};
3145
- object[ITERATOR$3] = function () {
3426
+ object[ITERATOR$1] = function () {
3146
3427
  return {
3147
3428
  next: function () {
3148
3429
  return { done: ITERATION_SUPPORT = true };
@@ -3162,8 +3443,8 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
3162
3443
  NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
3163
3444
  });
3164
3445
 
3165
- var $$5 = _export;
3166
- var call$2 = functionCall;
3446
+ var $$4 = _export;
3447
+ var call$1 = functionCall;
3167
3448
  var aCallable$1 = aCallable$8;
3168
3449
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
3169
3450
  var perform$1 = perform$3;
@@ -3172,7 +3453,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
3172
3453
 
3173
3454
  // `Promise.all` method
3174
3455
  // https://tc39.es/ecma262/#sec-promise.all
3175
- $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3456
+ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3176
3457
  all: function all(iterable) {
3177
3458
  var C = this;
3178
3459
  var capability = newPromiseCapabilityModule$2.f(C);
@@ -3187,7 +3468,7 @@ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3187
3468
  var index = counter++;
3188
3469
  var alreadyCalled = false;
3189
3470
  remaining++;
3190
- call$2($promiseResolve, C, promise).then(function (value) {
3471
+ call$1($promiseResolve, C, promise).then(function (value) {
3191
3472
  if (alreadyCalled) return;
3192
3473
  alreadyCalled = true;
3193
3474
  values[index] = value;
@@ -3201,33 +3482,33 @@ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3201
3482
  }
3202
3483
  });
3203
3484
 
3204
- var $$4 = _export;
3485
+ var $$3 = _export;
3205
3486
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
3206
3487
  var NativePromiseConstructor = promiseNativeConstructor;
3207
3488
  var getBuiltIn$1 = getBuiltIn$7;
3208
- var isCallable$3 = isCallable$l;
3209
- var defineBuiltIn$2 = defineBuiltIn$6;
3489
+ var isCallable = isCallable$l;
3490
+ var defineBuiltIn = defineBuiltIn$6;
3210
3491
 
3211
3492
  var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
3212
3493
 
3213
3494
  // `Promise.prototype.catch` method
3214
3495
  // https://tc39.es/ecma262/#sec-promise.prototype.catch
3215
- $$4({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3496
+ $$3({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3216
3497
  'catch': function (onRejected) {
3217
3498
  return this.then(undefined, onRejected);
3218
3499
  }
3219
3500
  });
3220
3501
 
3221
3502
  // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
3222
- if (isCallable$3(NativePromiseConstructor)) {
3503
+ if (isCallable(NativePromiseConstructor)) {
3223
3504
  var method = getBuiltIn$1('Promise').prototype['catch'];
3224
3505
  if (NativePromisePrototype['catch'] !== method) {
3225
- defineBuiltIn$2(NativePromisePrototype, 'catch', method, { unsafe: true });
3506
+ defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
3226
3507
  }
3227
3508
  }
3228
3509
 
3229
- var $$3 = _export;
3230
- var call$1 = functionCall;
3510
+ var $$2 = _export;
3511
+ var call = functionCall;
3231
3512
  var aCallable = aCallable$8;
3232
3513
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
3233
3514
  var perform = perform$3;
@@ -3236,7 +3517,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
3236
3517
 
3237
3518
  // `Promise.race` method
3238
3519
  // https://tc39.es/ecma262/#sec-promise.race
3239
- $$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3520
+ $$2({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3240
3521
  race: function race(iterable) {
3241
3522
  var C = this;
3242
3523
  var capability = newPromiseCapabilityModule$1.f(C);
@@ -3244,7 +3525,7 @@ $$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3244
3525
  var result = perform(function () {
3245
3526
  var $promiseResolve = aCallable(C.resolve);
3246
3527
  iterate(iterable, function (promise) {
3247
- call$1($promiseResolve, C, promise).then(capability.resolve, reject);
3528
+ call($promiseResolve, C, promise).then(capability.resolve, reject);
3248
3529
  });
3249
3530
  });
3250
3531
  if (result.error) reject(result.value);
@@ -3252,13 +3533,13 @@ $$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3252
3533
  }
3253
3534
  });
3254
3535
 
3255
- var $$2 = _export;
3536
+ var $$1 = _export;
3256
3537
  var newPromiseCapabilityModule = newPromiseCapability$2;
3257
3538
  var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
3258
3539
 
3259
3540
  // `Promise.reject` method
3260
3541
  // https://tc39.es/ecma262/#sec-promise.reject
3261
- $$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3542
+ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3262
3543
  reject: function reject(r) {
3263
3544
  var capability = newPromiseCapabilityModule.f(this);
3264
3545
  var capabilityReject = capability.reject;
@@ -3268,19 +3549,19 @@ $$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3268
3549
  });
3269
3550
 
3270
3551
  var anObject = anObject$d;
3271
- var isObject$1 = isObject$a;
3552
+ var isObject = isObject$a;
3272
3553
  var newPromiseCapability = newPromiseCapability$2;
3273
3554
 
3274
3555
  var promiseResolve$1 = function (C, x) {
3275
3556
  anObject(C);
3276
- if (isObject$1(x) && x.constructor === C) return x;
3557
+ if (isObject(x) && x.constructor === C) return x;
3277
3558
  var promiseCapability = newPromiseCapability.f(C);
3278
3559
  var resolve = promiseCapability.resolve;
3279
3560
  resolve(x);
3280
3561
  return promiseCapability.promise;
3281
3562
  };
3282
3563
 
3283
- var $$1 = _export;
3564
+ var $ = _export;
3284
3565
  var getBuiltIn = getBuiltIn$7;
3285
3566
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
3286
3567
  var promiseResolve = promiseResolve$1;
@@ -3289,13 +3570,95 @@ getBuiltIn('Promise');
3289
3570
 
3290
3571
  // `Promise.resolve` method
3291
3572
  // https://tc39.es/ecma262/#sec-promise.resolve
3292
- $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3573
+ $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3293
3574
  resolve: function resolve(x) {
3294
3575
  return promiseResolve(this, x);
3295
3576
  }
3296
3577
  });
3297
3578
 
3298
- const handleHandler = ({
3579
+ // iterable DOM collections
3580
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
3581
+ var domIterables = {
3582
+ CSSRuleList: 0,
3583
+ CSSStyleDeclaration: 0,
3584
+ CSSValueList: 0,
3585
+ ClientRectList: 0,
3586
+ DOMRectList: 0,
3587
+ DOMStringList: 0,
3588
+ DOMTokenList: 1,
3589
+ DataTransferItemList: 0,
3590
+ FileList: 0,
3591
+ HTMLAllCollection: 0,
3592
+ HTMLCollection: 0,
3593
+ HTMLFormElement: 0,
3594
+ HTMLSelectElement: 0,
3595
+ MediaList: 0,
3596
+ MimeTypeArray: 0,
3597
+ NamedNodeMap: 0,
3598
+ NodeList: 1,
3599
+ PaintRequestList: 0,
3600
+ Plugin: 0,
3601
+ PluginArray: 0,
3602
+ SVGLengthList: 0,
3603
+ SVGNumberList: 0,
3604
+ SVGPathSegList: 0,
3605
+ SVGPointList: 0,
3606
+ SVGStringList: 0,
3607
+ SVGTransformList: 0,
3608
+ SourceBufferList: 0,
3609
+ StyleSheetList: 0,
3610
+ TextTrackCueList: 0,
3611
+ TextTrackList: 0,
3612
+ TouchList: 0
3613
+ };
3614
+
3615
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
3616
+ var documentCreateElement = documentCreateElement$2;
3617
+
3618
+ var classList = documentCreateElement('span').classList;
3619
+ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
3620
+
3621
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
3622
+
3623
+ var global$1 = global$l;
3624
+ var DOMIterables = domIterables;
3625
+ var DOMTokenListPrototype = domTokenListPrototype;
3626
+ var ArrayIteratorMethods = es_array_iterator;
3627
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
3628
+ var setToStringTag = setToStringTag$4;
3629
+ var wellKnownSymbol = wellKnownSymbol$g;
3630
+
3631
+ var ITERATOR = wellKnownSymbol('iterator');
3632
+ var ArrayValues = ArrayIteratorMethods.values;
3633
+
3634
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
3635
+ if (CollectionPrototype) {
3636
+ // some Chrome versions have non-configurable methods on DOMTokenList
3637
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
3638
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
3639
+ } catch (error) {
3640
+ CollectionPrototype[ITERATOR] = ArrayValues;
3641
+ }
3642
+ setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
3643
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
3644
+ // some Chrome versions have non-configurable methods on DOMTokenList
3645
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
3646
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
3647
+ } catch (error) {
3648
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
3649
+ }
3650
+ }
3651
+ }
3652
+ };
3653
+
3654
+ for (var COLLECTION_NAME in DOMIterables) {
3655
+ handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
3656
+ }
3657
+
3658
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
3659
+
3660
+ // Default error handler implementation
3661
+ const defaultErrorHandler = ({
3299
3662
  networkError,
3300
3663
  graphQLErrors
3301
3664
  }) => {
@@ -3304,11 +3667,7 @@ const handleHandler = ({
3304
3667
  if (typeof window !== 'undefined' && window.location.pathname !== '/account/login') {
3305
3668
  return window.location.replace('/account/login');
3306
3669
  }
3307
- } else if (networkError
3308
- // &&
3309
- // ((networkError as ServerError).statusCode > 500 &&
3310
- // (networkError as ServerError).statusCode !== 503) commented out to include 400 errors
3311
- ) {
3670
+ } else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
3312
3671
  if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
3313
3672
  return window.location.replace('/error?message=' + networkError.message);
3314
3673
  }
@@ -3326,6 +3685,16 @@ const handleHandler = ({
3326
3685
  }
3327
3686
  }
3328
3687
  };
3688
+ // Overridable error handler
3689
+ let currentErrorHandler = defaultErrorHandler;
3690
+ const setErrorHandler = handler => {
3691
+ currentErrorHandler = handler;
3692
+ };
3693
+ const getErrorHandler = () => currentErrorHandler;
3694
+ // For backward compatibility, export handleHandler as the current handler
3695
+ const handleHandler = (...args) => {
3696
+ return currentErrorHandler(...args);
3697
+ };
3329
3698
  const handleAuth = (operation_1, _a) => __awaiter(void 0, [operation_1, _a], void 0, function* (operation, {
3330
3699
  headers
3331
3700
  }) {
@@ -86994,368 +87363,6 @@ const botClient = new client.ApolloClient({
86994
87363
  queryDeduplication: true
86995
87364
  });
86996
87365
 
86997
- var wellKnownSymbol$3 = wellKnownSymbol$g;
86998
- var create$1 = objectCreate;
86999
- var defineProperty$1 = objectDefineProperty.f;
87000
-
87001
- var UNSCOPABLES = wellKnownSymbol$3('unscopables');
87002
- var ArrayPrototype = Array.prototype;
87003
-
87004
- // Array.prototype[@@unscopables]
87005
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
87006
- if (ArrayPrototype[UNSCOPABLES] === undefined) {
87007
- defineProperty$1(ArrayPrototype, UNSCOPABLES, {
87008
- configurable: true,
87009
- value: create$1(null)
87010
- });
87011
- }
87012
-
87013
- // add a key to Array.prototype[@@unscopables]
87014
- var addToUnscopables$1 = function (key) {
87015
- ArrayPrototype[UNSCOPABLES][key] = true;
87016
- };
87017
-
87018
- var fails$1 = fails$i;
87019
-
87020
- var correctPrototypeGetter = !fails$1(function () {
87021
- function F() { /* empty */ }
87022
- F.prototype.constructor = null;
87023
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
87024
- return Object.getPrototypeOf(new F()) !== F.prototype;
87025
- });
87026
-
87027
- var hasOwn = hasOwnProperty_1;
87028
- var isCallable$2 = isCallable$l;
87029
- var toObject = toObject$4;
87030
- var sharedKey = sharedKey$3;
87031
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
87032
-
87033
- var IE_PROTO = sharedKey('IE_PROTO');
87034
- var $Object = Object;
87035
- var ObjectPrototype = $Object.prototype;
87036
-
87037
- // `Object.getPrototypeOf` method
87038
- // https://tc39.es/ecma262/#sec-object.getprototypeof
87039
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
87040
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
87041
- var object = toObject(O);
87042
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
87043
- var constructor = object.constructor;
87044
- if (isCallable$2(constructor) && object instanceof constructor) {
87045
- return constructor.prototype;
87046
- } return object instanceof $Object ? ObjectPrototype : null;
87047
- };
87048
-
87049
- var fails = fails$i;
87050
- var isCallable$1 = isCallable$l;
87051
- var isObject = isObject$a;
87052
- var getPrototypeOf$1 = objectGetPrototypeOf;
87053
- var defineBuiltIn$1 = defineBuiltIn$6;
87054
- var wellKnownSymbol$2 = wellKnownSymbol$g;
87055
-
87056
- var ITERATOR$2 = wellKnownSymbol$2('iterator');
87057
- var BUGGY_SAFARI_ITERATORS$1 = false;
87058
-
87059
- // `%IteratorPrototype%` object
87060
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
87061
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
87062
-
87063
- /* eslint-disable es/no-array-prototype-keys -- safe */
87064
- if ([].keys) {
87065
- arrayIterator = [].keys();
87066
- // Safari 8 has buggy iterators w/o `next`
87067
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
87068
- else {
87069
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
87070
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
87071
- }
87072
- }
87073
-
87074
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails(function () {
87075
- var test = {};
87076
- // FF44- legacy iterators case
87077
- return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
87078
- });
87079
-
87080
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
87081
-
87082
- // `%IteratorPrototype%[@@iterator]()` method
87083
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
87084
- if (!isCallable$1(IteratorPrototype$2[ITERATOR$2])) {
87085
- defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
87086
- return this;
87087
- });
87088
- }
87089
-
87090
- var iteratorsCore = {
87091
- IteratorPrototype: IteratorPrototype$2,
87092
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
87093
- };
87094
-
87095
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
87096
- var create = objectCreate;
87097
- var createPropertyDescriptor = createPropertyDescriptor$3;
87098
- var setToStringTag$2 = setToStringTag$4;
87099
- var Iterators$2 = iterators;
87100
-
87101
- var returnThis$1 = function () { return this; };
87102
-
87103
- var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
87104
- var TO_STRING_TAG = NAME + ' Iterator';
87105
- IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
87106
- setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
87107
- Iterators$2[TO_STRING_TAG] = returnThis$1;
87108
- return IteratorConstructor;
87109
- };
87110
-
87111
- var $ = _export;
87112
- var call = functionCall;
87113
- var FunctionName = functionName;
87114
- var isCallable = isCallable$l;
87115
- var createIteratorConstructor = iteratorCreateConstructor;
87116
- var getPrototypeOf = objectGetPrototypeOf;
87117
- var setPrototypeOf = objectSetPrototypeOf;
87118
- var setToStringTag$1 = setToStringTag$4;
87119
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
87120
- var defineBuiltIn = defineBuiltIn$6;
87121
- var wellKnownSymbol$1 = wellKnownSymbol$g;
87122
- var Iterators$1 = iterators;
87123
- var IteratorsCore = iteratorsCore;
87124
-
87125
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
87126
- var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
87127
- var IteratorPrototype = IteratorsCore.IteratorPrototype;
87128
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
87129
- var ITERATOR$1 = wellKnownSymbol$1('iterator');
87130
- var KEYS = 'keys';
87131
- var VALUES = 'values';
87132
- var ENTRIES = 'entries';
87133
-
87134
- var returnThis = function () { return this; };
87135
-
87136
- var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
87137
- createIteratorConstructor(IteratorConstructor, NAME, next);
87138
-
87139
- var getIterationMethod = function (KIND) {
87140
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
87141
- if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
87142
-
87143
- switch (KIND) {
87144
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
87145
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
87146
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
87147
- }
87148
-
87149
- return function () { return new IteratorConstructor(this); };
87150
- };
87151
-
87152
- var TO_STRING_TAG = NAME + ' Iterator';
87153
- var INCORRECT_VALUES_NAME = false;
87154
- var IterablePrototype = Iterable.prototype;
87155
- var nativeIterator = IterablePrototype[ITERATOR$1]
87156
- || IterablePrototype['@@iterator']
87157
- || DEFAULT && IterablePrototype[DEFAULT];
87158
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
87159
- var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
87160
- var CurrentIteratorPrototype, methods, KEY;
87161
-
87162
- // fix native
87163
- if (anyNativeIterator) {
87164
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
87165
- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
87166
- if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
87167
- if (setPrototypeOf) {
87168
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
87169
- } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
87170
- defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
87171
- }
87172
- }
87173
- // Set @@toStringTag to native iterators
87174
- setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
87175
- }
87176
- }
87177
-
87178
- // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
87179
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
87180
- if (CONFIGURABLE_FUNCTION_NAME) {
87181
- createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
87182
- } else {
87183
- INCORRECT_VALUES_NAME = true;
87184
- defaultIterator = function values() { return call(nativeIterator, this); };
87185
- }
87186
- }
87187
-
87188
- // export additional methods
87189
- if (DEFAULT) {
87190
- methods = {
87191
- values: getIterationMethod(VALUES),
87192
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
87193
- entries: getIterationMethod(ENTRIES)
87194
- };
87195
- if (FORCED) for (KEY in methods) {
87196
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
87197
- defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
87198
- }
87199
- } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
87200
- }
87201
-
87202
- // define iterator
87203
- if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
87204
- defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
87205
- }
87206
- Iterators$1[NAME] = defaultIterator;
87207
-
87208
- return methods;
87209
- };
87210
-
87211
- // `CreateIterResultObject` abstract operation
87212
- // https://tc39.es/ecma262/#sec-createiterresultobject
87213
- var createIterResultObject$1 = function (value, done) {
87214
- return { value: value, done: done };
87215
- };
87216
-
87217
- var toIndexedObject = toIndexedObject$5;
87218
- var addToUnscopables = addToUnscopables$1;
87219
- var Iterators = iterators;
87220
- var InternalStateModule = internalState;
87221
- var defineProperty = objectDefineProperty.f;
87222
- var defineIterator = iteratorDefine;
87223
- var createIterResultObject = createIterResultObject$1;
87224
- var DESCRIPTORS = descriptors;
87225
-
87226
- var ARRAY_ITERATOR = 'Array Iterator';
87227
- var setInternalState = InternalStateModule.set;
87228
- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
87229
-
87230
- // `Array.prototype.entries` method
87231
- // https://tc39.es/ecma262/#sec-array.prototype.entries
87232
- // `Array.prototype.keys` method
87233
- // https://tc39.es/ecma262/#sec-array.prototype.keys
87234
- // `Array.prototype.values` method
87235
- // https://tc39.es/ecma262/#sec-array.prototype.values
87236
- // `Array.prototype[@@iterator]` method
87237
- // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
87238
- // `CreateArrayIterator` internal method
87239
- // https://tc39.es/ecma262/#sec-createarrayiterator
87240
- var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
87241
- setInternalState(this, {
87242
- type: ARRAY_ITERATOR,
87243
- target: toIndexedObject(iterated), // target
87244
- index: 0, // next index
87245
- kind: kind // kind
87246
- });
87247
- // `%ArrayIteratorPrototype%.next` method
87248
- // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
87249
- }, function () {
87250
- var state = getInternalState(this);
87251
- var target = state.target;
87252
- var index = state.index++;
87253
- if (!target || index >= target.length) {
87254
- state.target = undefined;
87255
- return createIterResultObject(undefined, true);
87256
- }
87257
- switch (state.kind) {
87258
- case 'keys': return createIterResultObject(index, false);
87259
- case 'values': return createIterResultObject(target[index], false);
87260
- } return createIterResultObject([index, target[index]], false);
87261
- }, 'values');
87262
-
87263
- // argumentsList[@@iterator] is %ArrayProto_values%
87264
- // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
87265
- // https://tc39.es/ecma262/#sec-createmappedargumentsobject
87266
- var values = Iterators.Arguments = Iterators.Array;
87267
-
87268
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
87269
- addToUnscopables('keys');
87270
- addToUnscopables('values');
87271
- addToUnscopables('entries');
87272
-
87273
- // V8 ~ Chrome 45- bug
87274
- if (DESCRIPTORS && values.name !== 'values') try {
87275
- defineProperty(values, 'name', { value: 'values' });
87276
- } catch (error) { /* empty */ }
87277
-
87278
- // iterable DOM collections
87279
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
87280
- var domIterables = {
87281
- CSSRuleList: 0,
87282
- CSSStyleDeclaration: 0,
87283
- CSSValueList: 0,
87284
- ClientRectList: 0,
87285
- DOMRectList: 0,
87286
- DOMStringList: 0,
87287
- DOMTokenList: 1,
87288
- DataTransferItemList: 0,
87289
- FileList: 0,
87290
- HTMLAllCollection: 0,
87291
- HTMLCollection: 0,
87292
- HTMLFormElement: 0,
87293
- HTMLSelectElement: 0,
87294
- MediaList: 0,
87295
- MimeTypeArray: 0,
87296
- NamedNodeMap: 0,
87297
- NodeList: 1,
87298
- PaintRequestList: 0,
87299
- Plugin: 0,
87300
- PluginArray: 0,
87301
- SVGLengthList: 0,
87302
- SVGNumberList: 0,
87303
- SVGPathSegList: 0,
87304
- SVGPointList: 0,
87305
- SVGStringList: 0,
87306
- SVGTransformList: 0,
87307
- SourceBufferList: 0,
87308
- StyleSheetList: 0,
87309
- TextTrackCueList: 0,
87310
- TextTrackList: 0,
87311
- TouchList: 0
87312
- };
87313
-
87314
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
87315
- var documentCreateElement = documentCreateElement$2;
87316
-
87317
- var classList = documentCreateElement('span').classList;
87318
- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
87319
-
87320
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
87321
-
87322
- var global$1 = global$l;
87323
- var DOMIterables = domIterables;
87324
- var DOMTokenListPrototype = domTokenListPrototype;
87325
- var ArrayIteratorMethods = es_array_iterator;
87326
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
87327
- var setToStringTag = setToStringTag$4;
87328
- var wellKnownSymbol = wellKnownSymbol$g;
87329
-
87330
- var ITERATOR = wellKnownSymbol('iterator');
87331
- var ArrayValues = ArrayIteratorMethods.values;
87332
-
87333
- var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
87334
- if (CollectionPrototype) {
87335
- // some Chrome versions have non-configurable methods on DOMTokenList
87336
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
87337
- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
87338
- } catch (error) {
87339
- CollectionPrototype[ITERATOR] = ArrayValues;
87340
- }
87341
- setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
87342
- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
87343
- // some Chrome versions have non-configurable methods on DOMTokenList
87344
- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
87345
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
87346
- } catch (error) {
87347
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
87348
- }
87349
- }
87350
- }
87351
- };
87352
-
87353
- for (var COLLECTION_NAME in DOMIterables) {
87354
- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
87355
- }
87356
-
87357
- handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
87358
-
87359
87366
  class ModelUtilities {
87360
87367
  static ConvertModelsListToFieldsMap(models) {
87361
87368
  const fieldsMap = new Map();
@@ -87416,6 +87423,7 @@ exports.filesQuery = filesQuery;
87416
87423
  exports.foldersTreeQuery = foldersTreeQuery;
87417
87424
  exports.forgetPassword = forgetPassword;
87418
87425
  exports.forgetPasswordOptions = forgetPasswordOptions;
87426
+ exports.getErrorHandler = getErrorHandler;
87419
87427
  exports.inviteUser = inviteUser;
87420
87428
  exports.inviteUserOptions = inviteUserOptions;
87421
87429
  exports.login = login;
@@ -87434,6 +87442,7 @@ exports.removeUserFromCompany = removeUserFromCompany;
87434
87442
  exports.removeUserFromCompanyOptions = removeUserFromCompanyOptions;
87435
87443
  exports.resetPassword = resetPassword;
87436
87444
  exports.resetPasswordOptions = resetPasswordOptions;
87445
+ exports.setErrorHandler = setErrorHandler;
87437
87446
  exports.showcaseClient = showcaseClient;
87438
87447
  exports.showcaseConfig = showcaseConfig;
87439
87448
  exports.showcaseConfigById = showcaseConfigById;