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