extra-react-hooks 0.2.0 → 0.3.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.
Files changed (92) hide show
  1. package/README.md +28 -30
  2. package/dist/es2015/index.min.mjs +3 -3
  3. package/dist/es2015/index.min.mjs.map +1 -1
  4. package/dist/es2015/index.mjs +1279 -496
  5. package/dist/es2015/index.mjs.map +1 -1
  6. package/dist/es2015/index.umd.js +1280 -495
  7. package/dist/es2015/index.umd.js.map +1 -1
  8. package/dist/es2015/index.umd.min.js +3 -3
  9. package/dist/es2015/index.umd.min.js.map +1 -1
  10. package/dist/es2018/index.min.mjs +3 -3
  11. package/dist/es2018/index.min.mjs.map +1 -1
  12. package/dist/es2018/index.mjs +1279 -496
  13. package/dist/es2018/index.mjs.map +1 -1
  14. package/dist/es2018/index.umd.js +1280 -495
  15. package/dist/es2018/index.umd.js.map +1 -1
  16. package/dist/es2018/index.umd.min.js +3 -3
  17. package/dist/es2018/index.umd.min.js.map +1 -1
  18. package/lib/es2015/index.d.ts +2 -0
  19. package/lib/es2015/index.js +2 -0
  20. package/lib/es2015/index.js.map +1 -1
  21. package/lib/es2015/types.d.ts +3 -0
  22. package/lib/es2015/types.js +3 -0
  23. package/lib/es2015/types.js.map +1 -0
  24. package/lib/es2015/use-finite-state-machine.js +1 -1
  25. package/lib/es2015/use-finite-state-machine.js.map +1 -1
  26. package/lib/es2015/use-force-update.js +4 -1
  27. package/lib/es2015/use-force-update.js.map +1 -1
  28. package/lib/es2015/use-iife.d.ts +2 -0
  29. package/lib/es2015/use-iife.js +25 -0
  30. package/lib/es2015/use-iife.js.map +1 -0
  31. package/lib/es2015/use-increment.js +5 -5
  32. package/lib/es2015/use-increment.js.map +1 -1
  33. package/lib/es2015/use-is-first-render.js +4 -1
  34. package/lib/es2015/use-is-first-render.js.map +1 -1
  35. package/lib/es2015/use-is-mounted.js +7 -4
  36. package/lib/es2015/use-is-mounted.js.map +1 -1
  37. package/lib/es2015/use-multiple-selection.d.ts +8 -12
  38. package/lib/es2015/use-multiple-selection.js +45 -29
  39. package/lib/es2015/use-multiple-selection.js.map +1 -1
  40. package/lib/es2015/use-single-selection.d.ts +6 -13
  41. package/lib/es2015/use-single-selection.js +18 -15
  42. package/lib/es2015/use-single-selection.js.map +1 -1
  43. package/lib/es2015/use-state-cycle.d.ts +2 -1
  44. package/lib/es2015/use-state-cycle.js +7 -7
  45. package/lib/es2015/use-state-cycle.js.map +1 -1
  46. package/lib/es2015/use-step.d.ts +2 -1
  47. package/lib/es2015/use-step.js +21 -23
  48. package/lib/es2015/use-step.js.map +1 -1
  49. package/lib/es2015/use-toggle.d.ts +1 -4
  50. package/lib/es2015/use-toggle.js +4 -2
  51. package/lib/es2015/use-toggle.js.map +1 -1
  52. package/lib/es2015/use-unmount.d.ts +1 -0
  53. package/lib/es2015/use-unmount.js +9 -0
  54. package/lib/es2015/use-unmount.js.map +1 -0
  55. package/lib/es2018/index.d.ts +2 -0
  56. package/lib/es2018/index.js +2 -0
  57. package/lib/es2018/index.js.map +1 -1
  58. package/lib/es2018/types.d.ts +3 -0
  59. package/lib/es2018/types.js +3 -0
  60. package/lib/es2018/types.js.map +1 -0
  61. package/lib/es2018/use-finite-state-machine.js +1 -1
  62. package/lib/es2018/use-finite-state-machine.js.map +1 -1
  63. package/lib/es2018/use-force-update.js +4 -1
  64. package/lib/es2018/use-force-update.js.map +1 -1
  65. package/lib/es2018/use-iife.d.ts +2 -0
  66. package/lib/es2018/use-iife.js +25 -0
  67. package/lib/es2018/use-iife.js.map +1 -0
  68. package/lib/es2018/use-increment.js +5 -5
  69. package/lib/es2018/use-increment.js.map +1 -1
  70. package/lib/es2018/use-is-first-render.js +4 -1
  71. package/lib/es2018/use-is-first-render.js.map +1 -1
  72. package/lib/es2018/use-is-mounted.js +7 -4
  73. package/lib/es2018/use-is-mounted.js.map +1 -1
  74. package/lib/es2018/use-multiple-selection.d.ts +8 -12
  75. package/lib/es2018/use-multiple-selection.js +45 -29
  76. package/lib/es2018/use-multiple-selection.js.map +1 -1
  77. package/lib/es2018/use-single-selection.d.ts +6 -13
  78. package/lib/es2018/use-single-selection.js +18 -15
  79. package/lib/es2018/use-single-selection.js.map +1 -1
  80. package/lib/es2018/use-state-cycle.d.ts +2 -1
  81. package/lib/es2018/use-state-cycle.js +7 -7
  82. package/lib/es2018/use-state-cycle.js.map +1 -1
  83. package/lib/es2018/use-step.d.ts +2 -1
  84. package/lib/es2018/use-step.js +21 -23
  85. package/lib/es2018/use-step.js.map +1 -1
  86. package/lib/es2018/use-toggle.d.ts +1 -4
  87. package/lib/es2018/use-toggle.js +4 -2
  88. package/lib/es2018/use-toggle.js.map +1 -1
  89. package/lib/es2018/use-unmount.d.ts +1 -0
  90. package/lib/es2018/use-unmount.js +9 -0
  91. package/lib/es2018/use-unmount.js.map +1 -0
  92. package/package.json +4 -2
@@ -2491,13 +2491,13 @@
2491
2491
 
2492
2492
  function useIncrement(initialValue) {
2493
2493
  const [value, setValue] = react.exports.useState(initialValue);
2494
- const increment = react.exports.useCallback((step = 1) => {
2494
+ return [value, react.exports.useCallback(increment, []), react.exports.useCallback(reset, [])];
2495
+ function increment(step = 1) {
2495
2496
  setValue(value => value + step);
2496
- }, []);
2497
- const reset = react.exports.useCallback(() => {
2497
+ }
2498
+ function reset() {
2498
2499
  setValue(initialValue);
2499
- }, []);
2500
- return [value, increment, reset];
2500
+ }
2501
2501
  }
2502
2502
 
2503
2503
  function useMount(effect) {
@@ -2505,14 +2505,17 @@
2505
2505
  }
2506
2506
 
2507
2507
  function useIsMounted() {
2508
- const isMounted = react.exports.useRef(false);
2508
+ const mounted = react.exports.useRef(false);
2509
2509
  useMount(() => {
2510
- isMounted.current = true;
2510
+ mounted.current = true;
2511
2511
  return () => {
2512
- isMounted.current = false;
2512
+ mounted.current = false;
2513
2513
  };
2514
2514
  });
2515
- return () => isMounted.current;
2515
+ return react.exports.useCallback(isMounted, []);
2516
+ function isMounted() {
2517
+ return mounted.current;
2518
+ }
2516
2519
  }
2517
2520
 
2518
2521
  var State;
@@ -2532,7 +2535,10 @@
2532
2535
  break;
2533
2536
  case State.NotFirst: break;
2534
2537
  }
2535
- return () => state.current === State.First;
2538
+ return react.exports.useCallback(isFirstRender, []);
2539
+ function isFirstRender() {
2540
+ return state.current === State.First;
2541
+ }
2536
2542
  }
2537
2543
 
2538
2544
  function useRenderCounter() {
@@ -2541,6 +2547,10 @@
2541
2547
  return counter.current;
2542
2548
  }
2543
2549
 
2550
+ function useUnmount(effect) {
2551
+ react.exports.useEffect(() => effect, []);
2552
+ }
2553
+
2544
2554
  function useUpdateEffect(effect, deps) {
2545
2555
  const isFirstRender = useIsFirstRender();
2546
2556
  react.exports.useEffect(() => {
@@ -2550,227 +2560,292 @@
2550
2560
  }, deps);
2551
2561
  }
2552
2562
 
2563
+ var es2018$9 = {};
2564
+
2565
+ var customError = {};
2566
+
2567
+ var es2018$8 = {};
2568
+
2569
+ var middleware = {};
2570
+
2571
+ var chunkAsync = {};
2572
+
2553
2573
  var es2018$7 = {};
2554
2574
 
2555
- var array = {};
2575
+ var go$1 = {};
2556
2576
 
