extra-react-hooks 0.2.0 → 0.2.1

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.
@@ -2485,13 +2485,13 @@ function requireReact_development () {
2485
2485
 
2486
2486
  function useIncrement(initialValue) {
2487
2487
  const [value, setValue] = react.exports.useState(initialValue);
2488
- const increment = react.exports.useCallback((step = 1) => {
2488
+ return [value, increment, reset];
2489
+ function increment(step = 1) {
2489
2490
  setValue(value => value + step);
2490
- }, []);
2491
- const reset = react.exports.useCallback(() => {
2491
+ }
2492
+ function reset() {
2492
2493
  setValue(initialValue);
2493
- }, []);
2494
- return [value, increment, reset];
2494
+ }
2495
2495
  }
2496
2496
 
2497
2497
  function useMount(effect) {
@@ -2544,227 +2544,227 @@ function useUpdateEffect(effect, deps) {
2544
2544
  }, deps);
2545
2545
  }
2546
2546
 
2547
- var es2018$7 = {};
2547
+ var es2018$9 = {};
2548
2548
 
2549
- var array = {};
2549
+ var array$2 = {};
2550
2550
 
2551
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
2552
- function isArray$3(val) {
2551
+ array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
2552
+ function isArray$5(val) {
2553
2553
  return Array.isArray(val);
2554
2554
  }
2555
- array.isArray = isArray$3;
2556
- function isntArray(val) {
2557
- return !isArray$3(val);
2555
+ array$2.isArray = isArray$5;
2556
+ function isntArray$2(val) {
2557
+ return !isArray$5(val);
2558
2558
  }
2559
- array.isntArray = isntArray;
2560
- function isEmptyArray(val) {
2559
+ array$2.isntArray = isntArray$2;
2560
+ function isEmptyArray$2(val) {
2561
2561
  return val.length === 0;
2562
2562
  }
2563
- array.isEmptyArray = isEmptyArray;
2564
- function isntEmptyArray(val) {
2563
+ array$2.isEmptyArray = isEmptyArray$2;
2564
+ function isntEmptyArray$2(val) {
2565
2565
  return val.length !== 0;
2566
2566
  }
2567
- array.isntEmptyArray = isntEmptyArray;
2567
+ array$2.isntEmptyArray = isntEmptyArray$2;
2568
2568
 
2569
- var asyncIterable = {};
2569
+ var asyncIterable$2 = {};
2570
2570
 
2571
- var _null = {};
2571
+ var _null$2 = {};
2572
2572
 
2573
- _null.isntNull = _null.isNull = void 0;
2574
- function isNull(val) {
2573
+ _null$2.isntNull = _null$2.isNull = void 0;
2574
+ function isNull$2(val) {
2575
2575
  return val === null;
2576
2576
  }
2577
- _null.isNull = isNull;
2578
- function isntNull(val) {
2579
- return !isNull(val);
2577
+ _null$2.isNull = isNull$2;
2578
+ function isntNull$2(val) {
2579
+ return !isNull$2(val);
2580
2580
  }
2581
- _null.isntNull = isntNull;
2581
+ _null$2.isntNull = isntNull$2;
2582
2582
 
2583
- var _undefined = {};
2583
+ var _undefined$2 = {};
2584
2584
 
2585
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
2586
- function isUndefined(val) {
2585
+ _undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
2586
+ function isUndefined$2(val) {
2587
2587
  return val === undefined;
2588
2588
  }
2589
- _undefined.isUndefined = isUndefined;
2590
- function isntUndefined(val) {
2591
- return !isUndefined(val);
2589
+ _undefined$2.isUndefined = isUndefined$2;
2590
+ function isntUndefined$2(val) {
2591
+ return !isUndefined$2(val);
2592
2592
  }
2593
- _undefined.isntUndefined = isntUndefined;
2593
+ _undefined$2.isntUndefined = isntUndefined$2;
2594
2594
 
2595
- var _function = {};
2595
+ var _function$2 = {};
2596
2596
 
2597
- _function.isntFunction = _function.isFunction = void 0;
2598
- function isFunction$2(val) {
2597
+ _function$2.isntFunction = _function$2.isFunction = void 0;
2598
+ function isFunction$4(val) {
2599
2599
  return typeof val === 'function';
2600
2600
  }
2601
- _function.isFunction = isFunction$2;
2602
- function isntFunction(val) {
2603
- return !isFunction$2(val);
2601
+ _function$2.isFunction = isFunction$4;
2602
+ function isntFunction$2(val) {
2603
+ return !isFunction$4(val);
2604
2604
  }
2605
- _function.isntFunction = isntFunction;
2605
+ _function$2.isntFunction = isntFunction$2;
2606
2606
 
2607
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
2608
- const null_1$2 = _null;
2609
- const undefined_1$1 = _undefined;
2610
- const function_1$2 = _function;
2611
- function isAsyncIterable$2(val) {
2612
- return (0, null_1$2.isntNull)(val)
2613
- && (0, undefined_1$1.isntUndefined)(val)
2614
- && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
2607
+ asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
2608
+ const null_1$8 = _null$2;
2609
+ const undefined_1$5 = _undefined$2;
2610
+ const function_1$8 = _function$2;
2611
+ function isAsyncIterable$4(val) {
2612
+ return (0, null_1$8.isntNull)(val)
2613
+ && (0, undefined_1$5.isntUndefined)(val)
2614
+ && (0, function_1$8.isFunction)(val[Symbol.asyncIterator]);
2615
2615
  }
2616
- asyncIterable.isAsyncIterable = isAsyncIterable$2;
2617
- function isntAsyncIterable(val) {
2618
- return !isAsyncIterable$2(val);
2616
+ asyncIterable$2.isAsyncIterable = isAsyncIterable$4;
2617
+ function isntAsyncIterable$2(val) {
2618
+ return !isAsyncIterable$4(val);
2619
2619
  }
2620
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
2620
+ asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
2621
2621
 
2622
- var bigint = {};
2622
+ var bigint$2 = {};
2623
2623
 
2624
- bigint.isntBigInt = bigint.isBigInt = void 0;
2625
- function isBigInt(val) {
2624
+ bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
2625
+ function isBigInt$2(val) {
2626
2626
  return typeof val === 'bigint';
2627
2627
  }
2628
- bigint.isBigInt = isBigInt;
2629
- function isntBigInt(val) {
2630
- return !isBigInt(val);
2628
+ bigint$2.isBigInt = isBigInt$2;
2629
+ function isntBigInt$2(val) {
2630
+ return !isBigInt$2(val);
2631
2631
  }
2632
- bigint.isntBigInt = isntBigInt;
2632
+ bigint$2.isntBigInt = isntBigInt$2;
2633
2633
 
2634
- var boolean = {};
2634
+ var boolean$2 = {};
2635
2635
 
2636
- boolean.isntBoolean = boolean.isBoolean = void 0;
2637
- function isBoolean(val) {
2636
+ boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
2637
+ function isBoolean$2(val) {
2638
2638
  return typeof val === 'boolean';
2639
2639
  }
2640
- boolean.isBoolean = isBoolean;
2641
- function isntBoolean(val) {
2642
- return !isBoolean(val);
2640
+ boolean$2.isBoolean = isBoolean$2;
2641
+ function isntBoolean$2(val) {
2642
+ return !isBoolean$2(val);
2643
2643
  }
2644
- boolean.isntBoolean = isntBoolean;
2644
+ boolean$2.isntBoolean = isntBoolean$2;
2645
2645
 
2646
- var char = {};
2646
+ var char$2 = {};
2647
2647
 
2648
- var string = {};
2648
+ var string$2 = {};
2649
2649
 
2650
- string.isntString = string.isString = void 0;
2651
- function isString(val) {
2650
+ string$2.isntString = string$2.isString = void 0;
2651
+ function isString$2(val) {
2652
2652
  return typeof val === 'string';
2653
2653
  }
2654
- string.isString = isString;
2655
- function isntString(val) {
2656
- return !isString(val);
2654
+ string$2.isString = isString$2;
2655
+ function isntString$2(val) {
2656
+ return !isString$2(val);
2657
2657
  }
2658
- string.isntString = isntString;
2658
+ string$2.isntString = isntString$2;
2659
2659
 
2660
- char.isntChar = char.isChar = void 0;
2661
- const string_1$1 = string;
2662
- function isChar(val) {
2663
- return (0, string_1$1.isString)(val)
2660
+ char$2.isntChar = char$2.isChar = void 0;
2661
+ const string_1$5 = string$2;
2662
+ function isChar$2(val) {
2663
+ return (0, string_1$5.isString)(val)
2664
2664
  && val.length === 1;
2665
2665
  }
2666
- char.isChar = isChar;
2667
- function isntChar(val) {
2668
- return !isChar(val);
2666
+ char$2.isChar = isChar$2;
2667
+ function isntChar$2(val) {
2668
+ return !isChar$2(val);
2669
2669
  }
2670
- char.isntChar = isntChar;
2670
+ char$2.isntChar = isntChar$2;
2671
2671
 
2672
- var date = {};
2672
+ var date$2 = {};
2673
2673
 
2674
- date.isntDate = date.isDate = void 0;
2675
- function isDate$1(val) {
2674
+ date$2.isntDate = date$2.isDate = void 0;
2675
+ function isDate$3(val) {
2676
2676
  return val instanceof Date;
2677
2677
  }
2678
- date.isDate = isDate$1;
2679
- function isntDate(val) {
2680
- return !isDate$1(val);
2678
+ date$2.isDate = isDate$3;
2679
+ function isntDate$2(val) {
2680
+ return !isDate$3(val);
2681
2681
  }
2682
- date.isntDate = isntDate;
2682
+ date$2.isntDate = isntDate$2;
2683
2683
 
2684
- var _enum = {};
2684
+ var _enum$2 = {};
2685
2685
 
2686
- _enum.inEnum = void 0;
2687
- function inEnum(val, _enum) {
2686
+ _enum$2.inEnum = void 0;
2687
+ function inEnum$2(val, _enum) {
2688
2688
  return Object.values(_enum).includes(val);
2689
2689
  }
2690
- _enum.inEnum = inEnum;
2690
+ _enum$2.inEnum = inEnum$2;
2691
2691
 
2692
- var error = {};
2692
+ var error$2 = {};
2693
2693
 
2694
- error.isntError = error.isError = void 0;
2695
- function isError(val) {
2694
+ error$2.isntError = error$2.isError = void 0;
2695
+ function isError$2(val) {
2696
2696
  return val instanceof Error;
2697
2697
  }
2698
- error.isError = isError;
2699
- function isntError(val) {
2700
- return !isError(val);
2698
+ error$2.isError = isError$2;
2699
+ function isntError$2(val) {
2700
+ return !isError$2(val);
2701
2701
  }
2702
- error.isntError = isntError;
2702
+ error$2.isntError = isntError$2;
2703
2703
 
2704
- var falsy = {};
2704
+ var falsy$2 = {};
2705
2705
 
2706
- falsy.isntFalsy = falsy.isFalsy = void 0;
2707
- function isFalsy(val) {
2706
+ falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
2707
+ function isFalsy$2(val) {
2708
2708
  return !val;
2709
2709
  }
2710
- falsy.isFalsy = isFalsy;
2711
- function isntFalsy(val) {
2712
- return !isFalsy(val);
2710
+ falsy$2.isFalsy = isFalsy$2;
2711
+ function isntFalsy$2(val) {
2712
+ return !isFalsy$2(val);
2713
2713
  }
2714
- falsy.isntFalsy = isntFalsy;
2714
+ falsy$2.isntFalsy = isntFalsy$2;
2715
2715
 
2716
- var iterable = {};
2716
+ var iterable$2 = {};
2717
2717
 
2718
- iterable.isntIterable = iterable.isIterable = void 0;
2719
- const null_1$1 = _null;
2720
- const undefined_1 = _undefined;
2721
- const function_1$1 = _function;
2722
- function isIterable$2(val) {
2723
- return (0, null_1$1.isntNull)(val)
2724
- && (0, undefined_1.isntUndefined)(val)
2725
- && (0, function_1$1.isFunction)(val[Symbol.iterator]);
2718
+ iterable$2.isntIterable = iterable$2.isIterable = void 0;
2719
+ const null_1$7 = _null$2;
2720
+ const undefined_1$4 = _undefined$2;
2721
+ const function_1$7 = _function$2;
2722
+ function isIterable$4(val) {
2723
+ return (0, null_1$7.isntNull)(val)
2724
+ && (0, undefined_1$4.isntUndefined)(val)
2725
+ && (0, function_1$7.isFunction)(val[Symbol.iterator]);
2726
2726
  }
2727
- iterable.isIterable = isIterable$2;
2728
- function isntIterable(val) {
2729
- return !isIterable$2(val);
2727
+ iterable$2.isIterable = isIterable$4;
2728
+ function isntIterable$2(val) {
2729
+ return !isIterable$4(val);
2730
2730
  }
2731
- iterable.isntIterable = isntIterable;
2731
+ iterable$2.isntIterable = isntIterable$2;
2732
2732
 
2733
- var json = {};
2733
+ var json$2 = {};
2734
2734
 
2735
- var number = {};
2735
+ var number$2 = {};
2736
2736
 
2737
- number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
2738
- function isNumber(val) {
2737
+ number$2.isntNaN = number$2.isNaN = number$2.isNegativeInfinity = number$2.isPositiveInfinity = number$2.isFinite = number$2.isntNumber = number$2.isNumber = void 0;
2738
+ function isNumber$2(val) {
2739
2739
  return typeof val === 'number';
2740
2740
  }
2741
- number.isNumber = isNumber;
2742
- function isntNumber(val) {
2743
- return !isNumber(val);
2741
+ number$2.isNumber = isNumber$2;
2742
+ function isntNumber$2(val) {
2743
+ return !isNumber$2(val);
2744
2744
  }
2745
- number.isntNumber = isntNumber;
2746
- function isFinite(val) {
2745
+ number$2.isntNumber = isntNumber$2;
2746
+ function isFinite$2(val) {
2747
2747
  return Number.isFinite(val);
2748
2748
  }
2749
- number.isFinite = isFinite;
2750
- function isPositiveInfinity(val) {
2749
+ number$2.isFinite = isFinite$2;
2750
+ function isPositiveInfinity$2(val) {
2751
2751
  return val === Infinity;
2752
2752
  }
2753
- number.isPositiveInfinity = isPositiveInfinity;
2754
- function isNegativeInfinity(val) {
2753
+ number$2.isPositiveInfinity = isPositiveInfinity$2;
2754
+ function isNegativeInfinity$2(val) {
2755
2755
  return val === -Infinity;
2756
2756
  }
2757
- number.isNegativeInfinity = isNegativeInfinity;
2758
- function isNaN$1(val) {
2757
+ number$2.isNegativeInfinity = isNegativeInfinity$2;
2758
+ function isNaN$3(val) {
2759
2759
  return Number.isNaN(val);
2760
2760
  }
2761
- number.isNaN = isNaN$1;
2762
- function isntNaN(val) {
2763
- return !isNaN$1(val);
2761
+ number$2.isNaN = isNaN$3;
2762
+ function isntNaN$2(val) {
2763
+ return !isNaN$3(val);
2764
2764
  }
2765
- number.isntNaN = isntNaN;
2765
+ number$2.isntNaN = isntNaN$2;
2766
2766
 
2767
- var object = {};
2767
+ var object$2 = {};
2768
2768
 
2769
2769
  /** Detect free variable `global` from Node.js. */
2770
2770
 
@@ -2992,7 +2992,7 @@ var objectCtorString = funcToString.call(Object);
2992
2992
  * _.isPlainObject(Object.create(null));
2993
2993
  * // => true
2994
2994
  */
2995
- function isPlainObject$1(value) {
2995
+ function isPlainObject$3(value) {
2996
2996
  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
2997
2997
  return false;
2998
2998
  }
@@ -3005,59 +3005,59 @@ function isPlainObject$1(value) {
3005
3005
  funcToString.call(Ctor) == objectCtorString;
3006
3006
  }
3007
3007
 
3008
- var isPlainObject_1$1 = isPlainObject$1;
3008
+ var isPlainObject_1$3 = isPlainObject$3;
3009
3009
 
3010
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
3010
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
3011
3011
  return (mod && mod.__esModule) ? mod : { "default": mod };
3012
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
3013
- const isPlainObject_1 = __importDefault(isPlainObject_1$1);
3014
- function isObject(val) {
3012
+ };object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
3013
+ const isPlainObject_1$2 = __importDefault$2(isPlainObject_1$3);
3014
+ function isObject$2(val) {
3015
3015
  return val !== null
3016
3016
  && typeof val === 'object';
3017
3017
  }
3018
- object.isObject = isObject;
3019
- function isntObject(val) {
3020
- return !isObject(val);
3018
+ object$2.isObject = isObject$2;
3019
+ function isntObject$2(val) {
3020
+ return !isObject$2(val);
3021
3021
  }
3022
- object.isntObject = isntObject;
3023
- function isPlainObject(val) {
3024
- return (0, isPlainObject_1.default)(val);
3022
+ object$2.isntObject = isntObject$2;
3023
+ function isPlainObject$2(val) {
3024
+ return (0, isPlainObject_1$2.default)(val);
3025
3025
  }
3026
- object.isPlainObject = isPlainObject;
3027
- function isntPlainObject(val) {
3028
- return !isPlainObject(val);
3026
+ object$2.isPlainObject = isPlainObject$2;
3027
+ function isntPlainObject$2(val) {
3028
+ return !isPlainObject$2(val);
3029
3029
  }
3030
- object.isntPlainObject = isntPlainObject;
3031
- function isEmptyObject(val) {
3030
+ object$2.isntPlainObject = isntPlainObject$2;
3031
+ function isEmptyObject$2(val) {
3032
3032
  return Object.keys(val).length === 0;
3033
3033
  }
3034
- object.isEmptyObject = isEmptyObject;
3035
- function isntEmptyObject(val) {
3034
+ object$2.isEmptyObject = isEmptyObject$2;
3035
+ function isntEmptyObject$2(val) {
3036
3036
  return Object.keys(val).length !== 0;
3037
3037
  }
3038
- object.isntEmptyObject = isntEmptyObject;
3039
-
3040
- json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
3041
- const null_1 = _null;
3042
- const boolean_1 = boolean;
3043
- const string_1 = string;
3044
- const number_1 = number;
3045
- const array_1 = array;
3046
- const object_1$1 = object;
3047
- function isJson(val) {
3048
- return (0, null_1.isNull)(val)
3049
- || (0, boolean_1.isBoolean)(val)
3050
- || (0, string_1.isString)(val)
3051
- || (0, number_1.isNumber)(val)
3052
- || ((0, array_1.isArray)(val) && val.every(isJson))
3053
- || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
3054
- }
3055
- json.isJson = isJson;
3056
- function isntJson(val) {
3057
- return !isJson(val);
3058
- }
3059
- json.isntJson = isntJson;
3060
- function isJsonable(val) {
3038
+ object$2.isntEmptyObject = isntEmptyObject$2;
3039
+
3040
+ json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
3041
+ const null_1$6 = _null$2;
3042
+ const boolean_1$2 = boolean$2;
3043
+ const string_1$4 = string$2;
3044
+ const number_1$2 = number$2;
3045
+ const array_1$2 = array$2;
3046
+ const object_1$5 = object$2;
3047
+ function isJson$2(val) {
3048
+ return (0, null_1$6.isNull)(val)
3049
+ || (0, boolean_1$2.isBoolean)(val)
3050
+ || (0, string_1$4.isString)(val)
3051
+ || (0, number_1$2.isNumber)(val)
3052
+ || ((0, array_1$2.isArray)(val) && val.every(isJson$2))
3053
+ || ((0, object_1$5.isPlainObject)(val) && Object.values(val).every(isJson$2));
3054
+ }
3055
+ json$2.isJson = isJson$2;
3056
+ function isntJson$2(val) {
3057
+ return !isJson$2(val);
3058
+ }
3059
+ json$2.isntJson = isntJson$2;
3060
+ function isJsonable$2(val) {
3061
3061
  try {
3062
3062
  JSON.stringify(val);
3063
3063
  return true;
@@ -3066,39 +3066,39 @@ function isJsonable(val) {
3066
3066
  return false;
3067
3067
  }
3068
3068
  }
3069
- json.isJsonable = isJsonable;
3070
- function isntJsonable(val) {
3071
- return !isntJsonable();
3069
+ json$2.isJsonable = isJsonable$2;
3070
+ function isntJsonable$2(val) {
3071
+ return !isntJsonable$2();
3072
3072
  }
3073
- json.isntJsonable = isntJsonable;
3073
+ json$2.isntJsonable = isntJsonable$2;
3074
3074
 
3075
- var promise = {};
3075
+ var promise$2 = {};
3076
3076
 
3077
- promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
3078
- const object_1 = object;
3079
- const function_1 = _function;
3080
- function isPromise$2(val) {
3077
+ promise$2.isPromiseLike = promise$2.isntPromiseLike = promise$2.isntPromise = promise$2.isPromise = void 0;
3078
+ const object_1$4 = object$2;
3079
+ const function_1$6 = _function$2;
3080
+ function isPromise$4(val) {
3081
3081
  return val instanceof Promise;
3082
3082
  }
3083
- promise.isPromise = isPromise$2;
3084
- function isntPromise(val) {
3085
- return !isPromise$2(val);
3083
+ promise$2.isPromise = isPromise$4;
3084
+ function isntPromise$2(val) {
3085
+ return !isPromise$4(val);
3086
3086
  }
3087
- promise.isntPromise = isntPromise;
3088
- function isntPromiseLike(val) {
3089
- return !isPromiseLike(val);
3087
+ promise$2.isntPromise = isntPromise$2;
3088
+ function isntPromiseLike$2(val) {
3089
+ return !isPromiseLike$2(val);
3090
3090
  }
3091
- promise.isntPromiseLike = isntPromiseLike;
3092
- function isPromiseLike(val) {
3093
- return (0, object_1.isObject)(val)
3094
- && (0, function_1.isFunction)(val.then);
3091
+ promise$2.isntPromiseLike = isntPromiseLike$2;
3092
+ function isPromiseLike$2(val) {
3093
+ return (0, object_1$4.isObject)(val)
3094
+ && (0, function_1$6.isFunction)(val.then);
3095
3095
  }
3096
- promise.isPromiseLike = isPromiseLike;
3096
+ promise$2.isPromiseLike = isPromiseLike$2;
3097
3097
 
3098
- var url = {};
3098
+ var url$2 = {};
3099
3099
 
3100
- url.isAbsoluteURL = void 0;
3101
- function isAbsoluteURL(str) {
3100
+ url$2.isAbsoluteURL = void 0;
3101
+ function isAbsoluteURL$2(str) {
3102
3102
  try {
3103
3103
  new URL(str);
3104
3104
  return true;
@@ -3107,7 +3107,19 @@ function isAbsoluteURL(str) {
3107
3107
  return false;
3108
3108
  }
3109
3109
  }
3110
- url.isAbsoluteURL = isAbsoluteURL;
3110
+ url$2.isAbsoluteURL = isAbsoluteURL$2;
3111
+
3112
+ var regexp = {};
3113
+
3114
+ regexp.isntRegExp = regexp.isRegExp = void 0;
3115
+ function isRegExp(val) {
3116
+ return val instanceof RegExp;
3117
+ }
3118
+ regexp.isRegExp = isRegExp;
3119
+ function isntRegExp(val) {
3120
+ return !isRegExp(val);
3121
+ }
3122
+ regexp.isntRegExp = isntRegExp;
3111
3123
 
3112
3124
  (function (exports) {
3113
3125
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -3123,39 +3135,40 @@ url.isAbsoluteURL = isAbsoluteURL;
3123
3135
  }));
3124
3136
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3125
3137
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3126
- };__exportStar(array, exports);
3127
- __exportStar(asyncIterable, exports);
3128
- __exportStar(bigint, exports);
3129
- __exportStar(boolean, exports);
3130
- __exportStar(char, exports);
3131
- __exportStar(date, exports);
3132
- __exportStar(_enum, exports);
3133
- __exportStar(error, exports);
3134
- __exportStar(falsy, exports);
3135
- __exportStar(_function, exports);
3136
- __exportStar(iterable, exports);
3137
- __exportStar(json, exports);
3138
- __exportStar(_null, exports);
3139
- __exportStar(number, exports);
3140
- __exportStar(object, exports);
3141
- __exportStar(promise, exports);
3142
- __exportStar(string, exports);
3143
- __exportStar(_undefined, exports);
3144
- __exportStar(url, exports);
3138
+ };__exportStar(array$2, exports);
3139
+ __exportStar(asyncIterable$2, exports);
3140
+ __exportStar(bigint$2, exports);
3141
+ __exportStar(boolean$2, exports);
3142
+ __exportStar(char$2, exports);
3143
+ __exportStar(date$2, exports);
3144
+ __exportStar(_enum$2, exports);
3145
+ __exportStar(error$2, exports);
3146
+ __exportStar(falsy$2, exports);
3147
+ __exportStar(_function$2, exports);
3148
+ __exportStar(iterable$2, exports);
3149
+ __exportStar(json$2, exports);
3150
+ __exportStar(_null$2, exports);
3151
+ __exportStar(number$2, exports);
3152
+ __exportStar(object$2, exports);
3153
+ __exportStar(promise$2, exports);
3154
+ __exportStar(string$2, exports);
3155
+ __exportStar(_undefined$2, exports);
3156
+ __exportStar(url$2, exports);
3157
+ __exportStar(regexp, exports);
3145
3158
 
3146
- } (es2018$7));
3159
+ } (es2018$9));
3147
3160
 
3148
- var es2018$6 = {};
3161
+ var es2018$8 = {};
3149
3162
 
3150
3163
  var customError = {};
3151
3164
 
3152
- var es2018$5 = {};
3165
+ var es2018$7 = {};
3153
3166
 
3154
3167
  var middleware = {};
3155
3168
 
3156
3169
  var chunkAsync = {};
3157
3170
 
3158
- var es2018$4 = {};
3171
+ var es2018$6 = {};
3159
3172
 
3160
3173
  var go$1 = {};
3161
3174
 
@@ -3177,7 +3190,7 @@ go$1.go = go;
3177
3190
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3178
3191
  };__exportStar(go$1, exports);
3179
3192
 
3180
- } (es2018$4));
3193
+ } (es2018$6));
3181
3194
 
3182
3195
  var hasRequiredChunkAsync;
3183
3196
 
@@ -3185,7 +3198,7 @@ function requireChunkAsync () {
3185
3198
  if (hasRequiredChunkAsync) return chunkAsync;
3186
3199
  hasRequiredChunkAsync = 1;
3187
3200
  chunkAsync.chunkAsync = void 0;
3188
- const go_1 = es2018$4;
3201
+ const go_1 = es2018$6;
3189
3202
  const errors_1 = requireEs2018();
3190
3203
  function chunkAsync$1(iterable, size) {
3191
3204
  (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -3210,50 +3223,410 @@ chunkAsync.chunkAsync = void 0;
3210
3223
 
3211
3224
  var chunkByAsync$1 = {};
3212
3225
 
3213
- chunkByAsync$1.chunkByAsync = void 0;
3214
- const types_1$j = es2018$7;
3215
- function chunkByAsync(iterable, predicate) {
3216
- if ((0, types_1$j.isAsyncIterable)(iterable)) {
3217
- return chunkByAsyncIterable(iterable);
3218
- }
3219
- else {
3220
- return chunkByIterable(iterable);
3221
- }
3222
- async function* chunkByAsyncIterable(iterable) {
3223
- let buffer = [];
3224
- let index = 0;
3225
- for await (const element of iterable) {
3226
- buffer.push(element);
3227
- if (await predicate(element, index)) {
3228
- yield buffer;
3229
- buffer = [];
3230
- }
3231
- index++;
3232
- }
3233
- if (buffer.length)
3234
- yield buffer;
3235
- }
3236
- async function* chunkByIterable(iterable) {
3237
- let buffer = [];
3238
- let index = 0;
3239
- for (const element of iterable) {
3240
- buffer.push(element);
3241
- if (await predicate(element, index)) {
3242
- yield buffer;
3243
- buffer = [];
3244
- }
3245
- index++;
3246
- }
3247
- if (buffer.length)
3248
- yield buffer;
3249
- }
3250
- }
3251
- chunkByAsync$1.chunkByAsync = chunkByAsync;
3226
+ var es2018$5 = {};
3252
3227
 
3253
- var chunkBy$1 = {};
3228
+ var array$1 = {};
3254
3229
 
3255
- chunkBy$1.chunkBy = void 0;
3256
- function* chunkBy(iterable, predicate) {
3230
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
3231
+ function isArray$4(val) {
3232
+ return Array.isArray(val);
3233
+ }
3234
+ array$1.isArray = isArray$4;
3235
+ function isntArray$1(val) {
3236
+ return !isArray$4(val);
3237
+ }
3238
+ array$1.isntArray = isntArray$1;
3239
+ function isEmptyArray$1(val) {
3240
+ return val.length === 0;
3241
+ }
3242
+ array$1.isEmptyArray = isEmptyArray$1;
3243
+ function isntEmptyArray$1(val) {
3244
+ return val.length !== 0;
3245
+ }
3246
+ array$1.isntEmptyArray = isntEmptyArray$1;
3247
+
3248
+ var asyncIterable$1 = {};
3249
+
3250
+ var _null$1 = {};
3251
+
3252
+ _null$1.isntNull = _null$1.isNull = void 0;
3253
+ function isNull$1(val) {
3254
+ return val === null;
3255
+ }
3256
+ _null$1.isNull = isNull$1;
3257
+ function isntNull$1(val) {
3258
+ return !isNull$1(val);
3259
+ }
3260
+ _null$1.isntNull = isntNull$1;
3261
+
3262
+ var _undefined$1 = {};
3263
+
3264
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
3265
+ function isUndefined$1(val) {
3266
+ return val === undefined;
3267
+ }
3268
+ _undefined$1.isUndefined = isUndefined$1;
3269
+ function isntUndefined$1(val) {
3270
+ return !isUndefined$1(val);
3271
+ }
3272
+ _undefined$1.isntUndefined = isntUndefined$1;
3273
+
3274
+ var _function$1 = {};
3275
+
3276
+ _function$1.isntFunction = _function$1.isFunction = void 0;
3277
+ function isFunction$3(val) {
3278
+ return typeof val === 'function';
3279
+ }
3280
+ _function$1.isFunction = isFunction$3;
3281
+ function isntFunction$1(val) {
3282
+ return !isFunction$3(val);
3283
+ }
3284
+ _function$1.isntFunction = isntFunction$1;
3285
+
3286
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
3287
+ const null_1$5 = _null$1;
3288
+ const undefined_1$3 = _undefined$1;
3289
+ const function_1$5 = _function$1;
3290
+ function isAsyncIterable$3(val) {
3291
+ return (0, null_1$5.isntNull)(val)
3292
+ && (0, undefined_1$3.isntUndefined)(val)
3293
+ && (0, function_1$5.isFunction)(val[Symbol.asyncIterator]);
3294
+ }
3295
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$3;
3296
+ function isntAsyncIterable$1(val) {
3297
+ return !isAsyncIterable$3(val);
3298
+ }
3299
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
3300
+
3301
+ var bigint$1 = {};
3302
+
3303
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
3304
+ function isBigInt$1(val) {
3305
+ return typeof val === 'bigint';
3306
+ }
3307
+ bigint$1.isBigInt = isBigInt$1;
3308
+ function isntBigInt$1(val) {
3309
+ return !isBigInt$1(val);
3310
+ }
3311
+ bigint$1.isntBigInt = isntBigInt$1;
3312
+
3313
+ var boolean$1 = {};
3314
+
3315
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
3316
+ function isBoolean$1(val) {
3317
+ return typeof val === 'boolean';
3318
+ }
3319
+ boolean$1.isBoolean = isBoolean$1;
3320
+ function isntBoolean$1(val) {
3321
+ return !isBoolean$1(val);
3322
+ }
3323
+ boolean$1.isntBoolean = isntBoolean$1;
3324
+
3325
+ var char$1 = {};
3326
+
3327
+ var string$1 = {};
3328
+
3329
+ string$1.isntString = string$1.isString = void 0;
3330
+ function isString$1(val) {
3331
+ return typeof val === 'string';
3332
+ }
3333
+ string$1.isString = isString$1;
3334
+ function isntString$1(val) {
3335
+ return !isString$1(val);
3336
+ }
3337
+ string$1.isntString = isntString$1;
3338
+
3339
+ char$1.isntChar = char$1.isChar = void 0;
3340
+ const string_1$3 = string$1;
3341
+ function isChar$1(val) {
3342
+ return (0, string_1$3.isString)(val)
3343
+ && val.length === 1;
3344
+ }
3345
+ char$1.isChar = isChar$1;
3346
+ function isntChar$1(val) {
3347
+ return !isChar$1(val);
3348
+ }
3349
+ char$1.isntChar = isntChar$1;
3350
+
3351
+ var date$1 = {};
3352
+
3353
+ date$1.isntDate = date$1.isDate = void 0;
3354
+ function isDate$2(val) {
3355
+ return val instanceof Date;
3356
+ }
3357
+ date$1.isDate = isDate$2;
3358
+ function isntDate$1(val) {
3359
+ return !isDate$2(val);
3360
+ }
3361
+ date$1.isntDate = isntDate$1;
3362
+
3363
+ var _enum$1 = {};
3364
+
3365
+ _enum$1.inEnum = void 0;
3366
+ function inEnum$1(val, _enum) {
3367
+ return Object.values(_enum).includes(val);
3368
+ }
3369
+ _enum$1.inEnum = inEnum$1;
3370
+
3371
+ var error$1 = {};
3372
+
3373
+ error$1.isntError = error$1.isError = void 0;
3374
+ function isError$1(val) {
3375
+ return val instanceof Error;
3376
+ }
3377
+ error$1.isError = isError$1;
3378
+ function isntError$1(val) {
3379
+ return !isError$1(val);
3380
+ }
3381
+ error$1.isntError = isntError$1;
3382
+
3383
+ var falsy$1 = {};
3384
+
3385
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
3386
+ function isFalsy$1(val) {
3387
+ return !val;
3388
+ }
3389
+ falsy$1.isFalsy = isFalsy$1;
3390
+ function isntFalsy$1(val) {
3391
+ return !isFalsy$1(val);
3392
+ }
3393
+ falsy$1.isntFalsy = isntFalsy$1;
3394
+
3395
+ var iterable$1 = {};
3396
+
3397
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
3398
+ const null_1$4 = _null$1;
3399
+ const undefined_1$2 = _undefined$1;
3400
+ const function_1$4 = _function$1;
3401
+ function isIterable$3(val) {
3402
+ return (0, null_1$4.isntNull)(val)
3403
+ && (0, undefined_1$2.isntUndefined)(val)
3404
+ && (0, function_1$4.isFunction)(val[Symbol.iterator]);
3405
+ }
3406
+ iterable$1.isIterable = isIterable$3;
3407
+ function isntIterable$1(val) {
3408
+ return !isIterable$3(val);
3409
+ }
3410
+ iterable$1.isntIterable = isntIterable$1;
3411
+
3412
+ var json$1 = {};
3413
+
3414
+ var number$1 = {};
3415
+
3416
+ number$1.isntNaN = number$1.isNaN = number$1.isNegativeInfinity = number$1.isPositiveInfinity = number$1.isFinite = number$1.isntNumber = number$1.isNumber = void 0;
3417
+ function isNumber$1(val) {
3418
+ return typeof val === 'number';
3419
+ }
3420
+ number$1.isNumber = isNumber$1;
3421
+ function isntNumber$1(val) {
3422
+ return !isNumber$1(val);
3423
+ }
3424
+ number$1.isntNumber = isntNumber$1;
3425
+ function isFinite$1(val) {
3426
+ return Number.isFinite(val);
3427
+ }
3428
+ number$1.isFinite = isFinite$1;
3429
+ function isPositiveInfinity$1(val) {
3430
+ return val === Infinity;
3431
+ }
3432
+ number$1.isPositiveInfinity = isPositiveInfinity$1;
3433
+ function isNegativeInfinity$1(val) {
3434
+ return val === -Infinity;
3435
+ }
3436
+ number$1.isNegativeInfinity = isNegativeInfinity$1;
3437
+ function isNaN$2(val) {
3438
+ return Number.isNaN(val);
3439
+ }
3440
+ number$1.isNaN = isNaN$2;
3441
+ function isntNaN$1(val) {
3442
+ return !isNaN$2(val);
3443
+ }
3444
+ number$1.isntNaN = isntNaN$1;
3445
+
3446
+ var object$1 = {};
3447
+
3448
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
3449
+ return (mod && mod.__esModule) ? mod : { "default": mod };
3450
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
3451
+ const isPlainObject_1$1 = __importDefault$1(isPlainObject_1$3);
3452
+ function isObject$1(val) {
3453
+ return val !== null
3454
+ && typeof val === 'object';
3455
+ }
3456
+ object$1.isObject = isObject$1;
3457
+ function isntObject$1(val) {
3458
+ return !isObject$1(val);
3459
+ }
3460
+ object$1.isntObject = isntObject$1;
3461
+ function isPlainObject$1(val) {
3462
+ return (0, isPlainObject_1$1.default)(val);
3463
+ }
3464
+ object$1.isPlainObject = isPlainObject$1;
3465
+ function isntPlainObject$1(val) {
3466
+ return !isPlainObject$1(val);
3467
+ }
3468
+ object$1.isntPlainObject = isntPlainObject$1;
3469
+ function isEmptyObject$1(val) {
3470
+ return Object.keys(val).length === 0;
3471
+ }
3472
+ object$1.isEmptyObject = isEmptyObject$1;
3473
+ function isntEmptyObject$1(val) {
3474
+ return Object.keys(val).length !== 0;
3475
+ }
3476
+ object$1.isntEmptyObject = isntEmptyObject$1;
3477
+
3478
+ json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
3479
+ const null_1$3 = _null$1;
3480
+ const boolean_1$1 = boolean$1;
3481
+ const string_1$2 = string$1;
3482
+ const number_1$1 = number$1;
3483
+ const array_1$1 = array$1;
3484
+ const object_1$3 = object$1;
3485
+ function isJson$1(val) {
3486
+ return (0, null_1$3.isNull)(val)
3487
+ || (0, boolean_1$1.isBoolean)(val)
3488
+ || (0, string_1$2.isString)(val)
3489
+ || (0, number_1$1.isNumber)(val)
3490
+ || ((0, array_1$1.isArray)(val) && val.every(isJson$1))
3491
+ || ((0, object_1$3.isPlainObject)(val) && Object.values(val).every(isJson$1));
3492
+ }
3493
+ json$1.isJson = isJson$1;
3494
+ function isntJson$1(val) {
3495
+ return !isJson$1(val);
3496
+ }
3497
+ json$1.isntJson = isntJson$1;
3498
+ function isJsonable$1(val) {
3499
+ try {
3500
+ JSON.stringify(val);
3501
+ return true;
3502
+ }
3503
+ catch (_a) {
3504
+ return false;
3505
+ }
3506
+ }
3507
+ json$1.isJsonable = isJsonable$1;
3508
+ function isntJsonable$1(val) {
3509
+ return !isntJsonable$1();
3510
+ }
3511
+ json$1.isntJsonable = isntJsonable$1;
3512
+
3513
+ var promise$1 = {};
3514
+
3515
+ promise$1.isPromiseLike = promise$1.isntPromiseLike = promise$1.isntPromise = promise$1.isPromise = void 0;
3516
+ const object_1$2 = object$1;
3517
+ const function_1$3 = _function$1;
3518
+ function isPromise$3(val) {
3519
+ return val instanceof Promise;
3520
+ }
3521
+ promise$1.isPromise = isPromise$3;
3522
+ function isntPromise$1(val) {
3523
+ return !isPromise$3(val);
3524
+ }
3525
+ promise$1.isntPromise = isntPromise$1;
3526
+ function isntPromiseLike$1(val) {
3527
+ return !isPromiseLike$1(val);
3528
+ }
3529
+ promise$1.isntPromiseLike = isntPromiseLike$1;
3530
+ function isPromiseLike$1(val) {
3531
+ return (0, object_1$2.isObject)(val)
3532
+ && (0, function_1$3.isFunction)(val.then);
3533
+ }
3534
+ promise$1.isPromiseLike = isPromiseLike$1;
3535
+
3536
+ var url$1 = {};
3537
+
3538
+ url$1.isAbsoluteURL = void 0;
3539
+ function isAbsoluteURL$1(str) {
3540
+ try {
3541
+ new URL(str);
3542
+ return true;
3543
+ }
3544
+ catch (_a) {
3545
+ return false;
3546
+ }
3547
+ }
3548
+ url$1.isAbsoluteURL = isAbsoluteURL$1;
3549
+
3550
+ (function (exports) {
3551
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3552
+ if (k2 === undefined) k2 = k;
3553
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3554
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3555
+ desc = { enumerable: true, get: function() { return m[k]; } };
3556
+ }
3557
+ Object.defineProperty(o, k2, desc);
3558
+ }) : (function(o, m, k, k2) {
3559
+ if (k2 === undefined) k2 = k;
3560
+ o[k2] = m[k];
3561
+ }));
3562
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3563
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3564
+ };__exportStar(array$1, exports);
3565
+ __exportStar(asyncIterable$1, exports);
3566
+ __exportStar(bigint$1, exports);
3567
+ __exportStar(boolean$1, exports);
3568
+ __exportStar(char$1, exports);
3569
+ __exportStar(date$1, exports);
3570
+ __exportStar(_enum$1, exports);
3571
+ __exportStar(error$1, exports);
3572
+ __exportStar(falsy$1, exports);
3573
+ __exportStar(_function$1, exports);
3574
+ __exportStar(iterable$1, exports);
3575
+ __exportStar(json$1, exports);
3576
+ __exportStar(_null$1, exports);
3577
+ __exportStar(number$1, exports);
3578
+ __exportStar(object$1, exports);
3579
+ __exportStar(promise$1, exports);
3580
+ __exportStar(string$1, exports);
3581
+ __exportStar(_undefined$1, exports);
3582
+ __exportStar(url$1, exports);
3583
+
3584
+ } (es2018$5));
3585
+
3586
+ chunkByAsync$1.chunkByAsync = void 0;
3587
+ const types_1$j = es2018$5;
3588
+ function chunkByAsync(iterable, predicate) {
3589
+ if ((0, types_1$j.isAsyncIterable)(iterable)) {
3590
+ return chunkByAsyncIterable(iterable);
3591
+ }
3592
+ else {
3593
+ return chunkByIterable(iterable);
3594
+ }
3595
+ async function* chunkByAsyncIterable(iterable) {
3596
+ let buffer = [];
3597
+ let index = 0;
3598
+ for await (const element of iterable) {
3599
+ buffer.push(element);
3600
+ if (await predicate(element, index)) {
3601
+ yield buffer;
3602
+ buffer = [];
3603
+ }
3604
+ index++;
3605
+ }
3606
+ if (buffer.length)
3607
+ yield buffer;
3608
+ }
3609
+ async function* chunkByIterable(iterable) {
3610
+ let buffer = [];
3611
+ let index = 0;
3612
+ for (const element of iterable) {
3613
+ buffer.push(element);
3614
+ if (await predicate(element, index)) {
3615
+ yield buffer;
3616
+ buffer = [];
3617
+ }
3618
+ index++;
3619
+ }
3620
+ if (buffer.length)
3621
+ yield buffer;
3622
+ }
3623
+ }
3624
+ chunkByAsync$1.chunkByAsync = chunkByAsync;
3625
+
3626
+ var chunkBy$1 = {};
3627
+
3628
+ chunkBy$1.chunkBy = void 0;
3629
+ function* chunkBy(iterable, predicate) {
3257
3630
  let buffer = [];
3258
3631
  let index = 0;
3259
3632
  for (const element of iterable) {
@@ -3277,7 +3650,7 @@ function requireChunk () {
3277
3650
  if (hasRequiredChunk) return chunk;
3278
3651
  hasRequiredChunk = 1;
3279
3652
  chunk.chunk = void 0;
3280
- const go_1 = es2018$4;
3653
+ const go_1 = es2018$6;
3281
3654
  const errors_1 = requireEs2018();
3282
3655
  function chunk$1(iterable, size) {
3283
3656
  (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -3303,8 +3676,8 @@ chunk.chunk = void 0;
3303
3676
  var concatAsync$1 = {};
3304
3677
 
3305
3678
  concatAsync$1.concatAsync = void 0;
3306
- const types_1$i = es2018$7;
3307
- const go_1$1 = es2018$4;
3679
+ const types_1$i = es2018$5;
3680
+ const go_1$1 = es2018$6;
3308
3681
  function concatAsync(iterable, ...otherIterables) {
3309
3682
  return (0, go_1$1.go)(async function* () {
3310
3683
  for (const iter of [iterable, ...otherIterables]) {
@@ -3326,7 +3699,7 @@ concatAsync$1.concatAsync = concatAsync;
3326
3699
  var concat$5 = {};
3327
3700
 
3328
3701
  concat$5.concat = void 0;
3329
- const go_1 = es2018$4;
3702
+ const go_1 = es2018$6;
3330
3703
  function concat$4(iterable, ...otherIterables) {
3331
3704
  return (0, go_1.go)(function* () {
3332
3705
  for (const iter of [iterable, ...otherIterables]) {
@@ -3360,7 +3733,7 @@ function requireDropAsync () {
3360
3733
  if (hasRequiredDropAsync) return dropAsync;
3361
3734
  hasRequiredDropAsync = 1;
3362
3735
  dropAsync.dropAsync = void 0;
3363
- const go_1 = es2018$4;
3736
+ const go_1 = es2018$6;
3364
3737
  const utils_1 = utils;
3365
3738
  const errors_1 = requireEs2018();
3366
3739
  function dropAsync$1(iterable, count) {
@@ -3403,7 +3776,7 @@ function requireDropRightAsync () {
3403
3776
  if (hasRequiredDropRightAsync) return dropRightAsync;
3404
3777
  hasRequiredDropRightAsync = 1;
3405
3778
  dropRightAsync.dropRightAsync = void 0;
3406
- const go_1 = es2018$4;
3779
+ const go_1 = es2018$6;
3407
3780
  const utils_1 = utils;
3408
3781
  const errors_1 = requireEs2018();
3409
3782
  function dropRightAsync$1(iterable, count) {
@@ -3439,7 +3812,7 @@ function requireDropRight () {
3439
3812
  if (hasRequiredDropRight) return dropRight;
3440
3813
  hasRequiredDropRight = 1;
3441
3814
  dropRight.dropRight = void 0;
3442
- const go_1 = es2018$4;
3815
+ const go_1 = es2018$6;
3443
3816
  const utils_1 = utils;
3444
3817
  const errors_1 = requireEs2018();
3445
3818
  function dropRight$1(iterable, count) {
@@ -3460,7 +3833,7 @@ dropRight.dropRight = void 0;
3460
3833
  var dropUntilAsync$1 = {};
3461
3834
 
3462
3835
  dropUntilAsync$1.dropUntilAsync = void 0;
3463
- const types_1$h = es2018$7;
3836
+ const types_1$h = es2018$5;
3464
3837
  function dropUntilAsync(iterable, predicate) {
3465
3838
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
3466
3839
  return dropUntilAsyncIterable(iterable);
@@ -3547,7 +3920,7 @@ function requireDrop () {
3547
3920
  if (hasRequiredDrop) return drop;
3548
3921
  hasRequiredDrop = 1;
3549
3922
  drop.drop = void 0;
3550
- const go_1 = es2018$4;
3923
+ const go_1 = es2018$6;
3551
3924
  const utils_1 = utils;
3552
3925
  const errors_1 = requireEs2018();
3553
3926
  function drop$1(iterable, count) {
@@ -3585,7 +3958,7 @@ drop.drop = void 0;
3585
3958
  var filterAsync$1 = {};
3586
3959
 
3587
3960
  filterAsync$1.filterAsync = void 0;
3588
- const types_1$g = es2018$7;
3961
+ const types_1$g = es2018$5;
3589
3962
  function filterAsync(iterable, predicate) {
3590
3963
  if ((0, types_1$g.isAsyncIterable)(iterable)) {
3591
3964
  return filterAsyncIterable(iterable);
@@ -3632,7 +4005,7 @@ var flattenDeepAsync = {};
3632
4005
  var flattenByAsync$1 = {};
3633
4006
 
3634
4007
  flattenByAsync$1.flattenByAsync = void 0;
3635
- const types_1$f = es2018$7;
4008
+ const types_1$f = es2018$5;
3636
4009
  function flattenByAsync(iterable, predicate) {
3637
4010
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
3638
4011
  return flattenByAsyncIterable(iterable);
@@ -3706,7 +4079,7 @@ flattenAsync.flattenAsync = void 0;
3706
4079
  var flattenBy$1 = {};
3707
4080
 
3708
4081
  flattenBy$1.flattenBy = void 0;
3709
- const types_1$e = es2018$7;
4082
+ const types_1$e = es2018$5;
3710
4083
  function flattenBy(iterable, predicate) {
3711
4084
  return flatten(iterable, 1);
3712
4085
  function* flatten(iterable, level) {
@@ -3765,7 +4138,7 @@ flatten.flatten = void 0;
3765
4138
  var mapAsync$1 = {};
3766
4139
 
3767
4140
  mapAsync$1.mapAsync = void 0;
3768
- const types_1$d = es2018$7;
4141
+ const types_1$d = es2018$5;
3769
4142
  function mapAsync(iterable, fn) {
3770
4143
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
3771
4144
  return mapAsyncIterable(iterable);
@@ -3810,7 +4183,7 @@ function requireRepeatAsync () {
3810
4183
  if (hasRequiredRepeatAsync) return repeatAsync;
3811
4184
  hasRequiredRepeatAsync = 1;
3812
4185
  repeatAsync.repeatAsync = void 0;
3813
- const go_1 = es2018$4;
4186
+ const go_1 = es2018$6;
3814
4187
  const errors_1 = requireEs2018();
3815
4188
  function repeatAsync$1(iterable, times) {
3816
4189
  (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -3853,7 +4226,7 @@ function requireRepeat () {
3853
4226
  if (hasRequiredRepeat) return repeat$2;
3854
4227
  hasRequiredRepeat = 1;
3855
4228
  repeat$2.repeat = void 0;
3856
- const go_1 = es2018$4;
4229
+ const go_1 = es2018$6;
3857
4230
  const errors_1 = requireEs2018();
3858
4231
  function repeat(iterable, times) {
3859
4232
  (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -3896,7 +4269,7 @@ function requireSliceAsync () {
3896
4269
  if (hasRequiredSliceAsync) return sliceAsync;
3897
4270
  hasRequiredSliceAsync = 1;
3898
4271
  sliceAsync.sliceAsync = void 0;
3899
- const go_1 = es2018$4;
4272
+ const go_1 = es2018$6;
3900
4273
  const errors_1 = requireEs2018();
3901
4274
  function sliceAsync$1(iterable, start, end = Infinity) {
3902
4275
  (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -3927,7 +4300,7 @@ function requireSlice () {
3927
4300
  if (hasRequiredSlice) return slice;
3928
4301
  hasRequiredSlice = 1;
3929
4302
  slice.slice = void 0;
3930
- const go_1 = es2018$4;
4303
+ const go_1 = es2018$6;
3931
4304
  const errors_1 = requireEs2018();
3932
4305
  function slice$1(iterable, start, end = Infinity) {
3933
4306
  (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -3971,7 +4344,7 @@ splitAsync$1.splitAsync = splitAsync;
3971
4344
  var splitByAsync$1 = {};
3972
4345
 
3973
4346
  splitByAsync$1.splitByAsync = void 0;
3974
- const types_1$c = es2018$7;
4347
+ const types_1$c = es2018$5;
3975
4348
  function splitByAsync(iterable, predicate) {
3976
4349
  if ((0, types_1$c.isAsyncIterable)(iterable)) {
3977
4350
  return splitByAsyncIterable(iterable);
@@ -4058,7 +4431,7 @@ function requireTakeAsync () {
4058
4431
  if (hasRequiredTakeAsync) return takeAsync;
4059
4432
  hasRequiredTakeAsync = 1;
4060
4433
  takeAsync.takeAsync = void 0;
4061
- const go_1 = es2018$4;
4434
+ const go_1 = es2018$6;
4062
4435
  const errors_1 = requireEs2018();
4063
4436
  function takeAsync$1(iterable, count) {
4064
4437
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4087,7 +4460,7 @@ function requireTakeRightAsync () {
4087
4460
  if (hasRequiredTakeRightAsync) return takeRightAsync;
4088
4461
  hasRequiredTakeRightAsync = 1;
4089
4462
  takeRightAsync.takeRightAsync = void 0;
4090
- const go_1 = es2018$4;
4463
+ const go_1 = es2018$6;
4091
4464
  const errors_1 = requireEs2018();
4092
4465
  function takeRightAsync$1(iterable, count) {
4093
4466
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4125,7 +4498,7 @@ function requireTakeRight () {
4125
4498
  if (hasRequiredTakeRight) return takeRight;
4126
4499
  hasRequiredTakeRight = 1;
4127
4500
  takeRight.takeRight = void 0;
4128
- const go_1 = es2018$4;
4501
+ const go_1 = es2018$6;
4129
4502
  const errors_1 = requireEs2018();
4130
4503
  function takeRight$1(iterable, count) {
4131
4504
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4158,7 +4531,7 @@ takeRight.takeRight = void 0;
4158
4531
  var takeUntilAsync$1 = {};
4159
4532
 
4160
4533
  takeUntilAsync$1.takeUntilAsync = void 0;
4161
- const types_1$b = es2018$7;
4534
+ const types_1$b = es2018$5;
4162
4535
  function takeUntilAsync(iterable, predicate) {
4163
4536
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
4164
4537
  return takeUntilAsyncIterable(iterable);
@@ -4209,7 +4582,7 @@ function requireTake () {
4209
4582
  if (hasRequiredTake) return take$2;
4210
4583
  hasRequiredTake = 1;
4211
4584
  take$2.take = void 0;
4212
- const go_1 = es2018$4;
4585
+ const go_1 = es2018$6;
4213
4586
  const errors_1 = requireEs2018();
4214
4587
  function take(iterable, count) {
4215
4588
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4233,7 +4606,7 @@ take$2.take = void 0;
4233
4606
  var tapAsync$1 = {};
4234
4607
 
4235
4608
  tapAsync$1.tapAsync = void 0;
4236
- const types_1$a = es2018$7;
4609
+ const types_1$a = es2018$5;
4237
4610
  function tapAsync(iterable, fn) {
4238
4611
  if ((0, types_1$a.isAsyncIterable)(iterable)) {
4239
4612
  return tapAsyncIterable(iterable);
@@ -4316,7 +4689,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
4316
4689
  var uniqByAsync$1 = {};
4317
4690
 
4318
4691
  uniqByAsync$1.uniqByAsync = void 0;
4319
- const types_1$9 = es2018$7;
4692
+ const types_1$9 = es2018$5;
4320
4693
  function uniqByAsync(iterable, fn) {
4321
4694
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
4322
4695
  return uniqByAsyncIterable(iterable);
@@ -4385,7 +4758,7 @@ uniq$1.uniq = uniq;
4385
4758
  var zipAsync$1 = {};
4386
4759
 
4387
4760
  zipAsync$1.zipAsync = void 0;
4388
- const types_1$8 = es2018$7;
4761
+ const types_1$8 = es2018$5;
4389
4762
  var Kind;
4390
4763
  (function (Kind) {
4391
4764
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -4556,7 +4929,7 @@ consume$1.consume = consume;
4556
4929
  var eachAsync$1 = {};
4557
4930
 
4558
4931
  eachAsync$1.eachAsync = void 0;
4559
- const types_1$7 = es2018$7;
4932
+ const types_1$7 = es2018$5;
4560
4933
  function eachAsync(iterable, fn) {
4561
4934
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
4562
4935
  return eachAsyncIterable(iterable);
@@ -4596,7 +4969,7 @@ each$1.each = each;
4596
4969
  var everyAsync$1 = {};
4597
4970
 
4598
4971
  everyAsync$1.everyAsync = void 0;
4599
- const types_1$6 = es2018$7;
4972
+ const types_1$6 = es2018$5;
4600
4973
  function everyAsync(iterable, predicate) {
4601
4974
  if ((0, types_1$6.isAsyncIterable)(iterable)) {
4602
4975
  return everyAsyncIterable(iterable);
@@ -4642,7 +5015,7 @@ every$3.every = every$2;
4642
5015
  var findAsync$1 = {};
4643
5016
 
4644
5017
  findAsync$1.findAsync = void 0;
4645
- const types_1$5 = es2018$7;
5018
+ const types_1$5 = es2018$5;
4646
5019
  function findAsync(iterable, predicate) {
4647
5020
  if ((0, types_1$5.isAsyncIterable)(iterable)) {
4648
5021
  return findAsyncIterable(iterable);
@@ -4766,7 +5139,7 @@ match$1.match = match;
4766
5139
  var reduceAsync$1 = {};
4767
5140
 
4768
5141
  reduceAsync$1.reduceAsync = void 0;
4769
- const types_1$4 = es2018$7;
5142
+ const types_1$4 = es2018$5;
4770
5143
  function reduceAsync(iterable, fn, initialValue) {
4771
5144
  if ((0, types_1$4.isUndefined)(initialValue)) {
4772
5145
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -4862,7 +5235,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
4862
5235
  var reduce$3 = {};
4863
5236
 
4864
5237
  reduce$3.reduce = void 0;
4865
- const types_1$3 = es2018$7;
5238
+ const types_1$3 = es2018$5;
4866
5239
  function reduce$2(iterable, fn, initialValue) {
4867
5240
  if ((0, types_1$3.isUndefined)(initialValue)) {
4868
5241
  return reduceWithoutInitialValue(iterable, fn);
@@ -4909,7 +5282,7 @@ function reduceWithoutInitialValue(iterable, fn) {
4909
5282
  var someAsync$1 = {};
4910
5283
 
4911
5284
  someAsync$1.someAsync = void 0;
4912
- const types_1$2 = es2018$7;
5285
+ const types_1$2 = es2018$5;
4913
5286
  function someAsync(iterable, predicate) {
4914
5287
  if ((0, types_1$2.isAsyncIterable)(iterable)) {
4915
5288
  return someAsyncIterable(iterable);
@@ -5113,7 +5486,7 @@ countAsync$1.countAsync = countAsync;
5113
5486
  var hasRequiredEs2018$1;
5114
5487
 
5115
5488
  function requireEs2018$1 () {
5116
- if (hasRequiredEs2018$1) return es2018$5;
5489
+ if (hasRequiredEs2018$1) return es2018$7;
5117
5490
  hasRequiredEs2018$1 = 1;
5118
5491
  (function (exports) {
5119
5492
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -5132,8 +5505,8 @@ function requireEs2018$1 () {
5132
5505
  };__exportStar(requireMiddleware(), exports);
5133
5506
  __exportStar(output, exports);
5134
5507
 
5135
- } (es2018$5));
5136
- return es2018$5;
5508
+ } (es2018$7));
5509
+ return es2018$7;
5137
5510
  }
5138
5511
 
5139
5512
  var getErrorNames$1 = {};
@@ -5152,7 +5525,7 @@ function* traverseErrorPrototypeChain(err) {
5152
5525
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
5153
5526
 
5154
5527
  getErrorNames$1.getErrorNames = void 0;
5155
- const types_1$1 = es2018$7;
5528
+ const types_1$1 = es2018$9;
5156
5529
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
5157
5530
  function* getErrorNames(err) {
5158
5531
  var _a;
@@ -5173,7 +5546,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
5173
5546
  var serializableError = {};
5174
5547
 
5175
5548
  serializableError.isSerializableError = void 0;
5176
- const types_1 = es2018$7;
5549
+ const types_1 = es2018$9;
5177
5550
  function isSerializableError(val) {
5178
5551
  return (0, types_1.isObject)(val)
5179
5552
  && (0, types_1.isString)(val.name)
@@ -5191,7 +5564,7 @@ function requireCustomError () {
5191
5564
  customError.CustomError = void 0;
5192
5565
  const iterable_operator_1 = requireEs2018$1();
5193
5566
  const get_error_names_1 = getErrorNames$1;
5194
- const types_1 = es2018$7;
5567
+ const types_1 = es2018$9;
5195
5568
  const serializable_error_1 = serializableError;
5196
5569
  class CustomError extends Error {
5197
5570
  get name() {
@@ -5261,7 +5634,7 @@ normalize.normalize = void 0;
5261
5634
 
5262
5635
  var hydrate$1 = {};
5263
5636
 
5264
- var es2018$3 = {};
5637
+ var es2018$4 = {};
5265
5638
 
5266
5639
  var pass$1 = {};
5267
5640
 
@@ -5281,10 +5654,10 @@ pass$1.pass = pass;
5281
5654
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5282
5655
  };__exportStar(pass$1, exports);
5283
5656
 
5284
- } (es2018$3));
5657
+ } (es2018$4));
5285
5658
 
5286
5659
  hydrate$1.hydrate = void 0;
5287
- const pass_1 = es2018$3;
5660
+ const pass_1 = es2018$4;
5288
5661
  function hydrate(err) {
5289
5662
  var _a;
5290
5663
  const errorNames = [err.name, ...err.ancestors]
@@ -5330,7 +5703,7 @@ assert.assert = void 0;
5330
5703
  var hasRequiredEs2018;
5331
5704
 
5332
5705
  function requireEs2018 () {
5333
- if (hasRequiredEs2018) return es2018$6;
5706
+ if (hasRequiredEs2018) return es2018$8;
5334
5707
  hasRequiredEs2018 = 1;
5335
5708
  (function (exports) {
5336
5709
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -5355,20 +5728,20 @@ function requireEs2018 () {
5355
5728
  __exportStar(getErrorNames$1, exports);
5356
5729
  __exportStar(traverseErrorPrototypeChain$1, exports);
5357
5730
 
5358
- } (es2018$6));
5359
- return es2018$6;
5731
+ } (es2018$8));
5732
+ return es2018$8;
5360
5733
  }
5361
5734
 
5362
5735
  var es2018Exports$1 = requireEs2018();
5363
5736
 
5364
5737
  function useSingleSelection(values, defaultSelectedIndex) {
5365
5738
  es2018Exports$1.assert(values.length > 0, 'The parameter values must be a non-empty array');
5366
- if (es2018$7.isntUndefined(defaultSelectedIndex)) {
5739
+ if (es2018$9.isntUndefined(defaultSelectedIndex)) {
5367
5740
  es2018Exports$1.assert(defaultSelectedIndex >= 0 && defaultSelectedIndex < values.length, 'The parameter defaultSelectedIndex must be in the range of 0 to values.length');
5368
5741
  }
5369
5742
  const [selectedIndex, setSelectedIndex] = react.exports.useState(defaultSelectedIndex);
5370
5743
  return react.exports.useMemo(() => ({
5371
- selectedValue: es2018$7.isUndefined(selectedIndex) ? undefined : values[selectedIndex],
5744
+ selectedValue: es2018$9.isUndefined(selectedIndex) ? undefined : values[selectedIndex],
5372
5745
  options: values.map((value, index) => ({
5373
5746
  value,
5374
5747
  index,
@@ -5414,23 +5787,25 @@ function useMultipleSelection(values, defaultSelectedIndexes = []) {
5414
5787
 
5415
5788
  function useStateCycle(stateList, initialStateIndex = 0) {
5416
5789
  const [index, setIndex] = react.exports.useState(initialStateIndex);
5417
- return [
5418
- stateList[index],
5419
- () => setIndex(index => {
5790
+ return [stateList[index], next];
5791
+ function next() {
5792
+ setIndex(index => {
5420
5793
  if (index + 1 < stateList.length) {
5421
5794
  return index + 1;
5422
5795
  }
5423
5796
  else {
5424
5797
  return 0;
5425
5798
  }
5426
- })
5427
- ];
5799
+ });
5800
+ }
5428
5801
  }
5429
5802
 
5430
5803
  function useToggle(initialState = false) {
5431
5804
  const [state, setState] = react.exports.useState(initialState);
5432
- const toggle = () => setState(state => !state);
5433
5805
  return [state, toggle];
5806
+ function toggle() {
5807
+ setState(state => !state);
5808
+ }
5434
5809
  }
5435
5810
 
5436
5811
  function useResizeObserver(callback, refs) {
@@ -5439,7 +5814,7 @@ function useResizeObserver(callback, refs) {
5439
5814
  const observer = new ResizeObserver(callback);
5440
5815
  refs
5441
5816
  .map(x => x.current)
5442
- .filter(es2018$7.isntNull)
5817
+ .filter(es2018$9.isntNull)
5443
5818
  .forEach(x => observer.observe(x));
5444
5819
  return () => observer.disconnect();
5445
5820
  }, deps);
@@ -5447,29 +5822,27 @@ function useResizeObserver(callback, refs) {
5447
5822
 
5448
5823
  function useStep(steps, initialStepIndex = 0) {
5449
5824
  const [index, setIndex] = react.exports.useState(initialStepIndex);
5450
- return [
5451
- steps[index],
5452
- () => {
5453
- setIndex(index => {
5454
- if (index === steps.length - 1) {
5455
- return index;
5456
- }
5457
- else {
5458
- return index + 1;
5459
- }
5460
- });
5461
- },
5462
- () => {
5463
- setIndex(index => {
5464
- if (index === 0) {
5465
- return index;
5466
- }
5467
- else {
5468
- return index - 1;
5469
- }
5470
- });
5471
- }
5472
- ];
5825
+ return [steps[index], next, previous];
5826
+ function next() {
5827
+ setIndex(index => {
5828
+ if (index === steps.length - 1) {
5829
+ return index;
5830
+ }
5831
+ else {
5832
+ return index + 1;
5833
+ }
5834
+ });
5835
+ }
5836
+ function previous() {
5837
+ setIndex(index => {
5838
+ if (index === 0) {
5839
+ return index;
5840
+ }
5841
+ else {
5842
+ return index - 1;
5843
+ }
5844
+ });
5845
+ }
5473
5846
  }
5474
5847
 
5475
5848
  function useForceUpdate() {
@@ -5477,7 +5850,7 @@ function useForceUpdate() {
5477
5850
  return () => setState({});
5478
5851
  }
5479
5852
 
5480
- var es2018$2 = {};
5853
+ var es2018$3 = {};
5481
5854
 
5482
5855
  var box = {};
5483
5856
 
@@ -5711,11 +6084,11 @@ lruMap.LRUMap = LRUMap;
5711
6084
 
5712
6085
  var expirableMap = {};
5713
6086
 
5714
- var es2018$1 = {};
6087
+ var es2018$2 = {};
5715
6088
 
5716
6089
  var exponentialBackoff = {};
5717
6090
 
5718
- var es2018 = {};
6091
+ var es2018$1 = {};
5719
6092
 
5720
6093
  var random$1 = {};
5721
6094
 
@@ -5759,10 +6132,10 @@ randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
5759
6132
  __exportStar(randomInt$1, exports);
5760
6133
  __exportStar(randomIntInclusive$1, exports);
5761
6134
 
5762
- } (es2018));
6135
+ } (es2018$1));
5763
6136
 
5764
6137
  exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
5765
- const extra_rand_1 = es2018;
6138
+ const extra_rand_1 = es2018$1;
5766
6139
  function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
5767
6140
  const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
5768
6141
  if (jitter) {
@@ -5877,10 +6250,10 @@ setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
5877
6250
  __exportStar(setTimeoutLoop$1, exports);
5878
6251
  __exportStar(setDynamicTimeoutLoop$1, exports);
5879
6252
 
5880
- } (es2018$1));
6253
+ } (es2018$2));
5881
6254
 
5882
6255
  expirableMap.ExpirableMap = void 0;
5883
- const extra_timers_1$1 = es2018$1;
6256
+ const extra_timers_1$1 = es2018$2;
5884
6257
  class ExpirableMap {
5885
6258
  constructor() {
5886
6259
  this.map = new Map();
@@ -5978,7 +6351,7 @@ var tlruMap = {};
5978
6351
  tlruMap.TLRUMap = void 0;
5979
6352
  const errors_1$1 = requireEs2018();
5980
6353
  const iterable_operator_1$1 = requireEs2018$1();
5981
- const extra_timers_1 = es2018$1;
6354
+ const extra_timers_1 = es2018$2;
5982
6355
  class TLRUMap {
5983
6356
  constructor(limit) {
5984
6357
  this.map = new Map();
@@ -6217,13 +6590,13 @@ var Observable$1 = {};
6217
6590
 
6218
6591
  var Subscriber = {};
6219
6592
 
6220
- var isFunction$1 = {};
6593
+ var isFunction$2 = {};
6221
6594
 
6222
- isFunction$1.isFunction = void 0;
6223
- function isFunction(value) {
6595
+ isFunction$2.isFunction = void 0;
6596
+ function isFunction$1(value) {
6224
6597
  return typeof value === 'function';
6225
6598
  }
6226
- isFunction$1.isFunction = isFunction;
6599
+ isFunction$2.isFunction = isFunction$1;
6227
6600
 
6228
6601
  var Subscription$1 = {};
6229
6602
 
@@ -6300,7 +6673,7 @@ var __spreadArray$g = (commonjsGlobal && commonjsGlobal.__spreadArray) || functi
6300
6673
  to[j] = from[i];
6301
6674
  return to;
6302
6675
  };Subscription$1.isSubscription = Subscription$1.EMPTY_SUBSCRIPTION = Subscription$1.Subscription = void 0;
6303
- var isFunction_1$p = isFunction$1;
6676
+ var isFunction_1$p = isFunction$2;
6304
6677
  var UnsubscriptionError_1 = UnsubscriptionError;
6305
6678
  var arrRemove_1$7 = arrRemove$1;
6306
6679
  var Subscription = (function () {
@@ -6593,7 +6966,7 @@ errorContext$1.captureError = captureError;
6593
6966
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6594
6967
  };
6595
6968
  })();exports.EMPTY_OBSERVER = exports.SafeSubscriber = exports.Subscriber = void 0;
6596
- var isFunction_1 = isFunction$1;
6969
+ var isFunction_1 = isFunction$2;
6597
6970
  var Subscription_1 = Subscription$1;
6598
6971
  var config_1 = config;
6599
6972
  var reportUnhandledError_1 = reportUnhandledError$1;
@@ -6822,7 +7195,7 @@ var Subscription_1$9 = Subscription$1;
6822
7195
  var observable_1$2 = observable;
6823
7196
  var pipe_1$2 = pipe$1;
6824
7197
  var config_1 = config;
6825
- var isFunction_1$o = isFunction$1;
7198
+ var isFunction_1$o = isFunction$2;
6826
7199
  var errorContext_1$1 = errorContext$1;
6827
7200
  var Observable = (function () {
6828
7201
  function Observable(subscribe) {
@@ -6926,7 +7299,7 @@ var refCount$1 = {};
6926
7299
  var lift = {};
6927
7300
 
6928
7301
  lift.operate = lift.hasLift = void 0;
6929
- var isFunction_1$n = isFunction$1;
7302
+ var isFunction_1$n = isFunction$2;
6930
7303
  function hasLift(source) {
6931
7304
  return isFunction_1$n.isFunction(source === null || source === void 0 ? void 0 : source.lift);
6932
7305
  }
@@ -8421,14 +8794,14 @@ var args = {};
8421
8794
  var isScheduler$1 = {};
8422
8795
 
8423
8796
  isScheduler$1.isScheduler = void 0;
8424
- var isFunction_1$m = isFunction$1;
8797
+ var isFunction_1$m = isFunction$2;
8425
8798
  function isScheduler(value) {
8426
8799
  return value && isFunction_1$m.isFunction(value.schedule);
8427
8800
  }
8428
8801
  isScheduler$1.isScheduler = isScheduler;
8429
8802
 
8430
8803
  args.popNumber = args.popScheduler = args.popResultSelector = void 0;
8431
- var isFunction_1$l = isFunction$1;
8804
+ var isFunction_1$l = isFunction$2;
8432
8805
  var isScheduler_1$3 = isScheduler$1;
8433
8806
  function last$2(arr) {
8434
8807
  return arr[arr.length - 1];
@@ -8459,33 +8832,33 @@ var isArrayLike = {};
8459
8832
  isArrayLike.isArrayLike = void 0;
8460
8833
  isArrayLike.isArrayLike = (function (x) { return x && typeof x.length === 'number' && typeof x !== 'function'; });
8461
8834
 
8462
- var isPromise$1 = {};
8835
+ var isPromise$2 = {};
8463
8836
 
8464
- isPromise$1.isPromise = void 0;
8465
- var isFunction_1$k = isFunction$1;
8466
- function isPromise(value) {
8837
+ isPromise$2.isPromise = void 0;
8838
+ var isFunction_1$k = isFunction$2;
8839
+ function isPromise$1(value) {
8467
8840
  return isFunction_1$k.isFunction(value === null || value === void 0 ? void 0 : value.then);
8468
8841
  }
8469
- isPromise$1.isPromise = isPromise;
8842
+ isPromise$2.isPromise = isPromise$1;
8470
8843
 
8471
8844
  var isInteropObservable$1 = {};
8472
8845
 
8473
8846
  isInteropObservable$1.isInteropObservable = void 0;
8474
8847
  var observable_1$1 = observable;
8475
- var isFunction_1$j = isFunction$1;
8848
+ var isFunction_1$j = isFunction$2;
8476
8849
  function isInteropObservable(input) {
8477
8850
  return isFunction_1$j.isFunction(input[observable_1$1.observable]);
8478
8851
  }
8479
8852
  isInteropObservable$1.isInteropObservable = isInteropObservable;
8480
8853
 
8481
- var isAsyncIterable$1 = {};
8854
+ var isAsyncIterable$2 = {};
8482
8855
 
8483
- isAsyncIterable$1.isAsyncIterable = void 0;
8484
- var isFunction_1$i = isFunction$1;
8485
- function isAsyncIterable(obj) {
8856
+ isAsyncIterable$2.isAsyncIterable = void 0;
8857
+ var isFunction_1$i = isFunction$2;
8858
+ function isAsyncIterable$1(obj) {
8486
8859
  return Symbol.asyncIterator && isFunction_1$i.isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
8487
8860
  }
8488
- isAsyncIterable$1.isAsyncIterable = isAsyncIterable;
8861
+ isAsyncIterable$2.isAsyncIterable = isAsyncIterable$1;
8489
8862
 
8490
8863
  var throwUnobservableError = {};
8491
8864
 
@@ -8495,7 +8868,7 @@ function createInvalidObservableTypeError(input) {
8495
8868
  }
8496
8869
  throwUnobservableError.createInvalidObservableTypeError = createInvalidObservableTypeError;
8497
8870
 
8498
- var isIterable$1 = {};
8871
+ var isIterable$2 = {};
8499
8872
 
8500
8873
  var iterator = {};
8501
8874
 
@@ -8509,13 +8882,13 @@ function getSymbolIterator() {
8509
8882
  iterator.getSymbolIterator = getSymbolIterator;
8510
8883
  iterator.iterator = getSymbolIterator();
8511
8884
 
8512
- isIterable$1.isIterable = void 0;
8885
+ isIterable$2.isIterable = void 0;
8513
8886
  var iterator_1$1 = iterator;
8514
- var isFunction_1$h = isFunction$1;
8515
- function isIterable(input) {
8887
+ var isFunction_1$h = isFunction$2;
8888
+ function isIterable$1(input) {
8516
8889
  return isFunction_1$h.isFunction(input === null || input === void 0 ? void 0 : input[iterator_1$1.iterator]);
8517
8890
  }
8518
- isIterable$1.isIterable = isIterable;
8891
+ isIterable$2.isIterable = isIterable$1;
8519
8892
 
8520
8893
  var isReadableStreamLike$1 = {};
8521
8894
 
@@ -8558,7 +8931,7 @@ var __asyncGenerator = (commonjsGlobal && commonjsGlobal.__asyncGenerator) || fu
8558
8931
  function reject(value) { resume("throw", value); }
8559
8932
  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
8560
8933
  };isReadableStreamLike$1.isReadableStreamLike = isReadableStreamLike$1.readableStreamLikeToAsyncGenerator = void 0;
8561
- var isFunction_1$g = isFunction$1;
8934
+ var isFunction_1$g = isFunction$2;
8562
8935
  function readableStreamLikeToAsyncGenerator(readableStream) {
8563
8936
  return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
8564
8937
  var reader, _a, value, done;
@@ -8652,14 +9025,14 @@ var __values$6 = (commonjsGlobal && commonjsGlobal.__values) || function(o) {
8652
9025
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
8653
9026
  };innerFrom$1.fromReadableStreamLike = innerFrom$1.fromAsyncIterable = innerFrom$1.fromIterable = innerFrom$1.fromPromise = innerFrom$1.fromArrayLike = innerFrom$1.fromInteropObservable = innerFrom$1.innerFrom = void 0;
8654
9027
  var isArrayLike_1$2 = isArrayLike;
8655
- var isPromise_1$1 = isPromise$1;
9028
+ var isPromise_1$1 = isPromise$2;
8656
9029
  var Observable_1$j = Observable$1;
8657
9030
  var isInteropObservable_1$1 = isInteropObservable$1;
8658
- var isAsyncIterable_1$1 = isAsyncIterable$1;
9031
+ var isAsyncIterable_1$1 = isAsyncIterable$2;
8659
9032
  var throwUnobservableError_1$1 = throwUnobservableError;
8660
- var isIterable_1$1 = isIterable$1;
9033
+ var isIterable_1$1 = isIterable$2;
8661
9034
  var isReadableStreamLike_1$2 = isReadableStreamLike$1;
8662
- var isFunction_1$f = isFunction$1;
9035
+ var isFunction_1$f = isFunction$2;
8663
9036
  var reportUnhandledError_1 = reportUnhandledError$1;
8664
9037
  var observable_1 = observable;
8665
9038
  function innerFrom(input) {
@@ -8895,7 +9268,7 @@ var scheduleIterable$1 = {};
8895
9268
  scheduleIterable$1.scheduleIterable = void 0;
8896
9269
  var Observable_1$h = Observable$1;
8897
9270
  var iterator_1 = iterator;
8898
- var isFunction_1$e = isFunction$1;
9271
+ var isFunction_1$e = isFunction$2;
8899
9272
  var executeSchedule_1$5 = executeSchedule$1;
8900
9273
  function scheduleIterable(input, scheduler) {
8901
9274
  return new Observable_1$h.Observable(function (subscriber) {
@@ -8970,10 +9343,10 @@ var scheduleArray_1 = scheduleArray$1;
8970
9343
  var scheduleIterable_1$1 = scheduleIterable$1;
8971
9344
  var scheduleAsyncIterable_1 = scheduleAsyncIterable$1;
8972
9345
  var isInteropObservable_1 = isInteropObservable$1;
8973
- var isPromise_1 = isPromise$1;
9346
+ var isPromise_1 = isPromise$2;
8974
9347
  var isArrayLike_1$1 = isArrayLike;
8975
- var isIterable_1 = isIterable$1;
8976
- var isAsyncIterable_1 = isAsyncIterable$1;
9348
+ var isIterable_1 = isIterable$2;
9349
+ var isAsyncIterable_1 = isAsyncIterable$2;
8977
9350
  var throwUnobservableError_1 = throwUnobservableError;
8978
9351
  var isReadableStreamLike_1 = isReadableStreamLike$1;
8979
9352
  var scheduleReadableStreamLike_1 = scheduleReadableStreamLike$1;
@@ -9027,7 +9400,7 @@ var throwError$1 = {};
9027
9400
 
9028
9401
  throwError$1.throwError = void 0;
9029
9402
  var Observable_1$f = Observable$1;
9030
- var isFunction_1$d = isFunction$1;
9403
+ var isFunction_1$d = isFunction$2;
9031
9404
  function throwError(errorOrErrorFactory, scheduler) {
9032
9405
  var errorFactory = isFunction_1$d.isFunction(errorOrErrorFactory) ? errorOrErrorFactory : function () { return errorOrErrorFactory; };
9033
9406
  var init = function (subscriber) { return subscriber.error(errorFactory()); };
@@ -9040,7 +9413,7 @@ exports.observeNotification = exports.Notification = exports.NotificationKind =
9040
9413
  var empty_1 = empty;
9041
9414
  var of_1 = of$1;
9042
9415
  var throwError_1 = throwError$1;
9043
- var isFunction_1 = isFunction$1;
9416
+ var isFunction_1 = isFunction$2;
9044
9417
  (function (NotificationKind) {
9045
9418
  NotificationKind["NEXT"] = "N";
9046
9419
  NotificationKind["ERROR"] = "E";
@@ -9115,7 +9488,7 @@ var isObservable$1 = {};
9115
9488
 
9116
9489
  isObservable$1.isObservable = void 0;
9117
9490
  var Observable_1$e = Observable$1;
9118
- var isFunction_1$c = isFunction$1;
9491
+ var isFunction_1$c = isFunction$2;
9119
9492
  function isObservable(obj) {
9120
9493
  return !!obj && (obj instanceof Observable_1$e.Observable || (isFunction_1$c.isFunction(obj.lift) && isFunction_1$c.isFunction(obj.subscribe)));
9121
9494
  }
@@ -9228,18 +9601,18 @@ SequenceError.SequenceError = createErrorClass_1.createErrorClass(function (_sup
9228
9601
 
9229
9602
  var timeout = {};
9230
9603
 
9231
- var isDate = {};
9604
+ var isDate$1 = {};
9232
9605
 
9233
- isDate.isValidDate = void 0;
9606
+ isDate$1.isValidDate = void 0;
9234
9607
  function isValidDate(value) {
9235
9608
  return value instanceof Date && !isNaN(value);
9236
9609
  }
9237
- isDate.isValidDate = isValidDate;
9610
+ isDate$1.isValidDate = isValidDate;
9238
9611
 
9239
9612
  (function (exports) {
9240
9613
  exports.timeout = exports.TimeoutError = void 0;
9241
9614
  var async_1 = async;
9242
- var isDate_1 = isDate;
9615
+ var isDate_1 = isDate$1;
9243
9616
  var lift_1 = lift;
9244
9617
  var innerFrom_1 = innerFrom$1;
9245
9618
  var createErrorClass_1 = createErrorClass$1;
@@ -9343,9 +9716,9 @@ var __spreadArray$f = (commonjsGlobal && commonjsGlobal.__spreadArray) || functi
9343
9716
  return to;
9344
9717
  };mapOneOrManyArgs$1.mapOneOrManyArgs = void 0;
9345
9718
  var map_1$5 = map$1;
9346
- var isArray$2 = Array.isArray;
9719
+ var isArray$3 = Array.isArray;
9347
9720
  function callOrApply(fn, args) {
9348
- return isArray$2(args) ? fn.apply(void 0, __spreadArray$f([], __read$g(args))) : fn(args);
9721
+ return isArray$3(args) ? fn.apply(void 0, __spreadArray$f([], __read$g(args))) : fn(args);
9349
9722
  }
9350
9723
  function mapOneOrManyArgs(fn) {
9351
9724
  return map_1$5.map(function (args) { return callOrApply(fn, args); });
@@ -9473,12 +9846,12 @@ var combineLatest$3 = {};
9473
9846
  var argsArgArrayOrObject$1 = {};
9474
9847
 
9475
9848
  argsArgArrayOrObject$1.argsArgArrayOrObject = void 0;
9476
- var isArray$1 = Array.isArray;
9849
+ var isArray$2 = Array.isArray;
9477
9850
  var getPrototypeOf = Object.getPrototypeOf, objectProto = Object.prototype, getKeys = Object.keys;
9478
9851
  function argsArgArrayOrObject(args) {
9479
9852
  if (args.length === 1) {
9480
9853
  var first_1 = args[0];
9481
- if (isArray$1(first_1)) {
9854
+ if (isArray$2(first_1)) {
9482
9855
  return { args: first_1, keys: null };
9483
9856
  }
9484
9857
  if (isPOJO(first_1)) {
@@ -9655,7 +10028,7 @@ var map_1$4 = map$1;
9655
10028
  var innerFrom_1$p = innerFrom$1;
9656
10029
  var lift_1$10 = lift;
9657
10030
  var mergeInternals_1$2 = mergeInternals$1;
9658
- var isFunction_1$b = isFunction$1;
10031
+ var isFunction_1$b = isFunction$2;
9659
10032
  function mergeMap(project, resultSelector, concurrent) {
9660
10033
  if (concurrent === void 0) { concurrent = Infinity; }
9661
10034
  if (isFunction_1$b.isFunction(resultSelector)) {
@@ -9813,7 +10186,7 @@ var innerFrom_1$m = innerFrom$1;
9813
10186
  var Observable_1$8 = Observable$1;
9814
10187
  var mergeMap_1$5 = mergeMap$1;
9815
10188
  var isArrayLike_1 = isArrayLike;
9816
- var isFunction_1$a = isFunction$1;
10189
+ var isFunction_1$a = isFunction$2;
9817
10190
  var mapOneOrManyArgs_1$3 = mapOneOrManyArgs$1;
9818
10191
  var nodeEventEmitterMethods = ['addListener', 'removeListener'];
9819
10192
  var eventTargetMethods = ['addEventListener', 'removeEventListener'];
@@ -9872,7 +10245,7 @@ var fromEventPattern$1 = {};
9872
10245
 
9873
10246
  fromEventPattern$1.fromEventPattern = void 0;
9874
10247
  var Observable_1$7 = Observable$1;
9875
- var isFunction_1$9 = isFunction$1;
10248
+ var isFunction_1$9 = isFunction$2;
9876
10249
  var mapOneOrManyArgs_1$2 = mapOneOrManyArgs$1;
9877
10250
  function fromEventPattern(addHandler, removeHandler, resultSelector) {
9878
10251
  if (resultSelector) {
@@ -9987,7 +10360,7 @@ timer$1.timer = void 0;
9987
10360
  var Observable_1$6 = Observable$1;
9988
10361
  var async_1$a = async;
9989
10362
  var isScheduler_1 = isScheduler$1;
9990
- var isDate_1$1 = isDate;
10363
+ var isDate_1$1 = isDate$1;
9991
10364
  function timer(dueTime, intervalOrScheduler, scheduler) {
9992
10365
  if (dueTime === void 0) { dueTime = 0; }
9993
10366
  if (scheduler === void 0) { scheduler = async_1$a.async; }
@@ -10082,9 +10455,9 @@ var onErrorResumeNext$2 = {};
10082
10455
  var argsOrArgArray$1 = {};
10083
10456
 
10084
10457
  argsOrArgArray$1.argsOrArgArray = void 0;
10085
- var isArray = Array.isArray;
10458
+ var isArray$1 = Array.isArray;
10086
10459
  function argsOrArgArray(args) {
10087
- return args.length === 1 && isArray(args[0]) ? args[0] : args;
10460
+ return args.length === 1 && isArray$1(args[0]) ? args[0] : args;
10088
10461
  }
10089
10462
  argsOrArgArray$1.argsOrArgArray = argsOrArgArray;
10090
10463
 
@@ -10895,7 +11268,7 @@ var concatMap$1 = {};
10895
11268
 
10896
11269
  concatMap$1.concatMap = void 0;
10897
11270
  var mergeMap_1$3 = mergeMap$1;
10898
- var isFunction_1$8 = isFunction$1;
11271
+ var isFunction_1$8 = isFunction$2;
10899
11272
  function concatMap(project, resultSelector) {
10900
11273
  return isFunction_1$8.isFunction(resultSelector) ? mergeMap_1$3.mergeMap(project, resultSelector, 1) : mergeMap_1$3.mergeMap(project, 1);
10901
11274
  }
@@ -10905,7 +11278,7 @@ var concatMapTo$1 = {};
10905
11278
 
10906
11279
  concatMapTo$1.concatMapTo = void 0;
10907
11280
  var concatMap_1 = concatMap$1;
10908
- var isFunction_1$7 = isFunction$1;
11281
+ var isFunction_1$7 = isFunction$2;
10909
11282
  function concatMapTo(innerObservable, resultSelector) {
10910
11283
  return isFunction_1$7.isFunction(resultSelector) ? concatMap_1.concatMap(function () { return innerObservable; }, resultSelector) : concatMap_1.concatMap(function () { return innerObservable; });
10911
11284
  }
@@ -11693,7 +12066,7 @@ var max$1 = {};
11693
12066
 
11694
12067
  max$1.max = void 0;
11695
12068
  var reduce_1$1 = reduce$1;
11696
- var isFunction_1$6 = isFunction$1;
12069
+ var isFunction_1$6 = isFunction$2;
11697
12070
  function max(comparer) {
11698
12071
  return reduce_1$1.reduce(isFunction_1$6.isFunction(comparer) ? function (x, y) { return (comparer(x, y) > 0 ? x : y); } : function (x, y) { return (x > y ? x : y); });
11699
12072
  }
@@ -11709,7 +12082,7 @@ var mergeMapTo$1 = {};
11709
12082
 
11710
12083
  mergeMapTo$1.mergeMapTo = void 0;
11711
12084
  var mergeMap_1 = mergeMap$1;
11712
- var isFunction_1$5 = isFunction$1;
12085
+ var isFunction_1$5 = isFunction$2;
11713
12086
  function mergeMapTo(innerObservable, resultSelector, concurrent) {
11714
12087
  if (concurrent === void 0) { concurrent = Infinity; }
11715
12088
  if (isFunction_1$5.isFunction(resultSelector)) {
@@ -11817,7 +12190,7 @@ var min$1 = {};
11817
12190
 
11818
12191
  min$1.min = void 0;
11819
12192
  var reduce_1 = reduce$1;
11820
- var isFunction_1$4 = isFunction$1;
12193
+ var isFunction_1$4 = isFunction$2;
11821
12194
  function min(comparer) {
11822
12195
  return reduce_1.reduce(isFunction_1$4.isFunction(comparer) ? function (x, y) { return (comparer(x, y) < 0 ? x : y); } : function (x, y) { return (x < y ? x : y); });
11823
12196
  }
@@ -11827,7 +12200,7 @@ var multicast$1 = {};
11827
12200
 
11828
12201
  multicast$1.multicast = void 0;
11829
12202
  var ConnectableObservable_1$2 = ConnectableObservable$1;
11830
- var isFunction_1$3 = isFunction$1;
12203
+ var isFunction_1$3 = isFunction$2;
11831
12204
  var connect_1$1 = connect$1;
11832
12205
  function multicast(subjectOrSubjectFactory, selector) {
11833
12206
  var subjectFactory = isFunction_1$3.isFunction(subjectOrSubjectFactory) ? subjectOrSubjectFactory : function () { return subjectOrSubjectFactory; };
@@ -11930,7 +12303,7 @@ var publishReplay$1 = {};
11930
12303
  publishReplay$1.publishReplay = void 0;
11931
12304
  var ReplaySubject_1$1 = ReplaySubject$1;
11932
12305
  var multicast_1 = multicast$1;
11933
- var isFunction_1$2 = isFunction$1;
12306
+ var isFunction_1$2 = isFunction$2;
11934
12307
  function publishReplay(bufferSize, windowTime, selectorOrScheduler, timestampProvider) {
11935
12308
  if (selectorOrScheduler && !isFunction_1$2.isFunction(selectorOrScheduler)) {
11936
12309
  timestampProvider = selectorOrScheduler;
@@ -12587,7 +12960,7 @@ var switchMapTo$1 = {};
12587
12960
 
12588
12961
  switchMapTo$1.switchMapTo = void 0;
12589
12962
  var switchMap_1$1 = switchMap$1;
12590
- var isFunction_1$1 = isFunction$1;
12963
+ var isFunction_1$1 = isFunction$2;
12591
12964
  function switchMapTo(innerObservable, resultSelector) {
12592
12965
  return isFunction_1$1.isFunction(resultSelector) ? switchMap_1$1.switchMap(function () { return innerObservable; }, resultSelector) : switchMap_1$1.switchMap(function () { return innerObservable; });
12593
12966
  }
@@ -12645,7 +13018,7 @@ takeWhile$1.takeWhile = takeWhile;
12645
13018
  var tap$1 = {};
12646
13019
 
12647
13020
  tap$1.tap = void 0;
12648
- var isFunction_1 = isFunction$1;
13021
+ var isFunction_1 = isFunction$2;
12649
13022
  var lift_1$8 = lift;
12650
13023
  var OperatorSubscriber_1$7 = OperatorSubscriber$1;
12651
13024
  var identity_1$1 = identity$1;
@@ -12789,7 +13162,7 @@ var timeoutWith$1 = {};
12789
13162
 
12790
13163
  timeoutWith$1.timeoutWith = void 0;
12791
13164
  var async_1$1 = async;
12792
- var isDate_1 = isDate;
13165
+ var isDate_1 = isDate$1;
12793
13166
  var timeout_1 = timeout;
12794
13167
  function timeoutWith(due, withObservable, scheduler) {
12795
13168
  var first;
@@ -13618,32 +13991,392 @@ zipWith$1.zipWith = zipWith;
13618
13991
 
13619
13992
  } (cjs));
13620
13993
 
13621
- (function (exports) {
13622
- exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
13623
- const finite_state_machine_1 = finiteStateMachine;
13624
- const rxjs_1 = cjs;
13625
- const types_1 = es2018$7;
13626
- class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
13627
- constructor() {
13628
- super(...arguments);
13629
- this.stateChanges = new rxjs_1.Subject();
13630
- }
13631
- observeStateChanges() {
13632
- return this.stateChanges;
13633
- }
13634
- send(event) {
13635
- const oldState = this.state;
13636
- super.send(event);
13637
- const newState = this.state;
13638
- this.stateChanges.next({ event, oldState, newState });
13639
- if ((0, types_1.isEmptyObject)(this.schema[newState])) {
13640
- this.stateChanges.complete();
13641
- }
13642
- }
13643
- }
13644
- exports.ObservableFiniteStateMachine = ObservableFiniteStateMachine;
13645
- var finite_state_machine_2 = finiteStateMachine;
13646
- Object.defineProperty(exports, "BadEventError", { enumerable: true, get: function () { return finite_state_machine_2.BadEventError; } });
13994
+ var es2018 = {};
13995
+
13996
+ var array = {};
13997
+
13998
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
13999
+ function isArray(val) {
14000
+ return Array.isArray(val);
14001
+ }
14002
+ array.isArray = isArray;
14003
+ function isntArray(val) {
14004
+ return !isArray(val);
14005
+ }
14006
+ array.isntArray = isntArray;
14007
+ function isEmptyArray(val) {
14008
+ return val.length === 0;
14009
+ }
14010
+ array.isEmptyArray = isEmptyArray;
14011
+ function isntEmptyArray(val) {
14012
+ return val.length !== 0;
14013
+ }
14014
+ array.isntEmptyArray = isntEmptyArray;
14015
+
14016
+ var asyncIterable = {};
14017
+
14018
+ var _null = {};
14019
+
14020
+ _null.isntNull = _null.isNull = void 0;
14021
+ function isNull(val) {
14022
+ return val === null;
14023
+ }
14024
+ _null.isNull = isNull;
14025
+ function isntNull(val) {
14026
+ return !isNull(val);
14027
+ }
14028
+ _null.isntNull = isntNull;
14029
+
14030
+ var _undefined = {};
14031
+
14032
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
14033
+ function isUndefined(val) {
14034
+ return val === undefined;
14035
+ }
14036
+ _undefined.isUndefined = isUndefined;
14037
+ function isntUndefined(val) {
14038
+ return !isUndefined(val);
14039
+ }
14040
+ _undefined.isntUndefined = isntUndefined;
14041
+
14042
+ var _function = {};
14043
+
14044
+ _function.isntFunction = _function.isFunction = void 0;
14045
+ function isFunction(val) {
14046
+ return typeof val === 'function';
14047
+ }
14048
+ _function.isFunction = isFunction;
14049
+ function isntFunction(val) {
14050
+ return !isFunction(val);
14051
+ }
14052
+ _function.isntFunction = isntFunction;
14053
+
14054
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
14055
+ const null_1$2 = _null;
14056
+ const undefined_1$1 = _undefined;
14057
+ const function_1$2 = _function;
14058
+ function isAsyncIterable(val) {
14059
+ return (0, null_1$2.isntNull)(val)
14060
+ && (0, undefined_1$1.isntUndefined)(val)
14061
+ && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
14062
+ }
14063
+ asyncIterable.isAsyncIterable = isAsyncIterable;
14064
+ function isntAsyncIterable(val) {
14065
+ return !isAsyncIterable(val);
14066
+ }
14067
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
14068
+
14069
+ var bigint = {};
14070
+
14071
+ bigint.isntBigInt = bigint.isBigInt = void 0;
14072
+ function isBigInt(val) {
14073
+ return typeof val === 'bigint';
14074
+ }
14075
+ bigint.isBigInt = isBigInt;
14076
+ function isntBigInt(val) {
14077
+ return !isBigInt(val);
14078
+ }
14079
+ bigint.isntBigInt = isntBigInt;
14080
+
14081
+ var boolean = {};
14082
+
14083
+ boolean.isntBoolean = boolean.isBoolean = void 0;
14084
+ function isBoolean(val) {
14085
+ return typeof val === 'boolean';
14086
+ }
14087
+ boolean.isBoolean = isBoolean;
14088
+ function isntBoolean(val) {
14089
+ return !isBoolean(val);
14090
+ }
14091
+ boolean.isntBoolean = isntBoolean;
14092
+
14093
+ var char = {};
14094
+
14095
+ var string = {};
14096
+
14097
+ string.isntString = string.isString = void 0;
14098
+ function isString(val) {
14099
+ return typeof val === 'string';
14100
+ }
14101
+ string.isString = isString;
14102
+ function isntString(val) {
14103
+ return !isString(val);
14104
+ }
14105
+ string.isntString = isntString;
14106
+
14107
+ char.isntChar = char.isChar = void 0;
14108
+ const string_1$1 = string;
14109
+ function isChar(val) {
14110
+ return (0, string_1$1.isString)(val)
14111
+ && val.length === 1;
14112
+ }
14113
+ char.isChar = isChar;
14114
+ function isntChar(val) {
14115
+ return !isChar(val);
14116
+ }
14117
+ char.isntChar = isntChar;
14118
+
14119
+ var date = {};
14120
+
14121
+ date.isntDate = date.isDate = void 0;
14122
+ function isDate(val) {
14123
+ return val instanceof Date;
14124
+ }
14125
+ date.isDate = isDate;
14126
+ function isntDate(val) {
14127
+ return !isDate(val);
14128
+ }
14129
+ date.isntDate = isntDate;
14130
+
14131
+ var _enum = {};
14132
+
14133
+ _enum.inEnum = void 0;
14134
+ function inEnum(val, _enum) {
14135
+ return Object.values(_enum).includes(val);
14136
+ }
14137
+ _enum.inEnum = inEnum;
14138
+
14139
+ var error = {};
14140
+
14141
+ error.isntError = error.isError = void 0;
14142
+ function isError(val) {
14143
+ return val instanceof Error;
14144
+ }
14145
+ error.isError = isError;
14146
+ function isntError(val) {
14147
+ return !isError(val);
14148
+ }
14149
+ error.isntError = isntError;
14150
+
14151
+ var falsy = {};
14152
+
14153
+ falsy.isntFalsy = falsy.isFalsy = void 0;
14154
+ function isFalsy(val) {
14155
+ return !val;
14156
+ }
14157
+ falsy.isFalsy = isFalsy;
14158
+ function isntFalsy(val) {
14159
+ return !isFalsy(val);
14160
+ }
14161
+ falsy.isntFalsy = isntFalsy;
14162
+
14163
+ var iterable = {};
14164
+
14165
+ iterable.isntIterable = iterable.isIterable = void 0;
14166
+ const null_1$1 = _null;
14167
+ const undefined_1 = _undefined;
14168
+ const function_1$1 = _function;
14169
+ function isIterable(val) {
14170
+ return (0, null_1$1.isntNull)(val)
14171
+ && (0, undefined_1.isntUndefined)(val)
14172
+ && (0, function_1$1.isFunction)(val[Symbol.iterator]);
14173
+ }
14174
+ iterable.isIterable = isIterable;
14175
+ function isntIterable(val) {
14176
+ return !isIterable(val);
14177
+ }
14178
+ iterable.isntIterable = isntIterable;
14179
+
14180
+ var json = {};
14181
+
14182
+ var number = {};
14183
+
14184
+ number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
14185
+ function isNumber(val) {
14186
+ return typeof val === 'number';
14187
+ }
14188
+ number.isNumber = isNumber;
14189
+ function isntNumber(val) {
14190
+ return !isNumber(val);
14191
+ }
14192
+ number.isntNumber = isntNumber;
14193
+ function isFinite(val) {
14194
+ return Number.isFinite(val);
14195
+ }
14196
+ number.isFinite = isFinite;
14197
+ function isPositiveInfinity(val) {
14198
+ return val === Infinity;
14199
+ }
14200
+ number.isPositiveInfinity = isPositiveInfinity;
14201
+ function isNegativeInfinity(val) {
14202
+ return val === -Infinity;
14203
+ }
14204
+ number.isNegativeInfinity = isNegativeInfinity;
14205
+ function isNaN$1(val) {
14206
+ return Number.isNaN(val);
14207
+ }
14208
+ number.isNaN = isNaN$1;
14209
+ function isntNaN(val) {
14210
+ return !isNaN$1(val);
14211
+ }
14212
+ number.isntNaN = isntNaN;
14213
+
14214
+ var object = {};
14215
+
14216
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
14217
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14218
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
14219
+ const isPlainObject_1 = __importDefault(isPlainObject_1$3);
14220
+ function isObject(val) {
14221
+ return val !== null
14222
+ && typeof val === 'object';
14223
+ }
14224
+ object.isObject = isObject;
14225
+ function isntObject(val) {
14226
+ return !isObject(val);
14227
+ }
14228
+ object.isntObject = isntObject;
14229
+ function isPlainObject(val) {
14230
+ return (0, isPlainObject_1.default)(val);
14231
+ }
14232
+ object.isPlainObject = isPlainObject;
14233
+ function isntPlainObject(val) {
14234
+ return !isPlainObject(val);
14235
+ }
14236
+ object.isntPlainObject = isntPlainObject;
14237
+ function isEmptyObject(val) {
14238
+ return Object.keys(val).length === 0;
14239
+ }
14240
+ object.isEmptyObject = isEmptyObject;
14241
+ function isntEmptyObject(val) {
14242
+ return Object.keys(val).length !== 0;
14243
+ }
14244
+ object.isntEmptyObject = isntEmptyObject;
14245
+
14246
+ json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
14247
+ const null_1 = _null;
14248
+ const boolean_1 = boolean;
14249
+ const string_1 = string;
14250
+ const number_1 = number;
14251
+ const array_1 = array;
14252
+ const object_1$1 = object;
14253
+ function isJson(val) {
14254
+ return (0, null_1.isNull)(val)
14255
+ || (0, boolean_1.isBoolean)(val)
14256
+ || (0, string_1.isString)(val)
14257
+ || (0, number_1.isNumber)(val)
14258
+ || ((0, array_1.isArray)(val) && val.every(isJson))
14259
+ || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
14260
+ }
14261
+ json.isJson = isJson;
14262
+ function isntJson(val) {
14263
+ return !isJson(val);
14264
+ }
14265
+ json.isntJson = isntJson;
14266
+ function isJsonable(val) {
14267
+ try {
14268
+ JSON.stringify(val);
14269
+ return true;
14270
+ }
14271
+ catch (_a) {
14272
+ return false;
14273
+ }
14274
+ }
14275
+ json.isJsonable = isJsonable;
14276
+ function isntJsonable(val) {
14277
+ return !isntJsonable();
14278
+ }
14279
+ json.isntJsonable = isntJsonable;
14280
+
14281
+ var promise = {};
14282
+
14283
+ promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
14284
+ const object_1 = object;
14285
+ const function_1 = _function;
14286
+ function isPromise(val) {
14287
+ return val instanceof Promise;
14288
+ }
14289
+ promise.isPromise = isPromise;
14290
+ function isntPromise(val) {
14291
+ return !isPromise(val);
14292
+ }
14293
+ promise.isntPromise = isntPromise;
14294
+ function isntPromiseLike(val) {
14295
+ return !isPromiseLike(val);
14296
+ }
14297
+ promise.isntPromiseLike = isntPromiseLike;
14298
+ function isPromiseLike(val) {
14299
+ return (0, object_1.isObject)(val)
14300
+ && (0, function_1.isFunction)(val.then);
14301
+ }
14302
+ promise.isPromiseLike = isPromiseLike;
14303
+
14304
+ var url = {};
14305
+
14306
+ url.isAbsoluteURL = void 0;
14307
+ function isAbsoluteURL(str) {
14308
+ try {
14309
+ new URL(str);
14310
+ return true;
14311
+ }
14312
+ catch (_a) {
14313
+ return false;
14314
+ }
14315
+ }
14316
+ url.isAbsoluteURL = isAbsoluteURL;
14317
+
14318
+ (function (exports) {
14319
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14320
+ if (k2 === undefined) k2 = k;
14321
+ var desc = Object.getOwnPropertyDescriptor(m, k);
14322
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14323
+ desc = { enumerable: true, get: function() { return m[k]; } };
14324
+ }
14325
+ Object.defineProperty(o, k2, desc);
14326
+ }) : (function(o, m, k, k2) {
14327
+ if (k2 === undefined) k2 = k;
14328
+ o[k2] = m[k];
14329
+ }));
14330
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
14331
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
14332
+ };__exportStar(array, exports);
14333
+ __exportStar(asyncIterable, exports);
14334
+ __exportStar(bigint, exports);
14335
+ __exportStar(boolean, exports);
14336
+ __exportStar(char, exports);
14337
+ __exportStar(date, exports);
14338
+ __exportStar(_enum, exports);
14339
+ __exportStar(error, exports);
14340
+ __exportStar(falsy, exports);
14341
+ __exportStar(_function, exports);
14342
+ __exportStar(iterable, exports);
14343
+ __exportStar(json, exports);
14344
+ __exportStar(_null, exports);
14345
+ __exportStar(number, exports);
14346
+ __exportStar(object, exports);
14347
+ __exportStar(promise, exports);
14348
+ __exportStar(string, exports);
14349
+ __exportStar(_undefined, exports);
14350
+ __exportStar(url, exports);
14351
+
14352
+ } (es2018));
14353
+
14354
+ (function (exports) {
14355
+ exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
14356
+ const finite_state_machine_1 = finiteStateMachine;
14357
+ const rxjs_1 = cjs;
14358
+ const types_1 = es2018;
14359
+ class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
14360
+ constructor() {
14361
+ super(...arguments);
14362
+ this.stateChanges = new rxjs_1.Subject();
14363
+ }
14364
+ observeStateChanges() {
14365
+ return this.stateChanges;
14366
+ }
14367
+ send(event) {
14368
+ const oldState = this.state;
14369
+ super.send(event);
14370
+ const newState = this.state;
14371
+ this.stateChanges.next({ event, oldState, newState });
14372
+ if ((0, types_1.isEmptyObject)(this.schema[newState])) {
14373
+ this.stateChanges.complete();
14374
+ }
14375
+ }
14376
+ }
14377
+ exports.ObservableFiniteStateMachine = ObservableFiniteStateMachine;
14378
+ var finite_state_machine_2 = finiteStateMachine;
14379
+ Object.defineProperty(exports, "BadEventError", { enumerable: true, get: function () { return finite_state_machine_2.BadEventError; } });
13647
14380
 
13648
14381
  } (observableFiniteStateMachine));
13649
14382
 
@@ -13674,11 +14407,11 @@ exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
13674
14407
  __exportStar(finiteStateMachine, exports);
13675
14408
  __exportStar(observableFiniteStateMachine, exports);
13676
14409
 
13677
- } (es2018$2));
14410
+ } (es2018$3));
13678
14411
 
13679
14412
  function useFiniteStateMachine(schema, initialState) {
13680
14413
  const forceUpdate = useForceUpdate();
13681
- const fsm = react.exports.useMemo(() => new es2018$2.ObservableFiniteStateMachine(schema, initialState), [schema]);
14414
+ const fsm = react.exports.useMemo(() => new es2018$3.ObservableFiniteStateMachine(schema, initialState), [schema]);
13682
14415
  react.exports.useEffect(() => {
13683
14416
  const observable = fsm.observeStateChanges();
13684
14417
  const subscription = observable.subscribe(() => forceUpdate());
@@ -13687,6 +14420,6 @@ function useFiniteStateMachine(schema, initialState) {
13687
14420
  return fsm;
13688
14421
  }
13689
14422
 
13690
- var ObservableFiniteStateMachine = es2018$2.ObservableFiniteStateMachine;
14423
+ var ObservableFiniteStateMachine = es2018$3.ObservableFiniteStateMachine;
13691
14424
  export { ObservableFiniteStateMachine, useFiniteStateMachine, useForceUpdate, useIncrement, useIsFirstRender, useIsMounted, useMount, useMultipleSelection, useRenderCounter, useResizeObserver, useSingleSelection, useStateCycle, useStep, useToggle, useUpdateEffect };
13692
14425
  //# sourceMappingURL=index.mjs.map