2557
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
2558
- function isArray$3(val) {
2577
+ go$1.go = void 0;
2578
+ function go(fn) {
2579
+ return fn();
2580
+ }
2581
+ go$1.go = go;
2582
+
2583
+ (function (exports) {
2584
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2585
+ if (k2 === undefined) k2 = k;
2586
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
2587
+ }) : (function(o, m, k, k2) {
2588
+ if (k2 === undefined) k2 = k;
2589
+ o[k2] = m[k];
2590
+ }));
2591
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
2592
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2593
+ };__exportStar(go$1, exports);
2594
+
2595
+ } (es2018$7));
2596
+
2597
+ var hasRequiredChunkAsync;
2598
+
2599
+ function requireChunkAsync () {
2600
+ if (hasRequiredChunkAsync) return chunkAsync;
2601
+ hasRequiredChunkAsync = 1;
2602
+ chunkAsync.chunkAsync = void 0;
2603
+ const go_1 = es2018$7;
2604
+ const errors_1 = requireEs2018();
2605
+ function chunkAsync$1(iterable, size) {
2606
+ (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2607
+ (0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
2608
+ return (0, go_1.go)(async function* () {
2609
+ let buffer = [];
2610
+ for await (const element of iterable) {
2611
+ buffer.push(element);
2612
+ if (buffer.length >= size) {
2613
+ yield buffer;
2614
+ buffer = [];
2615
+ }
2616
+ }
2617
+ if (buffer.length)
2618
+ yield buffer;
2619
+ });
2620
+ }
2621
+ chunkAsync.chunkAsync = chunkAsync$1;
2622
+
2623
+ return chunkAsync;
2624
+ }
2625
+
2626
+ var chunkByAsync$1 = {};
2627
+
2628
+ var es2018$6 = {};
2629
+
2630
+ var array$2 = {};
2631
+
2632
+ array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
2633
+ function isArray$5(val) {
2559
2634
  return Array.isArray(val);
2560
2635
  }
2561
- array.isArray = isArray$3;
2562
- function isntArray(val) {
2563
- return !isArray$3(val);
2636
+ array$2.isArray = isArray$5;
2637
+ function isntArray$2(val) {
2638
+ return !isArray$5(val);
2564
2639
  }
2565
- array.isntArray = isntArray;
2566
- function isEmptyArray(val) {
2640
+ array$2.isntArray = isntArray$2;
2641
+ function isEmptyArray$2(val) {
2567
2642
  return val.length === 0;
2568
2643
  }
2569
- array.isEmptyArray = isEmptyArray;
2570
- function isntEmptyArray(val) {
2644
+ array$2.isEmptyArray = isEmptyArray$2;
2645
+ function isntEmptyArray$2(val) {
2571
2646
  return val.length !== 0;
2572
2647
  }
2573
- array.isntEmptyArray = isntEmptyArray;
2648
+ array$2.isntEmptyArray = isntEmptyArray$2;
2574
2649
 
2575
- var asyncIterable = {};
2650
+ var asyncIterable$2 = {};
2576
2651
 
2577
- var _null = {};
2652
+ var _null$2 = {};
2578
2653
 
2579
- _null.isntNull = _null.isNull = void 0;
2580
- function isNull(val) {
2654
+ _null$2.isntNull = _null$2.isNull = void 0;
2655
+ function isNull$2(val) {
2581
2656
  return val === null;
2582
2657
  }
2583
- _null.isNull = isNull;
2584
- function isntNull(val) {
2585
- return !isNull(val);
2658
+ _null$2.isNull = isNull$2;
2659
+ function isntNull$2(val) {
2660
+ return !isNull$2(val);
2586
2661
  }
2587
- _null.isntNull = isntNull;
2662
+ _null$2.isntNull = isntNull$2;
2588
2663
 
2589
- var _undefined = {};
2664
+ var _undefined$2 = {};
2590
2665
 
2591
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
2592
- function isUndefined(val) {
2666
+ _undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
2667
+ function isUndefined$2(val) {
2593
2668
  return val === undefined;
2594
2669
  }
2595
- _undefined.isUndefined = isUndefined;
2596
- function isntUndefined(val) {
2597
- return !isUndefined(val);
2670
+ _undefined$2.isUndefined = isUndefined$2;
2671
+ function isntUndefined$2(val) {
2672
+ return !isUndefined$2(val);
2598
2673
  }
2599
- _undefined.isntUndefined = isntUndefined;
2674
+ _undefined$2.isntUndefined = isntUndefined$2;
2600
2675
 
2601
- var _function = {};
2676
+ var _function$2 = {};
2602
2677
 
2603
- _function.isntFunction = _function.isFunction = void 0;
2604
- function isFunction$2(val) {
2678
+ _function$2.isntFunction = _function$2.isFunction = void 0;
2679
+ function isFunction$4(val) {
2605
2680
  return typeof val === 'function';
2606
2681
  }
2607
- _function.isFunction = isFunction$2;
2608
- function isntFunction(val) {
2609
- return !isFunction$2(val);
2682
+ _function$2.isFunction = isFunction$4;
2683
+ function isntFunction$2(val) {
2684
+ return !isFunction$4(val);
2610
2685
  }
2611
- _function.isntFunction = isntFunction;
2686
+ _function$2.isntFunction = isntFunction$2;
2612
2687
 
2613
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
2614
- const null_1$2 = _null;
2615
- const undefined_1$1 = _undefined;
2616
- const function_1$2 = _function;
2617
- function isAsyncIterable$2(val) {
2618
- return (0, null_1$2.isntNull)(val)
2619
- && (0, undefined_1$1.isntUndefined)(val)
2620
- && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
2688
+ asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
2689
+ const null_1$8 = _null$2;
2690
+ const undefined_1$5 = _undefined$2;
2691
+ const function_1$8 = _function$2;
2692
+ function isAsyncIterable$4(val) {
2693
+ return (0, null_1$8.isntNull)(val)
2694
+ && (0, undefined_1$5.isntUndefined)(val)
2695
+ && (0, function_1$8.isFunction)(val[Symbol.asyncIterator]);
2621
2696
  }
2622
- asyncIterable.isAsyncIterable = isAsyncIterable$2;
2623
- function isntAsyncIterable(val) {
2624
- return !isAsyncIterable$2(val);
2697
+ asyncIterable$2.isAsyncIterable = isAsyncIterable$4;
2698
+ function isntAsyncIterable$2(val) {
2699
+ return !isAsyncIterable$4(val);
2625
2700
  }
2626
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
2701
+ asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
2627
2702
 
2628
- var bigint = {};
2703
+ var bigint$2 = {};
2629
2704
 
2630
- bigint.isntBigInt = bigint.isBigInt = void 0;
2631
- function isBigInt(val) {
2705
+ bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
2706
+ function isBigInt$2(val) {
2632
2707
  return typeof val === 'bigint';
2633
2708
  }
2634
- bigint.isBigInt = isBigInt;
2635
- function isntBigInt(val) {
2636
- return !isBigInt(val);
2709
+ bigint$2.isBigInt = isBigInt$2;
2710
+ function isntBigInt$2(val) {
2711
+ return !isBigInt$2(val);
2637
2712
  }
2638
- bigint.isntBigInt = isntBigInt;
2713
+ bigint$2.isntBigInt = isntBigInt$2;
2639
2714
 
2640
- var boolean = {};
2715
+ var boolean$2 = {};
2641
2716
 
2642
- boolean.isntBoolean = boolean.isBoolean = void 0;
2643
- function isBoolean(val) {
2717
+ boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
2718
+ function isBoolean$2(val) {
2644
2719
  return typeof val === 'boolean';
2645
2720
  }
2646
- boolean.isBoolean = isBoolean;
2647
- function isntBoolean(val) {
2648
- return !isBoolean(val);
2721
+ boolean$2.isBoolean = isBoolean$2;
2722
+ function isntBoolean$2(val) {
2723
+ return !isBoolean$2(val);
2649
2724
  }
2650
- boolean.isntBoolean = isntBoolean;
2725
+ boolean$2.isntBoolean = isntBoolean$2;
2651
2726
 
2652
- var char = {};
2727
+ var char$2 = {};
2653
2728
 
2654
- var string = {};
2729
+ var string$2 = {};
2655
2730
 
2656
- string.isntString = string.isString = void 0;
2657
- function isString(val) {
2731
+ string$2.isntString = string$2.isString = void 0;
2732
+ function isString$2(val) {
2658
2733
  return typeof val === 'string';
2659
2734
  }
2660
- string.isString = isString;
2661
- function isntString(val) {
2662
- return !isString(val);
2735
+ string$2.isString = isString$2;
2736
+ function isntString$2(val) {
2737
+ return !isString$2(val);
2663
2738
  }
2664
- string.isntString = isntString;
2739
+ string$2.isntString = isntString$2;
2665
2740
 
2666
- char.isntChar = char.isChar = void 0;
2667
- const string_1$1 = string;
2668
- function isChar(val) {
2669
- return (0, string_1$1.isString)(val)
2741
+ char$2.isntChar = char$2.isChar = void 0;
2742
+ const string_1$5 = string$2;
2743
+ function isChar$2(val) {
2744
+ return (0, string_1$5.isString)(val)
2670
2745
  && val.length === 1;
2671
2746
  }
2672
- char.isChar = isChar;
2673
- function isntChar(val) {
2674
- return !isChar(val);
2747
+ char$2.isChar = isChar$2;
2748
+ function isntChar$2(val) {
2749
+ return !isChar$2(val);
2675
2750
  }
2676
- char.isntChar = isntChar;
2751
+ char$2.isntChar = isntChar$2;
2677
2752
 
2678
- var date = {};
2753
+ var date$2 = {};
2679
2754
 
2680
- date.isntDate = date.isDate = void 0;
2681
- function isDate$1(val) {
2755
+ date$2.isntDate = date$2.isDate = void 0;
2756
+ function isDate$3(val) {
2682
2757
  return val instanceof Date;
2683
2758
  }
2684
- date.isDate = isDate$1;
2685
- function isntDate(val) {
2686
- return !isDate$1(val);
2759
+ date$2.isDate = isDate$3;
2760
+ function isntDate$2(val) {
2761
+ return !isDate$3(val);
2687
2762
  }
2688
- date.isntDate = isntDate;
2763
+ date$2.isntDate = isntDate$2;
2689
2764
 
2690
- var _enum = {};
2765
+ var _enum$2 = {};
2691
2766
 
2692
- _enum.inEnum = void 0;
2693
- function inEnum(val, _enum) {
2767
+ _enum$2.inEnum = void 0;
2768
+ function inEnum$2(val, _enum) {
2694
2769
  return Object.values(_enum).includes(val);
2695
2770
  }
2696
- _enum.inEnum = inEnum;
2771
+ _enum$2.inEnum = inEnum$2;
2697
2772
 
2698
- var error = {};
2773
+ var error$2 = {};
2699
2774
 
2700
- error.isntError = error.isError = void 0;
2701
- function isError(val) {
2775
+ error$2.isntError = error$2.isError = void 0;
2776
+ function isError$2(val) {
2702
2777
  return val instanceof Error;
2703
2778
  }
2704
- error.isError = isError;
2705
- function isntError(val) {
2706
- return !isError(val);
2779
+ error$2.isError = isError$2;
2780
+ function isntError$2(val) {
2781
+ return !isError$2(val);
2707
2782
  }
2708
- error.isntError = isntError;
2783
+ error$2.isntError = isntError$2;
2709
2784
 
2710
- var falsy = {};
2785
+ var falsy$2 = {};
2711
2786
 
2712
- falsy.isntFalsy = falsy.isFalsy = void 0;
2713
- function isFalsy(val) {
2787
+ falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
2788
+ function isFalsy$2(val) {
2714
2789
  return !val;
2715
2790
  }
2716
- falsy.isFalsy = isFalsy;
2717
- function isntFalsy(val) {
2718
- return !isFalsy(val);
2791
+ falsy$2.isFalsy = isFalsy$2;
2792
+ function isntFalsy$2(val) {
2793
+ return !isFalsy$2(val);
2719
2794
  }
2720
- falsy.isntFalsy = isntFalsy;
2795
+ falsy$2.isntFalsy = isntFalsy$2;
2721
2796
 
2722
- var iterable = {};
2797
+ var iterable$2 = {};
2723
2798
 
2724
- iterable.isntIterable = iterable.isIterable = void 0;
2725
- const null_1$1 = _null;
2726
- const undefined_1 = _undefined;
2727
- const function_1$1 = _function;
2728
- function isIterable$2(val) {
2729
- return (0, null_1$1.isntNull)(val)
2730
- && (0, undefined_1.isntUndefined)(val)
2731
- && (0, function_1$1.isFunction)(val[Symbol.iterator]);
2799
+ iterable$2.isntIterable = iterable$2.isIterable = void 0;
2800
+ const null_1$7 = _null$2;
2801
+ const undefined_1$4 = _undefined$2;
2802
+ const function_1$7 = _function$2;
2803
+ function isIterable$4(val) {
2804
+ return (0, null_1$7.isntNull)(val)
2805
+ && (0, undefined_1$4.isntUndefined)(val)
2806
+ && (0, function_1$7.isFunction)(val[Symbol.iterator]);
2732
2807
  }
2733
- iterable.isIterable = isIterable$2;
2734
- function isntIterable(val) {
2735
- return !isIterable$2(val);
2808
+ iterable$2.isIterable = isIterable$4;
2809
+ function isntIterable$2(val) {
2810
+ return !isIterable$4(val);
2736
2811
  }
2737
- iterable.isntIterable = isntIterable;
2812
+ iterable$2.isntIterable = isntIterable$2;
2738
2813
 
2739
- var json = {};
2814
+ var json$2 = {};
2740
2815
 
2741
- var number = {};
2816
+ var number$2 = {};
2742
2817
 
2743
- number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
2744
- function isNumber(val) {
2818
+ number$2.isntNaN = number$2.isNaN = number$2.isNegativeInfinity = number$2.isPositiveInfinity = number$2.isFinite = number$2.isntNumber = number$2.isNumber = void 0;
2819
+ function isNumber$2(val) {
2745
2820
  return typeof val === 'number';
2746
2821
  }
2747
- number.isNumber = isNumber;
2748
- function isntNumber(val) {
2749
- return !isNumber(val);
2822
+ number$2.isNumber = isNumber$2;
2823
+ function isntNumber$2(val) {
2824
+ return !isNumber$2(val);
2750
2825
  }
2751
- number.isntNumber = isntNumber;
2752
- function isFinite(val) {
2826
+ number$2.isntNumber = isntNumber$2;
2827
+ function isFinite$2(val) {
2753
2828
  return Number.isFinite(val);
2754
2829
  }
2755
- number.isFinite = isFinite;
2756
- function isPositiveInfinity(val) {
2830
+ number$2.isFinite = isFinite$2;
2831
+ function isPositiveInfinity$2(val) {
2757
2832
  return val === Infinity;
2758
2833
  }
2759
- number.isPositiveInfinity = isPositiveInfinity;
2760
- function isNegativeInfinity(val) {
2834
+ number$2.isPositiveInfinity = isPositiveInfinity$2;
2835
+ function isNegativeInfinity$2(val) {
2761
2836
  return val === -Infinity;
2762
2837
  }
2763
- number.isNegativeInfinity = isNegativeInfinity;
2764
- function isNaN$1(val) {
2838
+ number$2.isNegativeInfinity = isNegativeInfinity$2;
2839
+ function isNaN$3(val) {
2765
2840
  return Number.isNaN(val);
2766
2841
  }
2767
- number.isNaN = isNaN$1;
2768
- function isntNaN(val) {
2769
- return !isNaN$1(val);
2842
+ number$2.isNaN = isNaN$3;
2843
+ function isntNaN$2(val) {
2844
+ return !isNaN$3(val);
2770
2845
  }
2771
- number.isntNaN = isntNaN;
2846
+ number$2.isntNaN = isntNaN$2;
2772
2847
 
2773
- var object = {};
2848
+ var object$2 = {};
2774
2849
 
2775
2850
  /** Detect free variable `global` from Node.js. */
2776
2851
 
@@ -2998,7 +3073,7 @@
2998
3073
  * _.isPlainObject(Object.create(null));
2999
3074
  * // => true
3000
3075
  */
3001
- function isPlainObject$1(value) {
3076
+ function isPlainObject$3(value) {
3002
3077
  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
3003
3078
  return false;
3004
3079
  }
@@ -3011,59 +3086,59 @@
3011
3086
  funcToString.call(Ctor) == objectCtorString;
3012
3087
  }
3013
3088
 
3014
- var isPlainObject_1$1 = isPlainObject$1;
3089
+ var isPlainObject_1$3 = isPlainObject$3;
3015
3090
 
3016
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
3091
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
3017
3092
  return (mod && mod.__esModule) ? mod : { "default": mod };
3018
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
3019
- const isPlainObject_1 = __importDefault(isPlainObject_1$1);
3020
- function isObject(val) {
3093
+ };object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
3094
+ const isPlainObject_1$2 = __importDefault$2(isPlainObject_1$3);
3095
+ function isObject$2(val) {
3021
3096
  return val !== null
3022
3097
  && typeof val === 'object';
3023
3098
  }
3024
- object.isObject = isObject;
3025
- function isntObject(val) {
3026
- return !isObject(val);
3099
+ object$2.isObject = isObject$2;
3100
+ function isntObject$2(val) {
3101
+ return !isObject$2(val);
3027
3102
  }
3028
- object.isntObject = isntObject;
3029
- function isPlainObject(val) {
3030
- return (0, isPlainObject_1.default)(val);
3103
+ object$2.isntObject = isntObject$2;
3104
+ function isPlainObject$2(val) {
3105
+ return (0, isPlainObject_1$2.default)(val);
3031
3106
  }
3032
- object.isPlainObject = isPlainObject;
3033
- function isntPlainObject(val) {
3034
- return !isPlainObject(val);
3107
+ object$2.isPlainObject = isPlainObject$2;
3108
+ function isntPlainObject$2(val) {
3109
+ return !isPlainObject$2(val);
3035
3110
  }
3036
- object.isntPlainObject = isntPlainObject;
3037
- function isEmptyObject(val) {
3111
+ object$2.isntPlainObject = isntPlainObject$2;
3112
+ function isEmptyObject$2(val) {
3038
3113
  return Object.keys(val).length === 0;
3039
3114
  }
3040
- object.isEmptyObject = isEmptyObject;
3041
- function isntEmptyObject(val) {
3115
+ object$2.isEmptyObject = isEmptyObject$2;
3116
+ function isntEmptyObject$2(val) {
3042
3117
  return Object.keys(val).length !== 0;
3043
3118
  }
3044
- object.isntEmptyObject = isntEmptyObject;
3045
-
3046
- json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
3047
- const null_1 = _null;
3048
- const boolean_1 = boolean;
3049
- const string_1 = string;
3050
- const number_1 = number;
3051
- const array_1 = array;
3052
- const object_1$1 = object;
3053
- function isJson(val) {
3054
- return (0, null_1.isNull)(val)
3055
- || (0, boolean_1.isBoolean)(val)
3056
- || (0, string_1.isString)(val)
3057
- || (0, number_1.isNumber)(val)
3058
- || ((0, array_1.isArray)(val) && val.every(isJson))
3059
- || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
3060
- }
3061
- json.isJson = isJson;
3062
- function isntJson(val) {
3063
- return !isJson(val);
3064
- }
3065
- json.isntJson = isntJson;
3066
- function isJsonable(val) {
3119
+ object$2.isntEmptyObject = isntEmptyObject$2;
3120
+
3121
+ json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
3122
+ const null_1$6 = _null$2;
3123
+ const boolean_1$2 = boolean$2;
3124
+ const string_1$4 = string$2;
3125
+ const number_1$2 = number$2;
3126
+ const array_1$2 = array$2;
3127
+ const object_1$5 = object$2;
3128
+ function isJson$2(val) {
3129
+ return (0, null_1$6.isNull)(val)
3130
+ || (0, boolean_1$2.isBoolean)(val)
3131
+ || (0, string_1$4.isString)(val)
3132
+ || (0, number_1$2.isNumber)(val)
3133
+ || ((0, array_1$2.isArray)(val) && val.every(isJson$2))
3134
+ || ((0, object_1$5.isPlainObject)(val) && Object.values(val).every(isJson$2));
3135
+ }
3136
+ json$2.isJson = isJson$2;
3137
+ function isntJson$2(val) {
3138
+ return !isJson$2(val);
3139
+ }
3140
+ json$2.isntJson = isntJson$2;
3141
+ function isJsonable$2(val) {
3067
3142
  try {
3068
3143
  JSON.stringify(val);
3069
3144
  return true;
@@ -3072,39 +3147,39 @@
3072
3147
  return false;
3073
3148
  }
3074
3149
  }
3075
- json.isJsonable = isJsonable;
3076
- function isntJsonable(val) {
3077
- return !isntJsonable();
3150
+ json$2.isJsonable = isJsonable$2;
3151
+ function isntJsonable$2(val) {
3152
+ return !isntJsonable$2();
3078
3153
  }
3079
- json.isntJsonable = isntJsonable;
3154
+ json$2.isntJsonable = isntJsonable$2;
3080
3155
 
3081
- var promise = {};
3156
+ var promise$2 = {};
3082
3157
 
3083
- promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
3084
- const object_1 = object;
3085
- const function_1 = _function;
3086
- function isPromise$2(val) {
3158
+ promise$2.isPromiseLike = promise$2.isntPromiseLike = promise$2.isntPromise = promise$2.isPromise = void 0;
3159
+ const object_1$4 = object$2;
3160
+ const function_1$6 = _function$2;
3161
+ function isPromise$4(val) {
3087
3162
  return val instanceof Promise;
3088
3163
  }
3089
- promise.isPromise = isPromise$2;
3090
- function isntPromise(val) {
3091
- return !isPromise$2(val);
3164
+ promise$2.isPromise = isPromise$4;
3165
+ function isntPromise$2(val) {
3166
+ return !isPromise$4(val);
3092
3167
  }
3093
- promise.isntPromise = isntPromise;
3094
- function isntPromiseLike(val) {
3095
- return !isPromiseLike(val);
3168
+ promise$2.isntPromise = isntPromise$2;
3169
+ function isntPromiseLike$2(val) {
3170
+ return !isPromiseLike$2(val);
3096
3171
  }
3097
- promise.isntPromiseLike = isntPromiseLike;
3098
- function isPromiseLike(val) {
3099
- return (0, object_1.isObject)(val)
3100
- && (0, function_1.isFunction)(val.then);
3172
+ promise$2.isntPromiseLike = isntPromiseLike$2;
3173
+ function isPromiseLike$2(val) {
3174
+ return (0, object_1$4.isObject)(val)
3175
+ && (0, function_1$6.isFunction)(val.then);
3101
3176
  }
3102
- promise.isPromiseLike = isPromiseLike;
3177
+ promise$2.isPromiseLike = isPromiseLike$2;
3103
3178
 
3104
- var url = {};
3179
+ var url$2 = {};
3105
3180
 
3106
- url.isAbsoluteURL = void 0;
3107
- function isAbsoluteURL(str) {
3181
+ url$2.isAbsoluteURL = void 0;
3182
+ function isAbsoluteURL$2(str) {
3108
3183
  try {
3109
3184
  new URL(str);
3110
3185
  return true;
@@ -3113,7 +3188,7 @@
3113
3188
  return false;
3114
3189
  }
3115
3190
  }
3116
- url.isAbsoluteURL = isAbsoluteURL;
3191
+ url$2.isAbsoluteURL = isAbsoluteURL$2;
3117
3192
 
3118
3193
  (function (exports) {
3119
3194
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -3129,95 +3204,30 @@
3129
3204
  }));
3130
3205
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3131
3206
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3132
- };__exportStar(array, exports);
3133
- __exportStar(asyncIterable, exports);
3134
- __exportStar(bigint, exports);
3135
- __exportStar(boolean, exports);
3136
- __exportStar(char, exports);
3137
- __exportStar(date, exports);
3138
- __exportStar(_enum, exports);
3139
- __exportStar(error, exports);
3140
- __exportStar(falsy, exports);
3141
- __exportStar(_function, exports);
3142
- __exportStar(iterable, exports);
3143
- __exportStar(json, exports);
3144
- __exportStar(_null, exports);
3145
- __exportStar(number, exports);
3146
- __exportStar(object, exports);
3147
- __exportStar(promise, exports);
3148
- __exportStar(string, exports);
3149
- __exportStar(_undefined, exports);
3150
- __exportStar(url, exports);
3151
-
3152
- } (es2018$7));
3153
-
3154
- var es2018$6 = {};
3155
-
3156
- var customError = {};
3157
-
3158
- var es2018$5 = {};
3159
-
3160
- var middleware = {};
3161
-
3162
- var chunkAsync = {};
3163
-
3164
- var es2018$4 = {};
3165
-
3166
- var go$1 = {};
3167
-
3168
- go$1.go = void 0;
3169
- function go(fn) {
3170
- return fn();
3171
- }
3172
- go$1.go = go;
3173
-
3174
- (function (exports) {
3175
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3176
- if (k2 === undefined) k2 = k;
3177
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
3178
- }) : (function(o, m, k, k2) {
3179
- if (k2 === undefined) k2 = k;
3180
- o[k2] = m[k];
3181
- }));
3182
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3183
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3184
- };__exportStar(go$1, exports);
3185
-
3186
- } (es2018$4));
3187
-
3188
- var hasRequiredChunkAsync;
3189
-
3190
- function requireChunkAsync () {
3191
- if (hasRequiredChunkAsync) return chunkAsync;
3192
- hasRequiredChunkAsync = 1;
3193
- chunkAsync.chunkAsync = void 0;
3194
- const go_1 = es2018$4;
3195
- const errors_1 = requireEs2018();
3196
- function chunkAsync$1(iterable, size) {
3197
- (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
3198
- (0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
3199
- return (0, go_1.go)(async function* () {
3200
- let buffer = [];
3201
- for await (const element of iterable) {
3202
- buffer.push(element);
3203
- if (buffer.length >= size) {
3204
- yield buffer;
3205
- buffer = [];
3206
- }
3207
- }
3208
- if (buffer.length)
3209
- yield buffer;
3210
- });
3211
- }
3212
- chunkAsync.chunkAsync = chunkAsync$1;
3207
+ };__exportStar(array$2, exports);
3208
+ __exportStar(asyncIterable$2, exports);
3209
+ __exportStar(bigint$2, exports);
3210
+ __exportStar(boolean$2, exports);
3211
+ __exportStar(char$2, exports);
3212
+ __exportStar(date$2, exports);
3213
+ __exportStar(_enum$2, exports);
3214
+ __exportStar(error$2, exports);
3215
+ __exportStar(falsy$2, exports);
3216
+ __exportStar(_function$2, exports);
3217
+ __exportStar(iterable$2, exports);
3218
+ __exportStar(json$2, exports);
3219
+ __exportStar(_null$2, exports);
3220
+ __exportStar(number$2, exports);
3221
+ __exportStar(object$2, exports);
3222
+ __exportStar(promise$2, exports);
3223
+ __exportStar(string$2, exports);
3224
+ __exportStar(_undefined$2, exports);
3225
+ __exportStar(url$2, exports);
3213
3226
 
3214
- return chunkAsync;
3215
- }
3216
-
3217
- var chunkByAsync$1 = {};
3227
+ } (es2018$6));
3218
3228
 
3219
3229
  chunkByAsync$1.chunkByAsync = void 0;
3220
- const types_1$j = es2018$7;
3230
+ const types_1$j = es2018$6;
3221
3231
  function chunkByAsync(iterable, predicate) {
3222
3232
  if ((0, types_1$j.isAsyncIterable)(iterable)) {
3223
3233
  return chunkByAsyncIterable(iterable);
@@ -3283,7 +3293,7 @@
3283
3293
  if (hasRequiredChunk) return chunk;
3284
3294
  hasRequiredChunk = 1;
3285
3295
  chunk.chunk = void 0;
3286
- const go_1 = es2018$4;
3296
+ const go_1 = es2018$7;
3287
3297
  const errors_1 = requireEs2018();
3288
3298
  function chunk$1(iterable, size) {
3289
3299
  (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -3309,8 +3319,8 @@
3309
3319
  var concatAsync$1 = {};
3310
3320
 
3311
3321
  concatAsync$1.concatAsync = void 0;
3312
- const types_1$i = es2018$7;
3313
- const go_1$1 = es2018$4;
3322
+ const types_1$i = es2018$6;
3323
+ const go_1$1 = es2018$7;
3314
3324
  function concatAsync(iterable, ...otherIterables) {
3315
3325
  return (0, go_1$1.go)(async function* () {
3316
3326
  for (const iter of [iterable, ...otherIterables]) {
@@ -3332,7 +3342,7 @@
3332
3342
  var concat$5 = {};
3333
3343
 
3334
3344
  concat$5.concat = void 0;
3335
- const go_1 = es2018$4;
3345
+ const go_1 = es2018$7;
3336
3346
  function concat$4(iterable, ...otherIterables) {
3337
3347
  return (0, go_1.go)(function* () {
3338
3348
  for (const iter of [iterable, ...otherIterables]) {
@@ -3366,7 +3376,7 @@
3366
3376
  if (hasRequiredDropAsync) return dropAsync;
3367
3377
  hasRequiredDropAsync = 1;
3368
3378
  dropAsync.dropAsync = void 0;
3369
- const go_1 = es2018$4;
3379
+ const go_1 = es2018$7;
3370
3380
  const utils_1 = utils;
3371
3381
  const errors_1 = requireEs2018();
3372
3382
  function dropAsync$1(iterable, count) {
@@ -3409,7 +3419,7 @@
3409
3419
  if (hasRequiredDropRightAsync) return dropRightAsync;
3410
3420
  hasRequiredDropRightAsync = 1;
3411
3421
  dropRightAsync.dropRightAsync = void 0;
3412
- const go_1 = es2018$4;
3422
+ const go_1 = es2018$7;
3413
3423
  const utils_1 = utils;
3414
3424
  const errors_1 = requireEs2018();
3415
3425
  function dropRightAsync$1(iterable, count) {
@@ -3445,7 +3455,7 @@
3445
3455
  if (hasRequiredDropRight) return dropRight;
3446
3456
  hasRequiredDropRight = 1;
3447
3457
  dropRight.dropRight = void 0;
3448
- const go_1 = es2018$4;
3458
+ const go_1 = es2018$7;
3449
3459
  const utils_1 = utils;
3450
3460
  const errors_1 = requireEs2018();
3451
3461
  function dropRight$1(iterable, count) {
@@ -3466,7 +3476,7 @@
3466
3476
  var dropUntilAsync$1 = {};
3467
3477
 
3468
3478
  dropUntilAsync$1.dropUntilAsync = void 0;
3469
- const types_1$h = es2018$7;
3479
+ const types_1$h = es2018$6;
3470
3480
  function dropUntilAsync(iterable, predicate) {
3471
3481
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
3472
3482
  return dropUntilAsyncIterable(iterable);
@@ -3553,7 +3563,7 @@
3553
3563
  if (hasRequiredDrop) return drop;
3554
3564
  hasRequiredDrop = 1;
3555
3565
  drop.drop = void 0;
3556
- const go_1 = es2018$4;
3566
+ const go_1 = es2018$7;
3557
3567
  const utils_1 = utils;
3558
3568
  const errors_1 = requireEs2018();
3559
3569
  function drop$1(iterable, count) {
@@ -3591,7 +3601,7 @@
3591
3601
  var filterAsync$1 = {};
3592
3602
 
3593
3603
  filterAsync$1.filterAsync = void 0;
3594
- const types_1$g = es2018$7;
3604
+ const types_1$g = es2018$6;
3595
3605
  function filterAsync(iterable, predicate) {
3596
3606
  if ((0, types_1$g.isAsyncIterable)(iterable)) {
3597
3607
  return filterAsyncIterable(iterable);
@@ -3638,7 +3648,7 @@
3638
3648
  var flattenByAsync$1 = {};
3639
3649
 
3640
3650
  flattenByAsync$1.flattenByAsync = void 0;
3641
- const types_1$f = es2018$7;
3651
+ const types_1$f = es2018$6;
3642
3652
  function flattenByAsync(iterable, predicate) {
3643
3653
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
3644
3654
  return flattenByAsyncIterable(iterable);
@@ -3712,7 +3722,7 @@
3712
3722
  var flattenBy$1 = {};
3713
3723
 
3714
3724
  flattenBy$1.flattenBy = void 0;
3715
- const types_1$e = es2018$7;
3725
+ const types_1$e = es2018$6;
3716
3726
  function flattenBy(iterable, predicate) {
3717
3727
  return flatten(iterable, 1);
3718
3728
  function* flatten(iterable, level) {
@@ -3771,7 +3781,7 @@
3771
3781
  var mapAsync$1 = {};
3772
3782
 
3773
3783
  mapAsync$1.mapAsync = void 0;
3774
- const types_1$d = es2018$7;
3784
+ const types_1$d = es2018$6;
3775
3785
  function mapAsync(iterable, fn) {
3776
3786
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
3777
3787
  return mapAsyncIterable(iterable);
@@ -3816,7 +3826,7 @@
3816
3826
  if (hasRequiredRepeatAsync) return repeatAsync;
3817
3827
  hasRequiredRepeatAsync = 1;
3818
3828
  repeatAsync.repeatAsync = void 0;
3819
- const go_1 = es2018$4;
3829
+ const go_1 = es2018$7;
3820
3830
  const errors_1 = requireEs2018();
3821
3831
  function repeatAsync$1(iterable, times) {
3822
3832
  (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -3859,7 +3869,7 @@
3859
3869
  if (hasRequiredRepeat) return repeat$2;
3860
3870
  hasRequiredRepeat = 1;
3861
3871
  repeat$2.repeat = void 0;
3862
- const go_1 = es2018$4;
3872
+ const go_1 = es2018$7;
3863
3873
  const errors_1 = requireEs2018();
3864
3874
  function repeat(iterable, times) {
3865
3875
  (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -3902,7 +3912,7 @@
3902
3912
  if (hasRequiredSliceAsync) return sliceAsync;
3903
3913
  hasRequiredSliceAsync = 1;
3904
3914
  sliceAsync.sliceAsync = void 0;
3905
- const go_1 = es2018$4;
3915
+ const go_1 = es2018$7;
3906
3916
  const errors_1 = requireEs2018();
3907
3917
  function sliceAsync$1(iterable, start, end = Infinity) {
3908
3918
  (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -3933,7 +3943,7 @@
3933
3943
  if (hasRequiredSlice) return slice;
3934
3944
  hasRequiredSlice = 1;
3935
3945
  slice.slice = void 0;
3936
- const go_1 = es2018$4;
3946
+ const go_1 = es2018$7;
3937
3947
  const errors_1 = requireEs2018();
3938
3948
  function slice$1(iterable, start, end = Infinity) {
3939
3949
  (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -3977,7 +3987,7 @@
3977
3987
  var splitByAsync$1 = {};
3978
3988
 
3979
3989
  splitByAsync$1.splitByAsync = void 0;
3980
- const types_1$c = es2018$7;
3990
+ const types_1$c = es2018$6;
3981
3991
  function splitByAsync(iterable, predicate) {
3982
3992
  if ((0, types_1$c.isAsyncIterable)(iterable)) {
3983
3993
  return splitByAsyncIterable(iterable);
@@ -4064,7 +4074,7 @@
4064
4074
  if (hasRequiredTakeAsync) return takeAsync;
4065
4075
  hasRequiredTakeAsync = 1;
4066
4076
  takeAsync.takeAsync = void 0;
4067
- const go_1 = es2018$4;
4077
+ const go_1 = es2018$7;
4068
4078
  const errors_1 = requireEs2018();
4069
4079
  function takeAsync$1(iterable, count) {
4070
4080
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4093,7 +4103,7 @@
4093
4103
  if (hasRequiredTakeRightAsync) return takeRightAsync;
4094
4104
  hasRequiredTakeRightAsync = 1;
4095
4105
  takeRightAsync.takeRightAsync = void 0;
4096
- const go_1 = es2018$4;
4106
+ const go_1 = es2018$7;
4097
4107
  const errors_1 = requireEs2018();
4098
4108
  function takeRightAsync$1(iterable, count) {
4099
4109
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4131,7 +4141,7 @@
4131
4141
  if (hasRequiredTakeRight) return takeRight;
4132
4142
  hasRequiredTakeRight = 1;
4133
4143
  takeRight.takeRight = void 0;
4134
- const go_1 = es2018$4;
4144
+ const go_1 = es2018$7;
4135
4145
  const errors_1 = requireEs2018();
4136
4146
  function takeRight$1(iterable, count) {
4137
4147
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4164,7 +4174,7 @@
4164
4174
  var takeUntilAsync$1 = {};
4165
4175
 
4166
4176
  takeUntilAsync$1.takeUntilAsync = void 0;
4167
- const types_1$b = es2018$7;
4177
+ const types_1$b = es2018$6;
4168
4178
  function takeUntilAsync(iterable, predicate) {
4169
4179
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
4170
4180
  return takeUntilAsyncIterable(iterable);
@@ -4215,7 +4225,7 @@
4215
4225
  if (hasRequiredTake) return take$2;
4216
4226
  hasRequiredTake = 1;
4217
4227
  take$2.take = void 0;
4218
- const go_1 = es2018$4;
4228
+ const go_1 = es2018$7;
4219
4229
  const errors_1 = requireEs2018();
4220
4230
  function take(iterable, count) {
4221
4231
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4239,7 +4249,7 @@
4239
4249
  var tapAsync$1 = {};
4240
4250
 
4241
4251
  tapAsync$1.tapAsync = void 0;
4242
- const types_1$a = es2018$7;
4252
+ const types_1$a = es2018$6;
4243
4253
  function tapAsync(iterable, fn) {
4244
4254
  if ((0, types_1$a.isAsyncIterable)(iterable)) {
4245
4255
  return tapAsyncIterable(iterable);
@@ -4322,7 +4332,7 @@
4322
4332
  var uniqByAsync$1 = {};
4323
4333
 
4324
4334
  uniqByAsync$1.uniqByAsync = void 0;
4325
- const types_1$9 = es2018$7;
4335
+ const types_1$9 = es2018$6;
4326
4336
  function uniqByAsync(iterable, fn) {
4327
4337
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
4328
4338
  return uniqByAsyncIterable(iterable);
@@ -4391,7 +4401,7 @@
4391
4401
  var zipAsync$1 = {};
4392
4402
 
4393
4403
  zipAsync$1.zipAsync = void 0;
4394
- const types_1$8 = es2018$7;
4404
+ const types_1$8 = es2018$6;
4395
4405
  var Kind;
4396
4406
  (function (Kind) {
4397
4407
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -4562,7 +4572,7 @@
4562
4572
  var eachAsync$1 = {};
4563
4573
 
4564
4574
  eachAsync$1.eachAsync = void 0;
4565
- const types_1$7 = es2018$7;
4575
+ const types_1$7 = es2018$6;
4566
4576
  function eachAsync(iterable, fn) {
4567
4577
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
4568
4578
  return eachAsyncIterable(iterable);
@@ -4602,7 +4612,7 @@
4602
4612
  var everyAsync$1 = {};
4603
4613
 
4604
4614
  everyAsync$1.everyAsync = void 0;
4605
- const types_1$6 = es2018$7;
4615
+ const types_1$6 = es2018$6;
4606
4616
  function everyAsync(iterable, predicate) {
4607
4617
  if ((0, types_1$6.isAsyncIterable)(iterable)) {
4608
4618
  return everyAsyncIterable(iterable);
@@ -4648,7 +4658,7 @@
4648
4658
  var findAsync$1 = {};
4649
4659
 
4650
4660
  findAsync$1.findAsync = void 0;
4651
- const types_1$5 = es2018$7;
4661
+ const types_1$5 = es2018$6;
4652
4662
  function findAsync(iterable, predicate) {
4653
4663
  if ((0, types_1$5.isAsyncIterable)(iterable)) {
4654
4664
  return findAsyncIterable(iterable);
@@ -4772,7 +4782,7 @@
4772
4782
  var reduceAsync$1 = {};
4773
4783
 
4774
4784
  reduceAsync$1.reduceAsync = void 0;
4775
- const types_1$4 = es2018$7;
4785
+ const types_1$4 = es2018$6;
4776
4786
  function reduceAsync(iterable, fn, initialValue) {
4777
4787
  if ((0, types_1$4.isUndefined)(initialValue)) {
4778
4788
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -4868,7 +4878,7 @@
4868
4878
  var reduce$3 = {};
4869
4879
 
4870
4880
  reduce$3.reduce = void 0;
4871
- const types_1$3 = es2018$7;
4881
+ const types_1$3 = es2018$6;
4872
4882
  function reduce$2(iterable, fn, initialValue) {
4873
4883
  if ((0, types_1$3.isUndefined)(initialValue)) {
4874
4884
  return reduceWithoutInitialValue(iterable, fn);
@@ -4915,7 +4925,7 @@
4915
4925
  var someAsync$1 = {};
4916
4926
 
4917
4927
  someAsync$1.someAsync = void 0;
4918
- const types_1$2 = es2018$7;
4928
+ const types_1$2 = es2018$6;
4919
4929
  function someAsync(iterable, predicate) {
4920
4930
  if ((0, types_1$2.isAsyncIterable)(iterable)) {
4921
4931
  return someAsyncIterable(iterable);
@@ -5119,7 +5129,7 @@
5119
5129
  var hasRequiredEs2018$1;
5120
5130
 
5121
5131
  function requireEs2018$1 () {
5122
- if (hasRequiredEs2018$1) return es2018$5;
5132
+ if (hasRequiredEs2018$1) return es2018$8;
5123
5133
  hasRequiredEs2018$1 = 1;
5124
5134
  (function (exports) {
5125
5135
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -5138,12 +5148,385 @@
5138
5148
  };__exportStar(requireMiddleware(), exports);
5139
5149
  __exportStar(output, exports);
5140
5150
 
5141
- } (es2018$5));
5142
- return es2018$5;
5151
+ } (es2018$8));
5152
+ return es2018$8;
5143
5153
  }
5144
5154
 
5145
5155
  var getErrorNames$1 = {};
5146
5156
 
5157
+ var es2018$5 = {};
5158
+
5159
+ var array$1 = {};
5160
+
5161
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
5162
+ function isArray$4(val) {
5163
+ return Array.isArray(val);
5164
+ }
5165
+ array$1.isArray = isArray$4;
5166
+ function isntArray$1(val) {
5167
+ return !isArray$4(val);
5168
+ }
5169
+ array$1.isntArray = isntArray$1;
5170
+ function isEmptyArray$1(val) {
5171
+ return val.length === 0;
5172
+ }
5173
+ array$1.isEmptyArray = isEmptyArray$1;
5174
+ function isntEmptyArray$1(val) {
5175
+ return val.length !== 0;
5176
+ }
5177
+ array$1.isntEmptyArray = isntEmptyArray$1;
5178
+
5179
+ var asyncIterable$1 = {};
5180
+
5181
+ var _null$1 = {};
5182
+
5183
+ _null$1.isntNull = _null$1.isNull = void 0;
5184
+ function isNull$1(val) {
5185
+ return val === null;
5186
+ }
5187
+ _null$1.isNull = isNull$1;
5188
+ function isntNull$1(val) {
5189
+ return !isNull$1(val);
5190
+ }
5191
+ _null$1.isntNull = isntNull$1;
5192
+
5193
+ var _undefined$1 = {};
5194
+
5195
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
5196
+ function isUndefined$1(val) {
5197
+ return val === undefined;
5198
+ }
5199
+ _undefined$1.isUndefined = isUndefined$1;
5200
+ function isntUndefined$1(val) {
5201
+ return !isUndefined$1(val);
5202
+ }
5203
+ _undefined$1.isntUndefined = isntUndefined$1;
5204
+
5205
+ var _function$1 = {};
5206
+
5207
+ _function$1.isntFunction = _function$1.isFunction = void 0;
5208
+ function isFunction$3(val) {
5209
+ return typeof val === 'function';
5210
+ }
5211
+ _function$1.isFunction = isFunction$3;
5212
+ function isntFunction$1(val) {
5213
+ return !isFunction$3(val);
5214
+ }
5215
+ _function$1.isntFunction = isntFunction$1;
5216
+
5217
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
5218
+ const null_1$5 = _null$1;
5219
+ const undefined_1$3 = _undefined$1;
5220
+ const function_1$5 = _function$1;
5221
+ function isAsyncIterable$3(val) {
5222
+ return (0, null_1$5.isntNull)(val)
5223
+ && (0, undefined_1$3.isntUndefined)(val)
5224
+ && (0, function_1$5.isFunction)(val[Symbol.asyncIterator]);
5225
+ }
5226
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$3;
5227
+ function isntAsyncIterable$1(val) {
5228
+ return !isAsyncIterable$3(val);
5229
+ }
5230
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
5231
+
5232
+ var bigint$1 = {};
5233
+
5234
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
5235
+ function isBigInt$1(val) {
5236
+ return typeof val === 'bigint';
5237
+ }
5238
+ bigint$1.isBigInt = isBigInt$1;
5239
+ function isntBigInt$1(val) {
5240
+ return !isBigInt$1(val);
5241
+ }
5242
+ bigint$1.isntBigInt = isntBigInt$1;
5243
+
5244
+ var boolean$1 = {};
5245
+
5246
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
5247
+ function isBoolean$1(val) {
5248
+ return typeof val === 'boolean';
5249
+ }
5250
+ boolean$1.isBoolean = isBoolean$1;
5251
+ function isntBoolean$1(val) {
5252
+ return !isBoolean$1(val);
5253
+ }
5254
+ boolean$1.isntBoolean = isntBoolean$1;
5255
+
5256
+ var char$1 = {};
5257
+
5258
+ var string$1 = {};
5259
+
5260
+ string$1.isntString = string$1.isString = void 0;
5261
+ function isString$1(val) {
5262
+ return typeof val === 'string';
5263
+ }
5264
+ string$1.isString = isString$1;
5265
+ function isntString$1(val) {
5266
+ return !isString$1(val);
5267
+ }
5268
+ string$1.isntString = isntString$1;
5269
+
5270
+ char$1.isntChar = char$1.isChar = void 0;
5271
+ const string_1$3 = string$1;
5272
+ function isChar$1(val) {
5273
+ return (0, string_1$3.isString)(val)
5274
+ && val.length === 1;
5275
+ }
5276
+ char$1.isChar = isChar$1;
5277
+ function isntChar$1(val) {
5278
+ return !isChar$1(val);
5279
+ }
5280
+ char$1.isntChar = isntChar$1;
5281
+
5282
+ var date$1 = {};
5283
+
5284
+ date$1.isntDate = date$1.isDate = void 0;
5285
+ function isDate$2(val) {
5286
+ return val instanceof Date;
5287
+ }
5288
+ date$1.isDate = isDate$2;
5289
+ function isntDate$1(val) {
5290
+ return !isDate$2(val);
5291
+ }
5292
+ date$1.isntDate = isntDate$1;
5293
+
5294
+ var _enum$1 = {};
5295
+
5296
+ _enum$1.inEnum = void 0;
5297
+ function inEnum$1(val, _enum) {
5298
+ return Object.values(_enum).includes(val);
5299
+ }
5300
+ _enum$1.inEnum = inEnum$1;
5301
+
5302
+ var error$1 = {};
5303
+
5304
+ error$1.isntError = error$1.isError = void 0;
5305
+ function isError$1(val) {
5306
+ return val instanceof Error;
5307
+ }
5308
+ error$1.isError = isError$1;
5309
+ function isntError$1(val) {
5310
+ return !isError$1(val);
5311
+ }
5312
+ error$1.isntError = isntError$1;
5313
+
5314
+ var falsy$1 = {};
5315
+
5316
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
5317
+ function isFalsy$1(val) {
5318
+ return !val;
5319
+ }
5320
+ falsy$1.isFalsy = isFalsy$1;
5321
+ function isntFalsy$1(val) {
5322
+ return !isFalsy$1(val);
5323
+ }
5324
+ falsy$1.isntFalsy = isntFalsy$1;
5325
+
5326
+ var iterable$1 = {};
5327
+
5328
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
5329
+ const null_1$4 = _null$1;
5330
+ const undefined_1$2 = _undefined$1;
5331
+ const function_1$4 = _function$1;
5332
+ function isIterable$3(val) {
5333
+ return (0, null_1$4.isntNull)(val)
5334
+ && (0, undefined_1$2.isntUndefined)(val)
5335
+ && (0, function_1$4.isFunction)(val[Symbol.iterator]);
5336
+ }
5337
+ iterable$1.isIterable = isIterable$3;
5338
+ function isntIterable$1(val) {
5339
+ return !isIterable$3(val);
5340
+ }
5341
+ iterable$1.isntIterable = isntIterable$1;
5342
+
5343
+ var json$1 = {};
5344
+
5345
+ var number$1 = {};
5346
+
5347
+ number$1.isntNaN = number$1.isNaN = number$1.isNegativeInfinity = number$1.isPositiveInfinity = number$1.isFinite = number$1.isntNumber = number$1.isNumber = void 0;
5348
+ function isNumber$1(val) {
5349
+ return typeof val === 'number';
5350
+ }
5351
+ number$1.isNumber = isNumber$1;
5352
+ function isntNumber$1(val) {
5353
+ return !isNumber$1(val);
5354
+ }
5355
+ number$1.isntNumber = isntNumber$1;
5356
+ function isFinite$1(val) {
5357
+ return Number.isFinite(val);
5358
+ }
5359
+ number$1.isFinite = isFinite$1;
5360
+ function isPositiveInfinity$1(val) {
5361
+ return val === Infinity;
5362
+ }
5363
+ number$1.isPositiveInfinity = isPositiveInfinity$1;
5364
+ function isNegativeInfinity$1(val) {
5365
+ return val === -Infinity;
5366
+ }
5367
+ number$1.isNegativeInfinity = isNegativeInfinity$1;
5368
+ function isNaN$2(val) {
5369
+ return Number.isNaN(val);
5370
+ }
5371
+ number$1.isNaN = isNaN$2;
5372
+ function isntNaN$1(val) {
5373
+ return !isNaN$2(val);
5374
+ }
5375
+ number$1.isntNaN = isntNaN$1;
5376
+
5377
+ var object$1 = {};
5378
+
5379
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5380
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5381
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
5382
+ const isPlainObject_1$1 = __importDefault$1(isPlainObject_1$3);
5383
+ function isObject$1(val) {
5384
+ return val !== null
5385
+ && typeof val === 'object';
5386
+ }
5387
+ object$1.isObject = isObject$1;
5388
+ function isntObject$1(val) {
5389
+ return !isObject$1(val);
5390
+ }
5391
+ object$1.isntObject = isntObject$1;
5392
+ function isPlainObject$1(val) {
5393
+ return (0, isPlainObject_1$1.default)(val);
5394
+ }
5395
+ object$1.isPlainObject = isPlainObject$1;
5396
+ function isntPlainObject$1(val) {
5397
+ return !isPlainObject$1(val);
5398
+ }
5399
+ object$1.isntPlainObject = isntPlainObject$1;
5400
+ function isEmptyObject$1(val) {
5401
+ return Object.keys(val).length === 0;
5402
+ }
5403
+ object$1.isEmptyObject = isEmptyObject$1;
5404
+ function isntEmptyObject$1(val) {
5405
+ return Object.keys(val).length !== 0;
5406
+ }
5407
+ object$1.isntEmptyObject = isntEmptyObject$1;
5408
+
5409
+ json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
5410
+ const null_1$3 = _null$1;
5411
+ const boolean_1$1 = boolean$1;
5412
+ const string_1$2 = string$1;
5413
+ const number_1$1 = number$1;
5414
+ const array_1$1 = array$1;
5415
+ const object_1$3 = object$1;
5416
+ function isJson$1(val) {
5417
+ return (0, null_1$3.isNull)(val)
5418
+ || (0, boolean_1$1.isBoolean)(val)
5419
+ || (0, string_1$2.isString)(val)
5420
+ || (0, number_1$1.isNumber)(val)
5421
+ || ((0, array_1$1.isArray)(val) && val.every(isJson$1))
5422
+ || ((0, object_1$3.isPlainObject)(val) && Object.values(val).every(isJson$1));
5423
+ }
5424
+ json$1.isJson = isJson$1;
5425
+ function isntJson$1(val) {
5426
+ return !isJson$1(val);
5427
+ }
5428
+ json$1.isntJson = isntJson$1;
5429
+ function isJsonable$1(val) {
5430
+ try {
5431
+ JSON.stringify(val);
5432
+ return true;
5433
+ }
5434
+ catch (_a) {
5435
+ return false;
5436
+ }
5437
+ }
5438
+ json$1.isJsonable = isJsonable$1;
5439
+ function isntJsonable$1(val) {
5440
+ return !isntJsonable$1();
5441
+ }
5442
+ json$1.isntJsonable = isntJsonable$1;
5443
+
5444
+ var promise$1 = {};
5445
+
5446
+ promise$1.isPromiseLike = promise$1.isntPromiseLike = promise$1.isntPromise = promise$1.isPromise = void 0;
5447
+ const object_1$2 = object$1;
5448
+ const function_1$3 = _function$1;
5449
+ function isPromise$3(val) {
5450
+ return val instanceof Promise;
5451
+ }
5452
+ promise$1.isPromise = isPromise$3;
5453
+ function isntPromise$1(val) {
5454
+ return !isPromise$3(val);
5455
+ }
5456
+ promise$1.isntPromise = isntPromise$1;
5457
+ function isntPromiseLike$1(val) {
5458
+ return !isPromiseLike$1(val);
5459
+ }
5460
+ promise$1.isntPromiseLike = isntPromiseLike$1;
5461
+ function isPromiseLike$1(val) {
5462
+ return (0, object_1$2.isObject)(val)
5463
+ && (0, function_1$3.isFunction)(val.then);
5464
+ }
5465
+ promise$1.isPromiseLike = isPromiseLike$1;
5466
+
5467
+ var url$1 = {};
5468
+
5469
+ url$1.isAbsoluteURL = void 0;
5470
+ function isAbsoluteURL$1(str) {
5471
+ try {
5472
+ new URL(str);
5473
+ return true;
5474
+ }
5475
+ catch (_a) {
5476
+ return false;
5477
+ }
5478
+ }
5479
+ url$1.isAbsoluteURL = isAbsoluteURL$1;
5480
+
5481
+ var regexp = {};
5482
+
5483
+ regexp.isntRegExp = regexp.isRegExp = void 0;
5484
+ function isRegExp(val) {
5485
+ return val instanceof RegExp;
5486
+ }
5487
+ regexp.isRegExp = isRegExp;
5488
+ function isntRegExp(val) {
5489
+ return !isRegExp(val);
5490
+ }
5491
+ regexp.isntRegExp = isntRegExp;
5492
+
5493
+ (function (exports) {
5494
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5495
+ if (k2 === undefined) k2 = k;
5496
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5497
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5498
+ desc = { enumerable: true, get: function() { return m[k]; } };
5499
+ }
5500
+ Object.defineProperty(o, k2, desc);
5501
+ }) : (function(o, m, k, k2) {
5502
+ if (k2 === undefined) k2 = k;
5503
+ o[k2] = m[k];
5504
+ }));
5505
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5506
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5507
+ };__exportStar(array$1, exports);
5508
+ __exportStar(asyncIterable$1, exports);
5509
+ __exportStar(bigint$1, exports);
5510
+ __exportStar(boolean$1, exports);
5511
+ __exportStar(char$1, exports);
5512
+ __exportStar(date$1, exports);
5513
+ __exportStar(_enum$1, exports);
5514
+ __exportStar(error$1, exports);
5515
+ __exportStar(falsy$1, exports);
5516
+ __exportStar(_function$1, exports);
5517
+ __exportStar(iterable$1, exports);
5518
+ __exportStar(json$1, exports);
5519
+ __exportStar(_null$1, exports);
5520
+ __exportStar(number$1, exports);
5521
+ __exportStar(object$1, exports);
5522
+ __exportStar(promise$1, exports);
5523
+ __exportStar(string$1, exports);
5524
+ __exportStar(_undefined$1, exports);
5525
+ __exportStar(url$1, exports);
5526
+ __exportStar(regexp, exports);
5527
+
5528
+ } (es2018$5));
5529
+
5147
5530
  var traverseErrorPrototypeChain$1 = {};
5148
5531
 
5149
5532
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = void 0;
@@ -5158,7 +5541,7 @@
5158
5541
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
5159
5542
 
5160
5543
  getErrorNames$1.getErrorNames = void 0;
5161
- const types_1$1 = es2018$7;
5544
+ const types_1$1 = es2018$5;
5162
5545
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
5163
5546
  function* getErrorNames(err) {
5164
5547
  var _a;
@@ -5179,7 +5562,7 @@
5179
5562
  var serializableError = {};
5180
5563
 
5181
5564
  serializableError.isSerializableError = void 0;
5182
- const types_1 = es2018$7;
5565
+ const types_1 = es2018$5;
5183
5566
  function isSerializableError(val) {
5184
5567
  return (0, types_1.isObject)(val)
5185
5568
  && (0, types_1.isString)(val.name)
@@ -5197,7 +5580,7 @@
5197
5580
  customError.CustomError = void 0;
5198
5581
  const iterable_operator_1 = requireEs2018$1();
5199
5582
  const get_error_names_1 = getErrorNames$1;
5200
- const types_1 = es2018$7;
5583
+ const types_1 = es2018$5;
5201
5584
  const serializable_error_1 = serializableError;
5202
5585
  class CustomError extends Error {
5203
5586
  get name() {
@@ -5267,7 +5650,7 @@
5267
5650
 
5268
5651
  var hydrate$1 = {};
5269
5652
 
5270
- var es2018$3 = {};
5653
+ var es2018$4 = {};
5271
5654
 
5272
5655
  var pass$1 = {};
5273
5656
 
@@ -5287,10 +5670,10 @@
5287
5670
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5288
5671
  };__exportStar(pass$1, exports);
5289
5672
 
5290
- } (es2018$3));
5673
+ } (es2018$4));
5291
5674
 
5292
5675
  hydrate$1.hydrate = void 0;
5293
- const pass_1 = es2018$3;
5676
+ const pass_1 = es2018$4;
5294
5677
  function hydrate(err) {
5295
5678
  var _a;
5296
5679
  const errorNames = [err.name, ...err.ancestors]
@@ -5336,7 +5719,7 @@
5336
5719
  var hasRequiredEs2018;
5337
5720
 
5338
5721
  function requireEs2018 () {
5339
- if (hasRequiredEs2018) return es2018$6;
5722
+ if (hasRequiredEs2018) return es2018$9;
5340
5723
  hasRequiredEs2018 = 1;
5341
5724
  (function (exports) {
5342
5725
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -5361,82 +5744,121 @@
5361
5744
  __exportStar(getErrorNames$1, exports);
5362
5745
  __exportStar(traverseErrorPrototypeChain$1, exports);
5363
5746
 
5364
- } (es2018$6));
5365
- return es2018$6;
5747
+ } (es2018$9));
5748
+ return es2018$9;
5366
5749
  }
5367
5750
 
5368
5751
  var es2018Exports$1 = requireEs2018();
5369
5752
 
5370
- function useSingleSelection(values, defaultSelectedIndex) {
5371
- es2018Exports$1.assert(values.length > 0, 'The parameter values must be a non-empty array');
5372
- if (es2018$7.isntUndefined(defaultSelectedIndex)) {
5373
- es2018Exports$1.assert(defaultSelectedIndex >= 0 && defaultSelectedIndex < values.length, 'The parameter defaultSelectedIndex must be in the range of 0 to values.length');
5753
+ function useIIFE(iife, deps) {
5754
+ const oldDeps = react.exports.useRef([]);
5755
+ const isFirstRender = useIsFirstRender();
5756
+ if (isFirstRender()) {
5757
+ iife();
5758
+ }
5759
+ else {
5760
+ if (deps.length === oldDeps.current.length) {
5761
+ if (deps.some((x, i) => x !== oldDeps.current[i])) {
5762
+ iife();
5763
+ }
5764
+ }
5765
+ else {
5766
+ iife();
5767
+ }
5374
5768
  }
5769
+ oldDeps.current = Array.from(deps);
5770
+ }
5771
+
5772
+ function useSingleSelection(options, defaultSelectedIndex) {
5773
+ useIIFE(() => {
5774
+ es2018Exports$1.assert(defaultSelectedIndex >= 0 && defaultSelectedIndex < options.length, 'The parameter defaultSelectedIndex must be in the range of 0 to values.length');
5775
+ }, [defaultSelectedIndex]);
5375
5776
  const [selectedIndex, setSelectedIndex] = react.exports.useState(defaultSelectedIndex);
5376
- return react.exports.useMemo(() => ({
5377
- selectedValue: es2018$7.isUndefined(selectedIndex) ? undefined : values[selectedIndex],
5378
- options: values.map((value, index) => ({
5379
- value,
5380
- index,
5381
- selected: index === selectedIndex,
5382
- select: () => setSelectedIndex(index)
5383
- }))
5384
- }), [selectedIndex]);
5777
+ return {
5778
+ selectedIndex,
5779
+ optionStates: react.exports.useMemo(createOptionStates, [options, selectedIndex]),
5780
+ select: react.exports.useCallback(select, [])
5781
+ };
5782
+ function createOptionStates() {
5783
+ return options.map((_, index) => ({
5784
+ selected: index === selectedIndex
5785
+ }));
5786
+ }
5787
+ function select(index) {
5788
+ setSelectedIndex(index);
5789
+ }
5385
5790
  }
5386
5791
 
5387
5792
  var es2018Exports = requireEs2018$1();
5388
5793
 
5389
- function useMultipleSelection(values, defaultSelectedIndexes = []) {
5390
- es2018Exports$1.assert(values.length > 0, 'The parameter values must be a non-empty array');
5391
- for (const index of defaultSelectedIndexes) {
5392
- es2018Exports$1.assert(index >= 0 && index < values.length, 'The index of parameter defaultSelectedIndexes must be in the range of 0 to values.length');
5393
- }
5794
+ function useMultipleSelection(options, defaultSelectedIndexes = []) {
5795
+ useIIFE(() => {
5796
+ for (const index of defaultSelectedIndexes) {
5797
+ es2018Exports$1.assert(index >= 0 && index < options.length, 'The index of parameter defaultSelectedIndexes must be in the range of 0 to values.length');
5798
+ }
5799
+ }, [defaultSelectedIndexes]);
5394
5800
  const [selectedIndexes, setSelectedIndexes] = react.exports.useState(new Set(defaultSelectedIndexes));
5395
- return react.exports.useMemo(() => ({
5396
- selectedValues: es2018Exports.toArray(es2018Exports.map(selectedIndexes, i => values[i])),
5397
- options: values.map((value, index) => {
5398
- const selected = selectedIndexes.has(index);
5399
- const select = () => {
5400
- const set = new Set(selectedIndexes);
5401
- set.add(index);
5402
- setSelectedIndexes(set);
5403
- };
5404
- const unselect = () => {
5405
- const set = new Set(selectedIndexes);
5406
- set.delete(index);
5407
- setSelectedIndexes(set);
5408
- };
5409
- return {
5410
- value,
5411
- index,
5412
- selected,
5413
- select,
5414
- unselect,
5415
- toggle: selected ? unselect : select
5416
- };
5417
- })
5418
- }), [selectedIndexes]);
5419
- }
5420
-
5421
- function useStateCycle(stateList, initialStateIndex = 0) {
5422
- const [index, setIndex] = react.exports.useState(initialStateIndex);
5423
- return [
5424
- stateList[index],
5425
- () => setIndex(index => {
5426
- if (index + 1 < stateList.length) {
5427
- return index + 1;
5428
- }
5429
- else {
5801
+ return {
5802
+ selectedIndexes: react.exports.useMemo(() => es2018Exports.toArray(selectedIndexes), [selectedIndexes]),
5803
+ optionStates: react.exports.useMemo(createOptionStates, [options, selectedIndexes]),
5804
+ toggle: react.exports.useCallback(toggle, [selectedIndexes]),
5805
+ select: react.exports.useCallback(select, []),
5806
+ unselect: react.exports.useCallback(unselect, [])
5807
+ };
5808
+ function createOptionStates() {
5809
+ return options.map((_, index) => {
5810
+ const selected = isSelected(index);
5811
+ return { selected };
5812
+ });
5813
+ }
5814
+ function isSelected(index) {
5815
+ return selectedIndexes.has(index);
5816
+ }
5817
+ function toggle(index) {
5818
+ if (isSelected(index)) {
5819
+ unselect(index);
5820
+ }
5821
+ else {
5822
+ select(index);
5823
+ }
5824
+ }
5825
+ function select(index) {
5826
+ setSelectedIndexes(selectedIndexes => {
5827
+ const result = new Set(selectedIndexes);
5828
+ result.add(index);
5829
+ return result;
5830
+ });
5831
+ }
5832
+ function unselect(index) {
5833
+ setSelectedIndexes(selectedIndexes => {
5834
+ const result = new Set(selectedIndexes);
5835
+ result.delete(index);
5836
+ return result;
5837
+ });
5838
+ }
5839
+ }
5840
+
5841
+ function useStateCycle(orderedStates, initialStateIndex = 0) {
5842
+ const [index, setIndex] = react.exports.useState(initialStateIndex);
5843
+ return [orderedStates[index], react.exports.useCallback(next, [orderedStates])];
5844
+ function next() {
5845
+ setIndex(index => {
5846
+ if (index + 1 < orderedStates.length) {
5847
+ return index + 1;
5848
+ }
5849
+ else {
5430
5850
  return 0;
5431
5851
  }
5432
- })
5433
- ];
5852
+ });
5853
+ }
5434
5854
  }
5435
5855
 
5436
5856
  function useToggle(initialState = false) {
5437
5857
  const [state, setState] = react.exports.useState(initialState);
5438
- const toggle = () => setState(state => !state);
5439
- return [state, toggle];
5858
+ return [state, react.exports.useCallback(toggle, [])];
5859
+ function toggle() {
5860
+ setState(state => !state);
5861
+ }
5440
5862
  }
5441
5863
 
5442
5864
  function useResizeObserver(callback, refs) {
@@ -5445,7 +5867,7 @@
5445
5867
  const observer = new ResizeObserver(callback);
5446
5868
  refs
5447
5869
  .map(x => x.current)
5448
- .filter(es2018$7.isntNull)
5870
+ .filter(es2018$5.isntNull)
5449
5871
  .forEach(x => observer.observe(x));
5450
5872
  return () => observer.disconnect();
5451
5873
  }, deps);
@@ -5453,37 +5875,38 @@
5453
5875
 
5454
5876
  function useStep(steps, initialStepIndex = 0) {
5455
5877
  const [index, setIndex] = react.exports.useState(initialStepIndex);
5456
- return [
5457
- steps[index],
5458
- () => {
5459
- setIndex(index => {
5460
- if (index === steps.length - 1) {
5461
- return index;
5462
- }
5463
- else {
5464
- return index + 1;
5465
- }
5466
- });
5467
- },
5468
- () => {
5469
- setIndex(index => {
5470
- if (index === 0) {
5471
- return index;
5472
- }
5473
- else {
5474
- return index - 1;
5475
- }
5476
- });
5477
- }
5478
- ];
5878
+ return [steps[index], react.exports.useCallback(next, [steps]), react.exports.useCallback(previous, [])];
5879
+ function next() {
5880
+ setIndex(index => {
5881
+ if (index === steps.length - 1) {
5882
+ return index;
5883
+ }
5884
+ else {
5885
+ return index + 1;
5886
+ }
5887
+ });
5888
+ }
5889
+ function previous() {
5890
+ setIndex(index => {
5891
+ if (index === 0) {
5892
+ return index;
5893
+ }
5894
+ else {
5895
+ return index - 1;
5896
+ }
5897
+ });
5898
+ }
5479
5899
  }
5480
5900
 
5481
5901
  function useForceUpdate() {
5482
5902
  const [, setState] = react.exports.useState({});
5483
- return () => setState({});
5903
+ return react.exports.useCallback(forceUpdate, []);
5904
+ function forceUpdate() {
5905
+ setState({});
5906
+ }
5484
5907
  }
5485
5908
 
5486
- var es2018$2 = {};
5909
+ var es2018$3 = {};
5487
5910
 
5488
5911
  var box = {};
5489
5912
 
@@ -5717,11 +6140,11 @@
5717
6140
 
5718
6141
  var expirableMap = {};
5719
6142
 
5720
- var es2018$1 = {};
6143
+ var es2018$2 = {};
5721
6144
 
5722
6145
  var exponentialBackoff = {};
5723
6146
 
5724
- var es2018 = {};
6147
+ var es2018$1 = {};
5725
6148
 
5726
6149
  var random$1 = {};
5727
6150
 
@@ -5765,10 +6188,10 @@
5765
6188
  __exportStar(randomInt$1, exports);
5766
6189
  __exportStar(randomIntInclusive$1, exports);
5767
6190
 
5768
- } (es2018));
6191
+ } (es2018$1));
5769
6192
 
5770
6193
  exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
5771
- const extra_rand_1 = es2018;
6194
+ const extra_rand_1 = es2018$1;
5772
6195
  function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
5773
6196
  const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
5774
6197
  if (jitter) {
@@ -5883,10 +6306,10 @@
5883
6306
  __exportStar(setTimeoutLoop$1, exports);
5884
6307
  __exportStar(setDynamicTimeoutLoop$1, exports);
5885
6308
 
5886
- } (es2018$1));
6309
+ } (es2018$2));
5887
6310
 
5888
6311
  expirableMap.ExpirableMap = void 0;
5889
- const extra_timers_1$1 = es2018$1;
6312
+ const extra_timers_1$1 = es2018$2;
5890
6313
  class ExpirableMap {
5891
6314
  constructor() {
5892
6315
  this.map = new Map();
@@ -5984,7 +6407,7 @@
5984
6407
  tlruMap.TLRUMap = void 0;
5985
6408
  const errors_1$1 = requireEs2018();
5986
6409
  const iterable_operator_1$1 = requireEs2018$1();
5987
- const extra_timers_1 = es2018$1;
6410
+ const extra_timers_1 = es2018$2;
5988
6411
  class TLRUMap {
5989
6412
  constructor(limit) {
5990
6413
  this.map = new Map();
@@ -6223,13 +6646,13 @@
6223
6646
 
6224
6647
  var Subscriber = {};
6225
6648
 
6226
- var isFunction$1 = {};
6649
+ var isFunction$2 = {};
6227
6650
 
6228
- isFunction$1.isFunction = void 0;
6229
- function isFunction(value) {
6651
+ isFunction$2.isFunction = void 0;
6652
+ function isFunction$1(value) {
6230
6653
  return typeof value === 'function';
6231
6654
  }
6232
- isFunction$1.isFunction = isFunction;
6655
+ isFunction$2.isFunction = isFunction$1;
6233
6656
 
6234
6657
  var Subscription$1 = {};
6235
6658
 
@@ -6306,7 +6729,7 @@
6306
6729
  to[j] = from[i];
6307
6730
  return to;
6308
6731
  };Subscription$1.isSubscription = Subscription$1.EMPTY_SUBSCRIPTION = Subscription$1.Subscription = void 0;
6309
- var isFunction_1$p = isFunction$1;
6732
+ var isFunction_1$p = isFunction$2;
6310
6733
  var UnsubscriptionError_1 = UnsubscriptionError;
6311
6734
  var arrRemove_1$7 = arrRemove$1;
6312
6735
  var Subscription = (function () {
@@ -6599,7 +7022,7 @@
6599
7022
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6600
7023
  };
6601
7024
  })();exports.EMPTY_OBSERVER = exports.SafeSubscriber = exports.Subscriber = void 0;
6602
- var isFunction_1 = isFunction$1;
7025
+ var isFunction_1 = isFunction$2;
6603
7026
  var Subscription_1 = Subscription$1;
6604
7027
  var config_1 = config;
6605
7028
  var reportUnhandledError_1 = reportUnhandledError$1;
@@ -6828,7 +7251,7 @@
6828
7251
  var observable_1$2 = observable;
6829
7252
  var pipe_1$2 = pipe$1;
6830
7253
  var config_1 = config;
6831
- var isFunction_1$o = isFunction$1;
7254
+ var isFunction_1$o = isFunction$2;
6832
7255
  var errorContext_1$1 = errorContext$1;
6833
7256
  var Observable = (function () {
6834
7257
  function Observable(subscribe) {
@@ -6932,7 +7355,7 @@
6932
7355
  var lift = {};
6933
7356
 
6934
7357
  lift.operate = lift.hasLift = void 0;
6935
- var isFunction_1$n = isFunction$1;
7358
+ var isFunction_1$n = isFunction$2;
6936
7359
  function hasLift(source) {
6937
7360
  return isFunction_1$n.isFunction(source === null || source === void 0 ? void 0 : source.lift);
6938
7361
  }
@@ -8427,14 +8850,14 @@
8427
8850
  var isScheduler$1 = {};
8428
8851
 
8429
8852
  isScheduler$1.isScheduler = void 0;
8430
- var isFunction_1$m = isFunction$1;
8853
+ var isFunction_1$m = isFunction$2;
8431
8854
  function isScheduler(value) {
8432
8855
  return value && isFunction_1$m.isFunction(value.schedule);
8433
8856
  }
8434
8857
  isScheduler$1.isScheduler = isScheduler;
8435
8858
 
8436
8859
  args.popNumber = args.popScheduler = args.popResultSelector = void 0;
8437
- var isFunction_1$l = isFunction$1;
8860
+ var isFunction_1$l = isFunction$2;
8438
8861
  var isScheduler_1$3 = isScheduler$1;
8439
8862
  function last$2(arr) {
8440
8863
  return arr[arr.length - 1];
@@ -8465,33 +8888,33 @@
8465
8888
  isArrayLike.isArrayLike = void 0;
8466
8889
  isArrayLike.isArrayLike = (function (x) { return x && typeof x.length === 'number' && typeof x !== 'function'; });
8467
8890
 
8468
- var isPromise$1 = {};
8891
+ var isPromise$2 = {};
8469
8892
 
8470
- isPromise$1.isPromise = void 0;
8471
- var isFunction_1$k = isFunction$1;
8472
- function isPromise(value) {
8893
+ isPromise$2.isPromise = void 0;
8894
+ var isFunction_1$k = isFunction$2;
8895
+ function isPromise$1(value) {
8473
8896
  return isFunction_1$k.isFunction(value === null || value === void 0 ? void 0 : value.then);
8474
8897
  }
8475
- isPromise$1.isPromise = isPromise;
8898
+ isPromise$2.isPromise = isPromise$1;
8476
8899
 
8477
8900
  var isInteropObservable$1 = {};
8478
8901
 
8479
8902
  isInteropObservable$1.isInteropObservable = void 0;
8480
8903
  var observable_1$1 = observable;
8481
- var isFunction_1$j = isFunction$1;
8904
+ var isFunction_1$j = isFunction$2;
8482
8905
  function isInteropObservable(input) {
8483
8906
  return isFunction_1$j.isFunction(input[observable_1$1.observable]);
8484
8907
  }
8485
8908
  isInteropObservable$1.isInteropObservable = isInteropObservable;
8486
8909
 
8487
- var isAsyncIterable$1 = {};
8910
+ var isAsyncIterable$2 = {};
8488
8911
 
8489
- isAsyncIterable$1.isAsyncIterable = void 0;
8490
- var isFunction_1$i = isFunction$1;
8491
- function isAsyncIterable(obj) {
8912
+ isAsyncIterable$2.isAsyncIterable = void 0;
8913
+ var isFunction_1$i = isFunction$2;
8914
+ function isAsyncIterable$1(obj) {
8492
8915
  return Symbol.asyncIterator && isFunction_1$i.isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
8493
8916
  }
8494
- isAsyncIterable$1.isAsyncIterable = isAsyncIterable;
8917
+ isAsyncIterable$2.isAsyncIterable = isAsyncIterable$1;
8495
8918
 
8496
8919
  var throwUnobservableError = {};
8497
8920
 
@@ -8501,7 +8924,7 @@
8501
8924
  }
8502
8925
  throwUnobservableError.createInvalidObservableTypeError = createInvalidObservableTypeError;
8503
8926
 
8504
- var isIterable$1 = {};
8927
+ var isIterable$2 = {};
8505
8928
 
8506
8929
  var iterator = {};
8507
8930
 
@@ -8515,13 +8938,13 @@
8515
8938
  iterator.getSymbolIterator = getSymbolIterator;
8516
8939
  iterator.iterator = getSymbolIterator();
8517
8940
 
8518
- isIterable$1.isIterable = void 0;
8941
+ isIterable$2.isIterable = void 0;
8519
8942
  var iterator_1$1 = iterator;
8520
- var isFunction_1$h = isFunction$1;
8521
- function isIterable(input) {
8943
+ var isFunction_1$h = isFunction$2;
8944
+ function isIterable$1(input) {
8522
8945
  return isFunction_1$h.isFunction(input === null || input === void 0 ? void 0 : input[iterator_1$1.iterator]);
8523
8946
  }
8524
- isIterable$1.isIterable = isIterable;
8947
+ isIterable$2.isIterable = isIterable$1;
8525
8948
 
8526
8949
  var isReadableStreamLike$1 = {};
8527
8950
 
@@ -8564,7 +8987,7 @@
8564
8987
  function reject(value) { resume("throw", value); }
8565
8988
  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
8566
8989
  };isReadableStreamLike$1.isReadableStreamLike = isReadableStreamLike$1.readableStreamLikeToAsyncGenerator = void 0;
8567
- var isFunction_1$g = isFunction$1;
8990
+ var isFunction_1$g = isFunction$2;
8568
8991
  function readableStreamLikeToAsyncGenerator(readableStream) {
8569
8992
  return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
8570
8993
  var reader, _a, value, done;
@@ -8658,14 +9081,14 @@
8658
9081
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
8659
9082
  };innerFrom$1.fromReadableStreamLike = innerFrom$1.fromAsyncIterable = innerFrom$1.fromIterable = innerFrom$1.fromPromise = innerFrom$1.fromArrayLike = innerFrom$1.fromInteropObservable = innerFrom$1.innerFrom = void 0;
8660
9083
  var isArrayLike_1$2 = isArrayLike;
8661
- var isPromise_1$1 = isPromise$1;
9084
+ var isPromise_1$1 = isPromise$2;
8662
9085
  var Observable_1$j = Observable$1;
8663
9086
  var isInteropObservable_1$1 = isInteropObservable$1;
8664
- var isAsyncIterable_1$1 = isAsyncIterable$1;
9087
+ var isAsyncIterable_1$1 = isAsyncIterable$2;
8665
9088
  var throwUnobservableError_1$1 = throwUnobservableError;
8666
- var isIterable_1$1 = isIterable$1;
9089
+ var isIterable_1$1 = isIterable$2;
8667
9090
  var isReadableStreamLike_1$2 = isReadableStreamLike$1;
8668
- var isFunction_1$f = isFunction$1;
9091
+ var isFunction_1$f = isFunction$2;
8669
9092
  var reportUnhandledError_1 = reportUnhandledError$1;
8670
9093
  var observable_1 = observable;
8671
9094
  function innerFrom(input) {
@@ -8901,7 +9324,7 @@
8901
9324
  scheduleIterable$1.scheduleIterable = void 0;
8902
9325
  var Observable_1$h = Observable$1;
8903
9326
  var iterator_1 = iterator;
8904
- var isFunction_1$e = isFunction$1;
9327
+ var isFunction_1$e = isFunction$2;
8905
9328
  var executeSchedule_1$5 = executeSchedule$1;
8906
9329
  function scheduleIterable(input, scheduler) {
8907
9330
  return new Observable_1$h.Observable(function (subscriber) {
@@ -8976,10 +9399,10 @@
8976
9399
  var scheduleIterable_1$1 = scheduleIterable$1;
8977
9400
  var scheduleAsyncIterable_1 = scheduleAsyncIterable$1;
8978
9401
  var isInteropObservable_1 = isInteropObservable$1;
8979
- var isPromise_1 = isPromise$1;
9402
+ var isPromise_1 = isPromise$2;
8980
9403
  var isArrayLike_1$1 = isArrayLike;
8981
- var isIterable_1 = isIterable$1;
8982
- var isAsyncIterable_1 = isAsyncIterable$1;
9404
+ var isIterable_1 = isIterable$2;
9405
+ var isAsyncIterable_1 = isAsyncIterable$2;
8983
9406
  var throwUnobservableError_1 = throwUnobservableError;
8984
9407
  var isReadableStreamLike_1 = isReadableStreamLike$1;
8985
9408
  var scheduleReadableStreamLike_1 = scheduleReadableStreamLike$1;
@@ -9033,7 +9456,7 @@
9033
9456
 
9034
9457
  throwError$1.throwError = void 0;
9035
9458
  var Observable_1$f = Observable$1;
9036
- var isFunction_1$d = isFunction$1;
9459
+ var isFunction_1$d = isFunction$2;
9037
9460
  function throwError(errorOrErrorFactory, scheduler) {
9038
9461
  var errorFactory = isFunction_1$d.isFunction(errorOrErrorFactory) ? errorOrErrorFactory : function () { return errorOrErrorFactory; };
9039
9462
  var init = function (subscriber) { return subscriber.error(errorFactory()); };
@@ -9046,7 +9469,7 @@
9046
9469
  var empty_1 = empty;
9047
9470
  var of_1 = of$1;
9048
9471
  var throwError_1 = throwError$1;
9049
- var isFunction_1 = isFunction$1;
9472
+ var isFunction_1 = isFunction$2;
9050
9473
  (function (NotificationKind) {
9051
9474
  NotificationKind["NEXT"] = "N";
9052
9475
  NotificationKind["ERROR"] = "E";
@@ -9121,7 +9544,7 @@
9121
9544
 
9122
9545
  isObservable$1.isObservable = void 0;
9123
9546
  var Observable_1$e = Observable$1;
9124
- var isFunction_1$c = isFunction$1;
9547
+ var isFunction_1$c = isFunction$2;
9125
9548
  function isObservable(obj) {
9126
9549
  return !!obj && (obj instanceof Observable_1$e.Observable || (isFunction_1$c.isFunction(obj.lift) && isFunction_1$c.isFunction(obj.subscribe)));
9127
9550
  }
@@ -9234,18 +9657,18 @@
9234
9657
 
9235
9658
  var timeout = {};
9236
9659
 
9237
- var isDate = {};
9660
+ var isDate$1 = {};
9238
9661
 
9239
- isDate.isValidDate = void 0;
9662
+ isDate$1.isValidDate = void 0;
9240
9663
  function isValidDate(value) {
9241
9664
  return value instanceof Date && !isNaN(value);
9242
9665
  }
9243
- isDate.isValidDate = isValidDate;
9666
+ isDate$1.isValidDate = isValidDate;
9244
9667
 
9245
9668
  (function (exports) {
9246
9669
  exports.timeout = exports.TimeoutError = void 0;
9247
9670
  var async_1 = async;
9248
- var isDate_1 = isDate;
9671
+ var isDate_1 = isDate$1;
9249
9672
  var lift_1 = lift;
9250
9673
  var innerFrom_1 = innerFrom$1;
9251
9674
  var createErrorClass_1 = createErrorClass$1;
@@ -9349,9 +9772,9 @@
9349
9772
  return to;
9350
9773
  };mapOneOrManyArgs$1.mapOneOrManyArgs = void 0;
9351
9774
  var map_1$5 = map$1;
9352
- var isArray$2 = Array.isArray;
9775
+ var isArray$3 = Array.isArray;
9353
9776
  function callOrApply(fn, args) {
9354
- return isArray$2(args) ? fn.apply(void 0, __spreadArray$f([], __read$g(args))) : fn(args);
9777
+ return isArray$3(args) ? fn.apply(void 0, __spreadArray$f([], __read$g(args))) : fn(args);
9355
9778
  }
9356
9779
  function mapOneOrManyArgs(fn) {
9357
9780
  return map_1$5.map(function (args) { return callOrApply(fn, args); });
@@ -9479,12 +9902,12 @@
9479
9902
  var argsArgArrayOrObject$1 = {};
9480
9903
 
9481
9904
  argsArgArrayOrObject$1.argsArgArrayOrObject = void 0;
9482
- var isArray$1 = Array.isArray;
9905
+ var isArray$2 = Array.isArray;
9483
9906
  var getPrototypeOf = Object.getPrototypeOf, objectProto = Object.prototype, getKeys = Object.keys;
9484
9907
  function argsArgArrayOrObject(args) {
9485
9908
  if (args.length === 1) {
9486
9909
  var first_1 = args[0];
9487
- if (isArray$1(first_1)) {
9910
+ if (isArray$2(first_1)) {
9488
9911
  return { args: first_1, keys: null };
9489
9912
  }
9490
9913
  if (isPOJO(first_1)) {
@@ -9661,7 +10084,7 @@
9661
10084
  var innerFrom_1$p = innerFrom$1;
9662
10085
  var lift_1$10 = lift;
9663
10086
  var mergeInternals_1$2 = mergeInternals$1;
9664
- var isFunction_1$b = isFunction$1;
10087
+ var isFunction_1$b = isFunction$2;
9665
10088
  function mergeMap(project, resultSelector, concurrent) {
9666
10089
  if (concurrent === void 0) { concurrent = Infinity; }
9667
10090
  if (isFunction_1$b.isFunction(resultSelector)) {
@@ -9819,7 +10242,7 @@
9819
10242
  var Observable_1$8 = Observable$1;
9820
10243
  var mergeMap_1$5 = mergeMap$1;
9821
10244
  var isArrayLike_1 = isArrayLike;
9822
- var isFunction_1$a = isFunction$1;
10245
+ var isFunction_1$a = isFunction$2;
9823
10246
  var mapOneOrManyArgs_1$3 = mapOneOrManyArgs$1;
9824
10247
  var nodeEventEmitterMethods = ['addListener', 'removeListener'];
9825
10248
  var eventTargetMethods = ['addEventListener', 'removeEventListener'];
@@ -9878,7 +10301,7 @@
9878
10301
 
9879
10302
  fromEventPattern$1.fromEventPattern = void 0;
9880
10303
  var Observable_1$7 = Observable$1;
9881
- var isFunction_1$9 = isFunction$1;
10304
+ var isFunction_1$9 = isFunction$2;
9882
10305
  var mapOneOrManyArgs_1$2 = mapOneOrManyArgs$1;
9883
10306
  function fromEventPattern(addHandler, removeHandler, resultSelector) {
9884
10307
  if (resultSelector) {
@@ -9993,7 +10416,7 @@
9993
10416
  var Observable_1$6 = Observable$1;
9994
10417
  var async_1$a = async;
9995
10418
  var isScheduler_1 = isScheduler$1;
9996
- var isDate_1$1 = isDate;
10419
+ var isDate_1$1 = isDate$1;
9997
10420
  function timer(dueTime, intervalOrScheduler, scheduler) {
9998
10421
  if (dueTime === void 0) { dueTime = 0; }
9999
10422
  if (scheduler === void 0) { scheduler = async_1$a.async; }
@@ -10088,9 +10511,9 @@
10088
10511
  var argsOrArgArray$1 = {};
10089
10512
 
10090
10513
  argsOrArgArray$1.argsOrArgArray = void 0;
10091
- var isArray = Array.isArray;
10514
+ var isArray$1 = Array.isArray;
10092
10515
  function argsOrArgArray(args) {
10093
- return args.length === 1 && isArray(args[0]) ? args[0] : args;
10516
+ return args.length === 1 && isArray$1(args[0]) ? args[0] : args;
10094
10517
  }
10095
10518
  argsOrArgArray$1.argsOrArgArray = argsOrArgArray;
10096
10519
 
@@ -10901,7 +11324,7 @@
10901
11324
 
10902
11325
  concatMap$1.concatMap = void 0;
10903
11326
  var mergeMap_1$3 = mergeMap$1;
10904
- var isFunction_1$8 = isFunction$1;
11327
+ var isFunction_1$8 = isFunction$2;
10905
11328
  function concatMap(project, resultSelector) {
10906
11329
  return isFunction_1$8.isFunction(resultSelector) ? mergeMap_1$3.mergeMap(project, resultSelector, 1) : mergeMap_1$3.mergeMap(project, 1);
10907
11330
  }
@@ -10911,7 +11334,7 @@
10911
11334
 
10912
11335
  concatMapTo$1.concatMapTo = void 0;
10913
11336
  var concatMap_1 = concatMap$1;
10914
- var isFunction_1$7 = isFunction$1;
11337
+ var isFunction_1$7 = isFunction$2;
10915
11338
  function concatMapTo(innerObservable, resultSelector) {
10916
11339
  return isFunction_1$7.isFunction(resultSelector) ? concatMap_1.concatMap(function () { return innerObservable; }, resultSelector) : concatMap_1.concatMap(function () { return innerObservable; });
10917
11340
  }
@@ -11699,7 +12122,7 @@
11699
12122
 
11700
12123
  max$1.max = void 0;
11701
12124
  var reduce_1$1 = reduce$1;
11702
- var isFunction_1$6 = isFunction$1;
12125
+ var isFunction_1$6 = isFunction$2;
11703
12126
  function max(comparer) {
11704
12127
  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); });
11705
12128
  }
@@ -11715,7 +12138,7 @@
11715
12138
 
11716
12139
  mergeMapTo$1.mergeMapTo = void 0;
11717
12140
  var mergeMap_1 = mergeMap$1;
11718
- var isFunction_1$5 = isFunction$1;
12141
+ var isFunction_1$5 = isFunction$2;
11719
12142
  function mergeMapTo(innerObservable, resultSelector, concurrent) {
11720
12143
  if (concurrent === void 0) { concurrent = Infinity; }
11721
12144
  if (isFunction_1$5.isFunction(resultSelector)) {
@@ -11823,7 +12246,7 @@
11823
12246
 
11824
12247
  min$1.min = void 0;
11825
12248
  var reduce_1 = reduce$1;
11826
- var isFunction_1$4 = isFunction$1;
12249
+ var isFunction_1$4 = isFunction$2;
11827
12250
  function min(comparer) {
11828
12251
  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); });
11829
12252
  }
@@ -11833,7 +12256,7 @@
11833
12256
 
11834
12257
  multicast$1.multicast = void 0;
11835
12258
  var ConnectableObservable_1$2 = ConnectableObservable$1;
11836
- var isFunction_1$3 = isFunction$1;
12259
+ var isFunction_1$3 = isFunction$2;
11837
12260
  var connect_1$1 = connect$1;
11838
12261
  function multicast(subjectOrSubjectFactory, selector) {
11839
12262
  var subjectFactory = isFunction_1$3.isFunction(subjectOrSubjectFactory) ? subjectOrSubjectFactory : function () { return subjectOrSubjectFactory; };
@@ -11936,7 +12359,7 @@
11936
12359
  publishReplay$1.publishReplay = void 0;
11937
12360
  var ReplaySubject_1$1 = ReplaySubject$1;
11938
12361
  var multicast_1 = multicast$1;
11939
- var isFunction_1$2 = isFunction$1;
12362
+ var isFunction_1$2 = isFunction$2;
11940
12363
  function publishReplay(bufferSize, windowTime, selectorOrScheduler, timestampProvider) {
11941
12364
  if (selectorOrScheduler && !isFunction_1$2.isFunction(selectorOrScheduler)) {
11942
12365
  timestampProvider = selectorOrScheduler;
@@ -12593,7 +13016,7 @@
12593
13016
 
12594
13017
  switchMapTo$1.switchMapTo = void 0;
12595
13018
  var switchMap_1$1 = switchMap$1;
12596
- var isFunction_1$1 = isFunction$1;
13019
+ var isFunction_1$1 = isFunction$2;
12597
13020
  function switchMapTo(innerObservable, resultSelector) {
12598
13021
  return isFunction_1$1.isFunction(resultSelector) ? switchMap_1$1.switchMap(function () { return innerObservable; }, resultSelector) : switchMap_1$1.switchMap(function () { return innerObservable; });
12599
13022
  }
@@ -12651,7 +13074,7 @@
12651
13074
  var tap$1 = {};
12652
13075
 
12653
13076
  tap$1.tap = void 0;
12654
- var isFunction_1 = isFunction$1;
13077
+ var isFunction_1 = isFunction$2;
12655
13078
  var lift_1$8 = lift;
12656
13079
  var OperatorSubscriber_1$7 = OperatorSubscriber$1;
12657
13080
  var identity_1$1 = identity$1;
@@ -12795,7 +13218,7 @@
12795
13218
 
12796
13219
  timeoutWith$1.timeoutWith = void 0;
12797
13220
  var async_1$1 = async;
12798
- var isDate_1 = isDate;
13221
+ var isDate_1 = isDate$1;
12799
13222
  var timeout_1 = timeout;
12800
13223
  function timeoutWith(due, withObservable, scheduler) {
12801
13224
  var first;
@@ -13624,11 +14047,371 @@
13624
14047
 
13625
14048
  } (cjs));
13626
14049
 
14050
+ var es2018 = {};
14051
+
14052
+ var array = {};
14053
+
14054
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
14055
+ function isArray(val) {
14056
+ return Array.isArray(val);
14057
+ }
14058
+ array.isArray = isArray;
14059
+ function isntArray(val) {
14060
+ return !isArray(val);
14061
+ }
14062
+ array.isntArray = isntArray;
14063
+ function isEmptyArray(val) {
14064
+ return val.length === 0;
14065
+ }
14066
+ array.isEmptyArray = isEmptyArray;
14067
+ function isntEmptyArray(val) {
14068
+ return val.length !== 0;
14069
+ }
14070
+ array.isntEmptyArray = isntEmptyArray;
14071
+
14072
+ var asyncIterable = {};
14073
+
14074
+ var _null = {};
14075
+
14076
+ _null.isntNull = _null.isNull = void 0;
14077
+ function isNull(val) {
14078
+ return val === null;
14079
+ }
14080
+ _null.isNull = isNull;
14081
+ function isntNull(val) {
14082
+ return !isNull(val);
14083
+ }
14084
+ _null.isntNull = isntNull;
14085
+
14086
+ var _undefined = {};
14087
+
14088
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
14089
+ function isUndefined(val) {
14090
+ return val === undefined;
14091
+ }
14092
+ _undefined.isUndefined = isUndefined;
14093
+ function isntUndefined(val) {
14094
+ return !isUndefined(val);
14095
+ }
14096
+ _undefined.isntUndefined = isntUndefined;
14097
+
14098
+ var _function = {};
14099
+
14100
+ _function.isntFunction = _function.isFunction = void 0;
14101
+ function isFunction(val) {
14102
+ return typeof val === 'function';
14103
+ }
14104
+ _function.isFunction = isFunction;
14105
+ function isntFunction(val) {
14106
+ return !isFunction(val);
14107
+ }
14108
+ _function.isntFunction = isntFunction;
14109
+
14110
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
14111
+ const null_1$2 = _null;
14112
+ const undefined_1$1 = _undefined;
14113
+ const function_1$2 = _function;
14114
+ function isAsyncIterable(val) {
14115
+ return (0, null_1$2.isntNull)(val)
14116
+ && (0, undefined_1$1.isntUndefined)(val)
14117
+ && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
14118
+ }
14119
+ asyncIterable.isAsyncIterable = isAsyncIterable;
14120
+ function isntAsyncIterable(val) {
14121
+ return !isAsyncIterable(val);
14122
+ }
14123
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
14124
+
14125
+ var bigint = {};
14126
+
14127
+ bigint.isntBigInt = bigint.isBigInt = void 0;
14128
+ function isBigInt(val) {
14129
+ return typeof val === 'bigint';
14130
+ }
14131
+ bigint.isBigInt = isBigInt;
14132
+ function isntBigInt(val) {
14133
+ return !isBigInt(val);
14134
+ }
14135
+ bigint.isntBigInt = isntBigInt;
14136
+
14137
+ var boolean = {};
14138
+
14139
+ boolean.isntBoolean = boolean.isBoolean = void 0;
14140
+ function isBoolean(val) {
14141
+ return typeof val === 'boolean';
14142
+ }
14143
+ boolean.isBoolean = isBoolean;
14144
+ function isntBoolean(val) {
14145
+ return !isBoolean(val);
14146
+ }
14147
+ boolean.isntBoolean = isntBoolean;
14148
+
14149
+ var char = {};
14150
+
14151
+ var string = {};
14152
+
14153
+ string.isntString = string.isString = void 0;
14154
+ function isString(val) {
14155
+ return typeof val === 'string';
14156
+ }
14157
+ string.isString = isString;
14158
+ function isntString(val) {
14159
+ return !isString(val);
14160
+ }
14161
+ string.isntString = isntString;
14162
+
14163
+ char.isntChar = char.isChar = void 0;
14164
+ const string_1$1 = string;
14165
+ function isChar(val) {
14166
+ return (0, string_1$1.isString)(val)
14167
+ && val.length === 1;
14168
+ }
14169
+ char.isChar = isChar;
14170
+ function isntChar(val) {
14171
+ return !isChar(val);
14172
+ }
14173
+ char.isntChar = isntChar;
14174
+
14175
+ var date = {};
14176
+
14177
+ date.isntDate = date.isDate = void 0;
14178
+ function isDate(val) {
14179
+ return val instanceof Date;
14180
+ }
14181
+ date.isDate = isDate;
14182
+ function isntDate(val) {
14183
+ return !isDate(val);
14184
+ }
14185
+ date.isntDate = isntDate;
14186
+
14187
+ var _enum = {};
14188
+
14189
+ _enum.inEnum = void 0;
14190
+ function inEnum(val, _enum) {
14191
+ return Object.values(_enum).includes(val);
14192
+ }
14193
+ _enum.inEnum = inEnum;
14194
+
14195
+ var error = {};
14196
+
14197
+ error.isntError = error.isError = void 0;
14198
+ function isError(val) {
14199
+ return val instanceof Error;
14200
+ }
14201
+ error.isError = isError;
14202
+ function isntError(val) {
14203
+ return !isError(val);
14204
+ }
14205
+ error.isntError = isntError;
14206
+
14207
+ var falsy = {};
14208
+
14209
+ falsy.isntFalsy = falsy.isFalsy = void 0;
14210
+ function isFalsy(val) {
14211
+ return !val;
14212
+ }
14213
+ falsy.isFalsy = isFalsy;
14214
+ function isntFalsy(val) {
14215
+ return !isFalsy(val);
14216
+ }
14217
+ falsy.isntFalsy = isntFalsy;
14218
+
14219
+ var iterable = {};
14220
+
14221
+ iterable.isntIterable = iterable.isIterable = void 0;
14222
+ const null_1$1 = _null;
14223
+ const undefined_1 = _undefined;
14224
+ const function_1$1 = _function;
14225
+ function isIterable(val) {
14226
+ return (0, null_1$1.isntNull)(val)
14227
+ && (0, undefined_1.isntUndefined)(val)
14228
+ && (0, function_1$1.isFunction)(val[Symbol.iterator]);
14229
+ }
14230
+ iterable.isIterable = isIterable;
14231
+ function isntIterable(val) {
14232
+ return !isIterable(val);
14233
+ }
14234
+ iterable.isntIterable = isntIterable;
14235
+
14236
+ var json = {};
14237
+
14238
+ var number = {};
14239
+
14240
+ number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
14241
+ function isNumber(val) {
14242
+ return typeof val === 'number';
14243
+ }
14244
+ number.isNumber = isNumber;
14245
+ function isntNumber(val) {
14246
+ return !isNumber(val);
14247
+ }
14248
+ number.isntNumber = isntNumber;
14249
+ function isFinite(val) {
14250
+ return Number.isFinite(val);
14251
+ }
14252
+ number.isFinite = isFinite;
14253
+ function isPositiveInfinity(val) {
14254
+ return val === Infinity;
14255
+ }
14256
+ number.isPositiveInfinity = isPositiveInfinity;
14257
+ function isNegativeInfinity(val) {
14258
+ return val === -Infinity;
14259
+ }
14260
+ number.isNegativeInfinity = isNegativeInfinity;
14261
+ function isNaN$1(val) {
14262
+ return Number.isNaN(val);
14263
+ }
14264
+ number.isNaN = isNaN$1;
14265
+ function isntNaN(val) {
14266
+ return !isNaN$1(val);
14267
+ }
14268
+ number.isntNaN = isntNaN;
14269
+
14270
+ var object = {};
14271
+
14272
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
14273
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14274
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
14275
+ const isPlainObject_1 = __importDefault(isPlainObject_1$3);
14276
+ function isObject(val) {
14277
+ return val !== null
14278
+ && typeof val === 'object';
14279
+ }
14280
+ object.isObject = isObject;
14281
+ function isntObject(val) {
14282
+ return !isObject(val);
14283
+ }
14284
+ object.isntObject = isntObject;
14285
+ function isPlainObject(val) {
14286
+ return (0, isPlainObject_1.default)(val);
14287
+ }
14288
+ object.isPlainObject = isPlainObject;
14289
+ function isntPlainObject(val) {
14290
+ return !isPlainObject(val);
14291
+ }
14292
+ object.isntPlainObject = isntPlainObject;
14293
+ function isEmptyObject(val) {
14294
+ return Object.keys(val).length === 0;
14295
+ }
14296
+ object.isEmptyObject = isEmptyObject;
14297
+ function isntEmptyObject(val) {
14298
+ return Object.keys(val).length !== 0;
14299
+ }
14300
+ object.isntEmptyObject = isntEmptyObject;
14301
+
14302
+ json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
14303
+ const null_1 = _null;
14304
+ const boolean_1 = boolean;
14305
+ const string_1 = string;
14306
+ const number_1 = number;
14307
+ const array_1 = array;
14308
+ const object_1$1 = object;
14309
+ function isJson(val) {
14310
+ return (0, null_1.isNull)(val)
14311
+ || (0, boolean_1.isBoolean)(val)
14312
+ || (0, string_1.isString)(val)
14313
+ || (0, number_1.isNumber)(val)
14314
+ || ((0, array_1.isArray)(val) && val.every(isJson))
14315
+ || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
14316
+ }
14317
+ json.isJson = isJson;
14318
+ function isntJson(val) {
14319
+ return !isJson(val);
14320
+ }
14321
+ json.isntJson = isntJson;
14322
+ function isJsonable(val) {
14323
+ try {
14324
+ JSON.stringify(val);
14325
+ return true;
14326
+ }
14327
+ catch (_a) {
14328
+ return false;
14329
+ }
14330
+ }
14331
+ json.isJsonable = isJsonable;
14332
+ function isntJsonable(val) {
14333
+ return !isntJsonable();
14334
+ }
14335
+ json.isntJsonable = isntJsonable;
14336
+
14337
+ var promise = {};
14338
+
14339
+ promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
14340
+ const object_1 = object;
14341
+ const function_1 = _function;
14342
+ function isPromise(val) {
14343
+ return val instanceof Promise;
14344
+ }
14345
+ promise.isPromise = isPromise;
14346
+ function isntPromise(val) {
14347
+ return !isPromise(val);
14348
+ }
14349
+ promise.isntPromise = isntPromise;
14350
+ function isntPromiseLike(val) {
14351
+ return !isPromiseLike(val);
14352
+ }
14353
+ promise.isntPromiseLike = isntPromiseLike;
14354
+ function isPromiseLike(val) {
14355
+ return (0, object_1.isObject)(val)
14356
+ && (0, function_1.isFunction)(val.then);
14357
+ }
14358
+ promise.isPromiseLike = isPromiseLike;
14359
+
14360
+ var url = {};
14361
+
14362
+ url.isAbsoluteURL = void 0;
14363
+ function isAbsoluteURL(str) {
14364
+ try {
14365
+ new URL(str);
14366
+ return true;
14367
+ }
14368
+ catch (_a) {
14369
+ return false;
14370
+ }
14371
+ }
14372
+ url.isAbsoluteURL = isAbsoluteURL;
14373
+
14374
+ (function (exports) {
14375
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14376
+ if (k2 === undefined) k2 = k;
14377
+ var desc = Object.getOwnPropertyDescriptor(m, k);
14378
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14379
+ desc = { enumerable: true, get: function() { return m[k]; } };
14380
+ }
14381
+ Object.defineProperty(o, k2, desc);
14382
+ }) : (function(o, m, k, k2) {
14383
+ if (k2 === undefined) k2 = k;
14384
+ o[k2] = m[k];
14385
+ }));
14386
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
14387
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
14388
+ };__exportStar(array, exports);
14389
+ __exportStar(asyncIterable, exports);
14390
+ __exportStar(bigint, exports);
14391
+ __exportStar(boolean, exports);
14392
+ __exportStar(char, exports);
14393
+ __exportStar(date, exports);
14394
+ __exportStar(_enum, exports);
14395
+ __exportStar(error, exports);
14396
+ __exportStar(falsy, exports);
14397
+ __exportStar(_function, exports);
14398
+ __exportStar(iterable, exports);
14399
+ __exportStar(json, exports);
14400
+ __exportStar(_null, exports);
14401
+ __exportStar(number, exports);
14402
+ __exportStar(object, exports);
14403
+ __exportStar(promise, exports);
14404
+ __exportStar(string, exports);
14405
+ __exportStar(_undefined, exports);
14406
+ __exportStar(url, exports);
14407
+
14408
+ } (es2018));
14409
+
13627
14410
  (function (exports) {
13628
14411
  exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
13629
14412
  const finite_state_machine_1 = finiteStateMachine;
13630
14413
  const rxjs_1 = cjs;
13631
- const types_1 = es2018$7;
14414
+ const types_1 = es2018;
13632
14415
  class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
13633
14416
  constructor() {
13634
14417
  super(...arguments);
@@ -13680,11 +14463,11 @@
13680
14463
  __exportStar(finiteStateMachine, exports);
13681
14464
  __exportStar(observableFiniteStateMachine, exports);
13682
14465
 
13683
- } (es2018$2));
14466
+ } (es2018$3));
13684
14467
 
13685
14468
  function useFiniteStateMachine(schema, initialState) {
13686
14469
  const forceUpdate = useForceUpdate();
13687
- const fsm = react.exports.useMemo(() => new es2018$2.ObservableFiniteStateMachine(schema, initialState), [schema]);
14470
+ const fsm = react.exports.useMemo(() => new es2018$3.ObservableFiniteStateMachine(schema, initialState), [schema, initialState]);
13688
14471
  react.exports.useEffect(() => {
13689
14472
  const observable = fsm.observeStateChanges();
13690
14473
  const subscription = observable.subscribe(() => forceUpdate());
@@ -13693,9 +14476,10 @@
13693
14476
  return fsm;
13694
14477
  }
13695
14478
 
13696
- exports.ObservableFiniteStateMachine = es2018$2.ObservableFiniteStateMachine;
14479
+ exports.ObservableFiniteStateMachine = es2018$3.ObservableFiniteStateMachine;
13697
14480
  exports.useFiniteStateMachine = useFiniteStateMachine;
13698
14481
  exports.useForceUpdate = useForceUpdate;
14482
+ exports.useIIFE = useIIFE;
13699
14483
  exports.useIncrement = useIncrement;
13700
14484
  exports.useIsFirstRender = useIsFirstRender;
13701
14485
  exports.useIsMounted = useIsMounted;
@@ -13707,6 +14491,7 @@
13707
14491
  exports.useStateCycle = useStateCycle;
13708
14492
  exports.useStep = useStep;
13709
14493
  exports.useToggle = useToggle;
14494
+ exports.useUnmount = useUnmount;
13710
14495
  exports.useUpdateEffect = useUpdateEffect;
13711
14496
 
13712
14497
  Object.defineProperty(exports, '__esModule', { value: true });